[2025-01-10 00:00:01] Production.INFO: ==25677== Lock acquired, processing the job...
[2025-01-10 00:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 00:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 00:00:01] Production.INFO: neon service started
[2025-01-10 00:00:01] Production.INFO: neon service started
[2025-01-10 00:00:01] Production.INFO: ==25677== Releasing lock...
[2025-01-10 00:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 00:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 19:00:01] Production.INFO: ==25679== Lock acquired, processing the job...
[2025-01-09 19:00:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 00:00:02] Production.INFO: ==25681== Lock acquired, processing the job...
[2025-01-10 00:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 00:00:02] Production.INFO: ==25681== Releasing lock...
[2025-01-10 00:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 00:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 19:00:02] Production.INFO: ==25679== Releasing lock...
[2025-01-09 19:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 19:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:00:03] Production.INFO: ==25684== Lock acquired, processing the job...
[2025-01-09 19:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 19:00:03] Production.INFO: ==25686== Lock acquired, processing the job...
[2025-01-09 19:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 19:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 19:00:03] Production.INFO: ==25688== Lock acquired, processing the job...
[2025-01-09 19:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 19:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 19:00:03] Production.INFO: ==25684== Releasing lock...
[2025-01-09 19:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 19:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 19:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 19:00:03] Production.INFO: ==25690== Lock acquired, processing the job...
[2025-01-09 19:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 19:00:03] Production.INFO: ==25692== Lock acquired, processing the job...
[2025-01-09 19:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 19:00:03] Production.INFO: ==25694== Lock acquired, processing the job...
[2025-01-09 19:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 19:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 19:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 19:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 19:00:03] Production.INFO: ==25688== Releasing lock...
[2025-01-09 19:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 19:00:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 19:00:03] Production.INFO: Account Balance Start.
[2025-01-09 19:00:03] Production.INFO: CreateAllLog Start
[2025-01-09 19:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 19:00:03] Production.INFO: 117
[2025-01-09 19:00:03] Production.INFO: Date 2025-01-08
[2025-01-09 19:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:00:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:00:03] Production.INFO: ==25698== Lock acquired, processing the job...
[2025-01-09 19:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 19:00:03] Production.INFO: ==25696== Lock acquired, processing the job...
[2025-01-09 19:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 19:00:03] Production.INFO: Date 2025-01-09
[2025-01-09 19:00:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:00:03] Production.INFO: Total Charge 0
[2025-01-09 19:00:03] Production.INFO: CreateAllLog End
[2025-01-09 19:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-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-01-09 19:00:04] Production.INFO: count ==21
[2025-01-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-01-09 19:00:04] Production.INFO: count ==21
[2025-01-09 19:00:04] Production.ERROR: done
[2025-01-09 19:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 19:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211570') start
[2025-01-09 19:00:04] Production.INFO: Account Balance End.
[2025-01-09 19:00:04] Production.ERROR: done
[2025-01-09 19:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211570') end
[2025-01-09 19:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 19:00:04] Production.INFO: 1
[2025-01-09 19:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 19:00:04] Production.ERROR: done
[2025-01-09 19:00:04] Production.ERROR: CronJobId end 12
[2025-01-09 19:00:04] Production.INFO: ==25692== Releasing lock...
[2025-01-09 19:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 19:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 19:00:04] Production.INFO: ==25698== Releasing lock...
[2025-01-09 19:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 19:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 19:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 19:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14211571', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 19:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 16:00:05
[end_date_ymd] => 2025-01-09 19:00:05
[RateCDR] => 1
)
[2025-01-09 19:00:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 16:00:05' and `end` < '2025-01-09 19:00:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 19:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14211571', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 19:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 19:00:09] Production.INFO: ProcessCDR(1,14211571,1,1,2)
[2025-01-09 19:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14211571,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14211571,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:00:09] Production.INFO: ==25696== Releasing lock...
[2025-01-09 19:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 19:00:09] Production.INFO: 26 MB #Memory Used#
[2025-01-09 19:00: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-01-09 19:00:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 19:00:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 19:00:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 19:00:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 19:00:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 19:00:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 19:00:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 19:00:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 19:00:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 19:00:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 19:00:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 19:00:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 19:00:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 19:00:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 19:00:13] Production.INFO: call_cost start
[2025-01-09 19:00:13] Production.INFO: call_cost end
[2025-01-09 19:00:13] Production.ERROR: CronJobId end10
[2025-01-09 19:00:13] Production.INFO: ==25690== Releasing lock...
[2025-01-09 19:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 19:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 19:00:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 19:00:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 19:00:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 19:00:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 19:00:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 19:00:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 19:00:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 19:00:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 19:00:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 19:00:14] Production.INFO: ==25686== Releasing lock...
[2025-01-09 19:00:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 19:00:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 19:00:19] Production.INFO: count ==2680
[2025-01-09 19:00:20] Production.ERROR: pbx CDR StartTime 2025-01-09 16:00:05 - End Time 2025-01-09 19:00:05
[2025-01-09 19:00:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 19:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211572', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211572', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211572', 'tblTempVendorCDR_20' ) start
[2025-01-09 19:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211572', 'tblTempVendorCDR_20' ) end
[2025-01-09 19:00:20] Production.INFO: ProcessCDR(1,14211572,1,1,2)
[2025-01-09 19:00:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211572,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:00:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211572,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:00:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211572,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:00:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211572,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211572', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211572', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:00:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:00:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:00:24] Production.INFO: ==25694== Releasing lock...
[2025-01-09 19:00:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 19:00:24] Production.INFO: 48.25 MB #Memory Used#
[2025-01-10 00:01:01] Production.INFO: ==25782== Lock acquired, processing the job...
[2025-01-10 00:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 00:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 00:01:01] Production.INFO: neon service started
[2025-01-10 00:01:01] Production.INFO: neon service started
[2025-01-10 00:01:01] Production.INFO: ==25782== Releasing lock...
[2025-01-10 00:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 00:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 19:01:02] Production.INFO: ==25784== Lock acquired, processing the job...
[2025-01-09 19:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 00:01:02] Production.INFO: ==25786== Lock acquired, processing the job...
[2025-01-10 00:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 00:01:02] Production.INFO: ==25786== Releasing lock...
[2025-01-10 00:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 00:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 19:01:02] Production.INFO: ==25784== Releasing lock...
[2025-01-09 19:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 19:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:01:03] Production.INFO: ==25790== Lock acquired, processing the job...
[2025-01-09 19:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 19:01:03] Production.INFO: ==25788== Lock acquired, processing the job...
[2025-01-09 19:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 19:01:03] Production.INFO: ==25794== Lock acquired, processing the job...
[2025-01-09 19:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 19:01:03] Production.INFO: ==25798== Lock acquired, processing the job...
[2025-01-09 19:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 19:01:03] Production.INFO: ==25796== Lock acquired, processing the job...
[2025-01-09 19:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 19:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 19:01:03] Production.INFO: ==25792== Lock acquired, processing the job...
[2025-01-09 19:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 19:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 19:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:01:03] Production.INFO: Account Balance Start.
[2025-01-09 19:01:03] Production.INFO: CreateAllLog Start
[2025-01-09 19:01:03] Production.INFO: count ==21
[2025-01-09 19:01:03] Production.INFO: 117
[2025-01-09 19:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 19:01:03] Production.INFO: count ==21
[2025-01-09 19:01:03] Production.INFO: ==25790== Releasing lock...
[2025-01-09 19:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 19:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 19:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211574') start
[2025-01-09 19:01:03] Production.INFO: Date 2025-01-08
[2025-01-09 19:01:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 19:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 19:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 19:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 19:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211574') end
[2025-01-09 19:01:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 19:01:03] Production.INFO: 1
[2025-01-09 19:01:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 19:01:03] Production.ERROR: done
[2025-01-09 19:01:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 19:01:03] Production.INFO: Date 2025-01-09
[2025-01-09 19:01:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:01:03] Production.INFO: Total Charge 0
[2025-01-09 19:01:03] Production.INFO: CreateAllLog End
[2025-01-09 19:01:03] Production.INFO: ==25798== Releasing lock...
[2025-01-09 19:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 19:01:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 19:01:03] Production.ERROR: done
[2025-01-09 19:01:03] Production.INFO: Account Balance End.
[2025-01-09 19:01:04] Production.ERROR: CronJobId end 12
[2025-01-09 19:01:04] Production.INFO: ==25794== Releasing lock...
[2025-01-09 19:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 19:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 19:01:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 16:01:04
[end_date_ymd] => 2025-01-09 19:01:04
[RateCDR] => 1
)
[2025-01-09 19:01:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 16:01:04' and `end` < '2025-01-09 19:01:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 19:01:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 19:01:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 19:01:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 19:01:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 19:01:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 19:01:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 19:01:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 19:01:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 19:01:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 19:01:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 19:01:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 19:01:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 19:01:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 19:01:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 19:01:13] Production.ERROR: CronJobId end10
[2025-01-09 19:01:13] Production.INFO: ==25792== Releasing lock...
[2025-01-09 19:01:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 19:01:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 19:01:13] Production.INFO: call_cost start
[2025-01-09 19:01:13] Production.INFO: call_cost end
[2025-01-09 19:01:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 19:01:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 19:01:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 19:01:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 19:01:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 19:01:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 19:01:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 19:01:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 19:01:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 19:01:14] Production.INFO: ==25788== Releasing lock...
[2025-01-09 19:01:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 19:01:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 19:01:18] Production.INFO: count ==2636
[2025-01-09 19:01:19] Production.ERROR: pbx CDR StartTime 2025-01-09 16:01:04 - End Time 2025-01-09 19:01:04
[2025-01-09 19:01:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 19:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211577', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211577', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211577', 'tblTempVendorCDR_20' ) start
[2025-01-09 19:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211577', 'tblTempVendorCDR_20' ) end
[2025-01-09 19:01:19] Production.INFO: ProcessCDR(1,14211577,1,1,2)
[2025-01-09 19:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211577,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211577,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211577,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:01:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211577,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211577', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211577', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:01:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:01:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:01:22] Production.INFO: ==25796== Releasing lock...
[2025-01-09 19:01:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 19:01:22] Production.INFO: 47.75 MB #Memory Used#
[2025-01-10 00:02:02] Production.INFO: ==25948== Lock acquired, processing the job...
[2025-01-10 00:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 00:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 00:02:02] Production.INFO: neon service started
[2025-01-10 00:02:02] Production.INFO: neon service started
[2025-01-10 00:02:02] Production.INFO: ==25948== Releasing lock...
[2025-01-10 00:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 00:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 19:02:02] Production.INFO: ==25950== Lock acquired, processing the job...
[2025-01-09 19:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:02:02] Production.INFO: ==25950== Releasing lock...
[2025-01-09 19:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 19:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 00:02:03] Production.INFO: ==25952== Lock acquired, processing the job...
[2025-01-10 00:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 00:02:03] Production.INFO: ==25952== Releasing lock...
[2025-01-10 00:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 00:02:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 19:02:03] Production.INFO: ==25954== Lock acquired, processing the job...
[2025-01-09 19:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 19:02:03] Production.INFO: ==25956== Lock acquired, processing the job...
[2025-01-09 19:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 19:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 19:02:03] Production.INFO: ==25960== Lock acquired, processing the job...
[2025-01-09 19:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 19:02:03] Production.INFO: ==25958== Lock acquired, processing the job...
[2025-01-09 19:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 19:02:03] Production.INFO: ==25962== Lock acquired, processing the job...
[2025-01-09 19:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 19:02:03] Production.INFO: ==25964== Lock acquired, processing the job...
[2025-01-09 19:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 19:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:02:03] Production.INFO: Account Balance Start.
[2025-01-09 19:02:03] Production.INFO: CreateAllLog Start
[2025-01-09 19:02:03] Production.INFO: 117
[2025-01-09 19:02:03] Production.INFO: Date 2025-01-08
[2025-01-09 19:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 19:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 19:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 19:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 19:02:04] Production.INFO: Reseller ==> 0
[2025-01-09 19:02:04] Production.INFO: Date 2025-01-09
[2025-01-09 19:02:04] Production.INFO: Reseller ==> 0
[2025-01-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-01-09 19:02:04] Production.INFO: Total Charge 0
[2025-01-09 19:02:04] Production.INFO: count ==21
[2025-01-09 19:02:04] Production.INFO: CreateAllLog End
[2025-01-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-01-09 19:02:04] Production.INFO: ==25956== Releasing lock...
[2025-01-09 19:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 19:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 19:02:04] Production.INFO: count ==21
[2025-01-09 19:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211581') start
[2025-01-09 19:02:04] Production.ERROR: done
[2025-01-09 19:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211581') end
[2025-01-09 19:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 19:02:04] Production.INFO: 1
[2025-01-09 19:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 19:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 19:02:04] Production.INFO: ==25964== Releasing lock...
[2025-01-09 19:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 19:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 19:02:04] Production.INFO: Account Balance End.
[2025-01-09 19:02:04] Production.ERROR: CronJobId end 12
[2025-01-09 19:02:04] Production.INFO: ==25960== Releasing lock...
[2025-01-09 19:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 19:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 19:02:04] Production.ERROR: done
[2025-01-09 19:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 16:02:05
[end_date_ymd] => 2025-01-09 19:02:05
[RateCDR] => 1
)
[2025-01-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-01-09 16:02:05' and `end` < '2025-01-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-01-09 19:02:11] Production.ERROR: CronJobId end10
[2025-01-09 19:02:11] Production.INFO: ==25958== Releasing lock...
[2025-01-09 19:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 19:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 19:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 19:02:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 19:02:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 19:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 19:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 19:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 19:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 19:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 19:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 19:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 19:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 19:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 19:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 19:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 19:02:13] Production.INFO: call_cost start
[2025-01-09 19:02:13] Production.INFO: call_cost end
[2025-01-09 19:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 19:02:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 19:02:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 19:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 19:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 19:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 19:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 19:02:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 19:02:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 19:02:14] Production.INFO: ==25954== Releasing lock...
[2025-01-09 19:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 19:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 19:02:18] Production.INFO: count ==2624
[2025-01-09 19:02:19] Production.ERROR: pbx CDR StartTime 2025-01-09 16:02:05 - End Time 2025-01-09 19:02:05
[2025-01-09 19:02:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 19:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211582', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211582', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211582', 'tblTempVendorCDR_20' ) start
[2025-01-09 19:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211582', 'tblTempVendorCDR_20' ) end
[2025-01-09 19:02:19] Production.INFO: ProcessCDR(1,14211582,1,1,2)
[2025-01-09 19:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211582,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:02:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211582,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:02:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211582,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:02:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211582,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211582', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:02:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211582', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:02:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:02:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:02:24] Production.INFO: ==25962== Releasing lock...
[2025-01-09 19:02:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 19:02:24] Production.INFO: 47.75 MB #Memory Used#
[2025-01-10 00:03:01] Production.INFO: ==26075== Lock acquired, processing the job...
[2025-01-10 00:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 00:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 00:03:01] Production.INFO: neon service started
[2025-01-10 00:03:01] Production.INFO: neon service started
[2025-01-10 00:03:01] Production.INFO: ==26075== Releasing lock...
[2025-01-10 00:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 00:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:03:02] Production.INFO: ==26079== Lock acquired, processing the job...
[2025-01-10 00:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 00:03:02] Production.INFO: ==26079== Releasing lock...
[2025-01-10 00:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 00:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 19:03:02] Production.INFO: ==26077== Lock acquired, processing the job...
[2025-01-09 19:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:03:02] Production.INFO: ==26077== Releasing lock...
[2025-01-09 19:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 19:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:03:03] Production.INFO: ==26082== Lock acquired, processing the job...
[2025-01-09 19:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 19:03:03] Production.INFO: ==26084== Lock acquired, processing the job...
[2025-01-09 19:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 19:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 19:03:03] Production.INFO: ==26090== Lock acquired, processing the job...
[2025-01-09 19:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 19:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:03:03] Production.INFO: ==26084== Releasing lock...
[2025-01-09 19:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 19:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 19:03:03] Production.INFO: ==26088== Lock acquired, processing the job...
[2025-01-09 19:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 19:03:03] Production.INFO: ==26086== Lock acquired, processing the job...
[2025-01-09 19:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 19:03:03] Production.INFO: ==26092== Lock acquired, processing the job...
[2025-01-09 19:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 19:03:03] Production.INFO: Account Balance Start.
[2025-01-09 19:03:03] Production.INFO: CreateAllLog Start
[2025-01-09 19:03:03] Production.INFO: 117
[2025-01-09 19:03:03] Production.ERROR: done
[2025-01-09 19:03:03] Production.INFO: Date 2025-01-08
[2025-01-09 19:03:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 19:03:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:03:03] Production.INFO: Date 2025-01-09
[2025-01-09 19:03:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 19:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 19:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 19:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 19:03:03] Production.ERROR: done
[2025-01-09 19:03:03] Production.INFO: Total Charge 0
[2025-01-09 19:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 19:03:03] Production.INFO: CreateAllLog End
[2025-01-09 19:03:03] Production.INFO: count ==21
[2025-01-09 19:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 19:03:03] Production.INFO: count ==21
[2025-01-09 19:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211586') start
[2025-01-09 19:03:04] Production.INFO: Account Balance End.
[2025-01-09 19:03:04] Production.ERROR: CronJobId end 12
[2025-01-09 19:03:04] Production.INFO: ==26088== Releasing lock...
[2025-01-09 19:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 19:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 19:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211586') end
[2025-01-09 19:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 19:03:04] Production.INFO: 1
[2025-01-09 19:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 19:03:04] Production.INFO: ==26092== Releasing lock...
[2025-01-09 19:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 19:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 19:03:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 16:03:04
[end_date_ymd] => 2025-01-09 19:03:04
[RateCDR] => 1
)
[2025-01-09 19:03:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 16:03:04' and `end` < '2025-01-09 19:03:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 19:03:12] Production.ERROR: CronJobId end10
[2025-01-09 19:03:12] Production.INFO: ==26086== Releasing lock...
[2025-01-09 19:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 19:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 19:03:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 19:03:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 19:03:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 19:03:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 19:03:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 19:03:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 19:03:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 19:03:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 19:03:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 19:03:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 19:03:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 19:03:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 19:03:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 19:03:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 19:03:13] Production.INFO: call_cost start
[2025-01-09 19:03:13] Production.INFO: call_cost end
[2025-01-09 19:03:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 19:03:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 19:03:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 19:03:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 19:03:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 19:03:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 19:03:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 19:03:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 19:03:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 19:03:14] Production.INFO: ==26082== Releasing lock...
[2025-01-09 19:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 19:03:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 19:03:18] Production.INFO: count ==2616
[2025-01-09 19:03:18] Production.ERROR: pbx CDR StartTime 2025-01-09 16:03:04 - End Time 2025-01-09 19:03:04
[2025-01-09 19:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 19:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211587', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211587', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211587', 'tblTempVendorCDR_20' ) start
[2025-01-09 19:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211587', 'tblTempVendorCDR_20' ) end
[2025-01-09 19:03:19] Production.INFO: ProcessCDR(1,14211587,1,1,2)
[2025-01-09 19:03:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211587,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211587,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211587,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:03:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211587,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211587', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211587', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:03:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:03:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:03:22] Production.INFO: ==26090== Releasing lock...
[2025-01-09 19:03:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 19:03:22] Production.INFO: 47.75 MB #Memory Used#
[2025-01-10 00:04:02] Production.INFO: ==26167== Lock acquired, processing the job...
[2025-01-10 00:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 00:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 00:04:02] Production.INFO: neon service started
[2025-01-10 00:04:02] Production.INFO: neon service started
[2025-01-10 00:04:02] Production.INFO: ==26167== Releasing lock...
[2025-01-10 00:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 00:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 19:04:02] Production.INFO: ==26170== Lock acquired, processing the job...
[2025-01-09 19:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 00:04:02] Production.INFO: ==26172== Lock acquired, processing the job...
[2025-01-10 00:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 19:04:02] Production.INFO: ==26170== Releasing lock...
[2025-01-09 19:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 19:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 00:04:02] Production.INFO: ==26172== Releasing lock...
[2025-01-10 00:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 00:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 19:04:03] Production.INFO: ==26174== Lock acquired, processing the job...
[2025-01-09 19:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 19:04:03] Production.INFO: ==26182== Lock acquired, processing the job...
[2025-01-09 19:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 19:04:03] Production.INFO: ==26184== Lock acquired, processing the job...
[2025-01-09 19:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 19:04:03] Production.INFO: ==26176== Lock acquired, processing the job...
[2025-01-09 19:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 19:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 19:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:04:03] Production.INFO: ==26178== Lock acquired, processing the job...
[2025-01-09 19:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-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-01-09 19:04:03] Production.INFO: ==26180== Lock acquired, processing the job...
[2025-01-09 19:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 19:04:03] Production.INFO: count ==21
[2025-01-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-01-09 19:04:03] Production.INFO: count ==21
[2025-01-09 19:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211589') start
[2025-01-09 19:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 19:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 19:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 19:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 19:04:04] Production.ERROR: done
[2025-01-09 19:04:04] Production.INFO: Account Balance Start.
[2025-01-09 19:04:04] Production.INFO: CreateAllLog Start
[2025-01-09 19:04:04] Production.INFO: 117
[2025-01-09 19:04:04] Production.INFO: Date 2025-01-08
[2025-01-09 19:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 19:04:04] Production.INFO: Reseller ==> 0
[2025-01-09 19:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211589') end
[2025-01-09 19:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 19:04:04] Production.INFO: 1
[2025-01-09 19:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 19:04:04] Production.INFO: Date 2025-01-09
[2025-01-09 19:04:04] Production.INFO: Reseller ==> 0
[2025-01-09 19:04:04] Production.INFO: ==26184== Releasing lock...
[2025-01-09 19:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 19:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 19:04:04] Production.ERROR: done
[2025-01-09 19:04:04] Production.INFO: ==26176== Releasing lock...
[2025-01-09 19:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 19:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 19:04:04] Production.INFO: Total Charge 0
[2025-01-09 19:04:04] Production.INFO: CreateAllLog End
[2025-01-09 19:04:04] Production.INFO: Account Balance End.
[2025-01-09 19:04:04] Production.ERROR: CronJobId end 12
[2025-01-09 19:04:04] Production.INFO: ==26180== Releasing lock...
[2025-01-09 19:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 19:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 19:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 16:04:05
[end_date_ymd] => 2025-01-09 19:04:05
[RateCDR] => 1
)
[2025-01-09 19:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 16:04:05' and `end` < '2025-01-09 19:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 19:04:12] Production.ERROR: CronJobId end10
[2025-01-09 19:04:12] Production.INFO: ==26178== Releasing lock...
[2025-01-09 19:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 19:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 19:04:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 19:04:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 19:04:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 19:04:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 19:04:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 19:04:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 19:04:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 19:04:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 19:04:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 19:04:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 19:04:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 19:04:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 19:04:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 19:04:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 19:04:14] Production.INFO: call_cost start
[2025-01-09 19:04:14] Production.INFO: call_cost end
[2025-01-09 19:04:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 19:04:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 19:04:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 19:04:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 19:04:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 19:04:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 19:04:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 19:04:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 19:04:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 19:04:15] Production.INFO: ==26174== Releasing lock...
[2025-01-09 19:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 19:04:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 19:04:19] Production.INFO: count ==2611
[2025-01-09 19:04:19] Production.ERROR: pbx CDR StartTime 2025-01-09 16:04:05 - End Time 2025-01-09 19:04:05
[2025-01-09 19:04:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 19:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211592', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211592', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211592', 'tblTempVendorCDR_20' ) start
[2025-01-09 19:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211592', 'tblTempVendorCDR_20' ) end
[2025-01-09 19:04:19] Production.INFO: ProcessCDR(1,14211592,1,1,2)
[2025-01-09 19:04:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211592,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:04:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211592,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:04:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211592,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:04:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211592,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211592', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211592', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:04:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:04:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:04:23] Production.INFO: ==26182== Releasing lock...
[2025-01-09 19:04:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 19:04:23] Production.INFO: 48 MB #Memory Used#
[2025-01-10 00:05:01] Production.INFO: ==26362== Lock acquired, processing the job...
[2025-01-10 00:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 00:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 00:05:01] Production.INFO: neon service started
[2025-01-10 00:05:01] Production.INFO: neon service started
[2025-01-10 00:05:01] Production.INFO: ==26362== Releasing lock...
[2025-01-10 00:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 00:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 19:05:02] Production.INFO: ==26364== Lock acquired, processing the job...
[2025-01-09 19:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 00:05:02] Production.INFO: ==26366== Lock acquired, processing the job...
[2025-01-10 00:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 00:05:02] Production.INFO: ==26366== Releasing lock...
[2025-01-10 00:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 00:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 19:05:02] Production.INFO: ==26364== Releasing lock...
[2025-01-09 19:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 19:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:05:03] Production.INFO: ==26369== Lock acquired, processing the job...
[2025-01-09 19:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 19:05:03] Production.INFO: ==26371== Lock acquired, processing the job...
[2025-01-09 19:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 19:05:03] Production.INFO: ==26373== Lock acquired, processing the job...
[2025-01-09 19:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 19:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 19:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 19:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 19:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 19:05:03] Production.INFO: ==26375== Lock acquired, processing the job...
[2025-01-09 19:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 19:05:03] Production.INFO: ==26377== Lock acquired, processing the job...
[2025-01-09 19:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 19:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 19:05:03] Production.INFO: ==26379== Lock acquired, processing the job...
[2025-01-09 19:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 19:05:03] Production.INFO: Account Balance Start.
[2025-01-09 19:05:03] Production.INFO: CreateAllLog Start
[2025-01-09 19:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:05:03] Production.INFO: 117
[2025-01-09 19:05:03] Production.INFO: Date 2025-01-08
[2025-01-09 19:05:03] Production.INFO: Reseller ==> 0
[2025-01-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-01-09 19:05:03] Production.INFO: Date 2025-01-09
[2025-01-09 19:05:03] Production.INFO: count ==21
[2025-01-09 19:05:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 19:05:03] Production.INFO: count ==21
[2025-01-09 19:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211596') start
[2025-01-09 19:05:03] Production.INFO: ==26371== Releasing lock...
[2025-01-09 19:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 19:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 19:05:03] Production.INFO: Total Charge 0
[2025-01-09 19:05:04] Production.INFO: CreateAllLog End
[2025-01-09 19:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211596') end
[2025-01-09 19:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 19:05:04] Production.INFO: 1
[2025-01-09 19:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 19:05:04] Production.INFO: ==26379== Releasing lock...
[2025-01-09 19:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 19:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 19:05:04] Production.ERROR: done
[2025-01-09 19:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 19:05:04] Production.INFO: Account Balance End.
[2025-01-09 19:05:04] Production.ERROR: done
[2025-01-09 19:05:04] Production.ERROR: CronJobId end 12
[2025-01-09 19:05:04] Production.INFO: ==26375== Releasing lock...
[2025-01-09 19:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 19:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 19:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 16:05:05
[end_date_ymd] => 2025-01-09 19:05:05
[RateCDR] => 1
)
[2025-01-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-01-09 16:05:05' and `end` < '2025-01-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-01-09 19:05:12] Production.ERROR: CronJobId end10
[2025-01-09 19:05:12] Production.INFO: ==26373== Releasing lock...
[2025-01-09 19:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 19:05:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 19:05:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 19:05:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 19:05:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 19:05:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 19:05:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 19:05:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 19:05:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 19:05:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 19:05:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 19:05:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 19:05:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 19:05:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 19:05:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 19:05:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 19:05:13] Production.INFO: call_cost start
[2025-01-09 19:05:13] Production.INFO: call_cost end
[2025-01-09 19:05:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 19:05:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 19:05:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 19:05:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 19:05:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 19:05:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 19:05:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 19:05:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 19:05:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 19:05:13] Production.INFO: ==26369== Releasing lock...
[2025-01-09 19:05:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 19:05:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 19:05:18] Production.INFO: count ==2596
[2025-01-09 19:05:19] Production.ERROR: pbx CDR StartTime 2025-01-09 16:05:05 - End Time 2025-01-09 19:05:05
[2025-01-09 19:05:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 19:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211597', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211597', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211597', 'tblTempVendorCDR_20' ) start
[2025-01-09 19:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211597', 'tblTempVendorCDR_20' ) end
[2025-01-09 19:05:19] Production.INFO: ProcessCDR(1,14211597,1,1,2)
[2025-01-09 19:05:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211597,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:05:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211597,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:05:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211597,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:05:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211597,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211597', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211597', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:05:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:05:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:05:22] Production.INFO: ==26377== Releasing lock...
[2025-01-09 19:05:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 19:05:22] Production.INFO: 47.5 MB #Memory Used#
[2025-01-10 00:06:02] Production.INFO: ==26487== Lock acquired, processing the job...
[2025-01-10 00:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 00:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 00:06:02] Production.INFO: neon service started
[2025-01-10 00:06:02] Production.INFO: neon service started
[2025-01-10 00:06:02] Production.INFO: ==26487== Releasing lock...
[2025-01-10 00:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 00:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:06:02] Production.INFO: ==26492== Lock acquired, processing the job...
[2025-01-10 00:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 19:06:02] Production.INFO: ==26490== Lock acquired, processing the job...
[2025-01-09 19:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 00:06:02] Production.INFO: ==26492== Releasing lock...
[2025-01-10 00:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 00:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 19:06:02] Production.INFO: ==26490== Releasing lock...
[2025-01-09 19:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 19:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:06:03] Production.INFO: ==26496== Lock acquired, processing the job...
[2025-01-09 19:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 19:06:03] Production.INFO: ==26498== Lock acquired, processing the job...
[2025-01-09 19:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 19:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 19:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 19:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 19:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 19:06:03] Production.INFO: ==26500== Lock acquired, processing the job...
[2025-01-09 19:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 19:06:03] Production.INFO: Account Balance Start.
[2025-01-09 19:06:03] Production.INFO: CreateAllLog Start
[2025-01-09 19:06:03] Production.INFO: 117
[2025-01-09 19:06:03] Production.INFO: Date 2025-01-08
[2025-01-09 19:06:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:06:04] Production.INFO: ==26494== Lock acquired, processing the job...
[2025-01-09 19:06:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 19:06:04] Production.INFO: Date 2025-01-09
[2025-01-09 19:06:04] Production.INFO: Reseller ==> 0
[2025-01-09 19:06:04] Production.INFO: ==26502== Lock acquired, processing the job...
[2025-01-09 19:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 19:06:04] Production.INFO: Total Charge 0
[2025-01-09 19:06:04] Production.INFO: CreateAllLog End
[2025-01-09 19:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:06:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 19:06:04] Production.INFO: ==26496== Releasing lock...
[2025-01-09 19:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 19:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 19:06:04] Production.INFO: ==26504== Lock acquired, processing the job...
[2025-01-09 19:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 19:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 19:06:04] Production.INFO: Account Balance End.
[2025-01-09 19:06:04] Production.ERROR: CronJobId end 12
[2025-01-09 19:06:04] Production.INFO: count ==21
[2025-01-09 19:06:04] Production.INFO: ==26500== Releasing lock...
[2025-01-09 19:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 19:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-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-01-09 19:06:04] Production.INFO: count ==21
[2025-01-09 19:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211601') start
[2025-01-09 19:06:04] Production.ERROR: done
[2025-01-09 19:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 19:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211601') end
[2025-01-09 19:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 19:06:04] Production.INFO: 1
[2025-01-09 19:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 19:06:04] Production.INFO: ==26504== Releasing lock...
[2025-01-09 19:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 19:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 19:06:04] Production.ERROR: done
[2025-01-09 19:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 16:06:05
[end_date_ymd] => 2025-01-09 19:06:05
[RateCDR] => 1
)
[2025-01-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-01-09 16:06:05' and `end` < '2025-01-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-01-09 19:06:12] Production.ERROR: CronJobId end10
[2025-01-09 19:06:12] Production.INFO: ==26498== Releasing lock...
[2025-01-09 19:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 19:06:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 19:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 19:06:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 19:06:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 19:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 19:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 19:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 19:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 19:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 19:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 19:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 19:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 19:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 19:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 19:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 19:06:14] Production.INFO: call_cost start
[2025-01-09 19:06:14] Production.INFO: call_cost end
[2025-01-09 19:06:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 19:06:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 19:06:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 19:06:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 19:06:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 19:06:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 19:06:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 19:06:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 19:06:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 19:06:15] Production.INFO: ==26494== Releasing lock...
[2025-01-09 19:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 19:06:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 19:06:18] Production.INFO: count ==2576
[2025-01-09 19:06:19] Production.ERROR: pbx CDR StartTime 2025-01-09 16:06:05 - End Time 2025-01-09 19:06:05
[2025-01-09 19:06:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 19:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211602', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211602', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211602', 'tblTempVendorCDR_20' ) start
[2025-01-09 19:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211602', 'tblTempVendorCDR_20' ) end
[2025-01-09 19:06:19] Production.INFO: ProcessCDR(1,14211602,1,1,2)
[2025-01-09 19:06:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211602,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:06:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211602,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:06:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211602,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211602,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211602', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211602', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:06:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:06:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:06:22] Production.INFO: ==26502== Releasing lock...
[2025-01-09 19:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 19:06:22] Production.INFO: 47.5 MB #Memory Used#
[2025-01-10 00:07:01] Production.INFO: ==26625== Lock acquired, processing the job...
[2025-01-10 00:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 00:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 00:07:01] Production.INFO: neon service started
[2025-01-10 00:07:01] Production.INFO: neon service started
[2025-01-10 00:07:01] Production.INFO: ==26625== Releasing lock...
[2025-01-10 00:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 00:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 19:07:01] Production.INFO: ==26627== Lock acquired, processing the job...
[2025-01-09 19:07:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 00:07:02] Production.INFO: ==26629== Lock acquired, processing the job...
[2025-01-10 00:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 19:07:02] Production.INFO: ==26627== Releasing lock...
[2025-01-09 19:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 19:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 00:07:02] Production.INFO: ==26629== Releasing lock...
[2025-01-10 00:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 00:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 19:07:02] Production.INFO: ==26632== Lock acquired, processing the job...
[2025-01-09 19:07:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 19:07:02] Production.INFO: ==26634== Lock acquired, processing the job...
[2025-01-09 19:07:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 19:07:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 19:07:02] Production.INFO: ==26636== Lock acquired, processing the job...
[2025-01-09 19:07:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 19:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 19:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 19:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 19:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 19:07:03] Production.INFO: ==26634== Releasing lock...
[2025-01-09 19:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 19:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 19:07:03] Production.INFO: ==26638== Lock acquired, processing the job...
[2025-01-09 19:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 19:07:03] Production.INFO: ==26640== Lock acquired, processing the job...
[2025-01-09 19:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 19:07:03] Production.INFO: ==26642== Lock acquired, processing the job...
[2025-01-09 19:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 19:07:03] Production.INFO: Account Balance Start.
[2025-01-09 19:07:03] Production.INFO: CreateAllLog Start
[2025-01-09 19:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:07:03] Production.INFO: 117
[2025-01-09 19:07:03] Production.INFO: Date 2025-01-08
[2025-01-09 19:07:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:07:03] Production.INFO: Date 2025-01-09
[2025-01-09 19:07:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:07:03] Production.INFO: Total Charge 0
[2025-01-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-01-09 19:07:03] Production.INFO: CreateAllLog End
[2025-01-09 19:07:03] Production.INFO: count ==21
[2025-01-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-01-09 19:07:03] Production.INFO: count ==21
[2025-01-09 19:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211606') start
[2025-01-09 19:07:03] Production.ERROR: done
[2025-01-09 19:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 19:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211606') end
[2025-01-09 19:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 19:07:04] Production.INFO: 1
[2025-01-09 19:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 19:07:04] Production.ERROR: done
[2025-01-09 19:07:04] Production.INFO: Account Balance End.
[2025-01-09 19:07:04] Production.INFO: ==26642== Releasing lock...
[2025-01-09 19:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 19:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 19:07:04] Production.ERROR: CronJobId end 12
[2025-01-09 19:07:04] Production.INFO: ==26638== Releasing lock...
[2025-01-09 19:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 19:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 19:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 16:07:05
[end_date_ymd] => 2025-01-09 19:07:05
[RateCDR] => 1
)
[2025-01-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-01-09 16:07:05' and `end` < '2025-01-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-01-09 19:07:12] Production.ERROR: CronJobId end10
[2025-01-09 19:07:12] Production.INFO: ==26636== Releasing lock...
[2025-01-09 19:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 19:07:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 19:07:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 19:07:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 19:07:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 19:07:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 19:07:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 19:07:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 19:07:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 19:07:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 19:07:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 19:07:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 19:07:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 19:07:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 19:07:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 19:07:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 19:07:13] Production.INFO: call_cost start
[2025-01-09 19:07:13] Production.INFO: call_cost end
[2025-01-09 19:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 19:07:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 19:07:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 19:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 19:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 19:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 19:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 19:07:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 19:07:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 19:07:14] Production.INFO: ==26632== Releasing lock...
[2025-01-09 19:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 19:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 19:07:18] Production.INFO: count ==2572
[2025-01-09 19:07:19] Production.ERROR: pbx CDR StartTime 2025-01-09 16:07:05 - End Time 2025-01-09 19:07:05
[2025-01-09 19:07:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 19:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211607', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211607', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211607', 'tblTempVendorCDR_20' ) start
[2025-01-09 19:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211607', 'tblTempVendorCDR_20' ) end
[2025-01-09 19:07:19] Production.INFO: ProcessCDR(1,14211607,1,1,2)
[2025-01-09 19:07:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211607,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:07:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211607,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:07:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211607,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:07:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211607,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211607', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211607', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:07:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:07:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:07:22] Production.INFO: ==26640== Releasing lock...
[2025-01-09 19:07:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 19:07:22] Production.INFO: 47.75 MB #Memory Used#
[2025-01-10 00:08:01] Production.INFO: ==26755== Lock acquired, processing the job...
[2025-01-10 00:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 00:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 00:08:01] Production.INFO: neon service started
[2025-01-10 00:08:01] Production.INFO: neon service started
[2025-01-10 00:08:01] Production.INFO: ==26755== Releasing lock...
[2025-01-10 00:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 00:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 19:08:02] Production.INFO: ==26757== Lock acquired, processing the job...
[2025-01-09 19:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 00:08:02] Production.INFO: ==26759== Lock acquired, processing the job...
[2025-01-10 00:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 00:08:02] Production.INFO: ==26759== Releasing lock...
[2025-01-10 00:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 00:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 19:08:02] Production.INFO: ==26757== Releasing lock...
[2025-01-09 19:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 19:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:08:03] Production.INFO: ==26805== Lock acquired, processing the job...
[2025-01-09 19:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 19:08:03] Production.INFO: ==26811== Lock acquired, processing the job...
[2025-01-09 19:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 19:08:03] Production.INFO: ==26801== Lock acquired, processing the job...
[2025-01-09 19:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 19:08:03] Production.INFO: ==26803== Lock acquired, processing the job...
[2025-01-09 19:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 19:08:03] Production.INFO: ==26807== Lock acquired, processing the job...
[2025-01-09 19:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 19:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 19:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 19:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 19:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 19:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 19:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 19:08:03] Production.INFO: count ==21
[2025-01-09 19:08:04] Production.INFO: ==26809== Lock acquired, processing the job...
[2025-01-09 19:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-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-01-09 19:08:04] Production.INFO: count ==21
[2025-01-09 19:08:04] Production.INFO: Account Balance Start.
[2025-01-09 19:08:04] Production.INFO: CreateAllLog Start
[2025-01-09 19:08:04] Production.INFO: 117
[2025-01-09 19:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211608') start
[2025-01-09 19:08:04] Production.INFO: Date 2025-01-08
[2025-01-09 19:08:04] Production.INFO: Reseller ==> 0
[2025-01-09 19:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211608') end
[2025-01-09 19:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 19:08:04] Production.INFO: 1
[2025-01-09 19:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 19:08:04] Production.INFO: Date 2025-01-09
[2025-01-09 19:08:04] Production.INFO: Reseller ==> 0
[2025-01-09 19:08:04] Production.INFO: ==26811== Releasing lock...
[2025-01-09 19:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 19:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 19:08:04] Production.INFO: Total Charge 0
[2025-01-09 19:08:04] Production.INFO: CreateAllLog End
[2025-01-09 19:08:04] Production.INFO: ==26803== Releasing lock...
[2025-01-09 19:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 19:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 19:08:04] Production.ERROR: done
[2025-01-09 19:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 19:08:04] Production.ERROR: done
[2025-01-09 19:08:04] Production.INFO: Account Balance End.
[2025-01-09 19:08:04] Production.ERROR: CronJobId end 12
[2025-01-09 19:08:04] Production.INFO: ==26807== Releasing lock...
[2025-01-09 19:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 19:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 19:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 16:08:05
[end_date_ymd] => 2025-01-09 19:08:05
[RateCDR] => 1
)
[2025-01-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-01-09 16:08:05' and `end` < '2025-01-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-01-09 19:08:12] Production.ERROR: CronJobId end10
[2025-01-09 19:08:12] Production.INFO: ==26805== Releasing lock...
[2025-01-09 19:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 19:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 19:08:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 19:08:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 19:08:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 19:08:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 19:08:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 19:08:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 19:08:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 19:08:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 19:08:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 19:08:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 19:08:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 19:08:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 19:08:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 19:08:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 19:08:14] Production.INFO: call_cost start
[2025-01-09 19:08:14] Production.INFO: call_cost end
[2025-01-09 19:08:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 19:08:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 19:08:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 19:08:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 19:08:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 19:08:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 19:08:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 19:08:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 19:08:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 19:08:15] Production.INFO: ==26801== Releasing lock...
[2025-01-09 19:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 19:08:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 19:08:19] Production.INFO: count ==2551
[2025-01-09 19:08:20] Production.ERROR: pbx CDR StartTime 2025-01-09 16:08:05 - End Time 2025-01-09 19:08:05
[2025-01-09 19:08:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 19:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211612', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211612', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211612', 'tblTempVendorCDR_20' ) start
[2025-01-09 19:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211612', 'tblTempVendorCDR_20' ) end
[2025-01-09 19:08:20] Production.INFO: ProcessCDR(1,14211612,1,1,2)
[2025-01-09 19:08:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211612,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:08:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211612,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:08:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211612,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:08:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211612,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211612', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211612', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:08:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:08:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:08:23] Production.INFO: ==26809== Releasing lock...
[2025-01-09 19:08:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 19:08:23] Production.INFO: 47.25 MB #Memory Used#
[2025-01-10 00:09:02] Production.INFO: ==26970== Lock acquired, processing the job...
[2025-01-10 00:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 00:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 00:09:02] Production.INFO: neon service started
[2025-01-10 00:09:02] Production.INFO: neon service started
[2025-01-10 00:09:02] Production.INFO: ==26970== Releasing lock...
[2025-01-10 00:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 00:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 19:09:02] Production.INFO: ==26972== Lock acquired, processing the job...
[2025-01-09 19:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 00:09:02] Production.INFO: ==26974== Lock acquired, processing the job...
[2025-01-10 00:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 00:09:03] Production.INFO: ==26974== Releasing lock...
[2025-01-10 00:09:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 00:09:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 19:09:03] Production.INFO: ==26972== Releasing lock...
[2025-01-09 19:09:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 19:09:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:09:04] Production.INFO: ==26977== Lock acquired, processing the job...
[2025-01-09 19:09:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 19:09:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 19:09:04] Production.INFO: ==26981== Lock acquired, processing the job...
[2025-01-09 19:09:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 19:09:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 19:09:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 19:09:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 19:09:04] Production.INFO: ==26979== Lock acquired, processing the job...
[2025-01-09 19:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 19:09:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 19:09:04] Production.INFO: ==26987== Lock acquired, processing the job...
[2025-01-09 19:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 19:09:04] Production.INFO: ==26983== Lock acquired, processing the job...
[2025-01-09 19:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 19:09:04] Production.INFO: ==26985== Lock acquired, processing the job...
[2025-01-09 19:09:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 19:09:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:09:04] Production.INFO: Account Balance Start.
[2025-01-09 19:09:04] Production.INFO: CreateAllLog Start
[2025-01-09 19:09:04] Production.INFO: 117
[2025-01-09 19:09:04] Production.INFO: Date 2025-01-08
[2025-01-09 19:09:04] Production.INFO: Reseller ==> 0
[2025-01-09 19:09:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 19:09:04] Production.INFO: count ==21
[2025-01-09 19:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 19:09:04] Production.INFO: count ==21
[2025-01-09 19:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211615') start
[2025-01-09 19:09:04] Production.INFO: Date 2025-01-09
[2025-01-09 19:09:04] Production.INFO: Reseller ==> 0
[2025-01-09 19:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211615') end
[2025-01-09 19:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 19:09:04] Production.INFO: 1
[2025-01-09 19:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 19:09:04] Production.INFO: ==26979== Releasing lock...
[2025-01-09 19:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 19:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 19:09:04] Production.INFO: Total Charge 0
[2025-01-09 19:09:04] Production.INFO: CreateAllLog End
[2025-01-09 19:09:04] Production.INFO: ==26987== Releasing lock...
[2025-01-09 19:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 19:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 19:09:04] Production.ERROR: done
[2025-01-09 19:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 19:09:05] Production.ERROR: done
[2025-01-09 19:09:05] Production.INFO: Account Balance End.
[2025-01-09 19:09:05] Production.ERROR: CronJobId end 12
[2025-01-09 19:09:05] Production.INFO: ==26983== Releasing lock...
[2025-01-09 19:09:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 19:09:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 19:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 16:09:05
[end_date_ymd] => 2025-01-09 19:09:05
[RateCDR] => 1
)
[2025-01-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-01-09 16:09:05' and `end` < '2025-01-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-01-09 19:09:12] Production.ERROR: CronJobId end10
[2025-01-09 19:09:12] Production.INFO: ==26981== Releasing lock...
[2025-01-09 19:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 19:09:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 19:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 19:09:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 19:09:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 19:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 19:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 19:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 19:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 19:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 19:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 19:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 19:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 19:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 19:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 19:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 19:09:14] Production.INFO: call_cost start
[2025-01-09 19:09:14] Production.INFO: call_cost end
[2025-01-09 19:09:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 19:09:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 19:09:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 19:09:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 19:09:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 19:09:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 19:09:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 19:09:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 19:09:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 19:09:15] Production.INFO: ==26977== Releasing lock...
[2025-01-09 19:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 19:09:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 19:09:19] Production.INFO: count ==2535
[2025-01-09 19:09:19] Production.ERROR: pbx CDR StartTime 2025-01-09 16:09:05 - End Time 2025-01-09 19:09:05
[2025-01-09 19:09:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 19:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211617', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211617', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211617', 'tblTempVendorCDR_20' ) start
[2025-01-09 19:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211617', 'tblTempVendorCDR_20' ) end
[2025-01-09 19:09:20] Production.INFO: ProcessCDR(1,14211617,1,1,2)
[2025-01-09 19:09:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211617,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:09:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211617,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:09:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211617,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:09:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211617,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211617', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211617', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:09:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:09:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:09:23] Production.INFO: ==26985== Releasing lock...
[2025-01-09 19:09:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 19:09:23] Production.INFO: 47 MB #Memory Used#
[2025-01-10 00:10:01] Production.INFO: ==27106== Lock acquired, processing the job...
[2025-01-10 00:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 00:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 00:10:01] Production.INFO: neon service started
[2025-01-10 00:10:01] Production.INFO: neon service started
[2025-01-10 00:10:01] Production.INFO: ==27106== Releasing lock...
[2025-01-10 00:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 00:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 19:10:02] Production.INFO: ==27108== Lock acquired, processing the job...
[2025-01-09 19:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:10:02] Production.INFO: ==27108== Releasing lock...
[2025-01-09 19:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 19:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 00:10:02] Production.INFO: ==27110== Lock acquired, processing the job...
[2025-01-10 00:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 00:10:02] Production.INFO: ==27110== Releasing lock...
[2025-01-10 00:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 00:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 19:10:03] Production.INFO: ==27117== Lock acquired, processing the job...
[2025-01-09 19:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 19:10:03] Production.INFO: ==27119== Lock acquired, processing the job...
[2025-01-09 19:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 19:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 19:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 19:10:03] Production.INFO: ==27117== Releasing lock...
[2025-01-09 19:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 19:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 19:10:03] Production.INFO: ==27121== Lock acquired, processing the job...
[2025-01-09 19:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 19:10:03] Production.INFO: ==27123== Lock acquired, processing the job...
[2025-01-09 19:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 19:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 19:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 19:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 19:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 19:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 19:10:03] Production.INFO: ==27125== Lock acquired, processing the job...
[2025-01-09 19:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 19:10:03] Production.INFO: ==27127== Lock acquired, processing the job...
[2025-01-09 19:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 19:10:03] Production.INFO: ==27129== Lock acquired, processing the job...
[2025-01-09 19:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 19:10:03] Production.INFO: ==27131== Lock acquired, processing the job...
[2025-01-09 19:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 19:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:10:03] Production.INFO: ==27121== Releasing lock...
[2025-01-09 19:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 19:10:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-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-01-09 19:10:04] Production.INFO: Account Balance Start.
[2025-01-09 19:10:04] Production.INFO: CreateAllLog Start
[2025-01-09 19:10:04] Production.INFO: 117
[2025-01-09 19:10:04] Production.INFO: Date 2025-01-08
[2025-01-09 19:10:04] Production.INFO: count ==21
[2025-01-09 19:10:04] Production.INFO: Reseller ==> 0
[2025-01-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-01-09 19:10:04] Production.INFO: count ==21
[2025-01-09 19:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211621') start
[2025-01-09 19:10:04] Production.INFO: Date 2025-01-09
[2025-01-09 19:10:04] Production.INFO: Reseller ==> 0
[2025-01-09 19:10:04] Production.ERROR: done
[2025-01-09 19:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211621') end
[2025-01-09 19:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 19:10:04] Production.INFO: 1
[2025-01-09 19:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 19:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 19:10:04] Production.ERROR: done
[2025-01-09 19:10:04] Production.INFO: ==27131== Releasing lock...
[2025-01-09 19:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 19:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 19:10:04] Production.INFO: Total Charge 0
[2025-01-09 19:10:04] Production.ERROR: done
[2025-01-09 19:10:04] Production.INFO: CreateAllLog End
[2025-01-09 19:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 19:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14211622', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 19:10:04] Production.INFO: Account Balance End.
[2025-01-09 19:10:04] Production.ERROR: CronJobId end 12
[2025-01-09 19:10:04] Production.INFO: ==27125== Releasing lock...
[2025-01-09 19:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 19:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 19:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 16:10:05
[end_date_ymd] => 2025-01-09 19:10:05
[RateCDR] => 1
)
[2025-01-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-01-09 16:10:05' and `end` < '2025-01-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-01-09 19:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14211622', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 19:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 19:10:08] Production.INFO: ProcessCDR(1,14211622,1,1,2)
[2025-01-09 19:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14211622,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14211622,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:10:08] Production.INFO: ==27129== Releasing lock...
[2025-01-09 19:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 19:10:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 19:10:14] Production.ERROR: CronJobId end10
[2025-01-09 19:10:14] Production.INFO: ==27123== Releasing lock...
[2025-01-09 19:10:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 19:10:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 19:10:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 19:10:15] Production.INFO: ============== Balance Warning START===========
[2025-01-09 19:10:15] Production.INFO: ============== Balance Warning END===========
[2025-01-09 19:10:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 19:10:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 19:10:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 19:10:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 19:10:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 19:10:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 19:10:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 19:10:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 19:10:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 19:10:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 19:10:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 19:10:16] Production.INFO: call_cost start
[2025-01-09 19:10:16] Production.INFO: call_cost end
[2025-01-09 19:10:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 19:10:16] Production.INFO: ============== Report Schedule START===========
[2025-01-09 19:10:16] Production.INFO: ============== Report Schedule END===========
[2025-01-09 19:10:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 19:10:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 19:10:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 19:10:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 19:10:16] Production.INFO: ============== Deal alert START===========
[2025-01-09 19:10:16] Production.INFO: ============== Deal alert END===========
[2025-01-09 19:10:16] Production.INFO: ==27119== Releasing lock...
[2025-01-09 19:10:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 19:10:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 19:10:19] Production.INFO: count ==2536
[2025-01-09 19:10:19] Production.ERROR: pbx CDR StartTime 2025-01-09 16:10:05 - End Time 2025-01-09 19:10:05
[2025-01-09 19:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 19:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211623', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211623', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211623', 'tblTempVendorCDR_20' ) start
[2025-01-09 19:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211623', 'tblTempVendorCDR_20' ) end
[2025-01-09 19:10:19] Production.INFO: ProcessCDR(1,14211623,1,1,2)
[2025-01-09 19:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211623,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211623,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211623,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211623,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211623', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211623', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:10:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:10:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:10:22] Production.INFO: ==27127== Releasing lock...
[2025-01-09 19:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 19:10:22] Production.INFO: 47 MB #Memory Used#
[2025-01-10 00:11:02] Production.INFO: ==27248== Lock acquired, processing the job...
[2025-01-10 00:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 00:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 00:11:02] Production.INFO: neon service started
[2025-01-10 00:11:02] Production.INFO: neon service started
[2025-01-10 00:11:02] Production.INFO: ==27248== Releasing lock...
[2025-01-10 00:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 00:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:11:02] Production.INFO: ==27252== Lock acquired, processing the job...
[2025-01-10 00:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 00:11:02] Production.INFO: ==27252== Releasing lock...
[2025-01-10 00:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 00:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 19:11:02] Production.INFO: ==27250== Lock acquired, processing the job...
[2025-01-09 19:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:11:03] Production.INFO: ==27250== Releasing lock...
[2025-01-09 19:11:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 19:11:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:11:03] Production.INFO: ==27265== Lock acquired, processing the job...
[2025-01-09 19:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 19:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:11:03] Production.INFO: ==27267== Lock acquired, processing the job...
[2025-01-09 19:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 19:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 19:11:04] Production.INFO: count ==21
[2025-01-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-01-09 19:11:04] Production.INFO: ==27257== Lock acquired, processing the job...
[2025-01-09 19:11:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 19:11:04] Production.INFO: count ==21
[2025-01-09 19:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211624') start
[2025-01-09 19:11:04] Production.INFO: ==27259== Lock acquired, processing the job...
[2025-01-09 19:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 19:11:04] Production.ERROR: done
[2025-01-09 19:11:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 19:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211624') end
[2025-01-09 19:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 19:11:04] Production.INFO: 1
[2025-01-09 19:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 19:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 19:11:04] Production.INFO: ==27261== Lock acquired, processing the job...
[2025-01-09 19:11:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 19:11:04] Production.INFO: ==27263== Lock acquired, processing the job...
[2025-01-09 19:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 19:11:04] Production.INFO: ==27267== Releasing lock...
[2025-01-09 19:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 19:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 19:11:04] Production.INFO: Account Balance Start.
[2025-01-09 19:11:04] Production.INFO: CreateAllLog Start
[2025-01-09 19:11:04] Production.INFO: 117
[2025-01-09 19:11:04] Production.ERROR: done
[2025-01-09 19:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 19:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 19:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 19:11:04] Production.INFO: Date 2025-01-08
[2025-01-09 19:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 19:11:04] Production.INFO: Reseller ==> 0
[2025-01-09 19:11:04] Production.INFO: Date 2025-01-09
[2025-01-09 19:11:04] Production.INFO: Reseller ==> 0
[2025-01-09 19:11:04] Production.INFO: Total Charge 0
[2025-01-09 19:11:04] Production.INFO: CreateAllLog End
[2025-01-09 19:11:04] Production.INFO: ==27259== Releasing lock...
[2025-01-09 19:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 19:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 19:11:04] Production.INFO: Account Balance End.
[2025-01-09 19:11:04] Production.ERROR: CronJobId end 12
[2025-01-09 19:11:04] Production.INFO: ==27263== Releasing lock...
[2025-01-09 19:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 19:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 19:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 16:11:05
[end_date_ymd] => 2025-01-09 19:11:05
[RateCDR] => 1
)
[2025-01-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-01-09 16:11:05' and `end` < '2025-01-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-01-09 19:11:12] Production.ERROR: CronJobId end10
[2025-01-09 19:11:12] Production.INFO: ==27261== Releasing lock...
[2025-01-09 19:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 19:11:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 19:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 19:11:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 19:11:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 19:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 19:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 19:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 19:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 19:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 19:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 19:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 19:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 19:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 19:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 19:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 19:11:14] Production.INFO: call_cost start
[2025-01-09 19:11:14] Production.INFO: call_cost end
[2025-01-09 19:11:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 19:11:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 19:11:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 19:11:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 19:11:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 19:11:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 19:11:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 19:11:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 19:11:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 19:11:15] Production.INFO: ==27257== Releasing lock...
[2025-01-09 19:11:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 19:11:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 19:11:18] Production.INFO: count ==2496
[2025-01-09 19:11:19] Production.ERROR: pbx CDR StartTime 2025-01-09 16:11:05 - End Time 2025-01-09 19:11:05
[2025-01-09 19:11:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 19:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211628', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211628', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211628', 'tblTempVendorCDR_20' ) start
[2025-01-09 19:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211628', 'tblTempVendorCDR_20' ) end
[2025-01-09 19:11:19] Production.INFO: ProcessCDR(1,14211628,1,1,2)
[2025-01-09 19:11:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211628,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:11:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211628,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:11:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211628,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:11:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211628,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211628', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211628', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:11:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:11:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:11:23] Production.INFO: ==27265== Releasing lock...
[2025-01-09 19:11:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 19:11:23] Production.INFO: 46.75 MB #Memory Used#
[2025-01-10 00:12:01] Production.INFO: ==27466== Lock acquired, processing the job...
[2025-01-10 00:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 00:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 00:12:01] Production.INFO: neon service started
[2025-01-10 00:12:01] Production.INFO: neon service started
[2025-01-10 00:12:01] Production.INFO: ==27466== Releasing lock...
[2025-01-10 00:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 00:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:12:02] Production.INFO: ==27470== Lock acquired, processing the job...
[2025-01-10 00:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 00:12:02] Production.INFO: ==27470== Releasing lock...
[2025-01-10 00:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 00:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 19:12:02] Production.INFO: ==27468== Lock acquired, processing the job...
[2025-01-09 19:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:12:02] Production.INFO: ==27468== Releasing lock...
[2025-01-09 19:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 19:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:12:03] Production.INFO: ==27473== Lock acquired, processing the job...
[2025-01-09 19:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 19:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 19:12:03] Production.INFO: ==27477== Lock acquired, processing the job...
[2025-01-09 19:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 19:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 19:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 19:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 19:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 19:12:03] Production.INFO: ==27481== Lock acquired, processing the job...
[2025-01-09 19:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 19:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:12:03] Production.INFO: ==27475== Lock acquired, processing the job...
[2025-01-09 19:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 19:12:03] Production.INFO: ==27479== Lock acquired, processing the job...
[2025-01-09 19:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 19:12:03] Production.INFO: ==27483== Lock acquired, processing the job...
[2025-01-09 19:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 19:12:03] Production.INFO: Account Balance Start.
[2025-01-09 19:12:03] Production.INFO: CreateAllLog Start
[2025-01-09 19:12:03] Production.INFO: 117
[2025-01-09 19:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 19:12:03] Production.INFO: Date 2025-01-08
[2025-01-09 19:12:03] Production.ERROR: done
[2025-01-09 19:12:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 19:12:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:12:03] Production.INFO: count ==21
[2025-01-09 19:12:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 19:12:03] Production.INFO: count ==21
[2025-01-09 19:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211632') start
[2025-01-09 19:12:03] Production.INFO: Date 2025-01-09
[2025-01-09 19:12:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:12:03] Production.ERROR: done
[2025-01-09 19:12:03] Production.INFO: Total Charge 0
[2025-01-09 19:12:03] Production.INFO: ==27475== Releasing lock...
[2025-01-09 19:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 19:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 19:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211632') end
[2025-01-09 19:12:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 19:12:03] Production.INFO: 1
[2025-01-09 19:12:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 19:12:03] Production.INFO: CreateAllLog End
[2025-01-09 19:12:03] Production.INFO: ==27483== Releasing lock...
[2025-01-09 19:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 19:12:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 19:12:04] Production.INFO: Account Balance End.
[2025-01-09 19:12:04] Production.ERROR: CronJobId end 12
[2025-01-09 19:12:04] Production.INFO: ==27479== Releasing lock...
[2025-01-09 19:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 19:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 19:12:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 16:12:04
[end_date_ymd] => 2025-01-09 19:12:04
[RateCDR] => 1
)
[2025-01-09 19:12:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 16:12:04' and `end` < '2025-01-09 19:12:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 19:12:12] Production.ERROR: CronJobId end10
[2025-01-09 19:12:12] Production.INFO: ==27477== Releasing lock...
[2025-01-09 19:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 19:12:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 19:12:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 19:12:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 19:12:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 19:12:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 19:12:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 19:12:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 19:12:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 19:12:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 19:12:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 19:12:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 19:12:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 19:12:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 19:12:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 19:12:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 19:12:13] Production.INFO: call_cost start
[2025-01-09 19:12:13] Production.INFO: call_cost end
[2025-01-09 19:12:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 19:12:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 19:12:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 19:12:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 19:12:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 19:12:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 19:12:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 19:12:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 19:12:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 19:12:13] Production.INFO: ==27473== Releasing lock...
[2025-01-09 19:12:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 19:12:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 19:12:18] Production.INFO: count ==2493
[2025-01-09 19:12:18] Production.ERROR: pbx CDR StartTime 2025-01-09 16:12:04 - End Time 2025-01-09 19:12:04
[2025-01-09 19:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 19:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211633', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211633', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211633', 'tblTempVendorCDR_20' ) start
[2025-01-09 19:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211633', 'tblTempVendorCDR_20' ) end
[2025-01-09 19:12:18] Production.INFO: ProcessCDR(1,14211633,1,1,2)
[2025-01-09 19:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211633,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211633,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211633,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:12:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211633,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211633', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211633', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:12:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:12:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:12:22] Production.INFO: ==27481== Releasing lock...
[2025-01-09 19:12:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 19:12:22] Production.INFO: 46.75 MB #Memory Used#
[2025-01-10 00:13:01] Production.INFO: ==27599== Lock acquired, processing the job...
[2025-01-10 00:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 00:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 00:13:01] Production.INFO: neon service started
[2025-01-10 00:13:02] Production.INFO: neon service started
[2025-01-10 00:13:02] Production.INFO: ==27599== Releasing lock...
[2025-01-10 00:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 00:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 19:13:02] Production.INFO: ==27601== Lock acquired, processing the job...
[2025-01-09 19:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 00:13:02] Production.INFO: ==27603== Lock acquired, processing the job...
[2025-01-10 00:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 00:13:02] Production.INFO: ==27603== Releasing lock...
[2025-01-10 00:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 00:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 19:13:02] Production.INFO: ==27601== Releasing lock...
[2025-01-09 19:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 19:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:13:03] Production.INFO: ==27608== Lock acquired, processing the job...
[2025-01-09 19:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 19:13:03] Production.INFO: ==27614== Lock acquired, processing the job...
[2025-01-09 19:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 19:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:13:03] Production.INFO: ==27606== Lock acquired, processing the job...
[2025-01-09 19:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 19:13:03] Production.INFO: ==27610== Lock acquired, processing the job...
[2025-01-09 19:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 19:13:03] Production.INFO: ==27612== Lock acquired, processing the job...
[2025-01-09 19:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 19:13:04] Production.INFO: ==27608== Releasing lock...
[2025-01-09 19:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 19:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 19:13:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 19:13:04] Production.INFO: ==27616== Lock acquired, processing the job...
[2025-01-09 19:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 19:13:04] Production.INFO: Account Balance Start.
[2025-01-09 19:13:04] Production.INFO: CreateAllLog Start
[2025-01-09 19:13:04] Production.INFO: 117
[2025-01-09 19:13:04] Production.INFO: Date 2025-01-08
[2025-01-09 19:13:04] Production.INFO: Reseller ==> 0
[2025-01-09 19:13:04] Production.INFO: Date 2025-01-09
[2025-01-09 19:13:04] Production.INFO: Reseller ==> 0
[2025-01-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-01-09 19:13:04] Production.INFO: count ==21
[2025-01-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-01-09 19:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 19:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 19:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 19:13:04] Production.ERROR: done
[2025-01-09 19:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 19:13:04] Production.INFO: count ==21
[2025-01-09 19:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 19:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211637') start
[2025-01-09 19:13:04] Production.INFO: Total Charge 0
[2025-01-09 19:13:04] Production.INFO: CreateAllLog End
[2025-01-09 19:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211637') end
[2025-01-09 19:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 19:13:04] Production.INFO: 1
[2025-01-09 19:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 19:13:04] Production.INFO: ==27616== Releasing lock...
[2025-01-09 19:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 19:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 19:13:04] Production.ERROR: done
[2025-01-09 19:13:04] Production.INFO: Account Balance End.
[2025-01-09 19:13:04] Production.ERROR: CronJobId end 12
[2025-01-09 19:13:04] Production.INFO: ==27612== Releasing lock...
[2025-01-09 19:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 19:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 19:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 16:13:05
[end_date_ymd] => 2025-01-09 19:13:05
[RateCDR] => 1
)
[2025-01-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-01-09 16:13:05' and `end` < '2025-01-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-01-09 19:13:11] Production.ERROR: CronJobId end10
[2025-01-09 19:13:11] Production.INFO: ==27610== Releasing lock...
[2025-01-09 19:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 19:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 19:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 19:13:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 19:13:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 19:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 19:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 19:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 19:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 19:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 19:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 19:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 19:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 19:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 19:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 19:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 19:13:13] Production.INFO: call_cost start
[2025-01-09 19:13:13] Production.INFO: call_cost end
[2025-01-09 19:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 19:13:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 19:13:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 19:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 19:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 19:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 19:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 19:13:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 19:13:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 19:13:14] Production.INFO: ==27606== Releasing lock...
[2025-01-09 19:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 19:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 19:13:19] Production.INFO: count ==2479
[2025-01-09 19:13:20] Production.ERROR: pbx CDR StartTime 2025-01-09 16:13:05 - End Time 2025-01-09 19:13:05
[2025-01-09 19:13:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 19:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211638', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211638', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211638', 'tblTempVendorCDR_20' ) start
[2025-01-09 19:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211638', 'tblTempVendorCDR_20' ) end
[2025-01-09 19:13:20] Production.INFO: ProcessCDR(1,14211638,1,1,2)
[2025-01-09 19:13:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211638,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:13:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211638,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:13:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211638,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:13:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211638,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211638', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211638', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:13:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:13:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:13:23] Production.INFO: ==27614== Releasing lock...
[2025-01-09 19:13:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 19:13:23] Production.INFO: 46.75 MB #Memory Used#
[2025-01-10 00:14:01] Production.INFO: ==27724== Lock acquired, processing the job...
[2025-01-10 00:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 00:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 00:14:01] Production.INFO: neon service started
[2025-01-10 00:14:01] Production.INFO: neon service started
[2025-01-10 00:14:01] Production.INFO: ==27724== Releasing lock...
[2025-01-10 00:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 00:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:14:01] Production.INFO: ==27728== Lock acquired, processing the job...
[2025-01-10 00:14:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 00:14:01] Production.INFO: ==27728== Releasing lock...
[2025-01-10 00:14:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 00:14:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 19:14:01] Production.INFO: ==27726== Lock acquired, processing the job...
[2025-01-09 19:14:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:14:02] Production.INFO: ==27726== Releasing lock...
[2025-01-09 19:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 19:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:14:02] Production.INFO: ==27730== Lock acquired, processing the job...
[2025-01-09 19:14:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 19:14:03] Production.INFO: ==27735== Lock acquired, processing the job...
[2025-01-09 19:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 19:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 19:14:03] Production.INFO: ==27739== Lock acquired, processing the job...
[2025-01-09 19:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 19:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 19:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 19:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 19:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 19:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:14:03] Production.INFO: ==27732== Lock acquired, processing the job...
[2025-01-09 19:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 19:14:03] Production.INFO: ==27737== Lock acquired, processing the job...
[2025-01-09 19:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 19:14:03] Production.INFO: ==27741== Lock acquired, processing the job...
[2025-01-09 19:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 19:14:03] Production.INFO: Account Balance Start.
[2025-01-09 19:14:03] Production.INFO: CreateAllLog Start
[2025-01-09 19:14:03] Production.INFO: 117
[2025-01-09 19:14:03] Production.INFO: Date 2025-01-08
[2025-01-09 19:14:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:14:03] Production.INFO: Date 2025-01-09
[2025-01-09 19:14:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:14:03] Production.ERROR: done
[2025-01-09 19:14:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 19:14:03] Production.INFO: Total Charge 0
[2025-01-09 19:14:03] Production.INFO: CreateAllLog End
[2025-01-09 19:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 19:14:03] Production.INFO: count ==21
[2025-01-09 19:14:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 19:14:03] Production.INFO: count ==21
[2025-01-09 19:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211642') start
[2025-01-09 19:14:03] Production.ERROR: done
[2025-01-09 19:14:03] Production.INFO: Account Balance End.
[2025-01-09 19:14:03] Production.ERROR: CronJobId end 12
[2025-01-09 19:14:03] Production.INFO: ==27737== Releasing lock...
[2025-01-09 19:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 19:14:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 19:14:03] Production.INFO: ==27732== Releasing lock...
[2025-01-09 19:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 19:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 19:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211642') end
[2025-01-09 19:14:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 19:14:03] Production.INFO: 1
[2025-01-09 19:14:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 19:14:03] Production.INFO: ==27741== Releasing lock...
[2025-01-09 19:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 19:14:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 19:14:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 16:14:04
[end_date_ymd] => 2025-01-09 19:14:04
[RateCDR] => 1
)
[2025-01-09 19:14:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 16:14:04' and `end` < '2025-01-09 19:14:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 19:14:12] Production.ERROR: CronJobId end10
[2025-01-09 19:14:12] Production.INFO: ==27735== Releasing lock...
[2025-01-09 19:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 19:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 19:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 19:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 19:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 19:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 19:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 19:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 19:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 19:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 19:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 19:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 19:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 19:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 19:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 19:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 19:14:13] Production.INFO: call_cost start
[2025-01-09 19:14:13] Production.INFO: call_cost end
[2025-01-09 19:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 19:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 19:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 19:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 19:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 19:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 19:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 19:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 19:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 19:14:14] Production.INFO: ==27730== Releasing lock...
[2025-01-09 19:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 19:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 19:14:18] Production.INFO: count ==2470
[2025-01-09 19:14:18] Production.ERROR: pbx CDR StartTime 2025-01-09 16:14:04 - End Time 2025-01-09 19:14:04
[2025-01-09 19:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 19:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211643', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211643', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211643', 'tblTempVendorCDR_20' ) start
[2025-01-09 19:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211643', 'tblTempVendorCDR_20' ) end
[2025-01-09 19:14:18] Production.INFO: ProcessCDR(1,14211643,1,1,2)
[2025-01-09 19:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211643,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211643,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211643,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211643,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211643', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211643', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:14:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:14:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:14:21] Production.INFO: ==27739== Releasing lock...
[2025-01-09 19:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 19:14:21] Production.INFO: 46.5 MB #Memory Used#
[2025-01-10 00:15:01] Production.INFO: ==27895== Lock acquired, processing the job...
[2025-01-10 00:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 00:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 00:15:01] Production.INFO: neon service started
[2025-01-10 00:15:01] Production.INFO: neon service started
[2025-01-10 00:15:01] Production.INFO: ==27895== Releasing lock...
[2025-01-10 00:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 00:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:15:02] Production.INFO: ==27899== Lock acquired, processing the job...
[2025-01-10 00:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 00:15:02] Production.INFO: ==27899== Releasing lock...
[2025-01-10 00:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 00:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 19:15:02] Production.INFO: ==27897== Lock acquired, processing the job...
[2025-01-09 19:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:15:02] Production.INFO: ==27897== Releasing lock...
[2025-01-09 19:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 19:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:15:03] Production.INFO: ==27904== Lock acquired, processing the job...
[2025-01-09 19:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 19:15:03] Production.INFO: ==27908== Lock acquired, processing the job...
[2025-01-09 19:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 19:15:03] Production.INFO: ==27912== Lock acquired, processing the job...
[2025-01-09 19:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 19:15:03] Production.INFO: ==27904== Releasing lock...
[2025-01-09 19:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 19:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-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-01-09 19:15:03] Production.INFO: count ==21
[2025-01-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-01-09 19:15:03] Production.INFO: Account Balance Start.
[2025-01-09 19:15:03] Production.INFO: count ==21
[2025-01-09 19:15:03] Production.INFO: CreateAllLog Start
[2025-01-09 19:15:03] Production.INFO: 117
[2025-01-09 19:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211645') start
[2025-01-09 19:15:03] Production.INFO: Date 2025-01-08
[2025-01-09 19:15:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:15:03] Production.INFO: ==27902== Lock acquired, processing the job...
[2025-01-09 19:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 19:15:03] Production.INFO: Date 2025-01-09
[2025-01-09 19:15:03] Production.INFO: ==27906== Lock acquired, processing the job...
[2025-01-09 19:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 19:15:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:15:03] Production.INFO: Total Charge 0
[2025-01-09 19:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211645') end
[2025-01-09 19:15:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 19:15:03] Production.INFO: 1
[2025-01-09 19:15:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 19:15:03] Production.INFO: ==27910== Lock acquired, processing the job...
[2025-01-09 19:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 19:15:03] Production.INFO: CreateAllLog End
[2025-01-09 19:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 19:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 19:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 19:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 19:15:03] Production.INFO: ==27912== Releasing lock...
[2025-01-09 19:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 19:15:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 19:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 19:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:15:03] Production.INFO: Account Balance End.
[2025-01-09 19:15:03] Production.ERROR: CronJobId end 12
[2025-01-09 19:15:03] Production.INFO: ==27908== Releasing lock...
[2025-01-09 19:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 19:15:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 19:15:03] Production.ERROR: done
[2025-01-09 19:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 19:15:04] Production.ERROR: done
[2025-01-09 19:15:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 16:15:04
[end_date_ymd] => 2025-01-09 19:15:04
[RateCDR] => 1
)
[2025-01-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-01-09 16:15:04' and `end` < '2025-01-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-01-09 19:15:11] Production.ERROR: CronJobId end10
[2025-01-09 19:15:11] Production.INFO: ==27906== Releasing lock...
[2025-01-09 19:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 19:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 19:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 19:15:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 19:15:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 19:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 19:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 19:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 19:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 19:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 19:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 19:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 19:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 19:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 19:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 19:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 19:15:13] Production.INFO: call_cost start
[2025-01-09 19:15:13] Production.INFO: call_cost end
[2025-01-09 19:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 19:15:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 19:15:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 19:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 19:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 19:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 19:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 19:15:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 19:15:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 19:15:14] Production.INFO: ==27902== Releasing lock...
[2025-01-09 19:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 19:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 19:15:18] Production.INFO: count ==2442
[2025-01-09 19:15:18] Production.ERROR: pbx CDR StartTime 2025-01-09 16:15:04 - End Time 2025-01-09 19:15:04
[2025-01-09 19:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 19:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211648', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211648', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211648', 'tblTempVendorCDR_20' ) start
[2025-01-09 19:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211648', 'tblTempVendorCDR_20' ) end
[2025-01-09 19:15:19] Production.INFO: ProcessCDR(1,14211648,1,1,2)
[2025-01-09 19:15:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211648,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:15:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211648,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:15:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211648,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:15:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211648,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211648', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211648', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:15:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:15:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:15:22] Production.INFO: ==27910== Releasing lock...
[2025-01-09 19:15:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 19:15:22] Production.INFO: 46.5 MB #Memory Used#
[2025-01-10 00:16:02] Production.INFO: ==28064== Lock acquired, processing the job...
[2025-01-10 00:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 00:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 00:16:02] Production.INFO: neon service started
[2025-01-10 00:16:02] Production.INFO: neon service started
[2025-01-10 00:16:02] Production.INFO: ==28064== Releasing lock...
[2025-01-10 00:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 00:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:16:02] Production.INFO: ==28068== Lock acquired, processing the job...
[2025-01-10 00:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 00:16:02] Production.INFO: ==28068== Releasing lock...
[2025-01-10 00:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 00:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 19:16:02] Production.INFO: ==28066== Lock acquired, processing the job...
[2025-01-09 19:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:16:02] Production.INFO: ==28066== Releasing lock...
[2025-01-09 19:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 19:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:16:03] Production.INFO: ==28071== Lock acquired, processing the job...
[2025-01-09 19:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 19:16:03] Production.INFO: ==28073== Lock acquired, processing the job...
[2025-01-09 19:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 19:16:03] Production.INFO: ==28075== Lock acquired, processing the job...
[2025-01-09 19:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 19:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 19:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 19:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 19:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 19:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 19:16:04] Production.INFO: ==28077== Lock acquired, processing the job...
[2025-01-09 19:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 19:16:04] Production.INFO: ==28081== Lock acquired, processing the job...
[2025-01-09 19:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 19:16:04] Production.INFO: ==28079== Lock acquired, processing the job...
[2025-01-09 19:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 19:16:04] Production.INFO: ==28073== Releasing lock...
[2025-01-09 19:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 19:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 19:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:16:04] Production.INFO: Account Balance Start.
[2025-01-09 19:16:04] Production.INFO: CreateAllLog Start
[2025-01-09 19:16:04] Production.INFO: 117
[2025-01-09 19:16:04] Production.INFO: Date 2025-01-08
[2025-01-09 19:16:04] Production.INFO: Reseller ==> 0
[2025-01-09 19:16:04] Production.INFO: Date 2025-01-09
[2025-01-09 19:16:04] Production.INFO: Reseller ==> 0
[2025-01-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-01-09 19:16:04] Production.INFO: count ==21
[2025-01-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-01-09 19:16:04] Production.INFO: count ==21
[2025-01-09 19:16:04] Production.INFO: Total Charge 0
[2025-01-09 19:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211652') start
[2025-01-09 19:16:04] Production.INFO: CreateAllLog End
[2025-01-09 19:16:04] Production.ERROR: done
[2025-01-09 19:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 19:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211652') end
[2025-01-09 19:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 19:16:04] Production.INFO: 1
[2025-01-09 19:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 19:16:04] Production.ERROR: done
[2025-01-09 19:16:04] Production.INFO: ==28081== Releasing lock...
[2025-01-09 19:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 19:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 19:16:04] Production.INFO: Account Balance End.
[2025-01-09 19:16:04] Production.ERROR: CronJobId end 12
[2025-01-09 19:16:04] Production.INFO: ==28077== Releasing lock...
[2025-01-09 19:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 19:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 19:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 16:16:05
[end_date_ymd] => 2025-01-09 19:16:05
[RateCDR] => 1
)
[2025-01-09 19:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 16:16:05' and `end` < '2025-01-09 19:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 19:16:12] Production.ERROR: CronJobId end10
[2025-01-09 19:16:12] Production.INFO: ==28075== Releasing lock...
[2025-01-09 19:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 19:16:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 19:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 19:16:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 19:16:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 19:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 19:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 19:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 19:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 19:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 19:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 19:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 19:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 19:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 19:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 19:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 19:16:13] Production.INFO: call_cost start
[2025-01-09 19:16:13] Production.INFO: call_cost end
[2025-01-09 19:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 19:16:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 19:16:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 19:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 19:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 19:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 19:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 19:16:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 19:16:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 19:16:14] Production.INFO: ==28071== Releasing lock...
[2025-01-09 19:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 19:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 19:16:19] Production.INFO: count ==2416
[2025-01-09 19:16:19] Production.ERROR: pbx CDR StartTime 2025-01-09 16:16:05 - End Time 2025-01-09 19:16:05
[2025-01-09 19:16:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 19:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211653', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211653', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211653', 'tblTempVendorCDR_20' ) start
[2025-01-09 19:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211653', 'tblTempVendorCDR_20' ) end
[2025-01-09 19:16:19] Production.INFO: ProcessCDR(1,14211653,1,1,2)
[2025-01-09 19:16:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211653,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:16:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211653,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:16:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211653,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:16:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211653,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211653', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211653', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:16:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:16:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:16:22] Production.INFO: ==28079== Releasing lock...
[2025-01-09 19:16:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 19:16:22] Production.INFO: 46.25 MB #Memory Used#
[2025-01-10 00:17:01] Production.INFO: ==28193== Lock acquired, processing the job...
[2025-01-10 00:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 00:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 00:17:01] Production.INFO: neon service started
[2025-01-10 00:17:01] Production.INFO: neon service started
[2025-01-10 00:17:01] Production.INFO: ==28193== Releasing lock...
[2025-01-10 00:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 00:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:17:01] Production.INFO: ==28197== Lock acquired, processing the job...
[2025-01-10 00:17:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 00:17:01] Production.INFO: ==28197== Releasing lock...
[2025-01-10 00:17:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 00:17:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 19:17:02] Production.INFO: ==28195== Lock acquired, processing the job...
[2025-01-09 19:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:17:02] Production.INFO: ==28195== Releasing lock...
[2025-01-09 19:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 19:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:17:03] Production.INFO: ==28200== Lock acquired, processing the job...
[2025-01-09 19:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 19:17:03] Production.INFO: ==28202== Lock acquired, processing the job...
[2025-01-09 19:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 19:17:03] Production.INFO: ==28206== Lock acquired, processing the job...
[2025-01-09 19:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 19:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 19:17:03] Production.INFO: Account Balance Start.
[2025-01-09 19:17:03] Production.INFO: CreateAllLog Start
[2025-01-09 19:17:03] Production.INFO: 117
[2025-01-09 19:17:03] Production.INFO: Date 2025-01-08
[2025-01-09 19:17:03] Production.INFO: ==28204== Lock acquired, processing the job...
[2025-01-09 19:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 19:17:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:17:03] Production.INFO: Date 2025-01-09
[2025-01-09 19:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 19:17:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 19:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 19:17:03] Production.INFO: ==28208== Lock acquired, processing the job...
[2025-01-09 19:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 19:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 19:17:03] Production.INFO: Total Charge 0
[2025-01-09 19:17:03] Production.INFO: ==28202== Releasing lock...
[2025-01-09 19:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 19:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 19:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:17:03] Production.INFO: CreateAllLog End
[2025-01-09 19:17:03] Production.INFO: ==28210== Lock acquired, processing the job...
[2025-01-09 19:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 19:17:03] Production.INFO: Account Balance End.
[2025-01-09 19:17:03] Production.ERROR: CronJobId end 12
[2025-01-09 19:17:03] Production.INFO: ==28206== Releasing lock...
[2025-01-09 19:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 19:17:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 19:17:03] Production.ERROR: done
[2025-01-09 19:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-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-01-09 19:17:03] Production.INFO: count ==21
[2025-01-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-01-09 19:17:03] Production.INFO: count ==21
[2025-01-09 19:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211657') start
[2025-01-09 19:17:03] Production.ERROR: done
[2025-01-09 19:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211657') end
[2025-01-09 19:17:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 19:17:03] Production.INFO: 1
[2025-01-09 19:17:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 19:17:04] Production.INFO: ==28210== Releasing lock...
[2025-01-09 19:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 19:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 19:17:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 16:17:04
[end_date_ymd] => 2025-01-09 19:17:04
[RateCDR] => 1
)
[2025-01-09 19:17:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 16:17:04' and `end` < '2025-01-09 19:17:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 19:17:11] Production.ERROR: CronJobId end10
[2025-01-09 19:17:11] Production.INFO: ==28204== Releasing lock...
[2025-01-09 19:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 19:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 19:17:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 19:17:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 19:17:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 19:17:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 19:17:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 19:17:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 19:17:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 19:17:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 19:17:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 19:17:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 19:17:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 19:17:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 19:17:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 19:17:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 19:17:12] Production.INFO: call_cost start
[2025-01-09 19:17:12] Production.INFO: call_cost end
[2025-01-09 19:17:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 19:17:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 19:17:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 19:17:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 19:17:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 19:17:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 19:17:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 19:17:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 19:17:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 19:17:13] Production.INFO: ==28200== Releasing lock...
[2025-01-09 19:17:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 19:17:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 19:17:18] Production.INFO: count ==2413
[2025-01-09 19:17:18] Production.ERROR: pbx CDR StartTime 2025-01-09 16:17:04 - End Time 2025-01-09 19:17:04
[2025-01-09 19:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 19:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211658', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211658', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211658', 'tblTempVendorCDR_20' ) start
[2025-01-09 19:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211658', 'tblTempVendorCDR_20' ) end
[2025-01-09 19:17:18] Production.INFO: ProcessCDR(1,14211658,1,1,2)
[2025-01-09 19:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211658,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211658,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211658,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211658,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211658', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211658', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:17:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:17:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:17:21] Production.INFO: ==28208== Releasing lock...
[2025-01-09 19:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 19:17:21] Production.INFO: 46.25 MB #Memory Used#
[2025-01-10 00:18:02] Production.INFO: ==28326== Lock acquired, processing the job...
[2025-01-10 00:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 00:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 00:18:02] Production.INFO: neon service started
[2025-01-10 00:18:02] Production.INFO: neon service started
[2025-01-10 00:18:02] Production.INFO: ==28326== Releasing lock...
[2025-01-10 00:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 00:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 19:18:02] Production.INFO: ==28328== Lock acquired, processing the job...
[2025-01-09 19:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:18:02] Production.INFO: ==28328== Releasing lock...
[2025-01-09 19:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 19:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 00:18:02] Production.INFO: ==28330== Lock acquired, processing the job...
[2025-01-10 00:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 00:18:02] Production.INFO: ==28330== Releasing lock...
[2025-01-10 00:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 00:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 19:18:03] Production.INFO: ==28332== Lock acquired, processing the job...
[2025-01-09 19:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 19:18:03] Production.INFO: ==28336== Lock acquired, processing the job...
[2025-01-09 19:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 19:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 19:18:03] Production.INFO: ==28340== Lock acquired, processing the job...
[2025-01-09 19:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 19:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 19:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 19:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 19:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 19:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:18:03] Production.INFO: ==28334== Lock acquired, processing the job...
[2025-01-09 19:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 19:18:03] Production.INFO: ==28338== Lock acquired, processing the job...
[2025-01-09 19:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 19:18:03] Production.INFO: ==28342== Lock acquired, processing the job...
[2025-01-09 19:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 19:18:04] Production.ERROR: done
[2025-01-09 19:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 19:18:04] Production.INFO: Account Balance Start.
[2025-01-09 19:18:04] Production.INFO: CreateAllLog Start
[2025-01-09 19:18:04] Production.INFO: 117
[2025-01-09 19:18:04] Production.INFO: Date 2025-01-08
[2025-01-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-01-09 19:18:04] Production.INFO: Reseller ==> 0
[2025-01-09 19:18:04] Production.INFO: count ==21
[2025-01-09 19:18:04] Production.ERROR: done
[2025-01-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-01-09 19:18:04] Production.INFO: count ==21
[2025-01-09 19:18:04] Production.INFO: ==28334== Releasing lock...
[2025-01-09 19:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 19:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 19:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211662') start
[2025-01-09 19:18:04] Production.INFO: Date 2025-01-09
[2025-01-09 19:18:04] Production.INFO: Reseller ==> 0
[2025-01-09 19:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211662') end
[2025-01-09 19:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 19:18:04] Production.INFO: 1
[2025-01-09 19:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 19:18:04] Production.INFO: Total Charge 0
[2025-01-09 19:18:04] Production.INFO: CreateAllLog End
[2025-01-09 19:18:04] Production.INFO: ==28342== Releasing lock...
[2025-01-09 19:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 19:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 19:18:04] Production.INFO: Account Balance End.
[2025-01-09 19:18:04] Production.ERROR: CronJobId end 12
[2025-01-09 19:18:04] Production.INFO: ==28338== Releasing lock...
[2025-01-09 19:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 19:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 19:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 16:18:05
[end_date_ymd] => 2025-01-09 19:18:05
[RateCDR] => 1
)
[2025-01-09 19:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 16:18:05' and `end` < '2025-01-09 19:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 19:18:13] Production.ERROR: CronJobId end10
[2025-01-09 19:18:13] Production.INFO: ==28336== Releasing lock...
[2025-01-09 19:18:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 19:18:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 19:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 19:18:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 19:18:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 19:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 19:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 19:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 19:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 19:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 19:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 19:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 19:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 19:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 19:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 19:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 19:18:13] Production.INFO: call_cost start
[2025-01-09 19:18:13] Production.INFO: call_cost end
[2025-01-09 19:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 19:18:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 19:18:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 19:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 19:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 19:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 19:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 19:18:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 19:18:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 19:18:14] Production.INFO: ==28332== Releasing lock...
[2025-01-09 19:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 19:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 19:18:18] Production.INFO: count ==2400
[2025-01-09 19:18:19] Production.ERROR: pbx CDR StartTime 2025-01-09 16:18:05 - End Time 2025-01-09 19:18:05
[2025-01-09 19:18:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 19:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211663', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211663', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211663', 'tblTempVendorCDR_20' ) start
[2025-01-09 19:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211663', 'tblTempVendorCDR_20' ) end
[2025-01-09 19:18:19] Production.INFO: ProcessCDR(1,14211663,1,1,2)
[2025-01-09 19:18:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211663,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:18:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211663,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:18:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211663,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:18:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211663,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211663', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211663', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:18:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:18:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:18:23] Production.INFO: ==28340== Releasing lock...
[2025-01-09 19:18:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 19:18:23] Production.INFO: 46 MB #Memory Used#
[2025-01-10 00:19:01] Production.INFO: ==28476== Lock acquired, processing the job...
[2025-01-10 00:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 00:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 00:19:01] Production.INFO: neon service started
[2025-01-10 00:19:01] Production.INFO: neon service started
[2025-01-10 00:19:01] Production.INFO: ==28476== Releasing lock...
[2025-01-10 00:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 00:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 19:19:01] Production.INFO: ==28478== Lock acquired, processing the job...
[2025-01-09 19:19:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:19:02] Production.INFO: ==28478== Releasing lock...
[2025-01-09 19:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 19:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 00:19:02] Production.INFO: ==28480== Lock acquired, processing the job...
[2025-01-10 00:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 00:19:02] Production.INFO: ==28480== Releasing lock...
[2025-01-10 00:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 00:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 19:19:02] Production.INFO: ==28485== Lock acquired, processing the job...
[2025-01-09 19:19:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 19:19:03] Production.INFO: ==28493== Lock acquired, processing the job...
[2025-01-09 19:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 19:19:03] Production.INFO: ==28483== Lock acquired, processing the job...
[2025-01-09 19:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 19:19:03] Production.INFO: ==28485== Releasing lock...
[2025-01-09 19:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 19:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 19:19:03] Production.INFO: ==28487== Lock acquired, processing the job...
[2025-01-09 19:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-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-01-09 19:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 19:19:03] Production.INFO: ==28489== Lock acquired, processing the job...
[2025-01-09 19:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 19:19:03] Production.INFO: ==28491== Lock acquired, processing the job...
[2025-01-09 19:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 19:19:03] Production.INFO: count ==21
[2025-01-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-01-09 19:19:03] Production.INFO: count ==21
[2025-01-09 19:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211665') start
[2025-01-09 19:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 19:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 19:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 19:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:19:03] Production.INFO: Account Balance Start.
[2025-01-09 19:19:03] Production.INFO: CreateAllLog Start
[2025-01-09 19:19:03] Production.INFO: 117
[2025-01-09 19:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 19:19:03] Production.INFO: Date 2025-01-08
[2025-01-09 19:19:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:19:03] Production.INFO: Date 2025-01-09
[2025-01-09 19:19:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211665') end
[2025-01-09 19:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 19:19:03] Production.INFO: 1
[2025-01-09 19:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 19:19:03] Production.INFO: Total Charge 0
[2025-01-09 19:19:03] Production.INFO: CreateAllLog End
[2025-01-09 19:19:03] Production.INFO: ==28493== Releasing lock...
[2025-01-09 19:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 19:19:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 19:19:03] Production.ERROR: done
[2025-01-09 19:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 19:19:03] Production.ERROR: done
[2025-01-09 19:19:03] Production.INFO: Account Balance End.
[2025-01-09 19:19:03] Production.ERROR: CronJobId end 12
[2025-01-09 19:19:03] Production.INFO: ==28489== Releasing lock...
[2025-01-09 19:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 19:19:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 19:19:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 16:19:04
[end_date_ymd] => 2025-01-09 19:19:04
[RateCDR] => 1
)
[2025-01-09 19:19:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 16:19:04' and `end` < '2025-01-09 19:19:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 19:19:12] Production.ERROR: CronJobId end10
[2025-01-09 19:19:12] Production.INFO: ==28487== Releasing lock...
[2025-01-09 19:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 19:19:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 19:19:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 19:19:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 19:19:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 19:19:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 19:19:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 19:19:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 19:19:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 19:19:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 19:19:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 19:19:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 19:19:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 19:19:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 19:19:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 19:19:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 19:19:12] Production.INFO: call_cost start
[2025-01-09 19:19:12] Production.INFO: call_cost end
[2025-01-09 19:19:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 19:19:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 19:19:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 19:19:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 19:19:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 19:19:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 19:19:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 19:19:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 19:19:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 19:19:13] Production.INFO: ==28483== Releasing lock...
[2025-01-09 19:19:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 19:19:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 19:19:18] Production.INFO: count ==2392
[2025-01-09 19:19:18] Production.ERROR: pbx CDR StartTime 2025-01-09 16:19:04 - End Time 2025-01-09 19:19:04
[2025-01-09 19:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 19:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211668', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211668', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211668', 'tblTempVendorCDR_20' ) start
[2025-01-09 19:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211668', 'tblTempVendorCDR_20' ) end
[2025-01-09 19:19:19] Production.INFO: ProcessCDR(1,14211668,1,1,2)
[2025-01-09 19:19:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211668,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:19:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211668,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:19:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211668,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:19:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211668,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211668', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211668', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:19:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:19:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:19:22] Production.INFO: ==28491== Releasing lock...
[2025-01-09 19:19:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 19:19:22] Production.INFO: 46 MB #Memory Used#
[2025-01-10 00:20:01] Production.INFO: ==28565== Lock acquired, processing the job...
[2025-01-10 00:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 00:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 00:20:01] Production.INFO: neon service started
[2025-01-10 00:20:02] Production.INFO: neon service started
[2025-01-10 00:20:02] Production.INFO: ==28565== Releasing lock...
[2025-01-10 00:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 00:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 19:20:02] Production.INFO: ==28567== Lock acquired, processing the job...
[2025-01-09 19:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 00:20:02] Production.INFO: ==28569== Lock acquired, processing the job...
[2025-01-10 00:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 00:20:02] Production.INFO: ==28569== Releasing lock...
[2025-01-10 00:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 00:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 19:20:03] Production.INFO: ==28567== Releasing lock...
[2025-01-09 19:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 19:20:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:20:03] Production.INFO: ==28574== Lock acquired, processing the job...
[2025-01-09 19:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 19:20:03] Production.INFO: ==28572== Lock acquired, processing the job...
[2025-01-09 19:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 19:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 19:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 19:20:04] Production.ERROR: CronJob PID - 28574
[2025-01-09 19:20:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-09 19:20:04] Production.ERROR: CronJob ID - 5
[2025-01-09 19:20:04] Production.ERROR: CronJob Last Run Time 2025-01-09 19:20:00
[2025-01-09 19:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 19:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 19:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 19:20:04] Production.INFO: ==28572== Releasing lock...
[2025-01-09 19:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 19:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 19:20:04] Production.INFO: ==28578== Lock acquired, processing the job...
[2025-01-09 19:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 19:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 19:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 19:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 19:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 19:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 19:20:04] Production.INFO: ==28582== Lock acquired, processing the job...
[2025-01-09 19:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 19:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:20:04] Production.INFO: ==28576== Lock acquired, processing the job...
[2025-01-09 19:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 19:20:04] Production.INFO: ==28580== Lock acquired, processing the job...
[2025-01-09 19:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 19:20:04] Production.INFO: ==28586== Lock acquired, processing the job...
[2025-01-09 19:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 19:20:04] Production.ERROR: done
[2025-01-09 19:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 19:20:04] Production.INFO: ==28584== Lock acquired, processing the job...
[2025-01-09 19:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 19:20:04] Production.INFO: Account Balance Start.
[2025-01-09 19:20:04] Production.INFO: CreateAllLog Start
[2025-01-09 19:20:04] Production.INFO: 117
[2025-01-09 19:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:20:04] Production.INFO: ==28576== Releasing lock...
[2025-01-09 19:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 19:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 19:20:04] Production.INFO: Date 2025-01-08
[2025-01-09 19:20:04] Production.INFO: Reseller ==> 0
[2025-01-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-01-09 19:20:04] Production.INFO: count ==21
[2025-01-09 19:20:04] Production.INFO: Date 2025-01-09
[2025-01-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-01-09 19:20:04] Production.INFO: count ==21
[2025-01-09 19:20:04] Production.INFO: Reseller ==> 0
[2025-01-09 19:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211672') start
[2025-01-09 19:20:04] Production.INFO: Total Charge 0
[2025-01-09 19:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211672') end
[2025-01-09 19:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 19:20:04] Production.INFO: 1
[2025-01-09 19:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 19:20:04] Production.ERROR: done
[2025-01-09 19:20:04] Production.ERROR: done
[2025-01-09 19:20:04] Production.INFO: CreateAllLog End
[2025-01-09 19:20:05] Production.INFO: ==28586== Releasing lock...
[2025-01-09 19:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 19:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 19:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 19:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14211674', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 19:20:05] Production.INFO: Account Balance End.
[2025-01-09 19:20:05] Production.ERROR: CronJobId end 12
[2025-01-09 19:20:05] Production.INFO: ==28580== Releasing lock...
[2025-01-09 19:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 19:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 19:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 16:20:06
[end_date_ymd] => 2025-01-09 19:20:06
[RateCDR] => 1
)
[2025-01-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-01-09 16:20:06' and `end` < '2025-01-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-01-09 19:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14211674', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 19:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 19:20:09] Production.INFO: ProcessCDR(1,14211674,1,1,2)
[2025-01-09 19:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14211674,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14211674,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:20:09] Production.INFO: ==28584== Releasing lock...
[2025-01-09 19:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 19:20:09] Production.INFO: 26 MB #Memory Used#
[2025-01-09 19:20:13] Production.ERROR: CronJobId end10
[2025-01-09 19:20:13] Production.INFO: ==28578== Releasing lock...
[2025-01-09 19:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 19:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 19:20:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 19:20:15] Production.INFO: ============== Balance Warning START===========
[2025-01-09 19:20:15] Production.INFO: ============== Balance Warning END===========
[2025-01-09 19:20:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 19:20:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 19:20:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 19:20:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 19:20:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 19:20:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 19:20:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 19:20:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 19:20:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 19:20:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 19:20:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 19:20:15] Production.INFO: call_cost start
[2025-01-09 19:20:15] Production.INFO: call_cost end
[2025-01-09 19:20:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 19:20:16] Production.INFO: ============== Report Schedule START===========
[2025-01-09 19:20:16] Production.INFO: ============== Report Schedule END===========
[2025-01-09 19:20:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 19:20:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 19:20:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 19:20:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 19:20:16] Production.INFO: ============== Deal alert START===========
[2025-01-09 19:20:16] Production.INFO: ============== Deal alert END===========
[2025-01-09 19:20:16] Production.INFO: ==28574== Releasing lock...
[2025-01-09 19:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 19:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 19:20:19] Production.INFO: count ==2378
[2025-01-09 19:20:20] Production.ERROR: pbx CDR StartTime 2025-01-09 16:20:06 - End Time 2025-01-09 19:20:06
[2025-01-09 19:20:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 19:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211673', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211673', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211673', 'tblTempVendorCDR_20' ) start
[2025-01-09 19:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211673', 'tblTempVendorCDR_20' ) end
[2025-01-09 19:20:20] Production.INFO: ProcessCDR(1,14211673,1,1,2)
[2025-01-09 19:20:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211673,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:20:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211673,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:20:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211673,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:20:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211673,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:20:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211673', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:20:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211673', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:20:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:20:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:20:24] Production.INFO: ==28582== Releasing lock...
[2025-01-09 19:20:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 19:20:24] Production.INFO: 46.25 MB #Memory Used#
[2025-01-10 00:21:01] Production.INFO: ==28658== Lock acquired, processing the job...
[2025-01-10 00:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 00:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 00:21:01] Production.INFO: neon service started
[2025-01-10 00:21:01] Production.INFO: neon service started
[2025-01-10 00:21:01] Production.INFO: ==28658== Releasing lock...
[2025-01-10 00:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 00:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 19:21:01] Production.INFO: ==28660== Lock acquired, processing the job...
[2025-01-09 19:21:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:21:02] Production.INFO: ==28660== Releasing lock...
[2025-01-09 19:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 19:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 00:21:02] Production.INFO: ==28662== Lock acquired, processing the job...
[2025-01-10 00:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 00:21:02] Production.INFO: ==28662== Releasing lock...
[2025-01-10 00:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 00:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 19:21:02] Production.INFO: ==28664== Lock acquired, processing the job...
[2025-01-09 19:21:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 19:21:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 19:21:02] Production.INFO: ==28668== Lock acquired, processing the job...
[2025-01-09 19:21:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 19:21:02] Production.INFO: ==28670== Lock acquired, processing the job...
[2025-01-09 19:21:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 19:21:02] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 19:21:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 19:21:02] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 19:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 19:21:03] Production.INFO: Account Balance Start.
[2025-01-09 19:21:03] Production.INFO: CreateAllLog Start
[2025-01-09 19:21:03] Production.INFO: 117
[2025-01-09 19:21:03] Production.INFO: Date 2025-01-08
[2025-01-09 19:21:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:21:03] Production.INFO: ==28666== Lock acquired, processing the job...
[2025-01-09 19:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 19:21:03] Production.INFO: Date 2025-01-09
[2025-01-09 19:21:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:21:03] Production.INFO: Total Charge 0
[2025-01-09 19:21:03] Production.INFO: CreateAllLog End
[2025-01-09 19:21:03] Production.INFO: ==28672== Lock acquired, processing the job...
[2025-01-09 19:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 19:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:21:03] Production.INFO: ==28674== Lock acquired, processing the job...
[2025-01-09 19:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 19:21:03] Production.INFO: Account Balance End.
[2025-01-09 19:21:03] Production.ERROR: CronJobId end 12
[2025-01-09 19:21:03] Production.INFO: ==28670== Releasing lock...
[2025-01-09 19:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 19:21:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-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-01-09 19:21:03] Production.INFO: ==28666== Releasing lock...
[2025-01-09 19:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 19:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 19:21:03] Production.INFO: count ==21
[2025-01-09 19:21:03] Production.ERROR: done
[2025-01-09 19:21:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-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-01-09 19:21:03] Production.INFO: count ==21
[2025-01-09 19:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211678') start
[2025-01-09 19:21:03] Production.ERROR: done
[2025-01-09 19:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211678') end
[2025-01-09 19:21:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 19:21:03] Production.INFO: 1
[2025-01-09 19:21:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 19:21:04] Production.INFO: ==28674== Releasing lock...
[2025-01-09 19:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 19:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 19:21:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 16:21:04
[end_date_ymd] => 2025-01-09 19:21:04
[RateCDR] => 1
)
[2025-01-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-01-09 16:21:04' and `end` < '2025-01-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-01-09 19:21:11] Production.ERROR: CronJobId end10
[2025-01-09 19:21:11] Production.INFO: ==28668== Releasing lock...
[2025-01-09 19:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 19:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 19:21:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 19:21:11] Production.INFO: ============== Balance Warning START===========
[2025-01-09 19:21:11] Production.INFO: ============== Balance Warning END===========
[2025-01-09 19:21:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 19:21:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 19:21:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 19:21:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 19:21:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 19:21:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 19:21:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 19:21:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 19:21:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 19:21:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 19:21:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 19:21:12] Production.INFO: call_cost start
[2025-01-09 19:21:12] Production.INFO: call_cost end
[2025-01-09 19:21:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 19:21:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 19:21:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 19:21:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 19:21:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 19:21:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 19:21:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 19:21:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 19:21:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 19:21:13] Production.INFO: ==28664== Releasing lock...
[2025-01-09 19:21:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 19:21:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 19:21:18] Production.INFO: count ==2315
[2025-01-09 19:21:18] Production.ERROR: pbx CDR StartTime 2025-01-09 16:21:04 - End Time 2025-01-09 19:21:04
[2025-01-09 19:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 19:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211679', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211679', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211679', 'tblTempVendorCDR_20' ) start
[2025-01-09 19:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211679', 'tblTempVendorCDR_20' ) end
[2025-01-09 19:21:18] Production.INFO: ProcessCDR(1,14211679,1,1,2)
[2025-01-09 19:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211679,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:21:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211679,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:21:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211679,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:21:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211679,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211679', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211679', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:21:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:21:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:21:22] Production.INFO: ==28672== Releasing lock...
[2025-01-09 19:21:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 19:21:22] Production.INFO: 45.5 MB #Memory Used#
[2025-01-10 00:22:01] Production.INFO: ==28745== Lock acquired, processing the job...
[2025-01-10 00:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 00:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 00:22:01] Production.INFO: neon service started
[2025-01-10 00:22:01] Production.INFO: neon service started
[2025-01-10 00:22:01] Production.INFO: ==28745== Releasing lock...
[2025-01-10 00:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 00:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:22:02] Production.INFO: ==28749== Lock acquired, processing the job...
[2025-01-10 00:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 00:22:02] Production.INFO: ==28749== Releasing lock...
[2025-01-10 00:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 00:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 19:22:02] Production.INFO: ==28747== Lock acquired, processing the job...
[2025-01-09 19:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:22:02] Production.INFO: ==28747== Releasing lock...
[2025-01-09 19:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 19:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:22:03] Production.INFO: ==28751== Lock acquired, processing the job...
[2025-01-09 19:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 19:22:03] Production.INFO: ==28755== Lock acquired, processing the job...
[2025-01-09 19:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 19:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 19:22:03] Production.INFO: ==28753== Lock acquired, processing the job...
[2025-01-09 19:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 19:22:03] Production.INFO: ==28762== Lock acquired, processing the job...
[2025-01-09 19:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 19:22:03] Production.INFO: ==28757== Lock acquired, processing the job...
[2025-01-09 19:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 19:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 19:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 19:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 19:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 19:22:03] Production.INFO: ==28759== Lock acquired, processing the job...
[2025-01-09 19:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 19:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:22:03] Production.INFO: Account Balance Start.
[2025-01-09 19:22:03] Production.INFO: CreateAllLog Start
[2025-01-09 19:22:03] Production.INFO: 117
[2025-01-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-01-09 19:22:04] Production.INFO: Date 2025-01-08
[2025-01-09 19:22:04] Production.INFO: Reseller ==> 0
[2025-01-09 19:22:04] Production.INFO: count ==21
[2025-01-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-01-09 19:22:04] Production.INFO: count ==21
[2025-01-09 19:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211682') start
[2025-01-09 19:22:04] Production.INFO: Date 2025-01-09
[2025-01-09 19:22:04] Production.INFO: Reseller ==> 0
[2025-01-09 19:22:04] Production.INFO: Total Charge 0
[2025-01-09 19:22:04] Production.INFO: CreateAllLog End
[2025-01-09 19:22:04] Production.INFO: ==28753== Releasing lock...
[2025-01-09 19:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 19:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 19:22:04] Production.ERROR: done
[2025-01-09 19:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211682') end
[2025-01-09 19:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 19:22:04] Production.INFO: 1
[2025-01-09 19:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 19:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 19:22:04] Production.INFO: ==28762== Releasing lock...
[2025-01-09 19:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 19:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 19:22:04] Production.ERROR: done
[2025-01-09 19:22:04] Production.INFO: Account Balance End.
[2025-01-09 19:22:04] Production.ERROR: CronJobId end 12
[2025-01-09 19:22:04] Production.INFO: ==28757== Releasing lock...
[2025-01-09 19:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 19:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 19:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 16:22:05
[end_date_ymd] => 2025-01-09 19:22:05
[RateCDR] => 1
)
[2025-01-09 19:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 16:22:05' and `end` < '2025-01-09 19:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 19:22:12] Production.ERROR: CronJobId end10
[2025-01-09 19:22:12] Production.INFO: ==28755== Releasing lock...
[2025-01-09 19:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 19:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 19:22:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 19:22:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 19:22:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 19:22:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 19:22:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 19:22:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 19:22:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 19:22:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 19:22:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 19:22:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 19:22:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 19:22:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 19:22:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 19:22:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 19:22:13] Production.INFO: call_cost start
[2025-01-09 19:22:13] Production.INFO: call_cost end
[2025-01-09 19:22:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 19:22:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 19:22:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 19:22:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 19:22:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 19:22:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 19:22:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 19:22:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 19:22:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 19:22:13] Production.INFO: ==28751== Releasing lock...
[2025-01-09 19:22:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 19:22:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 19:22:18] Production.INFO: count ==2273
[2025-01-09 19:22:19] Production.ERROR: pbx CDR StartTime 2025-01-09 16:22:05 - End Time 2025-01-09 19:22:05
[2025-01-09 19:22:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 19:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211684', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211684', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211684', 'tblTempVendorCDR_20' ) start
[2025-01-09 19:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211684', 'tblTempVendorCDR_20' ) end
[2025-01-09 19:22:19] Production.INFO: ProcessCDR(1,14211684,1,1,2)
[2025-01-09 19:22:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211684,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:22:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211684,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:22:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211684,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:22:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211684,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:22:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211684', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:22:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211684', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:22:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:22:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:22:23] Production.INFO: ==28759== Releasing lock...
[2025-01-09 19:22:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 19:22:23] Production.INFO: 45.25 MB #Memory Used#
[2025-01-10 00:23:02] Production.INFO: ==28835== Lock acquired, processing the job...
[2025-01-10 00:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 00:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 00:23:02] Production.INFO: neon service started
[2025-01-10 00:23:02] Production.INFO: neon service started
[2025-01-10 00:23:02] Production.INFO: ==28835== Releasing lock...
[2025-01-10 00:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 00:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:23:02] Production.INFO: ==28839== Lock acquired, processing the job...
[2025-01-10 00:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 00:23:02] Production.INFO: ==28839== Releasing lock...
[2025-01-10 00:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 00:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 19:23:02] Production.INFO: ==28837== Lock acquired, processing the job...
[2025-01-09 19:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:23:03] Production.INFO: ==28837== Releasing lock...
[2025-01-09 19:23:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 19:23:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:23:03] Production.INFO: ==28841== Lock acquired, processing the job...
[2025-01-09 19:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 19:23:03] Production.INFO: ==28847== Lock acquired, processing the job...
[2025-01-09 19:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 19:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 19:23:03] Production.INFO: ==28849== Lock acquired, processing the job...
[2025-01-09 19:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 19:23:03] Production.INFO: Account Balance Start.
[2025-01-09 19:23:03] Production.INFO: CreateAllLog Start
[2025-01-09 19:23:03] Production.INFO: 117
[2025-01-09 19:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:23:03] Production.INFO: Date 2025-01-08
[2025-01-09 19:23:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:23:03] Production.INFO: Date 2025-01-09
[2025-01-09 19:23:04] Production.INFO: Reseller ==> 0
[2025-01-09 19:23:04] Production.INFO: Total Charge 0
[2025-01-09 19:23:04] Production.INFO: ==28845== Lock acquired, processing the job...
[2025-01-09 19:23:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 19:23:04] Production.INFO: ==28843== Lock acquired, processing the job...
[2025-01-09 19:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 19:23:04] Production.INFO: CreateAllLog End
[2025-01-09 19:23:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 19:23:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 19:23:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 19:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 19:23:04] Production.INFO: ==28851== Lock acquired, processing the job...
[2025-01-09 19:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 19:23:04] Production.ERROR: done
[2025-01-09 19:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 19:23:04] Production.INFO: Account Balance End.
[2025-01-09 19:23:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 19:23:04] Production.ERROR: CronJobId end 12
[2025-01-09 19:23:04] Production.INFO: ==28847== Releasing lock...
[2025-01-09 19:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 19:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 19:23:04] Production.INFO: count ==21
[2025-01-09 19:23:04] Production.ERROR: done
[2025-01-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-01-09 19:23:04] Production.INFO: count ==21
[2025-01-09 19:23:04] Production.INFO: ==28843== Releasing lock...
[2025-01-09 19:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 19:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 19:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211688') start
[2025-01-09 19:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211688') end
[2025-01-09 19:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 19:23:04] Production.INFO: 1
[2025-01-09 19:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 19:23:04] Production.INFO: ==28851== Releasing lock...
[2025-01-09 19:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 19:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 19:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 16:23:05
[end_date_ymd] => 2025-01-09 19:23:05
[RateCDR] => 1
)
[2025-01-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-01-09 16:23:05' and `end` < '2025-01-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-01-09 19:23:12] Production.ERROR: CronJobId end10
[2025-01-09 19:23:12] Production.INFO: ==28845== Releasing lock...
[2025-01-09 19:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 19:23:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 19:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 19:23:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 19:23:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 19:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 19:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 19:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 19:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 19:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 19:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 19:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 19:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 19:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 19:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 19:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 19:23:13] Production.INFO: call_cost start
[2025-01-09 19:23:13] Production.INFO: call_cost end
[2025-01-09 19:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 19:23:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 19:23:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 19:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 19:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 19:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 19:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 19:23:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 19:23:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 19:23:14] Production.INFO: ==28841== Releasing lock...
[2025-01-09 19:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 19:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 19:23:19] Production.INFO: count ==2253
[2025-01-09 19:23:19] Production.ERROR: pbx CDR StartTime 2025-01-09 16:23:05 - End Time 2025-01-09 19:23:05
[2025-01-09 19:23:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 19:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211689', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211689', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211689', 'tblTempVendorCDR_20' ) start
[2025-01-09 19:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211689', 'tblTempVendorCDR_20' ) end
[2025-01-09 19:23:19] Production.INFO: ProcessCDR(1,14211689,1,1,2)
[2025-01-09 19:23:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211689,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:23:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211689,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:23:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211689,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:23:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211689,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:23:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211689', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:23:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211689', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:23:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:23:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:23:24] Production.INFO: ==28849== Releasing lock...
[2025-01-09 19:23:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 19:23:24] Production.INFO: 45 MB #Memory Used#
[2025-01-10 00:24:01] Production.INFO: ==28927== Lock acquired, processing the job...
[2025-01-10 00:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 00:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 00:24:01] Production.INFO: neon service started
[2025-01-10 00:24:01] Production.INFO: neon service started
[2025-01-10 00:24:01] Production.INFO: ==28927== Releasing lock...
[2025-01-10 00:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 00:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:24:02] Production.INFO: ==28931== Lock acquired, processing the job...
[2025-01-10 00:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 00:24:02] Production.INFO: ==28931== Releasing lock...
[2025-01-10 00:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 00:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 19:24:02] Production.INFO: ==28929== Lock acquired, processing the job...
[2025-01-09 19:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:24:02] Production.INFO: ==28929== Releasing lock...
[2025-01-09 19:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 19:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:24:03] Production.INFO: ==28940== Lock acquired, processing the job...
[2025-01-09 19:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 19:24:03] Production.INFO: ==28944== Lock acquired, processing the job...
[2025-01-09 19:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 19:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 19:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 19:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 19:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 19:24:03] Production.INFO: ==28936== Lock acquired, processing the job...
[2025-01-09 19:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 19:24:03] Production.INFO: ==28938== Lock acquired, processing the job...
[2025-01-09 19:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 19:24:03] Production.INFO: ==28942== Lock acquired, processing the job...
[2025-01-09 19:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 19:24:03] Production.INFO: ==28946== Lock acquired, processing the job...
[2025-01-09 19:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 19:24:04] Production.ERROR: done
[2025-01-09 19:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 19:24:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 19:24:04] Production.INFO: Account Balance Start.
[2025-01-09 19:24:04] Production.INFO: CreateAllLog Start
[2025-01-09 19:24:04] Production.INFO: 117
[2025-01-09 19:24:04] Production.INFO: Date 2025-01-08
[2025-01-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-01-09 19:24:04] Production.INFO: Reseller ==> 0
[2025-01-09 19:24:04] Production.ERROR: done
[2025-01-09 19:24:04] Production.INFO: count ==21
[2025-01-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-01-09 19:24:04] Production.INFO: count ==21
[2025-01-09 19:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211693') start
[2025-01-09 19:24:04] Production.INFO: Date 2025-01-09
[2025-01-09 19:24:04] Production.INFO: Reseller ==> 0
[2025-01-09 19:24:04] Production.INFO: Total Charge 0
[2025-01-09 19:24:04] Production.INFO: CreateAllLog End
[2025-01-09 19:24:04] Production.INFO: ==28938== Releasing lock...
[2025-01-09 19:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 19:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 19:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211693') end
[2025-01-09 19:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 19:24:04] Production.INFO: 1
[2025-01-09 19:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 19:24:04] Production.INFO: ==28946== Releasing lock...
[2025-01-09 19:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 19:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 19:24:04] Production.INFO: Account Balance End.
[2025-01-09 19:24:04] Production.ERROR: CronJobId end 12
[2025-01-09 19:24:04] Production.INFO: ==28942== Releasing lock...
[2025-01-09 19:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 19:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 19:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 16:24:05
[end_date_ymd] => 2025-01-09 19:24:05
[RateCDR] => 1
)
[2025-01-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-01-09 16:24:05' and `end` < '2025-01-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-01-09 19:24:11] Production.ERROR: CronJobId end10
[2025-01-09 19:24:11] Production.INFO: ==28940== Releasing lock...
[2025-01-09 19:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 19:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 19:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 19:24:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 19:24:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 19:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 19:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 19:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 19:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 19:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 19:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 19:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 19:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 19:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 19:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 19:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 19:24:13] Production.INFO: call_cost start
[2025-01-09 19:24:13] Production.INFO: call_cost end
[2025-01-09 19:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 19:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 19:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 19:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 19:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 19:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 19:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 19:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 19:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 19:24:14] Production.INFO: ==28936== Releasing lock...
[2025-01-09 19:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 19:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 19:24:18] Production.INFO: count ==2250
[2025-01-09 19:24:19] Production.ERROR: pbx CDR StartTime 2025-01-09 16:24:05 - End Time 2025-01-09 19:24:05
[2025-01-09 19:24:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 19:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211694', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211694', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211694', 'tblTempVendorCDR_20' ) start
[2025-01-09 19:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211694', 'tblTempVendorCDR_20' ) end
[2025-01-09 19:24:19] Production.INFO: ProcessCDR(1,14211694,1,1,2)
[2025-01-09 19:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211694,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:24:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211694,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:24:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211694,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:24:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211694,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211694', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211694', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:24:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:24:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:24:22] Production.INFO: ==28944== Releasing lock...
[2025-01-09 19:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 19:24:22] Production.INFO: 45 MB #Memory Used#
[2025-01-10 00:25:02] Production.INFO: ==29020== Lock acquired, processing the job...
[2025-01-10 00:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 00:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 00:25:02] Production.INFO: neon service started
[2025-01-10 00:25:02] Production.INFO: neon service started
[2025-01-10 00:25:02] Production.INFO: ==29020== Releasing lock...
[2025-01-10 00:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 00:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 19:25:02] Production.INFO: ==29023== Lock acquired, processing the job...
[2025-01-09 19:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:25:02] Production.INFO: ==29023== Releasing lock...
[2025-01-09 19:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 19:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 00:25:03] Production.INFO: ==29025== Lock acquired, processing the job...
[2025-01-10 00:25:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 00:25:03] Production.INFO: ==29025== Releasing lock...
[2025-01-10 00:25:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 00:25:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 19:25:03] Production.INFO: ==29033== Lock acquired, processing the job...
[2025-01-09 19:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 19:25:03] Production.INFO: Account Balance Start.
[2025-01-09 19:25:03] Production.INFO: CreateAllLog Start
[2025-01-09 19:25:03] Production.INFO: 117
[2025-01-09 19:25:03] Production.INFO: Date 2025-01-08
[2025-01-09 19:25:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:25:03] Production.INFO: Date 2025-01-09
[2025-01-09 19:25:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:25:03] Production.INFO: Total Charge 0
[2025-01-09 19:25:03] Production.INFO: CreateAllLog End
[2025-01-09 19:25:03] Production.INFO: ==29027== Lock acquired, processing the job...
[2025-01-09 19:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 19:25:03] Production.INFO: ==29029== Lock acquired, processing the job...
[2025-01-09 19:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 19:25:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 19:25:04] Production.INFO: ==29031== Lock acquired, processing the job...
[2025-01-09 19:25:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 19:25:04] Production.INFO: Account Balance End.
[2025-01-09 19:25:04] Production.INFO: ==29035== Lock acquired, processing the job...
[2025-01-09 19:25:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 19:25:04] Production.INFO: ==29037== Lock acquired, processing the job...
[2025-01-09 19:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 19:25:04] Production.ERROR: CronJobId end 12
[2025-01-09 19:25:04] Production.INFO: ==29033== Releasing lock...
[2025-01-09 19:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 19:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 19:25:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:25:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 19:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 19:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 19:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 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-01-09 19:25:04] Production.INFO: count ==21
[2025-01-09 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-01-09 19:25:04] Production.INFO: count ==21
[2025-01-09 19:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211698') start
[2025-01-09 19:25:04] Production.INFO: ==29029== Releasing lock...
[2025-01-09 19:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 19:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 19:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211698') end
[2025-01-09 19:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 19:25:04] Production.INFO: 1
[2025-01-09 19:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 19:25:04] Production.ERROR: done
[2025-01-09 19:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 19:25:04] Production.INFO: ==29037== Releasing lock...
[2025-01-09 19:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 19:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 19:25:04] Production.ERROR: done
[2025-01-09 19:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 16:25:05
[end_date_ymd] => 2025-01-09 19:25:05
[RateCDR] => 1
)
[2025-01-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-01-09 16:25:05' and `end` < '2025-01-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-01-09 19:25:11] Production.ERROR: CronJobId end10
[2025-01-09 19:25:11] Production.INFO: ==29031== Releasing lock...
[2025-01-09 19:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 19:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 19:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 19:25:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 19:25:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 19:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 19:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 19:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 19:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 19:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 19:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 19:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 19:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 19:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 19:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 19:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 19:25:13] Production.INFO: call_cost start
[2025-01-09 19:25:13] Production.INFO: call_cost end
[2025-01-09 19:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 19:25:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 19:25:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 19:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 19:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 19:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 19:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 19:25:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 19:25:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 19:25:14] Production.INFO: ==29027== Releasing lock...
[2025-01-09 19:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 19:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 19:25:18] Production.INFO: count ==2234
[2025-01-09 19:25:19] Production.ERROR: pbx CDR StartTime 2025-01-09 16:25:05 - End Time 2025-01-09 19:25:05
[2025-01-09 19:25:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 19:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211699', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211699', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211699', 'tblTempVendorCDR_20' ) start
[2025-01-09 19:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211699', 'tblTempVendorCDR_20' ) end
[2025-01-09 19:25:19] Production.INFO: ProcessCDR(1,14211699,1,1,2)
[2025-01-09 19:25:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211699,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:25:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211699,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:25:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211699,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:25:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211699,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211699', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211699', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:25:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:25:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:25:22] Production.INFO: ==29035== Releasing lock...
[2025-01-09 19:25:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 19:25:22] Production.INFO: 44.75 MB #Memory Used#
[2025-01-10 00:26:01] Production.INFO: ==29107== Lock acquired, processing the job...
[2025-01-10 00:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 00:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 00:26:01] Production.INFO: neon service started
[2025-01-10 00:26:01] Production.INFO: neon service started
[2025-01-10 00:26:01] Production.INFO: ==29107== Releasing lock...
[2025-01-10 00:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 00:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 19:26:02] Production.INFO: ==29109== Lock acquired, processing the job...
[2025-01-09 19:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 00:26:02] Production.INFO: ==29111== Lock acquired, processing the job...
[2025-01-10 00:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 00:26:02] Production.INFO: ==29111== Releasing lock...
[2025-01-10 00:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 00:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 19:26:02] Production.INFO: ==29109== Releasing lock...
[2025-01-09 19:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 19:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:26:03] Production.INFO: ==29113== Lock acquired, processing the job...
[2025-01-09 19:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 19:26:03] Production.INFO: ==29117== Lock acquired, processing the job...
[2025-01-09 19:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 19:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 19:26:03] Production.INFO: ==29119== Lock acquired, processing the job...
[2025-01-09 19:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 19:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 19:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 19:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 19:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 19:26:03] Production.INFO: Account Balance Start.
[2025-01-09 19:26:03] Production.INFO: CreateAllLog Start
[2025-01-09 19:26:03] Production.INFO: 117
[2025-01-09 19:26:03] Production.INFO: Date 2025-01-08
[2025-01-09 19:26:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:26:03] Production.INFO: Date 2025-01-09
[2025-01-09 19:26:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:26:03] Production.INFO: ==29115== Lock acquired, processing the job...
[2025-01-09 19:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 19:26:03] Production.INFO: Total Charge 0
[2025-01-09 19:26:03] Production.INFO: CreateAllLog End
[2025-01-09 19:26:03] Production.INFO: ==29121== Lock acquired, processing the job...
[2025-01-09 19:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 19:26:03] Production.INFO: Account Balance End.
[2025-01-09 19:26:03] Production.INFO: ==29123== Lock acquired, processing the job...
[2025-01-09 19:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 19:26:03] Production.ERROR: CronJobId end 12
[2025-01-09 19:26:03] Production.INFO: ==29119== Releasing lock...
[2025-01-09 19:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 19:26:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 19:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 19:26:03] Production.INFO: count ==21
[2025-01-09 19:26:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 19:26:03] Production.INFO: count ==21
[2025-01-09 19:26:03] Production.INFO: ==29115== Releasing lock...
[2025-01-09 19:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 19:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 19:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211703') start
[2025-01-09 19:26:04] Production.ERROR: done
[2025-01-09 19:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211703') end
[2025-01-09 19:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 19:26:04] Production.INFO: 1
[2025-01-09 19:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 19:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 19:26:04] Production.INFO: ==29123== Releasing lock...
[2025-01-09 19:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 19:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 19:26:04] Production.ERROR: done
[2025-01-09 19:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 16:26:05
[end_date_ymd] => 2025-01-09 19:26:05
[RateCDR] => 1
)
[2025-01-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-01-09 16:26:05' and `end` < '2025-01-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-01-09 19:26:12] Production.ERROR: CronJobId end10
[2025-01-09 19:26:12] Production.INFO: ==29117== Releasing lock...
[2025-01-09 19:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 19:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 19:26:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 19:26:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 19:26:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 19:26:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 19:26:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 19:26:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 19:26:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 19:26:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 19:26:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 19:26:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 19:26:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 19:26:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 19:26:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 19:26:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 19:26:13] Production.INFO: call_cost start
[2025-01-09 19:26:13] Production.INFO: call_cost end
[2025-01-09 19:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 19:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 19:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 19:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 19:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 19:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 19:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 19:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 19:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 19:26:14] Production.INFO: ==29113== Releasing lock...
[2025-01-09 19:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 19:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 19:26:20] Production.INFO: count ==2223
[2025-01-09 19:26:20] Production.ERROR: pbx CDR StartTime 2025-01-09 16:26:05 - End Time 2025-01-09 19:26:05
[2025-01-09 19:26:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 19:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211704', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211704', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211704', 'tblTempVendorCDR_20' ) start
[2025-01-09 19:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211704', 'tblTempVendorCDR_20' ) end
[2025-01-09 19:26:20] Production.INFO: ProcessCDR(1,14211704,1,1,2)
[2025-01-09 19:26:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211704,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:26:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211704,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:26:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211704,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:26:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211704,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:26:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211704', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:26:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211704', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:26:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:26:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:26:23] Production.INFO: ==29121== Releasing lock...
[2025-01-09 19:26:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 19:26:23] Production.INFO: 44.75 MB #Memory Used#
[2025-01-10 00:27:02] Production.INFO: ==29188== Lock acquired, processing the job...
[2025-01-10 00:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 00:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 00:27:02] Production.INFO: neon service started
[2025-01-10 00:27:02] Production.INFO: neon service started
[2025-01-10 00:27:02] Production.INFO: ==29188== Releasing lock...
[2025-01-10 00:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 00:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 19:27:02] Production.INFO: ==29190== Lock acquired, processing the job...
[2025-01-09 19:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 00:27:02] Production.INFO: ==29192== Lock acquired, processing the job...
[2025-01-10 00:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 00:27:02] Production.INFO: ==29192== Releasing lock...
[2025-01-10 00:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 00:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 19:27:03] Production.INFO: ==29190== Releasing lock...
[2025-01-09 19:27:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 19:27:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:27:03] Production.INFO: ==29195== Lock acquired, processing the job...
[2025-01-09 19:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 19:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 19:27:03] Production.INFO: ==29197== Lock acquired, processing the job...
[2025-01-09 19:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 19:27:03] Production.INFO: ==29203== Lock acquired, processing the job...
[2025-01-09 19:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 19:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:27:04] Production.INFO: ==29199== Lock acquired, processing the job...
[2025-01-09 19:27:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 19:27:04] Production.INFO: ==29201== Lock acquired, processing the job...
[2025-01-09 19:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 19:27:04] Production.INFO: ==29205== Lock acquired, processing the job...
[2025-01-09 19:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 19:27:04] Production.INFO: ==29197== Releasing lock...
[2025-01-09 19:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 19:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 19:27:04] Production.ERROR: done
[2025-01-09 19:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 19:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 19:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 19:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 19:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 19:27:04] Production.INFO: Account Balance Start.
[2025-01-09 19:27:04] Production.INFO: CreateAllLog Start
[2025-01-09 19:27:04] Production.INFO: 117
[2025-01-09 19:27:04] Production.INFO: Date 2025-01-08
[2025-01-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-01-09 19:27:04] Production.INFO: Reseller ==> 0
[2025-01-09 19:27:04] Production.INFO: count ==21
[2025-01-09 19:27:04] Production.INFO: Date 2025-01-09
[2025-01-09 19:27:04] Production.INFO: Reseller ==> 0
[2025-01-09 19:27:04] Production.ERROR: done
[2025-01-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-01-09 19:27:04] Production.INFO: count ==21
[2025-01-09 19:27:04] Production.INFO: Total Charge 0
[2025-01-09 19:27:04] Production.INFO: CreateAllLog End
[2025-01-09 19:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211707') start
[2025-01-09 19:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211707') end
[2025-01-09 19:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 19:27:04] Production.INFO: 1
[2025-01-09 19:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 19:27:04] Production.INFO: Account Balance End.
[2025-01-09 19:27:04] Production.INFO: ==29205== Releasing lock...
[2025-01-09 19:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 19:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 19:27:04] Production.ERROR: CronJobId end 12
[2025-01-09 19:27:04] Production.INFO: ==29201== Releasing lock...
[2025-01-09 19:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 19:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 19:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 16:27:05
[end_date_ymd] => 2025-01-09 19:27:05
[RateCDR] => 1
)
[2025-01-09 19:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 16:27:05' and `end` < '2025-01-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-01-09 19:27:11] Production.ERROR: CronJobId end10
[2025-01-09 19:27:11] Production.INFO: ==29199== Releasing lock...
[2025-01-09 19:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 19:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 19:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 19:27:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 19:27:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 19:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 19:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 19:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 19:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 19:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 19:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 19:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 19:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 19:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 19:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 19:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 19:27:13] Production.INFO: call_cost start
[2025-01-09 19:27:13] Production.INFO: call_cost end
[2025-01-09 19:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 19:27:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 19:27:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 19:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 19:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 19:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 19:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 19:27:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 19:27:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 19:27:14] Production.INFO: ==29195== Releasing lock...
[2025-01-09 19:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 19:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 19:27:18] Production.INFO: count ==2204
[2025-01-09 19:27:19] Production.ERROR: pbx CDR StartTime 2025-01-09 16:27:05 - End Time 2025-01-09 19:27:05
[2025-01-09 19:27:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 19:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211709', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211709', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211709', 'tblTempVendorCDR_20' ) start
[2025-01-09 19:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211709', 'tblTempVendorCDR_20' ) end
[2025-01-09 19:27:19] Production.INFO: ProcessCDR(1,14211709,1,1,2)
[2025-01-09 19:27:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211709,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:27:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211709,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:27:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211709,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211709,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211709', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211709', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:27:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:27:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:27:22] Production.INFO: ==29203== Releasing lock...
[2025-01-09 19:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 19:27:22] Production.INFO: 44.75 MB #Memory Used#
[2025-01-10 00:28:01] Production.INFO: ==29270== Lock acquired, processing the job...
[2025-01-10 00:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 00:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 00:28:01] Production.INFO: neon service started
[2025-01-10 00:28:01] Production.INFO: neon service started
[2025-01-10 00:28:01] Production.INFO: ==29270== Releasing lock...
[2025-01-10 00:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 00:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:28:01] Production.INFO: ==29274== Lock acquired, processing the job...
[2025-01-10 00:28:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 00:28:01] Production.INFO: ==29274== Releasing lock...
[2025-01-10 00:28:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 00:28:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 19:28:01] Production.INFO: ==29272== Lock acquired, processing the job...
[2025-01-09 19:28:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:28:02] Production.INFO: ==29272== Releasing lock...
[2025-01-09 19:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 19:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:28:03] Production.INFO: ==29279== Lock acquired, processing the job...
[2025-01-09 19:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 19:28:03] Production.INFO: ==29277== Lock acquired, processing the job...
[2025-01-09 19:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 19:28:03] Production.INFO: ==29283== Lock acquired, processing the job...
[2025-01-09 19:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 19:28:03] Production.INFO: Account Balance Start.
[2025-01-09 19:28:03] Production.INFO: CreateAllLog Start
[2025-01-09 19:28:03] Production.INFO: 117
[2025-01-09 19:28:03] Production.INFO: Date 2025-01-08
[2025-01-09 19:28:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 19:28:03] Production.INFO: Date 2025-01-09
[2025-01-09 19:28:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:28:03] Production.INFO: ==29281== Lock acquired, processing the job...
[2025-01-09 19:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 19:28:03] Production.INFO: Total Charge 0
[2025-01-09 19:28:03] Production.INFO: ==29279== Releasing lock...
[2025-01-09 19:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 19:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 19:28:03] Production.INFO: CreateAllLog End
[2025-01-09 19:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 19:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 19:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 19:28:03] Production.INFO: ==29287== Lock acquired, processing the job...
[2025-01-09 19:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 19:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 19:28:03] Production.INFO: ==29285== Lock acquired, processing the job...
[2025-01-09 19:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 19:28:03] Production.INFO: Account Balance End.
[2025-01-09 19:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:28:03] Production.ERROR: CronJobId end 12
[2025-01-09 19:28:03] Production.INFO: ==29283== Releasing lock...
[2025-01-09 19:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 19:28:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-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-01-09 19:28:03] Production.INFO: count ==21
[2025-01-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-01-09 19:28:03] Production.INFO: count ==21
[2025-01-09 19:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211713') start
[2025-01-09 19:28:03] Production.ERROR: done
[2025-01-09 19:28:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 19:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211713') end
[2025-01-09 19:28:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 19:28:03] Production.INFO: 1
[2025-01-09 19:28:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 19:28:04] Production.ERROR: done
[2025-01-09 19:28:04] Production.INFO: ==29287== Releasing lock...
[2025-01-09 19:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 19:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 19:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 16:28:05
[end_date_ymd] => 2025-01-09 19:28:05
[RateCDR] => 1
)
[2025-01-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-01-09 16:28:05' and `end` < '2025-01-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-01-09 19:28:11] Production.ERROR: CronJobId end10
[2025-01-09 19:28:11] Production.INFO: ==29281== Releasing lock...
[2025-01-09 19:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 19:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 19:28:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 19:28:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 19:28:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 19:28:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 19:28:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 19:28:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 19:28:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 19:28:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 19:28:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 19:28:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 19:28:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 19:28:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 19:28:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 19:28:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 19:28:12] Production.INFO: call_cost start
[2025-01-09 19:28:12] Production.INFO: call_cost end
[2025-01-09 19:28:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 19:28:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 19:28:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 19:28:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 19:28:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 19:28:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 19:28:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 19:28:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 19:28:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 19:28:13] Production.INFO: ==29277== Releasing lock...
[2025-01-09 19:28:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 19:28:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 19:28:19] Production.INFO: count ==2180
[2025-01-09 19:28:19] Production.ERROR: pbx CDR StartTime 2025-01-09 16:28:05 - End Time 2025-01-09 19:28:05
[2025-01-09 19:28:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 19:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211714', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211714', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211714', 'tblTempVendorCDR_20' ) start
[2025-01-09 19:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211714', 'tblTempVendorCDR_20' ) end
[2025-01-09 19:28:19] Production.INFO: ProcessCDR(1,14211714,1,1,2)
[2025-01-09 19:28:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211714,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:28:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211714,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:28:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211714,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:28:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211714,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211714', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211714', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:28:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:28:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:28:22] Production.INFO: ==29285== Releasing lock...
[2025-01-09 19:28:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 19:28:22] Production.INFO: 44.5 MB #Memory Used#
[2025-01-10 00:29:01] Production.INFO: ==29352== Lock acquired, processing the job...
[2025-01-10 00:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 00:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 00:29:01] Production.INFO: neon service started
[2025-01-10 00:29:01] Production.INFO: neon service started
[2025-01-10 00:29:01] Production.INFO: ==29352== Releasing lock...
[2025-01-10 00:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 00:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 19:29:02] Production.INFO: ==29354== Lock acquired, processing the job...
[2025-01-09 19:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 00:29:02] Production.INFO: ==29356== Lock acquired, processing the job...
[2025-01-10 00:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 19:29:02] Production.INFO: ==29354== Releasing lock...
[2025-01-09 19:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 19:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 00:29:02] Production.INFO: ==29356== Releasing lock...
[2025-01-10 00:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 00:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 19:29:03] Production.INFO: ==29361== Lock acquired, processing the job...
[2025-01-09 19:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 19:29:03] Production.INFO: ==29363== Lock acquired, processing the job...
[2025-01-09 19:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 19:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 19:29:03] Production.INFO: ==29367== Lock acquired, processing the job...
[2025-01-09 19:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 19:29:03] Production.INFO: ==29369== Lock acquired, processing the job...
[2025-01-09 19:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 19:29:03] Production.INFO: Account Balance Start.
[2025-01-09 19:29:03] Production.INFO: CreateAllLog Start
[2025-01-09 19:29:03] Production.INFO: 117
[2025-01-09 19:29:03] Production.INFO: ==29365== Lock acquired, processing the job...
[2025-01-09 19:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 19:29:03] Production.INFO: Date 2025-01-08
[2025-01-09 19:29:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:29:03] Production.INFO: Date 2025-01-09
[2025-01-09 19:29:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:29:03] Production.INFO: Total Charge 0
[2025-01-09 19:29:03] Production.INFO: CreateAllLog End
[2025-01-09 19:29:03] Production.INFO: ==29371== Lock acquired, processing the job...
[2025-01-09 19:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 19:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 19:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 19:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 19:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 19:29:03] Production.INFO: ==29363== Releasing lock...
[2025-01-09 19:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 19:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 19:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 19:29:03] Production.INFO: count ==21
[2025-01-09 19:29:03] Production.ERROR: done
[2025-01-09 19:29:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 19:29:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 19:29:03] Production.INFO: count ==21
[2025-01-09 19:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211718') start
[2025-01-09 19:29:03] Production.INFO: Account Balance End.
[2025-01-09 19:29:04] Production.ERROR: CronJobId end 12
[2025-01-09 19:29:04] Production.INFO: ==29367== Releasing lock...
[2025-01-09 19:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 19:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 19:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211718') end
[2025-01-09 19:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 19:29:04] Production.INFO: 1
[2025-01-09 19:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 19:29:04] Production.ERROR: done
[2025-01-09 19:29:04] Production.INFO: ==29371== Releasing lock...
[2025-01-09 19:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 19:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 19:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 16:29:04
[end_date_ymd] => 2025-01-09 19:29:04
[RateCDR] => 1
)
[2025-01-09 19:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 16:29:04' and `end` < '2025-01-09 19:29:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 19:29:12] Production.ERROR: CronJobId end10
[2025-01-09 19:29:12] Production.INFO: ==29365== Releasing lock...
[2025-01-09 19:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 19:29:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 19:29:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 19:29:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 19:29:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 19:29:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 19:29:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 19:29:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 19:29:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 19:29:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 19:29:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 19:29:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 19:29:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 19:29:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 19:29:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 19:29:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 19:29:13] Production.INFO: call_cost start
[2025-01-09 19:29:13] Production.INFO: call_cost end
[2025-01-09 19:29:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 19:29:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 19:29:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 19:29:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 19:29:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 19:29:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 19:29:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 19:29:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 19:29:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 19:29:13] Production.INFO: ==29361== Releasing lock...
[2025-01-09 19:29:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 19:29:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 19:29:19] Production.INFO: count ==2173
[2025-01-09 19:29:20] Production.ERROR: pbx CDR StartTime 2025-01-09 16:29:04 - End Time 2025-01-09 19:29:04
[2025-01-09 19:29:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 19:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211719', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211719', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211719', 'tblTempVendorCDR_20' ) start
[2025-01-09 19:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211719', 'tblTempVendorCDR_20' ) end
[2025-01-09 19:29:20] Production.INFO: ProcessCDR(1,14211719,1,1,2)
[2025-01-09 19:29:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211719,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:29:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211719,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:29:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211719,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:29:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211719,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211719', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211719', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:29:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:29:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:29:23] Production.INFO: ==29369== Releasing lock...
[2025-01-09 19:29:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 19:29:23] Production.INFO: 44.5 MB #Memory Used#
[2025-01-10 00:30:02] Production.INFO: ==29437== Lock acquired, processing the job...
[2025-01-10 00:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 00:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 00:30:02] Production.INFO: neon service started
[2025-01-10 00:30:02] Production.INFO: neon service started
[2025-01-10 00:30:02] Production.INFO: ==29437== Releasing lock...
[2025-01-10 00:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 00:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 19:30:02] Production.INFO: ==29439== Lock acquired, processing the job...
[2025-01-09 19:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 00:30:02] Production.INFO: ==29441== Lock acquired, processing the job...
[2025-01-10 00:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 19:30:03] Production.INFO: ==29439== Releasing lock...
[2025-01-09 19:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 19:30:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 00:30:03] Production.INFO: ==29441== Releasing lock...
[2025-01-10 00:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 00:30:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 19:30:04] Production.INFO: ==29449== Lock acquired, processing the job...
[2025-01-09 19:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 19:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 19:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 19:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 19:30:04] Production.INFO: ==29443== Lock acquired, processing the job...
[2025-01-09 19:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 19:30:04] Production.INFO: ==29455== Lock acquired, processing the job...
[2025-01-09 19:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 19:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 19:30:04] Production.INFO: ==29458== Lock acquired, processing the job...
[2025-01-09 19:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 19:30:04] Production.INFO: ==29445== Lock acquired, processing the job...
[2025-01-09 19:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 19:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:30:04] Production.INFO: ==29447== Lock acquired, processing the job...
[2025-01-09 19:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 19:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 19:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 19:30:04] Production.ERROR: CronJob PID - 29445
[2025-01-09 19:30:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-09 19:30:04] Production.ERROR: CronJob ID - 5
[2025-01-09 19:30:04] Production.ERROR: CronJob Last Run Time 2025-01-09 19:30:00
[2025-01-09 19:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 19:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 19:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 19:30:04] Production.ERROR: CronJob PID - 29449
[2025-01-09 19:30:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-09 19:30:04] Production.ERROR: CronJob ID - 10
[2025-01-09 19:30:04] Production.ERROR: CronJob Last Run Time 2025-01-09 19:30:00
[2025-01-09 19:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 19:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 19:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 19:30:04] Production.ERROR: CronJob PID - 29455
[2025-01-09 19:30:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-09 19:30:04] Production.ERROR: CronJob ID - 17
[2025-01-09 19:30:04] Production.ERROR: CronJob Last Run Time 2025-01-09 19:30:00
[2025-01-09 19:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 19:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 19:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 19:30:04] Production.ERROR: CronJob PID - 29458
[2025-01-09 19:30:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-09 19:30:04] Production.ERROR: CronJob ID - 19
[2025-01-09 19:30:04] Production.ERROR: CronJob Last Run Time 2025-01-09 19:30:00
[2025-01-09 19:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 19:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 19:30:04] Production.INFO: ==29451== Lock acquired, processing the job...
[2025-01-09 19:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 19:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 19:30:04] Production.INFO: ==29453== Lock acquired, processing the job...
[2025-01-09 19:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-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-01-09 19:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 19:30:04] Production.INFO: ==29443== Releasing lock...
[2025-01-09 19:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 19:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 19:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:30:04] Production.INFO: count ==21
[2025-01-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-01-09 19:30:04] Production.INFO: count ==21
[2025-01-09 19:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211720') start
[2025-01-09 19:30:04] Production.ERROR: done
[2025-01-09 19:30:04] Production.INFO: Account Balance Start.
[2025-01-09 19:30:04] Production.INFO: CreateAllLog Start
[2025-01-09 19:30:04] Production.INFO: 117
[2025-01-09 19:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211720') end
[2025-01-09 19:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 19:30:04] Production.INFO: 1
[2025-01-09 19:30:04] Production.INFO: Date 2025-01-08
[2025-01-09 19:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 19:30:04] Production.INFO: Reseller ==> 0
[2025-01-09 19:30:04] Production.INFO: Date 2025-01-09
[2025-01-09 19:30:04] Production.INFO: Reseller ==> 0
[2025-01-09 19:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 19:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14211724', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 19:30:04] Production.INFO: ==29458== Releasing lock...
[2025-01-09 19:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 19:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 19:30:04] Production.INFO: Total Charge 0
[2025-01-09 19:30:04] Production.INFO: CreateAllLog End
[2025-01-09 19:30:05] Production.ERROR: done
[2025-01-09 19:30:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 19:30:05] Production.INFO: ==29447== Releasing lock...
[2025-01-09 19:30:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 19:30:05] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 19:30:05] Production.INFO: Account Balance End.
[2025-01-09 19:30:05] Production.ERROR: CronJobId end 12
[2025-01-09 19:30:05] Production.INFO: ==29451== Releasing lock...
[2025-01-09 19:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 19:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 19:30:05] Production.ERROR: done
[2025-01-09 19:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 16:30:06
[end_date_ymd] => 2025-01-09 19:30:06
[RateCDR] => 1
)
[2025-01-09 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-01-09 16:30:06' and `end` < '2025-01-09 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-01-09 19:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14211724', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 19:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 19:30:09] Production.INFO: ProcessCDR(1,14211724,1,1,2)
[2025-01-09 19:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14211724,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14211724,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:30:09] Production.INFO: ==29455== Releasing lock...
[2025-01-09 19:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 19:30:09] Production.INFO: 26 MB #Memory Used#
[2025-01-09 19:30:13] Production.ERROR: CronJobId end10
[2025-01-09 19:30:13] Production.INFO: ==29449== Releasing lock...
[2025-01-09 19:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 19:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 19:30:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 19:30:15] Production.INFO: ============== Balance Warning START===========
[2025-01-09 19:30:15] Production.INFO: ============== Balance Warning END===========
[2025-01-09 19:30:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 19:30:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 19:30:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 19:30:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 19:30:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 19:30:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 19:30:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 19:30:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 19:30:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 19:30:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 19:30:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 19:30:15] Production.INFO: call_cost start
[2025-01-09 19:30:15] Production.INFO: call_cost end
[2025-01-09 19:30:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 19:30:16] Production.INFO: ============== Report Schedule START===========
[2025-01-09 19:30:16] Production.INFO: ============== Report Schedule END===========
[2025-01-09 19:30:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 19:30:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 19:30:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 19:30:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 19:30:16] Production.INFO: ============== Deal alert START===========
[2025-01-09 19:30:16] Production.INFO: ============== Deal alert END===========
[2025-01-09 19:30:16] Production.INFO: ==29445== Releasing lock...
[2025-01-09 19:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 19:30:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 19:30:19] Production.INFO: count ==2165
[2025-01-09 19:30:20] Production.ERROR: pbx CDR StartTime 2025-01-09 16:30:06 - End Time 2025-01-09 19:30:06
[2025-01-09 19:30:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 19:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211725', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211725', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211725', 'tblTempVendorCDR_20' ) start
[2025-01-09 19:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211725', 'tblTempVendorCDR_20' ) end
[2025-01-09 19:30:20] Production.INFO: ProcessCDR(1,14211725,1,1,2)
[2025-01-09 19:30:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211725,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:30:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211725,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:30:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211725,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:30:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211725,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211725', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211725', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:30:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:30:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:30:23] Production.INFO: ==29453== Releasing lock...
[2025-01-09 19:30:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 19:30:23] Production.INFO: 44 MB #Memory Used#
[2025-01-10 00:31:01] Production.INFO: ==29522== Lock acquired, processing the job...
[2025-01-10 00:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 00:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 00:31:01] Production.INFO: neon service started
[2025-01-10 00:31:01] Production.INFO: neon service started
[2025-01-10 00:31:01] Production.INFO: ==29522== Releasing lock...
[2025-01-10 00:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 00:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:31:02] Production.INFO: ==29526== Lock acquired, processing the job...
[2025-01-10 00:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 19:31:02] Production.INFO: ==29524== Lock acquired, processing the job...
[2025-01-09 19:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 00:31:02] Production.INFO: ==29526== Releasing lock...
[2025-01-10 00:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 00:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 19:31:02] Production.INFO: ==29524== Releasing lock...
[2025-01-09 19:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 19:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:31:03] Production.INFO: ==29535== Lock acquired, processing the job...
[2025-01-09 19:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 19:31:03] Production.INFO: ==29539== Lock acquired, processing the job...
[2025-01-09 19:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 19:31:03] Production.INFO: Account Balance Start.
[2025-01-09 19:31:03] Production.INFO: CreateAllLog Start
[2025-01-09 19:31:03] Production.INFO: 117
[2025-01-09 19:31:03] Production.INFO: Date 2025-01-08
[2025-01-09 19:31:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:31:03] Production.INFO: Date 2025-01-09
[2025-01-09 19:31:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:31:03] Production.INFO: ==29529== Lock acquired, processing the job...
[2025-01-09 19:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 19:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 19:31:03] Production.INFO: Total Charge 0
[2025-01-09 19:31:03] Production.INFO: CreateAllLog End
[2025-01-09 19:31:03] Production.INFO: count ==21
[2025-01-09 19:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 19:31:03] Production.INFO: count ==21
[2025-01-09 19:31:03] Production.INFO: ==29531== Lock acquired, processing the job...
[2025-01-09 19:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 19:31:03] Production.INFO: ==29533== Lock acquired, processing the job...
[2025-01-09 19:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 19:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211727') start
[2025-01-09 19:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 19:31:03] Production.INFO: ==29537== Lock acquired, processing the job...
[2025-01-09 19:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 19:31:03] Production.INFO: Account Balance End.
[2025-01-09 19:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 19:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 19:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 19:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211727') end
[2025-01-09 19:31:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 19:31:03] Production.INFO: 1
[2025-01-09 19:31:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 19:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 19:31:03] Production.ERROR: CronJobId end 12
[2025-01-09 19:31:03] Production.INFO: ==29535== Releasing lock...
[2025-01-09 19:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 19:31:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 19:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:31:03] Production.INFO: ==29539== Releasing lock...
[2025-01-09 19:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 19:31:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 19:31:04] Production.ERROR: done
[2025-01-09 19:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 19:31:04] Production.INFO: ==29531== Releasing lock...
[2025-01-09 19:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 19:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 19:31:04] Production.ERROR: done
[2025-01-09 19:31:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 16:31:04
[end_date_ymd] => 2025-01-09 19:31:04
[RateCDR] => 1
)
[2025-01-09 19:31:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 16:31:04' and `end` < '2025-01-09 19:31:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 19:31:11] Production.ERROR: CronJobId end10
[2025-01-09 19:31:11] Production.INFO: ==29533== Releasing lock...
[2025-01-09 19:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 19:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 19:31:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 19:31:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 19:31:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 19:31:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 19:31:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 19:31:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 19:31:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 19:31:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 19:31:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 19:31:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 19:31:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 19:31:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 19:31:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 19:31:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 19:31:13] Production.INFO: call_cost start
[2025-01-09 19:31:13] Production.INFO: call_cost end
[2025-01-09 19:31:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 19:31:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 19:31:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 19:31:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 19:31:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 19:31:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 19:31:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 19:31:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 19:31:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 19:31:14] Production.INFO: ==29529== Releasing lock...
[2025-01-09 19:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 19:31:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 19:31:19] Production.INFO: count ==2137
[2025-01-09 19:31:20] Production.ERROR: pbx CDR StartTime 2025-01-09 16:31:04 - End Time 2025-01-09 19:31:04
[2025-01-09 19:31:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 19:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211730', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211730', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211730', 'tblTempVendorCDR_20' ) start
[2025-01-09 19:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211730', 'tblTempVendorCDR_20' ) end
[2025-01-09 19:31:20] Production.INFO: ProcessCDR(1,14211730,1,1,2)
[2025-01-09 19:31:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211730,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:31:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211730,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:31:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211730,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:31:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211730,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:31:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211730', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:31:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211730', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:31:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:31:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:31:24] Production.INFO: ==29537== Releasing lock...
[2025-01-09 19:31:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 19:31:24] Production.INFO: 44.25 MB #Memory Used#
[2025-01-10 00:32:02] Production.INFO: ==29605== Lock acquired, processing the job...
[2025-01-10 00:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 00:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 00:32:02] Production.INFO: neon service started
[2025-01-10 00:32:02] Production.INFO: neon service started
[2025-01-10 00:32:02] Production.INFO: ==29605== Releasing lock...
[2025-01-10 00:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 00:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 19:32:02] Production.INFO: ==29607== Lock acquired, processing the job...
[2025-01-09 19:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 00:32:02] Production.INFO: ==29609== Lock acquired, processing the job...
[2025-01-10 00:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 00:32:02] Production.INFO: ==29609== Releasing lock...
[2025-01-10 00:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 00:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 19:32:03] Production.INFO: ==29607== Releasing lock...
[2025-01-09 19:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 19:32:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:32:03] Production.INFO: ==29616== Lock acquired, processing the job...
[2025-01-09 19:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 19:32:03] Production.INFO: ==29624== Lock acquired, processing the job...
[2025-01-09 19:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 19:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 19:32:04] Production.INFO: count ==21
[2025-01-09 19:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 19:32:04] Production.INFO: count ==21
[2025-01-09 19:32:04] Production.INFO: ==29618== Lock acquired, processing the job...
[2025-01-09 19:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 19:32:04] Production.INFO: ==29614== Lock acquired, processing the job...
[2025-01-09 19:32:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 19:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211732') start
[2025-01-09 19:32:04] Production.INFO: ==29616== Releasing lock...
[2025-01-09 19:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 19:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 19:32:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 19:32:04] Production.INFO: ==29620== Lock acquired, processing the job...
[2025-01-09 19:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 19:32:04] Production.INFO: ==29622== Lock acquired, processing the job...
[2025-01-09 19:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 19:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 19:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 19:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 19:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211732') end
[2025-01-09 19:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 19:32:04] Production.INFO: 1
[2025-01-09 19:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 19:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 19:32:04] Production.INFO: ==29624== Releasing lock...
[2025-01-09 19:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 19:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 19:32:04] Production.INFO: Account Balance Start.
[2025-01-09 19:32:04] Production.INFO: CreateAllLog Start
[2025-01-09 19:32:04] Production.INFO: 117
[2025-01-09 19:32:04] Production.INFO: Date 2025-01-08
[2025-01-09 19:32:04] Production.INFO: Reseller ==> 0
[2025-01-09 19:32:04] Production.INFO: Date 2025-01-09
[2025-01-09 19:32:04] Production.INFO: Reseller ==> 0
[2025-01-09 19:32:04] Production.INFO: Total Charge 0
[2025-01-09 19:32:04] Production.INFO: CreateAllLog End
[2025-01-09 19:32:04] Production.ERROR: done
[2025-01-09 19:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 19:32:04] Production.ERROR: done
[2025-01-09 19:32:04] Production.INFO: Account Balance End.
[2025-01-09 19:32:05] Production.ERROR: CronJobId end 12
[2025-01-09 19:32:05] Production.INFO: ==29620== Releasing lock...
[2025-01-09 19:32:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 19:32:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 19:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 16:32:05
[end_date_ymd] => 2025-01-09 19:32:05
[RateCDR] => 1
)
[2025-01-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-01-09 16:32:05' and `end` < '2025-01-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-01-09 19:32:12] Production.ERROR: CronJobId end10
[2025-01-09 19:32:12] Production.INFO: ==29618== Releasing lock...
[2025-01-09 19:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 19:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 19:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 19:32:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 19:32:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 19:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 19:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 19:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 19:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 19:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 19:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 19:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 19:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 19:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 19:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 19:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 19:32:13] Production.INFO: call_cost start
[2025-01-09 19:32:13] Production.INFO: call_cost end
[2025-01-09 19:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 19:32:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 19:32:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 19:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 19:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 19:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 19:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 19:32:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 19:32:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 19:32:14] Production.INFO: ==29614== Releasing lock...
[2025-01-09 19:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 19:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 19:32:19] Production.INFO: count ==2130
[2025-01-09 19:32:19] Production.ERROR: pbx CDR StartTime 2025-01-09 16:32:05 - End Time 2025-01-09 19:32:05
[2025-01-09 19:32:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 19:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211735', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211735', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211735', 'tblTempVendorCDR_20' ) start
[2025-01-09 19:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211735', 'tblTempVendorCDR_20' ) end
[2025-01-09 19:32:19] Production.INFO: ProcessCDR(1,14211735,1,1,2)
[2025-01-09 19:32:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211735,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:32:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211735,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:32:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211735,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:32:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211735,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211735', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211735', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:32:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:32:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:32:22] Production.INFO: ==29622== Releasing lock...
[2025-01-09 19:32:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 19:32:22] Production.INFO: 44.25 MB #Memory Used#
[2025-01-10 00:33:01] Production.INFO: ==29688== Lock acquired, processing the job...
[2025-01-10 00:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 00:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 00:33:01] Production.INFO: neon service started
[2025-01-10 00:33:01] Production.INFO: neon service started
[2025-01-10 00:33:01] Production.INFO: ==29688== Releasing lock...
[2025-01-10 00:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 00:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 19:33:01] Production.INFO: ==29690== Lock acquired, processing the job...
[2025-01-09 19:33:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:33:02] Production.INFO: ==29690== Releasing lock...
[2025-01-09 19:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 19:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 00:33:02] Production.INFO: ==29692== Lock acquired, processing the job...
[2025-01-10 00:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 00:33:02] Production.INFO: ==29692== Releasing lock...
[2025-01-10 00:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 00:33:02] Production.INFO: 26 MB #Memory Used#
[2025-01-09 19:33:03] Production.INFO: ==29695== Lock acquired, processing the job...
[2025-01-09 19:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 19:33:03] Production.INFO: ==29699== Lock acquired, processing the job...
[2025-01-09 19:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 19:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 19:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 19:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 19:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 19:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 19:33:03] Production.INFO: ==29703== Lock acquired, processing the job...
[2025-01-09 19:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 19:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:33:03] Production.INFO: ==29701== Lock acquired, processing the job...
[2025-01-09 19:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 19:33:03] Production.INFO: ==29697== Lock acquired, processing the job...
[2025-01-09 19:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 19:33:03] Production.INFO: ==29705== Lock acquired, processing the job...
[2025-01-09 19:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 19:33:03] Production.INFO: Account Balance Start.
[2025-01-09 19:33:03] Production.INFO: CreateAllLog Start
[2025-01-09 19:33:03] Production.INFO: 117
[2025-01-09 19:33:03] Production.INFO: Date 2025-01-08
[2025-01-09 19:33:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:33:03] Production.INFO: Date 2025-01-09
[2025-01-09 19:33:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:33:03] Production.ERROR: done
[2025-01-09 19:33:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 19:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 19:33:03] Production.INFO: Total Charge 0
[2025-01-09 19:33:03] Production.INFO: CreateAllLog End
[2025-01-09 19:33:03] Production.INFO: count ==21
[2025-01-09 19:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 19:33:03] Production.INFO: count ==21
[2025-01-09 19:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211739') start
[2025-01-09 19:33:03] Production.INFO: ==29697== Releasing lock...
[2025-01-09 19:33:03] Production.ERROR: done
[2025-01-09 19:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 19:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 19:33:04] Production.INFO: Account Balance End.
[2025-01-09 19:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211739') end
[2025-01-09 19:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 19:33:04] Production.INFO: 1
[2025-01-09 19:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 19:33:04] Production.ERROR: CronJobId end 12
[2025-01-09 19:33:04] Production.INFO: ==29701== Releasing lock...
[2025-01-09 19:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 19:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 19:33:04] Production.INFO: ==29705== Releasing lock...
[2025-01-09 19:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 19:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 19:33:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 16:33:04
[end_date_ymd] => 2025-01-09 19:33:04
[RateCDR] => 1
)
[2025-01-09 19:33:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 16:33:04' and `end` < '2025-01-09 19:33:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 19:33:12] Production.ERROR: CronJobId end10
[2025-01-09 19:33:12] Production.INFO: ==29699== Releasing lock...
[2025-01-09 19:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 19:33:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 19:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 19:33:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 19:33:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 19:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 19:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 19:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 19:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 19:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 19:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 19:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 19:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 19:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 19:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 19:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 19:33:13] Production.INFO: call_cost start
[2025-01-09 19:33:13] Production.INFO: call_cost end
[2025-01-09 19:33:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 19:33:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 19:33:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 19:33:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 19:33:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 19:33:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 19:33:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 19:33:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 19:33:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 19:33:14] Production.INFO: ==29695== Releasing lock...
[2025-01-09 19:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 19:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 19:33:17] Production.INFO: count ==2123
[2025-01-09 19:33:18] Production.ERROR: pbx CDR StartTime 2025-01-09 16:33:04 - End Time 2025-01-09 19:33:04
[2025-01-09 19:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 19:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211740', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211740', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211740', 'tblTempVendorCDR_20' ) start
[2025-01-09 19:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211740', 'tblTempVendorCDR_20' ) end
[2025-01-09 19:33:18] Production.INFO: ProcessCDR(1,14211740,1,1,2)
[2025-01-09 19:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211740,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:33:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211740,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:33:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211740,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:33:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211740,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211740', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:33:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211740', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:33:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:33:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:33:23] Production.INFO: ==29703== Releasing lock...
[2025-01-09 19:33:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 19:33:23] Production.INFO: 44.25 MB #Memory Used#
[2025-01-10 00:34:02] Production.INFO: ==29814== Lock acquired, processing the job...
[2025-01-10 00:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 00:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 00:34:02] Production.INFO: neon service started
[2025-01-10 00:34:02] Production.INFO: neon service started
[2025-01-10 00:34:02] Production.INFO: ==29814== Releasing lock...
[2025-01-10 00:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 00:34:02] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 19:34:02] Production.INFO: ==29816== Lock acquired, processing the job...
[2025-01-09 19:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 00:34:02] Production.INFO: ==29818== Lock acquired, processing the job...
[2025-01-10 00:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 00:34:02] Production.INFO: ==29818== Releasing lock...
[2025-01-10 00:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 00:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 19:34:02] Production.INFO: ==29816== Releasing lock...
[2025-01-09 19:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 19:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:34:03] Production.INFO: ==29825== Lock acquired, processing the job...
[2025-01-09 19:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 19:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 19:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 19:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 19:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 19:34:03] Production.INFO: ==29827== Lock acquired, processing the job...
[2025-01-09 19:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 19:34:03] Production.INFO: ==29829== Lock acquired, processing the job...
[2025-01-09 19:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 19:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:34:03] Production.INFO: ==29821== Lock acquired, processing the job...
[2025-01-09 19:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 19:34:03] Production.INFO: ==29823== Lock acquired, processing the job...
[2025-01-09 19:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 19:34:04] Production.INFO: Account Balance Start.
[2025-01-09 19:34:04] Production.INFO: CreateAllLog Start
[2025-01-09 19:34:04] Production.INFO: 117
[2025-01-09 19:34:04] Production.INFO: Date 2025-01-08
[2025-01-09 19:34:04] Production.INFO: Reseller ==> 0
[2025-01-09 19:34:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 19:34:04] Production.INFO: Date 2025-01-09
[2025-01-09 19:34:04] Production.INFO: Reseller ==> 0
[2025-01-09 19:34:04] Production.INFO: ==29831== Lock acquired, processing the job...
[2025-01-09 19:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 19:34:04] Production.INFO: Total Charge 0
[2025-01-09 19:34:04] Production.INFO: CreateAllLog End
[2025-01-09 19:34:04] Production.ERROR: done
[2025-01-09 19:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 19:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 19:34:04] Production.INFO: count ==21
[2025-01-09 19:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 19:34:04] Production.INFO: count ==21
[2025-01-09 19:34:04] Production.INFO: ==29823== Releasing lock...
[2025-01-09 19:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 19:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 19:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211744') start
[2025-01-09 19:34:04] Production.INFO: Account Balance End.
[2025-01-09 19:34:04] Production.ERROR: done
[2025-01-09 19:34:04] Production.ERROR: CronJobId end 12
[2025-01-09 19:34:04] Production.INFO: ==29827== Releasing lock...
[2025-01-09 19:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 19:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 19:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211744') end
[2025-01-09 19:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 19:34:04] Production.INFO: 1
[2025-01-09 19:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 19:34:04] Production.INFO: ==29831== Releasing lock...
[2025-01-09 19:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 19:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 19:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 16:34:05
[end_date_ymd] => 2025-01-09 19:34:05
[RateCDR] => 1
)
[2025-01-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-01-09 16:34:05' and `end` < '2025-01-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-01-09 19:34:12] Production.ERROR: CronJobId end10
[2025-01-09 19:34:12] Production.INFO: ==29825== Releasing lock...
[2025-01-09 19:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 19:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 19:34:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 19:34:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 19:34:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 19:34:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 19:34:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 19:34:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 19:34:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 19:34:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 19:34:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 19:34:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 19:34:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 19:34:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 19:34:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 19:34:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 19:34:14] Production.INFO: call_cost start
[2025-01-09 19:34:14] Production.INFO: call_cost end
[2025-01-09 19:34:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 19:34:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 19:34:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 19:34:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 19:34:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 19:34:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 19:34:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 19:34:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 19:34:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 19:34:15] Production.INFO: ==29821== Releasing lock...
[2025-01-09 19:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 19:34:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 19:34:18] Production.INFO: count ==2108
[2025-01-09 19:34:19] Production.ERROR: pbx CDR StartTime 2025-01-09 16:34:05 - End Time 2025-01-09 19:34:05
[2025-01-09 19:34:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 19:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211745', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211745', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211745', 'tblTempVendorCDR_20' ) start
[2025-01-09 19:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211745', 'tblTempVendorCDR_20' ) end
[2025-01-09 19:34:19] Production.INFO: ProcessCDR(1,14211745,1,1,2)
[2025-01-09 19:34:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211745,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:34:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211745,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:34:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211745,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:34:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211745,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:34:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211745', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:34:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211745', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:34:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:34:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:34:23] Production.INFO: ==29829== Releasing lock...
[2025-01-09 19:34:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 19:34:23] Production.INFO: 44 MB #Memory Used#
[2025-01-10 00:35:01] Production.INFO: ==29901== Lock acquired, processing the job...
[2025-01-10 00:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 00:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 00:35:01] Production.INFO: neon service started
[2025-01-10 00:35:01] Production.INFO: neon service started
[2025-01-10 00:35:01] Production.INFO: ==29901== Releasing lock...
[2025-01-10 00:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 00:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 19:35:01] Production.INFO: ==29903== Lock acquired, processing the job...
[2025-01-09 19:35:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:35:02] Production.INFO: ==29903== Releasing lock...
[2025-01-09 19:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 19:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 00:35:02] Production.INFO: ==29905== Lock acquired, processing the job...
[2025-01-10 00:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 00:35:02] Production.INFO: ==29905== Releasing lock...
[2025-01-10 00:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 00:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 19:35:03] Production.INFO: ==29917== Lock acquired, processing the job...
[2025-01-09 19:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 19:35:03] Production.INFO: ==29911== Lock acquired, processing the job...
[2025-01-09 19:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 19:35:03] Production.INFO: ==29913== Lock acquired, processing the job...
[2025-01-09 19:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 19:35:03] Production.INFO: ==29907== Lock acquired, processing the job...
[2025-01-09 19:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 19:35:03] Production.INFO: ==29909== Lock acquired, processing the job...
[2025-01-09 19:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 19:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 19:35:03] Production.INFO: ==29915== Lock acquired, processing the job...
[2025-01-09 19:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 19:35:03] Production.INFO: Account Balance Start.
[2025-01-09 19:35:03] Production.INFO: CreateAllLog Start
[2025-01-09 19:35:03] Production.INFO: 117
[2025-01-09 19:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 19:35:03] Production.INFO: Date 2025-01-08
[2025-01-09 19:35:03] Production.INFO: count ==21
[2025-01-09 19:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 19:35:03] Production.INFO: count ==21
[2025-01-09 19:35:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 19:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 19:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 19:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 19:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211746') start
[2025-01-09 19:35:03] Production.INFO: Date 2025-01-09
[2025-01-09 19:35:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:35:03] Production.INFO: Total Charge 0
[2025-01-09 19:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211746') end
[2025-01-09 19:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 19:35:03] Production.INFO: 1
[2025-01-09 19:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 19:35:03] Production.INFO: CreateAllLog End
[2025-01-09 19:35:03] Production.ERROR: done
[2025-01-09 19:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 19:35:03] Production.INFO: ==29917== Releasing lock...
[2025-01-09 19:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 19:35:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 19:35:03] Production.INFO: ==29909== Releasing lock...
[2025-01-09 19:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 19:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 19:35:03] Production.INFO: Account Balance End.
[2025-01-09 19:35:03] Production.ERROR: done
[2025-01-09 19:35:03] Production.ERROR: CronJobId end 12
[2025-01-09 19:35:03] Production.INFO: ==29913== Releasing lock...
[2025-01-09 19:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 19:35:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 19:35:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 16:35:04
[end_date_ymd] => 2025-01-09 19:35:04
[RateCDR] => 1
)
[2025-01-09 19:35:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 16:35:04' and `end` < '2025-01-09 19:35:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 19:35:11] Production.ERROR: CronJobId end10
[2025-01-09 19:35:11] Production.INFO: ==29911== Releasing lock...
[2025-01-09 19:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 19:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 19:35:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 19:35:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 19:35:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 19:35:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 19:35:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 19:35:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 19:35:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 19:35:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 19:35:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 19:35:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 19:35:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 19:35:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 19:35:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 19:35:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 19:35:13] Production.INFO: call_cost start
[2025-01-09 19:35:13] Production.INFO: call_cost end
[2025-01-09 19:35:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 19:35:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 19:35:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 19:35:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 19:35:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 19:35:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 19:35:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 19:35:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 19:35:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 19:35:14] Production.INFO: ==29907== Releasing lock...
[2025-01-09 19:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 19:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 19:35:17] Production.INFO: count ==2103
[2025-01-09 19:35:18] Production.ERROR: pbx CDR StartTime 2025-01-09 16:35:04 - End Time 2025-01-09 19:35:04
[2025-01-09 19:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 19:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211750', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211750', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211750', 'tblTempVendorCDR_20' ) start
[2025-01-09 19:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211750', 'tblTempVendorCDR_20' ) end
[2025-01-09 19:35:18] Production.INFO: ProcessCDR(1,14211750,1,1,2)
[2025-01-09 19:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211750,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:35:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211750,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:35:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211750,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:35:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211750,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211750', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211750', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:35:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:35:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:35:22] Production.INFO: ==29915== Releasing lock...
[2025-01-09 19:35:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 19:35:22] Production.INFO: 44 MB #Memory Used#
[2025-01-10 00:36:01] Production.INFO: ==29986== Lock acquired, processing the job...
[2025-01-10 00:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 00:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 00:36:01] Production.INFO: neon service started
[2025-01-10 00:36:01] Production.INFO: neon service started
[2025-01-10 00:36:01] Production.INFO: ==29986== Releasing lock...
[2025-01-10 00:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 00:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 19:36:02] Production.INFO: ==29988== Lock acquired, processing the job...
[2025-01-09 19:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 00:36:02] Production.INFO: ==29990== Lock acquired, processing the job...
[2025-01-10 00:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 19:36:02] Production.INFO: ==29988== Releasing lock...
[2025-01-09 19:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 19:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 00:36:02] Production.INFO: ==29990== Releasing lock...
[2025-01-10 00:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 00:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 19:36:03] Production.INFO: ==29999== Lock acquired, processing the job...
[2025-01-09 19:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 19:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 19:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 19:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 19:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 19:36:03] Production.INFO: ==29995== Lock acquired, processing the job...
[2025-01-09 19:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 19:36:03] Production.INFO: ==30003== Lock acquired, processing the job...
[2025-01-09 19:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 19:36:03] Production.INFO: ==29997== Lock acquired, processing the job...
[2025-01-09 19:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 19:36:03] Production.INFO: ==30005== Lock acquired, processing the job...
[2025-01-09 19:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 19:36:03] Production.INFO: ==30001== Lock acquired, processing the job...
[2025-01-09 19:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 19:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-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-01-09 19:36:04] Production.INFO: count ==21
[2025-01-09 19:36:04] Production.INFO: Account Balance Start.
[2025-01-09 19:36:04] Production.INFO: CreateAllLog Start
[2025-01-09 19:36:04] Production.INFO: 117
[2025-01-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-01-09 19:36:04] Production.INFO: count ==21
[2025-01-09 19:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211752') start
[2025-01-09 19:36:04] Production.INFO: Date 2025-01-08
[2025-01-09 19:36:04] Production.ERROR: done
[2025-01-09 19:36:04] Production.INFO: Reseller ==> 0
[2025-01-09 19:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 19:36:04] Production.INFO: Date 2025-01-09
[2025-01-09 19:36:04] Production.INFO: Reseller ==> 0
[2025-01-09 19:36:04] Production.INFO: Total Charge 0
[2025-01-09 19:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211752') end
[2025-01-09 19:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 19:36:04] Production.INFO: 1
[2025-01-09 19:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 19:36:04] Production.INFO: CreateAllLog End
[2025-01-09 19:36:04] Production.INFO: ==29997== Releasing lock...
[2025-01-09 19:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 19:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 19:36:04] Production.ERROR: done
[2025-01-09 19:36:04] Production.INFO: ==30005== Releasing lock...
[2025-01-09 19:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 19:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 19:36:04] Production.INFO: Account Balance End.
[2025-01-09 19:36:04] Production.ERROR: CronJobId end 12
[2025-01-09 19:36:04] Production.INFO: ==30001== Releasing lock...
[2025-01-09 19:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 19:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 19:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 16:36:05
[end_date_ymd] => 2025-01-09 19:36:05
[RateCDR] => 1
)
[2025-01-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-01-09 16:36:05' and `end` < '2025-01-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-01-09 19:36:12] Production.ERROR: CronJobId end10
[2025-01-09 19:36:12] Production.INFO: ==29999== Releasing lock...
[2025-01-09 19:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 19:36:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 19:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 19:36:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 19:36:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 19:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 19:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 19:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 19:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 19:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 19:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 19:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 19:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 19:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 19:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 19:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 19:36:13] Production.INFO: call_cost start
[2025-01-09 19:36:13] Production.INFO: call_cost end
[2025-01-09 19:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 19:36:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 19:36:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 19:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 19:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 19:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 19:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 19:36:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 19:36:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 19:36:14] Production.INFO: ==29995== Releasing lock...
[2025-01-09 19:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 19:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 19:36:19] Production.INFO: count ==2093
[2025-01-09 19:36:19] Production.ERROR: pbx CDR StartTime 2025-01-09 16:36:05 - End Time 2025-01-09 19:36:05
[2025-01-09 19:36:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 19:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211755', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211755', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211755', 'tblTempVendorCDR_20' ) start
[2025-01-09 19:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211755', 'tblTempVendorCDR_20' ) end
[2025-01-09 19:36:19] Production.INFO: ProcessCDR(1,14211755,1,1,2)
[2025-01-09 19:36:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211755,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:36:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211755,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:36:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211755,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211755,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211755', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211755', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:36:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:36:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:36:22] Production.INFO: ==30003== Releasing lock...
[2025-01-09 19:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 19:36:22] Production.INFO: 43.75 MB #Memory Used#
[2025-01-10 00:37:01] Production.INFO: ==30072== Lock acquired, processing the job...
[2025-01-10 00:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 00:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 00:37:01] Production.INFO: neon service started
[2025-01-10 00:37:01] Production.INFO: neon service started
[2025-01-10 00:37:01] Production.INFO: ==30072== Releasing lock...
[2025-01-10 00:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 00:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 19:37:01] Production.INFO: ==30074== Lock acquired, processing the job...
[2025-01-09 19:37:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 00:37:01] Production.INFO: ==30076== Lock acquired, processing the job...
[2025-01-10 00:37:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 00:37:01] Production.INFO: ==30076== Releasing lock...
[2025-01-10 00:37:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 00:37:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 19:37:02] Production.INFO: ==30074== Releasing lock...
[2025-01-09 19:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 19:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:37:02] Production.INFO: ==30079== Lock acquired, processing the job...
[2025-01-09 19:37:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 19:37:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 19:37:02] Production.INFO: ==30083== Lock acquired, processing the job...
[2025-01-09 19:37:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 19:37:02] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 19:37:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 19:37:02] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 19:37:02] Production.INFO: ==30087== Lock acquired, processing the job...
[2025-01-09 19:37:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 19:37:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 19:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:37:03] Production.INFO: ==30081== Lock acquired, processing the job...
[2025-01-09 19:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 19:37:03] Production.INFO: ==30085== Lock acquired, processing the job...
[2025-01-09 19:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 19:37:03] Production.INFO: ==30089== Lock acquired, processing the job...
[2025-01-09 19:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 19:37:03] Production.INFO: Account Balance Start.
[2025-01-09 19:37:03] Production.INFO: CreateAllLog Start
[2025-01-09 19:37:03] Production.INFO: 117
[2025-01-09 19:37:03] Production.INFO: Date 2025-01-08
[2025-01-09 19:37:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:37:03] Production.ERROR: done
[2025-01-09 19:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 19:37:03] Production.INFO: Date 2025-01-09
[2025-01-09 19:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 19:37:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:37:03] Production.INFO: count ==21
[2025-01-09 19:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 19:37:03] Production.INFO: count ==21
[2025-01-09 19:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211759') start
[2025-01-09 19:37:03] Production.INFO: Total Charge 0
[2025-01-09 19:37:03] Production.INFO: CreateAllLog End
[2025-01-09 19:37:03] Production.ERROR: done
[2025-01-09 19:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211759') end
[2025-01-09 19:37:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 19:37:03] Production.INFO: 1
[2025-01-09 19:37:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 19:37:03] Production.INFO: ==30081== Releasing lock...
[2025-01-09 19:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 19:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 19:37:03] Production.INFO: Account Balance End.
[2025-01-09 19:37:03] Production.INFO: ==30089== Releasing lock...
[2025-01-09 19:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 19:37:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 19:37:03] Production.ERROR: CronJobId end 12
[2025-01-09 19:37:03] Production.INFO: ==30085== Releasing lock...
[2025-01-09 19:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 19:37:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 19:37:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 16:37:04
[end_date_ymd] => 2025-01-09 19:37:04
[RateCDR] => 1
)
[2025-01-09 19:37:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 16:37:04' and `end` < '2025-01-09 19:37:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 19:37:11] Production.ERROR: CronJobId end10
[2025-01-09 19:37:11] Production.INFO: ==30083== Releasing lock...
[2025-01-09 19:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 19:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 19:37:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 19:37:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 19:37:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 19:37:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 19:37:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 19:37:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 19:37:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 19:37:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 19:37:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 19:37:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 19:37:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 19:37:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 19:37:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 19:37:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 19:37:12] Production.INFO: call_cost start
[2025-01-09 19:37:12] Production.INFO: call_cost end
[2025-01-09 19:37:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 19:37:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 19:37:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 19:37:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 19:37:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 19:37:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 19:37:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 19:37:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 19:37:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 19:37:13] Production.INFO: ==30079== Releasing lock...
[2025-01-09 19:37:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 19:37:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 19:37:18] Production.INFO: count ==2076
[2025-01-09 19:37:18] Production.ERROR: pbx CDR StartTime 2025-01-09 16:37:04 - End Time 2025-01-09 19:37:04
[2025-01-09 19:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 19:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211760', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211760', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211760', 'tblTempVendorCDR_20' ) start
[2025-01-09 19:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211760', 'tblTempVendorCDR_20' ) end
[2025-01-09 19:37:18] Production.INFO: ProcessCDR(1,14211760,1,1,2)
[2025-01-09 19:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211760,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211760,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211760,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211760,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211760', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211760', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:37:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:37:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:37:21] Production.INFO: ==30087== Releasing lock...
[2025-01-09 19:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 19:37:21] Production.INFO: 44 MB #Memory Used#
[2025-01-10 00:38:01] Production.INFO: ==30151== Lock acquired, processing the job...
[2025-01-10 00:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 00:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 00:38:01] Production.INFO: neon service started
[2025-01-10 00:38:01] Production.INFO: neon service started
[2025-01-10 00:38:01] Production.INFO: ==30151== Releasing lock...
[2025-01-10 00:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 00:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 19:38:02] Production.INFO: ==30154== Lock acquired, processing the job...
[2025-01-09 19:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 00:38:02] Production.INFO: ==30156== Lock acquired, processing the job...
[2025-01-10 00:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 00:38:02] Production.INFO: ==30156== Releasing lock...
[2025-01-10 00:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 00:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 19:38:02] Production.INFO: ==30154== Releasing lock...
[2025-01-09 19:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 19:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:38:03] Production.INFO: ==30162== Lock acquired, processing the job...
[2025-01-09 19:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 19:38:03] Production.INFO: ==30164== Lock acquired, processing the job...
[2025-01-09 19:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 19:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 19:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 19:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 19:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 19:38:03] Production.INFO: ==30168== Lock acquired, processing the job...
[2025-01-09 19:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 19:38:03] Production.INFO: Account Balance Start.
[2025-01-09 19:38:03] Production.INFO: CreateAllLog Start
[2025-01-09 19:38:03] Production.INFO: 117
[2025-01-09 19:38:03] Production.INFO: Date 2025-01-08
[2025-01-09 19:38:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:38:03] Production.INFO: Date 2025-01-09
[2025-01-09 19:38:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:38:03] Production.INFO: ==30160== Lock acquired, processing the job...
[2025-01-09 19:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-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-01-09 19:38:03] Production.INFO: Total Charge 0
[2025-01-09 19:38:03] Production.INFO: CreateAllLog End
[2025-01-09 19:38:03] Production.INFO: ==30158== Lock acquired, processing the job...
[2025-01-09 19:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 19:38:03] Production.INFO: count ==21
[2025-01-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-01-09 19:38:03] Production.INFO: count ==21
[2025-01-09 19:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211762') start
[2025-01-09 19:38:03] Production.INFO: ==30166== Lock acquired, processing the job...
[2025-01-09 19:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 19:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 19:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211762') end
[2025-01-09 19:38:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 19:38:03] Production.INFO: 1
[2025-01-09 19:38:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 19:38:03] Production.INFO: Account Balance End.
[2025-01-09 19:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:38:03] Production.ERROR: CronJobId end 12
[2025-01-09 19:38:03] Production.INFO: ==30164== Releasing lock...
[2025-01-09 19:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 19:38:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 19:38:03] Production.INFO: ==30168== Releasing lock...
[2025-01-09 19:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 19:38:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 19:38:03] Production.INFO: ==30160== Releasing lock...
[2025-01-09 19:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 19:38:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 19:38:03] Production.ERROR: done
[2025-01-09 19:38:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 19:38:04] Production.ERROR: done
[2025-01-09 19:38:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 16:38:04
[end_date_ymd] => 2025-01-09 19:38:04
[RateCDR] => 1
)
[2025-01-09 19:38:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 16:38:04' and `end` < '2025-01-09 19:38:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 19:38:11] Production.ERROR: CronJobId end10
[2025-01-09 19:38:11] Production.INFO: ==30162== Releasing lock...
[2025-01-09 19:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 19:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 19:38:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 19:38:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 19:38:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 19:38:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 19:38:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 19:38:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 19:38:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 19:38:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 19:38:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 19:38:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 19:38:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 19:38:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 19:38:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 19:38:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 19:38:13] Production.INFO: call_cost start
[2025-01-09 19:38:13] Production.INFO: call_cost end
[2025-01-09 19:38:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 19:38:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 19:38:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 19:38:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 19:38:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 19:38:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 19:38:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 19:38:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 19:38:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 19:38:14] Production.INFO: ==30158== Releasing lock...
[2025-01-09 19:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 19:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 19:38:18] Production.INFO: count ==2058
[2025-01-09 19:38:18] Production.ERROR: pbx CDR StartTime 2025-01-09 16:38:04 - End Time 2025-01-09 19:38:04
[2025-01-09 19:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 19:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211765', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211765', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211765', 'tblTempVendorCDR_20' ) start
[2025-01-09 19:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211765', 'tblTempVendorCDR_20' ) end
[2025-01-09 19:38:18] Production.INFO: ProcessCDR(1,14211765,1,1,2)
[2025-01-09 19:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211765,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:38:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211765,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:38:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211765,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:38:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211765,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211765', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211765', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:38:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:38:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:38:23] Production.INFO: ==30166== Releasing lock...
[2025-01-09 19:38:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 19:38:23] Production.INFO: 43.5 MB #Memory Used#
[2025-01-10 00:39:02] Production.INFO: ==30223== Lock acquired, processing the job...
[2025-01-10 00:39:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 00:39:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 00:39:02] Production.INFO: neon service started
[2025-01-10 00:39:02] Production.INFO: neon service started
[2025-01-10 00:39:02] Production.INFO: ==30223== Releasing lock...
[2025-01-10 00:39:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 00:39:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:39:02] Production.INFO: ==30227== Lock acquired, processing the job...
[2025-01-10 00:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 00:39:02] Production.INFO: ==30227== Releasing lock...
[2025-01-10 00:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 00:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 19:39:02] Production.INFO: ==30225== Lock acquired, processing the job...
[2025-01-09 19:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:39:03] Production.INFO: ==30225== Releasing lock...
[2025-01-09 19:39:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 19:39:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:39:03] Production.INFO: ==30231== Lock acquired, processing the job...
[2025-01-09 19:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 19:39:03] Production.INFO: ==30233== Lock acquired, processing the job...
[2025-01-09 19:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 19:39:03] Production.INFO: ==30229== Lock acquired, processing the job...
[2025-01-09 19:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 19:39:03] Production.INFO: ==30235== Lock acquired, processing the job...
[2025-01-09 19:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 19:39:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 19:39:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 19:39:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 19:39:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 19:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 19:39:04] Production.INFO: ==30237== Lock acquired, processing the job...
[2025-01-09 19:39:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 19:39:04] Production.INFO: Account Balance Start.
[2025-01-09 19:39:04] Production.INFO: CreateAllLog Start
[2025-01-09 19:39:04] Production.INFO: 117
[2025-01-09 19:39:04] Production.INFO: Date 2025-01-08
[2025-01-09 19:39:04] Production.INFO: Reseller ==> 0
[2025-01-09 19:39:04] Production.INFO: Date 2025-01-09
[2025-01-09 19:39:04] Production.INFO: Reseller ==> 0
[2025-01-09 19:39:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:39:04] Production.INFO: ==30231== Releasing lock...
[2025-01-09 19:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 19:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 19:39:04] Production.INFO: Total Charge 0
[2025-01-09 19:39:04] Production.INFO: CreateAllLog End
[2025-01-09 19:39:04] Production.INFO: ==30239== Lock acquired, processing the job...
[2025-01-09 19:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-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-01-09 19:39:04] Production.INFO: Account Balance End.
[2025-01-09 19:39:04] Production.INFO: count ==21
[2025-01-09 19:39:04] Production.ERROR: done
[2025-01-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-01-09 19:39:04] Production.INFO: count ==21
[2025-01-09 19:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211769') start
[2025-01-09 19:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 19:39:04] Production.ERROR: CronJobId end 12
[2025-01-09 19:39:04] Production.INFO: ==30235== Releasing lock...
[2025-01-09 19:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 19:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 19:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211769') end
[2025-01-09 19:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 19:39:04] Production.INFO: 1
[2025-01-09 19:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 19:39:04] Production.INFO: ==30239== Releasing lock...
[2025-01-09 19:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 19:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 19:39:04] Production.ERROR: done
[2025-01-09 19:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 16:39:05
[end_date_ymd] => 2025-01-09 19:39:05
[RateCDR] => 1
)
[2025-01-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-01-09 16:39:05' and `end` < '2025-01-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-01-09 19:39:12] Production.ERROR: CronJobId end10
[2025-01-09 19:39:12] Production.INFO: ==30233== Releasing lock...
[2025-01-09 19:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 19:39:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 19:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 19:39:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 19:39:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 19:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 19:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 19:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 19:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 19:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 19:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 19:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 19:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 19:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 19:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 19:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 19:39:13] Production.INFO: call_cost start
[2025-01-09 19:39:13] Production.INFO: call_cost end
[2025-01-09 19:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 19:39:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 19:39:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 19:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 19:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 19:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 19:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 19:39:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 19:39:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 19:39:14] Production.INFO: ==30229== Releasing lock...
[2025-01-09 19:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 19:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 19:39:18] Production.INFO: count ==2057
[2025-01-09 19:39:19] Production.ERROR: pbx CDR StartTime 2025-01-09 16:39:05 - End Time 2025-01-09 19:39:05
[2025-01-09 19:39:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 19:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211770', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211770', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211770', 'tblTempVendorCDR_20' ) start
[2025-01-09 19:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211770', 'tblTempVendorCDR_20' ) end
[2025-01-09 19:39:19] Production.INFO: ProcessCDR(1,14211770,1,1,2)
[2025-01-09 19:39:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211770,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:39:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211770,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:39:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211770,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:39:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211770,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:39:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211770', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:39:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211770', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:39:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:39:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:39:24] Production.INFO: ==30237== Releasing lock...
[2025-01-09 19:39:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 19:39:24] Production.INFO: 43.5 MB #Memory Used#
[2025-01-10 00:40:01] Production.INFO: ==30292== Lock acquired, processing the job...
[2025-01-10 00:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 00:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 00:40:01] Production.INFO: neon service started
[2025-01-10 00:40:01] Production.INFO: neon service started
[2025-01-10 00:40:01] Production.INFO: ==30292== Releasing lock...
[2025-01-10 00:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 00:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:40:01] Production.INFO: ==30296== Lock acquired, processing the job...
[2025-01-10 00:40:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 00:40:02] Production.INFO: ==30296== Releasing lock...
[2025-01-10 00:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 00:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 19:40:02] Production.INFO: ==30294== Lock acquired, processing the job...
[2025-01-09 19:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:40:02] Production.INFO: ==30294== Releasing lock...
[2025-01-09 19:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 19:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:40:03] Production.INFO: ==30298== Lock acquired, processing the job...
[2025-01-09 19:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 19:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 19:40:03] Production.INFO: ==30300== Lock acquired, processing the job...
[2025-01-09 19:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 19:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 19:40:03] Production.INFO: ==30298== Releasing lock...
[2025-01-09 19:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 19:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 19:40:03] Production.INFO: ==30304== Lock acquired, processing the job...
[2025-01-09 19:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 19:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 19:40:03] Production.INFO: ==30306== Lock acquired, processing the job...
[2025-01-09 19:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 19:40:03] Production.INFO: ==30302== Lock acquired, processing the job...
[2025-01-09 19:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 19:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 19:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 19:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 19:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 19:40:03] Production.INFO: Account Balance Start.
[2025-01-09 19:40:03] Production.INFO: CreateAllLog Start
[2025-01-09 19:40:03] Production.INFO: 117
[2025-01-09 19:40:03] Production.INFO: Date 2025-01-08
[2025-01-09 19:40:03] Production.INFO: ==30308== Lock acquired, processing the job...
[2025-01-09 19:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 19:40:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:40:03] Production.INFO: ==30310== Lock acquired, processing the job...
[2025-01-09 19:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 19:40:03] Production.INFO: Date 2025-01-09
[2025-01-09 19:40:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:40:03] Production.INFO: Total Charge 0
[2025-01-09 19:40:03] Production.INFO: ==30313== Lock acquired, processing the job...
[2025-01-09 19:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 19:40:03] Production.INFO: CreateAllLog End
[2025-01-09 19:40:04] Production.INFO: ==30302== Releasing lock...
[2025-01-09 19:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 19:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-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-01-09 19:40:04] Production.INFO: count ==21
[2025-01-09 19:40:04] Production.ERROR: done
[2025-01-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-01-09 19:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 19:40:04] Production.INFO: count ==21
[2025-01-09 19:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211774') start
[2025-01-09 19:40:04] Production.ERROR: done
[2025-01-09 19:40:04] Production.ERROR: done
[2025-01-09 19:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 19:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14211775', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 19:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211774') end
[2025-01-09 19:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 19:40:04] Production.INFO: 1
[2025-01-09 19:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 19:40:04] Production.INFO: Account Balance End.
[2025-01-09 19:40:04] Production.ERROR: CronJobId end 12
[2025-01-09 19:40:04] Production.INFO: ==30306== Releasing lock...
[2025-01-09 19:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 19:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 19:40:04] Production.INFO: ==30313== Releasing lock...
[2025-01-09 19:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 19:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 19:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 16:40:05
[end_date_ymd] => 2025-01-09 19:40:05
[RateCDR] => 1
)
[2025-01-09 19:40:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 16:40:05' and `end` < '2025-01-09 19:40:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 19:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14211775', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 19:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 19:40:08] Production.INFO: ProcessCDR(1,14211775,1,1,2)
[2025-01-09 19:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14211775,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14211775,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:40:09] Production.INFO: ==30310== Releasing lock...
[2025-01-09 19:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 19:40:09] Production.INFO: 26 MB #Memory Used#
[2025-01-09 19:40:14] Production.ERROR: CronJobId end10
[2025-01-09 19:40:14] Production.INFO: ==30304== Releasing lock...
[2025-01-09 19:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 19:40:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 19:40:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 19:40:15] Production.INFO: ============== Balance Warning START===========
[2025-01-09 19:40:15] Production.INFO: ============== Balance Warning END===========
[2025-01-09 19:40:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 19:40:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 19:40:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 19:40:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 19:40:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 19:40:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 19:40:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 19:40:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 19:40:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 19:40:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 19:40:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 19:40:15] Production.INFO: call_cost start
[2025-01-09 19:40:15] Production.INFO: call_cost end
[2025-01-09 19:40:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 19:40:16] Production.INFO: ============== Report Schedule START===========
[2025-01-09 19:40:16] Production.INFO: ============== Report Schedule END===========
[2025-01-09 19:40:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 19:40:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 19:40:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 19:40:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 19:40:16] Production.INFO: ============== Deal alert START===========
[2025-01-09 19:40:16] Production.INFO: ============== Deal alert END===========
[2025-01-09 19:40:16] Production.INFO: ==30300== Releasing lock...
[2025-01-09 19:40:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 19:40:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 19:40:18] Production.INFO: count ==2050
[2025-01-09 19:40:19] Production.ERROR: pbx CDR StartTime 2025-01-09 16:40:05 - End Time 2025-01-09 19:40:05
[2025-01-09 19:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 19:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211776', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211776', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211776', 'tblTempVendorCDR_20' ) start
[2025-01-09 19:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211776', 'tblTempVendorCDR_20' ) end
[2025-01-09 19:40:19] Production.INFO: ProcessCDR(1,14211776,1,1,2)
[2025-01-09 19:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211776,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211776,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211776,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:40:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211776,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211776', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211776', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:40:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:40:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:40:22] Production.INFO: ==30308== Releasing lock...
[2025-01-09 19:40:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 19:40:22] Production.INFO: 43.25 MB #Memory Used#
[2025-01-10 00:41:02] Production.INFO: ==30367== Lock acquired, processing the job...
[2025-01-10 00:41:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 00:41:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 00:41:02] Production.INFO: neon service started
[2025-01-10 00:41:02] Production.INFO: neon service started
[2025-01-10 00:41:02] Production.INFO: ==30367== Releasing lock...
[2025-01-10 00:41:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 00:41:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 19:41:02] Production.INFO: ==30370== Lock acquired, processing the job...
[2025-01-09 19:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 00:41:02] Production.INFO: ==30372== Lock acquired, processing the job...
[2025-01-10 00:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 00:41:02] Production.INFO: ==30372== Releasing lock...
[2025-01-10 00:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 00:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 19:41:03] Production.INFO: ==30370== Releasing lock...
[2025-01-09 19:41:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 19:41:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:41:03] Production.INFO: ==30380== Lock acquired, processing the job...
[2025-01-09 19:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 19:41:03] Production.INFO: Account Balance Start.
[2025-01-09 19:41:03] Production.INFO: CreateAllLog Start
[2025-01-09 19:41:03] Production.INFO: 117
[2025-01-09 19:41:03] Production.INFO: Date 2025-01-08
[2025-01-09 19:41:03] Production.INFO: ==30384== Lock acquired, processing the job...
[2025-01-09 19:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 19:41:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:41:04] Production.INFO: Date 2025-01-09
[2025-01-09 19:41:04] Production.INFO: Reseller ==> 0
[2025-01-09 19:41:04] Production.INFO: Total Charge 0
[2025-01-09 19:41:04] Production.INFO: ==30374== Lock acquired, processing the job...
[2025-01-09 19:41:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 19:41:04] Production.INFO: CreateAllLog End
[2025-01-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-01-09 19:41:04] Production.INFO: ==30376== Lock acquired, processing the job...
[2025-01-09 19:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 19:41:04] Production.INFO: ==30378== Lock acquired, processing the job...
[2025-01-09 19:41:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 19:41:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 19:41:04] Production.INFO: count ==21
[2025-01-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-01-09 19:41:04] Production.INFO: count ==21
[2025-01-09 19:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211778') start
[2025-01-09 19:41:04] Production.INFO: Account Balance End.
[2025-01-09 19:41:04] Production.INFO: ==30382== Lock acquired, processing the job...
[2025-01-09 19:41:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 19:41:04] Production.ERROR: CronJobId end 12
[2025-01-09 19:41:04] Production.INFO: ==30380== Releasing lock...
[2025-01-09 19:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 19:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 19:41:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 19:41:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 19:41:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 19:41:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 19:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211778') end
[2025-01-09 19:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 19:41:04] Production.INFO: 1
[2025-01-09 19:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 19:41:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:41:04] Production.INFO: ==30384== Releasing lock...
[2025-01-09 19:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 19:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 19:41:04] Production.ERROR: done
[2025-01-09 19:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 19:41:04] Production.INFO: ==30376== Releasing lock...
[2025-01-09 19:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 19:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 19:41:04] Production.ERROR: done
[2025-01-09 19:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 16:41:05
[end_date_ymd] => 2025-01-09 19:41:05
[RateCDR] => 1
)
[2025-01-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-01-09 16:41:05' and `end` < '2025-01-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-01-09 19:41:12] Production.ERROR: CronJobId end10
[2025-01-09 19:41:12] Production.INFO: ==30378== Releasing lock...
[2025-01-09 19:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 19:41:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 19:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 19:41:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 19:41:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 19:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 19:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 19:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 19:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 19:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 19:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 19:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 19:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 19:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 19:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 19:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 19:41:14] Production.INFO: call_cost start
[2025-01-09 19:41:14] Production.INFO: call_cost end
[2025-01-09 19:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 19:41:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 19:41:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 19:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 19:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 19:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 19:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 19:41:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 19:41:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 19:41:14] Production.INFO: ==30374== Releasing lock...
[2025-01-09 19:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 19:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 19:41:19] Production.INFO: count ==1973
[2025-01-09 19:41:20] Production.ERROR: pbx CDR StartTime 2025-01-09 16:41:05 - End Time 2025-01-09 19:41:05
[2025-01-09 19:41:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 19:41:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211781', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:41:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211781', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:41:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211781', 'tblTempVendorCDR_20' ) start
[2025-01-09 19:41:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211781', 'tblTempVendorCDR_20' ) end
[2025-01-09 19:41:20] Production.INFO: ProcessCDR(1,14211781,1,1,2)
[2025-01-09 19:41:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211781,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:41:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211781,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:41:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211781,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:41:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211781,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:41:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211781', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:41:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211781', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:41:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:41:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:41:25] Production.INFO: ==30382== Releasing lock...
[2025-01-09 19:41:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 19:41:25] Production.INFO: 43 MB #Memory Used#
[2025-01-10 00:42:01] Production.INFO: ==30438== Lock acquired, processing the job...
[2025-01-10 00:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 00:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 00:42:01] Production.INFO: neon service started
[2025-01-10 00:42:01] Production.INFO: neon service started
[2025-01-10 00:42:01] Production.INFO: ==30438== Releasing lock...
[2025-01-10 00:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 00:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 19:42:01] Production.INFO: ==30440== Lock acquired, processing the job...
[2025-01-09 19:42:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:42:02] Production.INFO: ==30440== Releasing lock...
[2025-01-09 19:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 19:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 00:42:02] Production.INFO: ==30442== Lock acquired, processing the job...
[2025-01-10 00:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 00:42:02] Production.INFO: ==30442== Releasing lock...
[2025-01-10 00:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 00:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 19:42:03] Production.INFO: ==30448== Lock acquired, processing the job...
[2025-01-09 19:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 19:42:03] Production.INFO: ==30454== Lock acquired, processing the job...
[2025-01-09 19:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 19:42:03] Production.INFO: ==30444== Lock acquired, processing the job...
[2025-01-09 19:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-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-01-09 19:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 19:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 19:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 19:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 19:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 19:42:03] Production.INFO: count ==21
[2025-01-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-01-09 19:42:03] Production.INFO: ==30446== Lock acquired, processing the job...
[2025-01-09 19:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 19:42:03] Production.INFO: count ==21
[2025-01-09 19:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211782') start
[2025-01-09 19:42:03] Production.INFO: ==30450== Lock acquired, processing the job...
[2025-01-09 19:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 19:42:03] Production.INFO: ==30452== Lock acquired, processing the job...
[2025-01-09 19:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 19:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211782') end
[2025-01-09 19:42:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 19:42:03] Production.INFO: 1
[2025-01-09 19:42:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 19:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:42:03] Production.INFO: ==30454== Releasing lock...
[2025-01-09 19:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 19:42:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 19:42:03] Production.INFO: Account Balance Start.
[2025-01-09 19:42:03] Production.INFO: CreateAllLog Start
[2025-01-09 19:42:03] Production.INFO: 117
[2025-01-09 19:42:03] Production.INFO: Date 2025-01-08
[2025-01-09 19:42:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:42:03] Production.INFO: ==30446== Releasing lock...
[2025-01-09 19:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 19:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 19:42:03] Production.INFO: Date 2025-01-09
[2025-01-09 19:42:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:42:03] Production.ERROR: done
[2025-01-09 19:42:03] Production.INFO: Total Charge 0
[2025-01-09 19:42:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 19:42:04] Production.INFO: CreateAllLog End
[2025-01-09 19:42:04] Production.ERROR: done
[2025-01-09 19:42:04] Production.INFO: Account Balance End.
[2025-01-09 19:42:04] Production.ERROR: CronJobId end 12
[2025-01-09 19:42:04] Production.INFO: ==30450== Releasing lock...
[2025-01-09 19:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 19:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 19:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 16:42:05
[end_date_ymd] => 2025-01-09 19:42:05
[RateCDR] => 1
)
[2025-01-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-01-09 16:42:05' and `end` < '2025-01-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-01-09 19:42:12] Production.ERROR: CronJobId end10
[2025-01-09 19:42:12] Production.INFO: ==30448== Releasing lock...
[2025-01-09 19:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 19:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 19:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 19:42:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 19:42:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 19:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 19:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 19:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 19:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 19:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 19:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 19:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 19:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 19:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 19:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 19:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 19:42:13] Production.INFO: call_cost start
[2025-01-09 19:42:13] Production.INFO: call_cost end
[2025-01-09 19:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 19:42:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 19:42:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 19:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 19:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 19:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 19:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 19:42:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 19:42:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 19:42:14] Production.INFO: ==30444== Releasing lock...
[2025-01-09 19:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 19:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 19:42:18] Production.INFO: count ==1974
[2025-01-09 19:42:18] Production.ERROR: pbx CDR StartTime 2025-01-09 16:42:05 - End Time 2025-01-09 19:42:05
[2025-01-09 19:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 19:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211786', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211786', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211786', 'tblTempVendorCDR_20' ) start
[2025-01-09 19:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211786', 'tblTempVendorCDR_20' ) end
[2025-01-09 19:42:18] Production.INFO: ProcessCDR(1,14211786,1,1,2)
[2025-01-09 19:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211786,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211786,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211786,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211786,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211786', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211786', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:42:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:42:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:42:21] Production.INFO: ==30452== Releasing lock...
[2025-01-09 19:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 19:42:21] Production.INFO: 42.75 MB #Memory Used#
[2025-01-10 00:43:01] Production.INFO: ==30508== Lock acquired, processing the job...
[2025-01-10 00:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 00:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 00:43:01] Production.INFO: neon service started
[2025-01-10 00:43:02] Production.INFO: neon service started
[2025-01-10 00:43:02] Production.INFO: ==30508== Releasing lock...
[2025-01-10 00:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 00:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 19:43:02] Production.INFO: ==30510== Lock acquired, processing the job...
[2025-01-09 19:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 00:43:02] Production.INFO: ==30512== Lock acquired, processing the job...
[2025-01-10 00:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 00:43:02] Production.INFO: ==30512== Releasing lock...
[2025-01-10 00:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 00:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 19:43:02] Production.INFO: ==30510== Releasing lock...
[2025-01-09 19:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 19:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:43:03] Production.INFO: ==30515== Lock acquired, processing the job...
[2025-01-09 19:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 19:43:03] Production.INFO: ==30519== Lock acquired, processing the job...
[2025-01-09 19:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 19:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 19:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 19:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 19:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 19:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 19:43:03] Production.INFO: ==30517== Lock acquired, processing the job...
[2025-01-09 19:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 19:43:03] Production.INFO: ==30521== Lock acquired, processing the job...
[2025-01-09 19:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 19:43:03] Production.INFO: ==30523== Lock acquired, processing the job...
[2025-01-09 19:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 19:43:03] Production.INFO: ==30525== Lock acquired, processing the job...
[2025-01-09 19:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 19:43:03] Production.INFO: Account Balance Start.
[2025-01-09 19:43:03] Production.INFO: CreateAllLog Start
[2025-01-09 19:43:03] Production.INFO: 117
[2025-01-09 19:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:43:03] Production.INFO: Date 2025-01-08
[2025-01-09 19:43:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:43:03] Production.INFO: Date 2025-01-09
[2025-01-09 19:43:04] Production.INFO: Reseller ==> 0
[2025-01-09 19:43:04] Production.INFO: ==30517== Releasing lock...
[2025-01-09 19:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 19:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-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-01-09 19:43:04] Production.INFO: count ==21
[2025-01-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-01-09 19:43:04] Production.INFO: Total Charge 0
[2025-01-09 19:43:04] Production.INFO: count ==21
[2025-01-09 19:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211790') start
[2025-01-09 19:43:04] Production.INFO: CreateAllLog End
[2025-01-09 19:43:04] Production.ERROR: done
[2025-01-09 19:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 19:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211790') end
[2025-01-09 19:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 19:43:04] Production.INFO: 1
[2025-01-09 19:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 19:43:04] Production.INFO: ==30525== Releasing lock...
[2025-01-09 19:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 19:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 19:43:04] Production.ERROR: done
[2025-01-09 19:43:04] Production.INFO: Account Balance End.
[2025-01-09 19:43:04] Production.ERROR: CronJobId end 12
[2025-01-09 19:43:04] Production.INFO: ==30521== Releasing lock...
[2025-01-09 19:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 19:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 19:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 16:43:05
[end_date_ymd] => 2025-01-09 19:43:05
[RateCDR] => 1
)
[2025-01-09 19:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 16:43:05' and `end` < '2025-01-09 19:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 19:43:12] Production.ERROR: CronJobId end10
[2025-01-09 19:43:12] Production.INFO: ==30519== Releasing lock...
[2025-01-09 19:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 19:43:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 19:43:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 19:43:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 19:43:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 19:43:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 19:43:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 19:43:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 19:43:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 19:43:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 19:43:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 19:43:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 19:43:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 19:43:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 19:43:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 19:43:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 19:43:13] Production.INFO: call_cost start
[2025-01-09 19:43:13] Production.INFO: call_cost end
[2025-01-09 19:43:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 19:43:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 19:43:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 19:43:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 19:43:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 19:43:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 19:43:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 19:43:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 19:43:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 19:43:14] Production.INFO: ==30515== Releasing lock...
[2025-01-09 19:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 19:43:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 19:43:19] Production.INFO: count ==1974
[2025-01-09 19:43:20] Production.ERROR: pbx CDR StartTime 2025-01-09 16:43:05 - End Time 2025-01-09 19:43:05
[2025-01-09 19:43:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 19:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211791', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211791', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211791', 'tblTempVendorCDR_20' ) start
[2025-01-09 19:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211791', 'tblTempVendorCDR_20' ) end
[2025-01-09 19:43:20] Production.INFO: ProcessCDR(1,14211791,1,1,2)
[2025-01-09 19:43:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211791,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:43:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211791,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:43:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211791,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:43:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211791,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:43:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211791', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:43:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211791', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:43:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:43:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:43:25] Production.INFO: ==30523== Releasing lock...
[2025-01-09 19:43:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 19:43:25] Production.INFO: 43.25 MB #Memory Used#
[2025-01-10 00:44:01] Production.INFO: ==30578== Lock acquired, processing the job...
[2025-01-10 00:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 00:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 00:44:01] Production.INFO: neon service started
[2025-01-10 00:44:01] Production.INFO: neon service started
[2025-01-10 00:44:01] Production.INFO: ==30578== Releasing lock...
[2025-01-10 00:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 00:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 19:44:01] Production.INFO: ==30580== Lock acquired, processing the job...
[2025-01-09 19:44:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:44:02] Production.INFO: ==30580== Releasing lock...
[2025-01-09 19:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 19:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 00:44:02] Production.INFO: ==30582== Lock acquired, processing the job...
[2025-01-10 00:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 00:44:02] Production.INFO: ==30582== Releasing lock...
[2025-01-10 00:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 00:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 19:44:02] Production.INFO: ==30585== Lock acquired, processing the job...
[2025-01-09 19:44:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 19:44:03] Production.INFO: ==30587== Lock acquired, processing the job...
[2025-01-09 19:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 19:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 19:44:03] Production.INFO: ==30593== Lock acquired, processing the job...
[2025-01-09 19:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 19:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:44:03] Production.INFO: ==30589== Lock acquired, processing the job...
[2025-01-09 19:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 19:44:03] Production.INFO: ==30587== Releasing lock...
[2025-01-09 19:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 19:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 19:44:03] Production.INFO: ==30591== Lock acquired, processing the job...
[2025-01-09 19:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 19:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 19:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 19:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 19:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 19:44:03] Production.INFO: Account Balance Start.
[2025-01-09 19:44:03] Production.INFO: CreateAllLog Start
[2025-01-09 19:44:03] Production.INFO: 117
[2025-01-09 19:44:03] Production.INFO: Date 2025-01-08
[2025-01-09 19:44:03] Production.INFO: ==30595== Lock acquired, processing the job...
[2025-01-09 19:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 19:44:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:44:03] Production.INFO: Date 2025-01-09
[2025-01-09 19:44:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:44:03] Production.INFO: Total Charge 0
[2025-01-09 19:44:03] Production.INFO: CreateAllLog End
[2025-01-09 19:44:03] Production.ERROR: done
[2025-01-09 19:44:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-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-01-09 19:44:03] Production.INFO: Account Balance End.
[2025-01-09 19:44:03] Production.INFO: count ==21
[2025-01-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-01-09 19:44:04] Production.INFO: count ==21
[2025-01-09 19:44:04] Production.ERROR: CronJobId end 12
[2025-01-09 19:44:04] Production.INFO: ==30591== Releasing lock...
[2025-01-09 19:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 19:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 19:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211795') start
[2025-01-09 19:44:04] Production.ERROR: done
[2025-01-09 19:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211795') end
[2025-01-09 19:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 19:44:04] Production.INFO: 1
[2025-01-09 19:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 19:44:04] Production.INFO: ==30595== Releasing lock...
[2025-01-09 19:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 19:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 19:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 16:44:05
[end_date_ymd] => 2025-01-09 19:44:05
[RateCDR] => 1
)
[2025-01-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-01-09 16:44:05' and `end` < '2025-01-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-01-09 19:44:11] Production.ERROR: CronJobId end10
[2025-01-09 19:44:11] Production.INFO: ==30589== Releasing lock...
[2025-01-09 19:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 19:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 19:44:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 19:44:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 19:44:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 19:44:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 19:44:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 19:44:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 19:44:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 19:44:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 19:44:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 19:44:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 19:44:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 19:44:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 19:44:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 19:44:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 19:44:12] Production.INFO: call_cost start
[2025-01-09 19:44:12] Production.INFO: call_cost end
[2025-01-09 19:44:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 19:44:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 19:44:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 19:44:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 19:44:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 19:44:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 19:44:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 19:44:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 19:44:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 19:44:13] Production.INFO: ==30585== Releasing lock...
[2025-01-09 19:44:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 19:44:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 19:44:18] Production.INFO: count ==1968
[2025-01-09 19:44:19] Production.ERROR: pbx CDR StartTime 2025-01-09 16:44:05 - End Time 2025-01-09 19:44:05
[2025-01-09 19:44:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 19:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211796', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211796', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211796', 'tblTempVendorCDR_20' ) start
[2025-01-09 19:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211796', 'tblTempVendorCDR_20' ) end
[2025-01-09 19:44:19] Production.INFO: ProcessCDR(1,14211796,1,1,2)
[2025-01-09 19:44:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211796,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:44:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211796,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:44:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211796,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:44:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211796,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211796', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211796', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:44:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:44:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:44:22] Production.INFO: ==30593== Releasing lock...
[2025-01-09 19:44:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 19:44:22] Production.INFO: 42.75 MB #Memory Used#
[2025-01-10 00:45:01] Production.INFO: ==30649== Lock acquired, processing the job...
[2025-01-10 00:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 00:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 00:45:01] Production.INFO: neon service started
[2025-01-10 00:45:02] Production.INFO: neon service started
[2025-01-10 00:45:02] Production.INFO: ==30649== Releasing lock...
[2025-01-10 00:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 00:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:45:02] Production.INFO: ==30653== Lock acquired, processing the job...
[2025-01-10 00:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 00:45:02] Production.INFO: ==30653== Releasing lock...
[2025-01-10 00:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 00:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 19:45:02] Production.INFO: ==30651== Lock acquired, processing the job...
[2025-01-09 19:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:45:02] Production.INFO: ==30651== Releasing lock...
[2025-01-09 19:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 19:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:45:03] Production.INFO: ==30656== Lock acquired, processing the job...
[2025-01-09 19:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 19:45:03] Production.INFO: ==30660== Lock acquired, processing the job...
[2025-01-09 19:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 19:45:03] Production.INFO: ==30662== Lock acquired, processing the job...
[2025-01-09 19:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 19:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 19:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 19:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 19:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 19:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 19:45:03] Production.INFO: Account Balance Start.
[2025-01-09 19:45:03] Production.INFO: CreateAllLog Start
[2025-01-09 19:45:03] Production.INFO: 117
[2025-01-09 19:45:03] Production.INFO: Date 2025-01-08
[2025-01-09 19:45:03] Production.INFO: ==30658== Lock acquired, processing the job...
[2025-01-09 19:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 19:45:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:45:03] Production.INFO: Date 2025-01-09
[2025-01-09 19:45:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:45:03] Production.INFO: ==30664== Lock acquired, processing the job...
[2025-01-09 19:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 19:45:03] Production.INFO: Total Charge 0
[2025-01-09 19:45:03] Production.INFO: CreateAllLog End
[2025-01-09 19:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:45:04] Production.INFO: ==30666== Lock acquired, processing the job...
[2025-01-09 19:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 19:45:04] Production.INFO: Account Balance End.
[2025-01-09 19:45:04] Production.INFO: ==30658== Releasing lock...
[2025-01-09 19:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 19:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-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-01-09 19:45:04] Production.ERROR: CronJobId end 12
[2025-01-09 19:45:04] Production.INFO: ==30662== Releasing lock...
[2025-01-09 19:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 19:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 19:45:04] Production.INFO: count ==21
[2025-01-09 19:45:04] Production.ERROR: done
[2025-01-09 19:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-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-01-09 19:45:04] Production.INFO: count ==21
[2025-01-09 19:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211800') start
[2025-01-09 19:45:04] Production.ERROR: done
[2025-01-09 19:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211800') end
[2025-01-09 19:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 19:45:04] Production.INFO: 1
[2025-01-09 19:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 19:45:04] Production.INFO: ==30666== Releasing lock...
[2025-01-09 19:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 19:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 19:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 16:45:05
[end_date_ymd] => 2025-01-09 19:45:05
[RateCDR] => 1
)
[2025-01-09 19:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 16:45:05' and `end` < '2025-01-09 19:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 19:45:11] Production.ERROR: CronJobId end10
[2025-01-09 19:45:11] Production.INFO: ==30660== Releasing lock...
[2025-01-09 19:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 19:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 19:45:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 19:45:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 19:45:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 19:45:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 19:45:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 19:45:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 19:45:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 19:45:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 19:45:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 19:45:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 19:45:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 19:45:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 19:45:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 19:45:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 19:45:13] Production.INFO: call_cost start
[2025-01-09 19:45:13] Production.INFO: call_cost end
[2025-01-09 19:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 19:45:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 19:45:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 19:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 19:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 19:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 19:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 19:45:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 19:45:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 19:45:14] Production.INFO: ==30656== Releasing lock...
[2025-01-09 19:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 19:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 19:45:18] Production.INFO: count ==1956
[2025-01-09 19:45:19] Production.ERROR: pbx CDR StartTime 2025-01-09 16:45:05 - End Time 2025-01-09 19:45:05
[2025-01-09 19:45:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 19:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211801', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211801', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211801', 'tblTempVendorCDR_20' ) start
[2025-01-09 19:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211801', 'tblTempVendorCDR_20' ) end
[2025-01-09 19:45:19] Production.INFO: ProcessCDR(1,14211801,1,1,2)
[2025-01-09 19:45:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211801,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:45:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211801,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:45:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211801,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:45:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211801,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211801', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211801', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:45:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:45:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:45:22] Production.INFO: ==30664== Releasing lock...
[2025-01-09 19:45:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 19:45:22] Production.INFO: 42.75 MB #Memory Used#
[2025-01-10 00:46:01] Production.INFO: ==30719== Lock acquired, processing the job...
[2025-01-10 00:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 00:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 00:46:01] Production.INFO: neon service started
[2025-01-10 00:46:01] Production.INFO: neon service started
[2025-01-10 00:46:01] Production.INFO: ==30719== Releasing lock...
[2025-01-10 00:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 00:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 19:46:01] Production.INFO: ==30721== Lock acquired, processing the job...
[2025-01-09 19:46:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:46:02] Production.INFO: ==30721== Releasing lock...
[2025-01-09 19:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 19:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 00:46:02] Production.INFO: ==30723== Lock acquired, processing the job...
[2025-01-10 00:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 00:46:02] Production.INFO: ==30723== Releasing lock...
[2025-01-10 00:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 00:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 19:46:02] Production.INFO: ==30727== Lock acquired, processing the job...
[2025-01-09 19:46:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 19:46:03] Production.INFO: ==30731== Lock acquired, processing the job...
[2025-01-09 19:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 19:46:03] Production.INFO: Account Balance Start.
[2025-01-09 19:46:03] Production.INFO: CreateAllLog Start
[2025-01-09 19:46:03] Production.INFO: ==30725== Lock acquired, processing the job...
[2025-01-09 19:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 19:46:03] Production.INFO: 117
[2025-01-09 19:46:03] Production.INFO: ==30727== Releasing lock...
[2025-01-09 19:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 19:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 19:46:03] Production.INFO: Date 2025-01-08
[2025-01-09 19:46:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:46:03] Production.INFO: Date 2025-01-09
[2025-01-09 19:46:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:46:03] Production.INFO: ==30729== Lock acquired, processing the job...
[2025-01-09 19:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 19:46:03] Production.INFO: Total Charge 0
[2025-01-09 19:46:03] Production.INFO: ==30733== Lock acquired, processing the job...
[2025-01-09 19:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 19:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 19:46:03] Production.INFO: CreateAllLog End
[2025-01-09 19:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 19:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 19:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 19:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 19:46:03] Production.INFO: ==30735== Lock acquired, processing the job...
[2025-01-09 19:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 19:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 19:46:03] Production.INFO: count ==21
[2025-01-09 19:46:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 19:46:03] Production.INFO: count ==21
[2025-01-09 19:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211805') start
[2025-01-09 19:46:03] Production.ERROR: done
[2025-01-09 19:46:03] Production.INFO: Account Balance End.
[2025-01-09 19:46:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 19:46:03] Production.ERROR: CronJobId end 12
[2025-01-09 19:46:03] Production.INFO: ==30731== Releasing lock...
[2025-01-09 19:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 19:46:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 19:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211805') end
[2025-01-09 19:46:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 19:46:03] Production.INFO: 1
[2025-01-09 19:46:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 19:46:03] Production.INFO: ==30735== Releasing lock...
[2025-01-09 19:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 19:46:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 19:46:03] Production.ERROR: done
[2025-01-09 19:46:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 16:46:04
[end_date_ymd] => 2025-01-09 19:46:04
[RateCDR] => 1
)
[2025-01-09 19:46:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 16:46:04' and `end` < '2025-01-09 19:46:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 19:46:11] Production.ERROR: CronJobId end10
[2025-01-09 19:46:11] Production.INFO: ==30729== Releasing lock...
[2025-01-09 19:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 19:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 19:46:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 19:46:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 19:46:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 19:46:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 19:46:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 19:46:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 19:46:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 19:46:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 19:46:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 19:46:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 19:46:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 19:46:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 19:46:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 19:46:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 19:46:13] Production.INFO: call_cost start
[2025-01-09 19:46:13] Production.INFO: call_cost end
[2025-01-09 19:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 19:46:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 19:46:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 19:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 19:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 19:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 19:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 19:46:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 19:46:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 19:46:14] Production.INFO: ==30725== Releasing lock...
[2025-01-09 19:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 19:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 19:46:18] Production.INFO: count ==1952
[2025-01-09 19:46:19] Production.ERROR: pbx CDR StartTime 2025-01-09 16:46:04 - End Time 2025-01-09 19:46:04
[2025-01-09 19:46:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 19:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211806', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211806', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211806', 'tblTempVendorCDR_20' ) start
[2025-01-09 19:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211806', 'tblTempVendorCDR_20' ) end
[2025-01-09 19:46:19] Production.INFO: ProcessCDR(1,14211806,1,1,2)
[2025-01-09 19:46:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211806,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:46:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211806,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:46:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211806,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:46:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211806,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211806', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211806', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:46:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:46:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:46:22] Production.INFO: ==30733== Releasing lock...
[2025-01-09 19:46:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 19:46:22] Production.INFO: 42.75 MB #Memory Used#
[2025-01-10 00:47:01] Production.INFO: ==30791== Lock acquired, processing the job...
[2025-01-10 00:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 00:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 00:47:01] Production.INFO: neon service started
[2025-01-10 00:47:01] Production.INFO: neon service started
[2025-01-10 00:47:01] Production.INFO: ==30791== Releasing lock...
[2025-01-10 00:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 00:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:47:02] Production.INFO: ==30795== Lock acquired, processing the job...
[2025-01-10 00:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 00:47:02] Production.INFO: ==30795== Releasing lock...
[2025-01-10 00:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 00:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 19:47:02] Production.INFO: ==30793== Lock acquired, processing the job...
[2025-01-09 19:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:47:02] Production.INFO: ==30793== Releasing lock...
[2025-01-09 19:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 19:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:47:03] Production.INFO: ==30799== Lock acquired, processing the job...
[2025-01-09 19:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 19:47:03] Production.INFO: ==30803== Lock acquired, processing the job...
[2025-01-09 19:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 19:47:03] Production.INFO: ==30797== Lock acquired, processing the job...
[2025-01-09 19:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 19:47:03] Production.INFO: ==30801== Lock acquired, processing the job...
[2025-01-09 19:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 19:47:03] Production.INFO: ==30805== Lock acquired, processing the job...
[2025-01-09 19:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 19:47:03] Production.INFO: Account Balance Start.
[2025-01-09 19:47:03] Production.INFO: CreateAllLog Start
[2025-01-09 19:47:03] Production.INFO: 117
[2025-01-09 19:47:03] Production.INFO: Date 2025-01-08
[2025-01-09 19:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 19:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:47:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:47:03] Production.INFO: ==30807== Lock acquired, processing the job...
[2025-01-09 19:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 19:47:03] Production.INFO: ==30799== Releasing lock...
[2025-01-09 19:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 19:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 19:47:03] Production.INFO: Date 2025-01-09
[2025-01-09 19:47:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:47:03] Production.INFO: Total Charge 0
[2025-01-09 19:47:03] Production.INFO: CreateAllLog End
[2025-01-09 19:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 19:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 19:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 19:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 19:47:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 19:47:03] Production.INFO: count ==21
[2025-01-09 19:47:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 19:47:03] Production.INFO: count ==21
[2025-01-09 19:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211810') start
[2025-01-09 19:47:03] Production.ERROR: done
[2025-01-09 19:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 19:47:04] Production.INFO: Account Balance End.
[2025-01-09 19:47:04] Production.ERROR: done
[2025-01-09 19:47:04] Production.ERROR: CronJobId end 12
[2025-01-09 19:47:04] Production.INFO: ==30803== Releasing lock...
[2025-01-09 19:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 19:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 19:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211810') end
[2025-01-09 19:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 19:47:04] Production.INFO: 1
[2025-01-09 19:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 19:47:04] Production.INFO: ==30807== Releasing lock...
[2025-01-09 19:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 19:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 19:47:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 16:47:04
[end_date_ymd] => 2025-01-09 19:47:04
[RateCDR] => 1
)
[2025-01-09 19:47:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 16:47:04' and `end` < '2025-01-09 19:47:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 19:47:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 19:47:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 19:47:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 19:47:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 19:47:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 19:47:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 19:47:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 19:47:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 19:47:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 19:47:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 19:47:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 19:47:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 19:47:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 19:47:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 19:47:12] Production.INFO: call_cost start
[2025-01-09 19:47:12] Production.INFO: call_cost end
[2025-01-09 19:47:12] Production.ERROR: CronJobId end10
[2025-01-09 19:47:12] Production.INFO: ==30801== Releasing lock...
[2025-01-09 19:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 19:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 19:47:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 19:47:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 19:47:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 19:47:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 19:47:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 19:47:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 19:47:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 19:47:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 19:47:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 19:47:13] Production.INFO: ==30797== Releasing lock...
[2025-01-09 19:47:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 19:47:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 19:47:17] Production.INFO: count ==1945
[2025-01-09 19:47:18] Production.ERROR: pbx CDR StartTime 2025-01-09 16:47:04 - End Time 2025-01-09 19:47:04
[2025-01-09 19:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 19:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211811', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211811', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211811', 'tblTempVendorCDR_20' ) start
[2025-01-09 19:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211811', 'tblTempVendorCDR_20' ) end
[2025-01-09 19:47:18] Production.INFO: ProcessCDR(1,14211811,1,1,2)
[2025-01-09 19:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211811,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211811,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211811,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211811,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211811', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211811', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:47:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:47:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:47:21] Production.INFO: ==30805== Releasing lock...
[2025-01-09 19:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 19:47:21] Production.INFO: 42.5 MB #Memory Used#
[2025-01-10 00:48:02] Production.INFO: ==30861== Lock acquired, processing the job...
[2025-01-10 00:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 00:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 00:48:02] Production.INFO: neon service started
[2025-01-10 00:48:02] Production.INFO: neon service started
[2025-01-10 00:48:02] Production.INFO: ==30861== Releasing lock...
[2025-01-10 00:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 00:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 19:48:02] Production.INFO: ==30863== Lock acquired, processing the job...
[2025-01-09 19:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 00:48:02] Production.INFO: ==30865== Lock acquired, processing the job...
[2025-01-10 00:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 00:48:03] Production.INFO: ==30865== Releasing lock...
[2025-01-10 00:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 00:48:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 19:48:03] Production.INFO: ==30863== Releasing lock...
[2025-01-09 19:48:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 19:48:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:48:03] Production.INFO: ==30872== Lock acquired, processing the job...
[2025-01-09 19:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 19:48:03] Production.INFO: ==30870== Lock acquired, processing the job...
[2025-01-09 19:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 19:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 19:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 19:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 19:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 19:48:04] Production.INFO: ==30878== Lock acquired, processing the job...
[2025-01-09 19:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 19:48:04] Production.INFO: ==30868== Lock acquired, processing the job...
[2025-01-09 19:48:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 19:48:04] Production.INFO: ==30874== Lock acquired, processing the job...
[2025-01-09 19:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 19:48:04] Production.INFO: ==30870== Releasing lock...
[2025-01-09 19:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 19:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 19:48:04] Production.INFO: ==30876== Lock acquired, processing the job...
[2025-01-09 19:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 19:48:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 19:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 19:48:04] Production.INFO: count ==21
[2025-01-09 19:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 19:48:04] Production.INFO: count ==21
[2025-01-09 19:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211813') start
[2025-01-09 19:48:04] Production.INFO: Account Balance Start.
[2025-01-09 19:48:04] Production.INFO: CreateAllLog Start
[2025-01-09 19:48:04] Production.INFO: 117
[2025-01-09 19:48:04] Production.INFO: Date 2025-01-08
[2025-01-09 19:48:04] Production.INFO: Reseller ==> 0
[2025-01-09 19:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211813') end
[2025-01-09 19:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 19:48:04] Production.INFO: 1
[2025-01-09 19:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 19:48:04] Production.INFO: Date 2025-01-09
[2025-01-09 19:48:04] Production.INFO: Reseller ==> 0
[2025-01-09 19:48:04] Production.INFO: Total Charge 0
[2025-01-09 19:48:04] Production.INFO: CreateAllLog End
[2025-01-09 19:48:04] Production.INFO: ==30878== Releasing lock...
[2025-01-09 19:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 19:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 19:48:04] Production.ERROR: done
[2025-01-09 19:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 19:48:05] Production.ERROR: done
[2025-01-09 19:48:05] Production.INFO: Account Balance End.
[2025-01-09 19:48:05] Production.ERROR: CronJobId end 12
[2025-01-09 19:48:05] Production.INFO: ==30874== Releasing lock...
[2025-01-09 19:48:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 19:48:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 19:48:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 16:48:06
[end_date_ymd] => 2025-01-09 19:48:06
[RateCDR] => 1
)
[2025-01-09 19:48:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 16:48:06' and `end` < '2025-01-09 19:48:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 19:48:11] Production.ERROR: CronJobId end10
[2025-01-09 19:48:11] Production.INFO: ==30872== Releasing lock...
[2025-01-09 19:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 19:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 19:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 19:48:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 19:48:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 19:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 19:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 19:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 19:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 19:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 19:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 19:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 19:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 19:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 19:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 19:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 19:48:13] Production.INFO: call_cost start
[2025-01-09 19:48:13] Production.INFO: call_cost end
[2025-01-09 19:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 19:48:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 19:48:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 19:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 19:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 19:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 19:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 19:48:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 19:48:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 19:48:14] Production.INFO: ==30868== Releasing lock...
[2025-01-09 19:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 19:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 19:48:19] Production.INFO: count ==1922
[2025-01-09 19:48:19] Production.ERROR: pbx CDR StartTime 2025-01-09 16:48:06 - End Time 2025-01-09 19:48:06
[2025-01-09 19:48:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 19:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211816', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211816', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211816', 'tblTempVendorCDR_20' ) start
[2025-01-09 19:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211816', 'tblTempVendorCDR_20' ) end
[2025-01-09 19:48:19] Production.INFO: ProcessCDR(1,14211816,1,1,2)
[2025-01-09 19:48:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211816,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:48:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211816,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:48:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211816,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211816,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211816', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211816', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:48:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:48:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:48:22] Production.INFO: ==30876== Releasing lock...
[2025-01-09 19:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 19:48:22] Production.INFO: 42.75 MB #Memory Used#
[2025-01-10 00:49:01] Production.INFO: ==30932== Lock acquired, processing the job...
[2025-01-10 00:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 00:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 00:49:01] Production.INFO: neon service started
[2025-01-10 00:49:01] Production.INFO: neon service started
[2025-01-10 00:49:01] Production.INFO: ==30932== Releasing lock...
[2025-01-10 00:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 00:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 19:49:02] Production.INFO: ==30934== Lock acquired, processing the job...
[2025-01-09 19:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 00:49:02] Production.INFO: ==30936== Lock acquired, processing the job...
[2025-01-10 00:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 00:49:02] Production.INFO: ==30936== Releasing lock...
[2025-01-10 00:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 00:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 19:49:02] Production.INFO: ==30934== Releasing lock...
[2025-01-09 19:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 19:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:49:03] Production.INFO: ==30946== Lock acquired, processing the job...
[2025-01-09 19:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 19:49:03] Production.INFO: ==30938== Lock acquired, processing the job...
[2025-01-09 19:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 19:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:49:03] Production.INFO: ==30940== Lock acquired, processing the job...
[2025-01-09 19:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 19:49:03] Production.INFO: ==30948== Lock acquired, processing the job...
[2025-01-09 19:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 19:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 19:49:03] Production.INFO: ==30942== Lock acquired, processing the job...
[2025-01-09 19:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 19:49:03] Production.INFO: ==30944== Lock acquired, processing the job...
[2025-01-09 19:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 19:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 19:49:03] Production.INFO: Account Balance Start.
[2025-01-09 19:49:03] Production.INFO: CreateAllLog Start
[2025-01-09 19:49:03] Production.INFO: 117
[2025-01-09 19:49:03] Production.INFO: count ==21
[2025-01-09 19:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 19:49:03] Production.INFO: count ==21
[2025-01-09 19:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 19:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 19:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 19:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211818') start
[2025-01-09 19:49:03] Production.INFO: Date 2025-01-08
[2025-01-09 19:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 19:49:03] Production.ERROR: done
[2025-01-09 19:49:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 19:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211818') end
[2025-01-09 19:49:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 19:49:03] Production.INFO: 1
[2025-01-09 19:49:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 19:49:03] Production.INFO: ==30940== Releasing lock...
[2025-01-09 19:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 19:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 19:49:03] Production.ERROR: done
[2025-01-09 19:49:03] Production.INFO: Date 2025-01-09
[2025-01-09 19:49:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:49:03] Production.INFO: ==30948== Releasing lock...
[2025-01-09 19:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 19:49:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 19:49:03] Production.INFO: Total Charge 0
[2025-01-09 19:49:03] Production.INFO: CreateAllLog End
[2025-01-09 19:49:04] Production.INFO: Account Balance End.
[2025-01-09 19:49:04] Production.ERROR: CronJobId end 12
[2025-01-09 19:49:04] Production.INFO: ==30944== Releasing lock...
[2025-01-09 19:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 19:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 19:49:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 16:49:04
[end_date_ymd] => 2025-01-09 19:49:04
[RateCDR] => 1
)
[2025-01-09 19:49:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 16:49:04' and `end` < '2025-01-09 19:49:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 19:49:12] Production.ERROR: CronJobId end10
[2025-01-09 19:49:12] Production.INFO: ==30942== Releasing lock...
[2025-01-09 19:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 19:49:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 19:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 19:49:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 19:49:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 19:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 19:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 19:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 19:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 19:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 19:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 19:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 19:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 19:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 19:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 19:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 19:49:13] Production.INFO: call_cost start
[2025-01-09 19:49:13] Production.INFO: call_cost end
[2025-01-09 19:49:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 19:49:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 19:49:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 19:49:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 19:49:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 19:49:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 19:49:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 19:49:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 19:49:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 19:49:14] Production.INFO: ==30938== Releasing lock...
[2025-01-09 19:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 19:49:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 19:49:17] Production.INFO: count ==1922
[2025-01-09 19:49:18] Production.ERROR: pbx CDR StartTime 2025-01-09 16:49:04 - End Time 2025-01-09 19:49:04
[2025-01-09 19:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 19:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211821', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211821', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211821', 'tblTempVendorCDR_20' ) start
[2025-01-09 19:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211821', 'tblTempVendorCDR_20' ) end
[2025-01-09 19:49:18] Production.INFO: ProcessCDR(1,14211821,1,1,2)
[2025-01-09 19:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211821,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:49:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211821,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:49:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211821,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:49:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211821,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211821', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211821', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:49:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:49:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:49:22] Production.INFO: ==30946== Releasing lock...
[2025-01-09 19:49:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 19:49:22] Production.INFO: 42.75 MB #Memory Used#
[2025-01-10 00:50:02] Production.INFO: ==31042== Lock acquired, processing the job...
[2025-01-10 00:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 00:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 00:50:02] Production.INFO: neon service started
[2025-01-10 00:50:02] Production.INFO: neon service started
[2025-01-10 00:50:02] Production.INFO: ==31042== Releasing lock...
[2025-01-10 00:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 00:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:50:02] Production.INFO: ==31046== Lock acquired, processing the job...
[2025-01-10 00:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 00:50:02] Production.INFO: ==31046== Releasing lock...
[2025-01-10 00:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 00:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 19:50:02] Production.INFO: ==31044== Lock acquired, processing the job...
[2025-01-09 19:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:50:03] Production.INFO: ==31044== Releasing lock...
[2025-01-09 19:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 19:50:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:50:03] Production.INFO: ==31049== Lock acquired, processing the job...
[2025-01-09 19:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 19:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 19:50:03] Production.INFO: ==31053== Lock acquired, processing the job...
[2025-01-09 19:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 19:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 19:50:03] Production.INFO: ==31049== Releasing lock...
[2025-01-09 19:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 19:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 19:50:04] Production.INFO: ==31055== Lock acquired, processing the job...
[2025-01-09 19:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 19:50:04] Production.INFO: ==31051== Lock acquired, processing the job...
[2025-01-09 19:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 19:50:04] Production.INFO: ==31061== Lock acquired, processing the job...
[2025-01-09 19:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 19:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 19:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 19:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 19:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 19:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 19:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:50:04] Production.INFO: ==31053== Releasing lock...
[2025-01-09 19:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 19:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 19:50:04] Production.INFO: ==31057== Lock acquired, processing the job...
[2025-01-09 19:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 19:50:04] Production.INFO: ==31059== Lock acquired, processing the job...
[2025-01-09 19:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 19:50:04] Production.INFO: ==31063== Lock acquired, processing the job...
[2025-01-09 19:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 19:50:04] Production.INFO: Account Balance Start.
[2025-01-09 19:50:04] Production.INFO: CreateAllLog Start
[2025-01-09 19:50:04] Production.INFO: 117
[2025-01-09 19:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:50:04] Production.ERROR: done
[2025-01-09 19:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 19:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14211825', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 19:50:04] Production.INFO: Date 2025-01-08
[2025-01-09 19:50:04] Production.INFO: Reseller ==> 0
[2025-01-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-01-09 19:50:04] Production.INFO: Date 2025-01-09
[2025-01-09 19:50:04] Production.INFO: Reseller ==> 0
[2025-01-09 19:50:04] Production.INFO: count ==21
[2025-01-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-01-09 19:50:04] Production.INFO: count ==21
[2025-01-09 19:50:04] Production.INFO: Total Charge 0
[2025-01-09 19:50:04] Production.ERROR: done
[2025-01-09 19:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 19:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211826') start
[2025-01-09 19:50:04] Production.INFO: CreateAllLog End
[2025-01-09 19:50:05] Production.ERROR: done
[2025-01-09 19:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14211826') end
[2025-01-09 19:50:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 19:50:05] Production.INFO: 1
[2025-01-09 19:50:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 19:50:05] Production.INFO: ==31063== Releasing lock...
[2025-01-09 19:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 19:50:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 19:50:05] Production.INFO: Account Balance End.
[2025-01-09 19:50:05] Production.ERROR: CronJobId end 12
[2025-01-09 19:50:05] Production.INFO: ==31057== Releasing lock...
[2025-01-09 19:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 19:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 19:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 16:50:06
[end_date_ymd] => 2025-01-09 19:50:06
[RateCDR] => 1
)
[2025-01-09 19:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 16:50:06' and `end` < '2025-01-09 19:50:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 19:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14211825', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 19:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 19:50:08] Production.INFO: ProcessCDR(1,14211825,1,1,2)
[2025-01-09 19:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14211825,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14211825,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:50:08] Production.INFO: ==31061== Releasing lock...
[2025-01-09 19:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 19:50:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 19:50:14] Production.ERROR: CronJobId end10
[2025-01-09 19:50:14] Production.INFO: ==31055== Releasing lock...
[2025-01-09 19:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 19:50:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 19:50:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 19:50:16] Production.INFO: ============== Balance Warning START===========
[2025-01-09 19:50:16] Production.INFO: ============== Balance Warning END===========
[2025-01-09 19:50:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 19:50:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 19:50:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 19:50:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 19:50:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 19:50:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 19:50:16] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 19:50:16] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 19:50:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 19:50:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 19:50:16] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 19:50:16] Production.INFO: call_cost start
[2025-01-09 19:50:16] Production.INFO: call_cost end
[2025-01-09 19:50:17] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 19:50:17] Production.INFO: ============== Report Schedule START===========
[2025-01-09 19:50:17] Production.INFO: ============== Report Schedule END===========
[2025-01-09 19:50:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 19:50:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 19:50:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 19:50:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 19:50:17] Production.INFO: ============== Deal alert START===========
[2025-01-09 19:50:17] Production.INFO: ============== Deal alert END===========
[2025-01-09 19:50:17] Production.INFO: ==31051== Releasing lock...
[2025-01-09 19:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 19:50:17] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 19:50:19] Production.INFO: count ==1914
[2025-01-09 19:50:19] Production.ERROR: pbx CDR StartTime 2025-01-09 16:50:06 - End Time 2025-01-09 19:50:06
[2025-01-09 19:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 19:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211827', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211827', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211827', 'tblTempVendorCDR_20' ) start
[2025-01-09 19:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211827', 'tblTempVendorCDR_20' ) end
[2025-01-09 19:50:20] Production.INFO: ProcessCDR(1,14211827,1,1,2)
[2025-01-09 19:50:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211827,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:50:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211827,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:50:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211827,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:50:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211827,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:50:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211827', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:50:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211827', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:50:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:50:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:50:24] Production.INFO: ==31059== Releasing lock...
[2025-01-09 19:50:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 19:50:24] Production.INFO: 42.25 MB #Memory Used#
[2025-01-10 00:51:01] Production.INFO: ==31120== Lock acquired, processing the job...
[2025-01-10 00:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 00:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 00:51:01] Production.INFO: neon service started
[2025-01-10 00:51:01] Production.INFO: neon service started
[2025-01-10 00:51:01] Production.INFO: ==31120== Releasing lock...
[2025-01-10 00:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 00:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 19:51:01] Production.INFO: ==31122== Lock acquired, processing the job...
[2025-01-09 19:51:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:51:02] Production.INFO: ==31122== Releasing lock...
[2025-01-09 19:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 19:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 00:51:02] Production.INFO: ==31124== Lock acquired, processing the job...
[2025-01-10 00:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 00:51:02] Production.INFO: ==31124== Releasing lock...
[2025-01-10 00:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 00:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 19:51:03] Production.INFO: ==31126== Lock acquired, processing the job...
[2025-01-09 19:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 19:51:03] Production.INFO: ==31134== Lock acquired, processing the job...
[2025-01-09 19:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 19:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:51:03] Production.INFO: ==31128== Lock acquired, processing the job...
[2025-01-09 19:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 19:51:03] Production.INFO: ==31136== Lock acquired, processing the job...
[2025-01-09 19:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 19:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 19:51:03] Production.INFO: ==31130== Lock acquired, processing the job...
[2025-01-09 19:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 19:51:03] Production.INFO: ==31132== Lock acquired, processing the job...
[2025-01-09 19:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 19:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 19:51:03] Production.INFO: count ==21
[2025-01-09 19:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 19:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 19:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 19:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 19:51:03] Production.INFO: count ==21
[2025-01-09 19:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 19:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211829') start
[2025-01-09 19:51:03] Production.INFO: Account Balance Start.
[2025-01-09 19:51:03] Production.INFO: CreateAllLog Start
[2025-01-09 19:51:03] Production.INFO: 117
[2025-01-09 19:51:03] Production.INFO: Date 2025-01-08
[2025-01-09 19:51:03] Production.ERROR: done
[2025-01-09 19:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 19:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211829') end
[2025-01-09 19:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 19:51:03] Production.INFO: 1
[2025-01-09 19:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 19:51:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:51:03] Production.INFO: ==31136== Releasing lock...
[2025-01-09 19:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 19:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 19:51:03] Production.INFO: Date 2025-01-09
[2025-01-09 19:51:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:51:03] Production.ERROR: done
[2025-01-09 19:51:03] Production.INFO: Total Charge 0
[2025-01-09 19:51:03] Production.INFO: CreateAllLog End
[2025-01-09 19:51:03] Production.INFO: ==31128== Releasing lock...
[2025-01-09 19:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 19:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 19:51:03] Production.INFO: Account Balance End.
[2025-01-09 19:51:03] Production.ERROR: CronJobId end 12
[2025-01-09 19:51:03] Production.INFO: ==31132== Releasing lock...
[2025-01-09 19:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 19:51:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 19:51:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 16:51:04
[end_date_ymd] => 2025-01-09 19:51:04
[RateCDR] => 1
)
[2025-01-09 19:51:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 16:51:04' and `end` < '2025-01-09 19:51:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 19:51:11] Production.ERROR: CronJobId end10
[2025-01-09 19:51:11] Production.INFO: ==31130== Releasing lock...
[2025-01-09 19:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 19:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 19:51:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 19:51:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 19:51:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 19:51:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 19:51:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 19:51:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 19:51:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 19:51:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 19:51:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 19:51:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 19:51:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 19:51:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 19:51:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 19:51:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 19:51:12] Production.INFO: call_cost start
[2025-01-09 19:51:13] Production.INFO: call_cost end
[2025-01-09 19:51:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 19:51:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 19:51:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 19:51:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 19:51:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 19:51:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 19:51:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 19:51:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 19:51:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 19:51:13] Production.INFO: ==31126== Releasing lock...
[2025-01-09 19:51:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 19:51:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 19:51:18] Production.INFO: count ==1911
[2025-01-09 19:51:18] Production.ERROR: pbx CDR StartTime 2025-01-09 16:51:04 - End Time 2025-01-09 19:51:04
[2025-01-09 19:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 19:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211832', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211832', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211832', 'tblTempVendorCDR_20' ) start
[2025-01-09 19:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211832', 'tblTempVendorCDR_20' ) end
[2025-01-09 19:51:18] Production.INFO: ProcessCDR(1,14211832,1,1,2)
[2025-01-09 19:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211832,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211832,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211832,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:51:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211832,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211832', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211832', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:51:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:51:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:51:21] Production.INFO: ==31134== Releasing lock...
[2025-01-09 19:51:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 19:51:21] Production.INFO: 42.25 MB #Memory Used#
[2025-01-10 00:52:01] Production.INFO: ==31194== Lock acquired, processing the job...
[2025-01-10 00:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 00:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 00:52:02] Production.INFO: neon service started
[2025-01-10 00:52:02] Production.INFO: neon service started
[2025-01-10 00:52:02] Production.INFO: ==31194== Releasing lock...
[2025-01-10 00:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 00:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 19:52:02] Production.INFO: ==31196== Lock acquired, processing the job...
[2025-01-09 19:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:52:02] Production.INFO: ==31196== Releasing lock...
[2025-01-09 19:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 19:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 00:52:02] Production.INFO: ==31198== Lock acquired, processing the job...
[2025-01-10 00:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 00:52:02] Production.INFO: ==31198== Releasing lock...
[2025-01-10 00:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 00:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 19:52:03] Production.INFO: ==31201== Lock acquired, processing the job...
[2025-01-09 19:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 19:52:03] Production.INFO: ==31203== Lock acquired, processing the job...
[2025-01-09 19:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 19:52:03] Production.INFO: ==31207== Lock acquired, processing the job...
[2025-01-09 19:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 19:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 19:52:03] Production.INFO: ==31205== Lock acquired, processing the job...
[2025-01-09 19:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 19:52:03] Production.INFO: Account Balance Start.
[2025-01-09 19:52:03] Production.INFO: CreateAllLog Start
[2025-01-09 19:52:03] Production.INFO: 117
[2025-01-09 19:52:03] Production.INFO: Date 2025-01-08
[2025-01-09 19:52:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:52:03] Production.INFO: ==31203== Releasing lock...
[2025-01-09 19:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 19:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 19:52:03] Production.INFO: ==31209== Lock acquired, processing the job...
[2025-01-09 19:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 19:52:03] Production.INFO: Date 2025-01-09
[2025-01-09 19:52:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 19:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 19:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 19:52:03] Production.INFO: Total Charge 0
[2025-01-09 19:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 19:52:03] Production.INFO: ==31211== Lock acquired, processing the job...
[2025-01-09 19:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 19:52:03] Production.INFO: CreateAllLog End
[2025-01-09 19:52:03] Production.INFO: Account Balance End.
[2025-01-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-01-09 19:52:03] Production.ERROR: done
[2025-01-09 19:52:03] Production.ERROR: CronJobId end 12
[2025-01-09 19:52:03] Production.INFO: ==31207== Releasing lock...
[2025-01-09 19:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 19:52:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 19:52:03] Production.INFO: count ==21
[2025-01-09 19:52:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-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-01-09 19:52:03] Production.INFO: count ==21
[2025-01-09 19:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211836') start
[2025-01-09 19:52:04] Production.ERROR: done
[2025-01-09 19:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211836') end
[2025-01-09 19:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 19:52:04] Production.INFO: 1
[2025-01-09 19:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 19:52:04] Production.INFO: ==31211== Releasing lock...
[2025-01-09 19:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 19:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 19:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 16:52:04
[end_date_ymd] => 2025-01-09 19:52:04
[RateCDR] => 1
)
[2025-01-09 19:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 16:52:04' and `end` < '2025-01-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-01-09 19:52:12] Production.ERROR: CronJobId end10
[2025-01-09 19:52:12] Production.INFO: ==31205== Releasing lock...
[2025-01-09 19:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 19:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 19:52:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 19:52:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 19:52:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 19:52:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 19:52:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 19:52:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 19:52:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 19:52:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 19:52:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 19:52:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 19:52:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 19:52:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 19:52:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 19:52:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 19:52:14] Production.INFO: call_cost start
[2025-01-09 19:52:14] Production.INFO: call_cost end
[2025-01-09 19:52:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 19:52:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 19:52:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 19:52:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 19:52:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 19:52:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 19:52:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 19:52:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 19:52:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 19:52:14] Production.INFO: ==31201== Releasing lock...
[2025-01-09 19:52:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 19:52:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 19:52:18] Production.INFO: count ==1907
[2025-01-09 19:52:18] Production.ERROR: pbx CDR StartTime 2025-01-09 16:52:04 - End Time 2025-01-09 19:52:04
[2025-01-09 19:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 19:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211837', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211837', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211837', 'tblTempVendorCDR_20' ) start
[2025-01-09 19:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211837', 'tblTempVendorCDR_20' ) end
[2025-01-09 19:52:18] Production.INFO: ProcessCDR(1,14211837,1,1,2)
[2025-01-09 19:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211837,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211837,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211837,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:52:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211837,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211837', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211837', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:52:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:52:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:52:21] Production.INFO: ==31209== Releasing lock...
[2025-01-09 19:52:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 19:52:21] Production.INFO: 42.25 MB #Memory Used#
[2025-01-10 00:53:01] Production.INFO: ==31266== Lock acquired, processing the job...
[2025-01-10 00:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 00:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 00:53:01] Production.INFO: neon service started
[2025-01-10 00:53:01] Production.INFO: neon service started
[2025-01-10 00:53:01] Production.INFO: ==31266== Releasing lock...
[2025-01-10 00:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 00:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 19:53:01] Production.INFO: ==31268== Lock acquired, processing the job...
[2025-01-09 19:53:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:53:02] Production.INFO: ==31268== Releasing lock...
[2025-01-09 19:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 19:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 00:53:02] Production.INFO: ==31270== Lock acquired, processing the job...
[2025-01-10 00:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 00:53:02] Production.INFO: ==31270== Releasing lock...
[2025-01-10 00:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 00:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 19:53:02] Production.INFO: ==31277== Lock acquired, processing the job...
[2025-01-09 19:53:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 19:53:02] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 19:53:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 19:53:02] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 19:53:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 19:53:02] Production.INFO: ==31273== Lock acquired, processing the job...
[2025-01-09 19:53:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 19:53:02] Production.INFO: ==31283== Lock acquired, processing the job...
[2025-01-09 19:53:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 19:53:02] Production.INFO: ==31275== Lock acquired, processing the job...
[2025-01-09 19:53:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 19:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 19:53:03] Production.INFO: ==31279== Lock acquired, processing the job...
[2025-01-09 19:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 19:53:03] Production.INFO: ==31281== Lock acquired, processing the job...
[2025-01-09 19:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 19:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 19:53:03] Production.INFO: count ==21
[2025-01-09 19:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 19:53:03] Production.INFO: count ==21
[2025-01-09 19:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211839') start
[2025-01-09 19:53:03] Production.INFO: Account Balance Start.
[2025-01-09 19:53:03] Production.INFO: CreateAllLog Start
[2025-01-09 19:53:03] Production.INFO: 117
[2025-01-09 19:53:03] Production.INFO: Date 2025-01-08
[2025-01-09 19:53:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:53:03] Production.INFO: Date 2025-01-09
[2025-01-09 19:53:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:53:03] Production.INFO: Total Charge 0
[2025-01-09 19:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211839') end
[2025-01-09 19:53:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 19:53:03] Production.INFO: 1
[2025-01-09 19:53:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 19:53:03] Production.INFO: CreateAllLog End
[2025-01-09 19:53:03] Production.INFO: ==31283== Releasing lock...
[2025-01-09 19:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 19:53:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 19:53:03] Production.ERROR: done
[2025-01-09 19:53:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 19:53:03] Production.INFO: Account Balance End.
[2025-01-09 19:53:03] Production.ERROR: CronJobId end 12
[2025-01-09 19:53:03] Production.INFO: ==31279== Releasing lock...
[2025-01-09 19:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 19:53:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 19:53:03] Production.INFO: ==31275== Releasing lock...
[2025-01-09 19:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 19:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 19:53:03] Production.ERROR: done
[2025-01-09 19:53:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 16:53:04
[end_date_ymd] => 2025-01-09 19:53:04
[RateCDR] => 1
)
[2025-01-09 19:53:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 16:53:04' and `end` < '2025-01-09 19:53:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 19:53:11] Production.ERROR: CronJobId end10
[2025-01-09 19:53:11] Production.INFO: ==31277== Releasing lock...
[2025-01-09 19:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 19:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 19:53:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 19:53:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 19:53:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 19:53:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 19:53:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 19:53:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 19:53:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 19:53:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 19:53:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 19:53:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 19:53:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 19:53:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 19:53:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 19:53:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 19:53:12] Production.INFO: call_cost start
[2025-01-09 19:53:12] Production.INFO: call_cost end
[2025-01-09 19:53:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 19:53:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 19:53:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 19:53:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 19:53:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 19:53:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 19:53:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 19:53:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 19:53:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 19:53:13] Production.INFO: ==31273== Releasing lock...
[2025-01-09 19:53:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 19:53:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 19:53:17] Production.INFO: count ==1899
[2025-01-09 19:53:18] Production.ERROR: pbx CDR StartTime 2025-01-09 16:53:04 - End Time 2025-01-09 19:53:04
[2025-01-09 19:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 19:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211842', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211842', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211842', 'tblTempVendorCDR_20' ) start
[2025-01-09 19:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211842', 'tblTempVendorCDR_20' ) end
[2025-01-09 19:53:18] Production.INFO: ProcessCDR(1,14211842,1,1,2)
[2025-01-09 19:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211842,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211842,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211842,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:53:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211842,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211842', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211842', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:53:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:53:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:53:21] Production.INFO: ==31281== Releasing lock...
[2025-01-09 19:53:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 19:53:21] Production.INFO: 42.5 MB #Memory Used#
[2025-01-10 00:54:01] Production.INFO: ==31337== Lock acquired, processing the job...
[2025-01-10 00:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 00:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 00:54:01] Production.INFO: neon service started
[2025-01-10 00:54:01] Production.INFO: neon service started
[2025-01-10 00:54:01] Production.INFO: ==31337== Releasing lock...
[2025-01-10 00:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 00:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 19:54:02] Production.INFO: ==31339== Lock acquired, processing the job...
[2025-01-09 19:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:54:02] Production.INFO: ==31339== Releasing lock...
[2025-01-09 19:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 19:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 00:54:02] Production.INFO: ==31341== Lock acquired, processing the job...
[2025-01-10 00:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 00:54:02] Production.INFO: ==31341== Releasing lock...
[2025-01-10 00:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 00:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 19:54:03] Production.INFO: ==31344== Lock acquired, processing the job...
[2025-01-09 19:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 19:54:03] Production.INFO: ==31350== Lock acquired, processing the job...
[2025-01-09 19:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 19:54:03] Production.INFO: ==31346== Lock acquired, processing the job...
[2025-01-09 19:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 19:54:03] Production.INFO: ==31348== Lock acquired, processing the job...
[2025-01-09 19:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 19:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 19:54:03] Production.INFO: Account Balance Start.
[2025-01-09 19:54:03] Production.INFO: CreateAllLog Start
[2025-01-09 19:54:03] Production.INFO: 117
[2025-01-09 19:54:03] Production.INFO: Date 2025-01-08
[2025-01-09 19:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 19:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 19:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 19:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 19:54:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:54:03] Production.INFO: Date 2025-01-09
[2025-01-09 19:54:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:54:03] Production.INFO: ==31352== Lock acquired, processing the job...
[2025-01-09 19:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 19:54:03] Production.INFO: Total Charge 0
[2025-01-09 19:54:03] Production.INFO: ==31346== Releasing lock...
[2025-01-09 19:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 19:54:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 19:54:03] Production.INFO: CreateAllLog End
[2025-01-09 19:54:03] Production.INFO: ==31354== Lock acquired, processing the job...
[2025-01-09 19:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 19:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-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-01-09 19:54:03] Production.INFO: count ==21
[2025-01-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-01-09 19:54:03] Production.INFO: Account Balance End.
[2025-01-09 19:54:03] Production.INFO: count ==21
[2025-01-09 19:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211846') start
[2025-01-09 19:54:03] Production.ERROR: CronJobId end 12
[2025-01-09 19:54:03] Production.INFO: ==31350== Releasing lock...
[2025-01-09 19:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 19:54:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 19:54:04] Production.ERROR: done
[2025-01-09 19:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 19:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211846') end
[2025-01-09 19:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 19:54:04] Production.INFO: 1
[2025-01-09 19:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 19:54:04] Production.ERROR: done
[2025-01-09 19:54:04] Production.INFO: ==31354== Releasing lock...
[2025-01-09 19:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 19:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 19:54:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 16:54:04
[end_date_ymd] => 2025-01-09 19:54:04
[RateCDR] => 1
)
[2025-01-09 19:54:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 16:54:04' and `end` < '2025-01-09 19:54:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 19:54:11] Production.ERROR: CronJobId end10
[2025-01-09 19:54:11] Production.INFO: ==31348== Releasing lock...
[2025-01-09 19:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 19:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 19:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 19:54:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 19:54:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 19:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 19:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 19:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 19:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 19:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 19:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 19:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 19:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 19:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 19:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 19:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 19:54:13] Production.INFO: call_cost start
[2025-01-09 19:54:13] Production.INFO: call_cost end
[2025-01-09 19:54:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 19:54:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 19:54:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 19:54:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 19:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 19:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 19:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 19:54:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 19:54:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 19:54:14] Production.INFO: ==31344== Releasing lock...
[2025-01-09 19:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 19:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 19:54:18] Production.INFO: count ==1889
[2025-01-09 19:54:19] Production.ERROR: pbx CDR StartTime 2025-01-09 16:54:04 - End Time 2025-01-09 19:54:04
[2025-01-09 19:54:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 19:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211847', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211847', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211847', 'tblTempVendorCDR_20' ) start
[2025-01-09 19:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211847', 'tblTempVendorCDR_20' ) end
[2025-01-09 19:54:19] Production.INFO: ProcessCDR(1,14211847,1,1,2)
[2025-01-09 19:54:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211847,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:54:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211847,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:54:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211847,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211847,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211847', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211847', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:54:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:54:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:54:22] Production.INFO: ==31352== Releasing lock...
[2025-01-09 19:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 19:54:22] Production.INFO: 42.25 MB #Memory Used#
[2025-01-10 00:55:02] Production.INFO: ==31407== Lock acquired, processing the job...
[2025-01-10 00:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 00:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 00:55:02] Production.INFO: neon service started
[2025-01-10 00:55:02] Production.INFO: neon service started
[2025-01-10 00:55:02] Production.INFO: ==31407== Releasing lock...
[2025-01-10 00:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 00:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:55:02] Production.INFO: ==31411== Lock acquired, processing the job...
[2025-01-10 00:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 00:55:02] Production.INFO: ==31411== Releasing lock...
[2025-01-10 00:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 00:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 19:55:02] Production.INFO: ==31409== Lock acquired, processing the job...
[2025-01-09 19:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:55:03] Production.INFO: ==31409== Releasing lock...
[2025-01-09 19:55:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 19:55:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:55:03] Production.INFO: ==31417== Lock acquired, processing the job...
[2025-01-09 19:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 19:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 19:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 19:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 19:55:03] Production.INFO: ==31423== Lock acquired, processing the job...
[2025-01-09 19:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 19:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 19:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 19:55:04] Production.INFO: count ==21
[2025-01-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-01-09 19:55:04] Production.INFO: count ==21
[2025-01-09 19:55:04] Production.INFO: ==31413== Lock acquired, processing the job...
[2025-01-09 19:55:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 19:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211848') start
[2025-01-09 19:55:04] Production.INFO: ==31415== Lock acquired, processing the job...
[2025-01-09 19:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 19:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211848') end
[2025-01-09 19:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 19:55:04] Production.INFO: 1
[2025-01-09 19:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 19:55:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 19:55:04] Production.INFO: ==31421== Lock acquired, processing the job...
[2025-01-09 19:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 19:55:04] Production.INFO: ==31423== Releasing lock...
[2025-01-09 19:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 19:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 19:55:04] Production.INFO: ==31419== Lock acquired, processing the job...
[2025-01-09 19:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 19:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:55:04] Production.INFO: Account Balance Start.
[2025-01-09 19:55:04] Production.INFO: CreateAllLog Start
[2025-01-09 19:55:04] Production.INFO: 117
[2025-01-09 19:55:04] Production.INFO: Date 2025-01-08
[2025-01-09 19:55:04] Production.INFO: Reseller ==> 0
[2025-01-09 19:55:04] Production.ERROR: done
[2025-01-09 19:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 19:55:04] Production.INFO: ==31415== Releasing lock...
[2025-01-09 19:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 19:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 19:55:04] Production.INFO: Date 2025-01-09
[2025-01-09 19:55:04] Production.INFO: Reseller ==> 0
[2025-01-09 19:55:04] Production.INFO: Total Charge 0
[2025-01-09 19:55:04] Production.INFO: CreateAllLog End
[2025-01-09 19:55:04] Production.ERROR: done
[2025-01-09 19:55:04] Production.INFO: Account Balance End.
[2025-01-09 19:55:04] Production.ERROR: CronJobId end 12
[2025-01-09 19:55:04] Production.INFO: ==31419== Releasing lock...
[2025-01-09 19:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 19:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 19:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 16:55:05
[end_date_ymd] => 2025-01-09 19:55:05
[RateCDR] => 1
)
[2025-01-09 19:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 16:55:05' and `end` < '2025-01-09 19:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 19:55:12] Production.ERROR: CronJobId end10
[2025-01-09 19:55:12] Production.INFO: ==31417== Releasing lock...
[2025-01-09 19:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 19:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 19:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 19:55:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 19:55:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 19:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 19:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 19:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 19:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 19:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 19:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 19:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 19:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 19:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 19:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 19:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 19:55:13] Production.INFO: call_cost start
[2025-01-09 19:55:13] Production.INFO: call_cost end
[2025-01-09 19:55:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 19:55:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 19:55:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 19:55:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 19:55:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 19:55:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 19:55:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 19:55:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 19:55:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 19:55:14] Production.INFO: ==31413== Releasing lock...
[2025-01-09 19:55:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 19:55:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 19:55:18] Production.INFO: count ==1881
[2025-01-09 19:55:19] Production.ERROR: pbx CDR StartTime 2025-01-09 16:55:05 - End Time 2025-01-09 19:55:05
[2025-01-09 19:55:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 19:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211852', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211852', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211852', 'tblTempVendorCDR_20' ) start
[2025-01-09 19:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211852', 'tblTempVendorCDR_20' ) end
[2025-01-09 19:55:19] Production.INFO: ProcessCDR(1,14211852,1,1,2)
[2025-01-09 19:55:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211852,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:55:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211852,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:55:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211852,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:55:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211852,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:55:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211852', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:55:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211852', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:55:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:55:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:55:23] Production.INFO: ==31421== Releasing lock...
[2025-01-09 19:55:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 19:55:23] Production.INFO: 42.25 MB #Memory Used#
[2025-01-10 00:56:01] Production.INFO: ==31476== Lock acquired, processing the job...
[2025-01-10 00:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 00:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 00:56:01] Production.INFO: neon service started
[2025-01-10 00:56:01] Production.INFO: neon service started
[2025-01-10 00:56:01] Production.INFO: ==31476== Releasing lock...
[2025-01-10 00:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 00:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 19:56:02] Production.INFO: ==31478== Lock acquired, processing the job...
[2025-01-09 19:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:56:02] Production.INFO: ==31478== Releasing lock...
[2025-01-09 19:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 19:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 00:56:02] Production.INFO: ==31480== Lock acquired, processing the job...
[2025-01-10 00:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 00:56:02] Production.INFO: ==31480== Releasing lock...
[2025-01-10 00:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 00:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 19:56:03] Production.INFO: ==31483== Lock acquired, processing the job...
[2025-01-09 19:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 19:56:03] Production.INFO: ==31489== Lock acquired, processing the job...
[2025-01-09 19:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 19:56:03] Production.INFO: ==31493== Lock acquired, processing the job...
[2025-01-09 19:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 19:56:03] Production.INFO: ==31485== Lock acquired, processing the job...
[2025-01-09 19:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 19:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 19:56:03] Production.INFO: ==31487== Lock acquired, processing the job...
[2025-01-09 19:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 19:56:03] Production.INFO: ==31491== Lock acquired, processing the job...
[2025-01-09 19:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 19:56:03] Production.INFO: Account Balance Start.
[2025-01-09 19:56:03] Production.INFO: CreateAllLog Start
[2025-01-09 19:56:03] Production.INFO: 117
[2025-01-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-01-09 19:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:56:03] Production.INFO: count ==21
[2025-01-09 19:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 19:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 19:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 19:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 19:56:03] Production.INFO: Date 2025-01-08
[2025-01-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-01-09 19:56:03] Production.INFO: count ==21
[2025-01-09 19:56:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211855') start
[2025-01-09 19:56:03] Production.INFO: Date 2025-01-09
[2025-01-09 19:56:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211855') end
[2025-01-09 19:56:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 19:56:03] Production.INFO: 1
[2025-01-09 19:56:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 19:56:03] Production.INFO: Total Charge 0
[2025-01-09 19:56:04] Production.ERROR: done
[2025-01-09 19:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 19:56:04] Production.INFO: ==31493== Releasing lock...
[2025-01-09 19:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 19:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 19:56:04] Production.INFO: CreateAllLog End
[2025-01-09 19:56:04] Production.INFO: ==31485== Releasing lock...
[2025-01-09 19:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 19:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 19:56:04] Production.ERROR: done
[2025-01-09 19:56:04] Production.INFO: Account Balance End.
[2025-01-09 19:56:04] Production.ERROR: CronJobId end 12
[2025-01-09 19:56:04] Production.INFO: ==31489== Releasing lock...
[2025-01-09 19:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 19:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 19:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 16:56:05
[end_date_ymd] => 2025-01-09 19:56:05
[RateCDR] => 1
)
[2025-01-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-01-09 16:56:05' and `end` < '2025-01-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-01-09 19:56:12] Production.ERROR: CronJobId end10
[2025-01-09 19:56:12] Production.INFO: ==31487== Releasing lock...
[2025-01-09 19:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 19:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 19:56:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 19:56:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 19:56:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 19:56:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 19:56:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 19:56:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 19:56:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 19:56:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 19:56:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 19:56:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 19:56:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 19:56:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 19:56:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 19:56:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 19:56:13] Production.INFO: call_cost start
[2025-01-09 19:56:13] Production.INFO: call_cost end
[2025-01-09 19:56:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 19:56:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 19:56:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 19:56:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 19:56:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 19:56:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 19:56:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 19:56:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 19:56:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 19:56:14] Production.INFO: ==31483== Releasing lock...
[2025-01-09 19:56:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 19:56:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 19:56:18] Production.INFO: count ==1881
[2025-01-09 19:56:19] Production.ERROR: pbx CDR StartTime 2025-01-09 16:56:05 - End Time 2025-01-09 19:56:05
[2025-01-09 19:56:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 19:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211857', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211857', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211857', 'tblTempVendorCDR_20' ) start
[2025-01-09 19:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211857', 'tblTempVendorCDR_20' ) end
[2025-01-09 19:56:19] Production.INFO: ProcessCDR(1,14211857,1,1,2)
[2025-01-09 19:56:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211857,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:56:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211857,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:56:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211857,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:56:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211857,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211857', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211857', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:56:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:56:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:56:22] Production.INFO: ==31491== Releasing lock...
[2025-01-09 19:56:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 19:56:22] Production.INFO: 42.25 MB #Memory Used#
[2025-01-10 00:57:02] Production.INFO: ==31548== Lock acquired, processing the job...
[2025-01-10 00:57:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 00:57:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 00:57:02] Production.INFO: neon service started
[2025-01-10 00:57:02] Production.INFO: neon service started
[2025-01-10 00:57:02] Production.INFO: ==31548== Releasing lock...
[2025-01-10 00:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 00:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 19:57:02] Production.INFO: ==31550== Lock acquired, processing the job...
[2025-01-09 19:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:57:02] Production.INFO: ==31550== Releasing lock...
[2025-01-09 19:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 19:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 00:57:02] Production.INFO: ==31552== Lock acquired, processing the job...
[2025-01-10 00:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 00:57:02] Production.INFO: ==31552== Releasing lock...
[2025-01-10 00:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 00:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 19:57:03] Production.INFO: ==31556== Lock acquired, processing the job...
[2025-01-09 19:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 19:57:03] Production.INFO: ==31554== Lock acquired, processing the job...
[2025-01-09 19:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 19:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 19:57:03] Production.INFO: ==31560== Lock acquired, processing the job...
[2025-01-09 19:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 19:57:03] Production.INFO: ==31558== Lock acquired, processing the job...
[2025-01-09 19:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 19:57:03] Production.INFO: Account Balance Start.
[2025-01-09 19:57:03] Production.INFO: CreateAllLog Start
[2025-01-09 19:57:03] Production.INFO: 117
[2025-01-09 19:57:03] Production.INFO: Date 2025-01-08
[2025-01-09 19:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 19:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 19:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 19:57:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 19:57:03] Production.INFO: ==31562== Lock acquired, processing the job...
[2025-01-09 19:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 19:57:03] Production.INFO: Date 2025-01-09
[2025-01-09 19:57:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:57:03] Production.INFO: Total Charge 0
[2025-01-09 19:57:03] Production.INFO: ==31565== Lock acquired, processing the job...
[2025-01-09 19:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 19:57:03] Production.INFO: ==31556== Releasing lock...
[2025-01-09 19:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 19:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 19:57:03] Production.INFO: CreateAllLog End
[2025-01-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-01-09 19:57:04] Production.INFO: Account Balance End.
[2025-01-09 19:57:04] Production.ERROR: CronJobId end 12
[2025-01-09 19:57:04] Production.INFO: ==31560== Releasing lock...
[2025-01-09 19:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 19:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 19:57:04] Production.INFO: count ==21
[2025-01-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-01-09 19:57:04] Production.INFO: count ==21
[2025-01-09 19:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211861') start
[2025-01-09 19:57:04] Production.ERROR: done
[2025-01-09 19:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 19:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211861') end
[2025-01-09 19:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 19:57:04] Production.INFO: 1
[2025-01-09 19:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 19:57:04] Production.INFO: ==31565== Releasing lock...
[2025-01-09 19:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 19:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 19:57:04] Production.ERROR: done
[2025-01-09 19:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 16:57:05
[end_date_ymd] => 2025-01-09 19:57:05
[RateCDR] => 1
)
[2025-01-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-01-09 16:57:05' and `end` < '2025-01-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-01-09 19:57:13] Production.ERROR: CronJobId end10
[2025-01-09 19:57:13] Production.INFO: ==31558== Releasing lock...
[2025-01-09 19:57:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 19:57:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 19:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 19:57:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 19:57:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 19:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 19:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 19:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 19:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 19:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 19:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 19:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 19:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 19:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 19:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 19:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 19:57:14] Production.INFO: call_cost start
[2025-01-09 19:57:14] Production.INFO: call_cost end
[2025-01-09 19:57:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 19:57:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 19:57:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 19:57:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 19:57:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 19:57:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 19:57:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 19:57:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 19:57:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 19:57:15] Production.INFO: ==31554== Releasing lock...
[2025-01-09 19:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 19:57:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 19:57:19] Production.INFO: count ==1870
[2025-01-09 19:57:20] Production.ERROR: pbx CDR StartTime 2025-01-09 16:57:05 - End Time 2025-01-09 19:57:05
[2025-01-09 19:57:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 19:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211862', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211862', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211862', 'tblTempVendorCDR_20' ) start
[2025-01-09 19:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211862', 'tblTempVendorCDR_20' ) end
[2025-01-09 19:57:20] Production.INFO: ProcessCDR(1,14211862,1,1,2)
[2025-01-09 19:57:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211862,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:57:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211862,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:57:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211862,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:57:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211862,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:57:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211862', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:57:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211862', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:57:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:57:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:57:23] Production.INFO: ==31562== Releasing lock...
[2025-01-09 19:57:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 19:57:23] Production.INFO: 42.25 MB #Memory Used#
[2025-01-10 00:58:01] Production.INFO: ==31618== Lock acquired, processing the job...
[2025-01-10 00:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 00:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 00:58:01] Production.INFO: neon service started
[2025-01-10 00:58:01] Production.INFO: neon service started
[2025-01-10 00:58:01] Production.INFO: ==31618== Releasing lock...
[2025-01-10 00:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 00:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 19:58:01] Production.INFO: ==31620== Lock acquired, processing the job...
[2025-01-09 19:58:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:58:02] Production.INFO: ==31620== Releasing lock...
[2025-01-09 19:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 19:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 00:58:02] Production.INFO: ==31622== Lock acquired, processing the job...
[2025-01-10 00:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 00:58:02] Production.INFO: ==31622== Releasing lock...
[2025-01-10 00:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 00:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 19:58:03] Production.INFO: ==31633== Lock acquired, processing the job...
[2025-01-09 19:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 19:58:03] Production.INFO: ==31635== Lock acquired, processing the job...
[2025-01-09 19:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 19:58:03] Production.INFO: ==31627== Lock acquired, processing the job...
[2025-01-09 19:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 19:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-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-01-09 19:58:03] Production.INFO: ==31625== Lock acquired, processing the job...
[2025-01-09 19:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 19:58:03] Production.INFO: count ==21
[2025-01-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-01-09 19:58:03] Production.INFO: count ==21
[2025-01-09 19:58:03] Production.INFO: ==31629== Lock acquired, processing the job...
[2025-01-09 19:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 19:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211863') start
[2025-01-09 19:58:03] Production.INFO: ==31631== Lock acquired, processing the job...
[2025-01-09 19:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 19:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 19:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 19:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 19:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 19:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 19:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211863') end
[2025-01-09 19:58:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 19:58:03] Production.INFO: 1
[2025-01-09 19:58:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 19:58:03] Production.INFO: Account Balance Start.
[2025-01-09 19:58:03] Production.INFO: CreateAllLog Start
[2025-01-09 19:58:03] Production.INFO: 117
[2025-01-09 19:58:03] Production.INFO: Date 2025-01-08
[2025-01-09 19:58:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:58:03] Production.INFO: Date 2025-01-09
[2025-01-09 19:58:03] Production.INFO: Reseller ==> 0
[2025-01-09 19:58:03] Production.INFO: ==31635== Releasing lock...
[2025-01-09 19:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 19:58:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 19:58:03] Production.ERROR: done
[2025-01-09 19:58:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 19:58:03] Production.INFO: Total Charge 0
[2025-01-09 19:58:03] Production.INFO: CreateAllLog End
[2025-01-09 19:58:03] Production.ERROR: done
[2025-01-09 19:58:04] Production.INFO: Account Balance End.
[2025-01-09 19:58:04] Production.INFO: ==31627== Releasing lock...
[2025-01-09 19:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 19:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 19:58:04] Production.ERROR: CronJobId end 12
[2025-01-09 19:58:04] Production.INFO: ==31631== Releasing lock...
[2025-01-09 19:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 19:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 19:58:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 16:58:04
[end_date_ymd] => 2025-01-09 19:58:04
[RateCDR] => 1
)
[2025-01-09 19:58:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 16:58:04' and `end` < '2025-01-09 19:58:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 19:58:12] Production.ERROR: CronJobId end10
[2025-01-09 19:58:12] Production.INFO: ==31629== Releasing lock...
[2025-01-09 19:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 19:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 19:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 19:58:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 19:58:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 19:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 19:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 19:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 19:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 19:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 19:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 19:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 19:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 19:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 19:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 19:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 19:58:14] Production.INFO: call_cost start
[2025-01-09 19:58:14] Production.INFO: call_cost end
[2025-01-09 19:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 19:58:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 19:58:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 19:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 19:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 19:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 19:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 19:58:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 19:58:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 19:58:14] Production.INFO: ==31625== Releasing lock...
[2025-01-09 19:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 19:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 19:58:18] Production.INFO: count ==1866
[2025-01-09 19:58:19] Production.ERROR: pbx CDR StartTime 2025-01-09 16:58:04 - End Time 2025-01-09 19:58:04
[2025-01-09 19:58:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 19:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211867', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211867', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211867', 'tblTempVendorCDR_20' ) start
[2025-01-09 19:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211867', 'tblTempVendorCDR_20' ) end
[2025-01-09 19:58:19] Production.INFO: ProcessCDR(1,14211867,1,1,2)
[2025-01-09 19:58:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211867,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:58:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211867,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:58:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211867,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:58:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211867,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211867', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211867', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:58:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:58:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:58:22] Production.INFO: ==31633== Releasing lock...
[2025-01-09 19:58:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 19:58:22] Production.INFO: 42 MB #Memory Used#
[2025-01-10 00:59:02] Production.INFO: ==31690== Lock acquired, processing the job...
[2025-01-10 00:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 00:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 00:59:02] Production.INFO: neon service started
[2025-01-10 00:59:02] Production.INFO: neon service started
[2025-01-10 00:59:02] Production.INFO: ==31690== Releasing lock...
[2025-01-10 00:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 00:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 19:59:02] Production.INFO: ==31692== Lock acquired, processing the job...
[2025-01-09 19:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:59:02] Production.INFO: ==31692== Releasing lock...
[2025-01-09 19:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 19:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 00:59:02] Production.INFO: ==31694== Lock acquired, processing the job...
[2025-01-10 00:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 00:59:02] Production.INFO: ==31694== Releasing lock...
[2025-01-10 00:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 00:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 19:59:03] Production.INFO: ==31696== Lock acquired, processing the job...
[2025-01-09 19:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 19:59:03] Production.INFO: ==31704== Lock acquired, processing the job...
[2025-01-09 19:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 19:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 19:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 19:59:03] Production.INFO: ==31698== Lock acquired, processing the job...
[2025-01-09 19:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 19:59:03] Production.INFO: ==31700== Lock acquired, processing the job...
[2025-01-09 19:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 19:59:03] Production.INFO: ==31702== Lock acquired, processing the job...
[2025-01-09 19:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 19:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 19:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 19:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 19:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 19:59:03] Production.INFO: ==31706== Lock acquired, processing the job...
[2025-01-09 19:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 19:59:04] Production.ERROR: done
[2025-01-09 19:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 19:59:04] Production.INFO: Account Balance Start.
[2025-01-09 19:59:04] Production.INFO: CreateAllLog Start
[2025-01-09 19:59:04] Production.INFO: 117
[2025-01-09 19:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 19:59:04] Production.INFO: Date 2025-01-08
[2025-01-09 19:59:04] Production.INFO: Reseller ==> 0
[2025-01-09 19:59:04] Production.INFO: count ==21
[2025-01-09 19:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 19:59:04] Production.INFO: count ==21
[2025-01-09 19:59:04] Production.ERROR: done
[2025-01-09 19:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211871') start
[2025-01-09 19:59:04] Production.INFO: Date 2025-01-09
[2025-01-09 19:59:04] Production.INFO: Reseller ==> 0
[2025-01-09 19:59:04] Production.INFO: ==31698== Releasing lock...
[2025-01-09 19:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 19:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 19:59:04] Production.INFO: Total Charge 0
[2025-01-09 19:59:04] Production.INFO: CreateAllLog End
[2025-01-09 19:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211871') end
[2025-01-09 19:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 19:59:04] Production.INFO: 1
[2025-01-09 19:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 19:59:04] Production.INFO: Account Balance End.
[2025-01-09 19:59:04] Production.INFO: ==31706== Releasing lock...
[2025-01-09 19:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 19:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 19:59:04] Production.ERROR: CronJobId end 12
[2025-01-09 19:59:04] Production.INFO: ==31702== Releasing lock...
[2025-01-09 19:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 19:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 19:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 16:59:05
[end_date_ymd] => 2025-01-09 19:59:05
[RateCDR] => 1
)
[2025-01-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-01-09 16:59:05' and `end` < '2025-01-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-01-09 19:59:11] Production.ERROR: CronJobId end10
[2025-01-09 19:59:11] Production.INFO: ==31700== Releasing lock...
[2025-01-09 19:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 19:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 19:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 19:59:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 19:59:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 19:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 19:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 19:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 19:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 19:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 19:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 19:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 19:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 19:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 19:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 19:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 19:59:13] Production.INFO: call_cost start
[2025-01-09 19:59:13] Production.INFO: call_cost end
[2025-01-09 19:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 19:59:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 19:59:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 19:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 19:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 19:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 19:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 19:59:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 19:59:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 19:59:14] Production.INFO: ==31696== Releasing lock...
[2025-01-09 19:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 19:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 19:59:18] Production.INFO: count ==1858
[2025-01-09 19:59:18] Production.ERROR: pbx CDR StartTime 2025-01-09 16:59:05 - End Time 2025-01-09 19:59:05
[2025-01-09 19:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 19:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211872', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211872', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211872', 'tblTempVendorCDR_20' ) start
[2025-01-09 19:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211872', 'tblTempVendorCDR_20' ) end
[2025-01-09 19:59:18] Production.INFO: ProcessCDR(1,14211872,1,1,2)
[2025-01-09 19:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211872,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:59:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211872,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 19:59:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211872,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:59:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211872,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 19:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211872', 'tblTempUsageDetail_20' ) start
[2025-01-09 19:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211872', 'tblTempUsageDetail_20' ) end
[2025-01-09 19:59:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 19:59:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 19:59:22] Production.INFO: ==31704== Releasing lock...
[2025-01-09 19:59:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 19:59:22] Production.INFO: 42 MB #Memory Used#
[2025-01-10 01:00:01] Production.INFO: ==31761== Lock acquired, processing the job...
[2025-01-10 01:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 01:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 01:00:01] Production.INFO: neon service started
[2025-01-10 01:00:01] Production.INFO: neon service started
[2025-01-10 01:00:01] Production.INFO: ==31761== Releasing lock...
[2025-01-10 01:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 01:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 20:00:01] Production.INFO: ==31763== Lock acquired, processing the job...
[2025-01-09 20:00:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:00:02] Production.INFO: ==31763== Releasing lock...
[2025-01-09 20:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 20:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:00:02] Production.INFO: ==31765== Lock acquired, processing the job...
[2025-01-10 01:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 01:00:02] Production.INFO: ==31765== Releasing lock...
[2025-01-10 01:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 01:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 20:00:03] Production.INFO: ==31769== Lock acquired, processing the job...
[2025-01-09 20:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 20:00:03] Production.INFO: ==31767== Lock acquired, processing the job...
[2025-01-09 20:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 20:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 20:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 20:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 20:00:03] Production.ERROR: CronJob PID - 31769
[2025-01-09 20:00:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-09 20:00:03] Production.ERROR: CronJob ID - 5
[2025-01-09 20:00:03] Production.ERROR: CronJob Last Run Time 2025-01-09 20:00:00
[2025-01-09 20:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 20:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 20:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 20:00:03] Production.INFO: ==31767== Releasing lock...
[2025-01-09 20:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 20:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 20:00:03] Production.INFO: ==31775== Lock acquired, processing the job...
[2025-01-09 20:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 20:00:03] Production.INFO: ==31771== Lock acquired, processing the job...
[2025-01-09 20:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 20:00:03] Production.INFO: Account Balance Start.
[2025-01-09 20:00:03] Production.INFO: CreateAllLog Start
[2025-01-09 20:00:03] Production.INFO: ==31777== Lock acquired, processing the job...
[2025-01-09 20:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 20:00:03] Production.INFO: 117
[2025-01-09 20:00:03] Production.INFO: Date 2025-01-08
[2025-01-09 20:00:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:00:03] Production.INFO: ==31773== Lock acquired, processing the job...
[2025-01-09 20:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 20:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:00:03] Production.INFO: Date 2025-01-09
[2025-01-09 20:00:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:00:03] Production.INFO: Total Charge 0
[2025-01-09 20:00:03] Production.INFO: CreateAllLog End
[2025-01-09 20:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 20:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 20:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 20:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 20:00:03] Production.INFO: ==31779== Lock acquired, processing the job...
[2025-01-09 20:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 20:00:03] Production.INFO: ==31782== Lock acquired, processing the job...
[2025-01-09 20:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 20:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:00:03] Production.INFO: ==31771== Releasing lock...
[2025-01-09 20:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 20:00:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 20:00:03] Production.ERROR: done
[2025-01-09 20:00:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 20:00:03] Production.INFO: Account Balance End.
[2025-01-09 20:00:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:00:04] Production.INFO: count ==21
[2025-01-09 20:00:04] Production.ERROR: CronJobId end 12
[2025-01-09 20:00:04] Production.INFO: ==31775== Releasing lock...
[2025-01-09 20:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 20:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 20:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:00:04] Production.ERROR: done
[2025-01-09 20:00:04] Production.INFO: count ==21
[2025-01-09 20:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211876') start
[2025-01-09 20:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211876') end
[2025-01-09 20:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 20:00:04] Production.INFO: 1
[2025-01-09 20:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 20:00:04] Production.ERROR: done
[2025-01-09 20:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 20:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14211878', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 20:00:04] Production.INFO: ==31782== Releasing lock...
[2025-01-09 20:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 20:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 20:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 17:00:05
[end_date_ymd] => 2025-01-09 20:00:05
[RateCDR] => 1
)
[2025-01-09 20:00:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 17:00:05' and `end` < '2025-01-09 20:00:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 20:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14211878', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 20:00:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 20:00:08] Production.INFO: ProcessCDR(1,14211878,1,1,2)
[2025-01-09 20:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14211878,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14211878,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:00:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:00:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:00:08] Production.INFO: ==31779== Releasing lock...
[2025-01-09 20:00:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 20:00:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 20:00:13] Production.ERROR: CronJobId end10
[2025-01-09 20:00:13] Production.INFO: ==31773== Releasing lock...
[2025-01-09 20:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 20:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 20:00:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 20:00:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 20:00:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 20:00:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 20:00:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 20:00:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 20:00:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 20:00:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 20:00:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 20:00:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 20:00:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 20:00:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 20:00:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 20:00:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 20:00:14] Production.INFO: call_cost start
[2025-01-09 20:00:14] Production.INFO: call_cost end
[2025-01-09 20:00:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 20:00:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 20:00:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 20:00:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 20:00:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 20:00:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 20:00:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 20:00:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 20:00:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 20:00:15] Production.INFO: ==31769== Releasing lock...
[2025-01-09 20:00:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 20:00:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 20:00:18] Production.INFO: count ==1849
[2025-01-09 20:00:18] Production.ERROR: pbx CDR StartTime 2025-01-09 17:00:05 - End Time 2025-01-09 20:00:05
[2025-01-09 20:00:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 20:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211877', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211877', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211877', 'tblTempVendorCDR_20' ) start
[2025-01-09 20:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211877', 'tblTempVendorCDR_20' ) end
[2025-01-09 20:00:18] Production.INFO: ProcessCDR(1,14211877,1,1,2)
[2025-01-09 20:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211877,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:00:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211877,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:00:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211877,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:00:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211877,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211877', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211877', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:00:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:00:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:00:22] Production.INFO: ==31777== Releasing lock...
[2025-01-09 20:00:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 20:00:22] Production.INFO: 42.25 MB #Memory Used#
[2025-01-10 01:01:01] Production.INFO: ==31882== Lock acquired, processing the job...
[2025-01-10 01:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 01:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 01:01:01] Production.INFO: neon service started
[2025-01-10 01:01:02] Production.INFO: neon service started
[2025-01-10 01:01:02] Production.INFO: ==31882== Releasing lock...
[2025-01-10 01:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 01:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 20:01:02] Production.INFO: ==31889== Lock acquired, processing the job...
[2025-01-09 20:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:01:02] Production.INFO: ==31889== Releasing lock...
[2025-01-09 20:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 20:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:01:02] Production.INFO: ==31891== Lock acquired, processing the job...
[2025-01-10 01:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 01:01:02] Production.INFO: ==31891== Releasing lock...
[2025-01-10 01:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 01:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 20:01:03] Production.INFO: ==31900== Lock acquired, processing the job...
[2025-01-09 20:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 20:01:03] Production.INFO: ==31893== Lock acquired, processing the job...
[2025-01-09 20:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 20:01:03] Production.INFO: ==31904== Lock acquired, processing the job...
[2025-01-09 20:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 20:01:03] Production.INFO: ==31895== Lock acquired, processing the job...
[2025-01-09 20:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 20:01:03] Production.INFO: Account Balance Start.
[2025-01-09 20:01:03] Production.INFO: CreateAllLog Start
[2025-01-09 20:01:03] Production.INFO: 117
[2025-01-09 20:01:03] Production.INFO: Date 2025-01-08
[2025-01-09 20:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 20:01:03] Production.INFO: ==31897== Lock acquired, processing the job...
[2025-01-09 20:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 20:01:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:01:03] Production.INFO: ==31902== Lock acquired, processing the job...
[2025-01-09 20:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 20:01:03] Production.INFO: Date 2025-01-09
[2025-01-09 20:01:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:01:03] Production.INFO: count ==21
[2025-01-09 20:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:01:03] Production.INFO: count ==21
[2025-01-09 20:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 20:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 20:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 20:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 20:01:03] Production.INFO: Total Charge 0
[2025-01-09 20:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211880') start
[2025-01-09 20:01:03] Production.INFO: CreateAllLog End
[2025-01-09 20:01:04] Production.INFO: ==31895== Releasing lock...
[2025-01-09 20:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 20:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 20:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211880') end
[2025-01-09 20:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 20:01:04] Production.INFO: 1
[2025-01-09 20:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 20:01:04] Production.INFO: Account Balance End.
[2025-01-09 20:01:04] Production.INFO: ==31904== Releasing lock...
[2025-01-09 20:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 20:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 20:01:04] Production.ERROR: done
[2025-01-09 20:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 20:01:04] Production.ERROR: CronJobId end 12
[2025-01-09 20:01:04] Production.INFO: ==31900== Releasing lock...
[2025-01-09 20:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 20:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 20:01:04] Production.ERROR: done
[2025-01-09 20:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 17:01:05
[end_date_ymd] => 2025-01-09 20:01:05
[RateCDR] => 1
)
[2025-01-09 20:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 17:01:05' and `end` < '2025-01-09 20:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 20:01:12] Production.ERROR: CronJobId end10
[2025-01-09 20:01:12] Production.INFO: ==31897== Releasing lock...
[2025-01-09 20:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 20:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 20:01:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 20:01:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 20:01:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 20:01:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 20:01:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 20:01:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 20:01:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 20:01:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 20:01:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 20:01:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 20:01:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 20:01:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 20:01:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 20:01:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 20:01:14] Production.INFO: call_cost start
[2025-01-09 20:01:14] Production.INFO: call_cost end
[2025-01-09 20:01:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 20:01:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 20:01:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 20:01:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 20:01:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 20:01:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 20:01:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 20:01:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 20:01:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 20:01:15] Production.INFO: ==31893== Releasing lock...
[2025-01-09 20:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 20:01:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 20:01:19] Production.INFO: count ==1772
[2025-01-09 20:01:19] Production.ERROR: pbx CDR StartTime 2025-01-09 17:01:05 - End Time 2025-01-09 20:01:05
[2025-01-09 20:01:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 20:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211883', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211883', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211883', 'tblTempVendorCDR_20' ) start
[2025-01-09 20:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211883', 'tblTempVendorCDR_20' ) end
[2025-01-09 20:01:20] Production.INFO: ProcessCDR(1,14211883,1,1,2)
[2025-01-09 20:01:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211883,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:01:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211883,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:01:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211883,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:01:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211883,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211883', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211883', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:01:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:01:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:01:23] Production.INFO: ==31902== Releasing lock...
[2025-01-09 20:01:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 20:01:23] Production.INFO: 41.25 MB #Memory Used#
[2025-01-10 01:02:01] Production.INFO: ==31959== Lock acquired, processing the job...
[2025-01-10 01:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 01:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 01:02:01] Production.INFO: neon service started
[2025-01-10 01:02:01] Production.INFO: neon service started
[2025-01-10 01:02:01] Production.INFO: ==31959== Releasing lock...
[2025-01-10 01:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 01:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 20:02:01] Production.INFO: ==31961== Lock acquired, processing the job...
[2025-01-09 20:02:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:02:02] Production.INFO: ==31961== Releasing lock...
[2025-01-09 20:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 20:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:02:02] Production.INFO: ==31963== Lock acquired, processing the job...
[2025-01-10 01:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 01:02:02] Production.INFO: ==31963== Releasing lock...
[2025-01-10 01:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 01:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 20:02:02] Production.INFO: ==31969== Lock acquired, processing the job...
[2025-01-09 20:02:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 20:02:02] Production.INFO: ==31971== Lock acquired, processing the job...
[2025-01-09 20:02:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 20:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 20:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 20:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 20:02:03] Production.INFO: Account Balance Start.
[2025-01-09 20:02:03] Production.INFO: CreateAllLog Start
[2025-01-09 20:02:03] Production.INFO: 117
[2025-01-09 20:02:03] Production.INFO: Date 2025-01-08
[2025-01-09 20:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 20:02:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:02:03] Production.INFO: ==31965== Lock acquired, processing the job...
[2025-01-09 20:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 20:02:03] Production.INFO: Date 2025-01-09
[2025-01-09 20:02:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:02:03] Production.INFO: ==31967== Lock acquired, processing the job...
[2025-01-09 20:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 20:02:03] Production.INFO: Total Charge 0
[2025-01-09 20:02:03] Production.INFO: CreateAllLog End
[2025-01-09 20:02:03] Production.INFO: ==31973== Lock acquired, processing the job...
[2025-01-09 20:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 20:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 20:02:03] Production.INFO: ==31975== Lock acquired, processing the job...
[2025-01-09 20:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 20:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:02:03] Production.INFO: Account Balance End.
[2025-01-09 20:02:03] Production.INFO: count ==21
[2025-01-09 20:02:03] Production.INFO: ==31967== Releasing lock...
[2025-01-09 20:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 20:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 20:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:02:03] Production.ERROR: CronJobId end 12
[2025-01-09 20:02:03] Production.INFO: ==31971== Releasing lock...
[2025-01-09 20:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 20:02:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 20:02:03] Production.INFO: count ==21
[2025-01-09 20:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211887') start
[2025-01-09 20:02:03] Production.ERROR: done
[2025-01-09 20:02:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 20:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211887') end
[2025-01-09 20:02:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 20:02:03] Production.INFO: 1
[2025-01-09 20:02:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 20:02:03] Production.INFO: ==31975== Releasing lock...
[2025-01-09 20:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 20:02:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 20:02:03] Production.ERROR: done
[2025-01-09 20:02:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 17:02:04
[end_date_ymd] => 2025-01-09 20:02:04
[RateCDR] => 1
)
[2025-01-09 20:02:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 17:02:04' and `end` < '2025-01-09 20:02:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 20:02:12] Production.ERROR: CronJobId end10
[2025-01-09 20:02:12] Production.INFO: ==31969== Releasing lock...
[2025-01-09 20:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 20:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 20:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 20:02:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 20:02:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 20:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 20:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 20:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 20:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 20:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 20:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 20:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 20:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 20:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 20:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 20:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 20:02:13] Production.INFO: call_cost start
[2025-01-09 20:02:13] Production.INFO: call_cost end
[2025-01-09 20:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 20:02:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 20:02:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 20:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 20:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 20:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 20:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 20:02:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 20:02:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 20:02:14] Production.INFO: ==31965== Releasing lock...
[2025-01-09 20:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 20:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 20:02:18] Production.INFO: count ==1770
[2025-01-09 20:02:18] Production.ERROR: pbx CDR StartTime 2025-01-09 17:02:04 - End Time 2025-01-09 20:02:04
[2025-01-09 20:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 20:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211888', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211888', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211888', 'tblTempVendorCDR_20' ) start
[2025-01-09 20:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211888', 'tblTempVendorCDR_20' ) end
[2025-01-09 20:02:18] Production.INFO: ProcessCDR(1,14211888,1,1,2)
[2025-01-09 20:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211888,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211888,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211888,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:02:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211888,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211888', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211888', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:02:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:02:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:02:21] Production.INFO: ==31973== Releasing lock...
[2025-01-09 20:02:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 20:02:21] Production.INFO: 41.25 MB #Memory Used#
[2025-01-10 01:03:01] Production.INFO: ==32029== Lock acquired, processing the job...
[2025-01-10 01:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 01:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 01:03:01] Production.INFO: neon service started
[2025-01-10 01:03:01] Production.INFO: neon service started
[2025-01-10 01:03:01] Production.INFO: ==32029== Releasing lock...
[2025-01-10 01:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 01:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 20:03:02] Production.INFO: ==32031== Lock acquired, processing the job...
[2025-01-09 20:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:03:02] Production.INFO: ==32031== Releasing lock...
[2025-01-09 20:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 20:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:03:02] Production.INFO: ==32033== Lock acquired, processing the job...
[2025-01-10 01:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 01:03:02] Production.INFO: ==32033== Releasing lock...
[2025-01-10 01:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 01:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 20:03:03] Production.INFO: ==32040== Lock acquired, processing the job...
[2025-01-09 20:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 20:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 20:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 20:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 20:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 20:03:03] Production.INFO: ==32046== Lock acquired, processing the job...
[2025-01-09 20:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 20:03:03] Production.INFO: ==32036== Lock acquired, processing the job...
[2025-01-09 20:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 20:03:03] Production.INFO: ==32038== Lock acquired, processing the job...
[2025-01-09 20:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 20:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 20:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:03:03] Production.INFO: count ==21
[2025-01-09 20:03:03] Production.INFO: ==32042== Lock acquired, processing the job...
[2025-01-09 20:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 20:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:03:03] Production.INFO: count ==21
[2025-01-09 20:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211889') start
[2025-01-09 20:03:03] Production.INFO: ==32044== Lock acquired, processing the job...
[2025-01-09 20:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 20:03:03] Production.INFO: Account Balance Start.
[2025-01-09 20:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:03:03] Production.INFO: CreateAllLog Start
[2025-01-09 20:03:03] Production.INFO: 117
[2025-01-09 20:03:03] Production.INFO: Date 2025-01-08
[2025-01-09 20:03:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211889') end
[2025-01-09 20:03:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 20:03:03] Production.INFO: 1
[2025-01-09 20:03:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 20:03:03] Production.INFO: Date 2025-01-09
[2025-01-09 20:03:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:03:03] Production.INFO: ==32046== Releasing lock...
[2025-01-09 20:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 20:03:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 20:03:04] Production.INFO: ==32038== Releasing lock...
[2025-01-09 20:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 20:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 20:03:04] Production.INFO: Total Charge 0
[2025-01-09 20:03:04] Production.INFO: CreateAllLog End
[2025-01-09 20:03:04] Production.ERROR: done
[2025-01-09 20:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 20:03:04] Production.INFO: Account Balance End.
[2025-01-09 20:03:04] Production.ERROR: CronJobId end 12
[2025-01-09 20:03:04] Production.INFO: ==32042== Releasing lock...
[2025-01-09 20:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 20:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 20:03:04] Production.ERROR: done
[2025-01-09 20:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 17:03:05
[end_date_ymd] => 2025-01-09 20:03:05
[RateCDR] => 1
)
[2025-01-09 20:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 17:03:05' and `end` < '2025-01-09 20:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 20:03:13] Production.ERROR: CronJobId end10
[2025-01-09 20:03:13] Production.INFO: ==32040== Releasing lock...
[2025-01-09 20:03:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 20:03:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 20:03:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 20:03:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 20:03:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 20:03:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 20:03:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 20:03:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 20:03:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 20:03:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 20:03:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 20:03:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 20:03:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 20:03:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 20:03:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 20:03:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 20:03:14] Production.INFO: call_cost start
[2025-01-09 20:03:14] Production.INFO: call_cost end
[2025-01-09 20:03:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 20:03:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 20:03:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 20:03:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 20:03:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 20:03:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 20:03:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 20:03:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 20:03:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 20:03:15] Production.INFO: ==32036== Releasing lock...
[2025-01-09 20:03:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 20:03:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 20:03:18] Production.INFO: count ==1768
[2025-01-09 20:03:18] Production.ERROR: pbx CDR StartTime 2025-01-09 17:03:05 - End Time 2025-01-09 20:03:05
[2025-01-09 20:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 20:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211893', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211893', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211893', 'tblTempVendorCDR_20' ) start
[2025-01-09 20:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211893', 'tblTempVendorCDR_20' ) end
[2025-01-09 20:03:18] Production.INFO: ProcessCDR(1,14211893,1,1,2)
[2025-01-09 20:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211893,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211893,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211893,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211893,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211893', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211893', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:03:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:03:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:03:21] Production.INFO: ==32044== Releasing lock...
[2025-01-09 20:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 20:03:21] Production.INFO: 41 MB #Memory Used#
[2025-01-10 01:04:02] Production.INFO: ==32102== Lock acquired, processing the job...
[2025-01-10 01:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 01:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 01:04:02] Production.INFO: neon service started
[2025-01-10 01:04:02] Production.INFO: neon service started
[2025-01-10 01:04:02] Production.INFO: ==32102== Releasing lock...
[2025-01-10 01:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 01:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 01:04:02] Production.INFO: ==32106== Lock acquired, processing the job...
[2025-01-10 01:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 01:04:02] Production.INFO: ==32106== Releasing lock...
[2025-01-10 01:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 01:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 20:04:02] Production.INFO: ==32104== Lock acquired, processing the job...
[2025-01-09 20:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:04:02] Production.INFO: ==32104== Releasing lock...
[2025-01-09 20:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 20:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 20:04:03] Production.INFO: ==32111== Lock acquired, processing the job...
[2025-01-09 20:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 20:04:03] Production.INFO: ==32109== Lock acquired, processing the job...
[2025-01-09 20:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 20:04:03] Production.INFO: ==32117== Lock acquired, processing the job...
[2025-01-09 20:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 20:04:03] Production.INFO: ==32113== Lock acquired, processing the job...
[2025-01-09 20:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 20:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:04:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 20:04:04] Production.INFO: ==32115== Lock acquired, processing the job...
[2025-01-09 20:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 20:04:04] Production.INFO: ==32119== Lock acquired, processing the job...
[2025-01-09 20:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 20:04:04] Production.INFO: ==32111== Releasing lock...
[2025-01-09 20:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 20:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 20:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 20:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 20:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 20:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 20:04:04] Production.INFO: Account Balance Start.
[2025-01-09 20:04:04] Production.INFO: CreateAllLog Start
[2025-01-09 20:04:04] Production.INFO: 117
[2025-01-09 20:04:04] Production.INFO: Date 2025-01-08
[2025-01-09 20:04:04] Production.INFO: Reseller ==> 0
[2025-01-09 20:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:04:04] Production.INFO: count ==21
[2025-01-09 20:04:04] Production.INFO: Date 2025-01-09
[2025-01-09 20:04:04] Production.INFO: Reseller ==> 0
[2025-01-09 20:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:04:04] Production.INFO: count ==21
[2025-01-09 20:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211897') start
[2025-01-09 20:04:04] Production.INFO: Total Charge 0
[2025-01-09 20:04:04] Production.ERROR: done
[2025-01-09 20:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 20:04:04] Production.INFO: CreateAllLog End
[2025-01-09 20:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211897') end
[2025-01-09 20:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 20:04:04] Production.INFO: 1
[2025-01-09 20:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 20:04:04] Production.INFO: ==32119== Releasing lock...
[2025-01-09 20:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 20:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 20:04:04] Production.ERROR: done
[2025-01-09 20:04:04] Production.INFO: Account Balance End.
[2025-01-09 20:04:04] Production.ERROR: CronJobId end 12
[2025-01-09 20:04:04] Production.INFO: ==32115== Releasing lock...
[2025-01-09 20:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 20:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 20:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 17:04:05
[end_date_ymd] => 2025-01-09 20:04:05
[RateCDR] => 1
)
[2025-01-09 20:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 17:04:05' and `end` < '2025-01-09 20:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 20:04:12] Production.ERROR: CronJobId end10
[2025-01-09 20:04:12] Production.INFO: ==32113== Releasing lock...
[2025-01-09 20:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 20:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 20:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 20:04:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 20:04:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 20:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 20:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 20:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 20:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 20:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 20:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 20:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 20:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 20:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 20:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 20:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 20:04:14] Production.INFO: call_cost start
[2025-01-09 20:04:14] Production.INFO: call_cost end
[2025-01-09 20:04:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 20:04:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 20:04:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 20:04:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 20:04:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 20:04:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 20:04:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 20:04:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 20:04:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 20:04:14] Production.INFO: ==32109== Releasing lock...
[2025-01-09 20:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 20:04:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 20:04:19] Production.INFO: count ==1757
[2025-01-09 20:04:19] Production.ERROR: pbx CDR StartTime 2025-01-09 17:04:05 - End Time 2025-01-09 20:04:05
[2025-01-09 20:04:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 20:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211898', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211898', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211898', 'tblTempVendorCDR_20' ) start
[2025-01-09 20:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211898', 'tblTempVendorCDR_20' ) end
[2025-01-09 20:04:19] Production.INFO: ProcessCDR(1,14211898,1,1,2)
[2025-01-09 20:04:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211898,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:04:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211898,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:04:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211898,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:04:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211898,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211898', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211898', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:04:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:04:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:04:22] Production.INFO: ==32117== Releasing lock...
[2025-01-09 20:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 20:04:22] Production.INFO: 41.25 MB #Memory Used#
[2025-01-10 01:05:01] Production.INFO: ==32217== Lock acquired, processing the job...
[2025-01-10 01:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 01:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 01:05:01] Production.INFO: neon service started
[2025-01-10 01:05:01] Production.INFO: neon service started
[2025-01-10 01:05:01] Production.INFO: ==32217== Releasing lock...
[2025-01-10 01:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 01:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 20:05:01] Production.INFO: ==32219== Lock acquired, processing the job...
[2025-01-09 20:05:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 01:05:02] Production.INFO: ==32221== Lock acquired, processing the job...
[2025-01-10 01:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 20:05:02] Production.INFO: ==32219== Releasing lock...
[2025-01-09 20:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 20:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:05:02] Production.INFO: ==32221== Releasing lock...
[2025-01-10 01:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 01:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 20:05:02] Production.INFO: ==32223== Lock acquired, processing the job...
[2025-01-09 20:05:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 20:05:02] Production.INFO: ==32226== Lock acquired, processing the job...
[2025-01-09 20:05:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 20:05:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 20:05:03] Production.INFO: ==32230== Lock acquired, processing the job...
[2025-01-09 20:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 20:05:03] Production.INFO: Account Balance Start.
[2025-01-09 20:05:03] Production.INFO: CreateAllLog Start
[2025-01-09 20:05:03] Production.INFO: 117
[2025-01-09 20:05:03] Production.INFO: Date 2025-01-08
[2025-01-09 20:05:03] Production.INFO: ==32226== Releasing lock...
[2025-01-09 20:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 20:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 20:05:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:05:03] Production.INFO: ==32228== Lock acquired, processing the job...
[2025-01-09 20:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 20:05:03] Production.INFO: Date 2025-01-09
[2025-01-09 20:05:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:05:03] Production.INFO: Total Charge 0
[2025-01-09 20:05:03] Production.INFO: CreateAllLog End
[2025-01-09 20:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 20:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 20:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 20:05:03] Production.INFO: ==32232== Lock acquired, processing the job...
[2025-01-09 20:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 20:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 20:05:03] Production.INFO: Account Balance End.
[2025-01-09 20:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:05:03] Production.ERROR: CronJobId end 12
[2025-01-09 20:05:03] Production.INFO: ==32230== Releasing lock...
[2025-01-09 20:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 20:05:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 20:05:03] Production.INFO: ==32234== Lock acquired, processing the job...
[2025-01-09 20:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 20:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:05:03] Production.INFO: count ==21
[2025-01-09 20:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:05:03] Production.INFO: count ==21
[2025-01-09 20:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211902') start
[2025-01-09 20:05:03] Production.ERROR: done
[2025-01-09 20:05:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 20:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211902') end
[2025-01-09 20:05:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 20:05:03] Production.INFO: 1
[2025-01-09 20:05:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 20:05:03] Production.INFO: ==32234== Releasing lock...
[2025-01-09 20:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 20:05:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 20:05:03] Production.ERROR: done
[2025-01-09 20:05:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 17:05:04
[end_date_ymd] => 2025-01-09 20:05:04
[RateCDR] => 1
)
[2025-01-09 20:05:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 17:05:04' and `end` < '2025-01-09 20:05:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 20:05:12] Production.ERROR: CronJobId end10
[2025-01-09 20:05:12] Production.INFO: ==32228== Releasing lock...
[2025-01-09 20:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 20:05:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 20:05:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 20:05:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 20:05:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 20:05:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 20:05:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 20:05:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 20:05:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 20:05:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 20:05:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 20:05:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 20:05:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 20:05:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 20:05:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 20:05:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 20:05:13] Production.INFO: call_cost start
[2025-01-09 20:05:13] Production.INFO: call_cost end
[2025-01-09 20:05:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 20:05:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 20:05:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 20:05:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 20:05:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 20:05:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 20:05:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 20:05:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 20:05:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 20:05:13] Production.INFO: ==32223== Releasing lock...
[2025-01-09 20:05:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 20:05:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 20:05:18] Production.INFO: count ==1751
[2025-01-09 20:05:18] Production.ERROR: pbx CDR StartTime 2025-01-09 17:05:04 - End Time 2025-01-09 20:05:04
[2025-01-09 20:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 20:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211903', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211903', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211903', 'tblTempVendorCDR_20' ) start
[2025-01-09 20:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211903', 'tblTempVendorCDR_20' ) end
[2025-01-09 20:05:18] Production.INFO: ProcessCDR(1,14211903,1,1,2)
[2025-01-09 20:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211903,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211903,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211903,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211903,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211903', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211903', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:05:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:05:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:05:21] Production.INFO: ==32232== Releasing lock...
[2025-01-09 20:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 20:05:21] Production.INFO: 41.25 MB #Memory Used#
[2025-01-10 01:06:02] Production.INFO: ==32287== Lock acquired, processing the job...
[2025-01-10 01:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 01:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 01:06:02] Production.INFO: neon service started
[2025-01-10 01:06:02] Production.INFO: neon service started
[2025-01-10 01:06:02] Production.INFO: ==32287== Releasing lock...
[2025-01-10 01:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 01:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 20:06:02] Production.INFO: ==32289== Lock acquired, processing the job...
[2025-01-09 20:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 01:06:02] Production.INFO: ==32291== Lock acquired, processing the job...
[2025-01-10 01:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 01:06:02] Production.INFO: ==32291== Releasing lock...
[2025-01-10 01:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 01:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 20:06:03] Production.INFO: ==32289== Releasing lock...
[2025-01-09 20:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 20:06:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 20:06:03] Production.INFO: ==32298== Lock acquired, processing the job...
[2025-01-09 20:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 20:06:03] Production.INFO: ==32304== Lock acquired, processing the job...
[2025-01-09 20:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 20:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 20:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 20:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 20:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 20:06:03] Production.INFO: ==32294== Lock acquired, processing the job...
[2025-01-09 20:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 20:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:06:04] Production.INFO: count ==21
[2025-01-09 20:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:06:04] Production.INFO: count ==21
[2025-01-09 20:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211904') start
[2025-01-09 20:06:04] Production.INFO: ==32296== Lock acquired, processing the job...
[2025-01-09 20:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 20:06:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 20:06:04] Production.INFO: ==32300== Lock acquired, processing the job...
[2025-01-09 20:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 20:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211904') end
[2025-01-09 20:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 20:06:04] Production.INFO: 1
[2025-01-09 20:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 20:06:04] Production.INFO: ==32302== Lock acquired, processing the job...
[2025-01-09 20:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 20:06:04] Production.INFO: Account Balance Start.
[2025-01-09 20:06:04] Production.INFO: CreateAllLog Start
[2025-01-09 20:06:04] Production.INFO: 117
[2025-01-09 20:06:04] Production.INFO: Date 2025-01-08
[2025-01-09 20:06:04] Production.INFO: ==32304== Releasing lock...
[2025-01-09 20:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 20:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 20:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:06:04] Production.INFO: Reseller ==> 0
[2025-01-09 20:06:04] Production.INFO: Date 2025-01-09
[2025-01-09 20:06:04] Production.INFO: Reseller ==> 0
[2025-01-09 20:06:04] Production.INFO: Total Charge 0
[2025-01-09 20:06:04] Production.INFO: CreateAllLog End
[2025-01-09 20:06:04] Production.INFO: ==32296== Releasing lock...
[2025-01-09 20:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 20:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 20:06:04] Production.ERROR: done
[2025-01-09 20:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 20:06:04] Production.ERROR: done
[2025-01-09 20:06:04] Production.INFO: Account Balance End.
[2025-01-09 20:06:04] Production.ERROR: CronJobId end 12
[2025-01-09 20:06:04] Production.INFO: ==32300== Releasing lock...
[2025-01-09 20:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 20:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 20:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 17:06:05
[end_date_ymd] => 2025-01-09 20:06:05
[RateCDR] => 1
)
[2025-01-09 20:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 17:06:05' and `end` < '2025-01-09 20:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 20:06:11] Production.ERROR: CronJobId end10
[2025-01-09 20:06:11] Production.INFO: ==32298== Releasing lock...
[2025-01-09 20:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 20:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 20:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 20:06:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 20:06:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 20:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 20:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 20:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 20:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 20:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 20:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 20:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 20:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 20:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 20:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 20:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 20:06:13] Production.INFO: call_cost start
[2025-01-09 20:06:13] Production.INFO: call_cost end
[2025-01-09 20:06:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 20:06:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 20:06:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 20:06:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 20:06:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 20:06:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 20:06:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 20:06:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 20:06:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 20:06:14] Production.INFO: ==32294== Releasing lock...
[2025-01-09 20:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 20:06:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 20:06:18] Production.INFO: count ==1739
[2025-01-09 20:06:19] Production.ERROR: pbx CDR StartTime 2025-01-09 17:06:05 - End Time 2025-01-09 20:06:05
[2025-01-09 20:06:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 20:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211908', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211908', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211908', 'tblTempVendorCDR_20' ) start
[2025-01-09 20:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211908', 'tblTempVendorCDR_20' ) end
[2025-01-09 20:06:19] Production.INFO: ProcessCDR(1,14211908,1,1,2)
[2025-01-09 20:06:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211908,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:06:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211908,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:06:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211908,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211908,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211908', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211908', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:06:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:06:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:06:22] Production.INFO: ==32302== Releasing lock...
[2025-01-09 20:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 20:06:22] Production.INFO: 40.75 MB #Memory Used#
[2025-01-10 01:07:01] Production.INFO: ==32358== Lock acquired, processing the job...
[2025-01-10 01:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 01:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 01:07:01] Production.INFO: neon service started
[2025-01-10 01:07:01] Production.INFO: neon service started
[2025-01-10 01:07:01] Production.INFO: ==32358== Releasing lock...
[2025-01-10 01:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 01:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 01:07:01] Production.INFO: ==32363== Lock acquired, processing the job...
[2025-01-10 01:07:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 01:07:01] Production.INFO: ==32363== Releasing lock...
[2025-01-10 01:07:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 01:07:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 20:07:02] Production.INFO: ==32360== Lock acquired, processing the job...
[2025-01-09 20:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:07:02] Production.INFO: ==32360== Releasing lock...
[2025-01-09 20:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 20:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 20:07:02] Production.INFO: ==32365== Lock acquired, processing the job...
[2025-01-09 20:07:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 20:07:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 20:07:03] Production.INFO: ==32369== Lock acquired, processing the job...
[2025-01-09 20:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 20:07:03] Production.INFO: ==32373== Lock acquired, processing the job...
[2025-01-09 20:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 20:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:07:03] Production.INFO: ==32367== Lock acquired, processing the job...
[2025-01-09 20:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 20:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 20:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 20:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 20:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 20:07:03] Production.INFO: ==32371== Lock acquired, processing the job...
[2025-01-09 20:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 20:07:03] Production.INFO: ==32375== Lock acquired, processing the job...
[2025-01-09 20:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 20:07:03] Production.INFO: Account Balance Start.
[2025-01-09 20:07:03] Production.INFO: CreateAllLog Start
[2025-01-09 20:07:03] Production.INFO: 117
[2025-01-09 20:07:03] Production.INFO: Date 2025-01-08
[2025-01-09 20:07:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:07:03] Production.INFO: count ==21
[2025-01-09 20:07:03] Production.INFO: Date 2025-01-09
[2025-01-09 20:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:07:03] Production.INFO: count ==21
[2025-01-09 20:07:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211912') start
[2025-01-09 20:07:03] Production.ERROR: done
[2025-01-09 20:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 20:07:03] Production.INFO: Total Charge 0
[2025-01-09 20:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211912') end
[2025-01-09 20:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 20:07:03] Production.INFO: 1
[2025-01-09 20:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 20:07:03] Production.INFO: CreateAllLog End
[2025-01-09 20:07:03] Production.INFO: ==32367== Releasing lock...
[2025-01-09 20:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 20:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 20:07:03] Production.ERROR: done
[2025-01-09 20:07:03] Production.INFO: ==32375== Releasing lock...
[2025-01-09 20:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 20:07:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 20:07:03] Production.INFO: Account Balance End.
[2025-01-09 20:07:04] Production.ERROR: CronJobId end 12
[2025-01-09 20:07:04] Production.INFO: ==32371== Releasing lock...
[2025-01-09 20:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 20:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 20:07:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 17:07:04
[end_date_ymd] => 2025-01-09 20:07:04
[RateCDR] => 1
)
[2025-01-09 20:07:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 17:07:04' and `end` < '2025-01-09 20:07:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 20:07:11] Production.ERROR: CronJobId end10
[2025-01-09 20:07:11] Production.INFO: ==32369== Releasing lock...
[2025-01-09 20:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 20:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 20:07:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 20:07:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 20:07:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 20:07:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 20:07:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 20:07:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 20:07:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 20:07:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 20:07:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 20:07:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 20:07:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 20:07:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 20:07:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 20:07:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 20:07:13] Production.INFO: call_cost start
[2025-01-09 20:07:13] Production.INFO: call_cost end
[2025-01-09 20:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 20:07:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 20:07:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 20:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 20:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 20:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 20:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 20:07:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 20:07:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 20:07:14] Production.INFO: ==32365== Releasing lock...
[2025-01-09 20:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 20:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 20:07:18] Production.INFO: count ==1736
[2025-01-09 20:07:19] Production.ERROR: pbx CDR StartTime 2025-01-09 17:07:04 - End Time 2025-01-09 20:07:04
[2025-01-09 20:07:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 20:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211913', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211913', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211913', 'tblTempVendorCDR_20' ) start
[2025-01-09 20:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211913', 'tblTempVendorCDR_20' ) end
[2025-01-09 20:07:19] Production.INFO: ProcessCDR(1,14211913,1,1,2)
[2025-01-09 20:07:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211913,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:07:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211913,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:07:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211913,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:07:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211913,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:07:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211913', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:07:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211913', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:07:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:07:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:07:24] Production.INFO: ==32373== Releasing lock...
[2025-01-09 20:07:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 20:07:24] Production.INFO: 41.25 MB #Memory Used#
[2025-01-10 01:08:02] Production.INFO: ==32429== Lock acquired, processing the job...
[2025-01-10 01:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 01:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 01:08:02] Production.INFO: neon service started
[2025-01-10 01:08:02] Production.INFO: neon service started
[2025-01-10 01:08:02] Production.INFO: ==32429== Releasing lock...
[2025-01-10 01:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 01:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 01:08:02] Production.INFO: ==32433== Lock acquired, processing the job...
[2025-01-10 01:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 01:08:02] Production.INFO: ==32433== Releasing lock...
[2025-01-10 01:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 01:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 20:08:02] Production.INFO: ==32431== Lock acquired, processing the job...
[2025-01-09 20:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:08:02] Production.INFO: ==32431== Releasing lock...
[2025-01-09 20:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 20:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 20:08:03] Production.INFO: ==32438== Lock acquired, processing the job...
[2025-01-09 20:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 20:08:03] Production.INFO: ==32442== Lock acquired, processing the job...
[2025-01-09 20:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 20:08:03] Production.INFO: ==32436== Lock acquired, processing the job...
[2025-01-09 20:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 20:08:03] Production.INFO: ==32440== Lock acquired, processing the job...
[2025-01-09 20:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 20:08:03] Production.INFO: Account Balance Start.
[2025-01-09 20:08:03] Production.INFO: CreateAllLog Start
[2025-01-09 20:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 20:08:03] Production.INFO: 117
[2025-01-09 20:08:03] Production.INFO: Date 2025-01-08
[2025-01-09 20:08:03] Production.INFO: ==32444== Lock acquired, processing the job...
[2025-01-09 20:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 20:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 20:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 20:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 20:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 20:08:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:08:03] Production.INFO: Date 2025-01-09
[2025-01-09 20:08:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:08:04] Production.INFO: Total Charge 0
[2025-01-09 20:08:04] Production.INFO: CreateAllLog End
[2025-01-09 20:08:04] Production.INFO: ==32446== Lock acquired, processing the job...
[2025-01-09 20:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 20:08:04] Production.INFO: ==32438== Releasing lock...
[2025-01-09 20:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 20:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 20:08:04] Production.INFO: Account Balance End.
[2025-01-09 20:08:04] Production.ERROR: done
[2025-01-09 20:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 20:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:08:04] Production.ERROR: CronJobId end 12
[2025-01-09 20:08:04] Production.INFO: ==32442== Releasing lock...
[2025-01-09 20:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 20:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 20:08:04] Production.INFO: count ==21
[2025-01-09 20:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:08:04] Production.INFO: count ==21
[2025-01-09 20:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211917') start
[2025-01-09 20:08:04] Production.ERROR: done
[2025-01-09 20:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211917') end
[2025-01-09 20:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 20:08:04] Production.INFO: 1
[2025-01-09 20:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 20:08:04] Production.INFO: ==32446== Releasing lock...
[2025-01-09 20:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 20:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 20:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 17:08:05
[end_date_ymd] => 2025-01-09 20:08:05
[RateCDR] => 1
)
[2025-01-09 20:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 17:08:05' and `end` < '2025-01-09 20:08:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 20:08:12] Production.ERROR: CronJobId end10
[2025-01-09 20:08:12] Production.INFO: ==32440== Releasing lock...
[2025-01-09 20:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 20:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 20:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 20:08:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 20:08:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 20:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 20:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 20:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 20:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 20:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 20:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 20:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 20:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 20:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 20:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 20:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 20:08:13] Production.INFO: call_cost start
[2025-01-09 20:08:13] Production.INFO: call_cost end
[2025-01-09 20:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 20:08:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 20:08:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 20:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 20:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 20:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 20:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 20:08:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 20:08:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 20:08:14] Production.INFO: ==32436== Releasing lock...
[2025-01-09 20:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 20:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 20:08:19] Production.INFO: count ==1735
[2025-01-09 20:08:19] Production.ERROR: pbx CDR StartTime 2025-01-09 17:08:05 - End Time 2025-01-09 20:08:05
[2025-01-09 20:08:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 20:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211918', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211918', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211918', 'tblTempVendorCDR_20' ) start
[2025-01-09 20:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211918', 'tblTempVendorCDR_20' ) end
[2025-01-09 20:08:19] Production.INFO: ProcessCDR(1,14211918,1,1,2)
[2025-01-09 20:08:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211918,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:08:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211918,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:08:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211918,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:08:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211918,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211918', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211918', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:08:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:08:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:08:23] Production.INFO: ==32444== Releasing lock...
[2025-01-09 20:08:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 20:08:23] Production.INFO: 41.25 MB #Memory Used#
[2025-01-10 01:09:01] Production.INFO: ==32499== Lock acquired, processing the job...
[2025-01-10 01:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 01:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 01:09:01] Production.INFO: neon service started
[2025-01-10 01:09:01] Production.INFO: neon service started
[2025-01-10 01:09:01] Production.INFO: ==32499== Releasing lock...
[2025-01-10 01:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 01:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 20:09:01] Production.INFO: ==32501== Lock acquired, processing the job...
[2025-01-09 20:09:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:09:02] Production.INFO: ==32501== Releasing lock...
[2025-01-09 20:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 20:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:09:02] Production.INFO: ==32503== Lock acquired, processing the job...
[2025-01-10 01:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 01:09:02] Production.INFO: ==32503== Releasing lock...
[2025-01-10 01:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 01:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 20:09:02] Production.INFO: ==32508== Lock acquired, processing the job...
[2025-01-09 20:09:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 20:09:02] Production.INFO: ==32506== Lock acquired, processing the job...
[2025-01-09 20:09:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 20:09:03] Production.INFO: ==32512== Lock acquired, processing the job...
[2025-01-09 20:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 20:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 20:09:03] Production.INFO: ==32516== Lock acquired, processing the job...
[2025-01-09 20:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 20:09:03] Production.INFO: Account Balance Start.
[2025-01-09 20:09:03] Production.INFO: CreateAllLog Start
[2025-01-09 20:09:03] Production.INFO: 117
[2025-01-09 20:09:03] Production.INFO: Date 2025-01-08
[2025-01-09 20:09:03] Production.INFO: ==32514== Lock acquired, processing the job...
[2025-01-09 20:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 20:09:03] Production.INFO: ==32510== Lock acquired, processing the job...
[2025-01-09 20:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 20:09:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:09:03] Production.INFO: Date 2025-01-09
[2025-01-09 20:09:03] Production.INFO: count ==21
[2025-01-09 20:09:03] Production.INFO: Reseller ==> 0
[2025-01-09 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-01-09 20:09:03] Production.INFO: count ==21
[2025-01-09 20:09:03] Production.INFO: Total Charge 0
[2025-01-09 20:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211922') start
[2025-01-09 20:09:03] Production.INFO: CreateAllLog End
[2025-01-09 20:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 20:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 20:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 20:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 20:09:03] Production.INFO: ==32508== Releasing lock...
[2025-01-09 20:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 20:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 20:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211922') end
[2025-01-09 20:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 20:09:03] Production.INFO: 1
[2025-01-09 20:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 20:09:03] Production.INFO: Account Balance End.
[2025-01-09 20:09:03] Production.ERROR: CronJobId end 12
[2025-01-09 20:09:03] Production.INFO: ==32512== Releasing lock...
[2025-01-09 20:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 20:09:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 20:09:03] Production.INFO: ==32516== Releasing lock...
[2025-01-09 20:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 20:09:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 20:09:03] Production.ERROR: done
[2025-01-09 20:09:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 20:09:03] Production.ERROR: done
[2025-01-09 20:09:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 17:09:04
[end_date_ymd] => 2025-01-09 20:09:04
[RateCDR] => 1
)
[2025-01-09 20:09:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 17:09:04' and `end` < '2025-01-09 20:09:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 20:09:11] Production.ERROR: CronJobId end10
[2025-01-09 20:09:11] Production.INFO: ==32510== Releasing lock...
[2025-01-09 20:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 20:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 20:09:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 20:09:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 20:09:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 20:09:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 20:09:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 20:09:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 20:09:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 20:09:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 20:09:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 20:09:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 20:09:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 20:09:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 20:09:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 20:09:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 20:09:13] Production.INFO: call_cost start
[2025-01-09 20:09:13] Production.INFO: call_cost end
[2025-01-09 20:09:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 20:09:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 20:09:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 20:09:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 20:09:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 20:09:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 20:09:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 20:09:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 20:09:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 20:09:13] Production.INFO: ==32506== Releasing lock...
[2025-01-09 20:09:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 20:09:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 20:09:17] Production.INFO: count ==1726
[2025-01-09 20:09:18] Production.ERROR: pbx CDR StartTime 2025-01-09 17:09:04 - End Time 2025-01-09 20:09:04
[2025-01-09 20:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 20:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211923', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211923', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211923', 'tblTempVendorCDR_20' ) start
[2025-01-09 20:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211923', 'tblTempVendorCDR_20' ) end
[2025-01-09 20:09:18] Production.INFO: ProcessCDR(1,14211923,1,1,2)
[2025-01-09 20:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211923,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211923,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211923,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:09:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211923,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211923', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211923', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:09:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:09:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:09:21] Production.INFO: ==32514== Releasing lock...
[2025-01-09 20:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 20:09:21] Production.INFO: 41 MB #Memory Used#
[2025-01-10 01:10:01] Production.INFO: ==32570== Lock acquired, processing the job...
[2025-01-10 01:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 01:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 01:10:01] Production.INFO: neon service started
[2025-01-10 01:10:01] Production.INFO: neon service started
[2025-01-10 01:10:01] Production.INFO: ==32570== Releasing lock...
[2025-01-10 01:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 01:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 20:10:02] Production.INFO: ==32572== Lock acquired, processing the job...
[2025-01-09 20:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:10:02] Production.INFO: ==32572== Releasing lock...
[2025-01-09 20:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 20:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:10:02] Production.INFO: ==32574== Lock acquired, processing the job...
[2025-01-10 01:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 01:10:02] Production.INFO: ==32574== Releasing lock...
[2025-01-10 01:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 01:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 20:10:03] Production.INFO: ==32577== Lock acquired, processing the job...
[2025-01-09 20:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 20:10:03] Production.INFO: ==32583== Lock acquired, processing the job...
[2025-01-09 20:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 20:10:03] Production.INFO: ==32579== Lock acquired, processing the job...
[2025-01-09 20:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 20:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 20:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 20:10:03] Production.ERROR: CronJob PID - 32579
[2025-01-09 20:10:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-09 20:10:03] Production.ERROR: CronJob ID - 5
[2025-01-09 20:10:03] Production.ERROR: CronJob Last Run Time 2025-01-09 20:10:00
[2025-01-09 20:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 20:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 20:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 20:10:03] Production.ERROR: CronJob PID - 32583
[2025-01-09 20:10:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-09 20:10:03] Production.ERROR: CronJob ID - 10
[2025-01-09 20:10:03] Production.ERROR: CronJob Last Run Time 2025-01-09 20:10:00
[2025-01-09 20:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 20:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 20:10:03] Production.INFO: ==32585== Lock acquired, processing the job...
[2025-01-09 20:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 20:10:03] Production.INFO: ==32581== Lock acquired, processing the job...
[2025-01-09 20:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 20:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 20:10:03] Production.INFO: ==32577== Releasing lock...
[2025-01-09 20:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 20:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 20:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 20:10:03] Production.INFO: ==32589== Lock acquired, processing the job...
[2025-01-09 20:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 20:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 20:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 20:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 20:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 20:10:04] Production.INFO: Account Balance Start.
[2025-01-09 20:10:04] Production.INFO: CreateAllLog Start
[2025-01-09 20:10:04] Production.INFO: 117
[2025-01-09 20:10:04] Production.INFO: ==32587== Lock acquired, processing the job...
[2025-01-09 20:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 20:10:04] Production.INFO: Date 2025-01-08
[2025-01-09 20:10:04] Production.INFO: Reseller ==> 0
[2025-01-09 20:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:10:04] Production.INFO: Date 2025-01-09
[2025-01-09 20:10:04] Production.INFO: Reseller ==> 0
[2025-01-09 20:10:04] Production.INFO: ==32591== Lock acquired, processing the job...
[2025-01-09 20:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 20:10:04] Production.INFO: Total Charge 0
[2025-01-09 20:10:04] Production.INFO: CreateAllLog End
[2025-01-09 20:10:04] Production.ERROR: done
[2025-01-09 20:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 20:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:10:04] Production.INFO: ==32581== Releasing lock...
[2025-01-09 20:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 20:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 20:10:04] Production.INFO: count ==21
[2025-01-09 20:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:10:04] Production.INFO: count ==21
[2025-01-09 20:10:04] Production.ERROR: done
[2025-01-09 20:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211927') start
[2025-01-09 20:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 20:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14211928', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 20:10:04] Production.ERROR: done
[2025-01-09 20:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211927') end
[2025-01-09 20:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 20:10:04] Production.INFO: 1
[2025-01-09 20:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 20:10:04] Production.INFO: Account Balance End.
[2025-01-09 20:10:04] Production.ERROR: CronJobId end 12
[2025-01-09 20:10:04] Production.INFO: ==32585== Releasing lock...
[2025-01-09 20:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 20:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 20:10:04] Production.INFO: ==32591== Releasing lock...
[2025-01-09 20:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 20:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 20:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 17:10:05
[end_date_ymd] => 2025-01-09 20:10:05
[RateCDR] => 1
)
[2025-01-09 20:10:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 17:10:05' and `end` < '2025-01-09 20:10:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 20:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14211928', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 20:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 20:10:08] Production.INFO: ProcessCDR(1,14211928,1,1,2)
[2025-01-09 20:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14211928,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14211928,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:10:08] Production.INFO: ==32589== Releasing lock...
[2025-01-09 20:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 20:10:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 20:10:13] Production.ERROR: CronJobId end10
[2025-01-09 20:10:13] Production.INFO: ==32583== Releasing lock...
[2025-01-09 20:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 20:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 20:10:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 20:10:15] Production.INFO: ============== Balance Warning START===========
[2025-01-09 20:10:15] Production.INFO: ============== Balance Warning END===========
[2025-01-09 20:10:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 20:10:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 20:10:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 20:10:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 20:10:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 20:10:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 20:10:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 20:10:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 20:10:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 20:10:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 20:10:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 20:10:15] Production.INFO: call_cost start
[2025-01-09 20:10:15] Production.INFO: call_cost end
[2025-01-09 20:10:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 20:10:16] Production.INFO: ============== Report Schedule START===========
[2025-01-09 20:10:16] Production.INFO: ============== Report Schedule END===========
[2025-01-09 20:10:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 20:10:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 20:10:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 20:10:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 20:10:16] Production.INFO: ============== Deal alert START===========
[2025-01-09 20:10:16] Production.INFO: ============== Deal alert END===========
[2025-01-09 20:10:16] Production.INFO: ==32579== Releasing lock...
[2025-01-09 20:10:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 20:10:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 20:10:18] Production.INFO: count ==1722
[2025-01-09 20:10:19] Production.ERROR: pbx CDR StartTime 2025-01-09 17:10:05 - End Time 2025-01-09 20:10:05
[2025-01-09 20:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 20:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211929', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211929', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211929', 'tblTempVendorCDR_20' ) start
[2025-01-09 20:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211929', 'tblTempVendorCDR_20' ) end
[2025-01-09 20:10:19] Production.INFO: ProcessCDR(1,14211929,1,1,2)
[2025-01-09 20:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211929,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211929,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211929,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211929,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211929', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211929', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:10:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:10:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:10:22] Production.INFO: ==32587== Releasing lock...
[2025-01-09 20:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 20:10:22] Production.INFO: 41 MB #Memory Used#
[2025-01-10 01:11:01] Production.INFO: ==32647== Lock acquired, processing the job...
[2025-01-10 01:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 01:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 01:11:01] Production.INFO: neon service started
[2025-01-10 01:11:01] Production.INFO: neon service started
[2025-01-10 01:11:01] Production.INFO: ==32647== Releasing lock...
[2025-01-10 01:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 01:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 20:11:02] Production.INFO: ==32649== Lock acquired, processing the job...
[2025-01-09 20:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 01:11:02] Production.INFO: ==32651== Lock acquired, processing the job...
[2025-01-10 01:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 01:11:02] Production.INFO: ==32651== Releasing lock...
[2025-01-10 01:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 01:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 20:11:02] Production.INFO: ==32649== Releasing lock...
[2025-01-09 20:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 20:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 20:11:03] Production.INFO: ==32654== Lock acquired, processing the job...
[2025-01-09 20:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 20:11:03] Production.INFO: ==32656== Lock acquired, processing the job...
[2025-01-09 20:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 20:11:03] Production.INFO: ==32662== Lock acquired, processing the job...
[2025-01-09 20:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 20:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 20:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:11:03] Production.INFO: ==32658== Lock acquired, processing the job...
[2025-01-09 20:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 20:11:03] Production.INFO: ==32660== Lock acquired, processing the job...
[2025-01-09 20:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 20:11:03] Production.INFO: ==32664== Lock acquired, processing the job...
[2025-01-09 20:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 20:11:03] Production.INFO: Account Balance Start.
[2025-01-09 20:11:03] Production.INFO: CreateAllLog Start
[2025-01-09 20:11:03] Production.INFO: 117
[2025-01-09 20:11:03] Production.INFO: Date 2025-01-08
[2025-01-09 20:11:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:11:03] Production.INFO: ==32656== Releasing lock...
[2025-01-09 20:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 20:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 20:11:03] Production.INFO: Date 2025-01-09
[2025-01-09 20:11:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:11:03] Production.INFO: Total Charge 0
[2025-01-09 20:11:03] Production.ERROR: done
[2025-01-09 20:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 20:11:03] Production.INFO: CreateAllLog End
[2025-01-09 20:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 20:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 20:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 20:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 20:11:04] Production.INFO: count ==21
[2025-01-09 20:11:04] Production.ERROR: done
[2025-01-09 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-01-09 20:11:04] Production.INFO: count ==21
[2025-01-09 20:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211933') start
[2025-01-09 20:11:04] Production.INFO: Account Balance End.
[2025-01-09 20:11:04] Production.ERROR: CronJobId end 12
[2025-01-09 20:11:04] Production.INFO: ==32660== Releasing lock...
[2025-01-09 20:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 20:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 20:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211933') end
[2025-01-09 20:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 20:11:04] Production.INFO: 1
[2025-01-09 20:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 20:11:04] Production.INFO: ==32664== Releasing lock...
[2025-01-09 20:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 20:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 20:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 17:11:05
[end_date_ymd] => 2025-01-09 20:11:05
[RateCDR] => 1
)
[2025-01-09 20:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 17:11:05' and `end` < '2025-01-09 20:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 20:11:12] Production.ERROR: CronJobId end10
[2025-01-09 20:11:12] Production.INFO: ==32658== Releasing lock...
[2025-01-09 20:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 20:11:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 20:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 20:11:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 20:11:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 20:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 20:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 20:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 20:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 20:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 20:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 20:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 20:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 20:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 20:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 20:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 20:11:13] Production.INFO: call_cost start
[2025-01-09 20:11:13] Production.INFO: call_cost end
[2025-01-09 20:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 20:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 20:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 20:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 20:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 20:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 20:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 20:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 20:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 20:11:14] Production.INFO: ==32654== Releasing lock...
[2025-01-09 20:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 20:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 20:11:18] Production.INFO: count ==1682
[2025-01-09 20:11:18] Production.ERROR: pbx CDR StartTime 2025-01-09 17:11:05 - End Time 2025-01-09 20:11:05
[2025-01-09 20:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 20:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211934', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211934', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211934', 'tblTempVendorCDR_20' ) start
[2025-01-09 20:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211934', 'tblTempVendorCDR_20' ) end
[2025-01-09 20:11:18] Production.INFO: ProcessCDR(1,14211934,1,1,2)
[2025-01-09 20:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211934,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:11:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211934,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:11:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211934,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:11:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211934,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211934', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211934', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:11:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:11:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:11:23] Production.INFO: ==32662== Releasing lock...
[2025-01-09 20:11:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 20:11:23] Production.INFO: 40.75 MB #Memory Used#
[2025-01-10 01:12:02] Production.INFO: ==32720== Lock acquired, processing the job...
[2025-01-10 01:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 01:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 01:12:02] Production.INFO: neon service started
[2025-01-10 01:12:02] Production.INFO: neon service started
[2025-01-10 01:12:02] Production.INFO: ==32720== Releasing lock...
[2025-01-10 01:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 01:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 20:12:02] Production.INFO: ==32722== Lock acquired, processing the job...
[2025-01-09 20:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 01:12:02] Production.INFO: ==32724== Lock acquired, processing the job...
[2025-01-10 01:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 01:12:02] Production.INFO: ==32724== Releasing lock...
[2025-01-10 01:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 01:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 20:12:03] Production.INFO: ==32722== Releasing lock...
[2025-01-09 20:12:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 20:12:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 20:12:03] Production.INFO: ==32729== Lock acquired, processing the job...
[2025-01-09 20:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 20:12:03] Production.INFO: ==32731== Lock acquired, processing the job...
[2025-01-09 20:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 20:12:03] Production.INFO: ==32727== Lock acquired, processing the job...
[2025-01-09 20:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 20:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 20:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 20:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 20:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 20:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 20:12:04] Production.INFO: ==32733== Lock acquired, processing the job...
[2025-01-09 20:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 20:12:04] Production.INFO: ==32729== Releasing lock...
[2025-01-09 20:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 20:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 20:12:04] Production.INFO: ==32737== Lock acquired, processing the job...
[2025-01-09 20:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 20:12:04] Production.INFO: ==32735== Lock acquired, processing the job...
[2025-01-09 20:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 20:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:12:04] Production.INFO: Account Balance Start.
[2025-01-09 20:12:04] Production.INFO: CreateAllLog Start
[2025-01-09 20:12:04] Production.INFO: 117
[2025-01-09 20:12:04] Production.INFO: Date 2025-01-08
[2025-01-09 20:12:04] Production.INFO: Reseller ==> 0
[2025-01-09 20:12:04] Production.INFO: Date 2025-01-09
[2025-01-09 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-01-09 20:12:04] Production.INFO: Reseller ==> 0
[2025-01-09 20:12:04] Production.INFO: count ==21
[2025-01-09 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-01-09 20:12:04] Production.INFO: count ==21
[2025-01-09 20:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211938') start
[2025-01-09 20:12:04] Production.INFO: Total Charge 0
[2025-01-09 20:12:04] Production.INFO: CreateAllLog End
[2025-01-09 20:12:04] Production.ERROR: done
[2025-01-09 20:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211938') end
[2025-01-09 20:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 20:12:04] Production.INFO: 1
[2025-01-09 20:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 20:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 20:12:04] Production.INFO: ==32737== Releasing lock...
[2025-01-09 20:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 20:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 20:12:05] Production.INFO: Account Balance End.
[2025-01-09 20:12:05] Production.ERROR: done
[2025-01-09 20:12:05] Production.ERROR: CronJobId end 12
[2025-01-09 20:12:05] Production.INFO: ==32733== Releasing lock...
[2025-01-09 20:12:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 20:12:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 20:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 17:12:05
[end_date_ymd] => 2025-01-09 20:12:05
[RateCDR] => 1
)
[2025-01-09 20:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 17:12:05' and `end` < '2025-01-09 20:12:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 20:12:12] Production.ERROR: CronJobId end10
[2025-01-09 20:12:12] Production.INFO: ==32731== Releasing lock...
[2025-01-09 20:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 20:12:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 20:12:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 20:12:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 20:12:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 20:12:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 20:12:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 20:12:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 20:12:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 20:12:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 20:12:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 20:12:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 20:12:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 20:12:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 20:12:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 20:12:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 20:12:14] Production.INFO: call_cost start
[2025-01-09 20:12:14] Production.INFO: call_cost end
[2025-01-09 20:12:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 20:12:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 20:12:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 20:12:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 20:12:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 20:12:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 20:12:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 20:12:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 20:12:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 20:12:15] Production.INFO: ==32727== Releasing lock...
[2025-01-09 20:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 20:12:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 20:12:19] Production.INFO: count ==1673
[2025-01-09 20:12:20] Production.ERROR: pbx CDR StartTime 2025-01-09 17:12:05 - End Time 2025-01-09 20:12:05
[2025-01-09 20:12:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 20:12:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211939', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:12:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211939', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:12:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211939', 'tblTempVendorCDR_20' ) start
[2025-01-09 20:12:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211939', 'tblTempVendorCDR_20' ) end
[2025-01-09 20:12:20] Production.INFO: ProcessCDR(1,14211939,1,1,2)
[2025-01-09 20:12:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211939,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:12:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211939,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:12:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211939,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:12:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211939,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:12:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211939', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:12:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211939', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:12:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:12:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:12:24] Production.INFO: ==32735== Releasing lock...
[2025-01-09 20:12:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 20:12:24] Production.INFO: 40.25 MB #Memory Used#
[2025-01-10 01:13:01] Production.INFO: ==330== Lock acquired, processing the job...
[2025-01-10 01:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 01:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 01:13:01] Production.INFO: neon service started
[2025-01-10 01:13:01] Production.INFO: neon service started
[2025-01-10 01:13:01] Production.INFO: ==330== Releasing lock...
[2025-01-10 01:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 01:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 20:13:01] Production.INFO: ==332== Lock acquired, processing the job...
[2025-01-09 20:13:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:13:02] Production.INFO: ==332== Releasing lock...
[2025-01-09 20:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 20:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:13:02] Production.INFO: ==334== Lock acquired, processing the job...
[2025-01-10 01:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 01:13:02] Production.INFO: ==334== Releasing lock...
[2025-01-10 01:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 01:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 20:13:03] Production.INFO: ==339== Lock acquired, processing the job...
[2025-01-09 20:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 20:13:03] Production.INFO: ==337== Lock acquired, processing the job...
[2025-01-09 20:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 20:13:03] Production.INFO: ==359== Lock acquired, processing the job...
[2025-01-09 20:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 20:13:03] Production.INFO: ==353== Lock acquired, processing the job...
[2025-01-09 20:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 20:13:03] Production.INFO: ==355== Lock acquired, processing the job...
[2025-01-09 20:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 20:13:03] Production.INFO: ==357== Lock acquired, processing the job...
[2025-01-09 20:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 20:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 20:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 20:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 20:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 20:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:13:03] Production.INFO: Account Balance Start.
[2025-01-09 20:13:03] Production.INFO: CreateAllLog Start
[2025-01-09 20:13:03] Production.INFO: 117
[2025-01-09 20:13:03] Production.INFO: ==339== Releasing lock...
[2025-01-09 20:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 20:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 20:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 20:13:03] Production.INFO: count ==21
[2025-01-09 20:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:13:03] Production.INFO: count ==21
[2025-01-09 20:13:03] Production.INFO: Date 2025-01-08
[2025-01-09 20:13:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211941') start
[2025-01-09 20:13:03] Production.INFO: Date 2025-01-09
[2025-01-09 20:13:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:13:03] Production.INFO: Total Charge 0
[2025-01-09 20:13:03] Production.INFO: CreateAllLog End
[2025-01-09 20:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211941') end
[2025-01-09 20:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 20:13:03] Production.INFO: 1
[2025-01-09 20:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 20:13:03] Production.INFO: ==359== Releasing lock...
[2025-01-09 20:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 20:13:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 20:13:03] Production.ERROR: done
[2025-01-09 20:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 20:13:03] Production.ERROR: done
[2025-01-09 20:13:03] Production.INFO: Account Balance End.
[2025-01-09 20:13:03] Production.ERROR: CronJobId end 12
[2025-01-09 20:13:03] Production.INFO: ==355== Releasing lock...
[2025-01-09 20:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 20:13:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 20:13:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 17:13:04
[end_date_ymd] => 2025-01-09 20:13:04
[RateCDR] => 1
)
[2025-01-09 20:13:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 17:13:04' and `end` < '2025-01-09 20:13:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 20:13:11] Production.ERROR: CronJobId end10
[2025-01-09 20:13:11] Production.INFO: ==353== Releasing lock...
[2025-01-09 20:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 20:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 20:13:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 20:13:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 20:13:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 20:13:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 20:13:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 20:13:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 20:13:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 20:13:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 20:13:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 20:13:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 20:13:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 20:13:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 20:13:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 20:13:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 20:13:12] Production.INFO: call_cost start
[2025-01-09 20:13:12] Production.INFO: call_cost end
[2025-01-09 20:13:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 20:13:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 20:13:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 20:13:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 20:13:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 20:13:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 20:13:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 20:13:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 20:13:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 20:13:13] Production.INFO: ==337== Releasing lock...
[2025-01-09 20:13:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 20:13:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 20:13:18] Production.INFO: count ==1680
[2025-01-09 20:13:18] Production.ERROR: pbx CDR StartTime 2025-01-09 17:13:04 - End Time 2025-01-09 20:13:04
[2025-01-09 20:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 20:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211944', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211944', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211944', 'tblTempVendorCDR_20' ) start
[2025-01-09 20:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211944', 'tblTempVendorCDR_20' ) end
[2025-01-09 20:13:18] Production.INFO: ProcessCDR(1,14211944,1,1,2)
[2025-01-09 20:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211944,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:13:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211944,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:13:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211944,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:13:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211944,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211944', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211944', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:13:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:13:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:13:23] Production.INFO: ==357== Releasing lock...
[2025-01-09 20:13:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 20:13:23] Production.INFO: 40.75 MB #Memory Used#
[2025-01-10 01:14:02] Production.INFO: ==413== Lock acquired, processing the job...
[2025-01-10 01:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 01:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 01:14:02] Production.INFO: neon service started
[2025-01-10 01:14:02] Production.INFO: neon service started
[2025-01-10 01:14:02] Production.INFO: ==413== Releasing lock...
[2025-01-10 01:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 01:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 01:14:02] Production.INFO: ==417== Lock acquired, processing the job...
[2025-01-10 01:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 01:14:02] Production.INFO: ==417== Releasing lock...
[2025-01-10 01:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 01:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 20:14:02] Production.INFO: ==415== Lock acquired, processing the job...
[2025-01-09 20:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:14:02] Production.INFO: ==415== Releasing lock...
[2025-01-09 20:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 20:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 20:14:03] Production.INFO: ==424== Lock acquired, processing the job...
[2025-01-09 20:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 20:14:03] Production.INFO: ==430== Lock acquired, processing the job...
[2025-01-09 20:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 20:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 20:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 20:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 20:14:03] Production.INFO: ==419== Lock acquired, processing the job...
[2025-01-09 20:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 20:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 20:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:14:03] Production.INFO: ==421== Lock acquired, processing the job...
[2025-01-09 20:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 20:14:03] Production.INFO: count ==21
[2025-01-09 20:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:14:04] Production.INFO: count ==21
[2025-01-09 20:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211945') start
[2025-01-09 20:14:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 20:14:04] Production.INFO: ==426== Lock acquired, processing the job...
[2025-01-09 20:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 20:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211945') end
[2025-01-09 20:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 20:14:04] Production.INFO: 1
[2025-01-09 20:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 20:14:04] Production.INFO: ==428== Lock acquired, processing the job...
[2025-01-09 20:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 20:14:04] Production.INFO: ==430== Releasing lock...
[2025-01-09 20:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 20:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 20:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:14:04] Production.INFO: Account Balance Start.
[2025-01-09 20:14:04] Production.INFO: CreateAllLog Start
[2025-01-09 20:14:04] Production.INFO: 117
[2025-01-09 20:14:04] Production.INFO: Date 2025-01-08
[2025-01-09 20:14:04] Production.INFO: Reseller ==> 0
[2025-01-09 20:14:04] Production.INFO: Date 2025-01-09
[2025-01-09 20:14:04] Production.INFO: Reseller ==> 0
[2025-01-09 20:14:04] Production.INFO: Total Charge 0
[2025-01-09 20:14:04] Production.INFO: CreateAllLog End
[2025-01-09 20:14:04] Production.INFO: ==421== Releasing lock...
[2025-01-09 20:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 20:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 20:14:04] Production.ERROR: done
[2025-01-09 20:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 20:14:04] Production.ERROR: done
[2025-01-09 20:14:04] Production.INFO: Account Balance End.
[2025-01-09 20:14:04] Production.ERROR: CronJobId end 12
[2025-01-09 20:14:04] Production.INFO: ==426== Releasing lock...
[2025-01-09 20:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 20:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 20:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 17:14:05
[end_date_ymd] => 2025-01-09 20:14:05
[RateCDR] => 1
)
[2025-01-09 20:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 17:14:05' and `end` < '2025-01-09 20:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 20:14:12] Production.ERROR: CronJobId end10
[2025-01-09 20:14:12] Production.INFO: ==424== Releasing lock...
[2025-01-09 20:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 20:14:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 20:14:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 20:14:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 20:14:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 20:14:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 20:14:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 20:14:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 20:14:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 20:14:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 20:14:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 20:14:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 20:14:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 20:14:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 20:14:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 20:14:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 20:14:14] Production.INFO: call_cost start
[2025-01-09 20:14:14] Production.INFO: call_cost end
[2025-01-09 20:14:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 20:14:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 20:14:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 20:14:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 20:14:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 20:14:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 20:14:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 20:14:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 20:14:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 20:14:15] Production.INFO: ==419== Releasing lock...
[2025-01-09 20:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 20:14:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 20:14:19] Production.INFO: count ==1678
[2025-01-09 20:14:19] Production.ERROR: pbx CDR StartTime 2025-01-09 17:14:05 - End Time 2025-01-09 20:14:05
[2025-01-09 20:14:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 20:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211949', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211949', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211949', 'tblTempVendorCDR_20' ) start
[2025-01-09 20:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211949', 'tblTempVendorCDR_20' ) end
[2025-01-09 20:14:19] Production.INFO: ProcessCDR(1,14211949,1,1,2)
[2025-01-09 20:14:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211949,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:14:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211949,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:14:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211949,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:14:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211949,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:14:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211949', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:14:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211949', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:14:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:14:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:14:23] Production.INFO: ==428== Releasing lock...
[2025-01-09 20:14:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 20:14:23] Production.INFO: 40.75 MB #Memory Used#
[2025-01-10 01:15:01] Production.INFO: ==483== Lock acquired, processing the job...
[2025-01-10 01:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 01:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 01:15:01] Production.INFO: neon service started
[2025-01-10 01:15:01] Production.INFO: neon service started
[2025-01-10 01:15:01] Production.INFO: ==483== Releasing lock...
[2025-01-10 01:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 01:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 20:15:02] Production.INFO: ==485== Lock acquired, processing the job...
[2025-01-09 20:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 01:15:02] Production.INFO: ==487== Lock acquired, processing the job...
[2025-01-10 01:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 01:15:02] Production.INFO: ==487== Releasing lock...
[2025-01-10 01:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 01:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 20:15:02] Production.INFO: ==485== Releasing lock...
[2025-01-09 20:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 20:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 20:15:03] Production.INFO: ==495== Lock acquired, processing the job...
[2025-01-09 20:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 20:15:03] Production.INFO: ==502== Lock acquired, processing the job...
[2025-01-09 20:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 20:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 20:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 20:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 20:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 20:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:15:03] Production.INFO: ==490== Lock acquired, processing the job...
[2025-01-09 20:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 20:15:03] Production.INFO: count ==21
[2025-01-09 20:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:15:03] Production.INFO: count ==21
[2025-01-09 20:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211950') start
[2025-01-09 20:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 20:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211950') end
[2025-01-09 20:15:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 20:15:03] Production.INFO: 1
[2025-01-09 20:15:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 20:15:03] Production.INFO: ==492== Lock acquired, processing the job...
[2025-01-09 20:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 20:15:03] Production.INFO: ==502== Releasing lock...
[2025-01-09 20:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 20:15:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 20:15:03] Production.INFO: ==497== Lock acquired, processing the job...
[2025-01-09 20:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 20:15:03] Production.INFO: ==499== Lock acquired, processing the job...
[2025-01-09 20:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 20:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:15:03] Production.INFO: Account Balance Start.
[2025-01-09 20:15:03] Production.INFO: CreateAllLog Start
[2025-01-09 20:15:03] Production.INFO: 117
[2025-01-09 20:15:03] Production.INFO: Date 2025-01-08
[2025-01-09 20:15:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:15:04] Production.INFO: Date 2025-01-09
[2025-01-09 20:15:04] Production.INFO: Reseller ==> 0
[2025-01-09 20:15:04] Production.INFO: Total Charge 0
[2025-01-09 20:15:04] Production.ERROR: done
[2025-01-09 20:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 20:15:04] Production.INFO: CreateAllLog End
[2025-01-09 20:15:04] Production.INFO: ==492== Releasing lock...
[2025-01-09 20:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 20:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 20:15:04] Production.ERROR: done
[2025-01-09 20:15:04] Production.INFO: Account Balance End.
[2025-01-09 20:15:04] Production.ERROR: CronJobId end 12
[2025-01-09 20:15:04] Production.INFO: ==497== Releasing lock...
[2025-01-09 20:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 20:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 20:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 17:15:05
[end_date_ymd] => 2025-01-09 20:15:05
[RateCDR] => 1
)
[2025-01-09 20:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 17:15:05' and `end` < '2025-01-09 20:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 20:15:11] Production.ERROR: CronJobId end10
[2025-01-09 20:15:11] Production.INFO: ==495== Releasing lock...
[2025-01-09 20:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 20:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 20:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 20:15:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 20:15:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 20:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 20:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 20:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 20:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 20:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 20:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 20:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 20:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 20:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 20:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 20:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 20:15:13] Production.INFO: call_cost start
[2025-01-09 20:15:13] Production.INFO: call_cost end
[2025-01-09 20:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 20:15:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 20:15:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 20:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 20:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 20:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 20:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 20:15:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 20:15:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 20:15:14] Production.INFO: ==490== Releasing lock...
[2025-01-09 20:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 20:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 20:15:18] Production.INFO: count ==1676
[2025-01-09 20:15:18] Production.ERROR: pbx CDR StartTime 2025-01-09 17:15:05 - End Time 2025-01-09 20:15:05
[2025-01-09 20:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 20:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211954', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211954', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211954', 'tblTempVendorCDR_20' ) start
[2025-01-09 20:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211954', 'tblTempVendorCDR_20' ) end
[2025-01-09 20:15:19] Production.INFO: ProcessCDR(1,14211954,1,1,2)
[2025-01-09 20:15:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211954,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:15:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211954,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:15:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211954,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:15:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211954,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211954', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211954', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:15:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:15:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:15:22] Production.INFO: ==499== Releasing lock...
[2025-01-09 20:15:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 20:15:22] Production.INFO: 40.25 MB #Memory Used#
[2025-01-10 01:16:02] Production.INFO: ==556== Lock acquired, processing the job...
[2025-01-10 01:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 01:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 01:16:02] Production.INFO: neon service started
[2025-01-10 01:16:02] Production.INFO: neon service started
[2025-01-10 01:16:02] Production.INFO: ==556== Releasing lock...
[2025-01-10 01:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 01:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 01:16:02] Production.INFO: ==560== Lock acquired, processing the job...
[2025-01-10 01:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 01:16:02] Production.INFO: ==560== Releasing lock...
[2025-01-10 01:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 01:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 20:16:02] Production.INFO: ==558== Lock acquired, processing the job...
[2025-01-09 20:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:16:03] Production.INFO: ==558== Releasing lock...
[2025-01-09 20:16:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 20:16:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 20:16:03] Production.INFO: ==563== Lock acquired, processing the job...
[2025-01-09 20:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 20:16:03] Production.INFO: ==565== Lock acquired, processing the job...
[2025-01-09 20:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 20:16:04] Production.INFO: ==570== Lock acquired, processing the job...
[2025-01-09 20:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 20:16:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 20:16:04] Production.INFO: ==568== Lock acquired, processing the job...
[2025-01-09 20:16:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 20:16:04] Production.INFO: Account Balance Start.
[2025-01-09 20:16:04] Production.INFO: CreateAllLog Start
[2025-01-09 20:16:04] Production.INFO: 117
[2025-01-09 20:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 20:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 20:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 20:16:04] Production.INFO: Date 2025-01-08
[2025-01-09 20:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 20:16:04] Production.INFO: Reseller ==> 0
[2025-01-09 20:16:04] Production.INFO: Date 2025-01-09
[2025-01-09 20:16:04] Production.INFO: Reseller ==> 0
[2025-01-09 20:16:04] Production.INFO: ==574== Lock acquired, processing the job...
[2025-01-09 20:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 20:16:04] Production.INFO: Total Charge 0
[2025-01-09 20:16:04] Production.INFO: ==572== Lock acquired, processing the job...
[2025-01-09 20:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 20:16:04] Production.INFO: CreateAllLog End
[2025-01-09 20:16:04] Production.INFO: ==565== Releasing lock...
[2025-01-09 20:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 20:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 20:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:16:04] Production.INFO: Account Balance End.
[2025-01-09 20:16:04] Production.INFO: count ==21
[2025-01-09 20:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:16:04] Production.ERROR: CronJobId end 12
[2025-01-09 20:16:04] Production.INFO: ==570== Releasing lock...
[2025-01-09 20:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 20:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 20:16:04] Production.INFO: count ==21
[2025-01-09 20:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211958') start
[2025-01-09 20:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211958') end
[2025-01-09 20:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 20:16:04] Production.INFO: 1
[2025-01-09 20:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 20:16:04] Production.ERROR: done
[2025-01-09 20:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 20:16:04] Production.INFO: ==574== Releasing lock...
[2025-01-09 20:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 20:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 20:16:04] Production.ERROR: done
[2025-01-09 20:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 17:16:05
[end_date_ymd] => 2025-01-09 20:16:05
[RateCDR] => 1
)
[2025-01-09 20:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 17:16:05' and `end` < '2025-01-09 20:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 20:16:11] Production.ERROR: CronJobId end10
[2025-01-09 20:16:11] Production.INFO: ==568== Releasing lock...
[2025-01-09 20:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 20:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 20:16:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 20:16:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 20:16:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 20:16:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 20:16:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 20:16:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 20:16:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 20:16:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 20:16:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 20:16:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 20:16:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 20:16:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 20:16:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 20:16:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 20:16:13] Production.INFO: call_cost start
[2025-01-09 20:16:13] Production.INFO: call_cost end
[2025-01-09 20:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 20:16:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 20:16:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 20:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 20:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 20:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 20:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 20:16:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 20:16:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 20:16:14] Production.INFO: ==563== Releasing lock...
[2025-01-09 20:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 20:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 20:16:19] Production.INFO: count ==1670
[2025-01-09 20:16:19] Production.ERROR: pbx CDR StartTime 2025-01-09 17:16:05 - End Time 2025-01-09 20:16:05
[2025-01-09 20:16:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 20:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211959', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211959', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211959', 'tblTempVendorCDR_20' ) start
[2025-01-09 20:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211959', 'tblTempVendorCDR_20' ) end
[2025-01-09 20:16:19] Production.INFO: ProcessCDR(1,14211959,1,1,2)
[2025-01-09 20:16:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211959,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:16:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211959,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:16:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211959,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:16:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211959,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211959', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211959', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:16:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:16:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:16:22] Production.INFO: ==572== Releasing lock...
[2025-01-09 20:16:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 20:16:22] Production.INFO: 41 MB #Memory Used#
[2025-01-10 01:17:01] Production.INFO: ==636== Lock acquired, processing the job...
[2025-01-10 01:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 01:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 01:17:01] Production.INFO: neon service started
[2025-01-10 01:17:01] Production.INFO: neon service started
[2025-01-10 01:17:01] Production.INFO: ==636== Releasing lock...
[2025-01-10 01:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 01:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 20:17:02] Production.INFO: ==638== Lock acquired, processing the job...
[2025-01-09 20:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:17:02] Production.INFO: ==638== Releasing lock...
[2025-01-09 20:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 20:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:17:02] Production.INFO: ==640== Lock acquired, processing the job...
[2025-01-10 01:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 01:17:02] Production.INFO: ==640== Releasing lock...
[2025-01-10 01:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 01:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 20:17:03] Production.INFO: ==649== Lock acquired, processing the job...
[2025-01-09 20:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 20:17:03] Production.INFO: ==651== Lock acquired, processing the job...
[2025-01-09 20:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 20:17:03] Production.INFO: Account Balance Start.
[2025-01-09 20:17:03] Production.INFO: CreateAllLog Start
[2025-01-09 20:17:03] Production.INFO: 117
[2025-01-09 20:17:03] Production.INFO: Date 2025-01-08
[2025-01-09 20:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:17:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:17:03] Production.INFO: ==643== Lock acquired, processing the job...
[2025-01-09 20:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 20:17:03] Production.INFO: Date 2025-01-09
[2025-01-09 20:17:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:17:03] Production.INFO: Total Charge 0
[2025-01-09 20:17:03] Production.INFO: ==645== Lock acquired, processing the job...
[2025-01-09 20:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 20:17:03] Production.INFO: CreateAllLog End
[2025-01-09 20:17:03] Production.INFO: ==647== Lock acquired, processing the job...
[2025-01-09 20:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 20:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 20:17:03] Production.INFO: ==653== Lock acquired, processing the job...
[2025-01-09 20:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 20:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 20:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 20:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 20:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 20:17:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:17:04] Production.ERROR: done
[2025-01-09 20:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 20:17:04] Production.INFO: count ==21
[2025-01-09 20:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:17:04] Production.INFO: count ==21
[2025-01-09 20:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211963') start
[2025-01-09 20:17:04] Production.INFO: Account Balance End.
[2025-01-09 20:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211963') end
[2025-01-09 20:17:04] Production.ERROR: CronJobId end 12
[2025-01-09 20:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 20:17:04] Production.INFO: 1
[2025-01-09 20:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 20:17:04] Production.INFO: ==649== Releasing lock...
[2025-01-09 20:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 20:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 20:17:04] Production.INFO: ==645== Releasing lock...
[2025-01-09 20:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 20:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 20:17:04] Production.ERROR: done
[2025-01-09 20:17:04] Production.INFO: ==653== Releasing lock...
[2025-01-09 20:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 20:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 20:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 17:17:05
[end_date_ymd] => 2025-01-09 20:17:05
[RateCDR] => 1
)
[2025-01-09 20:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 17:17:05' and `end` < '2025-01-09 20:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 20:17:13] Production.ERROR: CronJobId end10
[2025-01-09 20:17:13] Production.INFO: ==647== Releasing lock...
[2025-01-09 20:17:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 20:17:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 20:17:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 20:17:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 20:17:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 20:17:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 20:17:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 20:17:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 20:17:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 20:17:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 20:17:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 20:17:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 20:17:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 20:17:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 20:17:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 20:17:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 20:17:14] Production.INFO: call_cost start
[2025-01-09 20:17:14] Production.INFO: call_cost end
[2025-01-09 20:17:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 20:17:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 20:17:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 20:17:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 20:17:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 20:17:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 20:17:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 20:17:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 20:17:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 20:17:15] Production.INFO: ==643== Releasing lock...
[2025-01-09 20:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 20:17:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 20:17:18] Production.INFO: count ==1652
[2025-01-09 20:17:18] Production.ERROR: pbx CDR StartTime 2025-01-09 17:17:05 - End Time 2025-01-09 20:17:05
[2025-01-09 20:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 20:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211964', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211964', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211964', 'tblTempVendorCDR_20' ) start
[2025-01-09 20:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211964', 'tblTempVendorCDR_20' ) end
[2025-01-09 20:17:18] Production.INFO: ProcessCDR(1,14211964,1,1,2)
[2025-01-09 20:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211964,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211964,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211964,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:17:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211964,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211964', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211964', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:17:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:17:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:17:22] Production.INFO: ==651== Releasing lock...
[2025-01-09 20:17:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 20:17:22] Production.INFO: 40.5 MB #Memory Used#
[2025-01-10 01:18:02] Production.INFO: ==757== Lock acquired, processing the job...
[2025-01-10 01:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 01:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 01:18:02] Production.INFO: neon service started
[2025-01-10 01:18:02] Production.INFO: neon service started
[2025-01-10 01:18:02] Production.INFO: ==757== Releasing lock...
[2025-01-10 01:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 01:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 20:18:02] Production.INFO: ==759== Lock acquired, processing the job...
[2025-01-09 20:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:18:02] Production.INFO: ==759== Releasing lock...
[2025-01-09 20:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 20:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:18:03] Production.INFO: ==761== Lock acquired, processing the job...
[2025-01-10 01:18:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 01:18:03] Production.INFO: ==761== Releasing lock...
[2025-01-10 01:18:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 01:18:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 20:18:03] Production.INFO: ==770== Lock acquired, processing the job...
[2025-01-09 20:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 20:18:03] Production.INFO: ==764== Lock acquired, processing the job...
[2025-01-09 20:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 20:18:03] Production.INFO: ==774== Lock acquired, processing the job...
[2025-01-09 20:18:03] Production.INFO: ==766== Lock acquired, processing the job...
[2025-01-09 20:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 20:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 20:18:04] Production.INFO: Account Balance Start.
[2025-01-09 20:18:04] Production.INFO: CreateAllLog Start
[2025-01-09 20:18:04] Production.INFO: 117
[2025-01-09 20:18:04] Production.INFO: Date 2025-01-08
[2025-01-09 20:18:04] Production.INFO: ==768== Lock acquired, processing the job...
[2025-01-09 20:18:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 20:18:04] Production.INFO: Reseller ==> 0
[2025-01-09 20:18:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 20:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 20:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 20:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 20:18:04] Production.INFO: Date 2025-01-09
[2025-01-09 20:18:04] Production.INFO: Reseller ==> 0
[2025-01-09 20:18:04] Production.INFO: ==772== Lock acquired, processing the job...
[2025-01-09 20:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 20:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 20:18:04] Production.INFO: count ==21
[2025-01-09 20:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:18:04] Production.INFO: count ==21
[2025-01-09 20:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211967') start
[2025-01-09 20:18:04] Production.INFO: Total Charge 0
[2025-01-09 20:18:04] Production.INFO: CreateAllLog End
[2025-01-09 20:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211967') end
[2025-01-09 20:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 20:18:04] Production.INFO: 1
[2025-01-09 20:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 20:18:04] Production.INFO: ==766== Releasing lock...
[2025-01-09 20:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 20:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 20:18:04] Production.INFO: ==774== Releasing lock...
[2025-01-09 20:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 20:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 20:18:04] Production.INFO: Account Balance End.
[2025-01-09 20:18:04] Production.ERROR: CronJobId end 12
[2025-01-09 20:18:04] Production.INFO: ==770== Releasing lock...
[2025-01-09 20:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 20:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 20:18:04] Production.ERROR: done
[2025-01-09 20:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 20:18:04] Production.ERROR: done
[2025-01-09 20:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 17:18:05
[end_date_ymd] => 2025-01-09 20:18:05
[RateCDR] => 1
)
[2025-01-09 20:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 17:18:05' and `end` < '2025-01-09 20:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 20:18:12] Production.ERROR: CronJobId end10
[2025-01-09 20:18:12] Production.INFO: ==768== Releasing lock...
[2025-01-09 20:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 20:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 20:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 20:18:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 20:18:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 20:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 20:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 20:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 20:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 20:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 20:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 20:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 20:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 20:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 20:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 20:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 20:18:13] Production.INFO: call_cost start
[2025-01-09 20:18:13] Production.INFO: call_cost end
[2025-01-09 20:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 20:18:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 20:18:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 20:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 20:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 20:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 20:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 20:18:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 20:18:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 20:18:14] Production.INFO: ==764== Releasing lock...
[2025-01-09 20:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 20:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 20:18:18] Production.INFO: count ==1642
[2025-01-09 20:18:19] Production.ERROR: pbx CDR StartTime 2025-01-09 17:18:05 - End Time 2025-01-09 20:18:05
[2025-01-09 20:18:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 20:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211969', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211969', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211969', 'tblTempVendorCDR_20' ) start
[2025-01-09 20:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211969', 'tblTempVendorCDR_20' ) end
[2025-01-09 20:18:19] Production.INFO: ProcessCDR(1,14211969,1,1,2)
[2025-01-09 20:18:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211969,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:18:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211969,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:18:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211969,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:18:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211969,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211969', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211969', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:18:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:18:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:18:22] Production.INFO: ==772== Releasing lock...
[2025-01-09 20:18:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 20:18:22] Production.INFO: 40.25 MB #Memory Used#
[2025-01-10 01:19:01] Production.INFO: ==829== Lock acquired, processing the job...
[2025-01-10 01:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 01:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 01:19:01] Production.INFO: neon service started
[2025-01-10 01:19:01] Production.INFO: neon service started
[2025-01-10 01:19:01] Production.INFO: ==829== Releasing lock...
[2025-01-10 01:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 01:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 20:19:02] Production.INFO: ==831== Lock acquired, processing the job...
[2025-01-09 20:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:19:02] Production.INFO: ==831== Releasing lock...
[2025-01-09 20:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 20:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:19:02] Production.INFO: ==833== Lock acquired, processing the job...
[2025-01-10 01:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 01:19:02] Production.INFO: ==833== Releasing lock...
[2025-01-10 01:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 01:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 20:19:03] Production.INFO: ==843== Lock acquired, processing the job...
[2025-01-09 20:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 20:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:19:03] Production.INFO: ==845== Lock acquired, processing the job...
[2025-01-09 20:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 20:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:19:03] Production.INFO: ==835== Lock acquired, processing the job...
[2025-01-09 20:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 20:19:03] Production.INFO: count ==21
[2025-01-09 20:19:03] Production.INFO: ==837== Lock acquired, processing the job...
[2025-01-09 20:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 20:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:19:03] Production.INFO: count ==21
[2025-01-09 20:19:03] Production.INFO: ==839== Lock acquired, processing the job...
[2025-01-09 20:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 20:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211970') start
[2025-01-09 20:19:03] Production.INFO: ==841== Lock acquired, processing the job...
[2025-01-09 20:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 20:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 20:19:03] Production.ERROR: done
[2025-01-09 20:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 20:19:03] Production.INFO: Account Balance Start.
[2025-01-09 20:19:03] Production.INFO: CreateAllLog Start
[2025-01-09 20:19:03] Production.INFO: 117
[2025-01-09 20:19:03] Production.INFO: Date 2025-01-08
[2025-01-09 20:19:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211970') end
[2025-01-09 20:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 20:19:03] Production.INFO: 1
[2025-01-09 20:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 20:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 20:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 20:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 20:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 20:19:03] Production.INFO: ==845== Releasing lock...
[2025-01-09 20:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 20:19:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 20:19:03] Production.INFO: Date 2025-01-09
[2025-01-09 20:19:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:19:03] Production.INFO: Total Charge 0
[2025-01-09 20:19:03] Production.INFO: CreateAllLog End
[2025-01-09 20:19:03] Production.ERROR: done
[2025-01-09 20:19:03] Production.INFO: ==837== Releasing lock...
[2025-01-09 20:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 20:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 20:19:03] Production.INFO: Account Balance End.
[2025-01-09 20:19:03] Production.ERROR: CronJobId end 12
[2025-01-09 20:19:03] Production.INFO: ==841== Releasing lock...
[2025-01-09 20:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 20:19:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 20:19:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 17:19:04
[end_date_ymd] => 2025-01-09 20:19:04
[RateCDR] => 1
)
[2025-01-09 20:19:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 17:19:04' and `end` < '2025-01-09 20:19:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 20:19:11] Production.ERROR: CronJobId end10
[2025-01-09 20:19:11] Production.INFO: ==839== Releasing lock...
[2025-01-09 20:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 20:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 20:19:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 20:19:11] Production.INFO: ============== Balance Warning START===========
[2025-01-09 20:19:11] Production.INFO: ============== Balance Warning END===========
[2025-01-09 20:19:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 20:19:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 20:19:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 20:19:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 20:19:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 20:19:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 20:19:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 20:19:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 20:19:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 20:19:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 20:19:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 20:19:12] Production.INFO: call_cost start
[2025-01-09 20:19:12] Production.INFO: call_cost end
[2025-01-09 20:19:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 20:19:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 20:19:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 20:19:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 20:19:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 20:19:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 20:19:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 20:19:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 20:19:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 20:19:13] Production.INFO: ==835== Releasing lock...
[2025-01-09 20:19:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 20:19:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 20:19:18] Production.INFO: count ==1641
[2025-01-09 20:19:18] Production.ERROR: pbx CDR StartTime 2025-01-09 17:19:04 - End Time 2025-01-09 20:19:04
[2025-01-09 20:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 20:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211974', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211974', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211974', 'tblTempVendorCDR_20' ) start
[2025-01-09 20:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211974', 'tblTempVendorCDR_20' ) end
[2025-01-09 20:19:18] Production.INFO: ProcessCDR(1,14211974,1,1,2)
[2025-01-09 20:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211974,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211974,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211974,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211974,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211974', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211974', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:19:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:19:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:19:21] Production.INFO: ==843== Releasing lock...
[2025-01-09 20:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 20:19:21] Production.INFO: 40.25 MB #Memory Used#
[2025-01-10 01:20:02] Production.INFO: ==899== Lock acquired, processing the job...
[2025-01-10 01:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 01:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 01:20:02] Production.INFO: neon service started
[2025-01-10 01:20:02] Production.INFO: neon service started
[2025-01-10 01:20:02] Production.INFO: ==899== Releasing lock...
[2025-01-10 01:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 01:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 20:20:02] Production.INFO: ==901== Lock acquired, processing the job...
[2025-01-09 20:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:20:02] Production.INFO: ==901== Releasing lock...
[2025-01-09 20:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 20:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:20:02] Production.INFO: ==903== Lock acquired, processing the job...
[2025-01-10 01:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 01:20:03] Production.INFO: ==903== Releasing lock...
[2025-01-10 01:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 01:20:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 20:20:03] Production.INFO: ==906== Lock acquired, processing the job...
[2025-01-09 20:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 20:20:03] Production.INFO: ==908== Lock acquired, processing the job...
[2025-01-09 20:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 20:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 20:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 20:20:03] Production.ERROR: CronJob PID - 908
[2025-01-09 20:20:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-09 20:20:03] Production.ERROR: CronJob ID - 5
[2025-01-09 20:20:03] Production.ERROR: CronJob Last Run Time 2025-01-09 20:20:00
[2025-01-09 20:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 20:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 20:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 20:20:03] Production.INFO: ==906== Releasing lock...
[2025-01-09 20:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 20:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 20:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 20:20:03] Production.INFO: ==912== Lock acquired, processing the job...
[2025-01-09 20:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 20:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 20:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 20:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 20:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 20:20:04] Production.INFO: ==910== Lock acquired, processing the job...
[2025-01-09 20:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 20:20:04] Production.INFO: ==918== Lock acquired, processing the job...
[2025-01-09 20:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 20:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:20:04] Production.INFO: ==916== Lock acquired, processing the job...
[2025-01-09 20:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 20:20:04] Production.INFO: ==914== Lock acquired, processing the job...
[2025-01-09 20:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 20:20:04] Production.INFO: ==920== Lock acquired, processing the job...
[2025-01-09 20:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 20:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:20:04] Production.ERROR: done
[2025-01-09 20:20:04] Production.INFO: Account Balance Start.
[2025-01-09 20:20:04] Production.INFO: CreateAllLog Start
[2025-01-09 20:20:04] Production.INFO: 117
[2025-01-09 20:20:04] Production.INFO: Date 2025-01-08
[2025-01-09 20:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 20:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14211979', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 20:20:04] Production.INFO: Reseller ==> 0
[2025-01-09 20:20:04] Production.INFO: count ==21
[2025-01-09 20:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:20:04] Production.ERROR: done
[2025-01-09 20:20:04] Production.INFO: count ==21
[2025-01-09 20:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 20:20:04] Production.INFO: Date 2025-01-09
[2025-01-09 20:20:04] Production.INFO: Reseller ==> 0
[2025-01-09 20:20:04] Production.INFO: ==910== Releasing lock...
[2025-01-09 20:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 20:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 20:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211977') start
[2025-01-09 20:20:04] Production.INFO: Total Charge 0
[2025-01-09 20:20:04] Production.INFO: CreateAllLog End
[2025-01-09 20:20:04] Production.ERROR: done
[2025-01-09 20:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211977') end
[2025-01-09 20:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 20:20:04] Production.INFO: 1
[2025-01-09 20:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 20:20:05] Production.INFO: ==920== Releasing lock...
[2025-01-09 20:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 20:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 20:20:05] Production.INFO: Account Balance End.
[2025-01-09 20:20:05] Production.ERROR: CronJobId end 12
[2025-01-09 20:20:05] Production.INFO: ==914== Releasing lock...
[2025-01-09 20:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 20:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 20:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 17:20:06
[end_date_ymd] => 2025-01-09 20:20:06
[RateCDR] => 1
)
[2025-01-09 20:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 17:20:06' and `end` < '2025-01-09 20:20:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 20:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14211979', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 20:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 20:20:08] Production.INFO: ProcessCDR(1,14211979,1,1,2)
[2025-01-09 20:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14211979,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14211979,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:20:08] Production.INFO: ==918== Releasing lock...
[2025-01-09 20:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 20:20:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 20:20:12] Production.ERROR: CronJobId end10
[2025-01-09 20:20:12] Production.INFO: ==912== Releasing lock...
[2025-01-09 20:20:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 20:20:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 20:20:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 20:20:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 20:20:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 20:20:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 20:20:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 20:20:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 20:20:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 20:20:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 20:20:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 20:20:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 20:20:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 20:20:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 20:20:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 20:20:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 20:20:14] Production.INFO: call_cost start
[2025-01-09 20:20:14] Production.INFO: call_cost end
[2025-01-09 20:20:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 20:20:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 20:20:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 20:20:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 20:20:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 20:20:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 20:20:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 20:20:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 20:20:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 20:20:15] Production.INFO: ==908== Releasing lock...
[2025-01-09 20:20:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 20:20:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 20:20:19] Production.INFO: count ==1639
[2025-01-09 20:20:19] Production.ERROR: pbx CDR StartTime 2025-01-09 17:20:06 - End Time 2025-01-09 20:20:06
[2025-01-09 20:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 20:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211980', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211980', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211980', 'tblTempVendorCDR_20' ) start
[2025-01-09 20:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211980', 'tblTempVendorCDR_20' ) end
[2025-01-09 20:20:19] Production.INFO: ProcessCDR(1,14211980,1,1,2)
[2025-01-09 20:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211980,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211980,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211980,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211980,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211980', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211980', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:20:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:20:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:20:22] Production.INFO: ==916== Releasing lock...
[2025-01-09 20:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 20:20:22] Production.INFO: 40 MB #Memory Used#
[2025-01-10 01:21:01] Production.INFO: ==1013== Lock acquired, processing the job...
[2025-01-10 01:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 01:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 01:21:01] Production.INFO: neon service started
[2025-01-10 01:21:01] Production.INFO: neon service started
[2025-01-10 01:21:01] Production.INFO: ==1013== Releasing lock...
[2025-01-10 01:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 01:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 20:21:01] Production.INFO: ==1015== Lock acquired, processing the job...
[2025-01-09 20:21:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:21:02] Production.INFO: ==1015== Releasing lock...
[2025-01-09 20:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 20:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:21:02] Production.INFO: ==1017== Lock acquired, processing the job...
[2025-01-10 01:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 01:21:02] Production.INFO: ==1017== Releasing lock...
[2025-01-10 01:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 01:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 20:21:02] Production.INFO: ==1021== Lock acquired, processing the job...
[2025-01-09 20:21:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 20:21:03] Production.INFO: ==1019== Lock acquired, processing the job...
[2025-01-09 20:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 20:21:03] Production.INFO: ==1025== Lock acquired, processing the job...
[2025-01-09 20:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 20:21:03] Production.INFO: Account Balance Start.
[2025-01-09 20:21:03] Production.INFO: CreateAllLog Start
[2025-01-09 20:21:03] Production.INFO: 117
[2025-01-09 20:21:03] Production.INFO: Date 2025-01-08
[2025-01-09 20:21:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:21:03] Production.INFO: Date 2025-01-09
[2025-01-09 20:21:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:21:03] Production.INFO: Total Charge 0
[2025-01-09 20:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 20:21:03] Production.INFO: CreateAllLog End
[2025-01-09 20:21:03] Production.INFO: ==1023== Lock acquired, processing the job...
[2025-01-09 20:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 20:21:03] Production.INFO: ==1021== Releasing lock...
[2025-01-09 20:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 20:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 20:21:03] Production.INFO: ==1027== Lock acquired, processing the job...
[2025-01-09 20:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 20:21:03] Production.INFO: ==1029== Lock acquired, processing the job...
[2025-01-09 20:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 20:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 20:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 20:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 20:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 20:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:21:03] Production.INFO: Account Balance End.
[2025-01-09 20:21:03] Production.ERROR: CronJobId end 12
[2025-01-09 20:21:03] Production.INFO: ==1025== Releasing lock...
[2025-01-09 20:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 20:21:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 20:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:21:03] Production.INFO: count ==21
[2025-01-09 20:21:03] Production.ERROR: done
[2025-01-09 20:21:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 20:21:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:21:03] Production.INFO: count ==21
[2025-01-09 20:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211984') start
[2025-01-09 20:21:04] Production.ERROR: done
[2025-01-09 20:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211984') end
[2025-01-09 20:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 20:21:04] Production.INFO: 1
[2025-01-09 20:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 20:21:04] Production.INFO: ==1029== Releasing lock...
[2025-01-09 20:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 20:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 20:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 17:21:05
[end_date_ymd] => 2025-01-09 20:21:05
[RateCDR] => 1
)
[2025-01-09 20:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 17:21:05' and `end` < '2025-01-09 20:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 20:21:11] Production.ERROR: CronJobId end10
[2025-01-09 20:21:11] Production.INFO: ==1023== Releasing lock...
[2025-01-09 20:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 20:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 20:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 20:21:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 20:21:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 20:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 20:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 20:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 20:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 20:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 20:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 20:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 20:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 20:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 20:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 20:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 20:21:13] Production.INFO: call_cost start
[2025-01-09 20:21:13] Production.INFO: call_cost end
[2025-01-09 20:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 20:21:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 20:21:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 20:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 20:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 20:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 20:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 20:21:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 20:21:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 20:21:14] Production.INFO: ==1019== Releasing lock...
[2025-01-09 20:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 20:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 20:21:18] Production.INFO: count ==1604
[2025-01-09 20:21:18] Production.ERROR: pbx CDR StartTime 2025-01-09 17:21:05 - End Time 2025-01-09 20:21:05
[2025-01-09 20:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 20:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211985', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211985', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211985', 'tblTempVendorCDR_20' ) start
[2025-01-09 20:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211985', 'tblTempVendorCDR_20' ) end
[2025-01-09 20:21:18] Production.INFO: ProcessCDR(1,14211985,1,1,2)
[2025-01-09 20:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211985,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211985,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211985,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211985,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211985', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211985', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:21:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:21:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:21:21] Production.INFO: ==1027== Releasing lock...
[2025-01-09 20:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 20:21:21] Production.INFO: 40.25 MB #Memory Used#
[2025-01-10 01:22:02] Production.INFO: ==1089== Lock acquired, processing the job...
[2025-01-10 01:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 01:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 01:22:02] Production.INFO: neon service started
[2025-01-10 01:22:02] Production.INFO: neon service started
[2025-01-10 01:22:02] Production.INFO: ==1089== Releasing lock...
[2025-01-10 01:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 01:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 20:22:02] Production.INFO: ==1092== Lock acquired, processing the job...
[2025-01-09 20:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:22:02] Production.INFO: ==1092== Releasing lock...
[2025-01-09 20:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 20:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:22:02] Production.INFO: ==1094== Lock acquired, processing the job...
[2025-01-10 01:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 01:22:03] Production.INFO: ==1094== Releasing lock...
[2025-01-10 01:22:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 01:22:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 20:22:03] Production.INFO: ==1098== Lock acquired, processing the job...
[2025-01-09 20:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 20:22:03] Production.INFO: ==1106== Lock acquired, processing the job...
[2025-01-09 20:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 20:22:03] Production.INFO: ==1096== Lock acquired, processing the job...
[2025-01-09 20:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 20:22:03] Production.INFO: ==1098== Releasing lock...
[2025-01-09 20:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 20:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 20:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:22:03] Production.INFO: count ==21
[2025-01-09 20:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 20:22:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:22:03] Production.INFO: count ==21
[2025-01-09 20:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211987') start
[2025-01-09 20:22:04] Production.INFO: ==1102== Lock acquired, processing the job...
[2025-01-09 20:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 20:22:04] Production.INFO: ==1100== Lock acquired, processing the job...
[2025-01-09 20:22:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 20:22:04] Production.INFO: ==1104== Lock acquired, processing the job...
[2025-01-09 20:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 20:22:04] Production.INFO: Account Balance Start.
[2025-01-09 20:22:04] Production.INFO: CreateAllLog Start
[2025-01-09 20:22:04] Production.INFO: 117
[2025-01-09 20:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211987') end
[2025-01-09 20:22:04] Production.INFO: Date 2025-01-08
[2025-01-09 20:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 20:22:04] Production.INFO: 1
[2025-01-09 20:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 20:22:04] Production.INFO: Reseller ==> 0
[2025-01-09 20:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 20:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 20:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 20:22:04] Production.INFO: Date 2025-01-09
[2025-01-09 20:22:04] Production.INFO: Reseller ==> 0
[2025-01-09 20:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 20:22:04] Production.INFO: ==1106== Releasing lock...
[2025-01-09 20:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 20:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 20:22:04] Production.INFO: Total Charge 0
[2025-01-09 20:22:04] Production.INFO: CreateAllLog End
[2025-01-09 20:22:04] Production.ERROR: done
[2025-01-09 20:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 20:22:04] Production.ERROR: done
[2025-01-09 20:22:04] Production.INFO: Account Balance End.
[2025-01-09 20:22:04] Production.ERROR: CronJobId end 12
[2025-01-09 20:22:04] Production.INFO: ==1102== Releasing lock...
[2025-01-09 20:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 20:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 20:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 17:22:05
[end_date_ymd] => 2025-01-09 20:22:05
[RateCDR] => 1
)
[2025-01-09 20:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 17:22:05' and `end` < '2025-01-09 20:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 20:22:12] Production.ERROR: CronJobId end10
[2025-01-09 20:22:12] Production.INFO: ==1100== Releasing lock...
[2025-01-09 20:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 20:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 20:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 20:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 20:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 20:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 20:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 20:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 20:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 20:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 20:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 20:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 20:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 20:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 20:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 20:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 20:22:13] Production.INFO: call_cost start
[2025-01-09 20:22:13] Production.INFO: call_cost end
[2025-01-09 20:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 20:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 20:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 20:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 20:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 20:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 20:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 20:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 20:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 20:22:14] Production.INFO: ==1096== Releasing lock...
[2025-01-09 20:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 20:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 20:22:19] Production.INFO: count ==1602
[2025-01-09 20:22:19] Production.ERROR: pbx CDR StartTime 2025-01-09 17:22:05 - End Time 2025-01-09 20:22:05
[2025-01-09 20:22:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 20:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211990', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211990', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211990', 'tblTempVendorCDR_20' ) start
[2025-01-09 20:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211990', 'tblTempVendorCDR_20' ) end
[2025-01-09 20:22:19] Production.INFO: ProcessCDR(1,14211990,1,1,2)
[2025-01-09 20:22:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211990,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:22:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211990,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211990,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:22:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211990,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:22:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211990', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:22:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211990', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:22:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:22:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:22:23] Production.INFO: ==1104== Releasing lock...
[2025-01-09 20:22:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 20:22:23] Production.INFO: 40.5 MB #Memory Used#
[2025-01-10 01:23:01] Production.INFO: ==1162== Lock acquired, processing the job...
[2025-01-10 01:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 01:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 01:23:01] Production.INFO: neon service started
[2025-01-10 01:23:01] Production.INFO: neon service started
[2025-01-10 01:23:01] Production.INFO: ==1162== Releasing lock...
[2025-01-10 01:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 01:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 20:23:02] Production.INFO: ==1167== Lock acquired, processing the job...
[2025-01-09 20:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 01:23:02] Production.INFO: ==1169== Lock acquired, processing the job...
[2025-01-10 01:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 01:23:02] Production.INFO: ==1169== Releasing lock...
[2025-01-10 01:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 01:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 20:23:02] Production.INFO: ==1167== Releasing lock...
[2025-01-09 20:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 20:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 20:23:03] Production.INFO: ==1179== Lock acquired, processing the job...
[2025-01-09 20:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 20:23:03] Production.INFO: ==1183== Lock acquired, processing the job...
[2025-01-09 20:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 20:23:03] Production.INFO: ==1172== Lock acquired, processing the job...
[2025-01-09 20:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 20:23:03] Production.INFO: ==1175== Lock acquired, processing the job...
[2025-01-09 20:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 20:23:03] Production.INFO: Account Balance Start.
[2025-01-09 20:23:03] Production.INFO: CreateAllLog Start
[2025-01-09 20:23:03] Production.INFO: 117
[2025-01-09 20:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:23:03] Production.INFO: ==1177== Lock acquired, processing the job...
[2025-01-09 20:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 20:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 20:23:03] Production.INFO: Date 2025-01-08
[2025-01-09 20:23:03] Production.INFO: count ==21
[2025-01-09 20:23:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:23:03] Production.INFO: ==1181== Lock acquired, processing the job...
[2025-01-09 20:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 20:23:03] Production.INFO: count ==21
[2025-01-09 20:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211992') start
[2025-01-09 20:23:03] Production.INFO: Date 2025-01-09
[2025-01-09 20:23:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 20:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 20:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 20:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 20:23:03] Production.INFO: Total Charge 0
[2025-01-09 20:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14211992') end
[2025-01-09 20:23:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 20:23:03] Production.INFO: 1
[2025-01-09 20:23:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 20:23:03] Production.INFO: CreateAllLog End
[2025-01-09 20:23:03] Production.INFO: ==1183== Releasing lock...
[2025-01-09 20:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 20:23:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 20:23:04] Production.INFO: ==1175== Releasing lock...
[2025-01-09 20:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 20:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 20:23:04] Production.INFO: Account Balance End.
[2025-01-09 20:23:04] Production.ERROR: done
[2025-01-09 20:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 20:23:04] Production.ERROR: CronJobId end 12
[2025-01-09 20:23:04] Production.INFO: ==1179== Releasing lock...
[2025-01-09 20:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 20:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 20:23:04] Production.ERROR: done
[2025-01-09 20:23:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 17:23:04
[end_date_ymd] => 2025-01-09 20:23:04
[RateCDR] => 1
)
[2025-01-09 20:23:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 17:23:04' and `end` < '2025-01-09 20:23:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 20:23:12] Production.ERROR: CronJobId end10
[2025-01-09 20:23:12] Production.INFO: ==1177== Releasing lock...
[2025-01-09 20:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 20:23:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 20:23:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 20:23:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 20:23:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 20:23:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 20:23:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 20:23:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 20:23:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 20:23:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 20:23:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 20:23:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 20:23:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 20:23:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 20:23:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 20:23:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 20:23:12] Production.INFO: call_cost start
[2025-01-09 20:23:12] Production.INFO: call_cost end
[2025-01-09 20:23:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 20:23:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 20:23:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 20:23:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 20:23:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 20:23:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 20:23:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 20:23:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 20:23:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 20:23:13] Production.INFO: ==1172== Releasing lock...
[2025-01-09 20:23:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 20:23:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 20:23:18] Production.INFO: count ==1588
[2025-01-09 20:23:18] Production.ERROR: pbx CDR StartTime 2025-01-09 17:23:04 - End Time 2025-01-09 20:23:04
[2025-01-09 20:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 20:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211995', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14211995', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211995', 'tblTempVendorCDR_20' ) start
[2025-01-09 20:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14211995', 'tblTempVendorCDR_20' ) end
[2025-01-09 20:23:18] Production.INFO: ProcessCDR(1,14211995,1,1,2)
[2025-01-09 20:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14211995,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14211995,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14211995,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14211995,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211995', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14211995', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:23:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:23:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:23:21] Production.INFO: ==1181== Releasing lock...
[2025-01-09 20:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 20:23:21] Production.INFO: 40 MB #Memory Used#
[2025-01-10 01:24:02] Production.INFO: ==1266== Lock acquired, processing the job...
[2025-01-10 01:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 01:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 01:24:02] Production.INFO: neon service started
[2025-01-10 01:24:02] Production.INFO: neon service started
[2025-01-10 01:24:02] Production.INFO: ==1266== Releasing lock...
[2025-01-10 01:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 01:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 20:24:02] Production.INFO: ==1268== Lock acquired, processing the job...
[2025-01-09 20:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:24:02] Production.INFO: ==1268== Releasing lock...
[2025-01-09 20:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 20:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:24:02] Production.INFO: ==1270== Lock acquired, processing the job...
[2025-01-10 01:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 01:24:02] Production.INFO: ==1270== Releasing lock...
[2025-01-10 01:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 01:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 20:24:03] Production.INFO: ==1278== Lock acquired, processing the job...
[2025-01-09 20:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 20:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 20:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 20:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 20:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 20:24:03] Production.INFO: ==1284== Lock acquired, processing the job...
[2025-01-09 20:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 20:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:24:03] Production.INFO: ==1274== Lock acquired, processing the job...
[2025-01-09 20:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 20:24:04] Production.INFO: ==1276== Lock acquired, processing the job...
[2025-01-09 20:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 20:24:04] Production.INFO: count ==21
[2025-01-09 20:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:24:04] Production.INFO: count ==21
[2025-01-09 20:24:04] Production.INFO: ==1280== Lock acquired, processing the job...
[2025-01-09 20:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 20:24:04] Production.INFO: ==1282== Lock acquired, processing the job...
[2025-01-09 20:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 20:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211996') start
[2025-01-09 20:24:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 20:24:04] Production.INFO: Account Balance Start.
[2025-01-09 20:24:04] Production.INFO: CreateAllLog Start
[2025-01-09 20:24:04] Production.INFO: 117
[2025-01-09 20:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:24:04] Production.INFO: Date 2025-01-08
[2025-01-09 20:24:04] Production.INFO: Reseller ==> 0
[2025-01-09 20:24:04] Production.INFO: Date 2025-01-09
[2025-01-09 20:24:04] Production.INFO: Reseller ==> 0
[2025-01-09 20:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14211996') end
[2025-01-09 20:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 20:24:04] Production.INFO: 1
[2025-01-09 20:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 20:24:04] Production.INFO: ==1284== Releasing lock...
[2025-01-09 20:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 20:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 20:24:04] Production.INFO: Total Charge 0
[2025-01-09 20:24:04] Production.INFO: CreateAllLog End
[2025-01-09 20:24:04] Production.INFO: ==1276== Releasing lock...
[2025-01-09 20:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 20:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 20:24:04] Production.ERROR: done
[2025-01-09 20:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 20:24:04] Production.INFO: Account Balance End.
[2025-01-09 20:24:04] Production.ERROR: CronJobId end 12
[2025-01-09 20:24:04] Production.INFO: ==1280== Releasing lock...
[2025-01-09 20:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 20:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 20:24:04] Production.ERROR: done
[2025-01-09 20:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 17:24:05
[end_date_ymd] => 2025-01-09 20:24:05
[RateCDR] => 1
)
[2025-01-09 20:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 17:24:05' and `end` < '2025-01-09 20:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 20:24:13] Production.ERROR: CronJobId end10
[2025-01-09 20:24:13] Production.INFO: ==1278== Releasing lock...
[2025-01-09 20:24:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 20:24:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 20:24:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 20:24:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 20:24:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 20:24:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 20:24:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 20:24:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 20:24:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 20:24:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 20:24:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 20:24:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 20:24:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 20:24:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 20:24:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 20:24:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 20:24:14] Production.INFO: call_cost start
[2025-01-09 20:24:14] Production.INFO: call_cost end
[2025-01-09 20:24:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 20:24:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 20:24:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 20:24:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 20:24:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 20:24:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 20:24:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 20:24:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 20:24:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 20:24:15] Production.INFO: ==1274== Releasing lock...
[2025-01-09 20:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 20:24:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 20:24:19] Production.INFO: count ==1585
[2025-01-09 20:24:19] Production.ERROR: pbx CDR StartTime 2025-01-09 17:24:05 - End Time 2025-01-09 20:24:05
[2025-01-09 20:24:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 20:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212000', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212000', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212000', 'tblTempVendorCDR_20' ) start
[2025-01-09 20:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212000', 'tblTempVendorCDR_20' ) end
[2025-01-09 20:24:19] Production.INFO: ProcessCDR(1,14212000,1,1,2)
[2025-01-09 20:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212000,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:24:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212000,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:24:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212000,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:24:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212000,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212000', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212000', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:24:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:24:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:24:22] Production.INFO: ==1282== Releasing lock...
[2025-01-09 20:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 20:24:22] Production.INFO: 39.75 MB #Memory Used#
[2025-01-10 01:25:01] Production.INFO: ==1366== Lock acquired, processing the job...
[2025-01-10 01:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 01:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 01:25:01] Production.INFO: neon service started
[2025-01-10 01:25:01] Production.INFO: neon service started
[2025-01-10 01:25:01] Production.INFO: ==1366== Releasing lock...
[2025-01-10 01:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 01:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 01:25:01] Production.INFO: ==1370== Lock acquired, processing the job...
[2025-01-10 01:25:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 01:25:01] Production.INFO: ==1370== Releasing lock...
[2025-01-10 01:25:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 01:25:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 20:25:01] Production.INFO: ==1368== Lock acquired, processing the job...
[2025-01-09 20:25:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:25:02] Production.INFO: ==1368== Releasing lock...
[2025-01-09 20:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 20:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 20:25:02] Production.INFO: ==1379== Lock acquired, processing the job...
[2025-01-09 20:25:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 20:25:02] Production.INFO: ==1375== Lock acquired, processing the job...
[2025-01-09 20:25:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 20:25:03] Production.INFO: Account Balance Start.
[2025-01-09 20:25:03] Production.INFO: CreateAllLog Start
[2025-01-09 20:25:03] Production.INFO: 117
[2025-01-09 20:25:03] Production.INFO: ==1373== Lock acquired, processing the job...
[2025-01-09 20:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 20:25:03] Production.INFO: Date 2025-01-08
[2025-01-09 20:25:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:25:03] Production.INFO: ==1377== Lock acquired, processing the job...
[2025-01-09 20:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 20:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 20:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 20:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 20:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 20:25:03] Production.INFO: Date 2025-01-09
[2025-01-09 20:25:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 20:25:03] Production.INFO: ==1383== Lock acquired, processing the job...
[2025-01-09 20:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 20:25:03] Production.INFO: Total Charge 0
[2025-01-09 20:25:03] Production.INFO: CreateAllLog End
[2025-01-09 20:25:03] Production.INFO: ==1381== Lock acquired, processing the job...
[2025-01-09 20:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 20:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:25:03] Production.INFO: count ==21
[2025-01-09 20:25:03] Production.INFO: Account Balance End.
[2025-01-09 20:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:25:03] Production.INFO: ==1375== Releasing lock...
[2025-01-09 20:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 20:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 20:25:03] Production.INFO: count ==21
[2025-01-09 20:25:03] Production.ERROR: CronJobId end 12
[2025-01-09 20:25:03] Production.INFO: ==1379== Releasing lock...
[2025-01-09 20:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 20:25:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 20:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212004') start
[2025-01-09 20:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212004') end
[2025-01-09 20:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 20:25:03] Production.INFO: 1
[2025-01-09 20:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 20:25:03] Production.ERROR: done
[2025-01-09 20:25:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 20:25:03] Production.INFO: ==1383== Releasing lock...
[2025-01-09 20:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 20:25:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 20:25:03] Production.ERROR: done
[2025-01-09 20:25:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 17:25:04
[end_date_ymd] => 2025-01-09 20:25:04
[RateCDR] => 1
)
[2025-01-09 20:25:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 17:25:04' and `end` < '2025-01-09 20:25:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 20:25:11] Production.ERROR: CronJobId end10
[2025-01-09 20:25:11] Production.INFO: ==1377== Releasing lock...
[2025-01-09 20:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 20:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 20:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 20:25:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 20:25:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 20:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 20:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 20:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 20:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 20:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 20:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 20:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 20:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 20:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 20:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 20:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 20:25:13] Production.INFO: call_cost start
[2025-01-09 20:25:13] Production.INFO: call_cost end
[2025-01-09 20:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 20:25:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 20:25:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 20:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 20:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 20:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 20:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 20:25:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 20:25:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 20:25:14] Production.INFO: ==1373== Releasing lock...
[2025-01-09 20:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 20:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 20:25:18] Production.INFO: count ==1567
[2025-01-09 20:25:18] Production.ERROR: pbx CDR StartTime 2025-01-09 17:25:04 - End Time 2025-01-09 20:25:04
[2025-01-09 20:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 20:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212005', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212005', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212005', 'tblTempVendorCDR_20' ) start
[2025-01-09 20:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212005', 'tblTempVendorCDR_20' ) end
[2025-01-09 20:25:18] Production.INFO: ProcessCDR(1,14212005,1,1,2)
[2025-01-09 20:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212005,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212005,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212005,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212005,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212005', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212005', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:25:21] Production.INFO: ==1381== Releasing lock...
[2025-01-09 20:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 20:25:21] Production.INFO: 39.5 MB #Memory Used#
[2025-01-10 01:26:01] Production.INFO: ==1445== Lock acquired, processing the job...
[2025-01-10 01:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 01:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 01:26:01] Production.INFO: neon service started
[2025-01-10 01:26:01] Production.INFO: neon service started
[2025-01-10 01:26:01] Production.INFO: ==1445== Releasing lock...
[2025-01-10 01:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 01:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 20:26:02] Production.INFO: ==1447== Lock acquired, processing the job...
[2025-01-09 20:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 01:26:02] Production.INFO: ==1449== Lock acquired, processing the job...
[2025-01-10 01:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 01:26:02] Production.INFO: ==1449== Releasing lock...
[2025-01-10 01:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 01:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 20:26:02] Production.INFO: ==1447== Releasing lock...
[2025-01-09 20:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 20:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 20:26:03] Production.INFO: ==1458== Lock acquired, processing the job...
[2025-01-09 20:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 20:26:03] Production.INFO: ==1454== Lock acquired, processing the job...
[2025-01-09 20:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 20:26:03] Production.INFO: ==1456== Lock acquired, processing the job...
[2025-01-09 20:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 20:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 20:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 20:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 20:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 20:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 20:26:03] Production.INFO: ==1460== Lock acquired, processing the job...
[2025-01-09 20:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 20:26:03] Production.INFO: ==1462== Lock acquired, processing the job...
[2025-01-09 20:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 20:26:04] Production.INFO: ==1456== Releasing lock...
[2025-01-09 20:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 20:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 20:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:26:04] Production.INFO: Account Balance Start.
[2025-01-09 20:26:04] Production.INFO: CreateAllLog Start
[2025-01-09 20:26:04] Production.INFO: 117
[2025-01-09 20:26:04] Production.INFO: Date 2025-01-08
[2025-01-09 20:26:04] Production.INFO: Reseller ==> 0
[2025-01-09 20:26:04] Production.INFO: ==1464== Lock acquired, processing the job...
[2025-01-09 20:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 20:26:04] Production.INFO: Date 2025-01-09
[2025-01-09 20:26:04] Production.INFO: Reseller ==> 0
[2025-01-09 20:26:04] Production.INFO: Total Charge 0
[2025-01-09 20:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:26:04] Production.INFO: CreateAllLog End
[2025-01-09 20:26:04] Production.INFO: count ==21
[2025-01-09 20:26:04] Production.ERROR: done
[2025-01-09 20:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 20:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:26:04] Production.INFO: count ==21
[2025-01-09 20:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212009') start
[2025-01-09 20:26:04] Production.INFO: Account Balance End.
[2025-01-09 20:26:04] Production.ERROR: CronJobId end 12
[2025-01-09 20:26:04] Production.INFO: ==1460== Releasing lock...
[2025-01-09 20:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 20:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 20:26:04] Production.ERROR: done
[2025-01-09 20:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212009') end
[2025-01-09 20:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 20:26:04] Production.INFO: 1
[2025-01-09 20:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 20:26:04] Production.INFO: ==1464== Releasing lock...
[2025-01-09 20:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 20:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 20:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 17:26:05
[end_date_ymd] => 2025-01-09 20:26:05
[RateCDR] => 1
)
[2025-01-09 20:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 17:26:05' and `end` < '2025-01-09 20:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 20:26:13] Production.ERROR: CronJobId end10
[2025-01-09 20:26:13] Production.INFO: ==1458== Releasing lock...
[2025-01-09 20:26:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 20:26:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 20:26:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 20:26:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 20:26:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 20:26:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 20:26:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 20:26:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 20:26:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 20:26:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 20:26:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 20:26:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 20:26:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 20:26:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 20:26:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 20:26:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 20:26:14] Production.INFO: call_cost start
[2025-01-09 20:26:14] Production.INFO: call_cost end
[2025-01-09 20:26:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 20:26:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 20:26:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 20:26:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 20:26:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 20:26:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 20:26:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 20:26:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 20:26:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 20:26:15] Production.INFO: ==1454== Releasing lock...
[2025-01-09 20:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 20:26:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 20:26:19] Production.INFO: count ==1563
[2025-01-09 20:26:19] Production.ERROR: pbx CDR StartTime 2025-01-09 17:26:05 - End Time 2025-01-09 20:26:05
[2025-01-09 20:26:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 20:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212010', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212010', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212010', 'tblTempVendorCDR_20' ) start
[2025-01-09 20:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212010', 'tblTempVendorCDR_20' ) end
[2025-01-09 20:26:19] Production.INFO: ProcessCDR(1,14212010,1,1,2)
[2025-01-09 20:26:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212010,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:26:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212010,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:26:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212010,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:26:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212010,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:26:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212010', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:26:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212010', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:26:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:26:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:26:24] Production.INFO: ==1462== Releasing lock...
[2025-01-09 20:26:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 20:26:24] Production.INFO: 39.5 MB #Memory Used#
[2025-01-10 01:27:01] Production.INFO: ==1595== Lock acquired, processing the job...
[2025-01-10 01:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 01:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 01:27:01] Production.INFO: neon service started
[2025-01-10 01:27:01] Production.INFO: neon service started
[2025-01-10 01:27:01] Production.INFO: ==1595== Releasing lock...
[2025-01-10 01:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 01:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 01:27:01] Production.INFO: ==1599== Lock acquired, processing the job...
[2025-01-10 01:27:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 01:27:01] Production.INFO: ==1599== Releasing lock...
[2025-01-10 01:27:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 01:27:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 20:27:01] Production.INFO: ==1597== Lock acquired, processing the job...
[2025-01-09 20:27:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:27:02] Production.INFO: ==1597== Releasing lock...
[2025-01-09 20:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 20:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 20:27:03] Production.INFO: ==1608== Lock acquired, processing the job...
[2025-01-09 20:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 20:27:03] Production.INFO: ==1610== Lock acquired, processing the job...
[2025-01-09 20:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 20:27:03] Production.INFO: Account Balance Start.
[2025-01-09 20:27:03] Production.INFO: CreateAllLog Start
[2025-01-09 20:27:03] Production.INFO: 117
[2025-01-09 20:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:27:03] Production.INFO: Date 2025-01-08
[2025-01-09 20:27:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:27:03] Production.INFO: ==1602== Lock acquired, processing the job...
[2025-01-09 20:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 20:27:03] Production.INFO: Date 2025-01-09
[2025-01-09 20:27:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:27:03] Production.INFO: ==1604== Lock acquired, processing the job...
[2025-01-09 20:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 20:27:03] Production.INFO: ==1606== Lock acquired, processing the job...
[2025-01-09 20:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 20:27:03] Production.INFO: Total Charge 0
[2025-01-09 20:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 20:27:03] Production.INFO: CreateAllLog End
[2025-01-09 20:27:03] Production.INFO: ==1612== Lock acquired, processing the job...
[2025-01-09 20:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 20:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 20:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 20:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 20:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 20:27:03] Production.ERROR: done
[2025-01-09 20:27:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 20:27:03] Production.INFO: Account Balance End.
[2025-01-09 20:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:27:03] Production.INFO: count ==21
[2025-01-09 20:27:03] Production.ERROR: done
[2025-01-09 20:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:27:03] Production.INFO: count ==21
[2025-01-09 20:27:03] Production.ERROR: CronJobId end 12
[2025-01-09 20:27:03] Production.INFO: ==1608== Releasing lock...
[2025-01-09 20:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 20:27:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 20:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212014') start
[2025-01-09 20:27:03] Production.INFO: ==1604== Releasing lock...
[2025-01-09 20:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 20:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 20:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212014') end
[2025-01-09 20:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 20:27:03] Production.INFO: 1
[2025-01-09 20:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 20:27:03] Production.INFO: ==1612== Releasing lock...
[2025-01-09 20:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 20:27:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 20:27:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 17:27:04
[end_date_ymd] => 2025-01-09 20:27:04
[RateCDR] => 1
)
[2025-01-09 20:27:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 17:27:04' and `end` < '2025-01-09 20:27:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 20:27:11] Production.ERROR: CronJobId end10
[2025-01-09 20:27:11] Production.INFO: ==1606== Releasing lock...
[2025-01-09 20:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 20:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 20:27:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 20:27:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 20:27:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 20:27:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 20:27:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 20:27:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 20:27:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 20:27:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 20:27:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 20:27:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 20:27:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 20:27:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 20:27:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 20:27:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 20:27:13] Production.INFO: call_cost start
[2025-01-09 20:27:13] Production.INFO: call_cost end
[2025-01-09 20:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 20:27:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 20:27:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 20:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 20:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 20:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 20:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 20:27:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 20:27:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 20:27:14] Production.INFO: ==1602== Releasing lock...
[2025-01-09 20:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 20:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 20:27:17] Production.INFO: count ==1558
[2025-01-09 20:27:18] Production.ERROR: pbx CDR StartTime 2025-01-09 17:27:04 - End Time 2025-01-09 20:27:04
[2025-01-09 20:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 20:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212015', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212015', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212015', 'tblTempVendorCDR_20' ) start
[2025-01-09 20:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212015', 'tblTempVendorCDR_20' ) end
[2025-01-09 20:27:18] Production.INFO: ProcessCDR(1,14212015,1,1,2)
[2025-01-09 20:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212015,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212015,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212015,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212015,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212015', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212015', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:27:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:27:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:27:21] Production.INFO: ==1610== Releasing lock...
[2025-01-09 20:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 20:27:21] Production.INFO: 39.5 MB #Memory Used#
[2025-01-10 01:28:01] Production.INFO: ==1683== Lock acquired, processing the job...
[2025-01-10 01:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 01:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 01:28:01] Production.INFO: neon service started
[2025-01-10 01:28:01] Production.INFO: neon service started
[2025-01-10 01:28:01] Production.INFO: ==1683== Releasing lock...
[2025-01-10 01:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 01:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 01:28:02] Production.INFO: ==1687== Lock acquired, processing the job...
[2025-01-10 01:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 01:28:02] Production.INFO: ==1687== Releasing lock...
[2025-01-10 01:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 01:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 20:28:02] Production.INFO: ==1685== Lock acquired, processing the job...
[2025-01-09 20:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:28:02] Production.INFO: ==1685== Releasing lock...
[2025-01-09 20:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 20:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 20:28:03] Production.INFO: ==1690== Lock acquired, processing the job...
[2025-01-09 20:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 20:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 20:28:03] Production.INFO: ==1697== Lock acquired, processing the job...
[2025-01-09 20:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 20:28:03] Production.INFO: ==1699== Lock acquired, processing the job...
[2025-01-09 20:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 20:28:03] Production.INFO: Account Balance Start.
[2025-01-09 20:28:03] Production.INFO: CreateAllLog Start
[2025-01-09 20:28:03] Production.INFO: 117
[2025-01-09 20:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:28:03] Production.INFO: Date 2025-01-08
[2025-01-09 20:28:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:28:03] Production.INFO: Date 2025-01-09
[2025-01-09 20:28:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:28:03] Production.INFO: ==1692== Lock acquired, processing the job...
[2025-01-09 20:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 20:28:03] Production.INFO: Total Charge 0
[2025-01-09 20:28:03] Production.INFO: CreateAllLog End
[2025-01-09 20:28:03] Production.INFO: ==1694== Lock acquired, processing the job...
[2025-01-09 20:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 20:28:03] Production.INFO: ==1701== Lock acquired, processing the job...
[2025-01-09 20:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 20:28:03] Production.ERROR: done
[2025-01-09 20:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 20:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 20:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 20:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 20:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 20:28:04] Production.INFO: Account Balance End.
[2025-01-09 20:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:28:04] Production.ERROR: CronJobId end 12
[2025-01-09 20:28:04] Production.INFO: ==1697== Releasing lock...
[2025-01-09 20:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 20:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 20:28:04] Production.ERROR: done
[2025-01-09 20:28:04] Production.INFO: count ==21
[2025-01-09 20:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:28:04] Production.INFO: count ==21
[2025-01-09 20:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212019') start
[2025-01-09 20:28:04] Production.INFO: ==1692== Releasing lock...
[2025-01-09 20:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 20:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 20:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212019') end
[2025-01-09 20:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 20:28:04] Production.INFO: 1
[2025-01-09 20:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 20:28:04] Production.INFO: ==1701== Releasing lock...
[2025-01-09 20:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 20:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 20:28:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 17:28:04
[end_date_ymd] => 2025-01-09 20:28:04
[RateCDR] => 1
)
[2025-01-09 20:28:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 17:28:04' and `end` < '2025-01-09 20:28:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 20:28:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 20:28:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 20:28:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 20:28:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 20:28:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 20:28:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 20:28:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 20:28:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 20:28:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 20:28:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 20:28:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 20:28:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 20:28:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 20:28:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 20:28:12] Production.ERROR: CronJobId end10
[2025-01-09 20:28:12] Production.INFO: ==1694== Releasing lock...
[2025-01-09 20:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 20:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 20:28:13] Production.INFO: call_cost start
[2025-01-09 20:28:13] Production.INFO: call_cost end
[2025-01-09 20:28:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 20:28:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 20:28:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 20:28:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 20:28:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 20:28:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 20:28:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 20:28:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 20:28:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 20:28:13] Production.INFO: ==1690== Releasing lock...
[2025-01-09 20:28:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 20:28:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 20:28:18] Production.INFO: count ==1551
[2025-01-09 20:28:18] Production.ERROR: pbx CDR StartTime 2025-01-09 17:28:04 - End Time 2025-01-09 20:28:04
[2025-01-09 20:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 20:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212020', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212020', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212020', 'tblTempVendorCDR_20' ) start
[2025-01-09 20:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212020', 'tblTempVendorCDR_20' ) end
[2025-01-09 20:28:18] Production.INFO: ProcessCDR(1,14212020,1,1,2)
[2025-01-09 20:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212020,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212020,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212020,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212020,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212020', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212020', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:28:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:28:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:28:21] Production.INFO: ==1699== Releasing lock...
[2025-01-09 20:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 20:28:21] Production.INFO: 39.75 MB #Memory Used#
[2025-01-10 01:29:02] Production.INFO: ==1806== Lock acquired, processing the job...
[2025-01-10 01:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 01:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 01:29:02] Production.INFO: neon service started
[2025-01-10 01:29:02] Production.INFO: neon service started
[2025-01-10 01:29:02] Production.INFO: ==1806== Releasing lock...
[2025-01-10 01:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 01:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 20:29:02] Production.INFO: ==1808== Lock acquired, processing the job...
[2025-01-09 20:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 01:29:02] Production.INFO: ==1810== Lock acquired, processing the job...
[2025-01-10 01:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 01:29:02] Production.INFO: ==1810== Releasing lock...
[2025-01-10 01:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 01:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 20:29:02] Production.INFO: ==1808== Releasing lock...
[2025-01-09 20:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 20:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 20:29:03] Production.INFO: ==1817== Lock acquired, processing the job...
[2025-01-09 20:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 20:29:03] Production.INFO: ==1813== Lock acquired, processing the job...
[2025-01-09 20:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 20:29:03] Production.INFO: ==1819== Lock acquired, processing the job...
[2025-01-09 20:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 20:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 20:29:03] Production.INFO: ==1821== Lock acquired, processing the job...
[2025-01-09 20:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 20:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 20:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 20:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 20:29:04] Production.INFO: ==1823== Lock acquired, processing the job...
[2025-01-09 20:29:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 20:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 20:29:04] Production.INFO: ==1828== Lock acquired, processing the job...
[2025-01-09 20:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 20:29:04] Production.INFO: Account Balance Start.
[2025-01-09 20:29:04] Production.INFO: CreateAllLog Start
[2025-01-09 20:29:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:29:04] Production.INFO: 117
[2025-01-09 20:29:04] Production.INFO: Date 2025-01-08
[2025-01-09 20:29:04] Production.INFO: Reseller ==> 0
[2025-01-09 20:29:04] Production.INFO: Date 2025-01-09
[2025-01-09 20:29:04] Production.INFO: Reseller ==> 0
[2025-01-09 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-01-09 20:29:04] Production.INFO: ==1817== Releasing lock...
[2025-01-09 20:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 20:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 20:29:04] Production.INFO: count ==21
[2025-01-09 20:29:04] Production.INFO: Total Charge 0
[2025-01-09 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-01-09 20:29:04] Production.INFO: count ==21
[2025-01-09 20:29:04] Production.INFO: CreateAllLog End
[2025-01-09 20:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212024') start
[2025-01-09 20:29:04] Production.ERROR: done
[2025-01-09 20:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 20:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212024') end
[2025-01-09 20:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 20:29:04] Production.INFO: 1
[2025-01-09 20:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 20:29:04] Production.ERROR: done
[2025-01-09 20:29:04] Production.INFO: ==1828== Releasing lock...
[2025-01-09 20:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 20:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 20:29:05] Production.INFO: Account Balance End.
[2025-01-09 20:29:05] Production.ERROR: CronJobId end 12
[2025-01-09 20:29:05] Production.INFO: ==1821== Releasing lock...
[2025-01-09 20:29:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 20:29:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 20:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 17:29:05
[end_date_ymd] => 2025-01-09 20:29:05
[RateCDR] => 1
)
[2025-01-09 20:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 17:29:05' and `end` < '2025-01-09 20:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 20:29:12] Production.ERROR: CronJobId end10
[2025-01-09 20:29:12] Production.INFO: ==1819== Releasing lock...
[2025-01-09 20:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 20:29:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 20:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 20:29:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 20:29:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 20:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 20:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 20:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 20:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 20:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 20:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 20:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 20:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 20:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 20:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 20:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 20:29:14] Production.INFO: call_cost start
[2025-01-09 20:29:14] Production.INFO: call_cost end
[2025-01-09 20:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 20:29:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 20:29:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 20:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 20:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 20:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 20:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 20:29:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 20:29:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 20:29:14] Production.INFO: ==1813== Releasing lock...
[2025-01-09 20:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 20:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 20:29:18] Production.INFO: count ==1538
[2025-01-09 20:29:19] Production.ERROR: pbx CDR StartTime 2025-01-09 17:29:05 - End Time 2025-01-09 20:29:05
[2025-01-09 20:29:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 20:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212025', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212025', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212025', 'tblTempVendorCDR_20' ) start
[2025-01-09 20:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212025', 'tblTempVendorCDR_20' ) end
[2025-01-09 20:29:19] Production.INFO: ProcessCDR(1,14212025,1,1,2)
[2025-01-09 20:29:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212025,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:29:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212025,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:29:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212025,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:29:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212025,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212025', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212025', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:29:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:29:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:29:22] Production.INFO: ==1823== Releasing lock...
[2025-01-09 20:29:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 20:29:22] Production.INFO: 39.5 MB #Memory Used#
[2025-01-10 01:30:01] Production.INFO: ==1895== Lock acquired, processing the job...
[2025-01-10 01:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 01:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 01:30:01] Production.INFO: neon service started
[2025-01-10 01:30:01] Production.INFO: neon service started
[2025-01-10 01:30:01] Production.INFO: ==1895== Releasing lock...
[2025-01-10 01:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 01:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 20:30:02] Production.INFO: ==1900== Lock acquired, processing the job...
[2025-01-09 20:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 01:30:02] Production.INFO: ==1902== Lock acquired, processing the job...
[2025-01-10 01:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 20:30:02] Production.INFO: ==1900== Releasing lock...
[2025-01-09 20:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 20:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:30:02] Production.INFO: ==1902== Releasing lock...
[2025-01-10 01:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 01:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 20:30:03] Production.INFO: ==1911== Lock acquired, processing the job...
[2025-01-09 20:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 20:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 20:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 20:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 20:30:03] Production.INFO: ==1905== Lock acquired, processing the job...
[2025-01-09 20:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 20:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 20:30:03] Production.INFO: ==1917== Lock acquired, processing the job...
[2025-01-09 20:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 20:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 20:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 20:30:03] Production.ERROR: CronJob PID - 1911
[2025-01-09 20:30:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-09 20:30:03] Production.ERROR: CronJob ID - 10
[2025-01-09 20:30:03] Production.ERROR: CronJob Last Run Time 2025-01-09 20:30:00
[2025-01-09 20:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 20:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 20:30:03] Production.INFO: ==1907== Lock acquired, processing the job...
[2025-01-09 20:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 20:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 20:30:03] Production.INFO: ==1905== Releasing lock...
[2025-01-09 20:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 20:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 20:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:30:03] Production.INFO: ==1919== Lock acquired, processing the job...
[2025-01-09 20:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 20:30:03] Production.INFO: ==1909== Lock acquired, processing the job...
[2025-01-09 20:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 20:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 20:30:04] Production.INFO: ==1913== Lock acquired, processing the job...
[2025-01-09 20:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 20:30:04] Production.INFO: ==1915== Lock acquired, processing the job...
[2025-01-09 20:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 20:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:30:04] Production.ERROR: done
[2025-01-09 20:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:30:04] Production.INFO: count ==21
[2025-01-09 20:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 20:30:04] Production.INFO: Account Balance Start.
[2025-01-09 20:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14212030', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 20:30:04] Production.INFO: CreateAllLog Start
[2025-01-09 20:30:04] Production.INFO: 117
[2025-01-09 20:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:30:04] Production.INFO: count ==21
[2025-01-09 20:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212027') start
[2025-01-09 20:30:04] Production.INFO: Date 2025-01-08
[2025-01-09 20:30:04] Production.INFO: Reseller ==> 0
[2025-01-09 20:30:04] Production.INFO: Date 2025-01-09
[2025-01-09 20:30:04] Production.INFO: Reseller ==> 0
[2025-01-09 20:30:04] Production.INFO: Total Charge 0
[2025-01-09 20:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212027') end
[2025-01-09 20:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 20:30:04] Production.INFO: 1
[2025-01-09 20:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 20:30:04] Production.ERROR: done
[2025-01-09 20:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 20:30:04] Production.INFO: CreateAllLog End
[2025-01-09 20:30:04] Production.INFO: ==1909== Releasing lock...
[2025-01-09 20:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 20:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 20:30:04] Production.INFO: ==1919== Releasing lock...
[2025-01-09 20:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 20:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 20:30:04] Production.ERROR: done
[2025-01-09 20:30:04] Production.INFO: Account Balance End.
[2025-01-09 20:30:05] Production.ERROR: CronJobId end 12
[2025-01-09 20:30:05] Production.INFO: ==1913== Releasing lock...
[2025-01-09 20:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 20:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 20:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 17:30:05
[end_date_ymd] => 2025-01-09 20:30:05
[RateCDR] => 1
)
[2025-01-09 20:30:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 17:30:05' and `end` < '2025-01-09 20:30:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 20:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14212030', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 20:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 20:30:08] Production.INFO: ProcessCDR(1,14212030,1,1,2)
[2025-01-09 20:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14212030,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14212030,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:30:08] Production.INFO: ==1917== Releasing lock...
[2025-01-09 20:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 20:30:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 20:30:13] Production.ERROR: CronJobId end10
[2025-01-09 20:30:13] Production.INFO: ==1911== Releasing lock...
[2025-01-09 20:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 20:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 20:30:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 20:30:15] Production.INFO: ============== Balance Warning START===========
[2025-01-09 20:30:15] Production.INFO: ============== Balance Warning END===========
[2025-01-09 20:30:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 20:30:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 20:30:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 20:30:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 20:30:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 20:30:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 20:30:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 20:30:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 20:30:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 20:30:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 20:30:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 20:30:16] Production.INFO: call_cost start
[2025-01-09 20:30:16] Production.INFO: call_cost end
[2025-01-09 20:30:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 20:30:16] Production.INFO: ============== Report Schedule START===========
[2025-01-09 20:30:16] Production.INFO: ============== Report Schedule END===========
[2025-01-09 20:30:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 20:30:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 20:30:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 20:30:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 20:30:16] Production.INFO: ============== Deal alert START===========
[2025-01-09 20:30:16] Production.INFO: ============== Deal alert END===========
[2025-01-09 20:30:16] Production.INFO: ==1907== Releasing lock...
[2025-01-09 20:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 20:30:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 20:30:20] Production.INFO: count ==1537
[2025-01-09 20:30:21] Production.ERROR: pbx CDR StartTime 2025-01-09 17:30:05 - End Time 2025-01-09 20:30:05
[2025-01-09 20:30:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 20:30:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212031', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:30:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212031', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:30:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212031', 'tblTempVendorCDR_20' ) start
[2025-01-09 20:30:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212031', 'tblTempVendorCDR_20' ) end
[2025-01-09 20:30:21] Production.INFO: ProcessCDR(1,14212031,1,1,2)
[2025-01-09 20:30:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212031,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:30:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212031,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:30:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212031,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:30:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212031,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:30:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212031', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:30:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212031', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:30:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:30:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:30:24] Production.INFO: ==1915== Releasing lock...
[2025-01-09 20:30:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 20:30:24] Production.INFO: 39.5 MB #Memory Used#
[2025-01-10 01:31:02] Production.INFO: ==2040== Lock acquired, processing the job...
[2025-01-10 01:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 01:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 01:31:02] Production.INFO: neon service started
[2025-01-10 01:31:02] Production.INFO: neon service started
[2025-01-10 01:31:02] Production.INFO: ==2040== Releasing lock...
[2025-01-10 01:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 01:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 20:31:02] Production.INFO: ==2042== Lock acquired, processing the job...
[2025-01-09 20:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:31:02] Production.INFO: ==2042== Releasing lock...
[2025-01-09 20:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 20:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:31:03] Production.INFO: ==2044== Lock acquired, processing the job...
[2025-01-10 01:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 01:31:03] Production.INFO: ==2044== Releasing lock...
[2025-01-10 01:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 01:31:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 20:31:03] Production.INFO: ==2055== Lock acquired, processing the job...
[2025-01-09 20:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 20:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:31:04] Production.INFO: ==2057== Lock acquired, processing the job...
[2025-01-09 20:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 20:31:04] Production.INFO: ==2046== Lock acquired, processing the job...
[2025-01-09 20:31:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 20:31:04] Production.INFO: ==2049== Lock acquired, processing the job...
[2025-01-09 20:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 20:31:04] Production.INFO: ==2051== Lock acquired, processing the job...
[2025-01-09 20:31:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 20:31:04] Production.INFO: ==2053== Lock acquired, processing the job...
[2025-01-09 20:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 20:31:04] Production.ERROR: done
[2025-01-09 20:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 20:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:31:04] Production.INFO: Account Balance Start.
[2025-01-09 20:31:04] Production.INFO: CreateAllLog Start
[2025-01-09 20:31:04] Production.INFO: 117
[2025-01-09 20:31:04] Production.INFO: count ==21
[2025-01-09 20:31:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 20:31:04] Production.INFO: Date 2025-01-08
[2025-01-09 20:31:04] Production.INFO: Reseller ==> 0
[2025-01-09 20:31:04] Production.ERROR: done
[2025-01-09 20:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:31:04] Production.INFO: count ==21
[2025-01-09 20:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212032') start
[2025-01-09 20:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 20:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 20:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 20:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 20:31:04] Production.INFO: Date 2025-01-09
[2025-01-09 20:31:04] Production.INFO: Reseller ==> 0
[2025-01-09 20:31:04] Production.INFO: Total Charge 0
[2025-01-09 20:31:04] Production.INFO: CreateAllLog End
[2025-01-09 20:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212032') end
[2025-01-09 20:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 20:31:04] Production.INFO: 1
[2025-01-09 20:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 20:31:04] Production.INFO: ==2057== Releasing lock...
[2025-01-09 20:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 20:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 20:31:04] Production.INFO: Account Balance End.
[2025-01-09 20:31:04] Production.ERROR: CronJobId end 12
[2025-01-09 20:31:04] Production.INFO: ==2053== Releasing lock...
[2025-01-09 20:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 20:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 20:31:04] Production.INFO: ==2049== Releasing lock...
[2025-01-09 20:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 20:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 20:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 17:31:05
[end_date_ymd] => 2025-01-09 20:31:05
[RateCDR] => 1
)
[2025-01-09 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-01-09 17:31:05' and `end` < '2025-01-09 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-01-09 20:31:13] Production.ERROR: CronJobId end10
[2025-01-09 20:31:13] Production.INFO: ==2051== Releasing lock...
[2025-01-09 20:31:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 20:31:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 20:31:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 20:31:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 20:31:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 20:31:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 20:31:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 20:31:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 20:31:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 20:31:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 20:31:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 20:31:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 20:31:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 20:31:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 20:31:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 20:31:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 20:31:14] Production.INFO: call_cost start
[2025-01-09 20:31:14] Production.INFO: call_cost end
[2025-01-09 20:31:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 20:31:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 20:31:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 20:31:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 20:31:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 20:31:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 20:31:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 20:31:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 20:31:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 20:31:15] Production.INFO: ==2046== Releasing lock...
[2025-01-09 20:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 20:31:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 20:31:19] Production.INFO: count ==1514
[2025-01-09 20:31:19] Production.ERROR: pbx CDR StartTime 2025-01-09 17:31:05 - End Time 2025-01-09 20:31:05
[2025-01-09 20:31:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 20:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212035', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212035', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212035', 'tblTempVendorCDR_20' ) start
[2025-01-09 20:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212035', 'tblTempVendorCDR_20' ) end
[2025-01-09 20:31:19] Production.INFO: ProcessCDR(1,14212035,1,1,2)
[2025-01-09 20:31:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212035,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:31:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212035,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:31:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212035,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:31:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212035,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:31:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212035', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:31:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212035', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:31:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:31:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:31:23] Production.INFO: ==2055== Releasing lock...
[2025-01-09 20:31:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 20:31:23] Production.INFO: 39.25 MB #Memory Used#
[2025-01-10 01:32:01] Production.INFO: ==2131== Lock acquired, processing the job...
[2025-01-10 01:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 01:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 01:32:01] Production.INFO: neon service started
[2025-01-10 01:32:01] Production.INFO: neon service started
[2025-01-10 01:32:01] Production.INFO: ==2131== Releasing lock...
[2025-01-10 01:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 01:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 20:32:02] Production.INFO: ==2133== Lock acquired, processing the job...
[2025-01-09 20:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 01:32:02] Production.INFO: ==2135== Lock acquired, processing the job...
[2025-01-10 01:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 01:32:02] Production.INFO: ==2135== Releasing lock...
[2025-01-10 01:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 01:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 20:32:02] Production.INFO: ==2133== Releasing lock...
[2025-01-09 20:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 20:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 20:32:03] Production.INFO: ==2140== Lock acquired, processing the job...
[2025-01-09 20:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 20:32:03] Production.INFO: ==2142== Lock acquired, processing the job...
[2025-01-09 20:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 20:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 20:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 20:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 20:32:03] Production.INFO: ==2146== Lock acquired, processing the job...
[2025-01-09 20:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 20:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 20:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:32:03] Production.INFO: ==2138== Lock acquired, processing the job...
[2025-01-09 20:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 20:32:03] Production.INFO: ==2140== Releasing lock...
[2025-01-09 20:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 20:32:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 20:32:03] Production.INFO: ==2144== Lock acquired, processing the job...
[2025-01-09 20:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 20:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 20:32:03] Production.INFO: ==2148== Lock acquired, processing the job...
[2025-01-09 20:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 20:32:04] Production.ERROR: done
[2025-01-09 20:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 20:32:04] Production.INFO: Account Balance Start.
[2025-01-09 20:32:04] Production.INFO: CreateAllLog Start
[2025-01-09 20:32:04] Production.INFO: 117
[2025-01-09 20:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:32:04] Production.INFO: Date 2025-01-08
[2025-01-09 20:32:04] Production.ERROR: done
[2025-01-09 20:32:04] Production.INFO: count ==21
[2025-01-09 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-01-09 20:32:04] Production.INFO: Reseller ==> 0
[2025-01-09 20:32:04] Production.INFO: count ==21
[2025-01-09 20:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212040') start
[2025-01-09 20:32:04] Production.INFO: Date 2025-01-09
[2025-01-09 20:32:04] Production.INFO: Reseller ==> 0
[2025-01-09 20:32:04] Production.INFO: Total Charge 0
[2025-01-09 20:32:04] Production.INFO: CreateAllLog End
[2025-01-09 20:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212040') end
[2025-01-09 20:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 20:32:04] Production.INFO: 1
[2025-01-09 20:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 20:32:04] Production.INFO: ==2148== Releasing lock...
[2025-01-09 20:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 20:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 20:32:04] Production.INFO: Account Balance End.
[2025-01-09 20:32:04] Production.ERROR: CronJobId end 12
[2025-01-09 20:32:04] Production.INFO: ==2144== Releasing lock...
[2025-01-09 20:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 20:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 20:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 17:32:05
[end_date_ymd] => 2025-01-09 20:32:05
[RateCDR] => 1
)
[2025-01-09 20:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 17:32:05' and `end` < '2025-01-09 20:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 20:32:12] Production.ERROR: CronJobId end10
[2025-01-09 20:32:12] Production.INFO: ==2142== Releasing lock...
[2025-01-09 20:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 20:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 20:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 20:32:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 20:32:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 20:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 20:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 20:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 20:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 20:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 20:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 20:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 20:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 20:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 20:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 20:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 20:32:14] Production.INFO: call_cost start
[2025-01-09 20:32:14] Production.INFO: call_cost end
[2025-01-09 20:32:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 20:32:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 20:32:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 20:32:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 20:32:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 20:32:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 20:32:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 20:32:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 20:32:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 20:32:15] Production.INFO: ==2138== Releasing lock...
[2025-01-09 20:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 20:32:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 20:32:20] Production.INFO: count ==1519
[2025-01-09 20:32:20] Production.ERROR: pbx CDR StartTime 2025-01-09 17:32:05 - End Time 2025-01-09 20:32:05
[2025-01-09 20:32:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 20:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212041', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212041', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212041', 'tblTempVendorCDR_20' ) start
[2025-01-09 20:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212041', 'tblTempVendorCDR_20' ) end
[2025-01-09 20:32:20] Production.INFO: ProcessCDR(1,14212041,1,1,2)
[2025-01-09 20:32:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212041,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:32:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212041,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:32:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212041,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:32:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212041,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212041', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212041', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:32:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:32:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:32:23] Production.INFO: ==2146== Releasing lock...
[2025-01-09 20:32:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 20:32:23] Production.INFO: 39.5 MB #Memory Used#
[2025-01-10 01:33:02] Production.INFO: ==2272== Lock acquired, processing the job...
[2025-01-10 01:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 01:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 01:33:02] Production.INFO: neon service started
[2025-01-10 01:33:02] Production.INFO: neon service started
[2025-01-10 01:33:02] Production.INFO: ==2272== Releasing lock...
[2025-01-10 01:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 01:33:02] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 20:33:02] Production.INFO: ==2274== Lock acquired, processing the job...
[2025-01-09 20:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:33:02] Production.INFO: ==2274== Releasing lock...
[2025-01-09 20:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 20:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:33:02] Production.INFO: ==2276== Lock acquired, processing the job...
[2025-01-10 01:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 01:33:03] Production.INFO: ==2276== Releasing lock...
[2025-01-10 01:33:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 01:33:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 20:33:03] Production.INFO: ==2280== Lock acquired, processing the job...
[2025-01-09 20:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 20:33:03] Production.INFO: ==2288== Lock acquired, processing the job...
[2025-01-09 20:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 20:33:03] Production.INFO: ==2278== Lock acquired, processing the job...
[2025-01-09 20:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 20:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 20:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:33:03] Production.INFO: count ==21
[2025-01-09 20:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:33:03] Production.INFO: count ==21
[2025-01-09 20:33:03] Production.INFO: ==2282== Lock acquired, processing the job...
[2025-01-09 20:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 20:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212043') start
[2025-01-09 20:33:04] Production.INFO: ==2284== Lock acquired, processing the job...
[2025-01-09 20:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 20:33:04] Production.INFO: ==2286== Lock acquired, processing the job...
[2025-01-09 20:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 20:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 20:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 20:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 20:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 20:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212043') end
[2025-01-09 20:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 20:33:04] Production.INFO: 1
[2025-01-09 20:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 20:33:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:33:04] Production.INFO: Account Balance Start.
[2025-01-09 20:33:04] Production.INFO: CreateAllLog Start
[2025-01-09 20:33:04] Production.INFO: 117
[2025-01-09 20:33:04] Production.INFO: ==2288== Releasing lock...
[2025-01-09 20:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 20:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 20:33:04] Production.INFO: ==2280== Releasing lock...
[2025-01-09 20:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 20:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 20:33:04] Production.INFO: Date 2025-01-08
[2025-01-09 20:33:04] Production.INFO: Reseller ==> 0
[2025-01-09 20:33:04] Production.INFO: Date 2025-01-09
[2025-01-09 20:33:04] Production.INFO: Reseller ==> 0
[2025-01-09 20:33:04] Production.INFO: Total Charge 0
[2025-01-09 20:33:04] Production.INFO: CreateAllLog End
[2025-01-09 20:33:04] Production.ERROR: done
[2025-01-09 20:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 20:33:04] Production.ERROR: done
[2025-01-09 20:33:04] Production.INFO: Account Balance End.
[2025-01-09 20:33:04] Production.ERROR: CronJobId end 12
[2025-01-09 20:33:04] Production.INFO: ==2284== Releasing lock...
[2025-01-09 20:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 20:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 20:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 17:33:05
[end_date_ymd] => 2025-01-09 20:33:05
[RateCDR] => 1
)
[2025-01-09 20:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 17:33:05' and `end` < '2025-01-09 20:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 20:33:14] Production.ERROR: CronJobId end10
[2025-01-09 20:33:14] Production.INFO: ==2282== Releasing lock...
[2025-01-09 20:33:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 20:33:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 20:33:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 20:33:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 20:33:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 20:33:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 20:33:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 20:33:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 20:33:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 20:33:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 20:33:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 20:33:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 20:33:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 20:33:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 20:33:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 20:33:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 20:33:15] Production.INFO: call_cost start
[2025-01-09 20:33:15] Production.INFO: call_cost end
[2025-01-09 20:33:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 20:33:16] Production.INFO: ============== Report Schedule START===========
[2025-01-09 20:33:16] Production.INFO: ============== Report Schedule END===========
[2025-01-09 20:33:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 20:33:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 20:33:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 20:33:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 20:33:16] Production.INFO: ============== Deal alert START===========
[2025-01-09 20:33:16] Production.INFO: ============== Deal alert END===========
[2025-01-09 20:33:16] Production.INFO: ==2278== Releasing lock...
[2025-01-09 20:33:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 20:33:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 20:33:18] Production.INFO: count ==1517
[2025-01-09 20:33:18] Production.ERROR: pbx CDR StartTime 2025-01-09 17:33:05 - End Time 2025-01-09 20:33:05
[2025-01-09 20:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 20:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212046', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212046', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212046', 'tblTempVendorCDR_20' ) start
[2025-01-09 20:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212046', 'tblTempVendorCDR_20' ) end
[2025-01-09 20:33:19] Production.INFO: ProcessCDR(1,14212046,1,1,2)
[2025-01-09 20:33:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212046,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:33:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212046,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:33:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212046,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:33:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212046,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212046', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212046', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:33:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:33:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:33:22] Production.INFO: ==2286== Releasing lock...
[2025-01-09 20:33:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 20:33:22] Production.INFO: 39.25 MB #Memory Used#
[2025-01-10 01:34:01] Production.INFO: ==2369== Lock acquired, processing the job...
[2025-01-10 01:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 01:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 01:34:01] Production.INFO: neon service started
[2025-01-10 01:34:01] Production.INFO: neon service started
[2025-01-10 01:34:01] Production.INFO: ==2369== Releasing lock...
[2025-01-10 01:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 01:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 20:34:02] Production.INFO: ==2371== Lock acquired, processing the job...
[2025-01-09 20:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 01:34:02] Production.INFO: ==2373== Lock acquired, processing the job...
[2025-01-10 01:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 01:34:02] Production.INFO: ==2373== Releasing lock...
[2025-01-10 01:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 01:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 20:34:02] Production.INFO: ==2371== Releasing lock...
[2025-01-09 20:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 20:34:02] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 20:34:03] Production.INFO: ==2380== Lock acquired, processing the job...
[2025-01-09 20:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 20:34:03] Production.INFO: ==2382== Lock acquired, processing the job...
[2025-01-09 20:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 20:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 20:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 20:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 20:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 20:34:03] Production.INFO: Account Balance Start.
[2025-01-09 20:34:03] Production.INFO: CreateAllLog Start
[2025-01-09 20:34:03] Production.INFO: 117
[2025-01-09 20:34:03] Production.INFO: Date 2025-01-08
[2025-01-09 20:34:03] Production.INFO: ==2376== Lock acquired, processing the job...
[2025-01-09 20:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 20:34:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:34:03] Production.INFO: ==2378== Lock acquired, processing the job...
[2025-01-09 20:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 20:34:03] Production.INFO: Date 2025-01-09
[2025-01-09 20:34:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 20:34:03] Production.INFO: Total Charge 0
[2025-01-09 20:34:03] Production.INFO: ==2384== Lock acquired, processing the job...
[2025-01-09 20:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 20:34:03] Production.INFO: CreateAllLog End
[2025-01-09 20:34:03] Production.INFO: ==2386== Lock acquired, processing the job...
[2025-01-09 20:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 20:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:34:03] Production.INFO: Account Balance End.
[2025-01-09 20:34:03] Production.INFO: count ==21
[2025-01-09 20:34:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:34:03] Production.INFO: count ==21
[2025-01-09 20:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212050') start
[2025-01-09 20:34:04] Production.ERROR: CronJobId end 12
[2025-01-09 20:34:04] Production.INFO: ==2382== Releasing lock...
[2025-01-09 20:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 20:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 20:34:04] Production.ERROR: done
[2025-01-09 20:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212050') end
[2025-01-09 20:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 20:34:04] Production.INFO: 1
[2025-01-09 20:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 20:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 20:34:04] Production.INFO: ==2386== Releasing lock...
[2025-01-09 20:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 20:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 20:34:04] Production.ERROR: done
[2025-01-09 20:34:04] Production.INFO: ==2378== Releasing lock...
[2025-01-09 20:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 20:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 20:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 17:34:05
[end_date_ymd] => 2025-01-09 20:34:05
[RateCDR] => 1
)
[2025-01-09 20:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 17:34:05' and `end` < '2025-01-09 20:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 20:34:11] Production.ERROR: CronJobId end10
[2025-01-09 20:34:11] Production.INFO: ==2380== Releasing lock...
[2025-01-09 20:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 20:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 20:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 20:34:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 20:34:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 20:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 20:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 20:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 20:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 20:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 20:34:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 20:34:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 20:34:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 20:34:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 20:34:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 20:34:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 20:34:13] Production.INFO: call_cost start
[2025-01-09 20:34:13] Production.INFO: call_cost end
[2025-01-09 20:34:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 20:34:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 20:34:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 20:34:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 20:34:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 20:34:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 20:34:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 20:34:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 20:34:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 20:34:14] Production.INFO: ==2376== Releasing lock...
[2025-01-09 20:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 20:34:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 20:34:20] Production.INFO: count ==1513
[2025-01-09 20:34:20] Production.ERROR: pbx CDR StartTime 2025-01-09 17:34:05 - End Time 2025-01-09 20:34:05
[2025-01-09 20:34:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 20:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212051', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212051', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212051', 'tblTempVendorCDR_20' ) start
[2025-01-09 20:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212051', 'tblTempVendorCDR_20' ) end
[2025-01-09 20:34:20] Production.INFO: ProcessCDR(1,14212051,1,1,2)
[2025-01-09 20:34:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212051,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:34:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212051,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:34:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212051,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:34:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212051,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:34:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212051', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:34:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212051', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:34:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:34:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:34:23] Production.INFO: ==2384== Releasing lock...
[2025-01-09 20:34:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 20:34:23] Production.INFO: 39.25 MB #Memory Used#
[2025-01-10 01:35:02] Production.INFO: ==2499== Lock acquired, processing the job...
[2025-01-10 01:35:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 01:35:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 01:35:02] Production.INFO: neon service started
[2025-01-10 01:35:02] Production.INFO: neon service started
[2025-01-10 01:35:02] Production.INFO: ==2499== Releasing lock...
[2025-01-10 01:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 01:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 20:35:02] Production.INFO: ==2501== Lock acquired, processing the job...
[2025-01-09 20:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:35:02] Production.INFO: ==2501== Releasing lock...
[2025-01-09 20:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 20:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:35:02] Production.INFO: ==2503== Lock acquired, processing the job...
[2025-01-10 01:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 01:35:02] Production.INFO: ==2503== Releasing lock...
[2025-01-10 01:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 01:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 20:35:03] Production.INFO: ==2511== Lock acquired, processing the job...
[2025-01-09 20:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 20:35:03] Production.INFO: ==2515== Lock acquired, processing the job...
[2025-01-09 20:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 20:35:03] Production.INFO: Account Balance Start.
[2025-01-09 20:35:03] Production.INFO: CreateAllLog Start
[2025-01-09 20:35:03] Production.INFO: 117
[2025-01-09 20:35:03] Production.INFO: Date 2025-01-08
[2025-01-09 20:35:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:35:03] Production.INFO: Date 2025-01-09
[2025-01-09 20:35:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:35:03] Production.INFO: Total Charge 0
[2025-01-09 20:35:03] Production.INFO: CreateAllLog End
[2025-01-09 20:35:03] Production.INFO: ==2505== Lock acquired, processing the job...
[2025-01-09 20:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 20:35:03] Production.INFO: ==2507== Lock acquired, processing the job...
[2025-01-09 20:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 20:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:35:03] Production.INFO: count ==21
[2025-01-09 20:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 20:35:03] Production.INFO: count ==21
[2025-01-09 20:35:03] Production.INFO: ==2509== Lock acquired, processing the job...
[2025-01-09 20:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 20:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212053') start
[2025-01-09 20:35:04] Production.INFO: Account Balance End.
[2025-01-09 20:35:04] Production.ERROR: CronJobId end 12
[2025-01-09 20:35:04] Production.INFO: ==2511== Releasing lock...
[2025-01-09 20:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 20:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 20:35:04] Production.INFO: ==2513== Lock acquired, processing the job...
[2025-01-09 20:35:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 20:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212053') end
[2025-01-09 20:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 20:35:04] Production.INFO: 1
[2025-01-09 20:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 20:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 20:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 20:35:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 20:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 20:35:04] Production.INFO: ==2507== Releasing lock...
[2025-01-09 20:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 20:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 20:35:04] Production.INFO: ==2515== Releasing lock...
[2025-01-09 20:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 20:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 20:35:04] Production.ERROR: done
[2025-01-09 20:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 20:35:04] Production.ERROR: done
[2025-01-09 20:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 17:35:05
[end_date_ymd] => 2025-01-09 20:35:05
[RateCDR] => 1
)
[2025-01-09 20:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 17:35:05' and `end` < '2025-01-09 20:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 20:35:12] Production.ERROR: CronJobId end10
[2025-01-09 20:35:12] Production.INFO: ==2509== Releasing lock...
[2025-01-09 20:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 20:35:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 20:35:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 20:35:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 20:35:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 20:35:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 20:35:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 20:35:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 20:35:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 20:35:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 20:35:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 20:35:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 20:35:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 20:35:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 20:35:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 20:35:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 20:35:14] Production.INFO: call_cost start
[2025-01-09 20:35:14] Production.INFO: call_cost end
[2025-01-09 20:35:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 20:35:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 20:35:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 20:35:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 20:35:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 20:35:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 20:35:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 20:35:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 20:35:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 20:35:15] Production.INFO: ==2505== Releasing lock...
[2025-01-09 20:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 20:35:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 20:35:18] Production.INFO: count ==1510
[2025-01-09 20:35:19] Production.ERROR: pbx CDR StartTime 2025-01-09 17:35:05 - End Time 2025-01-09 20:35:05
[2025-01-09 20:35:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 20:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212056', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212056', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212056', 'tblTempVendorCDR_20' ) start
[2025-01-09 20:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212056', 'tblTempVendorCDR_20' ) end
[2025-01-09 20:35:19] Production.INFO: ProcessCDR(1,14212056,1,1,2)
[2025-01-09 20:35:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212056,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:35:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212056,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:35:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212056,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:35:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212056,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212056', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212056', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:35:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:35:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:35:22] Production.INFO: ==2513== Releasing lock...
[2025-01-09 20:35:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 20:35:22] Production.INFO: 39.25 MB #Memory Used#
[2025-01-10 01:36:01] Production.INFO: ==2602== Lock acquired, processing the job...
[2025-01-10 01:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 01:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 01:36:01] Production.INFO: neon service started
[2025-01-10 01:36:01] Production.INFO: neon service started
[2025-01-10 01:36:01] Production.INFO: ==2602== Releasing lock...
[2025-01-10 01:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 01:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 20:36:02] Production.INFO: ==2604== Lock acquired, processing the job...
[2025-01-09 20:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:36:02] Production.INFO: ==2604== Releasing lock...
[2025-01-09 20:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 20:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:36:02] Production.INFO: ==2606== Lock acquired, processing the job...
[2025-01-10 01:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 01:36:02] Production.INFO: ==2606== Releasing lock...
[2025-01-10 01:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 01:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 20:36:03] Production.INFO: ==2608== Lock acquired, processing the job...
[2025-01-09 20:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 20:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 20:36:03] Production.INFO: ==2618== Lock acquired, processing the job...
[2025-01-09 20:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 20:36:03] Production.INFO: ==2612== Lock acquired, processing the job...
[2025-01-09 20:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 20:36:03] Production.INFO: ==2610== Lock acquired, processing the job...
[2025-01-09 20:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 20:36:03] Production.INFO: ==2616== Lock acquired, processing the job...
[2025-01-09 20:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 20:36:03] Production.INFO: ==2614== Lock acquired, processing the job...
[2025-01-09 20:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 20:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 20:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 20:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 20:36:03] Production.INFO: count ==21
[2025-01-09 20:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 20:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:36:03] Production.INFO: count ==21
[2025-01-09 20:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212058') start
[2025-01-09 20:36:03] Production.INFO: Account Balance Start.
[2025-01-09 20:36:03] Production.INFO: CreateAllLog Start
[2025-01-09 20:36:03] Production.INFO: 117
[2025-01-09 20:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212058') end
[2025-01-09 20:36:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 20:36:03] Production.INFO: 1
[2025-01-09 20:36:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 20:36:03] Production.INFO: ==2618== Releasing lock...
[2025-01-09 20:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 20:36:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 20:36:03] Production.INFO: Date 2025-01-08
[2025-01-09 20:36:03] Production.ERROR: done
[2025-01-09 20:36:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 20:36:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:36:04] Production.INFO: ==2610== Releasing lock...
[2025-01-09 20:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 20:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 20:36:04] Production.INFO: Date 2025-01-09
[2025-01-09 20:36:04] Production.INFO: Reseller ==> 0
[2025-01-09 20:36:04] Production.ERROR: done
[2025-01-09 20:36:04] Production.INFO: Total Charge 0
[2025-01-09 20:36:04] Production.INFO: CreateAllLog End
[2025-01-09 20:36:04] Production.INFO: Account Balance End.
[2025-01-09 20:36:04] Production.ERROR: CronJobId end 12
[2025-01-09 20:36:04] Production.INFO: ==2614== Releasing lock...
[2025-01-09 20:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 20:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 20:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 17:36:05
[end_date_ymd] => 2025-01-09 20:36:05
[RateCDR] => 1
)
[2025-01-09 20:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 17:36:05' and `end` < '2025-01-09 20:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 20:36:12] Production.ERROR: CronJobId end10
[2025-01-09 20:36:12] Production.INFO: ==2612== Releasing lock...
[2025-01-09 20:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 20:36:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 20:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 20:36:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 20:36:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 20:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 20:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 20:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 20:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 20:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 20:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 20:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 20:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 20:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 20:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 20:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 20:36:13] Production.INFO: call_cost start
[2025-01-09 20:36:13] Production.INFO: call_cost end
[2025-01-09 20:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 20:36:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 20:36:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 20:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 20:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 20:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 20:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 20:36:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 20:36:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 20:36:14] Production.INFO: ==2608== Releasing lock...
[2025-01-09 20:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 20:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 20:36:18] Production.INFO: count ==1502
[2025-01-09 20:36:19] Production.ERROR: pbx CDR StartTime 2025-01-09 17:36:05 - End Time 2025-01-09 20:36:05
[2025-01-09 20:36:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 20:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212061', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212061', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212061', 'tblTempVendorCDR_20' ) start
[2025-01-09 20:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212061', 'tblTempVendorCDR_20' ) end
[2025-01-09 20:36:19] Production.INFO: ProcessCDR(1,14212061,1,1,2)
[2025-01-09 20:36:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212061,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:36:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212061,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:36:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212061,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212061,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212061', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212061', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:36:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:36:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:36:22] Production.INFO: ==2616== Releasing lock...
[2025-01-09 20:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 20:36:22] Production.INFO: 39.25 MB #Memory Used#
[2025-01-10 01:37:02] Production.INFO: ==2728== Lock acquired, processing the job...
[2025-01-10 01:37:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 01:37:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 01:37:02] Production.INFO: neon service started
[2025-01-10 01:37:02] Production.INFO: neon service started
[2025-01-10 01:37:02] Production.INFO: ==2728== Releasing lock...
[2025-01-10 01:37:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 01:37:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 20:37:02] Production.INFO: ==2730== Lock acquired, processing the job...
[2025-01-09 20:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 01:37:02] Production.INFO: ==2732== Lock acquired, processing the job...
[2025-01-10 01:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 01:37:02] Production.INFO: ==2732== Releasing lock...
[2025-01-10 01:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 01:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 20:37:03] Production.INFO: ==2730== Releasing lock...
[2025-01-09 20:37:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 20:37:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 20:37:03] Production.INFO: ==2737== Lock acquired, processing the job...
[2025-01-09 20:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 20:37:03] Production.INFO: ==2739== Lock acquired, processing the job...
[2025-01-09 20:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 20:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 20:37:03] Production.INFO: ==2745== Lock acquired, processing the job...
[2025-01-09 20:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 20:37:04] Production.INFO: ==2741== Lock acquired, processing the job...
[2025-01-09 20:37:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 20:37:04] Production.INFO: ==2743== Lock acquired, processing the job...
[2025-01-09 20:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 20:37:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 20:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 20:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 20:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 20:37:04] Production.INFO: ==2747== Lock acquired, processing the job...
[2025-01-09 20:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 20:37:04] Production.INFO: Account Balance Start.
[2025-01-09 20:37:04] Production.INFO: CreateAllLog Start
[2025-01-09 20:37:04] Production.INFO: 117
[2025-01-09 20:37:04] Production.INFO: ==2739== Releasing lock...
[2025-01-09 20:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 20:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 20:37:04] Production.INFO: Date 2025-01-08
[2025-01-09 20:37:04] Production.INFO: Reseller ==> 0
[2025-01-09 20:37:04] Production.INFO: Date 2025-01-09
[2025-01-09 20:37:04] Production.INFO: Reseller ==> 0
[2025-01-09 20:37:04] Production.INFO: Total Charge 0
[2025-01-09 20:37:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:37:04] Production.INFO: count ==21
[2025-01-09 20:37:04] Production.INFO: CreateAllLog End
[2025-01-09 20:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:37:04] Production.INFO: count ==21
[2025-01-09 20:37:04] Production.ERROR: done
[2025-01-09 20:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 20:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212065') start
[2025-01-09 20:37:04] Production.INFO: Account Balance End.
[2025-01-09 20:37:04] Production.ERROR: done
[2025-01-09 20:37:04] Production.ERROR: CronJobId end 12
[2025-01-09 20:37:04] Production.INFO: ==2743== Releasing lock...
[2025-01-09 20:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 20:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 20:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212065') end
[2025-01-09 20:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 20:37:04] Production.INFO: 1
[2025-01-09 20:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 20:37:04] Production.INFO: ==2747== Releasing lock...
[2025-01-09 20:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 20:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 20:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 17:37:05
[end_date_ymd] => 2025-01-09 20:37:05
[RateCDR] => 1
)
[2025-01-09 20:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 17:37:05' and `end` < '2025-01-09 20:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 20:37:13] Production.ERROR: CronJobId end10
[2025-01-09 20:37:13] Production.INFO: ==2741== Releasing lock...
[2025-01-09 20:37:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 20:37:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 20:37:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 20:37:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 20:37:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 20:37:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 20:37:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 20:37:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 20:37:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 20:37:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 20:37:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 20:37:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 20:37:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 20:37:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 20:37:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 20:37:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 20:37:15] Production.INFO: call_cost start
[2025-01-09 20:37:15] Production.INFO: call_cost end
[2025-01-09 20:37:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 20:37:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 20:37:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 20:37:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 20:37:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 20:37:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 20:37:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 20:37:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 20:37:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 20:37:15] Production.INFO: ==2737== Releasing lock...
[2025-01-09 20:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 20:37:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 20:37:20] Production.INFO: count ==1499
[2025-01-09 20:37:21] Production.ERROR: pbx CDR StartTime 2025-01-09 17:37:05 - End Time 2025-01-09 20:37:05
[2025-01-09 20:37:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 20:37:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212066', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:37:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212066', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:37:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212066', 'tblTempVendorCDR_20' ) start
[2025-01-09 20:37:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212066', 'tblTempVendorCDR_20' ) end
[2025-01-09 20:37:21] Production.INFO: ProcessCDR(1,14212066,1,1,2)
[2025-01-09 20:37:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212066,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:37:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212066,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:37:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212066,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:37:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212066,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:37:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212066', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:37:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212066', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:37:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:37:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:37:25] Production.INFO: ==2745== Releasing lock...
[2025-01-09 20:37:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 20:37:25] Production.INFO: 39.25 MB #Memory Used#
[2025-01-10 01:38:01] Production.INFO: ==2817== Lock acquired, processing the job...
[2025-01-10 01:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 01:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 01:38:01] Production.INFO: neon service started
[2025-01-10 01:38:01] Production.INFO: neon service started
[2025-01-10 01:38:01] Production.INFO: ==2817== Releasing lock...
[2025-01-10 01:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 01:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 01:38:02] Production.INFO: ==2821== Lock acquired, processing the job...
[2025-01-10 01:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 01:38:02] Production.INFO: ==2821== Releasing lock...
[2025-01-10 01:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 01:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 20:38:02] Production.INFO: ==2819== Lock acquired, processing the job...
[2025-01-09 20:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:38:02] Production.INFO: ==2819== Releasing lock...
[2025-01-09 20:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 20:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 20:38:03] Production.INFO: ==2828== Lock acquired, processing the job...
[2025-01-09 20:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 20:38:03] Production.INFO: ==2834== Lock acquired, processing the job...
[2025-01-09 20:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 20:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 20:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 20:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 20:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 20:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:38:03] Production.INFO: ==2824== Lock acquired, processing the job...
[2025-01-09 20:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 20:38:03] Production.INFO: ==2826== Lock acquired, processing the job...
[2025-01-09 20:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 20:38:03] Production.INFO: count ==21
[2025-01-09 20:38:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:38:03] Production.INFO: count ==21
[2025-01-09 20:38:03] Production.INFO: ==2830== Lock acquired, processing the job...
[2025-01-09 20:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 20:38:03] Production.INFO: ==2832== Lock acquired, processing the job...
[2025-01-09 20:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 20:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212067') start
[2025-01-09 20:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 20:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212067') end
[2025-01-09 20:38:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 20:38:03] Production.INFO: 1
[2025-01-09 20:38:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 20:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:38:03] Production.INFO: Account Balance Start.
[2025-01-09 20:38:03] Production.INFO: CreateAllLog Start
[2025-01-09 20:38:03] Production.INFO: 117
[2025-01-09 20:38:03] Production.INFO: ==2834== Releasing lock...
[2025-01-09 20:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 20:38:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 20:38:03] Production.INFO: Date 2025-01-08
[2025-01-09 20:38:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:38:04] Production.INFO: Date 2025-01-09
[2025-01-09 20:38:04] Production.INFO: Reseller ==> 0
[2025-01-09 20:38:04] Production.INFO: Total Charge 0
[2025-01-09 20:38:04] Production.INFO: CreateAllLog End
[2025-01-09 20:38:04] Production.INFO: ==2826== Releasing lock...
[2025-01-09 20:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 20:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 20:38:04] Production.ERROR: done
[2025-01-09 20:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 20:38:04] Production.INFO: Account Balance End.
[2025-01-09 20:38:04] Production.ERROR: CronJobId end 12
[2025-01-09 20:38:04] Production.INFO: ==2830== Releasing lock...
[2025-01-09 20:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 20:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 20:38:04] Production.ERROR: done
[2025-01-09 20:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 17:38:05
[end_date_ymd] => 2025-01-09 20:38:05
[RateCDR] => 1
)
[2025-01-09 20:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 17:38:05' and `end` < '2025-01-09 20:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 20:38:11] Production.ERROR: CronJobId end10
[2025-01-09 20:38:11] Production.INFO: ==2828== Releasing lock...
[2025-01-09 20:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 20:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 20:38:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 20:38:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 20:38:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 20:38:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 20:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 20:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 20:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 20:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 20:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 20:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 20:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 20:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 20:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 20:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 20:38:13] Production.INFO: call_cost start
[2025-01-09 20:38:13] Production.INFO: call_cost end
[2025-01-09 20:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 20:38:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 20:38:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 20:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 20:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 20:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 20:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 20:38:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 20:38:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 20:38:14] Production.INFO: ==2824== Releasing lock...
[2025-01-09 20:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 20:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 20:38:18] Production.INFO: count ==1497
[2025-01-09 20:38:19] Production.ERROR: pbx CDR StartTime 2025-01-09 17:38:05 - End Time 2025-01-09 20:38:05
[2025-01-09 20:38:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 20:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212071', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212071', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212071', 'tblTempVendorCDR_20' ) start
[2025-01-09 20:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212071', 'tblTempVendorCDR_20' ) end
[2025-01-09 20:38:19] Production.INFO: ProcessCDR(1,14212071,1,1,2)
[2025-01-09 20:38:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212071,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:38:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212071,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:38:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212071,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:38:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212071,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212071', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212071', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:38:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:38:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:38:22] Production.INFO: ==2832== Releasing lock...
[2025-01-09 20:38:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 20:38:22] Production.INFO: 39.25 MB #Memory Used#
[2025-01-10 01:39:02] Production.INFO: ==2904== Lock acquired, processing the job...
[2025-01-10 01:39:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 01:39:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 01:39:02] Production.INFO: neon service started
[2025-01-10 01:39:02] Production.INFO: neon service started
[2025-01-10 01:39:02] Production.INFO: ==2904== Releasing lock...
[2025-01-10 01:39:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 01:39:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 20:39:02] Production.INFO: ==2906== Lock acquired, processing the job...
[2025-01-09 20:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:39:02] Production.INFO: ==2906== Releasing lock...
[2025-01-09 20:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 20:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:39:02] Production.INFO: ==2908== Lock acquired, processing the job...
[2025-01-10 01:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 01:39:02] Production.INFO: ==2908== Releasing lock...
[2025-01-10 01:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 01:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 20:39:03] Production.INFO: ==2911== Lock acquired, processing the job...
[2025-01-09 20:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 20:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 20:39:03] Production.INFO: ==2915== Lock acquired, processing the job...
[2025-01-09 20:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 20:39:03] Production.INFO: ==2917== Lock acquired, processing the job...
[2025-01-09 20:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 20:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 20:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 20:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 20:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 20:39:03] Production.INFO: Account Balance Start.
[2025-01-09 20:39:03] Production.INFO: CreateAllLog Start
[2025-01-09 20:39:03] Production.INFO: 117
[2025-01-09 20:39:03] Production.INFO: Date 2025-01-08
[2025-01-09 20:39:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:39:03] Production.INFO: Date 2025-01-09
[2025-01-09 20:39:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:39:03] Production.INFO: ==2913== Lock acquired, processing the job...
[2025-01-09 20:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 20:39:03] Production.INFO: Total Charge 0
[2025-01-09 20:39:03] Production.INFO: CreateAllLog End
[2025-01-09 20:39:03] Production.INFO: ==2921== Lock acquired, processing the job...
[2025-01-09 20:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 20:39:04] Production.INFO: ==2919== Lock acquired, processing the job...
[2025-01-09 20:39:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 20:39:04] Production.INFO: Account Balance End.
[2025-01-09 20:39:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:39:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:39:04] Production.ERROR: CronJobId end 12
[2025-01-09 20:39:04] Production.INFO: ==2917== Releasing lock...
[2025-01-09 20:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 20:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 20:39:04] Production.INFO: count ==21
[2025-01-09 20:39:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:39:04] Production.INFO: count ==21
[2025-01-09 20:39:04] Production.INFO: ==2913== Releasing lock...
[2025-01-09 20:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 20:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 20:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212075') start
[2025-01-09 20:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212075') end
[2025-01-09 20:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 20:39:04] Production.INFO: 1
[2025-01-09 20:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 20:39:04] Production.INFO: ==2921== Releasing lock...
[2025-01-09 20:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 20:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 20:39:04] Production.ERROR: done
[2025-01-09 20:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 20:39:04] Production.ERROR: done
[2025-01-09 20:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 17:39:05
[end_date_ymd] => 2025-01-09 20:39:05
[RateCDR] => 1
)
[2025-01-09 20:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 17:39:05' and `end` < '2025-01-09 20:39:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 20:39:12] Production.ERROR: CronJobId end10
[2025-01-09 20:39:12] Production.INFO: ==2915== Releasing lock...
[2025-01-09 20:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 20:39:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 20:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 20:39:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 20:39:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 20:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 20:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 20:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 20:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 20:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 20:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 20:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 20:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 20:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 20:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 20:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 20:39:14] Production.INFO: call_cost start
[2025-01-09 20:39:14] Production.INFO: call_cost end
[2025-01-09 20:39:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 20:39:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 20:39:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 20:39:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 20:39:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 20:39:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 20:39:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 20:39:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 20:39:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 20:39:15] Production.INFO: ==2911== Releasing lock...
[2025-01-09 20:39:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 20:39:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 20:39:18] Production.INFO: count ==1495
[2025-01-09 20:39:19] Production.ERROR: pbx CDR StartTime 2025-01-09 17:39:05 - End Time 2025-01-09 20:39:05
[2025-01-09 20:39:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 20:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212076', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212076', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212076', 'tblTempVendorCDR_20' ) start
[2025-01-09 20:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212076', 'tblTempVendorCDR_20' ) end
[2025-01-09 20:39:19] Production.INFO: ProcessCDR(1,14212076,1,1,2)
[2025-01-09 20:39:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212076,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:39:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212076,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:39:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212076,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:39:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212076,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212076', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212076', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:39:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:39:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:39:22] Production.INFO: ==2919== Releasing lock...
[2025-01-09 20:39:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 20:39:22] Production.INFO: 39.25 MB #Memory Used#
[2025-01-10 01:40:01] Production.INFO: ==2987== Lock acquired, processing the job...
[2025-01-10 01:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 01:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 01:40:01] Production.INFO: neon service started
[2025-01-10 01:40:01] Production.INFO: neon service started
[2025-01-10 01:40:01] Production.INFO: ==2987== Releasing lock...
[2025-01-10 01:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 01:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 20:40:01] Production.INFO: ==2989== Lock acquired, processing the job...
[2025-01-09 20:40:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 01:40:02] Production.INFO: ==2991== Lock acquired, processing the job...
[2025-01-10 01:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 20:40:02] Production.INFO: ==2989== Releasing lock...
[2025-01-09 20:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 20:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:40:02] Production.INFO: ==2991== Releasing lock...
[2025-01-10 01:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 01:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 20:40:03] Production.INFO: ==2994== Lock acquired, processing the job...
[2025-01-09 20:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 20:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 20:40:03] Production.INFO: ==2996== Lock acquired, processing the job...
[2025-01-09 20:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 20:40:03] Production.INFO: ==2998== Lock acquired, processing the job...
[2025-01-09 20:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 20:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 20:40:03] Production.INFO: ==2994== Releasing lock...
[2025-01-09 20:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 20:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 20:40:03] Production.INFO: ==3000== Lock acquired, processing the job...
[2025-01-09 20:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 20:40:03] Production.INFO: ==3004== Lock acquired, processing the job...
[2025-01-09 20:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 20:40:03] Production.INFO: ==3002== Lock acquired, processing the job...
[2025-01-09 20:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 20:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 20:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 20:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 20:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 20:40:03] Production.INFO: ==3006== Lock acquired, processing the job...
[2025-01-09 20:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 20:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 20:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:40:03] Production.INFO: ==3008== Lock acquired, processing the job...
[2025-01-09 20:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 20:40:03] Production.INFO: Account Balance Start.
[2025-01-09 20:40:03] Production.INFO: CreateAllLog Start
[2025-01-09 20:40:03] Production.INFO: 117
[2025-01-09 20:40:03] Production.INFO: Date 2025-01-08
[2025-01-09 20:40:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:40:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:40:04] Production.INFO: count ==21
[2025-01-09 20:40:04] Production.ERROR: done
[2025-01-09 20:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 20:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:40:04] Production.INFO: count ==21
[2025-01-09 20:40:04] Production.INFO: ==2998== Releasing lock...
[2025-01-09 20:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 20:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 20:40:04] Production.ERROR: done
[2025-01-09 20:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212080') start
[2025-01-09 20:40:04] Production.INFO: Date 2025-01-09
[2025-01-09 20:40:04] Production.INFO: Reseller ==> 0
[2025-01-09 20:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 20:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14212081', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 20:40:04] Production.INFO: Total Charge 0
[2025-01-09 20:40:04] Production.INFO: CreateAllLog End
[2025-01-09 20:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212080') end
[2025-01-09 20:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 20:40:04] Production.INFO: 1
[2025-01-09 20:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 20:40:04] Production.ERROR: done
[2025-01-09 20:40:04] Production.INFO: ==3008== Releasing lock...
[2025-01-09 20:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 20:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 20:40:04] Production.INFO: Account Balance End.
[2025-01-09 20:40:04] Production.ERROR: CronJobId end 12
[2025-01-09 20:40:04] Production.INFO: ==3002== Releasing lock...
[2025-01-09 20:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 20:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 20:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 17:40:05
[end_date_ymd] => 2025-01-09 20:40:05
[RateCDR] => 1
)
[2025-01-09 20:40:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 17:40:05' and `end` < '2025-01-09 20:40:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 20:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14212081', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 20:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 20:40:08] Production.INFO: ProcessCDR(1,14212081,1,1,2)
[2025-01-09 20:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14212081,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14212081,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:40:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:40:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:40:08] Production.INFO: ==3006== Releasing lock...
[2025-01-09 20:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 20:40:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 20:40:13] Production.ERROR: CronJobId end10
[2025-01-09 20:40:13] Production.INFO: ==3000== Releasing lock...
[2025-01-09 20:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 20:40:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 20:40:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 20:40:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 20:40:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 20:40:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 20:40:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 20:40:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 20:40:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 20:40:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 20:40:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 20:40:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 20:40:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 20:40:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 20:40:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 20:40:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 20:40:15] Production.INFO: call_cost start
[2025-01-09 20:40:15] Production.INFO: call_cost end
[2025-01-09 20:40:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 20:40:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 20:40:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 20:40:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 20:40:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 20:40:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 20:40:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 20:40:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 20:40:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 20:40:15] Production.INFO: ==2996== Releasing lock...
[2025-01-09 20:40:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 20:40:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 20:40:18] Production.INFO: count ==1490
[2025-01-09 20:40:18] Production.ERROR: pbx CDR StartTime 2025-01-09 17:40:05 - End Time 2025-01-09 20:40:05
[2025-01-09 20:40:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 20:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212082', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212082', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212082', 'tblTempVendorCDR_20' ) start
[2025-01-09 20:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212082', 'tblTempVendorCDR_20' ) end
[2025-01-09 20:40:18] Production.INFO: ProcessCDR(1,14212082,1,1,2)
[2025-01-09 20:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212082,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:40:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212082,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:40:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212082,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:40:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212082,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212082', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212082', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:40:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:40:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:40:23] Production.INFO: ==3004== Releasing lock...
[2025-01-09 20:40:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 20:40:23] Production.INFO: 39 MB #Memory Used#
[2025-01-10 01:41:02] Production.INFO: ==3071== Lock acquired, processing the job...
[2025-01-10 01:41:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 01:41:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 01:41:02] Production.INFO: neon service started
[2025-01-10 01:41:02] Production.INFO: neon service started
[2025-01-10 01:41:02] Production.INFO: ==3071== Releasing lock...
[2025-01-10 01:41:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 01:41:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 20:41:02] Production.INFO: ==3073== Lock acquired, processing the job...
[2025-01-09 20:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 01:41:02] Production.INFO: ==3075== Lock acquired, processing the job...
[2025-01-10 01:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 01:41:02] Production.INFO: ==3075== Releasing lock...
[2025-01-10 01:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 01:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 20:41:03] Production.INFO: ==3073== Releasing lock...
[2025-01-09 20:41:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 20:41:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 20:41:03] Production.INFO: ==3080== Lock acquired, processing the job...
[2025-01-09 20:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 20:41:03] Production.INFO: ==3078== Lock acquired, processing the job...
[2025-01-09 20:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 20:41:03] Production.INFO: ==3084== Lock acquired, processing the job...
[2025-01-09 20:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 20:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 20:41:04] Production.INFO: Account Balance Start.
[2025-01-09 20:41:04] Production.INFO: CreateAllLog Start
[2025-01-09 20:41:04] Production.INFO: 117
[2025-01-09 20:41:04] Production.INFO: Date 2025-01-08
[2025-01-09 20:41:04] Production.INFO: Reseller ==> 0
[2025-01-09 20:41:04] Production.INFO: ==3082== Lock acquired, processing the job...
[2025-01-09 20:41:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 20:41:04] Production.INFO: Date 2025-01-09
[2025-01-09 20:41:04] Production.INFO: Reseller ==> 0
[2025-01-09 20:41:04] Production.INFO: ==3080== Releasing lock...
[2025-01-09 20:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 20:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 20:41:04] Production.INFO: Total Charge 0
[2025-01-09 20:41:04] Production.INFO: ==3086== Lock acquired, processing the job...
[2025-01-09 20:41:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 20:41:04] Production.INFO: CreateAllLog End
[2025-01-09 20:41:04] Production.INFO: ==3088== Lock acquired, processing the job...
[2025-01-09 20:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 20:41:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 20:41:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 20:41:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 20:41:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:41:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 20:41:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:41:04] Production.INFO: count ==21
[2025-01-09 20:41:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:41:04] Production.INFO: count ==21
[2025-01-09 20:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212086') start
[2025-01-09 20:41:04] Production.ERROR: done
[2025-01-09 20:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 20:41:04] Production.INFO: Account Balance End.
[2025-01-09 20:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212086') end
[2025-01-09 20:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 20:41:04] Production.INFO: 1
[2025-01-09 20:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 20:41:04] Production.ERROR: CronJobId end 12
[2025-01-09 20:41:04] Production.INFO: ==3084== Releasing lock...
[2025-01-09 20:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 20:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 20:41:04] Production.ERROR: done
[2025-01-09 20:41:04] Production.INFO: ==3088== Releasing lock...
[2025-01-09 20:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 20:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 20:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 17:41:05
[end_date_ymd] => 2025-01-09 20:41:05
[RateCDR] => 1
)
[2025-01-09 20:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 17:41:05' and `end` < '2025-01-09 20:41:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 20:41:12] Production.ERROR: CronJobId end10
[2025-01-09 20:41:12] Production.INFO: ==3082== Releasing lock...
[2025-01-09 20:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 20:41:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 20:41:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 20:41:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 20:41:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 20:41:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 20:41:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 20:41:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 20:41:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 20:41:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 20:41:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 20:41:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 20:41:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 20:41:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 20:41:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 20:41:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 20:41:13] Production.INFO: call_cost start
[2025-01-09 20:41:13] Production.INFO: call_cost end
[2025-01-09 20:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 20:41:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 20:41:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 20:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 20:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 20:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 20:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 20:41:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 20:41:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 20:41:14] Production.INFO: ==3078== Releasing lock...
[2025-01-09 20:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 20:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 20:41:19] Production.INFO: count ==1481
[2025-01-09 20:41:19] Production.ERROR: pbx CDR StartTime 2025-01-09 17:41:05 - End Time 2025-01-09 20:41:05
[2025-01-09 20:41:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 20:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212087', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212087', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212087', 'tblTempVendorCDR_20' ) start
[2025-01-09 20:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212087', 'tblTempVendorCDR_20' ) end
[2025-01-09 20:41:19] Production.INFO: ProcessCDR(1,14212087,1,1,2)
[2025-01-09 20:41:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212087,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:41:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212087,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:41:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212087,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:41:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212087,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212087', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212087', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:41:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:41:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:41:22] Production.INFO: ==3086== Releasing lock...
[2025-01-09 20:41:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 20:41:22] Production.INFO: 39.25 MB #Memory Used#
[2025-01-10 01:42:01] Production.INFO: ==3146== Lock acquired, processing the job...
[2025-01-10 01:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 01:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 01:42:01] Production.INFO: neon service started
[2025-01-10 01:42:01] Production.INFO: neon service started
[2025-01-10 01:42:01] Production.INFO: ==3146== Releasing lock...
[2025-01-10 01:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 01:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 20:42:02] Production.INFO: ==3148== Lock acquired, processing the job...
[2025-01-09 20:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 01:42:02] Production.INFO: ==3150== Lock acquired, processing the job...
[2025-01-10 01:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 01:42:02] Production.INFO: ==3150== Releasing lock...
[2025-01-10 01:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 01:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 20:42:02] Production.INFO: ==3148== Releasing lock...
[2025-01-09 20:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 20:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 20:42:03] Production.INFO: ==3155== Lock acquired, processing the job...
[2025-01-09 20:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 20:42:03] Production.INFO: ==3153== Lock acquired, processing the job...
[2025-01-09 20:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 20:42:03] Production.INFO: ==3161== Lock acquired, processing the job...
[2025-01-09 20:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 20:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 20:42:03] Production.INFO: ==3157== Lock acquired, processing the job...
[2025-01-09 20:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 20:42:03] Production.INFO: ==3155== Releasing lock...
[2025-01-09 20:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 20:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 20:42:03] Production.INFO: ==3159== Lock acquired, processing the job...
[2025-01-09 20:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 20:42:03] Production.INFO: ==3163== Lock acquired, processing the job...
[2025-01-09 20:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 20:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 20:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 20:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 20:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 20:42:03] Production.INFO: Account Balance Start.
[2025-01-09 20:42:03] Production.INFO: CreateAllLog Start
[2025-01-09 20:42:03] Production.INFO: 117
[2025-01-09 20:42:03] Production.INFO: Date 2025-01-08
[2025-01-09 20:42:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:42:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:42:03] Production.INFO: count ==21
[2025-01-09 20:42:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:42:03] Production.INFO: count ==21
[2025-01-09 20:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212091') start
[2025-01-09 20:42:03] Production.INFO: Date 2025-01-09
[2025-01-09 20:42:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:42:03] Production.ERROR: done
[2025-01-09 20:42:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 20:42:04] Production.INFO: Total Charge 0
[2025-01-09 20:42:04] Production.INFO: CreateAllLog End
[2025-01-09 20:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212091') end
[2025-01-09 20:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 20:42:04] Production.INFO: 1
[2025-01-09 20:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 20:42:04] Production.INFO: ==3163== Releasing lock...
[2025-01-09 20:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 20:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 20:42:04] Production.ERROR: done
[2025-01-09 20:42:04] Production.INFO: Account Balance End.
[2025-01-09 20:42:04] Production.ERROR: CronJobId end 12
[2025-01-09 20:42:04] Production.INFO: ==3159== Releasing lock...
[2025-01-09 20:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 20:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 20:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 17:42:05
[end_date_ymd] => 2025-01-09 20:42:05
[RateCDR] => 1
)
[2025-01-09 20:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 17:42:05' and `end` < '2025-01-09 20:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 20:42: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-01-09 20:42:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 20:42:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 20:42:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 20:42:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 20:42:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 20:42:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 20:42:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 20:42:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 20:42:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 20:42:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 20:42:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 20:42:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 20:42:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 20:42:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 20:42:12] Production.INFO: call_cost start
[2025-01-09 20:42:12] Production.INFO: call_cost end
[2025-01-09 20:42:12] Production.ERROR: CronJobId end10
[2025-01-09 20:42:12] Production.INFO: ==3157== Releasing lock...
[2025-01-09 20:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 20:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 20:42:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 20:42:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 20:42:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 20:42:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 20:42:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 20:42:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 20:42:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 20:42:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 20:42:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 20:42:13] Production.INFO: ==3153== Releasing lock...
[2025-01-09 20:42:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 20:42:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 20:42:18] Production.INFO: count ==1469
[2025-01-09 20:42:19] Production.ERROR: pbx CDR StartTime 2025-01-09 17:42:05 - End Time 2025-01-09 20:42:05
[2025-01-09 20:42:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 20:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212092', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212092', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212092', 'tblTempVendorCDR_20' ) start
[2025-01-09 20:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212092', 'tblTempVendorCDR_20' ) end
[2025-01-09 20:42:19] Production.INFO: ProcessCDR(1,14212092,1,1,2)
[2025-01-09 20:42:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212092,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:42:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212092,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:42:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212092,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212092,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212092', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212092', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:42:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:42:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:42:22] Production.INFO: ==3161== Releasing lock...
[2025-01-09 20:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 20:42:22] Production.INFO: 39 MB #Memory Used#
[2025-01-10 01:43:01] Production.INFO: ==3224== Lock acquired, processing the job...
[2025-01-10 01:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 01:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 01:43:01] Production.INFO: neon service started
[2025-01-10 01:43:02] Production.INFO: neon service started
[2025-01-10 01:43:02] Production.INFO: ==3224== Releasing lock...
[2025-01-10 01:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 01:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 20:43:02] Production.INFO: ==3226== Lock acquired, processing the job...
[2025-01-09 20:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:43:02] Production.INFO: ==3226== Releasing lock...
[2025-01-09 20:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 20:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:43:02] Production.INFO: ==3228== Lock acquired, processing the job...
[2025-01-10 01:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 01:43:02] Production.INFO: ==3228== Releasing lock...
[2025-01-10 01:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 01:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 20:43:03] Production.INFO: ==3240== Lock acquired, processing the job...
[2025-01-09 20:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 20:43:03] Production.INFO: ==3230== Lock acquired, processing the job...
[2025-01-09 20:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 20:43:03] Production.INFO: ==3238== Lock acquired, processing the job...
[2025-01-09 20:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 20:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:43:03] Production.INFO: ==3232== Lock acquired, processing the job...
[2025-01-09 20:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 20:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:43:03] Production.INFO: count ==21
[2025-01-09 20:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:43:03] Production.INFO: count ==21
[2025-01-09 20:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 20:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212093') start
[2025-01-09 20:43:03] Production.INFO: ==3234== Lock acquired, processing the job...
[2025-01-09 20:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 20:43:03] Production.INFO: ==3236== Lock acquired, processing the job...
[2025-01-09 20:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 20:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212093') end
[2025-01-09 20:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 20:43:03] Production.INFO: 1
[2025-01-09 20:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 20:43:03] Production.INFO: Account Balance Start.
[2025-01-09 20:43:03] Production.INFO: CreateAllLog Start
[2025-01-09 20:43:03] Production.INFO: 117
[2025-01-09 20:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 20:43:04] Production.INFO: Date 2025-01-08
[2025-01-09 20:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 20:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 20:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 20:43:04] Production.INFO: Reseller ==> 0
[2025-01-09 20:43:04] Production.INFO: Date 2025-01-09
[2025-01-09 20:43:04] Production.INFO: Reseller ==> 0
[2025-01-09 20:43:04] Production.INFO: ==3240== Releasing lock...
[2025-01-09 20:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 20:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 20:43:04] Production.ERROR: done
[2025-01-09 20:43:04] Production.INFO: Total Charge 0
[2025-01-09 20:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 20:43:04] Production.INFO: CreateAllLog End
[2025-01-09 20:43:04] Production.INFO: ==3232== Releasing lock...
[2025-01-09 20:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 20:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 20:43:04] Production.ERROR: done
[2025-01-09 20:43:04] Production.INFO: Account Balance End.
[2025-01-09 20:43:04] Production.ERROR: CronJobId end 12
[2025-01-09 20:43:04] Production.INFO: ==3236== Releasing lock...
[2025-01-09 20:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 20:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 20:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 17:43:05
[end_date_ymd] => 2025-01-09 20:43:05
[RateCDR] => 1
)
[2025-01-09 20:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 17:43:05' and `end` < '2025-01-09 20:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 20:43:11] Production.ERROR: CronJobId end10
[2025-01-09 20:43:11] Production.INFO: ==3234== Releasing lock...
[2025-01-09 20:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 20:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 20:43:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 20:43:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 20:43:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 20:43:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 20:43:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 20:43:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 20:43:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 20:43:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 20:43:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 20:43:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 20:43:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 20:43:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 20:43:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 20:43:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 20:43:14] Production.INFO: call_cost start
[2025-01-09 20:43:14] Production.INFO: call_cost end
[2025-01-09 20:43:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 20:43:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 20:43:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 20:43:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 20:43:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 20:43:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 20:43:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 20:43:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 20:43:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 20:43:15] Production.INFO: ==3230== Releasing lock...
[2025-01-09 20:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 20:43:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 20:43:18] Production.INFO: count ==1464
[2025-01-09 20:43:18] Production.ERROR: pbx CDR StartTime 2025-01-09 17:43:05 - End Time 2025-01-09 20:43:05
[2025-01-09 20:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 20:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212097', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212097', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212097', 'tblTempVendorCDR_20' ) start
[2025-01-09 20:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212097', 'tblTempVendorCDR_20' ) end
[2025-01-09 20:43:18] Production.INFO: ProcessCDR(1,14212097,1,1,2)
[2025-01-09 20:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212097,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212097,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212097,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:43:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212097,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212097', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212097', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:43:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:43:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:43:22] Production.INFO: ==3238== Releasing lock...
[2025-01-09 20:43:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 20:43:22] Production.INFO: 39 MB #Memory Used#
[2025-01-10 01:44:01] Production.INFO: ==3307== Lock acquired, processing the job...
[2025-01-10 01:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 01:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 01:44:01] Production.INFO: neon service started
[2025-01-10 01:44:01] Production.INFO: neon service started
[2025-01-10 01:44:01] Production.INFO: ==3307== Releasing lock...
[2025-01-10 01:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 01:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 20:44:01] Production.INFO: ==3309== Lock acquired, processing the job...
[2025-01-09 20:44:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:44:02] Production.INFO: ==3309== Releasing lock...
[2025-01-09 20:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 20:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:44:02] Production.INFO: ==3311== Lock acquired, processing the job...
[2025-01-10 01:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 01:44:02] Production.INFO: ==3311== Releasing lock...
[2025-01-10 01:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 01:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 20:44:02] Production.INFO: ==3319== Lock acquired, processing the job...
[2025-01-09 20:44:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 20:44:02] Production.INFO: Account Balance Start.
[2025-01-09 20:44:02] Production.INFO: CreateAllLog Start
[2025-01-09 20:44:02] Production.INFO: 117
[2025-01-09 20:44:02] Production.INFO: Date 2025-01-08
[2025-01-09 20:44:02] Production.INFO: Reseller ==> 0
[2025-01-09 20:44:02] Production.INFO: Date 2025-01-09
[2025-01-09 20:44:02] Production.INFO: Reseller ==> 0
[2025-01-09 20:44:03] Production.INFO: Total Charge 0
[2025-01-09 20:44:03] Production.INFO: CreateAllLog End
[2025-01-09 20:44:03] Production.INFO: Account Balance End.
[2025-01-09 20:44:03] Production.ERROR: CronJobId end 12
[2025-01-09 20:44:03] Production.INFO: ==3319== Releasing lock...
[2025-01-09 20:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 20:44:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 20:44:03] Production.INFO: ==3313== Lock acquired, processing the job...
[2025-01-09 20:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 20:44:03] Production.INFO: ==3315== Lock acquired, processing the job...
[2025-01-09 20:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 20:44:03] Production.INFO: ==3317== Lock acquired, processing the job...
[2025-01-09 20:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 20:44:03] Production.INFO: ==3321== Lock acquired, processing the job...
[2025-01-09 20:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 20:44:03] Production.INFO: ==3323== Lock acquired, processing the job...
[2025-01-09 20:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 20:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 20:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 20:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 20:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 20:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 20:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:44:03] Production.INFO: count ==21
[2025-01-09 20:44:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:44:03] Production.INFO: count ==21
[2025-01-09 20:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212101') start
[2025-01-09 20:44:03] Production.ERROR: done
[2025-01-09 20:44:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 20:44:03] Production.INFO: ==3315== Releasing lock...
[2025-01-09 20:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 20:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 20:44:04] Production.ERROR: done
[2025-01-09 20:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212101') end
[2025-01-09 20:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 20:44:04] Production.INFO: 1
[2025-01-09 20:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 20:44:04] Production.INFO: ==3323== Releasing lock...
[2025-01-09 20:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 20:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 20:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 17:44:04
[end_date_ymd] => 2025-01-09 20:44:04
[RateCDR] => 1
)
[2025-01-09 20:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 17:44:04' and `end` < '2025-01-09 20:44:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 20:44:11] Production.ERROR: CronJobId end10
[2025-01-09 20:44:11] Production.INFO: ==3317== Releasing lock...
[2025-01-09 20:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 20:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 20:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 20:44:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 20:44:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 20:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 20:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 20:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 20:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 20:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 20:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 20:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 20:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 20:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 20:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 20:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 20:44:13] Production.INFO: call_cost start
[2025-01-09 20:44:13] Production.INFO: call_cost end
[2025-01-09 20:44:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 20:44:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 20:44:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 20:44:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 20:44:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 20:44:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 20:44:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 20:44:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 20:44:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 20:44:14] Production.INFO: ==3313== Releasing lock...
[2025-01-09 20:44:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 20:44:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 20:44:18] Production.INFO: count ==1460
[2025-01-09 20:44:18] Production.ERROR: pbx CDR StartTime 2025-01-09 17:44:04 - End Time 2025-01-09 20:44:04
[2025-01-09 20:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 20:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212102', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212102', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212102', 'tblTempVendorCDR_20' ) start
[2025-01-09 20:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212102', 'tblTempVendorCDR_20' ) end
[2025-01-09 20:44:18] Production.INFO: ProcessCDR(1,14212102,1,1,2)
[2025-01-09 20:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212102,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212102,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212102,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212102,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212102', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212102', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:44:21] Production.INFO: ==3321== Releasing lock...
[2025-01-09 20:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 20:44:21] Production.INFO: 39 MB #Memory Used#
[2025-01-10 01:45:01] Production.INFO: ==3392== Lock acquired, processing the job...
[2025-01-10 01:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 01:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 01:45:01] Production.INFO: neon service started
[2025-01-10 01:45:01] Production.INFO: neon service started
[2025-01-10 01:45:01] Production.INFO: ==3392== Releasing lock...
[2025-01-10 01:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 01:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 20:45:02] Production.INFO: ==3394== Lock acquired, processing the job...
[2025-01-09 20:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:45:02] Production.INFO: ==3394== Releasing lock...
[2025-01-09 20:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 20:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:45:02] Production.INFO: ==3396== Lock acquired, processing the job...
[2025-01-10 01:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 01:45:02] Production.INFO: ==3396== Releasing lock...
[2025-01-10 01:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 01:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 20:45:03] Production.INFO: ==3401== Lock acquired, processing the job...
[2025-01-09 20:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 20:45:03] Production.INFO: ==3399== Lock acquired, processing the job...
[2025-01-09 20:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 20:45:03] Production.INFO: ==3405== Lock acquired, processing the job...
[2025-01-09 20:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 20:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 20:45:03] Production.INFO: Account Balance Start.
[2025-01-09 20:45:03] Production.INFO: CreateAllLog Start
[2025-01-09 20:45:03] Production.INFO: 117
[2025-01-09 20:45:03] Production.INFO: ==3403== Lock acquired, processing the job...
[2025-01-09 20:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 20:45:03] Production.INFO: Date 2025-01-08
[2025-01-09 20:45:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:45:03] Production.INFO: Date 2025-01-09
[2025-01-09 20:45:03] Production.INFO: ==3407== Lock acquired, processing the job...
[2025-01-09 20:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 20:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 20:45:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 20:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 20:45:03] Production.INFO: ==3409== Lock acquired, processing the job...
[2025-01-09 20:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 20:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 20:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:45:03] Production.INFO: Total Charge 0
[2025-01-09 20:45:03] Production.INFO: CreateAllLog End
[2025-01-09 20:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:45:03] Production.INFO: count ==21
[2025-01-09 20:45:03] Production.INFO: ==3401== Releasing lock...
[2025-01-09 20:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 20:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 20:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:45:03] Production.INFO: count ==21
[2025-01-09 20:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212106') start
[2025-01-09 20:45:03] Production.ERROR: done
[2025-01-09 20:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 20:45:04] Production.INFO: Account Balance End.
[2025-01-09 20:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212106') end
[2025-01-09 20:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 20:45:04] Production.INFO: 1
[2025-01-09 20:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 20:45:04] Production.ERROR: CronJobId end 12
[2025-01-09 20:45:04] Production.INFO: ==3405== Releasing lock...
[2025-01-09 20:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 20:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 20:45:04] Production.ERROR: done
[2025-01-09 20:45:04] Production.INFO: ==3409== Releasing lock...
[2025-01-09 20:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 20:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 20:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 17:45:05
[end_date_ymd] => 2025-01-09 20:45:05
[RateCDR] => 1
)
[2025-01-09 20:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 17:45:05' and `end` < '2025-01-09 20:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 20:45:11] Production.ERROR: CronJobId end10
[2025-01-09 20:45:11] Production.INFO: ==3403== Releasing lock...
[2025-01-09 20:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 20:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 20:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 20:45:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 20:45:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 20:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 20:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 20:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 20:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 20:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 20:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 20:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 20:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 20:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 20:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 20:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 20:45:13] Production.INFO: call_cost start
[2025-01-09 20:45:13] Production.INFO: call_cost end
[2025-01-09 20:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 20:45:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 20:45:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 20:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 20:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 20:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 20:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 20:45:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 20:45:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 20:45:14] Production.INFO: ==3399== Releasing lock...
[2025-01-09 20:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 20:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 20:45:18] Production.INFO: count ==1452
[2025-01-09 20:45:18] Production.ERROR: pbx CDR StartTime 2025-01-09 17:45:05 - End Time 2025-01-09 20:45:05
[2025-01-09 20:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 20:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212107', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212107', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212107', 'tblTempVendorCDR_20' ) start
[2025-01-09 20:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212107', 'tblTempVendorCDR_20' ) end
[2025-01-09 20:45:18] Production.INFO: ProcessCDR(1,14212107,1,1,2)
[2025-01-09 20:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212107,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212107,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212107,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212107,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212107', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212107', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:45:21] Production.INFO: ==3407== Releasing lock...
[2025-01-09 20:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 20:45:21] Production.INFO: 39 MB #Memory Used#
[2025-01-10 01:46:02] Production.INFO: ==3466== Lock acquired, processing the job...
[2025-01-10 01:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 01:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 01:46:02] Production.INFO: neon service started
[2025-01-10 01:46:02] Production.INFO: neon service started
[2025-01-10 01:46:02] Production.INFO: ==3466== Releasing lock...
[2025-01-10 01:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 01:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 20:46:02] Production.INFO: ==3468== Lock acquired, processing the job...
[2025-01-09 20:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:46:03] Production.INFO: ==3468== Releasing lock...
[2025-01-09 20:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 20:46:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:46:03] Production.INFO: ==3470== Lock acquired, processing the job...
[2025-01-10 01:46:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 01:46:03] Production.INFO: ==3470== Releasing lock...
[2025-01-10 01:46:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 01:46:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 20:46:03] Production.INFO: ==3472== Lock acquired, processing the job...
[2025-01-09 20:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 20:46:03] Production.INFO: ==3476== Lock acquired, processing the job...
[2025-01-09 20:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 20:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 20:46:04] Production.INFO: ==3478== Lock acquired, processing the job...
[2025-01-09 20:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 20:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 20:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 20:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 20:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 20:46:04] Production.INFO: ==3474== Lock acquired, processing the job...
[2025-01-09 20:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 20:46:04] Production.INFO: Account Balance Start.
[2025-01-09 20:46:04] Production.INFO: CreateAllLog Start
[2025-01-09 20:46:04] Production.INFO: 117
[2025-01-09 20:46:04] Production.INFO: Date 2025-01-08
[2025-01-09 20:46:04] Production.INFO: Reseller ==> 0
[2025-01-09 20:46:04] Production.INFO: ==3480== Lock acquired, processing the job...
[2025-01-09 20:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 20:46:04] Production.INFO: Date 2025-01-09
[2025-01-09 20:46:04] Production.INFO: Reseller ==> 0
[2025-01-09 20:46:04] Production.INFO: ==3483== Lock acquired, processing the job...
[2025-01-09 20:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 20:46:04] Production.INFO: Total Charge 0
[2025-01-09 20:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:46:04] Production.INFO: CreateAllLog End
[2025-01-09 20:46:04] Production.INFO: Account Balance End.
[2025-01-09 20:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:46:04] Production.INFO: count ==21
[2025-01-09 20:46:04] Production.ERROR: CronJobId end 12
[2025-01-09 20:46:04] Production.INFO: ==3478== Releasing lock...
[2025-01-09 20:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 20:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 20:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:46:04] Production.INFO: count ==21
[2025-01-09 20:46:04] Production.INFO: ==3474== Releasing lock...
[2025-01-09 20:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 20:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 20:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212111') start
[2025-01-09 20:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212111') end
[2025-01-09 20:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 20:46:04] Production.INFO: 1
[2025-01-09 20:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 20:46:04] Production.INFO: ==3483== Releasing lock...
[2025-01-09 20:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 20:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 20:46:04] Production.ERROR: done
[2025-01-09 20:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 20:46:05] Production.ERROR: done
[2025-01-09 20:46:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 17:46:06
[end_date_ymd] => 2025-01-09 20:46:06
[RateCDR] => 1
)
[2025-01-09 20:46:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 17:46:06' and `end` < '2025-01-09 20:46:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 20:46:12] Production.ERROR: CronJobId end10
[2025-01-09 20:46:12] Production.INFO: ==3476== Releasing lock...
[2025-01-09 20:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 20:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 20:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 20:46:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 20:46:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 20:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 20:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 20:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 20:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 20:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 20:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 20:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 20:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 20:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 20:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 20:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 20:46:14] Production.INFO: call_cost start
[2025-01-09 20:46:14] Production.INFO: call_cost end
[2025-01-09 20:46:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 20:46:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 20:46:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 20:46:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 20:46:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 20:46:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 20:46:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 20:46:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 20:46:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 20:46:15] Production.INFO: ==3472== Releasing lock...
[2025-01-09 20:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 20:46:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 20:46:20] Production.INFO: count ==1442
[2025-01-09 20:46:20] Production.ERROR: pbx CDR StartTime 2025-01-09 17:46:06 - End Time 2025-01-09 20:46:06
[2025-01-09 20:46:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 20:46:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212112', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:46:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212112', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:46:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212112', 'tblTempVendorCDR_20' ) start
[2025-01-09 20:46:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212112', 'tblTempVendorCDR_20' ) end
[2025-01-09 20:46:20] Production.INFO: ProcessCDR(1,14212112,1,1,2)
[2025-01-09 20:46:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212112,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:46:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212112,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:46:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212112,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:46:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212112,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:46:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212112', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:46:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212112', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:46:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:46:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:46:24] Production.INFO: ==3480== Releasing lock...
[2025-01-09 20:46:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 20:46:24] Production.INFO: 38.5 MB #Memory Used#
[2025-01-10 01:47:01] Production.INFO: ==3547== Lock acquired, processing the job...
[2025-01-10 01:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 01:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 01:47:01] Production.INFO: neon service started
[2025-01-10 01:47:01] Production.INFO: neon service started
[2025-01-10 01:47:01] Production.INFO: ==3547== Releasing lock...
[2025-01-10 01:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 01:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 01:47:02] Production.INFO: ==3551== Lock acquired, processing the job...
[2025-01-10 01:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 20:47:02] Production.INFO: ==3549== Lock acquired, processing the job...
[2025-01-09 20:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 01:47:02] Production.INFO: ==3551== Releasing lock...
[2025-01-10 01:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 01:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 20:47:02] Production.INFO: ==3549== Releasing lock...
[2025-01-09 20:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 20:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 20:47:03] Production.INFO: ==3554== Lock acquired, processing the job...
[2025-01-09 20:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 20:47:03] Production.INFO: ==3556== Lock acquired, processing the job...
[2025-01-09 20:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 20:47:03] Production.INFO: ==3562== Lock acquired, processing the job...
[2025-01-09 20:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 20:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 20:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:47:03] Production.INFO: ==3560== Lock acquired, processing the job...
[2025-01-09 20:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 20:47:04] Production.INFO: ==3558== Lock acquired, processing the job...
[2025-01-09 20:47:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 20:47:04] Production.INFO: ==3564== Lock acquired, processing the job...
[2025-01-09 20:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 20:47:04] Production.INFO: Account Balance Start.
[2025-01-09 20:47:04] Production.INFO: CreateAllLog Start
[2025-01-09 20:47:04] Production.INFO: 117
[2025-01-09 20:47:04] Production.INFO: Date 2025-01-08
[2025-01-09 20:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 20:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 20:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 20:47:04] Production.INFO: Reseller ==> 0
[2025-01-09 20:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 20:47:04] Production.INFO: ==3556== Releasing lock...
[2025-01-09 20:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 20:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 20:47:04] Production.ERROR: done
[2025-01-09 20:47:04] Production.INFO: Date 2025-01-09
[2025-01-09 20:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 20:47:04] Production.INFO: Reseller ==> 0
[2025-01-09 20:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:47:04] Production.INFO: Total Charge 0
[2025-01-09 20:47:04] Production.INFO: CreateAllLog End
[2025-01-09 20:47:04] Production.INFO: count ==21
[2025-01-09 20:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:47:04] Production.INFO: count ==21
[2025-01-09 20:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212116') start
[2025-01-09 20:47:04] Production.ERROR: done
[2025-01-09 20:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212116') end
[2025-01-09 20:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 20:47:04] Production.INFO: 1
[2025-01-09 20:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 20:47:04] Production.INFO: Account Balance End.
[2025-01-09 20:47:04] Production.INFO: ==3564== Releasing lock...
[2025-01-09 20:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 20:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 20:47:04] Production.ERROR: CronJobId end 12
[2025-01-09 20:47:04] Production.INFO: ==3560== Releasing lock...
[2025-01-09 20:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 20:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 20:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 17:47:05
[end_date_ymd] => 2025-01-09 20:47:05
[RateCDR] => 1
)
[2025-01-09 20:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 17:47:05' and `end` < '2025-01-09 20:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 20:47:12] Production.ERROR: CronJobId end10
[2025-01-09 20:47:12] Production.INFO: ==3558== Releasing lock...
[2025-01-09 20:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 20:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 20:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 20:47:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 20:47:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 20:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 20:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 20:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 20:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 20:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 20:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 20:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 20:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 20:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 20:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 20:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 20:47:13] Production.INFO: call_cost start
[2025-01-09 20:47:13] Production.INFO: call_cost end
[2025-01-09 20:47:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 20:47:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 20:47:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 20:47:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 20:47:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 20:47:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 20:47:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 20:47:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 20:47:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 20:47:14] Production.INFO: ==3554== Releasing lock...
[2025-01-09 20:47:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 20:47:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 20:47:18] Production.INFO: count ==1425
[2025-01-09 20:47:18] Production.ERROR: pbx CDR StartTime 2025-01-09 17:47:05 - End Time 2025-01-09 20:47:05
[2025-01-09 20:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 20:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212117', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212117', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212117', 'tblTempVendorCDR_20' ) start
[2025-01-09 20:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212117', 'tblTempVendorCDR_20' ) end
[2025-01-09 20:47:18] Production.INFO: ProcessCDR(1,14212117,1,1,2)
[2025-01-09 20:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212117,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212117,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212117,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:47:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212117,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212117', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212117', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:47:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:47:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:47:22] Production.INFO: ==3562== Releasing lock...
[2025-01-09 20:47:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 20:47:22] Production.INFO: 38.75 MB #Memory Used#
[2025-01-10 01:48:01] Production.INFO: ==3625== Lock acquired, processing the job...
[2025-01-10 01:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 01:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 01:48:01] Production.INFO: neon service started
[2025-01-10 01:48:01] Production.INFO: neon service started
[2025-01-10 01:48:01] Production.INFO: ==3625== Releasing lock...
[2025-01-10 01:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 01:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 20:48:01] Production.INFO: ==3628== Lock acquired, processing the job...
[2025-01-09 20:48:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 01:48:02] Production.INFO: ==3631== Lock acquired, processing the job...
[2025-01-10 01:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 01:48:02] Production.INFO: ==3631== Releasing lock...
[2025-01-10 01:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 01:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 20:48:02] Production.INFO: ==3628== Releasing lock...
[2025-01-09 20:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 20:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 20:48:03] Production.INFO: ==3633== Lock acquired, processing the job...
[2025-01-09 20:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 20:48:03] Production.INFO: ==3639== Lock acquired, processing the job...
[2025-01-09 20:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 20:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 20:48:03] Production.INFO: Account Balance Start.
[2025-01-09 20:48:03] Production.INFO: CreateAllLog Start
[2025-01-09 20:48:03] Production.INFO: 117
[2025-01-09 20:48:03] Production.INFO: Date 2025-01-08
[2025-01-09 20:48:03] Production.INFO: ==3635== Lock acquired, processing the job...
[2025-01-09 20:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 20:48:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:48:03] Production.INFO: ==3637== Lock acquired, processing the job...
[2025-01-09 20:48:03] Production.INFO: ==3643== Lock acquired, processing the job...
[2025-01-09 20:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 20:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 20:48:03] Production.INFO: Date 2025-01-09
[2025-01-09 20:48:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:48:03] Production.INFO: ==3641== Lock acquired, processing the job...
[2025-01-09 20:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 20:48:03] Production.INFO: Total Charge 0
[2025-01-09 20:48:03] Production.INFO: CreateAllLog End
[2025-01-09 20:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 20:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 20:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 20:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 20:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:48:03] Production.INFO: count ==21
[2025-01-09 20:48:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:48:03] Production.INFO: count ==21
[2025-01-09 20:48:03] Production.INFO: Account Balance End.
[2025-01-09 20:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212121') start
[2025-01-09 20:48:03] Production.ERROR: CronJobId end 12
[2025-01-09 20:48:03] Production.INFO: ==3639== Releasing lock...
[2025-01-09 20:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 20:48:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 20:48:03] Production.INFO: ==3635== Releasing lock...
[2025-01-09 20:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 20:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 20:48:03] Production.ERROR: done
[2025-01-09 20:48:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 20:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212121') end
[2025-01-09 20:48:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 20:48:03] Production.INFO: 1
[2025-01-09 20:48:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 20:48:03] Production.INFO: ==3643== Releasing lock...
[2025-01-09 20:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 20:48:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 20:48:03] Production.ERROR: done
[2025-01-09 20:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 17:48:05
[end_date_ymd] => 2025-01-09 20:48:05
[RateCDR] => 1
)
[2025-01-09 20:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 17:48:05' and `end` < '2025-01-09 20:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 20:48:10] Production.ERROR: CronJobId end10
[2025-01-09 20:48:10] Production.INFO: ==3637== Releasing lock...
[2025-01-09 20:48:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 20:48:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 20:48:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 20:48:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 20:48:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 20:48:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 20:48:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 20:48:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 20:48:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 20:48:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 20:48:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 20:48:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 20:48:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 20:48:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 20:48:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 20:48:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 20:48:13] Production.INFO: call_cost start
[2025-01-09 20:48:13] Production.INFO: call_cost end
[2025-01-09 20:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 20:48:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 20:48:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 20:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 20:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 20:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 20:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 20:48:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 20:48:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 20:48:14] Production.INFO: ==3633== Releasing lock...
[2025-01-09 20:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 20:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 20:48:18] Production.INFO: count ==1420
[2025-01-09 20:48:18] Production.ERROR: pbx CDR StartTime 2025-01-09 17:48:05 - End Time 2025-01-09 20:48:05
[2025-01-09 20:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 20:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212122', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212122', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212122', 'tblTempVendorCDR_20' ) start
[2025-01-09 20:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212122', 'tblTempVendorCDR_20' ) end
[2025-01-09 20:48:18] Production.INFO: ProcessCDR(1,14212122,1,1,2)
[2025-01-09 20:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212122,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212122,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212122,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:48:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212122,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212122', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212122', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:48:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:48:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:48:21] Production.INFO: ==3641== Releasing lock...
[2025-01-09 20:48:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 20:48:21] Production.INFO: 38.5 MB #Memory Used#
[2025-01-10 01:49:01] Production.INFO: ==3701== Lock acquired, processing the job...
[2025-01-10 01:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 01:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 01:49:01] Production.INFO: neon service started
[2025-01-10 01:49:01] Production.INFO: neon service started
[2025-01-10 01:49:01] Production.INFO: ==3701== Releasing lock...
[2025-01-10 01:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 01:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 20:49:02] Production.INFO: ==3703== Lock acquired, processing the job...
[2025-01-09 20:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:49:02] Production.INFO: ==3703== Releasing lock...
[2025-01-09 20:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 20:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:49:02] Production.INFO: ==3705== Lock acquired, processing the job...
[2025-01-10 01:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 01:49:02] Production.INFO: ==3705== Releasing lock...
[2025-01-10 01:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 01:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 20:49:03] Production.INFO: ==3712== Lock acquired, processing the job...
[2025-01-09 20:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 20:49:03] Production.INFO: ==3714== Lock acquired, processing the job...
[2025-01-09 20:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 20:49:03] Production.INFO: ==3707== Lock acquired, processing the job...
[2025-01-09 20:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 20:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 20:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 20:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 20:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 20:49:03] Production.INFO: ==3709== Lock acquired, processing the job...
[2025-01-09 20:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 20:49:03] Production.INFO: Account Balance Start.
[2025-01-09 20:49:03] Production.INFO: CreateAllLog Start
[2025-01-09 20:49:03] Production.INFO: 117
[2025-01-09 20:49:03] Production.INFO: Date 2025-01-08
[2025-01-09 20:49:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 20:49:03] Production.INFO: ==3716== Lock acquired, processing the job...
[2025-01-09 20:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 20:49:03] Production.INFO: Date 2025-01-09
[2025-01-09 20:49:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:49:03] Production.INFO: ==3718== Lock acquired, processing the job...
[2025-01-09 20:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 20:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:49:03] Production.INFO: Total Charge 0
[2025-01-09 20:49:03] Production.INFO: CreateAllLog End
[2025-01-09 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-01-09 20:49:04] Production.INFO: count ==21
[2025-01-09 20:49:04] Production.INFO: ==3709== Releasing lock...
[2025-01-09 20:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 20:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 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-01-09 20:49:04] Production.INFO: count ==21
[2025-01-09 20:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212126') start
[2025-01-09 20:49:04] Production.INFO: Account Balance End.
[2025-01-09 20:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212126') end
[2025-01-09 20:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 20:49:04] Production.INFO: 1
[2025-01-09 20:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 20:49:04] Production.ERROR: done
[2025-01-09 20:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 20:49:04] Production.ERROR: CronJobId end 12
[2025-01-09 20:49:04] Production.INFO: ==3714== Releasing lock...
[2025-01-09 20:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 20:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 20:49:04] Production.INFO: ==3718== Releasing lock...
[2025-01-09 20:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 20:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 20:49:04] Production.ERROR: done
[2025-01-09 20:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 17:49:05
[end_date_ymd] => 2025-01-09 20:49:05
[RateCDR] => 1
)
[2025-01-09 20:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 17:49:05' and `end` < '2025-01-09 20:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 20:49:12] Production.ERROR: CronJobId end10
[2025-01-09 20:49:12] Production.INFO: ==3712== Releasing lock...
[2025-01-09 20:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 20:49:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 20:49:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 20:49:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 20:49:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 20:49:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 20:49:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 20:49:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 20:49:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 20:49:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 20:49:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 20:49:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 20:49:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 20:49:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 20:49:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 20:49:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 20:49:14] Production.INFO: call_cost start
[2025-01-09 20:49:14] Production.INFO: call_cost end
[2025-01-09 20:49:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 20:49:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 20:49:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 20:49:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 20:49:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 20:49:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 20:49:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 20:49:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 20:49:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 20:49:15] Production.INFO: ==3707== Releasing lock...
[2025-01-09 20:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 20:49:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 20:49:19] Production.INFO: count ==1413
[2025-01-09 20:49:19] Production.ERROR: pbx CDR StartTime 2025-01-09 17:49:05 - End Time 2025-01-09 20:49:05
[2025-01-09 20:49:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 20:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212127', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212127', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212127', 'tblTempVendorCDR_20' ) start
[2025-01-09 20:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212127', 'tblTempVendorCDR_20' ) end
[2025-01-09 20:49:19] Production.INFO: ProcessCDR(1,14212127,1,1,2)
[2025-01-09 20:49:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212127,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:49:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212127,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:49:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212127,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:49:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212127,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:49:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212127', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:49:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212127', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:49:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:49:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:49:24] Production.INFO: ==3716== Releasing lock...
[2025-01-09 20:49:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 20:49:24] Production.INFO: 38.5 MB #Memory Used#
[2025-01-10 01:50:01] Production.INFO: ==3774== Lock acquired, processing the job...
[2025-01-10 01:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 01:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 01:50:01] Production.INFO: neon service started
[2025-01-10 01:50:01] Production.INFO: neon service started
[2025-01-10 01:50:01] Production.INFO: ==3774== Releasing lock...
[2025-01-10 01:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 01:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 20:50:02] Production.INFO: ==3776== Lock acquired, processing the job...
[2025-01-09 20:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 01:50:02] Production.INFO: ==3778== Lock acquired, processing the job...
[2025-01-10 01:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 01:50:02] Production.INFO: ==3778== Releasing lock...
[2025-01-10 01:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 01:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 20:50:02] Production.INFO: ==3776== Releasing lock...
[2025-01-09 20:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 20:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 20:50:03] Production.INFO: ==3785== Lock acquired, processing the job...
[2025-01-09 20:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 20:50:03] Production.INFO: ==3781== Lock acquired, processing the job...
[2025-01-09 20:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 20:50:03] Production.INFO: ==3789== Lock acquired, processing the job...
[2025-01-09 20:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 20:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 20:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 20:50:03] Production.ERROR: CronJob PID - 3785
[2025-01-09 20:50:03] Production.ERROR: CronJob Title - Account Block
[2025-01-09 20:50:03] Production.ERROR: CronJob ID - 7
[2025-01-09 20:50:03] Production.ERROR: CronJob Last Run Time 2025-01-09 20:50:00
[2025-01-09 20:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 20:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 20:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 20:50:03] Production.INFO: ==3781== Releasing lock...
[2025-01-09 20:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 20:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 20:50:03] Production.INFO: ==3783== Lock acquired, processing the job...
[2025-01-09 20:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 20:50:03] Production.INFO: Account Balance Start.
[2025-01-09 20:50:03] Production.INFO: CreateAllLog Start
[2025-01-09 20:50:03] Production.INFO: 117
[2025-01-09 20:50:03] Production.INFO: Date 2025-01-08
[2025-01-09 20:50:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:50:03] Production.INFO: ==3795== Lock acquired, processing the job...
[2025-01-09 20:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 20:50:03] Production.INFO: Date 2025-01-09
[2025-01-09 20:50:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:50:03] Production.INFO: Total Charge 0
[2025-01-09 20:50:03] Production.INFO: ==3787== Lock acquired, processing the job...
[2025-01-09 20:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 20:50:03] Production.INFO: CreateAllLog End
[2025-01-09 20:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 20:50:03] Production.INFO: ==3785== Releasing lock...
[2025-01-09 20:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 20:50:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 20:50:03] Production.INFO: ==3791== Lock acquired, processing the job...
[2025-01-09 20:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 20:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 20:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 20:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 20:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 20:50:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:50:03] Production.INFO: ==3793== Lock acquired, processing the job...
[2025-01-09 20:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 20:50:03] Production.INFO: count ==21
[2025-01-09 20:50:03] Production.INFO: Account Balance End.
[2025-01-09 20:50:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:50:04] Production.INFO: count ==21
[2025-01-09 20:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212131') start
[2025-01-09 20:50:04] Production.ERROR: CronJobId end 12
[2025-01-09 20:50:04] Production.INFO: ==3789== Releasing lock...
[2025-01-09 20:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 20:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 20:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212131') end
[2025-01-09 20:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 20:50:04] Production.INFO: 1
[2025-01-09 20:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 20:50:04] Production.INFO: ==3795== Releasing lock...
[2025-01-09 20:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 20:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 20:50:04] Production.ERROR: done
[2025-01-09 20:50:04] Production.ERROR: done
[2025-01-09 20:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 20:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 20:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14212132', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 20:50:04] Production.ERROR: done
[2025-01-09 20:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 17:50:05
[end_date_ymd] => 2025-01-09 20:50:05
[RateCDR] => 1
)
[2025-01-09 20:50:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 17:50:05' and `end` < '2025-01-09 20:50:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 20:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14212132', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 20:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 20:50:08] Production.INFO: ProcessCDR(1,14212132,1,1,2)
[2025-01-09 20:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14212132,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14212132,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:50:08] Production.INFO: ==3793== Releasing lock...
[2025-01-09 20:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 20:50:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 20:50:12] Production.ERROR: CronJobId end10
[2025-01-09 20:50:12] Production.INFO: ==3787== Releasing lock...
[2025-01-09 20:50:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 20:50:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 20:50:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 20:50:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 20:50:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 20:50:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 20:50:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 20:50:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 20:50:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 20:50:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 20:50:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 20:50:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 20:50:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 20:50:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 20:50:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 20:50:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 20:50:15] Production.INFO: call_cost start
[2025-01-09 20:50:15] Production.INFO: call_cost end
[2025-01-09 20:50:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 20:50:16] Production.INFO: ============== Report Schedule START===========
[2025-01-09 20:50:16] Production.INFO: ============== Report Schedule END===========
[2025-01-09 20:50:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 20:50:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 20:50:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 20:50:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 20:50:16] Production.INFO: ============== Deal alert START===========
[2025-01-09 20:50:16] Production.INFO: ============== Deal alert END===========
[2025-01-09 20:50:16] Production.INFO: ==3783== Releasing lock...
[2025-01-09 20:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 20:50:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 20:50:19] Production.INFO: count ==1402
[2025-01-09 20:50:19] Production.ERROR: pbx CDR StartTime 2025-01-09 17:50:05 - End Time 2025-01-09 20:50:05
[2025-01-09 20:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 20:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212133', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212133', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212133', 'tblTempVendorCDR_20' ) start
[2025-01-09 20:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212133', 'tblTempVendorCDR_20' ) end
[2025-01-09 20:50:19] Production.INFO: ProcessCDR(1,14212133,1,1,2)
[2025-01-09 20:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212133,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212133,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212133,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:50:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212133,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212133', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212133', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:50:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:50:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:50:22] Production.INFO: ==3791== Releasing lock...
[2025-01-09 20:50:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 20:50:22] Production.INFO: 38.5 MB #Memory Used#
[2025-01-10 01:51:02] Production.INFO: ==3862== Lock acquired, processing the job...
[2025-01-10 01:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 01:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 01:51:02] Production.INFO: neon service started
[2025-01-10 01:51:02] Production.INFO: neon service started
[2025-01-10 01:51:02] Production.INFO: ==3862== Releasing lock...
[2025-01-10 01:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 01:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 20:51:02] Production.INFO: ==3864== Lock acquired, processing the job...
[2025-01-09 20:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:51:02] Production.INFO: ==3864== Releasing lock...
[2025-01-09 20:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 20:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:51:02] Production.INFO: ==3866== Lock acquired, processing the job...
[2025-01-10 01:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 01:51:02] Production.INFO: ==3866== Releasing lock...
[2025-01-10 01:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 01:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 20:51:03] Production.INFO: ==3877== Lock acquired, processing the job...
[2025-01-09 20:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 20:51:03] Production.INFO: ==3879== Lock acquired, processing the job...
[2025-01-09 20:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 20:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:51:03] Production.INFO: ==3869== Lock acquired, processing the job...
[2025-01-09 20:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 20:51:03] Production.INFO: ==3871== Lock acquired, processing the job...
[2025-01-09 20:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 20:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:51:03] Production.INFO: ==3873== Lock acquired, processing the job...
[2025-01-09 20:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 20:51:03] Production.INFO: count ==21
[2025-01-09 20:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:51:03] Production.ERROR: done
[2025-01-09 20:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 20:51:03] Production.INFO: ==3875== Lock acquired, processing the job...
[2025-01-09 20:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 20:51:03] Production.INFO: count ==21
[2025-01-09 20:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212134') start
[2025-01-09 20:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 20:51:04] Production.INFO: Account Balance Start.
[2025-01-09 20:51:04] Production.INFO: CreateAllLog Start
[2025-01-09 20:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212134') end
[2025-01-09 20:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 20:51:04] Production.INFO: 1
[2025-01-09 20:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 20:51:04] Production.INFO: 117
[2025-01-09 20:51:04] Production.INFO: Date 2025-01-08
[2025-01-09 20:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 20:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 20:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 20:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 20:51:04] Production.INFO: Reseller ==> 0
[2025-01-09 20:51:04] Production.INFO: Date 2025-01-09
[2025-01-09 20:51:04] Production.INFO: Reseller ==> 0
[2025-01-09 20:51:04] Production.INFO: ==3879== Releasing lock...
[2025-01-09 20:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 20:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 20:51:04] Production.INFO: Total Charge 0
[2025-01-09 20:51:04] Production.ERROR: done
[2025-01-09 20:51:04] Production.INFO: CreateAllLog End
[2025-01-09 20:51:04] Production.INFO: ==3871== Releasing lock...
[2025-01-09 20:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 20:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 20:51:04] Production.INFO: Account Balance End.
[2025-01-09 20:51:04] Production.ERROR: CronJobId end 12
[2025-01-09 20:51:04] Production.INFO: ==3875== Releasing lock...
[2025-01-09 20:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 20:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 20:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 17:51:05
[end_date_ymd] => 2025-01-09 20:51:05
[RateCDR] => 1
)
[2025-01-09 20:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 17:51:05' and `end` < '2025-01-09 20:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 20:51:11] Production.ERROR: CronJobId end10
[2025-01-09 20:51:11] Production.INFO: ==3873== Releasing lock...
[2025-01-09 20:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 20:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 20:51:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 20:51:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 20:51:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 20:51:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 20:51:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 20:51:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 20:51:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 20:51:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 20:51:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 20:51:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 20:51:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 20:51:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 20:51:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 20:51:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 20:51:13] Production.INFO: call_cost start
[2025-01-09 20:51:13] Production.INFO: call_cost end
[2025-01-09 20:51:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 20:51:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 20:51:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 20:51:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 20:51:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 20:51:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 20:51:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 20:51:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 20:51:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 20:51:13] Production.INFO: ==3869== Releasing lock...
[2025-01-09 20:51:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 20:51:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 20:51:18] Production.INFO: count ==1350
[2025-01-09 20:51:18] Production.ERROR: pbx CDR StartTime 2025-01-09 17:51:05 - End Time 2025-01-09 20:51:05
[2025-01-09 20:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 20:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212138', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212138', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212138', 'tblTempVendorCDR_20' ) start
[2025-01-09 20:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212138', 'tblTempVendorCDR_20' ) end
[2025-01-09 20:51:18] Production.INFO: ProcessCDR(1,14212138,1,1,2)
[2025-01-09 20:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212138,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212138,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212138,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:51:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212138,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212138', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212138', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:51:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:51:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:51:21] Production.INFO: ==3877== Releasing lock...
[2025-01-09 20:51:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 20:51:21] Production.INFO: 38.25 MB #Memory Used#
[2025-01-10 01:52:01] Production.INFO: ==3972== Lock acquired, processing the job...
[2025-01-10 01:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 01:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 01:52:01] Production.INFO: neon service started
[2025-01-10 01:52:01] Production.INFO: neon service started
[2025-01-10 01:52:01] Production.INFO: ==3972== Releasing lock...
[2025-01-10 01:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 01:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 20:52:01] Production.INFO: ==3975== Lock acquired, processing the job...
[2025-01-09 20:52:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:52:02] Production.INFO: ==3975== Releasing lock...
[2025-01-09 20:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 20:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:52:02] Production.INFO: ==3977== Lock acquired, processing the job...
[2025-01-10 01:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 01:52:02] Production.INFO: ==3977== Releasing lock...
[2025-01-10 01:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 01:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 20:52:03] Production.INFO: ==3987== Lock acquired, processing the job...
[2025-01-09 20:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 20:52:03] Production.INFO: ==3979== Lock acquired, processing the job...
[2025-01-09 20:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 20:52:03] Production.INFO: ==3981== Lock acquired, processing the job...
[2025-01-09 20:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 20:52:03] Production.INFO: ==3983== Lock acquired, processing the job...
[2025-01-09 20:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 20:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:52:03] Production.INFO: ==3985== Lock acquired, processing the job...
[2025-01-09 20:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 20:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 20:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 20:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 20:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 20:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 20:52:03] Production.INFO: ==3989== Lock acquired, processing the job...
[2025-01-09 20:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 20:52:03] Production.INFO: Account Balance Start.
[2025-01-09 20:52:03] Production.INFO: CreateAllLog Start
[2025-01-09 20:52:03] Production.INFO: 117
[2025-01-09 20:52:03] Production.INFO: Date 2025-01-08
[2025-01-09 20:52:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:52:03] Production.INFO: Date 2025-01-09
[2025-01-09 20:52:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:52:03] Production.INFO: Total Charge 0
[2025-01-09 20:52:03] Production.INFO: ==3981== Releasing lock...
[2025-01-09 20:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 20:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 20:52:03] Production.INFO: CreateAllLog End
[2025-01-09 20:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:52:03] Production.INFO: count ==21
[2025-01-09 20:52:03] Production.ERROR: done
[2025-01-09 20:52:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 20:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:52:03] Production.INFO: count ==21
[2025-01-09 20:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212142') start
[2025-01-09 20:52:03] Production.ERROR: done
[2025-01-09 20:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212142') end
[2025-01-09 20:52:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 20:52:03] Production.INFO: 1
[2025-01-09 20:52:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 20:52:04] Production.INFO: Account Balance End.
[2025-01-09 20:52:04] Production.INFO: ==3989== Releasing lock...
[2025-01-09 20:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 20:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 20:52:04] Production.ERROR: CronJobId end 12
[2025-01-09 20:52:04] Production.INFO: ==3985== Releasing lock...
[2025-01-09 20:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 20:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 20:52:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 17:52:04
[end_date_ymd] => 2025-01-09 20:52:04
[RateCDR] => 1
)
[2025-01-09 20:52:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 17:52:04' and `end` < '2025-01-09 20:52:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 20:52:11] Production.ERROR: CronJobId end10
[2025-01-09 20:52:11] Production.INFO: ==3983== Releasing lock...
[2025-01-09 20:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 20:52:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 20:52:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 20:52:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 20:52:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 20:52:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 20:52:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 20:52:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 20:52:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 20:52:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 20:52:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 20:52:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 20:52:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 20:52:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 20:52:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 20:52:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 20:52:13] Production.INFO: call_cost start
[2025-01-09 20:52:13] Production.INFO: call_cost end
[2025-01-09 20:52:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 20:52:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 20:52:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 20:52:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 20:52:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 20:52:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 20:52:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 20:52:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 20:52:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 20:52:14] Production.INFO: ==3979== Releasing lock...
[2025-01-09 20:52:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 20:52:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 20:52:18] Production.INFO: count ==1339
[2025-01-09 20:52:18] Production.ERROR: pbx CDR StartTime 2025-01-09 17:52:04 - End Time 2025-01-09 20:52:04
[2025-01-09 20:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 20:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212143', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212143', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212143', 'tblTempVendorCDR_20' ) start
[2025-01-09 20:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212143', 'tblTempVendorCDR_20' ) end
[2025-01-09 20:52:19] Production.INFO: ProcessCDR(1,14212143,1,1,2)
[2025-01-09 20:52:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212143,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:52:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212143,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:52:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212143,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212143,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212143', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212143', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:52:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:52:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:52:22] Production.INFO: ==3987== Releasing lock...
[2025-01-09 20:52:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 20:52:22] Production.INFO: 37.75 MB #Memory Used#
[2025-01-10 01:53:02] Production.INFO: ==4050== Lock acquired, processing the job...
[2025-01-10 01:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 01:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 01:53:02] Production.INFO: neon service started
[2025-01-10 01:53:02] Production.INFO: neon service started
[2025-01-10 01:53:02] Production.INFO: ==4050== Releasing lock...
[2025-01-10 01:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 01:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 20:53:02] Production.INFO: ==4052== Lock acquired, processing the job...
[2025-01-09 20:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:53:02] Production.INFO: ==4052== Releasing lock...
[2025-01-09 20:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 20:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:53:02] Production.INFO: ==4054== Lock acquired, processing the job...
[2025-01-10 01:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 01:53:02] Production.INFO: ==4054== Releasing lock...
[2025-01-10 01:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 01:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 20:53:03] Production.INFO: ==4064== Lock acquired, processing the job...
[2025-01-09 20:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 20:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:53:03] Production.INFO: ==4056== Lock acquired, processing the job...
[2025-01-09 20:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 20:53:03] Production.INFO: ==4058== Lock acquired, processing the job...
[2025-01-09 20:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 20:53:03] Production.INFO: ==4066== Lock acquired, processing the job...
[2025-01-09 20:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 20:53:03] Production.INFO: ==4060== Lock acquired, processing the job...
[2025-01-09 20:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 20:53:03] Production.INFO: ==4062== Lock acquired, processing the job...
[2025-01-09 20:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 20:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 20:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 20:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 20:53:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 20:53:04] Production.INFO: Account Balance Start.
[2025-01-09 20:53:04] Production.INFO: CreateAllLog Start
[2025-01-09 20:53:04] Production.INFO: 117
[2025-01-09 20:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 20:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:53:04] Production.INFO: Date 2025-01-08
[2025-01-09 20:53:04] Production.INFO: Reseller ==> 0
[2025-01-09 20:53:04] Production.INFO: count ==21
[2025-01-09 20:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:53:04] Production.INFO: count ==21
[2025-01-09 20:53:04] Production.ERROR: done
[2025-01-09 20:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 20:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212144') start
[2025-01-09 20:53:04] Production.INFO: Date 2025-01-09
[2025-01-09 20:53:04] Production.INFO: Reseller ==> 0
[2025-01-09 20:53:04] Production.ERROR: done
[2025-01-09 20:53:04] Production.INFO: Total Charge 0
[2025-01-09 20:53:04] Production.INFO: CreateAllLog End
[2025-01-09 20:53:04] Production.INFO: ==4058== Releasing lock...
[2025-01-09 20:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 20:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 20:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212144') end
[2025-01-09 20:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 20:53:04] Production.INFO: 1
[2025-01-09 20:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 20:53:04] Production.INFO: ==4066== Releasing lock...
[2025-01-09 20:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 20:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 20:53:04] Production.INFO: Account Balance End.
[2025-01-09 20:53:04] Production.ERROR: CronJobId end 12
[2025-01-09 20:53:04] Production.INFO: ==4062== Releasing lock...
[2025-01-09 20:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 20:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 20:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 17:53:05
[end_date_ymd] => 2025-01-09 20:53:05
[RateCDR] => 1
)
[2025-01-09 20:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 17:53:05' and `end` < '2025-01-09 20:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 20:53:12] Production.ERROR: CronJobId end10
[2025-01-09 20:53:12] Production.INFO: ==4060== Releasing lock...
[2025-01-09 20:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 20:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 20:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 20:53:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 20:53:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 20:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 20:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 20:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 20:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 20:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 20:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 20:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 20:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 20:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 20:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 20:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 20:53:14] Production.INFO: call_cost start
[2025-01-09 20:53:14] Production.INFO: call_cost end
[2025-01-09 20:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 20:53:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 20:53:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 20:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 20:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 20:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 20:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 20:53:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 20:53:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 20:53:14] Production.INFO: ==4056== Releasing lock...
[2025-01-09 20:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 20:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 20:53:18] Production.INFO: count ==1341
[2025-01-09 20:53:18] Production.ERROR: pbx CDR StartTime 2025-01-09 17:53:05 - End Time 2025-01-09 20:53:05
[2025-01-09 20:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 20:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212148', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212148', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212148', 'tblTempVendorCDR_20' ) start
[2025-01-09 20:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212148', 'tblTempVendorCDR_20' ) end
[2025-01-09 20:53:18] Production.INFO: ProcessCDR(1,14212148,1,1,2)
[2025-01-09 20:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212148,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:53:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212148,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:53:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212148,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:53:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212148,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212148', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212148', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:53:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:53:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:53:23] Production.INFO: ==4064== Releasing lock...
[2025-01-09 20:53:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 20:53:23] Production.INFO: 37.75 MB #Memory Used#
[2025-01-10 01:54:01] Production.INFO: ==4133== Lock acquired, processing the job...
[2025-01-10 01:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 01:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 01:54:01] Production.INFO: neon service started
[2025-01-10 01:54:01] Production.INFO: neon service started
[2025-01-10 01:54:01] Production.INFO: ==4133== Releasing lock...
[2025-01-10 01:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 01:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 20:54:02] Production.INFO: ==4135== Lock acquired, processing the job...
[2025-01-09 20:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 01:54:02] Production.INFO: ==4137== Lock acquired, processing the job...
[2025-01-10 01:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 01:54:02] Production.INFO: ==4137== Releasing lock...
[2025-01-10 01:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 01:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 20:54:02] Production.INFO: ==4135== Releasing lock...
[2025-01-09 20:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 20:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 20:54:03] Production.INFO: ==4146== Lock acquired, processing the job...
[2025-01-09 20:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 20:54:03] Production.INFO: ==4144== Lock acquired, processing the job...
[2025-01-09 20:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 20:54:03] Production.INFO: Account Balance Start.
[2025-01-09 20:54:03] Production.INFO: CreateAllLog Start
[2025-01-09 20:54:03] Production.INFO: 117
[2025-01-09 20:54:03] Production.INFO: Date 2025-01-08
[2025-01-09 20:54:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:54:03] Production.INFO: Date 2025-01-09
[2025-01-09 20:54:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:54:03] Production.INFO: Total Charge 0
[2025-01-09 20:54:03] Production.INFO: CreateAllLog End
[2025-01-09 20:54:03] Production.INFO: ==4142== Lock acquired, processing the job...
[2025-01-09 20:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 20:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 20:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 20:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 20:54:03] Production.INFO: ==4140== Lock acquired, processing the job...
[2025-01-09 20:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 20:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 20:54:03] Production.INFO: ==4148== Lock acquired, processing the job...
[2025-01-09 20:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 20:54:03] Production.INFO: ==4150== Lock acquired, processing the job...
[2025-01-09 20:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 20:54:03] Production.INFO: Account Balance End.
[2025-01-09 20:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 20:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:54:03] Production.INFO: count ==21
[2025-01-09 20:54:03] Production.ERROR: CronJobId end 12
[2025-01-09 20:54:03] Production.INFO: ==4146== Releasing lock...
[2025-01-09 20:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 20:54:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 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-01-09 20:54:04] Production.INFO: count ==21
[2025-01-09 20:54:04] Production.INFO: ==4142== Releasing lock...
[2025-01-09 20:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 20:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 20:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212152') start
[2025-01-09 20:54:04] Production.ERROR: done
[2025-01-09 20:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 20:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212152') end
[2025-01-09 20:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 20:54:04] Production.INFO: 1
[2025-01-09 20:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 20:54:04] Production.INFO: ==4150== Releasing lock...
[2025-01-09 20:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 20:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 20:54:04] Production.ERROR: done
[2025-01-09 20:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 17:54:05
[end_date_ymd] => 2025-01-09 20:54:05
[RateCDR] => 1
)
[2025-01-09 20:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 17:54:05' and `end` < '2025-01-09 20:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 20:54:11] Production.ERROR: CronJobId end10
[2025-01-09 20:54:11] Production.INFO: ==4144== Releasing lock...
[2025-01-09 20:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 20:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 20:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 20:54:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 20:54:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 20:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 20:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 20:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 20:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 20:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 20:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 20:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 20:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 20:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 20:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 20:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 20:54:14] Production.INFO: call_cost start
[2025-01-09 20:54:14] Production.INFO: call_cost end
[2025-01-09 20:54:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 20:54:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 20:54:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 20:54:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 20:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 20:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 20:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 20:54:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 20:54:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 20:54:14] Production.INFO: ==4140== Releasing lock...
[2025-01-09 20:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 20:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 20:54:18] Production.INFO: count ==1338
[2025-01-09 20:54:18] Production.ERROR: pbx CDR StartTime 2025-01-09 17:54:05 - End Time 2025-01-09 20:54:05
[2025-01-09 20:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 20:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212153', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212153', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212153', 'tblTempVendorCDR_20' ) start
[2025-01-09 20:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212153', 'tblTempVendorCDR_20' ) end
[2025-01-09 20:54:18] Production.INFO: ProcessCDR(1,14212153,1,1,2)
[2025-01-09 20:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212153,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212153,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212153,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:54:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212153,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212153', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212153', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:54:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:54:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:54:21] Production.INFO: ==4148== Releasing lock...
[2025-01-09 20:54:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 20:54:21] Production.INFO: 37.75 MB #Memory Used#
[2025-01-10 01:55:02] Production.INFO: ==4209== Lock acquired, processing the job...
[2025-01-10 01:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 01:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 01:55:02] Production.INFO: neon service started
[2025-01-10 01:55:02] Production.INFO: neon service started
[2025-01-10 01:55:02] Production.INFO: ==4209== Releasing lock...
[2025-01-10 01:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 01:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 01:55:02] Production.INFO: ==4213== Lock acquired, processing the job...
[2025-01-10 01:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 01:55:02] Production.INFO: ==4213== Releasing lock...
[2025-01-10 01:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 01:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 20:55:02] Production.INFO: ==4211== Lock acquired, processing the job...
[2025-01-09 20:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:55:02] Production.INFO: ==4211== Releasing lock...
[2025-01-09 20:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 20:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 20:55:03] Production.INFO: ==4216== Lock acquired, processing the job...
[2025-01-09 20:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 20:55:03] Production.INFO: ==4218== Lock acquired, processing the job...
[2025-01-09 20:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 20:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 20:55:03] Production.INFO: ==4224== Lock acquired, processing the job...
[2025-01-09 20:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 20:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:55:03] Production.INFO: ==4220== Lock acquired, processing the job...
[2025-01-09 20:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 20:55:03] Production.INFO: ==4222== Lock acquired, processing the job...
[2025-01-09 20:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 20:55:04] Production.INFO: ==4226== Lock acquired, processing the job...
[2025-01-09 20:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 20:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 20:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 20:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 20:55:04] Production.INFO: ==4218== Releasing lock...
[2025-01-09 20:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 20:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 20:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 20:55:04] Production.INFO: Account Balance Start.
[2025-01-09 20:55:04] Production.INFO: CreateAllLog Start
[2025-01-09 20:55:04] Production.INFO: 117
[2025-01-09 20:55:04] Production.INFO: Date 2025-01-08
[2025-01-09 20:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:55:04] Production.INFO: Reseller ==> 0
[2025-01-09 20:55:04] Production.ERROR: done
[2025-01-09 20:55:04] Production.INFO: count ==21
[2025-01-09 20:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 20:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:55:04] Production.INFO: count ==21
[2025-01-09 20:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212157') start
[2025-01-09 20:55:04] Production.ERROR: done
[2025-01-09 20:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212157') end
[2025-01-09 20:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 20:55:04] Production.INFO: 1
[2025-01-09 20:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 20:55:04] Production.INFO: Date 2025-01-09
[2025-01-09 20:55:04] Production.INFO: Reseller ==> 0
[2025-01-09 20:55:04] Production.INFO: Total Charge 0
[2025-01-09 20:55:04] Production.INFO: ==4226== Releasing lock...
[2025-01-09 20:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 20:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 20:55:04] Production.INFO: CreateAllLog End
[2025-01-09 20:55:04] Production.INFO: Account Balance End.
[2025-01-09 20:55:04] Production.ERROR: CronJobId end 12
[2025-01-09 20:55:04] Production.INFO: ==4222== Releasing lock...
[2025-01-09 20:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 20:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 20:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 17:55:05
[end_date_ymd] => 2025-01-09 20:55:05
[RateCDR] => 1
)
[2025-01-09 20:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 17:55:05' and `end` < '2025-01-09 20:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 20:55:11] Production.ERROR: CronJobId end10
[2025-01-09 20:55:11] Production.INFO: ==4220== Releasing lock...
[2025-01-09 20:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 20:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 20:55:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 20:55:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 20:55:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 20:55:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 20:55:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 20:55:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 20:55:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 20:55:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 20:55:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 20:55:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 20:55:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 20:55:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 20:55:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 20:55:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 20:55:13] Production.INFO: call_cost start
[2025-01-09 20:55:13] Production.INFO: call_cost end
[2025-01-09 20:55:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 20:55:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 20:55:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 20:55:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 20:55:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 20:55:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 20:55:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 20:55:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 20:55:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 20:55:13] Production.INFO: ==4216== Releasing lock...
[2025-01-09 20:55:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 20:55:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 20:55:18] Production.INFO: count ==1338
[2025-01-09 20:55:18] Production.ERROR: pbx CDR StartTime 2025-01-09 17:55:05 - End Time 2025-01-09 20:55:05
[2025-01-09 20:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 20:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212158', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212158', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212158', 'tblTempVendorCDR_20' ) start
[2025-01-09 20:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212158', 'tblTempVendorCDR_20' ) end
[2025-01-09 20:55:18] Production.INFO: ProcessCDR(1,14212158,1,1,2)
[2025-01-09 20:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212158,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212158,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212158,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212158,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212158', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212158', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:55:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:55:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:55:21] Production.INFO: ==4224== Releasing lock...
[2025-01-09 20:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 20:55:21] Production.INFO: 37.75 MB #Memory Used#
[2025-01-10 01:56:01] Production.INFO: ==4286== Lock acquired, processing the job...
[2025-01-10 01:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 01:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 01:56:01] Production.INFO: neon service started
[2025-01-10 01:56:01] Production.INFO: neon service started
[2025-01-10 01:56:01] Production.INFO: ==4286== Releasing lock...
[2025-01-10 01:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 01:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 01:56:01] Production.INFO: ==4290== Lock acquired, processing the job...
[2025-01-10 01:56:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 01:56:01] Production.INFO: ==4290== Releasing lock...
[2025-01-10 01:56:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 01:56:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 20:56:02] Production.INFO: ==4288== Lock acquired, processing the job...
[2025-01-09 20:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:56:02] Production.INFO: ==4288== Releasing lock...
[2025-01-09 20:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 20:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 20:56:03] Production.INFO: ==4299== Lock acquired, processing the job...
[2025-01-09 20:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 20:56:03] Production.INFO: ==4301== Lock acquired, processing the job...
[2025-01-09 20:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 20:56:03] Production.INFO: ==4293== Lock acquired, processing the job...
[2025-01-09 20:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 20:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:56:03] Production.INFO: ==4295== Lock acquired, processing the job...
[2025-01-09 20:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 20:56:03] Production.INFO: Account Balance Start.
[2025-01-09 20:56:03] Production.INFO: CreateAllLog Start
[2025-01-09 20:56:03] Production.INFO: 117
[2025-01-09 20:56:03] Production.INFO: Date 2025-01-08
[2025-01-09 20:56:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:56:03] Production.INFO: ==4297== Lock acquired, processing the job...
[2025-01-09 20:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 20:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 20:56:03] Production.INFO: ==4303== Lock acquired, processing the job...
[2025-01-09 20:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 20:56:03] Production.INFO: Date 2025-01-09
[2025-01-09 20:56:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:56:03] Production.INFO: Total Charge 0
[2025-01-09 20:56:03] Production.INFO: CreateAllLog End
[2025-01-09 20:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:56:03] Production.ERROR: done
[2025-01-09 20:56:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 20:56:03] Production.INFO: count ==21
[2025-01-09 20:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 20:56:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 20:56:03] Production.INFO: count ==21
[2025-01-09 20:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 20:56:03] Production.INFO: ==4295== Releasing lock...
[2025-01-09 20:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 20:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 20:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 20:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212162') start
[2025-01-09 20:56:03] Production.ERROR: done
[2025-01-09 20:56:03] Production.INFO: Account Balance End.
[2025-01-09 20:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212162') end
[2025-01-09 20:56:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 20:56:03] Production.INFO: 1
[2025-01-09 20:56:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 20:56:03] Production.ERROR: CronJobId end 12
[2025-01-09 20:56:03] Production.INFO: ==4299== Releasing lock...
[2025-01-09 20:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 20:56:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 20:56:03] Production.INFO: ==4303== Releasing lock...
[2025-01-09 20:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 20:56:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 20:56:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 17:56:04
[end_date_ymd] => 2025-01-09 20:56:04
[RateCDR] => 1
)
[2025-01-09 20:56:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 17:56:04' and `end` < '2025-01-09 20:56:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 20:56:12] Production.ERROR: CronJobId end10
[2025-01-09 20:56:12] Production.INFO: ==4297== Releasing lock...
[2025-01-09 20:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 20:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 20:56:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 20:56:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 20:56:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 20:56:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 20:56:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 20:56:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 20:56:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 20:56:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 20:56:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 20:56:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 20:56:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 20:56:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 20:56:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 20:56:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 20:56:13] Production.INFO: call_cost start
[2025-01-09 20:56:13] Production.INFO: call_cost end
[2025-01-09 20:56:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 20:56:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 20:56:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 20:56:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 20:56:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 20:56:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 20:56:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 20:56:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 20:56:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 20:56:14] Production.INFO: ==4293== Releasing lock...
[2025-01-09 20:56:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 20:56:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 20:56:17] Production.INFO: count ==1347
[2025-01-09 20:56:18] Production.ERROR: pbx CDR StartTime 2025-01-09 17:56:04 - End Time 2025-01-09 20:56:04
[2025-01-09 20:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 20:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212163', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212163', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212163', 'tblTempVendorCDR_20' ) start
[2025-01-09 20:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212163', 'tblTempVendorCDR_20' ) end
[2025-01-09 20:56:18] Production.INFO: ProcessCDR(1,14212163,1,1,2)
[2025-01-09 20:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212163,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212163,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212163,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212163,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212163', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212163', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:56:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:56:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:56:21] Production.INFO: ==4301== Releasing lock...
[2025-01-09 20:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 20:56:21] Production.INFO: 38 MB #Memory Used#
[2025-01-10 01:57:01] Production.INFO: ==4374== Lock acquired, processing the job...
[2025-01-10 01:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 01:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 01:57:01] Production.INFO: neon service started
[2025-01-10 01:57:01] Production.INFO: neon service started
[2025-01-10 01:57:01] Production.INFO: ==4374== Releasing lock...
[2025-01-10 01:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 01:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 20:57:02] Production.INFO: ==4376== Lock acquired, processing the job...
[2025-01-09 20:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:57:02] Production.INFO: ==4376== Releasing lock...
[2025-01-09 20:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 20:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:57:02] Production.INFO: ==4378== Lock acquired, processing the job...
[2025-01-10 01:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 01:57:02] Production.INFO: ==4378== Releasing lock...
[2025-01-10 01:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 01:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 20:57:03] Production.INFO: ==4380== Lock acquired, processing the job...
[2025-01-09 20:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 20:57:03] Production.INFO: ==4390== Lock acquired, processing the job...
[2025-01-09 20:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 20:57:03] Production.INFO: ==4382== Lock acquired, processing the job...
[2025-01-09 20:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 20:57:03] Production.INFO: ==4388== Lock acquired, processing the job...
[2025-01-09 20:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 20:57:03] Production.INFO: ==4384== Lock acquired, processing the job...
[2025-01-09 20:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 20:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 20:57:03] Production.INFO: ==4386== Lock acquired, processing the job...
[2025-01-09 20:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 20:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 20:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 20:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 20:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 20:57:03] Production.INFO: count ==21
[2025-01-09 20:57:03] Production.INFO: Account Balance Start.
[2025-01-09 20:57:03] Production.INFO: CreateAllLog Start
[2025-01-09 20:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:57:03] Production.INFO: 117
[2025-01-09 20:57:03] Production.INFO: count ==21
[2025-01-09 20:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212165') start
[2025-01-09 20:57:03] Production.INFO: Date 2025-01-08
[2025-01-09 20:57:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:57:03] Production.INFO: Date 2025-01-09
[2025-01-09 20:57:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:57:03] Production.INFO: ==4382== Releasing lock...
[2025-01-09 20:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 20:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 20:57:03] Production.ERROR: done
[2025-01-09 20:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 20:57:03] Production.INFO: Total Charge 0
[2025-01-09 20:57:03] Production.INFO: CreateAllLog End
[2025-01-09 20:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212165') end
[2025-01-09 20:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 20:57:03] Production.INFO: 1
[2025-01-09 20:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 20:57:04] Production.INFO: ==4390== Releasing lock...
[2025-01-09 20:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 20:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 20:57:04] Production.ERROR: done
[2025-01-09 20:57:04] Production.INFO: Account Balance End.
[2025-01-09 20:57:04] Production.ERROR: CronJobId end 12
[2025-01-09 20:57:04] Production.INFO: ==4386== Releasing lock...
[2025-01-09 20:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 20:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 20:57:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 17:57:04
[end_date_ymd] => 2025-01-09 20:57:04
[RateCDR] => 1
)
[2025-01-09 20:57:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 17:57:04' and `end` < '2025-01-09 20:57:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 20:57:12] Production.ERROR: CronJobId end10
[2025-01-09 20:57:12] Production.INFO: ==4384== Releasing lock...
[2025-01-09 20:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 20:57:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 20:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 20:57:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 20:57:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 20:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 20:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 20:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 20:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 20:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 20:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 20:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 20:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 20:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 20:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 20:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 20:57:13] Production.INFO: call_cost start
[2025-01-09 20:57:13] Production.INFO: call_cost end
[2025-01-09 20:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 20:57:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 20:57:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 20:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 20:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 20:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 20:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 20:57:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 20:57:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 20:57:14] Production.INFO: ==4380== Releasing lock...
[2025-01-09 20:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 20:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 20:57:18] Production.INFO: count ==1346
[2025-01-09 20:57:18] Production.ERROR: pbx CDR StartTime 2025-01-09 17:57:04 - End Time 2025-01-09 20:57:04
[2025-01-09 20:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 20:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212168', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212168', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212168', 'tblTempVendorCDR_20' ) start
[2025-01-09 20:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212168', 'tblTempVendorCDR_20' ) end
[2025-01-09 20:57:18] Production.INFO: ProcessCDR(1,14212168,1,1,2)
[2025-01-09 20:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212168,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212168,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212168,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212168,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212168', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212168', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:57:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:57:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:57:21] Production.INFO: ==4388== Releasing lock...
[2025-01-09 20:57:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 20:57:21] Production.INFO: 38 MB #Memory Used#
[2025-01-10 01:58:01] Production.INFO: ==4457== Lock acquired, processing the job...
[2025-01-10 01:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 01:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 01:58:01] Production.INFO: neon service started
[2025-01-10 01:58:01] Production.INFO: neon service started
[2025-01-10 01:58:01] Production.INFO: ==4457== Releasing lock...
[2025-01-10 01:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 01:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 20:58:01] Production.INFO: ==4460== Lock acquired, processing the job...
[2025-01-09 20:58:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:58:02] Production.INFO: ==4460== Releasing lock...
[2025-01-09 20:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 20:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:58:02] Production.INFO: ==4462== Lock acquired, processing the job...
[2025-01-10 01:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 01:58:02] Production.INFO: ==4462== Releasing lock...
[2025-01-10 01:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 01:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 20:58:02] Production.INFO: ==4464== Lock acquired, processing the job...
[2025-01-09 20:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 20:58:03] Production.INFO: ==4470== Lock acquired, processing the job...
[2025-01-09 20:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 20:58:03] Production.INFO: ==4466== Lock acquired, processing the job...
[2025-01-09 20:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 20:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 20:58:03] Production.INFO: ==4468== Lock acquired, processing the job...
[2025-01-09 20:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 20:58:03] Production.INFO: Account Balance Start.
[2025-01-09 20:58:03] Production.INFO: CreateAllLog Start
[2025-01-09 20:58:03] Production.INFO: ==4474== Lock acquired, processing the job...
[2025-01-09 20:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 20:58:03] Production.INFO: 117
[2025-01-09 20:58:03] Production.INFO: ==4472== Lock acquired, processing the job...
[2025-01-09 20:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 20:58:03] Production.INFO: Date 2025-01-08
[2025-01-09 20:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 20:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 20:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 20:58:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:58:03] Production.INFO: Date 2025-01-09
[2025-01-09 20:58:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:58:03] Production.INFO: Total Charge 0
[2025-01-09 20:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 20:58:03] Production.INFO: CreateAllLog End
[2025-01-09 20:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:58:03] Production.INFO: count ==21
[2025-01-09 20:58:03] Production.INFO: ==4466== Releasing lock...
[2025-01-09 20:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 20:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 20:58:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:58:03] Production.INFO: count ==21
[2025-01-09 20:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212172') start
[2025-01-09 20:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212172') end
[2025-01-09 20:58:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 20:58:03] Production.INFO: 1
[2025-01-09 20:58:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 20:58:03] Production.ERROR: done
[2025-01-09 20:58:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 20:58:03] Production.INFO: ==4474== Releasing lock...
[2025-01-09 20:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 20:58:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 20:58:03] Production.INFO: Account Balance End.
[2025-01-09 20:58:03] Production.ERROR: done
[2025-01-09 20:58:03] Production.ERROR: CronJobId end 12
[2025-01-09 20:58:03] Production.INFO: ==4470== Releasing lock...
[2025-01-09 20:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 20:58:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 20:58:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 17:58:04
[end_date_ymd] => 2025-01-09 20:58:04
[RateCDR] => 1
)
[2025-01-09 20:58:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 17:58:04' and `end` < '2025-01-09 20:58:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 20:58:12] Production.ERROR: CronJobId end10
[2025-01-09 20:58:12] Production.INFO: ==4468== Releasing lock...
[2025-01-09 20:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 20:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 20:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 20:58:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 20:58:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 20:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 20:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 20:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 20:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 20:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 20:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 20:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 20:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 20:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 20:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 20:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 20:58:13] Production.INFO: call_cost start
[2025-01-09 20:58:13] Production.INFO: call_cost end
[2025-01-09 20:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 20:58:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 20:58:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 20:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 20:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 20:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 20:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 20:58:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 20:58:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 20:58:14] Production.INFO: ==4464== Releasing lock...
[2025-01-09 20:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 20:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 20:58:19] Production.INFO: count ==1343
[2025-01-09 20:58:19] Production.ERROR: pbx CDR StartTime 2025-01-09 17:58:04 - End Time 2025-01-09 20:58:04
[2025-01-09 20:58:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 20:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212173', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212173', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212173', 'tblTempVendorCDR_20' ) start
[2025-01-09 20:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212173', 'tblTempVendorCDR_20' ) end
[2025-01-09 20:58:19] Production.INFO: ProcessCDR(1,14212173,1,1,2)
[2025-01-09 20:58:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212173,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:58:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212173,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:58:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212173,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:58:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212173,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212173', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212173', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:58:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:58:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:58:22] Production.INFO: ==4472== Releasing lock...
[2025-01-09 20:58:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 20:58:22] Production.INFO: 37.75 MB #Memory Used#
[2025-01-10 01:59:01] Production.INFO: ==4540== Lock acquired, processing the job...
[2025-01-10 01:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 01:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 01:59:01] Production.INFO: neon service started
[2025-01-10 01:59:01] Production.INFO: neon service started
[2025-01-10 01:59:01] Production.INFO: ==4540== Releasing lock...
[2025-01-10 01:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 01:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 01:59:02] Production.INFO: ==4544== Lock acquired, processing the job...
[2025-01-10 01:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 01:59:02] Production.INFO: ==4544== Releasing lock...
[2025-01-10 01:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 01:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 20:59:02] Production.INFO: ==4542== Lock acquired, processing the job...
[2025-01-09 20:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:59:02] Production.INFO: ==4542== Releasing lock...
[2025-01-09 20:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 20:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 20:59:03] Production.INFO: ==4547== Lock acquired, processing the job...
[2025-01-09 20:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 20:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 20:59:03] Production.INFO: ==4551== Lock acquired, processing the job...
[2025-01-09 20:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 20:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 20:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 20:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 20:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 20:59:03] Production.INFO: ==4555== Lock acquired, processing the job...
[2025-01-09 20:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 20:59:03] Production.INFO: ==4549== Lock acquired, processing the job...
[2025-01-09 20:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 20:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 20:59:03] Production.INFO: ==4553== Lock acquired, processing the job...
[2025-01-09 20:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 20:59:03] Production.INFO: ==4557== Lock acquired, processing the job...
[2025-01-09 20:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 20:59:03] Production.INFO: Account Balance Start.
[2025-01-09 20:59:03] Production.INFO: CreateAllLog Start
[2025-01-09 20:59:03] Production.INFO: 117
[2025-01-09 20:59:03] Production.INFO: Date 2025-01-08
[2025-01-09 20:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:59:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:59:03] Production.INFO: count ==21
[2025-01-09 20:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 20:59:03] Production.ERROR: done
[2025-01-09 20:59:03] Production.INFO: count ==21
[2025-01-09 20:59:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 20:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212176') start
[2025-01-09 20:59:03] Production.INFO: Date 2025-01-09
[2025-01-09 20:59:03] Production.INFO: Reseller ==> 0
[2025-01-09 20:59:03] Production.INFO: Total Charge 0
[2025-01-09 20:59:04] Production.INFO: CreateAllLog End
[2025-01-09 20:59:04] Production.INFO: ==4549== Releasing lock...
[2025-01-09 20:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 20:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 20:59:04] Production.ERROR: done
[2025-01-09 20:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212176') end
[2025-01-09 20:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 20:59:04] Production.INFO: 1
[2025-01-09 20:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 20:59:04] Production.INFO: ==4557== Releasing lock...
[2025-01-09 20:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 20:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 20:59:04] Production.INFO: Account Balance End.
[2025-01-09 20:59:04] Production.ERROR: CronJobId end 12
[2025-01-09 20:59:04] Production.INFO: ==4553== Releasing lock...
[2025-01-09 20:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 20:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 20:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 17:59:05
[end_date_ymd] => 2025-01-09 20:59:05
[RateCDR] => 1
)
[2025-01-09 20:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 17:59:05' and `end` < '2025-01-09 20:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 20:59:12] Production.ERROR: CronJobId end10
[2025-01-09 20:59:12] Production.INFO: ==4551== Releasing lock...
[2025-01-09 20:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 20:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 20:59:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 20:59:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 20:59:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 20:59:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 20:59:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 20:59:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 20:59:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 20:59:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 20:59:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 20:59:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 20:59:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 20:59:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 20:59:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 20:59:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 20:59:14] Production.INFO: call_cost start
[2025-01-09 20:59:14] Production.INFO: call_cost end
[2025-01-09 20:59:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 20:59:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 20:59:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 20:59:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 20:59:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 20:59:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 20:59:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 20:59:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 20:59:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 20:59:15] Production.INFO: ==4547== Releasing lock...
[2025-01-09 20:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 20:59:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 20:59:18] Production.INFO: count ==1328
[2025-01-09 20:59:18] Production.ERROR: pbx CDR StartTime 2025-01-09 17:59:05 - End Time 2025-01-09 20:59:05
[2025-01-09 20:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 20:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212178', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212178', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212178', 'tblTempVendorCDR_20' ) start
[2025-01-09 20:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212178', 'tblTempVendorCDR_20' ) end
[2025-01-09 20:59:18] Production.INFO: ProcessCDR(1,14212178,1,1,2)
[2025-01-09 20:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212178,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:59:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212178,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 20:59:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212178,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212178,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 20:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212178', 'tblTempUsageDetail_20' ) start
[2025-01-09 20:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212178', 'tblTempUsageDetail_20' ) end
[2025-01-09 20:59:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 20:59:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 20:59:21] Production.INFO: ==4555== Releasing lock...
[2025-01-09 20:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 20:59:21] Production.INFO: 37.75 MB #Memory Used#
[2025-01-10 02:00:02] Production.INFO: ==4634== Lock acquired, processing the job...
[2025-01-10 02:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 02:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 02:00:02] Production.INFO: neon service started
[2025-01-10 02:00:02] Production.INFO: neon service started
[2025-01-10 02:00:02] Production.INFO: ==4634== Releasing lock...
[2025-01-10 02:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 02:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 21:00:02] Production.INFO: ==4636== Lock acquired, processing the job...
[2025-01-09 21:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:00:02] Production.INFO: ==4636== Releasing lock...
[2025-01-09 21:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 21:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 02:00:03] Production.INFO: ==4638== Lock acquired, processing the job...
[2025-01-10 02:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 02:00:03] Production.INFO: ==4638== Releasing lock...
[2025-01-10 02:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 02:00:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 21:00:03] Production.INFO: ==4640== Lock acquired, processing the job...
[2025-01-09 21:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 21:00:03] Production.INFO: ==4642== Lock acquired, processing the job...
[2025-01-09 21:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 21:00:04] Production.INFO: ==4646== Lock acquired, processing the job...
[2025-01-09 21:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 21:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 21:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 21:00:04] Production.ERROR: CronJob PID - 4642
[2025-01-09 21:00:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-09 21:00:04] Production.ERROR: CronJob ID - 5
[2025-01-09 21:00:04] Production.ERROR: CronJob Last Run Time 2025-01-09 21:00:00
[2025-01-09 21:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 21:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 21:00:04] Production.INFO: ==4644== Lock acquired, processing the job...
[2025-01-09 21:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 21:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 21:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 21:00:04] Production.INFO: ==4640== Releasing lock...
[2025-01-09 21:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 21:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 21:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 21:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 21:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 21:00:04] Production.INFO: ==4652== Lock acquired, processing the job...
[2025-01-09 21:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 21:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 21:00:04] Production.INFO: ==4648== Lock acquired, processing the job...
[2025-01-09 21:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 21:00:04] Production.INFO: ==4650== Lock acquired, processing the job...
[2025-01-09 21:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 21:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:00:04] Production.INFO: Account Balance Start.
[2025-01-09 21:00:04] Production.INFO: CreateAllLog Start
[2025-01-09 21:00:04] Production.INFO: 117
[2025-01-09 21:00:04] Production.INFO: Date 2025-01-08
[2025-01-09 21:00:04] Production.INFO: ==4654== Lock acquired, processing the job...
[2025-01-09 21:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 21:00:04] Production.INFO: Reseller ==> 0
[2025-01-09 21:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:00:04] Production.INFO: Date 2025-01-09
[2025-01-09 21:00:04] Production.INFO: Reseller ==> 0
[2025-01-09 21:00:04] Production.INFO: Total Charge 0
[2025-01-09 21:00:04] Production.INFO: ==4644== Releasing lock...
[2025-01-09 21:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 21:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 21:00:04] Production.INFO: CreateAllLog End
[2025-01-09 21:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:00:04] Production.INFO: count ==21
[2025-01-09 21:00:04] Production.ERROR: done
[2025-01-09 21:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 21:00:04] Production.ERROR: done
[2025-01-09 21:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:00:04] Production.INFO: count ==21
[2025-01-09 21:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212182') start
[2025-01-09 21:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 21:00:04] Production.INFO: Account Balance End.
[2025-01-09 21:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14212183', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 21:00:04] Production.ERROR: CronJobId end 12
[2025-01-09 21:00:04] Production.INFO: ==4648== Releasing lock...
[2025-01-09 21:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 21:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 21:00:05] Production.ERROR: done
[2025-01-09 21:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14212182') end
[2025-01-09 21:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 21:00:05] Production.INFO: 1
[2025-01-09 21:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 21:00:05] Production.INFO: ==4654== Releasing lock...
[2025-01-09 21:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 21:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 21:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 18:00:06
[end_date_ymd] => 2025-01-09 21:00:06
[RateCDR] => 1
)
[2025-01-09 21:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 18:00:06' and `end` < '2025-01-09 21:00:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 21:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14212183', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 21:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 21:00:09] Production.INFO: ProcessCDR(1,14212183,1,1,2)
[2025-01-09 21:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14212183,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14212183,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:00:09] Production.INFO: ==4652== Releasing lock...
[2025-01-09 21:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 21:00:09] Production.INFO: 26 MB #Memory Used#
[2025-01-09 21:00:13] Production.ERROR: CronJobId end10
[2025-01-09 21:00:13] Production.INFO: ==4646== Releasing lock...
[2025-01-09 21:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 21:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 21:00:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 21:00:15] Production.INFO: ============== Balance Warning START===========
[2025-01-09 21:00:15] Production.INFO: ============== Balance Warning END===========
[2025-01-09 21:00:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 21:00:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 21:00:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 21:00:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 21:00:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 21:00:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 21:00:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 21:00:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 21:00:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 21:00:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 21:00:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 21:00:15] Production.INFO: call_cost start
[2025-01-09 21:00:15] Production.INFO: call_cost end
[2025-01-09 21:00:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 21:00:16] Production.INFO: ============== Report Schedule START===========
[2025-01-09 21:00:16] Production.INFO: ============== Report Schedule END===========
[2025-01-09 21:00:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 21:00:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 21:00:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 21:00:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 21:00:16] Production.INFO: ============== Deal alert START===========
[2025-01-09 21:00:16] Production.INFO: ============== Deal alert END===========
[2025-01-09 21:00:16] Production.INFO: ==4642== Releasing lock...
[2025-01-09 21:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 21:00:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 21:00:19] Production.INFO: count ==1326
[2025-01-09 21:00:19] Production.ERROR: pbx CDR StartTime 2025-01-09 18:00:06 - End Time 2025-01-09 21:00:06
[2025-01-09 21:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 21:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212184', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212184', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212184', 'tblTempVendorCDR_20' ) start
[2025-01-09 21:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212184', 'tblTempVendorCDR_20' ) end
[2025-01-09 21:00:19] Production.INFO: ProcessCDR(1,14212184,1,1,2)
[2025-01-09 21:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212184,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212184,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212184,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:00:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212184,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212184', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212184', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:00:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:00:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:00:22] Production.INFO: ==4650== Releasing lock...
[2025-01-09 21:00:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 21:00:22] Production.INFO: 37.75 MB #Memory Used#
[2025-01-10 02:01:01] Production.INFO: ==4711== Lock acquired, processing the job...
[2025-01-10 02:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 02:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 02:01:01] Production.INFO: neon service started
[2025-01-10 02:01:01] Production.INFO: neon service started
[2025-01-10 02:01:01] Production.INFO: ==4711== Releasing lock...
[2025-01-10 02:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 02:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 21:01:02] Production.INFO: ==4723== Lock acquired, processing the job...
[2025-01-09 21:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:01:02] Production.INFO: ==4723== Releasing lock...
[2025-01-09 21:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 21:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 02:01:02] Production.INFO: ==4725== Lock acquired, processing the job...
[2025-01-10 02:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 02:01:02] Production.INFO: ==4725== Releasing lock...
[2025-01-10 02:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 02:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 21:01:03] Production.INFO: ==4727== Lock acquired, processing the job...
[2025-01-09 21:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 21:01:03] Production.INFO: ==4738== Lock acquired, processing the job...
[2025-01-09 21:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 21:01:03] Production.INFO: ==4731== Lock acquired, processing the job...
[2025-01-09 21:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 21:01:03] Production.INFO: ==4729== Lock acquired, processing the job...
[2025-01-09 21:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 21:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 21:01:03] Production.INFO: ==4733== Lock acquired, processing the job...
[2025-01-09 21:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 21:01:03] Production.INFO: ==4735== Lock acquired, processing the job...
[2025-01-09 21:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 21:01:03] Production.INFO: Account Balance Start.
[2025-01-09 21:01:03] Production.INFO: CreateAllLog Start
[2025-01-09 21:01:03] Production.INFO: 117
[2025-01-09 21:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:01:03] Production.INFO: Date 2025-01-08
[2025-01-09 21:01:03] Production.INFO: Reseller ==> 0
[2025-01-09 21:01:03] Production.INFO: count ==21
[2025-01-09 21:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:01:03] Production.INFO: count ==21
[2025-01-09 21:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212186') start
[2025-01-09 21:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 21:01:03] Production.INFO: Date 2025-01-09
[2025-01-09 21:01:03] Production.INFO: Reseller ==> 0
[2025-01-09 21:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 21:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 21:01:03] Production.INFO: Total Charge 0
[2025-01-09 21:01:03] Production.INFO: CreateAllLog End
[2025-01-09 21:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 21:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212186') end
[2025-01-09 21:01:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 21:01:03] Production.INFO: 1
[2025-01-09 21:01:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 21:01:03] Production.INFO: ==4738== Releasing lock...
[2025-01-09 21:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 21:01:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 21:01:03] Production.INFO: ==4729== Releasing lock...
[2025-01-09 21:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 21:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 21:01:03] Production.INFO: Account Balance End.
[2025-01-09 21:01:03] Production.ERROR: CronJobId end 12
[2025-01-09 21:01:03] Production.INFO: ==4733== Releasing lock...
[2025-01-09 21:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 21:01:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 21:01:03] Production.ERROR: done
[2025-01-09 21:01:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 21:01:04] Production.ERROR: done
[2025-01-09 21:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 18:01:05
[end_date_ymd] => 2025-01-09 21:01:05
[RateCDR] => 1
)
[2025-01-09 21:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 18:01:05' and `end` < '2025-01-09 21:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 21:01:12] Production.ERROR: CronJobId end10
[2025-01-09 21:01:12] Production.INFO: ==4731== Releasing lock...
[2025-01-09 21:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 21:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 21:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 21:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 21:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 21:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 21:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 21:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 21:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 21:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 21:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 21:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 21:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 21:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 21:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 21:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 21:01:13] Production.INFO: call_cost start
[2025-01-09 21:01:13] Production.INFO: call_cost end
[2025-01-09 21:01:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 21:01:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 21:01:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 21:01:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 21:01:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 21:01:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 21:01:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 21:01:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 21:01:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 21:01:14] Production.INFO: ==4727== Releasing lock...
[2025-01-09 21:01:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 21:01:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 21:01:18] Production.INFO: count ==1309
[2025-01-09 21:01:18] Production.ERROR: pbx CDR StartTime 2025-01-09 18:01:05 - End Time 2025-01-09 21:01:05
[2025-01-09 21:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 21:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212189', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212189', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212189', 'tblTempVendorCDR_20' ) start
[2025-01-09 21:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212189', 'tblTempVendorCDR_20' ) end
[2025-01-09 21:01:18] Production.INFO: ProcessCDR(1,14212189,1,1,2)
[2025-01-09 21:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212189,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:01:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212189,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:01:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212189,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:01:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212189,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212189', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212189', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:01:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:01:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:01:21] Production.INFO: ==4735== Releasing lock...
[2025-01-09 21:01:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 21:01:21] Production.INFO: 37.5 MB #Memory Used#
[2025-01-10 02:02:02] Production.INFO: ==4798== Lock acquired, processing the job...
[2025-01-10 02:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 02:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 02:02:02] Production.INFO: neon service started
[2025-01-10 02:02:02] Production.INFO: neon service started
[2025-01-10 02:02:02] Production.INFO: ==4798== Releasing lock...
[2025-01-10 02:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 02:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 21:02:02] Production.INFO: ==4800== Lock acquired, processing the job...
[2025-01-09 21:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:02:02] Production.INFO: ==4800== Releasing lock...
[2025-01-09 21:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 21:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 02:02:03] Production.INFO: ==4802== Lock acquired, processing the job...
[2025-01-10 02:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 02:02:03] Production.INFO: ==4802== Releasing lock...
[2025-01-10 02:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 02:02:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 21:02:03] Production.INFO: ==4812== Lock acquired, processing the job...
[2025-01-09 21:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 21:02:03] Production.INFO: ==4814== Lock acquired, processing the job...
[2025-01-09 21:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 21:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:02:04] Production.INFO: ==4804== Lock acquired, processing the job...
[2025-01-09 21:02:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 21:02:04] Production.INFO: count ==21
[2025-01-09 21:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:02:04] Production.INFO: count ==21
[2025-01-09 21:02:04] Production.INFO: ==4806== Lock acquired, processing the job...
[2025-01-09 21:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 21:02:04] Production.INFO: ==4808== Lock acquired, processing the job...
[2025-01-09 21:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 21:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212190') start
[2025-01-09 21:02:04] Production.INFO: ==4810== Lock acquired, processing the job...
[2025-01-09 21:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 21:02:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 21:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212190') end
[2025-01-09 21:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 21:02:04] Production.INFO: 1
[2025-01-09 21:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 21:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 21:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 21:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 21:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 21:02:04] Production.INFO: ==4814== Releasing lock...
[2025-01-09 21:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 21:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 21:02:04] Production.ERROR: done
[2025-01-09 21:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 21:02:04] Production.INFO: Account Balance Start.
[2025-01-09 21:02:04] Production.INFO: CreateAllLog Start
[2025-01-09 21:02:04] Production.INFO: 117
[2025-01-09 21:02:04] Production.INFO: Date 2025-01-08
[2025-01-09 21:02:04] Production.INFO: Reseller ==> 0
[2025-01-09 21:02:04] Production.INFO: Date 2025-01-09
[2025-01-09 21:02:04] Production.INFO: Reseller ==> 0
[2025-01-09 21:02:04] Production.INFO: Total Charge 0
[2025-01-09 21:02:04] Production.ERROR: done
[2025-01-09 21:02:04] Production.INFO: CreateAllLog End
[2025-01-09 21:02:04] Production.INFO: ==4806== Releasing lock...
[2025-01-09 21:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 21:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 21:02:04] Production.INFO: Account Balance End.
[2025-01-09 21:02:04] Production.ERROR: CronJobId end 12
[2025-01-09 21:02:04] Production.INFO: ==4810== Releasing lock...
[2025-01-09 21:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 21:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 21:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 18:02:05
[end_date_ymd] => 2025-01-09 21:02:05
[RateCDR] => 1
)
[2025-01-09 21:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 18:02:05' and `end` < '2025-01-09 21:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 21:02:12] Production.ERROR: CronJobId end10
[2025-01-09 21:02:12] Production.INFO: ==4808== Releasing lock...
[2025-01-09 21:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 21:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 21:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 21:02:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 21:02:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 21:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 21:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 21:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 21:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 21:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 21:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 21:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 21:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 21:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 21:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 21:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 21:02:13] Production.INFO: call_cost start
[2025-01-09 21:02:13] Production.INFO: call_cost end
[2025-01-09 21:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 21:02:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 21:02:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 21:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 21:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 21:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 21:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 21:02:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 21:02:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 21:02:14] Production.INFO: ==4804== Releasing lock...
[2025-01-09 21:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 21:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 21:02:18] Production.INFO: count ==1312
[2025-01-09 21:02:18] Production.ERROR: pbx CDR StartTime 2025-01-09 18:02:05 - End Time 2025-01-09 21:02:05
[2025-01-09 21:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 21:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212194', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212194', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212194', 'tblTempVendorCDR_20' ) start
[2025-01-09 21:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212194', 'tblTempVendorCDR_20' ) end
[2025-01-09 21:02:18] Production.INFO: ProcessCDR(1,14212194,1,1,2)
[2025-01-09 21:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212194,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212194,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212194,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:02:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212194,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212194', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212194', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:02:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:02:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:02:21] Production.INFO: ==4812== Releasing lock...
[2025-01-09 21:02:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 21:02:21] Production.INFO: 37.75 MB #Memory Used#
[2025-01-10 02:03:01] Production.INFO: ==4871== Lock acquired, processing the job...
[2025-01-10 02:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 02:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 02:03:01] Production.INFO: neon service started
[2025-01-10 02:03:01] Production.INFO: neon service started
[2025-01-10 02:03:01] Production.INFO: ==4871== Releasing lock...
[2025-01-10 02:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 02:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 21:03:02] Production.INFO: ==4873== Lock acquired, processing the job...
[2025-01-09 21:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:03:02] Production.INFO: ==4875== Lock acquired, processing the job...
[2025-01-10 02:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 02:03:02] Production.INFO: ==4875== Releasing lock...
[2025-01-10 02:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 02:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 21:03:02] Production.INFO: ==4873== Releasing lock...
[2025-01-09 21:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 21:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 21:03:03] Production.INFO: ==4880== Lock acquired, processing the job...
[2025-01-09 21:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 21:03:03] Production.INFO: ==4888== Lock acquired, processing the job...
[2025-01-09 21:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 21:03:03] Production.INFO: ==4878== Lock acquired, processing the job...
[2025-01-09 21:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 21:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:03:03] Production.INFO: ==4886== Lock acquired, processing the job...
[2025-01-09 21:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 21:03:03] Production.INFO: count ==21
[2025-01-09 21:03:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 21:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:03:04] Production.INFO: count ==21
[2025-01-09 21:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212196') start
[2025-01-09 21:03:04] Production.INFO: ==4882== Lock acquired, processing the job...
[2025-01-09 21:03:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 21:03:04] Production.INFO: ==4884== Lock acquired, processing the job...
[2025-01-09 21:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 21:03:04] Production.INFO: ==4880== Releasing lock...
[2025-01-09 21:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 21:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 21:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212196') end
[2025-01-09 21:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 21:03:04] Production.INFO: 1
[2025-01-09 21:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 21:03:04] Production.INFO: ==4888== Releasing lock...
[2025-01-09 21:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 21:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 21:03:04] Production.INFO: Account Balance Start.
[2025-01-09 21:03:04] Production.INFO: CreateAllLog Start
[2025-01-09 21:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 21:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 21:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 21:03:04] Production.INFO: 117
[2025-01-09 21:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 21:03:04] Production.INFO: Date 2025-01-08
[2025-01-09 21:03:04] Production.INFO: Reseller ==> 0
[2025-01-09 21:03:04] Production.INFO: Date 2025-01-09
[2025-01-09 21:03:04] Production.INFO: Reseller ==> 0
[2025-01-09 21:03:04] Production.INFO: Total Charge 0
[2025-01-09 21:03:04] Production.INFO: CreateAllLog End
[2025-01-09 21:03:04] Production.ERROR: done
[2025-01-09 21:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 21:03:04] Production.ERROR: done
[2025-01-09 21:03:04] Production.INFO: Account Balance End.
[2025-01-09 21:03:04] Production.ERROR: CronJobId end 12
[2025-01-09 21:03:04] Production.INFO: ==4884== Releasing lock...
[2025-01-09 21:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 21:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 21:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 18:03:05
[end_date_ymd] => 2025-01-09 21:03:05
[RateCDR] => 1
)
[2025-01-09 21:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 18:03:05' and `end` < '2025-01-09 21:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 21:03:12] Production.ERROR: CronJobId end10
[2025-01-09 21:03:12] Production.INFO: ==4882== Releasing lock...
[2025-01-09 21:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 21:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 21:03:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 21:03:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 21:03:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 21:03:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 21:03:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 21:03:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 21:03:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 21:03:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 21:03:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 21:03:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 21:03:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 21:03:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 21:03:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 21:03:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 21:03:13] Production.INFO: call_cost start
[2025-01-09 21:03:13] Production.INFO: call_cost end
[2025-01-09 21:03:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 21:03:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 21:03:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 21:03:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 21:03:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 21:03:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 21:03:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 21:03:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 21:03:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 21:03:14] Production.INFO: ==4878== Releasing lock...
[2025-01-09 21:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 21:03:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 21:03:19] Production.INFO: count ==1308
[2025-01-09 21:03:19] Production.ERROR: pbx CDR StartTime 2025-01-09 18:03:05 - End Time 2025-01-09 21:03:05
[2025-01-09 21:03:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 21:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212199', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212199', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212199', 'tblTempVendorCDR_20' ) start
[2025-01-09 21:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212199', 'tblTempVendorCDR_20' ) end
[2025-01-09 21:03:19] Production.INFO: ProcessCDR(1,14212199,1,1,2)
[2025-01-09 21:03:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212199,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:03:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212199,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:03:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212199,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:03:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212199,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212199', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212199', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:03:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:03:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:03:22] Production.INFO: ==4886== Releasing lock...
[2025-01-09 21:03:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 21:03:22] Production.INFO: 37.5 MB #Memory Used#
[2025-01-10 02:04:02] Production.INFO: ==4951== Lock acquired, processing the job...
[2025-01-10 02:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 02:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 02:04:02] Production.INFO: neon service started
[2025-01-10 02:04:02] Production.INFO: neon service started
[2025-01-10 02:04:02] Production.INFO: ==4951== Releasing lock...
[2025-01-10 02:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 02:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 21:04:02] Production.INFO: ==4953== Lock acquired, processing the job...
[2025-01-09 21:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:04:02] Production.INFO: ==4953== Releasing lock...
[2025-01-09 21:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 21:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 02:04:03] Production.INFO: ==4955== Lock acquired, processing the job...
[2025-01-10 02:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 02:04:03] Production.INFO: ==4955== Releasing lock...
[2025-01-10 02:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 02:04:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 21:04:03] Production.INFO: ==4964== Lock acquired, processing the job...
[2025-01-09 21:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 21:04:03] Production.INFO: ==4960== Lock acquired, processing the job...
[2025-01-09 21:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 21:04:04] Production.INFO: ==4957== Lock acquired, processing the job...
[2025-01-09 21:04:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 21:04:04] Production.INFO: ==4962== Lock acquired, processing the job...
[2025-01-09 21:04:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 21:04:04] Production.INFO: Account Balance Start.
[2025-01-09 21:04:04] Production.INFO: CreateAllLog Start
[2025-01-09 21:04:04] Production.INFO: 117
[2025-01-09 21:04:04] Production.INFO: Date 2025-01-08
[2025-01-09 21:04:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 21:04:04] Production.INFO: Reseller ==> 0
[2025-01-09 21:04:04] Production.INFO: Date 2025-01-09
[2025-01-09 21:04:04] Production.INFO: Reseller ==> 0
[2025-01-09 21:04:04] Production.INFO: Total Charge 0
[2025-01-09 21:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 21:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 21:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 21:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 21:04:04] Production.INFO: ==4966== Lock acquired, processing the job...
[2025-01-09 21:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 21:04:04] Production.INFO: CreateAllLog End
[2025-01-09 21:04:04] Production.INFO: ==4968== Lock acquired, processing the job...
[2025-01-09 21:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 21:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:04:04] Production.INFO: ==4960== Releasing lock...
[2025-01-09 21:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 21:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 21:04:04] Production.INFO: Account Balance End.
[2025-01-09 21:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:04:04] Production.ERROR: CronJobId end 12
[2025-01-09 21:04:04] Production.INFO: ==4964== Releasing lock...
[2025-01-09 21:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 21:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 21:04:04] Production.INFO: count ==21
[2025-01-09 21:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:04:04] Production.INFO: count ==21
[2025-01-09 21:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212203') start
[2025-01-09 21:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212203') end
[2025-01-09 21:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 21:04:04] Production.INFO: 1
[2025-01-09 21:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 21:04:04] Production.INFO: ==4968== Releasing lock...
[2025-01-09 21:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 21:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 21:04:04] Production.ERROR: done
[2025-01-09 21:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 21:04:05] Production.ERROR: done
[2025-01-09 21:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 18:04:05
[end_date_ymd] => 2025-01-09 21:04:05
[RateCDR] => 1
)
[2025-01-09 21:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 18:04:05' and `end` < '2025-01-09 21:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 21:04:13] Production.ERROR: CronJobId end10
[2025-01-09 21:04:13] Production.INFO: ==4962== Releasing lock...
[2025-01-09 21:04:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 21:04:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 21:04:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 21:04:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 21:04:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 21:04:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 21:04:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 21:04:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 21:04:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 21:04:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 21:04:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 21:04:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 21:04:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 21:04:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 21:04:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 21:04:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 21:04:15] Production.INFO: call_cost start
[2025-01-09 21:04:15] Production.INFO: call_cost end
[2025-01-09 21:04:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 21:04:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 21:04:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 21:04:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 21:04:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 21:04:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 21:04:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 21:04:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 21:04:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 21:04:15] Production.INFO: ==4957== Releasing lock...
[2025-01-09 21:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 21:04:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 21:04:19] Production.INFO: count ==1303
[2025-01-09 21:04:19] Production.ERROR: pbx CDR StartTime 2025-01-09 18:04:05 - End Time 2025-01-09 21:04:05
[2025-01-09 21:04:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 21:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212204', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212204', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212204', 'tblTempVendorCDR_20' ) start
[2025-01-09 21:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212204', 'tblTempVendorCDR_20' ) end
[2025-01-09 21:04:19] Production.INFO: ProcessCDR(1,14212204,1,1,2)
[2025-01-09 21:04:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212204,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:04:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212204,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:04:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212204,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:04:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212204,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212204', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212204', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:04:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:04:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:04:22] Production.INFO: ==4966== Releasing lock...
[2025-01-09 21:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 21:04:22] Production.INFO: 37.5 MB #Memory Used#
[2025-01-10 02:05:01] Production.INFO: ==5028== Lock acquired, processing the job...
[2025-01-10 02:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 02:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 02:05:01] Production.INFO: neon service started
[2025-01-10 02:05:01] Production.INFO: neon service started
[2025-01-10 02:05:01] Production.INFO: ==5028== Releasing lock...
[2025-01-10 02:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 02:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 21:05:02] Production.INFO: ==5030== Lock acquired, processing the job...
[2025-01-09 21:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:05:02] Production.INFO: ==5030== Releasing lock...
[2025-01-09 21:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 21:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 02:05:02] Production.INFO: ==5033== Lock acquired, processing the job...
[2025-01-10 02:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 02:05:02] Production.INFO: ==5033== Releasing lock...
[2025-01-10 02:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 02:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 21:05:03] Production.INFO: ==5044== Lock acquired, processing the job...
[2025-01-09 21:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 21:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:05:03] Production.INFO: ==5036== Lock acquired, processing the job...
[2025-01-09 21:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 21:05:03] Production.INFO: ==5046== Lock acquired, processing the job...
[2025-01-09 21:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 21:05:03] Production.INFO: ==5038== Lock acquired, processing the job...
[2025-01-09 21:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 21:05:03] Production.INFO: ==5040== Lock acquired, processing the job...
[2025-01-09 21:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 21:05:03] Production.INFO: ==5042== Lock acquired, processing the job...
[2025-01-09 21:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 21:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 21:05:03] Production.INFO: count ==21
[2025-01-09 21:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:05:03] Production.INFO: count ==21
[2025-01-09 21:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212205') start
[2025-01-09 21:05:03] Production.ERROR: done
[2025-01-09 21:05:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 21:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 21:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 21:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 21:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 21:05:03] Production.INFO: Account Balance Start.
[2025-01-09 21:05:03] Production.INFO: CreateAllLog Start
[2025-01-09 21:05:03] Production.INFO: 117
[2025-01-09 21:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212205') end
[2025-01-09 21:05:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 21:05:03] Production.INFO: 1
[2025-01-09 21:05:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 21:05:03] Production.INFO: Date 2025-01-08
[2025-01-09 21:05:03] Production.INFO: Reseller ==> 0
[2025-01-09 21:05:03] Production.INFO: ==5046== Releasing lock...
[2025-01-09 21:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 21:05:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 21:05:03] Production.ERROR: done
[2025-01-09 21:05:03] Production.INFO: Date 2025-01-09
[2025-01-09 21:05:03] Production.INFO: Reseller ==> 0
[2025-01-09 21:05:03] Production.INFO: Total Charge 0
[2025-01-09 21:05:03] Production.INFO: ==5038== Releasing lock...
[2025-01-09 21:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 21:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 21:05:03] Production.INFO: CreateAllLog End
[2025-01-09 21:05:04] Production.INFO: Account Balance End.
[2025-01-09 21:05:04] Production.ERROR: CronJobId end 12
[2025-01-09 21:05:04] Production.INFO: ==5042== Releasing lock...
[2025-01-09 21:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 21:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 21:05:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 18:05:04
[end_date_ymd] => 2025-01-09 21:05:04
[RateCDR] => 1
)
[2025-01-09 21:05:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 18:05:04' and `end` < '2025-01-09 21:05:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 21:05:12] Production.ERROR: CronJobId end10
[2025-01-09 21:05:12] Production.INFO: ==5040== Releasing lock...
[2025-01-09 21:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 21:05:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 21:05:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 21:05:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 21:05:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 21:05:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 21:05:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 21:05:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 21:05:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 21:05:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 21:05:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 21:05:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 21:05:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 21:05:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 21:05:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 21:05:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 21:05:14] Production.INFO: call_cost start
[2025-01-09 21:05:14] Production.INFO: call_cost end
[2025-01-09 21:05:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 21:05:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 21:05:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 21:05:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 21:05:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 21:05:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 21:05:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 21:05:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 21:05:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 21:05:15] Production.INFO: ==5036== Releasing lock...
[2025-01-09 21:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 21:05:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 21:05:18] Production.INFO: count ==1303
[2025-01-09 21:05:18] Production.ERROR: pbx CDR StartTime 2025-01-09 18:05:04 - End Time 2025-01-09 21:05:04
[2025-01-09 21:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 21:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212209', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212209', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212209', 'tblTempVendorCDR_20' ) start
[2025-01-09 21:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212209', 'tblTempVendorCDR_20' ) end
[2025-01-09 21:05:18] Production.INFO: ProcessCDR(1,14212209,1,1,2)
[2025-01-09 21:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212209,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:05:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212209,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:05:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212209,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:05:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212209,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212209', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212209', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:05:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:05:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:05:22] Production.INFO: ==5044== Releasing lock...
[2025-01-09 21:05:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 21:05:22] Production.INFO: 37.5 MB #Memory Used#
[2025-01-10 02:06:02] Production.INFO: ==5106== Lock acquired, processing the job...
[2025-01-10 02:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 02:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 02:06:02] Production.INFO: neon service started
[2025-01-10 02:06:02] Production.INFO: neon service started
[2025-01-10 02:06:02] Production.INFO: ==5106== Releasing lock...
[2025-01-10 02:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 02:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 21:06:02] Production.INFO: ==5109== Lock acquired, processing the job...
[2025-01-09 21:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:06:02] Production.INFO: ==5111== Lock acquired, processing the job...
[2025-01-10 02:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 21:06:02] Production.INFO: ==5109== Releasing lock...
[2025-01-09 21:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 21:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 02:06:03] Production.INFO: ==5111== Releasing lock...
[2025-01-10 02:06:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 02:06:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 21:06:03] Production.INFO: ==5113== Lock acquired, processing the job...
[2025-01-09 21:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 21:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 21:06:04] Production.INFO: ==5123== Lock acquired, processing the job...
[2025-01-09 21:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 21:06:04] Production.INFO: ==5115== Lock acquired, processing the job...
[2025-01-09 21:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 21:06:04] Production.INFO: ==5117== Lock acquired, processing the job...
[2025-01-09 21:06:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 21:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:06:04] Production.INFO: ==5119== Lock acquired, processing the job...
[2025-01-09 21:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 21:06:04] Production.INFO: ==5121== Lock acquired, processing the job...
[2025-01-09 21:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 21:06:04] Production.INFO: count ==21
[2025-01-09 21:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:06:04] Production.INFO: count ==21
[2025-01-09 21:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212211') start
[2025-01-09 21:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 21:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 21:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 21:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 21:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:06:04] Production.INFO: Account Balance Start.
[2025-01-09 21:06:04] Production.INFO: CreateAllLog Start
[2025-01-09 21:06:04] Production.INFO: 117
[2025-01-09 21:06:04] Production.INFO: Date 2025-01-08
[2025-01-09 21:06:04] Production.INFO: Reseller ==> 0
[2025-01-09 21:06:04] Production.INFO: Date 2025-01-09
[2025-01-09 21:06:04] Production.INFO: Reseller ==> 0
[2025-01-09 21:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212211') end
[2025-01-09 21:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 21:06:04] Production.INFO: 1
[2025-01-09 21:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 21:06:04] Production.INFO: ==5123== Releasing lock...
[2025-01-09 21:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 21:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 21:06:04] Production.INFO: Total Charge 0
[2025-01-09 21:06:04] Production.INFO: ==5115== Releasing lock...
[2025-01-09 21:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 21:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 21:06:04] Production.INFO: CreateAllLog End
[2025-01-09 21:06:04] Production.ERROR: done
[2025-01-09 21:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 21:06:04] Production.INFO: Account Balance End.
[2025-01-09 21:06:04] Production.ERROR: CronJobId end 12
[2025-01-09 21:06:04] Production.INFO: ==5119== Releasing lock...
[2025-01-09 21:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 21:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 21:06:04] Production.ERROR: done
[2025-01-09 21:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 18:06:05
[end_date_ymd] => 2025-01-09 21:06:05
[RateCDR] => 1
)
[2025-01-09 21:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 18:06:05' and `end` < '2025-01-09 21:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 21:06:13] Production.ERROR: CronJobId end10
[2025-01-09 21:06:14] Production.INFO: ==5117== Releasing lock...
[2025-01-09 21:06:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 21:06:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 21:06:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 21:06:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 21:06:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 21:06:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 21:06:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 21:06:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 21:06:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 21:06:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 21:06:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 21:06:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 21:06:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 21:06:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 21:06:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 21:06:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 21:06:14] Production.INFO: call_cost start
[2025-01-09 21:06:14] Production.INFO: call_cost end
[2025-01-09 21:06:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 21:06:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 21:06:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 21:06:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 21:06:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 21:06:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 21:06:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 21:06:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 21:06:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 21:06:15] Production.INFO: ==5113== Releasing lock...
[2025-01-09 21:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 21:06:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 21:06:20] Production.INFO: count ==1305
[2025-01-09 21:06:20] Production.ERROR: pbx CDR StartTime 2025-01-09 18:06:05 - End Time 2025-01-09 21:06:05
[2025-01-09 21:06:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 21:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212214', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212214', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212214', 'tblTempVendorCDR_20' ) start
[2025-01-09 21:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212214', 'tblTempVendorCDR_20' ) end
[2025-01-09 21:06:20] Production.INFO: ProcessCDR(1,14212214,1,1,2)
[2025-01-09 21:06:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212214,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:06:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212214,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:06:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212214,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:06:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212214,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:06:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212214', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:06:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212214', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:06:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:06:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:06:25] Production.INFO: ==5121== Releasing lock...
[2025-01-09 21:06:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 21:06:25] Production.INFO: 37.5 MB #Memory Used#
[2025-01-10 02:07:01] Production.INFO: ==5187== Lock acquired, processing the job...
[2025-01-10 02:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 02:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 02:07:01] Production.INFO: neon service started
[2025-01-10 02:07:01] Production.INFO: neon service started
[2025-01-10 02:07:01] Production.INFO: ==5187== Releasing lock...
[2025-01-10 02:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 02:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:07:02] Production.INFO: ==5191== Lock acquired, processing the job...
[2025-01-10 02:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 02:07:02] Production.INFO: ==5191== Releasing lock...
[2025-01-10 02:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 02:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 21:07:02] Production.INFO: ==5189== Lock acquired, processing the job...
[2025-01-09 21:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:07:02] Production.INFO: ==5189== Releasing lock...
[2025-01-09 21:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 21:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 21:07:03] Production.INFO: ==5194== Lock acquired, processing the job...
[2025-01-09 21:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 21:07:03] Production.INFO: ==5202== Lock acquired, processing the job...
[2025-01-09 21:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 21:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 21:07:03] Production.INFO: ==5196== Lock acquired, processing the job...
[2025-01-09 21:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 21:07:03] Production.INFO: ==5198== Lock acquired, processing the job...
[2025-01-09 21:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 21:07:03] Production.INFO: ==5200== Lock acquired, processing the job...
[2025-01-09 21:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 21:07:03] Production.INFO: ==5204== Lock acquired, processing the job...
[2025-01-09 21:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 21:07:03] Production.ERROR: done
[2025-01-09 21:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 21:07:03] Production.INFO: Account Balance Start.
[2025-01-09 21:07:03] Production.INFO: CreateAllLog Start
[2025-01-09 21:07:03] Production.INFO: 117
[2025-01-09 21:07:03] Production.INFO: Date 2025-01-08
[2025-01-09 21:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 21:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 21:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 21:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 21:07:03] Production.INFO: Reseller ==> 0
[2025-01-09 21:07:03] Production.INFO: Date 2025-01-09
[2025-01-09 21:07:03] Production.INFO: Reseller ==> 0
[2025-01-09 21:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:07:03] Production.INFO: Total Charge 0
[2025-01-09 21:07:03] Production.ERROR: done
[2025-01-09 21:07:03] Production.INFO: CreateAllLog End
[2025-01-09 21:07:03] Production.INFO: count ==21
[2025-01-09 21:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:07:04] Production.INFO: count ==21
[2025-01-09 21:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212218') start
[2025-01-09 21:07:04] Production.INFO: ==5196== Releasing lock...
[2025-01-09 21:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 21:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 21:07:04] Production.INFO: Account Balance End.
[2025-01-09 21:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212218') end
[2025-01-09 21:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 21:07:04] Production.INFO: 1
[2025-01-09 21:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 21:07:04] Production.ERROR: CronJobId end 12
[2025-01-09 21:07:04] Production.INFO: ==5200== Releasing lock...
[2025-01-09 21:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 21:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 21:07:04] Production.INFO: ==5204== Releasing lock...
[2025-01-09 21:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 21:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 21:07:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 18:07:04
[end_date_ymd] => 2025-01-09 21:07:04
[RateCDR] => 1
)
[2025-01-09 21:07:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 18:07:04' and `end` < '2025-01-09 21:07:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 21:07:12] Production.ERROR: CronJobId end10
[2025-01-09 21:07:12] Production.INFO: ==5198== Releasing lock...
[2025-01-09 21:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 21:07:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 21:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 21:07:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 21:07:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 21:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 21:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 21:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 21:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 21:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 21:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 21:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 21:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 21:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 21:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 21:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 21:07:14] Production.INFO: call_cost start
[2025-01-09 21:07:14] Production.INFO: call_cost end
[2025-01-09 21:07:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 21:07:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 21:07:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 21:07:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 21:07:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 21:07:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 21:07:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 21:07:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 21:07:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 21:07:15] Production.INFO: ==5194== Releasing lock...
[2025-01-09 21:07:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 21:07:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 21:07:18] Production.INFO: count ==1299
[2025-01-09 21:07:18] Production.ERROR: pbx CDR StartTime 2025-01-09 18:07:04 - End Time 2025-01-09 21:07:04
[2025-01-09 21:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 21:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212219', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212219', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212219', 'tblTempVendorCDR_20' ) start
[2025-01-09 21:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212219', 'tblTempVendorCDR_20' ) end
[2025-01-09 21:07:18] Production.INFO: ProcessCDR(1,14212219,1,1,2)
[2025-01-09 21:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212219,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212219,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212219,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212219,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212219', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212219', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:07:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:07:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:07:21] Production.INFO: ==5202== Releasing lock...
[2025-01-09 21:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 21:07:21] Production.INFO: 37.5 MB #Memory Used#
[2025-01-10 02:08:02] Production.INFO: ==5303== Lock acquired, processing the job...
[2025-01-10 02:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 02:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 02:08:02] Production.INFO: neon service started
[2025-01-10 02:08:02] Production.INFO: neon service started
[2025-01-10 02:08:02] Production.INFO: ==5303== Releasing lock...
[2025-01-10 02:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 02:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:08:02] Production.INFO: ==5307== Lock acquired, processing the job...
[2025-01-10 02:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 02:08:02] Production.INFO: ==5307== Releasing lock...
[2025-01-10 02:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 02:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 21:08:02] Production.INFO: ==5305== Lock acquired, processing the job...
[2025-01-09 21:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:08:02] Production.INFO: ==5305== Releasing lock...
[2025-01-09 21:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 21:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 21:08:03] Production.INFO: ==5316== Lock acquired, processing the job...
[2025-01-09 21:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 21:08:03] Production.INFO: ==5309== Lock acquired, processing the job...
[2025-01-09 21:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 21:08:03] Production.INFO: ==5312== Lock acquired, processing the job...
[2025-01-09 21:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 21:08:04] Production.INFO: Account Balance Start.
[2025-01-09 21:08:04] Production.INFO: CreateAllLog Start
[2025-01-09 21:08:04] Production.INFO: 117
[2025-01-09 21:08:04] Production.INFO: ==5320== Lock acquired, processing the job...
[2025-01-09 21:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 21:08:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 21:08:04] Production.INFO: Date 2025-01-08
[2025-01-09 21:08:04] Production.INFO: Reseller ==> 0
[2025-01-09 21:08:04] Production.INFO: Date 2025-01-09
[2025-01-09 21:08:04] Production.INFO: Reseller ==> 0
[2025-01-09 21:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:08:04] Production.INFO: Total Charge 0
[2025-01-09 21:08:04] Production.INFO: ==5314== Lock acquired, processing the job...
[2025-01-09 21:08:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 21:08:04] Production.INFO: CreateAllLog End
[2025-01-09 21:08:04] Production.INFO: count ==21
[2025-01-09 21:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:08:04] Production.INFO: count ==21
[2025-01-09 21:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212222') start
[2025-01-09 21:08:04] Production.INFO: ==5318== Lock acquired, processing the job...
[2025-01-09 21:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 21:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 21:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 21:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 21:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 21:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:08:04] Production.INFO: ==5312== Releasing lock...
[2025-01-09 21:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 21:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 21:08:04] Production.INFO: Account Balance End.
[2025-01-09 21:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212222') end
[2025-01-09 21:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 21:08:04] Production.INFO: 1
[2025-01-09 21:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 21:08:04] Production.ERROR: CronJobId end 12
[2025-01-09 21:08:04] Production.INFO: ==5316== Releasing lock...
[2025-01-09 21:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 21:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 21:08:04] Production.INFO: ==5320== Releasing lock...
[2025-01-09 21:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 21:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 21:08:04] Production.ERROR: done
[2025-01-09 21:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 21:08:04] Production.ERROR: done
[2025-01-09 21:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 18:08:05
[end_date_ymd] => 2025-01-09 21:08:05
[RateCDR] => 1
)
[2025-01-09 21:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 18:08:05' and `end` < '2025-01-09 21:08:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 21:08:12] Production.ERROR: CronJobId end10
[2025-01-09 21:08:12] Production.INFO: ==5314== Releasing lock...
[2025-01-09 21:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 21:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 21:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 21:08:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 21:08:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 21:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 21:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 21:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 21:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 21:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 21:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 21:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 21:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 21:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 21:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 21:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 21:08:13] Production.INFO: call_cost start
[2025-01-09 21:08:13] Production.INFO: call_cost end
[2025-01-09 21:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 21:08:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 21:08:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 21:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 21:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 21:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 21:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 21:08:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 21:08:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 21:08:14] Production.INFO: ==5309== Releasing lock...
[2025-01-09 21:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 21:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 21:08:18] Production.INFO: count ==1291
[2025-01-09 21:08:19] Production.ERROR: pbx CDR StartTime 2025-01-09 18:08:05 - End Time 2025-01-09 21:08:05
[2025-01-09 21:08:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 21:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212224', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212224', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212224', 'tblTempVendorCDR_20' ) start
[2025-01-09 21:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212224', 'tblTempVendorCDR_20' ) end
[2025-01-09 21:08:19] Production.INFO: ProcessCDR(1,14212224,1,1,2)
[2025-01-09 21:08:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212224,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:08:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212224,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:08:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212224,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:08:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212224,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212224', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212224', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:08:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:08:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:08:22] Production.INFO: ==5318== Releasing lock...
[2025-01-09 21:08:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 21:08:22] Production.INFO: 37.5 MB #Memory Used#
[2025-01-10 02:09:01] Production.INFO: ==5378== Lock acquired, processing the job...
[2025-01-10 02:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 02:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 02:09:01] Production.INFO: neon service started
[2025-01-10 02:09:01] Production.INFO: neon service started
[2025-01-10 02:09:01] Production.INFO: ==5378== Releasing lock...
[2025-01-10 02:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 02:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 21:09:01] Production.INFO: ==5380== Lock acquired, processing the job...
[2025-01-09 21:09:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:09:02] Production.INFO: ==5382== Lock acquired, processing the job...
[2025-01-10 02:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 02:09:02] Production.INFO: ==5382== Releasing lock...
[2025-01-10 02:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 02:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 21:09:02] Production.INFO: ==5380== Releasing lock...
[2025-01-09 21:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 21:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 21:09:02] Production.INFO: ==5384== Lock acquired, processing the job...
[2025-01-09 21:09:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 21:09:02] Production.INFO: ==5389== Lock acquired, processing the job...
[2025-01-09 21:09:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 21:09:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 21:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 21:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 21:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 21:09:03] Production.INFO: ==5386== Lock acquired, processing the job...
[2025-01-09 21:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 21:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 21:09:03] Production.INFO: ==5395== Lock acquired, processing the job...
[2025-01-09 21:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 21:09:03] Production.INFO: ==5393== Lock acquired, processing the job...
[2025-01-09 21:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 21:09:03] Production.INFO: ==5391== Lock acquired, processing the job...
[2025-01-09 21:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 21:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:09:03] Production.INFO: count ==21
[2025-01-09 21:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:09:03] Production.INFO: count ==21
[2025-01-09 21:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212227') start
[2025-01-09 21:09:03] Production.INFO: ==5386== Releasing lock...
[2025-01-09 21:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 21:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 21:09:03] Production.INFO: Account Balance Start.
[2025-01-09 21:09:03] Production.INFO: CreateAllLog Start
[2025-01-09 21:09:03] Production.INFO: 117
[2025-01-09 21:09:03] Production.INFO: Date 2025-01-08
[2025-01-09 21:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212227') end
[2025-01-09 21:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 21:09:03] Production.INFO: 1
[2025-01-09 21:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 21:09:03] Production.INFO: Reseller ==> 0
[2025-01-09 21:09:03] Production.INFO: ==5395== Releasing lock...
[2025-01-09 21:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 21:09:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 21:09:03] Production.ERROR: done
[2025-01-09 21:09:03] Production.INFO: Date 2025-01-09
[2025-01-09 21:09:03] Production.INFO: Reseller ==> 0
[2025-01-09 21:09:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 21:09:03] Production.INFO: Total Charge 0
[2025-01-09 21:09:03] Production.INFO: CreateAllLog End
[2025-01-09 21:09:03] Production.ERROR: done
[2025-01-09 21:09:03] Production.INFO: Account Balance End.
[2025-01-09 21:09:04] Production.ERROR: CronJobId end 12
[2025-01-09 21:09:04] Production.INFO: ==5391== Releasing lock...
[2025-01-09 21:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 21:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 21:09:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 18:09:04
[end_date_ymd] => 2025-01-09 21:09:04
[RateCDR] => 1
)
[2025-01-09 21:09:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 18:09:04' and `end` < '2025-01-09 21:09:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 21:09:11] Production.ERROR: CronJobId end10
[2025-01-09 21:09:11] Production.INFO: ==5389== Releasing lock...
[2025-01-09 21:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 21:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 21:09:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 21:09:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 21:09:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 21:09:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 21:09:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 21:09:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 21:09:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 21:09:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 21:09:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 21:09:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 21:09:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 21:09:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 21:09:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 21:09:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 21:09:13] Production.INFO: call_cost start
[2025-01-09 21:09:13] Production.INFO: call_cost end
[2025-01-09 21:09:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 21:09:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 21:09:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 21:09:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 21:09:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 21:09:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 21:09:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 21:09:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 21:09:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 21:09:14] Production.INFO: ==5384== Releasing lock...
[2025-01-09 21:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 21:09:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 21:09:18] Production.INFO: count ==1286
[2025-01-09 21:09:18] Production.ERROR: pbx CDR StartTime 2025-01-09 18:09:04 - End Time 2025-01-09 21:09:04
[2025-01-09 21:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 21:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212229', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212229', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212229', 'tblTempVendorCDR_20' ) start
[2025-01-09 21:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212229', 'tblTempVendorCDR_20' ) end
[2025-01-09 21:09:18] Production.INFO: ProcessCDR(1,14212229,1,1,2)
[2025-01-09 21:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212229,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212229,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212229,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:09:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212229,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212229', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212229', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:09:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:09:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:09:21] Production.INFO: ==5393== Releasing lock...
[2025-01-09 21:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 21:09:21] Production.INFO: 37.5 MB #Memory Used#
[2025-01-10 02:10:01] Production.INFO: ==5454== Lock acquired, processing the job...
[2025-01-10 02:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 02:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 02:10:01] Production.INFO: neon service started
[2025-01-10 02:10:01] Production.INFO: neon service started
[2025-01-10 02:10:01] Production.INFO: ==5454== Releasing lock...
[2025-01-10 02:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 02:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 21:10:02] Production.INFO: ==5456== Lock acquired, processing the job...
[2025-01-09 21:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:10:02] Production.INFO: ==5458== Lock acquired, processing the job...
[2025-01-10 02:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 21:10:02] Production.INFO: ==5456== Releasing lock...
[2025-01-09 21:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 21:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 02:10:02] Production.INFO: ==5458== Releasing lock...
[2025-01-10 02:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 02:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 21:10:03] Production.INFO: ==5461== Lock acquired, processing the job...
[2025-01-09 21:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 21:10:03] Production.INFO: ==5463== Lock acquired, processing the job...
[2025-01-09 21:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 21:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 21:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 21:10:03] Production.ERROR: CronJob PID - 5463
[2025-01-09 21:10:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-09 21:10:03] Production.ERROR: CronJob ID - 5
[2025-01-09 21:10:03] Production.ERROR: CronJob Last Run Time 2025-01-09 21:10:00
[2025-01-09 21:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 21:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 21:10:03] Production.INFO: ==5465== Lock acquired, processing the job...
[2025-01-09 21:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 21:10:03] Production.INFO: ==5467== Lock acquired, processing the job...
[2025-01-09 21:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 21:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 21:10:03] Production.INFO: ==5461== Releasing lock...
[2025-01-09 21:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 21:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 21:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 21:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 21:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 21:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 21:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 21:10:03] Production.INFO: ==5473== Lock acquired, processing the job...
[2025-01-09 21:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 21:10:03] Production.INFO: ==5469== Lock acquired, processing the job...
[2025-01-09 21:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 21:10:03] Production.INFO: ==5475== Lock acquired, processing the job...
[2025-01-09 21:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 21:10:03] Production.INFO: ==5471== Lock acquired, processing the job...
[2025-01-09 21:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 21:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:10:04] Production.INFO: Account Balance Start.
[2025-01-09 21:10:04] Production.INFO: CreateAllLog Start
[2025-01-09 21:10:04] Production.INFO: 117
[2025-01-09 21:10:04] Production.INFO: Date 2025-01-08
[2025-01-09 21:10:04] Production.INFO: Reseller ==> 0
[2025-01-09 21:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:10:04] Production.INFO: Date 2025-01-09
[2025-01-09 21:10:04] Production.INFO: Reseller ==> 0
[2025-01-09 21:10:04] Production.INFO: ==5465== Releasing lock...
[2025-01-09 21:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 21:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 21:10:04] Production.INFO: Total Charge 0
[2025-01-09 21:10:04] Production.INFO: CreateAllLog End
[2025-01-09 21:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:10:04] Production.INFO: count ==21
[2025-01-09 21:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:10:04] Production.INFO: count ==21
[2025-01-09 21:10:04] Production.ERROR: done
[2025-01-09 21:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212233') start
[2025-01-09 21:10:04] Production.ERROR: done
[2025-01-09 21:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 21:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 21:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14212234', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 21:10:04] Production.ERROR: done
[2025-01-09 21:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212233') end
[2025-01-09 21:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 21:10:04] Production.INFO: 1
[2025-01-09 21:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 21:10:04] Production.INFO: Account Balance End.
[2025-01-09 21:10:04] Production.INFO: ==5475== Releasing lock...
[2025-01-09 21:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 21:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 21:10:04] Production.ERROR: CronJobId end 12
[2025-01-09 21:10:04] Production.INFO: ==5469== Releasing lock...
[2025-01-09 21:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 21:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 21:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 18:10:05
[end_date_ymd] => 2025-01-09 21:10:05
[RateCDR] => 1
)
[2025-01-09 21:10:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 18:10:05' and `end` < '2025-01-09 21:10:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 21:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14212234', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 21:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 21:10:08] Production.INFO: ProcessCDR(1,14212234,1,1,2)
[2025-01-09 21:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14212234,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14212234,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:10:08] Production.INFO: ==5473== Releasing lock...
[2025-01-09 21:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 21:10:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 21:10:13] Production.ERROR: CronJobId end10
[2025-01-09 21:10:13] Production.INFO: ==5467== Releasing lock...
[2025-01-09 21:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 21:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 21:10:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 21:10:15] Production.INFO: ============== Balance Warning START===========
[2025-01-09 21:10:15] Production.INFO: ============== Balance Warning END===========
[2025-01-09 21:10:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 21:10:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 21:10:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 21:10:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 21:10:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 21:10:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 21:10:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 21:10:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 21:10:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 21:10:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 21:10:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 21:10:16] Production.INFO: call_cost start
[2025-01-09 21:10:16] Production.INFO: call_cost end
[2025-01-09 21:10:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 21:10:16] Production.INFO: ============== Report Schedule START===========
[2025-01-09 21:10:16] Production.INFO: ============== Report Schedule END===========
[2025-01-09 21:10:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 21:10:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 21:10:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 21:10:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 21:10:16] Production.INFO: ============== Deal alert START===========
[2025-01-09 21:10:16] Production.INFO: ============== Deal alert END===========
[2025-01-09 21:10:16] Production.INFO: ==5463== Releasing lock...
[2025-01-09 21:10:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 21:10:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 21:10:19] Production.INFO: count ==1278
[2025-01-09 21:10:19] Production.ERROR: pbx CDR StartTime 2025-01-09 18:10:05 - End Time 2025-01-09 21:10:05
[2025-01-09 21:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 21:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212235', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212235', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212235', 'tblTempVendorCDR_20' ) start
[2025-01-09 21:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212235', 'tblTempVendorCDR_20' ) end
[2025-01-09 21:10:19] Production.INFO: ProcessCDR(1,14212235,1,1,2)
[2025-01-09 21:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212235,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212235,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212235,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212235,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212235', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212235', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:10:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:10:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:10:22] Production.INFO: ==5471== Releasing lock...
[2025-01-09 21:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 21:10:22] Production.INFO: 37.25 MB #Memory Used#
[2025-01-10 02:11:01] Production.INFO: ==5534== Lock acquired, processing the job...
[2025-01-10 02:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 02:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 02:11:01] Production.INFO: neon service started
[2025-01-10 02:11:01] Production.INFO: neon service started
[2025-01-10 02:11:01] Production.INFO: ==5534== Releasing lock...
[2025-01-10 02:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 02:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:11:01] Production.INFO: ==5538== Lock acquired, processing the job...
[2025-01-10 02:11:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 21:11:01] Production.INFO: ==5536== Lock acquired, processing the job...
[2025-01-09 21:11:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:11:02] Production.INFO: ==5538== Releasing lock...
[2025-01-10 02:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 02:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 21:11:02] Production.INFO: ==5536== Releasing lock...
[2025-01-09 21:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 21:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 21:11:02] Production.INFO: ==5543== Lock acquired, processing the job...
[2025-01-09 21:11:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 21:11:03] Production.INFO: ==5549== Lock acquired, processing the job...
[2025-01-09 21:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 21:11:03] Production.INFO: ==5541== Lock acquired, processing the job...
[2025-01-09 21:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 21:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:11:03] Production.INFO: ==5545== Lock acquired, processing the job...
[2025-01-09 21:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 21:11:03] Production.INFO: ==5547== Lock acquired, processing the job...
[2025-01-09 21:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 21:11:03] Production.INFO: ==5551== Lock acquired, processing the job...
[2025-01-09 21:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 21:11:03] Production.INFO: ==5543== Releasing lock...
[2025-01-09 21:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 21:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 21:11:03] Production.INFO: Account Balance Start.
[2025-01-09 21:11:03] Production.INFO: CreateAllLog Start
[2025-01-09 21:11:03] Production.INFO: 117
[2025-01-09 21:11:03] Production.INFO: Date 2025-01-08
[2025-01-09 21:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 21:11:03] Production.INFO: Reseller ==> 0
[2025-01-09 21:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 21:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 21:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 21:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 21:11:03] Production.INFO: count ==21
[2025-01-09 21:11:03] Production.INFO: Date 2025-01-09
[2025-01-09 21:11:03] Production.INFO: Reseller ==> 0
[2025-01-09 21:11:03] Production.ERROR: done
[2025-01-09 21:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:11:03] Production.INFO: count ==21
[2025-01-09 21:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 21:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212239') start
[2025-01-09 21:11:03] Production.INFO: Total Charge 0
[2025-01-09 21:11:03] Production.INFO: CreateAllLog End
[2025-01-09 21:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212239') end
[2025-01-09 21:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 21:11:03] Production.INFO: 1
[2025-01-09 21:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 21:11:03] Production.INFO: ==5551== Releasing lock...
[2025-01-09 21:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 21:11:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 21:11:03] Production.ERROR: done
[2025-01-09 21:11:03] Production.INFO: Account Balance End.
[2025-01-09 21:11:03] Production.ERROR: CronJobId end 12
[2025-01-09 21:11:03] Production.INFO: ==5547== Releasing lock...
[2025-01-09 21:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 21:11:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 21:11:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 18:11:04
[end_date_ymd] => 2025-01-09 21:11:04
[RateCDR] => 1
)
[2025-01-09 21:11:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 18:11:04' and `end` < '2025-01-09 21:11:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 21:11:11] Production.ERROR: CronJobId end10
[2025-01-09 21:11:11] Production.INFO: ==5545== Releasing lock...
[2025-01-09 21:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 21:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 21:11:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 21:11:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 21:11:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 21:11:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 21:11:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 21:11:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 21:11:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 21:11:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 21:11:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 21:11:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 21:11:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 21:11:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 21:11:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 21:11:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 21:11:13] Production.INFO: call_cost start
[2025-01-09 21:11:13] Production.INFO: call_cost end
[2025-01-09 21:11:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 21:11:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 21:11:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 21:11:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 21:11:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 21:11:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 21:11:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 21:11:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 21:11:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 21:11:13] Production.INFO: ==5541== Releasing lock...
[2025-01-09 21:11:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 21:11:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 21:11:17] Production.INFO: count ==1228
[2025-01-09 21:11:17] Production.ERROR: pbx CDR StartTime 2025-01-09 18:11:04 - End Time 2025-01-09 21:11:04
[2025-01-09 21:11:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 21:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212240', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212240', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212240', 'tblTempVendorCDR_20' ) start
[2025-01-09 21:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212240', 'tblTempVendorCDR_20' ) end
[2025-01-09 21:11:18] Production.INFO: ProcessCDR(1,14212240,1,1,2)
[2025-01-09 21:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212240,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:11:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212240,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:11:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212240,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:11:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212240,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212240', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212240', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:11:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:11:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:11:21] Production.INFO: ==5549== Releasing lock...
[2025-01-09 21:11:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 21:11:21] Production.INFO: 37 MB #Memory Used#
[2025-01-10 02:12:01] Production.INFO: ==5622== Lock acquired, processing the job...
[2025-01-10 02:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 02:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 02:12:01] Production.INFO: neon service started
[2025-01-10 02:12:01] Production.INFO: neon service started
[2025-01-10 02:12:01] Production.INFO: ==5622== Releasing lock...
[2025-01-10 02:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 02:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:12:02] Production.INFO: ==5626== Lock acquired, processing the job...
[2025-01-10 02:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 02:12:02] Production.INFO: ==5626== Releasing lock...
[2025-01-10 02:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 02:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 21:12:02] Production.INFO: ==5624== Lock acquired, processing the job...
[2025-01-09 21:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:12:02] Production.INFO: ==5624== Releasing lock...
[2025-01-09 21:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 21:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 21:12:03] Production.INFO: ==5628== Lock acquired, processing the job...
[2025-01-09 21:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 21:12:03] Production.INFO: ==5635== Lock acquired, processing the job...
[2025-01-09 21:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 21:12:03] Production.INFO: ==5637== Lock acquired, processing the job...
[2025-01-09 21:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 21:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 21:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:12:03] Production.INFO: ==5630== Lock acquired, processing the job...
[2025-01-09 21:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 21:12:03] Production.INFO: Account Balance Start.
[2025-01-09 21:12:03] Production.INFO: CreateAllLog Start
[2025-01-09 21:12:03] Production.INFO: 117
[2025-01-09 21:12:03] Production.INFO: ==5633== Lock acquired, processing the job...
[2025-01-09 21:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 21:12:03] Production.INFO: ==5639== Lock acquired, processing the job...
[2025-01-09 21:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 21:12:03] Production.INFO: Date 2025-01-08
[2025-01-09 21:12:03] Production.INFO: Reseller ==> 0
[2025-01-09 21:12:03] Production.INFO: Date 2025-01-09
[2025-01-09 21:12:03] Production.INFO: Reseller ==> 0
[2025-01-09 21:12:03] Production.ERROR: done
[2025-01-09 21:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 21:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 21:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 21:12:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 21:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 21:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:12:03] Production.INFO: Total Charge 0
[2025-01-09 21:12:03] Production.INFO: count ==21
[2025-01-09 21:12:03] Production.INFO: CreateAllLog End
[2025-01-09 21:12:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:12:03] Production.INFO: count ==21
[2025-01-09 21:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212244') start
[2025-01-09 21:12:03] Production.ERROR: done
[2025-01-09 21:12:03] Production.INFO: ==5630== Releasing lock...
[2025-01-09 21:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 21:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 21:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212244') end
[2025-01-09 21:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 21:12:04] Production.INFO: 1
[2025-01-09 21:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 21:12:04] Production.INFO: Account Balance End.
[2025-01-09 21:12:04] Production.INFO: ==5639== Releasing lock...
[2025-01-09 21:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 21:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 21:12:04] Production.ERROR: CronJobId end 12
[2025-01-09 21:12:04] Production.INFO: ==5635== Releasing lock...
[2025-01-09 21:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 21:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 21:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 18:12:05
[end_date_ymd] => 2025-01-09 21:12:05
[RateCDR] => 1
)
[2025-01-09 21:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 18:12:05' and `end` < '2025-01-09 21:12:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 21:12:13] Production.ERROR: CronJobId end10
[2025-01-09 21:12:13] Production.INFO: ==5633== Releasing lock...
[2025-01-09 21:12:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 21:12:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 21:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 21:12:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 21:12:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 21:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 21:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 21:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 21:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 21:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 21:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 21:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 21:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 21:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 21:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 21:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 21:12:14] Production.INFO: call_cost start
[2025-01-09 21:12:14] Production.INFO: call_cost end
[2025-01-09 21:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 21:12:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 21:12:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 21:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 21:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 21:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 21:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 21:12:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 21:12:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 21:12:14] Production.INFO: ==5628== Releasing lock...
[2025-01-09 21:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 21:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 21:12:18] Production.INFO: count ==1221
[2025-01-09 21:12:18] Production.ERROR: pbx CDR StartTime 2025-01-09 18:12:05 - End Time 2025-01-09 21:12:05
[2025-01-09 21:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 21:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212245', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212245', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212245', 'tblTempVendorCDR_20' ) start
[2025-01-09 21:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212245', 'tblTempVendorCDR_20' ) end
[2025-01-09 21:12:18] Production.INFO: ProcessCDR(1,14212245,1,1,2)
[2025-01-09 21:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212245,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212245,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212245,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212245,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212245', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212245', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:12:21] Production.INFO: ==5637== Releasing lock...
[2025-01-09 21:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 21:12:21] Production.INFO: 36.75 MB #Memory Used#
[2025-01-10 02:13:02] Production.INFO: ==5694== Lock acquired, processing the job...
[2025-01-10 02:13:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 02:13:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 02:13:02] Production.INFO: neon service started
[2025-01-10 02:13:02] Production.INFO: neon service started
[2025-01-10 02:13:02] Production.INFO: ==5694== Releasing lock...
[2025-01-10 02:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 02:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 21:13:02] Production.INFO: ==5696== Lock acquired, processing the job...
[2025-01-09 21:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:13:02] Production.INFO: ==5696== Releasing lock...
[2025-01-09 21:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 21:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 02:13:02] Production.INFO: ==5698== Lock acquired, processing the job...
[2025-01-10 02:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 02:13:02] Production.INFO: ==5698== Releasing lock...
[2025-01-10 02:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 02:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 21:13:03] Production.INFO: ==5703== Lock acquired, processing the job...
[2025-01-09 21:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 21:13:03] Production.INFO: ==5711== Lock acquired, processing the job...
[2025-01-09 21:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 21:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:13:03] Production.INFO: ==5701== Lock acquired, processing the job...
[2025-01-09 21:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 21:13:03] Production.INFO: count ==21
[2025-01-09 21:13:03] Production.INFO: ==5705== Lock acquired, processing the job...
[2025-01-09 21:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 21:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:13:03] Production.INFO: count ==21
[2025-01-09 21:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212247') start
[2025-01-09 21:13:03] Production.INFO: ==5707== Lock acquired, processing the job...
[2025-01-09 21:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 21:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 21:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 21:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 21:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 21:13:03] Production.INFO: ==5709== Lock acquired, processing the job...
[2025-01-09 21:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 21:13:03] Production.INFO: ==5703== Releasing lock...
[2025-01-09 21:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 21:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 21:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 21:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212247') end
[2025-01-09 21:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 21:13:03] Production.INFO: 1
[2025-01-09 21:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 21:13:04] Production.INFO: ==5711== Releasing lock...
[2025-01-09 21:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 21:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 21:13:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:13:04] Production.INFO: Account Balance Start.
[2025-01-09 21:13:04] Production.INFO: CreateAllLog Start
[2025-01-09 21:13:04] Production.INFO: 117
[2025-01-09 21:13:04] Production.INFO: Date 2025-01-08
[2025-01-09 21:13:04] Production.INFO: Reseller ==> 0
[2025-01-09 21:13:04] Production.ERROR: done
[2025-01-09 21:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 21:13:04] Production.INFO: Date 2025-01-09
[2025-01-09 21:13:04] Production.INFO: Reseller ==> 0
[2025-01-09 21:13:04] Production.INFO: Total Charge 0
[2025-01-09 21:13:04] Production.INFO: CreateAllLog End
[2025-01-09 21:13:04] Production.ERROR: done
[2025-01-09 21:13:04] Production.INFO: Account Balance End.
[2025-01-09 21:13:04] Production.ERROR: CronJobId end 12
[2025-01-09 21:13:04] Production.INFO: ==5707== Releasing lock...
[2025-01-09 21:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 21:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 21:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 18:13:05
[end_date_ymd] => 2025-01-09 21:13:05
[RateCDR] => 1
)
[2025-01-09 21:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 18:13:05' and `end` < '2025-01-09 21:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 21:13:11] Production.ERROR: CronJobId end10
[2025-01-09 21:13:11] Production.INFO: ==5705== Releasing lock...
[2025-01-09 21:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 21:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 21:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 21:13:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 21:13:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 21:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 21:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 21:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 21:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 21:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 21:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 21:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 21:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 21:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 21:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 21:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 21:13:13] Production.INFO: call_cost start
[2025-01-09 21:13:13] Production.INFO: call_cost end
[2025-01-09 21:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 21:13:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 21:13:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 21:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 21:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 21:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 21:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 21:13:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 21:13:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 21:13:14] Production.INFO: ==5701== Releasing lock...
[2025-01-09 21:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 21:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 21:13:19] Production.INFO: count ==1217
[2025-01-09 21:13:19] Production.ERROR: pbx CDR StartTime 2025-01-09 18:13:05 - End Time 2025-01-09 21:13:05
[2025-01-09 21:13:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 21:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212250', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212250', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212250', 'tblTempVendorCDR_20' ) start
[2025-01-09 21:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212250', 'tblTempVendorCDR_20' ) end
[2025-01-09 21:13:19] Production.INFO: ProcessCDR(1,14212250,1,1,2)
[2025-01-09 21:13:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212250,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:13:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212250,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:13:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212250,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:13:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212250,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212250', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212250', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:13:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:13:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:13:22] Production.INFO: ==5709== Releasing lock...
[2025-01-09 21:13:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 21:13:22] Production.INFO: 36.75 MB #Memory Used#
[2025-01-10 02:14:01] Production.INFO: ==5769== Lock acquired, processing the job...
[2025-01-10 02:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 02:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 02:14:01] Production.INFO: neon service started
[2025-01-10 02:14:01] Production.INFO: neon service started
[2025-01-10 02:14:01] Production.INFO: ==5769== Releasing lock...
[2025-01-10 02:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 02:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:14:02] Production.INFO: ==5773== Lock acquired, processing the job...
[2025-01-10 02:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 02:14:02] Production.INFO: ==5773== Releasing lock...
[2025-01-10 02:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 02:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 21:14:02] Production.INFO: ==5771== Lock acquired, processing the job...
[2025-01-09 21:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:14:02] Production.INFO: ==5771== Releasing lock...
[2025-01-09 21:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 21:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 21:14:03] Production.INFO: ==5783== Lock acquired, processing the job...
[2025-01-09 21:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 21:14:03] Production.INFO: ==5775== Lock acquired, processing the job...
[2025-01-09 21:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 21:14:03] Production.INFO: ==5777== Lock acquired, processing the job...
[2025-01-09 21:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 21:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:14:03] Production.INFO: ==5785== Lock acquired, processing the job...
[2025-01-09 21:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 21:14:03] Production.INFO: ==5779== Lock acquired, processing the job...
[2025-01-09 21:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 21:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 21:14:03] Production.INFO: ==5781== Lock acquired, processing the job...
[2025-01-09 21:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 21:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 21:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 21:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 21:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 21:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:14:03] Production.INFO: ==5777== Releasing lock...
[2025-01-09 21:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 21:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 21:14:03] Production.INFO: Account Balance Start.
[2025-01-09 21:14:03] Production.INFO: CreateAllLog Start
[2025-01-09 21:14:03] Production.INFO: count ==21
[2025-01-09 21:14:03] Production.INFO: 117
[2025-01-09 21:14:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:14:03] Production.INFO: count ==21
[2025-01-09 21:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212253') start
[2025-01-09 21:14:03] Production.INFO: Date 2025-01-08
[2025-01-09 21:14:03] Production.INFO: Reseller ==> 0
[2025-01-09 21:14:03] Production.INFO: Date 2025-01-09
[2025-01-09 21:14:03] Production.INFO: Reseller ==> 0
[2025-01-09 21:14:03] Production.ERROR: done
[2025-01-09 21:14:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 21:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212253') end
[2025-01-09 21:14:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 21:14:03] Production.INFO: 1
[2025-01-09 21:14:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 21:14:03] Production.INFO: Total Charge 0
[2025-01-09 21:14:03] Production.INFO: CreateAllLog End
[2025-01-09 21:14:03] Production.INFO: ==5785== Releasing lock...
[2025-01-09 21:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 21:14:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 21:14:04] Production.ERROR: done
[2025-01-09 21:14:04] Production.INFO: Account Balance End.
[2025-01-09 21:14:04] Production.ERROR: CronJobId end 12
[2025-01-09 21:14:04] Production.INFO: ==5781== Releasing lock...
[2025-01-09 21:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 21:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 21:14:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 18:14:04
[end_date_ymd] => 2025-01-09 21:14:04
[RateCDR] => 1
)
[2025-01-09 21:14:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 18:14:04' and `end` < '2025-01-09 21:14:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 21:14:11] Production.ERROR: CronJobId end10
[2025-01-09 21:14:11] Production.INFO: ==5779== Releasing lock...
[2025-01-09 21:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 21:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 21:14:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 21:14:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 21:14:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 21:14:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 21:14:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 21:14:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 21:14:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 21:14:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 21:14:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 21:14:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 21:14:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 21:14:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 21:14:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 21:14:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 21:14:12] Production.INFO: call_cost start
[2025-01-09 21:14:12] Production.INFO: call_cost end
[2025-01-09 21:14:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 21:14:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 21:14:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 21:14:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 21:14:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 21:14:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 21:14:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 21:14:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 21:14:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 21:14:13] Production.INFO: ==5775== Releasing lock...
[2025-01-09 21:14:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 21:14:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 21:14:18] Production.INFO: count ==1213
[2025-01-09 21:14:18] Production.ERROR: pbx CDR StartTime 2025-01-09 18:14:04 - End Time 2025-01-09 21:14:04
[2025-01-09 21:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 21:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212255', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212255', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212255', 'tblTempVendorCDR_20' ) start
[2025-01-09 21:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212255', 'tblTempVendorCDR_20' ) end
[2025-01-09 21:14:18] Production.INFO: ProcessCDR(1,14212255,1,1,2)
[2025-01-09 21:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212255,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212255,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212255,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212255,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212255', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212255', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:14:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:14:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:14:21] Production.INFO: ==5783== Releasing lock...
[2025-01-09 21:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 21:14:21] Production.INFO: 36.75 MB #Memory Used#
[2025-01-10 02:15:02] Production.INFO: ==5840== Lock acquired, processing the job...
[2025-01-10 02:15:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 02:15:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 02:15:02] Production.INFO: neon service started
[2025-01-10 02:15:02] Production.INFO: neon service started
[2025-01-10 02:15:02] Production.INFO: ==5840== Releasing lock...
[2025-01-10 02:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 02:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 21:15:02] Production.INFO: ==5842== Lock acquired, processing the job...
[2025-01-09 21:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:15:02] Production.INFO: ==5842== Releasing lock...
[2025-01-09 21:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 21:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 02:15:02] Production.INFO: ==5844== Lock acquired, processing the job...
[2025-01-10 02:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 02:15:02] Production.INFO: ==5844== Releasing lock...
[2025-01-10 02:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 02:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 21:15:03] Production.INFO: ==5850== Lock acquired, processing the job...
[2025-01-09 21:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 21:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 21:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 21:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 21:15:03] Production.INFO: ==5846== Lock acquired, processing the job...
[2025-01-09 21:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 21:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 21:15:03] Production.INFO: ==5854== Lock acquired, processing the job...
[2025-01-09 21:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 21:15:03] Production.INFO: ==5848== Lock acquired, processing the job...
[2025-01-09 21:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 21:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 21:15:03] Production.INFO: ==5852== Lock acquired, processing the job...
[2025-01-09 21:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 21:15:03] Production.INFO: ==5856== Lock acquired, processing the job...
[2025-01-09 21:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 21:15:03] Production.INFO: Account Balance Start.
[2025-01-09 21:15:03] Production.INFO: CreateAllLog Start
[2025-01-09 21:15:03] Production.INFO: 117
[2025-01-09 21:15:03] Production.INFO: Date 2025-01-08
[2025-01-09 21:15:03] Production.INFO: Reseller ==> 0
[2025-01-09 21:15:03] Production.INFO: Date 2025-01-09
[2025-01-09 21:15:03] Production.INFO: Reseller ==> 0
[2025-01-09 21:15:03] Production.ERROR: done
[2025-01-09 21:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 21:15:03] Production.INFO: Total Charge 0
[2025-01-09 21:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:15:03] Production.INFO: CreateAllLog End
[2025-01-09 21:15:03] Production.INFO: count ==21
[2025-01-09 21:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:15:03] Production.INFO: count ==21
[2025-01-09 21:15:03] Production.ERROR: done
[2025-01-09 21:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212259') start
[2025-01-09 21:15:04] Production.INFO: ==5848== Releasing lock...
[2025-01-09 21:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 21:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 21:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212259') end
[2025-01-09 21:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 21:15:04] Production.INFO: 1
[2025-01-09 21:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 21:15:04] Production.INFO: Account Balance End.
[2025-01-09 21:15:04] Production.INFO: ==5856== Releasing lock...
[2025-01-09 21:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 21:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 21:15:04] Production.ERROR: CronJobId end 12
[2025-01-09 21:15:04] Production.INFO: ==5852== Releasing lock...
[2025-01-09 21:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 21:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 21:15:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 18:15:04
[end_date_ymd] => 2025-01-09 21:15:04
[RateCDR] => 1
)
[2025-01-09 21:15:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 18:15:04' and `end` < '2025-01-09 21:15:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 21:15:12] Production.ERROR: CronJobId end10
[2025-01-09 21:15:12] Production.INFO: ==5850== Releasing lock...
[2025-01-09 21:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 21:15:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 21:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 21:15:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 21:15:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 21:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 21:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 21:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 21:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 21:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 21:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 21:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 21:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 21:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 21:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 21:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 21:15:13] Production.INFO: call_cost start
[2025-01-09 21:15:13] Production.INFO: call_cost end
[2025-01-09 21:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 21:15:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 21:15:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 21:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 21:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 21:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 21:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 21:15:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 21:15:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 21:15:14] Production.INFO: ==5846== Releasing lock...
[2025-01-09 21:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 21:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 21:15:17] Production.INFO: count ==1214
[2025-01-09 21:15:18] Production.ERROR: pbx CDR StartTime 2025-01-09 18:15:04 - End Time 2025-01-09 21:15:04
[2025-01-09 21:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 21:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212260', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212260', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212260', 'tblTempVendorCDR_20' ) start
[2025-01-09 21:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212260', 'tblTempVendorCDR_20' ) end
[2025-01-09 21:15:18] Production.INFO: ProcessCDR(1,14212260,1,1,2)
[2025-01-09 21:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212260,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212260,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212260,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212260,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212260', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212260', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:15:21] Production.INFO: ==5854== Releasing lock...
[2025-01-09 21:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 21:15:21] Production.INFO: 36.75 MB #Memory Used#
[2025-01-10 02:16:01] Production.INFO: ==5912== Lock acquired, processing the job...
[2025-01-10 02:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 02:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 02:16:01] Production.INFO: neon service started
[2025-01-10 02:16:01] Production.INFO: neon service started
[2025-01-10 02:16:01] Production.INFO: ==5912== Releasing lock...
[2025-01-10 02:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 02:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 21:16:01] Production.INFO: ==5914== Lock acquired, processing the job...
[2025-01-09 21:16:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:16:02] Production.INFO: ==5914== Releasing lock...
[2025-01-09 21:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 21:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 02:16:02] Production.INFO: ==5916== Lock acquired, processing the job...
[2025-01-10 02:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 02:16:02] Production.INFO: ==5916== Releasing lock...
[2025-01-10 02:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 02:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 21:16:03] Production.INFO: ==5920== Lock acquired, processing the job...
[2025-01-09 21:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 21:16:03] Production.INFO: ==5918== Lock acquired, processing the job...
[2025-01-09 21:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 21:16:03] Production.INFO: ==5922== Lock acquired, processing the job...
[2025-01-09 21:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 21:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 21:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 21:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 21:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 21:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 21:16:03] Production.INFO: ==5924== Lock acquired, processing the job...
[2025-01-09 21:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 21:16:03] Production.INFO: ==5926== Lock acquired, processing the job...
[2025-01-09 21:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 21:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:16:03] Production.INFO: Account Balance Start.
[2025-01-09 21:16:03] Production.INFO: CreateAllLog Start
[2025-01-09 21:16:03] Production.INFO: 117
[2025-01-09 21:16:03] Production.INFO: Date 2025-01-08
[2025-01-09 21:16:03] Production.INFO: Reseller ==> 0
[2025-01-09 21:16:03] Production.INFO: ==5928== Lock acquired, processing the job...
[2025-01-09 21:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 21:16:03] Production.INFO: Date 2025-01-09
[2025-01-09 21:16:03] Production.INFO: Reseller ==> 0
[2025-01-09 21:16:03] Production.INFO: Total Charge 0
[2025-01-09 21:16:03] Production.INFO: CreateAllLog End
[2025-01-09 21:16:03] Production.INFO: ==5920== Releasing lock...
[2025-01-09 21:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 21:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 21:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:16:03] Production.ERROR: done
[2025-01-09 21:16:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 21:16:03] Production.INFO: count ==21
[2025-01-09 21:16:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:16:03] Production.INFO: count ==21
[2025-01-09 21:16:03] Production.ERROR: done
[2025-01-09 21:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212264') start
[2025-01-09 21:16:03] Production.INFO: Account Balance End.
[2025-01-09 21:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212264') end
[2025-01-09 21:16:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 21:16:03] Production.INFO: 1
[2025-01-09 21:16:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 21:16:03] Production.ERROR: CronJobId end 12
[2025-01-09 21:16:03] Production.INFO: ==5924== Releasing lock...
[2025-01-09 21:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 21:16:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 21:16:03] Production.INFO: ==5928== Releasing lock...
[2025-01-09 21:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 21:16:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 21:16:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 18:16:04
[end_date_ymd] => 2025-01-09 21:16:04
[RateCDR] => 1
)
[2025-01-09 21:16:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 18:16:04' and `end` < '2025-01-09 21:16:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 21:16:11] Production.ERROR: CronJobId end10
[2025-01-09 21:16:11] Production.INFO: ==5922== Releasing lock...
[2025-01-09 21:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 21:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 21:16:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 21:16:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 21:16:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 21:16:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 21:16:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 21:16:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 21:16:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 21:16:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 21:16:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 21:16:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 21:16:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 21:16:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 21:16:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 21:16:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 21:16:12] Production.INFO: call_cost start
[2025-01-09 21:16:12] Production.INFO: call_cost end
[2025-01-09 21:16:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 21:16:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 21:16:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 21:16:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 21:16:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 21:16:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 21:16:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 21:16:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 21:16:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 21:16:13] Production.INFO: ==5918== Releasing lock...
[2025-01-09 21:16:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 21:16:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 21:16:19] Production.INFO: count ==1213
[2025-01-09 21:16:19] Production.ERROR: pbx CDR StartTime 2025-01-09 18:16:04 - End Time 2025-01-09 21:16:04
[2025-01-09 21:16:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 21:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212265', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212265', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212265', 'tblTempVendorCDR_20' ) start
[2025-01-09 21:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212265', 'tblTempVendorCDR_20' ) end
[2025-01-09 21:16:19] Production.INFO: ProcessCDR(1,14212265,1,1,2)
[2025-01-09 21:16:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212265,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:16:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212265,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:16:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212265,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:16:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212265,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212265', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212265', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:16:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:16:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:16:22] Production.INFO: ==5926== Releasing lock...
[2025-01-09 21:16:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 21:16:22] Production.INFO: 36.75 MB #Memory Used#
[2025-01-10 02:17:01] Production.INFO: ==5984== Lock acquired, processing the job...
[2025-01-10 02:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 02:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 02:17:01] Production.INFO: neon service started
[2025-01-10 02:17:01] Production.INFO: neon service started
[2025-01-10 02:17:01] Production.INFO: ==5984== Releasing lock...
[2025-01-10 02:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 02:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 21:17:02] Production.INFO: ==5986== Lock acquired, processing the job...
[2025-01-09 21:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:17:02] Production.INFO: ==5986== Releasing lock...
[2025-01-09 21:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 21:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 02:17:02] Production.INFO: ==5988== Lock acquired, processing the job...
[2025-01-10 02:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 02:17:02] Production.INFO: ==5988== Releasing lock...
[2025-01-10 02:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 02:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 21:17:03] Production.INFO: ==5997== Lock acquired, processing the job...
[2025-01-09 21:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 21:17:03] Production.INFO: ==6001== Lock acquired, processing the job...
[2025-01-09 21:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 21:17:03] Production.INFO: Account Balance Start.
[2025-01-09 21:17:03] Production.INFO: CreateAllLog Start
[2025-01-09 21:17:03] Production.INFO: 117
[2025-01-09 21:17:03] Production.INFO: Date 2025-01-08
[2025-01-09 21:17:03] Production.INFO: Reseller ==> 0
[2025-01-09 21:17:03] Production.INFO: ==5993== Lock acquired, processing the job...
[2025-01-09 21:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 21:17:03] Production.INFO: Date 2025-01-09
[2025-01-09 21:17:03] Production.INFO: Reseller ==> 0
[2025-01-09 21:17:03] Production.INFO: ==5991== Lock acquired, processing the job...
[2025-01-09 21:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 21:17:03] Production.INFO: ==5995== Lock acquired, processing the job...
[2025-01-09 21:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 21:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:17:03] Production.INFO: Total Charge 0
[2025-01-09 21:17:03] Production.INFO: count ==21
[2025-01-09 21:17:03] Production.INFO: CreateAllLog End
[2025-01-09 21:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:17:03] Production.INFO: count ==21
[2025-01-09 21:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 21:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212267') start
[2025-01-09 21:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 21:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 21:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 21:17:03] Production.INFO: ==5999== Lock acquired, processing the job...
[2025-01-09 21:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 21:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 21:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212267') end
[2025-01-09 21:17:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 21:17:03] Production.INFO: 1
[2025-01-09 21:17:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 21:17:03] Production.INFO: ==5993== Releasing lock...
[2025-01-09 21:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 21:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 21:17:03] Production.INFO: ==6001== Releasing lock...
[2025-01-09 21:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 21:17:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 21:17:03] Production.INFO: Account Balance End.
[2025-01-09 21:17:04] Production.ERROR: CronJobId end 12
[2025-01-09 21:17:04] Production.INFO: ==5997== Releasing lock...
[2025-01-09 21:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 21:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 21:17:04] Production.ERROR: done
[2025-01-09 21:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 21:17:04] Production.ERROR: done
[2025-01-09 21:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 18:17:05
[end_date_ymd] => 2025-01-09 21:17:05
[RateCDR] => 1
)
[2025-01-09 21:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 18:17:05' and `end` < '2025-01-09 21:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 21:17:11] Production.ERROR: CronJobId end10
[2025-01-09 21:17:11] Production.INFO: ==5995== Releasing lock...
[2025-01-09 21:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 21:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 21:17:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 21:17:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 21:17:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 21:17:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 21:17:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 21:17:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 21:17:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 21:17:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 21:17:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 21:17:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 21:17:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 21:17:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 21:17:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 21:17:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 21:17:12] Production.INFO: call_cost start
[2025-01-09 21:17:12] Production.INFO: call_cost end
[2025-01-09 21:17:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 21:17:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 21:17:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 21:17:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 21:17:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 21:17:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 21:17:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 21:17:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 21:17:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 21:17:13] Production.INFO: ==5991== Releasing lock...
[2025-01-09 21:17:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 21:17:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 21:17:19] Production.INFO: count ==1211
[2025-01-09 21:17:19] Production.ERROR: pbx CDR StartTime 2025-01-09 18:17:05 - End Time 2025-01-09 21:17:05
[2025-01-09 21:17:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 21:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212270', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212270', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212270', 'tblTempVendorCDR_20' ) start
[2025-01-09 21:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212270', 'tblTempVendorCDR_20' ) end
[2025-01-09 21:17:19] Production.INFO: ProcessCDR(1,14212270,1,1,2)
[2025-01-09 21:17:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212270,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:17:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212270,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:17:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212270,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:17:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212270,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212270', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212270', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:17:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:17:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:17:22] Production.INFO: ==5999== Releasing lock...
[2025-01-09 21:17:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 21:17:22] Production.INFO: 36.75 MB #Memory Used#
[2025-01-10 02:18:01] Production.INFO: ==6054== Lock acquired, processing the job...
[2025-01-10 02:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 02:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 02:18:01] Production.INFO: neon service started
[2025-01-10 02:18:01] Production.INFO: neon service started
[2025-01-10 02:18:01] Production.INFO: ==6054== Releasing lock...
[2025-01-10 02:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 02:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:18:01] Production.INFO: ==6058== Lock acquired, processing the job...
[2025-01-10 02:18:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 02:18:01] Production.INFO: ==6058== Releasing lock...
[2025-01-10 02:18:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 02:18:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 21:18:01] Production.INFO: ==6056== Lock acquired, processing the job...
[2025-01-09 21:18:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:18:02] Production.INFO: ==6056== Releasing lock...
[2025-01-09 21:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 21:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 21:18:03] Production.INFO: ==6067== Lock acquired, processing the job...
[2025-01-09 21:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 21:18:03] Production.INFO: ==6071== Lock acquired, processing the job...
[2025-01-09 21:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 21:18:03] Production.INFO: Account Balance Start.
[2025-01-09 21:18:03] Production.INFO: ==6061== Lock acquired, processing the job...
[2025-01-09 21:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 21:18:03] Production.INFO: CreateAllLog Start
[2025-01-09 21:18:03] Production.INFO: 117
[2025-01-09 21:18:03] Production.INFO: Date 2025-01-08
[2025-01-09 21:18:03] Production.INFO: Reseller ==> 0
[2025-01-09 21:18:03] Production.INFO: ==6063== Lock acquired, processing the job...
[2025-01-09 21:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 21:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:18:03] Production.INFO: Date 2025-01-09
[2025-01-09 21:18:03] Production.INFO: Reseller ==> 0
[2025-01-09 21:18:03] Production.INFO: ==6065== Lock acquired, processing the job...
[2025-01-09 21:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 21:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 21:18:03] Production.INFO: count ==21
[2025-01-09 21:18:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:18:03] Production.INFO: count ==21
[2025-01-09 21:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212272') start
[2025-01-09 21:18:03] Production.INFO: Total Charge 0
[2025-01-09 21:18:03] Production.INFO: ==6069== Lock acquired, processing the job...
[2025-01-09 21:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 21:18:03] Production.INFO: CreateAllLog End
[2025-01-09 21:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 21:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 21:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 21:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 21:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212272') end
[2025-01-09 21:18:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 21:18:03] Production.INFO: 1
[2025-01-09 21:18:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 21:18:03] Production.INFO: ==6071== Releasing lock...
[2025-01-09 21:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 21:18:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 21:18:03] Production.INFO: Account Balance End.
[2025-01-09 21:18:03] Production.ERROR: CronJobId end 12
[2025-01-09 21:18:03] Production.INFO: ==6067== Releasing lock...
[2025-01-09 21:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 21:18:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 21:18:03] Production.ERROR: done
[2025-01-09 21:18:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 21:18:03] Production.INFO: ==6063== Releasing lock...
[2025-01-09 21:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 21:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 21:18:04] Production.ERROR: done
[2025-01-09 21:18:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 18:18:04
[end_date_ymd] => 2025-01-09 21:18:04
[RateCDR] => 1
)
[2025-01-09 21:18:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 18:18:04' and `end` < '2025-01-09 21:18:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 21:18:11] Production.ERROR: CronJobId end10
[2025-01-09 21:18:11] Production.INFO: ==6065== Releasing lock...
[2025-01-09 21:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 21:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 21:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 21:18:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 21:18:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 21:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 21:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 21:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 21:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 21:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 21:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 21:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 21:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 21:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 21:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 21:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 21:18:13] Production.INFO: call_cost start
[2025-01-09 21:18:13] Production.INFO: call_cost end
[2025-01-09 21:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 21:18:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 21:18:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 21:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 21:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 21:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 21:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 21:18:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 21:18:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 21:18:14] Production.INFO: ==6061== Releasing lock...
[2025-01-09 21:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 21:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 21:18:18] Production.INFO: count ==1209
[2025-01-09 21:18:18] Production.ERROR: pbx CDR StartTime 2025-01-09 18:18:04 - End Time 2025-01-09 21:18:04
[2025-01-09 21:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 21:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212275', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212275', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212275', 'tblTempVendorCDR_20' ) start
[2025-01-09 21:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212275', 'tblTempVendorCDR_20' ) end
[2025-01-09 21:18:18] Production.INFO: ProcessCDR(1,14212275,1,1,2)
[2025-01-09 21:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212275,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:18:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212275,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:18:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212275,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:18:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212275,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212275', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212275', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:18:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:18:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:18:22] Production.INFO: ==6069== Releasing lock...
[2025-01-09 21:18:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 21:18:22] Production.INFO: 36.75 MB #Memory Used#
[2025-01-10 02:19:01] Production.INFO: ==6126== Lock acquired, processing the job...
[2025-01-10 02:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 02:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 02:19:01] Production.INFO: neon service started
[2025-01-10 02:19:01] Production.INFO: neon service started
[2025-01-10 02:19:01] Production.INFO: ==6126== Releasing lock...
[2025-01-10 02:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 02:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:19:02] Production.INFO: ==6130== Lock acquired, processing the job...
[2025-01-10 02:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 02:19:02] Production.INFO: ==6130== Releasing lock...
[2025-01-10 02:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 02:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 21:19:02] Production.INFO: ==6128== Lock acquired, processing the job...
[2025-01-09 21:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:19:02] Production.INFO: ==6128== Releasing lock...
[2025-01-09 21:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 21:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 21:19:03] Production.INFO: ==6133== Lock acquired, processing the job...
[2025-01-09 21:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 21:19:03] Production.INFO: ==6135== Lock acquired, processing the job...
[2025-01-09 21:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 21:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 21:19:03] Production.INFO: ==6139== Lock acquired, processing the job...
[2025-01-09 21:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 21:19:03] Production.INFO: Account Balance Start.
[2025-01-09 21:19:03] Production.INFO: CreateAllLog Start
[2025-01-09 21:19:03] Production.INFO: 117
[2025-01-09 21:19:03] Production.INFO: Date 2025-01-08
[2025-01-09 21:19:03] Production.INFO: Reseller ==> 0
[2025-01-09 21:19:03] Production.INFO: Date 2025-01-09
[2025-01-09 21:19:03] Production.INFO: Reseller ==> 0
[2025-01-09 21:19:03] Production.INFO: Total Charge 0
[2025-01-09 21:19:03] Production.INFO: CreateAllLog End
[2025-01-09 21:19:03] Production.INFO: ==6137== Lock acquired, processing the job...
[2025-01-09 21:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 21:19:03] Production.INFO: ==6135== Releasing lock...
[2025-01-09 21:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 21:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 21:19:03] Production.INFO: ==6143== Lock acquired, processing the job...
[2025-01-09 21:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 21:19:03] Production.INFO: Account Balance End.
[2025-01-09 21:19:03] Production.INFO: ==6141== Lock acquired, processing the job...
[2025-01-09 21:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 21:19:03] Production.ERROR: CronJobId end 12
[2025-01-09 21:19:03] Production.INFO: ==6139== Releasing lock...
[2025-01-09 21:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 21:19:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 21:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 21:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 21:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 21:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 21:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:19:04] Production.INFO: count ==21
[2025-01-09 21:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:19:04] Production.INFO: count ==21
[2025-01-09 21:19:04] Production.ERROR: done
[2025-01-09 21:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 21:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212279') start
[2025-01-09 21:19:04] Production.ERROR: done
[2025-01-09 21:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212279') end
[2025-01-09 21:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 21:19:04] Production.INFO: 1
[2025-01-09 21:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 21:19:04] Production.INFO: ==6143== Releasing lock...
[2025-01-09 21:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 21:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 21:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 18:19:05
[end_date_ymd] => 2025-01-09 21:19:05
[RateCDR] => 1
)
[2025-01-09 21:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 18:19:05' and `end` < '2025-01-09 21:19:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 21:19:11] Production.ERROR: CronJobId end10
[2025-01-09 21:19:11] Production.INFO: ==6137== Releasing lock...
[2025-01-09 21:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 21:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 21:19:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 21:19:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 21:19:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 21:19:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 21:19:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 21:19:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 21:19:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 21:19:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 21:19:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 21:19:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 21:19:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 21:19:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 21:19:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 21:19:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 21:19:13] Production.INFO: call_cost start
[2025-01-09 21:19:13] Production.INFO: call_cost end
[2025-01-09 21:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 21:19:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 21:19:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 21:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 21:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 21:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 21:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 21:19:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 21:19:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 21:19:14] Production.INFO: ==6133== Releasing lock...
[2025-01-09 21:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 21:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 21:19:18] Production.INFO: count ==1210
[2025-01-09 21:19:18] Production.ERROR: pbx CDR StartTime 2025-01-09 18:19:05 - End Time 2025-01-09 21:19:05
[2025-01-09 21:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 21:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212280', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212280', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212280', 'tblTempVendorCDR_20' ) start
[2025-01-09 21:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212280', 'tblTempVendorCDR_20' ) end
[2025-01-09 21:19:18] Production.INFO: ProcessCDR(1,14212280,1,1,2)
[2025-01-09 21:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212280,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212280,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212280,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212280,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212280', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212280', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:19:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:19:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:19:21] Production.INFO: ==6141== Releasing lock...
[2025-01-09 21:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 21:19:21] Production.INFO: 36.75 MB #Memory Used#
[2025-01-10 02:20:02] Production.INFO: ==6196== Lock acquired, processing the job...
[2025-01-10 02:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 02:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 02:20:02] Production.INFO: neon service started
[2025-01-10 02:20:02] Production.INFO: neon service started
[2025-01-10 02:20:02] Production.INFO: ==6196== Releasing lock...
[2025-01-10 02:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 02:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 21:20:02] Production.INFO: ==6198== Lock acquired, processing the job...
[2025-01-09 21:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:20:03] Production.INFO: ==6200== Lock acquired, processing the job...
[2025-01-10 02:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 21:20:03] Production.INFO: ==6198== Releasing lock...
[2025-01-09 21:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 21:20:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 02:20:03] Production.INFO: ==6200== Releasing lock...
[2025-01-10 02:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 02:20:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 21:20:03] Production.INFO: ==6203== Lock acquired, processing the job...
[2025-01-09 21:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 21:20:04] Production.INFO: ==6211== Lock acquired, processing the job...
[2025-01-09 21:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 21:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 21:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 21:20:04] Production.INFO: ==6203== Releasing lock...
[2025-01-09 21:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 21:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 21:20:04] Production.INFO: Account Balance Start.
[2025-01-09 21:20:04] Production.INFO: CreateAllLog Start
[2025-01-09 21:20:04] Production.INFO: 117
[2025-01-09 21:20:04] Production.INFO: ==6205== Lock acquired, processing the job...
[2025-01-09 21:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 21:20:04] Production.INFO: ==6215== Lock acquired, processing the job...
[2025-01-09 21:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 21:20:04] Production.INFO: Date 2025-01-08
[2025-01-09 21:20:04] Production.INFO: Reseller ==> 0
[2025-01-09 21:20:04] Production.INFO: Date 2025-01-09
[2025-01-09 21:20:04] Production.INFO: Reseller ==> 0
[2025-01-09 21:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:20:04] Production.INFO: ==6209== Lock acquired, processing the job...
[2025-01-09 21:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 21:20:04] Production.INFO: ==6207== Lock acquired, processing the job...
[2025-01-09 21:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 21:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 21:20:04] Production.INFO: Total Charge 0
[2025-01-09 21:20:04] Production.INFO: CreateAllLog End
[2025-01-09 21:20:04] Production.INFO: ==6213== Lock acquired, processing the job...
[2025-01-09 21:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 21:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 21:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 21:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 21:20:04] Production.INFO: ==6217== Lock acquired, processing the job...
[2025-01-09 21:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 21:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 21:20:04] Production.INFO: Account Balance End.
[2025-01-09 21:20:04] Production.ERROR: CronJobId end 12
[2025-01-09 21:20:04] Production.INFO: ==6211== Releasing lock...
[2025-01-09 21:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 21:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 21:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:20:04] Production.ERROR: done
[2025-01-09 21:20:04] Production.INFO: ==6207== Releasing lock...
[2025-01-09 21:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 21:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 21:20:04] Production.INFO: count ==21
[2025-01-09 21:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:20:04] Production.INFO: count ==21
[2025-01-09 21:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 21:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14212285', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 21:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212284') start
[2025-01-09 21:20:04] Production.ERROR: done
[2025-01-09 21:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 21:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212284') end
[2025-01-09 21:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 21:20:04] Production.INFO: 1
[2025-01-09 21:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 21:20:04] Production.INFO: ==6217== Releasing lock...
[2025-01-09 21:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 21:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 21:20:05] Production.ERROR: done
[2025-01-09 21:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 18:20:06
[end_date_ymd] => 2025-01-09 21:20:06
[RateCDR] => 1
)
[2025-01-09 21:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 18:20:06' and `end` < '2025-01-09 21:20:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 21:20:07] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14212285', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 21:20:07] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 21:20:07] Production.INFO: ProcessCDR(1,14212285,1,1,2)
[2025-01-09 21:20:07] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14212285,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:20:07] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14212285,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:20:07] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:20:07] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:20:07] Production.INFO: ==6215== Releasing lock...
[2025-01-09 21:20:07] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 21:20:07] Production.INFO: 26 MB #Memory Used#
[2025-01-09 21:20:14] Production.ERROR: CronJobId end10
[2025-01-09 21:20:14] Production.INFO: ==6209== Releasing lock...
[2025-01-09 21:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 21:20:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 21:20:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 21:20:15] Production.INFO: ============== Balance Warning START===========
[2025-01-09 21:20:15] Production.INFO: ============== Balance Warning END===========
[2025-01-09 21:20:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 21:20:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 21:20:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 21:20:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 21:20:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 21:20:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 21:20:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 21:20:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 21:20:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 21:20:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 21:20:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 21:20:15] Production.INFO: call_cost start
[2025-01-09 21:20:15] Production.INFO: call_cost end
[2025-01-09 21:20:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 21:20:16] Production.INFO: ============== Report Schedule START===========
[2025-01-09 21:20:16] Production.INFO: ============== Report Schedule END===========
[2025-01-09 21:20:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 21:20:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 21:20:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 21:20:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 21:20:16] Production.INFO: ============== Deal alert START===========
[2025-01-09 21:20:16] Production.INFO: ============== Deal alert END===========
[2025-01-09 21:20:16] Production.INFO: ==6205== Releasing lock...
[2025-01-09 21:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 21:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 21:20:19] Production.INFO: count ==1205
[2025-01-09 21:20:19] Production.ERROR: pbx CDR StartTime 2025-01-09 18:20:06 - End Time 2025-01-09 21:20:06
[2025-01-09 21:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 21:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212286', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212286', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212286', 'tblTempVendorCDR_20' ) start
[2025-01-09 21:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212286', 'tblTempVendorCDR_20' ) end
[2025-01-09 21:20:19] Production.INFO: ProcessCDR(1,14212286,1,1,2)
[2025-01-09 21:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212286,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212286,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212286,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212286,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212286', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212286', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:20:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:20:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:20:22] Production.INFO: ==6213== Releasing lock...
[2025-01-09 21:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 21:20:22] Production.INFO: 36.75 MB #Memory Used#
[2025-01-10 02:21:01] Production.INFO: ==6270== Lock acquired, processing the job...
[2025-01-10 02:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 02:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 02:21:01] Production.INFO: neon service started
[2025-01-10 02:21:01] Production.INFO: neon service started
[2025-01-10 02:21:01] Production.INFO: ==6270== Releasing lock...
[2025-01-10 02:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 02:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 21:21:02] Production.INFO: ==6272== Lock acquired, processing the job...
[2025-01-09 21:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:21:02] Production.INFO: ==6272== Releasing lock...
[2025-01-09 21:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 21:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 02:21:02] Production.INFO: ==6274== Lock acquired, processing the job...
[2025-01-10 02:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 02:21:02] Production.INFO: ==6274== Releasing lock...
[2025-01-10 02:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 02:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 21:21:03] Production.INFO: ==6276== Lock acquired, processing the job...
[2025-01-09 21:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 21:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 21:21:03] Production.INFO: ==6278== Lock acquired, processing the job...
[2025-01-09 21:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 21:21:03] Production.INFO: ==6280== Lock acquired, processing the job...
[2025-01-09 21:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 21:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 21:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 21:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 21:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 21:21:03] Production.INFO: ==6278== Releasing lock...
[2025-01-09 21:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 21:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 21:21:03] Production.INFO: ==6282== Lock acquired, processing the job...
[2025-01-09 21:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 21:21:03] Production.INFO: ==6284== Lock acquired, processing the job...
[2025-01-09 21:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 21:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:21:03] Production.INFO: ==6286== Lock acquired, processing the job...
[2025-01-09 21:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 21:21:03] Production.INFO: Account Balance Start.
[2025-01-09 21:21:03] Production.INFO: CreateAllLog Start
[2025-01-09 21:21:03] Production.INFO: 117
[2025-01-09 21:21:03] Production.INFO: Date 2025-01-08
[2025-01-09 21:21:03] Production.INFO: Reseller ==> 0
[2025-01-09 21:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:21:03] Production.INFO: Date 2025-01-09
[2025-01-09 21:21:03] Production.INFO: Reseller ==> 0
[2025-01-09 21:21:03] Production.INFO: count ==21
[2025-01-09 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-01-09 21:21:04] Production.INFO: count ==21
[2025-01-09 21:21:04] Production.INFO: Total Charge 0
[2025-01-09 21:21:04] Production.INFO: CreateAllLog End
[2025-01-09 21:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212290') start
[2025-01-09 21:21:04] Production.ERROR: done
[2025-01-09 21:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 21:21:04] Production.INFO: Account Balance End.
[2025-01-09 21:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212290') end
[2025-01-09 21:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 21:21:04] Production.INFO: 1
[2025-01-09 21:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 21:21:04] Production.ERROR: CronJobId end 12
[2025-01-09 21:21:04] Production.INFO: ==6282== Releasing lock...
[2025-01-09 21:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 21:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 21:21:04] Production.ERROR: done
[2025-01-09 21:21:04] Production.INFO: ==6286== Releasing lock...
[2025-01-09 21:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 21:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 21:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 18:21:05
[end_date_ymd] => 2025-01-09 21:21:05
[RateCDR] => 1
)
[2025-01-09 21:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 18:21:05' and `end` < '2025-01-09 21:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 21:21:12] Production.ERROR: CronJobId end10
[2025-01-09 21:21:12] Production.INFO: ==6280== Releasing lock...
[2025-01-09 21:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 21:21:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 21:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 21:21:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 21:21:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 21:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 21:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 21:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 21:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 21:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 21:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 21:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 21:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 21:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 21:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 21:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 21:21:13] Production.INFO: call_cost start
[2025-01-09 21:21:13] Production.INFO: call_cost end
[2025-01-09 21:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 21:21:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 21:21:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 21:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 21:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 21:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 21:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 21:21:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 21:21:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 21:21:14] Production.INFO: ==6276== Releasing lock...
[2025-01-09 21:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 21:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 21:21:19] Production.INFO: count ==1180
[2025-01-09 21:21:19] Production.ERROR: pbx CDR StartTime 2025-01-09 18:21:05 - End Time 2025-01-09 21:21:05
[2025-01-09 21:21:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 21:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212291', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212291', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212291', 'tblTempVendorCDR_20' ) start
[2025-01-09 21:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212291', 'tblTempVendorCDR_20' ) end
[2025-01-09 21:21:19] Production.INFO: ProcessCDR(1,14212291,1,1,2)
[2025-01-09 21:21:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212291,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:21:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212291,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:21:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212291,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:21:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212291,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212291', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212291', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:21:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:21:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:21:22] Production.INFO: ==6284== Releasing lock...
[2025-01-09 21:21:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 21:21:22] Production.INFO: 36.5 MB #Memory Used#
[2025-01-10 02:22:02] Production.INFO: ==6342== Lock acquired, processing the job...
[2025-01-10 02:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 02:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 02:22:02] Production.INFO: neon service started
[2025-01-10 02:22:02] Production.INFO: neon service started
[2025-01-10 02:22:02] Production.INFO: ==6342== Releasing lock...
[2025-01-10 02:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 02:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 21:22:02] Production.INFO: ==6344== Lock acquired, processing the job...
[2025-01-09 21:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:22:02] Production.INFO: ==6344== Releasing lock...
[2025-01-09 21:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 21:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 02:22:02] Production.INFO: ==6346== Lock acquired, processing the job...
[2025-01-10 02:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 02:22:03] Production.INFO: ==6346== Releasing lock...
[2025-01-10 02:22:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 02:22:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 21:22:03] Production.INFO: ==6349== Lock acquired, processing the job...
[2025-01-09 21:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 21:22:03] Production.INFO: ==6351== Lock acquired, processing the job...
[2025-01-09 21:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 21:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 21:22:03] Production.INFO: ==6357== Lock acquired, processing the job...
[2025-01-09 21:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 21:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:22:04] Production.INFO: ==6355== Lock acquired, processing the job...
[2025-01-09 21:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 21:22:04] Production.INFO: ==6353== Lock acquired, processing the job...
[2025-01-09 21:22:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 21:22:04] Production.INFO: ==6359== Lock acquired, processing the job...
[2025-01-09 21:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 21:22:04] Production.INFO: ==6351== Releasing lock...
[2025-01-09 21:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 21:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 21:22:04] Production.ERROR: done
[2025-01-09 21:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 21:22:04] Production.INFO: Account Balance Start.
[2025-01-09 21:22:04] Production.INFO: CreateAllLog Start
[2025-01-09 21:22:04] Production.INFO: 117
[2025-01-09 21:22:04] Production.INFO: Date 2025-01-08
[2025-01-09 21:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 21:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 21:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 21:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 21:22:04] Production.INFO: Reseller ==> 0
[2025-01-09 21:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:22:04] Production.ERROR: done
[2025-01-09 21:22:04] Production.INFO: count ==21
[2025-01-09 21:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:22:04] Production.INFO: count ==21
[2025-01-09 21:22:04] Production.INFO: Date 2025-01-09
[2025-01-09 21:22:04] Production.INFO: Reseller ==> 0
[2025-01-09 21:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212295') start
[2025-01-09 21:22:04] Production.INFO: Total Charge 0
[2025-01-09 21:22:04] Production.INFO: CreateAllLog End
[2025-01-09 21:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212295') end
[2025-01-09 21:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 21:22:04] Production.INFO: 1
[2025-01-09 21:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 21:22:04] Production.INFO: Account Balance End.
[2025-01-09 21:22:04] Production.INFO: ==6359== Releasing lock...
[2025-01-09 21:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 21:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 21:22:04] Production.ERROR: CronJobId end 12
[2025-01-09 21:22:04] Production.INFO: ==6355== Releasing lock...
[2025-01-09 21:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 21:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 21:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 18:22:05
[end_date_ymd] => 2025-01-09 21:22:05
[RateCDR] => 1
)
[2025-01-09 21:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 18:22:05' and `end` < '2025-01-09 21:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 21:22:13] Production.ERROR: CronJobId end10
[2025-01-09 21:22:13] Production.INFO: ==6353== Releasing lock...
[2025-01-09 21:22:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 21:22:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 21:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 21:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 21:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 21:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 21:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 21:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 21:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 21:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 21:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 21:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 21:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 21:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 21:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 21:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 21:22:14] Production.INFO: call_cost start
[2025-01-09 21:22:14] Production.INFO: call_cost end
[2025-01-09 21:22:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 21:22:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 21:22:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 21:22:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 21:22:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 21:22:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 21:22:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 21:22:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 21:22:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 21:22:15] Production.INFO: ==6349== Releasing lock...
[2025-01-09 21:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 21:22:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 21:22:19] Production.INFO: count ==1173
[2025-01-09 21:22:19] Production.ERROR: pbx CDR StartTime 2025-01-09 18:22:05 - End Time 2025-01-09 21:22:05
[2025-01-09 21:22:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 21:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212296', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212296', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212296', 'tblTempVendorCDR_20' ) start
[2025-01-09 21:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212296', 'tblTempVendorCDR_20' ) end
[2025-01-09 21:22:19] Production.INFO: ProcessCDR(1,14212296,1,1,2)
[2025-01-09 21:22:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212296,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:22:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212296,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212296,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:22:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212296,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:22:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212296', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:22:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212296', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:22:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:22:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:22:23] Production.INFO: ==6357== Releasing lock...
[2025-01-09 21:22:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 21:22:23] Production.INFO: 36.5 MB #Memory Used#
[2025-01-10 02:23:01] Production.INFO: ==6413== Lock acquired, processing the job...
[2025-01-10 02:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 02:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 02:23:01] Production.INFO: neon service started
[2025-01-10 02:23:01] Production.INFO: neon service started
[2025-01-10 02:23:01] Production.INFO: ==6413== Releasing lock...
[2025-01-10 02:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 02:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 21:23:02] Production.INFO: ==6415== Lock acquired, processing the job...
[2025-01-09 21:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:23:02] Production.INFO: ==6417== Lock acquired, processing the job...
[2025-01-10 02:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 21:23:02] Production.INFO: ==6415== Releasing lock...
[2025-01-09 21:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 21:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 02:23:02] Production.INFO: ==6417== Releasing lock...
[2025-01-10 02:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 02:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 21:23:03] Production.INFO: ==6422== Lock acquired, processing the job...
[2025-01-09 21:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 21:23:03] Production.INFO: ==6424== Lock acquired, processing the job...
[2025-01-09 21:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 21:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 21:23:03] Production.INFO: ==6442== Lock acquired, processing the job...
[2025-01-09 21:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 21:23:03] Production.INFO: ==6424== Releasing lock...
[2025-01-09 21:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 21:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 21:23:03] Production.INFO: ==6428== Lock acquired, processing the job...
[2025-01-09 21:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 21:23:03] Production.INFO: ==6432== Lock acquired, processing the job...
[2025-01-09 21:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 21:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:23:03] Production.INFO: ==6439== Lock acquired, processing the job...
[2025-01-09 21:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 21:23:03] Production.INFO: count ==21
[2025-01-09 21:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:23:03] Production.INFO: count ==21
[2025-01-09 21:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212299') start
[2025-01-09 21:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 21:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 21:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 21:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 21:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:23:03] Production.INFO: Account Balance Start.
[2025-01-09 21:23:03] Production.INFO: CreateAllLog Start
[2025-01-09 21:23:03] Production.INFO: 117
[2025-01-09 21:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212299') end
[2025-01-09 21:23:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 21:23:03] Production.INFO: 1
[2025-01-09 21:23:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 21:23:03] Production.INFO: Date 2025-01-08
[2025-01-09 21:23:03] Production.INFO: Reseller ==> 0
[2025-01-09 21:23:03] Production.INFO: Date 2025-01-09
[2025-01-09 21:23:03] Production.INFO: Reseller ==> 0
[2025-01-09 21:23:03] Production.INFO: Total Charge 0
[2025-01-09 21:23:03] Production.INFO: CreateAllLog End
[2025-01-09 21:23:03] Production.ERROR: done
[2025-01-09 21:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 21:23:03] Production.INFO: ==6442== Releasing lock...
[2025-01-09 21:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 21:23:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 21:23:04] Production.ERROR: done
[2025-01-09 21:23:04] Production.INFO: Account Balance End.
[2025-01-09 21:23:04] Production.ERROR: CronJobId end 12
[2025-01-09 21:23:04] Production.INFO: ==6432== Releasing lock...
[2025-01-09 21:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 21:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 21:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 18:23:05
[end_date_ymd] => 2025-01-09 21:23:05
[RateCDR] => 1
)
[2025-01-09 21:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 18:23:05' and `end` < '2025-01-09 21:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 21:23:11] Production.ERROR: CronJobId end10
[2025-01-09 21:23:11] Production.INFO: ==6428== Releasing lock...
[2025-01-09 21:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 21:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 21:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 21:23:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 21:23:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 21:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 21:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 21:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 21:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 21:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 21:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 21:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 21:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 21:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 21:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 21:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 21:23:13] Production.INFO: call_cost start
[2025-01-09 21:23:13] Production.INFO: call_cost end
[2025-01-09 21:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 21:23:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 21:23:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 21:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 21:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 21:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 21:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 21:23:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 21:23:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 21:23:14] Production.INFO: ==6422== Releasing lock...
[2025-01-09 21:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 21:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 21:23:20] Production.INFO: count ==1167
[2025-01-09 21:23:20] Production.ERROR: pbx CDR StartTime 2025-01-09 18:23:05 - End Time 2025-01-09 21:23:05
[2025-01-09 21:23:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 21:23:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212301', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:23:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212301', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:23:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212301', 'tblTempVendorCDR_20' ) start
[2025-01-09 21:23:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212301', 'tblTempVendorCDR_20' ) end
[2025-01-09 21:23:20] Production.INFO: ProcessCDR(1,14212301,1,1,2)
[2025-01-09 21:23:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212301,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:23:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212301,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:23:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212301,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:23:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212301,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:23:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212301', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:23:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212301', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:23:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:23:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:23:23] Production.INFO: ==6439== Releasing lock...
[2025-01-09 21:23:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 21:23:23] Production.INFO: 36.25 MB #Memory Used#
[2025-01-10 02:24:02] Production.INFO: ==6525== Lock acquired, processing the job...
[2025-01-10 02:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 02:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 02:24:02] Production.INFO: neon service started
[2025-01-10 02:24:02] Production.INFO: neon service started
[2025-01-10 02:24:02] Production.INFO: ==6525== Releasing lock...
[2025-01-10 02:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 02:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 21:24:02] Production.INFO: ==6527== Lock acquired, processing the job...
[2025-01-09 21:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:24:02] Production.INFO: ==6527== Releasing lock...
[2025-01-09 21:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 21:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 02:24:02] Production.INFO: ==6529== Lock acquired, processing the job...
[2025-01-10 02:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 02:24:02] Production.INFO: ==6529== Releasing lock...
[2025-01-10 02:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 02:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 21:24:03] Production.INFO: ==6535== Lock acquired, processing the job...
[2025-01-09 21:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 21:24:03] Production.INFO: ==6531== Lock acquired, processing the job...
[2025-01-09 21:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 21:24:03] Production.INFO: ==6537== Lock acquired, processing the job...
[2025-01-09 21:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 21:24:03] Production.INFO: ==6533== Lock acquired, processing the job...
[2025-01-09 21:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 21:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 21:24:03] Production.INFO: Account Balance Start.
[2025-01-09 21:24:03] Production.INFO: CreateAllLog Start
[2025-01-09 21:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 21:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 21:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 21:24:03] Production.INFO: 117
[2025-01-09 21:24:03] Production.INFO: Date 2025-01-08
[2025-01-09 21:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 21:24:03] Production.INFO: Reseller ==> 0
[2025-01-09 21:24:03] Production.INFO: ==6539== Lock acquired, processing the job...
[2025-01-09 21:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 21:24:03] Production.INFO: Date 2025-01-09
[2025-01-09 21:24:03] Production.INFO: Reseller ==> 0
[2025-01-09 21:24:03] Production.INFO: ==6541== Lock acquired, processing the job...
[2025-01-09 21:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 21:24:03] Production.INFO: Total Charge 0
[2025-01-09 21:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:24:03] Production.INFO: CreateAllLog End
[2025-01-09 21:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:24:04] Production.INFO: ==6533== Releasing lock...
[2025-01-09 21:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 21:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 21:24:04] Production.INFO: count ==21
[2025-01-09 21:24:04] Production.ERROR: done
[2025-01-09 21:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 21:24:04] Production.INFO: Account Balance End.
[2025-01-09 21:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:24:04] Production.INFO: count ==21
[2025-01-09 21:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212305') start
[2025-01-09 21:24:04] Production.ERROR: CronJobId end 12
[2025-01-09 21:24:04] Production.INFO: ==6537== Releasing lock...
[2025-01-09 21:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 21:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 21:24:04] Production.ERROR: done
[2025-01-09 21:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212305') end
[2025-01-09 21:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 21:24:04] Production.INFO: 1
[2025-01-09 21:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 21:24:04] Production.INFO: ==6541== Releasing lock...
[2025-01-09 21:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 21:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 21:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 18:24:05
[end_date_ymd] => 2025-01-09 21:24:05
[RateCDR] => 1
)
[2025-01-09 21:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 18:24:05' and `end` < '2025-01-09 21:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 21:24:12] Production.ERROR: CronJobId end10
[2025-01-09 21:24:12] Production.INFO: ==6535== Releasing lock...
[2025-01-09 21:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 21:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 21:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 21:24:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 21:24:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 21:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 21:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 21:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 21:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 21:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 21:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 21:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 21:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 21:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 21:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 21:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 21:24:14] Production.INFO: call_cost start
[2025-01-09 21:24:14] Production.INFO: call_cost end
[2025-01-09 21:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 21:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 21:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 21:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 21:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 21:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 21:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 21:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 21:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 21:24:14] Production.INFO: ==6531== Releasing lock...
[2025-01-09 21:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 21:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 21:24:19] Production.INFO: count ==1171
[2025-01-09 21:24:19] Production.ERROR: pbx CDR StartTime 2025-01-09 18:24:05 - End Time 2025-01-09 21:24:05
[2025-01-09 21:24:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 21:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212306', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212306', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212306', 'tblTempVendorCDR_20' ) start
[2025-01-09 21:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212306', 'tblTempVendorCDR_20' ) end
[2025-01-09 21:24:19] Production.INFO: ProcessCDR(1,14212306,1,1,2)
[2025-01-09 21:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212306,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:24:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212306,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:24:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212306,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:24:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212306,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:24:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212306', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:24:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212306', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:24:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:24:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:24:23] Production.INFO: ==6539== Releasing lock...
[2025-01-09 21:24:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 21:24:23] Production.INFO: 36.25 MB #Memory Used#
[2025-01-10 02:25:01] Production.INFO: ==6600== Lock acquired, processing the job...
[2025-01-10 02:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 02:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 02:25:01] Production.INFO: neon service started
[2025-01-10 02:25:01] Production.INFO: neon service started
[2025-01-10 02:25:01] Production.INFO: ==6600== Releasing lock...
[2025-01-10 02:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 02:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 21:25:02] Production.INFO: ==6604== Lock acquired, processing the job...
[2025-01-09 21:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:25:02] Production.INFO: ==6606== Lock acquired, processing the job...
[2025-01-10 02:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 02:25:02] Production.INFO: ==6606== Releasing lock...
[2025-01-10 02:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 02:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 21:25:02] Production.INFO: ==6604== Releasing lock...
[2025-01-09 21:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 21:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 21:25:03] Production.INFO: ==6609== Lock acquired, processing the job...
[2025-01-09 21:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 21:25:03] Production.INFO: ==6611== Lock acquired, processing the job...
[2025-01-09 21:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 21:25:03] Production.INFO: ==6613== Lock acquired, processing the job...
[2025-01-09 21:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 21:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 21:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 21:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 21:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 21:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 21:25:03] Production.INFO: ==6615== Lock acquired, processing the job...
[2025-01-09 21:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 21:25:03] Production.INFO: ==6617== Lock acquired, processing the job...
[2025-01-09 21:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 21:25:03] Production.INFO: ==6619== Lock acquired, processing the job...
[2025-01-09 21:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 21:25:03] Production.INFO: ==6611== Releasing lock...
[2025-01-09 21:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 21:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 21:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:25:03] Production.INFO: Account Balance Start.
[2025-01-09 21:25:03] Production.INFO: CreateAllLog Start
[2025-01-09 21:25:03] Production.INFO: 117
[2025-01-09 21:25:03] Production.INFO: Date 2025-01-08
[2025-01-09 21:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:25:03] Production.INFO: Reseller ==> 0
[2025-01-09 21:25:03] Production.INFO: count ==21
[2025-01-09 21:25:03] Production.INFO: Date 2025-01-09
[2025-01-09 21:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:25:03] Production.INFO: count ==21
[2025-01-09 21:25:03] Production.INFO: Reseller ==> 0
[2025-01-09 21:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212310') start
[2025-01-09 21:25:03] Production.INFO: Total Charge 0
[2025-01-09 21:25:04] Production.INFO: CreateAllLog End
[2025-01-09 21:25:04] Production.ERROR: done
[2025-01-09 21:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212310') end
[2025-01-09 21:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 21:25:04] Production.INFO: 1
[2025-01-09 21:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 21:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 21:25:04] Production.INFO: Account Balance End.
[2025-01-09 21:25:04] Production.INFO: ==6619== Releasing lock...
[2025-01-09 21:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 21:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 21:25:04] Production.ERROR: CronJobId end 12
[2025-01-09 21:25:04] Production.ERROR: done
[2025-01-09 21:25:04] Production.INFO: ==6615== Releasing lock...
[2025-01-09 21:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 21:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 21:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 18:25:05
[end_date_ymd] => 2025-01-09 21:25:05
[RateCDR] => 1
)
[2025-01-09 21:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 18:25:05' and `end` < '2025-01-09 21:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 21:25:12] Production.ERROR: CronJobId end10
[2025-01-09 21:25:12] Production.INFO: ==6613== Releasing lock...
[2025-01-09 21:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 21:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 21:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 21:25:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 21:25:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 21:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 21:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 21:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 21:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 21:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 21:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 21:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 21:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 21:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 21:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 21:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 21:25:13] Production.INFO: call_cost start
[2025-01-09 21:25:13] Production.INFO: call_cost end
[2025-01-09 21:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 21:25:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 21:25:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 21:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 21:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 21:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 21:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 21:25:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 21:25:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 21:25:14] Production.INFO: ==6609== Releasing lock...
[2025-01-09 21:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 21:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 21:25:18] Production.INFO: count ==1147
[2025-01-09 21:25:18] Production.ERROR: pbx CDR StartTime 2025-01-09 18:25:05 - End Time 2025-01-09 21:25:05
[2025-01-09 21:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 21:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212311', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212311', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212311', 'tblTempVendorCDR_20' ) start
[2025-01-09 21:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212311', 'tblTempVendorCDR_20' ) end
[2025-01-09 21:25:18] Production.INFO: ProcessCDR(1,14212311,1,1,2)
[2025-01-09 21:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212311,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212311,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212311,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212311,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212311', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212311', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:25:21] Production.INFO: ==6617== Releasing lock...
[2025-01-09 21:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 21:25:21] Production.INFO: 36.25 MB #Memory Used#
[2025-01-10 02:26:02] Production.INFO: ==6673== Lock acquired, processing the job...
[2025-01-10 02:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 02:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 02:26:02] Production.INFO: neon service started
[2025-01-10 02:26:02] Production.INFO: neon service started
[2025-01-10 02:26:02] Production.INFO: ==6673== Releasing lock...
[2025-01-10 02:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 02:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 21:26:02] Production.INFO: ==6676== Lock acquired, processing the job...
[2025-01-09 21:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:26:02] Production.INFO: ==6676== Releasing lock...
[2025-01-09 21:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 21:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 02:26:02] Production.INFO: ==6678== Lock acquired, processing the job...
[2025-01-10 02:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 02:26:02] Production.INFO: ==6678== Releasing lock...
[2025-01-10 02:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 02:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 21:26:03] Production.INFO: ==6684== Lock acquired, processing the job...
[2025-01-09 21:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 21:26:03] Production.INFO: ==6688== Lock acquired, processing the job...
[2025-01-09 21:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 21:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:26:03] Production.INFO: ==6680== Lock acquired, processing the job...
[2025-01-09 21:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 21:26:03] Production.INFO: ==6682== Lock acquired, processing the job...
[2025-01-09 21:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 21:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 21:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 21:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 21:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 21:26:03] Production.INFO: ==6686== Lock acquired, processing the job...
[2025-01-09 21:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 21:26:03] Production.INFO: ==6690== Lock acquired, processing the job...
[2025-01-09 21:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 21:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 21:26:03] Production.ERROR: done
[2025-01-09 21:26:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 21:26:03] Production.INFO: Account Balance Start.
[2025-01-09 21:26:03] Production.INFO: CreateAllLog Start
[2025-01-09 21:26:03] Production.INFO: 117
[2025-01-09 21:26:03] Production.INFO: Date 2025-01-08
[2025-01-09 21:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:26:03] Production.INFO: Reseller ==> 0
[2025-01-09 21:26:04] Production.INFO: count ==21
[2025-01-09 21:26:04] Production.INFO: Date 2025-01-09
[2025-01-09 21:26:04] Production.INFO: Reseller ==> 0
[2025-01-09 21:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:26:04] Production.INFO: count ==21
[2025-01-09 21:26:04] Production.INFO: Total Charge 0
[2025-01-09 21:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212315') start
[2025-01-09 21:26:04] Production.ERROR: done
[2025-01-09 21:26:04] Production.INFO: CreateAllLog End
[2025-01-09 21:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212315') end
[2025-01-09 21:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 21:26:04] Production.INFO: 1
[2025-01-09 21:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 21:26:04] Production.INFO: ==6690== Releasing lock...
[2025-01-09 21:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 21:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 21:26:04] Production.INFO: ==6682== Releasing lock...
[2025-01-09 21:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 21:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 21:26:04] Production.INFO: Account Balance End.
[2025-01-09 21:26:04] Production.ERROR: CronJobId end 12
[2025-01-09 21:26:04] Production.INFO: ==6686== Releasing lock...
[2025-01-09 21:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 21:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 21:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 18:26:05
[end_date_ymd] => 2025-01-09 21:26:05
[RateCDR] => 1
)
[2025-01-09 21:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 18:26:05' and `end` < '2025-01-09 21:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 21:26:10] Production.ERROR: CronJobId end10
[2025-01-09 21:26:10] Production.INFO: ==6684== Releasing lock...
[2025-01-09 21:26:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 21:26:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 21:26:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 21:26:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 21:26:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 21:26:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 21:26:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 21:26:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 21:26:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 21:26:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 21:26:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 21:26:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 21:26:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 21:26:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 21:26:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 21:26:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 21:26:13] Production.INFO: call_cost start
[2025-01-09 21:26:13] Production.INFO: call_cost end
[2025-01-09 21:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 21:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 21:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 21:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 21:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 21:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 21:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 21:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 21:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 21:26:14] Production.INFO: ==6680== Releasing lock...
[2025-01-09 21:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 21:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 21:26:18] Production.INFO: count ==1135
[2025-01-09 21:26:18] Production.ERROR: pbx CDR StartTime 2025-01-09 18:26:05 - End Time 2025-01-09 21:26:05
[2025-01-09 21:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 21:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212316', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212316', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212316', 'tblTempVendorCDR_20' ) start
[2025-01-09 21:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212316', 'tblTempVendorCDR_20' ) end
[2025-01-09 21:26:18] Production.INFO: ProcessCDR(1,14212316,1,1,2)
[2025-01-09 21:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212316,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212316,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212316,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212316,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212316', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212316', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:26:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:26:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:26:21] Production.INFO: ==6688== Releasing lock...
[2025-01-09 21:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 21:26:21] Production.INFO: 36 MB #Memory Used#
[2025-01-10 02:27:01] Production.INFO: ==6743== Lock acquired, processing the job...
[2025-01-10 02:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 02:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 02:27:01] Production.INFO: neon service started
[2025-01-10 02:27:01] Production.INFO: neon service started
[2025-01-10 02:27:01] Production.INFO: ==6743== Releasing lock...
[2025-01-10 02:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 02:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 21:27:01] Production.INFO: ==6745== Lock acquired, processing the job...
[2025-01-09 21:27:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:27:02] Production.INFO: ==6745== Releasing lock...
[2025-01-09 21:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 21:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 02:27:02] Production.INFO: ==6747== Lock acquired, processing the job...
[2025-01-10 02:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 02:27:02] Production.INFO: ==6747== Releasing lock...
[2025-01-10 02:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 02:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 21:27:03] Production.INFO: ==6751== Lock acquired, processing the job...
[2025-01-09 21:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 21:27:03] Production.INFO: ==6749== Lock acquired, processing the job...
[2025-01-09 21:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 21:27:03] Production.INFO: ==6755== Lock acquired, processing the job...
[2025-01-09 21:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 21:27:03] Production.INFO: ==6759== Lock acquired, processing the job...
[2025-01-09 21:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 21:27:03] Production.INFO: ==6753== Lock acquired, processing the job...
[2025-01-09 21:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 21:27:03] Production.INFO: ==6757== Lock acquired, processing the job...
[2025-01-09 21:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 21:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 21:27:03] Production.INFO: Account Balance Start.
[2025-01-09 21:27:03] Production.INFO: CreateAllLog Start
[2025-01-09 21:27:03] Production.INFO: 117
[2025-01-09 21:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 21:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 21:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 21:27:03] Production.INFO: Date 2025-01-08
[2025-01-09 21:27:03] Production.INFO: Reseller ==> 0
[2025-01-09 21:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 21:27:03] Production.INFO: count ==21
[2025-01-09 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-01-09 21:27:03] Production.INFO: count ==21
[2025-01-09 21:27:03] Production.INFO: Date 2025-01-09
[2025-01-09 21:27:03] Production.INFO: Reseller ==> 0
[2025-01-09 21:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212319') start
[2025-01-09 21:27:03] Production.INFO: Total Charge 0
[2025-01-09 21:27:03] Production.INFO: CreateAllLog End
[2025-01-09 21:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212319') end
[2025-01-09 21:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 21:27:03] Production.INFO: 1
[2025-01-09 21:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 21:27:03] Production.INFO: ==6751== Releasing lock...
[2025-01-09 21:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 21:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 21:27:03] Production.ERROR: done
[2025-01-09 21:27:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 21:27:03] Production.INFO: Account Balance End.
[2025-01-09 21:27:03] Production.INFO: ==6759== Releasing lock...
[2025-01-09 21:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 21:27:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 21:27:03] Production.ERROR: CronJobId end 12
[2025-01-09 21:27:03] Production.INFO: ==6755== Releasing lock...
[2025-01-09 21:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 21:27:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 21:27:03] Production.ERROR: done
[2025-01-09 21:27:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 18:27:04
[end_date_ymd] => 2025-01-09 21:27:04
[RateCDR] => 1
)
[2025-01-09 21:27:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 18:27:04' and `end` < '2025-01-09 21:27:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 21:27:11] Production.ERROR: CronJobId end10
[2025-01-09 21:27:11] Production.INFO: ==6753== Releasing lock...
[2025-01-09 21:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 21:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 21:27:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 21:27:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 21:27:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 21:27:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 21:27:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 21:27:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 21:27:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 21:27:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 21:27:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 21:27:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 21:27:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 21:27:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 21:27:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 21:27:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 21:27:12] Production.INFO: call_cost start
[2025-01-09 21:27:12] Production.INFO: call_cost end
[2025-01-09 21:27:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 21:27:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 21:27:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 21:27:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 21:27:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 21:27:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 21:27:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 21:27:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 21:27:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 21:27:13] Production.INFO: ==6749== Releasing lock...
[2025-01-09 21:27:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 21:27:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 21:27:17] Production.INFO: count ==1127
[2025-01-09 21:27:18] Production.ERROR: pbx CDR StartTime 2025-01-09 18:27:04 - End Time 2025-01-09 21:27:04
[2025-01-09 21:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 21:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212321', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212321', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212321', 'tblTempVendorCDR_20' ) start
[2025-01-09 21:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212321', 'tblTempVendorCDR_20' ) end
[2025-01-09 21:27:18] Production.INFO: ProcessCDR(1,14212321,1,1,2)
[2025-01-09 21:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212321,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212321,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212321,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212321,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212321', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212321', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:27:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:27:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:27:21] Production.INFO: ==6757== Releasing lock...
[2025-01-09 21:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 21:27:21] Production.INFO: 36 MB #Memory Used#
[2025-01-10 02:28:01] Production.INFO: ==6814== Lock acquired, processing the job...
[2025-01-10 02:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 02:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 02:28:01] Production.INFO: neon service started
[2025-01-10 02:28:01] Production.INFO: neon service started
[2025-01-10 02:28:01] Production.INFO: ==6814== Releasing lock...
[2025-01-10 02:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 02:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 21:28:02] Production.INFO: ==6816== Lock acquired, processing the job...
[2025-01-09 21:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:28:02] Production.INFO: ==6818== Lock acquired, processing the job...
[2025-01-10 02:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 02:28:02] Production.INFO: ==6818== Releasing lock...
[2025-01-10 02:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 02:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 21:28:02] Production.INFO: ==6816== Releasing lock...
[2025-01-09 21:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 21:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 21:28:03] Production.INFO: ==6821== Lock acquired, processing the job...
[2025-01-09 21:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 21:28:03] Production.INFO: ==6827== Lock acquired, processing the job...
[2025-01-09 21:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 21:28:03] Production.INFO: ==6829== Lock acquired, processing the job...
[2025-01-09 21:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 21:28:03] Production.INFO: ==6823== Lock acquired, processing the job...
[2025-01-09 21:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 21:28:03] Production.INFO: ==6825== Lock acquired, processing the job...
[2025-01-09 21:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 21:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 21:28:03] Production.INFO: Account Balance Start.
[2025-01-09 21:28:03] Production.INFO: CreateAllLog Start
[2025-01-09 21:28:03] Production.INFO: 117
[2025-01-09 21:28:03] Production.INFO: ==6831== Lock acquired, processing the job...
[2025-01-09 21:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 21:28:03] Production.INFO: Date 2025-01-08
[2025-01-09 21:28:04] Production.INFO: Reseller ==> 0
[2025-01-09 21:28:04] Production.INFO: Date 2025-01-09
[2025-01-09 21:28:04] Production.INFO: Reseller ==> 0
[2025-01-09 21:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 21:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 21:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 21:28:04] Production.INFO: Total Charge 0
[2025-01-09 21:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 21:28:04] Production.INFO: CreateAllLog End
[2025-01-09 21:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:28:04] Production.ERROR: done
[2025-01-09 21:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 21:28:04] Production.INFO: ==6823== Releasing lock...
[2025-01-09 21:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 21:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 21:28:04] Production.INFO: count ==21
[2025-01-09 21:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:28:04] Production.INFO: count ==21
[2025-01-09 21:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212325') start
[2025-01-09 21:28:04] Production.ERROR: done
[2025-01-09 21:28:04] Production.INFO: Account Balance End.
[2025-01-09 21:28:04] Production.ERROR: CronJobId end 12
[2025-01-09 21:28:04] Production.INFO: ==6827== Releasing lock...
[2025-01-09 21:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 21:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 21:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212325') end
[2025-01-09 21:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 21:28:04] Production.INFO: 1
[2025-01-09 21:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 21:28:04] Production.INFO: ==6831== Releasing lock...
[2025-01-09 21:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 21:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 21:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 18:28:05
[end_date_ymd] => 2025-01-09 21:28:05
[RateCDR] => 1
)
[2025-01-09 21:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 18:28:05' and `end` < '2025-01-09 21:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 21:28:11] Production.ERROR: CronJobId end10
[2025-01-09 21:28:11] Production.INFO: ==6825== Releasing lock...
[2025-01-09 21:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 21:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 21:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 21:28:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 21:28:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 21:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 21:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 21:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 21:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 21:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 21:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 21:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 21:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 21:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 21:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 21:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 21:28:13] Production.INFO: call_cost start
[2025-01-09 21:28:13] Production.INFO: call_cost end
[2025-01-09 21:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 21:28:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 21:28:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 21:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 21:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 21:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 21:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 21:28:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 21:28:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 21:28:14] Production.INFO: ==6821== Releasing lock...
[2025-01-09 21:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 21:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 21:28:19] Production.INFO: count ==1125
[2025-01-09 21:28:19] Production.ERROR: pbx CDR StartTime 2025-01-09 18:28:05 - End Time 2025-01-09 21:28:05
[2025-01-09 21:28:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 21:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212326', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212326', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212326', 'tblTempVendorCDR_20' ) start
[2025-01-09 21:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212326', 'tblTempVendorCDR_20' ) end
[2025-01-09 21:28:19] Production.INFO: ProcessCDR(1,14212326,1,1,2)
[2025-01-09 21:28:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212326,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:28:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212326,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:28:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212326,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:28:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212326,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212326', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212326', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:28:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:28:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:28:22] Production.INFO: ==6829== Releasing lock...
[2025-01-09 21:28:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 21:28:22] Production.INFO: 36 MB #Memory Used#
[2025-01-10 02:29:02] Production.INFO: ==6887== Lock acquired, processing the job...
[2025-01-10 02:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 02:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 02:29:02] Production.INFO: neon service started
[2025-01-10 02:29:02] Production.INFO: neon service started
[2025-01-10 02:29:02] Production.INFO: ==6887== Releasing lock...
[2025-01-10 02:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 02:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 21:29:02] Production.INFO: ==6890== Lock acquired, processing the job...
[2025-01-09 21:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:29:02] Production.INFO: ==6892== Lock acquired, processing the job...
[2025-01-10 02:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 21:29:02] Production.INFO: ==6890== Releasing lock...
[2025-01-09 21:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 21:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 02:29:03] Production.INFO: ==6892== Releasing lock...
[2025-01-10 02:29:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 02:29:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 21:29:03] Production.INFO: ==6902== Lock acquired, processing the job...
[2025-01-09 21:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 21:29:03] Production.INFO: ==6894== Lock acquired, processing the job...
[2025-01-09 21:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 21:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:29:03] Production.INFO: ==6904== Lock acquired, processing the job...
[2025-01-09 21:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 21:29:04] Production.INFO: ==6896== Lock acquired, processing the job...
[2025-01-09 21:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 21:29:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 21:29:04] Production.INFO: ==6898== Lock acquired, processing the job...
[2025-01-09 21:29:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 21:29:04] Production.INFO: ==6900== Lock acquired, processing the job...
[2025-01-09 21:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 21:29:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:29:04] Production.INFO: count ==21
[2025-01-09 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-01-09 21:29:04] Production.INFO: count ==21
[2025-01-09 21:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212328') start
[2025-01-09 21:29:04] Production.INFO: Account Balance Start.
[2025-01-09 21:29:04] Production.INFO: CreateAllLog Start
[2025-01-09 21:29:04] Production.INFO: 117
[2025-01-09 21:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 21:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 21:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 21:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 21:29:04] Production.INFO: Date 2025-01-08
[2025-01-09 21:29:04] Production.INFO: Reseller ==> 0
[2025-01-09 21:29:04] Production.ERROR: done
[2025-01-09 21:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 21:29:04] Production.INFO: Date 2025-01-09
[2025-01-09 21:29:04] Production.INFO: Reseller ==> 0
[2025-01-09 21:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212328') end
[2025-01-09 21:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 21:29:04] Production.INFO: 1
[2025-01-09 21:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 21:29:04] Production.INFO: Total Charge 0
[2025-01-09 21:29:04] Production.INFO: CreateAllLog End
[2025-01-09 21:29:04] Production.ERROR: done
[2025-01-09 21:29:04] Production.INFO: ==6896== Releasing lock...
[2025-01-09 21:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 21:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 21:29:04] Production.INFO: ==6904== Releasing lock...
[2025-01-09 21:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 21:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 21:29:04] Production.INFO: Account Balance End.
[2025-01-09 21:29:04] Production.ERROR: CronJobId end 12
[2025-01-09 21:29:04] Production.INFO: ==6900== Releasing lock...
[2025-01-09 21:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 21:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 21:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 18:29:05
[end_date_ymd] => 2025-01-09 21:29:05
[RateCDR] => 1
)
[2025-01-09 21:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 18:29:05' and `end` < '2025-01-09 21:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 21:29:11] Production.ERROR: CronJobId end10
[2025-01-09 21:29:11] Production.INFO: ==6898== Releasing lock...
[2025-01-09 21:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 21:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 21:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 21:29:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 21:29:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 21:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 21:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 21:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 21:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 21:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 21:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 21:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 21:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 21:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 21:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 21:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 21:29:13] Production.INFO: call_cost start
[2025-01-09 21:29:13] Production.INFO: call_cost end
[2025-01-09 21:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 21:29:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 21:29:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 21:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 21:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 21:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 21:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 21:29:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 21:29:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 21:29:14] Production.INFO: ==6894== Releasing lock...
[2025-01-09 21:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 21:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 21:29:19] Production.INFO: count ==1114
[2025-01-09 21:29:19] Production.ERROR: pbx CDR StartTime 2025-01-09 18:29:05 - End Time 2025-01-09 21:29:05
[2025-01-09 21:29:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 21:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212331', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212331', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212331', 'tblTempVendorCDR_20' ) start
[2025-01-09 21:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212331', 'tblTempVendorCDR_20' ) end
[2025-01-09 21:29:19] Production.INFO: ProcessCDR(1,14212331,1,1,2)
[2025-01-09 21:29:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212331,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:29:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212331,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:29:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212331,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:29:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212331,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212331', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212331', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:29:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:29:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:29:22] Production.INFO: ==6902== Releasing lock...
[2025-01-09 21:29:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 21:29:22] Production.INFO: 36.25 MB #Memory Used#
[2025-01-10 02:30:01] Production.INFO: ==6961== Lock acquired, processing the job...
[2025-01-10 02:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 02:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 02:30:01] Production.INFO: neon service started
[2025-01-10 02:30:01] Production.INFO: neon service started
[2025-01-10 02:30:01] Production.INFO: ==6961== Releasing lock...
[2025-01-10 02:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 02:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:30:02] Production.INFO: ==6965== Lock acquired, processing the job...
[2025-01-10 02:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 02:30:02] Production.INFO: ==6965== Releasing lock...
[2025-01-10 02:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 02:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 21:30:02] Production.INFO: ==6963== Lock acquired, processing the job...
[2025-01-09 21:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:30:02] Production.INFO: ==6963== Releasing lock...
[2025-01-09 21:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 21:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 21:30:03] Production.INFO: ==6967== Lock acquired, processing the job...
[2025-01-09 21:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 21:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 21:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 21:30:03] Production.INFO: ==6967== Releasing lock...
[2025-01-09 21:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 21:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 21:30:03] Production.INFO: ==6975== Lock acquired, processing the job...
[2025-01-09 21:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 21:30:03] Production.INFO: ==6971== Lock acquired, processing the job...
[2025-01-09 21:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 21:30:03] Production.INFO: ==6978== Lock acquired, processing the job...
[2025-01-09 21:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 21:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:30:03] Production.INFO: ==6969== Lock acquired, processing the job...
[2025-01-09 21:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 21:30:03] Production.INFO: ==6973== Lock acquired, processing the job...
[2025-01-09 21:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 21:30:03] Production.INFO: Account Balance Start.
[2025-01-09 21:30:03] Production.INFO: CreateAllLog Start
[2025-01-09 21:30:03] Production.INFO: 117
[2025-01-09 21:30:03] Production.INFO: ==6980== Lock acquired, processing the job...
[2025-01-09 21:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 21:30:04] Production.INFO: ==6982== Lock acquired, processing the job...
[2025-01-09 21:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 21:30:04] Production.INFO: Date 2025-01-08
[2025-01-09 21:30:04] Production.INFO: Reseller ==> 0
[2025-01-09 21:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 21:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 21:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 21:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 21:30:04] Production.INFO: Date 2025-01-09
[2025-01-09 21:30:04] Production.INFO: Reseller ==> 0
[2025-01-09 21:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 21:30:04] Production.INFO: Total Charge 0
[2025-01-09 21:30:04] Production.INFO: CreateAllLog End
[2025-01-09 21:30:04] Production.INFO: ==6971== Releasing lock...
[2025-01-09 21:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 21:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 21:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:30:04] Production.INFO: count ==21
[2025-01-09 21:30:04] Production.ERROR: done
[2025-01-09 21:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 21:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:30:04] Production.INFO: count ==21
[2025-01-09 21:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212335') start
[2025-01-09 21:30:04] Production.INFO: Account Balance End.
[2025-01-09 21:30:04] Production.ERROR: done
[2025-01-09 21:30:04] Production.ERROR: done
[2025-01-09 21:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 21:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14212336', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 21:30:04] Production.ERROR: CronJobId end 12
[2025-01-09 21:30:04] Production.INFO: ==6975== Releasing lock...
[2025-01-09 21:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 21:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 21:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212335') end
[2025-01-09 21:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 21:30:04] Production.INFO: 1
[2025-01-09 21:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 21:30:04] Production.INFO: ==6982== Releasing lock...
[2025-01-09 21:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 21:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 21:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 18:30:05
[end_date_ymd] => 2025-01-09 21:30:05
[RateCDR] => 1
)
[2025-01-09 21:30:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 18:30:05' and `end` < '2025-01-09 21:30:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 21:30:07] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14212336', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 21:30:07] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 21:30:07] Production.INFO: ProcessCDR(1,14212336,1,1,2)
[2025-01-09 21:30:07] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14212336,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:30:07] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14212336,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:30:07] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:30:07] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:30:07] Production.INFO: ==6980== Releasing lock...
[2025-01-09 21:30:07] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 21:30:07] Production.INFO: 26 MB #Memory Used#
[2025-01-09 21:30:12] Production.ERROR: CronJobId end10
[2025-01-09 21:30:12] Production.INFO: ==6973== Releasing lock...
[2025-01-09 21:30:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 21:30:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 21:30:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 21:30:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 21:30:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 21:30:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 21:30:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 21:30:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 21:30:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 21:30:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 21:30:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 21:30:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 21:30:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 21:30:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 21:30:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 21:30:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 21:30:14] Production.INFO: call_cost start
[2025-01-09 21:30:14] Production.INFO: call_cost end
[2025-01-09 21:30:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 21:30:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 21:30:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 21:30:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 21:30:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 21:30:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 21:30:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 21:30:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 21:30:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 21:30:15] Production.INFO: ==6969== Releasing lock...
[2025-01-09 21:30:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 21:30:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 21:30:18] Production.INFO: count ==1112
[2025-01-09 21:30:18] Production.ERROR: pbx CDR StartTime 2025-01-09 18:30:05 - End Time 2025-01-09 21:30:05
[2025-01-09 21:30:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 21:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212337', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212337', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212337', 'tblTempVendorCDR_20' ) start
[2025-01-09 21:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212337', 'tblTempVendorCDR_20' ) end
[2025-01-09 21:30:18] Production.INFO: ProcessCDR(1,14212337,1,1,2)
[2025-01-09 21:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212337,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:30:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212337,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:30:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212337,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:30:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212337,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212337', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212337', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:30:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:30:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:30:21] Production.INFO: ==6978== Releasing lock...
[2025-01-09 21:30:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 21:30:21] Production.INFO: 36 MB #Memory Used#
[2025-01-10 02:31:02] Production.INFO: ==7042== Lock acquired, processing the job...
[2025-01-10 02:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 02:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 02:31:02] Production.INFO: neon service started
[2025-01-10 02:31:02] Production.INFO: neon service started
[2025-01-10 02:31:02] Production.INFO: ==7042== Releasing lock...
[2025-01-10 02:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 02:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 21:31:02] Production.INFO: ==7044== Lock acquired, processing the job...
[2025-01-09 21:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:31:02] Production.INFO: ==7044== Releasing lock...
[2025-01-09 21:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 21:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 02:31:03] Production.INFO: ==7046== Lock acquired, processing the job...
[2025-01-10 02:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 02:31:03] Production.INFO: ==7046== Releasing lock...
[2025-01-10 02:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 02:31:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 21:31:03] Production.INFO: ==7051== Lock acquired, processing the job...
[2025-01-09 21:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 21:31:03] Production.INFO: ==7057== Lock acquired, processing the job...
[2025-01-09 21:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 21:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:31:03] Production.INFO: ==7049== Lock acquired, processing the job...
[2025-01-09 21:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 21:31:04] Production.INFO: ==7053== Lock acquired, processing the job...
[2025-01-09 21:31:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 21:31:04] Production.INFO: ==7055== Lock acquired, processing the job...
[2025-01-09 21:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 21:31:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 21:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 21:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 21:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 21:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 21:31:04] Production.ERROR: done
[2025-01-09 21:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 21:31:04] Production.INFO: ==7059== Lock acquired, processing the job...
[2025-01-09 21:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 21:31:04] Production.INFO: Account Balance Start.
[2025-01-09 21:31:04] Production.INFO: CreateAllLog Start
[2025-01-09 21:31:04] Production.INFO: 117
[2025-01-09 21:31:04] Production.INFO: ==7051== Releasing lock...
[2025-01-09 21:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 21:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 21:31:04] Production.INFO: Date 2025-01-08
[2025-01-09 21:31:04] Production.ERROR: done
[2025-01-09 21:31:04] Production.INFO: Reseller ==> 0
[2025-01-09 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-01-09 21:31:04] Production.INFO: count ==21
[2025-01-09 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-01-09 21:31:04] Production.INFO: Date 2025-01-09
[2025-01-09 21:31:04] Production.INFO: count ==21
[2025-01-09 21:31:04] Production.INFO: Reseller ==> 0
[2025-01-09 21:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212341') start
[2025-01-09 21:31:04] Production.INFO: Total Charge 0
[2025-01-09 21:31:04] Production.INFO: CreateAllLog End
[2025-01-09 21:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212341') end
[2025-01-09 21:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 21:31:04] Production.INFO: 1
[2025-01-09 21:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 21:31:04] Production.INFO: Account Balance End.
[2025-01-09 21:31:04] Production.ERROR: CronJobId end 12
[2025-01-09 21:31:04] Production.INFO: ==7055== Releasing lock...
[2025-01-09 21:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 21:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 21:31:04] Production.INFO: ==7059== Releasing lock...
[2025-01-09 21:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 21:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 21:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 18:31:05
[end_date_ymd] => 2025-01-09 21:31:05
[RateCDR] => 1
)
[2025-01-09 21:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 18:31:05' and `end` < '2025-01-09 21:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 21:31:12] Production.ERROR: CronJobId end10
[2025-01-09 21:31:12] Production.INFO: ==7053== Releasing lock...
[2025-01-09 21:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 21:31:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 21:31:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 21:31:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 21:31:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 21:31:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 21:31:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 21:31:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 21:31:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 21:31:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 21:31:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 21:31:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 21:31:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 21:31:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 21:31:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 21:31:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 21:31:14] Production.INFO: call_cost start
[2025-01-09 21:31:14] Production.INFO: call_cost end
[2025-01-09 21:31:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 21:31:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 21:31:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 21:31:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 21:31:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 21:31:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 21:31:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 21:31:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 21:31:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 21:31:15] Production.INFO: ==7049== Releasing lock...
[2025-01-09 21:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 21:31:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 21:31:19] Production.INFO: count ==1060
[2025-01-09 21:31:19] Production.ERROR: pbx CDR StartTime 2025-01-09 18:31:05 - End Time 2025-01-09 21:31:05
[2025-01-09 21:31:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 21:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212342', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212342', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212342', 'tblTempVendorCDR_20' ) start
[2025-01-09 21:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212342', 'tblTempVendorCDR_20' ) end
[2025-01-09 21:31:19] Production.INFO: ProcessCDR(1,14212342,1,1,2)
[2025-01-09 21:31:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212342,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:31:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212342,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:31:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212342,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:31:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212342,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212342', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212342', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:31:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:31:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:31:22] Production.INFO: ==7057== Releasing lock...
[2025-01-09 21:31:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 21:31:22] Production.INFO: 35.5 MB #Memory Used#
[2025-01-10 02:32:01] Production.INFO: ==7130== Lock acquired, processing the job...
[2025-01-10 02:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 02:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 02:32:01] Production.INFO: neon service started
[2025-01-10 02:32:01] Production.INFO: neon service started
[2025-01-10 02:32:01] Production.INFO: ==7130== Releasing lock...
[2025-01-10 02:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 02:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 21:32:02] Production.INFO: ==7132== Lock acquired, processing the job...
[2025-01-09 21:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:32:02] Production.INFO: ==7134== Lock acquired, processing the job...
[2025-01-10 02:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 02:32:02] Production.INFO: ==7134== Releasing lock...
[2025-01-10 02:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 02:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 21:32:02] Production.INFO: ==7132== Releasing lock...
[2025-01-09 21:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 21:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 21:32:03] Production.INFO: ==7139== Lock acquired, processing the job...
[2025-01-09 21:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 21:32:03] Production.INFO: ==7145== Lock acquired, processing the job...
[2025-01-09 21:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 21:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:32:03] Production.INFO: ==7137== Lock acquired, processing the job...
[2025-01-09 21:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 21:32:03] Production.INFO: ==7141== Lock acquired, processing the job...
[2025-01-09 21:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 21:32:03] Production.INFO: ==7143== Lock acquired, processing the job...
[2025-01-09 21:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 21:32:03] Production.INFO: ==7147== Lock acquired, processing the job...
[2025-01-09 21:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 21:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 21:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 21:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 21:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 21:32:03] Production.INFO: Account Balance Start.
[2025-01-09 21:32:03] Production.INFO: CreateAllLog Start
[2025-01-09 21:32:03] Production.INFO: 117
[2025-01-09 21:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 21:32:03] Production.INFO: ==7139== Releasing lock...
[2025-01-09 21:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 21:32:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 21:32:03] Production.INFO: Date 2025-01-08
[2025-01-09 21:32:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:32:03] Production.INFO: Reseller ==> 0
[2025-01-09 21:32:03] Production.ERROR: done
[2025-01-09 21:32:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 21:32:03] Production.INFO: count ==21
[2025-01-09 21:32:03] Production.INFO: Date 2025-01-09
[2025-01-09 21:32:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:32:03] Production.INFO: count ==21
[2025-01-09 21:32:03] Production.INFO: Reseller ==> 0
[2025-01-09 21:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212346') start
[2025-01-09 21:32:03] Production.INFO: Total Charge 0
[2025-01-09 21:32:03] Production.INFO: CreateAllLog End
[2025-01-09 21:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212346') end
[2025-01-09 21:32:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 21:32:03] Production.INFO: 1
[2025-01-09 21:32:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 21:32:03] Production.ERROR: done
[2025-01-09 21:32:04] Production.INFO: ==7147== Releasing lock...
[2025-01-09 21:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 21:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 21:32:04] Production.INFO: Account Balance End.
[2025-01-09 21:32:04] Production.ERROR: CronJobId end 12
[2025-01-09 21:32:04] Production.INFO: ==7143== Releasing lock...
[2025-01-09 21:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 21:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 21:32:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 18:32:04
[end_date_ymd] => 2025-01-09 21:32:04
[RateCDR] => 1
)
[2025-01-09 21:32:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 18:32:04' and `end` < '2025-01-09 21:32:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 21:32:11] Production.ERROR: CronJobId end10
[2025-01-09 21:32:11] Production.INFO: ==7141== Releasing lock...
[2025-01-09 21:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 21:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 21:32:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 21:32:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 21:32:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 21:32:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 21:32:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 21:32:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 21:32:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 21:32:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 21:32:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 21:32:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 21:32:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 21:32:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 21:32:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 21:32:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 21:32:12] Production.INFO: call_cost start
[2025-01-09 21:32:12] Production.INFO: call_cost end
[2025-01-09 21:32:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 21:32:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 21:32:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 21:32:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 21:32:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 21:32:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 21:32:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 21:32:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 21:32:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 21:32:13] Production.INFO: ==7137== Releasing lock...
[2025-01-09 21:32:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 21:32:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 21:32:18] Production.INFO: count ==1056
[2025-01-09 21:32:18] Production.ERROR: pbx CDR StartTime 2025-01-09 18:32:04 - End Time 2025-01-09 21:32:04
[2025-01-09 21:32:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 21:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212347', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212347', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212347', 'tblTempVendorCDR_20' ) start
[2025-01-09 21:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212347', 'tblTempVendorCDR_20' ) end
[2025-01-09 21:32:18] Production.INFO: ProcessCDR(1,14212347,1,1,2)
[2025-01-09 21:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212347,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212347,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212347,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212347,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212347', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212347', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:32:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:32:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:32:21] Production.INFO: ==7145== Releasing lock...
[2025-01-09 21:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 21:32:21] Production.INFO: 35.5 MB #Memory Used#
[2025-01-10 02:33:02] Production.INFO: ==7219== Lock acquired, processing the job...
[2025-01-10 02:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 02:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 02:33:02] Production.INFO: neon service started
[2025-01-10 02:33:02] Production.INFO: neon service started
[2025-01-10 02:33:02] Production.INFO: ==7219== Releasing lock...
[2025-01-10 02:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 02:33:02] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 21:33:02] Production.INFO: ==7221== Lock acquired, processing the job...
[2025-01-09 21:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:33:02] Production.INFO: ==7223== Lock acquired, processing the job...
[2025-01-10 02:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 02:33:02] Production.INFO: ==7223== Releasing lock...
[2025-01-10 02:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 02:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 21:33:02] Production.INFO: ==7221== Releasing lock...
[2025-01-09 21:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 21:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 21:33:03] Production.INFO: ==7226== Lock acquired, processing the job...
[2025-01-09 21:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 21:33:03] Production.INFO: ==7230== Lock acquired, processing the job...
[2025-01-09 21:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 21:33:03] Production.INFO: ==7228== Lock acquired, processing the job...
[2025-01-09 21:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 21:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 21:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 21:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 21:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 21:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 21:33:03] Production.INFO: ==7232== Lock acquired, processing the job...
[2025-01-09 21:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 21:33:03] Production.INFO: ==7228== Releasing lock...
[2025-01-09 21:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 21:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 21:33:04] Production.INFO: ==7236== Lock acquired, processing the job...
[2025-01-09 21:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 21:33:04] Production.INFO: ==7234== Lock acquired, processing the job...
[2025-01-09 21:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 21:33:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:33:04] Production.INFO: Account Balance Start.
[2025-01-09 21:33:04] Production.INFO: CreateAllLog Start
[2025-01-09 21:33:04] Production.INFO: 117
[2025-01-09 21:33:04] Production.INFO: Date 2025-01-08
[2025-01-09 21:33:04] Production.INFO: Reseller ==> 0
[2025-01-09 21:33:04] Production.INFO: Date 2025-01-09
[2025-01-09 21:33:04] Production.INFO: Reseller ==> 0
[2025-01-09 21:33:04] Production.INFO: Total Charge 0
[2025-01-09 21:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:33:04] Production.INFO: CreateAllLog End
[2025-01-09 21:33:04] Production.INFO: count ==21
[2025-01-09 21:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:33:04] Production.ERROR: done
[2025-01-09 21:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 21:33:04] Production.INFO: count ==21
[2025-01-09 21:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212351') start
[2025-01-09 21:33:04] Production.ERROR: done
[2025-01-09 21:33:04] Production.INFO: Account Balance End.
[2025-01-09 21:33:04] Production.ERROR: CronJobId end 12
[2025-01-09 21:33:04] Production.INFO: ==7232== Releasing lock...
[2025-01-09 21:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 21:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 21:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212351') end
[2025-01-09 21:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 21:33:04] Production.INFO: 1
[2025-01-09 21:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 21:33:04] Production.INFO: ==7236== Releasing lock...
[2025-01-09 21:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 21:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 21:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 18:33:05
[end_date_ymd] => 2025-01-09 21:33:05
[RateCDR] => 1
)
[2025-01-09 21:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 18:33:05' and `end` < '2025-01-09 21:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 21:33:12] Production.ERROR: CronJobId end10
[2025-01-09 21:33:12] Production.INFO: ==7230== Releasing lock...
[2025-01-09 21:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 21:33:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 21:33:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 21:33:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 21:33:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 21:33:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 21:33:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 21:33:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 21:33:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 21:33:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 21:33:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 21:33:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 21:33:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 21:33:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 21:33:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 21:33:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 21:33:13] Production.INFO: call_cost start
[2025-01-09 21:33:13] Production.INFO: call_cost end
[2025-01-09 21:33:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 21:33:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 21:33:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 21:33:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 21:33:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 21:33:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 21:33:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 21:33:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 21:33:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 21:33:13] Production.INFO: ==7226== Releasing lock...
[2025-01-09 21:33:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 21:33:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 21:33:18] Production.INFO: count ==1054
[2025-01-09 21:33:18] Production.ERROR: pbx CDR StartTime 2025-01-09 18:33:05 - End Time 2025-01-09 21:33:05
[2025-01-09 21:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 21:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212352', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212352', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212352', 'tblTempVendorCDR_20' ) start
[2025-01-09 21:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212352', 'tblTempVendorCDR_20' ) end
[2025-01-09 21:33:18] Production.INFO: ProcessCDR(1,14212352,1,1,2)
[2025-01-09 21:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212352,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212352,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212352,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212352,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212352', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212352', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:33:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:33:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:33:21] Production.INFO: ==7234== Releasing lock...
[2025-01-09 21:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 21:33:21] Production.INFO: 35.5 MB #Memory Used#
[2025-01-10 02:34:01] Production.INFO: ==7316== Lock acquired, processing the job...
[2025-01-10 02:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 02:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 02:34:01] Production.INFO: neon service started
[2025-01-10 02:34:01] Production.INFO: neon service started
[2025-01-10 02:34:01] Production.INFO: ==7316== Releasing lock...
[2025-01-10 02:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 02:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 21:34:01] Production.INFO: ==7318== Lock acquired, processing the job...
[2025-01-09 21:34:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:34:02] Production.INFO: ==7318== Releasing lock...
[2025-01-09 21:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 21:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 02:34:02] Production.INFO: ==7320== Lock acquired, processing the job...
[2025-01-10 02:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 02:34:02] Production.INFO: ==7320== Releasing lock...
[2025-01-10 02:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 02:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 21:34:02] Production.INFO: ==7324== Lock acquired, processing the job...
[2025-01-09 21:34:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 21:34:03] Production.INFO: ==7322== Lock acquired, processing the job...
[2025-01-09 21:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 21:34:03] Production.INFO: ==7324== Releasing lock...
[2025-01-09 21:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 21:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 21:34:03] Production.INFO: ==7326== Lock acquired, processing the job...
[2025-01-09 21:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 21:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 21:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 21:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 21:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 21:34:03] Production.INFO: ==7331== Lock acquired, processing the job...
[2025-01-09 21:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 21:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 21:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:34:03] Production.INFO: ==7328== Lock acquired, processing the job...
[2025-01-09 21:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 21:34:03] Production.INFO: ==7333== Lock acquired, processing the job...
[2025-01-09 21:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 21:34:03] Production.INFO: Account Balance Start.
[2025-01-09 21:34:03] Production.INFO: CreateAllLog Start
[2025-01-09 21:34:03] Production.INFO: 117
[2025-01-09 21:34:03] Production.INFO: Date 2025-01-08
[2025-01-09 21:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:34:03] Production.INFO: Reseller ==> 0
[2025-01-09 21:34:03] Production.INFO: count ==21
[2025-01-09 21:34:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:34:03] Production.ERROR: done
[2025-01-09 21:34:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 21:34:03] Production.INFO: count ==21
[2025-01-09 21:34:03] Production.INFO: Date 2025-01-09
[2025-01-09 21:34:03] Production.INFO: Reseller ==> 0
[2025-01-09 21:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212356') start
[2025-01-09 21:34:03] Production.INFO: Total Charge 0
[2025-01-09 21:34:03] Production.INFO: CreateAllLog End
[2025-01-09 21:34:03] Production.ERROR: done
[2025-01-09 21:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212356') end
[2025-01-09 21:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 21:34:04] Production.INFO: 1
[2025-01-09 21:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 21:34:04] Production.INFO: Account Balance End.
[2025-01-09 21:34:04] Production.INFO: ==7333== Releasing lock...
[2025-01-09 21:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 21:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 21:34:04] Production.ERROR: CronJobId end 12
[2025-01-09 21:34:04] Production.INFO: ==7328== Releasing lock...
[2025-01-09 21:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 21:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 21:34:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 18:34:04
[end_date_ymd] => 2025-01-09 21:34:04
[RateCDR] => 1
)
[2025-01-09 21:34:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 18:34:04' and `end` < '2025-01-09 21:34:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 21:34:11] Production.ERROR: CronJobId end10
[2025-01-09 21:34:11] Production.INFO: ==7326== Releasing lock...
[2025-01-09 21:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 21:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 21:34:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 21:34:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 21:34:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 21:34:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 21:34:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 21:34:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 21:34:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 21:34:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 21:34:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 21:34:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 21:34:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 21:34:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 21:34:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 21:34:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 21:34:12] Production.INFO: call_cost start
[2025-01-09 21:34:12] Production.INFO: call_cost end
[2025-01-09 21:34:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 21:34:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 21:34:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 21:34:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 21:34:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 21:34:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 21:34:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 21:34:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 21:34:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 21:34:13] Production.INFO: ==7322== Releasing lock...
[2025-01-09 21:34:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 21:34:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 21:34:17] Production.INFO: count ==1053
[2025-01-09 21:34:18] Production.ERROR: pbx CDR StartTime 2025-01-09 18:34:04 - End Time 2025-01-09 21:34:04
[2025-01-09 21:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 21:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212357', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212357', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212357', 'tblTempVendorCDR_20' ) start
[2025-01-09 21:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212357', 'tblTempVendorCDR_20' ) end
[2025-01-09 21:34:18] Production.INFO: ProcessCDR(1,14212357,1,1,2)
[2025-01-09 21:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212357,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212357,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212357,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212357,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212357', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212357', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:34:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:34:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:34:21] Production.INFO: ==7331== Releasing lock...
[2025-01-09 21:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 21:34:21] Production.INFO: 35.75 MB #Memory Used#
[2025-01-10 02:35:02] Production.INFO: ==7406== Lock acquired, processing the job...
[2025-01-10 02:35:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 02:35:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 02:35:02] Production.INFO: neon service started
[2025-01-10 02:35:02] Production.INFO: neon service started
[2025-01-10 02:35:02] Production.INFO: ==7406== Releasing lock...
[2025-01-10 02:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 02:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 21:35:02] Production.INFO: ==7409== Lock acquired, processing the job...
[2025-01-09 21:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:35:02] Production.INFO: ==7409== Releasing lock...
[2025-01-09 21:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 21:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 02:35:02] Production.INFO: ==7411== Lock acquired, processing the job...
[2025-01-10 02:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 02:35:02] Production.INFO: ==7411== Releasing lock...
[2025-01-10 02:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 02:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 21:35:03] Production.INFO: ==7417== Lock acquired, processing the job...
[2025-01-09 21:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 21:35:03] Production.INFO: ==7421== Lock acquired, processing the job...
[2025-01-09 21:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 21:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 21:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 21:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 21:35:03] Production.INFO: ==7413== Lock acquired, processing the job...
[2025-01-09 21:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 21:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 21:35:03] Production.INFO: ==7415== Lock acquired, processing the job...
[2025-01-09 21:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 21:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 21:35:03] Production.INFO: ==7419== Lock acquired, processing the job...
[2025-01-09 21:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 21:35:04] Production.INFO: ==7423== Lock acquired, processing the job...
[2025-01-09 21:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 21:35:04] Production.INFO: Account Balance Start.
[2025-01-09 21:35:04] Production.INFO: CreateAllLog Start
[2025-01-09 21:35:04] Production.INFO: 117
[2025-01-09 21:35:04] Production.INFO: Date 2025-01-08
[2025-01-09 21:35:04] Production.INFO: Reseller ==> 0
[2025-01-09 21:35:04] Production.ERROR: done
[2025-01-09 21:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 21:35:04] Production.INFO: Date 2025-01-09
[2025-01-09 21:35:04] Production.INFO: Reseller ==> 0
[2025-01-09 21:35:04] Production.INFO: Total Charge 0
[2025-01-09 21:35:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:35:04] Production.INFO: count ==21
[2025-01-09 21:35:04] Production.INFO: CreateAllLog End
[2025-01-09 21:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:35:04] Production.INFO: count ==21
[2025-01-09 21:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212361') start
[2025-01-09 21:35:04] Production.ERROR: done
[2025-01-09 21:35:04] Production.INFO: ==7415== Releasing lock...
[2025-01-09 21:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 21:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 21:35:04] Production.INFO: Account Balance End.
[2025-01-09 21:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212361') end
[2025-01-09 21:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 21:35:04] Production.INFO: 1
[2025-01-09 21:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 21:35:04] Production.ERROR: CronJobId end 12
[2025-01-09 21:35:04] Production.INFO: ==7419== Releasing lock...
[2025-01-09 21:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 21:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 21:35:04] Production.INFO: ==7423== Releasing lock...
[2025-01-09 21:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 21:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 21:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 18:35:05
[end_date_ymd] => 2025-01-09 21:35:05
[RateCDR] => 1
)
[2025-01-09 21:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 18:35:05' and `end` < '2025-01-09 21:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 21:35:13] Production.ERROR: CronJobId end10
[2025-01-09 21:35:13] Production.INFO: ==7417== Releasing lock...
[2025-01-09 21:35:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 21:35:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 21:35:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 21:35:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 21:35:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 21:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 21:35:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 21:35:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 21:35:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 21:35:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 21:35:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 21:35:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 21:35:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 21:35:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 21:35:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 21:35:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 21:35:13] Production.INFO: call_cost start
[2025-01-09 21:35:13] Production.INFO: call_cost end
[2025-01-09 21:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 21:35:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 21:35:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 21:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 21:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 21:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 21:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 21:35:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 21:35:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 21:35:14] Production.INFO: ==7413== Releasing lock...
[2025-01-09 21:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 21:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 21:35:18] Production.INFO: count ==1045
[2025-01-09 21:35:18] Production.ERROR: pbx CDR StartTime 2025-01-09 18:35:05 - End Time 2025-01-09 21:35:05
[2025-01-09 21:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 21:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212362', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212362', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212362', 'tblTempVendorCDR_20' ) start
[2025-01-09 21:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212362', 'tblTempVendorCDR_20' ) end
[2025-01-09 21:35:18] Production.INFO: ProcessCDR(1,14212362,1,1,2)
[2025-01-09 21:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212362,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212362,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212362,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212362,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212362', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212362', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:35:21] Production.INFO: ==7421== Releasing lock...
[2025-01-09 21:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 21:35:21] Production.INFO: 35.5 MB #Memory Used#
[2025-01-10 02:36:01] Production.INFO: ==7500== Lock acquired, processing the job...
[2025-01-10 02:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 02:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 02:36:01] Production.INFO: neon service started
[2025-01-10 02:36:01] Production.INFO: neon service started
[2025-01-10 02:36:01] Production.INFO: ==7500== Releasing lock...
[2025-01-10 02:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 02:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 21:36:01] Production.INFO: ==7502== Lock acquired, processing the job...
[2025-01-09 21:36:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:36:02] Production.INFO: ==7504== Lock acquired, processing the job...
[2025-01-10 02:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 21:36:02] Production.INFO: ==7502== Releasing lock...
[2025-01-09 21:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 21:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 02:36:02] Production.INFO: ==7504== Releasing lock...
[2025-01-10 02:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 02:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 21:36:02] Production.INFO: ==7506== Lock acquired, processing the job...
[2025-01-09 21:36:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 21:36:02] Production.INFO: ==7512== Lock acquired, processing the job...
[2025-01-09 21:36:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 21:36:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 21:36:02] Production.INFO: Account Balance Start.
[2025-01-09 21:36:02] Production.INFO: CreateAllLog Start
[2025-01-09 21:36:02] Production.INFO: 117
[2025-01-09 21:36:02] Production.INFO: Date 2025-01-08
[2025-01-09 21:36:02] Production.INFO: Reseller ==> 0
[2025-01-09 21:36:02] Production.INFO: Date 2025-01-09
[2025-01-09 21:36:02] Production.INFO: Reseller ==> 0
[2025-01-09 21:36:02] Production.INFO: Total Charge 0
[2025-01-09 21:36:02] Production.INFO: CreateAllLog End
[2025-01-09 21:36:03] Production.INFO: Account Balance End.
[2025-01-09 21:36:03] Production.ERROR: CronJobId end 12
[2025-01-09 21:36:03] Production.INFO: ==7512== Releasing lock...
[2025-01-09 21:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 21:36:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 21:36:03] Production.INFO: ==7516== Lock acquired, processing the job...
[2025-01-09 21:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 21:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:36:03] Production.INFO: ==7508== Lock acquired, processing the job...
[2025-01-09 21:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 21:36:03] Production.INFO: ==7510== Lock acquired, processing the job...
[2025-01-09 21:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 21:36:03] Production.INFO: count ==21
[2025-01-09 21:36:03] Production.INFO: ==7514== Lock acquired, processing the job...
[2025-01-09 21:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 21:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:36:03] Production.INFO: count ==21
[2025-01-09 21:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212365') start
[2025-01-09 21:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 21:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 21:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 21:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 21:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212365') end
[2025-01-09 21:36:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 21:36:03] Production.INFO: 1
[2025-01-09 21:36:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 21:36:03] Production.INFO: ==7516== Releasing lock...
[2025-01-09 21:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 21:36:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 21:36:03] Production.INFO: ==7508== Releasing lock...
[2025-01-09 21:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 21:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 21:36:03] Production.ERROR: done
[2025-01-09 21:36:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 21:36:04] Production.ERROR: done
[2025-01-09 21:36:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 18:36:04
[end_date_ymd] => 2025-01-09 21:36:04
[RateCDR] => 1
)
[2025-01-09 21:36:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 18:36:04' and `end` < '2025-01-09 21:36:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 21:36:12] Production.ERROR: CronJobId end10
[2025-01-09 21:36:12] Production.INFO: ==7510== Releasing lock...
[2025-01-09 21:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 21:36:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 21:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 21:36:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 21:36:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 21:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 21:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 21:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 21:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 21:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 21:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 21:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 21:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 21:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 21:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 21:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 21:36:13] Production.INFO: call_cost start
[2025-01-09 21:36:13] Production.INFO: call_cost end
[2025-01-09 21:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 21:36:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 21:36:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 21:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 21:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 21:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 21:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 21:36:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 21:36:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 21:36:14] Production.INFO: ==7506== Releasing lock...
[2025-01-09 21:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 21:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 21:36:18] Production.INFO: count ==1040
[2025-01-09 21:36:18] Production.ERROR: pbx CDR StartTime 2025-01-09 18:36:04 - End Time 2025-01-09 21:36:04
[2025-01-09 21:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 21:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212367', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212367', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212367', 'tblTempVendorCDR_20' ) start
[2025-01-09 21:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212367', 'tblTempVendorCDR_20' ) end
[2025-01-09 21:36:18] Production.INFO: ProcessCDR(1,14212367,1,1,2)
[2025-01-09 21:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212367,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212367,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212367,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:36:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212367,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212367', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212367', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:36:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:36:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:36:21] Production.INFO: ==7514== Releasing lock...
[2025-01-09 21:36:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 21:36:21] Production.INFO: 35.5 MB #Memory Used#
[2025-01-10 02:37:01] Production.INFO: ==7593== Lock acquired, processing the job...
[2025-01-10 02:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 02:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 02:37:01] Production.INFO: neon service started
[2025-01-10 02:37:01] Production.INFO: neon service started
[2025-01-10 02:37:01] Production.INFO: ==7593== Releasing lock...
[2025-01-10 02:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 02:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 21:37:02] Production.INFO: ==7595== Lock acquired, processing the job...
[2025-01-09 21:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:37:02] Production.INFO: ==7597== Lock acquired, processing the job...
[2025-01-10 02:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 02:37:02] Production.INFO: ==7597== Releasing lock...
[2025-01-10 02:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 02:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 21:37:02] Production.INFO: ==7595== Releasing lock...
[2025-01-09 21:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 21:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 21:37:03] Production.INFO: ==7604== Lock acquired, processing the job...
[2025-01-09 21:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 21:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 21:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 21:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 21:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 21:37:03] Production.INFO: ==7610== Lock acquired, processing the job...
[2025-01-09 21:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 21:37:03] Production.INFO: ==7600== Lock acquired, processing the job...
[2025-01-09 21:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 21:37:03] Production.INFO: ==7602== Lock acquired, processing the job...
[2025-01-09 21:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 21:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:37:03] Production.INFO: count ==21
[2025-01-09 21:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:37:03] Production.INFO: count ==21
[2025-01-09 21:37:03] Production.INFO: ==7606== Lock acquired, processing the job...
[2025-01-09 21:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 21:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212368') start
[2025-01-09 21:37:03] Production.INFO: ==7608== Lock acquired, processing the job...
[2025-01-09 21:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 21:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 21:37:04] Production.INFO: Account Balance Start.
[2025-01-09 21:37:04] Production.INFO: CreateAllLog Start
[2025-01-09 21:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212368') end
[2025-01-09 21:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 21:37:04] Production.INFO: 1
[2025-01-09 21:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 21:37:04] Production.INFO: 117
[2025-01-09 21:37:04] Production.INFO: Date 2025-01-08
[2025-01-09 21:37:04] Production.INFO: Reseller ==> 0
[2025-01-09 21:37:04] Production.INFO: Date 2025-01-09
[2025-01-09 21:37:04] Production.INFO: Reseller ==> 0
[2025-01-09 21:37:04] Production.INFO: ==7610== Releasing lock...
[2025-01-09 21:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 21:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 21:37:04] Production.INFO: Total Charge 0
[2025-01-09 21:37:04] Production.ERROR: done
[2025-01-09 21:37:04] Production.INFO: CreateAllLog End
[2025-01-09 21:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 21:37:04] Production.INFO: ==7602== Releasing lock...
[2025-01-09 21:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 21:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 21:37:04] Production.ERROR: done
[2025-01-09 21:37:04] Production.INFO: Account Balance End.
[2025-01-09 21:37:04] Production.ERROR: CronJobId end 12
[2025-01-09 21:37:04] Production.INFO: ==7606== Releasing lock...
[2025-01-09 21:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 21:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 21:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 18:37:05
[end_date_ymd] => 2025-01-09 21:37:05
[RateCDR] => 1
)
[2025-01-09 21:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 18:37:05' and `end` < '2025-01-09 21:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 21:37:12] Production.ERROR: CronJobId end10
[2025-01-09 21:37:12] Production.INFO: ==7604== Releasing lock...
[2025-01-09 21:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 21:37:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 21:37:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 21:37:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 21:37:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 21:37:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 21:37:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 21:37:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 21:37:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 21:37:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 21:37:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 21:37:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 21:37:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 21:37:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 21:37:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 21:37:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 21:37:12] Production.INFO: call_cost start
[2025-01-09 21:37:12] Production.INFO: call_cost end
[2025-01-09 21:37:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 21:37:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 21:37:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 21:37:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 21:37:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 21:37:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 21:37:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 21:37:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 21:37:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 21:37:13] Production.INFO: ==7600== Releasing lock...
[2025-01-09 21:37:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 21:37:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 21:37:19] Production.INFO: count ==1038
[2025-01-09 21:37:19] Production.ERROR: pbx CDR StartTime 2025-01-09 18:37:05 - End Time 2025-01-09 21:37:05
[2025-01-09 21:37:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 21:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212372', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212372', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212372', 'tblTempVendorCDR_20' ) start
[2025-01-09 21:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212372', 'tblTempVendorCDR_20' ) end
[2025-01-09 21:37:19] Production.INFO: ProcessCDR(1,14212372,1,1,2)
[2025-01-09 21:37:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212372,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:37:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212372,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:37:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212372,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:37:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212372,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:37:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212372', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:37:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212372', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:37:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:37:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:37:23] Production.INFO: ==7608== Releasing lock...
[2025-01-09 21:37:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 21:37:23] Production.INFO: 35.5 MB #Memory Used#
[2025-01-10 02:38:02] Production.INFO: ==7682== Lock acquired, processing the job...
[2025-01-10 02:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 02:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 02:38:02] Production.INFO: neon service started
[2025-01-10 02:38:02] Production.INFO: neon service started
[2025-01-10 02:38:02] Production.INFO: ==7682== Releasing lock...
[2025-01-10 02:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 02:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 21:38:02] Production.INFO: ==7684== Lock acquired, processing the job...
[2025-01-09 21:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:38:03] Production.INFO: ==7686== Lock acquired, processing the job...
[2025-01-10 02:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 02:38:03] Production.INFO: ==7686== Releasing lock...
[2025-01-10 02:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 02:38:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 21:38:03] Production.INFO: ==7684== Releasing lock...
[2025-01-09 21:38:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 21:38:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 21:38:03] Production.INFO: ==7689== Lock acquired, processing the job...
[2025-01-09 21:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 21:38:03] Production.INFO: ==7695== Lock acquired, processing the job...
[2025-01-09 21:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 21:38:04] Production.INFO: ==7699== Lock acquired, processing the job...
[2025-01-09 21:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 21:38:04] Production.INFO: Account Balance Start.
[2025-01-09 21:38:04] Production.INFO: CreateAllLog Start
[2025-01-09 21:38:04] Production.INFO: 117
[2025-01-09 21:38:04] Production.INFO: Date 2025-01-08
[2025-01-09 21:38:04] Production.INFO: Reseller ==> 0
[2025-01-09 21:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 21:38:04] Production.INFO: ==7691== Lock acquired, processing the job...
[2025-01-09 21:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 21:38:04] Production.INFO: Date 2025-01-09
[2025-01-09 21:38:04] Production.INFO: Reseller ==> 0
[2025-01-09 21:38:04] Production.INFO: Total Charge 0
[2025-01-09 21:38:04] Production.INFO: CreateAllLog End
[2025-01-09 21:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:38:04] Production.INFO: ==7697== Lock acquired, processing the job...
[2025-01-09 21:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 21:38:04] Production.INFO: count ==21
[2025-01-09 21:38:04] Production.INFO: ==7693== Lock acquired, processing the job...
[2025-01-09 21:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 21:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:38:04] Production.INFO: count ==21
[2025-01-09 21:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212375') start
[2025-01-09 21:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212375') end
[2025-01-09 21:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 21:38:04] Production.INFO: 1
[2025-01-09 21:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 21:38:04] Production.INFO: Account Balance End.
[2025-01-09 21:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 21:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 21:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 21:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 21:38:04] Production.INFO: ==7699== Releasing lock...
[2025-01-09 21:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 21:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 21:38:04] Production.ERROR: CronJobId end 12
[2025-01-09 21:38:04] Production.INFO: ==7695== Releasing lock...
[2025-01-09 21:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 21:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 21:38:04] Production.INFO: ==7691== Releasing lock...
[2025-01-09 21:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 21:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 21:38:04] Production.ERROR: done
[2025-01-09 21:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 21:38:04] Production.ERROR: done
[2025-01-09 21:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 18:38:05
[end_date_ymd] => 2025-01-09 21:38:05
[RateCDR] => 1
)
[2025-01-09 21:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 18:38:05' and `end` < '2025-01-09 21:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 21:38:12] Production.ERROR: CronJobId end10
[2025-01-09 21:38:12] Production.INFO: ==7693== Releasing lock...
[2025-01-09 21:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 21:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 21:38:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 21:38:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 21:38:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 21:38:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 21:38:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 21:38:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 21:38:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 21:38:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 21:38:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 21:38:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 21:38:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 21:38:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 21:38:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 21:38:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 21:38:14] Production.INFO: call_cost start
[2025-01-09 21:38:14] Production.INFO: call_cost end
[2025-01-09 21:38:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 21:38:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 21:38:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 21:38:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 21:38:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 21:38:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 21:38:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 21:38:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 21:38:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 21:38:15] Production.INFO: ==7689== Releasing lock...
[2025-01-09 21:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 21:38:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 21:38:20] Production.INFO: count ==1036
[2025-01-09 21:38:20] Production.ERROR: pbx CDR StartTime 2025-01-09 18:38:05 - End Time 2025-01-09 21:38:05
[2025-01-09 21:38:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 21:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212377', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212377', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212377', 'tblTempVendorCDR_20' ) start
[2025-01-09 21:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212377', 'tblTempVendorCDR_20' ) end
[2025-01-09 21:38:20] Production.INFO: ProcessCDR(1,14212377,1,1,2)
[2025-01-09 21:38:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212377,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:38:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212377,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:38:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212377,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:38:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212377,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:38:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212377', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:38:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212377', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:38:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:38:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:38:24] Production.INFO: ==7697== Releasing lock...
[2025-01-09 21:38:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 21:38:24] Production.INFO: 35.5 MB #Memory Used#
[2025-01-10 02:39:01] Production.INFO: ==7820== Lock acquired, processing the job...
[2025-01-10 02:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 02:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 02:39:01] Production.INFO: neon service started
[2025-01-10 02:39:01] Production.INFO: neon service started
[2025-01-10 02:39:01] Production.INFO: ==7820== Releasing lock...
[2025-01-10 02:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 02:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 21:39:02] Production.INFO: ==7822== Lock acquired, processing the job...
[2025-01-09 21:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:39:02] Production.INFO: ==7822== Releasing lock...
[2025-01-09 21:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 21:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 02:39:02] Production.INFO: ==7824== Lock acquired, processing the job...
[2025-01-10 02:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 02:39:02] Production.INFO: ==7824== Releasing lock...
[2025-01-10 02:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 02:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 21:39:03] Production.INFO: ==7826== Lock acquired, processing the job...
[2025-01-09 21:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 21:39:03] Production.INFO: ==7828== Lock acquired, processing the job...
[2025-01-09 21:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 21:39:03] Production.INFO: ==7830== Lock acquired, processing the job...
[2025-01-09 21:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 21:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 21:39:03] Production.INFO: ==7834== Lock acquired, processing the job...
[2025-01-09 21:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 21:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 21:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 21:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 21:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 21:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:39:03] Production.INFO: ==7832== Lock acquired, processing the job...
[2025-01-09 21:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 21:39:03] Production.INFO: ==7836== Lock acquired, processing the job...
[2025-01-09 21:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 21:39:03] Production.INFO: ==7828== Releasing lock...
[2025-01-09 21:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 21:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 21:39:03] Production.INFO: Account Balance Start.
[2025-01-09 21:39:03] Production.INFO: CreateAllLog Start
[2025-01-09 21:39:03] Production.INFO: 117
[2025-01-09 21:39:03] Production.ERROR: done
[2025-01-09 21:39:03] Production.INFO: Date 2025-01-08
[2025-01-09 21:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 21:39:03] Production.INFO: Reseller ==> 0
[2025-01-09 21:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:39:03] Production.INFO: Date 2025-01-09
[2025-01-09 21:39:03] Production.INFO: Reseller ==> 0
[2025-01-09 21:39:03] Production.INFO: Total Charge 0
[2025-01-09 21:39:03] Production.INFO: CreateAllLog End
[2025-01-09 21:39:04] Production.INFO: count ==21
[2025-01-09 21:39:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:39:04] Production.INFO: count ==21
[2025-01-09 21:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212381') start
[2025-01-09 21:39:04] Production.ERROR: done
[2025-01-09 21:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212381') end
[2025-01-09 21:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 21:39:04] Production.INFO: 1
[2025-01-09 21:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 21:39:04] Production.INFO: Account Balance End.
[2025-01-09 21:39:04] Production.ERROR: CronJobId end 12
[2025-01-09 21:39:04] Production.INFO: ==7832== Releasing lock...
[2025-01-09 21:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 21:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 21:39:04] Production.INFO: ==7836== Releasing lock...
[2025-01-09 21:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 21:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 21:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 18:39:05
[end_date_ymd] => 2025-01-09 21:39:05
[RateCDR] => 1
)
[2025-01-09 21:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 18:39:05' and `end` < '2025-01-09 21:39:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 21:39:12] Production.ERROR: CronJobId end10
[2025-01-09 21:39:12] Production.INFO: ==7830== Releasing lock...
[2025-01-09 21:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 21:39:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 21:39:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 21:39:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 21:39:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 21:39:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 21:39:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 21:39:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 21:39:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 21:39:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 21:39:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 21:39:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 21:39:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 21:39:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 21:39:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 21:39:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 21:39:14] Production.INFO: call_cost start
[2025-01-09 21:39:14] Production.INFO: call_cost end
[2025-01-09 21:39:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 21:39:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 21:39:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 21:39:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 21:39:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 21:39:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 21:39:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 21:39:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 21:39:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 21:39:15] Production.INFO: ==7826== Releasing lock...
[2025-01-09 21:39:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 21:39:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 21:39:18] Production.INFO: count ==1036
[2025-01-09 21:39:18] Production.ERROR: pbx CDR StartTime 2025-01-09 18:39:05 - End Time 2025-01-09 21:39:05
[2025-01-09 21:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 21:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212382', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212382', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212382', 'tblTempVendorCDR_20' ) start
[2025-01-09 21:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212382', 'tblTempVendorCDR_20' ) end
[2025-01-09 21:39:18] Production.INFO: ProcessCDR(1,14212382,1,1,2)
[2025-01-09 21:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212382,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212382,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212382,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212382,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212382', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212382', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:39:21] Production.INFO: ==7834== Releasing lock...
[2025-01-09 21:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 21:39:21] Production.INFO: 35.25 MB #Memory Used#
[2025-01-10 02:40:02] Production.INFO: ==7909== Lock acquired, processing the job...
[2025-01-10 02:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 02:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 02:40:02] Production.INFO: neon service started
[2025-01-10 02:40:02] Production.INFO: neon service started
[2025-01-10 02:40:02] Production.INFO: ==7909== Releasing lock...
[2025-01-10 02:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 02:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 21:40:02] Production.INFO: ==7911== Lock acquired, processing the job...
[2025-01-09 21:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:40:02] Production.INFO: ==7913== Lock acquired, processing the job...
[2025-01-10 02:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 02:40:02] Production.INFO: ==7913== Releasing lock...
[2025-01-10 02:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 02:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 21:40:03] Production.INFO: ==7911== Releasing lock...
[2025-01-09 21:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 21:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 21:40:03] Production.INFO: ==7915== Lock acquired, processing the job...
[2025-01-09 21:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 21:40:03] Production.INFO: ==7917== Lock acquired, processing the job...
[2025-01-09 21:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 21:40:03] Production.INFO: ==7919== Lock acquired, processing the job...
[2025-01-09 21:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 21:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 21:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 21:40:03] Production.ERROR: CronJob PID - 7917
[2025-01-09 21:40:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-09 21:40:03] Production.ERROR: CronJob ID - 5
[2025-01-09 21:40:03] Production.ERROR: CronJob Last Run Time 2025-01-09 21:40:00
[2025-01-09 21:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 21:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 21:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 21:40:03] Production.INFO: ==7915== Releasing lock...
[2025-01-09 21:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 21:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 21:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 21:40:04] Production.INFO: ==7930== Lock acquired, processing the job...
[2025-01-09 21:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 21:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:40:04] Production.INFO: ==7922== Lock acquired, processing the job...
[2025-01-09 21:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 21:40:04] Production.INFO: count ==21
[2025-01-09 21:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:40:04] Production.INFO: count ==21
[2025-01-09 21:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212384') start
[2025-01-09 21:40:04] Production.INFO: ==7924== Lock acquired, processing the job...
[2025-01-09 21:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 21:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 21:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 21:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 21:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 21:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212384') end
[2025-01-09 21:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 21:40:04] Production.INFO: 1
[2025-01-09 21:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 21:40:04] Production.INFO: ==7926== Lock acquired, processing the job...
[2025-01-09 21:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 21:40:04] Production.INFO: ==7930== Releasing lock...
[2025-01-09 21:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 21:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 21:40:04] Production.INFO: ==7928== Lock acquired, processing the job...
[2025-01-09 21:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 21:40:04] Production.INFO: Account Balance Start.
[2025-01-09 21:40:04] Production.INFO: CreateAllLog Start
[2025-01-09 21:40:04] Production.INFO: 117
[2025-01-09 21:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:40:04] Production.INFO: Date 2025-01-08
[2025-01-09 21:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:40:04] Production.INFO: Reseller ==> 0
[2025-01-09 21:40:04] Production.INFO: ==7919== Releasing lock...
[2025-01-09 21:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 21:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 21:40:04] Production.INFO: Date 2025-01-09
[2025-01-09 21:40:04] Production.INFO: Reseller ==> 0
[2025-01-09 21:40:04] Production.INFO: Total Charge 0
[2025-01-09 21:40:04] Production.ERROR: done
[2025-01-09 21:40:04] Production.INFO: CreateAllLog End
[2025-01-09 21:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 21:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14212387', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 21:40:04] Production.ERROR: done
[2025-01-09 21:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 21:40:05] Production.ERROR: done
[2025-01-09 21:40:05] Production.INFO: Account Balance End.
[2025-01-09 21:40:05] Production.ERROR: CronJobId end 12
[2025-01-09 21:40:05] Production.INFO: ==7924== Releasing lock...
[2025-01-09 21:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 21:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 21:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 18:40:06
[end_date_ymd] => 2025-01-09 21:40:06
[RateCDR] => 1
)
[2025-01-09 21:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 18:40:06' and `end` < '2025-01-09 21:40:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 21:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14212387', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 21:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 21:40:08] Production.INFO: ProcessCDR(1,14212387,1,1,2)
[2025-01-09 21:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14212387,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14212387,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:40:09] Production.INFO: ==7928== Releasing lock...
[2025-01-09 21:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 21:40:09] Production.INFO: 26 MB #Memory Used#
[2025-01-09 21:40:14] Production.ERROR: CronJobId end10
[2025-01-09 21:40:14] Production.INFO: ==7922== Releasing lock...
[2025-01-09 21:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 21:40:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 21:40:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 21:40:15] Production.INFO: ============== Balance Warning START===========
[2025-01-09 21:40:15] Production.INFO: ============== Balance Warning END===========
[2025-01-09 21:40:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 21:40:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 21:40:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 21:40:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 21:40:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 21:40:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 21:40:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 21:40:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 21:40:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 21:40:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 21:40:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 21:40:15] Production.INFO: call_cost start
[2025-01-09 21:40:15] Production.INFO: call_cost end
[2025-01-09 21:40:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 21:40:16] Production.INFO: ============== Report Schedule START===========
[2025-01-09 21:40:16] Production.INFO: ============== Report Schedule END===========
[2025-01-09 21:40:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 21:40:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 21:40:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 21:40:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 21:40:16] Production.INFO: ============== Deal alert START===========
[2025-01-09 21:40:16] Production.INFO: ============== Deal alert END===========
[2025-01-09 21:40:16] Production.INFO: ==7917== Releasing lock...
[2025-01-09 21:40:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 21:40:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 21:40:19] Production.INFO: count ==1034
[2025-01-09 21:40:19] Production.ERROR: pbx CDR StartTime 2025-01-09 18:40:06 - End Time 2025-01-09 21:40:06
[2025-01-09 21:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 21:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212388', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212388', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212388', 'tblTempVendorCDR_20' ) start
[2025-01-09 21:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212388', 'tblTempVendorCDR_20' ) end
[2025-01-09 21:40:19] Production.INFO: ProcessCDR(1,14212388,1,1,2)
[2025-01-09 21:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212388,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212388,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212388,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:40:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212388,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212388', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212388', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:40:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:40:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:40:22] Production.INFO: ==7926== Releasing lock...
[2025-01-09 21:40:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 21:40:22] Production.INFO: 35.25 MB #Memory Used#
[2025-01-10 02:41:01] Production.INFO: ==8000== Lock acquired, processing the job...
[2025-01-10 02:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 02:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 02:41:01] Production.INFO: neon service started
[2025-01-10 02:41:01] Production.INFO: neon service started
[2025-01-10 02:41:01] Production.INFO: ==8000== Releasing lock...
[2025-01-10 02:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 02:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:41:02] Production.INFO: ==8004== Lock acquired, processing the job...
[2025-01-10 02:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 02:41:02] Production.INFO: ==8004== Releasing lock...
[2025-01-10 02:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 02:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 21:41:02] Production.INFO: ==8002== Lock acquired, processing the job...
[2025-01-09 21:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:41:02] Production.INFO: ==8002== Releasing lock...
[2025-01-09 21:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 21:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 21:41:03] Production.INFO: ==8009== Lock acquired, processing the job...
[2025-01-09 21:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 21:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 21:41:03] Production.INFO: ==8015== Lock acquired, processing the job...
[2025-01-09 21:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 21:41:03] Production.INFO: ==8017== Lock acquired, processing the job...
[2025-01-09 21:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 21:41:03] Production.INFO: Account Balance Start.
[2025-01-09 21:41:03] Production.INFO: CreateAllLog Start
[2025-01-09 21:41:03] Production.INFO: 117
[2025-01-09 21:41:03] Production.INFO: Date 2025-01-08
[2025-01-09 21:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:41:03] Production.INFO: Reseller ==> 0
[2025-01-09 21:41:03] Production.INFO: Date 2025-01-09
[2025-01-09 21:41:03] Production.INFO: Reseller ==> 0
[2025-01-09 21:41:03] Production.INFO: Total Charge 0
[2025-01-09 21:41:03] Production.INFO: ==8011== Lock acquired, processing the job...
[2025-01-09 21:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 21:41:03] Production.INFO: CreateAllLog End
[2025-01-09 21:41:03] Production.INFO: ==8013== Lock acquired, processing the job...
[2025-01-09 21:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 21:41:03] Production.INFO: ==8019== Lock acquired, processing the job...
[2025-01-09 21:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 21:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 21:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 21:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 21:41:03] Production.ERROR: done
[2025-01-09 21:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 21:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 21:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:41:03] Production.INFO: count ==21
[2025-01-09 21:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:41:03] Production.ERROR: done
[2025-01-09 21:41:03] Production.INFO: count ==21
[2025-01-09 21:41:03] Production.INFO: Account Balance End.
[2025-01-09 21:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212392') start
[2025-01-09 21:41:03] Production.ERROR: CronJobId end 12
[2025-01-09 21:41:03] Production.INFO: ==8015== Releasing lock...
[2025-01-09 21:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 21:41:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 21:41:04] Production.INFO: ==8011== Releasing lock...
[2025-01-09 21:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 21:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 21:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212392') end
[2025-01-09 21:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 21:41:04] Production.INFO: 1
[2025-01-09 21:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 21:41:04] Production.INFO: ==8019== Releasing lock...
[2025-01-09 21:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 21:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 21:41:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 18:41:04
[end_date_ymd] => 2025-01-09 21:41:04
[RateCDR] => 1
)
[2025-01-09 21:41:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 18:41:04' and `end` < '2025-01-09 21:41:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 21:41:12] Production.ERROR: CronJobId end10
[2025-01-09 21:41:12] Production.INFO: ==8013== Releasing lock...
[2025-01-09 21:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 21:41:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 21:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 21:41:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 21:41:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 21:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 21:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 21:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 21:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 21:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 21:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 21:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 21:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 21:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 21:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 21:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 21:41:13] Production.INFO: call_cost start
[2025-01-09 21:41:13] Production.INFO: call_cost end
[2025-01-09 21:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 21:41:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 21:41:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 21:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 21:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 21:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 21:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 21:41:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 21:41:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 21:41:14] Production.INFO: ==8009== Releasing lock...
[2025-01-09 21:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 21:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 21:41:18] Production.INFO: count ==1009
[2025-01-09 21:41:18] Production.ERROR: pbx CDR StartTime 2025-01-09 18:41:04 - End Time 2025-01-09 21:41:04
[2025-01-09 21:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 21:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212393', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212393', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212393', 'tblTempVendorCDR_20' ) start
[2025-01-09 21:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212393', 'tblTempVendorCDR_20' ) end
[2025-01-09 21:41:18] Production.INFO: ProcessCDR(1,14212393,1,1,2)
[2025-01-09 21:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212393,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212393,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212393,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:41:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212393,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212393', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212393', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:41:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:41:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:41:22] Production.INFO: ==8017== Releasing lock...
[2025-01-09 21:41:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 21:41:22] Production.INFO: 35.25 MB #Memory Used#
[2025-01-10 02:42:02] Production.INFO: ==8093== Lock acquired, processing the job...
[2025-01-10 02:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 02:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 02:42:02] Production.INFO: neon service started
[2025-01-10 02:42:02] Production.INFO: neon service started
[2025-01-10 02:42:02] Production.INFO: ==8093== Releasing lock...
[2025-01-10 02:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 02:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 21:42:02] Production.INFO: ==8095== Lock acquired, processing the job...
[2025-01-09 21:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:42:02] Production.INFO: ==8095== Releasing lock...
[2025-01-09 21:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 21:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 02:42:02] Production.INFO: ==8097== Lock acquired, processing the job...
[2025-01-10 02:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 02:42:02] Production.INFO: ==8097== Releasing lock...
[2025-01-10 02:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 02:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 21:42:03] Production.INFO: ==8104== Lock acquired, processing the job...
[2025-01-09 21:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 21:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 21:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 21:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 21:42:03] Production.INFO: ==8108== Lock acquired, processing the job...
[2025-01-09 21:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 21:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 21:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:42:03] Production.INFO: ==8100== Lock acquired, processing the job...
[2025-01-09 21:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 21:42:03] Production.INFO: ==8102== Lock acquired, processing the job...
[2025-01-09 21:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 21:42:03] Production.INFO: ==8110== Lock acquired, processing the job...
[2025-01-09 21:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 21:42:03] Production.INFO: ==8106== Lock acquired, processing the job...
[2025-01-09 21:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 21:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 21:42:04] Production.ERROR: done
[2025-01-09 21:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 21:42:04] Production.INFO: Account Balance Start.
[2025-01-09 21:42:04] Production.INFO: CreateAllLog Start
[2025-01-09 21:42:04] Production.INFO: 117
[2025-01-09 21:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:42:04] Production.INFO: count ==21
[2025-01-09 21:42:04] Production.ERROR: done
[2025-01-09 21:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:42:04] Production.INFO: count ==21
[2025-01-09 21:42:04] Production.INFO: Date 2025-01-08
[2025-01-09 21:42:04] Production.INFO: ==8102== Releasing lock...
[2025-01-09 21:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 21:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 21:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212397') start
[2025-01-09 21:42:04] Production.INFO: Reseller ==> 0
[2025-01-09 21:42:04] Production.INFO: Date 2025-01-09
[2025-01-09 21:42:04] Production.INFO: Reseller ==> 0
[2025-01-09 21:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212397') end
[2025-01-09 21:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 21:42:04] Production.INFO: 1
[2025-01-09 21:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 21:42:04] Production.INFO: Total Charge 0
[2025-01-09 21:42:04] Production.INFO: CreateAllLog End
[2025-01-09 21:42:04] Production.INFO: ==8110== Releasing lock...
[2025-01-09 21:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 21:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 21:42:04] Production.INFO: Account Balance End.
[2025-01-09 21:42:04] Production.ERROR: CronJobId end 12
[2025-01-09 21:42:04] Production.INFO: ==8106== Releasing lock...
[2025-01-09 21:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 21:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 21:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 18:42:05
[end_date_ymd] => 2025-01-09 21:42:05
[RateCDR] => 1
)
[2025-01-09 21:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 18:42:05' and `end` < '2025-01-09 21:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 21:42:12] Production.ERROR: CronJobId end10
[2025-01-09 21:42:12] Production.INFO: ==8104== Releasing lock...
[2025-01-09 21:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 21:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 21:42:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 21:42:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 21:42:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 21:42:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 21:42:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 21:42:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 21:42:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 21:42:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 21:42:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 21:42:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 21:42:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 21:42:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 21:42:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 21:42:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 21:42:14] Production.INFO: call_cost start
[2025-01-09 21:42:14] Production.INFO: call_cost end
[2025-01-09 21:42:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 21:42:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 21:42:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 21:42:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 21:42:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 21:42:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 21:42:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 21:42:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 21:42:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 21:42:15] Production.INFO: ==8100== Releasing lock...
[2025-01-09 21:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 21:42:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 21:42:18] Production.INFO: count ==1006
[2025-01-09 21:42:18] Production.ERROR: pbx CDR StartTime 2025-01-09 18:42:05 - End Time 2025-01-09 21:42:05
[2025-01-09 21:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 21:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212398', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212398', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212398', 'tblTempVendorCDR_20' ) start
[2025-01-09 21:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212398', 'tblTempVendorCDR_20' ) end
[2025-01-09 21:42:18] Production.INFO: ProcessCDR(1,14212398,1,1,2)
[2025-01-09 21:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212398,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212398,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212398,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212398,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212398', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212398', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:42:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:42:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:42:21] Production.INFO: ==8108== Releasing lock...
[2025-01-09 21:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 21:42:21] Production.INFO: 35 MB #Memory Used#
[2025-01-10 02:43:01] Production.INFO: ==8182== Lock acquired, processing the job...
[2025-01-10 02:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 02:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 02:43:01] Production.INFO: neon service started
[2025-01-10 02:43:01] Production.INFO: neon service started
[2025-01-10 02:43:01] Production.INFO: ==8182== Releasing lock...
[2025-01-10 02:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 02:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 21:43:01] Production.INFO: ==8184== Lock acquired, processing the job...
[2025-01-09 21:43:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:43:02] Production.INFO: ==8184== Releasing lock...
[2025-01-09 21:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 21:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 02:43:02] Production.INFO: ==8186== Lock acquired, processing the job...
[2025-01-10 02:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 02:43:02] Production.INFO: ==8186== Releasing lock...
[2025-01-10 02:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 02:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 21:43:02] Production.INFO: ==8190== Lock acquired, processing the job...
[2025-01-09 21:43:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 21:43:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 21:43:02] Production.INFO: ==8194== Lock acquired, processing the job...
[2025-01-09 21:43:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 21:43:02] Production.INFO: ==8196== Lock acquired, processing the job...
[2025-01-09 21:43:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 21:43:02] Production.INFO: Account Balance Start.
[2025-01-09 21:43:02] Production.INFO: CreateAllLog Start
[2025-01-09 21:43:02] Production.INFO: 117
[2025-01-09 21:43:02] Production.INFO: Date 2025-01-08
[2025-01-09 21:43:02] Production.INFO: Reseller ==> 0
[2025-01-09 21:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 21:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 21:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 21:43:03] Production.INFO: Date 2025-01-09
[2025-01-09 21:43:03] Production.INFO: Reseller ==> 0
[2025-01-09 21:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 21:43:03] Production.INFO: Total Charge 0
[2025-01-09 21:43:03] Production.INFO: CreateAllLog End
[2025-01-09 21:43:03] Production.INFO: ==8192== Lock acquired, processing the job...
[2025-01-09 21:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 21:43:03] Production.INFO: Account Balance End.
[2025-01-09 21:43:03] Production.ERROR: CronJobId end 12
[2025-01-09 21:43:03] Production.INFO: ==8196== Releasing lock...
[2025-01-09 21:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 21:43:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 21:43:03] Production.INFO: ==8198== Lock acquired, processing the job...
[2025-01-09 21:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 21:43:03] Production.INFO: ==8200== Lock acquired, processing the job...
[2025-01-09 21:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 21:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:43:03] Production.INFO: count ==21
[2025-01-09 21:43:03] Production.INFO: ==8192== Releasing lock...
[2025-01-09 21:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 21:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 21:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:43:03] Production.INFO: count ==21
[2025-01-09 21:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212402') start
[2025-01-09 21:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212402') end
[2025-01-09 21:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 21:43:03] Production.INFO: 1
[2025-01-09 21:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 21:43:03] Production.INFO: ==8200== Releasing lock...
[2025-01-09 21:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 21:43:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 21:43:03] Production.ERROR: done
[2025-01-09 21:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 21:43:03] Production.ERROR: done
[2025-01-09 21:43:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 18:43:04
[end_date_ymd] => 2025-01-09 21:43:04
[RateCDR] => 1
)
[2025-01-09 21:43:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 18:43:04' and `end` < '2025-01-09 21:43:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 21:43:11] Production.ERROR: CronJobId end10
[2025-01-09 21:43:11] Production.INFO: ==8194== Releasing lock...
[2025-01-09 21:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 21:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 21:43:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 21:43:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 21:43:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 21:43:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 21:43:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 21:43:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 21:43:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 21:43:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 21:43:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 21:43:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 21:43:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 21:43:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 21:43:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 21:43:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 21:43:13] Production.INFO: call_cost start
[2025-01-09 21:43:13] Production.INFO: call_cost end
[2025-01-09 21:43:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 21:43:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 21:43:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 21:43:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 21:43:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 21:43:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 21:43:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 21:43:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 21:43:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 21:43:14] Production.INFO: ==8190== Releasing lock...
[2025-01-09 21:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 21:43:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 21:43:18] Production.INFO: count ==1004
[2025-01-09 21:43:18] Production.ERROR: pbx CDR StartTime 2025-01-09 18:43:04 - End Time 2025-01-09 21:43:04
[2025-01-09 21:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 21:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212403', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212403', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212403', 'tblTempVendorCDR_20' ) start
[2025-01-09 21:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212403', 'tblTempVendorCDR_20' ) end
[2025-01-09 21:43:18] Production.INFO: ProcessCDR(1,14212403,1,1,2)
[2025-01-09 21:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212403,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212403,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212403,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212403,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212403', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212403', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:43:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:43:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:43:21] Production.INFO: ==8198== Releasing lock...
[2025-01-09 21:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 21:43:21] Production.INFO: 35 MB #Memory Used#
[2025-01-10 02:44:01] Production.INFO: ==8277== Lock acquired, processing the job...
[2025-01-10 02:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 02:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 02:44:01] Production.INFO: neon service started
[2025-01-10 02:44:01] Production.INFO: neon service started
[2025-01-10 02:44:01] Production.INFO: ==8277== Releasing lock...
[2025-01-10 02:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 02:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 21:44:02] Production.INFO: ==8279== Lock acquired, processing the job...
[2025-01-09 21:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:44:02] Production.INFO: ==8279== Releasing lock...
[2025-01-09 21:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 21:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 02:44:02] Production.INFO: ==8281== Lock acquired, processing the job...
[2025-01-10 02:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 02:44:02] Production.INFO: ==8281== Releasing lock...
[2025-01-10 02:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 02:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 21:44:03] Production.INFO: ==8285== Lock acquired, processing the job...
[2025-01-09 21:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 21:44:03] Production.INFO: ==8283== Lock acquired, processing the job...
[2025-01-09 21:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 21:44:03] Production.INFO: ==8289== Lock acquired, processing the job...
[2025-01-09 21:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 21:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 21:44:03] Production.INFO: Account Balance Start.
[2025-01-09 21:44:03] Production.INFO: CreateAllLog Start
[2025-01-09 21:44:03] Production.INFO: 117
[2025-01-09 21:44:03] Production.INFO: Date 2025-01-08
[2025-01-09 21:44:03] Production.INFO: ==8287== Lock acquired, processing the job...
[2025-01-09 21:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 21:44:03] Production.INFO: Reseller ==> 0
[2025-01-09 21:44:03] Production.INFO: ==8291== Lock acquired, processing the job...
[2025-01-09 21:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 21:44:03] Production.INFO: Date 2025-01-09
[2025-01-09 21:44:03] Production.INFO: Reseller ==> 0
[2025-01-09 21:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 21:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 21:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 21:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 21:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:44:03] Production.INFO: ==8294== Lock acquired, processing the job...
[2025-01-09 21:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 21:44:03] Production.INFO: Total Charge 0
[2025-01-09 21:44:03] Production.INFO: CreateAllLog End
[2025-01-09 21:44:03] Production.INFO: ==8285== Releasing lock...
[2025-01-09 21:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 21:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 21:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:44:03] Production.INFO: count ==21
[2025-01-09 21:44:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:44:03] Production.INFO: count ==21
[2025-01-09 21:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212407') start
[2025-01-09 21:44:04] Production.ERROR: done
[2025-01-09 21:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 21:44:04] Production.INFO: Account Balance End.
[2025-01-09 21:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212407') end
[2025-01-09 21:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 21:44:04] Production.INFO: 1
[2025-01-09 21:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 21:44:04] Production.ERROR: CronJobId end 12
[2025-01-09 21:44:04] Production.INFO: ==8289== Releasing lock...
[2025-01-09 21:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 21:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 21:44:04] Production.ERROR: done
[2025-01-09 21:44:04] Production.INFO: ==8294== Releasing lock...
[2025-01-09 21:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 21:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 21:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 18:44:05
[end_date_ymd] => 2025-01-09 21:44:05
[RateCDR] => 1
)
[2025-01-09 21:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 18:44:05' and `end` < '2025-01-09 21:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 21:44:11] Production.ERROR: CronJobId end10
[2025-01-09 21:44:11] Production.INFO: ==8287== Releasing lock...
[2025-01-09 21:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 21:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 21:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 21:44:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 21:44:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 21:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 21:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 21:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 21:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 21:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 21:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 21:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 21:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 21:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 21:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 21:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 21:44:14] Production.INFO: call_cost start
[2025-01-09 21:44:14] Production.INFO: call_cost end
[2025-01-09 21:44:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 21:44:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 21:44:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 21:44:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 21:44:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 21:44:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 21:44:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 21:44:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 21:44:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 21:44:14] Production.INFO: ==8283== Releasing lock...
[2025-01-09 21:44:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 21:44:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 21:44:18] Production.INFO: count ==1004
[2025-01-09 21:44:18] Production.ERROR: pbx CDR StartTime 2025-01-09 18:44:05 - End Time 2025-01-09 21:44:05
[2025-01-09 21:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 21:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212408', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212408', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212408', 'tblTempVendorCDR_20' ) start
[2025-01-09 21:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212408', 'tblTempVendorCDR_20' ) end
[2025-01-09 21:44:18] Production.INFO: ProcessCDR(1,14212408,1,1,2)
[2025-01-09 21:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212408,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212408,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212408,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212408,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212408', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212408', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:44:21] Production.INFO: ==8291== Releasing lock...
[2025-01-09 21:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 21:44:21] Production.INFO: 35 MB #Memory Used#
[2025-01-10 02:45:01] Production.INFO: ==8363== Lock acquired, processing the job...
[2025-01-10 02:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 02:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 02:45:01] Production.INFO: neon service started
[2025-01-10 02:45:01] Production.INFO: neon service started
[2025-01-10 02:45:01] Production.INFO: ==8363== Releasing lock...
[2025-01-10 02:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 02:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 21:45:01] Production.INFO: ==8365== Lock acquired, processing the job...
[2025-01-09 21:45:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:45:01] Production.INFO: ==8365== Releasing lock...
[2025-01-09 21:45:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 21:45:01] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 02:45:02] Production.INFO: ==8367== Lock acquired, processing the job...
[2025-01-10 02:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 02:45:02] Production.INFO: ==8367== Releasing lock...
[2025-01-10 02:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 02:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 21:45:02] Production.INFO: ==8376== Lock acquired, processing the job...
[2025-01-09 21:45:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 21:45:03] Production.INFO: ==8380== Lock acquired, processing the job...
[2025-01-09 21:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 21:45:03] Production.INFO: ==8370== Lock acquired, processing the job...
[2025-01-09 21:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 21:45:03] Production.INFO: ==8372== Lock acquired, processing the job...
[2025-01-09 21:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 21:45:03] Production.INFO: ==8374== Lock acquired, processing the job...
[2025-01-09 21:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 21:45:03] Production.INFO: Account Balance Start.
[2025-01-09 21:45:03] Production.INFO: CreateAllLog Start
[2025-01-09 21:45:03] Production.INFO: ==8378== Lock acquired, processing the job...
[2025-01-09 21:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 21:45:03] Production.INFO: 117
[2025-01-09 21:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 21:45:03] Production.INFO: Date 2025-01-08
[2025-01-09 21:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 21:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 21:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 21:45:03] Production.INFO: Reseller ==> 0
[2025-01-09 21:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 21:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:45:03] Production.INFO: count ==21
[2025-01-09 21:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:45:03] Production.INFO: count ==21
[2025-01-09 21:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212410') start
[2025-01-09 21:45:03] Production.INFO: Date 2025-01-09
[2025-01-09 21:45:03] Production.INFO: Reseller ==> 0
[2025-01-09 21:45:03] Production.INFO: Total Charge 0
[2025-01-09 21:45:03] Production.INFO: CreateAllLog End
[2025-01-09 21:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212410') end
[2025-01-09 21:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 21:45:03] Production.INFO: 1
[2025-01-09 21:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 21:45:03] Production.INFO: ==8372== Releasing lock...
[2025-01-09 21:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 21:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 21:45:03] Production.INFO: ==8380== Releasing lock...
[2025-01-09 21:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 21:45:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 21:45:03] Production.ERROR: done
[2025-01-09 21:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 21:45:03] Production.ERROR: done
[2025-01-09 21:45:03] Production.INFO: Account Balance End.
[2025-01-09 21:45:03] Production.ERROR: CronJobId end 12
[2025-01-09 21:45:03] Production.INFO: ==8376== Releasing lock...
[2025-01-09 21:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 21:45:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 21:45:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 18:45:04
[end_date_ymd] => 2025-01-09 21:45:04
[RateCDR] => 1
)
[2025-01-09 21:45:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 18:45:04' and `end` < '2025-01-09 21:45:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 21:45:11] Production.ERROR: CronJobId end10
[2025-01-09 21:45:11] Production.INFO: ==8374== Releasing lock...
[2025-01-09 21:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 21:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 21:45:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 21:45:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 21:45:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 21:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 21:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 21:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 21:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 21:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 21:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 21:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 21:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 21:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 21:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 21:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 21:45:13] Production.INFO: call_cost start
[2025-01-09 21:45:13] Production.INFO: call_cost end
[2025-01-09 21:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 21:45:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 21:45:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 21:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 21:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 21:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 21:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 21:45:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 21:45:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 21:45:14] Production.INFO: ==8370== Releasing lock...
[2025-01-09 21:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 21:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 21:45:17] Production.INFO: count ==993
[2025-01-09 21:45:17] Production.ERROR: pbx CDR StartTime 2025-01-09 18:45:04 - End Time 2025-01-09 21:45:04
[2025-01-09 21:45:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 21:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212413', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212413', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212413', 'tblTempVendorCDR_20' ) start
[2025-01-09 21:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212413', 'tblTempVendorCDR_20' ) end
[2025-01-09 21:45:17] Production.INFO: ProcessCDR(1,14212413,1,1,2)
[2025-01-09 21:45:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212413,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:45:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212413,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:45:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212413,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212413,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212413', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212413', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:45:21] Production.INFO: ==8378== Releasing lock...
[2025-01-09 21:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 21:45:21] Production.INFO: 35 MB #Memory Used#
[2025-01-10 02:46:01] Production.INFO: ==8459== Lock acquired, processing the job...
[2025-01-10 02:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 02:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 02:46:01] Production.INFO: neon service started
[2025-01-10 02:46:01] Production.INFO: neon service started
[2025-01-10 02:46:01] Production.INFO: ==8459== Releasing lock...
[2025-01-10 02:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 02:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:46:02] Production.INFO: ==8463== Lock acquired, processing the job...
[2025-01-10 02:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 02:46:02] Production.INFO: ==8463== Releasing lock...
[2025-01-10 02:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 02:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 21:46:02] Production.INFO: ==8461== Lock acquired, processing the job...
[2025-01-09 21:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:46:02] Production.INFO: ==8461== Releasing lock...
[2025-01-09 21:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 21:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 21:46:03] Production.INFO: ==8465== Lock acquired, processing the job...
[2025-01-09 21:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 21:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 21:46:03] Production.INFO: ==8469== Lock acquired, processing the job...
[2025-01-09 21:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 21:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 21:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 21:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 21:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 21:46:03] Production.INFO: ==8473== Lock acquired, processing the job...
[2025-01-09 21:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 21:46:03] Production.INFO: ==8467== Lock acquired, processing the job...
[2025-01-09 21:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 21:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:46:03] Production.INFO: ==8471== Lock acquired, processing the job...
[2025-01-09 21:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 21:46:03] Production.INFO: ==8476== Lock acquired, processing the job...
[2025-01-09 21:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 21:46:03] Production.INFO: ==8467== Releasing lock...
[2025-01-09 21:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 21:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 21:46:03] Production.INFO: Account Balance Start.
[2025-01-09 21:46:03] Production.INFO: CreateAllLog Start
[2025-01-09 21:46:03] Production.INFO: 117
[2025-01-09 21:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:46:03] Production.INFO: Date 2025-01-08
[2025-01-09 21:46:03] Production.INFO: Reseller ==> 0
[2025-01-09 21:46:03] Production.INFO: count ==21
[2025-01-09 21:46:03] Production.ERROR: done
[2025-01-09 21:46:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 21:46:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:46:03] Production.INFO: count ==21
[2025-01-09 21:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212416') start
[2025-01-09 21:46:04] Production.INFO: Date 2025-01-09
[2025-01-09 21:46:04] Production.INFO: Reseller ==> 0
[2025-01-09 21:46:04] Production.INFO: Total Charge 0
[2025-01-09 21:46:04] Production.INFO: CreateAllLog End
[2025-01-09 21:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212416') end
[2025-01-09 21:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 21:46:04] Production.INFO: 1
[2025-01-09 21:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 21:46:04] Production.ERROR: done
[2025-01-09 21:46:04] Production.INFO: ==8476== Releasing lock...
[2025-01-09 21:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 21:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 21:46:04] Production.INFO: Account Balance End.
[2025-01-09 21:46:04] Production.ERROR: CronJobId end 12
[2025-01-09 21:46:04] Production.INFO: ==8471== Releasing lock...
[2025-01-09 21:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 21:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 21:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 18:46:05
[end_date_ymd] => 2025-01-09 21:46:05
[RateCDR] => 1
)
[2025-01-09 21:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 18:46:05' and `end` < '2025-01-09 21:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 21:46:11] Production.ERROR: CronJobId end10
[2025-01-09 21:46:11] Production.INFO: ==8469== Releasing lock...
[2025-01-09 21:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 21:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 21:46:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 21:46:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 21:46:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 21:46:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 21:46:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 21:46:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 21:46:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 21:46:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 21:46:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 21:46:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 21:46:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 21:46:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 21:46:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 21:46:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 21:46:13] Production.INFO: call_cost start
[2025-01-09 21:46:13] Production.INFO: call_cost end
[2025-01-09 21:46:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 21:46:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 21:46:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 21:46:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 21:46:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 21:46:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 21:46:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 21:46:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 21:46:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 21:46:13] Production.INFO: ==8465== Releasing lock...
[2025-01-09 21:46:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 21:46:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 21:46:18] Production.INFO: count ==992
[2025-01-09 21:46:19] Production.ERROR: pbx CDR StartTime 2025-01-09 18:46:05 - End Time 2025-01-09 21:46:05
[2025-01-09 21:46:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 21:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212418', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212418', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212418', 'tblTempVendorCDR_20' ) start
[2025-01-09 21:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212418', 'tblTempVendorCDR_20' ) end
[2025-01-09 21:46:19] Production.INFO: ProcessCDR(1,14212418,1,1,2)
[2025-01-09 21:46:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212418,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:46:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212418,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:46:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212418,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:46:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212418,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212418', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212418', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:46:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:46:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:46:22] Production.INFO: ==8473== Releasing lock...
[2025-01-09 21:46:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 21:46:22] Production.INFO: 35 MB #Memory Used#
[2025-01-10 02:47:02] Production.INFO: ==8551== Lock acquired, processing the job...
[2025-01-10 02:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 02:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 02:47:02] Production.INFO: neon service started
[2025-01-10 02:47:02] Production.INFO: neon service started
[2025-01-10 02:47:02] Production.INFO: ==8551== Releasing lock...
[2025-01-10 02:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 02:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 21:47:02] Production.INFO: ==8553== Lock acquired, processing the job...
[2025-01-09 21:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:47:02] Production.INFO: ==8555== Lock acquired, processing the job...
[2025-01-10 02:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 02:47:02] Production.INFO: ==8555== Releasing lock...
[2025-01-10 02:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 02:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 21:47:03] Production.INFO: ==8553== Releasing lock...
[2025-01-09 21:47:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 21:47:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 21:47:03] Production.INFO: ==8562== Lock acquired, processing the job...
[2025-01-09 21:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 21:47:04] Production.INFO: ==8566== Lock acquired, processing the job...
[2025-01-09 21:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 21:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:47:04] Production.INFO: ==8558== Lock acquired, processing the job...
[2025-01-09 21:47:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 21:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 21:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 21:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 21:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 21:47:04] Production.INFO: ==8560== Lock acquired, processing the job...
[2025-01-09 21:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 21:47:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 21:47:04] Production.INFO: ==8564== Lock acquired, processing the job...
[2025-01-09 21:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 21:47:04] Production.ERROR: done
[2025-01-09 21:47:04] Production.INFO: ==8568== Lock acquired, processing the job...
[2025-01-09 21:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 21:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 21:47:04] Production.INFO: Account Balance Start.
[2025-01-09 21:47:04] Production.INFO: CreateAllLog Start
[2025-01-09 21:47:04] Production.INFO: 117
[2025-01-09 21:47:04] Production.INFO: Date 2025-01-08
[2025-01-09 21:47:04] Production.INFO: Reseller ==> 0
[2025-01-09 21:47:04] Production.INFO: Date 2025-01-09
[2025-01-09 21:47:04] Production.INFO: Reseller ==> 0
[2025-01-09 21:47:04] Production.INFO: Total Charge 0
[2025-01-09 21:47:04] Production.ERROR: done
[2025-01-09 21:47:04] Production.INFO: CreateAllLog End
[2025-01-09 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-01-09 21:47:04] Production.INFO: count ==21
[2025-01-09 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-01-09 21:47:04] Production.INFO: Account Balance End.
[2025-01-09 21:47:04] Production.INFO: count ==21
[2025-01-09 21:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212422') start
[2025-01-09 21:47:04] Production.ERROR: CronJobId end 12
[2025-01-09 21:47:04] Production.INFO: ==8564== Releasing lock...
[2025-01-09 21:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 21:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 21:47:04] Production.INFO: ==8560== Releasing lock...
[2025-01-09 21:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 21:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 21:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212422') end
[2025-01-09 21:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 21:47:04] Production.INFO: 1
[2025-01-09 21:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 21:47:04] Production.INFO: ==8568== Releasing lock...
[2025-01-09 21:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 21:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 21:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 18:47:05
[end_date_ymd] => 2025-01-09 21:47:05
[RateCDR] => 1
)
[2025-01-09 21:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 18:47:05' and `end` < '2025-01-09 21:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 21:47:11] Production.ERROR: CronJobId end10
[2025-01-09 21:47:11] Production.INFO: ==8562== Releasing lock...
[2025-01-09 21:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 21:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 21:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 21:47:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 21:47:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 21:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 21:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 21:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 21:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 21:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 21:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 21:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 21:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 21:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 21:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 21:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 21:47:13] Production.INFO: call_cost start
[2025-01-09 21:47:13] Production.INFO: call_cost end
[2025-01-09 21:47:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 21:47:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 21:47:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 21:47:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 21:47:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 21:47:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 21:47:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 21:47:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 21:47:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 21:47:14] Production.INFO: ==8558== Releasing lock...
[2025-01-09 21:47:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 21:47:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 21:47:19] Production.INFO: count ==992
[2025-01-09 21:47:19] Production.ERROR: pbx CDR StartTime 2025-01-09 18:47:05 - End Time 2025-01-09 21:47:05
[2025-01-09 21:47:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 21:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212423', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212423', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212423', 'tblTempVendorCDR_20' ) start
[2025-01-09 21:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212423', 'tblTempVendorCDR_20' ) end
[2025-01-09 21:47:19] Production.INFO: ProcessCDR(1,14212423,1,1,2)
[2025-01-09 21:47:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212423,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:47:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212423,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:47:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212423,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:47:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212423,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212423', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212423', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:47:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:47:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:47:22] Production.INFO: ==8566== Releasing lock...
[2025-01-09 21:47:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 21:47:22] Production.INFO: 35 MB #Memory Used#
[2025-01-10 02:48:01] Production.INFO: ==8640== Lock acquired, processing the job...
[2025-01-10 02:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 02:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 02:48:01] Production.INFO: neon service started
[2025-01-10 02:48:01] Production.INFO: neon service started
[2025-01-10 02:48:01] Production.INFO: ==8640== Releasing lock...
[2025-01-10 02:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 02:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 21:48:02] Production.INFO: ==8642== Lock acquired, processing the job...
[2025-01-09 21:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:48:02] Production.INFO: ==8644== Lock acquired, processing the job...
[2025-01-10 02:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 02:48:02] Production.INFO: ==8644== Releasing lock...
[2025-01-10 02:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 02:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 21:48:02] Production.INFO: ==8642== Releasing lock...
[2025-01-09 21:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 21:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 21:48:03] Production.INFO: ==8647== Lock acquired, processing the job...
[2025-01-09 21:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 21:48:03] Production.INFO: ==8649== Lock acquired, processing the job...
[2025-01-09 21:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 21:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 21:48:03] Production.INFO: ==8653== Lock acquired, processing the job...
[2025-01-09 21:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 21:48:03] Production.INFO: ==8651== Lock acquired, processing the job...
[2025-01-09 21:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 21:48:03] Production.INFO: ==8649== Releasing lock...
[2025-01-09 21:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 21:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 21:48:03] Production.INFO: Account Balance Start.
[2025-01-09 21:48:03] Production.INFO: CreateAllLog Start
[2025-01-09 21:48:03] Production.INFO: 117
[2025-01-09 21:48:03] Production.INFO: Date 2025-01-08
[2025-01-09 21:48:03] Production.INFO: Reseller ==> 0
[2025-01-09 21:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 21:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 21:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 21:48:03] Production.INFO: Date 2025-01-09
[2025-01-09 21:48:03] Production.INFO: Reseller ==> 0
[2025-01-09 21:48:03] Production.INFO: ==8655== Lock acquired, processing the job...
[2025-01-09 21:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 21:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 21:48:03] Production.INFO: Total Charge 0
[2025-01-09 21:48:03] Production.INFO: CreateAllLog End
[2025-01-09 21:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:48:03] Production.INFO: ==8657== Lock acquired, processing the job...
[2025-01-09 21:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 21:48:03] Production.INFO: Account Balance End.
[2025-01-09 21:48:03] Production.ERROR: CronJobId end 12
[2025-01-09 21:48:03] Production.INFO: ==8653== Releasing lock...
[2025-01-09 21:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 21:48:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 21:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:48:04] Production.INFO: count ==21
[2025-01-09 21:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:48:04] Production.INFO: count ==21
[2025-01-09 21:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212427') start
[2025-01-09 21:48:04] Production.ERROR: done
[2025-01-09 21:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 21:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212427') end
[2025-01-09 21:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 21:48:04] Production.INFO: 1
[2025-01-09 21:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 21:48:04] Production.INFO: ==8657== Releasing lock...
[2025-01-09 21:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 21:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 21:48:04] Production.ERROR: done
[2025-01-09 21:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 18:48:05
[end_date_ymd] => 2025-01-09 21:48:05
[RateCDR] => 1
)
[2025-01-09 21:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 18:48:05' and `end` < '2025-01-09 21:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 21:48:11] Production.ERROR: CronJobId end10
[2025-01-09 21:48:11] Production.INFO: ==8651== Releasing lock...
[2025-01-09 21:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 21:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 21:48:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 21:48:11] Production.INFO: ============== Balance Warning START===========
[2025-01-09 21:48:11] Production.INFO: ============== Balance Warning END===========
[2025-01-09 21:48:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 21:48:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 21:48:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 21:48:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 21:48:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 21:48:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 21:48:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 21:48:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 21:48:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 21:48:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 21:48:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 21:48:12] Production.INFO: call_cost start
[2025-01-09 21:48:12] Production.INFO: call_cost end
[2025-01-09 21:48:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 21:48:12] Production.INFO: ============== Report Schedule START===========
[2025-01-09 21:48:12] Production.INFO: ============== Report Schedule END===========
[2025-01-09 21:48:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 21:48:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 21:48:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 21:48:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 21:48:12] Production.INFO: ============== Deal alert START===========
[2025-01-09 21:48:12] Production.INFO: ============== Deal alert END===========
[2025-01-09 21:48:12] Production.INFO: ==8647== Releasing lock...
[2025-01-09 21:48:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 21:48:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 21:48:18] Production.INFO: count ==978
[2025-01-09 21:48:18] Production.ERROR: pbx CDR StartTime 2025-01-09 18:48:05 - End Time 2025-01-09 21:48:05
[2025-01-09 21:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 21:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212428', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212428', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212428', 'tblTempVendorCDR_20' ) start
[2025-01-09 21:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212428', 'tblTempVendorCDR_20' ) end
[2025-01-09 21:48:18] Production.INFO: ProcessCDR(1,14212428,1,1,2)
[2025-01-09 21:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212428,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212428,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212428,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:48:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212428,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212428', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212428', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:48:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:48:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:48:21] Production.INFO: ==8655== Releasing lock...
[2025-01-09 21:48:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 21:48:21] Production.INFO: 35 MB #Memory Used#
[2025-01-10 02:49:02] Production.INFO: ==8730== Lock acquired, processing the job...
[2025-01-10 02:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 02:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 02:49:02] Production.INFO: neon service started
[2025-01-10 02:49:02] Production.INFO: neon service started
[2025-01-10 02:49:02] Production.INFO: ==8730== Releasing lock...
[2025-01-10 02:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 02:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 21:49:02] Production.INFO: ==8732== Lock acquired, processing the job...
[2025-01-09 21:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:49:02] Production.INFO: ==8732== Releasing lock...
[2025-01-09 21:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 21:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 02:49:02] Production.INFO: ==8734== Lock acquired, processing the job...
[2025-01-10 02:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 02:49:02] Production.INFO: ==8734== Releasing lock...
[2025-01-10 02:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 02:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 21:49:03] Production.INFO: ==8739== Lock acquired, processing the job...
[2025-01-09 21:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 21:49:03] Production.INFO: ==8745== Lock acquired, processing the job...
[2025-01-09 21:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 21:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:49:03] Production.INFO: ==8737== Lock acquired, processing the job...
[2025-01-09 21:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 21:49:03] Production.INFO: ==8739== Releasing lock...
[2025-01-09 21:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 21:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 21:49:03] Production.INFO: ==8741== Lock acquired, processing the job...
[2025-01-09 21:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 21:49:03] Production.INFO: ==8743== Lock acquired, processing the job...
[2025-01-09 21:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 21:49:03] Production.INFO: ==8747== Lock acquired, processing the job...
[2025-01-09 21:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 21:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 21:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 21:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 21:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 21:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 21:49:03] Production.INFO: Account Balance Start.
[2025-01-09 21:49:03] Production.INFO: CreateAllLog Start
[2025-01-09 21:49:03] Production.INFO: 117
[2025-01-09 21:49:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:49:04] Production.INFO: Date 2025-01-08
[2025-01-09 21:49:04] Production.INFO: Reseller ==> 0
[2025-01-09 21:49:04] Production.ERROR: done
[2025-01-09 21:49:04] Production.INFO: count ==21
[2025-01-09 21:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 21:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:49:04] Production.INFO: count ==21
[2025-01-09 21:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212430') start
[2025-01-09 21:49:04] Production.INFO: Date 2025-01-09
[2025-01-09 21:49:04] Production.INFO: Reseller ==> 0
[2025-01-09 21:49:04] Production.INFO: Total Charge 0
[2025-01-09 21:49:04] Production.INFO: CreateAllLog End
[2025-01-09 21:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212430') end
[2025-01-09 21:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 21:49:04] Production.INFO: 1
[2025-01-09 21:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 21:49:04] Production.ERROR: done
[2025-01-09 21:49:04] Production.INFO: ==8747== Releasing lock...
[2025-01-09 21:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 21:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 21:49:04] Production.INFO: Account Balance End.
[2025-01-09 21:49:04] Production.ERROR: CronJobId end 12
[2025-01-09 21:49:04] Production.INFO: ==8743== Releasing lock...
[2025-01-09 21:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 21:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 21:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 18:49:05
[end_date_ymd] => 2025-01-09 21:49:05
[RateCDR] => 1
)
[2025-01-09 21:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 18:49:05' and `end` < '2025-01-09 21:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 21:49:12] Production.ERROR: CronJobId end10
[2025-01-09 21:49:12] Production.INFO: ==8741== Releasing lock...
[2025-01-09 21:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 21:49:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 21:49:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 21:49:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 21:49:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 21:49:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 21:49:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 21:49:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 21:49:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 21:49:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 21:49:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 21:49:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 21:49:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 21:49:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 21:49:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 21:49:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 21:49:13] Production.INFO: call_cost start
[2025-01-09 21:49:13] Production.INFO: call_cost end
[2025-01-09 21:49:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 21:49:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 21:49:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 21:49:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 21:49:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 21:49:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 21:49:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 21:49:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 21:49:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 21:49:13] Production.INFO: ==8737== Releasing lock...
[2025-01-09 21:49:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 21:49:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 21:49:18] Production.INFO: count ==968
[2025-01-09 21:49:19] Production.ERROR: pbx CDR StartTime 2025-01-09 18:49:05 - End Time 2025-01-09 21:49:05
[2025-01-09 21:49:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 21:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212433', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212433', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212433', 'tblTempVendorCDR_20' ) start
[2025-01-09 21:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212433', 'tblTempVendorCDR_20' ) end
[2025-01-09 21:49:19] Production.INFO: ProcessCDR(1,14212433,1,1,2)
[2025-01-09 21:49:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212433,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:49:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212433,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:49:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212433,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:49:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212433,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:49:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212433', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:49:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212433', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:49:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:49:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:49:23] Production.INFO: ==8745== Releasing lock...
[2025-01-09 21:49:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 21:49:23] Production.INFO: 34.75 MB #Memory Used#
[2025-01-10 02:50:01] Production.INFO: ==8816== Lock acquired, processing the job...
[2025-01-10 02:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 02:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 02:50:01] Production.INFO: neon service started
[2025-01-10 02:50:01] Production.INFO: neon service started
[2025-01-10 02:50:01] Production.INFO: ==8816== Releasing lock...
[2025-01-10 02:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 02:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 21:50:02] Production.INFO: ==8818== Lock acquired, processing the job...
[2025-01-09 21:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:50:02] Production.INFO: ==8820== Lock acquired, processing the job...
[2025-01-10 02:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 02:50:02] Production.INFO: ==8820== Releasing lock...
[2025-01-10 02:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 02:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 21:50:02] Production.INFO: ==8818== Releasing lock...
[2025-01-09 21:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 21:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 21:50:03] Production.INFO: ==8823== Lock acquired, processing the job...
[2025-01-09 21:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 21:50:03] Production.INFO: ==8825== Lock acquired, processing the job...
[2025-01-09 21:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 21:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 21:50:03] Production.INFO: ==8827== Lock acquired, processing the job...
[2025-01-09 21:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 21:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 21:50:03] Production.INFO: ==8823== Releasing lock...
[2025-01-09 21:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 21:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 21:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 21:50:03] Production.INFO: ==8829== Lock acquired, processing the job...
[2025-01-09 21:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 21:50:03] Production.INFO: ==8831== Lock acquired, processing the job...
[2025-01-09 21:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 21:50:03] Production.INFO: ==8833== Lock acquired, processing the job...
[2025-01-09 21:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 21:50:03] Production.INFO: ==8837== Lock acquired, processing the job...
[2025-01-09 21:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 21:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 21:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 21:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 21:50:03] Production.INFO: ==8835== Lock acquired, processing the job...
[2025-01-09 21:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 21:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 21:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:50:03] Production.INFO: Account Balance Start.
[2025-01-09 21:50:03] Production.INFO: CreateAllLog Start
[2025-01-09 21:50:03] Production.INFO: 117
[2025-01-09 21:50:03] Production.INFO: Date 2025-01-08
[2025-01-09 21:50:03] Production.INFO: Reseller ==> 0
[2025-01-09 21:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:50:04] Production.INFO: Date 2025-01-09
[2025-01-09 21:50:04] Production.INFO: Reseller ==> 0
[2025-01-09 21:50:04] Production.INFO: ==8827== Releasing lock...
[2025-01-09 21:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 21:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 21:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:50:04] Production.INFO: Total Charge 0
[2025-01-09 21:50:04] Production.INFO: CreateAllLog End
[2025-01-09 21:50:04] Production.INFO: count ==21
[2025-01-09 21:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:50:04] Production.INFO: count ==21
[2025-01-09 21:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212437') start
[2025-01-09 21:50:04] Production.ERROR: done
[2025-01-09 21:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 21:50:04] Production.ERROR: done
[2025-01-09 21:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212437') end
[2025-01-09 21:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 21:50:04] Production.INFO: 1
[2025-01-09 21:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 21:50:04] Production.ERROR: done
[2025-01-09 21:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 21:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14212438', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 21:50:04] Production.INFO: Account Balance End.
[2025-01-09 21:50:04] Production.INFO: ==8837== Releasing lock...
[2025-01-09 21:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 21:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 21:50:04] Production.ERROR: CronJobId end 12
[2025-01-09 21:50:04] Production.INFO: ==8831== Releasing lock...
[2025-01-09 21:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 21:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 21:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 18:50:06
[end_date_ymd] => 2025-01-09 21:50:06
[RateCDR] => 1
)
[2025-01-09 21:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 18:50:06' and `end` < '2025-01-09 21:50:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 21:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14212438', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 21:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 21:50:08] Production.INFO: ProcessCDR(1,14212438,1,1,2)
[2025-01-09 21:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14212438,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14212438,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:50:09] Production.INFO: ==8835== Releasing lock...
[2025-01-09 21:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 21:50:09] Production.INFO: 26 MB #Memory Used#
[2025-01-09 21:50:13] Production.ERROR: CronJobId end10
[2025-01-09 21:50:13] Production.INFO: ==8829== Releasing lock...
[2025-01-09 21:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 21:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 21:50:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 21:50:15] Production.INFO: ============== Balance Warning START===========
[2025-01-09 21:50:15] Production.INFO: ============== Balance Warning END===========
[2025-01-09 21:50:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 21:50:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 21:50:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 21:50:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 21:50:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 21:50:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 21:50:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 21:50:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 21:50:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 21:50:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 21:50:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 21:50:16] Production.INFO: call_cost start
[2025-01-09 21:50:16] Production.INFO: call_cost end
[2025-01-09 21:50:17] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 21:50:17] Production.INFO: ============== Report Schedule START===========
[2025-01-09 21:50:17] Production.INFO: ============== Report Schedule END===========
[2025-01-09 21:50:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 21:50:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 21:50:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 21:50:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 21:50:17] Production.INFO: ============== Deal alert START===========
[2025-01-09 21:50:17] Production.INFO: ============== Deal alert END===========
[2025-01-09 21:50:17] Production.INFO: ==8825== Releasing lock...
[2025-01-09 21:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 21:50:17] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 21:50:19] Production.INFO: count ==967
[2025-01-09 21:50:19] Production.ERROR: pbx CDR StartTime 2025-01-09 18:50:06 - End Time 2025-01-09 21:50:06
[2025-01-09 21:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 21:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212439', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212439', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212439', 'tblTempVendorCDR_20' ) start
[2025-01-09 21:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212439', 'tblTempVendorCDR_20' ) end
[2025-01-09 21:50:19] Production.INFO: ProcessCDR(1,14212439,1,1,2)
[2025-01-09 21:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212439,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212439,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212439,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:50:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212439,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212439', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212439', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:50:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:50:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:50:22] Production.INFO: ==8833== Releasing lock...
[2025-01-09 21:50:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 21:50:22] Production.INFO: 34.75 MB #Memory Used#
[2025-01-10 02:51:02] Production.INFO: ==8901== Lock acquired, processing the job...
[2025-01-10 02:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 02:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 02:51:02] Production.INFO: neon service started
[2025-01-10 02:51:02] Production.INFO: neon service started
[2025-01-10 02:51:02] Production.INFO: ==8901== Releasing lock...
[2025-01-10 02:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 02:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:51:02] Production.INFO: ==8905== Lock acquired, processing the job...
[2025-01-10 02:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 02:51:02] Production.INFO: ==8905== Releasing lock...
[2025-01-10 02:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 02:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 21:51:02] Production.INFO: ==8903== Lock acquired, processing the job...
[2025-01-09 21:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:51:02] Production.INFO: ==8903== Releasing lock...
[2025-01-09 21:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 21:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 21:51:03] Production.INFO: ==8908== Lock acquired, processing the job...
[2025-01-09 21:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 21:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 21:51:03] Production.INFO: ==8912== Lock acquired, processing the job...
[2025-01-09 21:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 21:51:03] Production.INFO: ==8914== Lock acquired, processing the job...
[2025-01-09 21:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 21:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 21:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 21:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 21:51:03] Production.INFO: ==8910== Lock acquired, processing the job...
[2025-01-09 21:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 21:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 21:51:03] Production.INFO: ==8919== Lock acquired, processing the job...
[2025-01-09 21:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 21:51:03] Production.INFO: ==8917== Lock acquired, processing the job...
[2025-01-09 21:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 21:51:03] Production.INFO: Account Balance Start.
[2025-01-09 21:51:03] Production.INFO: CreateAllLog Start
[2025-01-09 21:51:03] Production.INFO: 117
[2025-01-09 21:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:51:03] Production.INFO: Date 2025-01-08
[2025-01-09 21:51:03] Production.INFO: Reseller ==> 0
[2025-01-09 21:51:03] Production.INFO: Date 2025-01-09
[2025-01-09 21:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:51:03] Production.INFO: Reseller ==> 0
[2025-01-09 21:51:04] Production.INFO: count ==21
[2025-01-09 21:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:51:04] Production.INFO: count ==21
[2025-01-09 21:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212442') start
[2025-01-09 21:51:04] Production.INFO: Total Charge 0
[2025-01-09 21:51:04] Production.INFO: CreateAllLog End
[2025-01-09 21:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212442') end
[2025-01-09 21:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 21:51:04] Production.INFO: 1
[2025-01-09 21:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 21:51:04] Production.INFO: ==8919== Releasing lock...
[2025-01-09 21:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 21:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 21:51:04] Production.INFO: ==8910== Releasing lock...
[2025-01-09 21:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 21:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 21:51:04] Production.ERROR: done
[2025-01-09 21:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 21:51:04] Production.ERROR: done
[2025-01-09 21:51:04] Production.INFO: Account Balance End.
[2025-01-09 21:51:04] Production.ERROR: CronJobId end 12
[2025-01-09 21:51:04] Production.INFO: ==8914== Releasing lock...
[2025-01-09 21:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 21:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 21:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 18:51:05
[end_date_ymd] => 2025-01-09 21:51:05
[RateCDR] => 1
)
[2025-01-09 21:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 18:51:05' and `end` < '2025-01-09 21:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 21:51:11] Production.ERROR: CronJobId end10
[2025-01-09 21:51:11] Production.INFO: ==8912== Releasing lock...
[2025-01-09 21:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 21:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 21:51:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 21:51:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 21:51:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 21:51:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 21:51:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 21:51:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 21:51:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 21:51:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 21:51:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 21:51:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 21:51:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 21:51:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 21:51:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 21:51:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 21:51:12] Production.INFO: call_cost start
[2025-01-09 21:51:12] Production.INFO: call_cost end
[2025-01-09 21:51:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 21:51:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 21:51:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 21:51:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 21:51:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 21:51:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 21:51:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 21:51:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 21:51:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 21:51:13] Production.INFO: ==8908== Releasing lock...
[2025-01-09 21:51:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 21:51:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 21:51:18] Production.INFO: count ==956
[2025-01-09 21:51:18] Production.ERROR: pbx CDR StartTime 2025-01-09 18:51:05 - End Time 2025-01-09 21:51:05
[2025-01-09 21:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 21:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212444', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212444', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212444', 'tblTempVendorCDR_20' ) start
[2025-01-09 21:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212444', 'tblTempVendorCDR_20' ) end
[2025-01-09 21:51:18] Production.INFO: ProcessCDR(1,14212444,1,1,2)
[2025-01-09 21:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212444,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212444,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212444,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:51:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212444,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212444', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212444', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:51:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:51:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:51:21] Production.INFO: ==8917== Releasing lock...
[2025-01-09 21:51:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 21:51:21] Production.INFO: 34.75 MB #Memory Used#
[2025-01-10 02:52:01] Production.INFO: ==8983== Lock acquired, processing the job...
[2025-01-10 02:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 02:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 02:52:01] Production.INFO: neon service started
[2025-01-10 02:52:01] Production.INFO: neon service started
[2025-01-10 02:52:01] Production.INFO: ==8983== Releasing lock...
[2025-01-10 02:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 02:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 21:52:02] Production.INFO: ==8985== Lock acquired, processing the job...
[2025-01-09 21:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:52:02] Production.INFO: ==8987== Lock acquired, processing the job...
[2025-01-10 02:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 02:52:02] Production.INFO: ==8987== Releasing lock...
[2025-01-10 02:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 02:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 21:52:02] Production.INFO: ==8985== Releasing lock...
[2025-01-09 21:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 21:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 21:52:03] Production.INFO: ==8998== Lock acquired, processing the job...
[2025-01-09 21:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 21:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:52:03] Production.INFO: ==9000== Lock acquired, processing the job...
[2025-01-09 21:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 21:52:03] Production.INFO: ==8990== Lock acquired, processing the job...
[2025-01-09 21:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 21:52:04] Production.INFO: ==8992== Lock acquired, processing the job...
[2025-01-09 21:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 21:52:04] Production.INFO: ==8994== Lock acquired, processing the job...
[2025-01-09 21:52:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 21:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:52:04] Production.INFO: ==8996== Lock acquired, processing the job...
[2025-01-09 21:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 21:52:04] Production.INFO: count ==21
[2025-01-09 21:52:04] Production.ERROR: done
[2025-01-09 21:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 21:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:52:04] Production.INFO: count ==21
[2025-01-09 21:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212445') start
[2025-01-09 21:52:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 21:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 21:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 21:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 21:52:04] Production.INFO: Account Balance Start.
[2025-01-09 21:52:04] Production.INFO: CreateAllLog Start
[2025-01-09 21:52:04] Production.INFO: 117
[2025-01-09 21:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 21:52:04] Production.INFO: Date 2025-01-08
[2025-01-09 21:52:04] Production.INFO: Reseller ==> 0
[2025-01-09 21:52:04] Production.INFO: Date 2025-01-09
[2025-01-09 21:52:04] Production.INFO: Reseller ==> 0
[2025-01-09 21:52:04] Production.ERROR: done
[2025-01-09 21:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212445') end
[2025-01-09 21:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 21:52:04] Production.INFO: 1
[2025-01-09 21:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 21:52:04] Production.INFO: ==9000== Releasing lock...
[2025-01-09 21:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 21:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 21:52:04] Production.INFO: Total Charge 0
[2025-01-09 21:52:04] Production.INFO: CreateAllLog End
[2025-01-09 21:52:04] Production.INFO: ==8992== Releasing lock...
[2025-01-09 21:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 21:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 21:52:04] Production.INFO: Account Balance End.
[2025-01-09 21:52:04] Production.ERROR: CronJobId end 12
[2025-01-09 21:52:04] Production.INFO: ==8996== Releasing lock...
[2025-01-09 21:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 21:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 21:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 18:52:05
[end_date_ymd] => 2025-01-09 21:52:05
[RateCDR] => 1
)
[2025-01-09 21:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 18:52:05' and `end` < '2025-01-09 21:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 21:52:12] Production.ERROR: CronJobId end10
[2025-01-09 21:52:12] Production.INFO: ==8994== Releasing lock...
[2025-01-09 21:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 21:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 21:52:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 21:52:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 21:52:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 21:52:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 21:52:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 21:52:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 21:52:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 21:52:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 21:52:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 21:52:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 21:52:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 21:52:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 21:52:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 21:52:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 21:52:15] Production.INFO: call_cost start
[2025-01-09 21:52:15] Production.INFO: call_cost end
[2025-01-09 21:52:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 21:52:16] Production.INFO: ============== Report Schedule START===========
[2025-01-09 21:52:16] Production.INFO: ============== Report Schedule END===========
[2025-01-09 21:52:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 21:52:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 21:52:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 21:52:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 21:52:16] Production.INFO: ============== Deal alert START===========
[2025-01-09 21:52:16] Production.INFO: ============== Deal alert END===========
[2025-01-09 21:52:16] Production.INFO: ==8990== Releasing lock...
[2025-01-09 21:52:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 21:52:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 21:52:18] Production.INFO: count ==957
[2025-01-09 21:52:18] Production.ERROR: pbx CDR StartTime 2025-01-09 18:52:05 - End Time 2025-01-09 21:52:05
[2025-01-09 21:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 21:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212449', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212449', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212449', 'tblTempVendorCDR_20' ) start
[2025-01-09 21:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212449', 'tblTempVendorCDR_20' ) end
[2025-01-09 21:52:18] Production.INFO: ProcessCDR(1,14212449,1,1,2)
[2025-01-09 21:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212449,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212449,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212449,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:52:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212449,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212449', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212449', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:52:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:52:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:52:22] Production.INFO: ==8998== Releasing lock...
[2025-01-09 21:52:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 21:52:22] Production.INFO: 34.75 MB #Memory Used#
[2025-01-10 02:53:02] Production.INFO: ==9065== Lock acquired, processing the job...
[2025-01-10 02:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 02:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 02:53:02] Production.INFO: neon service started
[2025-01-10 02:53:02] Production.INFO: neon service started
[2025-01-10 02:53:02] Production.INFO: ==9065== Releasing lock...
[2025-01-10 02:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 02:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 21:53:02] Production.INFO: ==9067== Lock acquired, processing the job...
[2025-01-09 21:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:53:02] Production.INFO: ==9069== Lock acquired, processing the job...
[2025-01-10 02:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 02:53:02] Production.INFO: ==9069== Releasing lock...
[2025-01-10 02:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 02:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 21:53:03] Production.INFO: ==9067== Releasing lock...
[2025-01-09 21:53:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 21:53:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 21:53:03] Production.INFO: ==9076== Lock acquired, processing the job...
[2025-01-09 21:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 21:53:03] Production.INFO: ==9074== Lock acquired, processing the job...
[2025-01-09 21:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 21:53:03] Production.INFO: ==9072== Lock acquired, processing the job...
[2025-01-09 21:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 21:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 21:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 21:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 21:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 21:53:04] Production.INFO: ==9080== Lock acquired, processing the job...
[2025-01-09 21:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 21:53:04] Production.INFO: ==9078== Lock acquired, processing the job...
[2025-01-09 21:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 21:53:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 21:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:53:04] Production.INFO: ==9082== Lock acquired, processing the job...
[2025-01-09 21:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 21:53:04] Production.INFO: Account Balance Start.
[2025-01-09 21:53:04] Production.INFO: CreateAllLog Start
[2025-01-09 21:53:04] Production.INFO: 117
[2025-01-09 21:53:04] Production.INFO: Date 2025-01-08
[2025-01-09 21:53:04] Production.INFO: Reseller ==> 0
[2025-01-09 21:53:04] Production.INFO: Date 2025-01-09
[2025-01-09 21:53:04] Production.INFO: Reseller ==> 0
[2025-01-09 21:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:53:04] Production.INFO: Total Charge 0
[2025-01-09 21:53:04] Production.INFO: count ==21
[2025-01-09 21:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:53:04] Production.INFO: count ==21
[2025-01-09 21:53:04] Production.INFO: ==9074== Releasing lock...
[2025-01-09 21:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 21:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 21:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212453') start
[2025-01-09 21:53:04] Production.INFO: CreateAllLog End
[2025-01-09 21:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212453') end
[2025-01-09 21:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 21:53:04] Production.INFO: 1
[2025-01-09 21:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 21:53:04] Production.ERROR: done
[2025-01-09 21:53:04] Production.INFO: ==9082== Releasing lock...
[2025-01-09 21:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 21:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 21:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 21:53:04] Production.ERROR: done
[2025-01-09 21:53:04] Production.INFO: Account Balance End.
[2025-01-09 21:53:04] Production.ERROR: CronJobId end 12
[2025-01-09 21:53:04] Production.INFO: ==9078== Releasing lock...
[2025-01-09 21:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 21:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 21:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 18:53:05
[end_date_ymd] => 2025-01-09 21:53:05
[RateCDR] => 1
)
[2025-01-09 21:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 18:53:05' and `end` < '2025-01-09 21:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 21:53:12] Production.ERROR: CronJobId end10
[2025-01-09 21:53:12] Production.INFO: ==9076== Releasing lock...
[2025-01-09 21:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 21:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 21:53:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 21:53:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 21:53:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 21:53:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 21:53:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 21:53:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 21:53:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 21:53:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 21:53:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 21:53:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 21:53:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 21:53:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 21:53:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 21:53:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 21:53:14] Production.INFO: call_cost start
[2025-01-09 21:53:14] Production.INFO: call_cost end
[2025-01-09 21:53:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 21:53:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 21:53:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 21:53:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 21:53:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 21:53:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 21:53:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 21:53:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 21:53:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 21:53:15] Production.INFO: ==9072== Releasing lock...
[2025-01-09 21:53:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 21:53:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 21:53:19] Production.INFO: count ==957
[2025-01-09 21:53:19] Production.ERROR: pbx CDR StartTime 2025-01-09 18:53:05 - End Time 2025-01-09 21:53:05
[2025-01-09 21:53:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 21:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212454', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212454', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212454', 'tblTempVendorCDR_20' ) start
[2025-01-09 21:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212454', 'tblTempVendorCDR_20' ) end
[2025-01-09 21:53:19] Production.INFO: ProcessCDR(1,14212454,1,1,2)
[2025-01-09 21:53:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212454,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:53:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212454,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:53:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212454,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212454,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212454', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212454', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:53:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:53:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:53:22] Production.INFO: ==9080== Releasing lock...
[2025-01-09 21:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 21:53:22] Production.INFO: 34.75 MB #Memory Used#
[2025-01-10 02:54:01] Production.INFO: ==9140== Lock acquired, processing the job...
[2025-01-10 02:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 02:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 02:54:01] Production.INFO: neon service started
[2025-01-10 02:54:01] Production.INFO: neon service started
[2025-01-10 02:54:01] Production.INFO: ==9140== Releasing lock...
[2025-01-10 02:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 02:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 21:54:01] Production.INFO: ==9142== Lock acquired, processing the job...
[2025-01-09 21:54:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:54:02] Production.INFO: ==9142== Releasing lock...
[2025-01-09 21:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 21:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 02:54:02] Production.INFO: ==9144== Lock acquired, processing the job...
[2025-01-10 02:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 02:54:02] Production.INFO: ==9144== Releasing lock...
[2025-01-10 02:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 02:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 21:54:03] Production.INFO: ==9151== Lock acquired, processing the job...
[2025-01-09 21:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 21:54:03] Production.INFO: ==9155== Lock acquired, processing the job...
[2025-01-09 21:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 21:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 21:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 21:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 21:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 21:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:54:03] Production.INFO: ==9147== Lock acquired, processing the job...
[2025-01-09 21:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 21:54:03] Production.INFO: ==9149== Lock acquired, processing the job...
[2025-01-09 21:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 21:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 21:54:03] Production.INFO: ==9153== Lock acquired, processing the job...
[2025-01-09 21:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 21:54:03] Production.INFO: ==9157== Lock acquired, processing the job...
[2025-01-09 21:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 21:54:03] Production.ERROR: done
[2025-01-09 21:54:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 21:54:03] Production.INFO: Account Balance Start.
[2025-01-09 21:54:03] Production.INFO: CreateAllLog Start
[2025-01-09 21:54:03] Production.INFO: 117
[2025-01-09 21:54:03] Production.INFO: Date 2025-01-08
[2025-01-09 21:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:54:03] Production.INFO: Reseller ==> 0
[2025-01-09 21:54:03] Production.INFO: count ==21
[2025-01-09 21:54:03] Production.ERROR: done
[2025-01-09 21:54:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:54:03] Production.INFO: count ==21
[2025-01-09 21:54:03] Production.INFO: Date 2025-01-09
[2025-01-09 21:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212458') start
[2025-01-09 21:54:03] Production.INFO: ==9149== Releasing lock...
[2025-01-09 21:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 21:54:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 21:54:03] Production.INFO: Reseller ==> 0
[2025-01-09 21:54:03] Production.INFO: Total Charge 0
[2025-01-09 21:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212458') end
[2025-01-09 21:54:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 21:54:03] Production.INFO: 1
[2025-01-09 21:54:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 21:54:03] Production.INFO: CreateAllLog End
[2025-01-09 21:54:03] Production.INFO: ==9157== Releasing lock...
[2025-01-09 21:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 21:54:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 21:54:04] Production.INFO: Account Balance End.
[2025-01-09 21:54:04] Production.ERROR: CronJobId end 12
[2025-01-09 21:54:04] Production.INFO: ==9153== Releasing lock...
[2025-01-09 21:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 21:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 21:54:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 18:54:04
[end_date_ymd] => 2025-01-09 21:54:04
[RateCDR] => 1
)
[2025-01-09 21:54:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 18:54:04' and `end` < '2025-01-09 21:54:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 21:54:10] Production.ERROR: CronJobId end10
[2025-01-09 21:54:10] Production.INFO: ==9151== Releasing lock...
[2025-01-09 21:54:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 21:54:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 21:54:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 21:54:11] Production.INFO: ============== Balance Warning START===========
[2025-01-09 21:54:11] Production.INFO: ============== Balance Warning END===========
[2025-01-09 21:54:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 21:54:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 21:54:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 21:54:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 21:54:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 21:54:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 21:54:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 21:54:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 21:54:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 21:54:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 21:54:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 21:54:12] Production.INFO: call_cost start
[2025-01-09 21:54:12] Production.INFO: call_cost end
[2025-01-09 21:54:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 21:54:12] Production.INFO: ============== Report Schedule START===========
[2025-01-09 21:54:12] Production.INFO: ============== Report Schedule END===========
[2025-01-09 21:54:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 21:54:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 21:54:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 21:54:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 21:54:12] Production.INFO: ============== Deal alert START===========
[2025-01-09 21:54:12] Production.INFO: ============== Deal alert END===========
[2025-01-09 21:54:12] Production.INFO: ==9147== Releasing lock...
[2025-01-09 21:54:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 21:54:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 21:54:17] Production.INFO: count ==956
[2025-01-09 21:54:17] Production.ERROR: pbx CDR StartTime 2025-01-09 18:54:04 - End Time 2025-01-09 21:54:04
[2025-01-09 21:54:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 21:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212459', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212459', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212459', 'tblTempVendorCDR_20' ) start
[2025-01-09 21:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212459', 'tblTempVendorCDR_20' ) end
[2025-01-09 21:54:17] Production.INFO: ProcessCDR(1,14212459,1,1,2)
[2025-01-09 21:54:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212459,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:54:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212459,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:54:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212459,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:54:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212459,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:54:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212459', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:54:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212459', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:54:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:54:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:54:20] Production.INFO: ==9155== Releasing lock...
[2025-01-09 21:54:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 21:54:20] Production.INFO: 34.75 MB #Memory Used#
[2025-01-10 02:55:01] Production.INFO: ==9255== Lock acquired, processing the job...
[2025-01-10 02:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 02:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 02:55:02] Production.INFO: neon service started
[2025-01-10 02:55:02] Production.INFO: neon service started
[2025-01-10 02:55:02] Production.INFO: ==9255== Releasing lock...
[2025-01-10 02:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 02:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:55:02] Production.INFO: ==9259== Lock acquired, processing the job...
[2025-01-10 02:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 02:55:02] Production.INFO: ==9259== Releasing lock...
[2025-01-10 02:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 02:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 21:55:02] Production.INFO: ==9257== Lock acquired, processing the job...
[2025-01-09 21:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:55:02] Production.INFO: ==9257== Releasing lock...
[2025-01-09 21:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 21:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 21:55:03] Production.INFO: ==9261== Lock acquired, processing the job...
[2025-01-09 21:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 21:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 21:55:03] Production.INFO: ==9263== Lock acquired, processing the job...
[2025-01-09 21:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 21:55:03] Production.INFO: ==9270== Lock acquired, processing the job...
[2025-01-09 21:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 21:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:55:03] Production.INFO: ==9267== Lock acquired, processing the job...
[2025-01-09 21:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 21:55:03] Production.INFO: ==9263== Releasing lock...
[2025-01-09 21:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 21:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 21:55:03] Production.INFO: ==9265== Lock acquired, processing the job...
[2025-01-09 21:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 21:55:03] Production.INFO: ==9272== Lock acquired, processing the job...
[2025-01-09 21:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 21:55:04] Production.INFO: Account Balance Start.
[2025-01-09 21:55:04] Production.INFO: CreateAllLog Start
[2025-01-09 21:55:04] Production.INFO: 117
[2025-01-09 21:55:04] Production.INFO: Date 2025-01-08
[2025-01-09 21:55:04] Production.INFO: Reseller ==> 0
[2025-01-09 21:55:04] Production.ERROR: done
[2025-01-09 21:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 21:55:04] Production.INFO: Date 2025-01-09
[2025-01-09 21:55:04] Production.INFO: Reseller ==> 0
[2025-01-09 21:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:55:04] Production.INFO: count ==21
[2025-01-09 21:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 21:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 21:55:04] Production.INFO: Total Charge 0
[2025-01-09 21:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 21:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:55:04] Production.INFO: count ==21
[2025-01-09 21:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 21:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212463') start
[2025-01-09 21:55:04] Production.INFO: CreateAllLog End
[2025-01-09 21:55:04] Production.ERROR: done
[2025-01-09 21:55:04] Production.INFO: Account Balance End.
[2025-01-09 21:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212463') end
[2025-01-09 21:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 21:55:04] Production.INFO: 1
[2025-01-09 21:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 21:55:04] Production.ERROR: CronJobId end 12
[2025-01-09 21:55:04] Production.INFO: ==9267== Releasing lock...
[2025-01-09 21:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 21:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 21:55:04] Production.INFO: ==9272== Releasing lock...
[2025-01-09 21:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 21:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 21:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 18:55:05
[end_date_ymd] => 2025-01-09 21:55:05
[RateCDR] => 1
)
[2025-01-09 21:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 18:55:05' and `end` < '2025-01-09 21:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 21:55:12] Production.ERROR: CronJobId end10
[2025-01-09 21:55:12] Production.INFO: ==9265== Releasing lock...
[2025-01-09 21:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 21:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 21:55:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 21:55:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 21:55:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 21:55:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 21:55:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 21:55:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 21:55:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 21:55:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 21:55:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 21:55:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 21:55:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 21:55:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 21:55:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 21:55:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 21:55:12] Production.INFO: call_cost start
[2025-01-09 21:55:12] Production.INFO: call_cost end
[2025-01-09 21:55:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 21:55:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 21:55:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 21:55:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 21:55:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 21:55:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 21:55:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 21:55:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 21:55:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 21:55:13] Production.INFO: ==9261== Releasing lock...
[2025-01-09 21:55:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 21:55:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 21:55:18] Production.INFO: count ==953
[2025-01-09 21:55:18] Production.ERROR: pbx CDR StartTime 2025-01-09 18:55:05 - End Time 2025-01-09 21:55:05
[2025-01-09 21:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 21:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212464', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212464', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212464', 'tblTempVendorCDR_20' ) start
[2025-01-09 21:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212464', 'tblTempVendorCDR_20' ) end
[2025-01-09 21:55:18] Production.INFO: ProcessCDR(1,14212464,1,1,2)
[2025-01-09 21:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212464,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212464,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212464,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212464,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212464', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212464', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:55:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:55:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:55:21] Production.INFO: ==9270== Releasing lock...
[2025-01-09 21:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 21:55:21] Production.INFO: 34.75 MB #Memory Used#
[2025-01-10 02:56:01] Production.INFO: ==9329== Lock acquired, processing the job...
[2025-01-10 02:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 02:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 02:56:01] Production.INFO: neon service started
[2025-01-10 02:56:01] Production.INFO: neon service started
[2025-01-10 02:56:01] Production.INFO: ==9329== Releasing lock...
[2025-01-10 02:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 02:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 21:56:02] Production.INFO: ==9331== Lock acquired, processing the job...
[2025-01-09 21:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:56:02] Production.INFO: ==9333== Lock acquired, processing the job...
[2025-01-10 02:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 02:56:02] Production.INFO: ==9333== Releasing lock...
[2025-01-10 02:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 02:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 21:56:02] Production.INFO: ==9331== Releasing lock...
[2025-01-09 21:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 21:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 21:56:03] Production.INFO: ==9338== Lock acquired, processing the job...
[2025-01-09 21:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 21:56:03] Production.INFO: ==9336== Lock acquired, processing the job...
[2025-01-09 21:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 21:56:03] Production.INFO: ==9340== Lock acquired, processing the job...
[2025-01-09 21:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 21:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 21:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 21:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 21:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 21:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 21:56:03] Production.INFO: ==9342== Lock acquired, processing the job...
[2025-01-09 21:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 21:56:03] Production.INFO: ==9344== Lock acquired, processing the job...
[2025-01-09 21:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 21:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:56:03] Production.INFO: ==9346== Lock acquired, processing the job...
[2025-01-09 21:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 21:56:03] Production.INFO: Account Balance Start.
[2025-01-09 21:56:03] Production.INFO: CreateAllLog Start
[2025-01-09 21:56:03] Production.INFO: 117
[2025-01-09 21:56:03] Production.INFO: Date 2025-01-08
[2025-01-09 21:56:03] Production.INFO: Reseller ==> 0
[2025-01-09 21:56:03] Production.INFO: ==9338== Releasing lock...
[2025-01-09 21:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 21:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 21:56:03] Production.INFO: Date 2025-01-09
[2025-01-09 21:56:03] Production.INFO: Reseller ==> 0
[2025-01-09 21:56:03] Production.INFO: Total Charge 0
[2025-01-09 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-01-09 21:56:04] Production.INFO: CreateAllLog End
[2025-01-09 21:56:04] Production.INFO: count ==21
[2025-01-09 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-01-09 21:56:04] Production.INFO: count ==21
[2025-01-09 21:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212468') start
[2025-01-09 21:56:04] Production.ERROR: done
[2025-01-09 21:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 21:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212468') end
[2025-01-09 21:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 21:56:04] Production.INFO: 1
[2025-01-09 21:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 21:56:04] Production.ERROR: done
[2025-01-09 21:56:04] Production.INFO: Account Balance End.
[2025-01-09 21:56:04] Production.INFO: ==9346== Releasing lock...
[2025-01-09 21:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 21:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 21:56:04] Production.ERROR: CronJobId end 12
[2025-01-09 21:56:04] Production.INFO: ==9342== Releasing lock...
[2025-01-09 21:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 21:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 21:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 18:56:05
[end_date_ymd] => 2025-01-09 21:56:05
[RateCDR] => 1
)
[2025-01-09 21:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 18:56:05' and `end` < '2025-01-09 21:56:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 21:56:11] Production.ERROR: CronJobId end10
[2025-01-09 21:56:11] Production.INFO: ==9340== Releasing lock...
[2025-01-09 21:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 21:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 21:56:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 21:56:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 21:56:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 21:56:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 21:56:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 21:56:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 21:56:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 21:56:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 21:56:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 21:56:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 21:56:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 21:56:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 21:56:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 21:56:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 21:56:12] Production.INFO: call_cost start
[2025-01-09 21:56:12] Production.INFO: call_cost end
[2025-01-09 21:56:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 21:56:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 21:56:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 21:56:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 21:56:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 21:56:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 21:56:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 21:56:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 21:56:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 21:56:13] Production.INFO: ==9336== Releasing lock...
[2025-01-09 21:56:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 21:56:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 21:56:19] Production.INFO: count ==946
[2025-01-09 21:56:19] Production.ERROR: pbx CDR StartTime 2025-01-09 18:56:05 - End Time 2025-01-09 21:56:05
[2025-01-09 21:56:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 21:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212469', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212469', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212469', 'tblTempVendorCDR_20' ) start
[2025-01-09 21:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212469', 'tblTempVendorCDR_20' ) end
[2025-01-09 21:56:19] Production.INFO: ProcessCDR(1,14212469,1,1,2)
[2025-01-09 21:56:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212469,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:56:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212469,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:56:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212469,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:56:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212469,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212469', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212469', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:56:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:56:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:56:22] Production.INFO: ==9344== Releasing lock...
[2025-01-09 21:56:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 21:56:22] Production.INFO: 34.75 MB #Memory Used#
[2025-01-10 02:57:02] Production.INFO: ==9402== Lock acquired, processing the job...
[2025-01-10 02:57:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 02:57:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 02:57:02] Production.INFO: neon service started
[2025-01-10 02:57:02] Production.INFO: neon service started
[2025-01-10 02:57:02] Production.INFO: ==9402== Releasing lock...
[2025-01-10 02:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 02:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 21:57:02] Production.INFO: ==9404== Lock acquired, processing the job...
[2025-01-09 21:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:57:02] Production.INFO: ==9406== Lock acquired, processing the job...
[2025-01-10 02:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 02:57:02] Production.INFO: ==9406== Releasing lock...
[2025-01-10 02:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 02:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 21:57:03] Production.INFO: ==9404== Releasing lock...
[2025-01-09 21:57:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 21:57:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 21:57:03] Production.INFO: ==9409== Lock acquired, processing the job...
[2025-01-09 21:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 21:57:03] Production.INFO: ==9411== Lock acquired, processing the job...
[2025-01-09 21:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 21:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 21:57:03] Production.INFO: ==9413== Lock acquired, processing the job...
[2025-01-09 21:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 21:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 21:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 21:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 21:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 21:57:04] Production.INFO: ==9416== Lock acquired, processing the job...
[2025-01-09 21:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 21:57:04] Production.INFO: Account Balance Start.
[2025-01-09 21:57:04] Production.INFO: ==9411== Releasing lock...
[2025-01-09 21:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 21:57:04] Production.INFO: CreateAllLog Start
[2025-01-09 21:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 21:57:04] Production.INFO: 117
[2025-01-09 21:57:04] Production.INFO: Date 2025-01-08
[2025-01-09 21:57:04] Production.INFO: Reseller ==> 0
[2025-01-09 21:57:04] Production.INFO: ==9418== Lock acquired, processing the job...
[2025-01-09 21:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 21:57:04] Production.INFO: Date 2025-01-09
[2025-01-09 21:57:04] Production.INFO: Reseller ==> 0
[2025-01-09 21:57:04] Production.INFO: ==9420== Lock acquired, processing the job...
[2025-01-09 21:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 21:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:57:04] Production.INFO: Total Charge 0
[2025-01-09 21:57:04] Production.INFO: CreateAllLog End
[2025-01-09 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-01-09 21:57:04] Production.INFO: count ==21
[2025-01-09 21:57:04] Production.ERROR: done
[2025-01-09 21:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 21:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:57:04] Production.INFO: count ==21
[2025-01-09 21:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212473') start
[2025-01-09 21:57:04] Production.INFO: Account Balance End.
[2025-01-09 21:57:04] Production.ERROR: done
[2025-01-09 21:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212473') end
[2025-01-09 21:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 21:57:04] Production.INFO: 1
[2025-01-09 21:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 21:57:04] Production.ERROR: CronJobId end 12
[2025-01-09 21:57:04] Production.INFO: ==9416== Releasing lock...
[2025-01-09 21:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 21:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 21:57:04] Production.INFO: ==9420== Releasing lock...
[2025-01-09 21:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 21:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 21:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 18:57:05
[end_date_ymd] => 2025-01-09 21:57:05
[RateCDR] => 1
)
[2025-01-09 21:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 18:57:05' and `end` < '2025-01-09 21:57:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 21:57:11] Production.ERROR: CronJobId end10
[2025-01-09 21:57:11] Production.INFO: ==9413== Releasing lock...
[2025-01-09 21:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 21:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 21:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 21:57:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 21:57:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 21:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 21:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 21:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 21:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 21:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 21:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 21:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 21:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 21:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 21:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 21:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 21:57:13] Production.INFO: call_cost start
[2025-01-09 21:57:13] Production.INFO: call_cost end
[2025-01-09 21:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 21:57:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 21:57:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 21:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 21:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 21:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 21:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 21:57:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 21:57:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 21:57:14] Production.INFO: ==9409== Releasing lock...
[2025-01-09 21:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 21:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 21:57:18] Production.INFO: count ==946
[2025-01-09 21:57:18] Production.ERROR: pbx CDR StartTime 2025-01-09 18:57:05 - End Time 2025-01-09 21:57:05
[2025-01-09 21:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 21:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212474', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212474', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212474', 'tblTempVendorCDR_20' ) start
[2025-01-09 21:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212474', 'tblTempVendorCDR_20' ) end
[2025-01-09 21:57:18] Production.INFO: ProcessCDR(1,14212474,1,1,2)
[2025-01-09 21:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212474,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212474,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212474,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212474,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212474', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212474', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:57:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:57:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:57:21] Production.INFO: ==9418== Releasing lock...
[2025-01-09 21:57:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 21:57:21] Production.INFO: 34.75 MB #Memory Used#
[2025-01-10 02:58:01] Production.INFO: ==9475== Lock acquired, processing the job...
[2025-01-10 02:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 02:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 02:58:01] Production.INFO: neon service started
[2025-01-10 02:58:01] Production.INFO: neon service started
[2025-01-10 02:58:01] Production.INFO: ==9475== Releasing lock...
[2025-01-10 02:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 02:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 21:58:01] Production.INFO: ==9477== Lock acquired, processing the job...
[2025-01-09 21:58:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:58:02] Production.INFO: ==9477== Releasing lock...
[2025-01-09 21:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 21:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 02:58:02] Production.INFO: ==9479== Lock acquired, processing the job...
[2025-01-10 02:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 02:58:02] Production.INFO: ==9479== Releasing lock...
[2025-01-10 02:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 02:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 21:58:03] Production.INFO: ==9489== Lock acquired, processing the job...
[2025-01-09 21:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 21:58:03] Production.INFO: ==9481== Lock acquired, processing the job...
[2025-01-09 21:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 21:58:03] Production.INFO: ==9491== Lock acquired, processing the job...
[2025-01-09 21:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 21:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:58:03] Production.INFO: ==9483== Lock acquired, processing the job...
[2025-01-09 21:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 21:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 21:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:58:03] Production.INFO: ==9485== Lock acquired, processing the job...
[2025-01-09 21:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 21:58:03] Production.INFO: count ==21
[2025-01-09 21:58:03] Production.INFO: ==9487== Lock acquired, processing the job...
[2025-01-09 21:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 21:58:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:58:03] Production.INFO: count ==21
[2025-01-09 21:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212476') start
[2025-01-09 21:58:03] Production.ERROR: done
[2025-01-09 21:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212476') end
[2025-01-09 21:58:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 21:58:03] Production.INFO: 1
[2025-01-09 21:58:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 21:58:03] Production.INFO: Account Balance Start.
[2025-01-09 21:58:03] Production.INFO: CreateAllLog Start
[2025-01-09 21:58:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 21:58:03] Production.INFO: 117
[2025-01-09 21:58:03] Production.INFO: ==9491== Releasing lock...
[2025-01-09 21:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 21:58:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 21:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 21:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 21:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 21:58:03] Production.INFO: Date 2025-01-08
[2025-01-09 21:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 21:58:03] Production.INFO: Reseller ==> 0
[2025-01-09 21:58:03] Production.INFO: Date 2025-01-09
[2025-01-09 21:58:03] Production.INFO: Reseller ==> 0
[2025-01-09 21:58:03] Production.INFO: Total Charge 0
[2025-01-09 21:58:03] Production.INFO: CreateAllLog End
[2025-01-09 21:58:03] Production.INFO: ==9483== Releasing lock...
[2025-01-09 21:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 21:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 21:58:03] Production.ERROR: done
[2025-01-09 21:58:03] Production.INFO: Account Balance End.
[2025-01-09 21:58:04] Production.ERROR: CronJobId end 12
[2025-01-09 21:58:04] Production.INFO: ==9487== Releasing lock...
[2025-01-09 21:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 21:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 21:58:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 18:58:04
[end_date_ymd] => 2025-01-09 21:58:04
[RateCDR] => 1
)
[2025-01-09 21:58:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 18:58:04' and `end` < '2025-01-09 21:58:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 21:58:11] Production.ERROR: CronJobId end10
[2025-01-09 21:58:11] Production.INFO: ==9485== Releasing lock...
[2025-01-09 21:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 21:58:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 21:58:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 21:58:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 21:58:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 21:58:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 21:58:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 21:58:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 21:58:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 21:58:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 21:58:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 21:58:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 21:58:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 21:58:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 21:58:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 21:58:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 21:58:12] Production.INFO: call_cost start
[2025-01-09 21:58:12] Production.INFO: call_cost end
[2025-01-09 21:58:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 21:58:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 21:58:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 21:58:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 21:58:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 21:58:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 21:58:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 21:58:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 21:58:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 21:58:13] Production.INFO: ==9481== Releasing lock...
[2025-01-09 21:58:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 21:58:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 21:58:17] Production.INFO: count ==945
[2025-01-09 21:58:17] Production.ERROR: pbx CDR StartTime 2025-01-09 18:58:04 - End Time 2025-01-09 21:58:04
[2025-01-09 21:58:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 21:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212479', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212479', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212479', 'tblTempVendorCDR_20' ) start
[2025-01-09 21:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212479', 'tblTempVendorCDR_20' ) end
[2025-01-09 21:58:17] Production.INFO: ProcessCDR(1,14212479,1,1,2)
[2025-01-09 21:58:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212479,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:58:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212479,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:58:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212479,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:58:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212479,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:58:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212479', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:58:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212479', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:58:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:58:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:58:20] Production.INFO: ==9489== Releasing lock...
[2025-01-09 21:58:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 21:58:20] Production.INFO: 34.75 MB #Memory Used#
[2025-01-10 02:59:02] Production.INFO: ==9548== Lock acquired, processing the job...
[2025-01-10 02:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 02:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 02:59:02] Production.INFO: neon service started
[2025-01-10 02:59:02] Production.INFO: neon service started
[2025-01-10 02:59:02] Production.INFO: ==9548== Releasing lock...
[2025-01-10 02:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 02:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:59:02] Production.INFO: ==9553== Lock acquired, processing the job...
[2025-01-10 02:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 02:59:02] Production.INFO: ==9553== Releasing lock...
[2025-01-10 02:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 02:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 21:59:02] Production.INFO: ==9551== Lock acquired, processing the job...
[2025-01-09 21:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:59:02] Production.INFO: ==9551== Releasing lock...
[2025-01-09 21:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 21:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 21:59:03] Production.INFO: ==9561== Lock acquired, processing the job...
[2025-01-09 21:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 21:59:03] Production.INFO: ==9555== Lock acquired, processing the job...
[2025-01-09 21:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 21:59:03] Production.INFO: Account Balance Start.
[2025-01-09 21:59:03] Production.INFO: CreateAllLog Start
[2025-01-09 21:59:03] Production.INFO: 117
[2025-01-09 21:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 21:59:03] Production.INFO: Date 2025-01-08
[2025-01-09 21:59:03] Production.INFO: ==9565== Lock acquired, processing the job...
[2025-01-09 21:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 21:59:03] Production.INFO: ==9557== Lock acquired, processing the job...
[2025-01-09 21:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 21:59:03] Production.INFO: Reseller ==> 0
[2025-01-09 21:59:03] Production.INFO: Date 2025-01-09
[2025-01-09 21:59:03] Production.INFO: Reseller ==> 0
[2025-01-09 21:59:03] Production.INFO: ==9559== Lock acquired, processing the job...
[2025-01-09 21:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 21:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:59:03] Production.INFO: Total Charge 0
[2025-01-09 21:59:03] Production.INFO: count ==21
[2025-01-09 21:59:03] Production.INFO: CreateAllLog End
[2025-01-09 21:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 21:59:04] Production.INFO: count ==21
[2025-01-09 21:59:04] Production.INFO: ==9563== Lock acquired, processing the job...
[2025-01-09 21:59:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 21:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212482') start
[2025-01-09 21:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 21:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 21:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 21:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 21:59:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 21:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212482') end
[2025-01-09 21:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 21:59:04] Production.INFO: 1
[2025-01-09 21:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 21:59:04] Production.INFO: Account Balance End.
[2025-01-09 21:59:04] Production.INFO: ==9565== Releasing lock...
[2025-01-09 21:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 21:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 21:59:04] Production.INFO: ==9557== Releasing lock...
[2025-01-09 21:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 21:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 21:59:04] Production.ERROR: CronJobId end 12
[2025-01-09 21:59:04] Production.INFO: ==9561== Releasing lock...
[2025-01-09 21:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 21:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 21:59:04] Production.ERROR: done
[2025-01-09 21:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 21:59:04] Production.ERROR: done
[2025-01-09 21:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 18:59:05
[end_date_ymd] => 2025-01-09 21:59:05
[RateCDR] => 1
)
[2025-01-09 21:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 18:59:05' and `end` < '2025-01-09 21:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 21:59:11] Production.ERROR: CronJobId end10
[2025-01-09 21:59:11] Production.INFO: ==9559== Releasing lock...
[2025-01-09 21:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 21:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 21:59:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 21:59:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 21:59:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 21:59:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 21:59:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 21:59:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 21:59:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 21:59:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 21:59:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 21:59:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 21:59:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 21:59:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 21:59:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 21:59:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 21:59:13] Production.INFO: call_cost start
[2025-01-09 21:59:13] Production.INFO: call_cost end
[2025-01-09 21:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 21:59:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 21:59:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 21:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 21:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 21:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 21:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 21:59:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 21:59:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 21:59:14] Production.INFO: ==9555== Releasing lock...
[2025-01-09 21:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 21:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 21:59:19] Production.INFO: count ==942
[2025-01-09 21:59:19] Production.ERROR: pbx CDR StartTime 2025-01-09 18:59:05 - End Time 2025-01-09 21:59:05
[2025-01-09 21:59:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 21:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212484', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212484', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212484', 'tblTempVendorCDR_20' ) start
[2025-01-09 21:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212484', 'tblTempVendorCDR_20' ) end
[2025-01-09 21:59:19] Production.INFO: ProcessCDR(1,14212484,1,1,2)
[2025-01-09 21:59:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212484,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:59:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212484,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 21:59:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212484,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:59:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212484,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 21:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212484', 'tblTempUsageDetail_20' ) start
[2025-01-09 21:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212484', 'tblTempUsageDetail_20' ) end
[2025-01-09 21:59:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 21:59:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 21:59:22] Production.INFO: ==9563== Releasing lock...
[2025-01-09 21:59:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 21:59:22] Production.INFO: 34.75 MB #Memory Used#
[2025-01-10 03:00:01] Production.INFO: ==9619== Lock acquired, processing the job...
[2025-01-10 03:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 03:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 03:00:01] Production.INFO: neon service started
[2025-01-10 03:00:01] Production.INFO: neon service started
[2025-01-10 03:00:01] Production.INFO: ==9619== Releasing lock...
[2025-01-10 03:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 03:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 22:00:01] Production.INFO: ==9621== Lock acquired, processing the job...
[2025-01-09 22:00:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 03:00:02] Production.INFO: ==9623== Lock acquired, processing the job...
[2025-01-10 03:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 03:00:02] Production.INFO: ==9623== Releasing lock...
[2025-01-10 03:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 03:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 22:00:02] Production.INFO: ==9621== Releasing lock...
[2025-01-09 22:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 22:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 22:00:03] Production.INFO: ==9625== Lock acquired, processing the job...
[2025-01-09 22:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 22:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 22:00:03] Production.INFO: ==9633== Lock acquired, processing the job...
[2025-01-09 22:00:03] Production.INFO: bulkautopaymentcapture-command-bulkautopaymentcapture-companyid-1-cronjobid-11 #Starts#
[2025-01-09 22:00:03] Production.INFO: ==9627== Lock acquired, processing the job...
[2025-01-09 22:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 22:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 22:00:03] Production.INFO: ==9625== Releasing lock...
[2025-01-09 22:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 22:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 22:00:03] Production.INFO: ==9629== Lock acquired, processing the job...
[2025-01-09 22:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 22:00:03] Production.INFO: ==9631== Lock acquired, processing the job...
[2025-01-09 22:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 22:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 22:00:03] Production.INFO: ==9638== Lock acquired, processing the job...
[2025-01-09 22:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '5', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '7', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '8', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '13', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '14', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '17', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '19', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '21', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '25', '0', '1' )
[2025-01-09 22:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '26', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '20', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: ==9640== Lock acquired, processing the job...
[2025-01-09 22:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '32', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '33', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '37', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '41', '0', '1' )
[2025-01-09 22:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '43', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '45', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '49', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '47', '0', '1' )
[2025-01-09 22:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '52', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '53', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '54', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '57', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '58', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '34', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '59', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '63', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '65', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '67', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '73', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '74', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '70', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '82', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '83', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '84', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '85', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '93', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '95', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '92', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: ==9635== Lock acquired, processing the job...
[2025-01-09 22:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '86', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '78', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '87', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '88', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 3
[2025-01-09 22:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '90', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: ==9642== Lock acquired, processing the job...
[2025-01-09 22:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '98', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '99', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '97', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '100', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '101', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '102', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '104', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '106', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '107', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '110', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '111', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '113', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '114', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '115', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '119', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '121', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: Account Balance Start.
[2025-01-09 22:00:03] Production.INFO: CreateAllLog Start
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '123', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '124', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '127', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '131', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: 117
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '130', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 4
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '134', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '137', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: Date 2025-01-08
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '138', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '136', '0', '1' )
[2025-01-09 22:00:03] Production.ERROR: done
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '139', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '140', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '146', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 4
[2025-01-09 22:00:03] Production.INFO: ==9629== Releasing lock...
[2025-01-09 22:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 22:00:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 22:00:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '147', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '151', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '153', '0', '1' )
[2025-01-09 22:00:03] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:03] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '154', '0', '1' )
[2025-01-09 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '155', '0', '1' )
[2025-01-09 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '157', '0', '1' )
[2025-01-09 22:00:04] Production.ERROR: done
[2025-01-09 22:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:04] Production.INFO: PaymentMethod - 0
[2025-01-09 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '149', '0', '1' )
[2025-01-09 22:00:04] Production.INFO: PaymentPendingInvoice Count - 1
[2025-01-09 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '160', '0', '1' )
[2025-01-09 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '152', '0', '1' )
[2025-01-09 22:00:04] Production.INFO: count ==21
[2025-01-09 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '161', '0', '1' )
[2025-01-09 22:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:00:04] Production.INFO: count ==21
[2025-01-09 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '165', '0', '1' )
[2025-01-09 22:00:04] Production.INFO: Date 2025-01-09
[2025-01-09 22:00:04] Production.INFO: Reseller ==> 0
[2025-01-09 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '166', '0', '1' )
[2025-01-09 22:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212488') start
[2025-01-09 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '183', '0', '1' )
[2025-01-09 22:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 22:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14212489', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '184', '0', '1' )
[2025-01-09 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '185', '0', '1' )
[2025-01-09 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '187', '0', '1' )
[2025-01-09 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '195', '0', '1' )
[2025-01-09 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '190', '0', '1' )
[2025-01-09 22:00:04] Production.INFO: PaymentPendingInvoice Count - 1
[2025-01-09 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '192', '0', '1' )
[2025-01-09 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '193', '0', '1' )
[2025-01-09 22:00:04] Production.INFO: PaymentPendingInvoice Count - 2
[2025-01-09 22:00:04] Production.INFO: Total Charge 0
[2025-01-09 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '205', '0', '1' )
[2025-01-09 22:00:04] Production.INFO: CreateAllLog End
[2025-01-09 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '208', '0', '1' )
[2025-01-09 22:00:04] Production.INFO: PaymentPendingInvoice Count - 1
[2025-01-09 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '207', '0', '1' )
[2025-01-09 22:00:04] Production.INFO: PaymentPendingInvoice Count - 20
[2025-01-09 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '206', '0', '1' )
[2025-01-09 22:00:04] Production.INFO: PaymentPendingInvoice Count - 17
[2025-01-09 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '182', '0', '1' )
[2025-01-09 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '211', '0', '1' )
[2025-01-09 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '188', '0', '1' )
[2025-01-09 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '226', '0', '1' )
[2025-01-09 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '227', '0', '1' )
[2025-01-09 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '189', '0', '1' )
[2025-01-09 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '229', '0', '1' )
[2025-01-09 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '230', '0', '1' )
[2025-01-09 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '232', '0', '1' )
[2025-01-09 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '236', '0', '1' )
[2025-01-09 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:04] Production.INFO: PaymentMethod - 0
[2025-01-09 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '239', '0', '1' )
[2025-01-09 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-09 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '241', '0', '1' )
[2025-01-09 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 22:00:04] Production.ERROR: done
[2025-01-09 22:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212488') end
[2025-01-09 22:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 22:00:04] Production.INFO: 1
[2025-01-09 22:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 22:00:04] Production.INFO: Account Balance End.
[2025-01-09 22:00:04] Production.INFO: ==9642== Releasing lock...
[2025-01-09 22:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 22:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 22:00:04] Production.ERROR: CronJobId end 12
[2025-01-09 22:00:04] Production.INFO: ==9635== Releasing lock...
[2025-01-09 22:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 22:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 22:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 19:00:05
[end_date_ymd] => 2025-01-09 22:00:05
[RateCDR] => 1
)
[2025-01-09 22:00:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 19:00:05' and `end` < '2025-01-09 22:00:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 22:00:05] Production.ERROR: CronJobId end11
[2025-01-09 22:00:05] Production.INFO: ==9633== Releasing lock...
[2025-01-09 22:00:05] Production.INFO: bulkautopaymentcapture-command-bulkautopaymentcapture-companyid-1-cronjobid-11 #Stops#
[2025-01-09 22:00:05] Production.INFO: 30.5 MB #Memory Used#
[2025-01-09 22:00:07] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14212489', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 22:00:07] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 22:00:07] Production.INFO: ProcessCDR(1,14212489,1,1,2)
[2025-01-09 22:00:07] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14212489,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:00:07] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14212489,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:00:07] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:00:07] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:00:07] Production.INFO: ==9640== Releasing lock...
[2025-01-09 22:00:07] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 22:00:07] Production.INFO: 26 MB #Memory Used#
[2025-01-09 22:00:13] Production.ERROR: CronJobId end10
[2025-01-09 22:00:13] Production.INFO: ==9631== Releasing lock...
[2025-01-09 22:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 22:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 22:00:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 22:00:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 22:00:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 22:00:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 22:00:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 22:00:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 22:00:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 22:00:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 22:00:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 22:00:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 22:00:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 22:00:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 22:00:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 22:00:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 22:00:14] Production.INFO: call_cost start
[2025-01-09 22:00:14] Production.INFO: call_cost end
[2025-01-09 22:00:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 22:00:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 22:00:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 22:00:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 22:00:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 22:00:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 22:00:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 22:00:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 22:00:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 22:00:15] Production.INFO: ==9627== Releasing lock...
[2025-01-09 22:00:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 22:00:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 22:00:18] Production.INFO: count ==943
[2025-01-09 22:00:18] Production.ERROR: pbx CDR StartTime 2025-01-09 19:00:05 - End Time 2025-01-09 22:00:05
[2025-01-09 22:00:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 22:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212490', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212490', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212490', 'tblTempVendorCDR_20' ) start
[2025-01-09 22:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212490', 'tblTempVendorCDR_20' ) end
[2025-01-09 22:00:18] Production.INFO: ProcessCDR(1,14212490,1,1,2)
[2025-01-09 22:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212490,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212490,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212490,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:00:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212490,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212490', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212490', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:00:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:00:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:00:23] Production.INFO: ==9638== Releasing lock...
[2025-01-09 22:00:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 22:00:23] Production.INFO: 34.75 MB #Memory Used#
[2025-01-10 03:01:01] Production.INFO: ==9701== Lock acquired, processing the job...
[2025-01-10 03:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 03:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 03:01:01] Production.INFO: neon service started
[2025-01-10 03:01:01] Production.INFO: neon service started
[2025-01-10 03:01:01] Production.INFO: ==9701== Releasing lock...
[2025-01-10 03:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 03:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 22:01:02] Production.INFO: ==9714== Lock acquired, processing the job...
[2025-01-09 22:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 22:01:02] Production.INFO: ==9714== Releasing lock...
[2025-01-09 22:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 22:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 03:01:02] Production.INFO: ==9716== Lock acquired, processing the job...
[2025-01-10 03:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 03:01:02] Production.INFO: ==9716== Releasing lock...
[2025-01-10 03:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 03:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 22:01:03] Production.INFO: ==9729== Lock acquired, processing the job...
[2025-01-09 22:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 22:01:03] Production.INFO: ==9727== Lock acquired, processing the job...
[2025-01-09 22:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 22:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:01:03] Production.INFO: ==9721== Lock acquired, processing the job...
[2025-01-09 22:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 22:01:03] Production.INFO: Account Balance Start.
[2025-01-09 22:01:03] Production.INFO: CreateAllLog Start
[2025-01-09 22:01:03] Production.INFO: 117
[2025-01-09 22:01:03] Production.INFO: Date 2025-01-08
[2025-01-09 22:01:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:01:03] Production.INFO: ==9723== Lock acquired, processing the job...
[2025-01-09 22:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 22:01:03] Production.INFO: Date 2025-01-09
[2025-01-09 22:01:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:01:03] Production.INFO: ==9725== Lock acquired, processing the job...
[2025-01-09 22:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 22:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 22:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 22:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 22:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 22:01:03] Production.INFO: Total Charge 0
[2025-01-09 22:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 22:01:03] Production.INFO: CreateAllLog End
[2025-01-09 22:01:03] Production.INFO: ==9731== Lock acquired, processing the job...
[2025-01-09 22:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 22:01:03] Production.ERROR: done
[2025-01-09 22:01:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 22:01:03] Production.INFO: ==9723== Releasing lock...
[2025-01-09 22:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 22:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 22:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:01:03] Production.ERROR: done
[2025-01-09 22:01:03] Production.INFO: count ==21
[2025-01-09 22:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:01:04] Production.INFO: count ==21
[2025-01-09 22:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212494') start
[2025-01-09 22:01:04] Production.INFO: Account Balance End.
[2025-01-09 22:01:04] Production.ERROR: CronJobId end 12
[2025-01-09 22:01:04] Production.INFO: ==9727== Releasing lock...
[2025-01-09 22:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 22:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 22:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212494') end
[2025-01-09 22:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 22:01:04] Production.INFO: 1
[2025-01-09 22:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 22:01:04] Production.INFO: ==9731== Releasing lock...
[2025-01-09 22:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 22:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 22:01:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 19:01:04
[end_date_ymd] => 2025-01-09 22:01:04
[RateCDR] => 1
)
[2025-01-09 22:01:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 19:01:04' and `end` < '2025-01-09 22:01:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 22:01:11] Production.ERROR: CronJobId end10
[2025-01-09 22:01:11] Production.INFO: ==9725== Releasing lock...
[2025-01-09 22:01:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 22:01:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 22:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 22:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 22:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 22:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 22:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 22:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 22:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 22:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 22:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 22:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 22:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 22:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 22:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 22:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 22:01:13] Production.INFO: call_cost start
[2025-01-09 22:01:13] Production.INFO: call_cost end
[2025-01-09 22:01:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 22:01:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 22:01:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 22:01:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 22:01:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 22:01:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 22:01:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 22:01:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 22:01:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 22:01:14] Production.INFO: ==9721== Releasing lock...
[2025-01-09 22:01:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 22:01:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 22:01:18] Production.INFO: count ==897
[2025-01-09 22:01:18] Production.ERROR: pbx CDR StartTime 2025-01-09 19:01:04 - End Time 2025-01-09 22:01:04
[2025-01-09 22:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 22:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212495', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212495', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212495', 'tblTempVendorCDR_20' ) start
[2025-01-09 22:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212495', 'tblTempVendorCDR_20' ) end
[2025-01-09 22:01:18] Production.INFO: ProcessCDR(1,14212495,1,1,2)
[2025-01-09 22:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212495,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:01:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212495,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:01:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212495,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:01:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212495,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212495', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212495', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:01:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:01:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:01:21] Production.INFO: ==9729== Releasing lock...
[2025-01-09 22:01:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 22:01:21] Production.INFO: 34 MB #Memory Used#
[2025-01-10 03:02:02] Production.INFO: ==9784== Lock acquired, processing the job...
[2025-01-10 03:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 03:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 03:02:02] Production.INFO: neon service started
[2025-01-10 03:02:02] Production.INFO: neon service started
[2025-01-10 03:02:02] Production.INFO: ==9784== Releasing lock...
[2025-01-10 03:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 03:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:02:02] Production.INFO: ==9789== Lock acquired, processing the job...
[2025-01-10 03:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 03:02:02] Production.INFO: ==9789== Releasing lock...
[2025-01-10 03:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 03:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 22:02:02] Production.INFO: ==9786== Lock acquired, processing the job...
[2025-01-09 22:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 22:02:03] Production.INFO: ==9786== Releasing lock...
[2025-01-09 22:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 22:02:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 22:02:03] Production.INFO: ==9791== Lock acquired, processing the job...
[2025-01-09 22:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 22:02:03] Production.INFO: ==9795== Lock acquired, processing the job...
[2025-01-09 22:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 22:02:03] Production.INFO: ==9793== Lock acquired, processing the job...
[2025-01-09 22:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 22:02:03] Production.INFO: ==9797== Lock acquired, processing the job...
[2025-01-09 22:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 22:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 22:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 22:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 22:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 22:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 22:02:03] Production.INFO: Account Balance Start.
[2025-01-09 22:02:03] Production.INFO: CreateAllLog Start
[2025-01-09 22:02:04] Production.INFO: 117
[2025-01-09 22:02:04] Production.INFO: Date 2025-01-08
[2025-01-09 22:02:04] Production.INFO: Reseller ==> 0
[2025-01-09 22:02:04] Production.INFO: ==9801== Lock acquired, processing the job...
[2025-01-09 22:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 22:02:04] Production.INFO: Date 2025-01-09
[2025-01-09 22:02:04] Production.INFO: Reseller ==> 0
[2025-01-09 22:02:04] Production.INFO: ==9799== Lock acquired, processing the job...
[2025-01-09 22:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 22:02:04] Production.INFO: Total Charge 0
[2025-01-09 22:02:04] Production.INFO: CreateAllLog End
[2025-01-09 22:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:02:04] Production.INFO: count ==21
[2025-01-09 22:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:02:04] Production.INFO: Account Balance End.
[2025-01-09 22:02:04] Production.INFO: count ==21
[2025-01-09 22:02:04] Production.INFO: ==9793== Releasing lock...
[2025-01-09 22:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 22:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 22:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212499') start
[2025-01-09 22:02:04] Production.ERROR: CronJobId end 12
[2025-01-09 22:02:04] Production.INFO: ==9797== Releasing lock...
[2025-01-09 22:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 22:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 22:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212499') end
[2025-01-09 22:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 22:02:04] Production.INFO: 1
[2025-01-09 22:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 22:02:04] Production.ERROR: done
[2025-01-09 22:02:04] Production.INFO: ==9801== Releasing lock...
[2025-01-09 22:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 22:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 22:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 22:02:04] Production.ERROR: done
[2025-01-09 22:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 19:02:05
[end_date_ymd] => 2025-01-09 22:02:05
[RateCDR] => 1
)
[2025-01-09 22:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 19:02:05' and `end` < '2025-01-09 22:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 22:02:12] Production.ERROR: CronJobId end10
[2025-01-09 22:02:12] Production.INFO: ==9795== Releasing lock...
[2025-01-09 22:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 22:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 22:02:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 22:02:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 22:02:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 22:02:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 22:02:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 22:02:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 22:02:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 22:02:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 22:02:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 22:02:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 22:02:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 22:02:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 22:02:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 22:02:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 22:02:13] Production.INFO: call_cost start
[2025-01-09 22:02:13] Production.INFO: call_cost end
[2025-01-09 22:02:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 22:02:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 22:02:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 22:02:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 22:02:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 22:02:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 22:02:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 22:02:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 22:02:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 22:02:13] Production.INFO: ==9791== Releasing lock...
[2025-01-09 22:02:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 22:02:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 22:02:18] Production.INFO: count ==897
[2025-01-09 22:02:18] Production.ERROR: pbx CDR StartTime 2025-01-09 19:02:05 - End Time 2025-01-09 22:02:05
[2025-01-09 22:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 22:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212500', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212500', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212500', 'tblTempVendorCDR_20' ) start
[2025-01-09 22:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212500', 'tblTempVendorCDR_20' ) end
[2025-01-09 22:02:18] Production.INFO: ProcessCDR(1,14212500,1,1,2)
[2025-01-09 22:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212500,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212500,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:02:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212500,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:02:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212500,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212500', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212500', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:02:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:02:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:02:22] Production.INFO: ==9799== Releasing lock...
[2025-01-09 22:02:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 22:02:22] Production.INFO: 34 MB #Memory Used#
[2025-01-10 03:03:01] Production.INFO: ==9855== Lock acquired, processing the job...
[2025-01-10 03:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 03:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 03:03:01] Production.INFO: neon service started
[2025-01-10 03:03:01] Production.INFO: neon service started
[2025-01-10 03:03:01] Production.INFO: ==9855== Releasing lock...
[2025-01-10 03:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 03:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 22:03:02] Production.INFO: ==9857== Lock acquired, processing the job...
[2025-01-09 22:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 22:03:02] Production.INFO: ==9857== Releasing lock...
[2025-01-09 22:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 22:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 03:03:02] Production.INFO: ==9859== Lock acquired, processing the job...
[2025-01-10 03:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 03:03:02] Production.INFO: ==9859== Releasing lock...
[2025-01-10 03:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 03:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 22:03:03] Production.INFO: ==9862== Lock acquired, processing the job...
[2025-01-09 22:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 22:03:03] Production.INFO: ==9864== Lock acquired, processing the job...
[2025-01-09 22:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 22:03:03] Production.INFO: ==9870== Lock acquired, processing the job...
[2025-01-09 22:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 22:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 22:03:03] Production.INFO: ==9868== Lock acquired, processing the job...
[2025-01-09 22:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 22:03:03] Production.INFO: ==9866== Lock acquired, processing the job...
[2025-01-09 22:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 22:03:03] Production.INFO: ==9872== Lock acquired, processing the job...
[2025-01-09 22:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 22:03:03] Production.INFO: ==9864== Releasing lock...
[2025-01-09 22:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 22:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 22:03:03] Production.INFO: Account Balance Start.
[2025-01-09 22:03:03] Production.INFO: CreateAllLog Start
[2025-01-09 22:03:03] Production.INFO: 117
[2025-01-09 22:03:03] Production.INFO: Date 2025-01-08
[2025-01-09 22:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 22:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 22:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 22:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 22:03:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:03:03] Production.INFO: Date 2025-01-09
[2025-01-09 22:03:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:03:03] Production.INFO: count ==21
[2025-01-09 22:03:03] Production.INFO: Total Charge 0
[2025-01-09 22:03:03] Production.INFO: CreateAllLog End
[2025-01-09 22:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:03:03] Production.INFO: count ==21
[2025-01-09 22:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212504') start
[2025-01-09 22:03:03] Production.ERROR: done
[2025-01-09 22:03:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 22:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212504') end
[2025-01-09 22:03:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 22:03:03] Production.INFO: 1
[2025-01-09 22:03:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 22:03:03] Production.ERROR: done
[2025-01-09 22:03:03] Production.INFO: ==9872== Releasing lock...
[2025-01-09 22:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 22:03:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 22:03:04] Production.INFO: Account Balance End.
[2025-01-09 22:03:04] Production.ERROR: CronJobId end 12
[2025-01-09 22:03:04] Production.INFO: ==9868== Releasing lock...
[2025-01-09 22:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 22:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 22:03:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 19:03:04
[end_date_ymd] => 2025-01-09 22:03:04
[RateCDR] => 1
)
[2025-01-09 22:03:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 19:03:04' and `end` < '2025-01-09 22:03:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 22:03:11] Production.ERROR: CronJobId end10
[2025-01-09 22:03:11] Production.INFO: ==9866== Releasing lock...
[2025-01-09 22:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 22:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 22:03:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 22:03:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 22:03:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 22:03:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 22:03:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 22:03:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 22:03:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 22:03:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 22:03:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 22:03:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 22:03:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 22:03:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 22:03:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 22:03:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 22:03:12] Production.INFO: call_cost start
[2025-01-09 22:03:12] Production.INFO: call_cost end
[2025-01-09 22:03:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 22:03:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 22:03:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 22:03:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 22:03:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 22:03:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 22:03:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 22:03:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 22:03:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 22:03:13] Production.INFO: ==9862== Releasing lock...
[2025-01-09 22:03:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 22:03:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 22:03:18] Production.INFO: count ==891
[2025-01-09 22:03:18] Production.ERROR: pbx CDR StartTime 2025-01-09 19:03:04 - End Time 2025-01-09 22:03:04
[2025-01-09 22:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 22:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212505', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212505', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212505', 'tblTempVendorCDR_20' ) start
[2025-01-09 22:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212505', 'tblTempVendorCDR_20' ) end
[2025-01-09 22:03:18] Production.INFO: ProcessCDR(1,14212505,1,1,2)
[2025-01-09 22:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212505,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212505,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212505,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212505,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212505', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212505', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:03:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:03:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:03:21] Production.INFO: ==9870== Releasing lock...
[2025-01-09 22:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 22:03:21] Production.INFO: 34 MB #Memory Used#
[2025-01-10 03:04:02] Production.INFO: ==9928== Lock acquired, processing the job...
[2025-01-10 03:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 03:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 03:04:02] Production.INFO: neon service started
[2025-01-10 03:04:02] Production.INFO: neon service started
[2025-01-10 03:04:02] Production.INFO: ==9928== Releasing lock...
[2025-01-10 03:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 03:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 22:04:02] Production.INFO: ==9930== Lock acquired, processing the job...
[2025-01-09 22:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 22:04:02] Production.INFO: ==9930== Releasing lock...
[2025-01-09 22:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 22:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 03:04:03] Production.INFO: ==9932== Lock acquired, processing the job...
[2025-01-10 03:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 03:04:03] Production.INFO: ==9932== Releasing lock...
[2025-01-10 03:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 03:04:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 22:04:03] Production.INFO: ==9939== Lock acquired, processing the job...
[2025-01-09 22:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 22:04:03] Production.INFO: ==9943== Lock acquired, processing the job...
[2025-01-09 22:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 22:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 22:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 22:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 22:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 22:04:03] Production.INFO: ==9935== Lock acquired, processing the job...
[2025-01-09 22:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 22:04:03] Production.INFO: ==9937== Lock acquired, processing the job...
[2025-01-09 22:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 22:04:04] Production.INFO: ==9941== Lock acquired, processing the job...
[2025-01-09 22:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 22:04:04] Production.INFO: ==9945== Lock acquired, processing the job...
[2025-01-09 22:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 22:04:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 22:04:04] Production.INFO: Account Balance Start.
[2025-01-09 22:04:04] Production.INFO: CreateAllLog Start
[2025-01-09 22:04:04] Production.INFO: 117
[2025-01-09 22:04:04] Production.INFO: Date 2025-01-08
[2025-01-09 22:04:04] Production.ERROR: done
[2025-01-09 22:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 22:04:04] Production.INFO: Reseller ==> 0
[2025-01-09 22:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:04:04] Production.INFO: count ==21
[2025-01-09 22:04:04] Production.INFO: Date 2025-01-09
[2025-01-09 22:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:04:04] Production.INFO: count ==21
[2025-01-09 22:04:04] Production.INFO: Reseller ==> 0
[2025-01-09 22:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212509') start
[2025-01-09 22:04:04] Production.INFO: Total Charge 0
[2025-01-09 22:04:04] Production.ERROR: done
[2025-01-09 22:04:04] Production.INFO: CreateAllLog End
[2025-01-09 22:04:04] Production.INFO: ==9937== Releasing lock...
[2025-01-09 22:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 22:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 22:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212509') end
[2025-01-09 22:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 22:04:04] Production.INFO: 1
[2025-01-09 22:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 22:04:04] Production.INFO: Account Balance End.
[2025-01-09 22:04:04] Production.INFO: ==9945== Releasing lock...
[2025-01-09 22:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 22:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 22:04:04] Production.ERROR: CronJobId end 12
[2025-01-09 22:04:04] Production.INFO: ==9941== Releasing lock...
[2025-01-09 22:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 22:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 22:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 19:04:05
[end_date_ymd] => 2025-01-09 22:04:05
[RateCDR] => 1
)
[2025-01-09 22:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 19:04:05' and `end` < '2025-01-09 22:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 22:04:12] Production.ERROR: CronJobId end10
[2025-01-09 22:04:12] Production.INFO: ==9939== Releasing lock...
[2025-01-09 22:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 22:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 22:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 22:04:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 22:04:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 22:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 22:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 22:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 22:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 22:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 22:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 22:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 22:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 22:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 22:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 22:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 22:04:14] Production.INFO: call_cost start
[2025-01-09 22:04:14] Production.INFO: call_cost end
[2025-01-09 22:04:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 22:04:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 22:04:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 22:04:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 22:04:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 22:04:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 22:04:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 22:04:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 22:04:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 22:04:14] Production.INFO: ==9935== Releasing lock...
[2025-01-09 22:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 22:04:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 22:04:19] Production.INFO: count ==891
[2025-01-09 22:04:19] Production.ERROR: pbx CDR StartTime 2025-01-09 19:04:05 - End Time 2025-01-09 22:04:05
[2025-01-09 22:04:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 22:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212510', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212510', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212510', 'tblTempVendorCDR_20' ) start
[2025-01-09 22:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212510', 'tblTempVendorCDR_20' ) end
[2025-01-09 22:04:19] Production.INFO: ProcessCDR(1,14212510,1,1,2)
[2025-01-09 22:04:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212510,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:04:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212510,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:04:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212510,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:04:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212510,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212510', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212510', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:04:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:04:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:04:22] Production.INFO: ==9943== Releasing lock...
[2025-01-09 22:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 22:04:22] Production.INFO: 34 MB #Memory Used#
[2025-01-10 03:05:01] Production.INFO: ==10000== Lock acquired, processing the job...
[2025-01-10 03:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 03:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 03:05:01] Production.INFO: neon service started
[2025-01-10 03:05:01] Production.INFO: neon service started
[2025-01-10 03:05:01] Production.INFO: ==10000== Releasing lock...
[2025-01-10 03:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 03:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:05:01] Production.INFO: ==10004== Lock acquired, processing the job...
[2025-01-10 03:05:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 03:05:02] Production.INFO: ==10004== Releasing lock...
[2025-01-10 03:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 03:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 22:05:02] Production.INFO: ==10002== Lock acquired, processing the job...
[2025-01-09 22:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 22:05:02] Production.INFO: ==10002== Releasing lock...
[2025-01-09 22:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 22:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 22:05:03] Production.INFO: ==10013== Lock acquired, processing the job...
[2025-01-09 22:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 22:05:03] Production.INFO: ==10017== Lock acquired, processing the job...
[2025-01-09 22:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 22:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 22:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 22:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 22:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 22:05:03] Production.INFO: ==10008== Lock acquired, processing the job...
[2025-01-09 22:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 22:05:03] Production.INFO: ==10011== Lock acquired, processing the job...
[2025-01-09 22:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 22:05:03] Production.INFO: ==10015== Lock acquired, processing the job...
[2025-01-09 22:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 22:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 22:05:03] Production.ERROR: done
[2025-01-09 22:05:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 22:05:03] Production.INFO: ==10019== Lock acquired, processing the job...
[2025-01-09 22:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 22:05:03] Production.INFO: Account Balance Start.
[2025-01-09 22:05:03] Production.INFO: CreateAllLog Start
[2025-01-09 22:05:03] Production.INFO: 117
[2025-01-09 22:05:03] Production.ERROR: done
[2025-01-09 22:05:03] Production.INFO: Date 2025-01-08
[2025-01-09 22:05:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:05:03] Production.INFO: Date 2025-01-09
[2025-01-09 22:05:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:05:03] Production.INFO: Total Charge 0
[2025-01-09 22:05:03] Production.INFO: count ==21
[2025-01-09 22:05:03] Production.INFO: CreateAllLog End
[2025-01-09 22:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:05:03] Production.INFO: count ==21
[2025-01-09 22:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212514') start
[2025-01-09 22:05:04] Production.INFO: ==10011== Releasing lock...
[2025-01-09 22:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 22:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 22:05:04] Production.INFO: Account Balance End.
[2025-01-09 22:05:04] Production.ERROR: CronJobId end 12
[2025-01-09 22:05:04] Production.INFO: ==10015== Releasing lock...
[2025-01-09 22:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 22:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 22:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212514') end
[2025-01-09 22:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 22:05:04] Production.INFO: 1
[2025-01-09 22:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 22:05:04] Production.INFO: ==10019== Releasing lock...
[2025-01-09 22:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 22:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 22:05:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 19:05:04
[end_date_ymd] => 2025-01-09 22:05:04
[RateCDR] => 1
)
[2025-01-09 22:05:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 19:05:04' and `end` < '2025-01-09 22:05:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 22:05:12] Production.ERROR: CronJobId end10
[2025-01-09 22:05:12] Production.INFO: ==10013== Releasing lock...
[2025-01-09 22:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 22:05:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 22:05:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 22:05:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 22:05:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 22:05:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 22:05:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 22:05:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 22:05:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 22:05:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 22:05:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 22:05:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 22:05:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 22:05:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 22:05:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 22:05:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 22:05:14] Production.INFO: call_cost start
[2025-01-09 22:05:14] Production.INFO: call_cost end
[2025-01-09 22:05:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 22:05:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 22:05:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 22:05:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 22:05:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 22:05:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 22:05:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 22:05:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 22:05:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 22:05:15] Production.INFO: ==10008== Releasing lock...
[2025-01-09 22:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 22:05:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 22:05:18] Production.INFO: count ==880
[2025-01-09 22:05:18] Production.ERROR: pbx CDR StartTime 2025-01-09 19:05:04 - End Time 2025-01-09 22:05:04
[2025-01-09 22:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 22:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212515', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212515', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212515', 'tblTempVendorCDR_20' ) start
[2025-01-09 22:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212515', 'tblTempVendorCDR_20' ) end
[2025-01-09 22:05:18] Production.INFO: ProcessCDR(1,14212515,1,1,2)
[2025-01-09 22:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212515,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212515,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212515,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212515,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212515', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212515', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:05:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:05:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:05:21] Production.INFO: ==10017== Releasing lock...
[2025-01-09 22:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 22:05:21] Production.INFO: 33.75 MB #Memory Used#
[2025-01-10 03:06:02] Production.INFO: ==10078== Lock acquired, processing the job...
[2025-01-10 03:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 03:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 03:06:02] Production.INFO: neon service started
[2025-01-10 03:06:02] Production.INFO: neon service started
[2025-01-10 03:06:02] Production.INFO: ==10078== Releasing lock...
[2025-01-10 03:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 03:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:06:02] Production.INFO: ==10083== Lock acquired, processing the job...
[2025-01-10 03:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 03:06:02] Production.INFO: ==10083== Releasing lock...
[2025-01-10 03:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 03:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 22:06:02] Production.INFO: ==10081== Lock acquired, processing the job...
[2025-01-09 22:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 22:06:02] Production.INFO: ==10081== Releasing lock...
[2025-01-09 22:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 22:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 22:06:03] Production.INFO: ==10093== Lock acquired, processing the job...
[2025-01-09 22:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 22:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:06:03] Production.INFO: ==10091== Lock acquired, processing the job...
[2025-01-09 22:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 22:06:03] Production.INFO: ==10087== Lock acquired, processing the job...
[2025-01-09 22:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 22:06:03] Production.INFO: Account Balance Start.
[2025-01-09 22:06:03] Production.INFO: CreateAllLog Start
[2025-01-09 22:06:03] Production.INFO: ==10085== Lock acquired, processing the job...
[2025-01-09 22:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 22:06:03] Production.INFO: 117
[2025-01-09 22:06:03] Production.INFO: Date 2025-01-08
[2025-01-09 22:06:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:06:03] Production.INFO: ==10089== Lock acquired, processing the job...
[2025-01-09 22:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 22:06:03] Production.ERROR: done
[2025-01-09 22:06:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 22:06:03] Production.INFO: ==10095== Lock acquired, processing the job...
[2025-01-09 22:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 22:06:04] Production.INFO: Date 2025-01-09
[2025-01-09 22:06:04] Production.INFO: Reseller ==> 0
[2025-01-09 22:06:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 22:06:04] Production.ERROR: done
[2025-01-09 22:06:04] Production.INFO: Total Charge 0
[2025-01-09 22:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 22:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 22:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 22:06:04] Production.INFO: CreateAllLog End
[2025-01-09 22:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 22:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:06:04] Production.INFO: count ==21
[2025-01-09 22:06:04] Production.INFO: ==10087== Releasing lock...
[2025-01-09 22:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 22:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 22:06:04] Production.INFO: Account Balance End.
[2025-01-09 22:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:06:04] Production.INFO: count ==21
[2025-01-09 22:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212519') start
[2025-01-09 22:06:04] Production.ERROR: CronJobId end 12
[2025-01-09 22:06:04] Production.INFO: ==10091== Releasing lock...
[2025-01-09 22:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 22:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 22:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212519') end
[2025-01-09 22:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 22:06:04] Production.INFO: 1
[2025-01-09 22:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 22:06:04] Production.INFO: ==10095== Releasing lock...
[2025-01-09 22:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 22:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 22:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 19:06:05
[end_date_ymd] => 2025-01-09 22:06:05
[RateCDR] => 1
)
[2025-01-09 22:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 19:06:05' and `end` < '2025-01-09 22:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 22:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 22:06:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 22:06:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 22:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 22:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 22:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 22:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 22:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 22:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 22:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 22:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 22:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 22:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 22:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 22:06:13] Production.ERROR: CronJobId end10
[2025-01-09 22:06:13] Production.INFO: ==10089== Releasing lock...
[2025-01-09 22:06:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 22:06:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 22:06:13] Production.INFO: call_cost start
[2025-01-09 22:06:13] Production.INFO: call_cost end
[2025-01-09 22:06:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 22:06:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 22:06:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 22:06:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 22:06:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 22:06:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 22:06:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 22:06:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 22:06:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 22:06:14] Production.INFO: ==10085== Releasing lock...
[2025-01-09 22:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 22:06:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 22:06:18] Production.INFO: count ==880
[2025-01-09 22:06:18] Production.ERROR: pbx CDR StartTime 2025-01-09 19:06:05 - End Time 2025-01-09 22:06:05
[2025-01-09 22:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 22:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212520', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212520', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212520', 'tblTempVendorCDR_20' ) start
[2025-01-09 22:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212520', 'tblTempVendorCDR_20' ) end
[2025-01-09 22:06:18] Production.INFO: ProcessCDR(1,14212520,1,1,2)
[2025-01-09 22:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212520,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212520,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212520,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:06:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212520,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212520', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212520', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:06:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:06:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:06:21] Production.INFO: ==10093== Releasing lock...
[2025-01-09 22:06:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 22:06:21] Production.INFO: 33.75 MB #Memory Used#
[2025-01-10 03:07:01] Production.INFO: ==10147== Lock acquired, processing the job...
[2025-01-10 03:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 03:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 03:07:01] Production.INFO: neon service started
[2025-01-10 03:07:01] Production.INFO: neon service started
[2025-01-10 03:07:01] Production.INFO: ==10147== Releasing lock...
[2025-01-10 03:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 03:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:07:01] Production.INFO: ==10152== Lock acquired, processing the job...
[2025-01-10 03:07:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 03:07:01] Production.INFO: ==10152== Releasing lock...
[2025-01-10 03:07:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 03:07:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 22:07:02] Production.INFO: ==10150== Lock acquired, processing the job...
[2025-01-09 22:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 22:07:02] Production.INFO: ==10150== Releasing lock...
[2025-01-09 22:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 22:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 22:07:03] Production.INFO: ==10156== Lock acquired, processing the job...
[2025-01-09 22:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 22:07:03] Production.INFO: ==10154== Lock acquired, processing the job...
[2025-01-09 22:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 22:07:03] Production.INFO: ==10162== Lock acquired, processing the job...
[2025-01-09 22:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 22:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 22:07:03] Production.INFO: ==10156== Releasing lock...
[2025-01-09 22:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 22:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 22:07:03] Production.INFO: ==10158== Lock acquired, processing the job...
[2025-01-09 22:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 22:07:03] Production.INFO: ==10160== Lock acquired, processing the job...
[2025-01-09 22:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 22:07:03] Production.INFO: ==10164== Lock acquired, processing the job...
[2025-01-09 22:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 22:07:03] Production.INFO: Account Balance Start.
[2025-01-09 22:07:03] Production.INFO: CreateAllLog Start
[2025-01-09 22:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 22:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 22:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 22:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 22:07:03] Production.INFO: 117
[2025-01-09 22:07:03] Production.ERROR: done
[2025-01-09 22:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 22:07:03] Production.INFO: Date 2025-01-08
[2025-01-09 22:07:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:07:03] Production.INFO: Date 2025-01-09
[2025-01-09 22:07:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:07:03] Production.ERROR: done
[2025-01-09 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-01-09 22:07:03] Production.INFO: Total Charge 0
[2025-01-09 22:07:03] Production.INFO: count ==21
[2025-01-09 22:07:03] Production.INFO: CreateAllLog End
[2025-01-09 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-01-09 22:07:03] Production.INFO: count ==21
[2025-01-09 22:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212524') start
[2025-01-09 22:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212524') end
[2025-01-09 22:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 22:07:03] Production.INFO: 1
[2025-01-09 22:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 22:07:04] Production.INFO: ==10164== Releasing lock...
[2025-01-09 22:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 22:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 22:07:04] Production.INFO: Account Balance End.
[2025-01-09 22:07:04] Production.ERROR: CronJobId end 12
[2025-01-09 22:07:04] Production.INFO: ==10160== Releasing lock...
[2025-01-09 22:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 22:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 22:07:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 19:07:04
[end_date_ymd] => 2025-01-09 22:07:04
[RateCDR] => 1
)
[2025-01-09 22:07:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 19:07:04' and `end` < '2025-01-09 22:07:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 22:07:10] Production.ERROR: CronJobId end10
[2025-01-09 22:07:10] Production.INFO: ==10158== Releasing lock...
[2025-01-09 22:07:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 22:07:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 22:07:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 22:07:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 22:07:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 22:07:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 22:07:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 22:07:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 22:07:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 22:07:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 22:07:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 22:07:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 22:07:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 22:07:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 22:07:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 22:07:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 22:07:12] Production.INFO: call_cost start
[2025-01-09 22:07:12] Production.INFO: call_cost end
[2025-01-09 22:07:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 22:07:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 22:07:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 22:07:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 22:07:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 22:07:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 22:07:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 22:07:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 22:07:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 22:07:13] Production.INFO: ==10154== Releasing lock...
[2025-01-09 22:07:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 22:07:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 22:07:18] Production.INFO: count ==882
[2025-01-09 22:07:18] Production.ERROR: pbx CDR StartTime 2025-01-09 19:07:04 - End Time 2025-01-09 22:07:04
[2025-01-09 22:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 22:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212525', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212525', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212525', 'tblTempVendorCDR_20' ) start
[2025-01-09 22:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212525', 'tblTempVendorCDR_20' ) end
[2025-01-09 22:07:18] Production.INFO: ProcessCDR(1,14212525,1,1,2)
[2025-01-09 22:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212525,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212525,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212525,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212525,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212525', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212525', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:07:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:07:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:07:21] Production.INFO: ==10162== Releasing lock...
[2025-01-09 22:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 22:07:21] Production.INFO: 33.75 MB #Memory Used#
[2025-01-10 03:08:01] Production.INFO: ==10219== Lock acquired, processing the job...
[2025-01-10 03:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 03:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 03:08:02] Production.INFO: neon service started
[2025-01-10 03:08:02] Production.INFO: neon service started
[2025-01-10 03:08:02] Production.INFO: ==10219== Releasing lock...
[2025-01-10 03:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 03:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:08:02] Production.INFO: ==10223== Lock acquired, processing the job...
[2025-01-10 03:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 03:08:02] Production.INFO: ==10223== Releasing lock...
[2025-01-10 03:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 03:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 22:08:02] Production.INFO: ==10221== Lock acquired, processing the job...
[2025-01-09 22:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 22:08:02] Production.INFO: ==10221== Releasing lock...
[2025-01-09 22:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 22:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 22:08:03] Production.INFO: ==10228== Lock acquired, processing the job...
[2025-01-09 22:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 22:08:03] Production.INFO: ==10226== Lock acquired, processing the job...
[2025-01-09 22:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 22:08:03] Production.INFO: ==10234== Lock acquired, processing the job...
[2025-01-09 22:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 22:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 22:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:08:03] Production.INFO: ==10230== Lock acquired, processing the job...
[2025-01-09 22:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 22:08:03] Production.INFO: ==10232== Lock acquired, processing the job...
[2025-01-09 22:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 22:08:03] Production.INFO: ==10236== Lock acquired, processing the job...
[2025-01-09 22:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 22:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 22:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 22:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 22:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 22:08:03] Production.INFO: Account Balance Start.
[2025-01-09 22:08:03] Production.INFO: CreateAllLog Start
[2025-01-09 22:08:03] Production.INFO: 117
[2025-01-09 22:08:03] Production.INFO: Date 2025-01-08
[2025-01-09 22:08:04] Production.INFO: Reseller ==> 0
[2025-01-09 22:08:04] Production.ERROR: done
[2025-01-09 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-01-09 22:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 22:08:04] Production.INFO: Date 2025-01-09
[2025-01-09 22:08:04] Production.INFO: Reseller ==> 0
[2025-01-09 22:08:04] Production.INFO: ==10228== Releasing lock...
[2025-01-09 22:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 22:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 22:08:04] Production.INFO: Total Charge 0
[2025-01-09 22:08:04] Production.INFO: count ==21
[2025-01-09 22:08:04] Production.INFO: CreateAllLog End
[2025-01-09 22:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:08:04] Production.INFO: count ==21
[2025-01-09 22:08:04] Production.ERROR: done
[2025-01-09 22:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212529') start
[2025-01-09 22:08:04] Production.INFO: Account Balance End.
[2025-01-09 22:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212529') end
[2025-01-09 22:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 22:08:04] Production.INFO: 1
[2025-01-09 22:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 22:08:04] Production.ERROR: CronJobId end 12
[2025-01-09 22:08:04] Production.INFO: ==10232== Releasing lock...
[2025-01-09 22:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 22:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 22:08:04] Production.INFO: ==10236== Releasing lock...
[2025-01-09 22:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 22:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 22:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 19:08:05
[end_date_ymd] => 2025-01-09 22:08:05
[RateCDR] => 1
)
[2025-01-09 22:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 19:08:05' and `end` < '2025-01-09 22:08:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 22:08:12] Production.ERROR: CronJobId end10
[2025-01-09 22:08:12] Production.INFO: ==10230== Releasing lock...
[2025-01-09 22:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 22:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 22:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 22:08:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 22:08:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 22:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 22:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 22:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 22:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 22:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 22:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 22:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 22:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 22:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 22:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 22:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 22:08:13] Production.INFO: call_cost start
[2025-01-09 22:08:13] Production.INFO: call_cost end
[2025-01-09 22:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 22:08:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 22:08:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 22:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 22:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 22:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 22:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 22:08:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 22:08:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 22:08:14] Production.INFO: ==10226== Releasing lock...
[2025-01-09 22:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 22:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 22:08:18] Production.INFO: count ==882
[2025-01-09 22:08:18] Production.ERROR: pbx CDR StartTime 2025-01-09 19:08:05 - End Time 2025-01-09 22:08:05
[2025-01-09 22:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 22:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212530', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212530', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212530', 'tblTempVendorCDR_20' ) start
[2025-01-09 22:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212530', 'tblTempVendorCDR_20' ) end
[2025-01-09 22:08:18] Production.INFO: ProcessCDR(1,14212530,1,1,2)
[2025-01-09 22:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212530,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212530,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212530,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212530,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212530', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212530', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:08:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:08:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:08:21] Production.INFO: ==10234== Releasing lock...
[2025-01-09 22:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 22:08:21] Production.INFO: 33.75 MB #Memory Used#
[2025-01-10 03:09:01] Production.INFO: ==10289== Lock acquired, processing the job...
[2025-01-10 03:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 03:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 03:09:01] Production.INFO: neon service started
[2025-01-10 03:09:01] Production.INFO: neon service started
[2025-01-10 03:09:01] Production.INFO: ==10289== Releasing lock...
[2025-01-10 03:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 03:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 22:09:01] Production.INFO: ==10291== Lock acquired, processing the job...
[2025-01-09 22:09:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 22:09:02] Production.INFO: ==10291== Releasing lock...
[2025-01-09 22:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 22:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 03:09:02] Production.INFO: ==10293== Lock acquired, processing the job...
[2025-01-10 03:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 03:09:02] Production.INFO: ==10293== Releasing lock...
[2025-01-10 03:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 03:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 22:09:02] Production.INFO: ==10295== Lock acquired, processing the job...
[2025-01-09 22:09:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 22:09:03] Production.INFO: ==10297== Lock acquired, processing the job...
[2025-01-09 22:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 22:09:03] Production.INFO: ==10299== Lock acquired, processing the job...
[2025-01-09 22:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 22:09:03] Production.INFO: ==10301== Lock acquired, processing the job...
[2025-01-09 22:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 22:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 22:09:03] Production.INFO: ==10305== Lock acquired, processing the job...
[2025-01-09 22:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 22:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 22:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 22:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 22:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 22:09:03] Production.INFO: Account Balance Start.
[2025-01-09 22:09:03] Production.INFO: CreateAllLog Start
[2025-01-09 22:09:03] Production.INFO: 117
[2025-01-09 22:09:03] Production.INFO: Date 2025-01-08
[2025-01-09 22:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:09:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:09:03] Production.INFO: ==10303== Lock acquired, processing the job...
[2025-01-09 22:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 22:09:03] Production.INFO: Date 2025-01-09
[2025-01-09 22:09:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:09:03] Production.INFO: count ==21
[2025-01-09 22:09:03] Production.INFO: Total Charge 0
[2025-01-09 22:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:09:03] Production.INFO: count ==21
[2025-01-09 22:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212534') start
[2025-01-09 22:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:09:03] Production.INFO: CreateAllLog End
[2025-01-09 22:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212534') end
[2025-01-09 22:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 22:09:03] Production.INFO: 1
[2025-01-09 22:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 22:09:03] Production.INFO: ==10297== Releasing lock...
[2025-01-09 22:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 22:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 22:09:03] Production.INFO: ==10305== Releasing lock...
[2025-01-09 22:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 22:09:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 22:09:03] Production.ERROR: done
[2025-01-09 22:09:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 22:09:03] Production.INFO: Account Balance End.
[2025-01-09 22:09:03] Production.ERROR: CronJobId end 12
[2025-01-09 22:09:03] Production.INFO: ==10301== Releasing lock...
[2025-01-09 22:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 22:09:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 22:09:03] Production.ERROR: done
[2025-01-09 22:09:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 19:09:04
[end_date_ymd] => 2025-01-09 22:09:04
[RateCDR] => 1
)
[2025-01-09 22:09:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 19:09:04' and `end` < '2025-01-09 22:09:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 22:09:12] Production.ERROR: CronJobId end10
[2025-01-09 22:09:12] Production.INFO: ==10299== Releasing lock...
[2025-01-09 22:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 22:09:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 22:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 22:09:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 22:09:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 22:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 22:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 22:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 22:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 22:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 22:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 22:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 22:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 22:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 22:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 22:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 22:09:14] Production.INFO: call_cost start
[2025-01-09 22:09:14] Production.INFO: call_cost end
[2025-01-09 22:09:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 22:09:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 22:09:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 22:09:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 22:09:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 22:09:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 22:09:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 22:09:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 22:09:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 22:09:14] Production.INFO: ==10295== Releasing lock...
[2025-01-09 22:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 22:09:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 22:09:17] Production.INFO: count ==882
[2025-01-09 22:09:17] Production.ERROR: pbx CDR StartTime 2025-01-09 19:09:04 - End Time 2025-01-09 22:09:04
[2025-01-09 22:09:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 22:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212535', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212535', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212535', 'tblTempVendorCDR_20' ) start
[2025-01-09 22:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212535', 'tblTempVendorCDR_20' ) end
[2025-01-09 22:09:17] Production.INFO: ProcessCDR(1,14212535,1,1,2)
[2025-01-09 22:09:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212535,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:09:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212535,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:09:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212535,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:09:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212535,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:09:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212535', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:09:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212535', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:09:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:09:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:09:20] Production.INFO: ==10303== Releasing lock...
[2025-01-09 22:09:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 22:09:20] Production.INFO: 33.75 MB #Memory Used#
[2025-01-10 03:10:01] Production.INFO: ==10399== Lock acquired, processing the job...
[2025-01-10 03:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 03:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 03:10:01] Production.INFO: neon service started
[2025-01-10 03:10:01] Production.INFO: neon service started
[2025-01-10 03:10:01] Production.INFO: ==10399== Releasing lock...
[2025-01-10 03:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 03:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 22:10:02] Production.INFO: ==10401== Lock acquired, processing the job...
[2025-01-09 22:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 22:10:02] Production.INFO: ==10401== Releasing lock...
[2025-01-09 22:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 22:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 03:10:02] Production.INFO: ==10403== Lock acquired, processing the job...
[2025-01-10 03:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 03:10:02] Production.INFO: ==10403== Releasing lock...
[2025-01-10 03:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 03:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 22:10:03] Production.INFO: ==10405== Lock acquired, processing the job...
[2025-01-09 22:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 22:10:03] Production.INFO: ==10411== Lock acquired, processing the job...
[2025-01-09 22:10:03] Production.INFO: ==10407== Lock acquired, processing the job...
[2025-01-09 22:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 22:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 22:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 22:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 22:10:03] Production.INFO: ==10405== Releasing lock...
[2025-01-09 22:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 22:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 22:10:03] Production.INFO: ==10413== Lock acquired, processing the job...
[2025-01-09 22:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 22:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 22:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 22:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 22:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 22:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 22:10:03] Production.INFO: Account Balance Start.
[2025-01-09 22:10:03] Production.INFO: CreateAllLog Start
[2025-01-09 22:10:03] Production.INFO: 117
[2025-01-09 22:10:03] Production.INFO: Date 2025-01-08
[2025-01-09 22:10:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:10:03] Production.INFO: Date 2025-01-09
[2025-01-09 22:10:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:10:03] Production.INFO: Total Charge 0
[2025-01-09 22:10:03] Production.INFO: CreateAllLog End
[2025-01-09 22:10:03] Production.INFO: ==10409== Lock acquired, processing the job...
[2025-01-09 22:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 22:10:04] Production.INFO: Account Balance End.
[2025-01-09 22:10:04] Production.INFO: ==10415== Lock acquired, processing the job...
[2025-01-09 22:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 22:10:04] Production.ERROR: CronJobId end 12
[2025-01-09 22:10:04] Production.INFO: ==10413== Releasing lock...
[2025-01-09 22:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 22:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 22:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:10:04] Production.INFO: ==10420== Lock acquired, processing the job...
[2025-01-09 22:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 22:10:04] Production.INFO: ==10417== Lock acquired, processing the job...
[2025-01-09 22:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 22:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:10:04] Production.INFO: ==10409== Releasing lock...
[2025-01-09 22:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 22:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 22:10:04] Production.INFO: count ==21
[2025-01-09 22:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:10:04] Production.ERROR: done
[2025-01-09 22:10:04] Production.INFO: count ==21
[2025-01-09 22:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212539') start
[2025-01-09 22:10:04] Production.ERROR: done
[2025-01-09 22:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 22:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212539') end
[2025-01-09 22:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 22:10:04] Production.INFO: 1
[2025-01-09 22:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 22:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 22:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14212540', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 22:10:04] Production.INFO: ==10420== Releasing lock...
[2025-01-09 22:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 22:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 22:10:04] Production.ERROR: done
[2025-01-09 22:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 19:10:05
[end_date_ymd] => 2025-01-09 22:10:05
[RateCDR] => 1
)
[2025-01-09 22:10:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 19:10:05' and `end` < '2025-01-09 22:10:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 22:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14212540', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 22:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 22:10:08] Production.INFO: ProcessCDR(1,14212540,1,1,2)
[2025-01-09 22:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14212540,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14212540,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:10:08] Production.INFO: ==10417== Releasing lock...
[2025-01-09 22:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 22:10:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 22:10:13] Production.ERROR: CronJobId end10
[2025-01-09 22:10:13] Production.INFO: ==10411== Releasing lock...
[2025-01-09 22:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 22:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 22:10:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 22:10:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 22:10:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 22:10:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 22:10:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 22:10:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 22:10:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 22:10:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 22:10:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 22:10:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 22:10:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 22:10:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 22:10:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 22:10:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 22:10:15] Production.INFO: call_cost start
[2025-01-09 22:10:15] Production.INFO: call_cost end
[2025-01-09 22:10:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 22:10:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 22:10:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 22:10:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 22:10:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 22:10:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 22:10:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 22:10:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 22:10:16] Production.INFO: ============== Deal alert END===========
[2025-01-09 22:10:16] Production.INFO: ==10407== Releasing lock...
[2025-01-09 22:10:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 22:10:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 22:10:19] Production.INFO: count ==880
[2025-01-09 22:10:19] Production.ERROR: pbx CDR StartTime 2025-01-09 19:10:05 - End Time 2025-01-09 22:10:05
[2025-01-09 22:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 22:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212541', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212541', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212541', 'tblTempVendorCDR_20' ) start
[2025-01-09 22:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212541', 'tblTempVendorCDR_20' ) end
[2025-01-09 22:10:19] Production.INFO: ProcessCDR(1,14212541,1,1,2)
[2025-01-09 22:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212541,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212541,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212541,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212541,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212541', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212541', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:10:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:10:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:10:22] Production.INFO: ==10415== Releasing lock...
[2025-01-09 22:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 22:10:22] Production.INFO: 33.75 MB #Memory Used#
[2025-01-10 03:11:02] Production.INFO: ==10476== Lock acquired, processing the job...
[2025-01-10 03:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 03:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 03:11:02] Production.INFO: neon service started
[2025-01-10 03:11:02] Production.INFO: neon service started
[2025-01-10 03:11:02] Production.INFO: ==10476== Releasing lock...
[2025-01-10 03:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 03:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 22:11:02] Production.INFO: ==10478== Lock acquired, processing the job...
[2025-01-09 22:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 22:11:02] Production.INFO: ==10478== Releasing lock...
[2025-01-09 22:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 22:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 03:11:02] Production.INFO: ==10480== Lock acquired, processing the job...
[2025-01-10 03:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 03:11:03] Production.INFO: ==10480== Releasing lock...
[2025-01-10 03:11:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 03:11:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 22:11:03] Production.INFO: ==10482== Lock acquired, processing the job...
[2025-01-09 22:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 22:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 22:11:03] Production.INFO: ==10490== Lock acquired, processing the job...
[2025-01-09 22:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 22:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:11:03] Production.INFO: ==10488== Lock acquired, processing the job...
[2025-01-09 22:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 22:11:03] Production.INFO: Account Balance Start.
[2025-01-09 22:11:03] Production.INFO: CreateAllLog Start
[2025-01-09 22:11:03] Production.INFO: 117
[2025-01-09 22:11:03] Production.INFO: Date 2025-01-08
[2025-01-09 22:11:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:11:03] Production.ERROR: done
[2025-01-09 22:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 22:11:04] Production.INFO: ==10484== Lock acquired, processing the job...
[2025-01-09 22:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 22:11:04] Production.INFO: Date 2025-01-09
[2025-01-09 22:11:04] Production.INFO: Reseller ==> 0
[2025-01-09 22:11:04] Production.INFO: Total Charge 0
[2025-01-09 22:11:04] Production.INFO: ==10486== Lock acquired, processing the job...
[2025-01-09 22:11:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 22:11:04] Production.INFO: CreateAllLog End
[2025-01-09 22:11:04] Production.INFO: ==10492== Lock acquired, processing the job...
[2025-01-09 22:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 22:11:04] Production.ERROR: done
[2025-01-09 22:11:04] Production.INFO: Account Balance End.
[2025-01-09 22:11:04] Production.ERROR: CronJobId end 12
[2025-01-09 22:11:04] Production.INFO: ==10488== Releasing lock...
[2025-01-09 22:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 22:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 22:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 22:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 22:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 22:11:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 22:11:04] Production.INFO: count ==21
[2025-01-09 22:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:11:04] Production.INFO: count ==21
[2025-01-09 22:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212546') start
[2025-01-09 22:11:04] Production.INFO: ==10484== Releasing lock...
[2025-01-09 22:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 22:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 22:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212546') end
[2025-01-09 22:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 22:11:04] Production.INFO: 1
[2025-01-09 22:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 22:11:04] Production.INFO: ==10492== Releasing lock...
[2025-01-09 22:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 22:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 22:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 19:11:05
[end_date_ymd] => 2025-01-09 22:11:05
[RateCDR] => 1
)
[2025-01-09 22:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 19:11:05' and `end` < '2025-01-09 22:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 22:11:13] Production.ERROR: CronJobId end10
[2025-01-09 22:11:13] Production.INFO: ==10486== Releasing lock...
[2025-01-09 22:11:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 22:11:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 22:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 22:11:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 22:11:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 22:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 22:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 22:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 22:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 22:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 22:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 22:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 22:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 22:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 22:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 22:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 22:11:14] Production.INFO: call_cost start
[2025-01-09 22:11:14] Production.INFO: call_cost end
[2025-01-09 22:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 22:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 22:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 22:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 22:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 22:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 22:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 22:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 22:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 22:11:14] Production.INFO: ==10482== Releasing lock...
[2025-01-09 22:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 22:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 22:11:19] Production.INFO: count ==835
[2025-01-09 22:11:19] Production.ERROR: pbx CDR StartTime 2025-01-09 19:11:05 - End Time 2025-01-09 22:11:05
[2025-01-09 22:11:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 22:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212544', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212544', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212544', 'tblTempVendorCDR_20' ) start
[2025-01-09 22:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212544', 'tblTempVendorCDR_20' ) end
[2025-01-09 22:11:19] Production.INFO: ProcessCDR(1,14212544,1,1,2)
[2025-01-09 22:11:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212544,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:11:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212544,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:11:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212544,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:11:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212544,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212544', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212544', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:11:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:11:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:11:22] Production.INFO: ==10490== Releasing lock...
[2025-01-09 22:11:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 22:11:22] Production.INFO: 33.5 MB #Memory Used#
[2025-01-10 03:12:01] Production.INFO: ==10548== Lock acquired, processing the job...
[2025-01-10 03:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 03:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 03:12:01] Production.INFO: neon service started
[2025-01-10 03:12:01] Production.INFO: neon service started
[2025-01-10 03:12:01] Production.INFO: ==10548== Releasing lock...
[2025-01-10 03:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 03:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 22:12:02] Production.INFO: ==10550== Lock acquired, processing the job...
[2025-01-09 22:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 22:12:02] Production.INFO: ==10550== Releasing lock...
[2025-01-09 22:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 22:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 03:12:02] Production.INFO: ==10552== Lock acquired, processing the job...
[2025-01-10 03:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 03:12:02] Production.INFO: ==10552== Releasing lock...
[2025-01-10 03:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 03:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 22:12:03] Production.INFO: ==10561== Lock acquired, processing the job...
[2025-01-09 22:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 22:12:03] Production.INFO: ==10557== Lock acquired, processing the job...
[2025-01-09 22:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 22:12:03] Production.INFO: ==10555== Lock acquired, processing the job...
[2025-01-09 22:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 22:12:03] Production.INFO: Account Balance Start.
[2025-01-09 22:12:03] Production.INFO: CreateAllLog Start
[2025-01-09 22:12:03] Production.INFO: 117
[2025-01-09 22:12:03] Production.INFO: Date 2025-01-08
[2025-01-09 22:12:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:12:03] Production.INFO: Date 2025-01-09
[2025-01-09 22:12:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 22:12:03] Production.INFO: Total Charge 0
[2025-01-09 22:12:03] Production.INFO: ==10559== Lock acquired, processing the job...
[2025-01-09 22:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 22:12:03] Production.INFO: CreateAllLog End
[2025-01-09 22:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 22:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 22:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 22:12:03] Production.INFO: ==10563== Lock acquired, processing the job...
[2025-01-09 22:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 22:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 22:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:12:03] Production.INFO: ==10565== Lock acquired, processing the job...
[2025-01-09 22:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 22:12:03] Production.INFO: Account Balance End.
[2025-01-09 22:12:03] Production.INFO: ==10557== Releasing lock...
[2025-01-09 22:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 22:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 22:12:03] Production.ERROR: CronJobId end 12
[2025-01-09 22:12:03] Production.INFO: ==10561== Releasing lock...
[2025-01-09 22:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 22:12:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 22:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:12:04] Production.INFO: count ==21
[2025-01-09 22:12:04] Production.ERROR: done
[2025-01-09 22:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 22:12:04] Production.INFO: count ==21
[2025-01-09 22:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212550') start
[2025-01-09 22:12:04] Production.ERROR: done
[2025-01-09 22:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212550') end
[2025-01-09 22:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 22:12:04] Production.INFO: 1
[2025-01-09 22:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 22:12:04] Production.INFO: ==10565== Releasing lock...
[2025-01-09 22:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 22:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 22:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 19:12:05
[end_date_ymd] => 2025-01-09 22:12:05
[RateCDR] => 1
)
[2025-01-09 22:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 19:12:05' and `end` < '2025-01-09 22:12:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 22:12:11] Production.ERROR: CronJobId end10
[2025-01-09 22:12:11] Production.INFO: ==10559== Releasing lock...
[2025-01-09 22:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 22:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 22:12:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 22:12:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 22:12:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 22:12:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 22:12:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 22:12:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 22:12:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 22:12:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 22:12:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 22:12:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 22:12:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 22:12:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 22:12:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 22:12:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 22:12:13] Production.INFO: call_cost start
[2025-01-09 22:12:13] Production.INFO: call_cost end
[2025-01-09 22:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 22:12:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 22:12:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 22:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 22:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 22:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 22:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 22:12:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 22:12:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 22:12:14] Production.INFO: ==10555== Releasing lock...
[2025-01-09 22:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 22:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 22:12:18] Production.INFO: count ==827
[2025-01-09 22:12:18] Production.ERROR: pbx CDR StartTime 2025-01-09 19:12:05 - End Time 2025-01-09 22:12:05
[2025-01-09 22:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 22:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212551', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212551', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212551', 'tblTempVendorCDR_20' ) start
[2025-01-09 22:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212551', 'tblTempVendorCDR_20' ) end
[2025-01-09 22:12:18] Production.INFO: ProcessCDR(1,14212551,1,1,2)
[2025-01-09 22:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212551,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212551,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212551,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212551,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212551', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212551', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:12:21] Production.INFO: ==10563== Releasing lock...
[2025-01-09 22:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 22:12:21] Production.INFO: 33.5 MB #Memory Used#
[2025-01-10 03:13:02] Production.INFO: ==10621== Lock acquired, processing the job...
[2025-01-10 03:13:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 03:13:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 03:13:02] Production.INFO: neon service started
[2025-01-10 03:13:02] Production.INFO: neon service started
[2025-01-10 03:13:02] Production.INFO: ==10621== Releasing lock...
[2025-01-10 03:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 03:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 22:13:02] Production.INFO: ==10624== Lock acquired, processing the job...
[2025-01-09 22:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 22:13:02] Production.INFO: ==10624== Releasing lock...
[2025-01-09 22:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 22:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 03:13:03] Production.INFO: ==10626== Lock acquired, processing the job...
[2025-01-10 03:13:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 03:13:03] Production.INFO: ==10626== Releasing lock...
[2025-01-10 03:13:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 03:13:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 22:13:03] Production.INFO: ==10628== Lock acquired, processing the job...
[2025-01-09 22:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 22:13:03] Production.INFO: ==10630== Lock acquired, processing the job...
[2025-01-09 22:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 22:13:03] Production.INFO: ==10634== Lock acquired, processing the job...
[2025-01-09 22:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 22:13:03] Production.INFO: ==10632== Lock acquired, processing the job...
[2025-01-09 22:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 22:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 22:13:03] Production.INFO: ==10636== Lock acquired, processing the job...
[2025-01-09 22:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 22:13:04] Production.INFO: Account Balance Start.
[2025-01-09 22:13:04] Production.INFO: CreateAllLog Start
[2025-01-09 22:13:04] Production.INFO: 117
[2025-01-09 22:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 22:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 22:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 22:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 22:13:04] Production.INFO: ==10638== Lock acquired, processing the job...
[2025-01-09 22:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 22:13:04] Production.INFO: Date 2025-01-08
[2025-01-09 22:13:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:13:04] Production.INFO: Reseller ==> 0
[2025-01-09 22:13:04] Production.INFO: Date 2025-01-09
[2025-01-09 22:13:04] Production.INFO: Reseller ==> 0
[2025-01-09 22:13:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:13:04] Production.INFO: Total Charge 0
[2025-01-09 22:13:04] Production.INFO: CreateAllLog End
[2025-01-09 22:13:04] Production.INFO: count ==21
[2025-01-09 22:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:13:04] Production.INFO: count ==21
[2025-01-09 22:13:04] Production.INFO: ==10630== Releasing lock...
[2025-01-09 22:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 22:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 22:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212555') start
[2025-01-09 22:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212555') end
[2025-01-09 22:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 22:13:04] Production.INFO: 1
[2025-01-09 22:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 22:13:04] Production.INFO: ==10638== Releasing lock...
[2025-01-09 22:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 22:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 22:13:04] Production.ERROR: done
[2025-01-09 22:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 22:13:04] Production.INFO: Account Balance End.
[2025-01-09 22:13:04] Production.ERROR: done
[2025-01-09 22:13:04] Production.ERROR: CronJobId end 12
[2025-01-09 22:13:04] Production.INFO: ==10634== Releasing lock...
[2025-01-09 22:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 22:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 22:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 19:13:05
[end_date_ymd] => 2025-01-09 22:13:05
[RateCDR] => 1
)
[2025-01-09 22:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 19:13:05' and `end` < '2025-01-09 22:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 22:13:12] Production.ERROR: CronJobId end10
[2025-01-09 22:13:12] Production.INFO: ==10632== Releasing lock...
[2025-01-09 22:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 22:13:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 22:13:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 22:13:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 22:13:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 22:13:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 22:13:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 22:13:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 22:13:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 22:13:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 22:13:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 22:13:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 22:13:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 22:13:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 22:13:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 22:13:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 22:13:14] Production.INFO: call_cost start
[2025-01-09 22:13:14] Production.INFO: call_cost end
[2025-01-09 22:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 22:13:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 22:13:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 22:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 22:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 22:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 22:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 22:13:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 22:13:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 22:13:15] Production.INFO: ==10628== Releasing lock...
[2025-01-09 22:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 22:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 22:13:20] Production.INFO: count ==830
[2025-01-09 22:13:20] Production.ERROR: pbx CDR StartTime 2025-01-09 19:13:05 - End Time 2025-01-09 22:13:05
[2025-01-09 22:13:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 22:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212556', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212556', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212556', 'tblTempVendorCDR_20' ) start
[2025-01-09 22:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212556', 'tblTempVendorCDR_20' ) end
[2025-01-09 22:13:20] Production.INFO: ProcessCDR(1,14212556,1,1,2)
[2025-01-09 22:13:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212556,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:13:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212556,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:13:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212556,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:13:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212556,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212556', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212556', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:13:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:13:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:13:23] Production.INFO: ==10636== Releasing lock...
[2025-01-09 22:13:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 22:13:23] Production.INFO: 33.5 MB #Memory Used#
[2025-01-10 03:14:01] Production.INFO: ==10696== Lock acquired, processing the job...
[2025-01-10 03:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 03:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 03:14:01] Production.INFO: neon service started
[2025-01-10 03:14:01] Production.INFO: neon service started
[2025-01-10 03:14:01] Production.INFO: ==10696== Releasing lock...
[2025-01-10 03:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 03:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 22:14:02] Production.INFO: ==10698== Lock acquired, processing the job...
[2025-01-09 22:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 22:14:02] Production.INFO: ==10698== Releasing lock...
[2025-01-09 22:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 22:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 03:14:02] Production.INFO: ==10700== Lock acquired, processing the job...
[2025-01-10 03:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 03:14:02] Production.INFO: ==10700== Releasing lock...
[2025-01-10 03:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 03:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 22:14:03] Production.INFO: ==10702== Lock acquired, processing the job...
[2025-01-09 22:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 22:14:03] Production.INFO: ==10704== Lock acquired, processing the job...
[2025-01-09 22:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 22:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 22:14:03] Production.INFO: ==10708== Lock acquired, processing the job...
[2025-01-09 22:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 22:14:03] Production.INFO: ==10706== Lock acquired, processing the job...
[2025-01-09 22:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 22:14:03] Production.INFO: Account Balance Start.
[2025-01-09 22:14:03] Production.INFO: CreateAllLog Start
[2025-01-09 22:14:03] Production.INFO: 117
[2025-01-09 22:14:03] Production.INFO: Date 2025-01-08
[2025-01-09 22:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 22:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 22:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 22:14:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:14:03] Production.INFO: ==10710== Lock acquired, processing the job...
[2025-01-09 22:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 22:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 22:14:03] Production.INFO: Date 2025-01-09
[2025-01-09 22:14:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:14:03] Production.INFO: Total Charge 0
[2025-01-09 22:14:03] Production.INFO: ==10712== Lock acquired, processing the job...
[2025-01-09 22:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 22:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:14:03] Production.INFO: CreateAllLog End
[2025-01-09 22:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:14:03] Production.INFO: count ==21
[2025-01-09 22:14:03] Production.INFO: Account Balance End.
[2025-01-09 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-01-09 22:14:03] Production.INFO: count ==21
[2025-01-09 22:14:03] Production.INFO: ==10704== Releasing lock...
[2025-01-09 22:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 22:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 22:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212560') start
[2025-01-09 22:14:03] Production.ERROR: CronJobId end 12
[2025-01-09 22:14:03] Production.INFO: ==10708== Releasing lock...
[2025-01-09 22:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 22:14:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 22:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212560') end
[2025-01-09 22:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 22:14:04] Production.INFO: 1
[2025-01-09 22:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 22:14:04] Production.ERROR: done
[2025-01-09 22:14:04] Production.INFO: ==10712== Releasing lock...
[2025-01-09 22:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 22:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 22:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 22:14:04] Production.ERROR: done
[2025-01-09 22:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 19:14:05
[end_date_ymd] => 2025-01-09 22:14:05
[RateCDR] => 1
)
[2025-01-09 22:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 19:14:05' and `end` < '2025-01-09 22:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 22:14:13] Production.ERROR: CronJobId end10
[2025-01-09 22:14:13] Production.INFO: ==10706== Releasing lock...
[2025-01-09 22:14:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 22:14:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 22:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 22:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 22:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 22:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 22:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 22:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 22:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 22:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 22:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 22:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 22:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 22:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 22:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 22:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 22:14:13] Production.INFO: call_cost start
[2025-01-09 22:14:13] Production.INFO: call_cost end
[2025-01-09 22:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 22:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 22:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 22:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 22:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 22:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 22:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 22:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 22:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 22:14:14] Production.INFO: ==10702== Releasing lock...
[2025-01-09 22:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 22:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 22:14:18] Production.INFO: count ==828
[2025-01-09 22:14:18] Production.ERROR: pbx CDR StartTime 2025-01-09 19:14:05 - End Time 2025-01-09 22:14:05
[2025-01-09 22:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 22:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212561', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212561', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212561', 'tblTempVendorCDR_20' ) start
[2025-01-09 22:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212561', 'tblTempVendorCDR_20' ) end
[2025-01-09 22:14:18] Production.INFO: ProcessCDR(1,14212561,1,1,2)
[2025-01-09 22:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212561,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:14:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212561,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:14:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212561,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212561,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212561', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212561', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:14:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:14:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:14:22] Production.INFO: ==10710== Releasing lock...
[2025-01-09 22:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 22:14:22] Production.INFO: 33.5 MB #Memory Used#
[2025-01-10 03:15:02] Production.INFO: ==10774== Lock acquired, processing the job...
[2025-01-10 03:15:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 03:15:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 03:15:02] Production.INFO: neon service started
[2025-01-10 03:15:02] Production.INFO: neon service started
[2025-01-10 03:15:02] Production.INFO: ==10774== Releasing lock...
[2025-01-10 03:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 03:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 22:15:02] Production.INFO: ==10776== Lock acquired, processing the job...
[2025-01-09 22:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 22:15:02] Production.INFO: ==10776== Releasing lock...
[2025-01-09 22:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 22:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 03:15:02] Production.INFO: ==10778== Lock acquired, processing the job...
[2025-01-10 03:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 03:15:03] Production.INFO: ==10778== Releasing lock...
[2025-01-10 03:15:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 03:15:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 22:15:03] Production.INFO: ==10780== Lock acquired, processing the job...
[2025-01-09 22:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 22:15:03] Production.INFO: ==10782== Lock acquired, processing the job...
[2025-01-09 22:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 22:15:03] Production.INFO: ==10790== Lock acquired, processing the job...
[2025-01-09 22:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 22:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 22:15:03] Production.INFO: ==10784== Lock acquired, processing the job...
[2025-01-09 22:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 22:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:15:03] Production.INFO: count ==21
[2025-01-09 22:15:03] Production.INFO: ==10786== Lock acquired, processing the job...
[2025-01-09 22:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 22:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:15:03] Production.INFO: count ==21
[2025-01-09 22:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212563') start
[2025-01-09 22:15:03] Production.INFO: ==10788== Lock acquired, processing the job...
[2025-01-09 22:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 22:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 22:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 22:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 22:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 22:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212563') end
[2025-01-09 22:15:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 22:15:03] Production.INFO: 1
[2025-01-09 22:15:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 22:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:15:04] Production.INFO: Account Balance Start.
[2025-01-09 22:15:04] Production.INFO: CreateAllLog Start
[2025-01-09 22:15:04] Production.INFO: 117
[2025-01-09 22:15:04] Production.INFO: Date 2025-01-08
[2025-01-09 22:15:04] Production.INFO: Reseller ==> 0
[2025-01-09 22:15:04] Production.INFO: ==10790== Releasing lock...
[2025-01-09 22:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 22:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 22:15:04] Production.INFO: ==10782== Releasing lock...
[2025-01-09 22:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 22:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 22:15:04] Production.INFO: Date 2025-01-09
[2025-01-09 22:15:04] Production.INFO: Reseller ==> 0
[2025-01-09 22:15:04] Production.INFO: Total Charge 0
[2025-01-09 22:15:04] Production.INFO: CreateAllLog End
[2025-01-09 22:15:04] Production.ERROR: done
[2025-01-09 22:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 22:15:04] Production.INFO: Account Balance End.
[2025-01-09 22:15:04] Production.ERROR: done
[2025-01-09 22:15:04] Production.ERROR: CronJobId end 12
[2025-01-09 22:15:04] Production.INFO: ==10786== Releasing lock...
[2025-01-09 22:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 22:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 22:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 19:15:05
[end_date_ymd] => 2025-01-09 22:15:05
[RateCDR] => 1
)
[2025-01-09 22:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 19:15:05' and `end` < '2025-01-09 22:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 22:15:11] Production.ERROR: CronJobId end10
[2025-01-09 22:15:11] Production.INFO: ==10784== Releasing lock...
[2025-01-09 22:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 22:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 22:15:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 22:15:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 22:15:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 22:15:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 22:15:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 22:15:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 22:15:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 22:15:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 22:15:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 22:15:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 22:15:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 22:15:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 22:15:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 22:15:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 22:15:13] Production.INFO: call_cost start
[2025-01-09 22:15:13] Production.INFO: call_cost end
[2025-01-09 22:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 22:15:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 22:15:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 22:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 22:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 22:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 22:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 22:15:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 22:15:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 22:15:14] Production.INFO: ==10780== Releasing lock...
[2025-01-09 22:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 22:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 22:15:18] Production.INFO: count ==829
[2025-01-09 22:15:18] Production.ERROR: pbx CDR StartTime 2025-01-09 19:15:05 - End Time 2025-01-09 22:15:05
[2025-01-09 22:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 22:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212566', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212566', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212566', 'tblTempVendorCDR_20' ) start
[2025-01-09 22:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212566', 'tblTempVendorCDR_20' ) end
[2025-01-09 22:15:18] Production.INFO: ProcessCDR(1,14212566,1,1,2)
[2025-01-09 22:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212566,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:15:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212566,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:15:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212566,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:15:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212566,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:15:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212566', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:15:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212566', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:15:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:15:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:15:23] Production.INFO: ==10788== Releasing lock...
[2025-01-09 22:15:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 22:15:23] Production.INFO: 33.5 MB #Memory Used#
[2025-01-10 03:16:01] Production.INFO: ==10859== Lock acquired, processing the job...
[2025-01-10 03:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 03:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 03:16:01] Production.INFO: neon service started
[2025-01-10 03:16:01] Production.INFO: neon service started
[2025-01-10 03:16:01] Production.INFO: ==10859== Releasing lock...
[2025-01-10 03:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 03:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 22:16:02] Production.INFO: ==10861== Lock acquired, processing the job...
[2025-01-09 22:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 03:16:02] Production.INFO: ==10863== Lock acquired, processing the job...
[2025-01-10 03:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 03:16:02] Production.INFO: ==10863== Releasing lock...
[2025-01-10 03:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 03:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 22:16:02] Production.INFO: ==10861== Releasing lock...
[2025-01-09 22:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 22:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 22:16:03] Production.INFO: ==10872== Lock acquired, processing the job...
[2025-01-09 22:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 22:16:03] Production.INFO: Account Balance Start.
[2025-01-09 22:16:03] Production.INFO: CreateAllLog Start
[2025-01-09 22:16:03] Production.INFO: 117
[2025-01-09 22:16:03] Production.INFO: Date 2025-01-08
[2025-01-09 22:16:03] Production.INFO: ==10876== Lock acquired, processing the job...
[2025-01-09 22:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 22:16:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:16:03] Production.INFO: ==10865== Lock acquired, processing the job...
[2025-01-09 22:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 22:16:03] Production.INFO: Date 2025-01-09
[2025-01-09 22:16:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:16:03] Production.INFO: Total Charge 0
[2025-01-09 22:16:03] Production.INFO: CreateAllLog End
[2025-01-09 22:16:03] Production.INFO: ==10867== Lock acquired, processing the job...
[2025-01-09 22:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 22:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 22:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:16:03] Production.INFO: ==10869== Lock acquired, processing the job...
[2025-01-09 22:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 22:16:03] Production.INFO: count ==21
[2025-01-09 22:16:03] Production.INFO: Account Balance End.
[2025-01-09 22:16:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:16:03] Production.INFO: count ==21
[2025-01-09 22:16:03] Production.INFO: ==10874== Lock acquired, processing the job...
[2025-01-09 22:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 22:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212568') start
[2025-01-09 22:16:03] Production.ERROR: CronJobId end 12
[2025-01-09 22:16:03] Production.INFO: ==10872== Releasing lock...
[2025-01-09 22:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 22:16:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 22:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 22:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 22:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 22:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 22:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212568') end
[2025-01-09 22:16:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 22:16:03] Production.INFO: 1
[2025-01-09 22:16:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 22:16:03] Production.INFO: ==10876== Releasing lock...
[2025-01-09 22:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 22:16:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 22:16:04] Production.ERROR: done
[2025-01-09 22:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 22:16:04] Production.INFO: ==10867== Releasing lock...
[2025-01-09 22:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 22:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 22:16:04] Production.ERROR: done
[2025-01-09 22:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 19:16:05
[end_date_ymd] => 2025-01-09 22:16:05
[RateCDR] => 1
)
[2025-01-09 22:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 19:16:05' and `end` < '2025-01-09 22:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 22:16:12] Production.ERROR: CronJobId end10
[2025-01-09 22:16:12] Production.INFO: ==10869== Releasing lock...
[2025-01-09 22:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 22:16:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 22:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 22:16:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 22:16:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 22:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 22:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 22:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 22:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 22:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 22:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 22:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 22:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 22:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 22:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 22:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 22:16:13] Production.INFO: call_cost start
[2025-01-09 22:16:13] Production.INFO: call_cost end
[2025-01-09 22:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 22:16:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 22:16:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 22:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 22:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 22:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 22:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 22:16:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 22:16:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 22:16:14] Production.INFO: ==10865== Releasing lock...
[2025-01-09 22:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 22:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 22:16:18] Production.INFO: count ==827
[2025-01-09 22:16:18] Production.ERROR: pbx CDR StartTime 2025-01-09 19:16:05 - End Time 2025-01-09 22:16:05
[2025-01-09 22:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 22:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212571', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212571', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212571', 'tblTempVendorCDR_20' ) start
[2025-01-09 22:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212571', 'tblTempVendorCDR_20' ) end
[2025-01-09 22:16:18] Production.INFO: ProcessCDR(1,14212571,1,1,2)
[2025-01-09 22:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212571,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212571,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212571,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212571,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212571', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212571', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:16:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:16:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:16:21] Production.INFO: ==10874== Releasing lock...
[2025-01-09 22:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 22:16:21] Production.INFO: 33.5 MB #Memory Used#
[2025-01-10 03:17:02] Production.INFO: ==10943== Lock acquired, processing the job...
[2025-01-10 03:17:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 03:17:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 03:17:02] Production.INFO: neon service started
[2025-01-10 03:17:02] Production.INFO: neon service started
[2025-01-10 03:17:02] Production.INFO: ==10943== Releasing lock...
[2025-01-10 03:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 03:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 22:17:02] Production.INFO: ==10945== Lock acquired, processing the job...
[2025-01-09 22:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 22:17:02] Production.INFO: ==10945== Releasing lock...
[2025-01-09 22:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 22:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 03:17:02] Production.INFO: ==10947== Lock acquired, processing the job...
[2025-01-10 03:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 03:17:02] Production.INFO: ==10947== Releasing lock...
[2025-01-10 03:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 03:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 22:17:03] Production.INFO: ==10949== Lock acquired, processing the job...
[2025-01-09 22:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 22:17:03] Production.INFO: ==10954== Lock acquired, processing the job...
[2025-01-09 22:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 22:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 22:17:03] Production.INFO: ==10956== Lock acquired, processing the job...
[2025-01-09 22:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 22:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 22:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 22:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 22:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 22:17:03] Production.INFO: Account Balance Start.
[2025-01-09 22:17:03] Production.INFO: CreateAllLog Start
[2025-01-09 22:17:03] Production.INFO: 117
[2025-01-09 22:17:03] Production.INFO: Date 2025-01-08
[2025-01-09 22:17:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:17:03] Production.INFO: Date 2025-01-09
[2025-01-09 22:17:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:17:03] Production.INFO: Total Charge 0
[2025-01-09 22:17:03] Production.INFO: CreateAllLog End
[2025-01-09 22:17:03] Production.INFO: Account Balance End.
[2025-01-09 22:17:03] Production.INFO: ==10951== Lock acquired, processing the job...
[2025-01-09 22:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 22:17:03] Production.ERROR: CronJobId end 12
[2025-01-09 22:17:03] Production.INFO: ==10956== Releasing lock...
[2025-01-09 22:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 22:17:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 22:17:03] Production.INFO: ==10958== Lock acquired, processing the job...
[2025-01-09 22:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 22:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:17:03] Production.INFO: ==10960== Lock acquired, processing the job...
[2025-01-09 22:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 22:17:04] Production.INFO: ==10951== Releasing lock...
[2025-01-09 22:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 22:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 22:17:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:17:04] Production.INFO: count ==21
[2025-01-09 22:17:04] Production.ERROR: done
[2025-01-09 22:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:17:04] Production.INFO: count ==21
[2025-01-09 22:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212575') start
[2025-01-09 22:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 22:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212575') end
[2025-01-09 22:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 22:17:04] Production.INFO: 1
[2025-01-09 22:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 22:17:04] Production.ERROR: done
[2025-01-09 22:17:04] Production.INFO: ==10960== Releasing lock...
[2025-01-09 22:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 22:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 22:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 19:17:05
[end_date_ymd] => 2025-01-09 22:17:05
[RateCDR] => 1
)
[2025-01-09 22:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 19:17:05' and `end` < '2025-01-09 22:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 22:17:11] Production.ERROR: CronJobId end10
[2025-01-09 22:17:11] Production.INFO: ==10954== Releasing lock...
[2025-01-09 22:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 22:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 22:17:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 22:17:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 22:17:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 22:17:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 22:17:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 22:17:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 22:17:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 22:17:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 22:17:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 22:17:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 22:17:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 22:17:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 22:17:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 22:17:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 22:17:12] Production.INFO: call_cost start
[2025-01-09 22:17:12] Production.INFO: call_cost end
[2025-01-09 22:17:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 22:17:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 22:17:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 22:17:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 22:17:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 22:17:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 22:17:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 22:17:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 22:17:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 22:17:13] Production.INFO: ==10949== Releasing lock...
[2025-01-09 22:17:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 22:17:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 22:17:18] Production.INFO: count ==826
[2025-01-09 22:17:18] Production.ERROR: pbx CDR StartTime 2025-01-09 19:17:05 - End Time 2025-01-09 22:17:05
[2025-01-09 22:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 22:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212576', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212576', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212576', 'tblTempVendorCDR_20' ) start
[2025-01-09 22:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212576', 'tblTempVendorCDR_20' ) end
[2025-01-09 22:17:18] Production.INFO: ProcessCDR(1,14212576,1,1,2)
[2025-01-09 22:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212576,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212576,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212576,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212576,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212576', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212576', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:17:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:17:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:17:21] Production.INFO: ==10958== Releasing lock...
[2025-01-09 22:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 22:17:21] Production.INFO: 33.75 MB #Memory Used#
[2025-01-10 03:18:01] Production.INFO: ==11031== Lock acquired, processing the job...
[2025-01-10 03:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 03:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 03:18:01] Production.INFO: neon service started
[2025-01-10 03:18:01] Production.INFO: neon service started
[2025-01-10 03:18:01] Production.INFO: ==11031== Releasing lock...
[2025-01-10 03:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 03:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:18:01] Production.INFO: ==11035== Lock acquired, processing the job...
[2025-01-10 03:18:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 03:18:01] Production.INFO: ==11035== Releasing lock...
[2025-01-10 03:18:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 03:18:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 22:18:02] Production.INFO: ==11033== Lock acquired, processing the job...
[2025-01-09 22:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 22:18:02] Production.INFO: ==11033== Releasing lock...
[2025-01-09 22:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 22:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 22:18:03] Production.INFO: ==11043== Lock acquired, processing the job...
[2025-01-09 22:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 22:18:03] Production.INFO: Account Balance Start.
[2025-01-09 22:18:03] Production.INFO: CreateAllLog Start
[2025-01-09 22:18:03] Production.INFO: 117
[2025-01-09 22:18:03] Production.INFO: Date 2025-01-08
[2025-01-09 22:18:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:18:03] Production.INFO: Date 2025-01-09
[2025-01-09 22:18:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:18:03] Production.INFO: ==11048== Lock acquired, processing the job...
[2025-01-09 22:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 22:18:03] Production.INFO: Total Charge 0
[2025-01-09 22:18:03] Production.INFO: CreateAllLog End
[2025-01-09 22:18:03] Production.INFO: ==11041== Lock acquired, processing the job...
[2025-01-09 22:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 22:18:03] Production.INFO: ==11039== Lock acquired, processing the job...
[2025-01-09 22:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 22:18:03] Production.INFO: ==11037== Lock acquired, processing the job...
[2025-01-09 22:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 22:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:18:03] Production.INFO: count ==21
[2025-01-09 22:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 22:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 22:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 22:18:03] Production.INFO: Account Balance End.
[2025-01-09 22:18:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 22:18:03] Production.INFO: ==11046== Lock acquired, processing the job...
[2025-01-09 22:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 22:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 22:18:03] Production.INFO: count ==21
[2025-01-09 22:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212578') start
[2025-01-09 22:18:03] Production.ERROR: CronJobId end 12
[2025-01-09 22:18:03] Production.INFO: ==11043== Releasing lock...
[2025-01-09 22:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 22:18:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 22:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212578') end
[2025-01-09 22:18:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 22:18:03] Production.INFO: 1
[2025-01-09 22:18:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 22:18:03] Production.INFO: ==11048== Releasing lock...
[2025-01-09 22:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 22:18:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 22:18:03] Production.INFO: ==11039== Releasing lock...
[2025-01-09 22:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 22:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 22:18:03] Production.ERROR: done
[2025-01-09 22:18:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 22:18:04] Production.ERROR: done
[2025-01-09 22:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 19:18:05
[end_date_ymd] => 2025-01-09 22:18:05
[RateCDR] => 1
)
[2025-01-09 22:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 19:18:05' and `end` < '2025-01-09 22:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 22:18:11] Production.ERROR: CronJobId end10
[2025-01-09 22:18:11] Production.INFO: ==11041== Releasing lock...
[2025-01-09 22:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 22:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 22:18:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 22:18:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 22:18:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 22:18:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 22:18:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 22:18:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 22:18:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 22:18:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 22:18:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 22:18:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 22:18:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 22:18:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 22:18:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 22:18:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 22:18:13] Production.INFO: call_cost start
[2025-01-09 22:18:13] Production.INFO: call_cost end
[2025-01-09 22:18:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 22:18:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 22:18:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 22:18:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 22:18:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 22:18:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 22:18:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 22:18:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 22:18:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 22:18:13] Production.INFO: ==11037== Releasing lock...
[2025-01-09 22:18:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 22:18:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 22:18:18] Production.INFO: count ==825
[2025-01-09 22:18:18] Production.ERROR: pbx CDR StartTime 2025-01-09 19:18:05 - End Time 2025-01-09 22:18:05
[2025-01-09 22:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 22:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212581', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212581', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212581', 'tblTempVendorCDR_20' ) start
[2025-01-09 22:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212581', 'tblTempVendorCDR_20' ) end
[2025-01-09 22:18:18] Production.INFO: ProcessCDR(1,14212581,1,1,2)
[2025-01-09 22:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212581,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212581,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212581,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:18:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212581,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212581', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212581', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:18:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:18:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:18:21] Production.INFO: ==11046== Releasing lock...
[2025-01-09 22:18:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 22:18:21] Production.INFO: 33.5 MB #Memory Used#
[2025-01-10 03:19:01] Production.INFO: ==11122== Lock acquired, processing the job...
[2025-01-10 03:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 03:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 03:19:01] Production.INFO: neon service started
[2025-01-10 03:19:01] Production.INFO: neon service started
[2025-01-10 03:19:01] Production.INFO: ==11122== Releasing lock...
[2025-01-10 03:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 03:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 22:19:02] Production.INFO: ==11124== Lock acquired, processing the job...
[2025-01-09 22:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 22:19:02] Production.INFO: ==11124== Releasing lock...
[2025-01-09 22:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 22:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 03:19:02] Production.INFO: ==11126== Lock acquired, processing the job...
[2025-01-10 03:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 03:19:02] Production.INFO: ==11126== Releasing lock...
[2025-01-10 03:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 03:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 22:19:03] Production.INFO: ==11138== Lock acquired, processing the job...
[2025-01-09 22:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 22:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:19:03] Production.INFO: count ==21
[2025-01-09 22:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:19:03] Production.INFO: count ==21
[2025-01-09 22:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212582') start
[2025-01-09 22:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212582') end
[2025-01-09 22:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 22:19:03] Production.INFO: 1
[2025-01-09 22:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 22:19:03] Production.INFO: ==11138== Releasing lock...
[2025-01-09 22:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 22:19:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 22:19:03] Production.INFO: ==11128== Lock acquired, processing the job...
[2025-01-09 22:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 22:19:03] Production.INFO: ==11132== Lock acquired, processing the job...
[2025-01-09 22:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 22:19:03] Production.INFO: ==11130== Lock acquired, processing the job...
[2025-01-09 22:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 22:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 22:19:03] Production.INFO: ==11134== Lock acquired, processing the job...
[2025-01-09 22:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 22:19:03] Production.INFO: ==11136== Lock acquired, processing the job...
[2025-01-09 22:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 22:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:19:03] Production.INFO: Account Balance Start.
[2025-01-09 22:19:03] Production.INFO: CreateAllLog Start
[2025-01-09 22:19:03] Production.INFO: 117
[2025-01-09 22:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 22:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 22:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 22:19:03] Production.INFO: Date 2025-01-08
[2025-01-09 22:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 22:19:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:19:03] Production.INFO: Date 2025-01-09
[2025-01-09 22:19:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:19:03] Production.INFO: Total Charge 0
[2025-01-09 22:19:03] Production.INFO: CreateAllLog End
[2025-01-09 22:19:04] Production.ERROR: done
[2025-01-09 22:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 22:19:04] Production.INFO: ==11130== Releasing lock...
[2025-01-09 22:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 22:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 22:19:04] Production.INFO: Account Balance End.
[2025-01-09 22:19:04] Production.ERROR: CronJobId end 12
[2025-01-09 22:19:04] Production.INFO: ==11134== Releasing lock...
[2025-01-09 22:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 22:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 22:19:04] Production.ERROR: done
[2025-01-09 22:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 19:19:05
[end_date_ymd] => 2025-01-09 22:19:05
[RateCDR] => 1
)
[2025-01-09 22:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 19:19:05' and `end` < '2025-01-09 22:19:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 22:19:11] Production.ERROR: CronJobId end10
[2025-01-09 22:19:11] Production.INFO: ==11132== Releasing lock...
[2025-01-09 22:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 22:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 22:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 22:19:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 22:19:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 22:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 22:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 22:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 22:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 22:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 22:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 22:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 22:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 22:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 22:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 22:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 22:19:14] Production.INFO: call_cost start
[2025-01-09 22:19:14] Production.INFO: call_cost end
[2025-01-09 22:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 22:19:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 22:19:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 22:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 22:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 22:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 22:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 22:19:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 22:19:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 22:19:14] Production.INFO: ==11128== Releasing lock...
[2025-01-09 22:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 22:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 22:19:19] Production.INFO: count ==828
[2025-01-09 22:19:19] Production.ERROR: pbx CDR StartTime 2025-01-09 19:19:05 - End Time 2025-01-09 22:19:05
[2025-01-09 22:19:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 22:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212586', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212586', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212586', 'tblTempVendorCDR_20' ) start
[2025-01-09 22:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212586', 'tblTempVendorCDR_20' ) end
[2025-01-09 22:19:19] Production.INFO: ProcessCDR(1,14212586,1,1,2)
[2025-01-09 22:19:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212586,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:19:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212586,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:19:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212586,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:19:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212586,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212586', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212586', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:19:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:19:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:19:23] Production.INFO: ==11136== Releasing lock...
[2025-01-09 22:19:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 22:19:23] Production.INFO: 33.5 MB #Memory Used#
[2025-01-10 03:20:02] Production.INFO: ==11210== Lock acquired, processing the job...
[2025-01-10 03:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 03:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 03:20:02] Production.INFO: neon service started
[2025-01-10 03:20:02] Production.INFO: neon service started
[2025-01-10 03:20:02] Production.INFO: ==11210== Releasing lock...
[2025-01-10 03:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 03:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:20:02] Production.INFO: ==11214== Lock acquired, processing the job...
[2025-01-10 03:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 03:20:02] Production.INFO: ==11214== Releasing lock...
[2025-01-10 03:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 03:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 22:20:02] Production.INFO: ==11212== Lock acquired, processing the job...
[2025-01-09 22:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 22:20:03] Production.INFO: ==11212== Releasing lock...
[2025-01-09 22:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 22:20:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 22:20:03] Production.INFO: ==11216== Lock acquired, processing the job...
[2025-01-09 22:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 22:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 22:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 22:20:04] Production.INFO: ==11216== Releasing lock...
[2025-01-09 22:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 22:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 22:20:04] Production.INFO: ==11220== Lock acquired, processing the job...
[2025-01-09 22:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 22:20:04] Production.INFO: ==11218== Lock acquired, processing the job...
[2025-01-09 22:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 22:20:04] Production.INFO: ==11223== Lock acquired, processing the job...
[2025-01-09 22:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 22:20:04] Production.INFO: ==11227== Lock acquired, processing the job...
[2025-01-09 22:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 22:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 22:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 22:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 22:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 22:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 22:20:04] Production.INFO: ==11220== Releasing lock...
[2025-01-09 22:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 22:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 22:20:04] Production.INFO: ==11225== Lock acquired, processing the job...
[2025-01-09 22:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 22:20:04] Production.INFO: ==11231== Lock acquired, processing the job...
[2025-01-09 22:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 22:20:04] Production.ERROR: done
[2025-01-09 22:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 22:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:20:04] Production.INFO: ==11229== Lock acquired, processing the job...
[2025-01-09 22:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 22:20:04] Production.INFO: Account Balance Start.
[2025-01-09 22:20:04] Production.INFO: CreateAllLog Start
[2025-01-09 22:20:04] Production.INFO: 117
[2025-01-09 22:20:04] Production.INFO: count ==21
[2025-01-09 22:20:04] Production.ERROR: done
[2025-01-09 22:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:20:04] Production.INFO: count ==21
[2025-01-09 22:20:04] Production.INFO: Date 2025-01-08
[2025-01-09 22:20:04] Production.INFO: Reseller ==> 0
[2025-01-09 22:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212589') start
[2025-01-09 22:20:04] Production.INFO: Date 2025-01-09
[2025-01-09 22:20:04] Production.INFO: Reseller ==> 0
[2025-01-09 22:20:05] Production.INFO: Total Charge 0
[2025-01-09 22:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14212589') end
[2025-01-09 22:20:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 22:20:05] Production.INFO: 1
[2025-01-09 22:20:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 22:20:05] Production.INFO: CreateAllLog End
[2025-01-09 22:20:05] Production.INFO: ==11231== Releasing lock...
[2025-01-09 22:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 22:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 22:20:05] Production.ERROR: done
[2025-01-09 22:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 22:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14212592', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 22:20:05] Production.INFO: Account Balance End.
[2025-01-09 22:20:05] Production.ERROR: CronJobId end 12
[2025-01-09 22:20:05] Production.INFO: ==11225== Releasing lock...
[2025-01-09 22:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 22:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 22:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 19:20:05
[end_date_ymd] => 2025-01-09 22:20:05
[RateCDR] => 1
)
[2025-01-09 22:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 19:20:05' and `end` < '2025-01-09 22:20:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 22:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14212592', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 22:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 22:20:08] Production.INFO: ProcessCDR(1,14212592,1,1,2)
[2025-01-09 22:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14212592,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14212592,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:20:08] Production.INFO: ==11229== Releasing lock...
[2025-01-09 22:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 22:20:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 22:20:14] Production.ERROR: CronJobId end10
[2025-01-09 22:20:14] Production.INFO: ==11223== Releasing lock...
[2025-01-09 22:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 22:20:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 22:20:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 22:20:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 22:20:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 22:20:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 22:20:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 22:20:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 22:20:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 22:20:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 22:20:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 22:20:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 22:20:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 22:20:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 22:20:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 22:20:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 22:20:15] Production.INFO: call_cost start
[2025-01-09 22:20:15] Production.INFO: call_cost end
[2025-01-09 22:20:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 22:20:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 22:20:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 22:20:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 22:20:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 22:20:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 22:20:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 22:20:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 22:20:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 22:20:15] Production.INFO: ==11218== Releasing lock...
[2025-01-09 22:20:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 22:20:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 22:20:19] Production.INFO: count ==827
[2025-01-09 22:20:19] Production.ERROR: pbx CDR StartTime 2025-01-09 19:20:05 - End Time 2025-01-09 22:20:05
[2025-01-09 22:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 22:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212591', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212591', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212591', 'tblTempVendorCDR_20' ) start
[2025-01-09 22:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212591', 'tblTempVendorCDR_20' ) end
[2025-01-09 22:20:19] Production.INFO: ProcessCDR(1,14212591,1,1,2)
[2025-01-09 22:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212591,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212591,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212591,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212591,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212591', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212591', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:20:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:20:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:20:22] Production.INFO: ==11227== Releasing lock...
[2025-01-09 22:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 22:20:22] Production.INFO: 33.5 MB #Memory Used#
[2025-01-10 03:21:01] Production.INFO: ==11298== Lock acquired, processing the job...
[2025-01-10 03:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 03:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 03:21:01] Production.INFO: neon service started
[2025-01-10 03:21:01] Production.INFO: neon service started
[2025-01-10 03:21:01] Production.INFO: ==11298== Releasing lock...
[2025-01-10 03:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 03:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:21:02] Production.INFO: ==11302== Lock acquired, processing the job...
[2025-01-10 03:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 03:21:02] Production.INFO: ==11302== Releasing lock...
[2025-01-10 03:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 03:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 22:21:02] Production.INFO: ==11300== Lock acquired, processing the job...
[2025-01-09 22:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 22:21:02] Production.INFO: ==11300== Releasing lock...
[2025-01-09 22:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 22:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 22:21:03] Production.INFO: ==11309== Lock acquired, processing the job...
[2025-01-09 22:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 22:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 22:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 22:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 22:21:03] Production.INFO: ==11313== Lock acquired, processing the job...
[2025-01-09 22:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 22:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 22:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:21:03] Production.INFO: ==11305== Lock acquired, processing the job...
[2025-01-09 22:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 22:21:03] Production.INFO: ==11307== Lock acquired, processing the job...
[2025-01-09 22:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 22:21:03] Production.INFO: ==11311== Lock acquired, processing the job...
[2025-01-09 22:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 22:21:03] Production.INFO: ==11315== Lock acquired, processing the job...
[2025-01-09 22:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 22:21:03] Production.ERROR: done
[2025-01-09 22:21:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 22:21:03] Production.INFO: Account Balance Start.
[2025-01-09 22:21:03] Production.INFO: CreateAllLog Start
[2025-01-09 22:21:03] Production.INFO: 117
[2025-01-09 22:21:03] Production.INFO: Date 2025-01-08
[2025-01-09 22:21:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 22:21:03] Production.INFO: Date 2025-01-09
[2025-01-09 22:21:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:21:03] Production.INFO: Total Charge 0
[2025-01-09 22:21:03] Production.INFO: CreateAllLog End
[2025-01-09 22:21:03] Production.ERROR: done
[2025-01-09 22:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:21:03] Production.INFO: count ==21
[2025-01-09 22:21:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:21:03] Production.INFO: count ==21
[2025-01-09 22:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212596') start
[2025-01-09 22:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212596') end
[2025-01-09 22:21:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 22:21:03] Production.INFO: 1
[2025-01-09 22:21:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 22:21:03] Production.INFO: Account Balance End.
[2025-01-09 22:21:03] Production.ERROR: CronJobId end 12
[2025-01-09 22:21:03] Production.INFO: ==11311== Releasing lock...
[2025-01-09 22:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 22:21:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 22:21:03] Production.INFO: ==11315== Releasing lock...
[2025-01-09 22:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 22:21:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 22:21:03] Production.INFO: ==11307== Releasing lock...
[2025-01-09 22:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 22:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 22:21:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 19:21:04
[end_date_ymd] => 2025-01-09 22:21:04
[RateCDR] => 1
)
[2025-01-09 22:21:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 19:21:04' and `end` < '2025-01-09 22:21:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 22:21:12] Production.ERROR: CronJobId end10
[2025-01-09 22:21:12] Production.INFO: ==11309== Releasing lock...
[2025-01-09 22:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 22:21:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 22:21:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 22:21:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 22:21:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 22:21:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 22:21:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 22:21:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 22:21:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 22:21:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 22:21:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 22:21:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 22:21:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 22:21:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 22:21:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 22:21:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 22:21:13] Production.INFO: call_cost start
[2025-01-09 22:21:13] Production.INFO: call_cost end
[2025-01-09 22:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 22:21:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 22:21:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 22:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 22:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 22:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 22:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 22:21:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 22:21:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 22:21:14] Production.INFO: ==11305== Releasing lock...
[2025-01-09 22:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 22:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 22:21:17] Production.INFO: count ==803
[2025-01-09 22:21:17] Production.ERROR: pbx CDR StartTime 2025-01-09 19:21:04 - End Time 2025-01-09 22:21:04
[2025-01-09 22:21:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 22:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212597', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212597', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212597', 'tblTempVendorCDR_20' ) start
[2025-01-09 22:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212597', 'tblTempVendorCDR_20' ) end
[2025-01-09 22:21:17] Production.INFO: ProcessCDR(1,14212597,1,1,2)
[2025-01-09 22:21:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212597,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:21:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212597,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:21:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212597,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:21:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212597,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212597', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212597', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:21:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:21:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:21:22] Production.INFO: ==11313== Releasing lock...
[2025-01-09 22:21:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 22:21:22] Production.INFO: 33.25 MB #Memory Used#
[2025-01-10 03:22:02] Production.INFO: ==11383== Lock acquired, processing the job...
[2025-01-10 03:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 03:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 03:22:02] Production.INFO: neon service started
[2025-01-10 03:22:02] Production.INFO: neon service started
[2025-01-10 03:22:02] Production.INFO: ==11383== Releasing lock...
[2025-01-10 03:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 03:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 22:22:02] Production.INFO: ==11385== Lock acquired, processing the job...
[2025-01-09 22:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 22:22:02] Production.INFO: ==11385== Releasing lock...
[2025-01-09 22:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 22:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 03:22:02] Production.INFO: ==11387== Lock acquired, processing the job...
[2025-01-10 03:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 03:22:02] Production.INFO: ==11387== Releasing lock...
[2025-01-10 03:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 03:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 22:22:03] Production.INFO: ==11399== Lock acquired, processing the job...
[2025-01-09 22:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 22:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:22:03] Production.INFO: ==11397== Lock acquired, processing the job...
[2025-01-09 22:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 22:22:03] Production.INFO: count ==21
[2025-01-09 22:22:03] Production.INFO: ==11389== Lock acquired, processing the job...
[2025-01-09 22:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 22:22:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:22:03] Production.INFO: count ==21
[2025-01-09 22:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212598') start
[2025-01-09 22:22:03] Production.INFO: ==11391== Lock acquired, processing the job...
[2025-01-09 22:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 22:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 22:22:03] Production.INFO: ==11395== Lock acquired, processing the job...
[2025-01-09 22:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 22:22:03] Production.INFO: ==11393== Lock acquired, processing the job...
[2025-01-09 22:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 22:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212598') end
[2025-01-09 22:22:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 22:22:03] Production.INFO: 1
[2025-01-09 22:22:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 22:22:03] Production.INFO: Account Balance Start.
[2025-01-09 22:22:03] Production.INFO: CreateAllLog Start
[2025-01-09 22:22:03] Production.INFO: 117
[2025-01-09 22:22:03] Production.INFO: ==11399== Releasing lock...
[2025-01-09 22:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 22:22:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 22:22:04] Production.INFO: Date 2025-01-08
[2025-01-09 22:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 22:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 22:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 22:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 22:22:04] Production.INFO: Reseller ==> 0
[2025-01-09 22:22:04] Production.INFO: Date 2025-01-09
[2025-01-09 22:22:04] Production.INFO: Reseller ==> 0
[2025-01-09 22:22:04] Production.INFO: Total Charge 0
[2025-01-09 22:22:04] Production.INFO: CreateAllLog End
[2025-01-09 22:22:04] Production.INFO: ==11391== Releasing lock...
[2025-01-09 22:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 22:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 22:22:04] Production.ERROR: done
[2025-01-09 22:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 22:22:04] Production.ERROR: done
[2025-01-09 22:22:04] Production.INFO: Account Balance End.
[2025-01-09 22:22:04] Production.ERROR: CronJobId end 12
[2025-01-09 22:22:04] Production.INFO: ==11395== Releasing lock...
[2025-01-09 22:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 22:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 22:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 19:22:05
[end_date_ymd] => 2025-01-09 22:22:05
[RateCDR] => 1
)
[2025-01-09 22:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 19:22:05' and `end` < '2025-01-09 22:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 22:22:12] Production.ERROR: CronJobId end10
[2025-01-09 22:22:12] Production.INFO: ==11393== Releasing lock...
[2025-01-09 22:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 22:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 22:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 22:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 22:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 22:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 22:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 22:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 22:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 22:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 22:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 22:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 22:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 22:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 22:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 22:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 22:22:13] Production.INFO: call_cost start
[2025-01-09 22:22:13] Production.INFO: call_cost end
[2025-01-09 22:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 22:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 22:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 22:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 22:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 22:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 22:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 22:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 22:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 22:22:14] Production.INFO: ==11389== Releasing lock...
[2025-01-09 22:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 22:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 22:22:19] Production.INFO: count ==802
[2025-01-09 22:22:19] Production.ERROR: pbx CDR StartTime 2025-01-09 19:22:05 - End Time 2025-01-09 22:22:05
[2025-01-09 22:22:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 22:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212602', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212602', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212602', 'tblTempVendorCDR_20' ) start
[2025-01-09 22:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212602', 'tblTempVendorCDR_20' ) end
[2025-01-09 22:22:19] Production.INFO: ProcessCDR(1,14212602,1,1,2)
[2025-01-09 22:22:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212602,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:22:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212602,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212602,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:22:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212602,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:22:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212602', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:22:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212602', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:22:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:22:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:22:23] Production.INFO: ==11397== Releasing lock...
[2025-01-09 22:22:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 22:22:23] Production.INFO: 33.25 MB #Memory Used#
[2025-01-10 03:23:01] Production.INFO: ==11470== Lock acquired, processing the job...
[2025-01-10 03:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 03:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 03:23:01] Production.INFO: neon service started
[2025-01-10 03:23:01] Production.INFO: neon service started
[2025-01-10 03:23:01] Production.INFO: ==11470== Releasing lock...
[2025-01-10 03:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 03:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 22:23:01] Production.INFO: ==11472== Lock acquired, processing the job...
[2025-01-09 22:23:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 22:23:02] Production.INFO: ==11472== Releasing lock...
[2025-01-09 22:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 22:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 03:23:02] Production.INFO: ==11474== Lock acquired, processing the job...
[2025-01-10 03:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 03:23:02] Production.INFO: ==11474== Releasing lock...
[2025-01-10 03:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 03:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 22:23:03] Production.INFO: ==11484== Lock acquired, processing the job...
[2025-01-09 22:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 22:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:23:03] Production.INFO: ==11486== Lock acquired, processing the job...
[2025-01-09 22:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 22:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:23:03] Production.INFO: ==11478== Lock acquired, processing the job...
[2025-01-09 22:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 22:23:03] Production.INFO: ==11480== Lock acquired, processing the job...
[2025-01-09 22:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 22:23:03] Production.INFO: count ==21
[2025-01-09 22:23:03] Production.INFO: ==11476== Lock acquired, processing the job...
[2025-01-09 22:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 22:23:03] Production.INFO: ==11482== Lock acquired, processing the job...
[2025-01-09 22:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 22:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:23:03] Production.INFO: count ==21
[2025-01-09 22:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212603') start
[2025-01-09 22:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 22:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 22:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 22:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 22:23:03] Production.INFO: Account Balance Start.
[2025-01-09 22:23:03] Production.INFO: CreateAllLog Start
[2025-01-09 22:23:03] Production.INFO: 117
[2025-01-09 22:23:03] Production.INFO: Date 2025-01-08
[2025-01-09 22:23:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212603') end
[2025-01-09 22:23:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 22:23:03] Production.INFO: 1
[2025-01-09 22:23:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 22:23:03] Production.INFO: Date 2025-01-09
[2025-01-09 22:23:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:23:03] Production.INFO: ==11486== Releasing lock...
[2025-01-09 22:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 22:23:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 22:23:03] Production.ERROR: done
[2025-01-09 22:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 22:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 22:23:03] Production.INFO: Total Charge 0
[2025-01-09 22:23:03] Production.INFO: CreateAllLog End
[2025-01-09 22:23:03] Production.ERROR: done
[2025-01-09 22:23:03] Production.INFO: ==11478== Releasing lock...
[2025-01-09 22:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 22:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 22:23:03] Production.INFO: Account Balance End.
[2025-01-09 22:23:03] Production.ERROR: CronJobId end 12
[2025-01-09 22:23:03] Production.INFO: ==11482== Releasing lock...
[2025-01-09 22:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 22:23:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 22:23:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 19:23:04
[end_date_ymd] => 2025-01-09 22:23:04
[RateCDR] => 1
)
[2025-01-09 22:23:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 19:23:04' and `end` < '2025-01-09 22:23:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 22:23:11] Production.ERROR: CronJobId end10
[2025-01-09 22:23:11] Production.INFO: ==11480== Releasing lock...
[2025-01-09 22:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 22:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 22:23:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 22:23:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 22:23:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 22:23:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 22:23:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 22:23:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 22:23:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 22:23:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 22:23:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 22:23:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 22:23:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 22:23:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 22:23:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 22:23:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 22:23:12] Production.INFO: call_cost start
[2025-01-09 22:23:12] Production.INFO: call_cost end
[2025-01-09 22:23:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 22:23:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 22:23:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 22:23:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 22:23:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 22:23:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 22:23:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 22:23:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 22:23:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 22:23:13] Production.INFO: ==11476== Releasing lock...
[2025-01-09 22:23:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 22:23:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 22:23:17] Production.INFO: count ==801
[2025-01-09 22:23:17] Production.ERROR: pbx CDR StartTime 2025-01-09 19:23:04 - End Time 2025-01-09 22:23:04
[2025-01-09 22:23:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 22:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212607', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212607', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212607', 'tblTempVendorCDR_20' ) start
[2025-01-09 22:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212607', 'tblTempVendorCDR_20' ) end
[2025-01-09 22:23:17] Production.INFO: ProcessCDR(1,14212607,1,1,2)
[2025-01-09 22:23:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212607,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:23:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212607,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:23:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212607,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:23:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212607,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:23:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212607', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:23:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212607', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:23:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:23:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:23:20] Production.INFO: ==11484== Releasing lock...
[2025-01-09 22:23:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 22:23:20] Production.INFO: 33.25 MB #Memory Used#
[2025-01-10 03:24:01] Production.INFO: ==11558== Lock acquired, processing the job...
[2025-01-10 03:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 03:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 03:24:01] Production.INFO: neon service started
[2025-01-10 03:24:01] Production.INFO: neon service started
[2025-01-10 03:24:01] Production.INFO: ==11558== Releasing lock...
[2025-01-10 03:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 03:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 22:24:02] Production.INFO: ==11560== Lock acquired, processing the job...
[2025-01-09 22:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 22:24:02] Production.INFO: ==11560== Releasing lock...
[2025-01-09 22:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 22:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 03:24:02] Production.INFO: ==11562== Lock acquired, processing the job...
[2025-01-10 03:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 03:24:02] Production.INFO: ==11562== Releasing lock...
[2025-01-10 03:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 03:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 22:24:03] Production.INFO: ==11571== Lock acquired, processing the job...
[2025-01-09 22:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 22:24:03] Production.INFO: ==11565== Lock acquired, processing the job...
[2025-01-09 22:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 22:24:03] Production.INFO: ==11575== Lock acquired, processing the job...
[2025-01-09 22:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 22:24:03] Production.INFO: ==11567== Lock acquired, processing the job...
[2025-01-09 22:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 22:24:03] Production.INFO: Account Balance Start.
[2025-01-09 22:24:03] Production.INFO: CreateAllLog Start
[2025-01-09 22:24:03] Production.INFO: 117
[2025-01-09 22:24:03] Production.INFO: Date 2025-01-08
[2025-01-09 22:24:03] Production.INFO: ==11569== Lock acquired, processing the job...
[2025-01-09 22:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 22:24:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 22:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:24:03] Production.INFO: count ==21
[2025-01-09 22:24:03] Production.INFO: Date 2025-01-09
[2025-01-09 22:24:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:24:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:24:03] Production.INFO: ==11573== Lock acquired, processing the job...
[2025-01-09 22:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 22:24:03] Production.INFO: count ==21
[2025-01-09 22:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212609') start
[2025-01-09 22:24:03] Production.INFO: Total Charge 0
[2025-01-09 22:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:24:03] Production.INFO: CreateAllLog End
[2025-01-09 22:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 22:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 22:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 22:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 22:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212609') end
[2025-01-09 22:24:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 22:24:03] Production.INFO: 1
[2025-01-09 22:24:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 22:24:03] Production.INFO: ==11567== Releasing lock...
[2025-01-09 22:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 22:24:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 22:24:03] Production.INFO: ==11575== Releasing lock...
[2025-01-09 22:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 22:24:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 22:24:03] Production.INFO: Account Balance End.
[2025-01-09 22:24:03] Production.ERROR: CronJobId end 12
[2025-01-09 22:24:03] Production.INFO: ==11571== Releasing lock...
[2025-01-09 22:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 22:24:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 22:24:04] Production.ERROR: done
[2025-01-09 22:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 22:24:04] Production.ERROR: done
[2025-01-09 22:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 19:24:05
[end_date_ymd] => 2025-01-09 22:24:05
[RateCDR] => 1
)
[2025-01-09 22:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 19:24:05' and `end` < '2025-01-09 22:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 22:24:11] Production.ERROR: CronJobId end10
[2025-01-09 22:24:11] Production.INFO: ==11569== Releasing lock...
[2025-01-09 22:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 22:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 22:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 22:24:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 22:24:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 22:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 22:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 22:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 22:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 22:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 22:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 22:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 22:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 22:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 22:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 22:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 22:24:13] Production.INFO: call_cost start
[2025-01-09 22:24:13] Production.INFO: call_cost end
[2025-01-09 22:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 22:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 22:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 22:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 22:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 22:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 22:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 22:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 22:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 22:24:14] Production.INFO: ==11565== Releasing lock...
[2025-01-09 22:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 22:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 22:24:18] Production.INFO: count ==802
[2025-01-09 22:24:18] Production.ERROR: pbx CDR StartTime 2025-01-09 19:24:05 - End Time 2025-01-09 22:24:05
[2025-01-09 22:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 22:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212612', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212612', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212612', 'tblTempVendorCDR_20' ) start
[2025-01-09 22:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212612', 'tblTempVendorCDR_20' ) end
[2025-01-09 22:24:18] Production.INFO: ProcessCDR(1,14212612,1,1,2)
[2025-01-09 22:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212612,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:24:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212612,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:24:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212612,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:24:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212612,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212612', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212612', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:24:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:24:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:24:22] Production.INFO: ==11573== Releasing lock...
[2025-01-09 22:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 22:24:22] Production.INFO: 33.25 MB #Memory Used#
[2025-01-10 03:25:01] Production.INFO: ==11649== Lock acquired, processing the job...
[2025-01-10 03:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 03:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 03:25:01] Production.INFO: neon service started
[2025-01-10 03:25:01] Production.INFO: neon service started
[2025-01-10 03:25:01] Production.INFO: ==11649== Releasing lock...
[2025-01-10 03:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 03:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 22:25:01] Production.INFO: ==11651== Lock acquired, processing the job...
[2025-01-09 22:25:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 22:25:02] Production.INFO: ==11651== Releasing lock...
[2025-01-09 22:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 22:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 03:25:02] Production.INFO: ==11653== Lock acquired, processing the job...
[2025-01-10 03:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 03:25:02] Production.INFO: ==11653== Releasing lock...
[2025-01-10 03:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 03:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 22:25:02] Production.INFO: ==11655== Lock acquired, processing the job...
[2025-01-09 22:25:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 22:25:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 22:25:02] Production.INFO: ==11659== Lock acquired, processing the job...
[2025-01-09 22:25:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 22:25:02] Production.INFO: ==11657== Lock acquired, processing the job...
[2025-01-09 22:25:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 22:25:02] Production.INFO: ==11665== Lock acquired, processing the job...
[2025-01-09 22:25:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 22:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 22:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 22:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 22:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 22:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:25:03] Production.INFO: ==11661== Lock acquired, processing the job...
[2025-01-09 22:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 22:25:03] Production.INFO: ==11663== Lock acquired, processing the job...
[2025-01-09 22:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 22:25:03] Production.INFO: count ==21
[2025-01-09 22:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:25:03] Production.INFO: count ==21
[2025-01-09 22:25:03] Production.INFO: Account Balance Start.
[2025-01-09 22:25:03] Production.INFO: CreateAllLog Start
[2025-01-09 22:25:03] Production.INFO: 117
[2025-01-09 22:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212614') start
[2025-01-09 22:25:03] Production.INFO: Date 2025-01-08
[2025-01-09 22:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:25:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212614') end
[2025-01-09 22:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 22:25:03] Production.INFO: 1
[2025-01-09 22:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 22:25:03] Production.INFO: ==11665== Releasing lock...
[2025-01-09 22:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 22:25:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 22:25:03] Production.INFO: Date 2025-01-09
[2025-01-09 22:25:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:25:03] Production.INFO: Total Charge 0
[2025-01-09 22:25:03] Production.INFO: ==11657== Releasing lock...
[2025-01-09 22:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 22:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 22:25:03] Production.INFO: CreateAllLog End
[2025-01-09 22:25:03] Production.ERROR: done
[2025-01-09 22:25:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 22:25:03] Production.ERROR: done
[2025-01-09 22:25:03] Production.INFO: Account Balance End.
[2025-01-09 22:25:03] Production.ERROR: CronJobId end 12
[2025-01-09 22:25:03] Production.INFO: ==11661== Releasing lock...
[2025-01-09 22:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 22:25:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 22:25:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 19:25:04
[end_date_ymd] => 2025-01-09 22:25:04
[RateCDR] => 1
)
[2025-01-09 22:25:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 19:25:04' and `end` < '2025-01-09 22:25:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 22:25:11] Production.ERROR: CronJobId end10
[2025-01-09 22:25:11] Production.INFO: ==11659== Releasing lock...
[2025-01-09 22:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 22:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 22:25:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 22:25:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 22:25:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 22:25:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 22:25:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 22:25:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 22:25:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 22:25:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 22:25:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 22:25:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 22:25:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 22:25:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 22:25:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 22:25:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 22:25:13] Production.INFO: call_cost start
[2025-01-09 22:25:13] Production.INFO: call_cost end
[2025-01-09 22:25:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 22:25:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 22:25:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 22:25:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 22:25:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 22:25:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 22:25:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 22:25:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 22:25:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 22:25:13] Production.INFO: ==11655== Releasing lock...
[2025-01-09 22:25:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 22:25:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 22:25:17] Production.INFO: count ==802
[2025-01-09 22:25:17] Production.ERROR: pbx CDR StartTime 2025-01-09 19:25:04 - End Time 2025-01-09 22:25:04
[2025-01-09 22:25:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 22:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212617', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212617', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212617', 'tblTempVendorCDR_20' ) start
[2025-01-09 22:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212617', 'tblTempVendorCDR_20' ) end
[2025-01-09 22:25:17] Production.INFO: ProcessCDR(1,14212617,1,1,2)
[2025-01-09 22:25:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212617,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:25:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212617,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:25:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212617,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:25:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212617,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:25:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212617', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:25:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212617', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:25:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:25:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:25:20] Production.INFO: ==11663== Releasing lock...
[2025-01-09 22:25:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 22:25:20] Production.INFO: 33.25 MB #Memory Used#
[2025-01-10 03:26:01] Production.INFO: ==11773== Lock acquired, processing the job...
[2025-01-10 03:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 03:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 03:26:01] Production.INFO: neon service started
[2025-01-10 03:26:01] Production.INFO: neon service started
[2025-01-10 03:26:01] Production.INFO: ==11773== Releasing lock...
[2025-01-10 03:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 03:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:26:02] Production.INFO: ==11777== Lock acquired, processing the job...
[2025-01-10 03:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 03:26:02] Production.INFO: ==11777== Releasing lock...
[2025-01-10 03:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 03:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 22:26:02] Production.INFO: ==11775== Lock acquired, processing the job...
[2025-01-09 22:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 22:26:02] Production.INFO: ==11775== Releasing lock...
[2025-01-09 22:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 22:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 22:26:03] Production.INFO: ==11784== Lock acquired, processing the job...
[2025-01-09 22:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 22:26:03] Production.INFO: ==11780== Lock acquired, processing the job...
[2025-01-09 22:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 22:26:03] Production.INFO: ==11786== Lock acquired, processing the job...
[2025-01-09 22:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 22:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 22:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 22:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 22:26:03] Production.INFO: ==11782== Lock acquired, processing the job...
[2025-01-09 22:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 22:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 22:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 22:26:03] Production.INFO: Account Balance Start.
[2025-01-09 22:26:03] Production.INFO: CreateAllLog Start
[2025-01-09 22:26:03] Production.INFO: 117
[2025-01-09 22:26:03] Production.INFO: ==11788== Lock acquired, processing the job...
[2025-01-09 22:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 22:26:03] Production.INFO: Date 2025-01-08
[2025-01-09 22:26:03] Production.INFO: ==11790== Lock acquired, processing the job...
[2025-01-09 22:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 22:26:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:26:03] Production.INFO: Date 2025-01-09
[2025-01-09 22:26:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:26:03] Production.INFO: Total Charge 0
[2025-01-09 22:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:26:03] Production.INFO: CreateAllLog End
[2025-01-09 22:26:03] Production.INFO: count ==21
[2025-01-09 22:26:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:26:03] Production.ERROR: done
[2025-01-09 22:26:03] Production.INFO: count ==21
[2025-01-09 22:26:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 22:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212621') start
[2025-01-09 22:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212621') end
[2025-01-09 22:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 22:26:04] Production.INFO: 1
[2025-01-09 22:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 22:26:04] Production.INFO: ==11782== Releasing lock...
[2025-01-09 22:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 22:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 22:26:04] Production.INFO: Account Balance End.
[2025-01-09 22:26:04] Production.INFO: ==11790== Releasing lock...
[2025-01-09 22:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 22:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 22:26:04] Production.ERROR: done
[2025-01-09 22:26:04] Production.ERROR: CronJobId end 12
[2025-01-09 22:26:04] Production.INFO: ==11786== Releasing lock...
[2025-01-09 22:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 22:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 22:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 19:26:05
[end_date_ymd] => 2025-01-09 22:26:05
[RateCDR] => 1
)
[2025-01-09 22:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 19:26:05' and `end` < '2025-01-09 22:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 22:26:11] Production.ERROR: CronJobId end10
[2025-01-09 22:26:11] Production.INFO: ==11784== Releasing lock...
[2025-01-09 22:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 22:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 22:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 22:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 22:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 22:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 22:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 22:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 22:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 22:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 22:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 22:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 22:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 22:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 22:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 22:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 22:26:13] Production.INFO: call_cost start
[2025-01-09 22:26:13] Production.INFO: call_cost end
[2025-01-09 22:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 22:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 22:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 22:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 22:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 22:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 22:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 22:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 22:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 22:26:14] Production.INFO: ==11780== Releasing lock...
[2025-01-09 22:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 22:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 22:26:18] Production.INFO: count ==803
[2025-01-09 22:26:18] Production.ERROR: pbx CDR StartTime 2025-01-09 19:26:05 - End Time 2025-01-09 22:26:05
[2025-01-09 22:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 22:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212622', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212622', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212622', 'tblTempVendorCDR_20' ) start
[2025-01-09 22:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212622', 'tblTempVendorCDR_20' ) end
[2025-01-09 22:26:18] Production.INFO: ProcessCDR(1,14212622,1,1,2)
[2025-01-09 22:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212622,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:26:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212622,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:26:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212622,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:26:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212622,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212622', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212622', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:26:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:26:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:26:22] Production.INFO: ==11788== Releasing lock...
[2025-01-09 22:26:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 22:26:22] Production.INFO: 33.25 MB #Memory Used#
[2025-01-10 03:27:02] Production.INFO: ==11859== Lock acquired, processing the job...
[2025-01-10 03:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 03:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 03:27:02] Production.INFO: neon service started
[2025-01-10 03:27:02] Production.INFO: neon service started
[2025-01-10 03:27:02] Production.INFO: ==11859== Releasing lock...
[2025-01-10 03:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 03:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 22:27:02] Production.INFO: ==11861== Lock acquired, processing the job...
[2025-01-09 22:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 03:27:02] Production.INFO: ==11863== Lock acquired, processing the job...
[2025-01-10 03:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 03:27:02] Production.INFO: ==11863== Releasing lock...
[2025-01-10 03:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 03:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 22:27:03] Production.INFO: ==11861== Releasing lock...
[2025-01-09 22:27:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 22:27:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 22:27:03] Production.INFO: ==11868== Lock acquired, processing the job...
[2025-01-09 22:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 22:27:03] Production.INFO: ==11870== Lock acquired, processing the job...
[2025-01-09 22:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 22:27:03] Production.INFO: ==11872== Lock acquired, processing the job...
[2025-01-09 22:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 22:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 22:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 22:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 22:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 22:27:04] Production.INFO: Account Balance Start.
[2025-01-09 22:27:04] Production.INFO: CreateAllLog Start
[2025-01-09 22:27:04] Production.INFO: 117
[2025-01-09 22:27:04] Production.INFO: ==11866== Lock acquired, processing the job...
[2025-01-09 22:27:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 22:27:04] Production.INFO: Date 2025-01-08
[2025-01-09 22:27:04] Production.INFO: Reseller ==> 0
[2025-01-09 22:27:04] Production.INFO: ==11877== Lock acquired, processing the job...
[2025-01-09 22:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 22:27:04] Production.INFO: Date 2025-01-09
[2025-01-09 22:27:04] Production.INFO: Reseller ==> 0
[2025-01-09 22:27:04] Production.INFO: Total Charge 0
[2025-01-09 22:27:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 22:27:04] Production.INFO: CreateAllLog End
[2025-01-09 22:27:04] Production.INFO: ==11868== Releasing lock...
[2025-01-09 22:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 22:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 22:27:04] Production.INFO: ==11874== Lock acquired, processing the job...
[2025-01-09 22:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 22:27:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:27:04] Production.INFO: Account Balance End.
[2025-01-09 22:27:04] Production.ERROR: CronJobId end 12
[2025-01-09 22:27:04] Production.INFO: ==11872== Releasing lock...
[2025-01-09 22:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 22:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 22:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:27:04] Production.INFO: count ==21
[2025-01-09 22:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:27:04] Production.INFO: count ==21
[2025-01-09 22:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212626') start
[2025-01-09 22:27:04] Production.ERROR: done
[2025-01-09 22:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 22:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212626') end
[2025-01-09 22:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 22:27:04] Production.INFO: 1
[2025-01-09 22:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 22:27:04] Production.INFO: ==11877== Releasing lock...
[2025-01-09 22:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 22:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 22:27:04] Production.ERROR: done
[2025-01-09 22:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 19:27:05
[end_date_ymd] => 2025-01-09 22:27:05
[RateCDR] => 1
)
[2025-01-09 22:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 19:27:05' and `end` < '2025-01-09 22:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 22:27:13] Production.ERROR: CronJobId end10
[2025-01-09 22:27:13] Production.INFO: ==11870== Releasing lock...
[2025-01-09 22:27:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 22:27:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 22:27:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 22:27:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 22:27:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 22:27:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 22:27:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 22:27:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 22:27:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 22:27:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 22:27:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 22:27:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 22:27:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 22:27:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 22:27:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 22:27:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 22:27:14] Production.INFO: call_cost start
[2025-01-09 22:27:14] Production.INFO: call_cost end
[2025-01-09 22:27:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 22:27:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 22:27:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 22:27:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 22:27:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 22:27:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 22:27:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 22:27:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 22:27:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 22:27:15] Production.INFO: ==11866== Releasing lock...
[2025-01-09 22:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 22:27:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 22:27:18] Production.INFO: count ==803
[2025-01-09 22:27:18] Production.ERROR: pbx CDR StartTime 2025-01-09 19:27:05 - End Time 2025-01-09 22:27:05
[2025-01-09 22:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 22:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212627', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212627', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212627', 'tblTempVendorCDR_20' ) start
[2025-01-09 22:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212627', 'tblTempVendorCDR_20' ) end
[2025-01-09 22:27:18] Production.INFO: ProcessCDR(1,14212627,1,1,2)
[2025-01-09 22:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212627,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212627,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212627,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212627,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212627', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212627', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:27:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:27:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:27:22] Production.INFO: ==11874== Releasing lock...
[2025-01-09 22:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 22:27:22] Production.INFO: 33.25 MB #Memory Used#
[2025-01-10 03:28:01] Production.INFO: ==11943== Lock acquired, processing the job...
[2025-01-10 03:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 03:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 03:28:01] Production.INFO: neon service started
[2025-01-10 03:28:01] Production.INFO: neon service started
[2025-01-10 03:28:01] Production.INFO: ==11943== Releasing lock...
[2025-01-10 03:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 03:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 22:28:01] Production.INFO: ==11945== Lock acquired, processing the job...
[2025-01-09 22:28:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 22:28:02] Production.INFO: ==11945== Releasing lock...
[2025-01-09 22:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 22:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 03:28:02] Production.INFO: ==11947== Lock acquired, processing the job...
[2025-01-10 03:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 03:28:02] Production.INFO: ==11947== Releasing lock...
[2025-01-10 03:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 03:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 22:28:03] Production.INFO: ==11954== Lock acquired, processing the job...
[2025-01-09 22:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 22:28:03] Production.INFO: ==11950== Lock acquired, processing the job...
[2025-01-09 22:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 22:28:03] Production.INFO: ==11960== Lock acquired, processing the job...
[2025-01-09 22:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 22:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 22:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 22:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 22:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 22:28:03] Production.INFO: ==11952== Lock acquired, processing the job...
[2025-01-09 22:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 22:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 22:28:03] Production.INFO: ==11956== Lock acquired, processing the job...
[2025-01-09 22:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 22:28:03] Production.INFO: ==11958== Lock acquired, processing the job...
[2025-01-09 22:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 22:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:28:03] Production.INFO: Account Balance Start.
[2025-01-09 22:28:03] Production.INFO: CreateAllLog Start
[2025-01-09 22:28:03] Production.INFO: 117
[2025-01-09 22:28:03] Production.INFO: count ==21
[2025-01-09 22:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:28:03] Production.INFO: count ==21
[2025-01-09 22:28:03] Production.INFO: Date 2025-01-08
[2025-01-09 22:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212629') start
[2025-01-09 22:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:28:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212629') end
[2025-01-09 22:28:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 22:28:03] Production.INFO: 1
[2025-01-09 22:28:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 22:28:03] Production.INFO: Date 2025-01-09
[2025-01-09 22:28:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:28:03] Production.INFO: Total Charge 0
[2025-01-09 22:28:03] Production.INFO: CreateAllLog End
[2025-01-09 22:28:03] Production.INFO: ==11960== Releasing lock...
[2025-01-09 22:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 22:28:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 22:28:03] Production.INFO: ==11952== Releasing lock...
[2025-01-09 22:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 22:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 22:28:03] Production.INFO: Account Balance End.
[2025-01-09 22:28:03] Production.ERROR: CronJobId end 12
[2025-01-09 22:28:03] Production.INFO: ==11956== Releasing lock...
[2025-01-09 22:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 22:28:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 22:28:04] Production.ERROR: done
[2025-01-09 22:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 22:28:04] Production.ERROR: done
[2025-01-09 22:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 19:28:05
[end_date_ymd] => 2025-01-09 22:28:05
[RateCDR] => 1
)
[2025-01-09 22:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 19:28:05' and `end` < '2025-01-09 22:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 22:28:12] Production.ERROR: CronJobId end10
[2025-01-09 22:28:12] Production.INFO: ==11954== Releasing lock...
[2025-01-09 22:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 22:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 22:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 22:28:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 22:28:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 22:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 22:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 22:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 22:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 22:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 22:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 22:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 22:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 22:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 22:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 22:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 22:28:13] Production.INFO: call_cost start
[2025-01-09 22:28:13] Production.INFO: call_cost end
[2025-01-09 22:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 22:28:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 22:28:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 22:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 22:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 22:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 22:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 22:28:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 22:28:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 22:28:14] Production.INFO: ==11950== Releasing lock...
[2025-01-09 22:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 22:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 22:28:19] Production.INFO: count ==803
[2025-01-09 22:28:19] Production.ERROR: pbx CDR StartTime 2025-01-09 19:28:05 - End Time 2025-01-09 22:28:05
[2025-01-09 22:28:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 22:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212632', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212632', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212632', 'tblTempVendorCDR_20' ) start
[2025-01-09 22:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212632', 'tblTempVendorCDR_20' ) end
[2025-01-09 22:28:19] Production.INFO: ProcessCDR(1,14212632,1,1,2)
[2025-01-09 22:28:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212632,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:28:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212632,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:28:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212632,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:28:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212632,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212632', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212632', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:28:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:28:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:28:22] Production.INFO: ==11958== Releasing lock...
[2025-01-09 22:28:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 22:28:22] Production.INFO: 33.25 MB #Memory Used#
[2025-01-10 03:29:02] Production.INFO: ==12028== Lock acquired, processing the job...
[2025-01-10 03:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 03:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 03:29:02] Production.INFO: neon service started
[2025-01-10 03:29:02] Production.INFO: neon service started
[2025-01-10 03:29:02] Production.INFO: ==12028== Releasing lock...
[2025-01-10 03:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 03:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 22:29:02] Production.INFO: ==12030== Lock acquired, processing the job...
[2025-01-09 22:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 22:29:02] Production.INFO: ==12030== Releasing lock...
[2025-01-09 22:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 22:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 03:29:02] Production.INFO: ==12032== Lock acquired, processing the job...
[2025-01-10 03:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 03:29:02] Production.INFO: ==12032== Releasing lock...
[2025-01-10 03:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 03:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 22:29:03] Production.INFO: ==12035== Lock acquired, processing the job...
[2025-01-09 22:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 22:29:03] Production.INFO: ==12041== Lock acquired, processing the job...
[2025-01-09 22:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 22:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 22:29:03] Production.INFO: ==12039== Lock acquired, processing the job...
[2025-01-09 22:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 22:29:03] Production.INFO: ==12037== Lock acquired, processing the job...
[2025-01-09 22:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 22:29:03] Production.INFO: Account Balance Start.
[2025-01-09 22:29:03] Production.INFO: CreateAllLog Start
[2025-01-09 22:29:03] Production.INFO: 117
[2025-01-09 22:29:03] Production.INFO: Date 2025-01-08
[2025-01-09 22:29:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 22:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 22:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 22:29:03] Production.INFO: Date 2025-01-09
[2025-01-09 22:29:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 22:29:03] Production.INFO: Total Charge 0
[2025-01-09 22:29:03] Production.INFO: CreateAllLog End
[2025-01-09 22:29:03] Production.INFO: ==12043== Lock acquired, processing the job...
[2025-01-09 22:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 22:29:03] Production.INFO: ==12045== Lock acquired, processing the job...
[2025-01-09 22:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 22:29:03] Production.INFO: Account Balance End.
[2025-01-09 22:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:29:03] Production.ERROR: CronJobId end 12
[2025-01-09 22:29:03] Production.INFO: ==12041== Releasing lock...
[2025-01-09 22:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 22:29:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 22:29:04] Production.INFO: ==12037== Releasing lock...
[2025-01-09 22:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 22:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 22:29:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:29:04] Production.INFO: count ==21
[2025-01-09 22:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:29:04] Production.INFO: count ==21
[2025-01-09 22:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212636') start
[2025-01-09 22:29:04] Production.ERROR: done
[2025-01-09 22:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 22:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212636') end
[2025-01-09 22:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 22:29:04] Production.INFO: 1
[2025-01-09 22:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 22:29:04] Production.ERROR: done
[2025-01-09 22:29:04] Production.INFO: ==12045== Releasing lock...
[2025-01-09 22:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 22:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 22:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 19:29:05
[end_date_ymd] => 2025-01-09 22:29:05
[RateCDR] => 1
)
[2025-01-09 22:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 19:29:05' and `end` < '2025-01-09 22:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 22:29:11] Production.ERROR: CronJobId end10
[2025-01-09 22:29:11] Production.INFO: ==12039== Releasing lock...
[2025-01-09 22:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 22:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 22:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 22:29:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 22:29:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 22:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 22:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 22:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 22:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 22:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 22:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 22:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 22:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 22:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 22:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 22:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 22:29:13] Production.INFO: call_cost start
[2025-01-09 22:29:13] Production.INFO: call_cost end
[2025-01-09 22:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 22:29:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 22:29:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 22:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 22:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 22:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 22:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 22:29:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 22:29:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 22:29:14] Production.INFO: ==12035== Releasing lock...
[2025-01-09 22:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 22:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 22:29:20] Production.INFO: count ==804
[2025-01-09 22:29:20] Production.ERROR: pbx CDR StartTime 2025-01-09 19:29:05 - End Time 2025-01-09 22:29:05
[2025-01-09 22:29:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 22:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212637', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212637', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212637', 'tblTempVendorCDR_20' ) start
[2025-01-09 22:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212637', 'tblTempVendorCDR_20' ) end
[2025-01-09 22:29:20] Production.INFO: ProcessCDR(1,14212637,1,1,2)
[2025-01-09 22:29:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212637,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:29:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212637,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:29:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212637,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:29:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212637,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:29:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212637', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:29:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212637', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:29:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:29:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:29:24] Production.INFO: ==12043== Releasing lock...
[2025-01-09 22:29:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 22:29:24] Production.INFO: 33.25 MB #Memory Used#
[2025-01-10 03:30:01] Production.INFO: ==12114== Lock acquired, processing the job...
[2025-01-10 03:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 03:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 03:30:01] Production.INFO: neon service started
[2025-01-10 03:30:01] Production.INFO: neon service started
[2025-01-10 03:30:01] Production.INFO: ==12114== Releasing lock...
[2025-01-10 03:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 03:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 22:30:01] Production.INFO: ==12116== Lock acquired, processing the job...
[2025-01-09 22:30:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 03:30:02] Production.INFO: ==12118== Lock acquired, processing the job...
[2025-01-10 03:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 22:30:02] Production.INFO: ==12116== Releasing lock...
[2025-01-09 22:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 22:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 03:30:02] Production.INFO: ==12118== Releasing lock...
[2025-01-10 03:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 03:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 22:30:03] Production.INFO: ==12121== Lock acquired, processing the job...
[2025-01-09 22:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 22:30:03] Production.INFO: ==12125== Lock acquired, processing the job...
[2025-01-09 22:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 22:30:03] Production.INFO: ==12123== Lock acquired, processing the job...
[2025-01-09 22:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 22:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 22:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 22:30:03] Production.INFO: ==12121== Releasing lock...
[2025-01-09 22:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 22:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 22:30:03] Production.INFO: ==12129== Lock acquired, processing the job...
[2025-01-09 22:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 22:30:03] Production.INFO: ==12133== Lock acquired, processing the job...
[2025-01-09 22:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 22:30:03] Production.INFO: ==12127== Lock acquired, processing the job...
[2025-01-09 22:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 22:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 22:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:30:03] Production.INFO: Account Balance Start.
[2025-01-09 22:30:03] Production.INFO: CreateAllLog Start
[2025-01-09 22:30:03] Production.INFO: 117
[2025-01-09 22:30:03] Production.INFO: Date 2025-01-08
[2025-01-09 22:30:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 22:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 22:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 22:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 22:30:03] Production.INFO: ==12131== Lock acquired, processing the job...
[2025-01-09 22:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 22:30:03] Production.INFO: Date 2025-01-09
[2025-01-09 22:30:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:30:03] Production.INFO: ==12135== Lock acquired, processing the job...
[2025-01-09 22:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 22:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:30:03] Production.INFO: ==12125== Releasing lock...
[2025-01-09 22:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 22:30:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 22:30:03] Production.INFO: Total Charge 0
[2025-01-09 22:30:03] Production.INFO: CreateAllLog End
[2025-01-09 22:30:04] Production.ERROR: done
[2025-01-09 22:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 22:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14212642', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 22:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:30:04] Production.INFO: Account Balance End.
[2025-01-09 22:30:04] Production.INFO: count ==21
[2025-01-09 22:30:04] Production.ERROR: CronJobId end 12
[2025-01-09 22:30:04] Production.INFO: ==12129== Releasing lock...
[2025-01-09 22:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 22:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 22:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:30:04] Production.INFO: count ==21
[2025-01-09 22:30:04] Production.ERROR: done
[2025-01-09 22:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 22:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212641') start
[2025-01-09 22:30:04] Production.ERROR: done
[2025-01-09 22:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212641') end
[2025-01-09 22:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 22:30:04] Production.INFO: 1
[2025-01-09 22:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 22:30:04] Production.INFO: ==12135== Releasing lock...
[2025-01-09 22:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 22:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 22:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 19:30:05
[end_date_ymd] => 2025-01-09 22:30:05
[RateCDR] => 1
)
[2025-01-09 22:30:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 19:30:05' and `end` < '2025-01-09 22:30:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 22:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14212642', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 22:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 22:30:08] Production.INFO: ProcessCDR(1,14212642,1,1,2)
[2025-01-09 22:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14212642,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14212642,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:30:08] Production.INFO: ==12133== Releasing lock...
[2025-01-09 22:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 22:30:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 22:30:13] Production.ERROR: CronJobId end10
[2025-01-09 22:30:13] Production.INFO: ==12127== Releasing lock...
[2025-01-09 22:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 22:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 22:30:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 22:30:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 22:30:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 22:30:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 22:30:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 22:30:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 22:30:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 22:30:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 22:30:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 22:30:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 22:30:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 22:30:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 22:30:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 22:30:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 22:30:15] Production.INFO: call_cost start
[2025-01-09 22:30:15] Production.INFO: call_cost end
[2025-01-09 22:30:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 22:30:16] Production.INFO: ============== Report Schedule START===========
[2025-01-09 22:30:16] Production.INFO: ============== Report Schedule END===========
[2025-01-09 22:30:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 22:30:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 22:30:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 22:30:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 22:30:16] Production.INFO: ============== Deal alert START===========
[2025-01-09 22:30:16] Production.INFO: ============== Deal alert END===========
[2025-01-09 22:30:16] Production.INFO: ==12123== Releasing lock...
[2025-01-09 22:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 22:30:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 22:30:18] Production.INFO: count ==801
[2025-01-09 22:30:18] Production.ERROR: pbx CDR StartTime 2025-01-09 19:30:05 - End Time 2025-01-09 22:30:05
[2025-01-09 22:30:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 22:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212643', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212643', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212643', 'tblTempVendorCDR_20' ) start
[2025-01-09 22:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212643', 'tblTempVendorCDR_20' ) end
[2025-01-09 22:30:18] Production.INFO: ProcessCDR(1,14212643,1,1,2)
[2025-01-09 22:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212643,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:30:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212643,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:30:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212643,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:30:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212643,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212643', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212643', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:30:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:30:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:30:21] Production.INFO: ==12131== Releasing lock...
[2025-01-09 22:30:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 22:30:21] Production.INFO: 33.25 MB #Memory Used#
[2025-01-10 03:31:01] Production.INFO: ==12205== Lock acquired, processing the job...
[2025-01-10 03:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 03:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 03:31:01] Production.INFO: neon service started
[2025-01-10 03:31:01] Production.INFO: neon service started
[2025-01-10 03:31:01] Production.INFO: ==12205== Releasing lock...
[2025-01-10 03:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 03:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 22:31:02] Production.INFO: ==12207== Lock acquired, processing the job...
[2025-01-09 22:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 22:31:02] Production.INFO: ==12207== Releasing lock...
[2025-01-09 22:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 22:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 03:31:02] Production.INFO: ==12209== Lock acquired, processing the job...
[2025-01-10 03:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 03:31:02] Production.INFO: ==12209== Releasing lock...
[2025-01-10 03:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 03:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 22:31:03] Production.INFO: ==12215== Lock acquired, processing the job...
[2025-01-09 22:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 22:31:03] Production.INFO: ==12221== Lock acquired, processing the job...
[2025-01-09 22:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 22:31:03] Production.INFO: ==12211== Lock acquired, processing the job...
[2025-01-09 22:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 22:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 22:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 22:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 22:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 22:31:03] Production.INFO: count ==21
[2025-01-09 22:31:03] Production.INFO: ==12213== Lock acquired, processing the job...
[2025-01-09 22:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 22:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 22:31:03] Production.INFO: count ==21
[2025-01-09 22:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212644') start
[2025-01-09 22:31:03] Production.INFO: ==12217== Lock acquired, processing the job...
[2025-01-09 22:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 22:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212644') end
[2025-01-09 22:31:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 22:31:03] Production.INFO: 1
[2025-01-09 22:31:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 22:31:03] Production.INFO: ==12219== Lock acquired, processing the job...
[2025-01-09 22:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 22:31:03] Production.INFO: ==12221== Releasing lock...
[2025-01-09 22:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 22:31:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 22:31:03] Production.INFO: Account Balance Start.
[2025-01-09 22:31:03] Production.INFO: CreateAllLog Start
[2025-01-09 22:31:03] Production.INFO: 117
[2025-01-09 22:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:31:03] Production.INFO: Date 2025-01-08
[2025-01-09 22:31:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:31:03] Production.INFO: Date 2025-01-09
[2025-01-09 22:31:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:31:03] Production.INFO: Total Charge 0
[2025-01-09 22:31:03] Production.INFO: CreateAllLog End
[2025-01-09 22:31:04] Production.INFO: ==12213== Releasing lock...
[2025-01-09 22:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 22:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 22:31:04] Production.ERROR: done
[2025-01-09 22:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 22:31:04] Production.INFO: Account Balance End.
[2025-01-09 22:31:04] Production.ERROR: CronJobId end 12
[2025-01-09 22:31:04] Production.INFO: ==12217== Releasing lock...
[2025-01-09 22:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 22:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 22:31:04] Production.ERROR: done
[2025-01-09 22:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 19:31:05
[end_date_ymd] => 2025-01-09 22:31:05
[RateCDR] => 1
)
[2025-01-09 22:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 19:31:05' and `end` < '2025-01-09 22:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 22:31:12] Production.ERROR: CronJobId end10
[2025-01-09 22:31:12] Production.INFO: ==12215== Releasing lock...
[2025-01-09 22:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 22:31:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 22:31:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 22:31:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 22:31:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 22:31:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 22:31:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 22:31:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 22:31:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 22:31:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 22:31:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 22:31:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 22:31:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 22:31:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 22:31:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 22:31:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 22:31:14] Production.INFO: call_cost start
[2025-01-09 22:31:14] Production.INFO: call_cost end
[2025-01-09 22:31:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 22:31:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 22:31:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 22:31:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 22:31:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 22:31:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 22:31:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 22:31:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 22:31:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 22:31:15] Production.INFO: ==12211== Releasing lock...
[2025-01-09 22:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 22:31:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 22:31:20] Production.INFO: count ==785
[2025-01-09 22:31:20] Production.ERROR: pbx CDR StartTime 2025-01-09 19:31:05 - End Time 2025-01-09 22:31:05
[2025-01-09 22:31:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 22:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212648', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212648', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212648', 'tblTempVendorCDR_20' ) start
[2025-01-09 22:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212648', 'tblTempVendorCDR_20' ) end
[2025-01-09 22:31:20] Production.INFO: ProcessCDR(1,14212648,1,1,2)
[2025-01-09 22:31:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212648,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:31:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212648,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:31:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212648,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:31:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212648,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:31:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212648', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:31:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212648', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:31:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:31:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:31:25] Production.INFO: ==12219== Releasing lock...
[2025-01-09 22:31:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 22:31:25] Production.INFO: 33 MB #Memory Used#
[2025-01-10 03:32:02] Production.INFO: ==12294== Lock acquired, processing the job...
[2025-01-10 03:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 03:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 03:32:02] Production.INFO: neon service started
[2025-01-10 03:32:02] Production.INFO: neon service started
[2025-01-10 03:32:02] Production.INFO: ==12294== Releasing lock...
[2025-01-10 03:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 03:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 22:32:02] Production.INFO: ==12296== Lock acquired, processing the job...
[2025-01-09 22:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 03:32:02] Production.INFO: ==12298== Lock acquired, processing the job...
[2025-01-10 03:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 03:32:02] Production.INFO: ==12298== Releasing lock...
[2025-01-10 03:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 03:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 22:32:03] Production.INFO: ==12296== Releasing lock...
[2025-01-09 22:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 22:32:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 22:32:03] Production.INFO: ==12300== Lock acquired, processing the job...
[2025-01-09 22:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 22:32:03] Production.INFO: ==12302== Lock acquired, processing the job...
[2025-01-09 22:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 22:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 22:32:03] Production.INFO: ==12308== Lock acquired, processing the job...
[2025-01-09 22:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 22:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:32:04] Production.INFO: ==12306== Lock acquired, processing the job...
[2025-01-09 22:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 22:32:04] Production.INFO: ==12304== Lock acquired, processing the job...
[2025-01-09 22:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 22:32:04] Production.INFO: ==12302== Releasing lock...
[2025-01-09 22:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 22:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 22:32:04] Production.INFO: ==12310== Lock acquired, processing the job...
[2025-01-09 22:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 22:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 22:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 22:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 22:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 22:32:04] Production.INFO: Account Balance Start.
[2025-01-09 22:32:04] Production.INFO: CreateAllLog Start
[2025-01-09 22:32:04] Production.INFO: 117
[2025-01-09 22:32:04] Production.INFO: Date 2025-01-08
[2025-01-09 22:32:04] Production.INFO: Reseller ==> 0
[2025-01-09 22:32:04] Production.ERROR: done
[2025-01-09 22:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 22:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:32:04] Production.INFO: count ==21
[2025-01-09 22:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:32:04] Production.INFO: count ==21
[2025-01-09 22:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212652') start
[2025-01-09 22:32:04] Production.INFO: Date 2025-01-09
[2025-01-09 22:32:04] Production.INFO: Reseller ==> 0
[2025-01-09 22:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212652') end
[2025-01-09 22:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 22:32:04] Production.INFO: 1
[2025-01-09 22:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 22:32:04] Production.ERROR: done
[2025-01-09 22:32:04] Production.INFO: ==12310== Releasing lock...
[2025-01-09 22:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 22:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 22:32:04] Production.INFO: Total Charge 0
[2025-01-09 22:32:04] Production.INFO: CreateAllLog End
[2025-01-09 22:32:04] Production.INFO: Account Balance End.
[2025-01-09 22:32:04] Production.ERROR: CronJobId end 12
[2025-01-09 22:32:04] Production.INFO: ==12306== Releasing lock...
[2025-01-09 22:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 22:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 22:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 19:32:05
[end_date_ymd] => 2025-01-09 22:32:05
[RateCDR] => 1
)
[2025-01-09 22:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 19:32:05' and `end` < '2025-01-09 22:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 22:32:12] Production.ERROR: CronJobId end10
[2025-01-09 22:32:12] Production.INFO: ==12304== Releasing lock...
[2025-01-09 22:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 22:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 22:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 22:32:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 22:32:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 22:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 22:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 22:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 22:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 22:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 22:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 22:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 22:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 22:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 22:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 22:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 22:32:13] Production.INFO: call_cost start
[2025-01-09 22:32:13] Production.INFO: call_cost end
[2025-01-09 22:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 22:32:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 22:32:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 22:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 22:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 22:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 22:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 22:32:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 22:32:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 22:32:14] Production.INFO: ==12300== Releasing lock...
[2025-01-09 22:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 22:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 22:32:19] Production.INFO: count ==785
[2025-01-09 22:32:19] Production.ERROR: pbx CDR StartTime 2025-01-09 19:32:05 - End Time 2025-01-09 22:32:05
[2025-01-09 22:32:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 22:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212653', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212653', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212653', 'tblTempVendorCDR_20' ) start
[2025-01-09 22:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212653', 'tblTempVendorCDR_20' ) end
[2025-01-09 22:32:19] Production.INFO: ProcessCDR(1,14212653,1,1,2)
[2025-01-09 22:32:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212653,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:32:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212653,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:32:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212653,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:32:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212653,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212653', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212653', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:32:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:32:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:32:22] Production.INFO: ==12308== Releasing lock...
[2025-01-09 22:32:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 22:32:22] Production.INFO: 33 MB #Memory Used#
[2025-01-10 03:33:01] Production.INFO: ==12377== Lock acquired, processing the job...
[2025-01-10 03:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 03:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 03:33:01] Production.INFO: neon service started
[2025-01-10 03:33:01] Production.INFO: neon service started
[2025-01-10 03:33:01] Production.INFO: ==12377== Releasing lock...
[2025-01-10 03:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 03:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 22:33:02] Production.INFO: ==12379== Lock acquired, processing the job...
[2025-01-09 22:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 03:33:02] Production.INFO: ==12381== Lock acquired, processing the job...
[2025-01-10 03:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 03:33:02] Production.INFO: ==12381== Releasing lock...
[2025-01-10 03:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 03:33:02] Production.INFO: 26 MB #Memory Used#
[2025-01-09 22:33:02] Production.INFO: ==12379== Releasing lock...
[2025-01-09 22:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 22:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 22:33:03] Production.INFO: ==12388== Lock acquired, processing the job...
[2025-01-09 22:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 22:33:03] Production.INFO: ==12390== Lock acquired, processing the job...
[2025-01-09 22:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 22:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 22:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 22:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 22:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 22:33:03] Production.INFO: Account Balance Start.
[2025-01-09 22:33:03] Production.INFO: CreateAllLog Start
[2025-01-09 22:33:03] Production.INFO: 117
[2025-01-09 22:33:03] Production.INFO: Date 2025-01-08
[2025-01-09 22:33:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:33:03] Production.INFO: ==12384== Lock acquired, processing the job...
[2025-01-09 22:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 22:33:03] Production.INFO: Date 2025-01-09
[2025-01-09 22:33:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:33:03] Production.INFO: ==12386== Lock acquired, processing the job...
[2025-01-09 22:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 22:33:03] Production.INFO: Total Charge 0
[2025-01-09 22:33:03] Production.INFO: CreateAllLog End
[2025-01-09 22:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 22:33:03] Production.INFO: ==12392== Lock acquired, processing the job...
[2025-01-09 22:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 22:33:03] Production.INFO: ==12394== Lock acquired, processing the job...
[2025-01-09 22:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 22:33:03] Production.INFO: Account Balance End.
[2025-01-09 22:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:33:04] Production.ERROR: CronJobId end 12
[2025-01-09 22:33:04] Production.INFO: ==12390== Releasing lock...
[2025-01-09 22:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 22:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 22:33:04] Production.INFO: ==12386== Releasing lock...
[2025-01-09 22:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 22:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 22:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:33:04] Production.INFO: count ==21
[2025-01-09 22:33:04] Production.ERROR: done
[2025-01-09 22:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 22:33:04] Production.INFO: count ==21
[2025-01-09 22:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212657') start
[2025-01-09 22:33:04] Production.ERROR: done
[2025-01-09 22:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212657') end
[2025-01-09 22:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 22:33:04] Production.INFO: 1
[2025-01-09 22:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 22:33:04] Production.INFO: ==12394== Releasing lock...
[2025-01-09 22:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 22:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 22:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 19:33:05
[end_date_ymd] => 2025-01-09 22:33:05
[RateCDR] => 1
)
[2025-01-09 22:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 19:33:05' and `end` < '2025-01-09 22:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 22:33:12] Production.ERROR: CronJobId end10
[2025-01-09 22:33:12] Production.INFO: ==12388== Releasing lock...
[2025-01-09 22:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 22:33:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 22:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 22:33:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 22:33:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 22:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 22:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 22:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 22:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 22:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 22:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 22:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 22:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 22:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 22:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 22:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 22:33:13] Production.INFO: call_cost start
[2025-01-09 22:33:13] Production.INFO: call_cost end
[2025-01-09 22:33:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 22:33:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 22:33:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 22:33:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 22:33:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 22:33:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 22:33:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 22:33:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 22:33:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 22:33:14] Production.INFO: ==12384== Releasing lock...
[2025-01-09 22:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 22:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 22:33:18] Production.INFO: count ==781
[2025-01-09 22:33:18] Production.ERROR: pbx CDR StartTime 2025-01-09 19:33:05 - End Time 2025-01-09 22:33:05
[2025-01-09 22:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 22:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212658', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212658', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212658', 'tblTempVendorCDR_20' ) start
[2025-01-09 22:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212658', 'tblTempVendorCDR_20' ) end
[2025-01-09 22:33:18] Production.INFO: ProcessCDR(1,14212658,1,1,2)
[2025-01-09 22:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212658,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212658,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212658,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212658,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212658', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212658', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:33:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:33:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:33:21] Production.INFO: ==12392== Releasing lock...
[2025-01-09 22:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 22:33:21] Production.INFO: 33 MB #Memory Used#
[2025-01-10 03:34:02] Production.INFO: ==12452== Lock acquired, processing the job...
[2025-01-10 03:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 03:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 03:34:02] Production.INFO: neon service started
[2025-01-10 03:34:02] Production.INFO: neon service started
[2025-01-10 03:34:02] Production.INFO: ==12452== Releasing lock...
[2025-01-10 03:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 03:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 22:34:02] Production.INFO: ==12454== Lock acquired, processing the job...
[2025-01-09 22:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 22:34:02] Production.INFO: ==12454== Releasing lock...
[2025-01-09 22:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 22:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 03:34:02] Production.INFO: ==12456== Lock acquired, processing the job...
[2025-01-10 03:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 03:34:03] Production.INFO: ==12456== Releasing lock...
[2025-01-10 03:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 03:34:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 22:34:03] Production.INFO: ==12459== Lock acquired, processing the job...
[2025-01-09 22:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 22:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 22:34:03] Production.INFO: ==12465== Lock acquired, processing the job...
[2025-01-09 22:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 22:34:03] Production.INFO: ==12467== Lock acquired, processing the job...
[2025-01-09 22:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 22:34:03] Production.INFO: Account Balance Start.
[2025-01-09 22:34:03] Production.INFO: CreateAllLog Start
[2025-01-09 22:34:03] Production.INFO: 117
[2025-01-09 22:34:03] Production.INFO: Date 2025-01-08
[2025-01-09 22:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:34:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:34:03] Production.INFO: ==12463== Lock acquired, processing the job...
[2025-01-09 22:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 22:34:03] Production.INFO: ==12461== Lock acquired, processing the job...
[2025-01-09 22:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 22:34:03] Production.INFO: ==12469== Lock acquired, processing the job...
[2025-01-09 22:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 22:34:03] Production.INFO: Date 2025-01-09
[2025-01-09 22:34:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 22:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 22:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 22:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 22:34:03] Production.INFO: Total Charge 0
[2025-01-09 22:34:03] Production.INFO: CreateAllLog End
[2025-01-09 22:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:34:04] Production.INFO: count ==21
[2025-01-09 22:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:34:04] Production.INFO: count ==21
[2025-01-09 22:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212661') start
[2025-01-09 22:34:04] Production.ERROR: done
[2025-01-09 22:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 22:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212661') end
[2025-01-09 22:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 22:34:04] Production.INFO: 1
[2025-01-09 22:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 22:34:04] Production.INFO: ==12469== Releasing lock...
[2025-01-09 22:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 22:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 22:34:04] Production.ERROR: done
[2025-01-09 22:34:04] Production.INFO: Account Balance End.
[2025-01-09 22:34:04] Production.ERROR: CronJobId end 12
[2025-01-09 22:34:04] Production.INFO: ==12465== Releasing lock...
[2025-01-09 22:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 22:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 22:34:04] Production.INFO: ==12461== Releasing lock...
[2025-01-09 22:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 22:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 22:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 19:34:05
[end_date_ymd] => 2025-01-09 22:34:05
[RateCDR] => 1
)
[2025-01-09 22:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 19:34:05' and `end` < '2025-01-09 22:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 22:34:11] Production.ERROR: CronJobId end10
[2025-01-09 22:34:11] Production.INFO: ==12463== Releasing lock...
[2025-01-09 22:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 22:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 22:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 22:34:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 22:34:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 22:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 22:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 22:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 22:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 22:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 22:34:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 22:34:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 22:34:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 22:34:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 22:34:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 22:34:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 22:34:13] Production.INFO: call_cost start
[2025-01-09 22:34:13] Production.INFO: call_cost end
[2025-01-09 22:34:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 22:34:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 22:34:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 22:34:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 22:34:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 22:34:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 22:34:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 22:34:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 22:34:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 22:34:14] Production.INFO: ==12459== Releasing lock...
[2025-01-09 22:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 22:34:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 22:34:20] Production.INFO: count ==780
[2025-01-09 22:34:20] Production.ERROR: pbx CDR StartTime 2025-01-09 19:34:05 - End Time 2025-01-09 22:34:05
[2025-01-09 22:34:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 22:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212663', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212663', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212663', 'tblTempVendorCDR_20' ) start
[2025-01-09 22:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212663', 'tblTempVendorCDR_20' ) end
[2025-01-09 22:34:20] Production.INFO: ProcessCDR(1,14212663,1,1,2)
[2025-01-09 22:34:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212663,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:34:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212663,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:34:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212663,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:34:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212663,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:34:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212663', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:34:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212663', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:34:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:34:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:34:24] Production.INFO: ==12467== Releasing lock...
[2025-01-09 22:34:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 22:34:24] Production.INFO: 33.25 MB #Memory Used#
[2025-01-10 03:35:01] Production.INFO: ==12529== Lock acquired, processing the job...
[2025-01-10 03:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 03:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 03:35:01] Production.INFO: neon service started
[2025-01-10 03:35:01] Production.INFO: neon service started
[2025-01-10 03:35:01] Production.INFO: ==12529== Releasing lock...
[2025-01-10 03:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 03:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 22:35:01] Production.INFO: ==12531== Lock acquired, processing the job...
[2025-01-09 22:35:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 22:35:02] Production.INFO: ==12531== Releasing lock...
[2025-01-09 22:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 22:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 03:35:02] Production.INFO: ==12533== Lock acquired, processing the job...
[2025-01-10 03:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 03:35:02] Production.INFO: ==12533== Releasing lock...
[2025-01-10 03:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 03:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 22:35:03] Production.INFO: ==12541== Lock acquired, processing the job...
[2025-01-09 22:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 22:35:03] Production.INFO: ==12537== Lock acquired, processing the job...
[2025-01-09 22:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 22:35:03] Production.INFO: ==12543== Lock acquired, processing the job...
[2025-01-09 22:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 22:35:03] Production.INFO: ==12535== Lock acquired, processing the job...
[2025-01-09 22:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 22:35:03] Production.INFO: Account Balance Start.
[2025-01-09 22:35:03] Production.INFO: CreateAllLog Start
[2025-01-09 22:35:03] Production.INFO: 117
[2025-01-09 22:35:03] Production.INFO: ==12539== Lock acquired, processing the job...
[2025-01-09 22:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 22:35:03] Production.INFO: Date 2025-01-08
[2025-01-09 22:35:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 22:35:03] Production.INFO: Date 2025-01-09
[2025-01-09 22:35:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:35:03] Production.INFO: Total Charge 0
[2025-01-09 22:35:03] Production.INFO: CreateAllLog End
[2025-01-09 22:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 22:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 22:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 22:35:03] Production.INFO: ==12546== Lock acquired, processing the job...
[2025-01-09 22:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 22:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 22:35:03] Production.INFO: ==12537== Releasing lock...
[2025-01-09 22:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 22:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 22:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:35:03] Production.ERROR: done
[2025-01-09 22:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 22:35:03] Production.INFO: Account Balance End.
[2025-01-09 22:35:03] Production.INFO: count ==21
[2025-01-09 22:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:35:03] Production.INFO: count ==21
[2025-01-09 22:35:03] Production.ERROR: CronJobId end 12
[2025-01-09 22:35:03] Production.INFO: ==12541== Releasing lock...
[2025-01-09 22:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 22:35:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 22:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212667') start
[2025-01-09 22:35:03] Production.ERROR: done
[2025-01-09 22:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212667') end
[2025-01-09 22:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 22:35:03] Production.INFO: 1
[2025-01-09 22:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 22:35:03] Production.INFO: ==12546== Releasing lock...
[2025-01-09 22:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 22:35:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 22:35:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 19:35:04
[end_date_ymd] => 2025-01-09 22:35:04
[RateCDR] => 1
)
[2025-01-09 22:35:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 19:35:04' and `end` < '2025-01-09 22:35:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 22:35:10] Production.ERROR: CronJobId end10
[2025-01-09 22:35:10] Production.INFO: ==12539== Releasing lock...
[2025-01-09 22:35:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 22:35:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 22:35:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 22:35:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 22:35:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 22:35:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 22:35:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 22:35:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 22:35:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 22:35:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 22:35:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 22:35:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 22:35:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 22:35:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 22:35:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 22:35:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 22:35:12] Production.INFO: call_cost start
[2025-01-09 22:35:12] Production.INFO: call_cost end
[2025-01-09 22:35:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 22:35:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 22:35:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 22:35:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 22:35:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 22:35:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 22:35:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 22:35:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 22:35:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 22:35:13] Production.INFO: ==12535== Releasing lock...
[2025-01-09 22:35:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 22:35:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 22:35:17] Production.INFO: count ==780
[2025-01-09 22:35:17] Production.ERROR: pbx CDR StartTime 2025-01-09 19:35:04 - End Time 2025-01-09 22:35:04
[2025-01-09 22:35:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 22:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212668', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212668', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212668', 'tblTempVendorCDR_20' ) start
[2025-01-09 22:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212668', 'tblTempVendorCDR_20' ) end
[2025-01-09 22:35:17] Production.INFO: ProcessCDR(1,14212668,1,1,2)
[2025-01-09 22:35:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212668,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:35:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212668,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:35:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212668,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:35:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212668,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212668', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212668', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:35:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:35:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:35:22] Production.INFO: ==12543== Releasing lock...
[2025-01-09 22:35:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 22:35:22] Production.INFO: 33 MB #Memory Used#
[2025-01-10 03:36:02] Production.INFO: ==12607== Lock acquired, processing the job...
[2025-01-10 03:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 03:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 03:36:02] Production.INFO: neon service started
[2025-01-10 03:36:02] Production.INFO: neon service started
[2025-01-10 03:36:02] Production.INFO: ==12607== Releasing lock...
[2025-01-10 03:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 03:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:36:02] Production.INFO: ==12612== Lock acquired, processing the job...
[2025-01-10 03:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 03:36:02] Production.INFO: ==12612== Releasing lock...
[2025-01-10 03:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 03:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 22:36:02] Production.INFO: ==12610== Lock acquired, processing the job...
[2025-01-09 22:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 22:36:02] Production.INFO: ==12610== Releasing lock...
[2025-01-09 22:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 22:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 22:36:03] Production.INFO: ==12620== Lock acquired, processing the job...
[2025-01-09 22:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 22:36:03] Production.INFO: ==12614== Lock acquired, processing the job...
[2025-01-09 22:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 22:36:03] Production.INFO: Account Balance Start.
[2025-01-09 22:36:03] Production.INFO: CreateAllLog Start
[2025-01-09 22:36:03] Production.INFO: ==12616== Lock acquired, processing the job...
[2025-01-09 22:36:03] Production.INFO: ==12622== Lock acquired, processing the job...
[2025-01-09 22:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 22:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 22:36:03] Production.INFO: 117
[2025-01-09 22:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 22:36:03] Production.INFO: Date 2025-01-08
[2025-01-09 22:36:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:36:03] Production.INFO: Date 2025-01-09
[2025-01-09 22:36:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:36:03] Production.INFO: Total Charge 0
[2025-01-09 22:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:36:03] Production.INFO: CreateAllLog End
[2025-01-09 22:36:03] Production.INFO: ==12618== Lock acquired, processing the job...
[2025-01-09 22:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 22:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 22:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 22:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 22:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 22:36:03] Production.INFO: ==12624== Lock acquired, processing the job...
[2025-01-09 22:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 22:36:04] Production.INFO: ==12616== Releasing lock...
[2025-01-09 22:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 22:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 22:36:04] Production.INFO: Account Balance End.
[2025-01-09 22:36:04] Production.ERROR: CronJobId end 12
[2025-01-09 22:36:04] Production.INFO: ==12620== Releasing lock...
[2025-01-09 22:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 22:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 22:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:36:04] Production.INFO: count ==21
[2025-01-09 22:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:36:04] Production.INFO: count ==21
[2025-01-09 22:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212672') start
[2025-01-09 22:36:04] Production.ERROR: done
[2025-01-09 22:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 22:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212672') end
[2025-01-09 22:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 22:36:04] Production.INFO: 1
[2025-01-09 22:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 22:36:04] Production.ERROR: done
[2025-01-09 22:36:04] Production.INFO: ==12624== Releasing lock...
[2025-01-09 22:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 22:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 22:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 19:36:05
[end_date_ymd] => 2025-01-09 22:36:05
[RateCDR] => 1
)
[2025-01-09 22:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 19:36:05' and `end` < '2025-01-09 22:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 22:36:12] Production.ERROR: CronJobId end10
[2025-01-09 22:36:12] Production.INFO: ==12618== Releasing lock...
[2025-01-09 22:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 22:36:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 22:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 22:36:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 22:36:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 22:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 22:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 22:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 22:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 22:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 22:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 22:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 22:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 22:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 22:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 22:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 22:36:13] Production.INFO: call_cost start
[2025-01-09 22:36:13] Production.INFO: call_cost end
[2025-01-09 22:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 22:36:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 22:36:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 22:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 22:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 22:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 22:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 22:36:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 22:36:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 22:36:14] Production.INFO: ==12614== Releasing lock...
[2025-01-09 22:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 22:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 22:36:18] Production.INFO: count ==780
[2025-01-09 22:36:18] Production.ERROR: pbx CDR StartTime 2025-01-09 19:36:05 - End Time 2025-01-09 22:36:05
[2025-01-09 22:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 22:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212673', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212673', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212673', 'tblTempVendorCDR_20' ) start
[2025-01-09 22:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212673', 'tblTempVendorCDR_20' ) end
[2025-01-09 22:36:18] Production.INFO: ProcessCDR(1,14212673,1,1,2)
[2025-01-09 22:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212673,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212673,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212673,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:36:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212673,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212673', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212673', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:36:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:36:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:36:21] Production.INFO: ==12622== Releasing lock...
[2025-01-09 22:36:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 22:36:21] Production.INFO: 33 MB #Memory Used#
[2025-01-10 03:37:01] Production.INFO: ==12682== Lock acquired, processing the job...
[2025-01-10 03:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 03:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 03:37:01] Production.INFO: neon service started
[2025-01-10 03:37:01] Production.INFO: neon service started
[2025-01-10 03:37:01] Production.INFO: ==12682== Releasing lock...
[2025-01-10 03:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 03:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 22:37:01] Production.INFO: ==12684== Lock acquired, processing the job...
[2025-01-09 22:37:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 22:37:02] Production.INFO: ==12684== Releasing lock...
[2025-01-09 22:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 22:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 03:37:02] Production.INFO: ==12686== Lock acquired, processing the job...
[2025-01-10 03:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 03:37:02] Production.INFO: ==12686== Releasing lock...
[2025-01-10 03:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 03:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 22:37:02] Production.INFO: ==12694== Lock acquired, processing the job...
[2025-01-09 22:37:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 22:37:03] Production.INFO: ==12698== Lock acquired, processing the job...
[2025-01-09 22:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 22:37:03] Production.INFO: ==12688== Lock acquired, processing the job...
[2025-01-09 22:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 22:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:37:03] Production.INFO: Account Balance Start.
[2025-01-09 22:37:03] Production.INFO: CreateAllLog Start
[2025-01-09 22:37:03] Production.INFO: 117
[2025-01-09 22:37:03] Production.INFO: Date 2025-01-08
[2025-01-09 22:37:03] Production.INFO: count ==21
[2025-01-09 22:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:37:03] Production.INFO: ==12690== Lock acquired, processing the job...
[2025-01-09 22:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 22:37:03] Production.INFO: count ==21
[2025-01-09 22:37:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:37:03] Production.INFO: ==12692== Lock acquired, processing the job...
[2025-01-09 22:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 22:37:03] Production.INFO: ==12696== Lock acquired, processing the job...
[2025-01-09 22:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 22:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212675') start
[2025-01-09 22:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 22:37:03] Production.INFO: Date 2025-01-09
[2025-01-09 22:37:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:37:03] Production.INFO: Total Charge 0
[2025-01-09 22:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 22:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 22:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 22:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:37:03] Production.INFO: CreateAllLog End
[2025-01-09 22:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 22:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212675') end
[2025-01-09 22:37:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 22:37:03] Production.INFO: 1
[2025-01-09 22:37:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 22:37:03] Production.INFO: ==12698== Releasing lock...
[2025-01-09 22:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 22:37:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 22:37:03] Production.INFO: Account Balance End.
[2025-01-09 22:37:03] Production.ERROR: CronJobId end 12
[2025-01-09 22:37:03] Production.INFO: ==12694== Releasing lock...
[2025-01-09 22:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 22:37:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 22:37:03] Production.ERROR: done
[2025-01-09 22:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 22:37:03] Production.INFO: ==12690== Releasing lock...
[2025-01-09 22:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 22:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 22:37:03] Production.ERROR: done
[2025-01-09 22:37:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 19:37:04
[end_date_ymd] => 2025-01-09 22:37:04
[RateCDR] => 1
)
[2025-01-09 22:37:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 19:37:04' and `end` < '2025-01-09 22:37:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 22:37:10] Production.ERROR: CronJobId end10
[2025-01-09 22:37:10] Production.INFO: ==12692== Releasing lock...
[2025-01-09 22:37:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 22:37:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 22:37:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 22:37:11] Production.INFO: ============== Balance Warning START===========
[2025-01-09 22:37:11] Production.INFO: ============== Balance Warning END===========
[2025-01-09 22:37:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 22:37:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 22:37:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 22:37:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 22:37:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 22:37:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 22:37:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 22:37:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 22:37:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 22:37:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 22:37:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 22:37:12] Production.INFO: call_cost start
[2025-01-09 22:37:12] Production.INFO: call_cost end
[2025-01-09 22:37:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 22:37:12] Production.INFO: ============== Report Schedule START===========
[2025-01-09 22:37:12] Production.INFO: ============== Report Schedule END===========
[2025-01-09 22:37:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 22:37:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 22:37:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 22:37:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 22:37:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 22:37:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 22:37:13] Production.INFO: ==12688== Releasing lock...
[2025-01-09 22:37:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 22:37:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 22:37:18] Production.INFO: count ==779
[2025-01-09 22:37:18] Production.ERROR: pbx CDR StartTime 2025-01-09 19:37:04 - End Time 2025-01-09 22:37:04
[2025-01-09 22:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 22:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212678', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212678', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212678', 'tblTempVendorCDR_20' ) start
[2025-01-09 22:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212678', 'tblTempVendorCDR_20' ) end
[2025-01-09 22:37:18] Production.INFO: ProcessCDR(1,14212678,1,1,2)
[2025-01-09 22:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212678,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:37:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212678,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:37:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212678,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:37:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212678,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:37:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212678', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:37:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212678', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:37:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:37:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:37:23] Production.INFO: ==12696== Releasing lock...
[2025-01-09 22:37:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 22:37:23] Production.INFO: 33 MB #Memory Used#
[2025-01-10 03:38:01] Production.INFO: ==12756== Lock acquired, processing the job...
[2025-01-10 03:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 03:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 03:38:01] Production.INFO: neon service started
[2025-01-10 03:38:01] Production.INFO: neon service started
[2025-01-10 03:38:01] Production.INFO: ==12756== Releasing lock...
[2025-01-10 03:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 03:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 22:38:02] Production.INFO: ==12758== Lock acquired, processing the job...
[2025-01-09 22:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 03:38:02] Production.INFO: ==12760== Lock acquired, processing the job...
[2025-01-10 03:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 03:38:02] Production.INFO: ==12760== Releasing lock...
[2025-01-10 03:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 03:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 22:38:02] Production.INFO: ==12758== Releasing lock...
[2025-01-09 22:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 22:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 22:38:03] Production.INFO: ==12767== Lock acquired, processing the job...
[2025-01-09 22:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 22:38:03] Production.INFO: ==12773== Lock acquired, processing the job...
[2025-01-09 22:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 22:38:03] Production.INFO: ==12763== Lock acquired, processing the job...
[2025-01-09 22:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 22:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 22:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 22:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 22:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 22:38:03] Production.INFO: ==12765== Lock acquired, processing the job...
[2025-01-09 22:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 22:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 22:38:03] Production.INFO: count ==21
[2025-01-09 22:38:03] Production.INFO: ==12769== Lock acquired, processing the job...
[2025-01-09 22:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 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-01-09 22:38:03] Production.INFO: count ==21
[2025-01-09 22:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212679') start
[2025-01-09 22:38:03] Production.INFO: ==12771== Lock acquired, processing the job...
[2025-01-09 22:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 22:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212679') end
[2025-01-09 22:38:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 22:38:03] Production.INFO: 1
[2025-01-09 22:38:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 22:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:38:04] Production.INFO: Account Balance Start.
[2025-01-09 22:38:04] Production.INFO: CreateAllLog Start
[2025-01-09 22:38:04] Production.INFO: 117
[2025-01-09 22:38:04] Production.INFO: Date 2025-01-08
[2025-01-09 22:38:04] Production.INFO: Reseller ==> 0
[2025-01-09 22:38:04] Production.INFO: ==12773== Releasing lock...
[2025-01-09 22:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 22:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 22:38:04] Production.INFO: ==12765== Releasing lock...
[2025-01-09 22:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 22:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 22:38:04] Production.INFO: Date 2025-01-09
[2025-01-09 22:38:04] Production.INFO: Reseller ==> 0
[2025-01-09 22:38:04] Production.INFO: Total Charge 0
[2025-01-09 22:38:04] Production.ERROR: done
[2025-01-09 22:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 22:38:04] Production.INFO: CreateAllLog End
[2025-01-09 22:38:04] Production.ERROR: done
[2025-01-09 22:38:04] Production.INFO: Account Balance End.
[2025-01-09 22:38:04] Production.ERROR: CronJobId end 12
[2025-01-09 22:38:04] Production.INFO: ==12769== Releasing lock...
[2025-01-09 22:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 22:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 22:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 19:38:05
[end_date_ymd] => 2025-01-09 22:38:05
[RateCDR] => 1
)
[2025-01-09 22:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 19:38:05' and `end` < '2025-01-09 22:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 22:38:11] Production.ERROR: CronJobId end10
[2025-01-09 22:38:11] Production.INFO: ==12767== Releasing lock...
[2025-01-09 22:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 22:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 22:38:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 22:38:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 22:38:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 22:38:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 22:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 22:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 22:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 22:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 22:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 22:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 22:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 22:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 22:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 22:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 22:38:13] Production.INFO: call_cost start
[2025-01-09 22:38:13] Production.INFO: call_cost end
[2025-01-09 22:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 22:38:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 22:38:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 22:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 22:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 22:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 22:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 22:38:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 22:38:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 22:38:14] Production.INFO: ==12763== Releasing lock...
[2025-01-09 22:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 22:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 22:38:20] Production.INFO: count ==778
[2025-01-09 22:38:20] Production.ERROR: pbx CDR StartTime 2025-01-09 19:38:05 - End Time 2025-01-09 22:38:05
[2025-01-09 22:38:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 22:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212683', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212683', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212683', 'tblTempVendorCDR_20' ) start
[2025-01-09 22:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212683', 'tblTempVendorCDR_20' ) end
[2025-01-09 22:38:20] Production.INFO: ProcessCDR(1,14212683,1,1,2)
[2025-01-09 22:38:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212683,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:38:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212683,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:38:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212683,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:38:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212683,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212683', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212683', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:38:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:38:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:38:23] Production.INFO: ==12771== Releasing lock...
[2025-01-09 22:38:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 22:38:23] Production.INFO: 33 MB #Memory Used#
[2025-01-10 03:39:02] Production.INFO: ==12827== Lock acquired, processing the job...
[2025-01-10 03:39:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 03:39:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 03:39:02] Production.INFO: neon service started
[2025-01-10 03:39:02] Production.INFO: neon service started
[2025-01-10 03:39:02] Production.INFO: ==12827== Releasing lock...
[2025-01-10 03:39:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 03:39:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 22:39:03] Production.INFO: ==12830== Lock acquired, processing the job...
[2025-01-09 22:39:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 03:39:03] Production.INFO: ==12832== Lock acquired, processing the job...
[2025-01-10 03:39:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 03:39:03] Production.INFO: ==12832== Releasing lock...
[2025-01-10 03:39:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 03:39:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 22:39:03] Production.INFO: ==12830== Releasing lock...
[2025-01-09 22:39:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 22:39:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 22:39:04] Production.INFO: ==12834== Lock acquired, processing the job...
[2025-01-09 22:39:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 22:39:04] Production.INFO: ==12836== Lock acquired, processing the job...
[2025-01-09 22:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 22:39:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 22:39:04] Production.INFO: ==12840== Lock acquired, processing the job...
[2025-01-09 22:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 22:39:04] Production.INFO: Account Balance Start.
[2025-01-09 22:39:04] Production.INFO: CreateAllLog Start
[2025-01-09 22:39:04] Production.INFO: 117
[2025-01-09 22:39:04] Production.INFO: Date 2025-01-08
[2025-01-09 22:39:04] Production.INFO: Reseller ==> 0
[2025-01-09 22:39:04] Production.INFO: ==12836== Releasing lock...
[2025-01-09 22:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 22:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 22:39:04] Production.INFO: Date 2025-01-09
[2025-01-09 22:39:04] Production.INFO: Reseller ==> 0
[2025-01-09 22:39:04] Production.INFO: ==12838== Lock acquired, processing the job...
[2025-01-09 22:39:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 22:39:04] Production.INFO: Total Charge 0
[2025-01-09 22:39:04] Production.INFO: CreateAllLog End
[2025-01-09 22:39:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 22:39:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 22:39:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 22:39:04] Production.INFO: ==12844== Lock acquired, processing the job...
[2025-01-09 22:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 22:39:04] Production.INFO: ==12842== Lock acquired, processing the job...
[2025-01-09 22:39:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 22:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 22:39:04] Production.INFO: Account Balance End.
[2025-01-09 22:39:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:39:04] Production.ERROR: CronJobId end 12
[2025-01-09 22:39:04] Production.INFO: ==12840== Releasing lock...
[2025-01-09 22:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 22:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 22:39:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:39:04] Production.INFO: count ==21
[2025-01-09 22:39:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:39:05] Production.INFO: count ==21
[2025-01-09 22:39:05] Production.ERROR: PBX CALL prc_importPBXExtension('14212687') start
[2025-01-09 22:39:05] Production.ERROR: done
[2025-01-09 22:39:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 22:39:05] Production.ERROR: PBX CALL prc_importPBXExtension('14212687') end
[2025-01-09 22:39:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 22:39:05] Production.INFO: 1
[2025-01-09 22:39:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 22:39:05] Production.INFO: ==12844== Releasing lock...
[2025-01-09 22:39:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 22:39:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 22:39:05] Production.ERROR: done
[2025-01-09 22:39:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 19:39:06
[end_date_ymd] => 2025-01-09 22:39:06
[RateCDR] => 1
)
[2025-01-09 22:39:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 19:39:06' and `end` < '2025-01-09 22:39:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 22:39:13] Production.ERROR: CronJobId end10
[2025-01-09 22:39:13] Production.INFO: ==12838== Releasing lock...
[2025-01-09 22:39:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 22:39:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 22:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 22:39:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 22:39:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 22:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 22:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 22:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 22:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 22:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 22:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 22:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 22:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 22:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 22:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 22:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 22:39:13] Production.INFO: call_cost start
[2025-01-09 22:39:13] Production.INFO: call_cost end
[2025-01-09 22:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 22:39:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 22:39:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 22:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 22:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 22:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 22:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 22:39:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 22:39:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 22:39:14] Production.INFO: ==12834== Releasing lock...
[2025-01-09 22:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 22:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 22:39:21] Production.INFO: count ==765
[2025-01-09 22:39:21] Production.ERROR: pbx CDR StartTime 2025-01-09 19:39:06 - End Time 2025-01-09 22:39:06
[2025-01-09 22:39:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 22:39:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212688', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:39:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212688', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:39:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212688', 'tblTempVendorCDR_20' ) start
[2025-01-09 22:39:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212688', 'tblTempVendorCDR_20' ) end
[2025-01-09 22:39:21] Production.INFO: ProcessCDR(1,14212688,1,1,2)
[2025-01-09 22:39:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212688,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:39:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212688,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:39:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212688,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:39:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212688,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:39:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212688', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:39:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212688', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:39:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:39:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:39:24] Production.INFO: ==12842== Releasing lock...
[2025-01-09 22:39:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 22:39:24] Production.INFO: 33 MB #Memory Used#
[2025-01-10 03:40:01] Production.INFO: ==12897== Lock acquired, processing the job...
[2025-01-10 03:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 03:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 03:40:01] Production.INFO: neon service started
[2025-01-10 03:40:02] Production.INFO: neon service started
[2025-01-10 03:40:02] Production.INFO: ==12897== Releasing lock...
[2025-01-10 03:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 03:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 22:40:02] Production.INFO: ==12899== Lock acquired, processing the job...
[2025-01-09 22:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 22:40:02] Production.INFO: ==12899== Releasing lock...
[2025-01-09 22:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 22:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 03:40:02] Production.INFO: ==12901== Lock acquired, processing the job...
[2025-01-10 03:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 03:40:03] Production.INFO: ==12901== Releasing lock...
[2025-01-10 03:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 03:40:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 22:40:03] Production.INFO: ==12903== Lock acquired, processing the job...
[2025-01-09 22:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 22:40:03] Production.INFO: ==12905== Lock acquired, processing the job...
[2025-01-09 22:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 22:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 22:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 22:40:03] Production.ERROR: CronJob PID - 12905
[2025-01-09 22:40:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-09 22:40:03] Production.ERROR: CronJob ID - 5
[2025-01-09 22:40:03] Production.ERROR: CronJob Last Run Time 2025-01-09 22:40:00
[2025-01-09 22:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 22:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 22:40:03] Production.INFO: ==12909== Lock acquired, processing the job...
[2025-01-09 22:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 22:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 22:40:03] Production.INFO: ==12903== Releasing lock...
[2025-01-09 22:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 22:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 22:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 22:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 22:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 22:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 22:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 22:40:03] Production.INFO: ==12913== Lock acquired, processing the job...
[2025-01-09 22:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 22:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:40:03] Production.INFO: ==12907== Lock acquired, processing the job...
[2025-01-09 22:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 22:40:04] Production.ERROR: done
[2025-01-09 22:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 22:40:04] Production.INFO: ==12911== Lock acquired, processing the job...
[2025-01-09 22:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 22:40:04] Production.INFO: ==12915== Lock acquired, processing the job...
[2025-01-09 22:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 22:40:04] Production.ERROR: done
[2025-01-09 22:40:04] Production.INFO: ==12917== Lock acquired, processing the job...
[2025-01-09 22:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 22:40:04] Production.INFO: Account Balance Start.
[2025-01-09 22:40:04] Production.INFO: CreateAllLog Start
[2025-01-09 22:40:04] Production.INFO: 117
[2025-01-09 22:40:04] Production.INFO: Date 2025-01-08
[2025-01-09 22:40:04] Production.INFO: Reseller ==> 0
[2025-01-09 22:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:40:04] Production.INFO: Date 2025-01-09
[2025-01-09 22:40:04] Production.INFO: Reseller ==> 0
[2025-01-09 22:40:04] Production.INFO: Total Charge 0
[2025-01-09 22:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:40:04] Production.INFO: CreateAllLog End
[2025-01-09 22:40:04] Production.INFO: count ==21
[2025-01-09 22:40:04] Production.INFO: ==12907== Releasing lock...
[2025-01-09 22:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 22:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 22:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:40:04] Production.INFO: count ==21
[2025-01-09 22:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212693') start
[2025-01-09 22:40:04] Production.ERROR: done
[2025-01-09 22:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212693') end
[2025-01-09 22:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 22:40:04] Production.INFO: 1
[2025-01-09 22:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 22:40:04] Production.INFO: ==12917== Releasing lock...
[2025-01-09 22:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 22:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 22:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 22:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14212694', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 22:40:04] Production.INFO: Account Balance End.
[2025-01-09 22:40:04] Production.ERROR: CronJobId end 12
[2025-01-09 22:40:04] Production.INFO: ==12911== Releasing lock...
[2025-01-09 22:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 22:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 22:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 19:40:05
[end_date_ymd] => 2025-01-09 22:40:05
[RateCDR] => 1
)
[2025-01-09 22:40:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 19:40:05' and `end` < '2025-01-09 22:40:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 22:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14212694', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 22:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 22:40:08] Production.INFO: ProcessCDR(1,14212694,1,1,2)
[2025-01-09 22:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14212694,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14212694,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:40:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:40:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:40:08] Production.INFO: ==12915== Releasing lock...
[2025-01-09 22:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 22:40:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 22:40:13] Production.ERROR: CronJobId end10
[2025-01-09 22:40:13] Production.INFO: ==12909== Releasing lock...
[2025-01-09 22:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 22:40:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 22:40:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 22:40:15] Production.INFO: ============== Balance Warning START===========
[2025-01-09 22:40:15] Production.INFO: ============== Balance Warning END===========
[2025-01-09 22:40:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 22:40:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 22:40:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 22:40:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 22:40:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 22:40:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 22:40:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 22:40:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 22:40:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 22:40:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 22:40:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 22:40:15] Production.INFO: call_cost start
[2025-01-09 22:40:15] Production.INFO: call_cost end
[2025-01-09 22:40:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 22:40:16] Production.INFO: ============== Report Schedule START===========
[2025-01-09 22:40:16] Production.INFO: ============== Report Schedule END===========
[2025-01-09 22:40:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 22:40:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 22:40:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 22:40:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 22:40:16] Production.INFO: ============== Deal alert START===========
[2025-01-09 22:40:16] Production.INFO: ============== Deal alert END===========
[2025-01-09 22:40:16] Production.INFO: ==12905== Releasing lock...
[2025-01-09 22:40:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 22:40:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 22:40:18] Production.INFO: count ==764
[2025-01-09 22:40:18] Production.ERROR: pbx CDR StartTime 2025-01-09 19:40:05 - End Time 2025-01-09 22:40:05
[2025-01-09 22:40:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 22:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212692', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212692', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212692', 'tblTempVendorCDR_20' ) start
[2025-01-09 22:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212692', 'tblTempVendorCDR_20' ) end
[2025-01-09 22:40:18] Production.INFO: ProcessCDR(1,14212692,1,1,2)
[2025-01-09 22:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212692,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212692,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212692,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:40:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212692,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212692', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212692', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:40:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:40:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:40:21] Production.INFO: ==12913== Releasing lock...
[2025-01-09 22:40:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 22:40:21] Production.INFO: 33 MB #Memory Used#
[2025-01-10 03:41:01] Production.INFO: ==12971== Lock acquired, processing the job...
[2025-01-10 03:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 03:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 03:41:01] Production.INFO: neon service started
[2025-01-10 03:41:01] Production.INFO: neon service started
[2025-01-10 03:41:01] Production.INFO: ==12971== Releasing lock...
[2025-01-10 03:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 03:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:41:01] Production.INFO: ==12975== Lock acquired, processing the job...
[2025-01-10 03:41:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 03:41:01] Production.INFO: ==12975== Releasing lock...
[2025-01-10 03:41:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 03:41:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 22:41:01] Production.INFO: ==12973== Lock acquired, processing the job...
[2025-01-09 22:41:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 22:41:02] Production.INFO: ==12973== Releasing lock...
[2025-01-09 22:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 22:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 22:41:02] Production.INFO: ==12977== Lock acquired, processing the job...
[2025-01-09 22:41:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 22:41:02] Production.INFO: ==12981== Lock acquired, processing the job...
[2025-01-09 22:41:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 22:41:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 22:41:02] Production.INFO: ==12985== Lock acquired, processing the job...
[2025-01-09 22:41:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 22:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 22:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 22:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 22:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 22:41:03] Production.INFO: ==12983== Lock acquired, processing the job...
[2025-01-09 22:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 22:41:03] Production.INFO: ==12979== Lock acquired, processing the job...
[2025-01-09 22:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 22:41:03] Production.INFO: ==12987== Lock acquired, processing the job...
[2025-01-09 22:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 22:41:03] Production.ERROR: done
[2025-01-09 22:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 22:41:03] Production.INFO: Account Balance Start.
[2025-01-09 22:41:03] Production.INFO: CreateAllLog Start
[2025-01-09 22:41:03] Production.INFO: 117
[2025-01-09 22:41:03] Production.INFO: Date 2025-01-08
[2025-01-09 22:41:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:41:03] Production.INFO: Date 2025-01-09
[2025-01-09 22:41:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:41:03] Production.INFO: ==12979== Releasing lock...
[2025-01-09 22:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 22:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 22:41:03] Production.INFO: count ==21
[2025-01-09 22:41:03] Production.ERROR: done
[2025-01-09 22:41:03] Production.INFO: Total Charge 0
[2025-01-09 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-01-09 22:41:03] Production.INFO: count ==21
[2025-01-09 22:41:03] Production.INFO: CreateAllLog End
[2025-01-09 22:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212698') start
[2025-01-09 22:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212698') end
[2025-01-09 22:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 22:41:03] Production.INFO: 1
[2025-01-09 22:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 22:41:03] Production.INFO: Account Balance End.
[2025-01-09 22:41:03] Production.ERROR: CronJobId end 12
[2025-01-09 22:41:03] Production.INFO: ==12983== Releasing lock...
[2025-01-09 22:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 22:41:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 22:41:03] Production.INFO: ==12987== Releasing lock...
[2025-01-09 22:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 22:41:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 22:41:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 19:41:04
[end_date_ymd] => 2025-01-09 22:41:04
[RateCDR] => 1
)
[2025-01-09 22:41:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 19:41:04' and `end` < '2025-01-09 22:41:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 22:41:12] Production.ERROR: CronJobId end10
[2025-01-09 22:41:12] Production.INFO: ==12981== Releasing lock...
[2025-01-09 22:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 22:41:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 22:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 22:41:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 22:41:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 22:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 22:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 22:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 22:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 22:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 22:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 22:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 22:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 22:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 22:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 22:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 22:41:13] Production.INFO: call_cost start
[2025-01-09 22:41:13] Production.INFO: call_cost end
[2025-01-09 22:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 22:41:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 22:41:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 22:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 22:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 22:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 22:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 22:41:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 22:41:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 22:41:14] Production.INFO: ==12977== Releasing lock...
[2025-01-09 22:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 22:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 22:41:18] Production.INFO: count ==737
[2025-01-09 22:41:18] Production.ERROR: pbx CDR StartTime 2025-01-09 19:41:04 - End Time 2025-01-09 22:41:04
[2025-01-09 22:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 22:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212699', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212699', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212699', 'tblTempVendorCDR_20' ) start
[2025-01-09 22:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212699', 'tblTempVendorCDR_20' ) end
[2025-01-09 22:41:18] Production.INFO: ProcessCDR(1,14212699,1,1,2)
[2025-01-09 22:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212699,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212699,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212699,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:41:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212699,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212699', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212699', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:41:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:41:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:41:22] Production.INFO: ==12985== Releasing lock...
[2025-01-09 22:41:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 22:41:22] Production.INFO: 33 MB #Memory Used#
[2025-01-10 03:42:01] Production.INFO: ==13080== Lock acquired, processing the job...
[2025-01-10 03:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 03:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 03:42:01] Production.INFO: neon service started
[2025-01-10 03:42:01] Production.INFO: neon service started
[2025-01-10 03:42:01] Production.INFO: ==13080== Releasing lock...
[2025-01-10 03:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 03:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 22:42:02] Production.INFO: ==13082== Lock acquired, processing the job...
[2025-01-09 22:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 03:42:02] Production.INFO: ==13084== Lock acquired, processing the job...
[2025-01-10 03:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 22:42:02] Production.INFO: ==13082== Releasing lock...
[2025-01-09 22:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 22:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 03:42:02] Production.INFO: ==13084== Releasing lock...
[2025-01-10 03:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 03:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 22:42:03] Production.INFO: ==13091== Lock acquired, processing the job...
[2025-01-09 22:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 22:42:03] Production.INFO: ==13097== Lock acquired, processing the job...
[2025-01-09 22:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 22:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 22:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 22:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 22:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 22:42:03] Production.INFO: ==13087== Lock acquired, processing the job...
[2025-01-09 22:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 22:42:03] Production.INFO: ==13089== Lock acquired, processing the job...
[2025-01-09 22:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 22:42:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:42:03] Production.INFO: ==13093== Lock acquired, processing the job...
[2025-01-09 22:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 22:42:03] Production.INFO: count ==21
[2025-01-09 22:42:03] Production.INFO: ==13095== Lock acquired, processing the job...
[2025-01-09 22:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 22:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 22:42:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:42:03] Production.INFO: count ==21
[2025-01-09 22:42:03] Production.INFO: Account Balance Start.
[2025-01-09 22:42:03] Production.INFO: CreateAllLog Start
[2025-01-09 22:42:03] Production.INFO: 117
[2025-01-09 22:42:03] Production.INFO: Date 2025-01-08
[2025-01-09 22:42:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212700') start
[2025-01-09 22:42:03] Production.INFO: Date 2025-01-09
[2025-01-09 22:42:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:42:03] Production.INFO: Total Charge 0
[2025-01-09 22:42:03] Production.INFO: CreateAllLog End
[2025-01-09 22:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212700') end
[2025-01-09 22:42:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 22:42:03] Production.INFO: 1
[2025-01-09 22:42:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 22:42:03] Production.INFO: ==13097== Releasing lock...
[2025-01-09 22:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 22:42:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 22:42:04] Production.ERROR: done
[2025-01-09 22:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 22:42:04] Production.INFO: ==13089== Releasing lock...
[2025-01-09 22:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 22:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 22:42:04] Production.INFO: Account Balance End.
[2025-01-09 22:42:04] Production.ERROR: CronJobId end 12
[2025-01-09 22:42:04] Production.INFO: ==13093== Releasing lock...
[2025-01-09 22:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 22:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 22:42:04] Production.ERROR: done
[2025-01-09 22:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 19:42:05
[end_date_ymd] => 2025-01-09 22:42:05
[RateCDR] => 1
)
[2025-01-09 22:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 19:42:05' and `end` < '2025-01-09 22:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 22:42:11] Production.ERROR: CronJobId end10
[2025-01-09 22:42:11] Production.INFO: ==13091== Releasing lock...
[2025-01-09 22:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 22:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 22:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 22:42:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 22:42:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 22:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 22:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 22:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 22:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 22:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 22:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 22:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 22:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 22:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 22:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 22:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 22:42:14] Production.INFO: call_cost start
[2025-01-09 22:42:14] Production.INFO: call_cost end
[2025-01-09 22:42:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 22:42:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 22:42:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 22:42:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 22:42:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 22:42:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 22:42:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 22:42:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 22:42:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 22:42:15] Production.INFO: ==13087== Releasing lock...
[2025-01-09 22:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 22:42:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 22:42:19] Production.INFO: count ==733
[2025-01-09 22:42:19] Production.ERROR: pbx CDR StartTime 2025-01-09 19:42:05 - End Time 2025-01-09 22:42:05
[2025-01-09 22:42:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 22:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212704', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212704', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212704', 'tblTempVendorCDR_20' ) start
[2025-01-09 22:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212704', 'tblTempVendorCDR_20' ) end
[2025-01-09 22:42:19] Production.INFO: ProcessCDR(1,14212704,1,1,2)
[2025-01-09 22:42:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212704,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:42:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212704,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:42:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212704,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212704,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212704', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212704', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:42:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:42:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:42:22] Production.INFO: ==13095== Releasing lock...
[2025-01-09 22:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 22:42:22] Production.INFO: 33 MB #Memory Used#
[2025-01-10 03:43:02] Production.INFO: ==13150== Lock acquired, processing the job...
[2025-01-10 03:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 03:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 03:43:02] Production.INFO: neon service started
[2025-01-10 03:43:02] Production.INFO: neon service started
[2025-01-10 03:43:02] Production.INFO: ==13150== Releasing lock...
[2025-01-10 03:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 03:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 22:43:02] Production.INFO: ==13153== Lock acquired, processing the job...
[2025-01-09 22:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 03:43:02] Production.INFO: ==13155== Lock acquired, processing the job...
[2025-01-10 03:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 03:43:02] Production.INFO: ==13155== Releasing lock...
[2025-01-10 03:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 03:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 22:43:03] Production.INFO: ==13153== Releasing lock...
[2025-01-09 22:43:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 22:43:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 22:43:04] Production.INFO: ==13157== Lock acquired, processing the job...
[2025-01-09 22:43:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 22:43:04] Production.INFO: ==13159== Lock acquired, processing the job...
[2025-01-09 22:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 22:43:04] Production.INFO: ==13163== Lock acquired, processing the job...
[2025-01-09 22:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 22:43:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 22:43:04] Production.INFO: ==13161== Lock acquired, processing the job...
[2025-01-09 22:43:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 22:43:04] Production.INFO: Account Balance Start.
[2025-01-09 22:43:04] Production.INFO: CreateAllLog Start
[2025-01-09 22:43:04] Production.INFO: 117
[2025-01-09 22:43:04] Production.INFO: Date 2025-01-08
[2025-01-09 22:43:04] Production.INFO: Reseller ==> 0
[2025-01-09 22:43:04] Production.INFO: ==13167== Lock acquired, processing the job...
[2025-01-09 22:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 22:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 22:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 22:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 22:43:04] Production.INFO: Date 2025-01-09
[2025-01-09 22:43:04] Production.INFO: Reseller ==> 0
[2025-01-09 22:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 22:43:04] Production.INFO: Total Charge 0
[2025-01-09 22:43:04] Production.INFO: ==13165== Lock acquired, processing the job...
[2025-01-09 22:43:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 22:43:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:43:04] Production.INFO: CreateAllLog End
[2025-01-09 22:43:04] Production.INFO: count ==21
[2025-01-09 22:43:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:43:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:43:04] Production.INFO: count ==21
[2025-01-09 22:43:04] Production.INFO: ==13159== Releasing lock...
[2025-01-09 22:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 22:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 22:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212708') start
[2025-01-09 22:43:04] Production.INFO: Account Balance End.
[2025-01-09 22:43:04] Production.ERROR: CronJobId end 12
[2025-01-09 22:43:04] Production.INFO: ==13163== Releasing lock...
[2025-01-09 22:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 22:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 22:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212708') end
[2025-01-09 22:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 22:43:04] Production.INFO: 1
[2025-01-09 22:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 22:43:04] Production.INFO: ==13167== Releasing lock...
[2025-01-09 22:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 22:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 22:43:04] Production.ERROR: done
[2025-01-09 22:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 22:43:05] Production.ERROR: done
[2025-01-09 22:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 19:43:05
[end_date_ymd] => 2025-01-09 22:43:05
[RateCDR] => 1
)
[2025-01-09 22:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 19:43:05' and `end` < '2025-01-09 22:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 22:43:11] Production.ERROR: CronJobId end10
[2025-01-09 22:43:11] Production.INFO: ==13161== Releasing lock...
[2025-01-09 22:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 22:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 22:43:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 22:43:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 22:43:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 22:43:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 22:43:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 22:43:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 22:43:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 22:43:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 22:43:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 22:43:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 22:43:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 22:43:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 22:43:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 22:43:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 22:43:13] Production.INFO: call_cost start
[2025-01-09 22:43:13] Production.INFO: call_cost end
[2025-01-09 22:43:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 22:43:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 22:43:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 22:43:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 22:43:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 22:43:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 22:43:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 22:43:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 22:43:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 22:43:14] Production.INFO: ==13157== Releasing lock...
[2025-01-09 22:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 22:43:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 22:43:20] Production.INFO: count ==725
[2025-01-09 22:43:20] Production.ERROR: pbx CDR StartTime 2025-01-09 19:43:05 - End Time 2025-01-09 22:43:05
[2025-01-09 22:43:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 22:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212709', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212709', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212709', 'tblTempVendorCDR_20' ) start
[2025-01-09 22:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212709', 'tblTempVendorCDR_20' ) end
[2025-01-09 22:43:20] Production.INFO: ProcessCDR(1,14212709,1,1,2)
[2025-01-09 22:43:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212709,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:43:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212709,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:43:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212709,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:43:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212709,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212709', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212709', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:43:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:43:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:43:23] Production.INFO: ==13165== Releasing lock...
[2025-01-09 22:43:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 22:43:23] Production.INFO: 32.75 MB #Memory Used#
[2025-01-10 03:44:01] Production.INFO: ==13222== Lock acquired, processing the job...
[2025-01-10 03:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 03:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 03:44:01] Production.INFO: neon service started
[2025-01-10 03:44:01] Production.INFO: neon service started
[2025-01-10 03:44:01] Production.INFO: ==13222== Releasing lock...
[2025-01-10 03:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 03:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 22:44:02] Production.INFO: ==13224== Lock acquired, processing the job...
[2025-01-09 22:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 22:44:02] Production.INFO: ==13224== Releasing lock...
[2025-01-09 22:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 22:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 03:44:02] Production.INFO: ==13226== Lock acquired, processing the job...
[2025-01-10 03:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 03:44:02] Production.INFO: ==13226== Releasing lock...
[2025-01-10 03:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 03:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 22:44:03] Production.INFO: ==13229== Lock acquired, processing the job...
[2025-01-09 22:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 22:44:03] Production.INFO: ==13231== Lock acquired, processing the job...
[2025-01-09 22:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 22:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 22:44:03] Production.INFO: ==13233== Lock acquired, processing the job...
[2025-01-09 22:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 22:44:03] Production.INFO: ==13235== Lock acquired, processing the job...
[2025-01-09 22:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 22:44:03] Production.INFO: ==13237== Lock acquired, processing the job...
[2025-01-09 22:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 22:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 22:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 22:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 22:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 22:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:44:03] Production.INFO: ==13239== Lock acquired, processing the job...
[2025-01-09 22:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 22:44:03] Production.INFO: Account Balance Start.
[2025-01-09 22:44:03] Production.INFO: CreateAllLog Start
[2025-01-09 22:44:03] Production.INFO: 117
[2025-01-09 22:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:44:03] Production.INFO: Date 2025-01-08
[2025-01-09 22:44:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:44:03] Production.INFO: count ==21
[2025-01-09 22:44:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:44:03] Production.INFO: ==13231== Releasing lock...
[2025-01-09 22:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 22:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 22:44:03] Production.INFO: count ==21
[2025-01-09 22:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212713') start
[2025-01-09 22:44:03] Production.INFO: Date 2025-01-09
[2025-01-09 22:44:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212713') end
[2025-01-09 22:44:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 22:44:03] Production.INFO: 1
[2025-01-09 22:44:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 22:44:03] Production.INFO: Total Charge 0
[2025-01-09 22:44:03] Production.INFO: CreateAllLog End
[2025-01-09 22:44:04] Production.INFO: ==13239== Releasing lock...
[2025-01-09 22:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 22:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 22:44:04] Production.ERROR: done
[2025-01-09 22:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 22:44:04] Production.INFO: Account Balance End.
[2025-01-09 22:44:04] Production.ERROR: done
[2025-01-09 22:44:04] Production.ERROR: CronJobId end 12
[2025-01-09 22:44:04] Production.INFO: ==13235== Releasing lock...
[2025-01-09 22:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 22:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 22:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 19:44:05
[end_date_ymd] => 2025-01-09 22:44:05
[RateCDR] => 1
)
[2025-01-09 22:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 19:44:05' and `end` < '2025-01-09 22:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 22:44:12] Production.ERROR: CronJobId end10
[2025-01-09 22:44:12] Production.INFO: ==13233== Releasing lock...
[2025-01-09 22:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 22:44:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 22:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 22:44:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 22:44:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 22:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 22:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 22:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 22:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 22:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 22:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 22:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 22:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 22:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 22:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 22:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 22:44:13] Production.INFO: call_cost start
[2025-01-09 22:44:13] Production.INFO: call_cost end
[2025-01-09 22:44:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 22:44:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 22:44:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 22:44:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 22:44:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 22:44:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 22:44:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 22:44:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 22:44:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 22:44:14] Production.INFO: ==13229== Releasing lock...
[2025-01-09 22:44:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 22:44:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 22:44:20] Production.INFO: count ==728
[2025-01-09 22:44:20] Production.ERROR: pbx CDR StartTime 2025-01-09 19:44:05 - End Time 2025-01-09 22:44:05
[2025-01-09 22:44:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 22:44:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212714', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:44:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212714', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:44:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212714', 'tblTempVendorCDR_20' ) start
[2025-01-09 22:44:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212714', 'tblTempVendorCDR_20' ) end
[2025-01-09 22:44:20] Production.INFO: ProcessCDR(1,14212714,1,1,2)
[2025-01-09 22:44:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212714,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:44:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212714,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:44:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212714,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:44:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212714,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:44:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212714', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:44:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212714', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:44:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:44:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:44:23] Production.INFO: ==13237== Releasing lock...
[2025-01-09 22:44:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 22:44:23] Production.INFO: 32.75 MB #Memory Used#
[2025-01-10 03:45:02] Production.INFO: ==13297== Lock acquired, processing the job...
[2025-01-10 03:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 03:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 03:45:02] Production.INFO: neon service started
[2025-01-10 03:45:02] Production.INFO: neon service started
[2025-01-10 03:45:02] Production.INFO: ==13297== Releasing lock...
[2025-01-10 03:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 03:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 22:45:02] Production.INFO: ==13300== Lock acquired, processing the job...
[2025-01-09 22:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 22:45:03] Production.INFO: ==13300== Releasing lock...
[2025-01-09 22:45:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 22:45:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 03:45:03] Production.INFO: ==13302== Lock acquired, processing the job...
[2025-01-10 03:45:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 03:45:03] Production.INFO: ==13302== Releasing lock...
[2025-01-10 03:45:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 03:45:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 22:45:03] Production.INFO: ==13304== Lock acquired, processing the job...
[2025-01-09 22:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 22:45:03] Production.INFO: ==13306== Lock acquired, processing the job...
[2025-01-09 22:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 22:45:04] Production.INFO: ==13310== Lock acquired, processing the job...
[2025-01-09 22:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 22:45:04] Production.INFO: ==13314== Lock acquired, processing the job...
[2025-01-09 22:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 22:45:04] Production.INFO: ==13308== Lock acquired, processing the job...
[2025-01-09 22:45:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 22:45:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 22:45:04] Production.INFO: Account Balance Start.
[2025-01-09 22:45:04] Production.INFO: CreateAllLog Start
[2025-01-09 22:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 22:45:04] Production.INFO: 117
[2025-01-09 22:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 22:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 22:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 22:45:04] Production.INFO: Date 2025-01-08
[2025-01-09 22:45:04] Production.INFO: ==13312== Lock acquired, processing the job...
[2025-01-09 22:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 22:45:04] Production.INFO: Reseller ==> 0
[2025-01-09 22:45:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:45:04] Production.INFO: Date 2025-01-09
[2025-01-09 22:45:04] Production.INFO: Reseller ==> 0
[2025-01-09 22:45:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:45:04] Production.INFO: Total Charge 0
[2025-01-09 22:45:04] Production.INFO: count ==21
[2025-01-09 22:45:04] Production.INFO: CreateAllLog End
[2025-01-09 22:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:45:04] Production.INFO: count ==21
[2025-01-09 22:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212718') start
[2025-01-09 22:45:04] Production.ERROR: done
[2025-01-09 22:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 22:45:04] Production.INFO: ==13306== Releasing lock...
[2025-01-09 22:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 22:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 22:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212718') end
[2025-01-09 22:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 22:45:04] Production.INFO: 1
[2025-01-09 22:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 22:45:04] Production.INFO: Account Balance End.
[2025-01-09 22:45:04] Production.ERROR: CronJobId end 12
[2025-01-09 22:45:04] Production.INFO: ==13314== Releasing lock...
[2025-01-09 22:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 22:45:04] Production.INFO: ==13310== Releasing lock...
[2025-01-09 22:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 22:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 22:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 22:45:04] Production.ERROR: done
[2025-01-09 22:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 19:45:05
[end_date_ymd] => 2025-01-09 22:45:05
[RateCDR] => 1
)
[2025-01-09 22:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 19:45:05' and `end` < '2025-01-09 22:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 22:45:13] Production.ERROR: CronJobId end10
[2025-01-09 22:45:13] Production.INFO: ==13308== Releasing lock...
[2025-01-09 22:45:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 22:45:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 22:45:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 22:45:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 22:45:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 22:45:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 22:45:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 22:45:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 22:45:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 22:45:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 22:45:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 22:45:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 22:45:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 22:45:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 22:45:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 22:45:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 22:45:14] Production.INFO: call_cost start
[2025-01-09 22:45:14] Production.INFO: call_cost end
[2025-01-09 22:45:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 22:45:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 22:45:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 22:45:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 22:45:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 22:45:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 22:45:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 22:45:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 22:45:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 22:45:15] Production.INFO: ==13304== Releasing lock...
[2025-01-09 22:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 22:45:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 22:45:19] Production.INFO: count ==727
[2025-01-09 22:45:19] Production.ERROR: pbx CDR StartTime 2025-01-09 19:45:05 - End Time 2025-01-09 22:45:05
[2025-01-09 22:45:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 22:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212719', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212719', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212719', 'tblTempVendorCDR_20' ) start
[2025-01-09 22:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212719', 'tblTempVendorCDR_20' ) end
[2025-01-09 22:45:19] Production.INFO: ProcessCDR(1,14212719,1,1,2)
[2025-01-09 22:45:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212719,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:45:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212719,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:45:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212719,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:45:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212719,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:45:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212719', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:45:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212719', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:45:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:45:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:45:24] Production.INFO: ==13312== Releasing lock...
[2025-01-09 22:45:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 22:45:24] Production.INFO: 32.75 MB #Memory Used#
[2025-01-10 03:46:02] Production.INFO: ==13368== Lock acquired, processing the job...
[2025-01-10 03:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 03:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 03:46:02] Production.INFO: neon service started
[2025-01-10 03:46:02] Production.INFO: neon service started
[2025-01-10 03:46:02] Production.INFO: ==13368== Releasing lock...
[2025-01-10 03:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 03:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 22:46:02] Production.INFO: ==13370== Lock acquired, processing the job...
[2025-01-09 22:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 03:46:02] Production.INFO: ==13372== Lock acquired, processing the job...
[2025-01-10 03:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 03:46:02] Production.INFO: ==13372== Releasing lock...
[2025-01-10 03:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 03:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 22:46:03] Production.INFO: ==13370== Releasing lock...
[2025-01-09 22:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 22:46:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 22:46:04] Production.INFO: ==13381== Lock acquired, processing the job...
[2025-01-09 22:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 22:46:04] Production.INFO: ==13385== Lock acquired, processing the job...
[2025-01-09 22:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 22:46:04] Production.INFO: Account Balance Start.
[2025-01-09 22:46:04] Production.INFO: CreateAllLog Start
[2025-01-09 22:46:04] Production.INFO: 117
[2025-01-09 22:46:04] Production.INFO: Date 2025-01-08
[2025-01-09 22:46:04] Production.INFO: ==13377== Lock acquired, processing the job...
[2025-01-09 22:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 22:46:04] Production.INFO: Reseller ==> 0
[2025-01-09 22:46:04] Production.INFO: ==13375== Lock acquired, processing the job...
[2025-01-09 22:46:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 22:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:46:04] Production.INFO: Date 2025-01-09
[2025-01-09 22:46:04] Production.INFO: Reseller ==> 0
[2025-01-09 22:46:04] Production.INFO: ==13379== Lock acquired, processing the job...
[2025-01-09 22:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 22:46:04] Production.INFO: count ==21
[2025-01-09 22:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:46:04] Production.INFO: count ==21
[2025-01-09 22:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212721') start
[2025-01-09 22:46:04] Production.INFO: Total Charge 0
[2025-01-09 22:46:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 22:46:04] Production.INFO: CreateAllLog End
[2025-01-09 22:46:04] Production.INFO: ==13383== Lock acquired, processing the job...
[2025-01-09 22:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 22:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 22:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 22:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 22:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 22:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212721') end
[2025-01-09 22:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 22:46:04] Production.INFO: 1
[2025-01-09 22:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 22:46:04] Production.INFO: Account Balance End.
[2025-01-09 22:46:04] Production.ERROR: CronJobId end 12
[2025-01-09 22:46:04] Production.INFO: ==13381== Releasing lock...
[2025-01-09 22:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 22:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 22:46:04] Production.INFO: ==13385== Releasing lock...
[2025-01-09 22:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 22:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 22:46:04] Production.INFO: ==13377== Releasing lock...
[2025-01-09 22:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 22:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 22:46:04] Production.ERROR: done
[2025-01-09 22:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 22:46:04] Production.ERROR: done
[2025-01-09 22:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 19:46:05
[end_date_ymd] => 2025-01-09 22:46:05
[RateCDR] => 1
)
[2025-01-09 22:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 19:46:05' and `end` < '2025-01-09 22:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 22:46:12] Production.ERROR: CronJobId end10
[2025-01-09 22:46:12] Production.INFO: ==13379== Releasing lock...
[2025-01-09 22:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 22:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 22:46:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 22:46:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 22:46:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 22:46:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 22:46:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 22:46:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 22:46:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 22:46:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 22:46:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 22:46:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 22:46:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 22:46:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 22:46:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 22:46:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 22:46:14] Production.INFO: call_cost start
[2025-01-09 22:46:14] Production.INFO: call_cost end
[2025-01-09 22:46:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 22:46:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 22:46:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 22:46:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 22:46:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 22:46:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 22:46:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 22:46:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 22:46:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 22:46:15] Production.INFO: ==13375== Releasing lock...
[2025-01-09 22:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 22:46:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 22:46:19] Production.INFO: count ==729
[2025-01-09 22:46:19] Production.ERROR: pbx CDR StartTime 2025-01-09 19:46:05 - End Time 2025-01-09 22:46:05
[2025-01-09 22:46:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 22:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212724', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212724', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212724', 'tblTempVendorCDR_20' ) start
[2025-01-09 22:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212724', 'tblTempVendorCDR_20' ) end
[2025-01-09 22:46:19] Production.INFO: ProcessCDR(1,14212724,1,1,2)
[2025-01-09 22:46:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212724,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:46:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212724,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:46:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212724,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:46:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212724,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:46:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212724', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:46:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212724', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:46:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:46:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:46:23] Production.INFO: ==13383== Releasing lock...
[2025-01-09 22:46:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 22:46:23] Production.INFO: 32.75 MB #Memory Used#
[2025-01-10 03:47:01] Production.INFO: ==13436== Lock acquired, processing the job...
[2025-01-10 03:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 03:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 03:47:01] Production.INFO: neon service started
[2025-01-10 03:47:01] Production.INFO: neon service started
[2025-01-10 03:47:01] Production.INFO: ==13436== Releasing lock...
[2025-01-10 03:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 03:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 22:47:01] Production.INFO: ==13439== Lock acquired, processing the job...
[2025-01-09 22:47:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 22:47:02] Production.INFO: ==13439== Releasing lock...
[2025-01-09 22:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 22:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 03:47:02] Production.INFO: ==13441== Lock acquired, processing the job...
[2025-01-10 03:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 03:47:02] Production.INFO: ==13441== Releasing lock...
[2025-01-10 03:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 03:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 22:47:03] Production.INFO: ==13449== Lock acquired, processing the job...
[2025-01-09 22:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 22:47:03] Production.INFO: ==13453== Lock acquired, processing the job...
[2025-01-09 22:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 22:47:03] Production.INFO: Account Balance Start.
[2025-01-09 22:47:03] Production.INFO: CreateAllLog Start
[2025-01-09 22:47:03] Production.INFO: 117
[2025-01-09 22:47:03] Production.INFO: Date 2025-01-08
[2025-01-09 22:47:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:47:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:47:03] Production.INFO: Date 2025-01-09
[2025-01-09 22:47:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:47:03] Production.INFO: count ==21
[2025-01-09 22:47:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:47:03] Production.INFO: count ==21
[2025-01-09 22:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212726') start
[2025-01-09 22:47:03] Production.INFO: ==13445== Lock acquired, processing the job...
[2025-01-09 22:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 22:47:03] Production.INFO: ==13443== Lock acquired, processing the job...
[2025-01-09 22:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 22:47:03] Production.INFO: Total Charge 0
[2025-01-09 22:47:03] Production.INFO: CreateAllLog End
[2025-01-09 22:47:03] Production.INFO: ==13451== Lock acquired, processing the job...
[2025-01-09 22:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 22:47:03] Production.INFO: ==13447== Lock acquired, processing the job...
[2025-01-09 22:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 22:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212726') end
[2025-01-09 22:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 22:47:03] Production.INFO: 1
[2025-01-09 22:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 22:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 22:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:47:03] Production.INFO: Account Balance End.
[2025-01-09 22:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 22:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 22:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 22:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 22:47:03] Production.ERROR: CronJobId end 12
[2025-01-09 22:47:03] Production.INFO: ==13449== Releasing lock...
[2025-01-09 22:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 22:47:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 22:47:03] Production.INFO: ==13453== Releasing lock...
[2025-01-09 22:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 22:47:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 22:47:03] Production.INFO: ==13445== Releasing lock...
[2025-01-09 22:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 22:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 22:47:03] Production.ERROR: done
[2025-01-09 22:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 22:47:03] Production.ERROR: done
[2025-01-09 22:47:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 19:47:04
[end_date_ymd] => 2025-01-09 22:47:04
[RateCDR] => 1
)
[2025-01-09 22:47:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 19:47:04' and `end` < '2025-01-09 22:47:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 22:47:12] Production.ERROR: CronJobId end10
[2025-01-09 22:47:12] Production.INFO: ==13447== Releasing lock...
[2025-01-09 22:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 22:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 22:47:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 22:47:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 22:47:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 22:47:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 22:47:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 22:47:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 22:47:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 22:47:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 22:47:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 22:47:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 22:47:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 22:47:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 22:47:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 22:47:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 22:47:13] Production.INFO: call_cost start
[2025-01-09 22:47:13] Production.INFO: call_cost end
[2025-01-09 22:47:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 22:47:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 22:47:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 22:47:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 22:47:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 22:47:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 22:47:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 22:47:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 22:47:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 22:47:14] Production.INFO: ==13443== Releasing lock...
[2025-01-09 22:47:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 22:47:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 22:47:17] Production.INFO: count ==729
[2025-01-09 22:47:18] Production.ERROR: pbx CDR StartTime 2025-01-09 19:47:04 - End Time 2025-01-09 22:47:04
[2025-01-09 22:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 22:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212729', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212729', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212729', 'tblTempVendorCDR_20' ) start
[2025-01-09 22:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212729', 'tblTempVendorCDR_20' ) end
[2025-01-09 22:47:18] Production.INFO: ProcessCDR(1,14212729,1,1,2)
[2025-01-09 22:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212729,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212729,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212729,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212729,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212729', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212729', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:47:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:47:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:47:21] Production.INFO: ==13451== Releasing lock...
[2025-01-09 22:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 22:47:21] Production.INFO: 32.75 MB #Memory Used#
[2025-01-10 03:48:02] Production.INFO: ==13507== Lock acquired, processing the job...
[2025-01-10 03:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 03:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 03:48:02] Production.INFO: neon service started
[2025-01-10 03:48:02] Production.INFO: neon service started
[2025-01-10 03:48:02] Production.INFO: ==13507== Releasing lock...
[2025-01-10 03:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 03:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:48:02] Production.INFO: ==13511== Lock acquired, processing the job...
[2025-01-10 03:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 03:48:02] Production.INFO: ==13511== Releasing lock...
[2025-01-10 03:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 03:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 22:48:02] Production.INFO: ==13509== Lock acquired, processing the job...
[2025-01-09 22:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 22:48:02] Production.INFO: ==13509== Releasing lock...
[2025-01-09 22:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 22:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 22:48:03] Production.INFO: ==13514== Lock acquired, processing the job...
[2025-01-09 22:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 22:48:03] Production.INFO: ==13520== Lock acquired, processing the job...
[2025-01-09 22:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 22:48:03] Production.INFO: ==13524== Lock acquired, processing the job...
[2025-01-09 22:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 22:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 22:48:03] Production.INFO: ==13516== Lock acquired, processing the job...
[2025-01-09 22:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 22:48:03] Production.INFO: Account Balance Start.
[2025-01-09 22:48:03] Production.INFO: CreateAllLog Start
[2025-01-09 22:48:03] Production.INFO: 117
[2025-01-09 22:48:03] Production.INFO: Date 2025-01-08
[2025-01-09 22:48:03] Production.INFO: ==13518== Lock acquired, processing the job...
[2025-01-09 22:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 22:48:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:48:03] Production.INFO: Date 2025-01-09
[2025-01-09 22:48:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:48:03] Production.INFO: Total Charge 0
[2025-01-09 22:48:03] Production.INFO: ==13522== Lock acquired, processing the job...
[2025-01-09 22:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 22:48:03] Production.INFO: CreateAllLog End
[2025-01-09 22:48:03] Production.INFO: count ==21
[2025-01-09 22:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:48:04] Production.INFO: count ==21
[2025-01-09 22:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 22:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 22:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 22:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 22:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212732') start
[2025-01-09 22:48:04] Production.INFO: ==13516== Releasing lock...
[2025-01-09 22:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 22:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 22:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212732') end
[2025-01-09 22:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 22:48:04] Production.INFO: 1
[2025-01-09 22:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 22:48:04] Production.INFO: Account Balance End.
[2025-01-09 22:48:04] Production.INFO: ==13524== Releasing lock...
[2025-01-09 22:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 22:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 22:48:04] Production.ERROR: done
[2025-01-09 22:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 22:48:04] Production.ERROR: CronJobId end 12
[2025-01-09 22:48:04] Production.INFO: ==13520== Releasing lock...
[2025-01-09 22:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 22:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 22:48:04] Production.ERROR: done
[2025-01-09 22:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 19:48:05
[end_date_ymd] => 2025-01-09 22:48:05
[RateCDR] => 1
)
[2025-01-09 22:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 19:48:05' and `end` < '2025-01-09 22:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 22:48:12] Production.ERROR: CronJobId end10
[2025-01-09 22:48:12] Production.INFO: ==13518== Releasing lock...
[2025-01-09 22:48:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 22:48:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 22:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 22:48:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 22:48:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 22:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 22:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 22:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 22:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 22:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 22:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 22:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 22:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 22:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 22:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 22:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 22:48:13] Production.INFO: call_cost start
[2025-01-09 22:48:13] Production.INFO: call_cost end
[2025-01-09 22:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 22:48:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 22:48:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 22:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 22:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 22:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 22:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 22:48:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 22:48:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 22:48:14] Production.INFO: ==13514== Releasing lock...
[2025-01-09 22:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 22:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 22:48:18] Production.INFO: count ==728
[2025-01-09 22:48:18] Production.ERROR: pbx CDR StartTime 2025-01-09 19:48:05 - End Time 2025-01-09 22:48:05
[2025-01-09 22:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 22:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212734', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212734', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212734', 'tblTempVendorCDR_20' ) start
[2025-01-09 22:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212734', 'tblTempVendorCDR_20' ) end
[2025-01-09 22:48:18] Production.INFO: ProcessCDR(1,14212734,1,1,2)
[2025-01-09 22:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212734,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:48:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212734,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:48:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212734,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212734,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212734', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212734', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:48:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:48:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:48:22] Production.INFO: ==13522== Releasing lock...
[2025-01-09 22:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 22:48:22] Production.INFO: 32.75 MB #Memory Used#
[2025-01-10 03:49:01] Production.INFO: ==13579== Lock acquired, processing the job...
[2025-01-10 03:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 03:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 03:49:01] Production.INFO: neon service started
[2025-01-10 03:49:01] Production.INFO: neon service started
[2025-01-10 03:49:01] Production.INFO: ==13579== Releasing lock...
[2025-01-10 03:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 03:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:49:01] Production.INFO: ==13583== Lock acquired, processing the job...
[2025-01-10 03:49:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 03:49:01] Production.INFO: ==13583== Releasing lock...
[2025-01-10 03:49:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 03:49:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 22:49:01] Production.INFO: ==13581== Lock acquired, processing the job...
[2025-01-09 22:49:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 22:49:02] Production.INFO: ==13581== Releasing lock...
[2025-01-09 22:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 22:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 22:49:02] Production.INFO: ==13588== Lock acquired, processing the job...
[2025-01-09 22:49:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 22:49:02] Production.INFO: ==13592== Lock acquired, processing the job...
[2025-01-09 22:49:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 22:49:03] Production.INFO: Account Balance Start.
[2025-01-09 22:49:03] Production.INFO: CreateAllLog Start
[2025-01-09 22:49:03] Production.INFO: 117
[2025-01-09 22:49:03] Production.INFO: Date 2025-01-08
[2025-01-09 22:49:03] Production.INFO: ==13586== Lock acquired, processing the job...
[2025-01-09 22:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 22:49:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:49:03] Production.INFO: Date 2025-01-09
[2025-01-09 22:49:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:49:03] Production.INFO: ==13590== Lock acquired, processing the job...
[2025-01-09 22:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 22:49:03] Production.INFO: Total Charge 0
[2025-01-09 22:49:03] Production.INFO: CreateAllLog End
[2025-01-09 22:49:03] Production.INFO: ==13594== Lock acquired, processing the job...
[2025-01-09 22:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 22:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 22:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 22:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 22:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 22:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 22:49:03] Production.INFO: ==13596== Lock acquired, processing the job...
[2025-01-09 22:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 22:49:03] Production.INFO: ==13588== Releasing lock...
[2025-01-09 22:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 22:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 22:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:49:03] Production.INFO: Account Balance End.
[2025-01-09 22:49:03] Production.INFO: count ==21
[2025-01-09 22:49:03] Production.ERROR: CronJobId end 12
[2025-01-09 22:49:03] Production.INFO: ==13592== Releasing lock...
[2025-01-09 22:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 22:49:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 22:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:49:03] Production.INFO: count ==21
[2025-01-09 22:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212738') start
[2025-01-09 22:49:03] Production.ERROR: done
[2025-01-09 22:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 22:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212738') end
[2025-01-09 22:49:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 22:49:03] Production.INFO: 1
[2025-01-09 22:49:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 22:49:03] Production.ERROR: done
[2025-01-09 22:49:03] Production.INFO: ==13596== Releasing lock...
[2025-01-09 22:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 22:49:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 22:49:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 19:49:04
[end_date_ymd] => 2025-01-09 22:49:04
[RateCDR] => 1
)
[2025-01-09 22:49:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 19:49:04' and `end` < '2025-01-09 22:49:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 22:49:11] Production.ERROR: CronJobId end10
[2025-01-09 22:49:11] Production.INFO: ==13590== Releasing lock...
[2025-01-09 22:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 22:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 22:49:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 22:49:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 22:49:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 22:49:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 22:49:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 22:49:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 22:49:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 22:49:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 22:49:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 22:49:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 22:49:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 22:49:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 22:49:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 22:49:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 22:49:13] Production.INFO: call_cost start
[2025-01-09 22:49:13] Production.INFO: call_cost end
[2025-01-09 22:49:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 22:49:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 22:49:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 22:49:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 22:49:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 22:49:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 22:49:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 22:49:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 22:49:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 22:49:13] Production.INFO: ==13586== Releasing lock...
[2025-01-09 22:49:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 22:49:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 22:49:20] Production.INFO: count ==727
[2025-01-09 22:49:20] Production.ERROR: pbx CDR StartTime 2025-01-09 19:49:04 - End Time 2025-01-09 22:49:04
[2025-01-09 22:49:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 22:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212739', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212739', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212739', 'tblTempVendorCDR_20' ) start
[2025-01-09 22:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212739', 'tblTempVendorCDR_20' ) end
[2025-01-09 22:49:20] Production.INFO: ProcessCDR(1,14212739,1,1,2)
[2025-01-09 22:49:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212739,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:49:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212739,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:49:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212739,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:49:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212739,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:49:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212739', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:49:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212739', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:49:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:49:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:49:23] Production.INFO: ==13594== Releasing lock...
[2025-01-09 22:49:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 22:49:23] Production.INFO: 32.75 MB #Memory Used#
[2025-01-10 03:50:01] Production.INFO: ==13652== Lock acquired, processing the job...
[2025-01-10 03:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 03:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 03:50:01] Production.INFO: neon service started
[2025-01-10 03:50:01] Production.INFO: neon service started
[2025-01-10 03:50:01] Production.INFO: ==13652== Releasing lock...
[2025-01-10 03:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 03:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 22:50:02] Production.INFO: ==13654== Lock acquired, processing the job...
[2025-01-09 22:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 03:50:02] Production.INFO: ==13656== Lock acquired, processing the job...
[2025-01-10 03:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 03:50:02] Production.INFO: ==13656== Releasing lock...
[2025-01-10 03:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 03:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 22:50:02] Production.INFO: ==13654== Releasing lock...
[2025-01-09 22:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 22:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 22:50:03] Production.INFO: ==13658== Lock acquired, processing the job...
[2025-01-09 22:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 22:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 22:50:03] Production.INFO: ==13666== Lock acquired, processing the job...
[2025-01-09 22:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 22:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 22:50:03] Production.INFO: ==13658== Releasing lock...
[2025-01-09 22:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 22:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 22:50:03] Production.INFO: ==13660== Lock acquired, processing the job...
[2025-01-09 22:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 22:50:03] Production.INFO: ==13662== Lock acquired, processing the job...
[2025-01-09 22:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 22:50:03] Production.INFO: ==13664== Lock acquired, processing the job...
[2025-01-09 22:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 22:50:03] Production.INFO: ==13670== Lock acquired, processing the job...
[2025-01-09 22:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 22:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 22:50:03] Production.INFO: Account Balance Start.
[2025-01-09 22:50:03] Production.INFO: CreateAllLog Start
[2025-01-09 22:50:03] Production.INFO: ==13673== Lock acquired, processing the job...
[2025-01-09 22:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 22:50:03] Production.INFO: 117
[2025-01-09 22:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:50:04] Production.INFO: ==13668== Lock acquired, processing the job...
[2025-01-09 22:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 22:50:04] Production.INFO: Date 2025-01-08
[2025-01-09 22:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 22:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 22:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 22:50:04] Production.INFO: Reseller ==> 0
[2025-01-09 22:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 22:50:04] Production.INFO: Date 2025-01-09
[2025-01-09 22:50:04] Production.INFO: Reseller ==> 0
[2025-01-09 22:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:50:04] Production.INFO: Total Charge 0
[2025-01-09 22:50:04] Production.INFO: CreateAllLog End
[2025-01-09 22:50:04] Production.ERROR: done
[2025-01-09 22:50:04] Production.INFO: ==13662== Releasing lock...
[2025-01-09 22:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 22:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 22:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 22:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14212744', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 22:50:04] Production.INFO: count ==21
[2025-01-09 22:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:50:04] Production.INFO: count ==21
[2025-01-09 22:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212743') start
[2025-01-09 22:50:04] Production.ERROR: done
[2025-01-09 22:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 22:50:04] Production.INFO: Account Balance End.
[2025-01-09 22:50:04] Production.ERROR: CronJobId end 12
[2025-01-09 22:50:04] Production.INFO: ==13666== Releasing lock...
[2025-01-09 22:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 22:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 22:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212743') end
[2025-01-09 22:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 22:50:04] Production.INFO: 1
[2025-01-09 22:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 22:50:04] Production.ERROR: done
[2025-01-09 22:50:04] Production.INFO: ==13673== Releasing lock...
[2025-01-09 22:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 22:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 22:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 19:50:05
[end_date_ymd] => 2025-01-09 22:50:05
[RateCDR] => 1
)
[2025-01-09 22:50:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 19:50:05' and `end` < '2025-01-09 22:50:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 22:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14212744', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 22:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 22:50:08] Production.INFO: ProcessCDR(1,14212744,1,1,2)
[2025-01-09 22:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14212744,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14212744,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:50:08] Production.INFO: ==13670== Releasing lock...
[2025-01-09 22:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 22:50:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 22:50:13] Production.ERROR: CronJobId end10
[2025-01-09 22:50:13] Production.INFO: ==13664== Releasing lock...
[2025-01-09 22:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 22:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 22:50:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 22:50:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 22:50:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 22:50:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 22:50:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 22:50:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 22:50:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 22:50:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 22:50:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 22:50:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 22:50:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 22:50:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 22:50:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 22:50:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 22:50:14] Production.INFO: call_cost start
[2025-01-09 22:50:14] Production.INFO: call_cost end
[2025-01-09 22:50:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 22:50:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 22:50:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 22:50:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 22:50:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 22:50:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 22:50:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 22:50:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 22:50:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 22:50:15] Production.INFO: ==13660== Releasing lock...
[2025-01-09 22:50:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 22:50:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 22:50:18] Production.INFO: count ==724
[2025-01-09 22:50:19] Production.ERROR: pbx CDR StartTime 2025-01-09 19:50:05 - End Time 2025-01-09 22:50:05
[2025-01-09 22:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 22:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212745', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212745', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212745', 'tblTempVendorCDR_20' ) start
[2025-01-09 22:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212745', 'tblTempVendorCDR_20' ) end
[2025-01-09 22:50:19] Production.INFO: ProcessCDR(1,14212745,1,1,2)
[2025-01-09 22:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212745,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:50:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212745,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:50:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212745,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:50:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212745,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212745', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212745', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:50:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:50:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:50:22] Production.INFO: ==13668== Releasing lock...
[2025-01-09 22:50:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 22:50:22] Production.INFO: 32.75 MB #Memory Used#
[2025-01-10 03:51:01] Production.INFO: ==13729== Lock acquired, processing the job...
[2025-01-10 03:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 03:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 03:51:01] Production.INFO: neon service started
[2025-01-10 03:51:01] Production.INFO: neon service started
[2025-01-10 03:51:01] Production.INFO: ==13729== Releasing lock...
[2025-01-10 03:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 03:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 22:51:01] Production.INFO: ==13731== Lock acquired, processing the job...
[2025-01-09 22:51:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 03:51:02] Production.INFO: ==13733== Lock acquired, processing the job...
[2025-01-10 03:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 03:51:02] Production.INFO: ==13733== Releasing lock...
[2025-01-10 03:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 03:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 22:51:02] Production.INFO: ==13731== Releasing lock...
[2025-01-09 22:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 22:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 22:51:02] Production.INFO: ==13736== Lock acquired, processing the job...
[2025-01-09 22:51:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 22:51:03] Production.INFO: ==13738== Lock acquired, processing the job...
[2025-01-09 22:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 22:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 22:51:03] Production.INFO: ==13740== Lock acquired, processing the job...
[2025-01-09 22:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 22:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 22:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 22:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 22:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 22:51:03] Production.INFO: ==13744== Lock acquired, processing the job...
[2025-01-09 22:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 22:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:51:03] Production.INFO: ==13746== Lock acquired, processing the job...
[2025-01-09 22:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 22:51:03] Production.INFO: ==13742== Lock acquired, processing the job...
[2025-01-09 22:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 22:51:03] Production.INFO: ==13738== Releasing lock...
[2025-01-09 22:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 22:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 22:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:51:03] Production.INFO: Account Balance Start.
[2025-01-09 22:51:03] Production.INFO: CreateAllLog Start
[2025-01-09 22:51:03] Production.INFO: 117
[2025-01-09 22:51:03] Production.INFO: count ==21
[2025-01-09 22:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:51:03] Production.ERROR: done
[2025-01-09 22:51:03] Production.INFO: count ==21
[2025-01-09 22:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 22:51:03] Production.INFO: Date 2025-01-08
[2025-01-09 22:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212748') start
[2025-01-09 22:51:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:51:03] Production.ERROR: done
[2025-01-09 22:51:03] Production.INFO: Date 2025-01-09
[2025-01-09 22:51:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212748') end
[2025-01-09 22:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 22:51:03] Production.INFO: 1
[2025-01-09 22:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 22:51:03] Production.INFO: ==13746== Releasing lock...
[2025-01-09 22:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 22:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 22:51:03] Production.INFO: Total Charge 0
[2025-01-09 22:51:03] Production.INFO: CreateAllLog End
[2025-01-09 22:51:04] Production.INFO: Account Balance End.
[2025-01-09 22:51:04] Production.ERROR: CronJobId end 12
[2025-01-09 22:51:04] Production.INFO: ==13742== Releasing lock...
[2025-01-09 22:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 22:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 22:51:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 19:51:04
[end_date_ymd] => 2025-01-09 22:51:04
[RateCDR] => 1
)
[2025-01-09 22:51:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 19:51:04' and `end` < '2025-01-09 22:51:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 22:51:12] Production.ERROR: CronJobId end10
[2025-01-09 22:51:12] Production.INFO: ==13740== Releasing lock...
[2025-01-09 22:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 22:51:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 22:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 22:51:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 22:51:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 22:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 22:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 22:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 22:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 22:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 22:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 22:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 22:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 22:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 22:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 22:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 22:51:13] Production.INFO: call_cost start
[2025-01-09 22:51:13] Production.INFO: call_cost end
[2025-01-09 22:51:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 22:51:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 22:51:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 22:51:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 22:51:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 22:51:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 22:51:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 22:51:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 22:51:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 22:51:14] Production.INFO: ==13736== Releasing lock...
[2025-01-09 22:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 22:51:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 22:51:17] Production.INFO: count ==694
[2025-01-09 22:51:17] Production.ERROR: pbx CDR StartTime 2025-01-09 19:51:04 - End Time 2025-01-09 22:51:04
[2025-01-09 22:51:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 22:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212750', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212750', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212750', 'tblTempVendorCDR_20' ) start
[2025-01-09 22:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212750', 'tblTempVendorCDR_20' ) end
[2025-01-09 22:51:17] Production.INFO: ProcessCDR(1,14212750,1,1,2)
[2025-01-09 22:51:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212750,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:51:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212750,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:51:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212750,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212750,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212750', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212750', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:51:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:51:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:51:22] Production.INFO: ==13744== Releasing lock...
[2025-01-09 22:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 22:51:22] Production.INFO: 32.5 MB #Memory Used#
[2025-01-10 03:52:01] Production.INFO: ==13800== Lock acquired, processing the job...
[2025-01-10 03:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 03:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 03:52:01] Production.INFO: neon service started
[2025-01-10 03:52:01] Production.INFO: neon service started
[2025-01-10 03:52:01] Production.INFO: ==13800== Releasing lock...
[2025-01-10 03:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 03:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 22:52:02] Production.INFO: ==13802== Lock acquired, processing the job...
[2025-01-09 22:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 22:52:02] Production.INFO: ==13802== Releasing lock...
[2025-01-09 22:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 22:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 03:52:02] Production.INFO: ==13804== Lock acquired, processing the job...
[2025-01-10 03:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 03:52:02] Production.INFO: ==13804== Releasing lock...
[2025-01-10 03:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 03:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 22:52:03] Production.INFO: ==13810== Lock acquired, processing the job...
[2025-01-09 22:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 22:52:03] Production.INFO: ==13808== Lock acquired, processing the job...
[2025-01-09 22:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 22:52:03] Production.INFO: ==13806== Lock acquired, processing the job...
[2025-01-09 22:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 22:52:03] Production.INFO: ==13814== Lock acquired, processing the job...
[2025-01-09 22:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 22:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 22:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 22:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 22:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 22:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:52:03] Production.INFO: ==13812== Lock acquired, processing the job...
[2025-01-09 22:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 22:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 22:52:03] Production.INFO: ==13816== Lock acquired, processing the job...
[2025-01-09 22:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 22:52:03] Production.INFO: Account Balance Start.
[2025-01-09 22:52:03] Production.INFO: CreateAllLog Start
[2025-01-09 22:52:03] Production.INFO: 117
[2025-01-09 22:52:03] Production.INFO: Date 2025-01-08
[2025-01-09 22:52:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:52:03] Production.INFO: ==13808== Releasing lock...
[2025-01-09 22:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 22:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 22:52:03] Production.ERROR: done
[2025-01-09 22:52:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 22:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:52:03] Production.INFO: Date 2025-01-09
[2025-01-09 22:52:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:52:03] Production.INFO: count ==21
[2025-01-09 22:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:52:03] Production.INFO: count ==21
[2025-01-09 22:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212754') start
[2025-01-09 22:52:04] Production.ERROR: done
[2025-01-09 22:52:04] Production.INFO: Total Charge 0
[2025-01-09 22:52:04] Production.INFO: CreateAllLog End
[2025-01-09 22:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212754') end
[2025-01-09 22:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 22:52:04] Production.INFO: 1
[2025-01-09 22:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 22:52:04] Production.INFO: ==13816== Releasing lock...
[2025-01-09 22:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 22:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 22:52:04] Production.INFO: Account Balance End.
[2025-01-09 22:52:04] Production.ERROR: CronJobId end 12
[2025-01-09 22:52:04] Production.INFO: ==13812== Releasing lock...
[2025-01-09 22:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 22:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 22:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 19:52:05
[end_date_ymd] => 2025-01-09 22:52:05
[RateCDR] => 1
)
[2025-01-09 22:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 19:52:05' and `end` < '2025-01-09 22:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 22:52:11] Production.ERROR: CronJobId end10
[2025-01-09 22:52:11] Production.INFO: ==13810== Releasing lock...
[2025-01-09 22:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 22:52:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 22:52:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 22:52:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 22:52:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 22:52:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 22:52:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 22:52:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 22:52:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 22:52:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 22:52:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 22:52:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 22:52:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 22:52:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 22:52:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 22:52:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 22:52:14] Production.INFO: call_cost start
[2025-01-09 22:52:14] Production.INFO: call_cost end
[2025-01-09 22:52:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 22:52:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 22:52:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 22:52:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 22:52:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 22:52:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 22:52:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 22:52:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 22:52:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 22:52:14] Production.INFO: ==13806== Releasing lock...
[2025-01-09 22:52:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 22:52:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 22:52:17] Production.INFO: count ==694
[2025-01-09 22:52:18] Production.ERROR: pbx CDR StartTime 2025-01-09 19:52:05 - End Time 2025-01-09 22:52:05
[2025-01-09 22:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 22:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212755', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212755', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212755', 'tblTempVendorCDR_20' ) start
[2025-01-09 22:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212755', 'tblTempVendorCDR_20' ) end
[2025-01-09 22:52:18] Production.INFO: ProcessCDR(1,14212755,1,1,2)
[2025-01-09 22:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212755,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212755,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212755,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:52:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212755,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212755', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212755', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:52:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:52:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:52:21] Production.INFO: ==13814== Releasing lock...
[2025-01-09 22:52:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 22:52:21] Production.INFO: 32.5 MB #Memory Used#
[2025-01-10 03:53:02] Production.INFO: ==13871== Lock acquired, processing the job...
[2025-01-10 03:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 03:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 03:53:02] Production.INFO: neon service started
[2025-01-10 03:53:02] Production.INFO: neon service started
[2025-01-10 03:53:02] Production.INFO: ==13871== Releasing lock...
[2025-01-10 03:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 03:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:53:02] Production.INFO: ==13875== Lock acquired, processing the job...
[2025-01-10 03:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 03:53:02] Production.INFO: ==13875== Releasing lock...
[2025-01-10 03:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 03:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 22:53:02] Production.INFO: ==13873== Lock acquired, processing the job...
[2025-01-09 22:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 22:53:03] Production.INFO: ==13873== Releasing lock...
[2025-01-09 22:53:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 22:53:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 22:53:03] Production.INFO: ==13877== Lock acquired, processing the job...
[2025-01-09 22:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 22:53:03] Production.INFO: ==13879== Lock acquired, processing the job...
[2025-01-09 22:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 22:53:03] Production.INFO: ==13883== Lock acquired, processing the job...
[2025-01-09 22:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 22:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 22:53:03] Production.INFO: ==13881== Lock acquired, processing the job...
[2025-01-09 22:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 22:53:03] Production.INFO: Account Balance Start.
[2025-01-09 22:53:03] Production.INFO: CreateAllLog Start
[2025-01-09 22:53:03] Production.INFO: 117
[2025-01-09 22:53:03] Production.INFO: ==13879== Releasing lock...
[2025-01-09 22:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 22:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 22:53:04] Production.INFO: Date 2025-01-08
[2025-01-09 22:53:04] Production.INFO: Reseller ==> 0
[2025-01-09 22:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 22:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 22:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 22:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 22:53:04] Production.INFO: ==13885== Lock acquired, processing the job...
[2025-01-09 22:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 22:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:53:04] Production.INFO: ==13887== Lock acquired, processing the job...
[2025-01-09 22:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 22:53:04] Production.INFO: Date 2025-01-09
[2025-01-09 22:53:04] Production.INFO: Reseller ==> 0
[2025-01-09 22:53:04] Production.INFO: Total Charge 0
[2025-01-09 22:53:04] Production.INFO: CreateAllLog End
[2025-01-09 22:53:04] Production.ERROR: done
[2025-01-09 22:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 22:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:53:04] Production.INFO: count ==21
[2025-01-09 22:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:53:04] Production.INFO: count ==21
[2025-01-09 22:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212759') start
[2025-01-09 22:53:04] Production.ERROR: done
[2025-01-09 22:53:04] Production.INFO: Account Balance End.
[2025-01-09 22:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212759') end
[2025-01-09 22:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 22:53:04] Production.INFO: 1
[2025-01-09 22:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 22:53:04] Production.INFO: ==13887== Releasing lock...
[2025-01-09 22:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 22:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 22:53:04] Production.ERROR: CronJobId end 12
[2025-01-09 22:53:04] Production.INFO: ==13883== Releasing lock...
[2025-01-09 22:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 22:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 22:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 19:53:05
[end_date_ymd] => 2025-01-09 22:53:05
[RateCDR] => 1
)
[2025-01-09 22:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 19:53:05' and `end` < '2025-01-09 22:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 22:53:13] Production.ERROR: CronJobId end10
[2025-01-09 22:53:13] Production.INFO: ==13881== Releasing lock...
[2025-01-09 22:53:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 22:53:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 22:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 22:53:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 22:53:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 22:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 22:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 22:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 22:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 22:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 22:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 22:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 22:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 22:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 22:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 22:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 22:53:13] Production.INFO: call_cost start
[2025-01-09 22:53:13] Production.INFO: call_cost end
[2025-01-09 22:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 22:53:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 22:53:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 22:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 22:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 22:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 22:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 22:53:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 22:53:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 22:53:14] Production.INFO: ==13877== Releasing lock...
[2025-01-09 22:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 22:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 22:53:19] Production.INFO: count ==695
[2025-01-09 22:53:19] Production.ERROR: pbx CDR StartTime 2025-01-09 19:53:05 - End Time 2025-01-09 22:53:05
[2025-01-09 22:53:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 22:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212760', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212760', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212760', 'tblTempVendorCDR_20' ) start
[2025-01-09 22:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212760', 'tblTempVendorCDR_20' ) end
[2025-01-09 22:53:19] Production.INFO: ProcessCDR(1,14212760,1,1,2)
[2025-01-09 22:53:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212760,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:53:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212760,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:53:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212760,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:53:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212760,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:53:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212760', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:53:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212760', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:53:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:53:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:53:24] Production.INFO: ==13885== Releasing lock...
[2025-01-09 22:53:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 22:53:24] Production.INFO: 32.5 MB #Memory Used#
[2025-01-10 03:54:01] Production.INFO: ==13940== Lock acquired, processing the job...
[2025-01-10 03:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 03:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 03:54:01] Production.INFO: neon service started
[2025-01-10 03:54:01] Production.INFO: neon service started
[2025-01-10 03:54:01] Production.INFO: ==13940== Releasing lock...
[2025-01-10 03:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 03:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 22:54:01] Production.INFO: ==13942== Lock acquired, processing the job...
[2025-01-09 22:54:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 03:54:02] Production.INFO: ==13944== Lock acquired, processing the job...
[2025-01-10 03:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 22:54:02] Production.INFO: ==13942== Releasing lock...
[2025-01-09 22:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 22:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 03:54:02] Production.INFO: ==13944== Releasing lock...
[2025-01-10 03:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 03:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 22:54:02] Production.INFO: ==13947== Lock acquired, processing the job...
[2025-01-09 22:54:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 22:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 22:54:03] Production.INFO: ==13949== Lock acquired, processing the job...
[2025-01-09 22:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 22:54:03] Production.INFO: ==13955== Lock acquired, processing the job...
[2025-01-09 22:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 22:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:54:03] Production.INFO: ==13951== Lock acquired, processing the job...
[2025-01-09 22:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 22:54:03] Production.INFO: ==13953== Lock acquired, processing the job...
[2025-01-09 22:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 22:54:03] Production.INFO: ==13957== Lock acquired, processing the job...
[2025-01-09 22:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 22:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 22:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 22:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 22:54:03] Production.INFO: ==13949== Releasing lock...
[2025-01-09 22:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 22:54:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 22:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 22:54:03] Production.INFO: Account Balance Start.
[2025-01-09 22:54:03] Production.INFO: CreateAllLog Start
[2025-01-09 22:54:03] Production.INFO: 117
[2025-01-09 22:54:03] Production.INFO: Date 2025-01-08
[2025-01-09 22:54:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:54:03] Production.ERROR: done
[2025-01-09 22:54:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 22:54:03] Production.INFO: count ==21
[2025-01-09 22:54:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:54:03] Production.INFO: count ==21
[2025-01-09 22:54:03] Production.INFO: Date 2025-01-09
[2025-01-09 22:54:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212764') start
[2025-01-09 22:54:03] Production.ERROR: done
[2025-01-09 22:54:03] Production.INFO: Total Charge 0
[2025-01-09 22:54:03] Production.INFO: CreateAllLog End
[2025-01-09 22:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212764') end
[2025-01-09 22:54:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 22:54:03] Production.INFO: 1
[2025-01-09 22:54:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 22:54:03] Production.INFO: Account Balance End.
[2025-01-09 22:54:03] Production.INFO: ==13957== Releasing lock...
[2025-01-09 22:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 22:54:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 22:54:03] Production.ERROR: CronJobId end 12
[2025-01-09 22:54:03] Production.INFO: ==13953== Releasing lock...
[2025-01-09 22:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 22:54:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 22:54:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 19:54:04
[end_date_ymd] => 2025-01-09 22:54:04
[RateCDR] => 1
)
[2025-01-09 22:54:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 19:54:04' and `end` < '2025-01-09 22:54:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 22:54:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 22:54:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 22:54:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 22:54:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 22:54:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 22:54:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 22:54:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 22:54:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 22:54:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 22:54:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 22:54:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 22:54:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 22:54:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 22:54:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 22:54:12] Production.ERROR: CronJobId end10
[2025-01-09 22:54:12] Production.INFO: ==13951== Releasing lock...
[2025-01-09 22:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 22:54:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 22:54:12] Production.INFO: call_cost start
[2025-01-09 22:54:12] Production.INFO: call_cost end
[2025-01-09 22:54:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 22:54:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 22:54:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 22:54:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 22:54:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 22:54:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 22:54:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 22:54:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 22:54:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 22:54:13] Production.INFO: ==13947== Releasing lock...
[2025-01-09 22:54:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 22:54:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 22:54:17] Production.INFO: count ==692
[2025-01-09 22:54:17] Production.ERROR: pbx CDR StartTime 2025-01-09 19:54:04 - End Time 2025-01-09 22:54:04
[2025-01-09 22:54:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 22:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212765', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212765', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212765', 'tblTempVendorCDR_20' ) start
[2025-01-09 22:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212765', 'tblTempVendorCDR_20' ) end
[2025-01-09 22:54:17] Production.INFO: ProcessCDR(1,14212765,1,1,2)
[2025-01-09 22:54:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212765,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:54:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212765,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:54:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212765,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:54:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212765,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:54:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212765', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:54:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212765', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:54:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:54:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:54:20] Production.INFO: ==13955== Releasing lock...
[2025-01-09 22:54:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 22:54:20] Production.INFO: 32.5 MB #Memory Used#
[2025-01-10 03:55:02] Production.INFO: ==14010== Lock acquired, processing the job...
[2025-01-10 03:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 03:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 03:55:02] Production.INFO: neon service started
[2025-01-10 03:55:02] Production.INFO: neon service started
[2025-01-10 03:55:02] Production.INFO: ==14010== Releasing lock...
[2025-01-10 03:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 03:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 22:55:02] Production.INFO: ==14013== Lock acquired, processing the job...
[2025-01-09 22:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 03:55:02] Production.INFO: ==14015== Lock acquired, processing the job...
[2025-01-10 03:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 03:55:02] Production.INFO: ==14015== Releasing lock...
[2025-01-10 03:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 03:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 22:55:02] Production.INFO: ==14013== Releasing lock...
[2025-01-09 22:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 22:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 22:55:03] Production.INFO: ==14017== Lock acquired, processing the job...
[2025-01-09 22:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 22:55:03] Production.INFO: ==14019== Lock acquired, processing the job...
[2025-01-09 22:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 22:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 22:55:03] Production.INFO: ==14025== Lock acquired, processing the job...
[2025-01-09 22:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 22:55:03] Production.INFO: ==14021== Lock acquired, processing the job...
[2025-01-09 22:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 22:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 22:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 22:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 22:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 22:55:03] Production.INFO: ==14023== Lock acquired, processing the job...
[2025-01-09 22:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 22:55:03] Production.INFO: ==14019== Releasing lock...
[2025-01-09 22:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 22:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 22:55:03] Production.INFO: ==14027== Lock acquired, processing the job...
[2025-01-09 22:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 22:55:03] Production.INFO: Account Balance Start.
[2025-01-09 22:55:03] Production.INFO: CreateAllLog Start
[2025-01-09 22:55:03] Production.INFO: 117
[2025-01-09 22:55:04] Production.INFO: Date 2025-01-08
[2025-01-09 22:55:04] Production.INFO: Reseller ==> 0
[2025-01-09 22:55:04] Production.INFO: Date 2025-01-09
[2025-01-09 22:55:04] Production.INFO: Reseller ==> 0
[2025-01-09 22:55:04] Production.INFO: Total Charge 0
[2025-01-09 22:55:04] Production.ERROR: done
[2025-01-09 22:55:04] Production.INFO: CreateAllLog End
[2025-01-09 22:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 22:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:55:04] Production.INFO: count ==21
[2025-01-09 22:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:55:04] Production.INFO: count ==21
[2025-01-09 22:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212769') start
[2025-01-09 22:55:04] Production.ERROR: done
[2025-01-09 22:55:04] Production.INFO: Account Balance End.
[2025-01-09 22:55:04] Production.ERROR: CronJobId end 12
[2025-01-09 22:55:04] Production.INFO: ==14023== Releasing lock...
[2025-01-09 22:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 22:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 22:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212769') end
[2025-01-09 22:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 22:55:04] Production.INFO: 1
[2025-01-09 22:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 22:55:04] Production.INFO: ==14027== Releasing lock...
[2025-01-09 22:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 22:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 22:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 19:55:05
[end_date_ymd] => 2025-01-09 22:55:05
[RateCDR] => 1
)
[2025-01-09 22:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 19:55:05' and `end` < '2025-01-09 22:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 22:55:12] Production.ERROR: CronJobId end10
[2025-01-09 22:55:12] Production.INFO: ==14021== Releasing lock...
[2025-01-09 22:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 22:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 22:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 22:55:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 22:55:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 22:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 22:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 22:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 22:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 22:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 22:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 22:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 22:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 22:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 22:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 22:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 22:55:13] Production.INFO: call_cost start
[2025-01-09 22:55:13] Production.INFO: call_cost end
[2025-01-09 22:55:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 22:55:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 22:55:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 22:55:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 22:55:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 22:55:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 22:55:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 22:55:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 22:55:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 22:55:14] Production.INFO: ==14017== Releasing lock...
[2025-01-09 22:55:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 22:55:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 22:55:18] Production.INFO: count ==690
[2025-01-09 22:55:18] Production.ERROR: pbx CDR StartTime 2025-01-09 19:55:05 - End Time 2025-01-09 22:55:05
[2025-01-09 22:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 22:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212770', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212770', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212770', 'tblTempVendorCDR_20' ) start
[2025-01-09 22:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212770', 'tblTempVendorCDR_20' ) end
[2025-01-09 22:55:18] Production.INFO: ProcessCDR(1,14212770,1,1,2)
[2025-01-09 22:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212770,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212770,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212770,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212770,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212770', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212770', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:55:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:55:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:55:21] Production.INFO: ==14025== Releasing lock...
[2025-01-09 22:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 22:55:21] Production.INFO: 32.5 MB #Memory Used#
[2025-01-10 03:56:01] Production.INFO: ==14080== Lock acquired, processing the job...
[2025-01-10 03:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 03:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 03:56:01] Production.INFO: neon service started
[2025-01-10 03:56:01] Production.INFO: neon service started
[2025-01-10 03:56:01] Production.INFO: ==14080== Releasing lock...
[2025-01-10 03:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 03:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 22:56:01] Production.INFO: ==14082== Lock acquired, processing the job...
[2025-01-09 22:56:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 22:56:02] Production.INFO: ==14082== Releasing lock...
[2025-01-09 22:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 22:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 03:56:02] Production.INFO: ==14084== Lock acquired, processing the job...
[2025-01-10 03:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 03:56:02] Production.INFO: ==14084== Releasing lock...
[2025-01-10 03:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 03:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 22:56:03] Production.INFO: ==14097== Lock acquired, processing the job...
[2025-01-09 22:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 22:56:03] Production.INFO: ==14089== Lock acquired, processing the job...
[2025-01-09 22:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 22:56:03] Production.INFO: ==14086== Lock acquired, processing the job...
[2025-01-09 22:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 22:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 22:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:56:03] Production.INFO: ==14091== Lock acquired, processing the job...
[2025-01-09 22:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 22:56:03] Production.INFO: count ==21
[2025-01-09 22:56:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:56:03] Production.INFO: count ==21
[2025-01-09 22:56:03] Production.INFO: ==14093== Lock acquired, processing the job...
[2025-01-09 22:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 22:56:03] Production.INFO: ==14095== Lock acquired, processing the job...
[2025-01-09 22:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 22:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212771') start
[2025-01-09 22:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 22:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 22:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 22:56:03] Production.INFO: Account Balance Start.
[2025-01-09 22:56:03] Production.INFO: CreateAllLog Start
[2025-01-09 22:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 22:56:03] Production.INFO: 117
[2025-01-09 22:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212771') end
[2025-01-09 22:56:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 22:56:03] Production.INFO: 1
[2025-01-09 22:56:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 22:56:03] Production.INFO: ==14089== Releasing lock...
[2025-01-09 22:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 22:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 22:56:03] Production.INFO: Date 2025-01-08
[2025-01-09 22:56:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:56:03] Production.INFO: Date 2025-01-09
[2025-01-09 22:56:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:56:03] Production.INFO: ==14097== Releasing lock...
[2025-01-09 22:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 22:56:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 22:56:03] Production.INFO: Total Charge 0
[2025-01-09 22:56:03] Production.INFO: CreateAllLog End
[2025-01-09 22:56:03] Production.ERROR: done
[2025-01-09 22:56:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 22:56:03] Production.INFO: Account Balance End.
[2025-01-09 22:56:03] Production.ERROR: done
[2025-01-09 22:56:03] Production.ERROR: CronJobId end 12
[2025-01-09 22:56:03] Production.INFO: ==14093== Releasing lock...
[2025-01-09 22:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 22:56:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 22:56:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 19:56:04
[end_date_ymd] => 2025-01-09 22:56:04
[RateCDR] => 1
)
[2025-01-09 22:56:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 19:56:04' and `end` < '2025-01-09 22:56:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 22:56:11] Production.ERROR: CronJobId end10
[2025-01-09 22:56:11] Production.INFO: ==14091== Releasing lock...
[2025-01-09 22:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 22:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 22:56:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 22:56:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 22:56:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 22:56:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 22:56:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 22:56:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 22:56:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 22:56:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 22:56:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 22:56:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 22:56:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 22:56:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 22:56:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 22:56:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 22:56:12] Production.INFO: call_cost start
[2025-01-09 22:56:12] Production.INFO: call_cost end
[2025-01-09 22:56:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 22:56:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 22:56:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 22:56:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 22:56:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 22:56:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 22:56:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 22:56:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 22:56:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 22:56:13] Production.INFO: ==14086== Releasing lock...
[2025-01-09 22:56:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 22:56:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 22:56:17] Production.INFO: count ==691
[2025-01-09 22:56:17] Production.ERROR: pbx CDR StartTime 2025-01-09 19:56:04 - End Time 2025-01-09 22:56:04
[2025-01-09 22:56:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 22:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212775', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212775', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212775', 'tblTempVendorCDR_20' ) start
[2025-01-09 22:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212775', 'tblTempVendorCDR_20' ) end
[2025-01-09 22:56:17] Production.INFO: ProcessCDR(1,14212775,1,1,2)
[2025-01-09 22:56:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212775,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:56:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212775,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:56:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212775,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:56:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212775,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:56:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212775', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212775', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:56:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:56:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:56:21] Production.INFO: ==14095== Releasing lock...
[2025-01-09 22:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 22:56:21] Production.INFO: 32.5 MB #Memory Used#
[2025-01-10 03:57:01] Production.INFO: ==14193== Lock acquired, processing the job...
[2025-01-10 03:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 03:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 03:57:01] Production.INFO: neon service started
[2025-01-10 03:57:01] Production.INFO: neon service started
[2025-01-10 03:57:01] Production.INFO: ==14193== Releasing lock...
[2025-01-10 03:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 03:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:57:02] Production.INFO: ==14197== Lock acquired, processing the job...
[2025-01-10 03:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 22:57:02] Production.INFO: ==14195== Lock acquired, processing the job...
[2025-01-09 22:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 03:57:02] Production.INFO: ==14197== Releasing lock...
[2025-01-10 03:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 03:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 22:57:02] Production.INFO: ==14195== Releasing lock...
[2025-01-09 22:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 22:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 22:57:03] Production.INFO: ==14203== Lock acquired, processing the job...
[2025-01-09 22:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 22:57:03] Production.INFO: ==14199== Lock acquired, processing the job...
[2025-01-09 22:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 22:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 22:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 22:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 22:57:03] Production.INFO: ==14205== Lock acquired, processing the job...
[2025-01-09 22:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 22:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 22:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 22:57:03] Production.INFO: Account Balance Start.
[2025-01-09 22:57:03] Production.INFO: CreateAllLog Start
[2025-01-09 22:57:03] Production.INFO: 117
[2025-01-09 22:57:03] Production.INFO: Date 2025-01-08
[2025-01-09 22:57:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:57:03] Production.INFO: Date 2025-01-09
[2025-01-09 22:57:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:57:03] Production.INFO: Total Charge 0
[2025-01-09 22:57:03] Production.INFO: ==14201== Lock acquired, processing the job...
[2025-01-09 22:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 22:57:03] Production.INFO: CreateAllLog End
[2025-01-09 22:57:03] Production.INFO: Account Balance End.
[2025-01-09 22:57:03] Production.INFO: ==14207== Lock acquired, processing the job...
[2025-01-09 22:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 22:57:03] Production.ERROR: CronJobId end 12
[2025-01-09 22:57:03] Production.INFO: ==14205== Releasing lock...
[2025-01-09 22:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 22:57:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 22:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:57:04] Production.INFO: ==14210== Lock acquired, processing the job...
[2025-01-09 22:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 22:57:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:57:04] Production.INFO: ==14201== Releasing lock...
[2025-01-09 22:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 22:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 22:57:04] Production.INFO: count ==21
[2025-01-09 22:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:57:04] Production.INFO: count ==21
[2025-01-09 22:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212779') start
[2025-01-09 22:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212779') end
[2025-01-09 22:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 22:57:04] Production.INFO: 1
[2025-01-09 22:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 22:57:04] Production.ERROR: done
[2025-01-09 22:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 22:57:04] Production.INFO: ==14210== Releasing lock...
[2025-01-09 22:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 22:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 22:57:04] Production.ERROR: done
[2025-01-09 22:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 19:57:05
[end_date_ymd] => 2025-01-09 22:57:05
[RateCDR] => 1
)
[2025-01-09 22:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 19:57:05' and `end` < '2025-01-09 22:57:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 22:57:11] Production.ERROR: CronJobId end10
[2025-01-09 22:57:11] Production.INFO: ==14203== Releasing lock...
[2025-01-09 22:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 22:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 22:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 22:57:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 22:57:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 22:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 22:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 22:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 22:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 22:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 22:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 22:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 22:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 22:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 22:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 22:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 22:57:14] Production.INFO: call_cost start
[2025-01-09 22:57:14] Production.INFO: call_cost end
[2025-01-09 22:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 22:57:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 22:57:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 22:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 22:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 22:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 22:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 22:57:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 22:57:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 22:57:14] Production.INFO: ==14199== Releasing lock...
[2025-01-09 22:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 22:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 22:57:18] Production.INFO: count ==691
[2025-01-09 22:57:18] Production.ERROR: pbx CDR StartTime 2025-01-09 19:57:05 - End Time 2025-01-09 22:57:05
[2025-01-09 22:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 22:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212780', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212780', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212780', 'tblTempVendorCDR_20' ) start
[2025-01-09 22:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212780', 'tblTempVendorCDR_20' ) end
[2025-01-09 22:57:18] Production.INFO: ProcessCDR(1,14212780,1,1,2)
[2025-01-09 22:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212780,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212780,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212780,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212780,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212780', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212780', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:57:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:57:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:57:21] Production.INFO: ==14207== Releasing lock...
[2025-01-09 22:57:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 22:57:21] Production.INFO: 32.5 MB #Memory Used#
[2025-01-10 03:58:02] Production.INFO: ==14262== Lock acquired, processing the job...
[2025-01-10 03:58:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 03:58:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 03:58:02] Production.INFO: neon service started
[2025-01-10 03:58:02] Production.INFO: neon service started
[2025-01-10 03:58:02] Production.INFO: ==14262== Releasing lock...
[2025-01-10 03:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 03:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 22:58:02] Production.INFO: ==14265== Lock acquired, processing the job...
[2025-01-09 22:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 22:58:02] Production.INFO: ==14265== Releasing lock...
[2025-01-09 22:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 22:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 03:58:03] Production.INFO: ==14267== Lock acquired, processing the job...
[2025-01-10 03:58:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 03:58:03] Production.INFO: ==14267== Releasing lock...
[2025-01-10 03:58:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 03:58:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 22:58:03] Production.INFO: ==14273== Lock acquired, processing the job...
[2025-01-09 22:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 22:58:03] Production.INFO: ==14277== Lock acquired, processing the job...
[2025-01-09 22:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 22:58:03] Production.INFO: ==14269== Lock acquired, processing the job...
[2025-01-09 22:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 22:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:58:04] Production.INFO: ==14271== Lock acquired, processing the job...
[2025-01-09 22:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 22:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 22:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 22:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 22:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 22:58:04] Production.INFO: ==14275== Lock acquired, processing the job...
[2025-01-09 22:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 22:58:04] Production.INFO: ==14279== Lock acquired, processing the job...
[2025-01-09 22:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 22:58:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 22:58:04] Production.ERROR: done
[2025-01-09 22:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 22:58:04] Production.INFO: Account Balance Start.
[2025-01-09 22:58:04] Production.INFO: CreateAllLog Start
[2025-01-09 22:58:04] Production.INFO: 117
[2025-01-09 22:58:04] Production.INFO: Date 2025-01-08
[2025-01-09 22:58:04] Production.INFO: Reseller ==> 0
[2025-01-09 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-01-09 22:58:04] Production.INFO: Date 2025-01-09
[2025-01-09 22:58:04] Production.INFO: count ==21
[2025-01-09 22:58:04] Production.INFO: Reseller ==> 0
[2025-01-09 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-01-09 22:58:04] Production.INFO: count ==21
[2025-01-09 22:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212782') start
[2025-01-09 22:58:04] Production.INFO: Total Charge 0
[2025-01-09 22:58:04] Production.ERROR: done
[2025-01-09 22:58:04] Production.INFO: CreateAllLog End
[2025-01-09 22:58:04] Production.INFO: ==14271== Releasing lock...
[2025-01-09 22:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 22:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 22:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212782') end
[2025-01-09 22:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 22:58:04] Production.INFO: 1
[2025-01-09 22:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 22:58:04] Production.INFO: ==14279== Releasing lock...
[2025-01-09 22:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 22:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 22:58:04] Production.INFO: Account Balance End.
[2025-01-09 22:58:04] Production.ERROR: CronJobId end 12
[2025-01-09 22:58:05] Production.INFO: ==14275== Releasing lock...
[2025-01-09 22:58:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 22:58:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 22:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 19:58:05
[end_date_ymd] => 2025-01-09 22:58:05
[RateCDR] => 1
)
[2025-01-09 22:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 19:58:05' and `end` < '2025-01-09 22:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 22:58:12] Production.ERROR: CronJobId end10
[2025-01-09 22:58:12] Production.INFO: ==14273== Releasing lock...
[2025-01-09 22:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 22:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 22:58:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 22:58:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 22:58:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 22:58:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 22:58:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 22:58:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 22:58:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 22:58:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 22:58:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 22:58:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 22:58:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 22:58:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 22:58:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 22:58:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 22:58:14] Production.INFO: call_cost start
[2025-01-09 22:58:14] Production.INFO: call_cost end
[2025-01-09 22:58:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 22:58:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 22:58:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 22:58:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 22:58:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 22:58:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 22:58:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 22:58:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 22:58:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 22:58:15] Production.INFO: ==14269== Releasing lock...
[2025-01-09 22:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 22:58:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 22:58:18] Production.INFO: count ==691
[2025-01-09 22:58:18] Production.ERROR: pbx CDR StartTime 2025-01-09 19:58:05 - End Time 2025-01-09 22:58:05
[2025-01-09 22:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 22:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212785', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212785', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212785', 'tblTempVendorCDR_20' ) start
[2025-01-09 22:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212785', 'tblTempVendorCDR_20' ) end
[2025-01-09 22:58:18] Production.INFO: ProcessCDR(1,14212785,1,1,2)
[2025-01-09 22:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212785,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212785,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212785,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212785,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212785', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212785', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:58:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:58:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:58:21] Production.INFO: ==14277== Releasing lock...
[2025-01-09 22:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 22:58:21] Production.INFO: 32.5 MB #Memory Used#
[2025-01-10 03:59:02] Production.INFO: ==14337== Lock acquired, processing the job...
[2025-01-10 03:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 03:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 03:59:02] Production.INFO: neon service started
[2025-01-10 03:59:02] Production.INFO: neon service started
[2025-01-10 03:59:02] Production.INFO: ==14337== Releasing lock...
[2025-01-10 03:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 03:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:59:02] Production.INFO: ==14341== Lock acquired, processing the job...
[2025-01-10 03:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 03:59:02] Production.INFO: ==14341== Releasing lock...
[2025-01-10 03:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 03:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 22:59:02] Production.INFO: ==14339== Lock acquired, processing the job...
[2025-01-09 22:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 22:59:02] Production.INFO: ==14339== Releasing lock...
[2025-01-09 22:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 22:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 22:59:03] Production.INFO: ==14348== Lock acquired, processing the job...
[2025-01-09 22:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 22:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 22:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 22:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 22:59:03] Production.INFO: ==14350== Lock acquired, processing the job...
[2025-01-09 22:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 22:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 22:59:03] Production.INFO: Account Balance Start.
[2025-01-09 22:59:03] Production.INFO: CreateAllLog Start
[2025-01-09 22:59:03] Production.INFO: 117
[2025-01-09 22:59:03] Production.INFO: Date 2025-01-08
[2025-01-09 22:59:03] Production.INFO: ==14344== Lock acquired, processing the job...
[2025-01-09 22:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 22:59:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:59:03] Production.INFO: ==14346== Lock acquired, processing the job...
[2025-01-09 22:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 22:59:03] Production.INFO: Date 2025-01-09
[2025-01-09 22:59:03] Production.INFO: Reseller ==> 0
[2025-01-09 22:59:03] Production.INFO: Total Charge 0
[2025-01-09 22:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 22:59:03] Production.INFO: CreateAllLog End
[2025-01-09 22:59:03] Production.INFO: ==14354== Lock acquired, processing the job...
[2025-01-09 22:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 22:59:04] Production.INFO: ==14352== Lock acquired, processing the job...
[2025-01-09 22:59:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 22:59:04] Production.INFO: ==14346== Releasing lock...
[2025-01-09 22:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 22:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 22:59:04] Production.INFO: Account Balance End.
[2025-01-09 22:59:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 22:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:59:04] Production.ERROR: CronJobId end 12
[2025-01-09 22:59:04] Production.INFO: ==14350== Releasing lock...
[2025-01-09 22:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 22:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 22:59:04] Production.INFO: count ==21
[2025-01-09 22:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 22:59:04] Production.INFO: count ==21
[2025-01-09 22:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212789') start
[2025-01-09 22:59:04] Production.ERROR: done
[2025-01-09 22:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212789') end
[2025-01-09 22:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 22:59:04] Production.INFO: 1
[2025-01-09 22:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 22:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 22:59:04] Production.INFO: ==14354== Releasing lock...
[2025-01-09 22:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 22:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 22:59:04] Production.ERROR: done
[2025-01-09 22:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 19:59:05
[end_date_ymd] => 2025-01-09 22:59:05
[RateCDR] => 1
)
[2025-01-09 22:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 19:59:05' and `end` < '2025-01-09 22:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 22:59:12] Production.ERROR: CronJobId end10
[2025-01-09 22:59:12] Production.INFO: ==14348== Releasing lock...
[2025-01-09 22:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 22:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 22:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 22:59:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 22:59:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 22:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 22:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 22:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 22:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 22:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 22:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 22:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 22:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 22:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 22:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 22:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 22:59:14] Production.INFO: call_cost start
[2025-01-09 22:59:14] Production.INFO: call_cost end
[2025-01-09 22:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 22:59:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 22:59:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 22:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 22:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 22:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 22:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 22:59:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 22:59:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 22:59:14] Production.INFO: ==14344== Releasing lock...
[2025-01-09 22:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 22:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 22:59:18] Production.INFO: count ==691
[2025-01-09 22:59:18] Production.ERROR: pbx CDR StartTime 2025-01-09 19:59:05 - End Time 2025-01-09 22:59:05
[2025-01-09 22:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 22:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212790', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212790', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212790', 'tblTempVendorCDR_20' ) start
[2025-01-09 22:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212790', 'tblTempVendorCDR_20' ) end
[2025-01-09 22:59:18] Production.INFO: ProcessCDR(1,14212790,1,1,2)
[2025-01-09 22:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212790,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:59:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212790,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 22:59:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212790,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212790,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 22:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212790', 'tblTempUsageDetail_20' ) start
[2025-01-09 22:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212790', 'tblTempUsageDetail_20' ) end
[2025-01-09 22:59:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 22:59:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 22:59:21] Production.INFO: ==14352== Releasing lock...
[2025-01-09 22:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 22:59:21] Production.INFO: 32.5 MB #Memory Used#
[2025-01-10 04:00:01] Production.INFO: ==14409== Lock acquired, processing the job...
[2025-01-10 04:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 04:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 04:00:01] Production.INFO: neon service started
[2025-01-10 04:00:01] Production.INFO: neon service started
[2025-01-10 04:00:01] Production.INFO: ==14409== Releasing lock...
[2025-01-10 04:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 04:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 04:00:01] Production.INFO: ==14413== Lock acquired, processing the job...
[2025-01-10 04:00:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 04:00:01] Production.INFO: ==14413== Releasing lock...
[2025-01-10 04:00:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 04:00:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 23:00:02] Production.INFO: ==14411== Lock acquired, processing the job...
[2025-01-09 23:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 23:00:02] Production.INFO: ==14411== Releasing lock...
[2025-01-09 23:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 23:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 23:00:03] Production.INFO: ==14416== Lock acquired, processing the job...
[2025-01-09 23:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 23:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 23:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 23:00:03] Production.INFO: ==14416== Releasing lock...
[2025-01-09 23:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 23:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 23:00:03] Production.INFO: ==14418== Lock acquired, processing the job...
[2025-01-09 23:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 23:00:03] Production.INFO: ==14420== Lock acquired, processing the job...
[2025-01-09 23:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 23:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 23:00:03] Production.INFO: ==14422== Lock acquired, processing the job...
[2025-01-09 23:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 23:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 23:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 23:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 23:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 23:00:03] Production.INFO: ==14428== Lock acquired, processing the job...
[2025-01-09 23:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 23:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:00:03] Production.INFO: ==14426== Lock acquired, processing the job...
[2025-01-09 23:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 23:00:03] Production.INFO: ==14424== Lock acquired, processing the job...
[2025-01-09 23:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 23:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:00:03] Production.INFO: ==14420== Releasing lock...
[2025-01-09 23:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 23:00:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 23:00:03] Production.INFO: ==14430== Lock acquired, processing the job...
[2025-01-09 23:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 23:00:03] Production.INFO: Account Balance Start.
[2025-01-09 23:00:03] Production.INFO: CreateAllLog Start
[2025-01-09 23:00:03] Production.INFO: 117
[2025-01-09 23:00:03] Production.INFO: Date 2025-01-08
[2025-01-09 23:00:03] Production.ERROR: done
[2025-01-09 23:00:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:00:03] Production.INFO: Date 2025-01-09
[2025-01-09 23:00:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 23:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14212794', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 23:00:04] Production.INFO: Total Charge 0
[2025-01-09 23:00:04] Production.INFO: CreateAllLog End
[2025-01-09 23:00:04] Production.ERROR: done
[2025-01-09 23:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 23:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:00:04] Production.INFO: count ==21
[2025-01-09 23:00:04] Production.INFO: Account Balance End.
[2025-01-09 23:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:00:04] Production.INFO: count ==21
[2025-01-09 23:00:04] Production.ERROR: done
[2025-01-09 23:00:04] Production.ERROR: CronJobId end 12
[2025-01-09 23:00:04] Production.INFO: ==14424== Releasing lock...
[2025-01-09 23:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 23:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 23:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212795') start
[2025-01-09 23:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212795') end
[2025-01-09 23:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 23:00:04] Production.INFO: 1
[2025-01-09 23:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 23:00:04] Production.INFO: ==14430== Releasing lock...
[2025-01-09 23:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 23:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 23:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 20:00:05
[end_date_ymd] => 2025-01-09 23:00:05
[RateCDR] => 1
)
[2025-01-09 23:00:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 20:00:05' and `end` < '2025-01-09 23:00:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 23:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14212794', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 23:00:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 23:00:08] Production.INFO: ProcessCDR(1,14212794,1,1,2)
[2025-01-09 23:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14212794,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14212794,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:00:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:00:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:00:08] Production.INFO: ==14428== Releasing lock...
[2025-01-09 23:00:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 23:00:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 23:00:14] Production.ERROR: CronJobId end10
[2025-01-09 23:00:14] Production.INFO: ==14422== Releasing lock...
[2025-01-09 23:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 23:00:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 23:00:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 23:00:15] Production.INFO: ============== Balance Warning START===========
[2025-01-09 23:00:15] Production.INFO: ============== Balance Warning END===========
[2025-01-09 23:00:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 23:00:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 23:00:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 23:00:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 23:00:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 23:00:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 23:00:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 23:00:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 23:00:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 23:00:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 23:00:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 23:00:15] Production.INFO: call_cost start
[2025-01-09 23:00:15] Production.INFO: call_cost end
[2025-01-09 23:00:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 23:00:16] Production.INFO: ============== Report Schedule START===========
[2025-01-09 23:00:16] Production.INFO: ============== Report Schedule END===========
[2025-01-09 23:00:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 23:00:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 23:00:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 23:00:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 23:00:16] Production.INFO: ============== Deal alert START===========
[2025-01-09 23:00:16] Production.INFO: ============== Deal alert END===========
[2025-01-09 23:00:16] Production.INFO: ==14418== Releasing lock...
[2025-01-09 23:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 23:00:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 23:00:18] Production.INFO: count ==691
[2025-01-09 23:00:18] Production.ERROR: pbx CDR StartTime 2025-01-09 20:00:05 - End Time 2025-01-09 23:00:05
[2025-01-09 23:00:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 23:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212796', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212796', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212796', 'tblTempVendorCDR_20' ) start
[2025-01-09 23:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212796', 'tblTempVendorCDR_20' ) end
[2025-01-09 23:00:18] Production.INFO: ProcessCDR(1,14212796,1,1,2)
[2025-01-09 23:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212796,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:00:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212796,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:00:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212796,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:00:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212796,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:00:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212796', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:00:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212796', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:00:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:00:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:00:21] Production.INFO: ==14426== Releasing lock...
[2025-01-09 23:00:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 23:00:21] Production.INFO: 32.5 MB #Memory Used#
[2025-01-10 04:01:01] Production.INFO: ==14527== Lock acquired, processing the job...
[2025-01-10 04:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 04:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 04:01:02] Production.INFO: neon service started
[2025-01-10 04:01:02] Production.INFO: neon service started
[2025-01-10 04:01:02] Production.INFO: ==14527== Releasing lock...
[2025-01-10 04:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 04:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 23:01:02] Production.INFO: ==14539== Lock acquired, processing the job...
[2025-01-09 23:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 04:01:02] Production.INFO: ==14541== Lock acquired, processing the job...
[2025-01-10 04:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 04:01:02] Production.INFO: ==14541== Releasing lock...
[2025-01-10 04:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 04:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 23:01:02] Production.INFO: ==14539== Releasing lock...
[2025-01-09 23:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 23:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 23:01:03] Production.INFO: ==14546== Lock acquired, processing the job...
[2025-01-09 23:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 23:01:03] Production.INFO: ==14544== Lock acquired, processing the job...
[2025-01-09 23:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 23:01:03] Production.INFO: ==14554== Lock acquired, processing the job...
[2025-01-09 23:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 23:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 23:01:03] Production.INFO: ==14546== Releasing lock...
[2025-01-09 23:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 23:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 23:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:01:03] Production.INFO: count ==21
[2025-01-09 23:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:01:04] Production.INFO: ==14548== Lock acquired, processing the job...
[2025-01-09 23:01:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 23:01:04] Production.INFO: count ==21
[2025-01-09 23:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212799') start
[2025-01-09 23:01:04] Production.INFO: ==14552== Lock acquired, processing the job...
[2025-01-09 23:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 23:01:04] Production.INFO: ==14550== Lock acquired, processing the job...
[2025-01-09 23:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 23:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 23:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 23:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 23:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212799') end
[2025-01-09 23:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 23:01:04] Production.INFO: 1
[2025-01-09 23:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 23:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 23:01:04] Production.INFO: Account Balance Start.
[2025-01-09 23:01:04] Production.INFO: CreateAllLog Start
[2025-01-09 23:01:04] Production.INFO: 117
[2025-01-09 23:01:04] Production.INFO: Date 2025-01-08
[2025-01-09 23:01:04] Production.INFO: Reseller ==> 0
[2025-01-09 23:01:04] Production.INFO: Date 2025-01-09
[2025-01-09 23:01:04] Production.INFO: Reseller ==> 0
[2025-01-09 23:01:04] Production.INFO: ==14554== Releasing lock...
[2025-01-09 23:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 23:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 23:01:04] Production.INFO: Total Charge 0
[2025-01-09 23:01:04] Production.INFO: CreateAllLog End
[2025-01-09 23:01:04] Production.ERROR: done
[2025-01-09 23:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 23:01:04] Production.INFO: Account Balance End.
[2025-01-09 23:01:04] Production.ERROR: CronJobId end 12
[2025-01-09 23:01:04] Production.INFO: ==14550== Releasing lock...
[2025-01-09 23:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 23:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 23:01:04] Production.ERROR: done
[2025-01-09 23:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 20:01:05
[end_date_ymd] => 2025-01-09 23:01:05
[RateCDR] => 1
)
[2025-01-09 23:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 20:01:05' and `end` < '2025-01-09 23:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 23:01:13] Production.ERROR: CronJobId end10
[2025-01-09 23:01:13] Production.INFO: ==14548== Releasing lock...
[2025-01-09 23:01:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 23:01:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 23:01:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 23:01:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 23:01:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 23:01:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 23:01:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 23:01:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 23:01:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 23:01:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 23:01:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 23:01:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 23:01:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 23:01:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 23:01:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 23:01:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 23:01:14] Production.INFO: call_cost start
[2025-01-09 23:01:14] Production.INFO: call_cost end
[2025-01-09 23:01:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 23:01:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 23:01:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 23:01:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 23:01:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 23:01:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 23:01:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 23:01:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 23:01:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 23:01:15] Production.INFO: ==14544== Releasing lock...
[2025-01-09 23:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 23:01:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 23:01:18] Production.INFO: count ==656
[2025-01-09 23:01:18] Production.ERROR: pbx CDR StartTime 2025-01-09 20:01:05 - End Time 2025-01-09 23:01:05
[2025-01-09 23:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 23:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212801', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212801', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212801', 'tblTempVendorCDR_20' ) start
[2025-01-09 23:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212801', 'tblTempVendorCDR_20' ) end
[2025-01-09 23:01:18] Production.INFO: ProcessCDR(1,14212801,1,1,2)
[2025-01-09 23:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212801,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:01:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212801,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:01:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212801,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:01:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212801,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212801', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212801', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:01:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:01:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:01:21] Production.INFO: ==14552== Releasing lock...
[2025-01-09 23:01:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 23:01:21] Production.INFO: 32.25 MB #Memory Used#
[2025-01-10 04:02:01] Production.INFO: ==14648== Lock acquired, processing the job...
[2025-01-10 04:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 04:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 04:02:01] Production.INFO: neon service started
[2025-01-10 04:02:01] Production.INFO: neon service started
[2025-01-10 04:02:01] Production.INFO: ==14648== Releasing lock...
[2025-01-10 04:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 04:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 04:02:01] Production.INFO: ==14652== Lock acquired, processing the job...
[2025-01-10 04:02:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 04:02:01] Production.INFO: ==14652== Releasing lock...
[2025-01-10 04:02:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 04:02:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 23:02:01] Production.INFO: ==14650== Lock acquired, processing the job...
[2025-01-09 23:02:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 23:02:02] Production.INFO: ==14650== Releasing lock...
[2025-01-09 23:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 23:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 23:02:03] Production.INFO: ==14660== Lock acquired, processing the job...
[2025-01-09 23:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 23:02:03] Production.INFO: ==14658== Lock acquired, processing the job...
[2025-01-09 23:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 23:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 23:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 23:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 23:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 23:02:03] Production.INFO: Account Balance Start.
[2025-01-09 23:02:03] Production.INFO: CreateAllLog Start
[2025-01-09 23:02:03] Production.INFO: 117
[2025-01-09 23:02:03] Production.INFO: Date 2025-01-08
[2025-01-09 23:02:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:02:03] Production.INFO: ==14654== Lock acquired, processing the job...
[2025-01-09 23:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 23:02:03] Production.INFO: Date 2025-01-09
[2025-01-09 23:02:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:02:03] Production.INFO: ==14656== Lock acquired, processing the job...
[2025-01-09 23:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 23:02:03] Production.INFO: Total Charge 0
[2025-01-09 23:02:03] Production.INFO: CreateAllLog End
[2025-01-09 23:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 23:02:03] Production.INFO: ==14662== Lock acquired, processing the job...
[2025-01-09 23:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 23:02:03] Production.INFO: Account Balance End.
[2025-01-09 23:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:02:03] Production.ERROR: CronJobId end 12
[2025-01-09 23:02:03] Production.INFO: ==14664== Lock acquired, processing the job...
[2025-01-09 23:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 23:02:03] Production.INFO: ==14660== Releasing lock...
[2025-01-09 23:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 23:02:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 23:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:02:03] Production.ERROR: done
[2025-01-09 23:02:03] Production.INFO: count ==21
[2025-01-09 23:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:02:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 23:02:03] Production.INFO: count ==21
[2025-01-09 23:02:03] Production.INFO: ==14656== Releasing lock...
[2025-01-09 23:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 23:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 23:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212805') start
[2025-01-09 23:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212805') end
[2025-01-09 23:02:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 23:02:03] Production.INFO: 1
[2025-01-09 23:02:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 23:02:03] Production.ERROR: done
[2025-01-09 23:02:04] Production.INFO: ==14664== Releasing lock...
[2025-01-09 23:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 23:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 23:02:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 20:02:04
[end_date_ymd] => 2025-01-09 23:02:04
[RateCDR] => 1
)
[2025-01-09 23:02:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 20:02:04' and `end` < '2025-01-09 23:02:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 23:02:11] Production.ERROR: CronJobId end10
[2025-01-09 23:02:11] Production.INFO: ==14658== Releasing lock...
[2025-01-09 23:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 23:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 23:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 23:02:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 23:02:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 23:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 23:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 23:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 23:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 23:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 23:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 23:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 23:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 23:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 23:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 23:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 23:02:13] Production.INFO: call_cost start
[2025-01-09 23:02:13] Production.INFO: call_cost end
[2025-01-09 23:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 23:02:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 23:02:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 23:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 23:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 23:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 23:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 23:02:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 23:02:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 23:02:14] Production.INFO: ==14654== Releasing lock...
[2025-01-09 23:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 23:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 23:02:17] Production.INFO: count ==655
[2025-01-09 23:02:18] Production.ERROR: pbx CDR StartTime 2025-01-09 20:02:04 - End Time 2025-01-09 23:02:04
[2025-01-09 23:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 23:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212806', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212806', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212806', 'tblTempVendorCDR_20' ) start
[2025-01-09 23:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212806', 'tblTempVendorCDR_20' ) end
[2025-01-09 23:02:18] Production.INFO: ProcessCDR(1,14212806,1,1,2)
[2025-01-09 23:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212806,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212806,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212806,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:02:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212806,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212806', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212806', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:02:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:02:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:02:21] Production.INFO: ==14662== Releasing lock...
[2025-01-09 23:02:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 23:02:21] Production.INFO: 32.25 MB #Memory Used#
[2025-01-10 04:03:01] Production.INFO: ==14721== Lock acquired, processing the job...
[2025-01-10 04:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 04:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 04:03:01] Production.INFO: neon service started
[2025-01-10 04:03:01] Production.INFO: neon service started
[2025-01-10 04:03:01] Production.INFO: ==14721== Releasing lock...
[2025-01-10 04:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 04:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 23:03:02] Production.INFO: ==14724== Lock acquired, processing the job...
[2025-01-09 23:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 04:03:02] Production.INFO: ==14726== Lock acquired, processing the job...
[2025-01-10 04:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 04:03:02] Production.INFO: ==14726== Releasing lock...
[2025-01-10 04:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 04:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 23:03:02] Production.INFO: ==14724== Releasing lock...
[2025-01-09 23:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 23:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 23:03:03] Production.INFO: ==14730== Lock acquired, processing the job...
[2025-01-09 23:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 23:03:03] Production.INFO: ==14728== Lock acquired, processing the job...
[2025-01-09 23:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 23:03:03] Production.INFO: ==14734== Lock acquired, processing the job...
[2025-01-09 23:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 23:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 23:03:03] Production.INFO: Account Balance Start.
[2025-01-09 23:03:03] Production.INFO: CreateAllLog Start
[2025-01-09 23:03:03] Production.INFO: 117
[2025-01-09 23:03:03] Production.INFO: Date 2025-01-08
[2025-01-09 23:03:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:03:03] Production.INFO: ==14732== Lock acquired, processing the job...
[2025-01-09 23:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 23:03:03] Production.INFO: Date 2025-01-09
[2025-01-09 23:03:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:03:03] Production.INFO: Total Charge 0
[2025-01-09 23:03:03] Production.INFO: CreateAllLog End
[2025-01-09 23:03:03] Production.INFO: ==14738== Lock acquired, processing the job...
[2025-01-09 23:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 23:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 23:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 23:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 23:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 23:03:03] Production.INFO: ==14736== Lock acquired, processing the job...
[2025-01-09 23:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 23:03:03] Production.INFO: ==14730== Releasing lock...
[2025-01-09 23:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 23:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 23:03:03] Production.INFO: Account Balance End.
[2025-01-09 23:03:03] Production.ERROR: CronJobId end 12
[2025-01-09 23:03:03] Production.INFO: ==14734== Releasing lock...
[2025-01-09 23:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 23:03:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 23:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:03:04] Production.INFO: count ==21
[2025-01-09 23:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:03:04] Production.INFO: count ==21
[2025-01-09 23:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212810') start
[2025-01-09 23:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212810') end
[2025-01-09 23:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 23:03:04] Production.INFO: 1
[2025-01-09 23:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 23:03:04] Production.ERROR: done
[2025-01-09 23:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 23:03:04] Production.INFO: ==14738== Releasing lock...
[2025-01-09 23:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 23:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 23:03:04] Production.ERROR: done
[2025-01-09 23:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 20:03:05
[end_date_ymd] => 2025-01-09 23:03:05
[RateCDR] => 1
)
[2025-01-09 23:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 20:03:05' and `end` < '2025-01-09 23:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 23:03:11] Production.ERROR: CronJobId end10
[2025-01-09 23:03:11] Production.INFO: ==14732== Releasing lock...
[2025-01-09 23:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 23:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 23:03:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 23:03:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 23:03:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 23:03:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 23:03:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 23:03:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 23:03:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 23:03:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 23:03:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 23:03:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 23:03:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 23:03:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 23:03:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 23:03:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 23:03:13] Production.INFO: call_cost start
[2025-01-09 23:03:13] Production.INFO: call_cost end
[2025-01-09 23:03:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 23:03:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 23:03:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 23:03:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 23:03:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 23:03:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 23:03:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 23:03:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 23:03:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 23:03:14] Production.INFO: ==14728== Releasing lock...
[2025-01-09 23:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 23:03:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 23:03:18] Production.INFO: count ==655
[2025-01-09 23:03:18] Production.ERROR: pbx CDR StartTime 2025-01-09 20:03:05 - End Time 2025-01-09 23:03:05
[2025-01-09 23:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 23:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212811', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212811', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212811', 'tblTempVendorCDR_20' ) start
[2025-01-09 23:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212811', 'tblTempVendorCDR_20' ) end
[2025-01-09 23:03:18] Production.INFO: ProcessCDR(1,14212811,1,1,2)
[2025-01-09 23:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212811,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212811,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212811,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212811,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212811', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212811', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:03:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:03:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:03:21] Production.INFO: ==14736== Releasing lock...
[2025-01-09 23:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 23:03:21] Production.INFO: 32.25 MB #Memory Used#
[2025-01-10 04:04:02] Production.INFO: ==14792== Lock acquired, processing the job...
[2025-01-10 04:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 04:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 04:04:02] Production.INFO: neon service started
[2025-01-10 04:04:02] Production.INFO: neon service started
[2025-01-10 04:04:02] Production.INFO: ==14792== Releasing lock...
[2025-01-10 04:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 04:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 23:04:02] Production.INFO: ==14794== Lock acquired, processing the job...
[2025-01-09 23:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 04:04:02] Production.INFO: ==14796== Lock acquired, processing the job...
[2025-01-10 04:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 04:04:02] Production.INFO: ==14796== Releasing lock...
[2025-01-10 04:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 04:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 23:04:03] Production.INFO: ==14794== Releasing lock...
[2025-01-09 23:04:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 23:04:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 23:04:03] Production.INFO: ==14803== Lock acquired, processing the job...
[2025-01-09 23:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 23:04:03] Production.INFO: ==14801== Lock acquired, processing the job...
[2025-01-09 23:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 23:04:03] Production.INFO: ==14807== Lock acquired, processing the job...
[2025-01-09 23:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 23:04:04] Production.INFO: ==14799== Lock acquired, processing the job...
[2025-01-09 23:04:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 23:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 23:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 23:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 23:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 23:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:04:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 23:04:04] Production.INFO: ==14805== Lock acquired, processing the job...
[2025-01-09 23:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 23:04:04] Production.INFO: ==14809== Lock acquired, processing the job...
[2025-01-09 23:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 23:04:04] Production.INFO: Account Balance Start.
[2025-01-09 23:04:04] Production.INFO: CreateAllLog Start
[2025-01-09 23:04:04] Production.INFO: 117
[2025-01-09 23:04:04] Production.INFO: Date 2025-01-08
[2025-01-09 23:04:04] Production.INFO: Reseller ==> 0
[2025-01-09 23:04:04] Production.ERROR: done
[2025-01-09 23:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 23:04:04] Production.INFO: ==14801== Releasing lock...
[2025-01-09 23:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 23:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 23:04:04] Production.INFO: Date 2025-01-09
[2025-01-09 23:04:04] Production.INFO: Reseller ==> 0
[2025-01-09 23:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:04:04] Production.INFO: Total Charge 0
[2025-01-09 23:04:04] Production.INFO: count ==21
[2025-01-09 23:04:04] Production.INFO: CreateAllLog End
[2025-01-09 23:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:04:04] Production.INFO: count ==21
[2025-01-09 23:04:04] Production.ERROR: done
[2025-01-09 23:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212815') start
[2025-01-09 23:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212815') end
[2025-01-09 23:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 23:04:04] Production.INFO: 1
[2025-01-09 23:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 23:04:04] Production.INFO: Account Balance End.
[2025-01-09 23:04:04] Production.ERROR: CronJobId end 12
[2025-01-09 23:04:04] Production.INFO: ==14805== Releasing lock...
[2025-01-09 23:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 23:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 23:04:04] Production.INFO: ==14809== Releasing lock...
[2025-01-09 23:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 23:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 23:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 20:04:05
[end_date_ymd] => 2025-01-09 23:04:05
[RateCDR] => 1
)
[2025-01-09 23:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 20:04:05' and `end` < '2025-01-09 23:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 23:04:12] Production.ERROR: CronJobId end10
[2025-01-09 23:04:12] Production.INFO: ==14803== Releasing lock...
[2025-01-09 23:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 23:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 23:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 23:04:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 23:04:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 23:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 23:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 23:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 23:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 23:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 23:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 23:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 23:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 23:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 23:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 23:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 23:04:13] Production.INFO: call_cost start
[2025-01-09 23:04:13] Production.INFO: call_cost end
[2025-01-09 23:04:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 23:04:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 23:04:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 23:04:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 23:04:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 23:04:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 23:04:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 23:04:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 23:04:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 23:04:14] Production.INFO: ==14799== Releasing lock...
[2025-01-09 23:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 23:04:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 23:04:18] Production.INFO: count ==655
[2025-01-09 23:04:18] Production.ERROR: pbx CDR StartTime 2025-01-09 20:04:05 - End Time 2025-01-09 23:04:05
[2025-01-09 23:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 23:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212816', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212816', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212816', 'tblTempVendorCDR_20' ) start
[2025-01-09 23:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212816', 'tblTempVendorCDR_20' ) end
[2025-01-09 23:04:18] Production.INFO: ProcessCDR(1,14212816,1,1,2)
[2025-01-09 23:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212816,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212816,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212816,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:04:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212816,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212816', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212816', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:04:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:04:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:04:21] Production.INFO: ==14807== Releasing lock...
[2025-01-09 23:04:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 23:04:21] Production.INFO: 32.25 MB #Memory Used#
[2025-01-10 04:05:01] Production.INFO: ==14940== Lock acquired, processing the job...
[2025-01-10 04:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 04:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 04:05:01] Production.INFO: neon service started
[2025-01-10 04:05:01] Production.INFO: neon service started
[2025-01-10 04:05:01] Production.INFO: ==14940== Releasing lock...
[2025-01-10 04:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 04:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 04:05:01] Production.INFO: ==14944== Lock acquired, processing the job...
[2025-01-10 04:05:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 04:05:01] Production.INFO: ==14944== Releasing lock...
[2025-01-10 04:05:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 04:05:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 23:05:02] Production.INFO: ==14942== Lock acquired, processing the job...
[2025-01-09 23:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 23:05:02] Production.INFO: ==14942== Releasing lock...
[2025-01-09 23:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 23:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 23:05:03] Production.INFO: ==14947== Lock acquired, processing the job...
[2025-01-09 23:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 23:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 23:05:03] Production.INFO: ==14949== Lock acquired, processing the job...
[2025-01-09 23:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 23:05:03] Production.INFO: ==14953== Lock acquired, processing the job...
[2025-01-09 23:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 23:05:03] Production.INFO: ==14951== Lock acquired, processing the job...
[2025-01-09 23:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 23:05:03] Production.INFO: ==14955== Lock acquired, processing the job...
[2025-01-09 23:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 23:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 23:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 23:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 23:05:03] Production.INFO: ==14957== Lock acquired, processing the job...
[2025-01-09 23:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 23:05:03] Production.INFO: Account Balance Start.
[2025-01-09 23:05:03] Production.INFO: CreateAllLog Start
[2025-01-09 23:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 23:05:03] Production.INFO: 117
[2025-01-09 23:05:03] Production.INFO: Date 2025-01-08
[2025-01-09 23:05:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:05:03] Production.INFO: Date 2025-01-09
[2025-01-09 23:05:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:05:03] Production.INFO: Total Charge 0
[2025-01-09 23:05:03] Production.INFO: count ==21
[2025-01-09 23:05:03] Production.INFO: CreateAllLog End
[2025-01-09 23:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:05:03] Production.INFO: count ==21
[2025-01-09 23:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212820') start
[2025-01-09 23:05:03] Production.INFO: ==14949== Releasing lock...
[2025-01-09 23:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 23:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 23:05:03] Production.ERROR: done
[2025-01-09 23:05:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 23:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212820') end
[2025-01-09 23:05:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 23:05:03] Production.INFO: 1
[2025-01-09 23:05:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 23:05:03] Production.ERROR: done
[2025-01-09 23:05:03] Production.INFO: ==14957== Releasing lock...
[2025-01-09 23:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 23:05:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 23:05:04] Production.INFO: Account Balance End.
[2025-01-09 23:05:04] Production.ERROR: CronJobId end 12
[2025-01-09 23:05:04] Production.INFO: ==14953== Releasing lock...
[2025-01-09 23:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 23:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 23:05:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 20:05:04
[end_date_ymd] => 2025-01-09 23:05:04
[RateCDR] => 1
)
[2025-01-09 23:05:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 20:05:04' and `end` < '2025-01-09 23:05:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 23:05:12] Production.ERROR: CronJobId end10
[2025-01-09 23:05:12] Production.INFO: ==14951== Releasing lock...
[2025-01-09 23:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 23:05:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 23:05:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 23:05:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 23:05:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 23:05:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 23:05:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 23:05:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 23:05:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 23:05:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 23:05:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 23:05:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 23:05:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 23:05:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 23:05:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 23:05:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 23:05:13] Production.INFO: call_cost start
[2025-01-09 23:05:13] Production.INFO: call_cost end
[2025-01-09 23:05:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 23:05:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 23:05:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 23:05:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 23:05:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 23:05:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 23:05:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 23:05:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 23:05:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 23:05:14] Production.INFO: ==14947== Releasing lock...
[2025-01-09 23:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 23:05:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 23:05:17] Production.INFO: count ==655
[2025-01-09 23:05:17] Production.ERROR: pbx CDR StartTime 2025-01-09 20:05:04 - End Time 2025-01-09 23:05:04
[2025-01-09 23:05:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 23:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212821', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212821', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212821', 'tblTempVendorCDR_20' ) start
[2025-01-09 23:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212821', 'tblTempVendorCDR_20' ) end
[2025-01-09 23:05:17] Production.INFO: ProcessCDR(1,14212821,1,1,2)
[2025-01-09 23:05:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212821,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:05:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212821,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:05:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212821,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:05:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212821,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:05:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212821', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:05:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212821', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:05:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:05:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:05:20] Production.INFO: ==14955== Releasing lock...
[2025-01-09 23:05:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 23:05:20] Production.INFO: 32.25 MB #Memory Used#
[2025-01-10 04:06:02] Production.INFO: ==15011== Lock acquired, processing the job...
[2025-01-10 04:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 04:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 04:06:02] Production.INFO: neon service started
[2025-01-10 04:06:02] Production.INFO: neon service started
[2025-01-10 04:06:02] Production.INFO: ==15011== Releasing lock...
[2025-01-10 04:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 04:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 23:06:02] Production.INFO: ==15014== Lock acquired, processing the job...
[2025-01-09 23:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 04:06:02] Production.INFO: ==15016== Lock acquired, processing the job...
[2025-01-10 04:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 04:06:02] Production.INFO: ==15016== Releasing lock...
[2025-01-10 04:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 04:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 23:06:02] Production.INFO: ==15014== Releasing lock...
[2025-01-09 23:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 23:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 23:06:03] Production.INFO: ==15020== Lock acquired, processing the job...
[2025-01-09 23:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 23:06:03] Production.INFO: ==15018== Lock acquired, processing the job...
[2025-01-09 23:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 23:06:03] Production.INFO: ==15026== Lock acquired, processing the job...
[2025-01-09 23:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 23:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 23:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:06:03] Production.INFO: ==15022== Lock acquired, processing the job...
[2025-01-09 23:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 23:06:03] Production.INFO: ==15020== Releasing lock...
[2025-01-09 23:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 23:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 23:06:04] Production.INFO: ==15024== Lock acquired, processing the job...
[2025-01-09 23:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 23:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 23:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 23:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 23:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 23:06:04] Production.INFO: ==15028== Lock acquired, processing the job...
[2025-01-09 23:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 23:06:04] Production.ERROR: done
[2025-01-09 23:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 23:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:06:04] Production.INFO: Account Balance Start.
[2025-01-09 23:06:04] Production.INFO: CreateAllLog Start
[2025-01-09 23:06:04] Production.INFO: 117
[2025-01-09 23:06:04] Production.INFO: count ==21
[2025-01-09 23:06:04] Production.ERROR: done
[2025-01-09 23:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:06:04] Production.INFO: count ==21
[2025-01-09 23:06:04] Production.INFO: Date 2025-01-08
[2025-01-09 23:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212824') start
[2025-01-09 23:06:04] Production.INFO: Reseller ==> 0
[2025-01-09 23:06:04] Production.INFO: Date 2025-01-09
[2025-01-09 23:06:04] Production.INFO: Reseller ==> 0
[2025-01-09 23:06:04] Production.INFO: Total Charge 0
[2025-01-09 23:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212824') end
[2025-01-09 23:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 23:06:04] Production.INFO: 1
[2025-01-09 23:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 23:06:04] Production.INFO: CreateAllLog End
[2025-01-09 23:06:04] Production.INFO: ==15028== Releasing lock...
[2025-01-09 23:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 23:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 23:06:04] Production.INFO: Account Balance End.
[2025-01-09 23:06:04] Production.ERROR: CronJobId end 12
[2025-01-09 23:06:04] Production.INFO: ==15024== Releasing lock...
[2025-01-09 23:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 23:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 23:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 20:06:05
[end_date_ymd] => 2025-01-09 23:06:05
[RateCDR] => 1
)
[2025-01-09 23:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 20:06:05' and `end` < '2025-01-09 23:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 23:06:11] Production.ERROR: CronJobId end10
[2025-01-09 23:06:11] Production.INFO: ==15022== Releasing lock...
[2025-01-09 23:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 23:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 23:06:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 23:06:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 23:06:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 23:06:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 23:06:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 23:06:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 23:06:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 23:06:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 23:06:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 23:06:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 23:06:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 23:06:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 23:06:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 23:06:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 23:06:12] Production.INFO: call_cost start
[2025-01-09 23:06:12] Production.INFO: call_cost end
[2025-01-09 23:06:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 23:06:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 23:06:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 23:06:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 23:06:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 23:06:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 23:06:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 23:06:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 23:06:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 23:06:13] Production.INFO: ==15018== Releasing lock...
[2025-01-09 23:06:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 23:06:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 23:06:19] Production.INFO: count ==652
[2025-01-09 23:06:19] Production.ERROR: pbx CDR StartTime 2025-01-09 20:06:05 - End Time 2025-01-09 23:06:05
[2025-01-09 23:06:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 23:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212826', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212826', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212826', 'tblTempVendorCDR_20' ) start
[2025-01-09 23:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212826', 'tblTempVendorCDR_20' ) end
[2025-01-09 23:06:19] Production.INFO: ProcessCDR(1,14212826,1,1,2)
[2025-01-09 23:06:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212826,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:06:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212826,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:06:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212826,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212826,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212826', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212826', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:06:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:06:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:06:22] Production.INFO: ==15026== Releasing lock...
[2025-01-09 23:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 23:06:22] Production.INFO: 32.25 MB #Memory Used#
[2025-01-10 04:07:01] Production.INFO: ==15081== Lock acquired, processing the job...
[2025-01-10 04:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 04:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 04:07:01] Production.INFO: neon service started
[2025-01-10 04:07:01] Production.INFO: neon service started
[2025-01-10 04:07:01] Production.INFO: ==15081== Releasing lock...
[2025-01-10 04:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 04:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 23:07:01] Production.INFO: ==15083== Lock acquired, processing the job...
[2025-01-09 23:07:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 23:07:02] Production.INFO: ==15083== Releasing lock...
[2025-01-09 23:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 23:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 04:07:02] Production.INFO: ==15085== Lock acquired, processing the job...
[2025-01-10 04:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 04:07:02] Production.INFO: ==15085== Releasing lock...
[2025-01-10 04:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 04:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 23:07:02] Production.INFO: ==15095== Lock acquired, processing the job...
[2025-01-09 23:07:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 23:07:02] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:07:02] Production.INFO: ==15097== Lock acquired, processing the job...
[2025-01-09 23:07:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 23:07:03] Production.INFO: ==15087== Lock acquired, processing the job...
[2025-01-09 23:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 23:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:07:03] Production.INFO: ==15089== Lock acquired, processing the job...
[2025-01-09 23:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 23:07:03] Production.INFO: ==15091== Lock acquired, processing the job...
[2025-01-09 23:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 23:07:03] Production.INFO: ==15093== Lock acquired, processing the job...
[2025-01-09 23:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 23:07:03] Production.INFO: count ==21
[2025-01-09 23:07:03] Production.ERROR: done
[2025-01-09 23:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 23:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:07:03] Production.INFO: count ==21
[2025-01-09 23:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212827') start
[2025-01-09 23:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 23:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 23:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 23:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 23:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 23:07:03] Production.INFO: Account Balance Start.
[2025-01-09 23:07:03] Production.INFO: CreateAllLog Start
[2025-01-09 23:07:03] Production.INFO: 117
[2025-01-09 23:07:03] Production.ERROR: done
[2025-01-09 23:07:03] Production.INFO: Date 2025-01-08
[2025-01-09 23:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212827') end
[2025-01-09 23:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 23:07:03] Production.INFO: 1
[2025-01-09 23:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 23:07:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:07:03] Production.INFO: Date 2025-01-09
[2025-01-09 23:07:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:07:03] Production.INFO: Total Charge 0
[2025-01-09 23:07:03] Production.INFO: ==15097== Releasing lock...
[2025-01-09 23:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 23:07:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 23:07:03] Production.INFO: CreateAllLog End
[2025-01-09 23:07:03] Production.INFO: ==15089== Releasing lock...
[2025-01-09 23:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 23:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 23:07:03] Production.INFO: Account Balance End.
[2025-01-09 23:07:03] Production.ERROR: CronJobId end 12
[2025-01-09 23:07:03] Production.INFO: ==15093== Releasing lock...
[2025-01-09 23:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 23:07:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 23:07:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 20:07:04
[end_date_ymd] => 2025-01-09 23:07:04
[RateCDR] => 1
)
[2025-01-09 23:07:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 20:07:04' and `end` < '2025-01-09 23:07:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 23:07:11] Production.ERROR: CronJobId end10
[2025-01-09 23:07:11] Production.INFO: ==15091== Releasing lock...
[2025-01-09 23:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 23:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 23:07:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 23:07:11] Production.INFO: ============== Balance Warning START===========
[2025-01-09 23:07:11] Production.INFO: ============== Balance Warning END===========
[2025-01-09 23:07:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 23:07:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 23:07:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 23:07:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 23:07:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 23:07:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 23:07:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 23:07:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 23:07:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 23:07:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 23:07:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 23:07:12] Production.INFO: call_cost start
[2025-01-09 23:07:12] Production.INFO: call_cost end
[2025-01-09 23:07:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 23:07:12] Production.INFO: ============== Report Schedule START===========
[2025-01-09 23:07:12] Production.INFO: ============== Report Schedule END===========
[2025-01-09 23:07:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 23:07:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 23:07:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 23:07:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 23:07:12] Production.INFO: ============== Deal alert START===========
[2025-01-09 23:07:12] Production.INFO: ============== Deal alert END===========
[2025-01-09 23:07:12] Production.INFO: ==15087== Releasing lock...
[2025-01-09 23:07:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 23:07:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 23:07:18] Production.INFO: count ==651
[2025-01-09 23:07:18] Production.ERROR: pbx CDR StartTime 2025-01-09 20:07:04 - End Time 2025-01-09 23:07:04
[2025-01-09 23:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 23:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212831', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212831', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212831', 'tblTempVendorCDR_20' ) start
[2025-01-09 23:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212831', 'tblTempVendorCDR_20' ) end
[2025-01-09 23:07:18] Production.INFO: ProcessCDR(1,14212831,1,1,2)
[2025-01-09 23:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212831,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212831,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212831,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212831,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212831', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212831', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:07:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:07:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:07:21] Production.INFO: ==15095== Releasing lock...
[2025-01-09 23:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 23:07:21] Production.INFO: 32.25 MB #Memory Used#
[2025-01-10 04:08:01] Production.INFO: ==15228== Lock acquired, processing the job...
[2025-01-10 04:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 04:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 04:08:01] Production.INFO: neon service started
[2025-01-10 04:08:01] Production.INFO: neon service started
[2025-01-10 04:08:01] Production.INFO: ==15228== Releasing lock...
[2025-01-10 04:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 04:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 23:08:02] Production.INFO: ==15230== Lock acquired, processing the job...
[2025-01-09 23:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 23:08:02] Production.INFO: ==15230== Releasing lock...
[2025-01-09 23:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 23:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 04:08:02] Production.INFO: ==15232== Lock acquired, processing the job...
[2025-01-10 04:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 04:08:02] Production.INFO: ==15232== Releasing lock...
[2025-01-10 04:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 04:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 23:08:03] Production.INFO: ==15243== Lock acquired, processing the job...
[2025-01-09 23:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 23:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:08:03] Production.INFO: ==15245== Lock acquired, processing the job...
[2025-01-09 23:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 23:08:03] Production.INFO: ==15237== Lock acquired, processing the job...
[2025-01-09 23:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 23:08:03] Production.INFO: ==15235== Lock acquired, processing the job...
[2025-01-09 23:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 23:08:03] Production.INFO: ==15239== Lock acquired, processing the job...
[2025-01-09 23:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 23:08:03] Production.INFO: ==15241== Lock acquired, processing the job...
[2025-01-09 23:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 23:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 23:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 23:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 23:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 23:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 23:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:08:03] Production.ERROR: done
[2025-01-09 23:08:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 23:08:03] Production.INFO: count ==21
[2025-01-09 23:08:03] Production.INFO: Account Balance Start.
[2025-01-09 23:08:03] Production.INFO: CreateAllLog Start
[2025-01-09 23:08:03] Production.INFO: 117
[2025-01-09 23:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:08:03] Production.INFO: count ==21
[2025-01-09 23:08:03] Production.INFO: Date 2025-01-08
[2025-01-09 23:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212833') start
[2025-01-09 23:08:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:08:03] Production.ERROR: done
[2025-01-09 23:08:03] Production.INFO: Date 2025-01-09
[2025-01-09 23:08:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:08:04] Production.INFO: Total Charge 0
[2025-01-09 23:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212833') end
[2025-01-09 23:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 23:08:04] Production.INFO: 1
[2025-01-09 23:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 23:08:04] Production.INFO: CreateAllLog End
[2025-01-09 23:08:04] Production.INFO: ==15237== Releasing lock...
[2025-01-09 23:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 23:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 23:08:04] Production.INFO: ==15245== Releasing lock...
[2025-01-09 23:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 23:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 23:08:04] Production.INFO: Account Balance End.
[2025-01-09 23:08:04] Production.ERROR: CronJobId end 12
[2025-01-09 23:08:04] Production.INFO: ==15241== Releasing lock...
[2025-01-09 23:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 23:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 23:08:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 20:08:04
[end_date_ymd] => 2025-01-09 23:08:04
[RateCDR] => 1
)
[2025-01-09 23:08:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 20:08:04' and `end` < '2025-01-09 23:08:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 23:08:12] Production.ERROR: CronJobId end10
[2025-01-09 23:08:12] Production.INFO: ==15239== Releasing lock...
[2025-01-09 23:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 23:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 23:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 23:08:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 23:08:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 23:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 23:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 23:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 23:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 23:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 23:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 23:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 23:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 23:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 23:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 23:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 23:08:13] Production.INFO: call_cost start
[2025-01-09 23:08:13] Production.INFO: call_cost end
[2025-01-09 23:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 23:08:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 23:08:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 23:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 23:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 23:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 23:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 23:08:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 23:08:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 23:08:14] Production.INFO: ==15235== Releasing lock...
[2025-01-09 23:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 23:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 23:08:17] Production.INFO: count ==648
[2025-01-09 23:08:17] Production.ERROR: pbx CDR StartTime 2025-01-09 20:08:04 - End Time 2025-01-09 23:08:04
[2025-01-09 23:08:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 23:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212836', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212836', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212836', 'tblTempVendorCDR_20' ) start
[2025-01-09 23:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212836', 'tblTempVendorCDR_20' ) end
[2025-01-09 23:08:17] Production.INFO: ProcessCDR(1,14212836,1,1,2)
[2025-01-09 23:08:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212836,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:08:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212836,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:08:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212836,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:08:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212836,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:08:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212836', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:08:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212836', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:08:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:08:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:08:20] Production.INFO: ==15243== Releasing lock...
[2025-01-09 23:08:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 23:08:20] Production.INFO: 32.25 MB #Memory Used#
[2025-01-10 04:09:02] Production.INFO: ==15301== Lock acquired, processing the job...
[2025-01-10 04:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 04:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 04:09:02] Production.INFO: neon service started
[2025-01-10 04:09:02] Production.INFO: neon service started
[2025-01-10 04:09:02] Production.INFO: ==15301== Releasing lock...
[2025-01-10 04:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 04:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 23:09:02] Production.INFO: ==15303== Lock acquired, processing the job...
[2025-01-09 23:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 23:09:02] Production.INFO: ==15303== Releasing lock...
[2025-01-09 23:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 23:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 04:09:02] Production.INFO: ==15305== Lock acquired, processing the job...
[2025-01-10 04:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 04:09:02] Production.INFO: ==15305== Releasing lock...
[2025-01-10 04:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 04:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 23:09:03] Production.INFO: ==15316== Lock acquired, processing the job...
[2025-01-09 23:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 23:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:09:03] Production.INFO: ==15310== Lock acquired, processing the job...
[2025-01-09 23:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 23:09:03] Production.INFO: ==15318== Lock acquired, processing the job...
[2025-01-09 23:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 23:09:03] Production.INFO: ==15308== Lock acquired, processing the job...
[2025-01-09 23:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 23:09:03] Production.INFO: ==15312== Lock acquired, processing the job...
[2025-01-09 23:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 23:09:03] Production.INFO: ==15314== Lock acquired, processing the job...
[2025-01-09 23:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 23:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 23:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 23:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 23:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 23:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:09:03] Production.INFO: count ==21
[2025-01-09 23:09:03] Production.ERROR: done
[2025-01-09 23:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 23:09:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 23:09:03] Production.INFO: count ==21
[2025-01-09 23:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212837') start
[2025-01-09 23:09:04] Production.INFO: Account Balance Start.
[2025-01-09 23:09:04] Production.INFO: CreateAllLog Start
[2025-01-09 23:09:04] Production.INFO: 117
[2025-01-09 23:09:04] Production.ERROR: done
[2025-01-09 23:09:04] Production.INFO: Date 2025-01-08
[2025-01-09 23:09:04] Production.INFO: Reseller ==> 0
[2025-01-09 23:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212837') end
[2025-01-09 23:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 23:09:04] Production.INFO: 1
[2025-01-09 23:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 23:09:04] Production.INFO: ==15318== Releasing lock...
[2025-01-09 23:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 23:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 23:09:04] Production.INFO: Date 2025-01-09
[2025-01-09 23:09:04] Production.INFO: Reseller ==> 0
[2025-01-09 23:09:04] Production.INFO: Total Charge 0
[2025-01-09 23:09:04] Production.INFO: CreateAllLog End
[2025-01-09 23:09:04] Production.INFO: ==15310== Releasing lock...
[2025-01-09 23:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 23:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 23:09:04] Production.INFO: Account Balance End.
[2025-01-09 23:09:04] Production.ERROR: CronJobId end 12
[2025-01-09 23:09:04] Production.INFO: ==15314== Releasing lock...
[2025-01-09 23:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 23:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 23:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 20:09:05
[end_date_ymd] => 2025-01-09 23:09:05
[RateCDR] => 1
)
[2025-01-09 23:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 20:09:05' and `end` < '2025-01-09 23:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 23:09:11] Production.ERROR: CronJobId end10
[2025-01-09 23:09:11] Production.INFO: ==15312== Releasing lock...
[2025-01-09 23:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 23:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 23:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 23:09:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 23:09:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 23:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 23:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 23:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 23:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 23:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 23:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 23:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 23:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 23:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 23:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 23:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 23:09:14] Production.INFO: call_cost start
[2025-01-09 23:09:14] Production.INFO: call_cost end
[2025-01-09 23:09:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 23:09:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 23:09:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 23:09:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 23:09:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 23:09:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 23:09:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 23:09:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 23:09:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 23:09:14] Production.INFO: ==15308== Releasing lock...
[2025-01-09 23:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 23:09:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 23:09:18] Production.INFO: count ==643
[2025-01-09 23:09:18] Production.ERROR: pbx CDR StartTime 2025-01-09 20:09:05 - End Time 2025-01-09 23:09:05
[2025-01-09 23:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 23:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212841', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212841', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212841', 'tblTempVendorCDR_20' ) start
[2025-01-09 23:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212841', 'tblTempVendorCDR_20' ) end
[2025-01-09 23:09:18] Production.INFO: ProcessCDR(1,14212841,1,1,2)
[2025-01-09 23:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212841,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212841,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212841,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:09:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212841,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212841', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212841', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:09:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:09:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:09:21] Production.INFO: ==15316== Releasing lock...
[2025-01-09 23:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 23:09:21] Production.INFO: 32.25 MB #Memory Used#
[2025-01-10 04:10:01] Production.INFO: ==15371== Lock acquired, processing the job...
[2025-01-10 04:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 04:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 04:10:01] Production.INFO: neon service started
[2025-01-10 04:10:01] Production.INFO: neon service started
[2025-01-10 04:10:01] Production.INFO: ==15371== Releasing lock...
[2025-01-10 04:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 04:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 04:10:02] Production.INFO: ==15375== Lock acquired, processing the job...
[2025-01-10 04:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 04:10:02] Production.INFO: ==15375== Releasing lock...
[2025-01-10 04:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 04:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 23:10:02] Production.INFO: ==15373== Lock acquired, processing the job...
[2025-01-09 23:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 23:10:02] Production.INFO: ==15373== Releasing lock...
[2025-01-09 23:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 23:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 23:10:03] Production.INFO: ==15378== Lock acquired, processing the job...
[2025-01-09 23:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 23:10:03] Production.INFO: ==15380== Lock acquired, processing the job...
[2025-01-09 23:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 23:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 23:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 23:10:03] Production.INFO: ==15378== Releasing lock...
[2025-01-09 23:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 23:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 23:10:03] Production.INFO: ==15382== Lock acquired, processing the job...
[2025-01-09 23:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 23:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 23:10:03] Production.INFO: ==15384== Lock acquired, processing the job...
[2025-01-09 23:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 23:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 23:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 23:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 23:10:03] Production.INFO: ==15386== Lock acquired, processing the job...
[2025-01-09 23:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 23:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 23:10:03] Production.INFO: ==15392== Lock acquired, processing the job...
[2025-01-09 23:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 23:10:03] Production.INFO: Account Balance Start.
[2025-01-09 23:10:03] Production.INFO: CreateAllLog Start
[2025-01-09 23:10:03] Production.INFO: 117
[2025-01-09 23:10:03] Production.INFO: Date 2025-01-08
[2025-01-09 23:10:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:10:04] Production.INFO: ==15388== Lock acquired, processing the job...
[2025-01-09 23:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 23:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:10:04] Production.INFO: count ==21
[2025-01-09 23:10:04] Production.INFO: ==15390== Lock acquired, processing the job...
[2025-01-09 23:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 23:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:10:04] Production.INFO: count ==21
[2025-01-09 23:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212845') start
[2025-01-09 23:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:10:04] Production.INFO: Date 2025-01-09
[2025-01-09 23:10:04] Production.INFO: Reseller ==> 0
[2025-01-09 23:10:04] Production.INFO: Total Charge 0
[2025-01-09 23:10:04] Production.INFO: CreateAllLog End
[2025-01-09 23:10:04] Production.INFO: ==15382== Releasing lock...
[2025-01-09 23:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 23:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 23:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212845') end
[2025-01-09 23:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 23:10:04] Production.INFO: 1
[2025-01-09 23:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 23:10:04] Production.INFO: ==15392== Releasing lock...
[2025-01-09 23:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 23:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 23:10:04] Production.ERROR: done
[2025-01-09 23:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 23:10:04] Production.ERROR: done
[2025-01-09 23:10:04] Production.ERROR: done
[2025-01-09 23:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 23:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14212846', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 23:10:04] Production.INFO: Account Balance End.
[2025-01-09 23:10:05] Production.ERROR: CronJobId end 12
[2025-01-09 23:10:05] Production.INFO: ==15386== Releasing lock...
[2025-01-09 23:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 23:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 23:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 20:10:06
[end_date_ymd] => 2025-01-09 23:10:06
[RateCDR] => 1
)
[2025-01-09 23:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 20:10:06' and `end` < '2025-01-09 23:10:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 23:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14212846', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 23:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 23:10:09] Production.INFO: ProcessCDR(1,14212846,1,1,2)
[2025-01-09 23:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14212846,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14212846,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:10:09] Production.INFO: ==15390== Releasing lock...
[2025-01-09 23:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 23:10:09] Production.INFO: 26 MB #Memory Used#
[2025-01-09 23:10:13] Production.ERROR: CronJobId end10
[2025-01-09 23:10:13] Production.INFO: ==15384== Releasing lock...
[2025-01-09 23:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 23:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 23:10:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 23:10:15] Production.INFO: ============== Balance Warning START===========
[2025-01-09 23:10:15] Production.INFO: ============== Balance Warning END===========
[2025-01-09 23:10:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 23:10:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 23:10:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 23:10:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 23:10:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 23:10:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 23:10:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 23:10:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 23:10:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 23:10:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 23:10:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 23:10:15] Production.INFO: call_cost start
[2025-01-09 23:10:15] Production.INFO: call_cost end
[2025-01-09 23:10:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 23:10:16] Production.INFO: ============== Report Schedule START===========
[2025-01-09 23:10:16] Production.INFO: ============== Report Schedule END===========
[2025-01-09 23:10:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 23:10:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 23:10:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 23:10:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 23:10:16] Production.INFO: ============== Deal alert START===========
[2025-01-09 23:10:16] Production.INFO: ============== Deal alert END===========
[2025-01-09 23:10:16] Production.INFO: ==15380== Releasing lock...
[2025-01-09 23:10:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 23:10:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 23:10:19] Production.INFO: count ==642
[2025-01-09 23:10:19] Production.ERROR: pbx CDR StartTime 2025-01-09 20:10:06 - End Time 2025-01-09 23:10:06
[2025-01-09 23:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 23:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212847', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212847', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212847', 'tblTempVendorCDR_20' ) start
[2025-01-09 23:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212847', 'tblTempVendorCDR_20' ) end
[2025-01-09 23:10:19] Production.INFO: ProcessCDR(1,14212847,1,1,2)
[2025-01-09 23:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212847,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212847,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212847,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212847,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212847', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212847', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:10:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:10:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:10:22] Production.INFO: ==15388== Releasing lock...
[2025-01-09 23:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 23:10:22] Production.INFO: 32.25 MB #Memory Used#
[2025-01-10 04:11:01] Production.INFO: ==15446== Lock acquired, processing the job...
[2025-01-10 04:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 04:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 04:11:01] Production.INFO: neon service started
[2025-01-10 04:11:02] Production.INFO: neon service started
[2025-01-10 04:11:02] Production.INFO: ==15446== Releasing lock...
[2025-01-10 04:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 04:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 23:11:02] Production.INFO: ==15448== Lock acquired, processing the job...
[2025-01-09 23:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 04:11:02] Production.INFO: ==15450== Lock acquired, processing the job...
[2025-01-10 04:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 23:11:02] Production.INFO: ==15448== Releasing lock...
[2025-01-09 23:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 23:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 04:11:02] Production.INFO: ==15450== Releasing lock...
[2025-01-10 04:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 04:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 23:11:03] Production.INFO: ==15452== Lock acquired, processing the job...
[2025-01-09 23:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 23:11:03] Production.INFO: ==15454== Lock acquired, processing the job...
[2025-01-09 23:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 23:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 23:11:03] Production.INFO: ==15459== Lock acquired, processing the job...
[2025-01-09 23:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 23:11:03] Production.INFO: ==15454== Releasing lock...
[2025-01-09 23:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 23:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 23:11:03] Production.INFO: Account Balance Start.
[2025-01-09 23:11:03] Production.INFO: CreateAllLog Start
[2025-01-09 23:11:03] Production.INFO: 117
[2025-01-09 23:11:03] Production.INFO: Date 2025-01-08
[2025-01-09 23:11:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:11:03] Production.INFO: Date 2025-01-09
[2025-01-09 23:11:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:11:03] Production.INFO: ==15456== Lock acquired, processing the job...
[2025-01-09 23:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 23:11:03] Production.INFO: Total Charge 0
[2025-01-09 23:11:03] Production.INFO: CreateAllLog End
[2025-01-09 23:11:03] Production.INFO: ==15461== Lock acquired, processing the job...
[2025-01-09 23:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 23:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 23:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 23:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 23:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 23:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:11:03] Production.INFO: ==15463== Lock acquired, processing the job...
[2025-01-09 23:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 23:11:03] Production.INFO: Account Balance End.
[2025-01-09 23:11:03] Production.ERROR: CronJobId end 12
[2025-01-09 23:11:03] Production.INFO: ==15459== Releasing lock...
[2025-01-09 23:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 23:11:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 23:11:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:11:04] Production.INFO: count ==21
[2025-01-09 23:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:11:04] Production.ERROR: done
[2025-01-09 23:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 23:11:04] Production.INFO: count ==21
[2025-01-09 23:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212851') start
[2025-01-09 23:11:04] Production.ERROR: done
[2025-01-09 23:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212851') end
[2025-01-09 23:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 23:11:04] Production.INFO: 1
[2025-01-09 23:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 23:11:04] Production.INFO: ==15463== Releasing lock...
[2025-01-09 23:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 23:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 23:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 20:11:05
[end_date_ymd] => 2025-01-09 23:11:05
[RateCDR] => 1
)
[2025-01-09 23:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 20:11:05' and `end` < '2025-01-09 23:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 23:11:11] Production.ERROR: CronJobId end10
[2025-01-09 23:11:11] Production.INFO: ==15456== Releasing lock...
[2025-01-09 23:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 23:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 23:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 23:11:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 23:11:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 23:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 23:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 23:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 23:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 23:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 23:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 23:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 23:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 23:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 23:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 23:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 23:11:13] Production.INFO: call_cost start
[2025-01-09 23:11:13] Production.INFO: call_cost end
[2025-01-09 23:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 23:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 23:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 23:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 23:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 23:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 23:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 23:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 23:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 23:11:14] Production.INFO: ==15452== Releasing lock...
[2025-01-09 23:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 23:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 23:11:19] Production.INFO: count ==616
[2025-01-09 23:11:19] Production.ERROR: pbx CDR StartTime 2025-01-09 20:11:05 - End Time 2025-01-09 23:11:05
[2025-01-09 23:11:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 23:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212852', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212852', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212852', 'tblTempVendorCDR_20' ) start
[2025-01-09 23:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212852', 'tblTempVendorCDR_20' ) end
[2025-01-09 23:11:19] Production.INFO: ProcessCDR(1,14212852,1,1,2)
[2025-01-09 23:11:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212852,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:11:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212852,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:11:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212852,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:11:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212852,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212852', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212852', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:11:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:11:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:11:22] Production.INFO: ==15461== Releasing lock...
[2025-01-09 23:11:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 23:11:22] Production.INFO: 32 MB #Memory Used#
[2025-01-10 04:12:01] Production.INFO: ==15599== Lock acquired, processing the job...
[2025-01-10 04:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 04:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 04:12:01] Production.INFO: neon service started
[2025-01-10 04:12:01] Production.INFO: neon service started
[2025-01-10 04:12:01] Production.INFO: ==15599== Releasing lock...
[2025-01-10 04:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 04:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 04:12:01] Production.INFO: ==15603== Lock acquired, processing the job...
[2025-01-10 04:12:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 04:12:01] Production.INFO: ==15603== Releasing lock...
[2025-01-10 04:12:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 04:12:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 23:12:01] Production.INFO: ==15601== Lock acquired, processing the job...
[2025-01-09 23:12:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 23:12:02] Production.INFO: ==15601== Releasing lock...
[2025-01-09 23:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 23:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 23:12:03] Production.INFO: ==15612== Lock acquired, processing the job...
[2025-01-09 23:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 23:12:03] Production.INFO: ==15614== Lock acquired, processing the job...
[2025-01-09 23:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 23:12:03] Production.INFO: ==15606== Lock acquired, processing the job...
[2025-01-09 23:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 23:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 23:12:03] Production.INFO: Account Balance Start.
[2025-01-09 23:12:03] Production.INFO: CreateAllLog Start
[2025-01-09 23:12:03] Production.INFO: 117
[2025-01-09 23:12:03] Production.INFO: ==15608== Lock acquired, processing the job...
[2025-01-09 23:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 23:12:03] Production.INFO: Date 2025-01-08
[2025-01-09 23:12:03] Production.INFO: ==15610== Lock acquired, processing the job...
[2025-01-09 23:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 23:12:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:12:03] Production.INFO: Date 2025-01-09
[2025-01-09 23:12:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:12:03] Production.ERROR: done
[2025-01-09 23:12:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 23:12:03] Production.INFO: ==15616== Lock acquired, processing the job...
[2025-01-09 23:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 23:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 23:12:03] Production.INFO: Total Charge 0
[2025-01-09 23:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 23:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 23:12:03] Production.INFO: CreateAllLog End
[2025-01-09 23:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 23:12:03] Production.ERROR: done
[2025-01-09 23:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:12:03] Production.INFO: count ==21
[2025-01-09 23:12:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:12:03] Production.INFO: count ==21
[2025-01-09 23:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212856') start
[2025-01-09 23:12:03] Production.INFO: Account Balance End.
[2025-01-09 23:12:03] Production.ERROR: CronJobId end 12
[2025-01-09 23:12:03] Production.INFO: ==15612== Releasing lock...
[2025-01-09 23:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 23:12:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 23:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212856') end
[2025-01-09 23:12:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 23:12:03] Production.INFO: 1
[2025-01-09 23:12:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 23:12:03] Production.INFO: ==15616== Releasing lock...
[2025-01-09 23:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 23:12:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 23:12:03] Production.INFO: ==15608== Releasing lock...
[2025-01-09 23:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 23:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 23:12:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 20:12:04
[end_date_ymd] => 2025-01-09 23:12:04
[RateCDR] => 1
)
[2025-01-09 23:12:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 20:12:04' and `end` < '2025-01-09 23:12:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 23:12:11] Production.ERROR: CronJobId end10
[2025-01-09 23:12:11] Production.INFO: ==15610== Releasing lock...
[2025-01-09 23:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 23:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 23:12:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 23:12:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 23:12:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 23:12:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 23:12:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 23:12:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 23:12:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 23:12:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 23:12:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 23:12:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 23:12:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 23:12:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 23:12:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 23:12:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 23:12:12] Production.INFO: call_cost start
[2025-01-09 23:12:12] Production.INFO: call_cost end
[2025-01-09 23:12:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 23:12:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 23:12:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 23:12:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 23:12:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 23:12:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 23:12:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 23:12:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 23:12:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 23:12:13] Production.INFO: ==15606== Releasing lock...
[2025-01-09 23:12:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 23:12:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 23:12:17] Production.INFO: count ==615
[2025-01-09 23:12:17] Production.ERROR: pbx CDR StartTime 2025-01-09 20:12:04 - End Time 2025-01-09 23:12:04
[2025-01-09 23:12:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 23:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212857', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212857', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212857', 'tblTempVendorCDR_20' ) start
[2025-01-09 23:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212857', 'tblTempVendorCDR_20' ) end
[2025-01-09 23:12:17] Production.INFO: ProcessCDR(1,14212857,1,1,2)
[2025-01-09 23:12:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212857,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:12:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212857,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:12:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212857,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:12:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212857,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:12:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212857', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:12:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212857', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:12:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:12:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:12:20] Production.INFO: ==15614== Releasing lock...
[2025-01-09 23:12:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 23:12:20] Production.INFO: 32 MB #Memory Used#
[2025-01-10 04:13:01] Production.INFO: ==15708== Lock acquired, processing the job...
[2025-01-10 04:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 04:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 04:13:01] Production.INFO: neon service started
[2025-01-10 04:13:01] Production.INFO: neon service started
[2025-01-10 04:13:01] Production.INFO: ==15708== Releasing lock...
[2025-01-10 04:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 04:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 23:13:02] Production.INFO: ==15711== Lock acquired, processing the job...
[2025-01-09 23:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 23:13:02] Production.INFO: ==15711== Releasing lock...
[2025-01-09 23:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 23:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 04:13:02] Production.INFO: ==15713== Lock acquired, processing the job...
[2025-01-10 04:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 04:13:02] Production.INFO: ==15713== Releasing lock...
[2025-01-10 04:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 04:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 23:13:03] Production.INFO: ==15719== Lock acquired, processing the job...
[2025-01-09 23:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 23:13:03] Production.INFO: ==15723== Lock acquired, processing the job...
[2025-01-09 23:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 23:13:03] Production.INFO: ==15715== Lock acquired, processing the job...
[2025-01-09 23:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 23:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 23:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 23:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 23:13:03] Production.INFO: ==15717== Lock acquired, processing the job...
[2025-01-09 23:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 23:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 23:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 23:13:03] Production.INFO: ==15721== Lock acquired, processing the job...
[2025-01-09 23:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 23:13:03] Production.INFO: ==15725== Lock acquired, processing the job...
[2025-01-09 23:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 23:13:03] Production.INFO: Account Balance Start.
[2025-01-09 23:13:03] Production.INFO: CreateAllLog Start
[2025-01-09 23:13:03] Production.INFO: 117
[2025-01-09 23:13:03] Production.INFO: Date 2025-01-08
[2025-01-09 23:13:03] Production.ERROR: done
[2025-01-09 23:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 23:13:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:13:03] Production.INFO: count ==21
[2025-01-09 23:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:13:03] Production.INFO: count ==21
[2025-01-09 23:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212861') start
[2025-01-09 23:13:03] Production.ERROR: done
[2025-01-09 23:13:03] Production.INFO: Date 2025-01-09
[2025-01-09 23:13:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:13:03] Production.INFO: ==15717== Releasing lock...
[2025-01-09 23:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 23:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 23:13:03] Production.INFO: Total Charge 0
[2025-01-09 23:13:04] Production.INFO: CreateAllLog End
[2025-01-09 23:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212861') end
[2025-01-09 23:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 23:13:04] Production.INFO: 1
[2025-01-09 23:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 23:13:04] Production.INFO: Account Balance End.
[2025-01-09 23:13:04] Production.INFO: ==15725== Releasing lock...
[2025-01-09 23:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 23:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 23:13:04] Production.ERROR: CronJobId end 12
[2025-01-09 23:13:04] Production.INFO: ==15721== Releasing lock...
[2025-01-09 23:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 23:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 23:13:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 20:13:04
[end_date_ymd] => 2025-01-09 23:13:04
[RateCDR] => 1
)
[2025-01-09 23:13:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 20:13:04' and `end` < '2025-01-09 23:13:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 23:13:12] Production.ERROR: CronJobId end10
[2025-01-09 23:13:12] Production.INFO: ==15719== Releasing lock...
[2025-01-09 23:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 23:13:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 23:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 23:13:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 23:13:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 23:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 23:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 23:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 23:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 23:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 23:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 23:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 23:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 23:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 23:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 23:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 23:13:14] Production.INFO: call_cost start
[2025-01-09 23:13:14] Production.INFO: call_cost end
[2025-01-09 23:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 23:13:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 23:13:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 23:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 23:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 23:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 23:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 23:13:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 23:13:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 23:13:15] Production.INFO: ==15715== Releasing lock...
[2025-01-09 23:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 23:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 23:13:18] Production.INFO: count ==612
[2025-01-09 23:13:18] Production.ERROR: pbx CDR StartTime 2025-01-09 20:13:04 - End Time 2025-01-09 23:13:04
[2025-01-09 23:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 23:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212862', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212862', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212862', 'tblTempVendorCDR_20' ) start
[2025-01-09 23:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212862', 'tblTempVendorCDR_20' ) end
[2025-01-09 23:13:18] Production.INFO: ProcessCDR(1,14212862,1,1,2)
[2025-01-09 23:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212862,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212862,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212862,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212862,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212862', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212862', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:13:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:13:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:13:21] Production.INFO: ==15723== Releasing lock...
[2025-01-09 23:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 23:13:21] Production.INFO: 32 MB #Memory Used#
[2025-01-10 04:14:02] Production.INFO: ==15782== Lock acquired, processing the job...
[2025-01-10 04:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 04:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 04:14:02] Production.INFO: neon service started
[2025-01-10 04:14:02] Production.INFO: neon service started
[2025-01-10 04:14:02] Production.INFO: ==15782== Releasing lock...
[2025-01-10 04:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 04:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 23:14:02] Production.INFO: ==15784== Lock acquired, processing the job...
[2025-01-09 23:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 04:14:02] Production.INFO: ==15786== Lock acquired, processing the job...
[2025-01-10 04:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 23:14:03] Production.INFO: ==15784== Releasing lock...
[2025-01-09 23:14:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 23:14:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 04:14:03] Production.INFO: ==15786== Releasing lock...
[2025-01-10 04:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 04:14:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 23:14:03] Production.INFO: ==15788== Lock acquired, processing the job...
[2025-01-09 23:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 23:14:03] Production.INFO: ==15792== Lock acquired, processing the job...
[2025-01-09 23:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 23:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 23:14:03] Production.INFO: ==15790== Lock acquired, processing the job...
[2025-01-09 23:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 23:14:03] Production.INFO: ==15797== Lock acquired, processing the job...
[2025-01-09 23:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 23:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 23:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 23:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 23:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 23:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:14:04] Production.INFO: ==15795== Lock acquired, processing the job...
[2025-01-09 23:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 23:14:04] Production.INFO: ==15799== Lock acquired, processing the job...
[2025-01-09 23:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 23:14:04] Production.ERROR: done
[2025-01-09 23:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 23:14:04] Production.INFO: Account Balance Start.
[2025-01-09 23:14:04] Production.INFO: CreateAllLog Start
[2025-01-09 23:14:04] Production.INFO: 117
[2025-01-09 23:14:04] Production.INFO: Date 2025-01-08
[2025-01-09 23:14:04] Production.INFO: Reseller ==> 0
[2025-01-09 23:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:14:04] Production.INFO: count ==21
[2025-01-09 23:14:04] Production.ERROR: done
[2025-01-09 23:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:14:04] Production.INFO: ==15790== Releasing lock...
[2025-01-09 23:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 23:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 23:14:04] Production.INFO: count ==21
[2025-01-09 23:14:04] Production.INFO: Date 2025-01-09
[2025-01-09 23:14:04] Production.INFO: Reseller ==> 0
[2025-01-09 23:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212866') start
[2025-01-09 23:14:04] Production.INFO: Total Charge 0
[2025-01-09 23:14:04] Production.INFO: CreateAllLog End
[2025-01-09 23:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212866') end
[2025-01-09 23:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 23:14:04] Production.INFO: 1
[2025-01-09 23:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 23:14:04] Production.INFO: Account Balance End.
[2025-01-09 23:14:04] Production.INFO: ==15799== Releasing lock...
[2025-01-09 23:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 23:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 23:14:04] Production.ERROR: CronJobId end 12
[2025-01-09 23:14:04] Production.INFO: ==15795== Releasing lock...
[2025-01-09 23:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 23:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 23:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 20:14:05
[end_date_ymd] => 2025-01-09 23:14:05
[RateCDR] => 1
)
[2025-01-09 23:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 20:14:05' and `end` < '2025-01-09 23:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 23:14:12] Production.ERROR: CronJobId end10
[2025-01-09 23:14:12] Production.INFO: ==15792== Releasing lock...
[2025-01-09 23:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 23:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 23:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 23:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 23:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 23:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 23:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 23:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 23:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 23:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 23:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 23:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 23:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 23:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 23:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 23:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 23:14:14] Production.INFO: call_cost start
[2025-01-09 23:14:14] Production.INFO: call_cost end
[2025-01-09 23:14:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 23:14:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 23:14:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 23:14:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 23:14:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 23:14:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 23:14:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 23:14:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 23:14:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 23:14:15] Production.INFO: ==15788== Releasing lock...
[2025-01-09 23:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 23:14:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 23:14:19] Production.INFO: count ==613
[2025-01-09 23:14:19] Production.ERROR: pbx CDR StartTime 2025-01-09 20:14:05 - End Time 2025-01-09 23:14:05
[2025-01-09 23:14:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 23:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212867', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212867', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212867', 'tblTempVendorCDR_20' ) start
[2025-01-09 23:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212867', 'tblTempVendorCDR_20' ) end
[2025-01-09 23:14:19] Production.INFO: ProcessCDR(1,14212867,1,1,2)
[2025-01-09 23:14:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212867,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:14:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212867,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:14:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212867,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:14:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212867,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:14:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212867', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:14:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212867', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:14:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:14:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:14:24] Production.INFO: ==15797== Releasing lock...
[2025-01-09 23:14:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 23:14:24] Production.INFO: 32 MB #Memory Used#
[2025-01-10 04:15:01] Production.INFO: ==15932== Lock acquired, processing the job...
[2025-01-10 04:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 04:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 04:15:01] Production.INFO: neon service started
[2025-01-10 04:15:01] Production.INFO: neon service started
[2025-01-10 04:15:01] Production.INFO: ==15932== Releasing lock...
[2025-01-10 04:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 04:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 23:15:01] Production.INFO: ==15934== Lock acquired, processing the job...
[2025-01-09 23:15:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 23:15:02] Production.INFO: ==15934== Releasing lock...
[2025-01-09 23:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 23:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 04:15:02] Production.INFO: ==15936== Lock acquired, processing the job...
[2025-01-10 04:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 04:15:02] Production.INFO: ==15936== Releasing lock...
[2025-01-10 04:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 04:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 23:15:02] Production.INFO: ==15939== Lock acquired, processing the job...
[2025-01-09 23:15:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 23:15:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 23:15:03] Production.INFO: ==15941== Lock acquired, processing the job...
[2025-01-09 23:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 23:15:03] Production.INFO: ==15947== Lock acquired, processing the job...
[2025-01-09 23:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 23:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:15:03] Production.INFO: ==15943== Lock acquired, processing the job...
[2025-01-09 23:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 23:15:03] Production.INFO: ==15941== Releasing lock...
[2025-01-09 23:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 23:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 23:15:03] Production.INFO: ==15945== Lock acquired, processing the job...
[2025-01-09 23:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 23:15:03] Production.INFO: Account Balance Start.
[2025-01-09 23:15:03] Production.INFO: CreateAllLog Start
[2025-01-09 23:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 23:15:03] Production.INFO: ==15949== Lock acquired, processing the job...
[2025-01-09 23:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 23:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 23:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 23:15:03] Production.INFO: 117
[2025-01-09 23:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 23:15:03] Production.ERROR: done
[2025-01-09 23:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 23:15:03] Production.INFO: Date 2025-01-08
[2025-01-09 23:15:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:15:03] Production.INFO: Date 2025-01-09
[2025-01-09 23:15:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:15:03] Production.INFO: Total Charge 0
[2025-01-09 23:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:15:03] Production.INFO: CreateAllLog End
[2025-01-09 23:15:03] Production.INFO: count ==21
[2025-01-09 23:15:03] Production.ERROR: done
[2025-01-09 23:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:15:03] Production.INFO: count ==21
[2025-01-09 23:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212871') start
[2025-01-09 23:15:03] Production.INFO: Account Balance End.
[2025-01-09 23:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212871') end
[2025-01-09 23:15:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 23:15:03] Production.INFO: 1
[2025-01-09 23:15:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 23:15:03] Production.ERROR: CronJobId end 12
[2025-01-09 23:15:03] Production.INFO: ==15945== Releasing lock...
[2025-01-09 23:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 23:15:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 23:15:04] Production.INFO: ==15949== Releasing lock...
[2025-01-09 23:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 23:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 23:15:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 20:15:04
[end_date_ymd] => 2025-01-09 23:15:04
[RateCDR] => 1
)
[2025-01-09 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-01-09 20:15:04' and `end` < '2025-01-09 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-01-09 23:15:11] Production.ERROR: CronJobId end10
[2025-01-09 23:15:11] Production.INFO: ==15943== Releasing lock...
[2025-01-09 23:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 23:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 23:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 23:15:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 23:15:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 23:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 23:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 23:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 23:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 23:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 23:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 23:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 23:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 23:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 23:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 23:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 23:15:13] Production.INFO: call_cost start
[2025-01-09 23:15:13] Production.INFO: call_cost end
[2025-01-09 23:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 23:15:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 23:15:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 23:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 23:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 23:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 23:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 23:15:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 23:15:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 23:15:14] Production.INFO: ==15939== Releasing lock...
[2025-01-09 23:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 23:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 23:15:17] Production.INFO: count ==615
[2025-01-09 23:15:17] Production.ERROR: pbx CDR StartTime 2025-01-09 20:15:04 - End Time 2025-01-09 23:15:04
[2025-01-09 23:15:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 23:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212872', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212872', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212872', 'tblTempVendorCDR_20' ) start
[2025-01-09 23:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212872', 'tblTempVendorCDR_20' ) end
[2025-01-09 23:15:17] Production.INFO: ProcessCDR(1,14212872,1,1,2)
[2025-01-09 23:15:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212872,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212872,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212872,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:15:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212872,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212872', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212872', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:15:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:15:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:15:22] Production.INFO: ==15947== Releasing lock...
[2025-01-09 23:15:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 23:15:22] Production.INFO: 32 MB #Memory Used#
[2025-01-10 04:16:02] Production.INFO: ==16002== Lock acquired, processing the job...
[2025-01-10 04:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 04:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 04:16:02] Production.INFO: neon service started
[2025-01-10 04:16:02] Production.INFO: neon service started
[2025-01-10 04:16:02] Production.INFO: ==16002== Releasing lock...
[2025-01-10 04:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 04:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 23:16:02] Production.INFO: ==16004== Lock acquired, processing the job...
[2025-01-09 23:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 23:16:02] Production.INFO: ==16004== Releasing lock...
[2025-01-09 23:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 23:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 04:16:02] Production.INFO: ==16006== Lock acquired, processing the job...
[2025-01-10 04:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 04:16:02] Production.INFO: ==16006== Releasing lock...
[2025-01-10 04:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 04:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 23:16:03] Production.INFO: ==16008== Lock acquired, processing the job...
[2025-01-09 23:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 23:16:03] Production.INFO: ==16012== Lock acquired, processing the job...
[2025-01-09 23:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 23:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 23:16:03] Production.INFO: ==16016== Lock acquired, processing the job...
[2025-01-09 23:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 23:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 23:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 23:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 23:16:03] Production.INFO: ==16010== Lock acquired, processing the job...
[2025-01-09 23:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 23:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 23:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:16:03] Production.INFO: ==16014== Lock acquired, processing the job...
[2025-01-09 23:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 23:16:03] Production.INFO: ==16018== Lock acquired, processing the job...
[2025-01-09 23:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 23:16:03] Production.ERROR: done
[2025-01-09 23:16:03] Production.INFO: Account Balance Start.
[2025-01-09 23:16:03] Production.INFO: CreateAllLog Start
[2025-01-09 23:16:03] Production.INFO: 117
[2025-01-09 23:16:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 23:16:03] Production.INFO: Date 2025-01-08
[2025-01-09 23:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:16:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:16:04] Production.INFO: count ==21
[2025-01-09 23:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:16:04] Production.INFO: count ==21
[2025-01-09 23:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212876') start
[2025-01-09 23:16:04] Production.INFO: Date 2025-01-09
[2025-01-09 23:16:04] Production.INFO: Reseller ==> 0
[2025-01-09 23:16:04] Production.ERROR: done
[2025-01-09 23:16:04] Production.INFO: Total Charge 0
[2025-01-09 23:16:04] Production.INFO: CreateAllLog End
[2025-01-09 23:16:04] Production.INFO: ==16010== Releasing lock...
[2025-01-09 23:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 23:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 23:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212876') end
[2025-01-09 23:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 23:16:04] Production.INFO: 1
[2025-01-09 23:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 23:16:04] Production.INFO: ==16018== Releasing lock...
[2025-01-09 23:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 23:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 23:16:04] Production.INFO: Account Balance End.
[2025-01-09 23:16:04] Production.ERROR: CronJobId end 12
[2025-01-09 23:16:04] Production.INFO: ==16014== Releasing lock...
[2025-01-09 23:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 23:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 23:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 20:16:05
[end_date_ymd] => 2025-01-09 23:16:05
[RateCDR] => 1
)
[2025-01-09 23:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 20:16:05' and `end` < '2025-01-09 23:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 23:16:11] Production.ERROR: CronJobId end10
[2025-01-09 23:16:11] Production.INFO: ==16012== Releasing lock...
[2025-01-09 23:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 23:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 23:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 23:16:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 23:16:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 23:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 23:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 23:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 23:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 23:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 23:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 23:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 23:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 23:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 23:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 23:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 23:16:14] Production.INFO: call_cost start
[2025-01-09 23:16:14] Production.INFO: call_cost end
[2025-01-09 23:16:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 23:16:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 23:16:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 23:16:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 23:16:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 23:16:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 23:16:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 23:16:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 23:16:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 23:16:15] Production.INFO: ==16008== Releasing lock...
[2025-01-09 23:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 23:16:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 23:16:19] Production.INFO: count ==616
[2025-01-09 23:16:19] Production.ERROR: pbx CDR StartTime 2025-01-09 20:16:05 - End Time 2025-01-09 23:16:05
[2025-01-09 23:16:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 23:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212877', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212877', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212877', 'tblTempVendorCDR_20' ) start
[2025-01-09 23:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212877', 'tblTempVendorCDR_20' ) end
[2025-01-09 23:16:19] Production.INFO: ProcessCDR(1,14212877,1,1,2)
[2025-01-09 23:16:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212877,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:16:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212877,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:16:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212877,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:16:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212877,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212877', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212877', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:16:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:16:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:16:23] Production.INFO: ==16016== Releasing lock...
[2025-01-09 23:16:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 23:16:23] Production.INFO: 32 MB #Memory Used#
[2025-01-10 04:17:01] Production.INFO: ==16071== Lock acquired, processing the job...
[2025-01-10 04:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 04:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 04:17:01] Production.INFO: neon service started
[2025-01-10 04:17:01] Production.INFO: neon service started
[2025-01-10 04:17:01] Production.INFO: ==16071== Releasing lock...
[2025-01-10 04:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 04:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 04:17:01] Production.INFO: ==16075== Lock acquired, processing the job...
[2025-01-10 04:17:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 04:17:01] Production.INFO: ==16075== Releasing lock...
[2025-01-10 04:17:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 04:17:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 23:17:01] Production.INFO: ==16073== Lock acquired, processing the job...
[2025-01-09 23:17:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 23:17:02] Production.INFO: ==16073== Releasing lock...
[2025-01-09 23:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 23:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 23:17:03] Production.INFO: ==16083== Lock acquired, processing the job...
[2025-01-09 23:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 23:17:03] Production.INFO: ==16087== Lock acquired, processing the job...
[2025-01-09 23:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 23:17:03] Production.INFO: ==16077== Lock acquired, processing the job...
[2025-01-09 23:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 23:17:03] Production.INFO: Account Balance Start.
[2025-01-09 23:17:03] Production.INFO: CreateAllLog Start
[2025-01-09 23:17:03] Production.INFO: 117
[2025-01-09 23:17:03] Production.INFO: ==16081== Lock acquired, processing the job...
[2025-01-09 23:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 23:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 23:17:03] Production.INFO: Date 2025-01-08
[2025-01-09 23:17:03] Production.INFO: count ==21
[2025-01-09 23:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:17:03] Production.INFO: ==16079== Lock acquired, processing the job...
[2025-01-09 23:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 23:17:03] Production.INFO: count ==21
[2025-01-09 23:17:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212878') start
[2025-01-09 23:17:03] Production.INFO: Date 2025-01-09
[2025-01-09 23:17:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 23:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 23:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 23:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 23:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212878') end
[2025-01-09 23:17:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 23:17:03] Production.INFO: 1
[2025-01-09 23:17:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 23:17:03] Production.INFO: Total Charge 0
[2025-01-09 23:17:03] Production.INFO: CreateAllLog End
[2025-01-09 23:17:03] Production.INFO: ==16087== Releasing lock...
[2025-01-09 23:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 23:17:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 23:17:03] Production.INFO: ==16085== Lock acquired, processing the job...
[2025-01-09 23:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 23:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:17:03] Production.INFO: Account Balance End.
[2025-01-09 23:17:03] Production.ERROR: CronJobId end 12
[2025-01-09 23:17:03] Production.INFO: ==16083== Releasing lock...
[2025-01-09 23:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 23:17:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 23:17:03] Production.INFO: ==16079== Releasing lock...
[2025-01-09 23:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 23:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 23:17:03] Production.ERROR: done
[2025-01-09 23:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 23:17:03] Production.ERROR: done
[2025-01-09 23:17:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 20:17:04
[end_date_ymd] => 2025-01-09 23:17:04
[RateCDR] => 1
)
[2025-01-09 23:17:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 20:17:04' and `end` < '2025-01-09 23:17:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 23:17:11] Production.ERROR: CronJobId end10
[2025-01-09 23:17:11] Production.INFO: ==16081== Releasing lock...
[2025-01-09 23:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 23:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 23:17:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 23:17:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 23:17:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 23:17:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 23:17:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 23:17:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 23:17:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 23:17:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 23:17:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 23:17:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 23:17:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 23:17:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 23:17:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 23:17:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 23:17:13] Production.INFO: call_cost start
[2025-01-09 23:17:13] Production.INFO: call_cost end
[2025-01-09 23:17:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 23:17:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 23:17:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 23:17:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 23:17:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 23:17:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 23:17:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 23:17:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 23:17:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 23:17:13] Production.INFO: ==16077== Releasing lock...
[2025-01-09 23:17:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 23:17:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 23:17:20] Production.INFO: count ==616
[2025-01-09 23:17:20] Production.ERROR: pbx CDR StartTime 2025-01-09 20:17:04 - End Time 2025-01-09 23:17:04
[2025-01-09 23:17:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 23:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212882', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212882', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212882', 'tblTempVendorCDR_20' ) start
[2025-01-09 23:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212882', 'tblTempVendorCDR_20' ) end
[2025-01-09 23:17:20] Production.INFO: ProcessCDR(1,14212882,1,1,2)
[2025-01-09 23:17:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212882,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:17:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212882,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:17:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212882,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:17:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212882,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212882', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212882', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:17:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:17:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:17:23] Production.INFO: ==16085== Releasing lock...
[2025-01-09 23:17:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 23:17:23] Production.INFO: 32 MB #Memory Used#
[2025-01-10 04:18:01] Production.INFO: ==16144== Lock acquired, processing the job...
[2025-01-10 04:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 04:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 04:18:01] Production.INFO: neon service started
[2025-01-10 04:18:01] Production.INFO: neon service started
[2025-01-10 04:18:01] Production.INFO: ==16144== Releasing lock...
[2025-01-10 04:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 04:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 23:18:02] Production.INFO: ==16146== Lock acquired, processing the job...
[2025-01-09 23:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 23:18:02] Production.INFO: ==16146== Releasing lock...
[2025-01-09 23:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 23:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 04:18:02] Production.INFO: ==16148== Lock acquired, processing the job...
[2025-01-10 04:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 04:18:02] Production.INFO: ==16148== Releasing lock...
[2025-01-10 04:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 04:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 23:18:03] Production.INFO: ==16152== Lock acquired, processing the job...
[2025-01-09 23:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 23:18:03] Production.INFO: ==16160== Lock acquired, processing the job...
[2025-01-09 23:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 23:18:03] Production.INFO: ==16150== Lock acquired, processing the job...
[2025-01-09 23:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 23:18:03] Production.INFO: ==16154== Lock acquired, processing the job...
[2025-01-09 23:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 23:18:03] Production.INFO: ==16152== Releasing lock...
[2025-01-09 23:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 23:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 23:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 23:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:18:03] Production.INFO: ==16156== Lock acquired, processing the job...
[2025-01-09 23:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 23:18:03] Production.INFO: count ==21
[2025-01-09 23:18:03] Production.INFO: ==16158== Lock acquired, processing the job...
[2025-01-09 23:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 23:18:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:18:03] Production.INFO: count ==21
[2025-01-09 23:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 23:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 23:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 23:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212885') start
[2025-01-09 23:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 23:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212885') end
[2025-01-09 23:18:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 23:18:03] Production.INFO: 1
[2025-01-09 23:18:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 23:18:03] Production.INFO: Account Balance Start.
[2025-01-09 23:18:03] Production.INFO: CreateAllLog Start
[2025-01-09 23:18:03] Production.INFO: 117
[2025-01-09 23:18:03] Production.INFO: Date 2025-01-08
[2025-01-09 23:18:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:18:03] Production.INFO: ==16160== Releasing lock...
[2025-01-09 23:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 23:18:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 23:18:03] Production.INFO: Date 2025-01-09
[2025-01-09 23:18:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:18:03] Production.INFO: Total Charge 0
[2025-01-09 23:18:03] Production.INFO: CreateAllLog End
[2025-01-09 23:18:04] Production.INFO: Account Balance End.
[2025-01-09 23:18:04] Production.ERROR: CronJobId end 12
[2025-01-09 23:18:04] Production.INFO: ==16156== Releasing lock...
[2025-01-09 23:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 23:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 23:18:04] Production.ERROR: done
[2025-01-09 23:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 23:18:04] Production.ERROR: done
[2025-01-09 23:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 20:18:05
[end_date_ymd] => 2025-01-09 23:18:05
[RateCDR] => 1
)
[2025-01-09 23:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 20:18:05' and `end` < '2025-01-09 23:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 23:18:12] Production.ERROR: CronJobId end10
[2025-01-09 23:18:12] Production.INFO: ==16154== Releasing lock...
[2025-01-09 23:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 23:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 23:18:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 23:18:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 23:18:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 23:18:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 23:18:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 23:18:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 23:18:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 23:18:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 23:18:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 23:18:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 23:18:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 23:18:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 23:18:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 23:18:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 23:18:12] Production.INFO: call_cost start
[2025-01-09 23:18:12] Production.INFO: call_cost end
[2025-01-09 23:18:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 23:18:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 23:18:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 23:18:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 23:18:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 23:18:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 23:18:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 23:18:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 23:18:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 23:18:13] Production.INFO: ==16150== Releasing lock...
[2025-01-09 23:18:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 23:18:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 23:18:19] Production.INFO: count ==622
[2025-01-09 23:18:19] Production.ERROR: pbx CDR StartTime 2025-01-09 20:18:05 - End Time 2025-01-09 23:18:05
[2025-01-09 23:18:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 23:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212887', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212887', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212887', 'tblTempVendorCDR_20' ) start
[2025-01-09 23:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212887', 'tblTempVendorCDR_20' ) end
[2025-01-09 23:18:19] Production.INFO: ProcessCDR(1,14212887,1,1,2)
[2025-01-09 23:18:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212887,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:18:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212887,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:18:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212887,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:18:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212887,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212887', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212887', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:18:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:18:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:18:22] Production.INFO: ==16158== Releasing lock...
[2025-01-09 23:18:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 23:18:22] Production.INFO: 32 MB #Memory Used#
[2025-01-10 04:19:02] Production.INFO: ==16215== Lock acquired, processing the job...
[2025-01-10 04:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 04:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 04:19:02] Production.INFO: neon service started
[2025-01-10 04:19:02] Production.INFO: neon service started
[2025-01-10 04:19:02] Production.INFO: ==16215== Releasing lock...
[2025-01-10 04:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 04:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 23:19:02] Production.INFO: ==16218== Lock acquired, processing the job...
[2025-01-09 23:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 23:19:02] Production.INFO: ==16218== Releasing lock...
[2025-01-09 23:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 23:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 04:19:03] Production.INFO: ==16220== Lock acquired, processing the job...
[2025-01-10 04:19:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 04:19:03] Production.INFO: ==16220== Releasing lock...
[2025-01-10 04:19:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 04:19:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 23:19:03] Production.INFO: ==16224== Lock acquired, processing the job...
[2025-01-09 23:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 23:19:03] Production.INFO: ==16232== Lock acquired, processing the job...
[2025-01-09 23:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 23:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:19:03] Production.INFO: ==16222== Lock acquired, processing the job...
[2025-01-09 23:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 23:19:03] Production.INFO: count ==21
[2025-01-09 23:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:19:03] Production.INFO: ==16226== Lock acquired, processing the job...
[2025-01-09 23:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 23:19:03] Production.INFO: count ==21
[2025-01-09 23:19:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 23:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212888') start
[2025-01-09 23:19:04] Production.INFO: ==16228== Lock acquired, processing the job...
[2025-01-09 23:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 23:19:04] Production.INFO: ==16224== Releasing lock...
[2025-01-09 23:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 23:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 23:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 23:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 23:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 23:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 23:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212888') end
[2025-01-09 23:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 23:19:04] Production.INFO: 1
[2025-01-09 23:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 23:19:04] Production.INFO: ==16230== Lock acquired, processing the job...
[2025-01-09 23:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 23:19:04] Production.INFO: ==16232== Releasing lock...
[2025-01-09 23:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 23:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 23:19:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:19:04] Production.INFO: Account Balance Start.
[2025-01-09 23:19:04] Production.INFO: CreateAllLog Start
[2025-01-09 23:19:04] Production.INFO: 117
[2025-01-09 23:19:04] Production.INFO: Date 2025-01-08
[2025-01-09 23:19:04] Production.INFO: Reseller ==> 0
[2025-01-09 23:19:04] Production.INFO: Date 2025-01-09
[2025-01-09 23:19:04] Production.INFO: Reseller ==> 0
[2025-01-09 23:19:04] Production.ERROR: done
[2025-01-09 23:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 23:19:04] Production.INFO: Total Charge 0
[2025-01-09 23:19:04] Production.INFO: CreateAllLog End
[2025-01-09 23:19:04] Production.ERROR: done
[2025-01-09 23:19:04] Production.INFO: Account Balance End.
[2025-01-09 23:19:04] Production.ERROR: CronJobId end 12
[2025-01-09 23:19:04] Production.INFO: ==16228== Releasing lock...
[2025-01-09 23:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 23:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 23:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 20:19:05
[end_date_ymd] => 2025-01-09 23:19:05
[RateCDR] => 1
)
[2025-01-09 23:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 20:19:05' and `end` < '2025-01-09 23:19:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 23:19:11] Production.ERROR: CronJobId end10
[2025-01-09 23:19:11] Production.INFO: ==16226== Releasing lock...
[2025-01-09 23:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 23:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 23:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 23:19:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 23:19:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 23:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 23:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 23:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 23:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 23:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 23:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 23:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 23:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 23:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 23:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 23:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 23:19:13] Production.INFO: call_cost start
[2025-01-09 23:19:13] Production.INFO: call_cost end
[2025-01-09 23:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 23:19:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 23:19:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 23:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 23:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 23:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 23:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 23:19:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 23:19:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 23:19:14] Production.INFO: ==16222== Releasing lock...
[2025-01-09 23:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 23:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 23:19:18] Production.INFO: count ==619
[2025-01-09 23:19:18] Production.ERROR: pbx CDR StartTime 2025-01-09 20:19:05 - End Time 2025-01-09 23:19:05
[2025-01-09 23:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 23:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212892', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212892', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212892', 'tblTempVendorCDR_20' ) start
[2025-01-09 23:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212892', 'tblTempVendorCDR_20' ) end
[2025-01-09 23:19:18] Production.INFO: ProcessCDR(1,14212892,1,1,2)
[2025-01-09 23:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212892,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212892,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212892,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:19:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212892,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212892', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212892', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:19:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:19:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:19:22] Production.INFO: ==16230== Releasing lock...
[2025-01-09 23:19:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 23:19:22] Production.INFO: 32 MB #Memory Used#
[2025-01-10 04:20:01] Production.INFO: ==16285== Lock acquired, processing the job...
[2025-01-10 04:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 04:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 04:20:01] Production.INFO: neon service started
[2025-01-10 04:20:01] Production.INFO: neon service started
[2025-01-10 04:20:01] Production.INFO: ==16285== Releasing lock...
[2025-01-10 04:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 04:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 04:20:02] Production.INFO: ==16289== Lock acquired, processing the job...
[2025-01-10 04:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 04:20:02] Production.INFO: ==16289== Releasing lock...
[2025-01-10 04:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 04:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 23:20:02] Production.INFO: ==16287== Lock acquired, processing the job...
[2025-01-09 23:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 23:20:02] Production.INFO: ==16287== Releasing lock...
[2025-01-09 23:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 23:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 23:20:03] Production.INFO: ==16298== Lock acquired, processing the job...
[2025-01-09 23:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 23:20:03] Production.INFO: ==16292== Lock acquired, processing the job...
[2025-01-09 23:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 23:20:03] Production.INFO: ==16306== Lock acquired, processing the job...
[2025-01-09 23:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 23:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 23:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 23:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 23:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 23:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 23:20:03] Production.ERROR: CronJob PID - 16298
[2025-01-09 23:20:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-09 23:20:03] Production.ERROR: CronJob ID - 10
[2025-01-09 23:20:03] Production.ERROR: CronJob Last Run Time 2025-01-09 23:20:00
[2025-01-09 23:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 23:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 23:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 23:20:03] Production.ERROR: CronJob PID - 16306
[2025-01-09 23:20:03] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-09 23:20:03] Production.ERROR: CronJob ID - 19
[2025-01-09 23:20:03] Production.ERROR: CronJob Last Run Time 2025-01-09 23:20:00
[2025-01-09 23:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 23:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 23:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 23:20:03] Production.INFO: ==16294== Lock acquired, processing the job...
[2025-01-09 23:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 23:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 23:20:03] Production.INFO: ==16292== Releasing lock...
[2025-01-09 23:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 23:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 23:20:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:20:03] Production.INFO: ==16296== Lock acquired, processing the job...
[2025-01-09 23:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 23:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 23:20:04] Production.INFO: count ==21
[2025-01-09 23:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:20:04] Production.INFO: count ==21
[2025-01-09 23:20:04] Production.INFO: ==16300== Lock acquired, processing the job...
[2025-01-09 23:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212893') start
[2025-01-09 23:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 23:20:04] Production.INFO: ==16302== Lock acquired, processing the job...
[2025-01-09 23:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 23:20:04] Production.INFO: ==16304== Lock acquired, processing the job...
[2025-01-09 23:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 23:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212893') end
[2025-01-09 23:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 23:20:04] Production.INFO: 1
[2025-01-09 23:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 23:20:04] Production.INFO: Account Balance Start.
[2025-01-09 23:20:04] Production.INFO: CreateAllLog Start
[2025-01-09 23:20:04] Production.INFO: 117
[2025-01-09 23:20:04] Production.INFO: Date 2025-01-08
[2025-01-09 23:20:04] Production.INFO: Reseller ==> 0
[2025-01-09 23:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:20:04] Production.INFO: ==16306== Releasing lock...
[2025-01-09 23:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 23:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 23:20:04] Production.INFO: Date 2025-01-09
[2025-01-09 23:20:04] Production.INFO: Reseller ==> 0
[2025-01-09 23:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:20:04] Production.INFO: Total Charge 0
[2025-01-09 23:20:04] Production.INFO: CreateAllLog End
[2025-01-09 23:20:04] Production.INFO: ==16296== Releasing lock...
[2025-01-09 23:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 23:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 23:20:04] Production.ERROR: done
[2025-01-09 23:20:04] Production.ERROR: done
[2025-01-09 23:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 23:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14212897', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 23:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 23:20:04] Production.INFO: Account Balance End.
[2025-01-09 23:20:04] Production.ERROR: done
[2025-01-09 23:20:04] Production.ERROR: CronJobId end 12
[2025-01-09 23:20:04] Production.INFO: ==16300== Releasing lock...
[2025-01-09 23:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 23:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 23:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 20:20:05
[end_date_ymd] => 2025-01-09 23:20:05
[RateCDR] => 1
)
[2025-01-09 23:20:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 20:20:05' and `end` < '2025-01-09 23:20:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 23:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14212897', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 23:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 23:20:08] Production.INFO: ProcessCDR(1,14212897,1,1,2)
[2025-01-09 23:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14212897,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14212897,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:20:08] Production.INFO: ==16304== Releasing lock...
[2025-01-09 23:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 23:20:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 23:20:12] Production.ERROR: CronJobId end10
[2025-01-09 23:20:12] Production.INFO: ==16298== Releasing lock...
[2025-01-09 23:20:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 23:20:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 23:20:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 23:20:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 23:20:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 23:20:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 23:20:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 23:20:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 23:20:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 23:20:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 23:20:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 23:20:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 23:20:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 23:20:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 23:20:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 23:20:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 23:20:15] Production.INFO: call_cost start
[2025-01-09 23:20:15] Production.INFO: call_cost end
[2025-01-09 23:20:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 23:20:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 23:20:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 23:20:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 23:20:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 23:20:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 23:20:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 23:20:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 23:20:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 23:20:15] Production.INFO: ==16294== Releasing lock...
[2025-01-09 23:20:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 23:20:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 23:20:18] Production.INFO: count ==618
[2025-01-09 23:20:18] Production.ERROR: pbx CDR StartTime 2025-01-09 20:20:05 - End Time 2025-01-09 23:20:05
[2025-01-09 23:20:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 23:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212898', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212898', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212898', 'tblTempVendorCDR_20' ) start
[2025-01-09 23:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212898', 'tblTempVendorCDR_20' ) end
[2025-01-09 23:20:18] Production.INFO: ProcessCDR(1,14212898,1,1,2)
[2025-01-09 23:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212898,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:20:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212898,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:20:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212898,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:20:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212898,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212898', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212898', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:20:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:20:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:20:21] Production.INFO: ==16302== Releasing lock...
[2025-01-09 23:20:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 23:20:21] Production.INFO: 32 MB #Memory Used#
[2025-01-10 04:21:02] Production.INFO: ==16363== Lock acquired, processing the job...
[2025-01-10 04:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 04:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 04:21:02] Production.INFO: neon service started
[2025-01-10 04:21:02] Production.INFO: neon service started
[2025-01-10 04:21:02] Production.INFO: ==16363== Releasing lock...
[2025-01-10 04:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 04:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 23:21:02] Production.INFO: ==16365== Lock acquired, processing the job...
[2025-01-09 23:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 23:21:02] Production.INFO: ==16365== Releasing lock...
[2025-01-09 23:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 23:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 04:21:02] Production.INFO: ==16367== Lock acquired, processing the job...
[2025-01-10 04:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 04:21:02] Production.INFO: ==16367== Releasing lock...
[2025-01-10 04:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 04:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 23:21:03] Production.INFO: ==16372== Lock acquired, processing the job...
[2025-01-09 23:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 23:21:03] Production.INFO: ==16370== Lock acquired, processing the job...
[2025-01-09 23:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 23:21:03] Production.INFO: ==16372== Releasing lock...
[2025-01-09 23:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 23:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 23:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 23:21:03] Production.INFO: ==16374== Lock acquired, processing the job...
[2025-01-09 23:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 23:21:03] Production.INFO: ==16376== Lock acquired, processing the job...
[2025-01-09 23:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 23:21:03] Production.INFO: ==16378== Lock acquired, processing the job...
[2025-01-09 23:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 23:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 23:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 23:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 23:21:04] Production.INFO: ==16380== Lock acquired, processing the job...
[2025-01-09 23:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 23:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 23:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:21:04] Production.INFO: Account Balance Start.
[2025-01-09 23:21:04] Production.INFO: CreateAllLog Start
[2025-01-09 23:21:04] Production.INFO: 117
[2025-01-09 23:21:04] Production.INFO: Date 2025-01-08
[2025-01-09 23:21:04] Production.INFO: Reseller ==> 0
[2025-01-09 23:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:21:04] Production.INFO: Date 2025-01-09
[2025-01-09 23:21:04] Production.INFO: Reseller ==> 0
[2025-01-09 23:21:04] Production.INFO: count ==21
[2025-01-09 23:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:21:04] Production.INFO: count ==21
[2025-01-09 23:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212902') start
[2025-01-09 23:21:04] Production.INFO: Total Charge 0
[2025-01-09 23:21:04] Production.INFO: CreateAllLog End
[2025-01-09 23:21:04] Production.ERROR: done
[2025-01-09 23:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 23:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212902') end
[2025-01-09 23:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 23:21:04] Production.INFO: 1
[2025-01-09 23:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 23:21:04] Production.ERROR: done
[2025-01-09 23:21:04] Production.INFO: Account Balance End.
[2025-01-09 23:21:04] Production.INFO: ==16380== Releasing lock...
[2025-01-09 23:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 23:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 23:21:04] Production.ERROR: CronJobId end 12
[2025-01-09 23:21:04] Production.INFO: ==16376== Releasing lock...
[2025-01-09 23:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 23:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 23:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 20:21:05
[end_date_ymd] => 2025-01-09 23:21:05
[RateCDR] => 1
)
[2025-01-09 23:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 20:21:05' and `end` < '2025-01-09 23:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 23:21:11] Production.ERROR: CronJobId end10
[2025-01-09 23:21:11] Production.INFO: ==16374== Releasing lock...
[2025-01-09 23:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 23:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 23:21:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 23:21:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 23:21:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 23:21:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 23:21:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 23:21:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 23:21:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 23:21:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 23:21:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 23:21:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 23:21:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 23:21:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 23:21:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 23:21:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 23:21:12] Production.INFO: call_cost start
[2025-01-09 23:21:12] Production.INFO: call_cost end
[2025-01-09 23:21:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 23:21:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 23:21:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 23:21:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 23:21:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 23:21:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 23:21:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 23:21:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 23:21:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 23:21:13] Production.INFO: ==16370== Releasing lock...
[2025-01-09 23:21:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 23:21:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 23:21:18] Production.INFO: count ==633
[2025-01-09 23:21:18] Production.ERROR: pbx CDR StartTime 2025-01-09 20:21:05 - End Time 2025-01-09 23:21:05
[2025-01-09 23:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 23:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212903', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212903', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212903', 'tblTempVendorCDR_20' ) start
[2025-01-09 23:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212903', 'tblTempVendorCDR_20' ) end
[2025-01-09 23:21:18] Production.INFO: ProcessCDR(1,14212903,1,1,2)
[2025-01-09 23:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212903,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212903,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212903,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212903,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212903', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212903', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:21:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:21:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:21:21] Production.INFO: ==16378== Releasing lock...
[2025-01-09 23:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 23:21:21] Production.INFO: 32 MB #Memory Used#
[2025-01-10 04:22:01] Production.INFO: ==16434== Lock acquired, processing the job...
[2025-01-10 04:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 04:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 04:22:01] Production.INFO: neon service started
[2025-01-10 04:22:01] Production.INFO: neon service started
[2025-01-10 04:22:01] Production.INFO: ==16434== Releasing lock...
[2025-01-10 04:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 04:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 04:22:02] Production.INFO: ==16439== Lock acquired, processing the job...
[2025-01-10 04:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 23:22:02] Production.INFO: ==16436== Lock acquired, processing the job...
[2025-01-09 23:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 04:22:02] Production.INFO: ==16439== Releasing lock...
[2025-01-10 04:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 04:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 23:22:02] Production.INFO: ==16436== Releasing lock...
[2025-01-09 23:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 23:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 23:22:03] Production.INFO: ==16447== Lock acquired, processing the job...
[2025-01-09 23:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 23:22:03] Production.INFO: ==16449== Lock acquired, processing the job...
[2025-01-09 23:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 23:22:03] Production.INFO: ==16441== Lock acquired, processing the job...
[2025-01-09 23:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 23:22:03] Production.INFO: ==16443== Lock acquired, processing the job...
[2025-01-09 23:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 23:22:03] Production.INFO: ==16445== Lock acquired, processing the job...
[2025-01-09 23:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 23:22:03] Production.INFO: Account Balance Start.
[2025-01-09 23:22:03] Production.INFO: CreateAllLog Start
[2025-01-09 23:22:03] Production.INFO: 117
[2025-01-09 23:22:03] Production.INFO: Date 2025-01-08
[2025-01-09 23:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:22:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 23:22:03] Production.INFO: Date 2025-01-09
[2025-01-09 23:22:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:22:03] Production.INFO: ==16451== Lock acquired, processing the job...
[2025-01-09 23:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 23:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 23:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 23:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 23:22:03] Production.INFO: Total Charge 0
[2025-01-09 23:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 23:22:03] Production.INFO: CreateAllLog End
[2025-01-09 23:22:03] Production.ERROR: done
[2025-01-09 23:22:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 23:22:03] Production.INFO: ==16443== Releasing lock...
[2025-01-09 23:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 23:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 23:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:22:03] Production.INFO: count ==21
[2025-01-09 23:22:03] Production.ERROR: done
[2025-01-09 23:22:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:22:03] Production.INFO: count ==21
[2025-01-09 23:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212907') start
[2025-01-09 23:22:04] Production.INFO: Account Balance End.
[2025-01-09 23:22:04] Production.ERROR: CronJobId end 12
[2025-01-09 23:22:04] Production.INFO: ==16447== Releasing lock...
[2025-01-09 23:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 23:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 23:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212907') end
[2025-01-09 23:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 23:22:04] Production.INFO: 1
[2025-01-09 23:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 23:22:04] Production.INFO: ==16451== Releasing lock...
[2025-01-09 23:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 23:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 23:22:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 20:22:04
[end_date_ymd] => 2025-01-09 23:22:04
[RateCDR] => 1
)
[2025-01-09 23:22:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 20:22:04' and `end` < '2025-01-09 23:22:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 23:22:10] Production.ERROR: CronJobId end10
[2025-01-09 23:22:10] Production.INFO: ==16445== Releasing lock...
[2025-01-09 23:22:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 23:22:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 23:22:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 23:22:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 23:22:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 23:22:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 23:22:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 23:22:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 23:22:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 23:22:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 23:22:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 23:22:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 23:22:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 23:22:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 23:22:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 23:22:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 23:22:13] Production.INFO: call_cost start
[2025-01-09 23:22:13] Production.INFO: call_cost end
[2025-01-09 23:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 23:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 23:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 23:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 23:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 23:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 23:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 23:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 23:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 23:22:14] Production.INFO: ==16441== Releasing lock...
[2025-01-09 23:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 23:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 23:22:20] Production.INFO: count ==633
[2025-01-09 23:22:20] Production.ERROR: pbx CDR StartTime 2025-01-09 20:22:04 - End Time 2025-01-09 23:22:04
[2025-01-09 23:22:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 23:22:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212908', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212908', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212908', 'tblTempVendorCDR_20' ) start
[2025-01-09 23:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212908', 'tblTempVendorCDR_20' ) end
[2025-01-09 23:22:21] Production.INFO: ProcessCDR(1,14212908,1,1,2)
[2025-01-09 23:22:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212908,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:22:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212908,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:22:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212908,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:22:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212908,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:22:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212908', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:22:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212908', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:22:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:22:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:22:24] Production.INFO: ==16449== Releasing lock...
[2025-01-09 23:22:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 23:22:24] Production.INFO: 32 MB #Memory Used#
[2025-01-10 04:23:01] Production.INFO: ==16506== Lock acquired, processing the job...
[2025-01-10 04:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 04:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 04:23:01] Production.INFO: neon service started
[2025-01-10 04:23:01] Production.INFO: neon service started
[2025-01-10 04:23:01] Production.INFO: ==16506== Releasing lock...
[2025-01-10 04:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 04:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 23:23:02] Production.INFO: ==16508== Lock acquired, processing the job...
[2025-01-09 23:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 23:23:02] Production.INFO: ==16508== Releasing lock...
[2025-01-09 23:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 23:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 04:23:02] Production.INFO: ==16510== Lock acquired, processing the job...
[2025-01-10 04:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 04:23:02] Production.INFO: ==16510== Releasing lock...
[2025-01-10 04:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 04:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 23:23:03] Production.INFO: ==16512== Lock acquired, processing the job...
[2025-01-09 23:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 23:23:03] Production.INFO: ==16514== Lock acquired, processing the job...
[2025-01-09 23:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 23:23:03] Production.INFO: ==16523== Lock acquired, processing the job...
[2025-01-09 23:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 23:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 23:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:23:03] Production.INFO: count ==21
[2025-01-09 23:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:23:03] Production.INFO: count ==21
[2025-01-09 23:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212911') start
[2025-01-09 23:23:03] Production.INFO: ==16516== Lock acquired, processing the job...
[2025-01-09 23:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 23:23:03] Production.INFO: ==16514== Releasing lock...
[2025-01-09 23:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 23:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 23:23:03] Production.INFO: ==16518== Lock acquired, processing the job...
[2025-01-09 23:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 23:23:03] Production.INFO: ==16521== Lock acquired, processing the job...
[2025-01-09 23:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 23:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212911') end
[2025-01-09 23:23:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 23:23:03] Production.INFO: 1
[2025-01-09 23:23:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 23:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:23:03] Production.INFO: Account Balance Start.
[2025-01-09 23:23:03] Production.INFO: CreateAllLog Start
[2025-01-09 23:23:03] Production.INFO: 117
[2025-01-09 23:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 23:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 23:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 23:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 23:23:03] Production.INFO: Date 2025-01-08
[2025-01-09 23:23:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:23:03] Production.INFO: ==16523== Releasing lock...
[2025-01-09 23:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 23:23:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 23:23:04] Production.INFO: Date 2025-01-09
[2025-01-09 23:23:04] Production.INFO: Reseller ==> 0
[2025-01-09 23:23:04] Production.INFO: Total Charge 0
[2025-01-09 23:23:04] Production.ERROR: done
[2025-01-09 23:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 23:23:04] Production.INFO: CreateAllLog End
[2025-01-09 23:23:04] Production.ERROR: done
[2025-01-09 23:23:04] Production.INFO: Account Balance End.
[2025-01-09 23:23:04] Production.ERROR: CronJobId end 12
[2025-01-09 23:23:04] Production.INFO: ==16518== Releasing lock...
[2025-01-09 23:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 23:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 23:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 20:23:05
[end_date_ymd] => 2025-01-09 23:23:05
[RateCDR] => 1
)
[2025-01-09 23:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 20:23:05' and `end` < '2025-01-09 23:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 23:23:11] Production.ERROR: CronJobId end10
[2025-01-09 23:23:11] Production.INFO: ==16516== Releasing lock...
[2025-01-09 23:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 23:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 23:23:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 23:23:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 23:23:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 23:23:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 23:23:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 23:23:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 23:23:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 23:23:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 23:23:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 23:23:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 23:23:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 23:23:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 23:23:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 23:23:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 23:23:12] Production.INFO: call_cost start
[2025-01-09 23:23:12] Production.INFO: call_cost end
[2025-01-09 23:23:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 23:23:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 23:23:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 23:23:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 23:23:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 23:23:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 23:23:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 23:23:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 23:23:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 23:23:13] Production.INFO: ==16512== Releasing lock...
[2025-01-09 23:23:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 23:23:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 23:23:18] Production.INFO: count ==633
[2025-01-09 23:23:18] Production.ERROR: pbx CDR StartTime 2025-01-09 20:23:05 - End Time 2025-01-09 23:23:05
[2025-01-09 23:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 23:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212913', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212913', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212913', 'tblTempVendorCDR_20' ) start
[2025-01-09 23:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212913', 'tblTempVendorCDR_20' ) end
[2025-01-09 23:23:18] Production.INFO: ProcessCDR(1,14212913,1,1,2)
[2025-01-09 23:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212913,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212913,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212913,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212913,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212913', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212913', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:23:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:23:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:23:21] Production.INFO: ==16521== Releasing lock...
[2025-01-09 23:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 23:23:21] Production.INFO: 32 MB #Memory Used#
[2025-01-10 04:24:01] Production.INFO: ==16584== Lock acquired, processing the job...
[2025-01-10 04:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 04:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 04:24:01] Production.INFO: neon service started
[2025-01-10 04:24:01] Production.INFO: neon service started
[2025-01-10 04:24:01] Production.INFO: ==16584== Releasing lock...
[2025-01-10 04:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 04:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 23:24:02] Production.INFO: ==16586== Lock acquired, processing the job...
[2025-01-09 23:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 04:24:02] Production.INFO: ==16588== Lock acquired, processing the job...
[2025-01-10 04:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 04:24:02] Production.INFO: ==16588== Releasing lock...
[2025-01-10 04:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 04:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 23:24:02] Production.INFO: ==16586== Releasing lock...
[2025-01-09 23:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 23:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 23:24:03] Production.INFO: ==16595== Lock acquired, processing the job...
[2025-01-09 23:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 23:24:03] Production.INFO: ==16599== Lock acquired, processing the job...
[2025-01-09 23:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 23:24:03] Production.INFO: ==16591== Lock acquired, processing the job...
[2025-01-09 23:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 23:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:24:03] Production.INFO: ==16593== Lock acquired, processing the job...
[2025-01-09 23:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 23:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 23:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 23:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 23:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 23:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 23:24:03] Production.INFO: ==16601== Lock acquired, processing the job...
[2025-01-09 23:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 23:24:03] Production.INFO: ==16597== Lock acquired, processing the job...
[2025-01-09 23:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 23:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:24:03] Production.INFO: Account Balance Start.
[2025-01-09 23:24:03] Production.INFO: CreateAllLog Start
[2025-01-09 23:24:03] Production.INFO: 117
[2025-01-09 23:24:03] Production.INFO: Date 2025-01-08
[2025-01-09 23:24:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:24:03] Production.INFO: count ==21
[2025-01-09 23:24:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:24:03] Production.INFO: count ==21
[2025-01-09 23:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212916') start
[2025-01-09 23:24:03] Production.ERROR: done
[2025-01-09 23:24:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 23:24:03] Production.INFO: Date 2025-01-09
[2025-01-09 23:24:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212916') end
[2025-01-09 23:24:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 23:24:03] Production.INFO: 1
[2025-01-09 23:24:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 23:24:03] Production.INFO: Total Charge 0
[2025-01-09 23:24:03] Production.INFO: CreateAllLog End
[2025-01-09 23:24:03] Production.INFO: ==16593== Releasing lock...
[2025-01-09 23:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 23:24:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 23:24:03] Production.INFO: ==16601== Releasing lock...
[2025-01-09 23:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 23:24:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 23:24:03] Production.ERROR: done
[2025-01-09 23:24:04] Production.INFO: Account Balance End.
[2025-01-09 23:24:04] Production.ERROR: CronJobId end 12
[2025-01-09 23:24:04] Production.INFO: ==16597== Releasing lock...
[2025-01-09 23:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 23:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 23:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 20:24:05
[end_date_ymd] => 2025-01-09 23:24:05
[RateCDR] => 1
)
[2025-01-09 23:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 20:24:05' and `end` < '2025-01-09 23:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 23:24:11] Production.ERROR: CronJobId end10
[2025-01-09 23:24:11] Production.INFO: ==16595== Releasing lock...
[2025-01-09 23:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 23:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 23:24:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 23:24:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 23:24:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 23:24:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 23:24:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 23:24:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 23:24:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 23:24:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 23:24:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 23:24:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 23:24:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 23:24:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 23:24:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 23:24:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 23:24:12] Production.INFO: call_cost start
[2025-01-09 23:24:12] Production.INFO: call_cost end
[2025-01-09 23:24:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 23:24:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 23:24:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 23:24:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 23:24:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 23:24:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 23:24:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 23:24:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 23:24:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 23:24:13] Production.INFO: ==16591== Releasing lock...
[2025-01-09 23:24:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 23:24:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 23:24:18] Production.INFO: count ==633
[2025-01-09 23:24:18] Production.ERROR: pbx CDR StartTime 2025-01-09 20:24:05 - End Time 2025-01-09 23:24:05
[2025-01-09 23:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 23:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212918', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212918', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212918', 'tblTempVendorCDR_20' ) start
[2025-01-09 23:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212918', 'tblTempVendorCDR_20' ) end
[2025-01-09 23:24:18] Production.INFO: ProcessCDR(1,14212918,1,1,2)
[2025-01-09 23:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212918,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212918,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212918,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212918,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212918', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212918', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:24:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:24:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:24:21] Production.INFO: ==16599== Releasing lock...
[2025-01-09 23:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 23:24:21] Production.INFO: 32 MB #Memory Used#
[2025-01-10 04:25:01] Production.INFO: ==16656== Lock acquired, processing the job...
[2025-01-10 04:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 04:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 04:25:01] Production.INFO: neon service started
[2025-01-10 04:25:01] Production.INFO: neon service started
[2025-01-10 04:25:01] Production.INFO: ==16656== Releasing lock...
[2025-01-10 04:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 04:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 23:25:02] Production.INFO: ==16658== Lock acquired, processing the job...
[2025-01-09 23:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 23:25:02] Production.INFO: ==16658== Releasing lock...
[2025-01-09 23:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 23:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 04:25:02] Production.INFO: ==16660== Lock acquired, processing the job...
[2025-01-10 04:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 04:25:02] Production.INFO: ==16660== Releasing lock...
[2025-01-10 04:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 04:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 23:25:03] Production.INFO: ==16669== Lock acquired, processing the job...
[2025-01-09 23:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 23:25:03] Production.INFO: ==16665== Lock acquired, processing the job...
[2025-01-09 23:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 23:25:03] Production.INFO: ==16673== Lock acquired, processing the job...
[2025-01-09 23:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 23:25:03] Production.INFO: ==16663== Lock acquired, processing the job...
[2025-01-09 23:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 23:25:03] Production.INFO: Account Balance Start.
[2025-01-09 23:25:03] Production.INFO: CreateAllLog Start
[2025-01-09 23:25:03] Production.INFO: 117
[2025-01-09 23:25:03] Production.INFO: Date 2025-01-08
[2025-01-09 23:25:03] Production.INFO: ==16667== Lock acquired, processing the job...
[2025-01-09 23:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 23:25:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 23:25:03] Production.INFO: count ==21
[2025-01-09 23:25:03] Production.INFO: ==16671== Lock acquired, processing the job...
[2025-01-09 23:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 23:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:25:03] Production.INFO: Date 2025-01-09
[2025-01-09 23:25:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 23:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 23:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 23:25:03] Production.INFO: count ==21
[2025-01-09 23:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212921') start
[2025-01-09 23:25:03] Production.INFO: Total Charge 0
[2025-01-09 23:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 23:25:03] Production.INFO: CreateAllLog End
[2025-01-09 23:25:03] Production.INFO: ==16665== Releasing lock...
[2025-01-09 23:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 23:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 23:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212921') end
[2025-01-09 23:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 23:25:03] Production.INFO: 1
[2025-01-09 23:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 23:25:03] Production.INFO: ==16673== Releasing lock...
[2025-01-09 23:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 23:25:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 23:25:03] Production.ERROR: done
[2025-01-09 23:25:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 23:25:04] Production.ERROR: done
[2025-01-09 23:25:04] Production.INFO: Account Balance End.
[2025-01-09 23:25:04] Production.ERROR: CronJobId end 12
[2025-01-09 23:25:04] Production.INFO: ==16669== Releasing lock...
[2025-01-09 23:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 23:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 23:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 20:25:05
[end_date_ymd] => 2025-01-09 23:25:05
[RateCDR] => 1
)
[2025-01-09 23:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 20:25:05' and `end` < '2025-01-09 23:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 23:25:12] Production.ERROR: CronJobId end10
[2025-01-09 23:25:12] Production.INFO: ==16667== Releasing lock...
[2025-01-09 23:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 23:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 23:25:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 23:25:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 23:25:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 23:25:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 23:25:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 23:25:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 23:25:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 23:25:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 23:25:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 23:25:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 23:25:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 23:25:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 23:25:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 23:25:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 23:25:12] Production.INFO: call_cost start
[2025-01-09 23:25:12] Production.INFO: call_cost end
[2025-01-09 23:25:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 23:25:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 23:25:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 23:25:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 23:25:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 23:25:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 23:25:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 23:25:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 23:25:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 23:25:13] Production.INFO: ==16663== Releasing lock...
[2025-01-09 23:25:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 23:25:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 23:25:18] Production.INFO: count ==633
[2025-01-09 23:25:18] Production.ERROR: pbx CDR StartTime 2025-01-09 20:25:05 - End Time 2025-01-09 23:25:05
[2025-01-09 23:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 23:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212923', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212923', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212923', 'tblTempVendorCDR_20' ) start
[2025-01-09 23:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212923', 'tblTempVendorCDR_20' ) end
[2025-01-09 23:25:18] Production.INFO: ProcessCDR(1,14212923,1,1,2)
[2025-01-09 23:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212923,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212923,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212923,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212923,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212923', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212923', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:25:21] Production.INFO: ==16671== Releasing lock...
[2025-01-09 23:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 23:25:21] Production.INFO: 32 MB #Memory Used#
[2025-01-10 04:26:02] Production.INFO: ==16730== Lock acquired, processing the job...
[2025-01-10 04:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 04:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 04:26:02] Production.INFO: neon service started
[2025-01-10 04:26:02] Production.INFO: neon service started
[2025-01-10 04:26:02] Production.INFO: ==16730== Releasing lock...
[2025-01-10 04:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 04:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 04:26:02] Production.INFO: ==16735== Lock acquired, processing the job...
[2025-01-10 04:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 23:26:02] Production.INFO: ==16733== Lock acquired, processing the job...
[2025-01-09 23:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 04:26:02] Production.INFO: ==16735== Releasing lock...
[2025-01-10 04:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 04:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 23:26:03] Production.INFO: ==16733== Releasing lock...
[2025-01-09 23:26:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 23:26:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 23:26:03] Production.INFO: ==16739== Lock acquired, processing the job...
[2025-01-09 23:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 23:26:03] Production.INFO: ==16737== Lock acquired, processing the job...
[2025-01-09 23:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 23:26:03] Production.INFO: ==16747== Lock acquired, processing the job...
[2025-01-09 23:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 23:26:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 23:26:04] Production.INFO: ==16741== Lock acquired, processing the job...
[2025-01-09 23:26:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 23:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:26:04] Production.INFO: count ==21
[2025-01-09 23:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 23:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 23:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 23:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:26:04] Production.INFO: ==16743== Lock acquired, processing the job...
[2025-01-09 23:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 23:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 23:26:04] Production.INFO: count ==21
[2025-01-09 23:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212925') start
[2025-01-09 23:26:04] Production.INFO: ==16745== Lock acquired, processing the job...
[2025-01-09 23:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 23:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:26:04] Production.INFO: ==16739== Releasing lock...
[2025-01-09 23:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 23:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 23:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212925') end
[2025-01-09 23:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 23:26:04] Production.INFO: 1
[2025-01-09 23:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 23:26:04] Production.INFO: Account Balance Start.
[2025-01-09 23:26:04] Production.INFO: CreateAllLog Start
[2025-01-09 23:26:04] Production.INFO: 117
[2025-01-09 23:26:04] Production.INFO: Date 2025-01-08
[2025-01-09 23:26:04] Production.INFO: Reseller ==> 0
[2025-01-09 23:26:04] Production.INFO: ==16747== Releasing lock...
[2025-01-09 23:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 23:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 23:26:04] Production.INFO: Date 2025-01-09
[2025-01-09 23:26:04] Production.INFO: Reseller ==> 0
[2025-01-09 23:26:04] Production.INFO: Total Charge 0
[2025-01-09 23:26:04] Production.INFO: CreateAllLog End
[2025-01-09 23:26:04] Production.INFO: Account Balance End.
[2025-01-09 23:26:04] Production.ERROR: done
[2025-01-09 23:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 23:26:04] Production.ERROR: CronJobId end 12
[2025-01-09 23:26:04] Production.INFO: ==16743== Releasing lock...
[2025-01-09 23:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 23:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 23:26:04] Production.ERROR: done
[2025-01-09 23:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 20:26:05
[end_date_ymd] => 2025-01-09 23:26:05
[RateCDR] => 1
)
[2025-01-09 23:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 20:26:05' and `end` < '2025-01-09 23:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 23:26:12] Production.ERROR: CronJobId end10
[2025-01-09 23:26:12] Production.INFO: ==16741== Releasing lock...
[2025-01-09 23:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 23:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 23:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 23:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 23:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 23:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 23:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 23:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 23:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 23:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 23:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 23:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 23:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 23:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 23:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 23:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 23:26:13] Production.INFO: call_cost start
[2025-01-09 23:26:13] Production.INFO: call_cost end
[2025-01-09 23:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 23:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 23:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 23:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 23:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 23:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 23:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 23:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 23:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 23:26:14] Production.INFO: ==16737== Releasing lock...
[2025-01-09 23:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 23:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 23:26:19] Production.INFO: count ==632
[2025-01-09 23:26:19] Production.ERROR: pbx CDR StartTime 2025-01-09 20:26:05 - End Time 2025-01-09 23:26:05
[2025-01-09 23:26:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 23:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212928', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212928', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212928', 'tblTempVendorCDR_20' ) start
[2025-01-09 23:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212928', 'tblTempVendorCDR_20' ) end
[2025-01-09 23:26:19] Production.INFO: ProcessCDR(1,14212928,1,1,2)
[2025-01-09 23:26:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212928,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:26:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212928,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:26:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212928,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:26:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212928,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212928', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212928', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:26:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:26:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:26:22] Production.INFO: ==16745== Releasing lock...
[2025-01-09 23:26:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 23:26:22] Production.INFO: 32 MB #Memory Used#
[2025-01-10 04:27:01] Production.INFO: ==16802== Lock acquired, processing the job...
[2025-01-10 04:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 04:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 04:27:01] Production.INFO: neon service started
[2025-01-10 04:27:01] Production.INFO: neon service started
[2025-01-10 04:27:01] Production.INFO: ==16802== Releasing lock...
[2025-01-10 04:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 04:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 23:27:02] Production.INFO: ==16804== Lock acquired, processing the job...
[2025-01-09 23:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 04:27:02] Production.INFO: ==16806== Lock acquired, processing the job...
[2025-01-10 04:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 04:27:02] Production.INFO: ==16806== Releasing lock...
[2025-01-10 04:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 04:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 23:27:02] Production.INFO: ==16804== Releasing lock...
[2025-01-09 23:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 23:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 23:27:03] Production.INFO: ==16811== Lock acquired, processing the job...
[2025-01-09 23:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 23:27:03] Production.INFO: ==16809== Lock acquired, processing the job...
[2025-01-09 23:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 23:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 23:27:03] Production.INFO: ==16813== Lock acquired, processing the job...
[2025-01-09 23:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 23:27:03] Production.INFO: ==16815== Lock acquired, processing the job...
[2025-01-09 23:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 23:27:03] Production.INFO: ==16817== Lock acquired, processing the job...
[2025-01-09 23:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 23:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 23:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 23:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 23:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:27:03] Production.INFO: Account Balance Start.
[2025-01-09 23:27:03] Production.INFO: CreateAllLog Start
[2025-01-09 23:27:03] Production.INFO: 117
[2025-01-09 23:27:03] Production.INFO: Date 2025-01-08
[2025-01-09 23:27:03] Production.INFO: ==16819== Lock acquired, processing the job...
[2025-01-09 23:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 23:27:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 23:27:03] Production.INFO: ==16811== Releasing lock...
[2025-01-09 23:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 23:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 23:27:03] Production.INFO: Date 2025-01-09
[2025-01-09 23:27:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:27:03] Production.ERROR: done
[2025-01-09 23:27:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 23:27:03] Production.INFO: count ==21
[2025-01-09 23:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:27:03] Production.INFO: count ==21
[2025-01-09 23:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212932') start
[2025-01-09 23:27:03] Production.INFO: Total Charge 0
[2025-01-09 23:27:03] Production.INFO: CreateAllLog End
[2025-01-09 23:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212932') end
[2025-01-09 23:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 23:27:03] Production.INFO: 1
[2025-01-09 23:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 23:27:04] Production.ERROR: done
[2025-01-09 23:27:04] Production.INFO: ==16819== Releasing lock...
[2025-01-09 23:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 23:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 23:27:04] Production.INFO: Account Balance End.
[2025-01-09 23:27:04] Production.ERROR: CronJobId end 12
[2025-01-09 23:27:04] Production.INFO: ==16815== Releasing lock...
[2025-01-09 23:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 23:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 23:27:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 20:27:04
[end_date_ymd] => 2025-01-09 23:27:04
[RateCDR] => 1
)
[2025-01-09 23:27:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 20:27:04' and `end` < '2025-01-09 23:27:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 23:27:11] Production.ERROR: CronJobId end10
[2025-01-09 23:27:11] Production.INFO: ==16813== Releasing lock...
[2025-01-09 23:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 23:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 23:27:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 23:27:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 23:27:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 23:27:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 23:27:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 23:27:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 23:27:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 23:27:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 23:27:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 23:27:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 23:27:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 23:27:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 23:27:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 23:27:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 23:27:12] Production.INFO: call_cost start
[2025-01-09 23:27:12] Production.INFO: call_cost end
[2025-01-09 23:27:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 23:27:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 23:27:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 23:27:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 23:27:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 23:27:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 23:27:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 23:27:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 23:27:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 23:27:13] Production.INFO: ==16809== Releasing lock...
[2025-01-09 23:27:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 23:27:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 23:27:18] Production.INFO: count ==632
[2025-01-09 23:27:18] Production.ERROR: pbx CDR StartTime 2025-01-09 20:27:04 - End Time 2025-01-09 23:27:04
[2025-01-09 23:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 23:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212933', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212933', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212933', 'tblTempVendorCDR_20' ) start
[2025-01-09 23:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212933', 'tblTempVendorCDR_20' ) end
[2025-01-09 23:27:18] Production.INFO: ProcessCDR(1,14212933,1,1,2)
[2025-01-09 23:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212933,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212933,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212933,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212933,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212933', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212933', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:27:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:27:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:27:21] Production.INFO: ==16817== Releasing lock...
[2025-01-09 23:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 23:27:21] Production.INFO: 32 MB #Memory Used#
[2025-01-10 04:28:02] Production.INFO: ==16914== Lock acquired, processing the job...
[2025-01-10 04:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 04:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 04:28:02] Production.INFO: neon service started
[2025-01-10 04:28:02] Production.INFO: neon service started
[2025-01-10 04:28:02] Production.INFO: ==16914== Releasing lock...
[2025-01-10 04:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 04:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 23:28:02] Production.INFO: ==16916== Lock acquired, processing the job...
[2025-01-09 23:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 04:28:02] Production.INFO: ==16918== Lock acquired, processing the job...
[2025-01-10 04:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 04:28:02] Production.INFO: ==16918== Releasing lock...
[2025-01-10 04:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 04:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 23:28:02] Production.INFO: ==16916== Releasing lock...
[2025-01-09 23:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 23:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 23:28:03] Production.INFO: ==16921== Lock acquired, processing the job...
[2025-01-09 23:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 23:28:03] Production.INFO: ==16925== Lock acquired, processing the job...
[2025-01-09 23:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 23:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 23:28:03] Production.INFO: ==16927== Lock acquired, processing the job...
[2025-01-09 23:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 23:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 23:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 23:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 23:28:03] Production.INFO: ==16923== Lock acquired, processing the job...
[2025-01-09 23:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 23:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 23:28:03] Production.INFO: Account Balance Start.
[2025-01-09 23:28:03] Production.INFO: CreateAllLog Start
[2025-01-09 23:28:03] Production.INFO: 117
[2025-01-09 23:28:04] Production.INFO: Date 2025-01-08
[2025-01-09 23:28:04] Production.INFO: ==16929== Lock acquired, processing the job...
[2025-01-09 23:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 23:28:04] Production.INFO: ==16931== Lock acquired, processing the job...
[2025-01-09 23:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 23:28:04] Production.INFO: Reseller ==> 0
[2025-01-09 23:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:28:04] Production.INFO: Date 2025-01-09
[2025-01-09 23:28:04] Production.INFO: Reseller ==> 0
[2025-01-09 23:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:28:04] Production.INFO: count ==21
[2025-01-09 23:28:04] Production.INFO: Total Charge 0
[2025-01-09 23:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:28:04] Production.INFO: ==16923== Releasing lock...
[2025-01-09 23:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 23:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 23:28:04] Production.INFO: count ==21
[2025-01-09 23:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212937') start
[2025-01-09 23:28:04] Production.INFO: CreateAllLog End
[2025-01-09 23:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212937') end
[2025-01-09 23:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 23:28:04] Production.INFO: 1
[2025-01-09 23:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 23:28:04] Production.ERROR: done
[2025-01-09 23:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 23:28:04] Production.INFO: Account Balance End.
[2025-01-09 23:28:04] Production.ERROR: CronJobId end 12
[2025-01-09 23:28:04] Production.INFO: ==16927== Releasing lock...
[2025-01-09 23:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 23:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 23:28:04] Production.INFO: ==16931== Releasing lock...
[2025-01-09 23:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 23:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 23:28:04] Production.ERROR: done
[2025-01-09 23:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 20:28:05
[end_date_ymd] => 2025-01-09 23:28:05
[RateCDR] => 1
)
[2025-01-09 23:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 20:28:05' and `end` < '2025-01-09 23:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 23:28:12] Production.ERROR: CronJobId end10
[2025-01-09 23:28:12] Production.INFO: ==16925== Releasing lock...
[2025-01-09 23:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 23:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 23:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 23:28:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 23:28:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 23:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 23:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 23:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 23:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 23:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 23:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 23:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 23:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 23:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 23:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 23:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 23:28:13] Production.INFO: call_cost start
[2025-01-09 23:28:13] Production.INFO: call_cost end
[2025-01-09 23:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 23:28:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 23:28:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 23:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 23:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 23:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 23:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 23:28:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 23:28:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 23:28:14] Production.INFO: ==16921== Releasing lock...
[2025-01-09 23:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 23:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 23:28:20] Production.INFO: count ==631
[2025-01-09 23:28:20] Production.ERROR: pbx CDR StartTime 2025-01-09 20:28:05 - End Time 2025-01-09 23:28:05
[2025-01-09 23:28:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 23:28:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212938', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:28:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212938', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:28:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212938', 'tblTempVendorCDR_20' ) start
[2025-01-09 23:28:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212938', 'tblTempVendorCDR_20' ) end
[2025-01-09 23:28:20] Production.INFO: ProcessCDR(1,14212938,1,1,2)
[2025-01-09 23:28:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212938,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:28:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212938,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:28:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212938,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:28:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212938,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:28:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212938', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:28:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212938', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:28:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:28:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:28:23] Production.INFO: ==16929== Releasing lock...
[2025-01-09 23:28:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 23:28:23] Production.INFO: 32 MB #Memory Used#
[2025-01-10 04:29:01] Production.INFO: ==16983== Lock acquired, processing the job...
[2025-01-10 04:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 04:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 04:29:01] Production.INFO: neon service started
[2025-01-10 04:29:01] Production.INFO: neon service started
[2025-01-10 04:29:01] Production.INFO: ==16983== Releasing lock...
[2025-01-10 04:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 04:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 23:29:02] Production.INFO: ==16985== Lock acquired, processing the job...
[2025-01-09 23:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 23:29:02] Production.INFO: ==16985== Releasing lock...
[2025-01-09 23:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 23:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 04:29:02] Production.INFO: ==16987== Lock acquired, processing the job...
[2025-01-10 04:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 04:29:02] Production.INFO: ==16987== Releasing lock...
[2025-01-10 04:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 04:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 23:29:03] Production.INFO: ==16990== Lock acquired, processing the job...
[2025-01-09 23:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 23:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 23:29:03] Production.INFO: ==16994== Lock acquired, processing the job...
[2025-01-09 23:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 23:29:03] Production.INFO: ==16996== Lock acquired, processing the job...
[2025-01-09 23:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 23:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 23:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 23:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 23:29:03] Production.INFO: ==16992== Lock acquired, processing the job...
[2025-01-09 23:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 23:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 23:29:03] Production.INFO: Account Balance Start.
[2025-01-09 23:29:03] Production.INFO: CreateAllLog Start
[2025-01-09 23:29:03] Production.INFO: 117
[2025-01-09 23:29:03] Production.INFO: ==16998== Lock acquired, processing the job...
[2025-01-09 23:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 23:29:03] Production.INFO: Date 2025-01-08
[2025-01-09 23:29:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:29:03] Production.INFO: Date 2025-01-09
[2025-01-09 23:29:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:29:03] Production.INFO: Total Charge 0
[2025-01-09 23:29:03] Production.INFO: CreateAllLog End
[2025-01-09 23:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:29:03] Production.INFO: ==17000== Lock acquired, processing the job...
[2025-01-09 23:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 23:29:03] Production.INFO: ==16992== Releasing lock...
[2025-01-09 23:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 23:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 23:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:29:03] Production.INFO: count ==21
[2025-01-09 23:29:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:29:03] Production.INFO: count ==21
[2025-01-09 23:29:03] Production.ERROR: done
[2025-01-09 23:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212942') start
[2025-01-09 23:29:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 23:29:03] Production.INFO: Account Balance End.
[2025-01-09 23:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212942') end
[2025-01-09 23:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 23:29:03] Production.INFO: 1
[2025-01-09 23:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 23:29:03] Production.ERROR: CronJobId end 12
[2025-01-09 23:29:03] Production.INFO: ==16996== Releasing lock...
[2025-01-09 23:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 23:29:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 23:29:03] Production.ERROR: done
[2025-01-09 23:29:04] Production.INFO: ==17000== Releasing lock...
[2025-01-09 23:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 23:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 23:29:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 20:29:04
[end_date_ymd] => 2025-01-09 23:29:04
[RateCDR] => 1
)
[2025-01-09 23:29:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 20:29:04' and `end` < '2025-01-09 23:29:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 23:29:12] Production.ERROR: CronJobId end10
[2025-01-09 23:29:12] Production.INFO: ==16994== Releasing lock...
[2025-01-09 23:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 23:29:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 23:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 23:29:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 23:29:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 23:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 23:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 23:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 23:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 23:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 23:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 23:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 23:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 23:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 23:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 23:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 23:29:13] Production.INFO: call_cost start
[2025-01-09 23:29:13] Production.INFO: call_cost end
[2025-01-09 23:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 23:29:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 23:29:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 23:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 23:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 23:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 23:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 23:29:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 23:29:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 23:29:14] Production.INFO: ==16990== Releasing lock...
[2025-01-09 23:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 23:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 23:29:17] Production.INFO: count ==628
[2025-01-09 23:29:17] Production.ERROR: pbx CDR StartTime 2025-01-09 20:29:04 - End Time 2025-01-09 23:29:04
[2025-01-09 23:29:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 23:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212943', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212943', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212943', 'tblTempVendorCDR_20' ) start
[2025-01-09 23:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212943', 'tblTempVendorCDR_20' ) end
[2025-01-09 23:29:17] Production.INFO: ProcessCDR(1,14212943,1,1,2)
[2025-01-09 23:29:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212943,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:29:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212943,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:29:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212943,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:29:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212943,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:29:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212943', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:29:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212943', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:29:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:29:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:29:20] Production.INFO: ==16998== Releasing lock...
[2025-01-09 23:29:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 23:29:20] Production.INFO: 32 MB #Memory Used#
[2025-01-10 04:30:02] Production.INFO: ==17055== Lock acquired, processing the job...
[2025-01-10 04:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 04:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 04:30:02] Production.INFO: neon service started
[2025-01-10 04:30:02] Production.INFO: neon service started
[2025-01-10 04:30:02] Production.INFO: ==17055== Releasing lock...
[2025-01-10 04:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 04:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 04:30:02] Production.INFO: ==17059== Lock acquired, processing the job...
[2025-01-10 04:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 04:30:02] Production.INFO: ==17059== Releasing lock...
[2025-01-10 04:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 04:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 23:30:02] Production.INFO: ==17057== Lock acquired, processing the job...
[2025-01-09 23:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 23:30:03] Production.INFO: ==17057== Releasing lock...
[2025-01-09 23:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 23:30:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 23:30:04] Production.INFO: ==17061== Lock acquired, processing the job...
[2025-01-09 23:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 23:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 23:30:04] Production.INFO: ==17069== Lock acquired, processing the job...
[2025-01-09 23:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 23:30:04] Production.INFO: ==17063== Lock acquired, processing the job...
[2025-01-09 23:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 23:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 23:30:04] Production.INFO: ==17061== Releasing lock...
[2025-01-09 23:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 23:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 23:30:04] Production.INFO: ==17074== Lock acquired, processing the job...
[2025-01-09 23:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 23:30:04] Production.INFO: ==17065== Lock acquired, processing the job...
[2025-01-09 23:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 23:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:30:04] Production.INFO: Account Balance Start.
[2025-01-09 23:30:04] Production.INFO: ==17067== Lock acquired, processing the job...
[2025-01-09 23:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 23:30:04] Production.INFO: CreateAllLog Start
[2025-01-09 23:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 23:30:04] Production.INFO: 117
[2025-01-09 23:30:04] Production.INFO: Date 2025-01-08
[2025-01-09 23:30:04] Production.INFO: Reseller ==> 0
[2025-01-09 23:30:04] Production.INFO: ==17071== Lock acquired, processing the job...
[2025-01-09 23:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 23:30:04] Production.INFO: ==17076== Lock acquired, processing the job...
[2025-01-09 23:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 23:30:04] Production.INFO: Date 2025-01-09
[2025-01-09 23:30:04] Production.INFO: Reseller ==> 0
[2025-01-09 23:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:30:04] Production.INFO: Total Charge 0
[2025-01-09 23:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:30:04] Production.INFO: CreateAllLog End
[2025-01-09 23:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 23:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 23:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 23:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 23:30:04] Production.INFO: count ==21
[2025-01-09 23:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:30:04] Production.INFO: count ==21
[2025-01-09 23:30:04] Production.INFO: ==17065== Releasing lock...
[2025-01-09 23:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 23:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 23:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212947') start
[2025-01-09 23:30:04] Production.ERROR: done
[2025-01-09 23:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212947') end
[2025-01-09 23:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 23:30:04] Production.INFO: 1
[2025-01-09 23:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 23:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 23:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14212948', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 23:30:04] Production.INFO: ==17076== Releasing lock...
[2025-01-09 23:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 23:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 23:30:04] Production.ERROR: done
[2025-01-09 23:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 23:30:04] Production.INFO: Account Balance End.
[2025-01-09 23:30:05] Production.ERROR: CronJobId end 12
[2025-01-09 23:30:05] Production.INFO: ==17069== Releasing lock...
[2025-01-09 23:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 23:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 23:30:05] Production.ERROR: done
[2025-01-09 23:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 20:30:06
[end_date_ymd] => 2025-01-09 23:30:06
[RateCDR] => 1
)
[2025-01-09 23:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 20:30:06' and `end` < '2025-01-09 23:30:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 23:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14212948', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 23:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 23:30:08] Production.INFO: ProcessCDR(1,14212948,1,1,2)
[2025-01-09 23:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14212948,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14212948,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:30:08] Production.INFO: ==17074== Releasing lock...
[2025-01-09 23:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 23:30:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 23:30:14] Production.ERROR: CronJobId end10
[2025-01-09 23:30:14] Production.INFO: ==17067== Releasing lock...
[2025-01-09 23:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 23:30:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 23:30:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 23:30:15] Production.INFO: ============== Balance Warning START===========
[2025-01-09 23:30:15] Production.INFO: ============== Balance Warning END===========
[2025-01-09 23:30:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 23:30:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 23:30:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 23:30:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 23:30:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 23:30:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 23:30:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 23:30:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 23:30:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 23:30:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 23:30:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 23:30:15] Production.INFO: call_cost start
[2025-01-09 23:30:15] Production.INFO: call_cost end
[2025-01-09 23:30:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 23:30:16] Production.INFO: ============== Report Schedule START===========
[2025-01-09 23:30:16] Production.INFO: ============== Report Schedule END===========
[2025-01-09 23:30:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 23:30:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 23:30:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 23:30:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 23:30:16] Production.INFO: ============== Deal alert START===========
[2025-01-09 23:30:16] Production.INFO: ============== Deal alert END===========
[2025-01-09 23:30:16] Production.INFO: ==17063== Releasing lock...
[2025-01-09 23:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 23:30:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 23:30:19] Production.INFO: count ==628
[2025-01-09 23:30:19] Production.ERROR: pbx CDR StartTime 2025-01-09 20:30:06 - End Time 2025-01-09 23:30:06
[2025-01-09 23:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 23:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212949', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212949', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212949', 'tblTempVendorCDR_20' ) start
[2025-01-09 23:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212949', 'tblTempVendorCDR_20' ) end
[2025-01-09 23:30:19] Production.INFO: ProcessCDR(1,14212949,1,1,2)
[2025-01-09 23:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212949,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212949,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212949,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212949,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212949', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212949', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:30:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:30:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:30:22] Production.INFO: ==17071== Releasing lock...
[2025-01-09 23:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 23:30:22] Production.INFO: 32 MB #Memory Used#
[2025-01-10 04:31:01] Production.INFO: ==17130== Lock acquired, processing the job...
[2025-01-10 04:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 04:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 04:31:01] Production.INFO: neon service started
[2025-01-10 04:31:01] Production.INFO: neon service started
[2025-01-10 04:31:01] Production.INFO: ==17130== Releasing lock...
[2025-01-10 04:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 04:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 23:31:01] Production.INFO: ==17132== Lock acquired, processing the job...
[2025-01-09 23:31:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 23:31:02] Production.INFO: ==17132== Releasing lock...
[2025-01-09 23:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 23:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 04:31:02] Production.INFO: ==17134== Lock acquired, processing the job...
[2025-01-10 04:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 04:31:02] Production.INFO: ==17134== Releasing lock...
[2025-01-10 04:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 04:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 23:31:03] Production.INFO: ==17140== Lock acquired, processing the job...
[2025-01-09 23:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 23:31:03] Production.INFO: ==17144== Lock acquired, processing the job...
[2025-01-09 23:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 23:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 23:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 23:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 23:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 23:31:03] Production.INFO: ==17136== Lock acquired, processing the job...
[2025-01-09 23:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 23:31:03] Production.INFO: ==17138== Lock acquired, processing the job...
[2025-01-09 23:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 23:31:03] Production.INFO: ==17146== Lock acquired, processing the job...
[2025-01-09 23:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 23:31:03] Production.INFO: ==17142== Lock acquired, processing the job...
[2025-01-09 23:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 23:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 23:31:03] Production.ERROR: done
[2025-01-09 23:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 23:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:31:03] Production.INFO: count ==21
[2025-01-09 23:31:03] Production.INFO: Account Balance Start.
[2025-01-09 23:31:03] Production.INFO: CreateAllLog Start
[2025-01-09 23:31:03] Production.INFO: 117
[2025-01-09 23:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:31:03] Production.INFO: count ==21
[2025-01-09 23:31:03] Production.INFO: Date 2025-01-08
[2025-01-09 23:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212951') start
[2025-01-09 23:31:03] Production.ERROR: done
[2025-01-09 23:31:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:31:03] Production.INFO: Date 2025-01-09
[2025-01-09 23:31:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212951') end
[2025-01-09 23:31:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 23:31:03] Production.INFO: 1
[2025-01-09 23:31:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 23:31:03] Production.INFO: Total Charge 0
[2025-01-09 23:31:03] Production.INFO: ==17146== Releasing lock...
[2025-01-09 23:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 23:31:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 23:31:03] Production.INFO: CreateAllLog End
[2025-01-09 23:31:03] Production.INFO: Account Balance End.
[2025-01-09 23:31:03] Production.ERROR: CronJobId end 12
[2025-01-09 23:31:03] Production.INFO: ==17142== Releasing lock...
[2025-01-09 23:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 23:31:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 23:31:03] Production.INFO: ==17138== Releasing lock...
[2025-01-09 23:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 23:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 23:31:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 20:31:04
[end_date_ymd] => 2025-01-09 23:31:04
[RateCDR] => 1
)
[2025-01-09 23:31:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 20:31:04' and `end` < '2025-01-09 23:31:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 23:31:11] Production.ERROR: CronJobId end10
[2025-01-09 23:31:11] Production.INFO: ==17140== Releasing lock...
[2025-01-09 23:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 23:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 23:31:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 23:31:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 23:31:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 23:31:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 23:31:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 23:31:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 23:31:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 23:31:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 23:31:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 23:31:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 23:31:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 23:31:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 23:31:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 23:31:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 23:31:13] Production.INFO: call_cost start
[2025-01-09 23:31:13] Production.INFO: call_cost end
[2025-01-09 23:31:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 23:31:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 23:31:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 23:31:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 23:31:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 23:31:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 23:31:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 23:31:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 23:31:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 23:31:13] Production.INFO: ==17136== Releasing lock...
[2025-01-09 23:31:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 23:31:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 23:31:17] Production.INFO: count ==611
[2025-01-09 23:31:17] Production.ERROR: pbx CDR StartTime 2025-01-09 20:31:04 - End Time 2025-01-09 23:31:04
[2025-01-09 23:31:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 23:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212954', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212954', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212954', 'tblTempVendorCDR_20' ) start
[2025-01-09 23:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212954', 'tblTempVendorCDR_20' ) end
[2025-01-09 23:31:17] Production.INFO: ProcessCDR(1,14212954,1,1,2)
[2025-01-09 23:31:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212954,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212954,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212954,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212954,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212954', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212954', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:31:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:31:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:31:22] Production.INFO: ==17144== Releasing lock...
[2025-01-09 23:31:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 23:31:22] Production.INFO: 32 MB #Memory Used#
[2025-01-10 04:32:02] Production.INFO: ==17199== Lock acquired, processing the job...
[2025-01-10 04:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 04:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 04:32:02] Production.INFO: neon service started
[2025-01-10 04:32:02] Production.INFO: neon service started
[2025-01-10 04:32:02] Production.INFO: ==17199== Releasing lock...
[2025-01-10 04:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 04:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 23:32:02] Production.INFO: ==17201== Lock acquired, processing the job...
[2025-01-09 23:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 23:32:02] Production.INFO: ==17201== Releasing lock...
[2025-01-09 23:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 23:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 04:32:02] Production.INFO: ==17204== Lock acquired, processing the job...
[2025-01-10 04:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 04:32:02] Production.INFO: ==17204== Releasing lock...
[2025-01-10 04:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 04:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 23:32:03] Production.INFO: ==17210== Lock acquired, processing the job...
[2025-01-09 23:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 23:32:03] Production.INFO: ==17214== Lock acquired, processing the job...
[2025-01-09 23:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 23:32:03] Production.INFO: ==17206== Lock acquired, processing the job...
[2025-01-09 23:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 23:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:32:03] Production.INFO: ==17208== Lock acquired, processing the job...
[2025-01-09 23:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 23:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 23:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 23:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 23:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 23:32:03] Production.INFO: ==17212== Lock acquired, processing the job...
[2025-01-09 23:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 23:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 23:32:03] Production.INFO: ==17216== Lock acquired, processing the job...
[2025-01-09 23:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 23:32:03] Production.ERROR: done
[2025-01-09 23:32:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 23:32:03] Production.INFO: Account Balance Start.
[2025-01-09 23:32:03] Production.INFO: CreateAllLog Start
[2025-01-09 23:32:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:32:03] Production.INFO: 117
[2025-01-09 23:32:04] Production.INFO: Date 2025-01-08
[2025-01-09 23:32:04] Production.INFO: count ==21
[2025-01-09 23:32:04] Production.INFO: Reseller ==> 0
[2025-01-09 23:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:32:04] Production.ERROR: done
[2025-01-09 23:32:04] Production.INFO: count ==21
[2025-01-09 23:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212958') start
[2025-01-09 23:32:04] Production.INFO: Date 2025-01-09
[2025-01-09 23:32:04] Production.INFO: Reseller ==> 0
[2025-01-09 23:32:04] Production.INFO: Total Charge 0
[2025-01-09 23:32:04] Production.INFO: CreateAllLog End
[2025-01-09 23:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212958') end
[2025-01-09 23:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 23:32:04] Production.INFO: 1
[2025-01-09 23:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 23:32:04] Production.INFO: ==17208== Releasing lock...
[2025-01-09 23:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 23:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 23:32:04] Production.INFO: ==17216== Releasing lock...
[2025-01-09 23:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 23:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 23:32:04] Production.INFO: Account Balance End.
[2025-01-09 23:32:04] Production.ERROR: CronJobId end 12
[2025-01-09 23:32:04] Production.INFO: ==17212== Releasing lock...
[2025-01-09 23:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 23:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 23:32:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 20:32:04
[end_date_ymd] => 2025-01-09 23:32:04
[RateCDR] => 1
)
[2025-01-09 23:32:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 20:32:04' and `end` < '2025-01-09 23:32:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 23:32:10] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#11 [internal function]: App\Console\Commands\NeonAlerts->fire()
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,10))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#2 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#6 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#7 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#8 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#9 [internal function]: App\Console\Commands\NeonAlerts->fire()
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 {main}
[2025-01-09 23:32:10] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 23:32:10] Production.INFO: ============== Balance Warning START===========
[2025-01-09 23:32:10] Production.INFO: ============== Balance Warning END===========
[2025-01-09 23:32:10] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 23:32:10] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 23:32:10] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 23:32:10] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 23:32:10] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 23:32:10] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 23:32:10] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 23:32:10] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 23:32:10] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 23:32:10] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 23:32:10] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 23:32:10] Production.ERROR: CronJobId end10
[2025-01-09 23:32:10] Production.INFO: ==17210== Releasing lock...
[2025-01-09 23:32:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 23:32:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 23:32:10] Production.INFO: call_cost start
[2025-01-09 23:32:10] Production.INFO: call_cost end
[2025-01-09 23:32:11] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 23:32:11] Production.INFO: ============== Report Schedule START===========
[2025-01-09 23:32:11] Production.INFO: ============== Report Schedule END===========
[2025-01-09 23:32:11] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 23:32:11] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 23:32:11] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 23:32:11] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 23:32:11] Production.INFO: ============== Deal alert START===========
[2025-01-09 23:32:11] Production.INFO: ============== Deal alert END===========
[2025-01-09 23:32:11] Production.INFO: ==17206== Releasing lock...
[2025-01-09 23:32:11] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 23:32:11] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 23:32:18] Production.INFO: count ==610
[2025-01-09 23:32:18] Production.ERROR: pbx CDR StartTime 2025-01-09 20:32:04 - End Time 2025-01-09 23:32:04
[2025-01-09 23:32:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 23:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212959', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212959', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212959', 'tblTempVendorCDR_20' ) start
[2025-01-09 23:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212959', 'tblTempVendorCDR_20' ) end
[2025-01-09 23:32:18] Production.INFO: ProcessCDR(1,14212959,1,1,2)
[2025-01-09 23:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212959,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212959,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212959,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212959,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212959', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212959', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:32:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:32:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:32:21] Production.INFO: ==17214== Releasing lock...
[2025-01-09 23:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 23:32:21] Production.INFO: 32 MB #Memory Used#
[2025-01-10 04:33:01] Production.INFO: ==17268== Lock acquired, processing the job...
[2025-01-10 04:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 04:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 04:33:01] Production.INFO: neon service started
[2025-01-10 04:33:01] Production.INFO: neon service started
[2025-01-10 04:33:01] Production.INFO: ==17268== Releasing lock...
[2025-01-10 04:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 04:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 04:33:01] Production.INFO: ==17272== Lock acquired, processing the job...
[2025-01-10 04:33:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 04:33:01] Production.INFO: ==17272== Releasing lock...
[2025-01-10 04:33:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 04:33:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 23:33:01] Production.INFO: ==17270== Lock acquired, processing the job...
[2025-01-09 23:33:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 23:33:02] Production.INFO: ==17270== Releasing lock...
[2025-01-09 23:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 23:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 23:33:03] Production.INFO: ==17279== Lock acquired, processing the job...
[2025-01-09 23:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 23:33:03] Production.INFO: ==17275== Lock acquired, processing the job...
[2025-01-09 23:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 23:33:03] Production.INFO: ==17281== Lock acquired, processing the job...
[2025-01-09 23:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 23:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 23:33:03] Production.INFO: ==17277== Lock acquired, processing the job...
[2025-01-09 23:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 23:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 23:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 23:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 23:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 23:33:03] Production.INFO: ==17283== Lock acquired, processing the job...
[2025-01-09 23:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 23:33:03] Production.INFO: ==17285== Lock acquired, processing the job...
[2025-01-09 23:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 23:33:03] Production.INFO: Account Balance Start.
[2025-01-09 23:33:03] Production.INFO: CreateAllLog Start
[2025-01-09 23:33:03] Production.INFO: 117
[2025-01-09 23:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:33:03] Production.INFO: Date 2025-01-08
[2025-01-09 23:33:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:33:03] Production.INFO: count ==21
[2025-01-09 23:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:33:03] Production.INFO: count ==21
[2025-01-09 23:33:03] Production.INFO: Date 2025-01-09
[2025-01-09 23:33:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212963') start
[2025-01-09 23:33:03] Production.INFO: ==17277== Releasing lock...
[2025-01-09 23:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 23:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 23:33:03] Production.INFO: Total Charge 0
[2025-01-09 23:33:03] Production.INFO: CreateAllLog End
[2025-01-09 23:33:03] Production.ERROR: done
[2025-01-09 23:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212963') end
[2025-01-09 23:33:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 23:33:03] Production.INFO: 1
[2025-01-09 23:33:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 23:33:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 23:33:03] Production.INFO: ==17285== Releasing lock...
[2025-01-09 23:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 23:33:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 23:33:03] Production.ERROR: done
[2025-01-09 23:33:03] Production.INFO: Account Balance End.
[2025-01-09 23:33:03] Production.ERROR: CronJobId end 12
[2025-01-09 23:33:03] Production.INFO: ==17281== Releasing lock...
[2025-01-09 23:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 23:33:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 23:33:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 20:33:04
[end_date_ymd] => 2025-01-09 23:33:04
[RateCDR] => 1
)
[2025-01-09 23:33:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 20:33:04' and `end` < '2025-01-09 23:33:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 23:33:10] Production.ERROR: CronJobId end10
[2025-01-09 23:33:10] Production.INFO: ==17279== Releasing lock...
[2025-01-09 23:33:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 23:33:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 23:33:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 23:33:11] Production.INFO: ============== Balance Warning START===========
[2025-01-09 23:33:11] Production.INFO: ============== Balance Warning END===========
[2025-01-09 23:33:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 23:33:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 23:33:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 23:33:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 23:33:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 23:33:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 23:33:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 23:33:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 23:33:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 23:33:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 23:33:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 23:33:11] Production.INFO: call_cost start
[2025-01-09 23:33:11] Production.INFO: call_cost end
[2025-01-09 23:33:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 23:33:12] Production.INFO: ============== Report Schedule START===========
[2025-01-09 23:33:12] Production.INFO: ============== Report Schedule END===========
[2025-01-09 23:33:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 23:33:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 23:33:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 23:33:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 23:33:12] Production.INFO: ============== Deal alert START===========
[2025-01-09 23:33:12] Production.INFO: ============== Deal alert END===========
[2025-01-09 23:33:12] Production.INFO: ==17275== Releasing lock...
[2025-01-09 23:33:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 23:33:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 23:33:17] Production.INFO: count ==613
[2025-01-09 23:33:17] Production.ERROR: pbx CDR StartTime 2025-01-09 20:33:04 - End Time 2025-01-09 23:33:04
[2025-01-09 23:33:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 23:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212964', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212964', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212964', 'tblTempVendorCDR_20' ) start
[2025-01-09 23:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212964', 'tblTempVendorCDR_20' ) end
[2025-01-09 23:33:17] Production.INFO: ProcessCDR(1,14212964,1,1,2)
[2025-01-09 23:33:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212964,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:33:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212964,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:33:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212964,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:33:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212964,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:33:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212964', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:33:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212964', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:33:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:33:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:33:21] Production.INFO: ==17283== Releasing lock...
[2025-01-09 23:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 23:33:21] Production.INFO: 32 MB #Memory Used#
[2025-01-10 04:34:01] Production.INFO: ==17341== Lock acquired, processing the job...
[2025-01-10 04:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 04:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 04:34:01] Production.INFO: neon service started
[2025-01-10 04:34:01] Production.INFO: neon service started
[2025-01-10 04:34:01] Production.INFO: ==17341== Releasing lock...
[2025-01-10 04:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 04:34:01] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 23:34:02] Production.INFO: ==17344== Lock acquired, processing the job...
[2025-01-09 23:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 04:34:02] Production.INFO: ==17346== Lock acquired, processing the job...
[2025-01-10 04:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 23:34:02] Production.INFO: ==17344== Releasing lock...
[2025-01-09 23:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 23:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 04:34:02] Production.INFO: ==17346== Releasing lock...
[2025-01-10 04:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 04:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 23:34:03] Production.INFO: ==17356== Lock acquired, processing the job...
[2025-01-09 23:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 23:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:34:03] Production.INFO: ==17358== Lock acquired, processing the job...
[2025-01-09 23:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 23:34:03] Production.INFO: ==17348== Lock acquired, processing the job...
[2025-01-09 23:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 23:34:03] Production.INFO: ==17350== Lock acquired, processing the job...
[2025-01-09 23:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 23:34:03] Production.INFO: ==17352== Lock acquired, processing the job...
[2025-01-09 23:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 23:34:03] Production.INFO: ==17354== Lock acquired, processing the job...
[2025-01-09 23:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 23:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 23:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 23:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 23:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 23:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 23:34:03] Production.INFO: count ==21
[2025-01-09 23:34:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:34:03] Production.INFO: count ==21
[2025-01-09 23:34:03] Production.INFO: Account Balance Start.
[2025-01-09 23:34:03] Production.INFO: CreateAllLog Start
[2025-01-09 23:34:03] Production.INFO: 117
[2025-01-09 23:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212965') start
[2025-01-09 23:34:03] Production.ERROR: done
[2025-01-09 23:34:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 23:34:03] Production.INFO: Date 2025-01-08
[2025-01-09 23:34:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:34:03] Production.INFO: Date 2025-01-09
[2025-01-09 23:34:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:34:04] Production.INFO: Total Charge 0
[2025-01-09 23:34:04] Production.ERROR: done
[2025-01-09 23:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212965') end
[2025-01-09 23:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 23:34:04] Production.INFO: 1
[2025-01-09 23:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 23:34:04] Production.INFO: CreateAllLog End
[2025-01-09 23:34:04] Production.INFO: ==17358== Releasing lock...
[2025-01-09 23:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 23:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 23:34:04] Production.INFO: ==17350== Releasing lock...
[2025-01-09 23:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 23:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 23:34:04] Production.INFO: Account Balance End.
[2025-01-09 23:34:04] Production.ERROR: CronJobId end 12
[2025-01-09 23:34:04] Production.INFO: ==17354== Releasing lock...
[2025-01-09 23:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 23:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 23:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 20:34:05
[end_date_ymd] => 2025-01-09 23:34:05
[RateCDR] => 1
)
[2025-01-09 23:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 20:34:05' and `end` < '2025-01-09 23:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 23:34:11] Production.ERROR: CronJobId end10
[2025-01-09 23:34:11] Production.INFO: ==17352== Releasing lock...
[2025-01-09 23:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 23:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 23:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 23:34:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 23:34:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 23:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 23:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 23:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 23:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 23:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 23:34:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 23:34:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 23:34:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 23:34:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 23:34:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 23:34:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 23:34:13] Production.INFO: call_cost start
[2025-01-09 23:34:13] Production.INFO: call_cost end
[2025-01-09 23:34:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 23:34:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 23:34:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 23:34:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 23:34:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 23:34:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 23:34:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 23:34:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 23:34:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 23:34:14] Production.INFO: ==17348== Releasing lock...
[2025-01-09 23:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 23:34:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 23:34:20] Production.INFO: count ==613
[2025-01-09 23:34:20] Production.ERROR: pbx CDR StartTime 2025-01-09 20:34:05 - End Time 2025-01-09 23:34:05
[2025-01-09 23:34:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 23:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212969', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212969', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212969', 'tblTempVendorCDR_20' ) start
[2025-01-09 23:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212969', 'tblTempVendorCDR_20' ) end
[2025-01-09 23:34:20] Production.INFO: ProcessCDR(1,14212969,1,1,2)
[2025-01-09 23:34:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212969,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:34:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212969,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:34:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212969,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:34:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212969,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:34:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212969', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:34:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212969', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:34:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:34:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:34:23] Production.INFO: ==17356== Releasing lock...
[2025-01-09 23:34:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 23:34:23] Production.INFO: 32.25 MB #Memory Used#
[2025-01-10 04:35:02] Production.INFO: ==17412== Lock acquired, processing the job...
[2025-01-10 04:35:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 04:35:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 04:35:02] Production.INFO: neon service started
[2025-01-10 04:35:02] Production.INFO: neon service started
[2025-01-10 04:35:02] Production.INFO: ==17412== Releasing lock...
[2025-01-10 04:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 04:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 04:35:02] Production.INFO: ==17416== Lock acquired, processing the job...
[2025-01-10 04:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 23:35:02] Production.INFO: ==17414== Lock acquired, processing the job...
[2025-01-09 23:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 04:35:02] Production.INFO: ==17416== Releasing lock...
[2025-01-10 04:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 04:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 23:35:03] Production.INFO: ==17414== Releasing lock...
[2025-01-09 23:35:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 23:35:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 23:35:03] Production.INFO: ==17425== Lock acquired, processing the job...
[2025-01-09 23:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 23:35:03] Production.INFO: ==17427== Lock acquired, processing the job...
[2025-01-09 23:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 23:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:35:04] Production.INFO: ==17419== Lock acquired, processing the job...
[2025-01-09 23:35:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 23:35:04] Production.INFO: Account Balance Start.
[2025-01-09 23:35:04] Production.INFO: CreateAllLog Start
[2025-01-09 23:35:04] Production.INFO: 117
[2025-01-09 23:35:04] Production.INFO: Date 2025-01-08
[2025-01-09 23:35:04] Production.INFO: Reseller ==> 0
[2025-01-09 23:35:04] Production.INFO: ==17421== Lock acquired, processing the job...
[2025-01-09 23:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 23:35:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 23:35:04] Production.INFO: Date 2025-01-09
[2025-01-09 23:35:04] Production.INFO: Reseller ==> 0
[2025-01-09 23:35:04] Production.INFO: ==17423== Lock acquired, processing the job...
[2025-01-09 23:35:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 23:35:04] Production.INFO: ==17429== Lock acquired, processing the job...
[2025-01-09 23:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 23:35:04] Production.ERROR: done
[2025-01-09 23:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 23:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 23:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 23:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 23:35:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 23:35:04] Production.INFO: Total Charge 0
[2025-01-09 23:35:04] Production.INFO: CreateAllLog End
[2025-01-09 23:35:04] Production.INFO: count ==21
[2025-01-09 23:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:35:04] Production.INFO: count ==21
[2025-01-09 23:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212973') start
[2025-01-09 23:35:04] Production.ERROR: done
[2025-01-09 23:35:04] Production.INFO: Account Balance End.
[2025-01-09 23:35:04] Production.ERROR: CronJobId end 12
[2025-01-09 23:35:04] Production.INFO: ==17425== Releasing lock...
[2025-01-09 23:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 23:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 23:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212973') end
[2025-01-09 23:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 23:35:04] Production.INFO: 1
[2025-01-09 23:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 23:35:04] Production.INFO: ==17421== Releasing lock...
[2025-01-09 23:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 23:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 23:35:04] Production.INFO: ==17429== Releasing lock...
[2025-01-09 23:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 23:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 23:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 20:35:05
[end_date_ymd] => 2025-01-09 23:35:05
[RateCDR] => 1
)
[2025-01-09 23:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 20:35:05' and `end` < '2025-01-09 23:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 23:35:12] Production.ERROR: CronJobId end10
[2025-01-09 23:35:12] Production.INFO: ==17423== Releasing lock...
[2025-01-09 23:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 23:35:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 23:35:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 23:35:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 23:35:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 23:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 23:35:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 23:35:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 23:35:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 23:35:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 23:35:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 23:35:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 23:35:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 23:35:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 23:35:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 23:35:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 23:35:13] Production.INFO: call_cost start
[2025-01-09 23:35:13] Production.INFO: call_cost end
[2025-01-09 23:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 23:35:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 23:35:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 23:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 23:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 23:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 23:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 23:35:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 23:35:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 23:35:14] Production.INFO: ==17419== Releasing lock...
[2025-01-09 23:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 23:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 23:35:18] Production.INFO: count ==613
[2025-01-09 23:35:18] Production.ERROR: pbx CDR StartTime 2025-01-09 20:35:05 - End Time 2025-01-09 23:35:05
[2025-01-09 23:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 23:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212974', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212974', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212974', 'tblTempVendorCDR_20' ) start
[2025-01-09 23:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212974', 'tblTempVendorCDR_20' ) end
[2025-01-09 23:35:18] Production.INFO: ProcessCDR(1,14212974,1,1,2)
[2025-01-09 23:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212974,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212974,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212974,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212974,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212974', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212974', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:35:21] Production.INFO: ==17427== Releasing lock...
[2025-01-09 23:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 23:35:21] Production.INFO: 32 MB #Memory Used#
[2025-01-10 04:36:01] Production.INFO: ==17484== Lock acquired, processing the job...
[2025-01-10 04:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 04:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 04:36:01] Production.INFO: neon service started
[2025-01-10 04:36:01] Production.INFO: neon service started
[2025-01-10 04:36:01] Production.INFO: ==17484== Releasing lock...
[2025-01-10 04:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 04:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 23:36:02] Production.INFO: ==17486== Lock acquired, processing the job...
[2025-01-09 23:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 04:36:02] Production.INFO: ==17488== Lock acquired, processing the job...
[2025-01-10 04:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 04:36:02] Production.INFO: ==17488== Releasing lock...
[2025-01-10 04:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 04:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 23:36:02] Production.INFO: ==17486== Releasing lock...
[2025-01-09 23:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 23:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 23:36:03] Production.INFO: ==17491== Lock acquired, processing the job...
[2025-01-09 23:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 23:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 23:36:03] Production.INFO: ==17497== Lock acquired, processing the job...
[2025-01-09 23:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 23:36:03] Production.INFO: ==17499== Lock acquired, processing the job...
[2025-01-09 23:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 23:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:36:03] Production.INFO: ==17493== Lock acquired, processing the job...
[2025-01-09 23:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 23:36:03] Production.INFO: ==17495== Lock acquired, processing the job...
[2025-01-09 23:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 23:36:03] Production.INFO: ==17501== Lock acquired, processing the job...
[2025-01-09 23:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 23:36:03] Production.INFO: Account Balance Start.
[2025-01-09 23:36:03] Production.INFO: CreateAllLog Start
[2025-01-09 23:36:03] Production.INFO: 117
[2025-01-09 23:36:03] Production.INFO: Date 2025-01-08
[2025-01-09 23:36:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:36:03] Production.ERROR: done
[2025-01-09 23:36:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 23:36:03] Production.INFO: Date 2025-01-09
[2025-01-09 23:36:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:36:03] Production.INFO: count ==21
[2025-01-09 23:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 23:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 23:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 23:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:36:03] Production.INFO: count ==21
[2025-01-09 23:36:03] Production.INFO: Total Charge 0
[2025-01-09 23:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 23:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212978') start
[2025-01-09 23:36:03] Production.ERROR: done
[2025-01-09 23:36:04] Production.INFO: CreateAllLog End
[2025-01-09 23:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212978') end
[2025-01-09 23:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 23:36:04] Production.INFO: 1
[2025-01-09 23:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 23:36:04] Production.INFO: ==17493== Releasing lock...
[2025-01-09 23:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 23:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 23:36:04] Production.INFO: ==17501== Releasing lock...
[2025-01-09 23:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 23:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 23:36:04] Production.INFO: Account Balance End.
[2025-01-09 23:36:04] Production.ERROR: CronJobId end 12
[2025-01-09 23:36:04] Production.INFO: ==17497== Releasing lock...
[2025-01-09 23:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 23:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 23:36:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 20:36:04
[end_date_ymd] => 2025-01-09 23:36:04
[RateCDR] => 1
)
[2025-01-09 23:36:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 20:36:04' and `end` < '2025-01-09 23:36:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 23:36:11] Production.ERROR: CronJobId end10
[2025-01-09 23:36:11] Production.INFO: ==17495== Releasing lock...
[2025-01-09 23:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 23:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 23:36:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 23:36:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 23:36:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 23:36:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 23:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 23:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 23:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 23:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 23:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 23:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 23:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 23:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 23:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 23:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 23:36:13] Production.INFO: call_cost start
[2025-01-09 23:36:13] Production.INFO: call_cost end
[2025-01-09 23:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 23:36:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 23:36:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 23:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 23:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 23:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 23:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 23:36:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 23:36:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 23:36:14] Production.INFO: ==17491== Releasing lock...
[2025-01-09 23:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 23:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 23:36:18] Production.INFO: count ==613
[2025-01-09 23:36:18] Production.ERROR: pbx CDR StartTime 2025-01-09 20:36:04 - End Time 2025-01-09 23:36:04
[2025-01-09 23:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 23:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212979', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212979', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212979', 'tblTempVendorCDR_20' ) start
[2025-01-09 23:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212979', 'tblTempVendorCDR_20' ) end
[2025-01-09 23:36:18] Production.INFO: ProcessCDR(1,14212979,1,1,2)
[2025-01-09 23:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212979,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212979,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212979,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:36:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212979,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212979', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212979', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:36:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:36:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:36:21] Production.INFO: ==17499== Releasing lock...
[2025-01-09 23:36:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 23:36:21] Production.INFO: 32 MB #Memory Used#
[2025-01-10 04:37:02] Production.INFO: ==17555== Lock acquired, processing the job...
[2025-01-10 04:37:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 04:37:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 04:37:02] Production.INFO: neon service started
[2025-01-10 04:37:02] Production.INFO: neon service started
[2025-01-10 04:37:02] Production.INFO: ==17555== Releasing lock...
[2025-01-10 04:37:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 04:37:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 23:37:02] Production.INFO: ==17558== Lock acquired, processing the job...
[2025-01-09 23:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 04:37:02] Production.INFO: ==17560== Lock acquired, processing the job...
[2025-01-10 04:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 04:37:02] Production.INFO: ==17560== Releasing lock...
[2025-01-10 04:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 04:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 23:37:02] Production.INFO: ==17558== Releasing lock...
[2025-01-09 23:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 23:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 23:37:03] Production.INFO: ==17568== Lock acquired, processing the job...
[2025-01-09 23:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 23:37:03] Production.INFO: ==17572== Lock acquired, processing the job...
[2025-01-09 23:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 23:37:03] Production.INFO: Account Balance Start.
[2025-01-09 23:37:03] Production.INFO: CreateAllLog Start
[2025-01-09 23:37:03] Production.INFO: 117
[2025-01-09 23:37:03] Production.INFO: Date 2025-01-08
[2025-01-09 23:37:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:37:03] Production.INFO: Date 2025-01-09
[2025-01-09 23:37:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:37:03] Production.INFO: Total Charge 0
[2025-01-09 23:37:03] Production.INFO: CreateAllLog End
[2025-01-09 23:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:37:03] Production.INFO: count ==21
[2025-01-09 23:37:03] Production.INFO: ==17562== Lock acquired, processing the job...
[2025-01-09 23:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 23:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:37:03] Production.INFO: count ==21
[2025-01-09 23:37:04] Production.INFO: ==17564== Lock acquired, processing the job...
[2025-01-09 23:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 23:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212981') start
[2025-01-09 23:37:04] Production.INFO: ==17566== Lock acquired, processing the job...
[2025-01-09 23:37:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 23:37:04] Production.INFO: Account Balance End.
[2025-01-09 23:37:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 23:37:04] Production.INFO: ==17570== Lock acquired, processing the job...
[2025-01-09 23:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 23:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212981') end
[2025-01-09 23:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 23:37:04] Production.INFO: 1
[2025-01-09 23:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 23:37:04] Production.ERROR: CronJobId end 12
[2025-01-09 23:37:04] Production.INFO: ==17568== Releasing lock...
[2025-01-09 23:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 23:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 23:37:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 23:37:04] Production.INFO: ==17572== Releasing lock...
[2025-01-09 23:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 23:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 23:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 23:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 23:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 23:37:04] Production.ERROR: done
[2025-01-09 23:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 23:37:04] Production.INFO: ==17564== Releasing lock...
[2025-01-09 23:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 23:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 23:37:04] Production.ERROR: done
[2025-01-09 23:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 20:37:05
[end_date_ymd] => 2025-01-09 23:37:05
[RateCDR] => 1
)
[2025-01-09 23:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 20:37:05' and `end` < '2025-01-09 23:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 23:37:12] Production.ERROR: CronJobId end10
[2025-01-09 23:37:12] Production.INFO: ==17566== Releasing lock...
[2025-01-09 23:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 23:37:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 23:37:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 23:37:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 23:37:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 23:37:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 23:37:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 23:37:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 23:37:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 23:37:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 23:37:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 23:37:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 23:37:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 23:37:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 23:37:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 23:37:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 23:37:13] Production.INFO: call_cost start
[2025-01-09 23:37:13] Production.INFO: call_cost end
[2025-01-09 23:37:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 23:37:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 23:37:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 23:37:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 23:37:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 23:37:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 23:37:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 23:37:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 23:37:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 23:37:13] Production.INFO: ==17562== Releasing lock...
[2025-01-09 23:37:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 23:37:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 23:37:18] Production.INFO: count ==612
[2025-01-09 23:37:18] Production.ERROR: pbx CDR StartTime 2025-01-09 20:37:05 - End Time 2025-01-09 23:37:05
[2025-01-09 23:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 23:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212984', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212984', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212984', 'tblTempVendorCDR_20' ) start
[2025-01-09 23:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212984', 'tblTempVendorCDR_20' ) end
[2025-01-09 23:37:18] Production.INFO: ProcessCDR(1,14212984,1,1,2)
[2025-01-09 23:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212984,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212984,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212984,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212984,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212984', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212984', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:37:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:37:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:37:21] Production.INFO: ==17570== Releasing lock...
[2025-01-09 23:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 23:37:21] Production.INFO: 32 MB #Memory Used#
[2025-01-10 04:38:01] Production.INFO: ==17627== Lock acquired, processing the job...
[2025-01-10 04:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 04:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 04:38:01] Production.INFO: neon service started
[2025-01-10 04:38:01] Production.INFO: neon service started
[2025-01-10 04:38:01] Production.INFO: ==17627== Releasing lock...
[2025-01-10 04:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 04:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 23:38:01] Production.INFO: ==17629== Lock acquired, processing the job...
[2025-01-09 23:38:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 04:38:02] Production.INFO: ==17631== Lock acquired, processing the job...
[2025-01-10 04:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 04:38:02] Production.INFO: ==17631== Releasing lock...
[2025-01-10 04:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 04:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 23:38:02] Production.INFO: ==17629== Releasing lock...
[2025-01-09 23:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 23:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 23:38:02] Production.INFO: ==17633== Lock acquired, processing the job...
[2025-01-09 23:38:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 23:38:02] Production.INFO: ==17637== Lock acquired, processing the job...
[2025-01-09 23:38:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 23:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 23:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 23:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 23:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 23:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 23:38:03] Production.INFO: ==17635== Lock acquired, processing the job...
[2025-01-09 23:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 23:38:03] Production.INFO: ==17639== Lock acquired, processing the job...
[2025-01-09 23:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 23:38:03] Production.INFO: ==17641== Lock acquired, processing the job...
[2025-01-09 23:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 23:38:03] Production.INFO: Account Balance Start.
[2025-01-09 23:38:03] Production.INFO: CreateAllLog Start
[2025-01-09 23:38:03] Production.INFO: 117
[2025-01-09 23:38:03] Production.INFO: Date 2025-01-08
[2025-01-09 23:38:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:38:03] Production.INFO: ==17644== Lock acquired, processing the job...
[2025-01-09 23:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 23:38:03] Production.INFO: Date 2025-01-09
[2025-01-09 23:38:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:38:03] Production.INFO: Total Charge 0
[2025-01-09 23:38:03] Production.INFO: CreateAllLog End
[2025-01-09 23:38:03] Production.INFO: ==17635== Releasing lock...
[2025-01-09 23:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 23:38:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 23:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:38:03] Production.INFO: count ==21
[2025-01-09 23:38:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:38:03] Production.INFO: count ==21
[2025-01-09 23:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14212988') start
[2025-01-09 23:38:03] Production.ERROR: done
[2025-01-09 23:38:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 23:38:03] Production.INFO: Account Balance End.
[2025-01-09 23:38:04] Production.ERROR: CronJobId end 12
[2025-01-09 23:38:04] Production.INFO: ==17639== Releasing lock...
[2025-01-09 23:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 23:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 23:38:04] Production.ERROR: done
[2025-01-09 23:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212988') end
[2025-01-09 23:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 23:38:04] Production.INFO: 1
[2025-01-09 23:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 23:38:04] Production.INFO: ==17644== Releasing lock...
[2025-01-09 23:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 23:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 23:38:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 20:38:04
[end_date_ymd] => 2025-01-09 23:38:04
[RateCDR] => 1
)
[2025-01-09 23:38:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 20:38:04' and `end` < '2025-01-09 23:38:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 23:38:12] Production.ERROR: CronJobId end10
[2025-01-09 23:38:12] Production.INFO: ==17637== Releasing lock...
[2025-01-09 23:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 23:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 23:38:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 23:38:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 23:38:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 23:38:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 23:38:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 23:38:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 23:38:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 23:38:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 23:38:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 23:38:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 23:38:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 23:38:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 23:38:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 23:38:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 23:38:13] Production.INFO: call_cost start
[2025-01-09 23:38:13] Production.INFO: call_cost end
[2025-01-09 23:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 23:38:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 23:38:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 23:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 23:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 23:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 23:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 23:38:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 23:38:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 23:38:14] Production.INFO: ==17633== Releasing lock...
[2025-01-09 23:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 23:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 23:38:17] Production.INFO: count ==613
[2025-01-09 23:38:17] Production.ERROR: pbx CDR StartTime 2025-01-09 20:38:04 - End Time 2025-01-09 23:38:04
[2025-01-09 23:38:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 23:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212989', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212989', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212989', 'tblTempVendorCDR_20' ) start
[2025-01-09 23:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212989', 'tblTempVendorCDR_20' ) end
[2025-01-09 23:38:18] Production.INFO: ProcessCDR(1,14212989,1,1,2)
[2025-01-09 23:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212989,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:38:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212989,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:38:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212989,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:38:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212989,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212989', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212989', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:38:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:38:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:38:21] Production.INFO: ==17641== Releasing lock...
[2025-01-09 23:38:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 23:38:21] Production.INFO: 32 MB #Memory Used#
[2025-01-10 04:39:01] Production.INFO: ==17699== Lock acquired, processing the job...
[2025-01-10 04:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 04:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 04:39:01] Production.INFO: neon service started
[2025-01-10 04:39:01] Production.INFO: neon service started
[2025-01-10 04:39:01] Production.INFO: ==17699== Releasing lock...
[2025-01-10 04:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 04:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 23:39:02] Production.INFO: ==17701== Lock acquired, processing the job...
[2025-01-09 23:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 04:39:02] Production.INFO: ==17703== Lock acquired, processing the job...
[2025-01-10 04:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 04:39:02] Production.INFO: ==17703== Releasing lock...
[2025-01-10 04:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 04:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 23:39:02] Production.INFO: ==17701== Releasing lock...
[2025-01-09 23:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 23:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 23:39:03] Production.INFO: ==17714== Lock acquired, processing the job...
[2025-01-09 23:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 23:39:03] Production.INFO: ==17712== Lock acquired, processing the job...
[2025-01-09 23:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 23:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:39:03] Production.INFO: Account Balance Start.
[2025-01-09 23:39:03] Production.INFO: CreateAllLog Start
[2025-01-09 23:39:03] Production.INFO: 117
[2025-01-09 23:39:03] Production.INFO: Date 2025-01-08
[2025-01-09 23:39:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:39:03] Production.INFO: ==17706== Lock acquired, processing the job...
[2025-01-09 23:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 23:39:03] Production.INFO: ==17710== Lock acquired, processing the job...
[2025-01-09 23:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 23:39:03] Production.INFO: ==17708== Lock acquired, processing the job...
[2025-01-09 23:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 23:39:03] Production.INFO: Date 2025-01-09
[2025-01-09 23:39:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:39:03] Production.INFO: Total Charge 0
[2025-01-09 23:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 23:39:03] Production.INFO: CreateAllLog End
[2025-01-09 23:39:03] Production.INFO: ==17716== Lock acquired, processing the job...
[2025-01-09 23:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 23:39:04] Production.ERROR: done
[2025-01-09 23:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 23:39:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 23:39:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:39:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 23:39:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 23:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 23:39:04] Production.INFO: count ==21
[2025-01-09 23:39:04] Production.ERROR: done
[2025-01-09 23:39:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:39:04] Production.INFO: Account Balance End.
[2025-01-09 23:39:04] Production.INFO: count ==21
[2025-01-09 23:39:04] Production.ERROR: CronJobId end 12
[2025-01-09 23:39:04] Production.INFO: ==17712== Releasing lock...
[2025-01-09 23:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 23:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 23:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212993') start
[2025-01-09 23:39:04] Production.INFO: ==17708== Releasing lock...
[2025-01-09 23:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 23:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 23:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212993') end
[2025-01-09 23:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 23:39:04] Production.INFO: 1
[2025-01-09 23:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 23:39:04] Production.INFO: ==17716== Releasing lock...
[2025-01-09 23:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 23:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 23:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 20:39:05
[end_date_ymd] => 2025-01-09 23:39:05
[RateCDR] => 1
)
[2025-01-09 23:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 20:39:05' and `end` < '2025-01-09 23:39:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 23:39:11] Production.ERROR: CronJobId end10
[2025-01-09 23:39:11] Production.INFO: ==17710== Releasing lock...
[2025-01-09 23:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 23:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 23:39:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 23:39:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 23:39:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 23:39:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 23:39:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 23:39:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 23:39:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 23:39:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 23:39:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 23:39:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 23:39:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 23:39:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 23:39:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 23:39:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 23:39:12] Production.INFO: call_cost start
[2025-01-09 23:39:12] Production.INFO: call_cost end
[2025-01-09 23:39:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 23:39:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 23:39:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 23:39:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 23:39:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 23:39:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 23:39:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 23:39:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 23:39:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 23:39:13] Production.INFO: ==17706== Releasing lock...
[2025-01-09 23:39:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 23:39:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 23:39:18] Production.INFO: count ==614
[2025-01-09 23:39:18] Production.ERROR: pbx CDR StartTime 2025-01-09 20:39:05 - End Time 2025-01-09 23:39:05
[2025-01-09 23:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 23:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212994', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14212994', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212994', 'tblTempVendorCDR_20' ) start
[2025-01-09 23:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14212994', 'tblTempVendorCDR_20' ) end
[2025-01-09 23:39:18] Production.INFO: ProcessCDR(1,14212994,1,1,2)
[2025-01-09 23:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14212994,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14212994,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14212994,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14212994,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212994', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14212994', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:39:21] Production.INFO: ==17714== Releasing lock...
[2025-01-09 23:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 23:39:21] Production.INFO: 32 MB #Memory Used#
[2025-01-10 04:40:02] Production.INFO: ==17777== Lock acquired, processing the job...
[2025-01-10 04:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 04:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 04:40:02] Production.INFO: neon service started
[2025-01-10 04:40:02] Production.INFO: neon service started
[2025-01-10 04:40:02] Production.INFO: ==17777== Releasing lock...
[2025-01-10 04:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 04:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 04:40:02] Production.INFO: ==17781== Lock acquired, processing the job...
[2025-01-10 04:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 04:40:02] Production.INFO: ==17781== Releasing lock...
[2025-01-10 04:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 04:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 23:40:02] Production.INFO: ==17779== Lock acquired, processing the job...
[2025-01-09 23:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 23:40:03] Production.INFO: ==17779== Releasing lock...
[2025-01-09 23:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 23:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 23:40:04] Production.INFO: ==17785== Lock acquired, processing the job...
[2025-01-09 23:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 23:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 23:40:04] Production.INFO: ==17783== Lock acquired, processing the job...
[2025-01-09 23:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 23:40:04] Production.INFO: ==17792== Lock acquired, processing the job...
[2025-01-09 23:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 23:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 23:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 23:40:04] Production.ERROR: CronJob PID - 17785
[2025-01-09 23:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-09 23:40:04] Production.ERROR: CronJob ID - 5
[2025-01-09 23:40:04] Production.ERROR: CronJob Last Run Time 2025-01-09 23:40:00
[2025-01-09 23:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 23:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 23:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 23:40:04] Production.ERROR: CronJob PID - 17792
[2025-01-09 23:40:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-09 23:40:04] Production.ERROR: CronJob ID - 12
[2025-01-09 23:40:04] Production.ERROR: CronJob Last Run Time 2025-01-09 23:40:00
[2025-01-09 23:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 23:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 23:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 23:40:04] Production.INFO: ==17783== Releasing lock...
[2025-01-09 23:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 23:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 23:40:04] Production.INFO: ==17787== Lock acquired, processing the job...
[2025-01-09 23:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 23:40:04] Production.INFO: ==17789== Lock acquired, processing the job...
[2025-01-09 23:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 23:40:04] Production.INFO: Account Balance Start.
[2025-01-09 23:40:04] Production.INFO: CreateAllLog Start
[2025-01-09 23:40:04] Production.INFO: 117
[2025-01-09 23:40:04] Production.INFO: ==17798== Lock acquired, processing the job...
[2025-01-09 23:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 23:40:04] Production.INFO: Date 2025-01-08
[2025-01-09 23:40:04] Production.INFO: Reseller ==> 0
[2025-01-09 23:40:04] Production.INFO: Date 2025-01-09
[2025-01-09 23:40:04] Production.INFO: Reseller ==> 0
[2025-01-09 23:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 23:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 23:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 23:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:40:04] Production.INFO: ==17794== Lock acquired, processing the job...
[2025-01-09 23:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 23:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 23:40:04] Production.INFO: count ==21
[2025-01-09 23:40:04] Production.INFO: Total Charge 0
[2025-01-09 23:40:04] Production.INFO: ==17796== Lock acquired, processing the job...
[2025-01-09 23:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 23:40:04] Production.INFO: CreateAllLog End
[2025-01-09 23:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:40:04] Production.INFO: count ==21
[2025-01-09 23:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212998') start
[2025-01-09 23:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14212998') end
[2025-01-09 23:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 23:40:04] Production.INFO: 1
[2025-01-09 23:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 23:40:04] Production.INFO: ==17787== Releasing lock...
[2025-01-09 23:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 23:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 23:40:04] Production.INFO: ==17798== Releasing lock...
[2025-01-09 23:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 23:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 23:40:04] Production.ERROR: done
[2025-01-09 23:40:05] Production.ERROR: done
[2025-01-09 23:40:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 23:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 23:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14212999', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 23:40:05] Production.ERROR: done
[2025-01-09 23:40:05] Production.INFO: Account Balance End.
[2025-01-09 23:40:05] Production.ERROR: CronJobId end 12
[2025-01-09 23:40:05] Production.INFO: ==17792== Releasing lock...
[2025-01-09 23:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 23:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 23:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 20:40:06
[end_date_ymd] => 2025-01-09 23:40:06
[RateCDR] => 1
)
[2025-01-09 23:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 20:40:06' and `end` < '2025-01-09 23:40:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 23:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14212999', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 23:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 23:40:09] Production.INFO: ProcessCDR(1,14212999,1,1,2)
[2025-01-09 23:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14212999,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14212999,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:40:09] Production.INFO: ==17796== Releasing lock...
[2025-01-09 23:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 23:40:09] Production.INFO: 26 MB #Memory Used#
[2025-01-09 23:40:14] Production.ERROR: CronJobId end10
[2025-01-09 23:40:14] Production.INFO: ==17789== Releasing lock...
[2025-01-09 23:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 23:40:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 23:40:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 23:40:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 23:40:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 23:40:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 23:40:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 23:40:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 23:40:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 23:40:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 23:40:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 23:40:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 23:40:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 23:40:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 23:40:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 23:40:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 23:40:15] Production.INFO: call_cost start
[2025-01-09 23:40:15] Production.INFO: call_cost end
[2025-01-09 23:40:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 23:40:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 23:40:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 23:40:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 23:40:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 23:40:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 23:40:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 23:40:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 23:40:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 23:40:15] Production.INFO: ==17785== Releasing lock...
[2025-01-09 23:40:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 23:40:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 23:40:19] Production.INFO: count ==613
[2025-01-09 23:40:19] Production.ERROR: pbx CDR StartTime 2025-01-09 20:40:06 - End Time 2025-01-09 23:40:06
[2025-01-09 23:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 23:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213000', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213000', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213000', 'tblTempVendorCDR_20' ) start
[2025-01-09 23:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213000', 'tblTempVendorCDR_20' ) end
[2025-01-09 23:40:19] Production.INFO: ProcessCDR(1,14213000,1,1,2)
[2025-01-09 23:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213000,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213000,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213000,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:40:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213000,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213000', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213000', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:40:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:40:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:40:22] Production.INFO: ==17794== Releasing lock...
[2025-01-09 23:40:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 23:40:22] Production.INFO: 32 MB #Memory Used#
[2025-01-10 04:41:01] Production.INFO: ==17852== Lock acquired, processing the job...
[2025-01-10 04:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 04:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 04:41:01] Production.INFO: neon service started
[2025-01-10 04:41:01] Production.INFO: neon service started
[2025-01-10 04:41:01] Production.INFO: ==17852== Releasing lock...
[2025-01-10 04:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 04:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 23:41:01] Production.INFO: ==17854== Lock acquired, processing the job...
[2025-01-09 23:41:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 23:41:02] Production.INFO: ==17854== Releasing lock...
[2025-01-09 23:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 23:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 04:41:02] Production.INFO: ==17856== Lock acquired, processing the job...
[2025-01-10 04:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 04:41:02] Production.INFO: ==17856== Releasing lock...
[2025-01-10 04:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 04:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 23:41:03] Production.INFO: ==17864== Lock acquired, processing the job...
[2025-01-09 23:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 23:41:03] Production.INFO: ==17858== Lock acquired, processing the job...
[2025-01-09 23:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 23:41:03] Production.INFO: ==17868== Lock acquired, processing the job...
[2025-01-09 23:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 23:41:03] Production.INFO: ==17860== Lock acquired, processing the job...
[2025-01-09 23:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 23:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 23:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:41:03] Production.INFO: ==17862== Lock acquired, processing the job...
[2025-01-09 23:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 23:41:03] Production.INFO: count ==21
[2025-01-09 23:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:41:03] Production.INFO: count ==21
[2025-01-09 23:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213002') start
[2025-01-09 23:41:03] Production.INFO: Account Balance Start.
[2025-01-09 23:41:03] Production.INFO: CreateAllLog Start
[2025-01-09 23:41:03] Production.INFO: 117
[2025-01-09 23:41:03] Production.INFO: ==17866== Lock acquired, processing the job...
[2025-01-09 23:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 23:41:03] Production.INFO: Date 2025-01-08
[2025-01-09 23:41:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 23:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 23:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 23:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213002') end
[2025-01-09 23:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 23:41:03] Production.INFO: 1
[2025-01-09 23:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 23:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:41:03] Production.INFO: Date 2025-01-09
[2025-01-09 23:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 23:41:03] Production.INFO: ==17868== Releasing lock...
[2025-01-09 23:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 23:41:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 23:41:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:41:03] Production.INFO: Total Charge 0
[2025-01-09 23:41:03] Production.INFO: CreateAllLog End
[2025-01-09 23:41:03] Production.INFO: ==17860== Releasing lock...
[2025-01-09 23:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 23:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 23:41:03] Production.ERROR: done
[2025-01-09 23:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 23:41:03] Production.INFO: Account Balance End.
[2025-01-09 23:41:03] Production.ERROR: CronJobId end 12
[2025-01-09 23:41:03] Production.INFO: ==17864== Releasing lock...
[2025-01-09 23:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 23:41:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 23:41:03] Production.ERROR: done
[2025-01-09 23:41:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 20:41:04
[end_date_ymd] => 2025-01-09 23:41:04
[RateCDR] => 1
)
[2025-01-09 23:41:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 20:41:04' and `end` < '2025-01-09 23:41:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 23:41:11] Production.ERROR: CronJobId end10
[2025-01-09 23:41:11] Production.INFO: ==17862== Releasing lock...
[2025-01-09 23:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 23:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 23:41:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 23:41:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 23:41:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 23:41:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 23:41:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 23:41:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 23:41:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 23:41:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 23:41:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 23:41:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 23:41:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 23:41:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 23:41:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 23:41:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 23:41:13] Production.INFO: call_cost start
[2025-01-09 23:41:13] Production.INFO: call_cost end
[2025-01-09 23:41:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 23:41:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 23:41:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 23:41:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 23:41:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 23:41:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 23:41:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 23:41:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 23:41:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 23:41:13] Production.INFO: ==17858== Releasing lock...
[2025-01-09 23:41:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 23:41:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 23:41:17] Production.INFO: count ==613
[2025-01-09 23:41:17] Production.ERROR: pbx CDR StartTime 2025-01-09 20:41:04 - End Time 2025-01-09 23:41:04
[2025-01-09 23:41:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 23:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213005', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213005', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213005', 'tblTempVendorCDR_20' ) start
[2025-01-09 23:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213005', 'tblTempVendorCDR_20' ) end
[2025-01-09 23:41:17] Production.INFO: ProcessCDR(1,14213005,1,1,2)
[2025-01-09 23:41:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213005,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:41:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213005,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:41:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213005,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:41:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213005,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:41:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213005', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:41:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213005', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:41:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:41:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:41:20] Production.INFO: ==17866== Releasing lock...
[2025-01-09 23:41:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 23:41:20] Production.INFO: 32 MB #Memory Used#
[2025-01-10 04:42:02] Production.INFO: ==17922== Lock acquired, processing the job...
[2025-01-10 04:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 04:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 04:42:02] Production.INFO: neon service started
[2025-01-10 04:42:02] Production.INFO: neon service started
[2025-01-10 04:42:02] Production.INFO: ==17922== Releasing lock...
[2025-01-10 04:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 04:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 04:42:02] Production.INFO: ==17927== Lock acquired, processing the job...
[2025-01-10 04:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 04:42:02] Production.INFO: ==17927== Releasing lock...
[2025-01-10 04:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 04:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 23:42:02] Production.INFO: ==17925== Lock acquired, processing the job...
[2025-01-09 23:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 23:42:02] Production.INFO: ==17925== Releasing lock...
[2025-01-09 23:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 23:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 23:42:03] Production.INFO: ==17933== Lock acquired, processing the job...
[2025-01-09 23:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 23:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 23:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 23:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 23:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 23:42:03] Production.INFO: ==17939== Lock acquired, processing the job...
[2025-01-09 23:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 23:42:03] Production.INFO: ==17931== Lock acquired, processing the job...
[2025-01-09 23:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 23:42:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:42:03] Production.INFO: ==17929== Lock acquired, processing the job...
[2025-01-09 23:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 23:42:03] Production.INFO: ==17935== Lock acquired, processing the job...
[2025-01-09 23:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 23:42:03] Production.INFO: count ==21
[2025-01-09 23:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 23:42:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:42:03] Production.INFO: count ==21
[2025-01-09 23:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213006') start
[2025-01-09 23:42:03] Production.INFO: ==17937== Lock acquired, processing the job...
[2025-01-09 23:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 23:42:03] Production.INFO: Account Balance Start.
[2025-01-09 23:42:03] Production.INFO: CreateAllLog Start
[2025-01-09 23:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:42:04] Production.INFO: 117
[2025-01-09 23:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213006') end
[2025-01-09 23:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 23:42:04] Production.INFO: 1
[2025-01-09 23:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 23:42:04] Production.INFO: Date 2025-01-08
[2025-01-09 23:42:04] Production.INFO: ==17939== Releasing lock...
[2025-01-09 23:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 23:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 23:42:04] Production.INFO: Reseller ==> 0
[2025-01-09 23:42:04] Production.INFO: ==17931== Releasing lock...
[2025-01-09 23:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 23:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 23:42:04] Production.INFO: Date 2025-01-09
[2025-01-09 23:42:04] Production.INFO: Reseller ==> 0
[2025-01-09 23:42:04] Production.ERROR: done
[2025-01-09 23:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 23:42:04] Production.INFO: Total Charge 0
[2025-01-09 23:42:04] Production.INFO: CreateAllLog End
[2025-01-09 23:42:04] Production.ERROR: done
[2025-01-09 23:42:04] Production.INFO: Account Balance End.
[2025-01-09 23:42:04] Production.ERROR: CronJobId end 12
[2025-01-09 23:42:04] Production.INFO: ==17935== Releasing lock...
[2025-01-09 23:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 23:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 23:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 20:42:05
[end_date_ymd] => 2025-01-09 23:42:05
[RateCDR] => 1
)
[2025-01-09 23:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 20:42:05' and `end` < '2025-01-09 23:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 23:42:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 23:42:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 23:42:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 23:42:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 23:42:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 23:42:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 23:42:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 23:42:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 23:42:12] Production.ERROR: CronJobId end10
[2025-01-09 23:42:12] Production.INFO: ==17933== Releasing lock...
[2025-01-09 23:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 23:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 23:42:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 23:42:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 23:42:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 23:42:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 23:42:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 23:42:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 23:42:12] Production.INFO: call_cost start
[2025-01-09 23:42:12] Production.INFO: call_cost end
[2025-01-09 23:42:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 23:42:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 23:42:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 23:42:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 23:42:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 23:42:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 23:42:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 23:42:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 23:42:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 23:42:13] Production.INFO: ==17929== Releasing lock...
[2025-01-09 23:42:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 23:42:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 23:42:19] Production.INFO: count ==610
[2025-01-09 23:42:19] Production.ERROR: pbx CDR StartTime 2025-01-09 20:42:05 - End Time 2025-01-09 23:42:05
[2025-01-09 23:42:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 23:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213010', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213010', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213010', 'tblTempVendorCDR_20' ) start
[2025-01-09 23:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213010', 'tblTempVendorCDR_20' ) end
[2025-01-09 23:42:19] Production.INFO: ProcessCDR(1,14213010,1,1,2)
[2025-01-09 23:42:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213010,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:42:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213010,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:42:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213010,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213010,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213010', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213010', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:42:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:42:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:42:22] Production.INFO: ==17937== Releasing lock...
[2025-01-09 23:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 23:42:22] Production.INFO: 32 MB #Memory Used#
[2025-01-10 04:43:01] Production.INFO: ==17993== Lock acquired, processing the job...
[2025-01-10 04:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 04:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 04:43:01] Production.INFO: neon service started
[2025-01-10 04:43:01] Production.INFO: neon service started
[2025-01-10 04:43:01] Production.INFO: ==17993== Releasing lock...
[2025-01-10 04:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 04:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 23:43:02] Production.INFO: ==17996== Lock acquired, processing the job...
[2025-01-09 23:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 04:43:02] Production.INFO: ==17998== Lock acquired, processing the job...
[2025-01-10 04:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 04:43:02] Production.INFO: ==17998== Releasing lock...
[2025-01-10 04:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 04:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 23:43:02] Production.INFO: ==17996== Releasing lock...
[2025-01-09 23:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 23:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 23:43:03] Production.INFO: ==18002== Lock acquired, processing the job...
[2025-01-09 23:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 23:43:03] Production.INFO: ==18004== Lock acquired, processing the job...
[2025-01-09 23:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 23:43:03] Production.INFO: ==18000== Lock acquired, processing the job...
[2025-01-09 23:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 23:43:03] Production.INFO: ==18006== Lock acquired, processing the job...
[2025-01-09 23:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 23:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 23:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 23:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 23:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 23:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 23:43:03] Production.INFO: Account Balance Start.
[2025-01-09 23:43:03] Production.INFO: CreateAllLog Start
[2025-01-09 23:43:03] Production.INFO: 117
[2025-01-09 23:43:03] Production.INFO: Date 2025-01-08
[2025-01-09 23:43:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:43:03] Production.INFO: ==18010== Lock acquired, processing the job...
[2025-01-09 23:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 23:43:03] Production.INFO: Date 2025-01-09
[2025-01-09 23:43:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:43:03] Production.INFO: Total Charge 0
[2025-01-09 23:43:03] Production.INFO: ==18008== Lock acquired, processing the job...
[2025-01-09 23:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 23:43:03] Production.INFO: CreateAllLog End
[2025-01-09 23:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:43:03] Production.INFO: ==18002== Releasing lock...
[2025-01-09 23:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 23:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 23:43:03] Production.INFO: count ==21
[2025-01-09 23:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:43:03] Production.INFO: count ==21
[2025-01-09 23:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213014') start
[2025-01-09 23:43:03] Production.INFO: Account Balance End.
[2025-01-09 23:43:03] Production.ERROR: CronJobId end 12
[2025-01-09 23:43:03] Production.INFO: ==18006== Releasing lock...
[2025-01-09 23:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 23:43:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 23:43:04] Production.ERROR: done
[2025-01-09 23:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213014') end
[2025-01-09 23:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 23:43:04] Production.INFO: 1
[2025-01-09 23:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 23:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 23:43:04] Production.INFO: ==18010== Releasing lock...
[2025-01-09 23:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 23:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 23:43:04] Production.ERROR: done
[2025-01-09 23:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 20:43:05
[end_date_ymd] => 2025-01-09 23:43:05
[RateCDR] => 1
)
[2025-01-09 23:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 20:43:05' and `end` < '2025-01-09 23:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 23:43:10] Production.ERROR: CronJobId end10
[2025-01-09 23:43:10] Production.INFO: ==18004== Releasing lock...
[2025-01-09 23:43:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 23:43:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 23:43:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 23:43:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 23:43:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 23:43:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 23:43:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 23:43:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 23:43:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 23:43:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 23:43:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 23:43:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 23:43:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 23:43:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 23:43:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 23:43:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 23:43:12] Production.INFO: call_cost start
[2025-01-09 23:43:12] Production.INFO: call_cost end
[2025-01-09 23:43:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 23:43:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 23:43:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 23:43:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 23:43:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 23:43:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 23:43:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 23:43:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 23:43:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 23:43:13] Production.INFO: ==18000== Releasing lock...
[2025-01-09 23:43:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 23:43:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 23:43:19] Production.INFO: count ==610
[2025-01-09 23:43:19] Production.ERROR: pbx CDR StartTime 2025-01-09 20:43:05 - End Time 2025-01-09 23:43:05
[2025-01-09 23:43:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 23:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213015', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213015', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213015', 'tblTempVendorCDR_20' ) start
[2025-01-09 23:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213015', 'tblTempVendorCDR_20' ) end
[2025-01-09 23:43:19] Production.INFO: ProcessCDR(1,14213015,1,1,2)
[2025-01-09 23:43:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213015,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:43:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213015,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:43:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213015,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:43:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213015,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213015', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213015', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:43:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:43:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:43:22] Production.INFO: ==18008== Releasing lock...
[2025-01-09 23:43:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 23:43:22] Production.INFO: 32 MB #Memory Used#
[2025-01-10 04:44:02] Production.INFO: ==18103== Lock acquired, processing the job...
[2025-01-10 04:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 04:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 04:44:02] Production.INFO: neon service started
[2025-01-10 04:44:02] Production.INFO: neon service started
[2025-01-10 04:44:02] Production.INFO: ==18103== Releasing lock...
[2025-01-10 04:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 04:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 04:44:02] Production.INFO: ==18107== Lock acquired, processing the job...
[2025-01-10 04:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 04:44:02] Production.INFO: ==18107== Releasing lock...
[2025-01-10 04:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 04:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 23:44:02] Production.INFO: ==18105== Lock acquired, processing the job...
[2025-01-09 23:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 23:44:02] Production.INFO: ==18105== Releasing lock...
[2025-01-09 23:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 23:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 23:44:03] Production.INFO: ==18109== Lock acquired, processing the job...
[2025-01-09 23:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 23:44:03] Production.INFO: ==18111== Lock acquired, processing the job...
[2025-01-09 23:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 23:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 23:44:03] Production.INFO: ==18118== Lock acquired, processing the job...
[2025-01-09 23:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 23:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:44:03] Production.INFO: ==18115== Lock acquired, processing the job...
[2025-01-09 23:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 23:44:03] Production.INFO: ==18113== Lock acquired, processing the job...
[2025-01-09 23:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 23:44:03] Production.INFO: ==18120== Lock acquired, processing the job...
[2025-01-09 23:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 23:44:03] Production.INFO: Account Balance Start.
[2025-01-09 23:44:03] Production.INFO: CreateAllLog Start
[2025-01-09 23:44:03] Production.INFO: 117
[2025-01-09 23:44:03] Production.INFO: Date 2025-01-08
[2025-01-09 23:44:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:44:04] Production.INFO: Date 2025-01-09
[2025-01-09 23:44:04] Production.ERROR: done
[2025-01-09 23:44:04] Production.INFO: Reseller ==> 0
[2025-01-09 23:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 23:44:04] Production.INFO: Total Charge 0
[2025-01-09 23:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:44:04] Production.INFO: CreateAllLog End
[2025-01-09 23:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 23:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 23:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 23:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 23:44:04] Production.INFO: ==18111== Releasing lock...
[2025-01-09 23:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 23:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 23:44:04] Production.INFO: count ==21
[2025-01-09 23:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:44:04] Production.ERROR: done
[2025-01-09 23:44:04] Production.INFO: count ==21
[2025-01-09 23:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213019') start
[2025-01-09 23:44:04] Production.INFO: Account Balance End.
[2025-01-09 23:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213019') end
[2025-01-09 23:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 23:44:04] Production.INFO: 1
[2025-01-09 23:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 23:44:04] Production.ERROR: CronJobId end 12
[2025-01-09 23:44:04] Production.INFO: ==18115== Releasing lock...
[2025-01-09 23:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 23:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 23:44:04] Production.INFO: ==18120== Releasing lock...
[2025-01-09 23:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 23:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 23:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 20:44:05
[end_date_ymd] => 2025-01-09 23:44:05
[RateCDR] => 1
)
[2025-01-09 23:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 20:44:05' and `end` < '2025-01-09 23:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 23:44:11] Production.ERROR: CronJobId end10
[2025-01-09 23:44:11] Production.INFO: ==18113== Releasing lock...
[2025-01-09 23:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 23:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 23:44:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 23:44:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 23:44:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 23:44:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 23:44:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 23:44:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 23:44:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 23:44:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 23:44:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 23:44:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 23:44:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 23:44:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 23:44:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 23:44:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 23:44:12] Production.INFO: call_cost start
[2025-01-09 23:44:12] Production.INFO: call_cost end
[2025-01-09 23:44:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 23:44:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 23:44:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 23:44:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 23:44:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 23:44:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 23:44:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 23:44:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 23:44:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 23:44:13] Production.INFO: ==18109== Releasing lock...
[2025-01-09 23:44:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 23:44:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 23:44:18] Production.INFO: count ==610
[2025-01-09 23:44:19] Production.ERROR: pbx CDR StartTime 2025-01-09 20:44:05 - End Time 2025-01-09 23:44:05
[2025-01-09 23:44:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 23:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213020', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213020', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213020', 'tblTempVendorCDR_20' ) start
[2025-01-09 23:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213020', 'tblTempVendorCDR_20' ) end
[2025-01-09 23:44:19] Production.INFO: ProcessCDR(1,14213020,1,1,2)
[2025-01-09 23:44:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213020,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213020,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213020,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213020,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213020', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213020', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:44:22] Production.INFO: ==18118== Releasing lock...
[2025-01-09 23:44:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 23:44:22] Production.INFO: 32 MB #Memory Used#
[2025-01-10 04:45:01] Production.INFO: ==18173== Lock acquired, processing the job...
[2025-01-10 04:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 04:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 04:45:01] Production.INFO: neon service started
[2025-01-10 04:45:01] Production.INFO: neon service started
[2025-01-10 04:45:01] Production.INFO: ==18173== Releasing lock...
[2025-01-10 04:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 04:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 23:45:01] Production.INFO: ==18175== Lock acquired, processing the job...
[2025-01-09 23:45:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 23:45:02] Production.INFO: ==18175== Releasing lock...
[2025-01-09 23:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 23:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 04:45:02] Production.INFO: ==18177== Lock acquired, processing the job...
[2025-01-10 04:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 04:45:02] Production.INFO: ==18177== Releasing lock...
[2025-01-10 04:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 04:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 23:45:02] Production.INFO: ==18181== Lock acquired, processing the job...
[2025-01-09 23:45:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 23:45:03] Production.INFO: ==18179== Lock acquired, processing the job...
[2025-01-09 23:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 23:45:03] Production.INFO: ==18181== Releasing lock...
[2025-01-09 23:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 23:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 23:45:03] Production.INFO: ==18183== Lock acquired, processing the job...
[2025-01-09 23:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 23:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 23:45:03] Production.INFO: ==18185== Lock acquired, processing the job...
[2025-01-09 23:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 23:45:03] Production.INFO: ==18189== Lock acquired, processing the job...
[2025-01-09 23:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 23:45:03] Production.INFO: ==18187== Lock acquired, processing the job...
[2025-01-09 23:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 23:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 23:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 23:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 23:45:03] Production.INFO: Account Balance Start.
[2025-01-09 23:45:03] Production.INFO: CreateAllLog Start
[2025-01-09 23:45:03] Production.INFO: 117
[2025-01-09 23:45:03] Production.INFO: Date 2025-01-08
[2025-01-09 23:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:45:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:45:03] Production.INFO: count ==21
[2025-01-09 23:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 23:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:45:03] Production.INFO: count ==21
[2025-01-09 23:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213023') start
[2025-01-09 23:45:03] Production.INFO: Date 2025-01-09
[2025-01-09 23:45:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:45:03] Production.INFO: Total Charge 0
[2025-01-09 23:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213023') end
[2025-01-09 23:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 23:45:03] Production.INFO: 1
[2025-01-09 23:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 23:45:03] Production.INFO: CreateAllLog End
[2025-01-09 23:45:03] Production.ERROR: done
[2025-01-09 23:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 23:45:03] Production.INFO: ==18189== Releasing lock...
[2025-01-09 23:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 23:45:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 23:45:03] Production.INFO: Account Balance End.
[2025-01-09 23:45:03] Production.ERROR: done
[2025-01-09 23:45:03] Production.ERROR: CronJobId end 12
[2025-01-09 23:45:03] Production.INFO: ==18185== Releasing lock...
[2025-01-09 23:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 23:45:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 23:45:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 20:45:04
[end_date_ymd] => 2025-01-09 23:45:04
[RateCDR] => 1
)
[2025-01-09 23:45:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 20:45:04' and `end` < '2025-01-09 23:45:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 23:45:11] Production.ERROR: CronJobId end10
[2025-01-09 23:45:11] Production.INFO: ==18183== Releasing lock...
[2025-01-09 23:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 23:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 23:45:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 23:45:11] Production.INFO: ============== Balance Warning START===========
[2025-01-09 23:45:11] Production.INFO: ============== Balance Warning END===========
[2025-01-09 23:45:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 23:45:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 23:45:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 23:45:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 23:45:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 23:45:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 23:45:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 23:45:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 23:45:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 23:45:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 23:45:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 23:45:12] Production.INFO: call_cost start
[2025-01-09 23:45:12] Production.INFO: call_cost end
[2025-01-09 23:45:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 23:45:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 23:45:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 23:45:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 23:45:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 23:45:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 23:45:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 23:45:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 23:45:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 23:45:13] Production.INFO: ==18179== Releasing lock...
[2025-01-09 23:45:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 23:45:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 23:45:17] Production.INFO: count ==608
[2025-01-09 23:45:17] Production.ERROR: pbx CDR StartTime 2025-01-09 20:45:04 - End Time 2025-01-09 23:45:04
[2025-01-09 23:45:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 23:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213025', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213025', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213025', 'tblTempVendorCDR_20' ) start
[2025-01-09 23:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213025', 'tblTempVendorCDR_20' ) end
[2025-01-09 23:45:17] Production.INFO: ProcessCDR(1,14213025,1,1,2)
[2025-01-09 23:45:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213025,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:45:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213025,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:45:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213025,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:45:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213025,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:45:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213025', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:45:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213025', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:45:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:45:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:45:20] Production.INFO: ==18187== Releasing lock...
[2025-01-09 23:45:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 23:45:20] Production.INFO: 32 MB #Memory Used#
[2025-01-10 04:46:01] Production.INFO: ==18248== Lock acquired, processing the job...
[2025-01-10 04:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 04:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 04:46:01] Production.INFO: neon service started
[2025-01-10 04:46:01] Production.INFO: neon service started
[2025-01-10 04:46:01] Production.INFO: ==18248== Releasing lock...
[2025-01-10 04:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 04:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 23:46:02] Production.INFO: ==18250== Lock acquired, processing the job...
[2025-01-09 23:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 23:46:02] Production.INFO: ==18250== Releasing lock...
[2025-01-09 23:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 23:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 04:46:02] Production.INFO: ==18252== Lock acquired, processing the job...
[2025-01-10 04:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 04:46:02] Production.INFO: ==18252== Releasing lock...
[2025-01-10 04:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 04:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 23:46:03] Production.INFO: ==18264== Lock acquired, processing the job...
[2025-01-09 23:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 23:46:03] Production.INFO: ==18256== Lock acquired, processing the job...
[2025-01-09 23:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 23:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:46:03] Production.INFO: ==18254== Lock acquired, processing the job...
[2025-01-09 23:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 23:46:03] Production.INFO: count ==21
[2025-01-09 23:46:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:46:03] Production.INFO: count ==21
[2025-01-09 23:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213026') start
[2025-01-09 23:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 23:46:03] Production.INFO: ==18258== Lock acquired, processing the job...
[2025-01-09 23:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 23:46:03] Production.INFO: ==18260== Lock acquired, processing the job...
[2025-01-09 23:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 23:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213026') end
[2025-01-09 23:46:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 23:46:03] Production.INFO: 1
[2025-01-09 23:46:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 23:46:03] Production.INFO: ==18262== Lock acquired, processing the job...
[2025-01-09 23:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 23:46:03] Production.INFO: ==18264== Releasing lock...
[2025-01-09 23:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 23:46:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 23:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 23:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 23:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 23:46:03] Production.INFO: ==18256== Releasing lock...
[2025-01-09 23:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 23:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 23:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 23:46:03] Production.INFO: Account Balance Start.
[2025-01-09 23:46:03] Production.INFO: CreateAllLog Start
[2025-01-09 23:46:03] Production.INFO: 117
[2025-01-09 23:46:03] Production.INFO: Date 2025-01-08
[2025-01-09 23:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:46:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:46:03] Production.INFO: Date 2025-01-09
[2025-01-09 23:46:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:46:03] Production.INFO: Total Charge 0
[2025-01-09 23:46:03] Production.INFO: CreateAllLog End
[2025-01-09 23:46:04] Production.ERROR: done
[2025-01-09 23:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 23:46:04] Production.INFO: Account Balance End.
[2025-01-09 23:46:04] Production.ERROR: CronJobId end 12
[2025-01-09 23:46:04] Production.INFO: ==18260== Releasing lock...
[2025-01-09 23:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 23:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 23:46:04] Production.ERROR: done
[2025-01-09 23:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 20:46:05
[end_date_ymd] => 2025-01-09 23:46:05
[RateCDR] => 1
)
[2025-01-09 23:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 20:46:05' and `end` < '2025-01-09 23:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 23:46:11] Production.ERROR: CronJobId end10
[2025-01-09 23:46:11] Production.INFO: ==18258== Releasing lock...
[2025-01-09 23:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 23:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 23:46:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 23:46:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 23:46:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 23:46:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 23:46:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 23:46:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 23:46:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 23:46:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 23:46:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 23:46:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 23:46:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 23:46:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 23:46:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 23:46:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 23:46:12] Production.INFO: call_cost start
[2025-01-09 23:46:12] Production.INFO: call_cost end
[2025-01-09 23:46:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 23:46:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 23:46:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 23:46:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 23:46:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 23:46:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 23:46:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 23:46:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 23:46:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 23:46:13] Production.INFO: ==18254== Releasing lock...
[2025-01-09 23:46:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 23:46:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 23:46:18] Production.INFO: count ==607
[2025-01-09 23:46:18] Production.ERROR: pbx CDR StartTime 2025-01-09 20:46:05 - End Time 2025-01-09 23:46:05
[2025-01-09 23:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 23:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213030', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213030', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213030', 'tblTempVendorCDR_20' ) start
[2025-01-09 23:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213030', 'tblTempVendorCDR_20' ) end
[2025-01-09 23:46:18] Production.INFO: ProcessCDR(1,14213030,1,1,2)
[2025-01-09 23:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213030,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213030,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213030,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213030,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213030', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213030', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:46:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:46:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:46:21] Production.INFO: ==18262== Releasing lock...
[2025-01-09 23:46:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 23:46:21] Production.INFO: 32 MB #Memory Used#
[2025-01-10 04:47:02] Production.INFO: ==18321== Lock acquired, processing the job...
[2025-01-10 04:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 04:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 04:47:02] Production.INFO: neon service started
[2025-01-10 04:47:02] Production.INFO: neon service started
[2025-01-10 04:47:02] Production.INFO: ==18321== Releasing lock...
[2025-01-10 04:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 04:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 23:47:02] Production.INFO: ==18323== Lock acquired, processing the job...
[2025-01-09 23:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 23:47:02] Production.INFO: ==18323== Releasing lock...
[2025-01-09 23:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 23:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 04:47:02] Production.INFO: ==18325== Lock acquired, processing the job...
[2025-01-10 04:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 04:47:03] Production.INFO: ==18325== Releasing lock...
[2025-01-10 04:47:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 04:47:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 23:47:03] Production.INFO: ==18329== Lock acquired, processing the job...
[2025-01-09 23:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 23:47:03] Production.INFO: ==18329== Releasing lock...
[2025-01-09 23:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 23:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 23:47:03] Production.INFO: ==18327== Lock acquired, processing the job...
[2025-01-09 23:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 23:47:03] Production.INFO: ==18337== Lock acquired, processing the job...
[2025-01-09 23:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 23:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 23:47:03] Production.INFO: ==18331== Lock acquired, processing the job...
[2025-01-09 23:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 23:47:04] Production.INFO: ==18333== Lock acquired, processing the job...
[2025-01-09 23:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 23:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 23:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 23:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 23:47:04] Production.INFO: ==18335== Lock acquired, processing the job...
[2025-01-09 23:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 23:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 23:47:04] Production.INFO: count ==21
[2025-01-09 23:47:04] Production.INFO: Account Balance Start.
[2025-01-09 23:47:04] Production.INFO: CreateAllLog Start
[2025-01-09 23:47:04] Production.INFO: 117
[2025-01-09 23:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:47:04] Production.INFO: count ==21
[2025-01-09 23:47:04] Production.INFO: Date 2025-01-08
[2025-01-09 23:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213033') start
[2025-01-09 23:47:04] Production.INFO: Reseller ==> 0
[2025-01-09 23:47:04] Production.INFO: Date 2025-01-09
[2025-01-09 23:47:04] Production.INFO: Reseller ==> 0
[2025-01-09 23:47:04] Production.INFO: Total Charge 0
[2025-01-09 23:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213033') end
[2025-01-09 23:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 23:47:04] Production.INFO: 1
[2025-01-09 23:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 23:47:04] Production.INFO: CreateAllLog End
[2025-01-09 23:47:04] Production.INFO: ==18337== Releasing lock...
[2025-01-09 23:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 23:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 23:47:04] Production.ERROR: done
[2025-01-09 23:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 23:47:04] Production.INFO: Account Balance End.
[2025-01-09 23:47:04] Production.ERROR: CronJobId end 12
[2025-01-09 23:47:04] Production.INFO: ==18333== Releasing lock...
[2025-01-09 23:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 23:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 23:47:04] Production.ERROR: done
[2025-01-09 23:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 20:47:05
[end_date_ymd] => 2025-01-09 23:47:05
[RateCDR] => 1
)
[2025-01-09 23:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 20:47:05' and `end` < '2025-01-09 23:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 23:47:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 23:47:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 23:47:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 23:47:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 23:47:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 23:47:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 23:47:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 23:47:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 23:47:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 23:47:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 23:47:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 23:47:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 23:47:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 23:47:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 23:47:12] Production.INFO: call_cost start
[2025-01-09 23:47:12] Production.INFO: call_cost end
[2025-01-09 23:47:12] Production.ERROR: CronJobId end10
[2025-01-09 23:47:12] Production.INFO: ==18331== Releasing lock...
[2025-01-09 23:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 23:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 23:47:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 23:47:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 23:47:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 23:47:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 23:47:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 23:47:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 23:47:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 23:47:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 23:47:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 23:47:13] Production.INFO: ==18327== Releasing lock...
[2025-01-09 23:47:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 23:47:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 23:47:18] Production.INFO: count ==607
[2025-01-09 23:47:18] Production.ERROR: pbx CDR StartTime 2025-01-09 20:47:05 - End Time 2025-01-09 23:47:05
[2025-01-09 23:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 23:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213035', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213035', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213035', 'tblTempVendorCDR_20' ) start
[2025-01-09 23:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213035', 'tblTempVendorCDR_20' ) end
[2025-01-09 23:47:18] Production.INFO: ProcessCDR(1,14213035,1,1,2)
[2025-01-09 23:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213035,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213035,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213035,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213035,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213035', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213035', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:47:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:47:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:47:21] Production.INFO: ==18335== Releasing lock...
[2025-01-09 23:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 23:47:21] Production.INFO: 32 MB #Memory Used#
[2025-01-10 04:48:01] Production.INFO: ==18391== Lock acquired, processing the job...
[2025-01-10 04:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 04:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 04:48:01] Production.INFO: neon service started
[2025-01-10 04:48:01] Production.INFO: neon service started
[2025-01-10 04:48:01] Production.INFO: ==18391== Releasing lock...
[2025-01-10 04:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 04:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 04:48:02] Production.INFO: ==18395== Lock acquired, processing the job...
[2025-01-10 04:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 04:48:02] Production.INFO: ==18395== Releasing lock...
[2025-01-10 04:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 04:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 23:48:02] Production.INFO: ==18393== Lock acquired, processing the job...
[2025-01-09 23:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 23:48:02] Production.INFO: ==18393== Releasing lock...
[2025-01-09 23:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 23:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 23:48:03] Production.INFO: ==18399== Lock acquired, processing the job...
[2025-01-09 23:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 23:48:03] Production.INFO: ==18397== Lock acquired, processing the job...
[2025-01-09 23:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 23:48:03] Production.INFO: ==18403== Lock acquired, processing the job...
[2025-01-09 23:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 23:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 23:48:03] Production.INFO: Account Balance Start.
[2025-01-09 23:48:03] Production.INFO: CreateAllLog Start
[2025-01-09 23:48:03] Production.INFO: 117
[2025-01-09 23:48:03] Production.INFO: Date 2025-01-08
[2025-01-09 23:48:03] Production.INFO: ==18401== Lock acquired, processing the job...
[2025-01-09 23:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 23:48:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:48:03] Production.INFO: ==18399== Releasing lock...
[2025-01-09 23:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 23:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 23:48:03] Production.INFO: Date 2025-01-09
[2025-01-09 23:48:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:48:03] Production.INFO: ==18405== Lock acquired, processing the job...
[2025-01-09 23:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 23:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 23:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 23:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 23:48:03] Production.INFO: ==18407== Lock acquired, processing the job...
[2025-01-09 23:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 23:48:03] Production.INFO: Total Charge 0
[2025-01-09 23:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 23:48:03] Production.INFO: CreateAllLog End
[2025-01-09 23:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:48:03] Production.INFO: count ==21
[2025-01-09 23:48:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:48:03] Production.INFO: count ==21
[2025-01-09 23:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213039') start
[2025-01-09 23:48:04] Production.ERROR: done
[2025-01-09 23:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 23:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213039') end
[2025-01-09 23:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 23:48:04] Production.INFO: 1
[2025-01-09 23:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 23:48:04] Production.INFO: Account Balance End.
[2025-01-09 23:48:04] Production.INFO: ==18407== Releasing lock...
[2025-01-09 23:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 23:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 23:48:04] Production.ERROR: done
[2025-01-09 23:48:04] Production.ERROR: CronJobId end 12
[2025-01-09 23:48:04] Production.INFO: ==18403== Releasing lock...
[2025-01-09 23:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 23:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 23:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 20:48:05
[end_date_ymd] => 2025-01-09 23:48:05
[RateCDR] => 1
)
[2025-01-09 23:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 20:48:05' and `end` < '2025-01-09 23:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 23:48:12] Production.ERROR: CronJobId end10
[2025-01-09 23:48:12] Production.INFO: ==18401== Releasing lock...
[2025-01-09 23:48:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 23:48:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 23:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 23:48:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 23:48:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 23:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 23:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 23:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 23:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 23:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 23:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 23:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 23:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 23:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 23:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 23:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 23:48:13] Production.INFO: call_cost start
[2025-01-09 23:48:13] Production.INFO: call_cost end
[2025-01-09 23:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 23:48:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 23:48:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 23:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 23:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 23:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 23:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 23:48:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 23:48:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 23:48:14] Production.INFO: ==18397== Releasing lock...
[2025-01-09 23:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 23:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 23:48:18] Production.INFO: count ==607
[2025-01-09 23:48:18] Production.ERROR: pbx CDR StartTime 2025-01-09 20:48:05 - End Time 2025-01-09 23:48:05
[2025-01-09 23:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 23:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213040', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213040', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213040', 'tblTempVendorCDR_20' ) start
[2025-01-09 23:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213040', 'tblTempVendorCDR_20' ) end
[2025-01-09 23:48:18] Production.INFO: ProcessCDR(1,14213040,1,1,2)
[2025-01-09 23:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213040,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213040,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213040,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:48:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213040,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213040', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213040', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:48:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:48:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:48:21] Production.INFO: ==18405== Releasing lock...
[2025-01-09 23:48:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 23:48:21] Production.INFO: 32 MB #Memory Used#
[2025-01-10 04:49:02] Production.INFO: ==18461== Lock acquired, processing the job...
[2025-01-10 04:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 04:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 04:49:02] Production.INFO: neon service started
[2025-01-10 04:49:02] Production.INFO: neon service started
[2025-01-10 04:49:02] Production.INFO: ==18461== Releasing lock...
[2025-01-10 04:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 04:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 23:49:02] Production.INFO: ==18463== Lock acquired, processing the job...
[2025-01-09 23:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 23:49:02] Production.INFO: ==18463== Releasing lock...
[2025-01-09 23:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 23:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 04:49:02] Production.INFO: ==18465== Lock acquired, processing the job...
[2025-01-10 04:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 04:49:02] Production.INFO: ==18465== Releasing lock...
[2025-01-10 04:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 04:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 23:49:03] Production.INFO: ==18468== Lock acquired, processing the job...
[2025-01-09 23:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 23:49:03] Production.INFO: ==18476== Lock acquired, processing the job...
[2025-01-09 23:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 23:49:03] Production.INFO: ==18478== Lock acquired, processing the job...
[2025-01-09 23:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 23:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:49:03] Production.INFO: ==18470== Lock acquired, processing the job...
[2025-01-09 23:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 23:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 23:49:03] Production.INFO: ==18472== Lock acquired, processing the job...
[2025-01-09 23:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 23:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:49:03] Production.INFO: ==18474== Lock acquired, processing the job...
[2025-01-09 23:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 23:49:03] Production.INFO: count ==21
[2025-01-09 23:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:49:03] Production.INFO: count ==21
[2025-01-09 23:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 23:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 23:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 23:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213042') start
[2025-01-09 23:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 23:49:03] Production.INFO: Account Balance Start.
[2025-01-09 23:49:03] Production.INFO: CreateAllLog Start
[2025-01-09 23:49:03] Production.INFO: 117
[2025-01-09 23:49:03] Production.INFO: Date 2025-01-08
[2025-01-09 23:49:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:49:04] Production.INFO: Date 2025-01-09
[2025-01-09 23:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213042') end
[2025-01-09 23:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 23:49:04] Production.INFO: 1
[2025-01-09 23:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 23:49:04] Production.INFO: Reseller ==> 0
[2025-01-09 23:49:04] Production.INFO: ==18478== Releasing lock...
[2025-01-09 23:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 23:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 23:49:04] Production.ERROR: done
[2025-01-09 23:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 23:49:04] Production.INFO: ==18470== Releasing lock...
[2025-01-09 23:49:04] Production.INFO: Total Charge 0
[2025-01-09 23:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 23:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 23:49:04] Production.INFO: CreateAllLog End
[2025-01-09 23:49:04] Production.ERROR: done
[2025-01-09 23:49:04] Production.INFO: Account Balance End.
[2025-01-09 23:49:04] Production.ERROR: CronJobId end 12
[2025-01-09 23:49:04] Production.INFO: ==18474== Releasing lock...
[2025-01-09 23:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 23:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 23:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 20:49:05
[end_date_ymd] => 2025-01-09 23:49:05
[RateCDR] => 1
)
[2025-01-09 23:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 20:49:05' and `end` < '2025-01-09 23:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 23:49:12] Production.ERROR: CronJobId end10
[2025-01-09 23:49:12] Production.INFO: ==18472== Releasing lock...
[2025-01-09 23:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 23:49:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 23:49:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 23:49:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 23:49:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 23:49:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 23:49:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 23:49:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 23:49:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 23:49:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 23:49:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 23:49:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 23:49:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 23:49:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 23:49:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 23:49:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 23:49:13] Production.INFO: call_cost start
[2025-01-09 23:49:13] Production.INFO: call_cost end
[2025-01-09 23:49:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 23:49:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 23:49:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 23:49:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 23:49:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 23:49:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 23:49:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 23:49:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 23:49:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 23:49:14] Production.INFO: ==18468== Releasing lock...
[2025-01-09 23:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 23:49:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 23:49:18] Production.INFO: count ==606
[2025-01-09 23:49:18] Production.ERROR: pbx CDR StartTime 2025-01-09 20:49:05 - End Time 2025-01-09 23:49:05
[2025-01-09 23:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 23:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213045', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213045', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213045', 'tblTempVendorCDR_20' ) start
[2025-01-09 23:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213045', 'tblTempVendorCDR_20' ) end
[2025-01-09 23:49:18] Production.INFO: ProcessCDR(1,14213045,1,1,2)
[2025-01-09 23:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213045,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213045,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213045,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213045,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213045', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213045', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:49:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:49:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:49:21] Production.INFO: ==18476== Releasing lock...
[2025-01-09 23:49:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 23:49:21] Production.INFO: 32 MB #Memory Used#
[2025-01-10 04:50:01] Production.INFO: ==18532== Lock acquired, processing the job...
[2025-01-10 04:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 04:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 04:50:01] Production.INFO: neon service started
[2025-01-10 04:50:01] Production.INFO: neon service started
[2025-01-10 04:50:01] Production.INFO: ==18532== Releasing lock...
[2025-01-10 04:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 04:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 23:50:01] Production.INFO: ==18534== Lock acquired, processing the job...
[2025-01-09 23:50:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 23:50:02] Production.INFO: ==18534== Releasing lock...
[2025-01-09 23:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 23:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 04:50:02] Production.INFO: ==18536== Lock acquired, processing the job...
[2025-01-10 04:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 04:50:02] Production.INFO: ==18536== Releasing lock...
[2025-01-10 04:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 04:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 23:50:03] Production.INFO: ==18538== Lock acquired, processing the job...
[2025-01-09 23:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 23:50:03] Production.INFO: ==18544== Lock acquired, processing the job...
[2025-01-09 23:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 23:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 23:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 23:50:03] Production.ERROR: CronJob PID - 18544
[2025-01-09 23:50:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-09 23:50:03] Production.ERROR: CronJob ID - 10
[2025-01-09 23:50:03] Production.ERROR: CronJob Last Run Time 2025-01-09 23:50:00
[2025-01-09 23:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 23:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 23:50:03] Production.INFO: ==18553== Lock acquired, processing the job...
[2025-01-09 23:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 23:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 23:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 23:50:03] Production.INFO: ==18538== Releasing lock...
[2025-01-09 23:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 23:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 23:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 23:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 23:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 23:50:03] Production.INFO: ==18540== Lock acquired, processing the job...
[2025-01-09 23:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 23:50:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:50:03] Production.INFO: ==18542== Lock acquired, processing the job...
[2025-01-09 23:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 23:50:03] Production.INFO: count ==21
[2025-01-09 23:50:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:50:03] Production.INFO: ==18546== Lock acquired, processing the job...
[2025-01-09 23:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 23:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 23:50:03] Production.INFO: count ==21
[2025-01-09 23:50:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213046') start
[2025-01-09 23:50:03] Production.INFO: ==18548== Lock acquired, processing the job...
[2025-01-09 23:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 23:50:03] Production.INFO: ==18550== Lock acquired, processing the job...
[2025-01-09 23:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 23:50:03] Production.INFO: Account Balance Start.
[2025-01-09 23:50:03] Production.INFO: CreateAllLog Start
[2025-01-09 23:50:03] Production.INFO: 117
[2025-01-09 23:50:03] Production.INFO: Date 2025-01-08
[2025-01-09 23:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:50:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:50:04] Production.INFO: Date 2025-01-09
[2025-01-09 23:50:04] Production.INFO: Reseller ==> 0
[2025-01-09 23:50:04] Production.ERROR: done
[2025-01-09 23:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 23:50:04] Production.INFO: Total Charge 0
[2025-01-09 23:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213046') end
[2025-01-09 23:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 23:50:04] Production.INFO: 1
[2025-01-09 23:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 23:50:04] Production.INFO: CreateAllLog End
[2025-01-09 23:50:04] Production.INFO: ==18553== Releasing lock...
[2025-01-09 23:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 23:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 23:50:04] Production.ERROR: done
[2025-01-09 23:50:04] Production.INFO: ==18542== Releasing lock...
[2025-01-09 23:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 23:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 23:50:04] Production.ERROR: done
[2025-01-09 23:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 23:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14213051', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 23:50:04] Production.INFO: Account Balance End.
[2025-01-09 23:50:04] Production.ERROR: CronJobId end 12
[2025-01-09 23:50:04] Production.INFO: ==18546== Releasing lock...
[2025-01-09 23:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 23:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 23:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 20:50:05
[end_date_ymd] => 2025-01-09 23:50:05
[RateCDR] => 1
)
[2025-01-09 23:50:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 20:50:05' and `end` < '2025-01-09 23:50:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 23:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14213051', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 23:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 23:50:08] Production.INFO: ProcessCDR(1,14213051,1,1,2)
[2025-01-09 23:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14213051,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14213051,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:50:08] Production.INFO: ==18550== Releasing lock...
[2025-01-09 23:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 23:50:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 23:50:13] Production.ERROR: CronJobId end10
[2025-01-09 23:50:13] Production.INFO: ==18544== Releasing lock...
[2025-01-09 23:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 23:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 23:50:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 23:50:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 23:50:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 23:50:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 23:50:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 23:50:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 23:50:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 23:50:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 23:50:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 23:50:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 23:50:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 23:50:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 23:50:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 23:50:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 23:50:14] Production.INFO: call_cost start
[2025-01-09 23:50:14] Production.INFO: call_cost end
[2025-01-09 23:50:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 23:50:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 23:50:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 23:50:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 23:50:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 23:50:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 23:50:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 23:50:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 23:50:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 23:50:15] Production.INFO: ==18540== Releasing lock...
[2025-01-09 23:50:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 23:50:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 23:50:18] Production.INFO: count ==606
[2025-01-09 23:50:18] Production.ERROR: pbx CDR StartTime 2025-01-09 20:50:05 - End Time 2025-01-09 23:50:05
[2025-01-09 23:50:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 23:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213050', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213050', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213050', 'tblTempVendorCDR_20' ) start
[2025-01-09 23:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213050', 'tblTempVendorCDR_20' ) end
[2025-01-09 23:50:18] Production.INFO: ProcessCDR(1,14213050,1,1,2)
[2025-01-09 23:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213050,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:50:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213050,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:50:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213050,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:50:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213050,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213050', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213050', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:50:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:50:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:50:22] Production.INFO: ==18548== Releasing lock...
[2025-01-09 23:50:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 23:50:22] Production.INFO: 32 MB #Memory Used#
[2025-01-10 04:51:01] Production.INFO: ==18607== Lock acquired, processing the job...
[2025-01-10 04:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 04:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 04:51:01] Production.INFO: neon service started
[2025-01-10 04:51:02] Production.INFO: neon service started
[2025-01-10 04:51:02] Production.INFO: ==18607== Releasing lock...
[2025-01-10 04:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 04:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 23:51:02] Production.INFO: ==18609== Lock acquired, processing the job...
[2025-01-09 23:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 23:51:02] Production.INFO: ==18609== Releasing lock...
[2025-01-09 23:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 23:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 04:51:02] Production.INFO: ==18611== Lock acquired, processing the job...
[2025-01-10 04:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 04:51:02] Production.INFO: ==18611== Releasing lock...
[2025-01-10 04:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 04:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 23:51:03] Production.INFO: ==18613== Lock acquired, processing the job...
[2025-01-09 23:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 23:51:03] Production.INFO: ==18617== Lock acquired, processing the job...
[2025-01-09 23:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 23:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 23:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 23:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 23:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 23:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 23:51:03] Production.INFO: ==18621== Lock acquired, processing the job...
[2025-01-09 23:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 23:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:51:03] Production.INFO: ==18615== Lock acquired, processing the job...
[2025-01-09 23:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 23:51:03] Production.INFO: ==18619== Lock acquired, processing the job...
[2025-01-09 23:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 23:51:03] Production.INFO: ==18623== Lock acquired, processing the job...
[2025-01-09 23:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 23:51:04] Production.ERROR: done
[2025-01-09 23:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 23:51:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:51:04] Production.INFO: count ==21
[2025-01-09 23:51:04] Production.ERROR: done
[2025-01-09 23:51:04] Production.INFO: Account Balance Start.
[2025-01-09 23:51:04] Production.INFO: CreateAllLog Start
[2025-01-09 23:51:04] Production.INFO: 117
[2025-01-09 23:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:51:04] Production.INFO: count ==21
[2025-01-09 23:51:04] Production.INFO: Date 2025-01-08
[2025-01-09 23:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213054') start
[2025-01-09 23:51:04] Production.INFO: Reseller ==> 0
[2025-01-09 23:51:04] Production.INFO: ==18615== Releasing lock...
[2025-01-09 23:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 23:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 23:51:04] Production.INFO: Date 2025-01-09
[2025-01-09 23:51:04] Production.INFO: Reseller ==> 0
[2025-01-09 23:51:04] Production.INFO: Total Charge 0
[2025-01-09 23:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213054') end
[2025-01-09 23:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 23:51:04] Production.INFO: 1
[2025-01-09 23:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 23:51:04] Production.INFO: CreateAllLog End
[2025-01-09 23:51:04] Production.INFO: ==18623== Releasing lock...
[2025-01-09 23:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 23:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 23:51:04] Production.INFO: Account Balance End.
[2025-01-09 23:51:04] Production.ERROR: CronJobId end 12
[2025-01-09 23:51:04] Production.INFO: ==18619== Releasing lock...
[2025-01-09 23:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 23:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 23:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 20:51:05
[end_date_ymd] => 2025-01-09 23:51:05
[RateCDR] => 1
)
[2025-01-09 23:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 20:51:05' and `end` < '2025-01-09 23:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 23:51:12] Production.ERROR: CronJobId end10
[2025-01-09 23:51:12] Production.INFO: ==18617== Releasing lock...
[2025-01-09 23:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 23:51:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 23:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 23:51:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 23:51:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 23:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 23:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 23:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 23:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 23:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 23:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 23:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 23:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 23:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 23:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 23:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 23:51:13] Production.INFO: call_cost start
[2025-01-09 23:51:13] Production.INFO: call_cost end
[2025-01-09 23:51:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 23:51:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 23:51:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 23:51:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 23:51:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 23:51:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 23:51:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 23:51:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 23:51:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 23:51:14] Production.INFO: ==18613== Releasing lock...
[2025-01-09 23:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 23:51:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 23:51:18] Production.INFO: count ==600
[2025-01-09 23:51:18] Production.ERROR: pbx CDR StartTime 2025-01-09 20:51:05 - End Time 2025-01-09 23:51:05
[2025-01-09 23:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 23:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213056', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213056', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213056', 'tblTempVendorCDR_20' ) start
[2025-01-09 23:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213056', 'tblTempVendorCDR_20' ) end
[2025-01-09 23:51:18] Production.INFO: ProcessCDR(1,14213056,1,1,2)
[2025-01-09 23:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213056,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213056,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213056,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:51:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213056,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213056', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213056', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:51:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:51:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:51:21] Production.INFO: ==18621== Releasing lock...
[2025-01-09 23:51:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 23:51:21] Production.INFO: 31.75 MB #Memory Used#
[2025-01-10 04:52:01] Production.INFO: ==18682== Lock acquired, processing the job...
[2025-01-10 04:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 04:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 04:52:01] Production.INFO: neon service started
[2025-01-10 04:52:01] Production.INFO: neon service started
[2025-01-10 04:52:01] Production.INFO: ==18682== Releasing lock...
[2025-01-10 04:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 04:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 23:52:01] Production.INFO: ==18684== Lock acquired, processing the job...
[2025-01-09 23:52:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 04:52:02] Production.INFO: ==18686== Lock acquired, processing the job...
[2025-01-10 04:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 04:52:02] Production.INFO: ==18686== Releasing lock...
[2025-01-10 04:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 04:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 23:52:02] Production.INFO: ==18684== Releasing lock...
[2025-01-09 23:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 23:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 23:52:03] Production.INFO: ==18689== Lock acquired, processing the job...
[2025-01-09 23:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 23:52:03] Production.INFO: ==18691== Lock acquired, processing the job...
[2025-01-09 23:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 23:52:03] Production.INFO: ==18693== Lock acquired, processing the job...
[2025-01-09 23:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 23:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 23:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 23:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 23:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 23:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 23:52:03] Production.INFO: ==18695== Lock acquired, processing the job...
[2025-01-09 23:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 23:52:03] Production.INFO: ==18697== Lock acquired, processing the job...
[2025-01-09 23:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 23:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:52:03] Production.INFO: ==18699== Lock acquired, processing the job...
[2025-01-09 23:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 23:52:03] Production.INFO: ==18691== Releasing lock...
[2025-01-09 23:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 23:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 23:52:03] Production.INFO: Account Balance Start.
[2025-01-09 23:52:03] Production.INFO: CreateAllLog Start
[2025-01-09 23:52:03] Production.INFO: 117
[2025-01-09 23:52:03] Production.INFO: Date 2025-01-08
[2025-01-09 23:52:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:52:03] Production.INFO: Date 2025-01-09
[2025-01-09 23:52:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:52:03] Production.INFO: Total Charge 0
[2025-01-09 23:52:03] Production.INFO: CreateAllLog End
[2025-01-09 23:52:03] Production.INFO: count ==21
[2025-01-09 23:52:03] Production.ERROR: done
[2025-01-09 23:52:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 23:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:52:03] Production.INFO: count ==21
[2025-01-09 23:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213060') start
[2025-01-09 23:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213060') end
[2025-01-09 23:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 23:52:04] Production.INFO: 1
[2025-01-09 23:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 23:52:04] Production.ERROR: done
[2025-01-09 23:52:04] Production.INFO: ==18699== Releasing lock...
[2025-01-09 23:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 23:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 23:52:04] Production.INFO: Account Balance End.
[2025-01-09 23:52:04] Production.ERROR: CronJobId end 12
[2025-01-09 23:52:04] Production.INFO: ==18695== Releasing lock...
[2025-01-09 23:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 23:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 23:52:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 20:52:04
[end_date_ymd] => 2025-01-09 23:52:04
[RateCDR] => 1
)
[2025-01-09 23:52:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 20:52:04' and `end` < '2025-01-09 23:52:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 23:52:11] Production.ERROR: CronJobId end10
[2025-01-09 23:52:11] Production.INFO: ==18693== Releasing lock...
[2025-01-09 23:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 23:52:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 23:52:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 23:52:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 23:52:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 23:52:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 23:52:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 23:52:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 23:52:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 23:52:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 23:52:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 23:52:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 23:52:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 23:52:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 23:52:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 23:52:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 23:52:13] Production.INFO: call_cost start
[2025-01-09 23:52:13] Production.INFO: call_cost end
[2025-01-09 23:52:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 23:52:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 23:52:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 23:52:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 23:52:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 23:52:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 23:52:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 23:52:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 23:52:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 23:52:14] Production.INFO: ==18689== Releasing lock...
[2025-01-09 23:52:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 23:52:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 23:52:18] Production.INFO: count ==594
[2025-01-09 23:52:18] Production.ERROR: pbx CDR StartTime 2025-01-09 20:52:04 - End Time 2025-01-09 23:52:04
[2025-01-09 23:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 23:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213061', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213061', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213061', 'tblTempVendorCDR_20' ) start
[2025-01-09 23:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213061', 'tblTempVendorCDR_20' ) end
[2025-01-09 23:52:18] Production.INFO: ProcessCDR(1,14213061,1,1,2)
[2025-01-09 23:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213061,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213061,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213061,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:52:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213061,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213061', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213061', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:52:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:52:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:52:21] Production.INFO: ==18697== Releasing lock...
[2025-01-09 23:52:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 23:52:21] Production.INFO: 31.75 MB #Memory Used#
[2025-01-10 04:53:01] Production.INFO: ==18759== Lock acquired, processing the job...
[2025-01-10 04:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 04:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 04:53:01] Production.INFO: neon service started
[2025-01-10 04:53:01] Production.INFO: neon service started
[2025-01-10 04:53:01] Production.INFO: ==18759== Releasing lock...
[2025-01-10 04:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 04:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 23:53:02] Production.INFO: ==18761== Lock acquired, processing the job...
[2025-01-09 23:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 04:53:02] Production.INFO: ==18763== Lock acquired, processing the job...
[2025-01-10 04:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 04:53:02] Production.INFO: ==18763== Releasing lock...
[2025-01-10 04:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 04:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 23:53:02] Production.INFO: ==18761== Releasing lock...
[2025-01-09 23:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 23:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 23:53:03] Production.INFO: ==18768== Lock acquired, processing the job...
[2025-01-09 23:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 23:53:03] Production.INFO: ==18776== Lock acquired, processing the job...
[2025-01-09 23:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 23:53:03] Production.INFO: ==18766== Lock acquired, processing the job...
[2025-01-09 23:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 23:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:53:03] Production.INFO: count ==21
[2025-01-09 23:53:03] Production.INFO: ==18770== Lock acquired, processing the job...
[2025-01-09 23:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 23:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:53:03] Production.INFO: count ==21
[2025-01-09 23:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213063') start
[2025-01-09 23:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 23:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213063') end
[2025-01-09 23:53:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 23:53:03] Production.INFO: 1
[2025-01-09 23:53:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 23:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 23:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 23:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 23:53:03] Production.INFO: ==18774== Lock acquired, processing the job...
[2025-01-09 23:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 23:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 23:53:03] Production.INFO: ==18772== Lock acquired, processing the job...
[2025-01-09 23:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 23:53:03] Production.INFO: ==18776== Releasing lock...
[2025-01-09 23:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 23:53:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 23:53:04] Production.INFO: ==18768== Releasing lock...
[2025-01-09 23:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 23:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 23:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:53:04] Production.INFO: Account Balance Start.
[2025-01-09 23:53:04] Production.INFO: CreateAllLog Start
[2025-01-09 23:53:04] Production.INFO: 117
[2025-01-09 23:53:04] Production.INFO: Date 2025-01-08
[2025-01-09 23:53:04] Production.INFO: Reseller ==> 0
[2025-01-09 23:53:04] Production.INFO: Date 2025-01-09
[2025-01-09 23:53:04] Production.INFO: Reseller ==> 0
[2025-01-09 23:53:04] Production.INFO: Total Charge 0
[2025-01-09 23:53:04] Production.INFO: CreateAllLog End
[2025-01-09 23:53:04] Production.ERROR: done
[2025-01-09 23:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 23:53:04] Production.INFO: Account Balance End.
[2025-01-09 23:53:04] Production.ERROR: CronJobId end 12
[2025-01-09 23:53:04] Production.INFO: ==18772== Releasing lock...
[2025-01-09 23:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 23:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 23:53:04] Production.ERROR: done
[2025-01-09 23:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 20:53:05
[end_date_ymd] => 2025-01-09 23:53:05
[RateCDR] => 1
)
[2025-01-09 23:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 20:53:05' and `end` < '2025-01-09 23:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 23:53:10] Production.ERROR: CronJobId end10
[2025-01-09 23:53:10] Production.INFO: ==18770== Releasing lock...
[2025-01-09 23:53:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 23:53:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 23:53:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 23:53:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 23:53:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 23:53:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 23:53:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 23:53:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 23:53:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 23:53:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 23:53:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 23:53:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 23:53:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 23:53:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 23:53:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 23:53:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 23:53:13] Production.INFO: call_cost start
[2025-01-09 23:53:13] Production.INFO: call_cost end
[2025-01-09 23:53:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 23:53:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 23:53:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 23:53:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 23:53:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 23:53:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 23:53:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 23:53:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 23:53:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 23:53:13] Production.INFO: ==18766== Releasing lock...
[2025-01-09 23:53:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 23:53:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 23:53:19] Production.INFO: count ==584
[2025-01-09 23:53:19] Production.ERROR: pbx CDR StartTime 2025-01-09 20:53:05 - End Time 2025-01-09 23:53:05
[2025-01-09 23:53:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 23:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213066', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213066', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213066', 'tblTempVendorCDR_20' ) start
[2025-01-09 23:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213066', 'tblTempVendorCDR_20' ) end
[2025-01-09 23:53:19] Production.INFO: ProcessCDR(1,14213066,1,1,2)
[2025-01-09 23:53:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213066,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:53:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213066,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:53:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213066,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213066,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213066', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213066', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:53:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:53:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:53:22] Production.INFO: ==18774== Releasing lock...
[2025-01-09 23:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 23:53:22] Production.INFO: 31.75 MB #Memory Used#
[2025-01-10 04:54:02] Production.INFO: ==18828== Lock acquired, processing the job...
[2025-01-10 04:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 04:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 04:54:02] Production.INFO: neon service started
[2025-01-10 04:54:02] Production.INFO: neon service started
[2025-01-10 04:54:02] Production.INFO: ==18828== Releasing lock...
[2025-01-10 04:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 04:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 23:54:02] Production.INFO: ==18830== Lock acquired, processing the job...
[2025-01-09 23:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 23:54:02] Production.INFO: ==18830== Releasing lock...
[2025-01-09 23:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 23:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 04:54:02] Production.INFO: ==18832== Lock acquired, processing the job...
[2025-01-10 04:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 04:54:02] Production.INFO: ==18832== Releasing lock...
[2025-01-10 04:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 04:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 23:54:03] Production.INFO: ==18839== Lock acquired, processing the job...
[2025-01-09 23:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 23:54:03] Production.INFO: ==18835== Lock acquired, processing the job...
[2025-01-09 23:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 23:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 23:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 23:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 23:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 23:54:03] Production.INFO: ==18845== Lock acquired, processing the job...
[2025-01-09 23:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 23:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 23:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:54:03] Production.INFO: ==18837== Lock acquired, processing the job...
[2025-01-09 23:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 23:54:04] Production.INFO: ==18841== Lock acquired, processing the job...
[2025-01-09 23:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 23:54:04] Production.INFO: count ==21
[2025-01-09 23:54:04] Production.INFO: ==18843== Lock acquired, processing the job...
[2025-01-09 23:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 23:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:54:04] Production.INFO: count ==21
[2025-01-09 23:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213068') start
[2025-01-09 23:54:04] Production.INFO: Account Balance Start.
[2025-01-09 23:54:04] Production.INFO: CreateAllLog Start
[2025-01-09 23:54:04] Production.INFO: 117
[2025-01-09 23:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:54:04] Production.INFO: Date 2025-01-08
[2025-01-09 23:54:04] Production.INFO: Reseller ==> 0
[2025-01-09 23:54:04] Production.INFO: Date 2025-01-09
[2025-01-09 23:54:04] Production.INFO: Reseller ==> 0
[2025-01-09 23:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213068') end
[2025-01-09 23:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 23:54:04] Production.INFO: 1
[2025-01-09 23:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 23:54:04] Production.INFO: Total Charge 0
[2025-01-09 23:54:04] Production.INFO: CreateAllLog End
[2025-01-09 23:54:04] Production.INFO: ==18845== Releasing lock...
[2025-01-09 23:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 23:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 23:54:04] Production.INFO: ==18837== Releasing lock...
[2025-01-09 23:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 23:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 23:54:04] Production.ERROR: done
[2025-01-09 23:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 23:54:04] Production.INFO: Account Balance End.
[2025-01-09 23:54:04] Production.ERROR: done
[2025-01-09 23:54:04] Production.ERROR: CronJobId end 12
[2025-01-09 23:54:04] Production.INFO: ==18841== Releasing lock...
[2025-01-09 23:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 23:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 23:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 20:54:05
[end_date_ymd] => 2025-01-09 23:54:05
[RateCDR] => 1
)
[2025-01-09 23:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 20:54:05' and `end` < '2025-01-09 23:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 23:54:11] Production.ERROR: CronJobId end10
[2025-01-09 23:54:11] Production.INFO: ==18839== Releasing lock...
[2025-01-09 23:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 23:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 23:54:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 23:54:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 23:54:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 23:54:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 23:54:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 23:54:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 23:54:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 23:54:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 23:54:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 23:54:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 23:54:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 23:54:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 23:54:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 23:54:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 23:54:13] Production.INFO: call_cost start
[2025-01-09 23:54:13] Production.INFO: call_cost end
[2025-01-09 23:54:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 23:54:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 23:54:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 23:54:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 23:54:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 23:54:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 23:54:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 23:54:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 23:54:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 23:54:13] Production.INFO: ==18835== Releasing lock...
[2025-01-09 23:54:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 23:54:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 23:54:18] Production.INFO: count ==578
[2025-01-09 23:54:18] Production.ERROR: pbx CDR StartTime 2025-01-09 20:54:05 - End Time 2025-01-09 23:54:05
[2025-01-09 23:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 23:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213071', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213071', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213071', 'tblTempVendorCDR_20' ) start
[2025-01-09 23:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213071', 'tblTempVendorCDR_20' ) end
[2025-01-09 23:54:18] Production.INFO: ProcessCDR(1,14213071,1,1,2)
[2025-01-09 23:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213071,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213071,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213071,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:54:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213071,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213071', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213071', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:54:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:54:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:54:21] Production.INFO: ==18843== Releasing lock...
[2025-01-09 23:54:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 23:54:21] Production.INFO: 31.75 MB #Memory Used#
[2025-01-10 04:55:01] Production.INFO: ==18898== Lock acquired, processing the job...
[2025-01-10 04:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 04:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 04:55:01] Production.INFO: neon service started
[2025-01-10 04:55:01] Production.INFO: neon service started
[2025-01-10 04:55:01] Production.INFO: ==18898== Releasing lock...
[2025-01-10 04:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 04:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 23:55:01] Production.INFO: ==18900== Lock acquired, processing the job...
[2025-01-09 23:55:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 23:55:02] Production.INFO: ==18900== Releasing lock...
[2025-01-09 23:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 23:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 04:55:02] Production.INFO: ==18902== Lock acquired, processing the job...
[2025-01-10 04:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 04:55:02] Production.INFO: ==18902== Releasing lock...
[2025-01-10 04:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 04:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 23:55:03] Production.INFO: ==18911== Lock acquired, processing the job...
[2025-01-09 23:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 23:55:03] Production.INFO: ==18915== Lock acquired, processing the job...
[2025-01-09 23:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 23:55:03] Production.INFO: Account Balance Start.
[2025-01-09 23:55:03] Production.INFO: CreateAllLog Start
[2025-01-09 23:55:03] Production.INFO: 117
[2025-01-09 23:55:03] Production.INFO: Date 2025-01-08
[2025-01-09 23:55:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:55:03] Production.INFO: Date 2025-01-09
[2025-01-09 23:55:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:55:03] Production.INFO: count ==21
[2025-01-09 23:55:03] Production.INFO: ==18905== Lock acquired, processing the job...
[2025-01-09 23:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 23:55:03] Production.INFO: ==18909== Lock acquired, processing the job...
[2025-01-09 23:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 23:55:03] Production.INFO: ==18907== Lock acquired, processing the job...
[2025-01-09 23:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 23:55:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:55:03] Production.INFO: count ==21
[2025-01-09 23:55:03] Production.INFO: ==18913== Lock acquired, processing the job...
[2025-01-09 23:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 23:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213073') start
[2025-01-09 23:55:03] Production.INFO: Total Charge 0
[2025-01-09 23:55:03] Production.INFO: CreateAllLog End
[2025-01-09 23:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 23:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213073') end
[2025-01-09 23:55:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 23:55:03] Production.INFO: 1
[2025-01-09 23:55:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 23:55:03] Production.INFO: ==18915== Releasing lock...
[2025-01-09 23:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 23:55:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 23:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 23:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 23:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 23:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 23:55:03] Production.INFO: Account Balance End.
[2025-01-09 23:55:03] Production.ERROR: CronJobId end 12
[2025-01-09 23:55:03] Production.INFO: ==18911== Releasing lock...
[2025-01-09 23:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 23:55:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 23:55:03] Production.ERROR: done
[2025-01-09 23:55:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 23:55:03] Production.INFO: ==18907== Releasing lock...
[2025-01-09 23:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 23:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 23:55:03] Production.ERROR: done
[2025-01-09 23:55:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 20:55:04
[end_date_ymd] => 2025-01-09 23:55:04
[RateCDR] => 1
)
[2025-01-09 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-01-09 20:55:04' and `end` < '2025-01-09 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-01-09 23:55:11] Production.ERROR: CronJobId end10
[2025-01-09 23:55:11] Production.INFO: ==18909== Releasing lock...
[2025-01-09 23:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 23:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 23:55:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 23:55:11] Production.INFO: ============== Balance Warning START===========
[2025-01-09 23:55:11] Production.INFO: ============== Balance Warning END===========
[2025-01-09 23:55:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 23:55:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 23:55:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 23:55:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 23:55:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 23:55:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 23:55:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 23:55:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 23:55:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 23:55:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 23:55:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 23:55:12] Production.INFO: call_cost start
[2025-01-09 23:55:12] Production.INFO: call_cost end
[2025-01-09 23:55:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 23:55:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 23:55:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 23:55:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 23:55:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 23:55:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 23:55:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 23:55:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 23:55:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 23:55:13] Production.INFO: ==18905== Releasing lock...
[2025-01-09 23:55:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 23:55:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 23:55:18] Production.INFO: count ==576
[2025-01-09 23:55:18] Production.ERROR: pbx CDR StartTime 2025-01-09 20:55:04 - End Time 2025-01-09 23:55:04
[2025-01-09 23:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 23:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213076', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213076', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213076', 'tblTempVendorCDR_20' ) start
[2025-01-09 23:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213076', 'tblTempVendorCDR_20' ) end
[2025-01-09 23:55:18] Production.INFO: ProcessCDR(1,14213076,1,1,2)
[2025-01-09 23:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213076,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213076,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213076,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213076,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213076', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213076', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:55:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:55:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:55:21] Production.INFO: ==18913== Releasing lock...
[2025-01-09 23:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 23:55:21] Production.INFO: 31.75 MB #Memory Used#
[2025-01-10 04:56:02] Production.INFO: ==18970== Lock acquired, processing the job...
[2025-01-10 04:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 04:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 04:56:02] Production.INFO: neon service started
[2025-01-10 04:56:02] Production.INFO: neon service started
[2025-01-10 04:56:02] Production.INFO: ==18970== Releasing lock...
[2025-01-10 04:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 04:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 23:56:02] Production.INFO: ==18972== Lock acquired, processing the job...
[2025-01-09 23:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 04:56:02] Production.INFO: ==18974== Lock acquired, processing the job...
[2025-01-10 04:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 04:56:02] Production.INFO: ==18974== Releasing lock...
[2025-01-10 04:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 04:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 23:56:02] Production.INFO: ==18972== Releasing lock...
[2025-01-09 23:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 23:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 23:56:03] Production.INFO: ==18977== Lock acquired, processing the job...
[2025-01-09 23:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 23:56:03] Production.INFO: ==18981== Lock acquired, processing the job...
[2025-01-09 23:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 23:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 23:56:03] Production.INFO: ==18987== Lock acquired, processing the job...
[2025-01-09 23:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 23:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 23:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 23:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 23:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 23:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:56:03] Production.INFO: ==18979== Lock acquired, processing the job...
[2025-01-09 23:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 23:56:03] Production.INFO: count ==21
[2025-01-09 23:56:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:56:03] Production.INFO: count ==21
[2025-01-09 23:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213078') start
[2025-01-09 23:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213078') end
[2025-01-09 23:56:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 23:56:03] Production.INFO: 1
[2025-01-09 23:56:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 23:56:03] Production.INFO: ==18983== Lock acquired, processing the job...
[2025-01-09 23:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 23:56:04] Production.INFO: ==18987== Releasing lock...
[2025-01-09 23:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 23:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 23:56:04] Production.INFO: ==18985== Lock acquired, processing the job...
[2025-01-09 23:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 23:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:56:04] Production.INFO: Account Balance Start.
[2025-01-09 23:56:04] Production.INFO: CreateAllLog Start
[2025-01-09 23:56:04] Production.INFO: 117
[2025-01-09 23:56:04] Production.INFO: Date 2025-01-08
[2025-01-09 23:56:04] Production.INFO: Reseller ==> 0
[2025-01-09 23:56:04] Production.INFO: Date 2025-01-09
[2025-01-09 23:56:04] Production.INFO: Reseller ==> 0
[2025-01-09 23:56:04] Production.INFO: Total Charge 0
[2025-01-09 23:56:04] Production.INFO: ==18979== Releasing lock...
[2025-01-09 23:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 23:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 23:56:04] Production.INFO: CreateAllLog End
[2025-01-09 23:56:04] Production.ERROR: done
[2025-01-09 23:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 23:56:04] Production.INFO: Account Balance End.
[2025-01-09 23:56:04] Production.ERROR: CronJobId end 12
[2025-01-09 23:56:04] Production.INFO: ==18983== Releasing lock...
[2025-01-09 23:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 23:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 23:56:04] Production.ERROR: done
[2025-01-09 23:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 20:56:05
[end_date_ymd] => 2025-01-09 23:56:05
[RateCDR] => 1
)
[2025-01-09 23:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 20:56:05' and `end` < '2025-01-09 23:56:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 23:56:12] Production.ERROR: CronJobId end10
[2025-01-09 23:56:12] Production.INFO: ==18981== Releasing lock...
[2025-01-09 23:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 23:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 23:56:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 23:56:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 23:56:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 23:56:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 23:56:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 23:56:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 23:56:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 23:56:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 23:56:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 23:56:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 23:56:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 23:56:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 23:56:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 23:56:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 23:56:13] Production.INFO: call_cost start
[2025-01-09 23:56:13] Production.INFO: call_cost end
[2025-01-09 23:56:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 23:56:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 23:56:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 23:56:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 23:56:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 23:56:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 23:56:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 23:56:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 23:56:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 23:56:14] Production.INFO: ==18977== Releasing lock...
[2025-01-09 23:56:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 23:56:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 23:56:18] Production.INFO: count ==576
[2025-01-09 23:56:18] Production.ERROR: pbx CDR StartTime 2025-01-09 20:56:05 - End Time 2025-01-09 23:56:05
[2025-01-09 23:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 23:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213081', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213081', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213081', 'tblTempVendorCDR_20' ) start
[2025-01-09 23:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213081', 'tblTempVendorCDR_20' ) end
[2025-01-09 23:56:18] Production.INFO: ProcessCDR(1,14213081,1,1,2)
[2025-01-09 23:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213081,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213081,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213081,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213081,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213081', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213081', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:56:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:56:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:56:21] Production.INFO: ==18985== Releasing lock...
[2025-01-09 23:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 23:56:21] Production.INFO: 31.75 MB #Memory Used#
[2025-01-10 04:57:01] Production.INFO: ==19041== Lock acquired, processing the job...
[2025-01-10 04:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 04:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 04:57:01] Production.INFO: neon service started
[2025-01-10 04:57:01] Production.INFO: neon service started
[2025-01-10 04:57:01] Production.INFO: ==19041== Releasing lock...
[2025-01-10 04:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 04:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 23:57:01] Production.INFO: ==19043== Lock acquired, processing the job...
[2025-01-09 23:57:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 23:57:02] Production.INFO: ==19043== Releasing lock...
[2025-01-09 23:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 23:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 04:57:02] Production.INFO: ==19045== Lock acquired, processing the job...
[2025-01-10 04:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 04:57:02] Production.INFO: ==19045== Releasing lock...
[2025-01-10 04:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 04:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 23:57:02] Production.INFO: ==19047== Lock acquired, processing the job...
[2025-01-09 23:57:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 23:57:02] Production.INFO: ==19049== Lock acquired, processing the job...
[2025-01-09 23:57:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 23:57:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 23:57:02] Production.INFO: ==19055== Lock acquired, processing the job...
[2025-01-09 23:57:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 23:57:02] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:57:02] Production.INFO: ==19051== Lock acquired, processing the job...
[2025-01-09 23:57:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 23:57:03] Production.INFO: ==19049== Releasing lock...
[2025-01-09 23:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 23:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 23:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 23:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 23:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 23:57:03] Production.INFO: ==19053== Lock acquired, processing the job...
[2025-01-09 23:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 23:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 23:57:03] Production.INFO: ==19057== Lock acquired, processing the job...
[2025-01-09 23:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 23:57:03] Production.ERROR: done
[2025-01-09 23:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 23:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:57:03] Production.INFO: count ==21
[2025-01-09 23:57:03] Production.ERROR: done
[2025-01-09 23:57:03] Production.INFO: Account Balance Start.
[2025-01-09 23:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:57:03] Production.INFO: CreateAllLog Start
[2025-01-09 23:57:03] Production.INFO: count ==21
[2025-01-09 23:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213084') start
[2025-01-09 23:57:03] Production.INFO: 117
[2025-01-09 23:57:03] Production.INFO: Date 2025-01-08
[2025-01-09 23:57:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:57:03] Production.INFO: Date 2025-01-09
[2025-01-09 23:57:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213084') end
[2025-01-09 23:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 23:57:03] Production.INFO: 1
[2025-01-09 23:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 23:57:03] Production.INFO: Total Charge 0
[2025-01-09 23:57:03] Production.INFO: CreateAllLog End
[2025-01-09 23:57:03] Production.INFO: ==19057== Releasing lock...
[2025-01-09 23:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 23:57:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 23:57:03] Production.INFO: Account Balance End.
[2025-01-09 23:57:03] Production.ERROR: CronJobId end 12
[2025-01-09 23:57:03] Production.INFO: ==19053== Releasing lock...
[2025-01-09 23:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 23:57:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 23:57:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 20:57:04
[end_date_ymd] => 2025-01-09 23:57:04
[RateCDR] => 1
)
[2025-01-09 23:57:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 20:57:04' and `end` < '2025-01-09 23:57:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 23:57:11] Production.ERROR: CronJobId end10
[2025-01-09 23:57:11] Production.INFO: ==19051== Releasing lock...
[2025-01-09 23:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 23:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 23:57:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 23:57:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 23:57:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 23:57:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 23:57:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 23:57:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 23:57:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 23:57:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 23:57:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 23:57:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 23:57:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 23:57:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 23:57:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 23:57:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 23:57:12] Production.INFO: call_cost start
[2025-01-09 23:57:12] Production.INFO: call_cost end
[2025-01-09 23:57:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 23:57:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 23:57:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 23:57:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 23:57:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 23:57:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 23:57:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 23:57:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 23:57:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 23:57:13] Production.INFO: ==19047== Releasing lock...
[2025-01-09 23:57:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 23:57:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 23:57:17] Production.INFO: count ==579
[2025-01-09 23:57:17] Production.ERROR: pbx CDR StartTime 2025-01-09 20:57:04 - End Time 2025-01-09 23:57:04
[2025-01-09 23:57:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 23:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213086', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213086', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213086', 'tblTempVendorCDR_20' ) start
[2025-01-09 23:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213086', 'tblTempVendorCDR_20' ) end
[2025-01-09 23:57:17] Production.INFO: ProcessCDR(1,14213086,1,1,2)
[2025-01-09 23:57:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213086,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:57:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213086,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:57:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213086,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:57:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213086,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:57:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213086', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:57:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213086', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:57:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:57:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:57:20] Production.INFO: ==19055== Releasing lock...
[2025-01-09 23:57:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 23:57:20] Production.INFO: 31.75 MB #Memory Used#
[2025-01-10 04:58:01] Production.INFO: ==19117== Lock acquired, processing the job...
[2025-01-10 04:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 04:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 04:58:01] Production.INFO: neon service started
[2025-01-10 04:58:01] Production.INFO: neon service started
[2025-01-10 04:58:01] Production.INFO: ==19117== Releasing lock...
[2025-01-10 04:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 04:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 23:58:02] Production.INFO: ==19119== Lock acquired, processing the job...
[2025-01-09 23:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 23:58:02] Production.INFO: ==19119== Releasing lock...
[2025-01-09 23:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 23:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 04:58:02] Production.INFO: ==19121== Lock acquired, processing the job...
[2025-01-10 04:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 04:58:02] Production.INFO: ==19121== Releasing lock...
[2025-01-10 04:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 04:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 23:58:03] Production.INFO: ==19127== Lock acquired, processing the job...
[2025-01-09 23:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 23:58:03] Production.INFO: ==19133== Lock acquired, processing the job...
[2025-01-09 23:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 23:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 23:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 23:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 23:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 23:58:03] Production.INFO: ==19123== Lock acquired, processing the job...
[2025-01-09 23:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 23:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:58:03] Production.INFO: ==19125== Lock acquired, processing the job...
[2025-01-09 23:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 23:58:03] Production.INFO: count ==21
[2025-01-09 23:58:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:58:03] Production.INFO: ==19129== Lock acquired, processing the job...
[2025-01-09 23:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 23:58:03] Production.INFO: count ==21
[2025-01-09 23:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213087') start
[2025-01-09 23:58:03] Production.INFO: ==19131== Lock acquired, processing the job...
[2025-01-09 23:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 23:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 23:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213087') end
[2025-01-09 23:58:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 23:58:03] Production.INFO: 1
[2025-01-09 23:58:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 23:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:58:03] Production.INFO: Account Balance Start.
[2025-01-09 23:58:03] Production.INFO: CreateAllLog Start
[2025-01-09 23:58:03] Production.INFO: ==19133== Releasing lock...
[2025-01-09 23:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 23:58:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 23:58:03] Production.INFO: 117
[2025-01-09 23:58:03] Production.INFO: Date 2025-01-08
[2025-01-09 23:58:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:58:03] Production.INFO: Date 2025-01-09
[2025-01-09 23:58:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:58:03] Production.INFO: Total Charge 0
[2025-01-09 23:58:03] Production.INFO: CreateAllLog End
[2025-01-09 23:58:03] Production.INFO: ==19125== Releasing lock...
[2025-01-09 23:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 23:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 23:58:03] Production.ERROR: done
[2025-01-09 23:58:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 23:58:04] Production.INFO: Account Balance End.
[2025-01-09 23:58:04] Production.ERROR: done
[2025-01-09 23:58:04] Production.ERROR: CronJobId end 12
[2025-01-09 23:58:04] Production.INFO: ==19129== Releasing lock...
[2025-01-09 23:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 23:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 23:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 20:58:05
[end_date_ymd] => 2025-01-09 23:58:05
[RateCDR] => 1
)
[2025-01-09 23:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 20:58:05' and `end` < '2025-01-09 23:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 23:58:11] Production.ERROR: CronJobId end10
[2025-01-09 23:58:11] Production.INFO: ==19127== Releasing lock...
[2025-01-09 23:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 23:58:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 23:58:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 23:58:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 23:58:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 23:58:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 23:58:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 23:58:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 23:58:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 23:58:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 23:58:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 23:58:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 23:58:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 23:58:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 23:58:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 23:58:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 23:58:13] Production.INFO: call_cost start
[2025-01-09 23:58:13] Production.INFO: call_cost end
[2025-01-09 23:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 23:58:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 23:58:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 23:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 23:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 23:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 23:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 23:58:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 23:58:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 23:58:14] Production.INFO: ==19123== Releasing lock...
[2025-01-09 23:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 23:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 23:58:19] Production.INFO: count ==579
[2025-01-09 23:58:19] Production.ERROR: pbx CDR StartTime 2025-01-09 20:58:05 - End Time 2025-01-09 23:58:05
[2025-01-09 23:58:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 23:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213091', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213091', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213091', 'tblTempVendorCDR_20' ) start
[2025-01-09 23:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213091', 'tblTempVendorCDR_20' ) end
[2025-01-09 23:58:19] Production.INFO: ProcessCDR(1,14213091,1,1,2)
[2025-01-09 23:58:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213091,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:58:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213091,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:58:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213091,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:58:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213091,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213091', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213091', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:58:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:58:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:58:22] Production.INFO: ==19131== Releasing lock...
[2025-01-09 23:58:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 23:58:22] Production.INFO: 31.75 MB #Memory Used#
[2025-01-10 04:59:02] Production.INFO: ==19195== Lock acquired, processing the job...
[2025-01-10 04:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 04:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 04:59:02] Production.INFO: neon service started
[2025-01-10 04:59:02] Production.INFO: neon service started
[2025-01-10 04:59:02] Production.INFO: ==19195== Releasing lock...
[2025-01-10 04:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 04:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 04:59:02] Production.INFO: ==19199== Lock acquired, processing the job...
[2025-01-10 04:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 04:59:02] Production.INFO: ==19199== Releasing lock...
[2025-01-10 04:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 04:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 23:59:02] Production.INFO: ==19197== Lock acquired, processing the job...
[2025-01-09 23:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 23:59:03] Production.INFO: ==19197== Releasing lock...
[2025-01-09 23:59:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 23:59:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 23:59:03] Production.INFO: ==19203== Lock acquired, processing the job...
[2025-01-09 23:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 23:59:03] Production.INFO: ==19207== Lock acquired, processing the job...
[2025-01-09 23:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 23:59:03] Production.INFO: Account Balance Start.
[2025-01-09 23:59:03] Production.INFO: CreateAllLog Start
[2025-01-09 23:59:03] Production.INFO: 117
[2025-01-09 23:59:03] Production.INFO: Date 2025-01-08
[2025-01-09 23:59:03] Production.INFO: ==19209== Lock acquired, processing the job...
[2025-01-09 23:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 23:59:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:59:03] Production.INFO: Date 2025-01-09
[2025-01-09 23:59:03] Production.INFO: Reseller ==> 0
[2025-01-09 23:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 23:59:03] Production.INFO: ==19201== Lock acquired, processing the job...
[2025-01-09 23:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 23:59:03] Production.INFO: Total Charge 0
[2025-01-09 23:59:03] Production.INFO: CreateAllLog End
[2025-01-09 23:59:03] Production.INFO: ==19205== Lock acquired, processing the job...
[2025-01-09 23:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 23:59:04] Production.INFO: ==19203== Releasing lock...
[2025-01-09 23:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 23:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 23:59:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 23:59:04] Production.INFO: Account Balance End.
[2025-01-09 23:59:04] Production.ERROR: CronJobId end 12
[2025-01-09 23:59:04] Production.INFO: ==19207== Releasing lock...
[2025-01-09 23:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 23:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 23:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 23:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 23:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 23:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 23:59:04] Production.INFO: ==19212== Lock acquired, processing the job...
[2025-01-09 23:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 23:59:04] Production.ERROR: done
[2025-01-09 23:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 23:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:59:04] Production.INFO: count ==21
[2025-01-09 23:59:04] Production.ERROR: done
[2025-01-09 23:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 23:59:04] Production.INFO: count ==21
[2025-01-09 23:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213095') start
[2025-01-09 23:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213095') end
[2025-01-09 23:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 23:59:04] Production.INFO: 1
[2025-01-09 23:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 23:59:04] Production.INFO: ==19212== Releasing lock...
[2025-01-09 23:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 23:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 23:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 20:59:05
[end_date_ymd] => 2025-01-09 23:59:05
[RateCDR] => 1
)
[2025-01-09 23:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 20:59:05' and `end` < '2025-01-09 23:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 23:59:13] Production.ERROR: CronJobId end10
[2025-01-09 23:59:13] Production.INFO: ==19205== Releasing lock...
[2025-01-09 23:59:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 23:59:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 23:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 23:59:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 23:59:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 23:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 23:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 23:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 23:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 23:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 23:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 23:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 23:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 23:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 23:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 23:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 23:59:14] Production.INFO: call_cost start
[2025-01-09 23:59:14] Production.INFO: call_cost end
[2025-01-09 23:59:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 23:59:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 23:59:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 23:59:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 23:59:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 23:59:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 23:59:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 23:59:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 23:59:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 23:59:15] Production.INFO: ==19201== Releasing lock...
[2025-01-09 23:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 23:59:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 23:59:18] Production.INFO: count ==579
[2025-01-09 23:59:18] Production.ERROR: pbx CDR StartTime 2025-01-09 20:59:05 - End Time 2025-01-09 23:59:05
[2025-01-09 23:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 23:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213096', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213096', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213096', 'tblTempVendorCDR_20' ) start
[2025-01-09 23:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213096', 'tblTempVendorCDR_20' ) end
[2025-01-09 23:59:18] Production.INFO: ProcessCDR(1,14213096,1,1,2)
[2025-01-09 23:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213096,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:59:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213096,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 23:59:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213096,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213096,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 23:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213096', 'tblTempUsageDetail_20' ) start
[2025-01-09 23:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213096', 'tblTempUsageDetail_20' ) end
[2025-01-09 23:59:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 23:59:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 23:59:21] Production.INFO: ==19209== Releasing lock...
[2025-01-09 23:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 23:59:21] Production.INFO: 31.75 MB #Memory Used#
[2025-01-10 05:00:01] Production.INFO: ==19310== Lock acquired, processing the job...
[2025-01-10 05:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 05:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 05:00:01] Production.INFO: neon service started
[2025-01-10 05:00:01] Production.INFO: neon service started
[2025-01-10 05:00:01] Production.INFO: ==19310== Releasing lock...
[2025-01-10 05:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 05:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:00:01] Production.INFO: ==19312== Lock acquired, processing the job...
[2025-01-10 00:00:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 00:00:02] Production.INFO: ==19312== Releasing lock...
[2025-01-10 00:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 00:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 05:00:02] Production.INFO: ==19314== Lock acquired, processing the job...
[2025-01-10 05:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 05:00:02] Production.INFO: ==19314== Releasing lock...
[2025-01-10 05:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 05:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 00:00:03] Production.INFO: ==19317== Lock acquired, processing the job...
[2025-01-10 00:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 00:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 00:00:03] Production.INFO: ==19321== Lock acquired, processing the job...
[2025-01-10 00:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 00:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 00:00:03] Production.INFO: ==19317== Releasing lock...
[2025-01-10 00:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 00:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 00:00:03] Production.INFO: ==19325== Lock acquired, processing the job...
[2025-01-10 00:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 00:00:03] Production.INFO: ==19319== Lock acquired, processing the job...
[2025-01-10 00:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 00:00:03] Production.INFO: ==19323== Lock acquired, processing the job...
[2025-01-10 00:00:03] Production.INFO: createsummary-command-createsummary-companyid-1-cronjobid-9 #Starts#
[2025-01-10 00:00:03] Production.INFO: ==19329== Lock acquired, processing the job...
[2025-01-10 00:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 00:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 00:00:03] Production.INFO: ==19327== Lock acquired, processing the job...
[2025-01-10 00:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 00:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 00:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:00:03] Production.INFO: ==19333== Lock acquired, processing the job...
[2025-01-10 00:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 00:00:03] Production.INFO: ==19331== Lock acquired, processing the job...
[2025-01-10 00:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 00:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 00:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 00:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 00:00:04] Production.INFO: ==19321== Releasing lock...
[2025-01-10 00:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 00:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 00:00:04] Production.INFO: Account Balance Start.
[2025-01-10 00:00:04] Production.INFO: CreateAllLog Start
[2025-01-10 00:00:04] Production.INFO: 117
[2025-01-10 00:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:00:04] Production.INFO: Date 2025-01-08
[2025-01-10 00:00:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:00:04] Production.INFO: count ==21
[2025-01-10 00:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:00:04] Production.INFO: count ==21
[2025-01-10 00:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213100') start
[2025-01-10 00:00:04] Production.INFO: Date 2025-01-09
[2025-01-10 00:00:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:00:04] Production.ERROR: done
[2025-01-10 00:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 00:00:04] Production.ERROR: done
[2025-01-10 00:00:04] Production.INFO: Date 2025-01-10
[2025-01-10 00:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213100') end
[2025-01-10 00:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 00:00:04] Production.INFO: 1
[2025-01-10 00:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 00:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 00:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14213101', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 00:00:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:00:04] Production.INFO: ==19333== Releasing lock...
[2025-01-10 00:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 00:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 00:00:04] Production.INFO: Total Charge 0
[2025-01-10 00:00:04] Production.ERROR: done
[2025-01-10 00:00:04] Production.INFO: CreateAllLog End
[2025-01-10 00:00:04] Production.INFO: Account Balance End.
[2025-01-10 00:00:04] Production.ERROR: CronJobId end 12
[2025-01-10 00:00:04] Production.INFO: ==19327== Releasing lock...
[2025-01-10 00:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 00:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 00:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 21:00:06
[end_date_ymd] => 2025-01-10 00:00:06
[RateCDR] => 1
)
[2025-01-10 00:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 21:00:06' and `end` < '2025-01-10 00:00:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 00:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14213101', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 00:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 00:00:09] Production.INFO: ProcessCDR(1,14213101,1,1,2)
[2025-01-10 00:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14213101,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14213101,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:00:09] Production.INFO: ==19331== Releasing lock...
[2025-01-10 00:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 00:00:09] Production.INFO: 26 MB #Memory Used#
[2025-01-10 00:00:11] Production.ERROR: tmp_tblUsageDetailsReport_120250106 done
[2025-01-10 00:00:12] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106 done
[2025-01-10 00:00:12] Production.ERROR: DELETE FROM tmp_tblUsageDetailsReport_120250106
[2025-01-10 00:00:13] Production.INFO: call prc_generateSummary(1,'2025-01-06','2025-01-06','120250106')
[2025-01-10 00:00:18] Production.INFO: call prc_generateVendorSummary(1,'2025-01-06','2025-01-06','120250106')
[2025-01-10 00:00:19] Production.ERROR: CronJobId end10
[2025-01-10 00:00:19] Production.INFO: ==19325== Releasing lock...
[2025-01-10 00:00:19] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 00:00:19] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 00:00:20] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 00:00:20] Production.INFO: ============== Balance Warning START===========
[2025-01-10 00:00:20] Production.INFO: ============== Balance Warning END===========
[2025-01-10 00:00:20] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 00:00:20] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 00:00:20] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 00:00:20] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 00:00:20] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 00:00:20] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 00:00:20] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 00:00:20] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 00:00:20] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 00:00:20] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 00:00:20] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 00:00:20] Production.INFO: count ==580
[2025-01-10 00:00:20] Production.ERROR: pbx CDR StartTime 2025-01-09 21:00:06 - End Time 2025-01-10 00:00:06
[2025-01-10 00:00:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 00:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213102', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213102', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213102', 'tblTempVendorCDR_20' ) start
[2025-01-10 00:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213102', 'tblTempVendorCDR_20' ) end
[2025-01-10 00:00:20] Production.INFO: ProcessCDR(1,14213102,1,1,2)
[2025-01-10 00:00:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213102,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:00:20] Production.INFO: call_cost start
[2025-01-10 00:00:20] Production.INFO: call_cost end
[2025-01-10 00:00:22] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 00:00:22] Production.INFO: ============== Report Schedule START===========
[2025-01-10 00:00:22] Production.INFO: ============== Report Schedule END===========
[2025-01-10 00:00:22] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 00:00:22] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 00:00:22] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 00:00:22] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 00:00:22] Production.INFO: ============== Deal alert START===========
[2025-01-10 00:00:22] Production.INFO: ============== Deal alert END===========
[2025-01-10 00:00:22] Production.INFO: ==19319== Releasing lock...
[2025-01-10 00:00:22] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 00:00:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 00:00:22] Production.ERROR: tmp_tblUsageDetailsReport_120250107 done
[2025-01-10 00:00:22] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107 done
[2025-01-10 00:00:22] Production.ERROR: DELETE FROM tmp_tblUsageDetailsReport_120250107
[2025-01-10 00:00:23] Production.INFO: call prc_generateSummary(1,'2025-01-07','2025-01-07','120250107')
[2025-01-10 00:00:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213102,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:00:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213102,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:00:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213102,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:00:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213102', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:00:27] Production.INFO: call prc_generateVendorSummary(1,'2025-01-07','2025-01-07','120250107')
[2025-01-10 00:00:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213102', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:00:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:00:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:00:29] Production.INFO: ==19329== Releasing lock...
[2025-01-10 00:00:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 00:00:29] Production.INFO: 33.25 MB #Memory Used#
[2025-01-10 00:00:29] Production.ERROR: tmp_tblUsageDetailsReport_120250108 done
[2025-01-10 00:00:29] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108 done
[2025-01-10 00:00:29] Production.ERROR: DELETE FROM tmp_tblUsageDetailsReport_120250108
[2025-01-10 00:00:30] Production.INFO: call prc_generateSummary(1,'2025-01-08','2025-01-08','120250108')
[2025-01-10 00:00:32] Production.INFO: call prc_generateVendorSummary(1,'2025-01-08','2025-01-08','120250108')
[2025-01-10 00:00:35] Production.ERROR: tmp_tblUsageDetailsReport_120250109 done
[2025-01-10 00:00:35] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109 done
[2025-01-10 00:00:35] Production.ERROR: DELETE FROM tmp_tblUsageDetailsReport_120250109
[2025-01-10 00:00:35] Production.INFO: call prc_generateSummary(1,'2025-01-09','2025-01-09','120250109')
[2025-01-10 00:00:38] Production.INFO: call prc_generateVendorSummary(1,'2025-01-09','2025-01-09','120250109')
[2025-01-10 00:00:41] Production.ERROR: CronJobId end9
[2025-01-10 00:00:41] Production.INFO: ==19323== Releasing lock...
[2025-01-10 00:00:41] Production.INFO: createsummary-command-createsummary-companyid-1-cronjobid-9 #Stops#
[2025-01-10 00:00:41] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 05:01:02] Production.INFO: ==19390== Lock acquired, processing the job...
[2025-01-10 05:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 05:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 05:01:02] Production.INFO: neon service started
[2025-01-10 05:01:02] Production.INFO: neon service started
[2025-01-10 05:01:02] Production.INFO: ==19390== Releasing lock...
[2025-01-10 05:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 05:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 05:01:02] Production.INFO: ==19408== Lock acquired, processing the job...
[2025-01-10 05:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 05:01:02] Production.INFO: ==19408== Releasing lock...
[2025-01-10 05:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 05:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 00:01:02] Production.INFO: ==19406== Lock acquired, processing the job...
[2025-01-10 00:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 00:01:02] Production.INFO: ==19406== Releasing lock...
[2025-01-10 00:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 00:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 00:01:03] Production.INFO: ==19410== Lock acquired, processing the job...
[2025-01-10 00:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 00:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 00:01:03] Production.INFO: ==19416== Lock acquired, processing the job...
[2025-01-10 00:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 00:01:03] Production.INFO: ==19412== Lock acquired, processing the job...
[2025-01-10 00:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 00:01:03] Production.INFO: Account Balance Start.
[2025-01-10 00:01:03] Production.INFO: CreateAllLog Start
[2025-01-10 00:01:03] Production.INFO: ==19414== Lock acquired, processing the job...
[2025-01-10 00:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 00:01:03] Production.INFO: ==19420== Lock acquired, processing the job...
[2025-01-10 00:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 00:01:03] Production.INFO: 117
[2025-01-10 00:01:03] Production.INFO: Date 2025-01-08
[2025-01-10 00:01:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 00:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 00:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 00:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 00:01:03] Production.INFO: Date 2025-01-09
[2025-01-10 00:01:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:01:03] Production.INFO: ==19418== Lock acquired, processing the job...
[2025-01-10 00:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 00:01:03] Production.INFO: Date 2025-01-10
[2025-01-10 00:01:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:01:04] Production.INFO: count ==21
[2025-01-10 00:01:04] Production.INFO: Total Charge 0
[2025-01-10 00:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:01:04] Production.INFO: count ==21
[2025-01-10 00:01:04] Production.INFO: CreateAllLog End
[2025-01-10 00:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213106') start
[2025-01-10 00:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213106') end
[2025-01-10 00:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 00:01:04] Production.INFO: 1
[2025-01-10 00:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 00:01:04] Production.INFO: ==19412== Releasing lock...
[2025-01-10 00:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 00:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 00:01:04] Production.INFO: ==19420== Releasing lock...
[2025-01-10 00:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 00:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 00:01:04] Production.ERROR: done
[2025-01-10 00:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 00:01:04] Production.INFO: Account Balance End.
[2025-01-10 00:01:04] Production.ERROR: CronJobId end 12
[2025-01-10 00:01:04] Production.INFO: ==19416== Releasing lock...
[2025-01-10 00:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 00:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 00:01:04] Production.ERROR: done
[2025-01-10 00:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 21:01:05
[end_date_ymd] => 2025-01-10 00:01:05
[RateCDR] => 1
)
[2025-01-10 00:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 21:01:05' and `end` < '2025-01-10 00:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 00:01:11] Production.ERROR: CronJobId end10
[2025-01-10 00:01:11] Production.INFO: ==19414== Releasing lock...
[2025-01-10 00:01:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 00:01:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 00:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 00:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 00:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 00:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 00:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 00:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 00:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 00:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 00:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 00:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 00:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 00:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 00:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 00:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 00:01:14] Production.INFO: call_cost start
[2025-01-10 00:01:14] Production.INFO: call_cost end
[2025-01-10 00:01:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 00:01:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 00:01:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 00:01:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 00:01:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 00:01:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 00:01:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 00:01:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 00:01:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 00:01:15] Production.INFO: ==19410== Releasing lock...
[2025-01-10 00:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 00:01:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 00:01:18] Production.INFO: count ==560
[2025-01-10 00:01:18] Production.ERROR: pbx CDR StartTime 2025-01-09 21:01:05 - End Time 2025-01-10 00:01:05
[2025-01-10 00:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 00:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213107', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213107', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213107', 'tblTempVendorCDR_20' ) start
[2025-01-10 00:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213107', 'tblTempVendorCDR_20' ) end
[2025-01-10 00:01:18] Production.INFO: ProcessCDR(1,14213107,1,1,2)
[2025-01-10 00:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213107,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:01:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213107,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:01:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213107,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:01:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213107,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213107', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213107', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:01:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:01:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:01:21] Production.INFO: ==19418== Releasing lock...
[2025-01-10 00:01:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 00:01:21] Production.INFO: 31.5 MB #Memory Used#
[2025-01-10 05:02:01] Production.INFO: ==19473== Lock acquired, processing the job...
[2025-01-10 05:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 05:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 05:02:01] Production.INFO: neon service started
[2025-01-10 05:02:01] Production.INFO: neon service started
[2025-01-10 05:02:01] Production.INFO: ==19473== Releasing lock...
[2025-01-10 05:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 05:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:02:02] Production.INFO: ==19475== Lock acquired, processing the job...
[2025-01-10 00:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:02:02] Production.INFO: ==19477== Lock acquired, processing the job...
[2025-01-10 05:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 05:02:02] Production.INFO: ==19477== Releasing lock...
[2025-01-10 05:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 05:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 00:02:02] Production.INFO: ==19475== Releasing lock...
[2025-01-10 00:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 00:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 00:02:03] Production.INFO: ==19480== Lock acquired, processing the job...
[2025-01-10 00:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 00:02:03] Production.INFO: ==19484== Lock acquired, processing the job...
[2025-01-10 00:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 00:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 00:02:03] Production.INFO: ==19486== Lock acquired, processing the job...
[2025-01-10 00:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 00:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 00:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 00:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 00:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 00:02:03] Production.INFO: Account Balance Start.
[2025-01-10 00:02:03] Production.INFO: ==19482== Lock acquired, processing the job...
[2025-01-10 00:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 00:02:03] Production.INFO: CreateAllLog Start
[2025-01-10 00:02:03] Production.INFO: 117
[2025-01-10 00:02:03] Production.INFO: ==19490== Lock acquired, processing the job...
[2025-01-10 00:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 00:02:03] Production.INFO: Date 2025-01-08
[2025-01-10 00:02:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:02:03] Production.INFO: ==19488== Lock acquired, processing the job...
[2025-01-10 00:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 00:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:02:03] Production.INFO: Date 2025-01-09
[2025-01-10 00:02:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:02:03] Production.INFO: count ==21
[2025-01-10 00:02:03] Production.INFO: Date 2025-01-10
[2025-01-10 00:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:02:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:02:03] Production.INFO: count ==21
[2025-01-10 00:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:02:03] Production.INFO: Total Charge 0
[2025-01-10 00:02:03] Production.INFO: CreateAllLog End
[2025-01-10 00:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213111') start
[2025-01-10 00:02:03] Production.INFO: ==19482== Releasing lock...
[2025-01-10 00:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 00:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 00:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213111') end
[2025-01-10 00:02:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 00:02:03] Production.INFO: 1
[2025-01-10 00:02:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 00:02:03] Production.INFO: Account Balance End.
[2025-01-10 00:02:04] Production.INFO: ==19490== Releasing lock...
[2025-01-10 00:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 00:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 00:02:04] Production.ERROR: CronJobId end 12
[2025-01-10 00:02:04] Production.INFO: ==19486== Releasing lock...
[2025-01-10 00:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 00:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 00:02:04] Production.ERROR: done
[2025-01-10 00:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 00:02:04] Production.ERROR: done
[2025-01-10 00:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 21:02:05
[end_date_ymd] => 2025-01-10 00:02:05
[RateCDR] => 1
)
[2025-01-10 00:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 21:02:05' and `end` < '2025-01-10 00:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 00:02:10] Production.ERROR: CronJobId end10
[2025-01-10 00:02:10] Production.INFO: ==19484== Releasing lock...
[2025-01-10 00:02:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 00:02:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 00:02:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 00:02:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 00:02:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 00:02:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 00:02:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 00:02:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 00:02:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 00:02:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 00:02:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 00:02:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 00:02:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 00:02:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 00:02:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 00:02:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 00:02:12] Production.INFO: call_cost start
[2025-01-10 00:02:12] Production.INFO: call_cost end
[2025-01-10 00:02:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 00:02:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 00:02:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 00:02:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 00:02:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 00:02:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 00:02:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 00:02:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 00:02:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 00:02:13] Production.INFO: ==19480== Releasing lock...
[2025-01-10 00:02:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 00:02:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 00:02:20] Production.INFO: count ==114
[2025-01-10 00:02:20] Production.ERROR: pbx CDR StartTime 2025-01-09 21:02:05 - End Time 2025-01-10 00:02:05
[2025-01-10 00:02:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 00:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213112', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213112', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213112', 'tblTempVendorCDR_20' ) start
[2025-01-10 00:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213112', 'tblTempVendorCDR_20' ) end
[2025-01-10 00:02:20] Production.INFO: ProcessCDR(1,14213112,1,1,2)
[2025-01-10 00:02:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213112,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:02:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213112,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:02:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213112,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:02:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213112,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213112', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213112', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:02:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:02:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:02:23] Production.INFO: ==19488== Releasing lock...
[2025-01-10 00:02:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 00:02:23] Production.INFO: 29.5 MB #Memory Used#
[2025-01-10 05:03:01] Production.INFO: ==19545== Lock acquired, processing the job...
[2025-01-10 05:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 05:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 05:03:01] Production.INFO: neon service started
[2025-01-10 05:03:01] Production.INFO: neon service started
[2025-01-10 05:03:01] Production.INFO: ==19545== Releasing lock...
[2025-01-10 05:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 05:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:03:02] Production.INFO: ==19547== Lock acquired, processing the job...
[2025-01-10 00:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:03:02] Production.INFO: ==19549== Lock acquired, processing the job...
[2025-01-10 05:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 05:03:02] Production.INFO: ==19549== Releasing lock...
[2025-01-10 05:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 05:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 00:03:02] Production.INFO: ==19547== Releasing lock...
[2025-01-10 00:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 00:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 00:03:03] Production.INFO: ==19554== Lock acquired, processing the job...
[2025-01-10 00:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 00:03:03] Production.INFO: ==19562== Lock acquired, processing the job...
[2025-01-10 00:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 00:03:03] Production.INFO: ==19552== Lock acquired, processing the job...
[2025-01-10 00:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 00:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 00:03:03] Production.INFO: count ==21
[2025-01-10 00:03:03] Production.INFO: ==19556== Lock acquired, processing the job...
[2025-01-10 00:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 00:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:03:03] Production.INFO: count ==21
[2025-01-10 00:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213113') start
[2025-01-10 00:03:03] Production.INFO: ==19560== Lock acquired, processing the job...
[2025-01-10 00:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 00:03:03] Production.INFO: ==19558== Lock acquired, processing the job...
[2025-01-10 00:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 00:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 00:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 00:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 00:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 00:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213113') end
[2025-01-10 00:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 00:03:04] Production.INFO: 1
[2025-01-10 00:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 00:03:04] Production.INFO: ==19562== Releasing lock...
[2025-01-10 00:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 00:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 00:03:04] Production.INFO: Account Balance Start.
[2025-01-10 00:03:04] Production.INFO: CreateAllLog Start
[2025-01-10 00:03:04] Production.INFO: 117
[2025-01-10 00:03:04] Production.INFO: Date 2025-01-08
[2025-01-10 00:03:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:03:04] Production.INFO: Date 2025-01-09
[2025-01-10 00:03:04] Production.INFO: ==19554== Releasing lock...
[2025-01-10 00:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 00:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 00:03:04] Production.ERROR: done
[2025-01-10 00:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 00:03:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:03:04] Production.INFO: Date 2025-01-10
[2025-01-10 00:03:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:03:04] Production.INFO: Total Charge 0
[2025-01-10 00:03:04] Production.INFO: CreateAllLog End
[2025-01-10 00:03:04] Production.ERROR: done
[2025-01-10 00:03:04] Production.INFO: Account Balance End.
[2025-01-10 00:03:04] Production.ERROR: CronJobId end 12
[2025-01-10 00:03:04] Production.INFO: ==19558== Releasing lock...
[2025-01-10 00:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 00:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 00:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 21:03:05
[end_date_ymd] => 2025-01-10 00:03:05
[RateCDR] => 1
)
[2025-01-10 00:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 21:03:05' and `end` < '2025-01-10 00:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 00:03:11] Production.ERROR: CronJobId end10
[2025-01-10 00:03:11] Production.INFO: ==19556== Releasing lock...
[2025-01-10 00:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 00:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 00:03:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 00:03:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 00:03:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 00:03:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 00:03:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 00:03:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 00:03:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 00:03:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 00:03:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 00:03:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 00:03:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 00:03:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 00:03:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 00:03:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 00:03:12] Production.INFO: call_cost start
[2025-01-10 00:03:12] Production.INFO: call_cost end
[2025-01-10 00:03:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 00:03:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 00:03:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 00:03:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 00:03:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 00:03:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 00:03:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 00:03:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 00:03:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 00:03:13] Production.INFO: ==19552== Releasing lock...
[2025-01-10 00:03:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 00:03:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 00:03:18] Production.INFO: count ==114
[2025-01-10 00:03:18] Production.ERROR: pbx CDR StartTime 2025-01-09 21:03:05 - End Time 2025-01-10 00:03:05
[2025-01-10 00:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 00:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213117', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213117', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213117', 'tblTempVendorCDR_20' ) start
[2025-01-10 00:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213117', 'tblTempVendorCDR_20' ) end
[2025-01-10 00:03:18] Production.INFO: ProcessCDR(1,14213117,1,1,2)
[2025-01-10 00:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213117,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213117,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213117,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213117,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213117', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213117', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:03:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:03:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:03:21] Production.INFO: ==19560== Releasing lock...
[2025-01-10 00:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 00:03:21] Production.INFO: 29.5 MB #Memory Used#
[2025-01-10 05:04:02] Production.INFO: ==19617== Lock acquired, processing the job...
[2025-01-10 05:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 05:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 05:04:02] Production.INFO: neon service started
[2025-01-10 05:04:02] Production.INFO: neon service started
[2025-01-10 05:04:02] Production.INFO: ==19617== Releasing lock...
[2025-01-10 05:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 05:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:04:02] Production.INFO: ==19619== Lock acquired, processing the job...
[2025-01-10 00:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 00:04:02] Production.INFO: ==19619== Releasing lock...
[2025-01-10 00:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 00:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 05:04:02] Production.INFO: ==19621== Lock acquired, processing the job...
[2025-01-10 05:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 05:04:03] Production.INFO: ==19621== Releasing lock...
[2025-01-10 05:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 05:04:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 00:04:03] Production.INFO: ==19623== Lock acquired, processing the job...
[2025-01-10 00:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 00:04:03] Production.INFO: ==19629== Lock acquired, processing the job...
[2025-01-10 00:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 00:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 00:04:03] Production.INFO: ==19633== Lock acquired, processing the job...
[2025-01-10 00:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 00:04:03] Production.INFO: ==19625== Lock acquired, processing the job...
[2025-01-10 00:04:03] Production.INFO: Account Balance Start.
[2025-01-10 00:04:03] Production.INFO: CreateAllLog Start
[2025-01-10 00:04:03] Production.INFO: 117
[2025-01-10 00:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 00:04:03] Production.INFO: Date 2025-01-08
[2025-01-10 00:04:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:04:03] Production.INFO: Date 2025-01-09
[2025-01-10 00:04:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:04:04] Production.INFO: ==19627== Lock acquired, processing the job...
[2025-01-10 00:04:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 00:04:04] Production.INFO: Date 2025-01-10
[2025-01-10 00:04:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:04:04] Production.INFO: count ==21
[2025-01-10 00:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:04:04] Production.INFO: count ==21
[2025-01-10 00:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213120') start
[2025-01-10 00:04:04] Production.INFO: Total Charge 0
[2025-01-10 00:04:04] Production.INFO: CreateAllLog End
[2025-01-10 00:04:04] Production.INFO: ==19631== Lock acquired, processing the job...
[2025-01-10 00:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 00:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213120') end
[2025-01-10 00:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 00:04:04] Production.INFO: 1
[2025-01-10 00:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 00:04:04] Production.INFO: Account Balance End.
[2025-01-10 00:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 00:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 00:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 00:04:04] Production.INFO: ==19633== Releasing lock...
[2025-01-10 00:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 00:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 00:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 00:04:04] Production.ERROR: CronJobId end 12
[2025-01-10 00:04:04] Production.INFO: ==19629== Releasing lock...
[2025-01-10 00:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 00:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 00:04:04] Production.INFO: ==19625== Releasing lock...
[2025-01-10 00:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 00:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 00:04:04] Production.ERROR: done
[2025-01-10 00:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 00:04:04] Production.ERROR: done
[2025-01-10 00:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 21:04:05
[end_date_ymd] => 2025-01-10 00:04:05
[RateCDR] => 1
)
[2025-01-10 00:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 21:04:05' and `end` < '2025-01-10 00:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 00:04:12] Production.ERROR: CronJobId end10
[2025-01-10 00:04:12] Production.INFO: ==19627== Releasing lock...
[2025-01-10 00:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 00:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 00:04:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 00:04:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 00:04:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 00:04:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 00:04:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 00:04:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 00:04:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 00:04:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 00:04:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 00:04:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 00:04:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 00:04:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 00:04:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 00:04:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 00:04:13] Production.INFO: call_cost start
[2025-01-10 00:04:13] Production.INFO: call_cost end
[2025-01-10 00:04:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 00:04:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 00:04:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 00:04:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 00:04:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 00:04:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 00:04:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 00:04:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 00:04:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 00:04:13] Production.INFO: ==19623== Releasing lock...
[2025-01-10 00:04:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 00:04:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 00:04:18] Production.INFO: count ==114
[2025-01-10 00:04:18] Production.ERROR: pbx CDR StartTime 2025-01-09 21:04:05 - End Time 2025-01-10 00:04:05
[2025-01-10 00:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 00:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213122', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213122', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213122', 'tblTempVendorCDR_20' ) start
[2025-01-10 00:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213122', 'tblTempVendorCDR_20' ) end
[2025-01-10 00:04:18] Production.INFO: ProcessCDR(1,14213122,1,1,2)
[2025-01-10 00:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213122,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213122,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213122,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:04:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213122,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213122', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213122', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:04:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:04:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:04:21] Production.INFO: ==19631== Releasing lock...
[2025-01-10 00:04:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 00:04:21] Production.INFO: 29.5 MB #Memory Used#
[2025-01-10 05:05:01] Production.INFO: ==19690== Lock acquired, processing the job...
[2025-01-10 05:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 05:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 05:05:01] Production.INFO: neon service started
[2025-01-10 05:05:01] Production.INFO: neon service started
[2025-01-10 05:05:01] Production.INFO: ==19690== Releasing lock...
[2025-01-10 05:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 05:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:05:01] Production.INFO: ==19692== Lock acquired, processing the job...
[2025-01-10 00:05:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 00:05:02] Production.INFO: ==19692== Releasing lock...
[2025-01-10 00:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 00:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 05:05:02] Production.INFO: ==19694== Lock acquired, processing the job...
[2025-01-10 05:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 05:05:02] Production.INFO: ==19694== Releasing lock...
[2025-01-10 05:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 05:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 00:05:03] Production.INFO: ==19696== Lock acquired, processing the job...
[2025-01-10 00:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 00:05:03] Production.INFO: ==19702== Lock acquired, processing the job...
[2025-01-10 00:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 00:05:03] Production.INFO: ==19700== Lock acquired, processing the job...
[2025-01-10 00:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 00:05:03] Production.INFO: ==19698== Lock acquired, processing the job...
[2025-01-10 00:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 00:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 00:05:03] Production.INFO: Account Balance Start.
[2025-01-10 00:05:03] Production.INFO: CreateAllLog Start
[2025-01-10 00:05:03] Production.INFO: 117
[2025-01-10 00:05:03] Production.INFO: Date 2025-01-08
[2025-01-10 00:05:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 00:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 00:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 00:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 00:05:03] Production.INFO: Date 2025-01-09
[2025-01-10 00:05:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:05:03] Production.INFO: ==19704== Lock acquired, processing the job...
[2025-01-10 00:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 00:05:03] Production.INFO: Date 2025-01-10
[2025-01-10 00:05:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:05:03] Production.INFO: Total Charge 0
[2025-01-10 00:05:03] Production.INFO: ==19706== Lock acquired, processing the job...
[2025-01-10 00:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 00:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:05:03] Production.INFO: CreateAllLog End
[2025-01-10 00:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:05:03] Production.INFO: ==19698== Releasing lock...
[2025-01-10 00:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 00:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 00:05:03] Production.INFO: count ==21
[2025-01-10 00:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:05:03] Production.INFO: count ==21
[2025-01-10 00:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213126') start
[2025-01-10 00:05:03] Production.INFO: Account Balance End.
[2025-01-10 00:05:03] Production.ERROR: done
[2025-01-10 00:05:03] Production.ERROR: CronJobId end 12
[2025-01-10 00:05:03] Production.INFO: ==19702== Releasing lock...
[2025-01-10 00:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 00:05:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 00:05:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 00:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213126') end
[2025-01-10 00:05:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 00:05:03] Production.INFO: 1
[2025-01-10 00:05:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 00:05:03] Production.INFO: ==19706== Releasing lock...
[2025-01-10 00:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 00:05:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 00:05:03] Production.ERROR: done
[2025-01-10 00:05:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 21:05:04
[end_date_ymd] => 2025-01-10 00:05:04
[RateCDR] => 1
)
[2025-01-10 00:05:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 21:05:04' and `end` < '2025-01-10 00:05:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 00:05:10] Production.ERROR: CronJobId end10
[2025-01-10 00:05:10] Production.INFO: ==19700== Releasing lock...
[2025-01-10 00:05:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 00:05:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 00:05:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 00:05:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 00:05:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 00:05:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 00:05:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 00:05:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 00:05:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 00:05:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 00:05:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 00:05:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 00:05:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 00:05:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 00:05:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 00:05:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 00:05:12] Production.INFO: call_cost start
[2025-01-10 00:05:12] Production.INFO: call_cost end
[2025-01-10 00:05:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 00:05:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 00:05:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 00:05:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 00:05:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 00:05:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 00:05:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 00:05:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 00:05:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 00:05:13] Production.INFO: ==19696== Releasing lock...
[2025-01-10 00:05:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 00:05:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 00:05:17] Production.INFO: count ==113
[2025-01-10 00:05:17] Production.ERROR: pbx CDR StartTime 2025-01-09 21:05:04 - End Time 2025-01-10 00:05:04
[2025-01-10 00:05:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 00:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213127', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213127', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213127', 'tblTempVendorCDR_20' ) start
[2025-01-10 00:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213127', 'tblTempVendorCDR_20' ) end
[2025-01-10 00:05:17] Production.INFO: ProcessCDR(1,14213127,1,1,2)
[2025-01-10 00:05:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213127,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:05:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213127,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:05:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213127,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:05:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213127,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:05:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213127', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:05:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213127', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:05:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:05:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:05:20] Production.INFO: ==19704== Releasing lock...
[2025-01-10 00:05:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 00:05:20] Production.INFO: 29.5 MB #Memory Used#
[2025-01-10 05:06:02] Production.INFO: ==19764== Lock acquired, processing the job...
[2025-01-10 05:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 05:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 05:06:02] Production.INFO: neon service started
[2025-01-10 05:06:02] Production.INFO: neon service started
[2025-01-10 05:06:02] Production.INFO: ==19764== Releasing lock...
[2025-01-10 05:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 05:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:06:02] Production.INFO: ==19766== Lock acquired, processing the job...
[2025-01-10 00:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:06:02] Production.INFO: ==19768== Lock acquired, processing the job...
[2025-01-10 05:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 05:06:02] Production.INFO: ==19768== Releasing lock...
[2025-01-10 05:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 05:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 00:06:03] Production.INFO: ==19766== Releasing lock...
[2025-01-10 00:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 00:06:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 00:06:03] Production.INFO: ==19771== Lock acquired, processing the job...
[2025-01-10 00:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 00:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 00:06:03] Production.INFO: ==19773== Lock acquired, processing the job...
[2025-01-10 00:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 00:06:03] Production.INFO: ==19775== Lock acquired, processing the job...
[2025-01-10 00:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 00:06:03] Production.INFO: ==19777== Lock acquired, processing the job...
[2025-01-10 00:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 00:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 00:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 00:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 00:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 00:06:04] Production.INFO: ==19779== Lock acquired, processing the job...
[2025-01-10 00:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 00:06:04] Production.INFO: Account Balance Start.
[2025-01-10 00:06:04] Production.INFO: CreateAllLog Start
[2025-01-10 00:06:04] Production.INFO: 117
[2025-01-10 00:06:04] Production.INFO: Date 2025-01-08
[2025-01-10 00:06:04] Production.INFO: ==19781== Lock acquired, processing the job...
[2025-01-10 00:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 00:06:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:06:04] Production.INFO: ==19773== Releasing lock...
[2025-01-10 00:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 00:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 00:06:04] Production.INFO: Date 2025-01-09
[2025-01-10 00:06:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:06:04] Production.INFO: Date 2025-01-10
[2025-01-10 00:06:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:06:04] Production.INFO: Total Charge 0
[2025-01-10 00:06:04] Production.INFO: CreateAllLog End
[2025-01-10 00:06:04] Production.INFO: count ==21
[2025-01-10 00:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:06:04] Production.INFO: count ==21
[2025-01-10 00:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213131') start
[2025-01-10 00:06:04] Production.ERROR: done
[2025-01-10 00:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 00:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213131') end
[2025-01-10 00:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 00:06:04] Production.INFO: 1
[2025-01-10 00:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 00:06:04] Production.INFO: Account Balance End.
[2025-01-10 00:06:04] Production.INFO: ==19781== Releasing lock...
[2025-01-10 00:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 00:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 00:06:04] Production.ERROR: done
[2025-01-10 00:06:04] Production.ERROR: CronJobId end 12
[2025-01-10 00:06:04] Production.INFO: ==19777== Releasing lock...
[2025-01-10 00:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 00:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 00:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 21:06:05
[end_date_ymd] => 2025-01-10 00:06:05
[RateCDR] => 1
)
[2025-01-10 00:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 21:06:05' and `end` < '2025-01-10 00:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 00:06:11] Production.ERROR: CronJobId end10
[2025-01-10 00:06:11] Production.INFO: ==19775== Releasing lock...
[2025-01-10 00:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 00:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 00:06:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 00:06:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 00:06:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 00:06:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 00:06:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 00:06:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 00:06:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 00:06:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 00:06:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 00:06:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 00:06:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 00:06:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 00:06:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 00:06:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 00:06:13] Production.INFO: call_cost start
[2025-01-10 00:06:13] Production.INFO: call_cost end
[2025-01-10 00:06:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 00:06:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 00:06:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 00:06:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 00:06:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 00:06:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 00:06:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 00:06:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 00:06:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 00:06:14] Production.INFO: ==19771== Releasing lock...
[2025-01-10 00:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 00:06:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 00:06:19] Production.INFO: count ==111
[2025-01-10 00:06:19] Production.ERROR: pbx CDR StartTime 2025-01-09 21:06:05 - End Time 2025-01-10 00:06:05
[2025-01-10 00:06:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 00:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213132', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213132', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213132', 'tblTempVendorCDR_20' ) start
[2025-01-10 00:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213132', 'tblTempVendorCDR_20' ) end
[2025-01-10 00:06:19] Production.INFO: ProcessCDR(1,14213132,1,1,2)
[2025-01-10 00:06:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213132,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:06:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213132,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:06:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213132,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213132,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213132', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213132', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:06:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:06:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:06:22] Production.INFO: ==19779== Releasing lock...
[2025-01-10 00:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 00:06:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-10 05:07:02] Production.INFO: ==19834== Lock acquired, processing the job...
[2025-01-10 05:07:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 05:07:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 05:07:02] Production.INFO: neon service started
[2025-01-10 05:07:02] Production.INFO: neon service started
[2025-01-10 05:07:02] Production.INFO: ==19834== Releasing lock...
[2025-01-10 05:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 05:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:07:02] Production.INFO: ==19836== Lock acquired, processing the job...
[2025-01-10 00:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:07:02] Production.INFO: ==19838== Lock acquired, processing the job...
[2025-01-10 05:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 05:07:02] Production.INFO: ==19838== Releasing lock...
[2025-01-10 05:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 05:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 00:07:03] Production.INFO: ==19836== Releasing lock...
[2025-01-10 00:07:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 00:07:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 00:07:04] Production.INFO: ==19841== Lock acquired, processing the job...
[2025-01-10 00:07:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 00:07:04] Production.INFO: ==19845== Lock acquired, processing the job...
[2025-01-10 00:07:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 00:07:04] Production.INFO: ==19843== Lock acquired, processing the job...
[2025-01-10 00:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 00:07:04] Production.INFO: ==19849== Lock acquired, processing the job...
[2025-01-10 00:07:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 00:07:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 00:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 00:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 00:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 00:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 00:07:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:07:04] Production.INFO: ==19851== Lock acquired, processing the job...
[2025-01-10 00:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 00:07:04] Production.INFO: ==19847== Lock acquired, processing the job...
[2025-01-10 00:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 00:07:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:07:04] Production.INFO: Account Balance Start.
[2025-01-10 00:07:04] Production.INFO: CreateAllLog Start
[2025-01-10 00:07:04] Production.INFO: 117
[2025-01-10 00:07:04] Production.INFO: Date 2025-01-08
[2025-01-10 00:07:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:07:04] Production.INFO: count ==21
[2025-01-10 00:07:04] Production.ERROR: done
[2025-01-10 00:07:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:07:04] Production.INFO: count ==21
[2025-01-10 00:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 00:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213135') start
[2025-01-10 00:07:04] Production.INFO: ==19843== Releasing lock...
[2025-01-10 00:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 00:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 00:07:04] Production.INFO: Date 2025-01-09
[2025-01-10 00:07:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:07:04] Production.INFO: Date 2025-01-10
[2025-01-10 00:07:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:07:04] Production.INFO: Total Charge 0
[2025-01-10 00:07:04] Production.INFO: CreateAllLog End
[2025-01-10 00:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213135') end
[2025-01-10 00:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 00:07:04] Production.INFO: 1
[2025-01-10 00:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 00:07:04] Production.ERROR: done
[2025-01-10 00:07:04] Production.INFO: ==19851== Releasing lock...
[2025-01-10 00:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 00:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 00:07:05] Production.INFO: Account Balance End.
[2025-01-10 00:07:05] Production.ERROR: CronJobId end 12
[2025-01-10 00:07:05] Production.INFO: ==19847== Releasing lock...
[2025-01-10 00:07:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 00:07:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 00:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 21:07:05
[end_date_ymd] => 2025-01-10 00:07:05
[RateCDR] => 1
)
[2025-01-10 00:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 21:07:05' and `end` < '2025-01-10 00:07:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 00:07:11] Production.ERROR: CronJobId end10
[2025-01-10 00:07:11] Production.INFO: ==19845== Releasing lock...
[2025-01-10 00:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 00:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 00:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 00:07:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 00:07:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 00:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 00:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 00:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 00:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 00:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 00:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 00:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 00:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 00:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 00:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 00:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 00:07:13] Production.INFO: call_cost start
[2025-01-10 00:07:13] Production.INFO: call_cost end
[2025-01-10 00:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 00:07:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 00:07:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 00:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 00:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 00:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 00:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 00:07:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 00:07:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 00:07:14] Production.INFO: ==19841== Releasing lock...
[2025-01-10 00:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 00:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 00:07:19] Production.INFO: count ==111
[2025-01-10 00:07:19] Production.ERROR: pbx CDR StartTime 2025-01-09 21:07:05 - End Time 2025-01-10 00:07:05
[2025-01-10 00:07:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 00:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213137', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213137', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213137', 'tblTempVendorCDR_20' ) start
[2025-01-10 00:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213137', 'tblTempVendorCDR_20' ) end
[2025-01-10 00:07:19] Production.INFO: ProcessCDR(1,14213137,1,1,2)
[2025-01-10 00:07:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213137,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:07:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213137,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:07:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213137,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:07:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213137,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213137', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213137', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:07:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:07:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:07:22] Production.INFO: ==19849== Releasing lock...
[2025-01-10 00:07:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 00:07:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-10 05:08:01] Production.INFO: ==19906== Lock acquired, processing the job...
[2025-01-10 05:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 05:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 05:08:01] Production.INFO: neon service started
[2025-01-10 05:08:01] Production.INFO: neon service started
[2025-01-10 05:08:01] Production.INFO: ==19906== Releasing lock...
[2025-01-10 05:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 05:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:08:01] Production.INFO: ==19908== Lock acquired, processing the job...
[2025-01-10 00:08:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 00:08:02] Production.INFO: ==19908== Releasing lock...
[2025-01-10 00:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 00:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 05:08:02] Production.INFO: ==19910== Lock acquired, processing the job...
[2025-01-10 05:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 05:08:02] Production.INFO: ==19910== Releasing lock...
[2025-01-10 05:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 05:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 00:08:03] Production.INFO: ==19917== Lock acquired, processing the job...
[2025-01-10 00:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 00:08:03] Production.INFO: ==19921== Lock acquired, processing the job...
[2025-01-10 00:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 00:08:03] Production.INFO: ==19913== Lock acquired, processing the job...
[2025-01-10 00:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 00:08:03] Production.INFO: ==19915== Lock acquired, processing the job...
[2025-01-10 00:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 00:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 00:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:08:03] Production.INFO: ==19919== Lock acquired, processing the job...
[2025-01-10 00:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 00:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 00:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 00:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 00:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 00:08:03] Production.INFO: ==19923== Lock acquired, processing the job...
[2025-01-10 00:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 00:08:03] Production.INFO: Account Balance Start.
[2025-01-10 00:08:03] Production.INFO: CreateAllLog Start
[2025-01-10 00:08:03] Production.INFO: 117
[2025-01-10 00:08:03] Production.INFO: Date 2025-01-08
[2025-01-10 00:08:03] Production.ERROR: done
[2025-01-10 00:08:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:08:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 00:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:08:03] Production.INFO: Date 2025-01-09
[2025-01-10 00:08:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:08:03] Production.INFO: ==19915== Releasing lock...
[2025-01-10 00:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 00:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 00:08:03] Production.INFO: Date 2025-01-10
[2025-01-10 00:08:03] Production.INFO: count ==21
[2025-01-10 00:08:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:08:03] Production.ERROR: done
[2025-01-10 00:08:03] Production.INFO: Total Charge 0
[2025-01-10 00:08:03] Production.INFO: count ==21
[2025-01-10 00:08:03] Production.INFO: CreateAllLog End
[2025-01-10 00:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213141') start
[2025-01-10 00:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213141') end
[2025-01-10 00:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 00:08:04] Production.INFO: 1
[2025-01-10 00:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 00:08:04] Production.INFO: ==19923== Releasing lock...
[2025-01-10 00:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 00:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 00:08:04] Production.INFO: Account Balance End.
[2025-01-10 00:08:04] Production.ERROR: CronJobId end 12
[2025-01-10 00:08:04] Production.INFO: ==19919== Releasing lock...
[2025-01-10 00:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 00:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 00:08:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 21:08:04
[end_date_ymd] => 2025-01-10 00:08:04
[RateCDR] => 1
)
[2025-01-10 00:08:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 21:08:04' and `end` < '2025-01-10 00:08:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 00:08:10] Production.ERROR: CronJobId end10
[2025-01-10 00:08:10] Production.INFO: ==19917== Releasing lock...
[2025-01-10 00:08:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 00:08:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 00:08:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 00:08:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 00:08:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 00:08:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 00:08:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 00:08:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 00:08:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 00:08:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 00:08:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 00:08:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 00:08:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 00:08:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 00:08:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 00:08:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 00:08:12] Production.INFO: call_cost start
[2025-01-10 00:08:12] Production.INFO: call_cost end
[2025-01-10 00:08:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 00:08:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 00:08:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 00:08:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 00:08:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 00:08:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 00:08:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 00:08:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 00:08:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 00:08:13] Production.INFO: ==19913== Releasing lock...
[2025-01-10 00:08:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 00:08:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 00:08:17] Production.INFO: count ==110
[2025-01-10 00:08:18] Production.ERROR: pbx CDR StartTime 2025-01-09 21:08:04 - End Time 2025-01-10 00:08:04
[2025-01-10 00:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 00:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213142', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213142', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213142', 'tblTempVendorCDR_20' ) start
[2025-01-10 00:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213142', 'tblTempVendorCDR_20' ) end
[2025-01-10 00:08:18] Production.INFO: ProcessCDR(1,14213142,1,1,2)
[2025-01-10 00:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213142,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:08:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213142,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:08:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213142,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:08:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213142,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213142', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213142', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:08:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:08:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:08:22] Production.INFO: ==19921== Releasing lock...
[2025-01-10 00:08:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 00:08:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-10 05:09:01] Production.INFO: ==19980== Lock acquired, processing the job...
[2025-01-10 05:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 05:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 05:09:01] Production.INFO: neon service started
[2025-01-10 05:09:01] Production.INFO: neon service started
[2025-01-10 05:09:01] Production.INFO: ==19980== Releasing lock...
[2025-01-10 05:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 05:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:09:02] Production.INFO: ==19982== Lock acquired, processing the job...
[2025-01-10 00:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 00:09:02] Production.INFO: ==19982== Releasing lock...
[2025-01-10 00:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 00:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 05:09:02] Production.INFO: ==19984== Lock acquired, processing the job...
[2025-01-10 05:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 05:09:02] Production.INFO: ==19984== Releasing lock...
[2025-01-10 05:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 05:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 00:09:03] Production.INFO: ==19987== Lock acquired, processing the job...
[2025-01-10 00:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 00:09:03] Production.INFO: ==19991== Lock acquired, processing the job...
[2025-01-10 00:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 00:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 00:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 00:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 00:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 00:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 00:09:03] Production.INFO: ==19995== Lock acquired, processing the job...
[2025-01-10 00:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 00:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:09:03] Production.INFO: ==19989== Lock acquired, processing the job...
[2025-01-10 00:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 00:09:03] Production.INFO: ==19993== Lock acquired, processing the job...
[2025-01-10 00:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 00:09:03] Production.INFO: ==19997== Lock acquired, processing the job...
[2025-01-10 00:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 00:09:03] Production.INFO: Account Balance Start.
[2025-01-10 00:09:03] Production.INFO: CreateAllLog Start
[2025-01-10 00:09:03] Production.INFO: 117
[2025-01-10 00:09:03] Production.INFO: Date 2025-01-08
[2025-01-10 00:09:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:09:03] Production.ERROR: done
[2025-01-10 00:09:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 00:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:09:03] Production.INFO: Date 2025-01-09
[2025-01-10 00:09:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:09:03] Production.INFO: count ==21
[2025-01-10 00:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:09:04] Production.INFO: count ==21
[2025-01-10 00:09:04] Production.INFO: Date 2025-01-10
[2025-01-10 00:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213146') start
[2025-01-10 00:09:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:09:04] Production.ERROR: done
[2025-01-10 00:09:04] Production.INFO: Total Charge 0
[2025-01-10 00:09:04] Production.INFO: CreateAllLog End
[2025-01-10 00:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213146') end
[2025-01-10 00:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 00:09:04] Production.INFO: 1
[2025-01-10 00:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 00:09:04] Production.INFO: ==19997== Releasing lock...
[2025-01-10 00:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 00:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 00:09:04] Production.INFO: Account Balance End.
[2025-01-10 00:09:04] Production.INFO: ==19989== Releasing lock...
[2025-01-10 00:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 00:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 00:09:04] Production.ERROR: CronJobId end 12
[2025-01-10 00:09:04] Production.INFO: ==19993== Releasing lock...
[2025-01-10 00:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 00:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 00:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 21:09:05
[end_date_ymd] => 2025-01-10 00:09:05
[RateCDR] => 1
)
[2025-01-10 00:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 21:09:05' and `end` < '2025-01-10 00:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 00:09:10] Production.ERROR: CronJobId end10
[2025-01-10 00:09:10] Production.INFO: ==19991== Releasing lock...
[2025-01-10 00:09:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 00:09:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 00:09:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 00:09:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 00:09:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 00:09:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 00:09:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 00:09:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 00:09:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 00:09:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 00:09:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 00:09:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 00:09:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 00:09:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 00:09:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 00:09:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 00:09:12] Production.INFO: call_cost start
[2025-01-10 00:09:12] Production.INFO: call_cost end
[2025-01-10 00:09:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 00:09:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 00:09:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 00:09:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 00:09:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 00:09:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 00:09:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 00:09:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 00:09:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 00:09:13] Production.INFO: ==19987== Releasing lock...
[2025-01-10 00:09:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 00:09:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 00:09:18] Production.INFO: count ==111
[2025-01-10 00:09:18] Production.ERROR: pbx CDR StartTime 2025-01-09 21:09:05 - End Time 2025-01-10 00:09:05
[2025-01-10 00:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 00:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213147', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213147', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213147', 'tblTempVendorCDR_20' ) start
[2025-01-10 00:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213147', 'tblTempVendorCDR_20' ) end
[2025-01-10 00:09:18] Production.INFO: ProcessCDR(1,14213147,1,1,2)
[2025-01-10 00:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213147,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:09:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213147,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:09:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213147,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:09:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213147,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213147', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213147', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:09:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:09:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:09:22] Production.INFO: ==19995== Releasing lock...
[2025-01-10 00:09:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 00:09:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-10 05:10:01] Production.INFO: ==20050== Lock acquired, processing the job...
[2025-01-10 05:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 05:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 05:10:01] Production.INFO: neon service started
[2025-01-10 05:10:01] Production.INFO: neon service started
[2025-01-10 05:10:01] Production.INFO: ==20050== Releasing lock...
[2025-01-10 05:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 05:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 05:10:01] Production.INFO: ==20054== Lock acquired, processing the job...
[2025-01-10 05:10:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 05:10:01] Production.INFO: ==20054== Releasing lock...
[2025-01-10 05:10:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 05:10:01] Production.INFO: 25 MB #Memory Used#
[2025-01-10 00:10:01] Production.INFO: ==20052== Lock acquired, processing the job...
[2025-01-10 00:10:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 00:10:02] Production.INFO: ==20052== Releasing lock...
[2025-01-10 00:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 00:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 00:10:03] Production.INFO: ==20057== Lock acquired, processing the job...
[2025-01-10 00:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 00:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 00:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 00:10:03] Production.INFO: ==20057== Releasing lock...
[2025-01-10 00:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 00:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 00:10:03] Production.INFO: ==20059== Lock acquired, processing the job...
[2025-01-10 00:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 00:10:03] Production.INFO: ==20065== Lock acquired, processing the job...
[2025-01-10 00:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 00:10:03] Production.INFO: Account Balance Start.
[2025-01-10 00:10:03] Production.INFO: CreateAllLog Start
[2025-01-10 00:10:03] Production.INFO: 117
[2025-01-10 00:10:03] Production.INFO: ==20061== Lock acquired, processing the job...
[2025-01-10 00:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 00:10:03] Production.INFO: Date 2025-01-08
[2025-01-10 00:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 00:10:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:10:03] Production.INFO: ==20071== Lock acquired, processing the job...
[2025-01-10 00:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 00:10:03] Production.INFO: Date 2025-01-09
[2025-01-10 00:10:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:10:03] Production.INFO: ==20063== Lock acquired, processing the job...
[2025-01-10 00:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 00:10:03] Production.INFO: Date 2025-01-10
[2025-01-10 00:10:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:10:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:10:03] Production.INFO: ==20067== Lock acquired, processing the job...
[2025-01-10 00:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 00:10:03] Production.INFO: Total Charge 0
[2025-01-10 00:10:03] Production.INFO: CreateAllLog End
[2025-01-10 00:10:03] Production.INFO: ==20069== Lock acquired, processing the job...
[2025-01-10 00:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 00:10:03] Production.INFO: count ==21
[2025-01-10 00:10:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:10:03] Production.INFO: count ==21
[2025-01-10 00:10:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213151') start
[2025-01-10 00:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 00:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 00:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 00:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 00:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:10:03] Production.INFO: ==20061== Releasing lock...
[2025-01-10 00:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 00:10:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 00:10:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213151') end
[2025-01-10 00:10:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 00:10:03] Production.INFO: 1
[2025-01-10 00:10:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 00:10:03] Production.INFO: Account Balance End.
[2025-01-10 00:10:03] Production.INFO: ==20071== Releasing lock...
[2025-01-10 00:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 00:10:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 00:10:04] Production.ERROR: CronJobId end 12
[2025-01-10 00:10:04] Production.INFO: ==20065== Releasing lock...
[2025-01-10 00:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 00:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 00:10:04] Production.ERROR: done
[2025-01-10 00:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 00:10:04] Production.ERROR: done
[2025-01-10 00:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 00:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14213152', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 00:10:04] Production.ERROR: done
[2025-01-10 00:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 21:10:05
[end_date_ymd] => 2025-01-10 00:10:05
[RateCDR] => 1
)
[2025-01-10 00:10:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 21:10:05' and `end` < '2025-01-10 00:10:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 00:10:07] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14213152', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 00:10:07] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 00:10:07] Production.INFO: ProcessCDR(1,14213152,1,1,2)
[2025-01-10 00:10:07] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14213152,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:10:07] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14213152,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:10:07] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:10:07] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:10:07] Production.INFO: ==20069== Releasing lock...
[2025-01-10 00:10:07] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 00:10:07] Production.INFO: 26 MB #Memory Used#
[2025-01-10 00:10:11] Production.ERROR: CronJobId end10
[2025-01-10 00:10:11] Production.INFO: ==20063== Releasing lock...
[2025-01-10 00:10:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 00:10:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 00:10:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 00:10:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 00:10:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 00:10:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 00:10:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 00:10:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 00:10:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 00:10:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 00:10:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 00:10:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 00:10:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 00:10:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 00:10:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 00:10:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 00:10:13] Production.INFO: call_cost start
[2025-01-10 00:10:13] Production.INFO: call_cost end
[2025-01-10 00:10:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 00:10:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 00:10:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 00:10:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 00:10:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 00:10:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 00:10:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 00:10:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 00:10:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 00:10:14] Production.INFO: ==20059== Releasing lock...
[2025-01-10 00:10:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 00:10:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 00:10:18] Production.INFO: count ==116
[2025-01-10 00:10:18] Production.ERROR: pbx CDR StartTime 2025-01-09 21:10:05 - End Time 2025-01-10 00:10:05
[2025-01-10 00:10:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 00:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213153', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213153', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213153', 'tblTempVendorCDR_20' ) start
[2025-01-10 00:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213153', 'tblTempVendorCDR_20' ) end
[2025-01-10 00:10:18] Production.INFO: ProcessCDR(1,14213153,1,1,2)
[2025-01-10 00:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213153,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:10:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213153,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:10:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213153,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:10:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213153,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213153', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213153', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:10:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:10:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:10:21] Production.INFO: ==20067== Releasing lock...
[2025-01-10 00:10:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 00:10:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-10 05:11:01] Production.INFO: ==20131== Lock acquired, processing the job...
[2025-01-10 05:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 05:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 05:11:01] Production.INFO: neon service started
[2025-01-10 05:11:01] Production.INFO: neon service started
[2025-01-10 05:11:01] Production.INFO: ==20131== Releasing lock...
[2025-01-10 05:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 05:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:11:02] Production.INFO: ==20133== Lock acquired, processing the job...
[2025-01-10 00:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:11:02] Production.INFO: ==20135== Lock acquired, processing the job...
[2025-01-10 05:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 05:11:02] Production.INFO: ==20135== Releasing lock...
[2025-01-10 05:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 05:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 00:11:02] Production.INFO: ==20133== Releasing lock...
[2025-01-10 00:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 00:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 00:11:03] Production.INFO: ==20140== Lock acquired, processing the job...
[2025-01-10 00:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 00:11:03] Production.INFO: ==20148== Lock acquired, processing the job...
[2025-01-10 00:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 00:11:03] Production.INFO: ==20140== Releasing lock...
[2025-01-10 00:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 00:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 00:11:03] Production.INFO: ==20138== Lock acquired, processing the job...
[2025-01-10 00:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 00:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 00:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:11:03] Production.INFO: ==20142== Lock acquired, processing the job...
[2025-01-10 00:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 00:11:03] Production.INFO: count ==21
[2025-01-10 00:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:11:03] Production.INFO: count ==21
[2025-01-10 00:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213155') start
[2025-01-10 00:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 00:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 00:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 00:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 00:11:03] Production.INFO: ==20144== Lock acquired, processing the job...
[2025-01-10 00:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 00:11:03] Production.INFO: ==20146== Lock acquired, processing the job...
[2025-01-10 00:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 00:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213155') end
[2025-01-10 00:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 00:11:03] Production.INFO: 1
[2025-01-10 00:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 00:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:11:03] Production.INFO: Account Balance Start.
[2025-01-10 00:11:03] Production.INFO: CreateAllLog Start
[2025-01-10 00:11:03] Production.INFO: 117
[2025-01-10 00:11:03] Production.INFO: Date 2025-01-08
[2025-01-10 00:11:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:11:04] Production.INFO: ==20148== Releasing lock...
[2025-01-10 00:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 00:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 00:11:04] Production.INFO: Date 2025-01-09
[2025-01-10 00:11:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:11:04] Production.INFO: Date 2025-01-10
[2025-01-10 00:11:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:11:04] Production.ERROR: done
[2025-01-10 00:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 00:11:04] Production.INFO: Total Charge 0
[2025-01-10 00:11:04] Production.INFO: CreateAllLog End
[2025-01-10 00:11:04] Production.ERROR: done
[2025-01-10 00:11:04] Production.INFO: Account Balance End.
[2025-01-10 00:11:04] Production.ERROR: CronJobId end 12
[2025-01-10 00:11:04] Production.INFO: ==20144== Releasing lock...
[2025-01-10 00:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 00:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 00:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 21:11:05
[end_date_ymd] => 2025-01-10 00:11:05
[RateCDR] => 1
)
[2025-01-10 00:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 21:11:05' and `end` < '2025-01-10 00:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 00:11:10] Production.ERROR: CronJobId end10
[2025-01-10 00:11:10] Production.INFO: ==20142== Releasing lock...
[2025-01-10 00:11:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 00:11:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 00:11:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 00:11:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 00:11:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 00:11:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 00:11:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 00:11:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 00:11:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 00:11:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 00:11:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 00:11:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 00:11:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 00:11:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 00:11:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 00:11:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 00:11:12] Production.INFO: call_cost start
[2025-01-10 00:11:12] Production.INFO: call_cost end
[2025-01-10 00:11:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 00:11:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 00:11:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 00:11:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 00:11:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 00:11:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 00:11:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 00:11:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 00:11:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 00:11:13] Production.INFO: ==20138== Releasing lock...
[2025-01-10 00:11:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 00:11:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 00:11:18] Production.INFO: count ==138
[2025-01-10 00:11:19] Production.ERROR: pbx CDR StartTime 2025-01-09 21:11:05 - End Time 2025-01-10 00:11:05
[2025-01-10 00:11:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 00:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213158', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213158', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213158', 'tblTempVendorCDR_20' ) start
[2025-01-10 00:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213158', 'tblTempVendorCDR_20' ) end
[2025-01-10 00:11:19] Production.INFO: ProcessCDR(1,14213158,1,1,2)
[2025-01-10 00:11:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213158,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:11:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213158,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:11:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213158,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:11:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213158,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213158', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213158', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:11:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:11:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:11:22] Production.INFO: ==20146== Releasing lock...
[2025-01-10 00:11:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 00:11:22] Production.INFO: 29.5 MB #Memory Used#
[2025-01-10 05:12:02] Production.INFO: ==20211== Lock acquired, processing the job...
[2025-01-10 05:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 05:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 05:12:02] Production.INFO: neon service started
[2025-01-10 05:12:02] Production.INFO: neon service started
[2025-01-10 05:12:02] Production.INFO: ==20211== Releasing lock...
[2025-01-10 05:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 05:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:12:02] Production.INFO: ==20215== Lock acquired, processing the job...
[2025-01-10 00:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:12:02] Production.INFO: ==20217== Lock acquired, processing the job...
[2025-01-10 05:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 00:12:02] Production.INFO: ==20215== Releasing lock...
[2025-01-10 00:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 00:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 05:12:02] Production.INFO: ==20217== Releasing lock...
[2025-01-10 05:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 05:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 00:12:03] Production.INFO: ==20228== Lock acquired, processing the job...
[2025-01-10 00:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 00:12:03] Production.INFO: ==20224== Lock acquired, processing the job...
[2025-01-10 00:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 00:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:12:03] Production.INFO: ==20220== Lock acquired, processing the job...
[2025-01-10 00:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 00:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 00:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 00:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 00:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 00:12:03] Production.INFO: ==20222== Lock acquired, processing the job...
[2025-01-10 00:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 00:12:03] Production.INFO: ==20226== Lock acquired, processing the job...
[2025-01-10 00:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 00:12:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 00:12:04] Production.INFO: ==20230== Lock acquired, processing the job...
[2025-01-10 00:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 00:12:04] Production.INFO: Account Balance Start.
[2025-01-10 00:12:04] Production.INFO: CreateAllLog Start
[2025-01-10 00:12:04] Production.ERROR: done
[2025-01-10 00:12:04] Production.INFO: 117
[2025-01-10 00:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 00:12:04] Production.INFO: Date 2025-01-08
[2025-01-10 00:12:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:12:04] Production.ERROR: done
[2025-01-10 00:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:12:04] Production.INFO: count ==21
[2025-01-10 00:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:12:04] Production.INFO: count ==21
[2025-01-10 00:12:04] Production.INFO: Date 2025-01-09
[2025-01-10 00:12:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213162') start
[2025-01-10 00:12:04] Production.INFO: ==20222== Releasing lock...
[2025-01-10 00:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 00:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 00:12:04] Production.INFO: Date 2025-01-10
[2025-01-10 00:12:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213162') end
[2025-01-10 00:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 00:12:04] Production.INFO: 1
[2025-01-10 00:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 00:12:04] Production.INFO: Total Charge 0
[2025-01-10 00:12:04] Production.INFO: CreateAllLog End
[2025-01-10 00:12:04] Production.INFO: ==20230== Releasing lock...
[2025-01-10 00:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 00:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 00:12:04] Production.INFO: Account Balance End.
[2025-01-10 00:12:04] Production.ERROR: CronJobId end 12
[2025-01-10 00:12:04] Production.INFO: ==20226== Releasing lock...
[2025-01-10 00:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 00:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 00:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 21:12:05
[end_date_ymd] => 2025-01-10 00:12:05
[RateCDR] => 1
)
[2025-01-10 00:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 21:12:05' and `end` < '2025-01-10 00:12:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 00:12:12] Production.ERROR: CronJobId end10
[2025-01-10 00:12:12] Production.INFO: ==20224== Releasing lock...
[2025-01-10 00:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 00:12:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 00:12:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 00:12:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 00:12:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 00:12:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 00:12:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 00:12:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 00:12:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 00:12:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 00:12:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 00:12:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 00:12:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 00:12:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 00:12:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 00:12:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 00:12:14] Production.INFO: call_cost start
[2025-01-10 00:12:14] Production.INFO: call_cost end
[2025-01-10 00:12:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 00:12:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 00:12:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 00:12:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 00:12:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 00:12:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 00:12:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 00:12:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 00:12:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 00:12:15] Production.INFO: ==20220== Releasing lock...
[2025-01-10 00:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 00:12:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 00:12:23] Production.INFO: count ==135
[2025-01-10 00:12:23] Production.ERROR: pbx CDR StartTime 2025-01-09 21:12:05 - End Time 2025-01-10 00:12:05
[2025-01-10 00:12:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 00:12:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213163', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:12:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213163', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:12:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213163', 'tblTempVendorCDR_20' ) start
[2025-01-10 00:12:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213163', 'tblTempVendorCDR_20' ) end
[2025-01-10 00:12:23] Production.INFO: ProcessCDR(1,14213163,1,1,2)
[2025-01-10 00:12:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213163,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:12:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213163,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:12:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213163,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:12:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213163,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:12:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213163', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:12:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213163', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:12:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:12:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:12:26] Production.INFO: ==20228== Releasing lock...
[2025-01-10 00:12:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 00:12:26] Production.INFO: 29.5 MB #Memory Used#
[2025-01-10 05:13:01] Production.INFO: ==20297== Lock acquired, processing the job...
[2025-01-10 05:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 05:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 05:13:01] Production.INFO: neon service started
[2025-01-10 05:13:01] Production.INFO: neon service started
[2025-01-10 05:13:01] Production.INFO: ==20297== Releasing lock...
[2025-01-10 05:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 05:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:13:01] Production.INFO: ==20299== Lock acquired, processing the job...
[2025-01-10 00:13:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 00:13:02] Production.INFO: ==20299== Releasing lock...
[2025-01-10 00:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 00:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 05:13:02] Production.INFO: ==20301== Lock acquired, processing the job...
[2025-01-10 05:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 05:13:02] Production.INFO: ==20301== Releasing lock...
[2025-01-10 05:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 05:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 00:13:03] Production.INFO: ==20306== Lock acquired, processing the job...
[2025-01-10 00:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 00:13:03] Production.INFO: ==20304== Lock acquired, processing the job...
[2025-01-10 00:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 00:13:03] Production.INFO: ==20314== Lock acquired, processing the job...
[2025-01-10 00:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 00:13:03] Production.INFO: ==20308== Lock acquired, processing the job...
[2025-01-10 00:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 00:13:03] Production.INFO: ==20310== Lock acquired, processing the job...
[2025-01-10 00:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 00:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:13:03] Production.INFO: ==20312== Lock acquired, processing the job...
[2025-01-10 00:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 00:13:03] Production.INFO: count ==21
[2025-01-10 00:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:13:03] Production.INFO: count ==21
[2025-01-10 00:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 00:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 00:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 00:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 00:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213165') start
[2025-01-10 00:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 00:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:13:03] Production.INFO: ==20306== Releasing lock...
[2025-01-10 00:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 00:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 00:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213165') end
[2025-01-10 00:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 00:13:03] Production.INFO: 1
[2025-01-10 00:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 00:13:03] Production.INFO: Account Balance Start.
[2025-01-10 00:13:03] Production.INFO: CreateAllLog Start
[2025-01-10 00:13:03] Production.INFO: 117
[2025-01-10 00:13:03] Production.INFO: Date 2025-01-08
[2025-01-10 00:13:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:13:03] Production.INFO: ==20314== Releasing lock...
[2025-01-10 00:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 00:13:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 00:13:03] Production.INFO: Date 2025-01-09
[2025-01-10 00:13:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:13:03] Production.INFO: Date 2025-01-10
[2025-01-10 00:13:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:13:03] Production.INFO: Total Charge 0
[2025-01-10 00:13:03] Production.INFO: CreateAllLog End
[2025-01-10 00:13:03] Production.ERROR: done
[2025-01-10 00:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 00:13:03] Production.INFO: Account Balance End.
[2025-01-10 00:13:03] Production.ERROR: CronJobId end 12
[2025-01-10 00:13:03] Production.INFO: ==20310== Releasing lock...
[2025-01-10 00:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 00:13:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 00:13:03] Production.ERROR: done
[2025-01-10 00:13:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 21:13:04
[end_date_ymd] => 2025-01-10 00:13:04
[RateCDR] => 1
)
[2025-01-10 00:13:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 21:13:04' and `end` < '2025-01-10 00:13:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 00:13:10] Production.ERROR: CronJobId end10
[2025-01-10 00:13:10] Production.INFO: ==20308== Releasing lock...
[2025-01-10 00:13:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 00:13:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 00:13:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 00:13:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 00:13:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 00:13:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 00:13:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 00:13:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 00:13:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 00:13:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 00:13:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 00:13:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 00:13:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 00:13:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 00:13:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 00:13:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 00:13:12] Production.INFO: call_cost start
[2025-01-10 00:13:12] Production.INFO: call_cost end
[2025-01-10 00:13:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 00:13:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 00:13:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 00:13:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 00:13:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 00:13:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 00:13:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 00:13:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 00:13:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 00:13:13] Production.INFO: ==20304== Releasing lock...
[2025-01-10 00:13:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 00:13:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 00:13:18] Production.INFO: count ==135
[2025-01-10 00:13:18] Production.ERROR: pbx CDR StartTime 2025-01-09 21:13:04 - End Time 2025-01-10 00:13:04
[2025-01-10 00:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 00:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213168', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213168', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213168', 'tblTempVendorCDR_20' ) start
[2025-01-10 00:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213168', 'tblTempVendorCDR_20' ) end
[2025-01-10 00:13:18] Production.INFO: ProcessCDR(1,14213168,1,1,2)
[2025-01-10 00:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213168,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213168,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213168,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213168,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213168', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213168', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:13:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:13:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:13:21] Production.INFO: ==20312== Releasing lock...
[2025-01-10 00:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 00:13:21] Production.INFO: 29.5 MB #Memory Used#
[2025-01-10 05:14:02] Production.INFO: ==20377== Lock acquired, processing the job...
[2025-01-10 05:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 05:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 05:14:02] Production.INFO: neon service started
[2025-01-10 05:14:02] Production.INFO: neon service started
[2025-01-10 05:14:02] Production.INFO: ==20377== Releasing lock...
[2025-01-10 05:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 05:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 05:14:02] Production.INFO: ==20381== Lock acquired, processing the job...
[2025-01-10 05:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 05:14:02] Production.INFO: ==20381== Releasing lock...
[2025-01-10 05:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 05:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 00:14:02] Production.INFO: ==20379== Lock acquired, processing the job...
[2025-01-10 00:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 00:14:03] Production.INFO: ==20379== Releasing lock...
[2025-01-10 00:14:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 00:14:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 00:14:04] Production.INFO: ==20390== Lock acquired, processing the job...
[2025-01-10 00:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 00:14:04] Production.INFO: ==20394== Lock acquired, processing the job...
[2025-01-10 00:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 00:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:14:04] Production.INFO: Account Balance Start.
[2025-01-10 00:14:04] Production.INFO: CreateAllLog Start
[2025-01-10 00:14:04] Production.INFO: 117
[2025-01-10 00:14:04] Production.INFO: Date 2025-01-08
[2025-01-10 00:14:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:14:04] Production.INFO: Date 2025-01-09
[2025-01-10 00:14:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:14:04] Production.INFO: Date 2025-01-10
[2025-01-10 00:14:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:14:04] Production.INFO: Total Charge 0
[2025-01-10 00:14:04] Production.INFO: ==20384== Lock acquired, processing the job...
[2025-01-10 00:14:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 00:14:04] Production.INFO: ==20386== Lock acquired, processing the job...
[2025-01-10 00:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 00:14:04] Production.INFO: CreateAllLog End
[2025-01-10 00:14:04] Production.INFO: ==20388== Lock acquired, processing the job...
[2025-01-10 00:14:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 00:14:04] Production.INFO: ==20392== Lock acquired, processing the job...
[2025-01-10 00:14:04] Production.INFO: xeropaymentimport-command-xeropaymentimport-companyid-1-cronjobid-14 #Starts#
[2025-01-10 00:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 00:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 00:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 00:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 00:14:04] Production.INFO: -- Xero Api Check --
[2025-01-10 00:14:04] Production.INFO: ==20397== Lock acquired, processing the job...
[2025-01-10 00:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 00:14:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 00:14:04] Production.INFO: Account Balance End.
[2025-01-10 00:14:04] Production.ERROR: done
[2025-01-10 00:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 00:14:04] Production.ERROR: CronJobId end 12
[2025-01-10 00:14:04] Production.INFO: ==20390== Releasing lock...
[2025-01-10 00:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 00:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 00:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:14:04] Production.INFO: count ==21
[2025-01-10 00:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:14:04] Production.INFO: count ==21
[2025-01-10 00:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213172') start
[2025-01-10 00:14:05] Production.INFO: ==20386== Releasing lock...
[2025-01-10 00:14:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 00:14:05] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 00:14:05] Production.ERROR: done
[2025-01-10 00:14:05] Production.ERROR: PBX CALL prc_importPBXExtension('14213172') end
[2025-01-10 00:14:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 00:14:05] Production.INFO: 1
[2025-01-10 00:14:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 00:14:05] Production.INFO: ==20397== Releasing lock...
[2025-01-10 00:14:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 00:14:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 00:14:06] Production.INFO: -- curl info --Array
(
[url] => https://identity.xero.com/connect/token
[content_type] => application/json; charset=UTF-8
[http_code] => 200
[header_size] => 856
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 1.334722
[namelookup_time] => 0.545623
[connect_time] => 0.642556
[pretransfer_time] => 1.111751
[size_upload] => 82
[size_download] => 2755
[speed_download] => 2064
[speed_upload] => 61
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 1.334667
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 2.16.6.30
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 54428
)
[2025-01-10 00:14:06] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzY0ODYwNDUsImV4cCI6MTczNjQ4NjM0NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2NDg2MDQ1LCJhdF9oYXNoIjoiRlhCYkU0MmhOOGF0bDZzVlFhVzNLQSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.Q1b3M2H2LSlcMoyUgDmkaogQK1rYAd3OuIF-AXtl9Tt204uKRyC8oy2PkXz0Vl0HUrxOXxFqt_3kC9HjTp8sDhIM2O5WEbalB-LrUAUUj4bwhglId2IUhUYBidJDNoR_gVL4Hcg062LTWvfnZd_kGY85Ufb3LoSvIL8wGU2KFHcM63_j2sMt-8_Fe2VNisz6y1mXgm3ZuZmA85x7CbTcdEU8XrE4P3SC4b2nqsFBcePGvDorBMDIzDlImio3rYzK5ul8ogt_ASk8Zj3epptg9pWz0qtin9KOxIt5biXuSsXFNiuZq0rVG9rn2ViafPvO4CihpQWglgPmXhO_q8NDMA
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzY0ODYwNDUsImV4cCI6MTczNjQ4Nzg0NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.YZZcP6Y1OKDKrwRfUJ6zd_6kYoWB1PVX2J40kTSJf9RLCxnwVt91ThA-t0ZP5geqKqiMNqX2rs0Q50SnOZ9bBhj5g9RuXzhggpn6GDA0ow-QviuJVgBFEQhYr7buSGvKP1lkgqc3kFABZy-AKnVKqM41KwCBxDP1J2kYs8K3USFEZ-zRJuorJsRCMta9ecS-kIH3lRtowuD7KctCGTKvicQguvZ3T07J0pN-TpSMCOBNgIVotcfL6XQpmThwZusqb0Zw0g-St6DlxSBOuEWqmNj65Mz-Otjl-MXYXhHUHwlbPuzwb4Y2ugsE6yeeYqR-oxni0YwZwZrDBrkQHvRQvw
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => a74kYTBROrzpMT3YLuizPbjhCLFBxIN7nksqVFa4gyE
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-10 00:14:06] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzY0ODYwNDUsImV4cCI6MTczNjQ4NjM0NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2NDg2MDQ1LCJhdF9oYXNoIjoiRlhCYkU0MmhOOGF0bDZzVlFhVzNLQSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.Q1b3M2H2LSlcMoyUgDmkaogQK1rYAd3OuIF-AXtl9Tt204uKRyC8oy2PkXz0Vl0HUrxOXxFqt_3kC9HjTp8sDhIM2O5WEbalB-LrUAUUj4bwhglId2IUhUYBidJDNoR_gVL4Hcg062LTWvfnZd_kGY85Ufb3LoSvIL8wGU2KFHcM63_j2sMt-8_Fe2VNisz6y1mXgm3ZuZmA85x7CbTcdEU8XrE4P3SC4b2nqsFBcePGvDorBMDIzDlImio3rYzK5ul8ogt_ASk8Zj3epptg9pWz0qtin9KOxIt5biXuSsXFNiuZq0rVG9rn2ViafPvO4CihpQWglgPmXhO_q8NDMA
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzY0ODYwNDUsImV4cCI6MTczNjQ4Nzg0NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.YZZcP6Y1OKDKrwRfUJ6zd_6kYoWB1PVX2J40kTSJf9RLCxnwVt91ThA-t0ZP5geqKqiMNqX2rs0Q50SnOZ9bBhj5g9RuXzhggpn6GDA0ow-QviuJVgBFEQhYr7buSGvKP1lkgqc3kFABZy-AKnVKqM41KwCBxDP1J2kYs8K3USFEZ-zRJuorJsRCMta9ecS-kIH3lRtowuD7KctCGTKvicQguvZ3T07J0pN-TpSMCOBNgIVotcfL6XQpmThwZusqb0Zw0g-St6DlxSBOuEWqmNj65Mz-Otjl-MXYXhHUHwlbPuzwb4Y2ugsE6yeeYqR-oxni0YwZwZrDBrkQHvRQvw
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => a74kYTBROrzpMT3YLuizPbjhCLFBxIN7nksqVFa4gyE
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-10 00:14:06] Production.ERROR: Invoice Payment Date 2025-01-09 00:00:00
[2025-01-10 00:14:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Payments?where=Date>=DateTime(2025,01,09)
[2025-01-10 00:14:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 21:14:06
[end_date_ymd] => 2025-01-10 00:14:06
[RateCDR] => 1
)
[2025-01-10 00:14:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 21:14:06' and `end` < '2025-01-10 00:14:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 00:14:08] Production.INFO: Batch insert start
[2025-01-10 00:14:08] Production.INFO: global counter1
[2025-01-10 00:14:08] Production.INFO: insertion start
[2025-01-10 00:14:08] Production.INFO: last batch insert 1
[2025-01-10 00:14:08] Production.INFO: insertion end
[2025-01-10 00:14:08] Production.INFO: CALL prc_importPaymentAccounting ('b6d9f000-cf11-11ef-bf5e-f7e7c9cb8114') start
[2025-01-10 00:14:08] Production.INFO: CALL prc_importPaymentAccounting ('b6d9f000-cf11-11ef-bf5e-f7e7c9cb8114') end
[2025-01-10 00:14:08] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
1 =>
array (
'Message' => ' Invalid InvoiceNumber : Expenses - 18 May 2018',
),
)
[2025-01-10 00:14:08] Production.INFO: 2
[2025-01-10 00:14:08] Production.ERROR: CronJobId end14
[2025-01-10 00:14:08] Production.INFO: ==20392== Releasing lock...
[2025-01-10 00:14:08] Production.INFO: xeropaymentimport-command-xeropaymentimport-companyid-1-cronjobid-14 #Stops#
[2025-01-10 00:14:08] Production.INFO: 26 MB #Memory Used#
[2025-01-10 00:14:12] Production.ERROR: CronJobId end10
[2025-01-10 00:14:12] Production.INFO: ==20388== Releasing lock...
[2025-01-10 00:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 00:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 00:14:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 00:14:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 00:14:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 00:14:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 00:14:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 00:14:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 00:14:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 00:14:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 00:14:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 00:14:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 00:14:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 00:14:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 00:14:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 00:14:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 00:14:14] Production.INFO: call_cost start
[2025-01-10 00:14:14] Production.INFO: call_cost end
[2025-01-10 00:14:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 00:14:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 00:14:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 00:14:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 00:14:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 00:14:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 00:14:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 00:14:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 00:14:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 00:14:15] Production.INFO: ==20384== Releasing lock...
[2025-01-10 00:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 00:14:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 00:14:19] Production.INFO: count ==137
[2025-01-10 00:14:19] Production.ERROR: pbx CDR StartTime 2025-01-09 21:14:06 - End Time 2025-01-10 00:14:06
[2025-01-10 00:14:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 00:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213173', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213173', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213173', 'tblTempVendorCDR_20' ) start
[2025-01-10 00:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213173', 'tblTempVendorCDR_20' ) end
[2025-01-10 00:14:19] Production.INFO: ProcessCDR(1,14213173,1,1,2)
[2025-01-10 00:14:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213173,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:14:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213173,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:14:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213173,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213173,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213173', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213173', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:14:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:14:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:14:23] Production.INFO: ==20394== Releasing lock...
[2025-01-10 00:14:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 00:14:23] Production.INFO: 29.5 MB #Memory Used#
[2025-01-10 05:15:01] Production.INFO: ==20507== Lock acquired, processing the job...
[2025-01-10 05:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 05:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 05:15:01] Production.INFO: neon service started
[2025-01-10 05:15:01] Production.INFO: neon service started
[2025-01-10 05:15:01] Production.INFO: ==20507== Releasing lock...
[2025-01-10 05:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 05:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:15:02] Production.INFO: ==20509== Lock acquired, processing the job...
[2025-01-10 00:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:15:02] Production.INFO: ==20511== Lock acquired, processing the job...
[2025-01-10 05:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 05:15:02] Production.INFO: ==20511== Releasing lock...
[2025-01-10 05:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 05:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 00:15:02] Production.INFO: ==20509== Releasing lock...
[2025-01-10 00:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 00:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 00:15:03] Production.INFO: ==20514== Lock acquired, processing the job...
[2025-01-10 00:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 00:15:03] Production.INFO: ==20516== Lock acquired, processing the job...
[2025-01-10 00:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 00:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 00:15:03] Production.INFO: ==20522== Lock acquired, processing the job...
[2025-01-10 00:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 00:15:03] Production.INFO: ==20518== Lock acquired, processing the job...
[2025-01-10 00:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 00:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:15:03] Production.INFO: ==20520== Lock acquired, processing the job...
[2025-01-10 00:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 00:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 00:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 00:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 00:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 00:15:03] Production.INFO: ==20524== Lock acquired, processing the job...
[2025-01-10 00:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 00:15:03] Production.INFO: ==20516== Releasing lock...
[2025-01-10 00:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 00:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 00:15:03] Production.INFO: Account Balance Start.
[2025-01-10 00:15:03] Production.INFO: CreateAllLog Start
[2025-01-10 00:15:03] Production.INFO: 117
[2025-01-10 00:15:03] Production.INFO: Date 2025-01-08
[2025-01-10 00:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:15:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:15:03] Production.INFO: Date 2025-01-09
[2025-01-10 00:15:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:15:03] Production.INFO: count ==21
[2025-01-10 00:15:04] Production.ERROR: done
[2025-01-10 00:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:15:04] Production.INFO: count ==21
[2025-01-10 00:15:04] Production.INFO: Date 2025-01-10
[2025-01-10 00:15:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 00:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213177') start
[2025-01-10 00:15:04] Production.INFO: Total Charge 0
[2025-01-10 00:15:04] Production.INFO: CreateAllLog End
[2025-01-10 00:15:04] Production.ERROR: done
[2025-01-10 00:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213177') end
[2025-01-10 00:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 00:15:04] Production.INFO: 1
[2025-01-10 00:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 00:15:04] Production.INFO: Account Balance End.
[2025-01-10 00:15:04] Production.INFO: ==20524== Releasing lock...
[2025-01-10 00:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 00:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 00:15:04] Production.ERROR: CronJobId end 12
[2025-01-10 00:15:04] Production.INFO: ==20520== Releasing lock...
[2025-01-10 00:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 00:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 00:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 21:15:05
[end_date_ymd] => 2025-01-10 00:15:05
[RateCDR] => 1
)
[2025-01-10 00:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 21:15:05' and `end` < '2025-01-10 00:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 00:15:11] Production.ERROR: CronJobId end10
[2025-01-10 00:15:11] Production.INFO: ==20518== Releasing lock...
[2025-01-10 00:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 00:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 00:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 00:15:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 00:15:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 00:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 00:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 00:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 00:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 00:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 00:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 00:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 00:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 00:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 00:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 00:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 00:15:13] Production.INFO: call_cost start
[2025-01-10 00:15:13] Production.INFO: call_cost end
[2025-01-10 00:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 00:15:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 00:15:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 00:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 00:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 00:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 00:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 00:15:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 00:15:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 00:15:14] Production.INFO: ==20514== Releasing lock...
[2025-01-10 00:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 00:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 00:15:18] Production.INFO: count ==133
[2025-01-10 00:15:18] Production.ERROR: pbx CDR StartTime 2025-01-09 21:15:05 - End Time 2025-01-10 00:15:05
[2025-01-10 00:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 00:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213178', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213178', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213178', 'tblTempVendorCDR_20' ) start
[2025-01-10 00:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213178', 'tblTempVendorCDR_20' ) end
[2025-01-10 00:15:18] Production.INFO: ProcessCDR(1,14213178,1,1,2)
[2025-01-10 00:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213178,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213178,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213178,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213178,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213178', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213178', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:15:21] Production.INFO: ==20522== Releasing lock...
[2025-01-10 00:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 00:15:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-10 05:16:02] Production.INFO: ==20590== Lock acquired, processing the job...
[2025-01-10 05:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 05:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 05:16:02] Production.INFO: neon service started
[2025-01-10 05:16:02] Production.INFO: neon service started
[2025-01-10 05:16:02] Production.INFO: ==20590== Releasing lock...
[2025-01-10 05:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 05:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:16:02] Production.INFO: ==20592== Lock acquired, processing the job...
[2025-01-10 00:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:16:02] Production.INFO: ==20594== Lock acquired, processing the job...
[2025-01-10 05:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 05:16:02] Production.INFO: ==20594== Releasing lock...
[2025-01-10 05:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 05:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 00:16:03] Production.INFO: ==20592== Releasing lock...
[2025-01-10 00:16:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 00:16:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 00:16:03] Production.INFO: ==20597== Lock acquired, processing the job...
[2025-01-10 00:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 00:16:03] Production.INFO: ==20599== Lock acquired, processing the job...
[2025-01-10 00:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 00:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 00:16:03] Production.INFO: ==20605== Lock acquired, processing the job...
[2025-01-10 00:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 00:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:16:04] Production.INFO: ==20601== Lock acquired, processing the job...
[2025-01-10 00:16:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 00:16:04] Production.INFO: ==20603== Lock acquired, processing the job...
[2025-01-10 00:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 00:16:04] Production.INFO: ==20599== Releasing lock...
[2025-01-10 00:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 00:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 00:16:04] Production.ERROR: done
[2025-01-10 00:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 00:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 00:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 00:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 00:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 00:16:04] Production.INFO: ==20607== Lock acquired, processing the job...
[2025-01-10 00:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 00:16:04] Production.INFO: Account Balance Start.
[2025-01-10 00:16:04] Production.INFO: CreateAllLog Start
[2025-01-10 00:16:04] Production.INFO: 117
[2025-01-10 00:16:04] Production.INFO: Date 2025-01-08
[2025-01-10 00:16:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:16:04] Production.INFO: Date 2025-01-09
[2025-01-10 00:16:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:16:04] Production.INFO: Date 2025-01-10
[2025-01-10 00:16:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:16:04] Production.INFO: Total Charge 0
[2025-01-10 00:16:04] Production.ERROR: done
[2025-01-10 00:16:04] Production.INFO: CreateAllLog End
[2025-01-10 00:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:16:04] Production.INFO: Account Balance End.
[2025-01-10 00:16:04] Production.INFO: count ==21
[2025-01-10 00:16:04] Production.ERROR: CronJobId end 12
[2025-01-10 00:16:04] Production.INFO: ==20603== Releasing lock...
[2025-01-10 00:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 00:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 00:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:16:04] Production.INFO: count ==21
[2025-01-10 00:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213183') start
[2025-01-10 00:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213183') end
[2025-01-10 00:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 00:16:04] Production.INFO: 1
[2025-01-10 00:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 00:16:04] Production.INFO: ==20607== Releasing lock...
[2025-01-10 00:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 00:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 00:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 21:16:05
[end_date_ymd] => 2025-01-10 00:16:05
[RateCDR] => 1
)
[2025-01-10 00:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 21:16:05' and `end` < '2025-01-10 00:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 00:16:10] Production.ERROR: CronJobId end10
[2025-01-10 00:16:10] Production.INFO: ==20601== Releasing lock...
[2025-01-10 00:16:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 00:16:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 00:16:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 00:16:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 00:16:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 00:16:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 00:16:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 00:16:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 00:16:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 00:16:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 00:16:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 00:16:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 00:16:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 00:16:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 00:16:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 00:16:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 00:16:13] Production.INFO: call_cost start
[2025-01-10 00:16:13] Production.INFO: call_cost end
[2025-01-10 00:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 00:16:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 00:16:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 00:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 00:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 00:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 00:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 00:16:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 00:16:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 00:16:14] Production.INFO: ==20597== Releasing lock...
[2025-01-10 00:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 00:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 00:16:18] Production.INFO: count ==133
[2025-01-10 00:16:18] Production.ERROR: pbx CDR StartTime 2025-01-09 21:16:05 - End Time 2025-01-10 00:16:05
[2025-01-10 00:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 00:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213182', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213182', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213182', 'tblTempVendorCDR_20' ) start
[2025-01-10 00:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213182', 'tblTempVendorCDR_20' ) end
[2025-01-10 00:16:18] Production.INFO: ProcessCDR(1,14213182,1,1,2)
[2025-01-10 00:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213182,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213182,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213182,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213182,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213182', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213182', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:16:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:16:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:16:21] Production.INFO: ==20605== Releasing lock...
[2025-01-10 00:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 00:16:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-10 05:17:01] Production.INFO: ==20674== Lock acquired, processing the job...
[2025-01-10 05:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 05:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 05:17:01] Production.INFO: neon service started
[2025-01-10 05:17:01] Production.INFO: neon service started
[2025-01-10 05:17:01] Production.INFO: ==20674== Releasing lock...
[2025-01-10 05:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 05:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:17:02] Production.INFO: ==20676== Lock acquired, processing the job...
[2025-01-10 00:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:17:02] Production.INFO: ==20678== Lock acquired, processing the job...
[2025-01-10 05:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 05:17:02] Production.INFO: ==20678== Releasing lock...
[2025-01-10 05:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 05:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 00:17:02] Production.INFO: ==20676== Releasing lock...
[2025-01-10 00:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 00:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 00:17:03] Production.INFO: ==20681== Lock acquired, processing the job...
[2025-01-10 00:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 00:17:03] Production.INFO: ==20683== Lock acquired, processing the job...
[2025-01-10 00:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 00:17:03] Production.INFO: ==20687== Lock acquired, processing the job...
[2025-01-10 00:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 00:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 00:17:03] Production.INFO: Account Balance Start.
[2025-01-10 00:17:03] Production.INFO: CreateAllLog Start
[2025-01-10 00:17:03] Production.INFO: 117
[2025-01-10 00:17:03] Production.INFO: Date 2025-01-08
[2025-01-10 00:17:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:17:03] Production.INFO: ==20685== Lock acquired, processing the job...
[2025-01-10 00:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 00:17:03] Production.INFO: Date 2025-01-09
[2025-01-10 00:17:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:17:03] Production.INFO: Date 2025-01-10
[2025-01-10 00:17:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:17:03] Production.INFO: Total Charge 0
[2025-01-10 00:17:03] Production.INFO: CreateAllLog End
[2025-01-10 00:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 00:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 00:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 00:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 00:17:03] Production.INFO: ==20689== Lock acquired, processing the job...
[2025-01-10 00:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 00:17:03] Production.INFO: ==20691== Lock acquired, processing the job...
[2025-01-10 00:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 00:17:03] Production.INFO: ==20683== Releasing lock...
[2025-01-10 00:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 00:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 00:17:03] Production.INFO: Account Balance End.
[2025-01-10 00:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:17:03] Production.ERROR: CronJobId end 12
[2025-01-10 00:17:03] Production.INFO: ==20687== Releasing lock...
[2025-01-10 00:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 00:17:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 00:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:17:03] Production.INFO: count ==21
[2025-01-10 00:17:03] Production.ERROR: done
[2025-01-10 00:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 00:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:17:03] Production.INFO: count ==21
[2025-01-10 00:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213187') start
[2025-01-10 00:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213187') end
[2025-01-10 00:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 00:17:04] Production.INFO: 1
[2025-01-10 00:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 00:17:04] Production.ERROR: done
[2025-01-10 00:17:04] Production.INFO: ==20691== Releasing lock...
[2025-01-10 00:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 00:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 00:17:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 21:17:04
[end_date_ymd] => 2025-01-10 00:17:04
[RateCDR] => 1
)
[2025-01-10 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-01-09 21:17:04' and `end` < '2025-01-10 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-01-10 00:17:10] Production.ERROR: CronJobId end10
[2025-01-10 00:17:10] Production.INFO: ==20685== Releasing lock...
[2025-01-10 00:17:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 00:17:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 00:17:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 00:17:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 00:17:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 00:17:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 00:17:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 00:17:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 00:17:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 00:17:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 00:17:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 00:17:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 00:17:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 00:17:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 00:17:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 00:17:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 00:17:12] Production.INFO: call_cost start
[2025-01-10 00:17:12] Production.INFO: call_cost end
[2025-01-10 00:17:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 00:17:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 00:17:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 00:17:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 00:17:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 00:17:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 00:17:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 00:17:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 00:17:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 00:17:13] Production.INFO: ==20681== Releasing lock...
[2025-01-10 00:17:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 00:17:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 00:17:18] Production.INFO: count ==130
[2025-01-10 00:17:18] Production.ERROR: pbx CDR StartTime 2025-01-09 21:17:04 - End Time 2025-01-10 00:17:04
[2025-01-10 00:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 00:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213188', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213188', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213188', 'tblTempVendorCDR_20' ) start
[2025-01-10 00:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213188', 'tblTempVendorCDR_20' ) end
[2025-01-10 00:17:18] Production.INFO: ProcessCDR(1,14213188,1,1,2)
[2025-01-10 00:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213188,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213188,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213188,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213188,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213188', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213188', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:17:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:17:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:17:21] Production.INFO: ==20689== Releasing lock...
[2025-01-10 00:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 00:17:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-10 05:18:02] Production.INFO: ==20768== Lock acquired, processing the job...
[2025-01-10 05:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 05:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 05:18:02] Production.INFO: neon service started
[2025-01-10 05:18:02] Production.INFO: neon service started
[2025-01-10 05:18:02] Production.INFO: ==20768== Releasing lock...
[2025-01-10 05:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 05:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:18:02] Production.INFO: ==20771== Lock acquired, processing the job...
[2025-01-10 00:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 00:18:02] Production.INFO: ==20771== Releasing lock...
[2025-01-10 00:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 00:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 05:18:02] Production.INFO: ==20773== Lock acquired, processing the job...
[2025-01-10 05:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 05:18:02] Production.INFO: ==20773== Releasing lock...
[2025-01-10 05:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 05:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 00:18:03] Production.INFO: ==20781== Lock acquired, processing the job...
[2025-01-10 00:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 00:18:03] Production.INFO: ==20783== Lock acquired, processing the job...
[2025-01-10 00:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 00:18:03] Production.INFO: ==20785== Lock acquired, processing the job...
[2025-01-10 00:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 00:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:18:03] Production.INFO: Account Balance Start.
[2025-01-10 00:18:03] Production.INFO: CreateAllLog Start
[2025-01-10 00:18:03] Production.INFO: 117
[2025-01-10 00:18:03] Production.INFO: Date 2025-01-08
[2025-01-10 00:18:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:18:03] Production.INFO: Date 2025-01-09
[2025-01-10 00:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:18:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:18:03] Production.INFO: Date 2025-01-10
[2025-01-10 00:18:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:18:03] Production.INFO: ==20779== Lock acquired, processing the job...
[2025-01-10 00:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 00:18:03] Production.INFO: count ==21
[2025-01-10 00:18:03] Production.INFO: Total Charge 0
[2025-01-10 00:18:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:18:03] Production.INFO: count ==21
[2025-01-10 00:18:03] Production.INFO: ==20775== Lock acquired, processing the job...
[2025-01-10 00:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 00:18:03] Production.INFO: ==20777== Lock acquired, processing the job...
[2025-01-10 00:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 00:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213190') start
[2025-01-10 00:18:03] Production.INFO: CreateAllLog End
[2025-01-10 00:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 00:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 00:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213190') end
[2025-01-10 00:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 00:18:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 00:18:03] Production.INFO: 1
[2025-01-10 00:18:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 00:18:03] Production.INFO: ==20785== Releasing lock...
[2025-01-10 00:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 00:18:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 00:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 00:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 00:18:03] Production.INFO: Account Balance End.
[2025-01-10 00:18:03] Production.ERROR: done
[2025-01-10 00:18:03] Production.ERROR: CronJobId end 12
[2025-01-10 00:18:03] Production.INFO: ==20781== Releasing lock...
[2025-01-10 00:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 00:18:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 00:18:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 00:18:03] Production.INFO: ==20777== Releasing lock...
[2025-01-10 00:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 00:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 00:18:04] Production.ERROR: done
[2025-01-10 00:18:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 21:18:04
[end_date_ymd] => 2025-01-10 00:18:04
[RateCDR] => 1
)
[2025-01-10 00:18:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 21:18:04' and `end` < '2025-01-10 00:18:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 00:18:11] Production.ERROR: CronJobId end10
[2025-01-10 00:18:11] Production.INFO: ==20779== Releasing lock...
[2025-01-10 00:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 00:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 00:18:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 00:18:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 00:18:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 00:18:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 00:18:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 00:18:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 00:18:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 00:18:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 00:18:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 00:18:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 00:18:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 00:18:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 00:18:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 00:18:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 00:18:14] Production.INFO: call_cost start
[2025-01-10 00:18:14] Production.INFO: call_cost end
[2025-01-10 00:18:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 00:18:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 00:18:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 00:18:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 00:18:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 00:18:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 00:18:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 00:18:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 00:18:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 00:18:15] Production.INFO: ==20775== Releasing lock...
[2025-01-10 00:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 00:18:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 00:18:17] Production.INFO: count ==129
[2025-01-10 00:18:17] Production.ERROR: pbx CDR StartTime 2025-01-09 21:18:04 - End Time 2025-01-10 00:18:04
[2025-01-10 00:18:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 00:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213193', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213193', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213193', 'tblTempVendorCDR_20' ) start
[2025-01-10 00:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213193', 'tblTempVendorCDR_20' ) end
[2025-01-10 00:18:17] Production.INFO: ProcessCDR(1,14213193,1,1,2)
[2025-01-10 00:18:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213193,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:18:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213193,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:18:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213193,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:18:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213193,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:18:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213193', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:18:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213193', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:18:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:18:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:18:20] Production.INFO: ==20783== Releasing lock...
[2025-01-10 00:18:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 00:18:20] Production.INFO: 29 MB #Memory Used#
[2025-01-10 05:19:01] Production.INFO: ==20850== Lock acquired, processing the job...
[2025-01-10 05:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 05:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 05:19:01] Production.INFO: neon service started
[2025-01-10 05:19:01] Production.INFO: neon service started
[2025-01-10 05:19:01] Production.INFO: ==20850== Releasing lock...
[2025-01-10 05:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 05:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:19:02] Production.INFO: ==20854== Lock acquired, processing the job...
[2025-01-10 00:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:19:02] Production.INFO: ==20856== Lock acquired, processing the job...
[2025-01-10 05:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 05:19:02] Production.INFO: ==20856== Releasing lock...
[2025-01-10 05:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 05:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 00:19:02] Production.INFO: ==20854== Releasing lock...
[2025-01-10 00:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 00:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 00:19:03] Production.INFO: ==20861== Lock acquired, processing the job...
[2025-01-10 00:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 00:19:03] Production.INFO: ==20869== Lock acquired, processing the job...
[2025-01-10 00:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 00:19:03] Production.INFO: ==20859== Lock acquired, processing the job...
[2025-01-10 00:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 00:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:19:03] Production.INFO: count ==21
[2025-01-10 00:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 00:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:19:03] Production.INFO: count ==21
[2025-01-10 00:19:03] Production.INFO: ==20861== Releasing lock...
[2025-01-10 00:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 00:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 00:19:03] Production.INFO: ==20863== Lock acquired, processing the job...
[2025-01-10 00:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 00:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213194') start
[2025-01-10 00:19:03] Production.INFO: ==20865== Lock acquired, processing the job...
[2025-01-10 00:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 00:19:03] Production.INFO: ==20867== Lock acquired, processing the job...
[2025-01-10 00:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 00:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213194') end
[2025-01-10 00:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 00:19:03] Production.INFO: 1
[2025-01-10 00:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 00:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 00:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 00:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 00:19:03] Production.INFO: ==20869== Releasing lock...
[2025-01-10 00:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 00:19:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 00:19:03] Production.INFO: Account Balance Start.
[2025-01-10 00:19:03] Production.INFO: CreateAllLog Start
[2025-01-10 00:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 00:19:03] Production.INFO: 117
[2025-01-10 00:19:03] Production.INFO: Date 2025-01-08
[2025-01-10 00:19:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:19:04] Production.INFO: Date 2025-01-09
[2025-01-10 00:19:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:19:04] Production.INFO: Date 2025-01-10
[2025-01-10 00:19:04] Production.ERROR: done
[2025-01-10 00:19:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 00:19:04] Production.INFO: Total Charge 0
[2025-01-10 00:19:04] Production.INFO: CreateAllLog End
[2025-01-10 00:19:04] Production.ERROR: done
[2025-01-10 00:19:04] Production.INFO: Account Balance End.
[2025-01-10 00:19:04] Production.ERROR: CronJobId end 12
[2025-01-10 00:19:04] Production.INFO: ==20865== Releasing lock...
[2025-01-10 00:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 00:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 00:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 21:19:05
[end_date_ymd] => 2025-01-10 00:19:05
[RateCDR] => 1
)
[2025-01-10 00:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 21:19:05' and `end` < '2025-01-10 00:19:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 00:19:10] Production.ERROR: CronJobId end10
[2025-01-10 00:19:10] Production.INFO: ==20863== Releasing lock...
[2025-01-10 00:19:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 00:19:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 00:19:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 00:19:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 00:19:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 00:19:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 00:19:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 00:19:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 00:19:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 00:19:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 00:19:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 00:19:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 00:19:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 00:19:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 00:19:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 00:19:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 00:19:12] Production.INFO: call_cost start
[2025-01-10 00:19:12] Production.INFO: call_cost end
[2025-01-10 00:19:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 00:19:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 00:19:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 00:19:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 00:19:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 00:19:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 00:19:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 00:19:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 00:19:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 00:19:13] Production.INFO: ==20859== Releasing lock...
[2025-01-10 00:19:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 00:19:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 00:19:18] Production.INFO: count ==126
[2025-01-10 00:19:18] Production.ERROR: pbx CDR StartTime 2025-01-09 21:19:05 - End Time 2025-01-10 00:19:05
[2025-01-10 00:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 00:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213198', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213198', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213198', 'tblTempVendorCDR_20' ) start
[2025-01-10 00:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213198', 'tblTempVendorCDR_20' ) end
[2025-01-10 00:19:18] Production.INFO: ProcessCDR(1,14213198,1,1,2)
[2025-01-10 00:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213198,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213198,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213198,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213198,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213198', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213198', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:19:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:19:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:19:21] Production.INFO: ==20867== Releasing lock...
[2025-01-10 00:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 00:19:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-10 05:20:02] Production.INFO: ==20937== Lock acquired, processing the job...
[2025-01-10 05:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 05:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 05:20:02] Production.INFO: neon service started
[2025-01-10 05:20:02] Production.INFO: neon service started
[2025-01-10 05:20:02] Production.INFO: ==20937== Releasing lock...
[2025-01-10 05:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 05:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:20:02] Production.INFO: ==20939== Lock acquired, processing the job...
[2025-01-10 00:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:20:02] Production.INFO: ==20941== Lock acquired, processing the job...
[2025-01-10 05:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 05:20:02] Production.INFO: ==20941== Releasing lock...
[2025-01-10 05:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 05:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 00:20:02] Production.INFO: ==20939== Releasing lock...
[2025-01-10 00:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 00:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 00:20:03] Production.INFO: ==20943== Lock acquired, processing the job...
[2025-01-10 00:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 00:20:03] Production.INFO: ==20947== Lock acquired, processing the job...
[2025-01-10 00:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 00:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 00:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 00:20:03] Production.INFO: ==20943== Releasing lock...
[2025-01-10 00:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 00:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 00:20:03] Production.INFO: ==20953== Lock acquired, processing the job...
[2025-01-10 00:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 00:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:20:03] Production.INFO: ==20945== Lock acquired, processing the job...
[2025-01-10 00:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 00:20:03] Production.INFO: ==20947== Releasing lock...
[2025-01-10 00:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 00:20:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 00:20:04] Production.ERROR: done
[2025-01-10 00:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 00:20:04] Production.INFO: ==20949== Lock acquired, processing the job...
[2025-01-10 00:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 00:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 00:20:04] Production.INFO: ==20951== Lock acquired, processing the job...
[2025-01-10 00:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 00:20:04] Production.INFO: ==20955== Lock acquired, processing the job...
[2025-01-10 00:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 00:20:04] Production.ERROR: done
[2025-01-10 00:20:04] Production.INFO: ==20958== Lock acquired, processing the job...
[2025-01-10 00:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 00:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 00:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 00:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 00:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 00:20:04] Production.INFO: Account Balance Start.
[2025-01-10 00:20:04] Production.INFO: CreateAllLog Start
[2025-01-10 00:20:04] Production.INFO: 117
[2025-01-10 00:20:04] Production.INFO: Date 2025-01-08
[2025-01-10 00:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:20:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:20:04] Production.INFO: count ==21
[2025-01-10 00:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:20:04] Production.INFO: count ==21
[2025-01-10 00:20:04] Production.ERROR: done
[2025-01-10 00:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213203') start
[2025-01-10 00:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 00:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14213204', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 00:20:04] Production.INFO: Date 2025-01-09
[2025-01-10 00:20:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:20:04] Production.INFO: Date 2025-01-10
[2025-01-10 00:20:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:20:04] Production.INFO: Total Charge 0
[2025-01-10 00:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213203') end
[2025-01-10 00:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 00:20:04] Production.INFO: 1
[2025-01-10 00:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 00:20:04] Production.INFO: CreateAllLog End
[2025-01-10 00:20:04] Production.INFO: ==20958== Releasing lock...
[2025-01-10 00:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 00:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 00:20:04] Production.INFO: Account Balance End.
[2025-01-10 00:20:05] Production.ERROR: CronJobId end 12
[2025-01-10 00:20:05] Production.INFO: ==20951== Releasing lock...
[2025-01-10 00:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 00:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 00:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 21:20:05
[end_date_ymd] => 2025-01-10 00:20:05
[RateCDR] => 1
)
[2025-01-10 00:20:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 21:20:05' and `end` < '2025-01-10 00:20:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 00:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14213204', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 00:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 00:20:08] Production.INFO: ProcessCDR(1,14213204,1,1,2)
[2025-01-10 00:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14213204,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14213204,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:20:08] Production.INFO: ==20955== Releasing lock...
[2025-01-10 00:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 00:20:08] Production.INFO: 26 MB #Memory Used#
[2025-01-10 00:20:13] Production.ERROR: CronJobId end10
[2025-01-10 00:20:13] Production.INFO: ==20949== Releasing lock...
[2025-01-10 00:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 00:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 00:20:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 00:20:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 00:20:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 00:20:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 00:20:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 00:20:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 00:20:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 00:20:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 00:20:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 00:20:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 00:20:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 00:20:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 00:20:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 00:20:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 00:20:15] Production.INFO: call_cost start
[2025-01-10 00:20:15] Production.INFO: call_cost end
[2025-01-10 00:20:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 00:20:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 00:20:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 00:20:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 00:20:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 00:20:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 00:20:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 00:20:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 00:20:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 00:20:15] Production.INFO: ==20945== Releasing lock...
[2025-01-10 00:20:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 00:20:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 00:20:18] Production.INFO: count ==127
[2025-01-10 00:20:18] Production.ERROR: pbx CDR StartTime 2025-01-09 21:20:05 - End Time 2025-01-10 00:20:05
[2025-01-10 00:20:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 00:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213201', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213201', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213201', 'tblTempVendorCDR_20' ) start
[2025-01-10 00:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213201', 'tblTempVendorCDR_20' ) end
[2025-01-10 00:20:18] Production.INFO: ProcessCDR(1,14213201,1,1,2)
[2025-01-10 00:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213201,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:20:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213201,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:20:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213201,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:20:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213201,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213201', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213201', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:20:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:20:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:20:21] Production.INFO: ==20953== Releasing lock...
[2025-01-10 00:20:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 00:20:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-10 05:21:01] Production.INFO: ==21032== Lock acquired, processing the job...
[2025-01-10 05:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 05:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 05:21:01] Production.INFO: neon service started
[2025-01-10 05:21:01] Production.INFO: neon service started
[2025-01-10 05:21:01] Production.INFO: ==21032== Releasing lock...
[2025-01-10 05:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 05:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:21:02] Production.INFO: ==21034== Lock acquired, processing the job...
[2025-01-10 00:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:21:02] Production.INFO: ==21036== Lock acquired, processing the job...
[2025-01-10 05:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 05:21:02] Production.INFO: ==21036== Releasing lock...
[2025-01-10 05:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 05:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 00:21:02] Production.INFO: ==21034== Releasing lock...
[2025-01-10 00:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 00:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 00:21:03] Production.INFO: ==21045== Lock acquired, processing the job...
[2025-01-10 00:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 00:21:03] Production.INFO: ==21041== Lock acquired, processing the job...
[2025-01-10 00:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 00:21:03] Production.INFO: ==21047== Lock acquired, processing the job...
[2025-01-10 00:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 00:21:03] Production.INFO: ==21043== Lock acquired, processing the job...
[2025-01-10 00:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 00:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 00:21:03] Production.INFO: Account Balance Start.
[2025-01-10 00:21:03] Production.INFO: CreateAllLog Start
[2025-01-10 00:21:03] Production.INFO: 117
[2025-01-10 00:21:03] Production.INFO: Date 2025-01-08
[2025-01-10 00:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 00:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 00:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 00:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 00:21:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:21:03] Production.INFO: ==21053== Lock acquired, processing the job...
[2025-01-10 00:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 00:21:03] Production.INFO: ==21050== Lock acquired, processing the job...
[2025-01-10 00:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 00:21:03] Production.INFO: Date 2025-01-09
[2025-01-10 00:21:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:21:03] Production.INFO: Date 2025-01-10
[2025-01-10 00:21:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:21:03] Production.INFO: Total Charge 0
[2025-01-10 00:21:03] Production.INFO: CreateAllLog End
[2025-01-10 00:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:21:03] Production.INFO: count ==21
[2025-01-10 00:21:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:21:03] Production.INFO: count ==21
[2025-01-10 00:21:03] Production.INFO: ==21043== Releasing lock...
[2025-01-10 00:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 00:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 00:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213208') start
[2025-01-10 00:21:04] Production.ERROR: done
[2025-01-10 00:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 00:21:04] Production.INFO: Account Balance End.
[2025-01-10 00:21:04] Production.ERROR: CronJobId end 12
[2025-01-10 00:21:04] Production.INFO: ==21047== Releasing lock...
[2025-01-10 00:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 00:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 00:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213208') end
[2025-01-10 00:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 00:21:04] Production.INFO: 1
[2025-01-10 00:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 00:21:04] Production.ERROR: done
[2025-01-10 00:21:04] Production.INFO: ==21053== Releasing lock...
[2025-01-10 00:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 00:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 00:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 21:21:05
[end_date_ymd] => 2025-01-10 00:21:05
[RateCDR] => 1
)
[2025-01-10 00:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 21:21:05' and `end` < '2025-01-10 00:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 00:21:11] Production.ERROR: CronJobId end10
[2025-01-10 00:21:11] Production.INFO: ==21045== Releasing lock...
[2025-01-10 00:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 00:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 00:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 00:21:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 00:21:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 00:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 00:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 00:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 00:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 00:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 00:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 00:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 00:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 00:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 00:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 00:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 00:21:14] Production.INFO: call_cost start
[2025-01-10 00:21:14] Production.INFO: call_cost end
[2025-01-10 00:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 00:21:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 00:21:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 00:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 00:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 00:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 00:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 00:21:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 00:21:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 00:21:14] Production.INFO: ==21041== Releasing lock...
[2025-01-10 00:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 00:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 00:21:18] Production.INFO: count ==127
[2025-01-10 00:21:18] Production.ERROR: pbx CDR StartTime 2025-01-09 21:21:05 - End Time 2025-01-10 00:21:05
[2025-01-10 00:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 00:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213209', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213209', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213209', 'tblTempVendorCDR_20' ) start
[2025-01-10 00:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213209', 'tblTempVendorCDR_20' ) end
[2025-01-10 00:21:18] Production.INFO: ProcessCDR(1,14213209,1,1,2)
[2025-01-10 00:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213209,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213209,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213209,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213209,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213209', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213209', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:21:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:21:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:21:21] Production.INFO: ==21050== Releasing lock...
[2025-01-10 00:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 00:21:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-10 05:22:01] Production.INFO: ==21133== Lock acquired, processing the job...
[2025-01-10 05:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 05:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 05:22:01] Production.INFO: neon service started
[2025-01-10 05:22:01] Production.INFO: neon service started
[2025-01-10 05:22:01] Production.INFO: ==21133== Releasing lock...
[2025-01-10 05:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 05:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:22:02] Production.INFO: ==21135== Lock acquired, processing the job...
[2025-01-10 00:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 00:22:02] Production.INFO: ==21135== Releasing lock...
[2025-01-10 00:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 00:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 05:22:02] Production.INFO: ==21137== Lock acquired, processing the job...
[2025-01-10 05:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 05:22:02] Production.INFO: ==21137== Releasing lock...
[2025-01-10 05:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 05:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 00:22:03] Production.INFO: ==21141== Lock acquired, processing the job...
[2025-01-10 00:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 00:22:03] Production.INFO: ==21139== Lock acquired, processing the job...
[2025-01-10 00:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 00:22:03] Production.INFO: ==21143== Lock acquired, processing the job...
[2025-01-10 00:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 00:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 00:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 00:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 00:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 00:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 00:22:03] Production.INFO: ==21145== Lock acquired, processing the job...
[2025-01-10 00:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 00:22:03] Production.INFO: ==21147== Lock acquired, processing the job...
[2025-01-10 00:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 00:22:03] Production.INFO: ==21141== Releasing lock...
[2025-01-10 00:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 00:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 00:22:03] Production.INFO: ==21149== Lock acquired, processing the job...
[2025-01-10 00:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 00:22:03] Production.INFO: Account Balance Start.
[2025-01-10 00:22:03] Production.INFO: CreateAllLog Start
[2025-01-10 00:22:03] Production.INFO: 117
[2025-01-10 00:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:22:03] Production.INFO: Date 2025-01-08
[2025-01-10 00:22:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:22:04] Production.INFO: count ==21
[2025-01-10 00:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:22:04] Production.INFO: count ==21
[2025-01-10 00:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213213') start
[2025-01-10 00:22:04] Production.INFO: Date 2025-01-09
[2025-01-10 00:22:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:22:04] Production.INFO: Date 2025-01-10
[2025-01-10 00:22:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:22:04] Production.INFO: Total Charge 0
[2025-01-10 00:22:04] Production.INFO: CreateAllLog End
[2025-01-10 00:22:04] Production.ERROR: done
[2025-01-10 00:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 00:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213213') end
[2025-01-10 00:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 00:22:04] Production.INFO: 1
[2025-01-10 00:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 00:22:04] Production.INFO: ==21149== Releasing lock...
[2025-01-10 00:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 00:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 00:22:04] Production.ERROR: done
[2025-01-10 00:22:04] Production.INFO: Account Balance End.
[2025-01-10 00:22:04] Production.ERROR: CronJobId end 12
[2025-01-10 00:22:04] Production.INFO: ==21145== Releasing lock...
[2025-01-10 00:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 00:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 00:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 21:22:05
[end_date_ymd] => 2025-01-10 00:22:05
[RateCDR] => 1
)
[2025-01-10 00:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 21:22:05' and `end` < '2025-01-10 00:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 00:22:11] Production.ERROR: CronJobId end10
[2025-01-10 00:22:11] Production.INFO: ==21143== Releasing lock...
[2025-01-10 00:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 00:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 00:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 00:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 00:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 00:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 00:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 00:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 00:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 00:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 00:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 00:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 00:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 00:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 00:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 00:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 00:22:13] Production.INFO: call_cost start
[2025-01-10 00:22:13] Production.INFO: call_cost end
[2025-01-10 00:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 00:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 00:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 00:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 00:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 00:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 00:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 00:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 00:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 00:22:14] Production.INFO: ==21139== Releasing lock...
[2025-01-10 00:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 00:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 00:22:18] Production.INFO: count ==127
[2025-01-10 00:22:18] Production.ERROR: pbx CDR StartTime 2025-01-09 21:22:05 - End Time 2025-01-10 00:22:05
[2025-01-10 00:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 00:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213214', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213214', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213214', 'tblTempVendorCDR_20' ) start
[2025-01-10 00:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213214', 'tblTempVendorCDR_20' ) end
[2025-01-10 00:22:18] Production.INFO: ProcessCDR(1,14213214,1,1,2)
[2025-01-10 00:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213214,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213214,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213214,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213214,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213214', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213214', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:22:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:22:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:22:22] Production.INFO: ==21147== Releasing lock...
[2025-01-10 00:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 00:22:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-10 05:23:01] Production.INFO: ==21229== Lock acquired, processing the job...
[2025-01-10 05:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 05:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 05:23:01] Production.INFO: neon service started
[2025-01-10 05:23:01] Production.INFO: neon service started
[2025-01-10 05:23:01] Production.INFO: ==21229== Releasing lock...
[2025-01-10 05:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 05:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:23:01] Production.INFO: ==21231== Lock acquired, processing the job...
[2025-01-10 00:23:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 00:23:02] Production.INFO: ==21231== Releasing lock...
[2025-01-10 00:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 00:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 05:23:02] Production.INFO: ==21233== Lock acquired, processing the job...
[2025-01-10 05:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 05:23:02] Production.INFO: ==21233== Releasing lock...
[2025-01-10 05:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 05:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 00:23:02] Production.INFO: ==21240== Lock acquired, processing the job...
[2025-01-10 00:23:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 00:23:03] Production.INFO: ==21244== Lock acquired, processing the job...
[2025-01-10 00:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 00:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:23:03] Production.INFO: ==21236== Lock acquired, processing the job...
[2025-01-10 00:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 00:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 00:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 00:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 00:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 00:23:03] Production.INFO: ==21238== Lock acquired, processing the job...
[2025-01-10 00:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 00:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 00:23:03] Production.INFO: ==21242== Lock acquired, processing the job...
[2025-01-10 00:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 00:23:03] Production.ERROR: done
[2025-01-10 00:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 00:23:03] Production.INFO: Account Balance Start.
[2025-01-10 00:23:03] Production.INFO: CreateAllLog Start
[2025-01-10 00:23:03] Production.INFO: 117
[2025-01-10 00:23:03] Production.INFO: ==21246== Lock acquired, processing the job...
[2025-01-10 00:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 00:23:03] Production.INFO: Date 2025-01-08
[2025-01-10 00:23:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:23:03] Production.INFO: Date 2025-01-09
[2025-01-10 00:23:03] Production.ERROR: done
[2025-01-10 00:23:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:23:03] Production.INFO: Date 2025-01-10
[2025-01-10 00:23:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:23:03] Production.INFO: count ==21
[2025-01-10 00:23:03] Production.INFO: Total Charge 0
[2025-01-10 00:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:23:03] Production.INFO: CreateAllLog End
[2025-01-10 00:23:03] Production.INFO: count ==21
[2025-01-10 00:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213218') start
[2025-01-10 00:23:03] Production.INFO: ==21238== Releasing lock...
[2025-01-10 00:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 00:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 00:23:03] Production.INFO: Account Balance End.
[2025-01-10 00:23:03] Production.ERROR: CronJobId end 12
[2025-01-10 00:23:03] Production.INFO: ==21242== Releasing lock...
[2025-01-10 00:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 00:23:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 00:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213218') end
[2025-01-10 00:23:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 00:23:03] Production.INFO: 1
[2025-01-10 00:23:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 00:23:03] Production.INFO: ==21246== Releasing lock...
[2025-01-10 00:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 00:23:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 00:23:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 21:23:04
[end_date_ymd] => 2025-01-10 00:23:04
[RateCDR] => 1
)
[2025-01-10 00:23:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 21:23:04' and `end` < '2025-01-10 00:23:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 00:23:11] Production.ERROR: CronJobId end10
[2025-01-10 00:23:11] Production.INFO: ==21240== Releasing lock...
[2025-01-10 00:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 00:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 00:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 00:23:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 00:23:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 00:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 00:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 00:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 00:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 00:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 00:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 00:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 00:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 00:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 00:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 00:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 00:23:13] Production.INFO: call_cost start
[2025-01-10 00:23:13] Production.INFO: call_cost end
[2025-01-10 00:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 00:23:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 00:23:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 00:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 00:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 00:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 00:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 00:23:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 00:23:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 00:23:14] Production.INFO: ==21236== Releasing lock...
[2025-01-10 00:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 00:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 00:23:17] Production.INFO: count ==125
[2025-01-10 00:23:17] Production.ERROR: pbx CDR StartTime 2025-01-09 21:23:04 - End Time 2025-01-10 00:23:04
[2025-01-10 00:23:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 00:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213219', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213219', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213219', 'tblTempVendorCDR_20' ) start
[2025-01-10 00:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213219', 'tblTempVendorCDR_20' ) end
[2025-01-10 00:23:17] Production.INFO: ProcessCDR(1,14213219,1,1,2)
[2025-01-10 00:23:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213219,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:23:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213219,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:23:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213219,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:23:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213219,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:23:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213219', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:23:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213219', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:23:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:23:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:23:21] Production.INFO: ==21244== Releasing lock...
[2025-01-10 00:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 00:23:21] Production.INFO: 29 MB #Memory Used#
[2025-01-10 05:24:01] Production.INFO: ==21331== Lock acquired, processing the job...
[2025-01-10 05:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 05:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 05:24:02] Production.INFO: neon service started
[2025-01-10 05:24:02] Production.INFO: neon service started
[2025-01-10 05:24:02] Production.INFO: ==21331== Releasing lock...
[2025-01-10 05:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 05:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:24:02] Production.INFO: ==21333== Lock acquired, processing the job...
[2025-01-10 00:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:24:02] Production.INFO: ==21335== Lock acquired, processing the job...
[2025-01-10 05:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 00:24:02] Production.INFO: ==21333== Releasing lock...
[2025-01-10 00:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 00:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 05:24:02] Production.INFO: ==21335== Releasing lock...
[2025-01-10 05:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 05:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 00:24:03] Production.INFO: ==21338== Lock acquired, processing the job...
[2025-01-10 00:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 00:24:03] Production.INFO: ==21340== Lock acquired, processing the job...
[2025-01-10 00:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 00:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 00:24:03] Production.INFO: ==21342== Lock acquired, processing the job...
[2025-01-10 00:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 00:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 00:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 00:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 00:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 00:24:03] Production.INFO: ==21340== Releasing lock...
[2025-01-10 00:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 00:24:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 00:24:03] Production.INFO: ==21344== Lock acquired, processing the job...
[2025-01-10 00:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 00:24:03] Production.INFO: ==21346== Lock acquired, processing the job...
[2025-01-10 00:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 00:24:03] Production.INFO: ==21348== Lock acquired, processing the job...
[2025-01-10 00:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 00:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:24:03] Production.INFO: Account Balance Start.
[2025-01-10 00:24:03] Production.INFO: CreateAllLog Start
[2025-01-10 00:24:03] Production.INFO: 117
[2025-01-10 00:24:04] Production.INFO: Date 2025-01-08
[2025-01-10 00:24:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:24:04] Production.INFO: Date 2025-01-09
[2025-01-10 00:24:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:24:04] Production.INFO: Date 2025-01-10
[2025-01-10 00:24:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:24:04] Production.INFO: Total Charge 0
[2025-01-10 00:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:24:04] Production.INFO: CreateAllLog End
[2025-01-10 00:24:04] Production.INFO: count ==21
[2025-01-10 00:24:04] Production.ERROR: done
[2025-01-10 00:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 00:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:24:04] Production.INFO: count ==21
[2025-01-10 00:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213223') start
[2025-01-10 00:24:04] Production.INFO: Account Balance End.
[2025-01-10 00:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213223') end
[2025-01-10 00:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 00:24:04] Production.INFO: 1
[2025-01-10 00:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 00:24:04] Production.ERROR: CronJobId end 12
[2025-01-10 00:24:04] Production.INFO: ==21344== Releasing lock...
[2025-01-10 00:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 00:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 00:24:04] Production.ERROR: done
[2025-01-10 00:24:04] Production.INFO: ==21348== Releasing lock...
[2025-01-10 00:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 00:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 00:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 21:24:05
[end_date_ymd] => 2025-01-10 00:24:05
[RateCDR] => 1
)
[2025-01-10 00:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 21:24:05' and `end` < '2025-01-10 00:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 00:24:11] Production.ERROR: CronJobId end10
[2025-01-10 00:24:11] Production.INFO: ==21342== Releasing lock...
[2025-01-10 00:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 00:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 00:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 00:24:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 00:24:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 00:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 00:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 00:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 00:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 00:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 00:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 00:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 00:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 00:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 00:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 00:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 00:24:14] Production.INFO: call_cost start
[2025-01-10 00:24:14] Production.INFO: call_cost end
[2025-01-10 00:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 00:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 00:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 00:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 00:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 00:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 00:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 00:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 00:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 00:24:14] Production.INFO: ==21338== Releasing lock...
[2025-01-10 00:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 00:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 00:24:18] Production.INFO: count ==123
[2025-01-10 00:24:18] Production.ERROR: pbx CDR StartTime 2025-01-09 21:24:05 - End Time 2025-01-10 00:24:05
[2025-01-10 00:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 00:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213224', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213224', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213224', 'tblTempVendorCDR_20' ) start
[2025-01-10 00:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213224', 'tblTempVendorCDR_20' ) end
[2025-01-10 00:24:18] Production.INFO: ProcessCDR(1,14213224,1,1,2)
[2025-01-10 00:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213224,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213224,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213224,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213224,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213224', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213224', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:24:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:24:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:24:21] Production.INFO: ==21346== Releasing lock...
[2025-01-10 00:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 00:24:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-10 05:25:01] Production.INFO: ==21422== Lock acquired, processing the job...
[2025-01-10 05:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 05:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 05:25:01] Production.INFO: neon service started
[2025-01-10 05:25:01] Production.INFO: neon service started
[2025-01-10 05:25:01] Production.INFO: ==21422== Releasing lock...
[2025-01-10 05:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 05:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:25:02] Production.INFO: ==21424== Lock acquired, processing the job...
[2025-01-10 00:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:25:02] Production.INFO: ==21426== Lock acquired, processing the job...
[2025-01-10 05:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 05:25:02] Production.INFO: ==21426== Releasing lock...
[2025-01-10 05:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 05:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 00:25:02] Production.INFO: ==21424== Releasing lock...
[2025-01-10 00:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 00:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 00:25:03] Production.INFO: ==21429== Lock acquired, processing the job...
[2025-01-10 00:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 00:25:03] Production.INFO: ==21433== Lock acquired, processing the job...
[2025-01-10 00:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 00:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 00:25:03] Production.INFO: ==21431== Lock acquired, processing the job...
[2025-01-10 00:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 00:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 00:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 00:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 00:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 00:25:03] Production.INFO: ==21435== Lock acquired, processing the job...
[2025-01-10 00:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 00:25:03] Production.INFO: ==21437== Lock acquired, processing the job...
[2025-01-10 00:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 00:25:03] Production.INFO: Account Balance Start.
[2025-01-10 00:25:03] Production.INFO: CreateAllLog Start
[2025-01-10 00:25:03] Production.INFO: 117
[2025-01-10 00:25:03] Production.INFO: ==21431== Releasing lock...
[2025-01-10 00:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 00:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 00:25:03] Production.INFO: Date 2025-01-08
[2025-01-10 00:25:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:25:03] Production.INFO: Date 2025-01-09
[2025-01-10 00:25:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:25:03] Production.INFO: ==21439== Lock acquired, processing the job...
[2025-01-10 00:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 00:25:03] Production.INFO: Date 2025-01-10
[2025-01-10 00:25:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:25:03] Production.INFO: Total Charge 0
[2025-01-10 00:25:03] Production.INFO: CreateAllLog End
[2025-01-10 00:25:03] Production.ERROR: done
[2025-01-10 00:25:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 00:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:25:03] Production.INFO: count ==21
[2025-01-10 00:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:25:03] Production.INFO: count ==21
[2025-01-10 00:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213228') start
[2025-01-10 00:25:04] Production.ERROR: done
[2025-01-10 00:25:04] Production.INFO: Account Balance End.
[2025-01-10 00:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213228') end
[2025-01-10 00:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 00:25:04] Production.INFO: 1
[2025-01-10 00:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 00:25:04] Production.ERROR: CronJobId end 12
[2025-01-10 00:25:04] Production.INFO: ==21435== Releasing lock...
[2025-01-10 00:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 00:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 00:25:04] Production.INFO: ==21439== Releasing lock...
[2025-01-10 00:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 00:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 00:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 21:25:05
[end_date_ymd] => 2025-01-10 00:25:05
[RateCDR] => 1
)
[2025-01-10 00:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 21:25:05' and `end` < '2025-01-10 00:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 00:25:11] Production.ERROR: CronJobId end10
[2025-01-10 00:25:11] Production.INFO: ==21433== Releasing lock...
[2025-01-10 00:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 00:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 00:25:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 00:25:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 00:25:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 00:25:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 00:25:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 00:25:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 00:25:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 00:25:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 00:25:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 00:25:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 00:25:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 00:25:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 00:25:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 00:25:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 00:25:13] Production.INFO: call_cost start
[2025-01-10 00:25:13] Production.INFO: call_cost end
[2025-01-10 00:25:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 00:25:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 00:25:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 00:25:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 00:25:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 00:25:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 00:25:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 00:25:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 00:25:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 00:25:13] Production.INFO: ==21429== Releasing lock...
[2025-01-10 00:25:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 00:25:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 00:25:17] Production.INFO: count ==123
[2025-01-10 00:25:18] Production.ERROR: pbx CDR StartTime 2025-01-09 21:25:05 - End Time 2025-01-10 00:25:05
[2025-01-10 00:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 00:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213229', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213229', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213229', 'tblTempVendorCDR_20' ) start
[2025-01-10 00:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213229', 'tblTempVendorCDR_20' ) end
[2025-01-10 00:25:18] Production.INFO: ProcessCDR(1,14213229,1,1,2)
[2025-01-10 00:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213229,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213229,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213229,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213229,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213229', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213229', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:25:21] Production.INFO: ==21437== Releasing lock...
[2025-01-10 00:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 00:25:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-10 05:26:01] Production.INFO: ==21529== Lock acquired, processing the job...
[2025-01-10 05:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 05:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 05:26:01] Production.INFO: neon service started
[2025-01-10 05:26:01] Production.INFO: neon service started
[2025-01-10 05:26:01] Production.INFO: ==21529== Releasing lock...
[2025-01-10 05:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 05:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:26:02] Production.INFO: ==21531== Lock acquired, processing the job...
[2025-01-10 00:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 00:26:02] Production.INFO: ==21531== Releasing lock...
[2025-01-10 00:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 00:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 05:26:02] Production.INFO: ==21533== Lock acquired, processing the job...
[2025-01-10 05:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 05:26:02] Production.INFO: ==21533== Releasing lock...
[2025-01-10 05:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 05:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 00:26:03] Production.INFO: ==21535== Lock acquired, processing the job...
[2025-01-10 00:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 00:26:03] Production.INFO: ==21545== Lock acquired, processing the job...
[2025-01-10 00:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 00:26:03] Production.INFO: ==21541== Lock acquired, processing the job...
[2025-01-10 00:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 00:26:03] Production.INFO: Account Balance Start.
[2025-01-10 00:26:03] Production.INFO: CreateAllLog Start
[2025-01-10 00:26:03] Production.INFO: ==21537== Lock acquired, processing the job...
[2025-01-10 00:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 00:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 00:26:03] Production.INFO: 117
[2025-01-10 00:26:03] Production.INFO: Date 2025-01-08
[2025-01-10 00:26:03] Production.INFO: ==21539== Lock acquired, processing the job...
[2025-01-10 00:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 00:26:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:26:03] Production.INFO: count ==21
[2025-01-10 00:26:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:26:03] Production.INFO: count ==21
[2025-01-10 00:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213230') start
[2025-01-10 00:26:03] Production.INFO: Date 2025-01-09
[2025-01-10 00:26:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 00:26:03] Production.INFO: ==21543== Lock acquired, processing the job...
[2025-01-10 00:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 00:26:03] Production.INFO: Date 2025-01-10
[2025-01-10 00:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 00:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 00:26:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 00:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213230') end
[2025-01-10 00:26:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 00:26:03] Production.INFO: 1
[2025-01-10 00:26:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 00:26:03] Production.INFO: Total Charge 0
[2025-01-10 00:26:03] Production.INFO: CreateAllLog End
[2025-01-10 00:26:03] Production.INFO: ==21545== Releasing lock...
[2025-01-10 00:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 00:26:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 00:26:03] Production.INFO: ==21537== Releasing lock...
[2025-01-10 00:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 00:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 00:26:03] Production.ERROR: done
[2025-01-10 00:26:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 00:26:04] Production.INFO: Account Balance End.
[2025-01-10 00:26:04] Production.ERROR: CronJobId end 12
[2025-01-10 00:26:04] Production.INFO: ==21541== Releasing lock...
[2025-01-10 00:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 00:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 00:26:04] Production.ERROR: done
[2025-01-10 00:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 21:26:05
[end_date_ymd] => 2025-01-10 00:26:05
[RateCDR] => 1
)
[2025-01-10 00:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 21:26:05' and `end` < '2025-01-10 00:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 00:26:11] Production.ERROR: CronJobId end10
[2025-01-10 00:26:11] Production.INFO: ==21539== Releasing lock...
[2025-01-10 00:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 00:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 00:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 00:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 00:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 00:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 00:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 00:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 00:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 00:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 00:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 00:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 00:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 00:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 00:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 00:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 00:26:13] Production.INFO: call_cost start
[2025-01-10 00:26:13] Production.INFO: call_cost end
[2025-01-10 00:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 00:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 00:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 00:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 00:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 00:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 00:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 00:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 00:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 00:26:14] Production.INFO: ==21535== Releasing lock...
[2025-01-10 00:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 00:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 00:26:18] Production.INFO: count ==123
[2025-01-10 00:26:18] Production.ERROR: pbx CDR StartTime 2025-01-09 21:26:05 - End Time 2025-01-10 00:26:05
[2025-01-10 00:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 00:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213234', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213234', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213234', 'tblTempVendorCDR_20' ) start
[2025-01-10 00:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213234', 'tblTempVendorCDR_20' ) end
[2025-01-10 00:26:18] Production.INFO: ProcessCDR(1,14213234,1,1,2)
[2025-01-10 00:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213234,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213234,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213234,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213234,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213234', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213234', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:26:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:26:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:26:21] Production.INFO: ==21543== Releasing lock...
[2025-01-10 00:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 00:26:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-10 05:27:02] Production.INFO: ==21616== Lock acquired, processing the job...
[2025-01-10 05:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 05:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 05:27:02] Production.INFO: neon service started
[2025-01-10 05:27:02] Production.INFO: neon service started
[2025-01-10 05:27:02] Production.INFO: ==21616== Releasing lock...
[2025-01-10 05:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 05:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:27:02] Production.INFO: ==21619== Lock acquired, processing the job...
[2025-01-10 00:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:27:02] Production.INFO: ==21621== Lock acquired, processing the job...
[2025-01-10 05:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 00:27:02] Production.INFO: ==21619== Releasing lock...
[2025-01-10 00:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 00:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 05:27:03] Production.INFO: ==21621== Releasing lock...
[2025-01-10 05:27:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 05:27:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 00:27:03] Production.INFO: ==21625== Lock acquired, processing the job...
[2025-01-10 00:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 00:27:03] Production.INFO: ==21631== Lock acquired, processing the job...
[2025-01-10 00:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 00:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:27:03] Production.INFO: ==21633== Lock acquired, processing the job...
[2025-01-10 00:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 00:27:03] Production.INFO: ==21625== Releasing lock...
[2025-01-10 00:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 00:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 00:27:03] Production.INFO: ==21627== Lock acquired, processing the job...
[2025-01-10 00:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 00:27:04] Production.INFO: ==21623== Lock acquired, processing the job...
[2025-01-10 00:27:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 00:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 00:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 00:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 00:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 00:27:04] Production.INFO: count ==21
[2025-01-10 00:27:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 00:27:04] Production.INFO: ==21629== Lock acquired, processing the job...
[2025-01-10 00:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 00:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:27:04] Production.INFO: count ==21
[2025-01-10 00:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213236') start
[2025-01-10 00:27:04] Production.ERROR: done
[2025-01-10 00:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 00:27:04] Production.INFO: Account Balance Start.
[2025-01-10 00:27:04] Production.INFO: CreateAllLog Start
[2025-01-10 00:27:04] Production.INFO: 117
[2025-01-10 00:27:04] Production.INFO: Date 2025-01-08
[2025-01-10 00:27:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:27:04] Production.INFO: Date 2025-01-09
[2025-01-10 00:27:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213236') end
[2025-01-10 00:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 00:27:04] Production.INFO: 1
[2025-01-10 00:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 00:27:04] Production.INFO: Date 2025-01-10
[2025-01-10 00:27:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:27:04] Production.INFO: Total Charge 0
[2025-01-10 00:27:04] Production.INFO: ==21633== Releasing lock...
[2025-01-10 00:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 00:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 00:27:04] Production.INFO: CreateAllLog End
[2025-01-10 00:27:04] Production.ERROR: done
[2025-01-10 00:27:04] Production.INFO: Account Balance End.
[2025-01-10 00:27:04] Production.ERROR: CronJobId end 12
[2025-01-10 00:27:04] Production.INFO: ==21629== Releasing lock...
[2025-01-10 00:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 00:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 00:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 21:27:05
[end_date_ymd] => 2025-01-10 00:27:05
[RateCDR] => 1
)
[2025-01-10 00:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 21:27:05' and `end` < '2025-01-10 00:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 00:27:11] Production.ERROR: CronJobId end10
[2025-01-10 00:27:11] Production.INFO: ==21627== Releasing lock...
[2025-01-10 00:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 00:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 00:27:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 00:27:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 00:27:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 00:27:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 00:27:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 00:27:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 00:27:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 00:27:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 00:27:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 00:27:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 00:27:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 00:27:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 00:27:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 00:27:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 00:27:13] Production.INFO: call_cost start
[2025-01-10 00:27:13] Production.INFO: call_cost end
[2025-01-10 00:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 00:27:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 00:27:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 00:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 00:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 00:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 00:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 00:27:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 00:27:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 00:27:14] Production.INFO: ==21623== Releasing lock...
[2025-01-10 00:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 00:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 00:27:18] Production.INFO: count ==123
[2025-01-10 00:27:18] Production.ERROR: pbx CDR StartTime 2025-01-09 21:27:05 - End Time 2025-01-10 00:27:05
[2025-01-10 00:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 00:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213239', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213239', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213239', 'tblTempVendorCDR_20' ) start
[2025-01-10 00:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213239', 'tblTempVendorCDR_20' ) end
[2025-01-10 00:27:18] Production.INFO: ProcessCDR(1,14213239,1,1,2)
[2025-01-10 00:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213239,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213239,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213239,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213239,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213239', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213239', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:27:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:27:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:27:21] Production.INFO: ==21631== Releasing lock...
[2025-01-10 00:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 00:27:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-10 05:28:01] Production.INFO: ==21727== Lock acquired, processing the job...
[2025-01-10 05:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 05:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 05:28:01] Production.INFO: neon service started
[2025-01-10 05:28:01] Production.INFO: neon service started
[2025-01-10 05:28:01] Production.INFO: ==21727== Releasing lock...
[2025-01-10 05:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 05:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 05:28:02] Production.INFO: ==21732== Lock acquired, processing the job...
[2025-01-10 05:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 05:28:02] Production.INFO: ==21732== Releasing lock...
[2025-01-10 05:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 05:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 00:28:02] Production.INFO: ==21730== Lock acquired, processing the job...
[2025-01-10 00:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 00:28:02] Production.INFO: ==21730== Releasing lock...
[2025-01-10 00:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 00:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 00:28:03] Production.INFO: ==21740== Lock acquired, processing the job...
[2025-01-10 00:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 00:28:03] Production.INFO: ==21744== Lock acquired, processing the job...
[2025-01-10 00:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 00:28:03] Production.INFO: Account Balance Start.
[2025-01-10 00:28:03] Production.INFO: CreateAllLog Start
[2025-01-10 00:28:03] Production.INFO: 117
[2025-01-10 00:28:03] Production.INFO: Date 2025-01-08
[2025-01-10 00:28:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:28:03] Production.INFO: Date 2025-01-09
[2025-01-10 00:28:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:28:03] Production.INFO: count ==21
[2025-01-10 00:28:03] Production.INFO: ==21734== Lock acquired, processing the job...
[2025-01-10 00:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 00:28:03] Production.INFO: Date 2025-01-10
[2025-01-10 00:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:28:03] Production.INFO: count ==21
[2025-01-10 00:28:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213241') start
[2025-01-10 00:28:03] Production.INFO: ==21736== Lock acquired, processing the job...
[2025-01-10 00:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 00:28:03] Production.INFO: Total Charge 0
[2025-01-10 00:28:03] Production.INFO: ==21738== Lock acquired, processing the job...
[2025-01-10 00:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 00:28:03] Production.INFO: CreateAllLog End
[2025-01-10 00:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 00:28:03] Production.INFO: ==21742== Lock acquired, processing the job...
[2025-01-10 00:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 00:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213241') end
[2025-01-10 00:28:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 00:28:03] Production.INFO: 1
[2025-01-10 00:28:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 00:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 00:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 00:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 00:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 00:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:28:03] Production.INFO: Account Balance End.
[2025-01-10 00:28:03] Production.INFO: ==21744== Releasing lock...
[2025-01-10 00:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 00:28:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 00:28:04] Production.ERROR: CronJobId end 12
[2025-01-10 00:28:04] Production.INFO: ==21740== Releasing lock...
[2025-01-10 00:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 00:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 00:28:04] Production.INFO: ==21736== Releasing lock...
[2025-01-10 00:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 00:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 00:28:04] Production.ERROR: done
[2025-01-10 00:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 00:28:04] Production.ERROR: done
[2025-01-10 00:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 21:28:05
[end_date_ymd] => 2025-01-10 00:28:05
[RateCDR] => 1
)
[2025-01-10 00:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 21:28:05' and `end` < '2025-01-10 00:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 00:28:11] Production.ERROR: CronJobId end10
[2025-01-10 00:28:11] Production.INFO: ==21738== Releasing lock...
[2025-01-10 00:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 00:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 00:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 00:28:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 00:28:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 00:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 00:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 00:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 00:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 00:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 00:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 00:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 00:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 00:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 00:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 00:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 00:28:13] Production.INFO: call_cost start
[2025-01-10 00:28:13] Production.INFO: call_cost end
[2025-01-10 00:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 00:28:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 00:28:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 00:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 00:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 00:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 00:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 00:28:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 00:28:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 00:28:14] Production.INFO: ==21734== Releasing lock...
[2025-01-10 00:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 00:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 00:28:18] Production.INFO: count ==123
[2025-01-10 00:28:18] Production.ERROR: pbx CDR StartTime 2025-01-09 21:28:05 - End Time 2025-01-10 00:28:05
[2025-01-10 00:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 00:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213244', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213244', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213244', 'tblTempVendorCDR_20' ) start
[2025-01-10 00:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213244', 'tblTempVendorCDR_20' ) end
[2025-01-10 00:28:18] Production.INFO: ProcessCDR(1,14213244,1,1,2)
[2025-01-10 00:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213244,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213244,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213244,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213244,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213244', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213244', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:28:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:28:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:28:21] Production.INFO: ==21742== Releasing lock...
[2025-01-10 00:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 00:28:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-10 05:29:02] Production.INFO: ==21803== Lock acquired, processing the job...
[2025-01-10 05:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 05:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 05:29:02] Production.INFO: neon service started
[2025-01-10 05:29:02] Production.INFO: neon service started
[2025-01-10 05:29:02] Production.INFO: ==21803== Releasing lock...
[2025-01-10 05:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 05:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:29:02] Production.INFO: ==21805== Lock acquired, processing the job...
[2025-01-10 00:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 00:29:02] Production.INFO: ==21805== Releasing lock...
[2025-01-10 00:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 00:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 05:29:02] Production.INFO: ==21807== Lock acquired, processing the job...
[2025-01-10 05:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 05:29:02] Production.INFO: ==21807== Releasing lock...
[2025-01-10 05:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 05:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 00:29:03] Production.INFO: ==21818== Lock acquired, processing the job...
[2025-01-10 00:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 00:29:03] Production.INFO: ==21820== Lock acquired, processing the job...
[2025-01-10 00:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 00:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:29:03] Production.INFO: ==21812== Lock acquired, processing the job...
[2025-01-10 00:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 00:29:03] Production.INFO: ==21816== Lock acquired, processing the job...
[2025-01-10 00:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 00:29:03] Production.INFO: ==21810== Lock acquired, processing the job...
[2025-01-10 00:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 00:29:03] Production.INFO: ==21814== Lock acquired, processing the job...
[2025-01-10 00:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 00:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 00:29:03] Production.INFO: Account Balance Start.
[2025-01-10 00:29:03] Production.INFO: CreateAllLog Start
[2025-01-10 00:29:03] Production.INFO: 117
[2025-01-10 00:29:03] Production.INFO: Date 2025-01-08
[2025-01-10 00:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 00:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 00:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 00:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 00:29:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:29:04] Production.INFO: count ==21
[2025-01-10 00:29:04] Production.ERROR: done
[2025-01-10 00:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 00:29:04] Production.INFO: Date 2025-01-09
[2025-01-10 00:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:29:04] Production.INFO: ==21812== Releasing lock...
[2025-01-10 00:29:04] Production.INFO: count ==21
[2025-01-10 00:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 00:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 00:29:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213248') start
[2025-01-10 00:29:04] Production.INFO: Date 2025-01-10
[2025-01-10 00:29:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:29:04] Production.INFO: Total Charge 0
[2025-01-10 00:29:04] Production.INFO: CreateAllLog End
[2025-01-10 00:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213248') end
[2025-01-10 00:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 00:29:04] Production.INFO: 1
[2025-01-10 00:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 00:29:04] Production.ERROR: done
[2025-01-10 00:29:04] Production.INFO: ==21820== Releasing lock...
[2025-01-10 00:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 00:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 00:29:04] Production.INFO: Account Balance End.
[2025-01-10 00:29:04] Production.ERROR: CronJobId end 12
[2025-01-10 00:29:04] Production.INFO: ==21816== Releasing lock...
[2025-01-10 00:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 00:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 00:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 21:29:05
[end_date_ymd] => 2025-01-10 00:29:05
[RateCDR] => 1
)
[2025-01-10 00:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 21:29:05' and `end` < '2025-01-10 00:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 00:29:11] Production.ERROR: CronJobId end10
[2025-01-10 00:29:11] Production.INFO: ==21814== Releasing lock...
[2025-01-10 00:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 00:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 00:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 00:29:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 00:29:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 00:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 00:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 00:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 00:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 00:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 00:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 00:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 00:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 00:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 00:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 00:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 00:29:13] Production.INFO: call_cost start
[2025-01-10 00:29:13] Production.INFO: call_cost end
[2025-01-10 00:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 00:29:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 00:29:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 00:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 00:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 00:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 00:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 00:29:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 00:29:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 00:29:14] Production.INFO: ==21810== Releasing lock...
[2025-01-10 00:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 00:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 00:29:18] Production.INFO: count ==123
[2025-01-10 00:29:18] Production.ERROR: pbx CDR StartTime 2025-01-09 21:29:05 - End Time 2025-01-10 00:29:05
[2025-01-10 00:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 00:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213249', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213249', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213249', 'tblTempVendorCDR_20' ) start
[2025-01-10 00:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213249', 'tblTempVendorCDR_20' ) end
[2025-01-10 00:29:18] Production.INFO: ProcessCDR(1,14213249,1,1,2)
[2025-01-10 00:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213249,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213249,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213249,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:29:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213249,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213249', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213249', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:29:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:29:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:29:21] Production.INFO: ==21818== Releasing lock...
[2025-01-10 00:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 00:29:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-10 05:30:01] Production.INFO: ==21910== Lock acquired, processing the job...
[2025-01-10 05:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 05:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 05:30:01] Production.INFO: neon service started
[2025-01-10 05:30:01] Production.INFO: neon service started
[2025-01-10 05:30:01] Production.INFO: ==21910== Releasing lock...
[2025-01-10 05:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 05:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 05:30:02] Production.INFO: ==21914== Lock acquired, processing the job...
[2025-01-10 05:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 05:30:02] Production.INFO: ==21914== Releasing lock...
[2025-01-10 05:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 05:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 00:30:02] Production.INFO: ==21912== Lock acquired, processing the job...
[2025-01-10 00:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 00:30:02] Production.INFO: ==21912== Releasing lock...
[2025-01-10 00:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 00:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 00:30:03] Production.INFO: ==21917== Lock acquired, processing the job...
[2025-01-10 00:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 00:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 00:30:03] Production.INFO: ==21919== Lock acquired, processing the job...
[2025-01-10 00:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 00:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 00:30:03] Production.INFO: ==21917== Releasing lock...
[2025-01-10 00:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 00:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 00:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 00:30:03] Production.INFO: ==21925== Lock acquired, processing the job...
[2025-01-10 00:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 00:30:03] Production.INFO: ==21921== Lock acquired, processing the job...
[2025-01-10 00:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 00:30:03] Production.INFO: Account Balance Start.
[2025-01-10 00:30:03] Production.INFO: CreateAllLog Start
[2025-01-10 00:30:03] Production.INFO: 117
[2025-01-10 00:30:03] Production.INFO: Date 2025-01-08
[2025-01-10 00:30:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:30:03] Production.INFO: ==21929== Lock acquired, processing the job...
[2025-01-10 00:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 00:30:03] Production.INFO: ==21923== Lock acquired, processing the job...
[2025-01-10 00:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 00:30:03] Production.INFO: Date 2025-01-09
[2025-01-10 00:30:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:30:03] Production.INFO: Date 2025-01-10
[2025-01-10 00:30:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:30:03] Production.INFO: Total Charge 0
[2025-01-10 00:30:03] Production.INFO: CreateAllLog End
[2025-01-10 00:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 00:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 00:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 00:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 00:30:04] Production.INFO: ==21927== Lock acquired, processing the job...
[2025-01-10 00:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 00:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:30:04] Production.INFO: ==21931== Lock acquired, processing the job...
[2025-01-10 00:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 00:30:04] Production.INFO: ==21921== Releasing lock...
[2025-01-10 00:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 00:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 00:30:04] Production.ERROR: done
[2025-01-10 00:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 00:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14213254', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 00:30:04] Production.INFO: count ==21
[2025-01-10 00:30:04] Production.INFO: Account Balance End.
[2025-01-10 00:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:30:04] Production.INFO: count ==21
[2025-01-10 00:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213253') start
[2025-01-10 00:30:04] Production.ERROR: done
[2025-01-10 00:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 00:30:04] Production.ERROR: CronJobId end 12
[2025-01-10 00:30:04] Production.INFO: ==21925== Releasing lock...
[2025-01-10 00:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 00:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 00:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213253') end
[2025-01-10 00:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 00:30:04] Production.INFO: 1
[2025-01-10 00:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 00:30:04] Production.ERROR: done
[2025-01-10 00:30:04] Production.INFO: ==21931== Releasing lock...
[2025-01-10 00:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 00:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 00:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 21:30:05
[end_date_ymd] => 2025-01-10 00:30:05
[RateCDR] => 1
)
[2025-01-10 00:30:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 21:30:05' and `end` < '2025-01-10 00:30:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 00:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14213254', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 00:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 00:30:08] Production.INFO: ProcessCDR(1,14213254,1,1,2)
[2025-01-10 00:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14213254,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14213254,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:30:08] Production.INFO: ==21929== Releasing lock...
[2025-01-10 00:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 00:30:08] Production.INFO: 26 MB #Memory Used#
[2025-01-10 00:30:13] Production.ERROR: CronJobId end10
[2025-01-10 00:30:13] Production.INFO: ==21923== Releasing lock...
[2025-01-10 00:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 00:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 00:30:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 00:30:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 00:30:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 00:30:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 00:30:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 00:30:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 00:30:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 00:30:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 00:30:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 00:30:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 00:30:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 00:30:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 00:30:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 00:30:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 00:30:15] Production.INFO: call_cost start
[2025-01-10 00:30:15] Production.INFO: call_cost end
[2025-01-10 00:30:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 00:30:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 00:30:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 00:30:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 00:30:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 00:30:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 00:30:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 00:30:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 00:30:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 00:30:15] Production.INFO: ==21919== Releasing lock...
[2025-01-10 00:30:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 00:30:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 00:30:18] Production.INFO: count ==129
[2025-01-10 00:30:18] Production.ERROR: pbx CDR StartTime 2025-01-09 21:30:05 - End Time 2025-01-10 00:30:05
[2025-01-10 00:30:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 00:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213255', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213255', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213255', 'tblTempVendorCDR_20' ) start
[2025-01-10 00:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213255', 'tblTempVendorCDR_20' ) end
[2025-01-10 00:30:18] Production.INFO: ProcessCDR(1,14213255,1,1,2)
[2025-01-10 00:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213255,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:30:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213255,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:30:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213255,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:30:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213255,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213255', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213255', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:30:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:30:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:30:21] Production.INFO: ==21927== Releasing lock...
[2025-01-10 00:30:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 00:30:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-10 05:31:02] Production.INFO: ==22031== Lock acquired, processing the job...
[2025-01-10 05:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 05:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 05:31:02] Production.INFO: neon service started
[2025-01-10 05:31:02] Production.INFO: neon service started
[2025-01-10 05:31:02] Production.INFO: ==22031== Releasing lock...
[2025-01-10 05:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 05:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 05:31:02] Production.INFO: ==22035== Lock acquired, processing the job...
[2025-01-10 05:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 05:31:02] Production.INFO: ==22035== Releasing lock...
[2025-01-10 05:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 05:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 00:31:02] Production.INFO: ==22033== Lock acquired, processing the job...
[2025-01-10 00:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 00:31:02] Production.INFO: ==22033== Releasing lock...
[2025-01-10 00:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 00:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 00:31:03] Production.INFO: ==22038== Lock acquired, processing the job...
[2025-01-10 00:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 00:31:03] Production.INFO: ==22042== Lock acquired, processing the job...
[2025-01-10 00:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 00:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 00:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 00:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 00:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 00:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 00:31:03] Production.INFO: ==22048== Lock acquired, processing the job...
[2025-01-10 00:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 00:31:03] Production.INFO: ==22040== Lock acquired, processing the job...
[2025-01-10 00:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 00:31:03] Production.INFO: ==22044== Lock acquired, processing the job...
[2025-01-10 00:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 00:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:31:04] Production.INFO: count ==21
[2025-01-10 00:31:04] Production.INFO: ==22046== Lock acquired, processing the job...
[2025-01-10 00:31:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 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-01-10 00:31:04] Production.INFO: count ==21
[2025-01-10 00:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213257') start
[2025-01-10 00:31:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:31:04] Production.INFO: Account Balance Start.
[2025-01-10 00:31:04] Production.INFO: CreateAllLog Start
[2025-01-10 00:31:04] Production.INFO: 117
[2025-01-10 00:31:04] Production.INFO: Date 2025-01-08
[2025-01-10 00:31:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:31:04] Production.INFO: Date 2025-01-09
[2025-01-10 00:31:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213257') end
[2025-01-10 00:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 00:31:04] Production.INFO: 1
[2025-01-10 00:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 00:31:04] Production.INFO: Date 2025-01-10
[2025-01-10 00:31:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:31:04] Production.INFO: ==22040== Releasing lock...
[2025-01-10 00:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 00:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 00:31:04] Production.INFO: Total Charge 0
[2025-01-10 00:31:04] Production.INFO: CreateAllLog End
[2025-01-10 00:31:04] Production.INFO: ==22048== Releasing lock...
[2025-01-10 00:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 00:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 00:31:04] Production.ERROR: done
[2025-01-10 00:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 00:31:04] Production.ERROR: done
[2025-01-10 00:31:04] Production.INFO: Account Balance End.
[2025-01-10 00:31:04] Production.ERROR: CronJobId end 12
[2025-01-10 00:31:04] Production.INFO: ==22044== Releasing lock...
[2025-01-10 00:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 00:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 00:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 21:31:05
[end_date_ymd] => 2025-01-10 00:31:05
[RateCDR] => 1
)
[2025-01-10 00:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 21:31:05' and `end` < '2025-01-10 00:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 00:31:10] Production.ERROR: CronJobId end10
[2025-01-10 00:31:10] Production.INFO: ==22042== Releasing lock...
[2025-01-10 00:31:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 00:31:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 00:31:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 00:31:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 00:31:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 00:31:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 00:31:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 00:31:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 00:31:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 00:31:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 00:31:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 00:31:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 00:31:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 00:31:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 00:31:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 00:31:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 00:31:13] Production.INFO: call_cost start
[2025-01-10 00:31:13] Production.INFO: call_cost end
[2025-01-10 00:31:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 00:31:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 00:31:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 00:31:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 00:31:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 00:31:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 00:31:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 00:31:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 00:31:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 00:31:14] Production.INFO: ==22038== Releasing lock...
[2025-01-10 00:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 00:31:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 00:31:18] Production.INFO: count ==141
[2025-01-10 00:31:18] Production.ERROR: pbx CDR StartTime 2025-01-09 21:31:05 - End Time 2025-01-10 00:31:05
[2025-01-10 00:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 00:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213260', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213260', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213260', 'tblTempVendorCDR_20' ) start
[2025-01-10 00:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213260', 'tblTempVendorCDR_20' ) end
[2025-01-10 00:31:18] Production.INFO: ProcessCDR(1,14213260,1,1,2)
[2025-01-10 00:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213260,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213260,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213260,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:31:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213260,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213260', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213260', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:31:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:31:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:31:22] Production.INFO: ==22046== Releasing lock...
[2025-01-10 00:31:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 00:31:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-10 05:32:01] Production.INFO: ==22126== Lock acquired, processing the job...
[2025-01-10 05:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 05:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 05:32:01] Production.INFO: neon service started
[2025-01-10 05:32:01] Production.INFO: neon service started
[2025-01-10 05:32:01] Production.INFO: ==22126== Releasing lock...
[2025-01-10 05:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 05:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:32:01] Production.INFO: ==22128== Lock acquired, processing the job...
[2025-01-10 00:32:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:32:02] Production.INFO: ==22130== Lock acquired, processing the job...
[2025-01-10 05:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 00:32:02] Production.INFO: ==22128== Releasing lock...
[2025-01-10 00:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 00:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 05:32:02] Production.INFO: ==22130== Releasing lock...
[2025-01-10 05:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 05:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 00:32:02] Production.INFO: ==22132== Lock acquired, processing the job...
[2025-01-10 00:32:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 00:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 00:32:03] Production.INFO: ==22136== Lock acquired, processing the job...
[2025-01-10 00:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 00:32:03] Production.INFO: ==22134== Lock acquired, processing the job...
[2025-01-10 00:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 00:32:03] Production.INFO: ==22138== Lock acquired, processing the job...
[2025-01-10 00:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 00:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 00:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 00:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 00:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 00:32:03] Production.INFO: Account Balance Start.
[2025-01-10 00:32:03] Production.INFO: CreateAllLog Start
[2025-01-10 00:32:03] Production.INFO: ==22142== Lock acquired, processing the job...
[2025-01-10 00:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 00:32:03] Production.INFO: 117
[2025-01-10 00:32:03] Production.INFO: Date 2025-01-08
[2025-01-10 00:32:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:32:03] Production.INFO: ==22140== Lock acquired, processing the job...
[2025-01-10 00:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 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-01-10 00:32:03] Production.INFO: Date 2025-01-09
[2025-01-10 00:32:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:32:03] Production.INFO: count ==21
[2025-01-10 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-01-10 00:32:03] Production.INFO: count ==21
[2025-01-10 00:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213264') start
[2025-01-10 00:32:03] Production.INFO: Date 2025-01-10
[2025-01-10 00:32:03] Production.INFO: ==22134== Releasing lock...
[2025-01-10 00:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 00:32:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 00:32:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213264') end
[2025-01-10 00:32:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 00:32:03] Production.INFO: 1
[2025-01-10 00:32:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 00:32:03] Production.ERROR: done
[2025-01-10 00:32:03] Production.INFO: Total Charge 0
[2025-01-10 00:32:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 00:32:03] Production.INFO: ==22142== Releasing lock...
[2025-01-10 00:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 00:32:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 00:32:03] Production.INFO: CreateAllLog End
[2025-01-10 00:32:03] Production.ERROR: done
[2025-01-10 00:32:04] Production.INFO: Account Balance End.
[2025-01-10 00:32:04] Production.ERROR: CronJobId end 12
[2025-01-10 00:32:04] Production.INFO: ==22138== Releasing lock...
[2025-01-10 00:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 00:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 00:32:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 21:32:04
[end_date_ymd] => 2025-01-10 00:32:04
[RateCDR] => 1
)
[2025-01-10 00:32:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 21:32:04' and `end` < '2025-01-10 00:32:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 00:32:11] Production.ERROR: CronJobId end10
[2025-01-10 00:32:11] Production.INFO: ==22136== Releasing lock...
[2025-01-10 00:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 00:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 00:32:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 00:32:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 00:32:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 00:32:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 00:32:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 00:32:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 00:32:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 00:32:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 00:32:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 00:32:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 00:32:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 00:32:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 00:32:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 00:32:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 00:32:13] Production.INFO: call_cost start
[2025-01-10 00:32:13] Production.INFO: call_cost end
[2025-01-10 00:32:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 00:32:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 00:32:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 00:32:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 00:32:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 00:32:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 00:32:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 00:32:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 00:32:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 00:32:13] Production.INFO: ==22132== Releasing lock...
[2025-01-10 00:32:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 00:32:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 00:32:17] Production.INFO: count ==141
[2025-01-10 00:32:17] Production.ERROR: pbx CDR StartTime 2025-01-09 21:32:04 - End Time 2025-01-10 00:32:04
[2025-01-10 00:32:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 00:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213265', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213265', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213265', 'tblTempVendorCDR_20' ) start
[2025-01-10 00:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213265', 'tblTempVendorCDR_20' ) end
[2025-01-10 00:32:17] Production.INFO: ProcessCDR(1,14213265,1,1,2)
[2025-01-10 00:32:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213265,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213265,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213265,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213265,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213265', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213265', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:32:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:32:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:32:21] Production.INFO: ==22140== Releasing lock...
[2025-01-10 00:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 00:32:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-10 05:33:01] Production.INFO: ==22207== Lock acquired, processing the job...
[2025-01-10 05:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 05:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 05:33:01] Production.INFO: neon service started
[2025-01-10 05:33:02] Production.INFO: neon service started
[2025-01-10 05:33:02] Production.INFO: ==22207== Releasing lock...
[2025-01-10 05:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 05:33:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:33:02] Production.INFO: ==22209== Lock acquired, processing the job...
[2025-01-10 00:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:33:02] Production.INFO: ==22211== Lock acquired, processing the job...
[2025-01-10 05:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 05:33:02] Production.INFO: ==22211== Releasing lock...
[2025-01-10 05:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 05:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 00:33:02] Production.INFO: ==22209== Releasing lock...
[2025-01-10 00:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 00:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 00:33:03] Production.INFO: ==22219== Lock acquired, processing the job...
[2025-01-10 00:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 00:33:03] Production.INFO: ==22223== Lock acquired, processing the job...
[2025-01-10 00:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 00:33:03] Production.INFO: Account Balance Start.
[2025-01-10 00:33:03] Production.INFO: CreateAllLog Start
[2025-01-10 00:33:03] Production.INFO: 117
[2025-01-10 00:33:03] Production.INFO: Date 2025-01-08
[2025-01-10 00:33:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:33:03] Production.INFO: Date 2025-01-09
[2025-01-10 00:33:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:33:03] Production.INFO: ==22213== Lock acquired, processing the job...
[2025-01-10 00:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 00:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:33:03] Production.INFO: Date 2025-01-10
[2025-01-10 00:33:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:33:03] Production.INFO: count ==21
[2025-01-10 00:33:03] Production.INFO: ==22215== Lock acquired, processing the job...
[2025-01-10 00:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 00:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:33:03] Production.INFO: count ==21
[2025-01-10 00:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213267') start
[2025-01-10 00:33:03] Production.INFO: ==22221== Lock acquired, processing the job...
[2025-01-10 00:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 00:33:03] Production.INFO: Total Charge 0
[2025-01-10 00:33:03] Production.INFO: CreateAllLog End
[2025-01-10 00:33:03] Production.INFO: ==22217== Lock acquired, processing the job...
[2025-01-10 00:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 00:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 00:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213267') end
[2025-01-10 00:33:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 00:33:03] Production.INFO: 1
[2025-01-10 00:33:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 00:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 00:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 00:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 00:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 00:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:33:03] Production.INFO: ==22223== Releasing lock...
[2025-01-10 00:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 00:33:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 00:33:03] Production.INFO: Account Balance End.
[2025-01-10 00:33:04] Production.ERROR: CronJobId end 12
[2025-01-10 00:33:04] Production.INFO: ==22219== Releasing lock...
[2025-01-10 00:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 00:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 00:33:04] Production.ERROR: done
[2025-01-10 00:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 00:33:04] Production.INFO: ==22215== Releasing lock...
[2025-01-10 00:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 00:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 00:33:04] Production.ERROR: done
[2025-01-10 00:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 21:33:05
[end_date_ymd] => 2025-01-10 00:33:05
[RateCDR] => 1
)
[2025-01-10 00:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 21:33:05' and `end` < '2025-01-10 00:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 00:33:10] Production.ERROR: CronJobId end10
[2025-01-10 00:33:10] Production.INFO: ==22217== Releasing lock...
[2025-01-10 00:33:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 00:33:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 00:33:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 00:33:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 00:33:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 00:33:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 00:33:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 00:33:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 00:33:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 00:33:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 00:33:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 00:33:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 00:33:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 00:33:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 00:33:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 00:33:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 00:33:13] Production.INFO: call_cost start
[2025-01-10 00:33:13] Production.INFO: call_cost end
[2025-01-10 00:33:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 00:33:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 00:33:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 00:33:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 00:33:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 00:33:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 00:33:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 00:33:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 00:33:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 00:33:13] Production.INFO: ==22213== Releasing lock...
[2025-01-10 00:33:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 00:33:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 00:33:18] Production.INFO: count ==144
[2025-01-10 00:33:18] Production.ERROR: pbx CDR StartTime 2025-01-09 21:33:05 - End Time 2025-01-10 00:33:05
[2025-01-10 00:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 00:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213270', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213270', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213270', 'tblTempVendorCDR_20' ) start
[2025-01-10 00:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213270', 'tblTempVendorCDR_20' ) end
[2025-01-10 00:33:18] Production.INFO: ProcessCDR(1,14213270,1,1,2)
[2025-01-10 00:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213270,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213270,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213270,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213270,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213270', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213270', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:33:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:33:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:33:21] Production.INFO: ==22221== Releasing lock...
[2025-01-10 00:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 00:33:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-10 05:34:01] Production.INFO: ==22310== Lock acquired, processing the job...
[2025-01-10 05:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 05:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 05:34:01] Production.INFO: neon service started
[2025-01-10 05:34:01] Production.INFO: neon service started
[2025-01-10 05:34:01] Production.INFO: ==22310== Releasing lock...
[2025-01-10 05:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 05:34:01] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 00:34:01] Production.INFO: ==22312== Lock acquired, processing the job...
[2025-01-10 00:34:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 00:34:02] Production.INFO: ==22312== Releasing lock...
[2025-01-10 00:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 00:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 05:34:02] Production.INFO: ==22314== Lock acquired, processing the job...
[2025-01-10 05:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 05:34:02] Production.INFO: ==22314== Releasing lock...
[2025-01-10 05:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 05:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 00:34:02] Production.INFO: ==22320== Lock acquired, processing the job...
[2025-01-10 00:34:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 00:34:03] Production.INFO: ==22325== Lock acquired, processing the job...
[2025-01-10 00:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 00:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 00:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 00:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 00:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 00:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:34:03] Production.INFO: ==22316== Lock acquired, processing the job...
[2025-01-10 00:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 00:34:03] Production.INFO: ==22318== Lock acquired, processing the job...
[2025-01-10 00:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 00:34:03] Production.INFO: ==22323== Lock acquired, processing the job...
[2025-01-10 00:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 00:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 00:34:03] Production.ERROR: done
[2025-01-10 00:34:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 00:34:03] Production.INFO: ==22327== Lock acquired, processing the job...
[2025-01-10 00:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 00:34:03] Production.INFO: Account Balance Start.
[2025-01-10 00:34:03] Production.INFO: CreateAllLog Start
[2025-01-10 00:34:03] Production.INFO: 117
[2025-01-10 00:34:03] Production.INFO: Date 2025-01-08
[2025-01-10 00:34:03] Production.ERROR: done
[2025-01-10 00:34:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:34:03] Production.INFO: Date 2025-01-09
[2025-01-10 00:34:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:34:03] Production.INFO: Date 2025-01-10
[2025-01-10 00:34:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:34:03] Production.INFO: count ==21
[2025-01-10 00:34:03] Production.INFO: Total Charge 0
[2025-01-10 00:34:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:34:03] Production.INFO: count ==21
[2025-01-10 00:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213274') start
[2025-01-10 00:34:03] Production.INFO: CreateAllLog End
[2025-01-10 00:34:03] Production.INFO: ==22318== Releasing lock...
[2025-01-10 00:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 00:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 00:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213274') end
[2025-01-10 00:34:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 00:34:03] Production.INFO: 1
[2025-01-10 00:34:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 00:34:03] Production.INFO: ==22327== Releasing lock...
[2025-01-10 00:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 00:34:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 00:34:03] Production.INFO: Account Balance End.
[2025-01-10 00:34:03] Production.ERROR: CronJobId end 12
[2025-01-10 00:34:03] Production.INFO: ==22323== Releasing lock...
[2025-01-10 00:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 00:34:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 00:34:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 21:34:04
[end_date_ymd] => 2025-01-10 00:34:04
[RateCDR] => 1
)
[2025-01-10 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-01-09 21:34:04' and `end` < '2025-01-10 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-01-10 00:34:11] Production.ERROR: CronJobId end10
[2025-01-10 00:34:11] Production.INFO: ==22320== Releasing lock...
[2025-01-10 00:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 00:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 00:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 00:34:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 00:34:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 00:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 00:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 00:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 00:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 00:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 00:34:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 00:34:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 00:34:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 00:34:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 00:34:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 00:34:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 00:34:13] Production.INFO: call_cost start
[2025-01-10 00:34:13] Production.INFO: call_cost end
[2025-01-10 00:34:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 00:34:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 00:34:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 00:34:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 00:34:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 00:34:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 00:34:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 00:34:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 00:34:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 00:34:14] Production.INFO: ==22316== Releasing lock...
[2025-01-10 00:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 00:34:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 00:34:18] Production.INFO: count ==144
[2025-01-10 00:34:18] Production.ERROR: pbx CDR StartTime 2025-01-09 21:34:04 - End Time 2025-01-10 00:34:04
[2025-01-10 00:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 00:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213275', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213275', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213275', 'tblTempVendorCDR_20' ) start
[2025-01-10 00:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213275', 'tblTempVendorCDR_20' ) end
[2025-01-10 00:34:18] Production.INFO: ProcessCDR(1,14213275,1,1,2)
[2025-01-10 00:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213275,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213275,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213275,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213275,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213275', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213275', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:34:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:34:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:34:21] Production.INFO: ==22325== Releasing lock...
[2025-01-10 00:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 00:34:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-10 05:35:01] Production.INFO: ==22390== Lock acquired, processing the job...
[2025-01-10 05:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 05:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 05:35:01] Production.INFO: neon service started
[2025-01-10 05:35:01] Production.INFO: neon service started
[2025-01-10 05:35:01] Production.INFO: ==22390== Releasing lock...
[2025-01-10 05:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 05:35:01] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 05:35:02] Production.INFO: ==22394== Lock acquired, processing the job...
[2025-01-10 05:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 05:35:02] Production.INFO: ==22394== Releasing lock...
[2025-01-10 05:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 05:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 00:35:02] Production.INFO: ==22392== Lock acquired, processing the job...
[2025-01-10 00:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 00:35:02] Production.INFO: ==22392== Releasing lock...
[2025-01-10 00:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 00:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 00:35:03] Production.INFO: ==22396== Lock acquired, processing the job...
[2025-01-10 00:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 00:35:03] Production.INFO: ==22400== Lock acquired, processing the job...
[2025-01-10 00:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 00:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 00:35:03] Production.INFO: ==22406== Lock acquired, processing the job...
[2025-01-10 00:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 00:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 00:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 00:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 00:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 00:35:03] Production.INFO: ==22398== Lock acquired, processing the job...
[2025-01-10 00:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 00:35:03] Production.INFO: ==22402== Lock acquired, processing the job...
[2025-01-10 00:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 00:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:35:03] Production.INFO: ==22404== Lock acquired, processing the job...
[2025-01-10 00:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 00:35:03] Production.INFO: count ==21
[2025-01-10 00:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:35:03] Production.INFO: count ==21
[2025-01-10 00:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213277') start
[2025-01-10 00:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:35:03] Production.INFO: Account Balance Start.
[2025-01-10 00:35:03] Production.INFO: CreateAllLog Start
[2025-01-10 00:35:03] Production.INFO: 117
[2025-01-10 00:35:03] Production.INFO: Date 2025-01-08
[2025-01-10 00:35:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213277') end
[2025-01-10 00:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 00:35:03] Production.INFO: 1
[2025-01-10 00:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 00:35:03] Production.INFO: ==22406== Releasing lock...
[2025-01-10 00:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 00:35:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 00:35:03] Production.INFO: Date 2025-01-09
[2025-01-10 00:35:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:35:03] Production.INFO: Date 2025-01-10
[2025-01-10 00:35:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:35:04] Production.INFO: Total Charge 0
[2025-01-10 00:35:04] Production.INFO: CreateAllLog End
[2025-01-10 00:35:04] Production.ERROR: done
[2025-01-10 00:35:04] Production.INFO: ==22398== Releasing lock...
[2025-01-10 00:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 00:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 00:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 00:35:04] Production.INFO: Account Balance End.
[2025-01-10 00:35:04] Production.ERROR: done
[2025-01-10 00:35:04] Production.ERROR: CronJobId end 12
[2025-01-10 00:35:04] Production.INFO: ==22402== Releasing lock...
[2025-01-10 00:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 00:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 00:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 21:35:05
[end_date_ymd] => 2025-01-10 00:35:05
[RateCDR] => 1
)
[2025-01-10 00:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 21:35:05' and `end` < '2025-01-10 00:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 00:35:10] Production.ERROR: CronJobId end10
[2025-01-10 00:35:10] Production.INFO: ==22400== Releasing lock...
[2025-01-10 00:35:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 00:35:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 00:35:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 00:35:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 00:35:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 00:35:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 00:35:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 00:35:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 00:35:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 00:35:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 00:35:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 00:35:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 00:35:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 00:35:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 00:35:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 00:35:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 00:35:12] Production.INFO: call_cost start
[2025-01-10 00:35:12] Production.INFO: call_cost end
[2025-01-10 00:35:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 00:35:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 00:35:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 00:35:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 00:35:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 00:35:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 00:35:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 00:35:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 00:35:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 00:35:13] Production.INFO: ==22396== Releasing lock...
[2025-01-10 00:35:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 00:35:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 00:35:18] Production.INFO: count ==144
[2025-01-10 00:35:18] Production.ERROR: pbx CDR StartTime 2025-01-09 21:35:05 - End Time 2025-01-10 00:35:05
[2025-01-10 00:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 00:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213280', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213280', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213280', 'tblTempVendorCDR_20' ) start
[2025-01-10 00:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213280', 'tblTempVendorCDR_20' ) end
[2025-01-10 00:35:18] Production.INFO: ProcessCDR(1,14213280,1,1,2)
[2025-01-10 00:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213280,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213280,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213280,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213280,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213280', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213280', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:35:21] Production.INFO: ==22404== Releasing lock...
[2025-01-10 00:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 00:35:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-10 05:36:02] Production.INFO: ==22490== Lock acquired, processing the job...
[2025-01-10 05:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 05:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 05:36:02] Production.INFO: neon service started
[2025-01-10 05:36:02] Production.INFO: neon service started
[2025-01-10 05:36:02] Production.INFO: ==22490== Releasing lock...
[2025-01-10 05:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 05:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:36:02] Production.INFO: ==22492== Lock acquired, processing the job...
[2025-01-10 00:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 00:36:02] Production.INFO: ==22492== Releasing lock...
[2025-01-10 00:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 00:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 05:36:02] Production.INFO: ==22494== Lock acquired, processing the job...
[2025-01-10 05:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 05:36:03] Production.INFO: ==22494== Releasing lock...
[2025-01-10 05:36:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 05:36:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 00:36:03] Production.INFO: ==22498== Lock acquired, processing the job...
[2025-01-10 00:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 00:36:03] Production.INFO: ==22496== Lock acquired, processing the job...
[2025-01-10 00:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 00:36:03] Production.INFO: ==22502== Lock acquired, processing the job...
[2025-01-10 00:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 00:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 00:36:03] Production.INFO: Account Balance Start.
[2025-01-10 00:36:03] Production.INFO: CreateAllLog Start
[2025-01-10 00:36:03] Production.INFO: 117
[2025-01-10 00:36:03] Production.INFO: Date 2025-01-08
[2025-01-10 00:36:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:36:03] Production.INFO: Date 2025-01-09
[2025-01-10 00:36:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:36:03] Production.INFO: ==22498== Releasing lock...
[2025-01-10 00:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 00:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 00:36:03] Production.INFO: ==22500== Lock acquired, processing the job...
[2025-01-10 00:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 00:36:03] Production.INFO: Date 2025-01-10
[2025-01-10 00:36:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:36:03] Production.INFO: ==22504== Lock acquired, processing the job...
[2025-01-10 00:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 00:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 00:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 00:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 00:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 00:36:03] Production.INFO: Total Charge 0
[2025-01-10 00:36:04] Production.INFO: CreateAllLog End
[2025-01-10 00:36:04] Production.INFO: ==22506== Lock acquired, processing the job...
[2025-01-10 00:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 00:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:36:04] Production.INFO: Account Balance End.
[2025-01-10 00:36:04] Production.INFO: count ==21
[2025-01-10 00:36:04] Production.ERROR: CronJobId end 12
[2025-01-10 00:36:04] Production.INFO: ==22502== Releasing lock...
[2025-01-10 00:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 00:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 00:36:04] Production.ERROR: done
[2025-01-10 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-01-10 00:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 00:36:04] Production.INFO: count ==21
[2025-01-10 00:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213284') start
[2025-01-10 00:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213284') end
[2025-01-10 00:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 00:36:04] Production.INFO: 1
[2025-01-10 00:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 00:36:04] Production.ERROR: done
[2025-01-10 00:36:04] Production.INFO: ==22506== Releasing lock...
[2025-01-10 00:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 00:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 00:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 21:36:05
[end_date_ymd] => 2025-01-10 00:36:05
[RateCDR] => 1
)
[2025-01-10 00:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 21:36:05' and `end` < '2025-01-10 00:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 00:36:11] Production.ERROR: CronJobId end10
[2025-01-10 00:36:11] Production.INFO: ==22500== Releasing lock...
[2025-01-10 00:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 00:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 00:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 00:36:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 00:36:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 00:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 00:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 00:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 00:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 00:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 00:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 00:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 00:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 00:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 00:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 00:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 00:36:13] Production.INFO: call_cost start
[2025-01-10 00:36:13] Production.INFO: call_cost end
[2025-01-10 00:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 00:36:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 00:36:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 00:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 00:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 00:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 00:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 00:36:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 00:36:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 00:36:14] Production.INFO: ==22496== Releasing lock...
[2025-01-10 00:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 00:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 00:36:18] Production.INFO: count ==144
[2025-01-10 00:36:18] Production.ERROR: pbx CDR StartTime 2025-01-09 21:36:05 - End Time 2025-01-10 00:36:05
[2025-01-10 00:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 00:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213285', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213285', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213285', 'tblTempVendorCDR_20' ) start
[2025-01-10 00:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213285', 'tblTempVendorCDR_20' ) end
[2025-01-10 00:36:18] Production.INFO: ProcessCDR(1,14213285,1,1,2)
[2025-01-10 00:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213285,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213285,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213285,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:36:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213285,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213285', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213285', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:36:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:36:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:36:21] Production.INFO: ==22504== Releasing lock...
[2025-01-10 00:36:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 00:36:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-10 05:37:01] Production.INFO: ==22571== Lock acquired, processing the job...
[2025-01-10 05:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 05:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 05:37:01] Production.INFO: neon service started
[2025-01-10 05:37:01] Production.INFO: neon service started
[2025-01-10 05:37:01] Production.INFO: ==22571== Releasing lock...
[2025-01-10 05:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 05:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:37:02] Production.INFO: ==22573== Lock acquired, processing the job...
[2025-01-10 00:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:37:02] Production.INFO: ==22575== Lock acquired, processing the job...
[2025-01-10 05:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 05:37:02] Production.INFO: ==22575== Releasing lock...
[2025-01-10 05:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 05:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 00:37:02] Production.INFO: ==22573== Releasing lock...
[2025-01-10 00:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 00:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 00:37:03] Production.INFO: ==22577== Lock acquired, processing the job...
[2025-01-10 00:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 00:37:03] Production.INFO: ==22585== Lock acquired, processing the job...
[2025-01-10 00:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 00:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 00:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:37:03] Production.INFO: ==22579== Lock acquired, processing the job...
[2025-01-10 00:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 00:37:03] Production.INFO: ==22581== Lock acquired, processing the job...
[2025-01-10 00:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 00:37:03] Production.INFO: ==22583== Lock acquired, processing the job...
[2025-01-10 00:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 00:37:03] Production.INFO: ==22587== Lock acquired, processing the job...
[2025-01-10 00:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 00:37:03] Production.INFO: Account Balance Start.
[2025-01-10 00:37:03] Production.INFO: CreateAllLog Start
[2025-01-10 00:37:03] Production.INFO: 117
[2025-01-10 00:37:03] Production.INFO: Date 2025-01-08
[2025-01-10 00:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 00:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 00:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 00:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 00:37:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:37:03] Production.INFO: Date 2025-01-09
[2025-01-10 00:37:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:37:03] Production.INFO: Date 2025-01-10
[2025-01-10 00:37:03] Production.INFO: count ==21
[2025-01-10 00:37:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:37:03] Production.INFO: count ==21
[2025-01-10 00:37:03] Production.INFO: Total Charge 0
[2025-01-10 00:37:03] Production.ERROR: done
[2025-01-10 00:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 00:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213289') start
[2025-01-10 00:37:03] Production.INFO: CreateAllLog End
[2025-01-10 00:37:03] Production.INFO: ==22579== Releasing lock...
[2025-01-10 00:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 00:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 00:37:04] Production.INFO: Account Balance End.
[2025-01-10 00:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213289') end
[2025-01-10 00:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 00:37:04] Production.INFO: 1
[2025-01-10 00:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 00:37:04] Production.ERROR: CronJobId end 12
[2025-01-10 00:37:04] Production.INFO: ==22583== Releasing lock...
[2025-01-10 00:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 00:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 00:37:04] Production.ERROR: done
[2025-01-10 00:37:04] Production.INFO: ==22587== Releasing lock...
[2025-01-10 00:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 00:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 00:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 21:37:05
[end_date_ymd] => 2025-01-10 00:37:05
[RateCDR] => 1
)
[2025-01-10 00:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 21:37:05' and `end` < '2025-01-10 00:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 00:37:11] Production.ERROR: CronJobId end10
[2025-01-10 00:37:11] Production.INFO: ==22581== Releasing lock...
[2025-01-10 00:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 00:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 00:37:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 00:37:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 00:37:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 00:37:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 00:37:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 00:37:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 00:37:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 00:37:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 00:37:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 00:37:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 00:37:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 00:37:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 00:37:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 00:37:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 00:37:13] Production.INFO: call_cost start
[2025-01-10 00:37:13] Production.INFO: call_cost end
[2025-01-10 00:37:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 00:37:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 00:37:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 00:37:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 00:37:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 00:37:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 00:37:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 00:37:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 00:37:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 00:37:13] Production.INFO: ==22577== Releasing lock...
[2025-01-10 00:37:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 00:37:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 00:37:18] Production.INFO: count ==143
[2025-01-10 00:37:18] Production.ERROR: pbx CDR StartTime 2025-01-09 21:37:05 - End Time 2025-01-10 00:37:05
[2025-01-10 00:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 00:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213290', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213290', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213290', 'tblTempVendorCDR_20' ) start
[2025-01-10 00:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213290', 'tblTempVendorCDR_20' ) end
[2025-01-10 00:37:18] Production.INFO: ProcessCDR(1,14213290,1,1,2)
[2025-01-10 00:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213290,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213290,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213290,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213290,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213290', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213290', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:37:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:37:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:37:21] Production.INFO: ==22585== Releasing lock...
[2025-01-10 00:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 00:37:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-10 05:38:02] Production.INFO: ==22662== Lock acquired, processing the job...
[2025-01-10 05:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 05:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 05:38:02] Production.INFO: neon service started
[2025-01-10 05:38:02] Production.INFO: neon service started
[2025-01-10 05:38:02] Production.INFO: ==22662== Releasing lock...
[2025-01-10 05:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 05:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:38:02] Production.INFO: ==22664== Lock acquired, processing the job...
[2025-01-10 00:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 00:38:02] Production.INFO: ==22664== Releasing lock...
[2025-01-10 00:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 00:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 05:38:02] Production.INFO: ==22666== Lock acquired, processing the job...
[2025-01-10 05:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 05:38:02] Production.INFO: ==22666== Releasing lock...
[2025-01-10 05:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 05:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 00:38:03] Production.INFO: ==22674== Lock acquired, processing the job...
[2025-01-10 00:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 00:38:03] Production.INFO: ==22678== Lock acquired, processing the job...
[2025-01-10 00:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 00:38:03] Production.INFO: ==22669== Lock acquired, processing the job...
[2025-01-10 00:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 00:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 00:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 00:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 00:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 00:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 00:38:03] Production.INFO: ==22671== Lock acquired, processing the job...
[2025-01-10 00:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 00:38:03] Production.INFO: ==22676== Lock acquired, processing the job...
[2025-01-10 00:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 00:38:03] Production.INFO: ==22680== Lock acquired, processing the job...
[2025-01-10 00:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 00:38:03] Production.INFO: Account Balance Start.
[2025-01-10 00:38:03] Production.INFO: CreateAllLog Start
[2025-01-10 00:38:03] Production.INFO: 117
[2025-01-10 00:38:03] Production.INFO: Date 2025-01-08
[2025-01-10 00:38:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:38:04] Production.ERROR: done
[2025-01-10 00:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 00:38:04] Production.INFO: Date 2025-01-09
[2025-01-10 00:38:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:38:04] Production.INFO: count ==21
[2025-01-10 00:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:38:04] Production.INFO: count ==21
[2025-01-10 00:38:04] Production.INFO: Date 2025-01-10
[2025-01-10 00:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213294') start
[2025-01-10 00:38:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:38:04] Production.ERROR: done
[2025-01-10 00:38:04] Production.INFO: Total Charge 0
[2025-01-10 00:38:04] Production.INFO: CreateAllLog End
[2025-01-10 00:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213294') end
[2025-01-10 00:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 00:38:04] Production.INFO: 1
[2025-01-10 00:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 00:38:04] Production.INFO: ==22671== Releasing lock...
[2025-01-10 00:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 00:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 00:38:04] Production.INFO: Account Balance End.
[2025-01-10 00:38:04] Production.INFO: ==22680== Releasing lock...
[2025-01-10 00:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 00:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 00:38:04] Production.ERROR: CronJobId end 12
[2025-01-10 00:38:04] Production.INFO: ==22676== Releasing lock...
[2025-01-10 00:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 00:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 00:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 21:38:05
[end_date_ymd] => 2025-01-10 00:38:05
[RateCDR] => 1
)
[2025-01-10 00:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 21:38:05' and `end` < '2025-01-10 00:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 00:38:10] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#11 [internal function]: App\Console\Commands\NeonAlerts->fire()
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,8))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#2 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#6 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#7 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#8 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#9 [internal function]: App\Console\Commands\NeonAlerts->fire()
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 {main}
[2025-01-10 00:38:10] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 00:38:10] Production.INFO: ============== Balance Warning START===========
[2025-01-10 00:38:10] Production.INFO: ============== Balance Warning END===========
[2025-01-10 00:38:10] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 00:38:10] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 00:38:10] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 00:38:10] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 00:38:10] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 00:38:10] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 00:38:10] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 00:38:10] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 00:38:10] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 00:38:10] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 00:38:10] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 00:38:11] Production.INFO: call_cost start
[2025-01-10 00:38:11] Production.INFO: call_cost end
[2025-01-10 00:38:11] Production.ERROR: CronJobId end10
[2025-01-10 00:38:11] Production.INFO: ==22674== Releasing lock...
[2025-01-10 00:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 00:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 00:38:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 00:38:12] Production.INFO: ============== Report Schedule START===========
[2025-01-10 00:38:12] Production.INFO: ============== Report Schedule END===========
[2025-01-10 00:38:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 00:38:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 00:38:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 00:38:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 00:38:12] Production.INFO: ============== Deal alert START===========
[2025-01-10 00:38:12] Production.INFO: ============== Deal alert END===========
[2025-01-10 00:38:12] Production.INFO: ==22669== Releasing lock...
[2025-01-10 00:38:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 00:38:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 00:38:18] Production.INFO: count ==143
[2025-01-10 00:38:18] Production.ERROR: pbx CDR StartTime 2025-01-09 21:38:05 - End Time 2025-01-10 00:38:05
[2025-01-10 00:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 00:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213295', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213295', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213295', 'tblTempVendorCDR_20' ) start
[2025-01-10 00:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213295', 'tblTempVendorCDR_20' ) end
[2025-01-10 00:38:18] Production.INFO: ProcessCDR(1,14213295,1,1,2)
[2025-01-10 00:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213295,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:38:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213295,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:38:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213295,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:38:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213295,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213295', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213295', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:38:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:38:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:38:21] Production.INFO: ==22678== Releasing lock...
[2025-01-10 00:38:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 00:38:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-10 05:39:01] Production.INFO: ==22740== Lock acquired, processing the job...
[2025-01-10 05:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 05:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 05:39:01] Production.INFO: neon service started
[2025-01-10 05:39:01] Production.INFO: neon service started
[2025-01-10 05:39:01] Production.INFO: ==22740== Releasing lock...
[2025-01-10 05:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 05:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:39:01] Production.INFO: ==22742== Lock acquired, processing the job...
[2025-01-10 00:39:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:39:02] Production.INFO: ==22744== Lock acquired, processing the job...
[2025-01-10 05:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 05:39:02] Production.INFO: ==22744== Releasing lock...
[2025-01-10 05:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 05:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 00:39:02] Production.INFO: ==22742== Releasing lock...
[2025-01-10 00:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 00:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 00:39:02] Production.INFO: ==22749== Lock acquired, processing the job...
[2025-01-10 00:39:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 00:39:02] Production.INFO: ==22755== Lock acquired, processing the job...
[2025-01-10 00:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 00:39:03] Production.INFO: ==22753== Lock acquired, processing the job...
[2025-01-10 00:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 00:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:39:03] Production.INFO: ==22747== Lock acquired, processing the job...
[2025-01-10 00:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 00:39:03] Production.INFO: Account Balance Start.
[2025-01-10 00:39:03] Production.INFO: CreateAllLog Start
[2025-01-10 00:39:03] Production.INFO: 117
[2025-01-10 00:39:03] Production.INFO: ==22751== Lock acquired, processing the job...
[2025-01-10 00:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 00:39:03] Production.INFO: ==22757== Lock acquired, processing the job...
[2025-01-10 00:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 00:39:03] Production.INFO: Date 2025-01-08
[2025-01-10 00:39:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 00:39:03] Production.INFO: Date 2025-01-09
[2025-01-10 00:39:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:39:03] Production.INFO: ==22749== Releasing lock...
[2025-01-10 00:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 00:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 00:39:03] Production.ERROR: done
[2025-01-10 00:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 00:39:03] Production.INFO: Date 2025-01-10
[2025-01-10 00:39:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 00:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 00:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 00:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 00:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:39:03] Production.INFO: Total Charge 0
[2025-01-10 00:39:03] Production.INFO: CreateAllLog End
[2025-01-10 00:39:03] Production.INFO: count ==21
[2025-01-10 00:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:39:03] Production.ERROR: done
[2025-01-10 00:39:03] Production.INFO: count ==21
[2025-01-10 00:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213299') start
[2025-01-10 00:39:03] Production.INFO: Account Balance End.
[2025-01-10 00:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213299') end
[2025-01-10 00:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 00:39:03] Production.INFO: 1
[2025-01-10 00:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 00:39:03] Production.ERROR: CronJobId end 12
[2025-01-10 00:39:03] Production.INFO: ==22753== Releasing lock...
[2025-01-10 00:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 00:39:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 00:39:03] Production.INFO: ==22757== Releasing lock...
[2025-01-10 00:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 00:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 00:39:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 21:39:04
[end_date_ymd] => 2025-01-10 00:39:04
[RateCDR] => 1
)
[2025-01-10 00:39:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 21:39:04' and `end` < '2025-01-10 00:39:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 00:39:10] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_update...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#4 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->select()
#5 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::updateAccountUnbilledAmount()
#6 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_updateUnbilledAmount(1,2025-01-10 23:59:59))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#2 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->select()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::updateAccountUnbilledAmount()
#4 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#7 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 {main}
[2025-01-10 00:39:10] Production.ERROR: CronJobId end10
[2025-01-10 00:39:10] Production.INFO: ==22751== Releasing lock...
[2025-01-10 00:39:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 00:39:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 00:39:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 00:39:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 00:39:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 00:39:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 00:39:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 00:39:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 00:39:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 00:39:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 00:39:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 00:39:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 00:39:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 00:39:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 00:39:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 00:39:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 00:39:12] Production.INFO: call_cost start
[2025-01-10 00:39:12] Production.INFO: call_cost end
[2025-01-10 00:39:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 00:39:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 00:39:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 00:39:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 00:39:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 00:39:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 00:39:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 00:39:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 00:39:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 00:39:13] Production.INFO: ==22747== Releasing lock...
[2025-01-10 00:39:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 00:39:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 00:39:17] Production.INFO: count ==143
[2025-01-10 00:39:17] Production.ERROR: pbx CDR StartTime 2025-01-09 21:39:04 - End Time 2025-01-10 00:39:04
[2025-01-10 00:39:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 00:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213300', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213300', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213300', 'tblTempVendorCDR_20' ) start
[2025-01-10 00:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213300', 'tblTempVendorCDR_20' ) end
[2025-01-10 00:39:17] Production.INFO: ProcessCDR(1,14213300,1,1,2)
[2025-01-10 00:39:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213300,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:39:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213300,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:39:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213300,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213300,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213300', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213300', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:39:21] Production.INFO: ==22755== Releasing lock...
[2025-01-10 00:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 00:39:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-10 05:40:01] Production.INFO: ==22811== Lock acquired, processing the job...
[2025-01-10 05:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 05:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 05:40:01] Production.INFO: neon service started
[2025-01-10 05:40:02] Production.INFO: neon service started
[2025-01-10 05:40:02] Production.INFO: ==22811== Releasing lock...
[2025-01-10 05:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 05:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 05:40:02] Production.INFO: ==22815== Lock acquired, processing the job...
[2025-01-10 05:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 05:40:02] Production.INFO: ==22815== Releasing lock...
[2025-01-10 05:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 05:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 00:40:02] Production.INFO: ==22813== Lock acquired, processing the job...
[2025-01-10 00:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 00:40:03] Production.INFO: ==22813== Releasing lock...
[2025-01-10 00:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 00:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 00:40:03] Production.INFO: ==22818== Lock acquired, processing the job...
[2025-01-10 00:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 00:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 00:40:03] Production.INFO: ==22820== Lock acquired, processing the job...
[2025-01-10 00:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 00:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 00:40:03] Production.INFO: ==22818== Releasing lock...
[2025-01-10 00:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 00:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 00:40:03] Production.INFO: ==22822== Lock acquired, processing the job...
[2025-01-10 00:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 00:40:03] Production.INFO: ==22826== Lock acquired, processing the job...
[2025-01-10 00:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 00:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 00:40:03] Production.INFO: ==22824== Lock acquired, processing the job...
[2025-01-10 00:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 00:40:04] Production.INFO: Account Balance Start.
[2025-01-10 00:40:04] Production.INFO: CreateAllLog Start
[2025-01-10 00:40:04] Production.INFO: 117
[2025-01-10 00:40:04] Production.INFO: Date 2025-01-08
[2025-01-10 00:40:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 00:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 00:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 00:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 00:40:04] Production.INFO: ==22822== Releasing lock...
[2025-01-10 00:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 00:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 00:40:04] Production.INFO: Date 2025-01-09
[2025-01-10 00:40:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:40:04] Production.INFO: Date 2025-01-10
[2025-01-10 00:40:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:40:04] Production.INFO: Total Charge 0
[2025-01-10 00:40:04] Production.INFO: CreateAllLog End
[2025-01-10 00:40:04] Production.INFO: ==22828== Lock acquired, processing the job...
[2025-01-10 00:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 00:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:40:04] Production.INFO: ==22830== Lock acquired, processing the job...
[2025-01-10 00:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 00:40:04] Production.INFO: ==22832== Lock acquired, processing the job...
[2025-01-10 00:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 00:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:40:04] Production.INFO: Account Balance End.
[2025-01-10 00:40:04] Production.ERROR: CronJobId end 12
[2025-01-10 00:40:04] Production.INFO: ==22826== Releasing lock...
[2025-01-10 00:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 00:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 00:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:40:04] Production.INFO: count ==21
[2025-01-10 00:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:40:04] Production.INFO: count ==21
[2025-01-10 00:40:04] Production.ERROR: done
[2025-01-10 00:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 00:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213304') start
[2025-01-10 00:40:04] Production.ERROR: done
[2025-01-10 00:40:04] Production.ERROR: done
[2025-01-10 00:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213304') end
[2025-01-10 00:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 00:40:04] Production.INFO: 1
[2025-01-10 00:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 00:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 00:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14213306', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 00:40:05] Production.INFO: ==22832== Releasing lock...
[2025-01-10 00:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 00:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 00:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 21:40:06
[end_date_ymd] => 2025-01-10 00:40:06
[RateCDR] => 1
)
[2025-01-10 00:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 21:40:06' and `end` < '2025-01-10 00:40:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 00:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14213306', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 00:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 00:40:09] Production.INFO: ProcessCDR(1,14213306,1,1,2)
[2025-01-10 00:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14213306,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14213306,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:40:09] Production.INFO: ==22830== Releasing lock...
[2025-01-10 00:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 00:40:09] Production.INFO: 26 MB #Memory Used#
[2025-01-10 00:40:12] Production.ERROR: CronJobId end10
[2025-01-10 00:40:12] Production.INFO: ==22824== Releasing lock...
[2025-01-10 00:40:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 00:40:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 00:40:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 00:40:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 00:40:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 00:40:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 00:40:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 00:40:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 00:40:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 00:40:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 00:40:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 00:40:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 00:40:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 00:40:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 00:40:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 00:40:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 00:40:14] Production.INFO: call_cost start
[2025-01-10 00:40:14] Production.INFO: call_cost end
[2025-01-10 00:40:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 00:40:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 00:40:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 00:40:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 00:40:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 00:40:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 00:40:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 00:40:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 00:40:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 00:40:15] Production.INFO: ==22820== Releasing lock...
[2025-01-10 00:40:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 00:40:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 00:40:19] Production.INFO: count ==151
[2025-01-10 00:40:19] Production.ERROR: pbx CDR StartTime 2025-01-09 21:40:06 - End Time 2025-01-10 00:40:06
[2025-01-10 00:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 00:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213305', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213305', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213305', 'tblTempVendorCDR_20' ) start
[2025-01-10 00:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213305', 'tblTempVendorCDR_20' ) end
[2025-01-10 00:40:19] Production.INFO: ProcessCDR(1,14213305,1,1,2)
[2025-01-10 00:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213305,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213305,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213305,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:40:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213305,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213305', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213305', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:40:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:40:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:40:22] Production.INFO: ==22828== Releasing lock...
[2025-01-10 00:40:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 00:40:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-10 05:41:01] Production.INFO: ==22888== Lock acquired, processing the job...
[2025-01-10 05:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 05:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 05:41:01] Production.INFO: neon service started
[2025-01-10 05:41:01] Production.INFO: neon service started
[2025-01-10 05:41:01] Production.INFO: ==22888== Releasing lock...
[2025-01-10 05:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 05:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:41:02] Production.INFO: ==22890== Lock acquired, processing the job...
[2025-01-10 00:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:41:02] Production.INFO: ==22892== Lock acquired, processing the job...
[2025-01-10 05:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 05:41:02] Production.INFO: ==22892== Releasing lock...
[2025-01-10 05:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 05:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 00:41:02] Production.INFO: ==22890== Releasing lock...
[2025-01-10 00:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 00:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 00:41:03] Production.INFO: ==22895== Lock acquired, processing the job...
[2025-01-10 00:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 00:41:03] Production.INFO: ==22897== Lock acquired, processing the job...
[2025-01-10 00:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 00:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 00:41:03] Production.INFO: ==22899== Lock acquired, processing the job...
[2025-01-10 00:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 00:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 00:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 00:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 00:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 00:41:03] Production.INFO: ==22897== Releasing lock...
[2025-01-10 00:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 00:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 00:41:03] Production.INFO: ==22901== Lock acquired, processing the job...
[2025-01-10 00:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 00:41:03] Production.INFO: ==22903== Lock acquired, processing the job...
[2025-01-10 00:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 00:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:41:03] Production.INFO: ==22905== Lock acquired, processing the job...
[2025-01-10 00:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 00:41:03] Production.INFO: Account Balance Start.
[2025-01-10 00:41:03] Production.INFO: CreateAllLog Start
[2025-01-10 00:41:03] Production.INFO: 117
[2025-01-10 00:41:03] Production.INFO: Date 2025-01-08
[2025-01-10 00:41:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:41:03] Production.INFO: Date 2025-01-09
[2025-01-10 00:41:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:41:03] Production.INFO: Date 2025-01-10
[2025-01-10 00:41:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:41:03] Production.INFO: count ==21
[2025-01-10 00:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:41:03] Production.INFO: count ==21
[2025-01-10 00:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213310') start
[2025-01-10 00:41:03] Production.ERROR: done
[2025-01-10 00:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 00:41:03] Production.INFO: Total Charge 0
[2025-01-10 00:41:04] Production.INFO: CreateAllLog End
[2025-01-10 00:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213310') end
[2025-01-10 00:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 00:41:04] Production.INFO: 1
[2025-01-10 00:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 00:41:04] Production.INFO: ==22905== Releasing lock...
[2025-01-10 00:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 00:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 00:41:04] Production.ERROR: done
[2025-01-10 00:41:04] Production.INFO: Account Balance End.
[2025-01-10 00:41:04] Production.ERROR: CronJobId end 12
[2025-01-10 00:41:04] Production.INFO: ==22901== Releasing lock...
[2025-01-10 00:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 00:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 00:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 21:41:05
[end_date_ymd] => 2025-01-10 00:41:05
[RateCDR] => 1
)
[2025-01-10 00:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 21:41:05' and `end` < '2025-01-10 00:41:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 00:41:11] Production.ERROR: CronJobId end10
[2025-01-10 00:41:11] Production.INFO: ==22899== Releasing lock...
[2025-01-10 00:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 00:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 00:41:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 00:41:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 00:41:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 00:41:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 00:41:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 00:41:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 00:41:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 00:41:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 00:41:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 00:41:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 00:41:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 00:41:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 00:41:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 00:41:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 00:41:12] Production.INFO: call_cost start
[2025-01-10 00:41:12] Production.INFO: call_cost end
[2025-01-10 00:41:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 00:41:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 00:41:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 00:41:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 00:41:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 00:41:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 00:41:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 00:41:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 00:41:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 00:41:13] Production.INFO: ==22895== Releasing lock...
[2025-01-10 00:41:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 00:41:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 00:41:18] Production.INFO: count ==157
[2025-01-10 00:41:18] Production.ERROR: pbx CDR StartTime 2025-01-09 21:41:05 - End Time 2025-01-10 00:41:05
[2025-01-10 00:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 00:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213311', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213311', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213311', 'tblTempVendorCDR_20' ) start
[2025-01-10 00:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213311', 'tblTempVendorCDR_20' ) end
[2025-01-10 00:41:18] Production.INFO: ProcessCDR(1,14213311,1,1,2)
[2025-01-10 00:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213311,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213311,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213311,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213311,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213311', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213311', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:41:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:41:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:41:21] Production.INFO: ==22903== Releasing lock...
[2025-01-10 00:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 00:41:21] Production.INFO: 29.5 MB #Memory Used#
[2025-01-10 05:42:01] Production.INFO: ==22959== Lock acquired, processing the job...
[2025-01-10 05:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 05:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 05:42:01] Production.INFO: neon service started
[2025-01-10 05:42:01] Production.INFO: neon service started
[2025-01-10 05:42:01] Production.INFO: ==22959== Releasing lock...
[2025-01-10 05:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 05:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:42:02] Production.INFO: ==22961== Lock acquired, processing the job...
[2025-01-10 00:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:42:02] Production.INFO: ==22963== Lock acquired, processing the job...
[2025-01-10 05:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 00:42:02] Production.INFO: ==22961== Releasing lock...
[2025-01-10 00:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 00:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 05:42:02] Production.INFO: ==22963== Releasing lock...
[2025-01-10 05:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 05:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 00:42:03] Production.INFO: ==22969== Lock acquired, processing the job...
[2025-01-10 00:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 00:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 00:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 00:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 00:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 00:42:03] Production.INFO: ==22965== Lock acquired, processing the job...
[2025-01-10 00:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 00:42:03] Production.INFO: ==22975== Lock acquired, processing the job...
[2025-01-10 00:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 00:42:03] Production.INFO: ==22967== Lock acquired, processing the job...
[2025-01-10 00:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 00:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 00:42:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:42:03] Production.INFO: ==22971== Lock acquired, processing the job...
[2025-01-10 00:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 00:42:03] Production.INFO: ==22973== Lock acquired, processing the job...
[2025-01-10 00:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 00:42:03] Production.INFO: count ==21
[2025-01-10 00:42:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:42:03] Production.INFO: count ==21
[2025-01-10 00:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213313') start
[2025-01-10 00:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:42:03] Production.INFO: Account Balance Start.
[2025-01-10 00:42:03] Production.INFO: CreateAllLog Start
[2025-01-10 00:42:03] Production.INFO: 117
[2025-01-10 00:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213313') end
[2025-01-10 00:42:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 00:42:03] Production.INFO: ==22967== Releasing lock...
[2025-01-10 00:42:03] Production.INFO: 1
[2025-01-10 00:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 00:42:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 00:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 00:42:03] Production.INFO: Date 2025-01-08
[2025-01-10 00:42:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:42:04] Production.INFO: ==22975== Releasing lock...
[2025-01-10 00:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 00:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 00:42:04] Production.ERROR: done
[2025-01-10 00:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 00:42:04] Production.INFO: Date 2025-01-09
[2025-01-10 00:42:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:42:04] Production.ERROR: done
[2025-01-10 00:42:04] Production.INFO: Date 2025-01-10
[2025-01-10 00:42:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:42:04] Production.INFO: Total Charge 0
[2025-01-10 00:42:04] Production.INFO: CreateAllLog End
[2025-01-10 00:42:04] Production.INFO: Account Balance End.
[2025-01-10 00:42:04] Production.ERROR: CronJobId end 12
[2025-01-10 00:42:04] Production.INFO: ==22971== Releasing lock...
[2025-01-10 00:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 00:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 00:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 21:42:05
[end_date_ymd] => 2025-01-10 00:42:05
[RateCDR] => 1
)
[2025-01-10 00:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 21:42:05' and `end` < '2025-01-10 00:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 00:42:11] Production.ERROR: CronJobId end10
[2025-01-10 00:42:11] Production.INFO: ==22969== Releasing lock...
[2025-01-10 00:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 00:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 00:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 00:42:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 00:42:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 00:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 00:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 00:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 00:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 00:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 00:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 00:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 00:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 00:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 00:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 00:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 00:42:13] Production.INFO: call_cost start
[2025-01-10 00:42:13] Production.INFO: call_cost end
[2025-01-10 00:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 00:42:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 00:42:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 00:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 00:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 00:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 00:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 00:42:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 00:42:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 00:42:14] Production.INFO: ==22965== Releasing lock...
[2025-01-10 00:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 00:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 00:42:18] Production.INFO: count ==157
[2025-01-10 00:42:18] Production.ERROR: pbx CDR StartTime 2025-01-09 21:42:05 - End Time 2025-01-10 00:42:05
[2025-01-10 00:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 00:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213316', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213316', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213316', 'tblTempVendorCDR_20' ) start
[2025-01-10 00:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213316', 'tblTempVendorCDR_20' ) end
[2025-01-10 00:42:18] Production.INFO: ProcessCDR(1,14213316,1,1,2)
[2025-01-10 00:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213316,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213316,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213316,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213316,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213316', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213316', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:42:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:42:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:42:21] Production.INFO: ==22973== Releasing lock...
[2025-01-10 00:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 00:42:21] Production.INFO: 29.5 MB #Memory Used#
[2025-01-10 05:43:02] Production.INFO: ==23031== Lock acquired, processing the job...
[2025-01-10 05:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 05:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 05:43:02] Production.INFO: neon service started
[2025-01-10 05:43:02] Production.INFO: neon service started
[2025-01-10 05:43:02] Production.INFO: ==23031== Releasing lock...
[2025-01-10 05:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 05:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 05:43:02] Production.INFO: ==23036== Lock acquired, processing the job...
[2025-01-10 05:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 05:43:02] Production.INFO: ==23036== Releasing lock...
[2025-01-10 05:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 05:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 00:43:02] Production.INFO: ==23034== Lock acquired, processing the job...
[2025-01-10 00:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 00:43:03] Production.INFO: ==23034== Releasing lock...
[2025-01-10 00:43:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 00:43:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 00:43:03] Production.INFO: ==23038== Lock acquired, processing the job...
[2025-01-10 00:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 00:43:03] Production.INFO: ==23040== Lock acquired, processing the job...
[2025-01-10 00:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 00:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 00:43:03] Production.INFO: ==23046== Lock acquired, processing the job...
[2025-01-10 00:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 00:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:43:03] Production.INFO: ==23042== Lock acquired, processing the job...
[2025-01-10 00:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 00:43:04] Production.INFO: ==23040== Releasing lock...
[2025-01-10 00:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 00:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 00:43:04] Production.INFO: ==23044== Lock acquired, processing the job...
[2025-01-10 00:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 00:43:04] Production.INFO: ==23048== Lock acquired, processing the job...
[2025-01-10 00:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 00:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 00:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 00:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 00:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 00:43:04] Production.ERROR: done
[2025-01-10 00:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 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-01-10 00:43:04] Production.ERROR: done
[2025-01-10 00:43:04] Production.INFO: Account Balance Start.
[2025-01-10 00:43:04] Production.INFO: CreateAllLog Start
[2025-01-10 00:43:04] Production.INFO: 117
[2025-01-10 00:43:04] Production.INFO: count ==21
[2025-01-10 00:43:04] Production.INFO: Date 2025-01-08
[2025-01-10 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-01-10 00:43:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:43:04] Production.INFO: count ==21
[2025-01-10 00:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213320') start
[2025-01-10 00:43:04] Production.INFO: Date 2025-01-09
[2025-01-10 00:43:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213320') end
[2025-01-10 00:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 00:43:04] Production.INFO: 1
[2025-01-10 00:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 00:43:04] Production.INFO: ==23048== Releasing lock...
[2025-01-10 00:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 00:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 00:43:04] Production.INFO: Date 2025-01-10
[2025-01-10 00:43:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:43:04] Production.INFO: Total Charge 0
[2025-01-10 00:43:04] Production.INFO: CreateAllLog End
[2025-01-10 00:43:04] Production.INFO: Account Balance End.
[2025-01-10 00:43:04] Production.ERROR: CronJobId end 12
[2025-01-10 00:43:04] Production.INFO: ==23044== Releasing lock...
[2025-01-10 00:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 00:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 00:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 21:43:05
[end_date_ymd] => 2025-01-10 00:43:05
[RateCDR] => 1
)
[2025-01-10 00:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 21:43:05' and `end` < '2025-01-10 00:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 00:43:12] Production.ERROR: CronJobId end10
[2025-01-10 00:43:12] Production.INFO: ==23042== Releasing lock...
[2025-01-10 00:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 00:43:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 00:43:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 00:43:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 00:43:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 00:43:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 00:43:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 00:43:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 00:43:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 00:43:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 00:43:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 00:43:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 00:43:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 00:43:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 00:43:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 00:43:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 00:43:14] Production.INFO: call_cost start
[2025-01-10 00:43:14] Production.INFO: call_cost end
[2025-01-10 00:43:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 00:43:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 00:43:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 00:43:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 00:43:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 00:43:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 00:43:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 00:43:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 00:43:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 00:43:15] Production.INFO: ==23038== Releasing lock...
[2025-01-10 00:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 00:43:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 00:43:19] Production.INFO: count ==157
[2025-01-10 00:43:19] Production.ERROR: pbx CDR StartTime 2025-01-09 21:43:05 - End Time 2025-01-10 00:43:05
[2025-01-10 00:43:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 00:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213321', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213321', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213321', 'tblTempVendorCDR_20' ) start
[2025-01-10 00:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213321', 'tblTempVendorCDR_20' ) end
[2025-01-10 00:43:19] Production.INFO: ProcessCDR(1,14213321,1,1,2)
[2025-01-10 00:43:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213321,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:43:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213321,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:43:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213321,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:43:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213321,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213321', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213321', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:43:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:43:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:43:22] Production.INFO: ==23046== Releasing lock...
[2025-01-10 00:43:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 00:43:22] Production.INFO: 29.5 MB #Memory Used#
[2025-01-10 05:44:01] Production.INFO: ==23102== Lock acquired, processing the job...
[2025-01-10 05:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 05:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 05:44:01] Production.INFO: neon service started
[2025-01-10 05:44:01] Production.INFO: neon service started
[2025-01-10 05:44:01] Production.INFO: ==23102== Releasing lock...
[2025-01-10 05:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 05:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:44:02] Production.INFO: ==23104== Lock acquired, processing the job...
[2025-01-10 00:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:44:02] Production.INFO: ==23106== Lock acquired, processing the job...
[2025-01-10 05:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 05:44:02] Production.INFO: ==23106== Releasing lock...
[2025-01-10 05:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 05:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 00:44:02] Production.INFO: ==23104== Releasing lock...
[2025-01-10 00:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 00:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 00:44:03] Production.INFO: ==23111== Lock acquired, processing the job...
[2025-01-10 00:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 00:44:03] Production.INFO: ==23113== Lock acquired, processing the job...
[2025-01-10 00:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 00:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 00:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 00:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 00:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 00:44:03] Production.INFO: ==23119== Lock acquired, processing the job...
[2025-01-10 00:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 00:44:03] Production.INFO: ==23109== Lock acquired, processing the job...
[2025-01-10 00:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 00:44:03] Production.INFO: ==23111== Releasing lock...
[2025-01-10 00:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 00:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 00:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 00:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:44:03] Production.INFO: ==23115== Lock acquired, processing the job...
[2025-01-10 00:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 00:44:03] Production.INFO: count ==21
[2025-01-10 00:44:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:44:03] Production.INFO: count ==21
[2025-01-10 00:44:03] Production.INFO: ==23117== Lock acquired, processing the job...
[2025-01-10 00:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 00:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213323') start
[2025-01-10 00:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213323') end
[2025-01-10 00:44:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 00:44:03] Production.INFO: 1
[2025-01-10 00:44:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 00:44:03] Production.INFO: Account Balance Start.
[2025-01-10 00:44:03] Production.INFO: CreateAllLog Start
[2025-01-10 00:44:03] Production.INFO: 117
[2025-01-10 00:44:03] Production.INFO: Date 2025-01-08
[2025-01-10 00:44:03] Production.INFO: ==23119== Releasing lock...
[2025-01-10 00:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 00:44:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 00:44:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:44:04] Production.INFO: Date 2025-01-09
[2025-01-10 00:44:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:44:04] Production.INFO: Date 2025-01-10
[2025-01-10 00:44:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:44:04] Production.INFO: Total Charge 0
[2025-01-10 00:44:04] Production.INFO: CreateAllLog End
[2025-01-10 00:44:04] Production.ERROR: done
[2025-01-10 00:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 00:44:04] Production.INFO: Account Balance End.
[2025-01-10 00:44:04] Production.ERROR: done
[2025-01-10 00:44:04] Production.ERROR: CronJobId end 12
[2025-01-10 00:44:04] Production.INFO: ==23115== Releasing lock...
[2025-01-10 00:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 00:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 00:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 21:44:05
[end_date_ymd] => 2025-01-10 00:44:05
[RateCDR] => 1
)
[2025-01-10 00:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 21:44:05' and `end` < '2025-01-10 00:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 00:44:11] Production.ERROR: CronJobId end10
[2025-01-10 00:44:11] Production.INFO: ==23113== Releasing lock...
[2025-01-10 00:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 00:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 00:44:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 00:44:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 00:44:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 00:44:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 00:44:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 00:44:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 00:44:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 00:44:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 00:44:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 00:44:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 00:44:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 00:44:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 00:44:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 00:44:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 00:44:13] Production.INFO: call_cost start
[2025-01-10 00:44:13] Production.INFO: call_cost end
[2025-01-10 00:44:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 00:44:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 00:44:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 00:44:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 00:44:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 00:44:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 00:44:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 00:44:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 00:44:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 00:44:13] Production.INFO: ==23109== Releasing lock...
[2025-01-10 00:44:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 00:44:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 00:44:18] Production.INFO: count ==155
[2025-01-10 00:44:18] Production.ERROR: pbx CDR StartTime 2025-01-09 21:44:05 - End Time 2025-01-10 00:44:05
[2025-01-10 00:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 00:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213326', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213326', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213326', 'tblTempVendorCDR_20' ) start
[2025-01-10 00:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213326', 'tblTempVendorCDR_20' ) end
[2025-01-10 00:44:18] Production.INFO: ProcessCDR(1,14213326,1,1,2)
[2025-01-10 00:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213326,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213326,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213326,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213326,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213326', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213326', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:44:21] Production.INFO: ==23117== Releasing lock...
[2025-01-10 00:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 00:44:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-10 05:45:02] Production.INFO: ==23172== Lock acquired, processing the job...
[2025-01-10 05:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 05:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 05:45:02] Production.INFO: neon service started
[2025-01-10 05:45:02] Production.INFO: neon service started
[2025-01-10 05:45:02] Production.INFO: ==23172== Releasing lock...
[2025-01-10 05:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 05:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:45:02] Production.INFO: ==23174== Lock acquired, processing the job...
[2025-01-10 00:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 00:45:02] Production.INFO: ==23174== Releasing lock...
[2025-01-10 00:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 00:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 05:45:03] Production.INFO: ==23176== Lock acquired, processing the job...
[2025-01-10 05:45:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 05:45:03] Production.INFO: ==23176== Releasing lock...
[2025-01-10 05:45:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 05:45:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 00:45:03] Production.INFO: ==23178== Lock acquired, processing the job...
[2025-01-10 00:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 00:45:03] Production.INFO: ==23180== Lock acquired, processing the job...
[2025-01-10 00:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 00:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 00:45:03] Production.INFO: ==23184== Lock acquired, processing the job...
[2025-01-10 00:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 00:45:03] Production.INFO: Account Balance Start.
[2025-01-10 00:45:03] Production.INFO: CreateAllLog Start
[2025-01-10 00:45:03] Production.INFO: 117
[2025-01-10 00:45:03] Production.INFO: Date 2025-01-08
[2025-01-10 00:45:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:45:03] Production.INFO: ==23180== Releasing lock...
[2025-01-10 00:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 00:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 00:45:04] Production.INFO: Date 2025-01-09
[2025-01-10 00:45:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:45:04] Production.INFO: ==23182== Lock acquired, processing the job...
[2025-01-10 00:45:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 00:45:04] Production.INFO: Date 2025-01-10
[2025-01-10 00:45:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:45:04] Production.INFO: ==23186== Lock acquired, processing the job...
[2025-01-10 00:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 00:45:04] Production.INFO: Total Charge 0
[2025-01-10 00:45:04] Production.INFO: CreateAllLog End
[2025-01-10 00:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 00:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 00:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 00:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 00:45:04] Production.INFO: ==23188== Lock acquired, processing the job...
[2025-01-10 00:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 00:45:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:45:04] Production.INFO: Account Balance End.
[2025-01-10 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-01-10 00:45:04] Production.ERROR: done
[2025-01-10 00:45:04] Production.ERROR: CronJobId end 12
[2025-01-10 00:45:04] Production.INFO: ==23184== Releasing lock...
[2025-01-10 00:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 00:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 00:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 00:45:04] Production.INFO: count ==21
[2025-01-10 00:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:45:04] Production.INFO: count ==21
[2025-01-10 00:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213330') start
[2025-01-10 00:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213330') end
[2025-01-10 00:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 00:45:04] Production.INFO: 1
[2025-01-10 00:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 00:45:04] Production.ERROR: done
[2025-01-10 00:45:04] Production.INFO: ==23188== Releasing lock...
[2025-01-10 00:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 00:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 00:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 21:45:05
[end_date_ymd] => 2025-01-10 00:45:05
[RateCDR] => 1
)
[2025-01-10 00:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 21:45:05' and `end` < '2025-01-10 00:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 00:45:11] Production.ERROR: CronJobId end10
[2025-01-10 00:45:11] Production.INFO: ==23182== Releasing lock...
[2025-01-10 00:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 00:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 00:45:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 00:45:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 00:45:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 00:45:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 00:45:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 00:45:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 00:45:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 00:45:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 00:45:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 00:45:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 00:45:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 00:45:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 00:45:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 00:45:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 00:45:12] Production.INFO: call_cost start
[2025-01-10 00:45:12] Production.INFO: call_cost end
[2025-01-10 00:45:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 00:45:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 00:45:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 00:45:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 00:45:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 00:45:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 00:45:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 00:45:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 00:45:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 00:45:13] Production.INFO: ==23178== Releasing lock...
[2025-01-10 00:45:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 00:45:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 00:45:18] Production.INFO: count ==155
[2025-01-10 00:45:18] Production.ERROR: pbx CDR StartTime 2025-01-09 21:45:05 - End Time 2025-01-10 00:45:05
[2025-01-10 00:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 00:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213331', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213331', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213331', 'tblTempVendorCDR_20' ) start
[2025-01-10 00:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213331', 'tblTempVendorCDR_20' ) end
[2025-01-10 00:45:18] Production.INFO: ProcessCDR(1,14213331,1,1,2)
[2025-01-10 00:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213331,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213331,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213331,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213331,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213331', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213331', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:45:21] Production.INFO: ==23186== Releasing lock...
[2025-01-10 00:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 00:45:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-10 05:46:01] Production.INFO: ==23280== Lock acquired, processing the job...
[2025-01-10 05:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 05:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 05:46:01] Production.INFO: neon service started
[2025-01-10 05:46:01] Production.INFO: neon service started
[2025-01-10 05:46:01] Production.INFO: ==23280== Releasing lock...
[2025-01-10 05:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 05:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:46:02] Production.INFO: ==23282== Lock acquired, processing the job...
[2025-01-10 00:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 00:46:02] Production.INFO: ==23282== Releasing lock...
[2025-01-10 00:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 00:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 05:46:02] Production.INFO: ==23284== Lock acquired, processing the job...
[2025-01-10 05:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 05:46:02] Production.INFO: ==23284== Releasing lock...
[2025-01-10 05:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 05:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 00:46:03] Production.INFO: ==23286== Lock acquired, processing the job...
[2025-01-10 00:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 00:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 00:46:03] Production.INFO: ==23288== Lock acquired, processing the job...
[2025-01-10 00:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 00:46:03] Production.INFO: ==23293== Lock acquired, processing the job...
[2025-01-10 00:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 00:46:03] Production.INFO: ==23290== Lock acquired, processing the job...
[2025-01-10 00:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 00:46:03] Production.INFO: ==23295== Lock acquired, processing the job...
[2025-01-10 00:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 00:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:46:03] Production.INFO: ==23297== Lock acquired, processing the job...
[2025-01-10 00:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 00:46:03] Production.INFO: Account Balance Start.
[2025-01-10 00:46:03] Production.INFO: CreateAllLog Start
[2025-01-10 00:46:03] Production.INFO: 117
[2025-01-10 00:46:03] Production.INFO: Date 2025-01-08
[2025-01-10 00:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 00:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 00:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 00:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 00:46:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:46:03] Production.INFO: Date 2025-01-09
[2025-01-10 00:46:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:46:03] Production.INFO: Date 2025-01-10
[2025-01-10 00:46:03] Production.INFO: ==23288== Releasing lock...
[2025-01-10 00:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 00:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 00:46:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:46:03] Production.INFO: Total Charge 0
[2025-01-10 00:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:46:03] Production.INFO: CreateAllLog End
[2025-01-10 00:46:03] Production.INFO: count ==21
[2025-01-10 00:46:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:46:03] Production.INFO: count ==21
[2025-01-10 00:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213335') start
[2025-01-10 00:46:03] Production.ERROR: done
[2025-01-10 00:46:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 00:46:04] Production.INFO: Account Balance End.
[2025-01-10 00:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213335') end
[2025-01-10 00:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 00:46:04] Production.INFO: 1
[2025-01-10 00:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 00:46:04] Production.ERROR: CronJobId end 12
[2025-01-10 00:46:04] Production.INFO: ==23293== Releasing lock...
[2025-01-10 00:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 00:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 00:46:04] Production.INFO: ==23297== Releasing lock...
[2025-01-10 00:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 00:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 00:46:04] Production.ERROR: done
[2025-01-10 00:46:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 21:46:04
[end_date_ymd] => 2025-01-10 00:46:04
[RateCDR] => 1
)
[2025-01-10 00:46:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 21:46:04' and `end` < '2025-01-10 00:46:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 00:46:11] Production.ERROR: CronJobId end10
[2025-01-10 00:46:11] Production.INFO: ==23290== Releasing lock...
[2025-01-10 00:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 00:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 00:46:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 00:46:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 00:46:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 00:46:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 00:46:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 00:46:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 00:46:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 00:46:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 00:46:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 00:46:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 00:46:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 00:46:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 00:46:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 00:46:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 00:46:12] Production.INFO: call_cost start
[2025-01-10 00:46:12] Production.INFO: call_cost end
[2025-01-10 00:46:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 00:46:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 00:46:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 00:46:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 00:46:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 00:46:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 00:46:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 00:46:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 00:46:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 00:46:13] Production.INFO: ==23286== Releasing lock...
[2025-01-10 00:46:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 00:46:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 00:46:17] Production.INFO: count ==154
[2025-01-10 00:46:17] Production.ERROR: pbx CDR StartTime 2025-01-09 21:46:04 - End Time 2025-01-10 00:46:04
[2025-01-10 00:46:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 00:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213336', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213336', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213336', 'tblTempVendorCDR_20' ) start
[2025-01-10 00:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213336', 'tblTempVendorCDR_20' ) end
[2025-01-10 00:46:17] Production.INFO: ProcessCDR(1,14213336,1,1,2)
[2025-01-10 00:46:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213336,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213336,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213336,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213336,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213336', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213336', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:46:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:46:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:46:21] Production.INFO: ==23295== Releasing lock...
[2025-01-10 00:46:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 00:46:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-10 05:47:02] Production.INFO: ==23352== Lock acquired, processing the job...
[2025-01-10 05:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 05:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 05:47:02] Production.INFO: neon service started
[2025-01-10 05:47:02] Production.INFO: neon service started
[2025-01-10 05:47:02] Production.INFO: ==23352== Releasing lock...
[2025-01-10 05:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 05:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:47:02] Production.INFO: ==23354== Lock acquired, processing the job...
[2025-01-10 00:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:47:02] Production.INFO: ==23356== Lock acquired, processing the job...
[2025-01-10 05:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 05:47:02] Production.INFO: ==23356== Releasing lock...
[2025-01-10 05:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 05:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 00:47:03] Production.INFO: ==23354== Releasing lock...
[2025-01-10 00:47:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 00:47:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 00:47:03] Production.INFO: ==23361== Lock acquired, processing the job...
[2025-01-10 00:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 00:47:03] Production.INFO: ==23363== Lock acquired, processing the job...
[2025-01-10 00:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 00:47:03] Production.INFO: ==23359== Lock acquired, processing the job...
[2025-01-10 00:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 00:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 00:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 00:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 00:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 00:47:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 00:47:04] Production.INFO: ==23365== Lock acquired, processing the job...
[2025-01-10 00:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 00:47:04] Production.INFO: ==23369== Lock acquired, processing the job...
[2025-01-10 00:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 00:47:04] Production.INFO: ==23361== Releasing lock...
[2025-01-10 00:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 00:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 00:47:04] Production.INFO: ==23367== Lock acquired, processing the job...
[2025-01-10 00:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 00:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:47:04] Production.INFO: Account Balance Start.
[2025-01-10 00:47:04] Production.INFO: CreateAllLog Start
[2025-01-10 00:47:04] Production.INFO: 117
[2025-01-10 00:47:04] Production.INFO: Date 2025-01-08
[2025-01-10 00:47:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:47:04] Production.INFO: Date 2025-01-09
[2025-01-10 00:47:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:47:04] Production.INFO: count ==21
[2025-01-10 00:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:47:04] Production.INFO: count ==21
[2025-01-10 00:47:04] Production.INFO: Date 2025-01-10
[2025-01-10 00:47:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213340') start
[2025-01-10 00:47:04] Production.INFO: Total Charge 0
[2025-01-10 00:47:04] Production.INFO: CreateAllLog End
[2025-01-10 00:47:04] Production.ERROR: done
[2025-01-10 00:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 00:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213340') end
[2025-01-10 00:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 00:47:04] Production.INFO: 1
[2025-01-10 00:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 00:47:04] Production.INFO: ==23369== Releasing lock...
[2025-01-10 00:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 00:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 00:47:04] Production.ERROR: done
[2025-01-10 00:47:04] Production.INFO: Account Balance End.
[2025-01-10 00:47:04] Production.ERROR: CronJobId end 12
[2025-01-10 00:47:04] Production.INFO: ==23365== Releasing lock...
[2025-01-10 00:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 00:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 00:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 21:47:05
[end_date_ymd] => 2025-01-10 00:47:05
[RateCDR] => 1
)
[2025-01-10 00:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 21:47:05' and `end` < '2025-01-10 00:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 00:47:12] Production.ERROR: CronJobId end10
[2025-01-10 00:47:12] Production.INFO: ==23363== Releasing lock...
[2025-01-10 00:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 00:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 00:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 00:47:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 00:47:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 00:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 00:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 00:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 00:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 00:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 00:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 00:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 00:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 00:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 00:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 00:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 00:47:14] Production.INFO: call_cost start
[2025-01-10 00:47:14] Production.INFO: call_cost end
[2025-01-10 00:47:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 00:47:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 00:47:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 00:47:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 00:47:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 00:47:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 00:47:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 00:47:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 00:47:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 00:47:14] Production.INFO: ==23359== Releasing lock...
[2025-01-10 00:47:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 00:47:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 00:47:18] Production.INFO: count ==152
[2025-01-10 00:47:18] Production.ERROR: pbx CDR StartTime 2025-01-09 21:47:05 - End Time 2025-01-10 00:47:05
[2025-01-10 00:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 00:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213341', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213341', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213341', 'tblTempVendorCDR_20' ) start
[2025-01-10 00:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213341', 'tblTempVendorCDR_20' ) end
[2025-01-10 00:47:18] Production.INFO: ProcessCDR(1,14213341,1,1,2)
[2025-01-10 00:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213341,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213341,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213341,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213341,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213341', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213341', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:47:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:47:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:47:21] Production.INFO: ==23367== Releasing lock...
[2025-01-10 00:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 00:47:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-10 05:48:01] Production.INFO: ==23430== Lock acquired, processing the job...
[2025-01-10 05:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 05:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 05:48:01] Production.INFO: neon service started
[2025-01-10 05:48:01] Production.INFO: neon service started
[2025-01-10 05:48:01] Production.INFO: ==23430== Releasing lock...
[2025-01-10 05:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 05:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:48:01] Production.INFO: ==23433== Lock acquired, processing the job...
[2025-01-10 00:48:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 00:48:02] Production.INFO: ==23433== Releasing lock...
[2025-01-10 00:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 00:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 05:48:02] Production.INFO: ==23435== Lock acquired, processing the job...
[2025-01-10 05:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 05:48:02] Production.INFO: ==23435== Releasing lock...
[2025-01-10 05:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 05:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 00:48:03] Production.INFO: ==23447== Lock acquired, processing the job...
[2025-01-10 00:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 00:48:03] Production.INFO: ==23445== Lock acquired, processing the job...
[2025-01-10 00:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 00:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:48:03] Production.INFO: count ==21
[2025-01-10 00:48:03] Production.INFO: ==23437== Lock acquired, processing the job...
[2025-01-10 00:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 00:48:03] Production.INFO: ==23439== Lock acquired, processing the job...
[2025-01-10 00:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 00:48:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:48:03] Production.INFO: count ==21
[2025-01-10 00:48:03] Production.INFO: ==23443== Lock acquired, processing the job...
[2025-01-10 00:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 00:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213342') start
[2025-01-10 00:48:03] Production.INFO: ==23441== Lock acquired, processing the job...
[2025-01-10 00:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 00:48:03] Production.INFO: Account Balance Start.
[2025-01-10 00:48:03] Production.INFO: CreateAllLog Start
[2025-01-10 00:48:03] Production.INFO: 117
[2025-01-10 00:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 00:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213342') end
[2025-01-10 00:48:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 00:48:03] Production.INFO: 1
[2025-01-10 00:48:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 00:48:03] Production.INFO: Date 2025-01-08
[2025-01-10 00:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 00:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 00:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 00:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 00:48:03] Production.INFO: ==23447== Releasing lock...
[2025-01-10 00:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 00:48:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 00:48:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:48:03] Production.ERROR: done
[2025-01-10 00:48:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 00:48:03] Production.INFO: Date 2025-01-09
[2025-01-10 00:48:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:48:03] Production.ERROR: done
[2025-01-10 00:48:03] Production.INFO: Date 2025-01-10
[2025-01-10 00:48:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:48:03] Production.INFO: ==23439== Releasing lock...
[2025-01-10 00:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 00:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 00:48:03] Production.INFO: Total Charge 0
[2025-01-10 00:48:03] Production.INFO: CreateAllLog End
[2025-01-10 00:48:04] Production.INFO: Account Balance End.
[2025-01-10 00:48:04] Production.ERROR: CronJobId end 12
[2025-01-10 00:48:04] Production.INFO: ==23443== Releasing lock...
[2025-01-10 00:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 00:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 00:48:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 21:48:04
[end_date_ymd] => 2025-01-10 00:48:04
[RateCDR] => 1
)
[2025-01-10 00:48:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 21:48:04' and `end` < '2025-01-10 00:48:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 00:48:10] Production.ERROR: CronJobId end10
[2025-01-10 00:48:10] Production.INFO: ==23441== Releasing lock...
[2025-01-10 00:48:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 00:48:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 00:48:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 00:48:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 00:48:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 00:48:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 00:48:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 00:48:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 00:48:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 00:48:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 00:48:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 00:48:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 00:48:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 00:48:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 00:48:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 00:48:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 00:48:12] Production.INFO: call_cost start
[2025-01-10 00:48:12] Production.INFO: call_cost end
[2025-01-10 00:48:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 00:48:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 00:48:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 00:48:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 00:48:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 00:48:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 00:48:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 00:48:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 00:48:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 00:48:13] Production.INFO: ==23437== Releasing lock...
[2025-01-10 00:48:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 00:48:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 00:48:17] Production.INFO: count ==151
[2025-01-10 00:48:17] Production.ERROR: pbx CDR StartTime 2025-01-09 21:48:04 - End Time 2025-01-10 00:48:04
[2025-01-10 00:48:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 00:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213346', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213346', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213346', 'tblTempVendorCDR_20' ) start
[2025-01-10 00:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213346', 'tblTempVendorCDR_20' ) end
[2025-01-10 00:48:17] Production.INFO: ProcessCDR(1,14213346,1,1,2)
[2025-01-10 00:48:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213346,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:48:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213346,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:48:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213346,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:48:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213346,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:48:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213346', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:48:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213346', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:48:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:48:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:48:20] Production.INFO: ==23445== Releasing lock...
[2025-01-10 00:48:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 00:48:20] Production.INFO: 29.25 MB #Memory Used#
[2025-01-10 05:49:01] Production.INFO: ==23501== Lock acquired, processing the job...
[2025-01-10 05:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 05:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 05:49:01] Production.INFO: neon service started
[2025-01-10 05:49:01] Production.INFO: neon service started
[2025-01-10 05:49:01] Production.INFO: ==23501== Releasing lock...
[2025-01-10 05:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 05:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:49:02] Production.INFO: ==23503== Lock acquired, processing the job...
[2025-01-10 00:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:49:02] Production.INFO: ==23505== Lock acquired, processing the job...
[2025-01-10 05:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 05:49:02] Production.INFO: ==23505== Releasing lock...
[2025-01-10 05:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 05:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 00:49:02] Production.INFO: ==23503== Releasing lock...
[2025-01-10 00:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 00:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 00:49:03] Production.INFO: ==23508== Lock acquired, processing the job...
[2025-01-10 00:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 00:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 00:49:03] Production.INFO: ==23510== Lock acquired, processing the job...
[2025-01-10 00:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 00:49:03] Production.INFO: ==23512== Lock acquired, processing the job...
[2025-01-10 00:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 00:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 00:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 00:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 00:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 00:49:03] Production.INFO: ==23514== Lock acquired, processing the job...
[2025-01-10 00:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 00:49:03] Production.INFO: ==23518== Lock acquired, processing the job...
[2025-01-10 00:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 00:49:04] Production.INFO: ==23516== Lock acquired, processing the job...
[2025-01-10 00:49:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 00:49:04] Production.INFO: Account Balance Start.
[2025-01-10 00:49:04] Production.INFO: CreateAllLog Start
[2025-01-10 00:49:04] Production.INFO: 117
[2025-01-10 00:49:04] Production.INFO: Date 2025-01-08
[2025-01-10 00:49:04] Production.INFO: ==23510== Releasing lock...
[2025-01-10 00:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 00:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 00:49:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:49:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:49:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:49:04] Production.INFO: Date 2025-01-09
[2025-01-10 00:49:04] Production.INFO: count ==21
[2025-01-10 00:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:49:04] Production.INFO: count ==21
[2025-01-10 00:49:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213350') start
[2025-01-10 00:49:04] Production.INFO: Date 2025-01-10
[2025-01-10 00:49:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213350') end
[2025-01-10 00:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 00:49:04] Production.INFO: 1
[2025-01-10 00:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 00:49:04] Production.INFO: Total Charge 0
[2025-01-10 00:49:04] Production.INFO: CreateAllLog End
[2025-01-10 00:49:04] Production.INFO: ==23518== Releasing lock...
[2025-01-10 00:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 00:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 00:49:04] Production.ERROR: done
[2025-01-10 00:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 00:49:04] Production.INFO: Account Balance End.
[2025-01-10 00:49:04] Production.ERROR: done
[2025-01-10 00:49:04] Production.ERROR: CronJobId end 12
[2025-01-10 00:49:04] Production.INFO: ==23514== Releasing lock...
[2025-01-10 00:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 00:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 00:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 21:49:05
[end_date_ymd] => 2025-01-10 00:49:05
[RateCDR] => 1
)
[2025-01-10 00:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 21:49:05' and `end` < '2025-01-10 00:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 00:49:10] Production.ERROR: CronJobId end10
[2025-01-10 00:49:10] Production.INFO: ==23512== Releasing lock...
[2025-01-10 00:49:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 00:49:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 00:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 00:49:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 00:49:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 00:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 00:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 00:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 00:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 00:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 00:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 00:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 00:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 00:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 00:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 00:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 00:49:14] Production.INFO: call_cost start
[2025-01-10 00:49:14] Production.INFO: call_cost end
[2025-01-10 00:49:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 00:49:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 00:49:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 00:49:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 00:49:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 00:49:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 00:49:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 00:49:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 00:49:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 00:49:15] Production.INFO: ==23508== Releasing lock...
[2025-01-10 00:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 00:49:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 00:49:19] Production.INFO: count ==150
[2025-01-10 00:49:19] Production.ERROR: pbx CDR StartTime 2025-01-09 21:49:05 - End Time 2025-01-10 00:49:05
[2025-01-10 00:49:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 00:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213351', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213351', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213351', 'tblTempVendorCDR_20' ) start
[2025-01-10 00:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213351', 'tblTempVendorCDR_20' ) end
[2025-01-10 00:49:19] Production.INFO: ProcessCDR(1,14213351,1,1,2)
[2025-01-10 00:49:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213351,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:49:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213351,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:49:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213351,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:49:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213351,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213351', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213351', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:49:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:49:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:49:22] Production.INFO: ==23516== Releasing lock...
[2025-01-10 00:49:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 00:49:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-10 05:50:01] Production.INFO: ==23572== Lock acquired, processing the job...
[2025-01-10 05:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 05:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 05:50:01] Production.INFO: neon service started
[2025-01-10 05:50:01] Production.INFO: neon service started
[2025-01-10 05:50:01] Production.INFO: ==23572== Releasing lock...
[2025-01-10 05:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 05:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 05:50:01] Production.INFO: ==23577== Lock acquired, processing the job...
[2025-01-10 05:50:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 05:50:02] Production.INFO: ==23577== Releasing lock...
[2025-01-10 05:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 05:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 00:50:02] Production.INFO: ==23575== Lock acquired, processing the job...
[2025-01-10 00:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 00:50:02] Production.INFO: ==23575== Releasing lock...
[2025-01-10 00:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 00:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 00:50:03] Production.INFO: ==23585== Lock acquired, processing the job...
[2025-01-10 00:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 00:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 00:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 00:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 00:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 00:50:03] Production.INFO: ==23587== Lock acquired, processing the job...
[2025-01-10 00:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 00:50:03] Production.INFO: ==23593== Lock acquired, processing the job...
[2025-01-10 00:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 00:50:03] Production.INFO: Account Balance Start.
[2025-01-10 00:50:03] Production.INFO: CreateAllLog Start
[2025-01-10 00:50:03] Production.INFO: 117
[2025-01-10 00:50:03] Production.INFO: ==23579== Lock acquired, processing the job...
[2025-01-10 00:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 00:50:03] Production.INFO: Date 2025-01-08
[2025-01-10 00:50:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:50:03] Production.INFO: ==23581== Lock acquired, processing the job...
[2025-01-10 00:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 00:50:03] Production.INFO: ==23583== Lock acquired, processing the job...
[2025-01-10 00:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 00:50:03] Production.INFO: Date 2025-01-09
[2025-01-10 00:50:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 00:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 00:50:03] Production.ERROR: CronJob PID - 23581
[2025-01-10 00:50:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-10 00:50:03] Production.ERROR: CronJob ID - 5
[2025-01-10 00:50:03] Production.ERROR: CronJob Last Run Time 2025-01-10 00:50:00
[2025-01-10 00:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 00:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 00:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 00:50:03] Production.ERROR: CronJob PID - 23583
[2025-01-10 00:50:03] Production.ERROR: CronJob Title - Account Block
[2025-01-10 00:50:03] Production.ERROR: CronJob ID - 7
[2025-01-10 00:50:03] Production.ERROR: CronJob Last Run Time 2025-01-10 00:50:00
[2025-01-10 00:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 00:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 00:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 00:50:03] Production.ERROR: CronJob PID - 23585
[2025-01-10 00:50:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-10 00:50:03] Production.ERROR: CronJob ID - 10
[2025-01-10 00:50:03] Production.ERROR: CronJob Last Run Time 2025-01-10 00:50:00
[2025-01-10 00:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 00:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 00:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 00:50:03] Production.ERROR: CronJob PID - 23587
[2025-01-10 00:50:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-10 00:50:03] Production.ERROR: CronJob ID - 12
[2025-01-10 00:50:03] Production.ERROR: CronJob Last Run Time 2025-01-10 00:50:00
[2025-01-10 00:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 00:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 00:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 00:50:03] Production.ERROR: CronJob PID - 23593
[2025-01-10 00:50:03] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-10 00:50:03] Production.ERROR: CronJob ID - 19
[2025-01-10 00:50:03] Production.ERROR: CronJob Last Run Time 2025-01-10 00:50:00
[2025-01-10 00:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 00:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 00:50:03] Production.INFO: Date 2025-01-10
[2025-01-10 00:50:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:50:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 00:50:03] Production.INFO: count ==21
[2025-01-10 00:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:50:04] Production.INFO: count ==21
[2025-01-10 00:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213353') start
[2025-01-10 00:50:04] Production.INFO: ==23589== Lock acquired, processing the job...
[2025-01-10 00:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 00:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 00:50:04] Production.INFO: Total Charge 0
[2025-01-10 00:50:04] Production.INFO: ==23579== Releasing lock...
[2025-01-10 00:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 00:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 00:50:04] Production.INFO: ==23591== Lock acquired, processing the job...
[2025-01-10 00:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 00:50:04] Production.INFO: CreateAllLog End
[2025-01-10 00:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213353') end
[2025-01-10 00:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 00:50:04] Production.INFO: 1
[2025-01-10 00:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 00:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:50:04] Production.INFO: ==23593== Releasing lock...
[2025-01-10 00:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 00:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 00:50:04] Production.INFO: ==23583== Releasing lock...
[2025-01-10 00:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 00:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 00:50:04] Production.ERROR: done
[2025-01-10 00:50:04] Production.INFO: Account Balance End.
[2025-01-10 00:50:04] Production.ERROR: done
[2025-01-10 00:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 00:50:04] Production.ERROR: CronJobId end 12
[2025-01-10 00:50:04] Production.INFO: ==23587== Releasing lock...
[2025-01-10 00:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 00:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 00:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 00:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14213356', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 00:50:04] Production.ERROR: done
[2025-01-10 00:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 21:50:05
[end_date_ymd] => 2025-01-10 00:50:05
[RateCDR] => 1
)
[2025-01-10 00:50:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 21:50:05' and `end` < '2025-01-10 00:50:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 00:50:07] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14213356', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 00:50:07] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 00:50:07] Production.INFO: ProcessCDR(1,14213356,1,1,2)
[2025-01-10 00:50:07] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14213356,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14213356,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:50:08] Production.INFO: ==23591== Releasing lock...
[2025-01-10 00:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 00:50:08] Production.INFO: 26 MB #Memory Used#
[2025-01-10 00:50:11] Production.ERROR: CronJobId end10
[2025-01-10 00:50:11] Production.INFO: ==23585== Releasing lock...
[2025-01-10 00:50:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 00:50:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 00:50:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 00:50:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 00:50:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 00:50:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 00:50:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 00:50:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 00:50:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 00:50:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 00:50:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 00:50:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 00:50:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 00:50:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 00:50:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 00:50:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 00:50:14] Production.INFO: call_cost start
[2025-01-10 00:50:14] Production.INFO: call_cost end
[2025-01-10 00:50:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 00:50:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 00:50:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 00:50:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 00:50:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 00:50:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 00:50:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 00:50:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 00:50:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 00:50:15] Production.INFO: ==23581== Releasing lock...
[2025-01-10 00:50:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 00:50:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 00:50:18] Production.INFO: count ==156
[2025-01-10 00:50:18] Production.ERROR: pbx CDR StartTime 2025-01-09 21:50:05 - End Time 2025-01-10 00:50:05
[2025-01-10 00:50:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 00:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213357', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213357', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213357', 'tblTempVendorCDR_20' ) start
[2025-01-10 00:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213357', 'tblTempVendorCDR_20' ) end
[2025-01-10 00:50:18] Production.INFO: ProcessCDR(1,14213357,1,1,2)
[2025-01-10 00:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213357,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:50:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213357,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:50:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213357,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:50:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213357,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213357', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213357', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:50:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:50:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:50:22] Production.INFO: ==23589== Releasing lock...
[2025-01-10 00:50:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 00:50:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-10 05:51:02] Production.INFO: ==23647== Lock acquired, processing the job...
[2025-01-10 05:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 05:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 05:51:02] Production.INFO: neon service started
[2025-01-10 05:51:02] Production.INFO: neon service started
[2025-01-10 05:51:02] Production.INFO: ==23647== Releasing lock...
[2025-01-10 05:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 05:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 05:51:02] Production.INFO: ==23652== Lock acquired, processing the job...
[2025-01-10 05:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 05:51:02] Production.INFO: ==23652== Releasing lock...
[2025-01-10 05:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 05:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 00:51:02] Production.INFO: ==23650== Lock acquired, processing the job...
[2025-01-10 00:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 00:51:03] Production.INFO: ==23650== Releasing lock...
[2025-01-10 00:51:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 00:51:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 00:51:04] Production.INFO: ==23654== Lock acquired, processing the job...
[2025-01-10 00:51:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 00:51:04] Production.INFO: ==23660== Lock acquired, processing the job...
[2025-01-10 00:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 00:51:04] Production.INFO: ==23656== Lock acquired, processing the job...
[2025-01-10 00:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 00:51:04] Production.INFO: ==23662== Lock acquired, processing the job...
[2025-01-10 00:51:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 00:51:04] Production.INFO: Account Balance Start.
[2025-01-10 00:51:04] Production.INFO: CreateAllLog Start
[2025-01-10 00:51:04] Production.INFO: 117
[2025-01-10 00:51:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 00:51:04] Production.INFO: ==23664== Lock acquired, processing the job...
[2025-01-10 00:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 00:51:04] Production.INFO: Date 2025-01-08
[2025-01-10 00:51:04] Production.INFO: ==23658== Lock acquired, processing the job...
[2025-01-10 00:51:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 00:51:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:51:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:51:04] Production.INFO: Date 2025-01-09
[2025-01-10 00:51:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 00:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 00:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 00:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 00:51:04] Production.INFO: Date 2025-01-10
[2025-01-10 00:51:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:51:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:51:04] Production.INFO: count ==21
[2025-01-10 00:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:51:04] Production.INFO: count ==21
[2025-01-10 00:51:04] Production.INFO: Total Charge 0
[2025-01-10 00:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213361') start
[2025-01-10 00:51:04] Production.INFO: CreateAllLog End
[2025-01-10 00:51:04] Production.INFO: ==23656== Releasing lock...
[2025-01-10 00:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 00:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 00:51:04] Production.ERROR: done
[2025-01-10 00:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 00:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213361') end
[2025-01-10 00:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 00:51:04] Production.INFO: 1
[2025-01-10 00:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 00:51:04] Production.INFO: Account Balance End.
[2025-01-10 00:51:04] Production.INFO: ==23664== Releasing lock...
[2025-01-10 00:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 00:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 00:51:04] Production.ERROR: done
[2025-01-10 00:51:04] Production.ERROR: CronJobId end 12
[2025-01-10 00:51:04] Production.INFO: ==23660== Releasing lock...
[2025-01-10 00:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 00:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 00:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 21:51:05
[end_date_ymd] => 2025-01-10 00:51:05
[RateCDR] => 1
)
[2025-01-10 00:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 21:51:05' and `end` < '2025-01-10 00:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 00:51:11] Production.ERROR: CronJobId end10
[2025-01-10 00:51:11] Production.INFO: ==23658== Releasing lock...
[2025-01-10 00:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 00:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 00:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 00:51:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 00:51:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 00:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 00:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 00:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 00:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 00:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 00:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 00:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 00:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 00:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 00:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 00:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 00:51:13] Production.INFO: call_cost start
[2025-01-10 00:51:13] Production.INFO: call_cost end
[2025-01-10 00:51:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 00:51:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 00:51:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 00:51:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 00:51:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 00:51:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 00:51:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 00:51:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 00:51:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 00:51:14] Production.INFO: ==23654== Releasing lock...
[2025-01-10 00:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 00:51:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 00:51:18] Production.INFO: count ==156
[2025-01-10 00:51:18] Production.ERROR: pbx CDR StartTime 2025-01-09 21:51:05 - End Time 2025-01-10 00:51:05
[2025-01-10 00:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 00:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213362', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213362', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213362', 'tblTempVendorCDR_20' ) start
[2025-01-10 00:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213362', 'tblTempVendorCDR_20' ) end
[2025-01-10 00:51:18] Production.INFO: ProcessCDR(1,14213362,1,1,2)
[2025-01-10 00:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213362,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213362,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213362,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:51:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213362,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213362', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213362', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:51:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:51:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:51:21] Production.INFO: ==23662== Releasing lock...
[2025-01-10 00:51:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 00:51:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-10 05:52:01] Production.INFO: ==23717== Lock acquired, processing the job...
[2025-01-10 05:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 05:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 05:52:01] Production.INFO: neon service started
[2025-01-10 05:52:01] Production.INFO: neon service started
[2025-01-10 05:52:01] Production.INFO: ==23717== Releasing lock...
[2025-01-10 05:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 05:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:52:02] Production.INFO: ==23719== Lock acquired, processing the job...
[2025-01-10 00:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:52:02] Production.INFO: ==23722== Lock acquired, processing the job...
[2025-01-10 05:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 05:52:02] Production.INFO: ==23722== Releasing lock...
[2025-01-10 05:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 05:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 00:52:02] Production.INFO: ==23719== Releasing lock...
[2025-01-10 00:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 00:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 00:52:03] Production.INFO: ==23726== Lock acquired, processing the job...
[2025-01-10 00:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 00:52:03] Production.INFO: ==23734== Lock acquired, processing the job...
[2025-01-10 00:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 00:52:03] Production.INFO: ==23724== Lock acquired, processing the job...
[2025-01-10 00:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 00:52:04] Production.INFO: ==23728== Lock acquired, processing the job...
[2025-01-10 00:52:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 00:52:04] Production.INFO: ==23730== Lock acquired, processing the job...
[2025-01-10 00:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 00:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:52:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 00:52:04] Production.INFO: ==23732== Lock acquired, processing the job...
[2025-01-10 00:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 00:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 00:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 00:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 00:52:04] Production.INFO: count ==21
[2025-01-10 00:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 00:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:52:04] Production.INFO: count ==21
[2025-01-10 00:52:04] Production.INFO: ==23726== Releasing lock...
[2025-01-10 00:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 00:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 00:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213364') start
[2025-01-10 00:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213364') end
[2025-01-10 00:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 00:52:04] Production.INFO: 1
[2025-01-10 00:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 00:52:04] Production.INFO: Account Balance Start.
[2025-01-10 00:52:04] Production.INFO: CreateAllLog Start
[2025-01-10 00:52:04] Production.INFO: 117
[2025-01-10 00:52:04] Production.INFO: Date 2025-01-08
[2025-01-10 00:52:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:52:04] Production.INFO: ==23734== Releasing lock...
[2025-01-10 00:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 00:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 00:52:04] Production.INFO: Date 2025-01-09
[2025-01-10 00:52:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:52:04] Production.INFO: Date 2025-01-10
[2025-01-10 00:52:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:52:04] Production.INFO: Total Charge 0
[2025-01-10 00:52:04] Production.INFO: CreateAllLog End
[2025-01-10 00:52:04] Production.ERROR: done
[2025-01-10 00:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 00:52:04] Production.ERROR: done
[2025-01-10 00:52:04] Production.INFO: Account Balance End.
[2025-01-10 00:52:04] Production.ERROR: CronJobId end 12
[2025-01-10 00:52:04] Production.INFO: ==23730== Releasing lock...
[2025-01-10 00:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 00:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 00:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 21:52:05
[end_date_ymd] => 2025-01-10 00:52:05
[RateCDR] => 1
)
[2025-01-10 00:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 21:52:05' and `end` < '2025-01-10 00:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 00:52:11] Production.ERROR: CronJobId end10
[2025-01-10 00:52:11] Production.INFO: ==23728== Releasing lock...
[2025-01-10 00:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 00:52:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 00:52:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 00:52:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 00:52:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 00:52:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 00:52:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 00:52:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 00:52:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 00:52:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 00:52:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 00:52:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 00:52:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 00:52:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 00:52:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 00:52:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 00:52:14] Production.INFO: call_cost start
[2025-01-10 00:52:14] Production.INFO: call_cost end
[2025-01-10 00:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 00:52:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 00:52:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 00:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 00:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 00:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 00:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 00:52:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 00:52:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 00:52:15] Production.INFO: ==23724== Releasing lock...
[2025-01-10 00:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 00:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 00:52:19] Production.INFO: count ==154
[2025-01-10 00:52:19] Production.ERROR: pbx CDR StartTime 2025-01-09 21:52:05 - End Time 2025-01-10 00:52:05
[2025-01-10 00:52:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 00:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213367', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213367', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213367', 'tblTempVendorCDR_20' ) start
[2025-01-10 00:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213367', 'tblTempVendorCDR_20' ) end
[2025-01-10 00:52:19] Production.INFO: ProcessCDR(1,14213367,1,1,2)
[2025-01-10 00:52:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213367,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:52:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213367,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:52:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213367,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213367,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213367', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213367', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:52:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:52:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:52:22] Production.INFO: ==23732== Releasing lock...
[2025-01-10 00:52:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 00:52:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-10 05:53:02] Production.INFO: ==23788== Lock acquired, processing the job...
[2025-01-10 05:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 05:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 05:53:02] Production.INFO: neon service started
[2025-01-10 05:53:02] Production.INFO: neon service started
[2025-01-10 05:53:02] Production.INFO: ==23788== Releasing lock...
[2025-01-10 05:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 05:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:53:02] Production.INFO: ==23790== Lock acquired, processing the job...
[2025-01-10 00:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:53:02] Production.INFO: ==23792== Lock acquired, processing the job...
[2025-01-10 05:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 00:53:02] Production.INFO: ==23790== Releasing lock...
[2025-01-10 00:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 00:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 05:53:02] Production.INFO: ==23792== Releasing lock...
[2025-01-10 05:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 05:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 00:53:03] Production.INFO: ==23794== Lock acquired, processing the job...
[2025-01-10 00:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 00:53:03] Production.INFO: ==23796== Lock acquired, processing the job...
[2025-01-10 00:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 00:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 00:53:03] Production.INFO: ==23800== Lock acquired, processing the job...
[2025-01-10 00:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 00:53:03] Production.INFO: Account Balance Start.
[2025-01-10 00:53:03] Production.INFO: CreateAllLog Start
[2025-01-10 00:53:03] Production.INFO: 117
[2025-01-10 00:53:03] Production.INFO: ==23798== Lock acquired, processing the job...
[2025-01-10 00:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 00:53:03] Production.INFO: Date 2025-01-08
[2025-01-10 00:53:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:53:03] Production.INFO: ==23796== Releasing lock...
[2025-01-10 00:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 00:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 00:53:03] Production.INFO: Date 2025-01-09
[2025-01-10 00:53:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:53:03] Production.INFO: Date 2025-01-10
[2025-01-10 00:53:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 00:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 00:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 00:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 00:53:03] Production.INFO: ==23803== Lock acquired, processing the job...
[2025-01-10 00:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 00:53:04] Production.INFO: Total Charge 0
[2025-01-10 00:53:04] Production.INFO: ==23805== Lock acquired, processing the job...
[2025-01-10 00:53:04] Production.INFO: CreateAllLog End
[2025-01-10 00:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 00:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:53:04] Production.INFO: Account Balance End.
[2025-01-10 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-01-10 00:53:04] Production.ERROR: CronJobId end 12
[2025-01-10 00:53:04] Production.INFO: ==23800== Releasing lock...
[2025-01-10 00:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 00:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 00:53:04] Production.INFO: count ==21
[2025-01-10 00:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:53:04] Production.INFO: count ==21
[2025-01-10 00:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213371') start
[2025-01-10 00:53:04] Production.ERROR: done
[2025-01-10 00:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213371') end
[2025-01-10 00:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 00:53:04] Production.INFO: 1
[2025-01-10 00:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 00:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 00:53:04] Production.INFO: ==23805== Releasing lock...
[2025-01-10 00:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 00:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 00:53:04] Production.ERROR: done
[2025-01-10 00:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 21:53:05
[end_date_ymd] => 2025-01-10 00:53:05
[RateCDR] => 1
)
[2025-01-10 00:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 21:53:05' and `end` < '2025-01-10 00:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 00:53:11] Production.ERROR: CronJobId end10
[2025-01-10 00:53:11] Production.INFO: ==23798== Releasing lock...
[2025-01-10 00:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 00:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 00:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 00:53:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 00:53:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 00:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 00:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 00:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 00:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 00:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 00:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 00:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 00:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 00:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 00:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 00:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 00:53:13] Production.INFO: call_cost start
[2025-01-10 00:53:13] Production.INFO: call_cost end
[2025-01-10 00:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 00:53:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 00:53:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 00:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 00:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 00:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 00:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 00:53:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 00:53:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 00:53:14] Production.INFO: ==23794== Releasing lock...
[2025-01-10 00:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 00:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 00:53:19] Production.INFO: count ==154
[2025-01-10 00:53:19] Production.ERROR: pbx CDR StartTime 2025-01-09 21:53:05 - End Time 2025-01-10 00:53:05
[2025-01-10 00:53:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 00:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213372', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213372', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213372', 'tblTempVendorCDR_20' ) start
[2025-01-10 00:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213372', 'tblTempVendorCDR_20' ) end
[2025-01-10 00:53:19] Production.INFO: ProcessCDR(1,14213372,1,1,2)
[2025-01-10 00:53:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213372,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:53:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213372,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:53:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213372,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213372,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213372', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213372', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:53:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:53:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:53:22] Production.INFO: ==23803== Releasing lock...
[2025-01-10 00:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 00:53:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-10 05:54:01] Production.INFO: ==23859== Lock acquired, processing the job...
[2025-01-10 05:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 05:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 05:54:01] Production.INFO: neon service started
[2025-01-10 05:54:01] Production.INFO: neon service started
[2025-01-10 05:54:01] Production.INFO: ==23859== Releasing lock...
[2025-01-10 05:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 05:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:54:01] Production.INFO: ==23861== Lock acquired, processing the job...
[2025-01-10 00:54:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 00:54:02] Production.INFO: ==23861== Releasing lock...
[2025-01-10 00:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 00:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 05:54:02] Production.INFO: ==23863== Lock acquired, processing the job...
[2025-01-10 05:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 05:54:02] Production.INFO: ==23863== Releasing lock...
[2025-01-10 05:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 05:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 00:54:03] Production.INFO: ==23874== Lock acquired, processing the job...
[2025-01-10 00:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 00:54:03] Production.INFO: ==23866== Lock acquired, processing the job...
[2025-01-10 00:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 00:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:54:03] Production.INFO: ==23876== Lock acquired, processing the job...
[2025-01-10 00:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 00:54:03] Production.INFO: ==23870== Lock acquired, processing the job...
[2025-01-10 00:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 00:54:03] Production.INFO: ==23868== Lock acquired, processing the job...
[2025-01-10 00:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 00:54:03] Production.INFO: ==23872== Lock acquired, processing the job...
[2025-01-10 00:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 00:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 00:54:03] Production.INFO: Account Balance Start.
[2025-01-10 00:54:03] Production.INFO: CreateAllLog Start
[2025-01-10 00:54:03] Production.INFO: 117
[2025-01-10 00:54:03] Production.INFO: Date 2025-01-08
[2025-01-10 00:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:54:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 00:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 00:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 00:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 00:54:03] Production.INFO: count ==21
[2025-01-10 00:54:03] Production.INFO: Date 2025-01-09
[2025-01-10 00:54:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:54:03] Production.INFO: count ==21
[2025-01-10 00:54:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213374') start
[2025-01-10 00:54:03] Production.ERROR: done
[2025-01-10 00:54:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 00:54:03] Production.INFO: Date 2025-01-10
[2025-01-10 00:54:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213374') end
[2025-01-10 00:54:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 00:54:03] Production.INFO: 1
[2025-01-10 00:54:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 00:54:03] Production.ERROR: done
[2025-01-10 00:54:03] Production.INFO: Total Charge 0
[2025-01-10 00:54:03] Production.INFO: ==23876== Releasing lock...
[2025-01-10 00:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 00:54:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 00:54:03] Production.INFO: CreateAllLog End
[2025-01-10 00:54:03] Production.INFO: ==23868== Releasing lock...
[2025-01-10 00:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 00:54:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 00:54:03] Production.INFO: Account Balance End.
[2025-01-10 00:54:03] Production.ERROR: CronJobId end 12
[2025-01-10 00:54:03] Production.INFO: ==23872== Releasing lock...
[2025-01-10 00:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 00:54:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 00:54:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 21:54:04
[end_date_ymd] => 2025-01-10 00:54:04
[RateCDR] => 1
)
[2025-01-10 00:54:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 21:54:04' and `end` < '2025-01-10 00:54:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 00:54:10] Production.ERROR: CronJobId end10
[2025-01-10 00:54:10] Production.INFO: ==23870== Releasing lock...
[2025-01-10 00:54:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 00:54:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 00:54:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 00:54:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 00:54:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 00:54:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 00:54:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 00:54:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 00:54:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 00:54:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 00:54:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 00:54:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 00:54:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 00:54:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 00:54:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 00:54:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 00:54:12] Production.INFO: call_cost start
[2025-01-10 00:54:12] Production.INFO: call_cost end
[2025-01-10 00:54:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 00:54:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 00:54:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 00:54:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 00:54:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 00:54:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 00:54:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 00:54:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 00:54:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 00:54:13] Production.INFO: ==23866== Releasing lock...
[2025-01-10 00:54:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 00:54:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 00:54:17] Production.INFO: count ==154
[2025-01-10 00:54:17] Production.ERROR: pbx CDR StartTime 2025-01-09 21:54:04 - End Time 2025-01-10 00:54:04
[2025-01-10 00:54:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 00:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213377', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213377', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213377', 'tblTempVendorCDR_20' ) start
[2025-01-10 00:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213377', 'tblTempVendorCDR_20' ) end
[2025-01-10 00:54:17] Production.INFO: ProcessCDR(1,14213377,1,1,2)
[2025-01-10 00:54:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213377,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:54:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213377,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:54:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213377,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:54:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213377,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:54:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213377', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:54:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213377', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:54:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:54:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:54:20] Production.INFO: ==23874== Releasing lock...
[2025-01-10 00:54:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 00:54:20] Production.INFO: 29.25 MB #Memory Used#
[2025-01-10 05:55:02] Production.INFO: ==23929== Lock acquired, processing the job...
[2025-01-10 05:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 05:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 05:55:02] Production.INFO: neon service started
[2025-01-10 05:55:02] Production.INFO: neon service started
[2025-01-10 05:55:02] Production.INFO: ==23929== Releasing lock...
[2025-01-10 05:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 05:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 05:55:02] Production.INFO: ==23933== Lock acquired, processing the job...
[2025-01-10 05:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 00:55:02] Production.INFO: ==23931== Lock acquired, processing the job...
[2025-01-10 00:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:55:02] Production.INFO: ==23933== Releasing lock...
[2025-01-10 05:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 05:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 00:55:02] Production.INFO: ==23931== Releasing lock...
[2025-01-10 00:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 00:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 00:55:03] Production.INFO: ==23940== Lock acquired, processing the job...
[2025-01-10 00:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 00:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 00:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 00:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 00:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 00:55:03] Production.INFO: ==23946== Lock acquired, processing the job...
[2025-01-10 00:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 00:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:55:03] Production.INFO: ==23936== Lock acquired, processing the job...
[2025-01-10 00:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 00:55:03] Production.INFO: ==23938== Lock acquired, processing the job...
[2025-01-10 00:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 00:55:03] Production.INFO: count ==21
[2025-01-10 00:55:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:55:03] Production.INFO: count ==21
[2025-01-10 00:55:04] Production.INFO: ==23942== Lock acquired, processing the job...
[2025-01-10 00:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 00:55:04] Production.INFO: ==23944== Lock acquired, processing the job...
[2025-01-10 00:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 00:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213378') start
[2025-01-10 00:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:55:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 00:55:04] Production.INFO: Account Balance Start.
[2025-01-10 00:55:04] Production.INFO: CreateAllLog Start
[2025-01-10 00:55:04] Production.INFO: 117
[2025-01-10 00:55:04] Production.INFO: Date 2025-01-08
[2025-01-10 00:55:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:55:04] Production.INFO: Date 2025-01-09
[2025-01-10 00:55:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213378') end
[2025-01-10 00:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 00:55:04] Production.INFO: 1
[2025-01-10 00:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 00:55:04] Production.INFO: Date 2025-01-10
[2025-01-10 00:55:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:55:04] Production.INFO: Total Charge 0
[2025-01-10 00:55:04] Production.INFO: CreateAllLog End
[2025-01-10 00:55:04] Production.INFO: ==23938== Releasing lock...
[2025-01-10 00:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 00:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 00:55:04] Production.INFO: ==23946== Releasing lock...
[2025-01-10 00:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 00:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 00:55:04] Production.ERROR: done
[2025-01-10 00:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 00:55:04] Production.ERROR: done
[2025-01-10 00:55:04] Production.INFO: Account Balance End.
[2025-01-10 00:55:04] Production.ERROR: CronJobId end 12
[2025-01-10 00:55:04] Production.INFO: ==23942== Releasing lock...
[2025-01-10 00:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 00:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 00:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 21:55:05
[end_date_ymd] => 2025-01-10 00:55:05
[RateCDR] => 1
)
[2025-01-10 00:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 21:55:05' and `end` < '2025-01-10 00:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 00:55:11] Production.ERROR: CronJobId end10
[2025-01-10 00:55:11] Production.INFO: ==23940== Releasing lock...
[2025-01-10 00:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 00:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 00:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 00:55:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 00:55:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 00:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 00:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 00:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 00:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 00:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 00:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 00:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 00:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 00:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 00:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 00:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 00:55:13] Production.INFO: call_cost start
[2025-01-10 00:55:13] Production.INFO: call_cost end
[2025-01-10 00:55:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 00:55:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 00:55:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 00:55:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 00:55:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 00:55:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 00:55:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 00:55:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 00:55:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 00:55:14] Production.INFO: ==23936== Releasing lock...
[2025-01-10 00:55:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 00:55:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 00:55:18] Production.INFO: count ==152
[2025-01-10 00:55:18] Production.ERROR: pbx CDR StartTime 2025-01-09 21:55:05 - End Time 2025-01-10 00:55:05
[2025-01-10 00:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 00:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213382', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213382', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213382', 'tblTempVendorCDR_20' ) start
[2025-01-10 00:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213382', 'tblTempVendorCDR_20' ) end
[2025-01-10 00:55:18] Production.INFO: ProcessCDR(1,14213382,1,1,2)
[2025-01-10 00:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213382,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213382,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213382,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213382,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213382', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213382', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:55:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:55:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:55:21] Production.INFO: ==23944== Releasing lock...
[2025-01-10 00:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 00:55:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-10 05:56:01] Production.INFO: ==23998== Lock acquired, processing the job...
[2025-01-10 05:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 05:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 05:56:01] Production.INFO: neon service started
[2025-01-10 05:56:01] Production.INFO: neon service started
[2025-01-10 05:56:01] Production.INFO: ==23998== Releasing lock...
[2025-01-10 05:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 05:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 00:56:01] Production.INFO: ==24000== Lock acquired, processing the job...
[2025-01-10 00:56:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 00:56:02] Production.INFO: ==24000== Releasing lock...
[2025-01-10 00:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 00:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 05:56:02] Production.INFO: ==24002== Lock acquired, processing the job...
[2025-01-10 05:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 05:56:02] Production.INFO: ==24002== Releasing lock...
[2025-01-10 05:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 05:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 00:56:02] Production.INFO: ==24004== Lock acquired, processing the job...
[2025-01-10 00:56:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 00:56:02] Production.INFO: ==24006== Lock acquired, processing the job...
[2025-01-10 00:56:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 00:56:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 00:56:03] Production.INFO: ==24008== Lock acquired, processing the job...
[2025-01-10 00:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 00:56:03] Production.INFO: ==24010== Lock acquired, processing the job...
[2025-01-10 00:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 00:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 00:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 00:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 00:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 00:56:03] Production.INFO: ==24012== Lock acquired, processing the job...
[2025-01-10 00:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 00:56:03] Production.INFO: ==24006== Releasing lock...
[2025-01-10 00:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 00:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 00:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:56:03] Production.INFO: Account Balance Start.
[2025-01-10 00:56:03] Production.INFO: CreateAllLog Start
[2025-01-10 00:56:03] Production.INFO: 117
[2025-01-10 00:56:03] Production.INFO: Date 2025-01-08
[2025-01-10 00:56:03] Production.INFO: ==24014== Lock acquired, processing the job...
[2025-01-10 00:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 00:56:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:56:03] Production.INFO: Date 2025-01-09
[2025-01-10 00:56:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:56:03] Production.INFO: count ==21
[2025-01-10 00:56:03] Production.ERROR: done
[2025-01-10 00:56:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 00:56:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:56:03] Production.INFO: Date 2025-01-10
[2025-01-10 00:56:03] Production.INFO: count ==21
[2025-01-10 00:56:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213386') start
[2025-01-10 00:56:03] Production.INFO: Total Charge 0
[2025-01-10 00:56:03] Production.INFO: CreateAllLog End
[2025-01-10 00:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213386') end
[2025-01-10 00:56:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 00:56:03] Production.INFO: 1
[2025-01-10 00:56:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 00:56:03] Production.INFO: ==24014== Releasing lock...
[2025-01-10 00:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 00:56:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 00:56:03] Production.ERROR: done
[2025-01-10 00:56:03] Production.INFO: Account Balance End.
[2025-01-10 00:56:03] Production.ERROR: CronJobId end 12
[2025-01-10 00:56:03] Production.INFO: ==24010== Releasing lock...
[2025-01-10 00:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 00:56:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 00:56:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 21:56:04
[end_date_ymd] => 2025-01-10 00:56:04
[RateCDR] => 1
)
[2025-01-10 00:56:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 21:56:04' and `end` < '2025-01-10 00:56:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 00:56:11] Production.ERROR: CronJobId end10
[2025-01-10 00:56:11] Production.INFO: ==24008== Releasing lock...
[2025-01-10 00:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 00:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 00:56:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 00:56:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 00:56:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 00:56:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 00:56:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 00:56:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 00:56:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 00:56:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 00:56:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 00:56:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 00:56:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 00:56:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 00:56:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 00:56:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 00:56:12] Production.INFO: call_cost start
[2025-01-10 00:56:12] Production.INFO: call_cost end
[2025-01-10 00:56:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 00:56:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 00:56:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 00:56:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 00:56:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 00:56:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 00:56:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 00:56:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 00:56:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 00:56:13] Production.INFO: ==24004== Releasing lock...
[2025-01-10 00:56:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 00:56:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 00:56:20] Production.INFO: count ==151
[2025-01-10 00:56:20] Production.ERROR: pbx CDR StartTime 2025-01-09 21:56:04 - End Time 2025-01-10 00:56:04
[2025-01-10 00:56:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 00:56:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213387', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:56:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213387', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:56:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213387', 'tblTempVendorCDR_20' ) start
[2025-01-10 00:56:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213387', 'tblTempVendorCDR_20' ) end
[2025-01-10 00:56:20] Production.INFO: ProcessCDR(1,14213387,1,1,2)
[2025-01-10 00:56:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213387,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:56:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213387,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:56:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213387,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:56:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213387,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:56:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213387', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:56:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213387', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:56:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:56:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:56:23] Production.INFO: ==24012== Releasing lock...
[2025-01-10 00:56:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 00:56:23] Production.INFO: 29.25 MB #Memory Used#
[2025-01-10 05:57:01] Production.INFO: ==24070== Lock acquired, processing the job...
[2025-01-10 05:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 05:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 05:57:01] Production.INFO: neon service started
[2025-01-10 05:57:01] Production.INFO: neon service started
[2025-01-10 05:57:01] Production.INFO: ==24070== Releasing lock...
[2025-01-10 05:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 05:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 05:57:02] Production.INFO: ==24074== Lock acquired, processing the job...
[2025-01-10 05:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 05:57:02] Production.INFO: ==24074== Releasing lock...
[2025-01-10 05:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 05:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 00:57:02] Production.INFO: ==24072== Lock acquired, processing the job...
[2025-01-10 00:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 00:57:02] Production.INFO: ==24072== Releasing lock...
[2025-01-10 00:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 00:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 00:57:03] Production.INFO: ==24082== Lock acquired, processing the job...
[2025-01-10 00:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 00:57:03] Production.INFO: ==24087== Lock acquired, processing the job...
[2025-01-10 00:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 00:57:03] Production.INFO: ==24076== Lock acquired, processing the job...
[2025-01-10 00:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 00:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:57:03] Production.INFO: Account Balance Start.
[2025-01-10 00:57:03] Production.INFO: CreateAllLog Start
[2025-01-10 00:57:03] Production.INFO: 117
[2025-01-10 00:57:03] Production.INFO: count ==21
[2025-01-10 00:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 00:57:03] Production.INFO: count ==21
[2025-01-10 00:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213388') start
[2025-01-10 00:57:03] Production.INFO: Date 2025-01-08
[2025-01-10 00:57:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:57:03] Production.INFO: ==24078== Lock acquired, processing the job...
[2025-01-10 00:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 00:57:03] Production.INFO: Date 2025-01-09
[2025-01-10 00:57:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213388') end
[2025-01-10 00:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 00:57:03] Production.INFO: 1
[2025-01-10 00:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 00:57:04] Production.INFO: ==24080== Lock acquired, processing the job...
[2025-01-10 00:57:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 00:57:04] Production.INFO: Date 2025-01-10
[2025-01-10 00:57:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:57:04] Production.INFO: Total Charge 0
[2025-01-10 00:57:04] Production.INFO: ==24087== Releasing lock...
[2025-01-10 00:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 00:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 00:57:04] Production.INFO: ==24085== Lock acquired, processing the job...
[2025-01-10 00:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 00:57:04] Production.INFO: CreateAllLog End
[2025-01-10 00:57:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 00:57:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 00:57:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 00:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 00:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:57:04] Production.INFO: Account Balance End.
[2025-01-10 00:57:04] Production.ERROR: CronJobId end 12
[2025-01-10 00:57:04] Production.INFO: ==24082== Releasing lock...
[2025-01-10 00:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 00:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 00:57:04] Production.INFO: ==24078== Releasing lock...
[2025-01-10 00:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 00:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 00:57:04] Production.ERROR: done
[2025-01-10 00:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 00:57:04] Production.ERROR: done
[2025-01-10 00:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 21:57:05
[end_date_ymd] => 2025-01-10 00:57:05
[RateCDR] => 1
)
[2025-01-10 00:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 21:57:05' and `end` < '2025-01-10 00:57:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 00:57:11] Production.ERROR: CronJobId end10
[2025-01-10 00:57:11] Production.INFO: ==24080== Releasing lock...
[2025-01-10 00:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 00:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 00:57:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 00:57:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 00:57:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 00:57:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 00:57:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 00:57:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 00:57:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 00:57:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 00:57:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 00:57:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 00:57:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 00:57:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 00:57:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 00:57:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 00:57:13] Production.INFO: call_cost start
[2025-01-10 00:57:13] Production.INFO: call_cost end
[2025-01-10 00:57:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 00:57:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 00:57:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 00:57:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 00:57:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 00:57:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 00:57:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 00:57:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 00:57:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 00:57:13] Production.INFO: ==24076== Releasing lock...
[2025-01-10 00:57:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 00:57:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 00:57:18] Production.INFO: count ==151
[2025-01-10 00:57:18] Production.ERROR: pbx CDR StartTime 2025-01-09 21:57:05 - End Time 2025-01-10 00:57:05
[2025-01-10 00:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 00:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213392', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213392', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213392', 'tblTempVendorCDR_20' ) start
[2025-01-10 00:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213392', 'tblTempVendorCDR_20' ) end
[2025-01-10 00:57:18] Production.INFO: ProcessCDR(1,14213392,1,1,2)
[2025-01-10 00:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213392,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213392,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213392,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213392,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213392', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213392', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:57:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:57:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:57:21] Production.INFO: ==24085== Releasing lock...
[2025-01-10 00:57:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 00:57:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-10 05:58:02] Production.INFO: ==24140== Lock acquired, processing the job...
[2025-01-10 05:58:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 05:58:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 05:58:02] Production.INFO: neon service started
[2025-01-10 05:58:02] Production.INFO: neon service started
[2025-01-10 05:58:02] Production.INFO: ==24140== Releasing lock...
[2025-01-10 05:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 05:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 05:58:02] Production.INFO: ==24144== Lock acquired, processing the job...
[2025-01-10 05:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 05:58:02] Production.INFO: ==24144== Releasing lock...
[2025-01-10 05:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 05:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 00:58:02] Production.INFO: ==24142== Lock acquired, processing the job...
[2025-01-10 00:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 00:58:03] Production.INFO: ==24142== Releasing lock...
[2025-01-10 00:58:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 00:58:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 00:58:03] Production.INFO: ==24147== Lock acquired, processing the job...
[2025-01-10 00:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 00:58:03] Production.INFO: ==24149== Lock acquired, processing the job...
[2025-01-10 00:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 00:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 00:58:03] Production.INFO: ==24153== Lock acquired, processing the job...
[2025-01-10 00:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 00:58:04] Production.INFO: Account Balance Start.
[2025-01-10 00:58:04] Production.INFO: CreateAllLog Start
[2025-01-10 00:58:04] Production.INFO: 117
[2025-01-10 00:58:04] Production.INFO: Date 2025-01-08
[2025-01-10 00:58:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:58:04] Production.INFO: Date 2025-01-09
[2025-01-10 00:58:04] Production.INFO: ==24151== Lock acquired, processing the job...
[2025-01-10 00:58:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 00:58:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:58:04] Production.INFO: ==24149== Releasing lock...
[2025-01-10 00:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 00:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 00:58:04] Production.INFO: Date 2025-01-10
[2025-01-10 00:58:04] Production.INFO: ==24155== Lock acquired, processing the job...
[2025-01-10 00:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 00:58:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:58:04] Production.INFO: ==24157== Lock acquired, processing the job...
[2025-01-10 00:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 00:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 00:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 00:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 00:58:04] Production.INFO: Total Charge 0
[2025-01-10 00:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 00:58:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:58:04] Production.INFO: CreateAllLog End
[2025-01-10 00:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:58:04] Production.INFO: Account Balance End.
[2025-01-10 00:58:04] Production.INFO: count ==21
[2025-01-10 00:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:58:04] Production.ERROR: CronJobId end 12
[2025-01-10 00:58:04] Production.INFO: count ==21
[2025-01-10 00:58:04] Production.INFO: ==24153== Releasing lock...
[2025-01-10 00:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 00:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 00:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213396') start
[2025-01-10 00:58:04] Production.ERROR: done
[2025-01-10 00:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213396') end
[2025-01-10 00:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 00:58:04] Production.INFO: 1
[2025-01-10 00:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 00:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 00:58:04] Production.INFO: ==24157== Releasing lock...
[2025-01-10 00:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 00:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 00:58:04] Production.ERROR: done
[2025-01-10 00:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 21:58:05
[end_date_ymd] => 2025-01-10 00:58:05
[RateCDR] => 1
)
[2025-01-10 00:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 21:58:05' and `end` < '2025-01-10 00:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 00:58:11] Production.ERROR: CronJobId end10
[2025-01-10 00:58:11] Production.INFO: ==24151== Releasing lock...
[2025-01-10 00:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 00:58:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 00:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 00:58:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 00:58:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 00:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 00:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 00:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 00:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 00:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 00:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 00:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 00:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 00:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 00:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 00:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 00:58:13] Production.INFO: call_cost start
[2025-01-10 00:58:13] Production.INFO: call_cost end
[2025-01-10 00:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 00:58:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 00:58:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 00:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 00:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 00:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 00:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 00:58:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 00:58:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 00:58:14] Production.INFO: ==24147== Releasing lock...
[2025-01-10 00:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 00:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 00:58:20] Production.INFO: count ==151
[2025-01-10 00:58:20] Production.ERROR: pbx CDR StartTime 2025-01-09 21:58:05 - End Time 2025-01-10 00:58:05
[2025-01-10 00:58:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 00:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213397', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213397', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213397', 'tblTempVendorCDR_20' ) start
[2025-01-10 00:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213397', 'tblTempVendorCDR_20' ) end
[2025-01-10 00:58:20] Production.INFO: ProcessCDR(1,14213397,1,1,2)
[2025-01-10 00:58:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213397,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:58:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213397,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:58:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213397,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:58:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213397,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:58:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213397', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:58:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213397', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:58:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:58:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:58:24] Production.INFO: ==24155== Releasing lock...
[2025-01-10 00:58:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 00:58:24] Production.INFO: 29.25 MB #Memory Used#
[2025-01-10 05:59:01] Production.INFO: ==24210== Lock acquired, processing the job...
[2025-01-10 05:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 05:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 05:59:01] Production.INFO: neon service started
[2025-01-10 05:59:01] Production.INFO: neon service started
[2025-01-10 05:59:01] Production.INFO: ==24210== Releasing lock...
[2025-01-10 05:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 05:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 05:59:02] Production.INFO: ==24214== Lock acquired, processing the job...
[2025-01-10 05:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 00:59:02] Production.INFO: ==24212== Lock acquired, processing the job...
[2025-01-10 00:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:59:02] Production.INFO: ==24214== Releasing lock...
[2025-01-10 05:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 05:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 00:59:02] Production.INFO: ==24212== Releasing lock...
[2025-01-10 00:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 00:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 00:59:03] Production.INFO: ==24221== Lock acquired, processing the job...
[2025-01-10 00:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 00:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 00:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 00:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 00:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 00:59:03] Production.INFO: ==24227== Lock acquired, processing the job...
[2025-01-10 00:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 00:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:59:03] Production.INFO: ==24217== Lock acquired, processing the job...
[2025-01-10 00:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 00:59:03] Production.INFO: ==24219== Lock acquired, processing the job...
[2025-01-10 00:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 00:59:03] Production.INFO: count ==21
[2025-01-10 00:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 00:59:03] Production.INFO: count ==21
[2025-01-10 00:59:03] Production.INFO: ==24223== Lock acquired, processing the job...
[2025-01-10 00:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 00:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 00:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213398') start
[2025-01-10 00:59:03] Production.INFO: ==24225== Lock acquired, processing the job...
[2025-01-10 00:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 00:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213398') end
[2025-01-10 00:59:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 00:59:03] Production.INFO: 1
[2025-01-10 00:59:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 00:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 00:59:03] Production.INFO: ==24227== Releasing lock...
[2025-01-10 00:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 00:59:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 00:59:03] Production.INFO: Account Balance Start.
[2025-01-10 00:59:03] Production.INFO: CreateAllLog Start
[2025-01-10 00:59:03] Production.INFO: 117
[2025-01-10 00:59:03] Production.INFO: Date 2025-01-08
[2025-01-10 00:59:03] Production.INFO: Reseller ==> 0
[2025-01-10 00:59:04] Production.INFO: Date 2025-01-09
[2025-01-10 00:59:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:59:04] Production.INFO: Date 2025-01-10
[2025-01-10 00:59:04] Production.INFO: Reseller ==> 0
[2025-01-10 00:59:04] Production.ERROR: done
[2025-01-10 00:59:04] Production.INFO: Total Charge 0
[2025-01-10 00:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 00:59:04] Production.INFO: ==24219== Releasing lock...
[2025-01-10 00:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 00:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 00:59:04] Production.INFO: CreateAllLog End
[2025-01-10 00:59:04] Production.ERROR: done
[2025-01-10 00:59:04] Production.INFO: Account Balance End.
[2025-01-10 00:59:04] Production.ERROR: CronJobId end 12
[2025-01-10 00:59:04] Production.INFO: ==24223== Releasing lock...
[2025-01-10 00:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 00:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 00:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 21:59:05
[end_date_ymd] => 2025-01-10 00:59:05
[RateCDR] => 1
)
[2025-01-10 00:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 21:59:05' and `end` < '2025-01-10 00:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 00:59:10] Production.ERROR: CronJobId end10
[2025-01-10 00:59:10] Production.INFO: ==24221== Releasing lock...
[2025-01-10 00:59:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 00:59:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 00:59:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 00:59:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 00:59:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 00:59:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 00:59:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 00:59:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 00:59:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 00:59:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 00:59:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 00:59:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 00:59:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 00:59:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 00:59:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 00:59:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 00:59:12] Production.INFO: call_cost start
[2025-01-10 00:59:12] Production.INFO: call_cost end
[2025-01-10 00:59:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 00:59:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 00:59:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 00:59:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 00:59:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 00:59:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 00:59:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 00:59:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 00:59:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 00:59:13] Production.INFO: ==24217== Releasing lock...
[2025-01-10 00:59:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 00:59:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 00:59:20] Production.INFO: count ==151
[2025-01-10 00:59:20] Production.ERROR: pbx CDR StartTime 2025-01-09 21:59:05 - End Time 2025-01-10 00:59:05
[2025-01-10 00:59:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 00:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213402', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213402', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213402', 'tblTempVendorCDR_20' ) start
[2025-01-10 00:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213402', 'tblTempVendorCDR_20' ) end
[2025-01-10 00:59:20] Production.INFO: ProcessCDR(1,14213402,1,1,2)
[2025-01-10 00:59:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213402,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:59:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213402,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 00:59:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213402,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:59:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213402,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 00:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213402', 'tblTempUsageDetail_20' ) start
[2025-01-10 00:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213402', 'tblTempUsageDetail_20' ) end
[2025-01-10 00:59:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 00:59:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 00:59:23] Production.INFO: ==24225== Releasing lock...
[2025-01-10 00:59:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 00:59:23] Production.INFO: 29.25 MB #Memory Used#
[2025-01-10 06:00:02] Production.INFO: ==24281== Lock acquired, processing the job...
[2025-01-10 06:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 06:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 06:00:02] Production.INFO: neon service started
[2025-01-10 06:00:02] Production.INFO: neon service started
[2025-01-10 06:00:02] Production.INFO: ==24281== Releasing lock...
[2025-01-10 06:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 06:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 01:00:02] Production.INFO: ==24283== Lock acquired, processing the job...
[2025-01-10 01:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 01:00:02] Production.INFO: ==24283== Releasing lock...
[2025-01-10 01:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 01:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 06:00:03] Production.INFO: ==24285== Lock acquired, processing the job...
[2025-01-10 06:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 06:00:03] Production.INFO: ==24285== Releasing lock...
[2025-01-10 06:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 06:00:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 01:00:03] Production.INFO: ==24288== Lock acquired, processing the job...
[2025-01-10 01:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 01:00:03] Production.INFO: ==24290== Lock acquired, processing the job...
[2025-01-10 01:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 01:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 01:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 01:00:04] Production.INFO: ==24288== Releasing lock...
[2025-01-10 01:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 01:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 01:00:04] Production.INFO: ==24296== Lock acquired, processing the job...
[2025-01-10 01:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 01:00:04] Production.INFO: ==24302== Lock acquired, processing the job...
[2025-01-10 01:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 01:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 01:00:04] Production.INFO: ==24292== Lock acquired, processing the job...
[2025-01-10 01:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 01:00:04] Production.INFO: Account Balance Start.
[2025-01-10 01:00:04] Production.INFO: CreateAllLog Start
[2025-01-10 01:00:04] Production.INFO: 117
[2025-01-10 01:00:04] Production.INFO: Date 2025-01-08
[2025-01-10 01:00:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:00:04] Production.INFO: ==24294== Lock acquired, processing the job...
[2025-01-10 01:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 01:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:00:04] Production.INFO: count ==21
[2025-01-10 01:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:00:04] Production.INFO: count ==21
[2025-01-10 01:00:04] Production.INFO: Date 2025-01-09
[2025-01-10 01:00:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213405') start
[2025-01-10 01:00:04] Production.INFO: Date 2025-01-10
[2025-01-10 01:00:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 01:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 01:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 01:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 01:00:04] Production.INFO: Total Charge 0
[2025-01-10 01:00:04] Production.INFO: ==24298== Lock acquired, processing the job...
[2025-01-10 01:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 01:00:04] Production.INFO: CreateAllLog End
[2025-01-10 01:00:04] Production.INFO: ==24300== Lock acquired, processing the job...
[2025-01-10 01:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 01:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213405') end
[2025-01-10 01:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 01:00:04] Production.INFO: 1
[2025-01-10 01:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 01:00:04] Production.INFO: ==24292== Releasing lock...
[2025-01-10 01:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 01:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 01:00:04] Production.INFO: ==24302== Releasing lock...
[2025-01-10 01:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 01:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 01:00:04] Production.INFO: Account Balance End.
[2025-01-10 01:00:04] Production.ERROR: done
[2025-01-10 01:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 01:00:04] Production.ERROR: CronJobId end 12
[2025-01-10 01:00:04] Production.INFO: ==24296== Releasing lock...
[2025-01-10 01:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 01:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 01:00:04] Production.ERROR: done
[2025-01-10 01:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 01:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14213407', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 01:00:05] Production.ERROR: done
[2025-01-10 01:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 22:00:06
[end_date_ymd] => 2025-01-10 01:00:06
[RateCDR] => 1
)
[2025-01-10 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-01-09 22:00:06' and `end` < '2025-01-10 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-01-10 01:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14213407', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 01:00:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 01:00:08] Production.INFO: ProcessCDR(1,14213407,1,1,2)
[2025-01-10 01:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14213407,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14213407,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:00:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:00:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:00:08] Production.INFO: ==24300== Releasing lock...
[2025-01-10 01:00:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 01:00:08] Production.INFO: 26 MB #Memory Used#
[2025-01-10 01:00:13] Production.ERROR: CronJobId end10
[2025-01-10 01:00:13] Production.INFO: ==24294== Releasing lock...
[2025-01-10 01:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 01:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 01:00:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 01:00:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 01:00:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 01:00:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 01:00:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 01:00:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 01:00:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 01:00:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 01:00:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 01:00:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 01:00:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 01:00:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 01:00:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 01:00:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 01:00:15] Production.INFO: call_cost start
[2025-01-10 01:00:15] Production.INFO: call_cost end
[2025-01-10 01:00:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 01:00:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 01:00:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 01:00:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 01:00:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 01:00:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 01:00:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 01:00:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 01:00:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 01:00:15] Production.INFO: ==24290== Releasing lock...
[2025-01-10 01:00:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 01:00:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 01:00:20] Production.INFO: count ==157
[2025-01-10 01:00:20] Production.ERROR: pbx CDR StartTime 2025-01-09 22:00:06 - End Time 2025-01-10 01:00:06
[2025-01-10 01:00:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 01:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213408', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213408', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213408', 'tblTempVendorCDR_20' ) start
[2025-01-10 01:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213408', 'tblTempVendorCDR_20' ) end
[2025-01-10 01:00:20] Production.INFO: ProcessCDR(1,14213408,1,1,2)
[2025-01-10 01:00:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213408,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:00:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213408,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:00:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213408,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:00:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213408,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213408', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213408', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:00:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:00:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:00:23] Production.INFO: ==24298== Releasing lock...
[2025-01-10 01:00:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 01:00:23] Production.INFO: 29.25 MB #Memory Used#
[2025-01-10 06:01:01] Production.INFO: ==24359== Lock acquired, processing the job...
[2025-01-10 06:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 06:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 06:01:01] Production.INFO: neon service started
[2025-01-10 06:01:01] Production.INFO: neon service started
[2025-01-10 06:01:01] Production.INFO: ==24359== Releasing lock...
[2025-01-10 06:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 06:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 06:01:01] Production.INFO: ==24377== Lock acquired, processing the job...
[2025-01-10 06:01:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 06:01:02] Production.INFO: ==24377== Releasing lock...
[2025-01-10 06:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 06:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 01:01:02] Production.INFO: ==24375== Lock acquired, processing the job...
[2025-01-10 01:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 01:01:02] Production.INFO: ==24375== Releasing lock...
[2025-01-10 01:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 01:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:01:02] Production.INFO: ==24379== Lock acquired, processing the job...
[2025-01-10 01:01:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 01:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 01:01:03] Production.INFO: ==24385== Lock acquired, processing the job...
[2025-01-10 01:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 01:01:03] Production.INFO: ==24383== Lock acquired, processing the job...
[2025-01-10 01:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 01:01:03] Production.INFO: Account Balance Start.
[2025-01-10 01:01:03] Production.INFO: CreateAllLog Start
[2025-01-10 01:01:03] Production.INFO: 117
[2025-01-10 01:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 01:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 01:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 01:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 01:01:03] Production.INFO: Date 2025-01-08
[2025-01-10 01:01:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:01:03] Production.INFO: Date 2025-01-09
[2025-01-10 01:01:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:01:03] Production.INFO: ==24381== Lock acquired, processing the job...
[2025-01-10 01:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 01:01:03] Production.INFO: Date 2025-01-10
[2025-01-10 01:01:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:01:03] Production.INFO: Total Charge 0
[2025-01-10 01:01:03] Production.INFO: CreateAllLog End
[2025-01-10 01:01:03] Production.INFO: ==24387== Lock acquired, processing the job...
[2025-01-10 01:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 01:01:03] Production.INFO: ==24389== Lock acquired, processing the job...
[2025-01-10 01:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 01:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:01:03] Production.INFO: Account Balance End.
[2025-01-10 01:01:03] Production.INFO: count ==21
[2025-01-10 01:01:03] Production.ERROR: CronJobId end 12
[2025-01-10 01:01:03] Production.INFO: ==24385== Releasing lock...
[2025-01-10 01:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 01:01:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 01:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:01:03] Production.INFO: count ==21
[2025-01-10 01:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213412') start
[2025-01-10 01:01:04] Production.INFO: ==24381== Releasing lock...
[2025-01-10 01:01:04] Production.ERROR: done
[2025-01-10 01:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 01:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 01:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213412') end
[2025-01-10 01:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 01:01:04] Production.INFO: 1
[2025-01-10 01:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 01:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 01:01:04] Production.INFO: ==24389== Releasing lock...
[2025-01-10 01:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 01:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 01:01:04] Production.ERROR: done
[2025-01-10 01:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 22:01:05
[end_date_ymd] => 2025-01-10 01:01:05
[RateCDR] => 1
)
[2025-01-10 01:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 22:01:05' and `end` < '2025-01-10 01:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 01:01:11] Production.ERROR: CronJobId end10
[2025-01-10 01:01:11] Production.INFO: ==24383== Releasing lock...
[2025-01-10 01:01:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 01:01:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 01:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 01:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 01:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 01:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 01:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 01:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 01:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 01:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 01:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 01:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 01:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 01:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 01:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 01:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 01:01:13] Production.INFO: call_cost start
[2025-01-10 01:01:13] Production.INFO: call_cost end
[2025-01-10 01:01:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 01:01:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 01:01:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 01:01:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 01:01:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 01:01:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 01:01:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 01:01:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 01:01:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 01:01:14] Production.INFO: ==24379== Releasing lock...
[2025-01-10 01:01:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 01:01:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 01:01:19] Production.INFO: count ==164
[2025-01-10 01:01:19] Production.ERROR: pbx CDR StartTime 2025-01-09 22:01:05 - End Time 2025-01-10 01:01:05
[2025-01-10 01:01:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 01:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213413', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213413', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213413', 'tblTempVendorCDR_20' ) start
[2025-01-10 01:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213413', 'tblTempVendorCDR_20' ) end
[2025-01-10 01:01:19] Production.INFO: ProcessCDR(1,14213413,1,1,2)
[2025-01-10 01:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213413,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213413,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213413,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:01:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213413,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213413', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213413', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:01:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:01:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:01:22] Production.INFO: ==24387== Releasing lock...
[2025-01-10 01:01:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 01:01:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-10 06:02:02] Production.INFO: ==24484== Lock acquired, processing the job...
[2025-01-10 06:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 06:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 06:02:02] Production.INFO: neon service started
[2025-01-10 06:02:02] Production.INFO: neon service started
[2025-01-10 06:02:02] Production.INFO: ==24484== Releasing lock...
[2025-01-10 06:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 06:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 01:02:02] Production.INFO: ==24487== Lock acquired, processing the job...
[2025-01-10 01:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:02:02] Production.INFO: ==24489== Lock acquired, processing the job...
[2025-01-10 06:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 01:02:02] Production.INFO: ==24487== Releasing lock...
[2025-01-10 01:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 01:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 06:02:02] Production.INFO: ==24489== Releasing lock...
[2025-01-10 06:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 06:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 01:02:03] Production.INFO: ==24491== Lock acquired, processing the job...
[2025-01-10 01:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 01:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 01:02:03] Production.INFO: ==24501== Lock acquired, processing the job...
[2025-01-10 01:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 01:02:03] Production.INFO: ==24493== Lock acquired, processing the job...
[2025-01-10 01:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 01:02:03] Production.INFO: ==24495== Lock acquired, processing the job...
[2025-01-10 01:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 01:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:02:03] Production.INFO: ==24497== Lock acquired, processing the job...
[2025-01-10 01:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 01:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 01:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 01:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 01:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 01:02:03] Production.INFO: count ==21
[2025-01-10 01:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:02:04] Production.INFO: count ==21
[2025-01-10 01:02:04] Production.INFO: ==24499== Lock acquired, processing the job...
[2025-01-10 01:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 01:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213415') start
[2025-01-10 01:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213415') end
[2025-01-10 01:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 01:02:04] Production.INFO: 1
[2025-01-10 01:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 01:02:04] Production.INFO: Account Balance Start.
[2025-01-10 01:02:04] Production.INFO: CreateAllLog Start
[2025-01-10 01:02:04] Production.INFO: 117
[2025-01-10 01:02:04] Production.INFO: Date 2025-01-08
[2025-01-10 01:02:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:02:04] Production.INFO: Date 2025-01-09
[2025-01-10 01:02:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:02:04] Production.INFO: ==24501== Releasing lock...
[2025-01-10 01:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 01:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 01:02:04] Production.INFO: Date 2025-01-10
[2025-01-10 01:02:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:02:04] Production.INFO: ==24493== Releasing lock...
[2025-01-10 01:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 01:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 01:02:04] Production.INFO: Total Charge 0
[2025-01-10 01:02:04] Production.INFO: CreateAllLog End
[2025-01-10 01:02:04] Production.ERROR: done
[2025-01-10 01:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 01:02:04] Production.INFO: Account Balance End.
[2025-01-10 01:02:04] Production.ERROR: CronJobId end 12
[2025-01-10 01:02:04] Production.INFO: ==24497== Releasing lock...
[2025-01-10 01:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 01:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 01:02:04] Production.ERROR: done
[2025-01-10 01:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 22:02:05
[end_date_ymd] => 2025-01-10 01:02:05
[RateCDR] => 1
)
[2025-01-10 01:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 22:02:05' and `end` < '2025-01-10 01:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 01:02:12] Production.ERROR: CronJobId end10
[2025-01-10 01:02:12] Production.INFO: ==24495== Releasing lock...
[2025-01-10 01:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 01:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 01:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 01:02:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 01:02:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 01:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 01:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 01:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 01:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 01:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 01:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 01:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 01:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 01:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 01:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 01:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 01:02:13] Production.INFO: call_cost start
[2025-01-10 01:02:13] Production.INFO: call_cost end
[2025-01-10 01:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 01:02:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 01:02:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 01:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 01:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 01:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 01:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 01:02:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 01:02:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 01:02:14] Production.INFO: ==24491== Releasing lock...
[2025-01-10 01:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 01:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 01:02:18] Production.INFO: count ==164
[2025-01-10 01:02:18] Production.ERROR: pbx CDR StartTime 2025-01-09 22:02:05 - End Time 2025-01-10 01:02:05
[2025-01-10 01:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 01:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213418', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213418', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213418', 'tblTempVendorCDR_20' ) start
[2025-01-10 01:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213418', 'tblTempVendorCDR_20' ) end
[2025-01-10 01:02:18] Production.INFO: ProcessCDR(1,14213418,1,1,2)
[2025-01-10 01:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213418,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213418,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213418,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:02:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213418,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213418', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213418', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:02:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:02:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:02:21] Production.INFO: ==24499== Releasing lock...
[2025-01-10 01:02:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 01:02:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-10 06:03:01] Production.INFO: ==24553== Lock acquired, processing the job...
[2025-01-10 06:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 06:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 06:03:01] Production.INFO: neon service started
[2025-01-10 06:03:01] Production.INFO: neon service started
[2025-01-10 06:03:01] Production.INFO: ==24553== Releasing lock...
[2025-01-10 06:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 06:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 01:03:01] Production.INFO: ==24555== Lock acquired, processing the job...
[2025-01-10 01:03:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:03:02] Production.INFO: ==24557== Lock acquired, processing the job...
[2025-01-10 06:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 01:03:02] Production.INFO: ==24555== Releasing lock...
[2025-01-10 01:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 01:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 06:03:02] Production.INFO: ==24557== Releasing lock...
[2025-01-10 06:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 06:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 01:03:03] Production.INFO: ==24560== Lock acquired, processing the job...
[2025-01-10 01:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 01:03:03] Production.INFO: ==24562== Lock acquired, processing the job...
[2025-01-10 01:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 01:03:03] Production.INFO: ==24564== Lock acquired, processing the job...
[2025-01-10 01:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 01:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 01:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 01:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 01:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 01:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 01:03:03] Production.INFO: ==24566== Lock acquired, processing the job...
[2025-01-10 01:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 01:03:03] Production.INFO: Account Balance Start.
[2025-01-10 01:03:03] Production.INFO: CreateAllLog Start
[2025-01-10 01:03:03] Production.INFO: 117
[2025-01-10 01:03:03] Production.INFO: Date 2025-01-08
[2025-01-10 01:03:03] Production.INFO: ==24562== Releasing lock...
[2025-01-10 01:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 01:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 01:03:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:03:03] Production.INFO: Date 2025-01-09
[2025-01-10 01:03:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:03:03] Production.INFO: ==24568== Lock acquired, processing the job...
[2025-01-10 01:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 01:03:03] Production.INFO: Date 2025-01-10
[2025-01-10 01:03:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:03:03] Production.INFO: Total Charge 0
[2025-01-10 01:03:03] Production.INFO: CreateAllLog End
[2025-01-10 01:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:03:03] Production.INFO: ==24570== Lock acquired, processing the job...
[2025-01-10 01:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 01:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:03:03] Production.INFO: count ==21
[2025-01-10 01:03:03] Production.INFO: Account Balance End.
[2025-01-10 01:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:03:03] Production.INFO: count ==21
[2025-01-10 01:03:04] Production.ERROR: CronJobId end 12
[2025-01-10 01:03:04] Production.INFO: ==24566== Releasing lock...
[2025-01-10 01:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 01:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 01:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213422') start
[2025-01-10 01:03:04] Production.ERROR: done
[2025-01-10 01:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 01:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213422') end
[2025-01-10 01:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 01:03:04] Production.INFO: 1
[2025-01-10 01:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 01:03:04] Production.INFO: ==24570== Releasing lock...
[2025-01-10 01:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 01:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 01:03:04] Production.ERROR: done
[2025-01-10 01:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 22:03:05
[end_date_ymd] => 2025-01-10 01:03:05
[RateCDR] => 1
)
[2025-01-10 01:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 22:03:05' and `end` < '2025-01-10 01:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 01:03:10] Production.ERROR: CronJobId end10
[2025-01-10 01:03:10] Production.INFO: ==24564== Releasing lock...
[2025-01-10 01:03:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 01:03:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 01:03:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 01:03:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 01:03:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 01:03:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 01:03:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 01:03:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 01:03:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 01:03:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 01:03:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 01:03:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 01:03:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 01:03:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 01:03:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 01:03:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 01:03:13] Production.INFO: call_cost start
[2025-01-10 01:03:13] Production.INFO: call_cost end
[2025-01-10 01:03:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 01:03:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 01:03:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 01:03:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 01:03:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 01:03:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 01:03:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 01:03:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 01:03:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 01:03:13] Production.INFO: ==24560== Releasing lock...
[2025-01-10 01:03:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 01:03:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 01:03:19] Production.INFO: count ==164
[2025-01-10 01:03:19] Production.ERROR: pbx CDR StartTime 2025-01-09 22:03:05 - End Time 2025-01-10 01:03:05
[2025-01-10 01:03:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 01:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213423', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213423', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213423', 'tblTempVendorCDR_20' ) start
[2025-01-10 01:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213423', 'tblTempVendorCDR_20' ) end
[2025-01-10 01:03:19] Production.INFO: ProcessCDR(1,14213423,1,1,2)
[2025-01-10 01:03:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213423,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:03:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213423,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:03:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213423,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:03:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213423,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213423', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213423', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:03:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:03:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:03:22] Production.INFO: ==24568== Releasing lock...
[2025-01-10 01:03:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 01:03:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-10 06:04:02] Production.INFO: ==24623== Lock acquired, processing the job...
[2025-01-10 06:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 06:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 06:04:02] Production.INFO: neon service started
[2025-01-10 06:04:02] Production.INFO: neon service started
[2025-01-10 06:04:02] Production.INFO: ==24623== Releasing lock...
[2025-01-10 06:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 06:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 01:04:02] Production.INFO: ==24625== Lock acquired, processing the job...
[2025-01-10 01:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:04:02] Production.INFO: ==24627== Lock acquired, processing the job...
[2025-01-10 06:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 06:04:02] Production.INFO: ==24627== Releasing lock...
[2025-01-10 06:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 06:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 01:04:03] Production.INFO: ==24625== Releasing lock...
[2025-01-10 01:04:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 01:04:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:04:03] Production.INFO: ==24630== Lock acquired, processing the job...
[2025-01-10 01:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 01:04:03] Production.INFO: ==24632== Lock acquired, processing the job...
[2025-01-10 01:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 01:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 01:04:03] Production.INFO: ==24634== Lock acquired, processing the job...
[2025-01-10 01:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 01:04:03] Production.INFO: ==24638== Lock acquired, processing the job...
[2025-01-10 01:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 01:04:03] Production.INFO: ==24636== Lock acquired, processing the job...
[2025-01-10 01:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 01:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:04:04] Production.INFO: ==24640== Lock acquired, processing the job...
[2025-01-10 01:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 01:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 01:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 01:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 01:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 01:04:04] Production.INFO: ==24632== Releasing lock...
[2025-01-10 01:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 01:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 01:04:04] Production.INFO: Account Balance Start.
[2025-01-10 01:04:04] Production.INFO: CreateAllLog Start
[2025-01-10 01:04:04] Production.INFO: 117
[2025-01-10 01:04:04] Production.INFO: Date 2025-01-08
[2025-01-10 01:04:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:04:04] Production.INFO: Date 2025-01-09
[2025-01-10 01:04:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:04:04] Production.ERROR: done
[2025-01-10 01:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 01:04:04] Production.INFO: Date 2025-01-10
[2025-01-10 01:04:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:04:04] Production.INFO: Total Charge 0
[2025-01-10 01:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:04:04] Production.INFO: CreateAllLog End
[2025-01-10 01:04:04] Production.INFO: count ==21
[2025-01-10 01:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:04:04] Production.ERROR: done
[2025-01-10 01:04:04] Production.INFO: count ==21
[2025-01-10 01:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213427') start
[2025-01-10 01:04:04] Production.INFO: Account Balance End.
[2025-01-10 01:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213427') end
[2025-01-10 01:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 01:04:04] Production.INFO: 1
[2025-01-10 01:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 01:04:04] Production.ERROR: CronJobId end 12
[2025-01-10 01:04:04] Production.INFO: ==24636== Releasing lock...
[2025-01-10 01:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 01:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 01:04:04] Production.INFO: ==24640== Releasing lock...
[2025-01-10 01:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 01:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 01:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 22:04:05
[end_date_ymd] => 2025-01-10 01:04:05
[RateCDR] => 1
)
[2025-01-10 01:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 22:04:05' and `end` < '2025-01-10 01:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 01:04:11] Production.ERROR: CronJobId end10
[2025-01-10 01:04:11] Production.INFO: ==24634== Releasing lock...
[2025-01-10 01:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 01:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 01:04:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 01:04:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 01:04:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 01:04:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 01:04:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 01:04:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 01:04:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 01:04:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 01:04:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 01:04:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 01:04:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 01:04:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 01:04:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 01:04:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 01:04:12] Production.INFO: call_cost start
[2025-01-10 01:04:12] Production.INFO: call_cost end
[2025-01-10 01:04:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 01:04:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 01:04:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 01:04:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 01:04:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 01:04:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 01:04:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 01:04:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 01:04:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 01:04:13] Production.INFO: ==24630== Releasing lock...
[2025-01-10 01:04:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 01:04:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 01:04:21] Production.INFO: count ==164
[2025-01-10 01:04:21] Production.ERROR: pbx CDR StartTime 2025-01-09 22:04:05 - End Time 2025-01-10 01:04:05
[2025-01-10 01:04:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 01:04:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213428', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:04:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213428', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:04:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213428', 'tblTempVendorCDR_20' ) start
[2025-01-10 01:04:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213428', 'tblTempVendorCDR_20' ) end
[2025-01-10 01:04:21] Production.INFO: ProcessCDR(1,14213428,1,1,2)
[2025-01-10 01:04:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213428,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:04:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213428,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:04:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213428,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:04:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213428,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:04:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213428', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:04:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213428', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:04:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:04:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:04:24] Production.INFO: ==24638== Releasing lock...
[2025-01-10 01:04:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 01:04:24] Production.INFO: 29.25 MB #Memory Used#
[2025-01-10 06:05:01] Production.INFO: ==24694== Lock acquired, processing the job...
[2025-01-10 06:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 06:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 06:05:01] Production.INFO: neon service started
[2025-01-10 06:05:01] Production.INFO: neon service started
[2025-01-10 06:05:01] Production.INFO: ==24694== Releasing lock...
[2025-01-10 06:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 06:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 01:05:01] Production.INFO: ==24696== Lock acquired, processing the job...
[2025-01-10 01:05:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 01:05:02] Production.INFO: ==24696== Releasing lock...
[2025-01-10 01:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 01:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 06:05:02] Production.INFO: ==24698== Lock acquired, processing the job...
[2025-01-10 06:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 06:05:02] Production.INFO: ==24698== Releasing lock...
[2025-01-10 06:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 06:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 01:05:02] Production.INFO: ==24702== Lock acquired, processing the job...
[2025-01-10 01:05:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 01:05:02] Production.INFO: ==24704== Lock acquired, processing the job...
[2025-01-10 01:05:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 01:05:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 01:05:03] Production.INFO: ==24710== Lock acquired, processing the job...
[2025-01-10 01:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 01:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:05:03] Production.INFO: ==24706== Lock acquired, processing the job...
[2025-01-10 01:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 01:05:03] Production.INFO: ==24708== Lock acquired, processing the job...
[2025-01-10 01:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 01:05:03] Production.INFO: ==24704== Releasing lock...
[2025-01-10 01:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 01:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 01:05:03] Production.INFO: ==24712== Lock acquired, processing the job...
[2025-01-10 01:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 01:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 01:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 01:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 01:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 01:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:05:03] Production.INFO: Account Balance Start.
[2025-01-10 01:05:03] Production.INFO: CreateAllLog Start
[2025-01-10 01:05:03] Production.INFO: 117
[2025-01-10 01:05:03] Production.INFO: count ==21
[2025-01-10 01:05:03] Production.INFO: Date 2025-01-08
[2025-01-10 01:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:05:03] Production.INFO: count ==21
[2025-01-10 01:05:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:05:03] Production.ERROR: done
[2025-01-10 01:05:03] Production.INFO: Date 2025-01-09
[2025-01-10 01:05:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213431') start
[2025-01-10 01:05:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 01:05:03] Production.INFO: Date 2025-01-10
[2025-01-10 01:05:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:05:03] Production.INFO: Total Charge 0
[2025-01-10 01:05:03] Production.INFO: CreateAllLog End
[2025-01-10 01:05:03] Production.ERROR: done
[2025-01-10 01:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213431') end
[2025-01-10 01:05:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 01:05:03] Production.INFO: 1
[2025-01-10 01:05:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 01:05:03] Production.INFO: Account Balance End.
[2025-01-10 01:05:03] Production.INFO: ==24712== Releasing lock...
[2025-01-10 01:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 01:05:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 01:05:03] Production.ERROR: CronJobId end 12
[2025-01-10 01:05:03] Production.INFO: ==24708== Releasing lock...
[2025-01-10 01:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 01:05:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 01:05:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 22:05:04
[end_date_ymd] => 2025-01-10 01:05:04
[RateCDR] => 1
)
[2025-01-10 01:05:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 22:05:04' and `end` < '2025-01-10 01:05:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 01:05:11] Production.ERROR: CronJobId end10
[2025-01-10 01:05:11] Production.INFO: ==24706== Releasing lock...
[2025-01-10 01:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 01:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 01:05:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 01:05:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 01:05:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 01:05:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 01:05:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 01:05:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 01:05:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 01:05:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 01:05:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 01:05:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 01:05:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 01:05:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 01:05:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 01:05:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 01:05:12] Production.INFO: call_cost start
[2025-01-10 01:05:12] Production.INFO: call_cost end
[2025-01-10 01:05:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 01:05:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 01:05:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 01:05:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 01:05:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 01:05:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 01:05:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 01:05:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 01:05:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 01:05:13] Production.INFO: ==24702== Releasing lock...
[2025-01-10 01:05:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 01:05:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 01:05:17] Production.INFO: count ==162
[2025-01-10 01:05:17] Production.ERROR: pbx CDR StartTime 2025-01-09 22:05:04 - End Time 2025-01-10 01:05:04
[2025-01-10 01:05:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 01:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213433', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213433', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213433', 'tblTempVendorCDR_20' ) start
[2025-01-10 01:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213433', 'tblTempVendorCDR_20' ) end
[2025-01-10 01:05:17] Production.INFO: ProcessCDR(1,14213433,1,1,2)
[2025-01-10 01:05:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213433,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:05:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213433,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:05:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213433,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:05:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213433,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:05:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213433', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:05:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213433', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:05:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:05:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:05:20] Production.INFO: ==24710== Releasing lock...
[2025-01-10 01:05:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 01:05:20] Production.INFO: 29.25 MB #Memory Used#
[2025-01-10 06:06:02] Production.INFO: ==24765== Lock acquired, processing the job...
[2025-01-10 06:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 06:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 06:06:02] Production.INFO: neon service started
[2025-01-10 06:06:02] Production.INFO: neon service started
[2025-01-10 06:06:02] Production.INFO: ==24765== Releasing lock...
[2025-01-10 06:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 06:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 01:06:02] Production.INFO: ==24768== Lock acquired, processing the job...
[2025-01-10 01:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 01:06:02] Production.INFO: ==24768== Releasing lock...
[2025-01-10 01:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 01:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 06:06:02] Production.INFO: ==24770== Lock acquired, processing the job...
[2025-01-10 06:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 06:06:02] Production.INFO: ==24770== Releasing lock...
[2025-01-10 06:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 06:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 01:06:03] Production.INFO: ==24776== Lock acquired, processing the job...
[2025-01-10 01:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 01:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 01:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 01:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 01:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 01:06:03] Production.INFO: ==24772== Lock acquired, processing the job...
[2025-01-10 01:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 01:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 01:06:03] Production.INFO: ==24782== Lock acquired, processing the job...
[2025-01-10 01:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 01:06:03] Production.INFO: ==24774== Lock acquired, processing the job...
[2025-01-10 01:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 01:06:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:06:03] Production.INFO: ==24778== Lock acquired, processing the job...
[2025-01-10 01:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 01:06:04] Production.INFO: ==24780== Lock acquired, processing the job...
[2025-01-10 01:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 01:06:04] Production.INFO: count ==21
[2025-01-10 01:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:06:04] Production.INFO: count ==21
[2025-01-10 01:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213435') start
[2025-01-10 01:06:04] Production.INFO: Account Balance Start.
[2025-01-10 01:06:04] Production.INFO: CreateAllLog Start
[2025-01-10 01:06:04] Production.INFO: 117
[2025-01-10 01:06:04] Production.INFO: Date 2025-01-08
[2025-01-10 01:06:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:06:04] Production.INFO: ==24774== Releasing lock...
[2025-01-10 01:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 01:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 01:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213435') end
[2025-01-10 01:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 01:06:04] Production.INFO: 1
[2025-01-10 01:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 01:06:04] Production.INFO: Date 2025-01-09
[2025-01-10 01:06:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:06:04] Production.INFO: ==24782== Releasing lock...
[2025-01-10 01:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 01:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 01:06:04] Production.ERROR: done
[2025-01-10 01:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 01:06:04] Production.INFO: Date 2025-01-10
[2025-01-10 01:06:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:06:04] Production.INFO: Total Charge 0
[2025-01-10 01:06:04] Production.INFO: CreateAllLog End
[2025-01-10 01:06:04] Production.ERROR: done
[2025-01-10 01:06:04] Production.INFO: Account Balance End.
[2025-01-10 01:06:04] Production.ERROR: CronJobId end 12
[2025-01-10 01:06:04] Production.INFO: ==24778== Releasing lock...
[2025-01-10 01:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 01:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 01:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 22:06:05
[end_date_ymd] => 2025-01-10 01:06:05
[RateCDR] => 1
)
[2025-01-10 01:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 22:06:05' and `end` < '2025-01-10 01:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 01:06:11] Production.ERROR: CronJobId end10
[2025-01-10 01:06:11] Production.INFO: ==24776== Releasing lock...
[2025-01-10 01:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 01:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 01:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 01:06:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 01:06:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 01:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 01:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 01:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 01:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 01:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 01:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 01:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 01:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 01:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 01:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 01:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 01:06:13] Production.INFO: call_cost start
[2025-01-10 01:06:13] Production.INFO: call_cost end
[2025-01-10 01:06:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 01:06:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 01:06:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 01:06:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 01:06:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 01:06:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 01:06:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 01:06:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 01:06:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 01:06:14] Production.INFO: ==24772== Releasing lock...
[2025-01-10 01:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 01:06:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 01:06:18] Production.INFO: count ==162
[2025-01-10 01:06:18] Production.ERROR: pbx CDR StartTime 2025-01-09 22:06:05 - End Time 2025-01-10 01:06:05
[2025-01-10 01:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 01:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213438', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213438', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213438', 'tblTempVendorCDR_20' ) start
[2025-01-10 01:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213438', 'tblTempVendorCDR_20' ) end
[2025-01-10 01:06:18] Production.INFO: ProcessCDR(1,14213438,1,1,2)
[2025-01-10 01:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213438,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213438,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213438,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:06:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213438,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213438', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213438', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:06:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:06:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:06:21] Production.INFO: ==24780== Releasing lock...
[2025-01-10 01:06:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 01:06:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-10 06:07:01] Production.INFO: ==24835== Lock acquired, processing the job...
[2025-01-10 06:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 06:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 06:07:01] Production.INFO: neon service started
[2025-01-10 06:07:01] Production.INFO: neon service started
[2025-01-10 06:07:01] Production.INFO: ==24835== Releasing lock...
[2025-01-10 06:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 06:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 06:07:01] Production.INFO: ==24839== Lock acquired, processing the job...
[2025-01-10 06:07:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 06:07:01] Production.INFO: ==24839== Releasing lock...
[2025-01-10 06:07:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 06:07:01] Production.INFO: 25 MB #Memory Used#
[2025-01-10 01:07:01] Production.INFO: ==24837== Lock acquired, processing the job...
[2025-01-10 01:07:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 01:07:02] Production.INFO: ==24837== Releasing lock...
[2025-01-10 01:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 01:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:07:02] Production.INFO: ==24842== Lock acquired, processing the job...
[2025-01-10 01:07:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 01:07:02] Production.INFO: ==24844== Lock acquired, processing the job...
[2025-01-10 01:07:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 01:07:02] Production.INFO: ==24846== Lock acquired, processing the job...
[2025-01-10 01:07:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 01:07:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 01:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 01:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 01:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 01:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 01:07:03] Production.INFO: ==24848== Lock acquired, processing the job...
[2025-01-10 01:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 01:07:03] Production.INFO: ==24850== Lock acquired, processing the job...
[2025-01-10 01:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 01:07:03] Production.INFO: ==24852== Lock acquired, processing the job...
[2025-01-10 01:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 01:07:03] Production.INFO: Account Balance Start.
[2025-01-10 01:07:03] Production.INFO: CreateAllLog Start
[2025-01-10 01:07:03] Production.INFO: 117
[2025-01-10 01:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:07:03] Production.INFO: ==24844== Releasing lock...
[2025-01-10 01:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 01:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 01:07:03] Production.INFO: Date 2025-01-08
[2025-01-10 01:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:07:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:07:03] Production.INFO: Date 2025-01-09
[2025-01-10 01:07:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:07:03] Production.INFO: count ==21
[2025-01-10 01:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:07:03] Production.INFO: count ==21
[2025-01-10 01:07:03] Production.INFO: Date 2025-01-10
[2025-01-10 01:07:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213442') start
[2025-01-10 01:07:03] Production.INFO: Total Charge 0
[2025-01-10 01:07:03] Production.INFO: CreateAllLog End
[2025-01-10 01:07:03] Production.ERROR: done
[2025-01-10 01:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 01:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213442') end
[2025-01-10 01:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 01:07:03] Production.INFO: 1
[2025-01-10 01:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 01:07:03] Production.INFO: Account Balance End.
[2025-01-10 01:07:03] Production.INFO: ==24852== Releasing lock...
[2025-01-10 01:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 01:07:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 01:07:03] Production.ERROR: CronJobId end 12
[2025-01-10 01:07:03] Production.INFO: ==24848== Releasing lock...
[2025-01-10 01:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 01:07:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 01:07:03] Production.ERROR: done
[2025-01-10 01:07:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 22:07:04
[end_date_ymd] => 2025-01-10 01:07:04
[RateCDR] => 1
)
[2025-01-10 01:07:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 22:07:04' and `end` < '2025-01-10 01:07:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 01:07:09] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#11 [internal function]: App\Console\Commands\NeonAlerts->fire()
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,8))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#2 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#6 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#7 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#8 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#9 [internal function]: App\Console\Commands\NeonAlerts->fire()
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 {main}
[2025-01-10 01:07:09] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 01:07:09] Production.INFO: ============== Balance Warning START===========
[2025-01-10 01:07:09] Production.INFO: ============== Balance Warning END===========
[2025-01-10 01:07:09] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 01:07:09] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 01:07:09] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 01:07:09] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 01:07:09] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 01:07:09] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 01:07:09] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 01:07:09] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 01:07:09] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 01:07:09] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 01:07:09] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 01:07:09] Production.INFO: call_cost start
[2025-01-10 01:07:09] Production.INFO: call_cost end
[2025-01-10 01:07:10] Production.ERROR: CronJobId end10
[2025-01-10 01:07:10] Production.INFO: ==24846== Releasing lock...
[2025-01-10 01:07:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 01:07:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 01:07:10] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 01:07:10] Production.INFO: ============== Report Schedule START===========
[2025-01-10 01:07:10] Production.INFO: ============== Report Schedule END===========
[2025-01-10 01:07:10] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 01:07:10] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 01:07:10] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 01:07:10] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 01:07:10] Production.INFO: ============== Deal alert START===========
[2025-01-10 01:07:10] Production.INFO: ============== Deal alert END===========
[2025-01-10 01:07:10] Production.INFO: ==24842== Releasing lock...
[2025-01-10 01:07:10] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 01:07:10] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 01:07:19] Production.INFO: count ==161
[2025-01-10 01:07:19] Production.ERROR: pbx CDR StartTime 2025-01-09 22:07:04 - End Time 2025-01-10 01:07:04
[2025-01-10 01:07:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 01:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213443', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213443', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213443', 'tblTempVendorCDR_20' ) start
[2025-01-10 01:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213443', 'tblTempVendorCDR_20' ) end
[2025-01-10 01:07:19] Production.INFO: ProcessCDR(1,14213443,1,1,2)
[2025-01-10 01:07:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213443,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:07:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213443,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:07:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213443,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:07:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213443,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213443', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213443', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:07:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:07:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:07:22] Production.INFO: ==24850== Releasing lock...
[2025-01-10 01:07:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 01:07:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-10 06:08:01] Production.INFO: ==24905== Lock acquired, processing the job...
[2025-01-10 06:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 06:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 06:08:01] Production.INFO: neon service started
[2025-01-10 06:08:01] Production.INFO: neon service started
[2025-01-10 06:08:01] Production.INFO: ==24905== Releasing lock...
[2025-01-10 06:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 06:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 01:08:02] Production.INFO: ==24908== Lock acquired, processing the job...
[2025-01-10 01:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 01:08:02] Production.INFO: ==24908== Releasing lock...
[2025-01-10 01:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 01:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 06:08:02] Production.INFO: ==24910== Lock acquired, processing the job...
[2025-01-10 06:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 06:08:02] Production.INFO: ==24910== Releasing lock...
[2025-01-10 06:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 06:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 01:08:03] Production.INFO: ==24914== Lock acquired, processing the job...
[2025-01-10 01:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 01:08:03] Production.INFO: ==24922== Lock acquired, processing the job...
[2025-01-10 01:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 01:08:03] Production.INFO: ==24912== Lock acquired, processing the job...
[2025-01-10 01:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 01:08:03] Production.INFO: ==24914== Releasing lock...
[2025-01-10 01:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 01:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 01:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 01:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:08:03] Production.INFO: count ==21
[2025-01-10 01:08:03] Production.INFO: ==24918== Lock acquired, processing the job...
[2025-01-10 01:08:03] Production.INFO: ==24916== Lock acquired, processing the job...
[2025-01-10 01:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 01:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 01:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:08:03] Production.INFO: count ==21
[2025-01-10 01:08:03] Production.INFO: ==24920== Lock acquired, processing the job...
[2025-01-10 01:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 01:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213445') start
[2025-01-10 01:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:08:03] Production.INFO: Account Balance Start.
[2025-01-10 01:08:03] Production.INFO: CreateAllLog Start
[2025-01-10 01:08:03] Production.INFO: 117
[2025-01-10 01:08:03] Production.INFO: Date 2025-01-08
[2025-01-10 01:08:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 01:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 01:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 01:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 01:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213445') end
[2025-01-10 01:08:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 01:08:03] Production.INFO: 1
[2025-01-10 01:08:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 01:08:03] Production.INFO: Date 2025-01-09
[2025-01-10 01:08:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:08:03] Production.INFO: Date 2025-01-10
[2025-01-10 01:08:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:08:03] Production.INFO: ==24922== Releasing lock...
[2025-01-10 01:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 01:08:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 01:08:03] Production.ERROR: done
[2025-01-10 01:08:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 01:08:03] Production.INFO: Total Charge 0
[2025-01-10 01:08:03] Production.INFO: CreateAllLog End
[2025-01-10 01:08:04] Production.ERROR: done
[2025-01-10 01:08:04] Production.INFO: Account Balance End.
[2025-01-10 01:08:04] Production.ERROR: CronJobId end 12
[2025-01-10 01:08:04] Production.INFO: ==24918== Releasing lock...
[2025-01-10 01:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 01:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 01:08:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 22:08:04
[end_date_ymd] => 2025-01-10 01:08:04
[RateCDR] => 1
)
[2025-01-10 01:08:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 22:08:04' and `end` < '2025-01-10 01:08:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 01:08:11] Production.ERROR: CronJobId end10
[2025-01-10 01:08:11] Production.INFO: ==24916== Releasing lock...
[2025-01-10 01:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 01:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 01:08:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 01:08:11] Production.INFO: ============== Balance Warning START===========
[2025-01-10 01:08:11] Production.INFO: ============== Balance Warning END===========
[2025-01-10 01:08:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 01:08:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 01:08:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 01:08:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 01:08:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 01:08:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 01:08:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 01:08:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 01:08:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 01:08:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 01:08:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 01:08:12] Production.INFO: call_cost start
[2025-01-10 01:08:12] Production.INFO: call_cost end
[2025-01-10 01:08:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 01:08:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 01:08:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 01:08:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 01:08:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 01:08:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 01:08:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 01:08:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 01:08:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 01:08:13] Production.INFO: ==24912== Releasing lock...
[2025-01-10 01:08:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 01:08:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 01:08:20] Production.INFO: count ==161
[2025-01-10 01:08:20] Production.ERROR: pbx CDR StartTime 2025-01-09 22:08:04 - End Time 2025-01-10 01:08:04
[2025-01-10 01:08:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 01:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213448', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213448', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213448', 'tblTempVendorCDR_20' ) start
[2025-01-10 01:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213448', 'tblTempVendorCDR_20' ) end
[2025-01-10 01:08:20] Production.INFO: ProcessCDR(1,14213448,1,1,2)
[2025-01-10 01:08:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213448,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:08:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213448,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:08:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213448,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:08:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213448,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213448', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213448', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:08:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:08:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:08:23] Production.INFO: ==24920== Releasing lock...
[2025-01-10 01:08:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 01:08:23] Production.INFO: 29.25 MB #Memory Used#
[2025-01-10 06:09:02] Production.INFO: ==24975== Lock acquired, processing the job...
[2025-01-10 06:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 06:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 06:09:02] Production.INFO: neon service started
[2025-01-10 06:09:02] Production.INFO: neon service started
[2025-01-10 06:09:02] Production.INFO: ==24975== Releasing lock...
[2025-01-10 06:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 06:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 01:09:02] Production.INFO: ==24977== Lock acquired, processing the job...
[2025-01-10 01:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:09:02] Production.INFO: ==24979== Lock acquired, processing the job...
[2025-01-10 06:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 06:09:02] Production.INFO: ==24979== Releasing lock...
[2025-01-10 06:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 06:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 01:09:03] Production.INFO: ==24977== Releasing lock...
[2025-01-10 01:09:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 01:09:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:09:03] Production.INFO: ==24982== Lock acquired, processing the job...
[2025-01-10 01:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 01:09:03] Production.INFO: ==24984== Lock acquired, processing the job...
[2025-01-10 01:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 01:09:03] Production.INFO: ==24986== Lock acquired, processing the job...
[2025-01-10 01:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 01:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 01:09:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 01:09:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 01:09:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 01:09:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 01:09:04] Production.INFO: ==24988== Lock acquired, processing the job...
[2025-01-10 01:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 01:09:04] Production.INFO: ==24990== Lock acquired, processing the job...
[2025-01-10 01:09:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 01:09:04] Production.INFO: ==24984== Releasing lock...
[2025-01-10 01:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 01:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 01:09:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:09:04] Production.INFO: ==24992== Lock acquired, processing the job...
[2025-01-10 01:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 01:09:04] Production.INFO: Account Balance Start.
[2025-01-10 01:09:04] Production.INFO: CreateAllLog Start
[2025-01-10 01:09:04] Production.INFO: 117
[2025-01-10 01:09:04] Production.INFO: Date 2025-01-08
[2025-01-10 01:09:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:09:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:09:04] Production.ERROR: done
[2025-01-10 01:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 01:09:04] Production.INFO: count ==21
[2025-01-10 01:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:09:04] Production.INFO: Date 2025-01-09
[2025-01-10 01:09:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:09:04] Production.INFO: count ==21
[2025-01-10 01:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213452') start
[2025-01-10 01:09:04] Production.ERROR: done
[2025-01-10 01:09:04] Production.INFO: Date 2025-01-10
[2025-01-10 01:09:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213452') end
[2025-01-10 01:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 01:09:04] Production.INFO: 1
[2025-01-10 01:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 01:09:04] Production.INFO: Total Charge 0
[2025-01-10 01:09:04] Production.INFO: CreateAllLog End
[2025-01-10 01:09:04] Production.INFO: ==24992== Releasing lock...
[2025-01-10 01:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 01:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 01:09:04] Production.INFO: Account Balance End.
[2025-01-10 01:09:04] Production.ERROR: CronJobId end 12
[2025-01-10 01:09:04] Production.INFO: ==24988== Releasing lock...
[2025-01-10 01:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 01:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 01:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 22:09:05
[end_date_ymd] => 2025-01-10 01:09:05
[RateCDR] => 1
)
[2025-01-10 01:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 22:09:05' and `end` < '2025-01-10 01:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 01:09:11] Production.ERROR: CronJobId end10
[2025-01-10 01:09:11] Production.INFO: ==24986== Releasing lock...
[2025-01-10 01:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 01:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 01:09:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 01:09:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 01:09:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 01:09:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 01:09:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 01:09:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 01:09:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 01:09:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 01:09:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 01:09:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 01:09:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 01:09:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 01:09:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 01:09:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 01:09:13] Production.INFO: call_cost start
[2025-01-10 01:09:13] Production.INFO: call_cost end
[2025-01-10 01:09:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 01:09:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 01:09:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 01:09:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 01:09:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 01:09:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 01:09:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 01:09:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 01:09:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 01:09:14] Production.INFO: ==24982== Releasing lock...
[2025-01-10 01:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 01:09:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 01:09:18] Production.INFO: count ==161
[2025-01-10 01:09:18] Production.ERROR: pbx CDR StartTime 2025-01-09 22:09:05 - End Time 2025-01-10 01:09:05
[2025-01-10 01:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 01:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213453', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213453', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213453', 'tblTempVendorCDR_20' ) start
[2025-01-10 01:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213453', 'tblTempVendorCDR_20' ) end
[2025-01-10 01:09:18] Production.INFO: ProcessCDR(1,14213453,1,1,2)
[2025-01-10 01:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213453,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213453,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213453,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:09:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213453,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213453', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213453', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:09:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:09:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:09:21] Production.INFO: ==24990== Releasing lock...
[2025-01-10 01:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 01:09:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-10 06:10:01] Production.INFO: ==25044== Lock acquired, processing the job...
[2025-01-10 06:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 06:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 06:10:01] Production.INFO: neon service started
[2025-01-10 06:10:01] Production.INFO: neon service started
[2025-01-10 06:10:01] Production.INFO: ==25044== Releasing lock...
[2025-01-10 06:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 06:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 06:10:02] Production.INFO: ==25048== Lock acquired, processing the job...
[2025-01-10 06:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 06:10:02] Production.INFO: ==25048== Releasing lock...
[2025-01-10 06:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 06:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 01:10:02] Production.INFO: ==25046== Lock acquired, processing the job...
[2025-01-10 01:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 01:10:02] Production.INFO: ==25046== Releasing lock...
[2025-01-10 01:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 01:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:10:03] Production.INFO: ==25051== Lock acquired, processing the job...
[2025-01-10 01:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 01:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 01:10:03] Production.INFO: ==25053== Lock acquired, processing the job...
[2025-01-10 01:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 01:10:03] Production.INFO: ==25055== Lock acquired, processing the job...
[2025-01-10 01:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 01:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 01:10:03] Production.INFO: ==25051== Releasing lock...
[2025-01-10 01:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 01:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 01:10:03] Production.INFO: ==25061== Lock acquired, processing the job...
[2025-01-10 01:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 01:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 01:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:10:03] Production.INFO: ==25057== Lock acquired, processing the job...
[2025-01-10 01:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 01:10:03] Production.INFO: ==25059== Lock acquired, processing the job...
[2025-01-10 01:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 01:10:04] Production.INFO: ==25063== Lock acquired, processing the job...
[2025-01-10 01:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 01:10:04] Production.INFO: ==25065== Lock acquired, processing the job...
[2025-01-10 01:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 01:10:04] Production.INFO: Account Balance Start.
[2025-01-10 01:10:04] Production.INFO: CreateAllLog Start
[2025-01-10 01:10:04] Production.INFO: 117
[2025-01-10 01:10:04] Production.INFO: ==25055== Releasing lock...
[2025-01-10 01:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 01:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 01:10:04] Production.INFO: Date 2025-01-08
[2025-01-10 01:10:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:10:04] Production.ERROR: done
[2025-01-10 01:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 01:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 01:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 01:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 01:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 01:10:04] Production.INFO: Date 2025-01-09
[2025-01-10 01:10:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:10:04] Production.INFO: Date 2025-01-10
[2025-01-10 01:10:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:10:04] Production.INFO: count ==21
[2025-01-10 01:10:04] Production.INFO: Total Charge 0
[2025-01-10 01:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:10:04] Production.INFO: count ==21
[2025-01-10 01:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213457') start
[2025-01-10 01:10:04] Production.INFO: CreateAllLog End
[2025-01-10 01:10:04] Production.ERROR: done
[2025-01-10 01:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213457') end
[2025-01-10 01:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 01:10:04] Production.INFO: 1
[2025-01-10 01:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 01:10:04] Production.ERROR: done
[2025-01-10 01:10:04] Production.INFO: ==25065== Releasing lock...
[2025-01-10 01:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 01:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 01:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 01:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14213459', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 01:10:04] Production.INFO: Account Balance End.
[2025-01-10 01:10:04] Production.ERROR: CronJobId end 12
[2025-01-10 01:10:04] Production.INFO: ==25059== Releasing lock...
[2025-01-10 01:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 01:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 01:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 22:10:05
[end_date_ymd] => 2025-01-10 01:10:05
[RateCDR] => 1
)
[2025-01-10 01:10:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 22:10:05' and `end` < '2025-01-10 01:10:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 01:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14213459', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 01:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 01:10:08] Production.INFO: ProcessCDR(1,14213459,1,1,2)
[2025-01-10 01:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14213459,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14213459,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:10:08] Production.INFO: ==25063== Releasing lock...
[2025-01-10 01:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 01:10:08] Production.INFO: 26 MB #Memory Used#
[2025-01-10 01:10:12] Production.ERROR: CronJobId end10
[2025-01-10 01:10:12] Production.INFO: ==25057== Releasing lock...
[2025-01-10 01:10:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 01:10:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 01:10:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 01:10:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 01:10:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 01:10:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 01:10:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 01:10:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 01:10:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 01:10:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 01:10:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 01:10:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 01:10:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 01:10:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 01:10:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 01:10:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 01:10:14] Production.INFO: call_cost start
[2025-01-10 01:10:14] Production.INFO: call_cost end
[2025-01-10 01:10:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 01:10:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 01:10:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 01:10:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 01:10:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 01:10:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 01:10:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 01:10:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 01:10:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 01:10:15] Production.INFO: ==25053== Releasing lock...
[2025-01-10 01:10:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 01:10:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 01:10:18] Production.INFO: count ==167
[2025-01-10 01:10:18] Production.ERROR: pbx CDR StartTime 2025-01-09 22:10:05 - End Time 2025-01-10 01:10:05
[2025-01-10 01:10:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 01:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213458', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213458', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213458', 'tblTempVendorCDR_20' ) start
[2025-01-10 01:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213458', 'tblTempVendorCDR_20' ) end
[2025-01-10 01:10:18] Production.INFO: ProcessCDR(1,14213458,1,1,2)
[2025-01-10 01:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213458,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:10:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213458,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:10:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213458,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:10:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213458,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213458', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213458', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:10:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:10:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:10:21] Production.INFO: ==25061== Releasing lock...
[2025-01-10 01:10:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 01:10:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-10 06:11:02] Production.INFO: ==25120== Lock acquired, processing the job...
[2025-01-10 06:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 06:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 06:11:02] Production.INFO: neon service started
[2025-01-10 06:11:02] Production.INFO: neon service started
[2025-01-10 06:11:02] Production.INFO: ==25120== Releasing lock...
[2025-01-10 06:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 06:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 06:11:02] Production.INFO: ==25124== Lock acquired, processing the job...
[2025-01-10 06:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 06:11:02] Production.INFO: ==25124== Releasing lock...
[2025-01-10 06:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 06:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 01:11:02] Production.INFO: ==25122== Lock acquired, processing the job...
[2025-01-10 01:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 01:11:02] Production.INFO: ==25122== Releasing lock...
[2025-01-10 01:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 01:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:11:03] Production.INFO: ==25133== Lock acquired, processing the job...
[2025-01-10 01:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 01:11:03] Production.INFO: ==25135== Lock acquired, processing the job...
[2025-01-10 01:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 01:11:03] Production.INFO: ==25127== Lock acquired, processing the job...
[2025-01-10 01:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 01:11:03] Production.INFO: Account Balance Start.
[2025-01-10 01:11:03] Production.INFO: CreateAllLog Start
[2025-01-10 01:11:03] Production.INFO: 117
[2025-01-10 01:11:03] Production.INFO: Date 2025-01-08
[2025-01-10 01:11:03] Production.INFO: ==25129== Lock acquired, processing the job...
[2025-01-10 01:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 01:11:03] Production.INFO: ==25131== Lock acquired, processing the job...
[2025-01-10 01:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 01:11:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 01:11:03] Production.INFO: Date 2025-01-09
[2025-01-10 01:11:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:11:03] Production.INFO: ==25137== Lock acquired, processing the job...
[2025-01-10 01:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 01:11:03] Production.INFO: Date 2025-01-10
[2025-01-10 01:11:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 01:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 01:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 01:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 01:11:03] Production.INFO: Total Charge 0
[2025-01-10 01:11:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:11:04] Production.INFO: CreateAllLog End
[2025-01-10 01:11:04] Production.ERROR: done
[2025-01-10 01:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 01:11:04] Production.INFO: count ==21
[2025-01-10 01:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:11:04] Production.INFO: count ==21
[2025-01-10 01:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213463') start
[2025-01-10 01:11:04] Production.INFO: ==25129== Releasing lock...
[2025-01-10 01:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 01:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 01:11:04] Production.ERROR: done
[2025-01-10 01:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213463') end
[2025-01-10 01:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 01:11:04] Production.INFO: 1
[2025-01-10 01:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 01:11:04] Production.INFO: Account Balance End.
[2025-01-10 01:11:04] Production.INFO: ==25137== Releasing lock...
[2025-01-10 01:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 01:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 01:11:04] Production.ERROR: CronJobId end 12
[2025-01-10 01:11:04] Production.INFO: ==25133== Releasing lock...
[2025-01-10 01:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 01:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 01:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 22:11:05
[end_date_ymd] => 2025-01-10 01:11:05
[RateCDR] => 1
)
[2025-01-10 01:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 22:11:05' and `end` < '2025-01-10 01:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 01:11:10] Production.ERROR: CronJobId end10
[2025-01-10 01:11:10] Production.INFO: ==25131== Releasing lock...
[2025-01-10 01:11:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 01:11:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 01:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 01:11:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 01:11:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 01:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 01:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 01:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 01:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 01:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 01:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 01:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 01:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 01:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 01:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 01:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 01:11:13] Production.INFO: call_cost start
[2025-01-10 01:11:13] Production.INFO: call_cost end
[2025-01-10 01:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 01:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 01:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 01:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 01:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 01:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 01:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 01:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 01:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 01:11:14] Production.INFO: ==25127== Releasing lock...
[2025-01-10 01:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 01:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 01:11:18] Production.INFO: count ==167
[2025-01-10 01:11:18] Production.ERROR: pbx CDR StartTime 2025-01-09 22:11:05 - End Time 2025-01-10 01:11:05
[2025-01-10 01:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 01:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213464', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213464', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213464', 'tblTempVendorCDR_20' ) start
[2025-01-10 01:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213464', 'tblTempVendorCDR_20' ) end
[2025-01-10 01:11:18] Production.INFO: ProcessCDR(1,14213464,1,1,2)
[2025-01-10 01:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213464,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213464,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213464,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:11:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213464,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213464', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213464', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:11:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:11:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:11:21] Production.INFO: ==25135== Releasing lock...
[2025-01-10 01:11:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 01:11:21] Production.INFO: 29 MB #Memory Used#
[2025-01-10 06:12:01] Production.INFO: ==25190== Lock acquired, processing the job...
[2025-01-10 06:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 06:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 06:12:01] Production.INFO: neon service started
[2025-01-10 06:12:01] Production.INFO: neon service started
[2025-01-10 06:12:01] Production.INFO: ==25190== Releasing lock...
[2025-01-10 06:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 06:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 01:12:02] Production.INFO: ==25192== Lock acquired, processing the job...
[2025-01-10 01:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:12:02] Production.INFO: ==25194== Lock acquired, processing the job...
[2025-01-10 06:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 06:12:02] Production.INFO: ==25194== Releasing lock...
[2025-01-10 06:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 06:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 01:12:02] Production.INFO: ==25192== Releasing lock...
[2025-01-10 01:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 01:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:12:03] Production.INFO: ==25197== Lock acquired, processing the job...
[2025-01-10 01:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 01:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 01:12:03] Production.INFO: ==25205== Lock acquired, processing the job...
[2025-01-10 01:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 01:12:03] Production.INFO: ==25201== Lock acquired, processing the job...
[2025-01-10 01:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 01:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 01:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 01:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 01:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 01:12:03] Production.INFO: ==25199== Lock acquired, processing the job...
[2025-01-10 01:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 01:12:03] Production.INFO: ==25203== Lock acquired, processing the job...
[2025-01-10 01:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 01:12:03] Production.INFO: ==25207== Lock acquired, processing the job...
[2025-01-10 01:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 01:12:03] Production.INFO: Account Balance Start.
[2025-01-10 01:12:03] Production.INFO: CreateAllLog Start
[2025-01-10 01:12:03] Production.INFO: 117
[2025-01-10 01:12:03] Production.INFO: Date 2025-01-08
[2025-01-10 01:12:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:12:03] Production.INFO: Date 2025-01-09
[2025-01-10 01:12:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:12:03] Production.ERROR: done
[2025-01-10 01:12:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 01:12:03] Production.INFO: Date 2025-01-10
[2025-01-10 01:12:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:12:03] Production.INFO: count ==21
[2025-01-10 01:12:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:12:03] Production.INFO: count ==21
[2025-01-10 01:12:03] Production.INFO: Total Charge 0
[2025-01-10 01:12:03] Production.INFO: CreateAllLog End
[2025-01-10 01:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213468') start
[2025-01-10 01:12:04] Production.ERROR: done
[2025-01-10 01:12:04] Production.INFO: ==25199== Releasing lock...
[2025-01-10 01:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 01:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 01:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213468') end
[2025-01-10 01:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 01:12:04] Production.INFO: 1
[2025-01-10 01:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 01:12:04] Production.INFO: Account Balance End.
[2025-01-10 01:12:04] Production.INFO: ==25207== Releasing lock...
[2025-01-10 01:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 01:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 01:12:04] Production.ERROR: CronJobId end 12
[2025-01-10 01:12:04] Production.INFO: ==25203== Releasing lock...
[2025-01-10 01:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 01:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 01:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 22:12:05
[end_date_ymd] => 2025-01-10 01:12:05
[RateCDR] => 1
)
[2025-01-10 01:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 22:12:05' and `end` < '2025-01-10 01:12:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 01:12:11] Production.ERROR: CronJobId end10
[2025-01-10 01:12:11] Production.INFO: ==25201== Releasing lock...
[2025-01-10 01:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 01:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 01:12:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 01:12:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 01:12:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 01:12:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 01:12:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 01:12:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 01:12:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 01:12:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 01:12:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 01:12:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 01:12:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 01:12:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 01:12:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 01:12:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 01:12:12] Production.INFO: call_cost start
[2025-01-10 01:12:12] Production.INFO: call_cost end
[2025-01-10 01:12:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 01:12:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 01:12:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 01:12:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 01:12:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 01:12:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 01:12:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 01:12:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 01:12:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 01:12:13] Production.INFO: ==25197== Releasing lock...
[2025-01-10 01:12:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 01:12:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 01:12:17] Production.INFO: count ==167
[2025-01-10 01:12:17] Production.ERROR: pbx CDR StartTime 2025-01-09 22:12:05 - End Time 2025-01-10 01:12:05
[2025-01-10 01:12:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 01:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213469', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213469', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213469', 'tblTempVendorCDR_20' ) start
[2025-01-10 01:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213469', 'tblTempVendorCDR_20' ) end
[2025-01-10 01:12:18] Production.INFO: ProcessCDR(1,14213469,1,1,2)
[2025-01-10 01:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213469,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:12:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213469,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:12:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213469,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213469,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213469', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213469', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:12:21] Production.INFO: ==25205== Releasing lock...
[2025-01-10 01:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 01:12:21] Production.INFO: 29 MB #Memory Used#
[2025-01-10 06:13:01] Production.INFO: ==25260== Lock acquired, processing the job...
[2025-01-10 06:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 06:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 06:13:01] Production.INFO: neon service started
[2025-01-10 06:13:01] Production.INFO: neon service started
[2025-01-10 06:13:01] Production.INFO: ==25260== Releasing lock...
[2025-01-10 06:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 06:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 06:13:02] Production.INFO: ==25264== Lock acquired, processing the job...
[2025-01-10 06:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 06:13:02] Production.INFO: ==25264== Releasing lock...
[2025-01-10 06:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 06:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 01:13:02] Production.INFO: ==25262== Lock acquired, processing the job...
[2025-01-10 01:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 01:13:02] Production.INFO: ==25262== Releasing lock...
[2025-01-10 01:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 01:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:13:03] Production.INFO: ==25272== Lock acquired, processing the job...
[2025-01-10 01:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 01:13:03] Production.INFO: ==25276== Lock acquired, processing the job...
[2025-01-10 01:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 01:13:03] Production.INFO: Account Balance Start.
[2025-01-10 01:13:03] Production.INFO: CreateAllLog Start
[2025-01-10 01:13:03] Production.INFO: 117
[2025-01-10 01:13:03] Production.INFO: Date 2025-01-08
[2025-01-10 01:13:03] Production.INFO: ==25266== Lock acquired, processing the job...
[2025-01-10 01:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 01:13:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:13:03] Production.INFO: Date 2025-01-09
[2025-01-10 01:13:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 01:13:03] Production.INFO: Date 2025-01-10
[2025-01-10 01:13:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:13:03] Production.INFO: ==25268== Lock acquired, processing the job...
[2025-01-10 01:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 01:13:03] Production.INFO: count ==21
[2025-01-10 01:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:13:03] Production.INFO: count ==21
[2025-01-10 01:13:03] Production.INFO: ==25270== Lock acquired, processing the job...
[2025-01-10 01:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 01:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213471') start
[2025-01-10 01:13:03] Production.INFO: Total Charge 0
[2025-01-10 01:13:03] Production.INFO: ==25274== Lock acquired, processing the job...
[2025-01-10 01:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 01:13:03] Production.INFO: CreateAllLog End
[2025-01-10 01:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 01:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 01:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 01:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 01:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213471') end
[2025-01-10 01:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 01:13:03] Production.INFO: 1
[2025-01-10 01:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 01:13:03] Production.INFO: ==25276== Releasing lock...
[2025-01-10 01:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 01:13:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 01:13:04] Production.INFO: Account Balance End.
[2025-01-10 01:13:04] Production.ERROR: CronJobId end 12
[2025-01-10 01:13:04] Production.INFO: ==25272== Releasing lock...
[2025-01-10 01:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 01:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 01:13:04] Production.ERROR: done
[2025-01-10 01:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 01:13:04] Production.INFO: ==25268== Releasing lock...
[2025-01-10 01:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 01:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 01:13:04] Production.ERROR: done
[2025-01-10 01:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 22:13:05
[end_date_ymd] => 2025-01-10 01:13:05
[RateCDR] => 1
)
[2025-01-10 01:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 22:13:05' and `end` < '2025-01-10 01:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 01:13:11] Production.ERROR: CronJobId end10
[2025-01-10 01:13:11] Production.INFO: ==25270== Releasing lock...
[2025-01-10 01:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 01:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 01:13:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 01:13:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 01:13:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 01:13:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 01:13:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 01:13:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 01:13:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 01:13:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 01:13:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 01:13:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 01:13:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 01:13:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 01:13:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 01:13:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 01:13:12] Production.INFO: call_cost start
[2025-01-10 01:13:12] Production.INFO: call_cost end
[2025-01-10 01:13:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 01:13:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 01:13:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 01:13:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 01:13:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 01:13:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 01:13:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 01:13:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 01:13:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 01:13:13] Production.INFO: ==25266== Releasing lock...
[2025-01-10 01:13:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 01:13:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 01:13:19] Production.INFO: count ==166
[2025-01-10 01:13:19] Production.ERROR: pbx CDR StartTime 2025-01-09 22:13:05 - End Time 2025-01-10 01:13:05
[2025-01-10 01:13:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 01:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213474', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213474', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213474', 'tblTempVendorCDR_20' ) start
[2025-01-10 01:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213474', 'tblTempVendorCDR_20' ) end
[2025-01-10 01:13:19] Production.INFO: ProcessCDR(1,14213474,1,1,2)
[2025-01-10 01:13:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213474,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:13:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213474,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:13:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213474,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:13:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213474,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213474', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213474', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:13:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:13:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:13:22] Production.INFO: ==25274== Releasing lock...
[2025-01-10 01:13:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 01:13:22] Production.INFO: 29 MB #Memory Used#
[2025-01-10 06:14:02] Production.INFO: ==25331== Lock acquired, processing the job...
[2025-01-10 06:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 06:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 06:14:02] Production.INFO: neon service started
[2025-01-10 06:14:02] Production.INFO: neon service started
[2025-01-10 06:14:02] Production.INFO: ==25331== Releasing lock...
[2025-01-10 06:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 06:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 01:14:02] Production.INFO: ==25333== Lock acquired, processing the job...
[2025-01-10 01:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 01:14:03] Production.INFO: ==25333== Releasing lock...
[2025-01-10 01:14:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 01:14:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 06:14:03] Production.INFO: ==25335== Lock acquired, processing the job...
[2025-01-10 06:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 06:14:03] Production.INFO: ==25335== Releasing lock...
[2025-01-10 06:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 06:14:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 01:14:03] Production.INFO: ==25339== Lock acquired, processing the job...
[2025-01-10 01:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 01:14:03] Production.INFO: ==25337== Lock acquired, processing the job...
[2025-01-10 01:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 01:14:03] Production.INFO: ==25347== Lock acquired, processing the job...
[2025-01-10 01:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 01:14:03] Production.INFO: ==25341== Lock acquired, processing the job...
[2025-01-10 01:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 01:14:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 01:14:04] Production.INFO: ==25343== Lock acquired, processing the job...
[2025-01-10 01:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 01:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 01:14:04] Production.INFO: ==25345== Lock acquired, processing the job...
[2025-01-10 01:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 01:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 01:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 01:14:04] Production.INFO: count ==21
[2025-01-10 01:14:04] Production.INFO: ==25339== Releasing lock...
[2025-01-10 01:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 01:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 01:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 01:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:14:04] Production.INFO: Account Balance Start.
[2025-01-10 01:14:04] Production.INFO: CreateAllLog Start
[2025-01-10 01:14:04] Production.INFO: count ==21
[2025-01-10 01:14:04] Production.INFO: 117
[2025-01-10 01:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213477') start
[2025-01-10 01:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:14:04] Production.INFO: Date 2025-01-08
[2025-01-10 01:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213477') end
[2025-01-10 01:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 01:14:04] Production.INFO: 1
[2025-01-10 01:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 01:14:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:14:04] Production.INFO: ==25347== Releasing lock...
[2025-01-10 01:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 01:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 01:14:04] Production.INFO: Date 2025-01-09
[2025-01-10 01:14:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:14:04] Production.INFO: Date 2025-01-10
[2025-01-10 01:14:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:14:04] Production.ERROR: done
[2025-01-10 01:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 01:14:04] Production.INFO: Total Charge 0
[2025-01-10 01:14:04] Production.INFO: CreateAllLog End
[2025-01-10 01:14:04] Production.ERROR: done
[2025-01-10 01:14:04] Production.INFO: Account Balance End.
[2025-01-10 01:14:04] Production.ERROR: CronJobId end 12
[2025-01-10 01:14:04] Production.INFO: ==25343== Releasing lock...
[2025-01-10 01:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 01:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 01:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 22:14:05
[end_date_ymd] => 2025-01-10 01:14:05
[RateCDR] => 1
)
[2025-01-10 01:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 22:14:05' and `end` < '2025-01-10 01:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 01:14:11] Production.ERROR: CronJobId end10
[2025-01-10 01:14:11] Production.INFO: ==25341== Releasing lock...
[2025-01-10 01:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 01:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 01:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 01:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 01:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 01:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 01:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 01:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 01:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 01:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 01:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 01:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 01:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 01:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 01:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 01:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 01:14:13] Production.INFO: call_cost start
[2025-01-10 01:14:13] Production.INFO: call_cost end
[2025-01-10 01:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 01:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 01:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 01:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 01:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 01:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 01:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 01:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 01:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 01:14:14] Production.INFO: ==25337== Releasing lock...
[2025-01-10 01:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 01:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 01:14:18] Production.INFO: count ==165
[2025-01-10 01:14:18] Production.ERROR: pbx CDR StartTime 2025-01-09 22:14:05 - End Time 2025-01-10 01:14:05
[2025-01-10 01:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 01:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213479', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213479', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213479', 'tblTempVendorCDR_20' ) start
[2025-01-10 01:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213479', 'tblTempVendorCDR_20' ) end
[2025-01-10 01:14:18] Production.INFO: ProcessCDR(1,14213479,1,1,2)
[2025-01-10 01:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213479,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213479,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213479,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213479,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213479', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213479', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:14:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:14:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:14:21] Production.INFO: ==25345== Releasing lock...
[2025-01-10 01:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 01:14:21] Production.INFO: 29 MB #Memory Used#
[2025-01-10 06:15:01] Production.INFO: ==25409== Lock acquired, processing the job...
[2025-01-10 06:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 06:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 06:15:01] Production.INFO: neon service started
[2025-01-10 06:15:01] Production.INFO: neon service started
[2025-01-10 06:15:01] Production.INFO: ==25409== Releasing lock...
[2025-01-10 06:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 06:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 01:15:02] Production.INFO: ==25411== Lock acquired, processing the job...
[2025-01-10 01:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 01:15:02] Production.INFO: ==25411== Releasing lock...
[2025-01-10 01:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 01:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 06:15:02] Production.INFO: ==25413== Lock acquired, processing the job...
[2025-01-10 06:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 06:15:02] Production.INFO: ==25413== Releasing lock...
[2025-01-10 06:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 06:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 01:15:03] Production.INFO: ==25419== Lock acquired, processing the job...
[2025-01-10 01:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 01:15:03] Production.INFO: ==25415== Lock acquired, processing the job...
[2025-01-10 01:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 01:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 01:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 01:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 01:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 01:15:03] Production.INFO: ==25423== Lock acquired, processing the job...
[2025-01-10 01:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 01:15:03] Production.INFO: ==25417== Lock acquired, processing the job...
[2025-01-10 01:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 01:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 01:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:15:03] Production.INFO: ==25421== Lock acquired, processing the job...
[2025-01-10 01:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 01:15:03] Production.INFO: ==25425== Lock acquired, processing the job...
[2025-01-10 01:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 01:15:03] Production.INFO: Account Balance Start.
[2025-01-10 01:15:03] Production.INFO: CreateAllLog Start
[2025-01-10 01:15:03] Production.INFO: 117
[2025-01-10 01:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:15:03] Production.INFO: count ==21
[2025-01-10 01:15:03] Production.ERROR: done
[2025-01-10 01:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 01:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:15:03] Production.INFO: count ==21
[2025-01-10 01:15:04] Production.INFO: Date 2025-01-08
[2025-01-10 01:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213483') start
[2025-01-10 01:15:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:15:04] Production.INFO: Date 2025-01-09
[2025-01-10 01:15:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:15:04] Production.ERROR: done
[2025-01-10 01:15:04] Production.INFO: ==25417== Releasing lock...
[2025-01-10 01:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 01:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 01:15:04] Production.INFO: Date 2025-01-10
[2025-01-10 01:15:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213483') end
[2025-01-10 01:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 01:15:04] Production.INFO: 1
[2025-01-10 01:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 01:15:04] Production.INFO: Total Charge 0
[2025-01-10 01:15:04] Production.INFO: CreateAllLog End
[2025-01-10 01:15:04] Production.INFO: ==25425== Releasing lock...
[2025-01-10 01:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 01:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 01:15:04] Production.INFO: Account Balance End.
[2025-01-10 01:15:04] Production.ERROR: CronJobId end 12
[2025-01-10 01:15:04] Production.INFO: ==25421== Releasing lock...
[2025-01-10 01:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 01:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 01:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 22:15:05
[end_date_ymd] => 2025-01-10 01:15:05
[RateCDR] => 1
)
[2025-01-10 01:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 22:15:05' and `end` < '2025-01-10 01:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 01:15:10] Production.ERROR: CronJobId end10
[2025-01-10 01:15:10] Production.INFO: ==25419== Releasing lock...
[2025-01-10 01:15:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 01:15:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 01:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 01:15:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 01:15:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 01:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 01:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 01:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 01:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 01:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 01:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 01:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 01:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 01:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 01:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 01:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 01:15:13] Production.INFO: call_cost start
[2025-01-10 01:15:13] Production.INFO: call_cost end
[2025-01-10 01:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 01:15:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 01:15:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 01:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 01:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 01:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 01:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 01:15:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 01:15:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 01:15:14] Production.INFO: ==25415== Releasing lock...
[2025-01-10 01:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 01:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 01:15:18] Production.INFO: count ==164
[2025-01-10 01:15:19] Production.ERROR: pbx CDR StartTime 2025-01-09 22:15:05 - End Time 2025-01-10 01:15:05
[2025-01-10 01:15:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 01:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213484', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213484', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213484', 'tblTempVendorCDR_20' ) start
[2025-01-10 01:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213484', 'tblTempVendorCDR_20' ) end
[2025-01-10 01:15:19] Production.INFO: ProcessCDR(1,14213484,1,1,2)
[2025-01-10 01:15:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213484,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213484,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213484,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:15:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213484,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213484', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213484', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:15:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:15:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:15:22] Production.INFO: ==25423== Releasing lock...
[2025-01-10 01:15:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 01:15:22] Production.INFO: 29 MB #Memory Used#
[2025-01-10 06:16:02] Production.INFO: ==25481== Lock acquired, processing the job...
[2025-01-10 06:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 06:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 06:16:02] Production.INFO: neon service started
[2025-01-10 06:16:02] Production.INFO: neon service started
[2025-01-10 06:16:02] Production.INFO: ==25481== Releasing lock...
[2025-01-10 06:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 06:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 06:16:02] Production.INFO: ==25485== Lock acquired, processing the job...
[2025-01-10 06:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 06:16:02] Production.INFO: ==25485== Releasing lock...
[2025-01-10 06:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 06:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 01:16:02] Production.INFO: ==25483== Lock acquired, processing the job...
[2025-01-10 01:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 01:16:03] Production.INFO: ==25483== Releasing lock...
[2025-01-10 01:16:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 01:16:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:16:03] Production.INFO: ==25493== Lock acquired, processing the job...
[2025-01-10 01:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 01:16:03] Production.INFO: ==25497== Lock acquired, processing the job...
[2025-01-10 01:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 01:16:04] Production.INFO: Account Balance Start.
[2025-01-10 01:16:04] Production.INFO: CreateAllLog Start
[2025-01-10 01:16:04] Production.INFO: 117
[2025-01-10 01:16:04] Production.INFO: Date 2025-01-08
[2025-01-10 01:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:16:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:16:04] Production.INFO: count ==21
[2025-01-10 01:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:16:04] Production.INFO: count ==21
[2025-01-10 01:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213486') start
[2025-01-10 01:16:04] Production.INFO: Date 2025-01-09
[2025-01-10 01:16:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:16:04] Production.INFO: Date 2025-01-10
[2025-01-10 01:16:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:16:04] Production.INFO: ==25489== Lock acquired, processing the job...
[2025-01-10 01:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 01:16:04] Production.INFO: Total Charge 0
[2025-01-10 01:16:04] Production.INFO: ==25487== Lock acquired, processing the job...
[2025-01-10 01:16:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 01:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213486') end
[2025-01-10 01:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 01:16:04] Production.INFO: 1
[2025-01-10 01:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 01:16:04] Production.INFO: CreateAllLog End
[2025-01-10 01:16:04] Production.INFO: ==25491== Lock acquired, processing the job...
[2025-01-10 01:16:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 01:16:04] Production.INFO: ==25497== Releasing lock...
[2025-01-10 01:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 01:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 01:16:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 01:16:04] Production.INFO: ==25495== Lock acquired, processing the job...
[2025-01-10 01:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 01:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 01:16:04] Production.INFO: Account Balance End.
[2025-01-10 01:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 01:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 01:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 01:16:04] Production.ERROR: CronJobId end 12
[2025-01-10 01:16:04] Production.INFO: ==25493== Releasing lock...
[2025-01-10 01:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 01:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 01:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:16:04] Production.INFO: ==25489== Releasing lock...
[2025-01-10 01:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 01:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 01:16:04] Production.ERROR: done
[2025-01-10 01:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 01:16:04] Production.ERROR: done
[2025-01-10 01:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 22:16:05
[end_date_ymd] => 2025-01-10 01:16:05
[RateCDR] => 1
)
[2025-01-10 01:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 22:16:05' and `end` < '2025-01-10 01:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 01:16:11] Production.ERROR: CronJobId end10
[2025-01-10 01:16:11] Production.INFO: ==25491== Releasing lock...
[2025-01-10 01:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 01:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 01:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 01:16:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 01:16:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 01:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 01:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 01:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 01:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 01:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 01:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 01:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 01:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 01:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 01:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 01:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 01:16:13] Production.INFO: call_cost start
[2025-01-10 01:16:14] Production.INFO: call_cost end
[2025-01-10 01:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 01:16:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 01:16:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 01:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 01:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 01:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 01:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 01:16:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 01:16:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 01:16:14] Production.INFO: ==25487== Releasing lock...
[2025-01-10 01:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 01:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 01:16:18] Production.INFO: count ==164
[2025-01-10 01:16:18] Production.ERROR: pbx CDR StartTime 2025-01-09 22:16:05 - End Time 2025-01-10 01:16:05
[2025-01-10 01:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 01:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213489', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213489', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213489', 'tblTempVendorCDR_20' ) start
[2025-01-10 01:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213489', 'tblTempVendorCDR_20' ) end
[2025-01-10 01:16:18] Production.INFO: ProcessCDR(1,14213489,1,1,2)
[2025-01-10 01:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213489,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213489,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213489,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213489,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213489', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213489', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:16:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:16:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:16:21] Production.INFO: ==25495== Releasing lock...
[2025-01-10 01:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 01:16:21] Production.INFO: 29 MB #Memory Used#
[2025-01-10 06:17:01] Production.INFO: ==25559== Lock acquired, processing the job...
[2025-01-10 06:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 06:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 06:17:01] Production.INFO: neon service started
[2025-01-10 06:17:01] Production.INFO: neon service started
[2025-01-10 06:17:01] Production.INFO: ==25559== Releasing lock...
[2025-01-10 06:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 06:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 01:17:02] Production.INFO: ==25562== Lock acquired, processing the job...
[2025-01-10 01:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:17:02] Production.INFO: ==25564== Lock acquired, processing the job...
[2025-01-10 06:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 06:17:02] Production.INFO: ==25564== Releasing lock...
[2025-01-10 06:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 06:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 01:17:02] Production.INFO: ==25562== Releasing lock...
[2025-01-10 01:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 01:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:17:03] Production.INFO: ==25566== Lock acquired, processing the job...
[2025-01-10 01:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 01:17:03] Production.INFO: ==25572== Lock acquired, processing the job...
[2025-01-10 01:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 01:17:03] Production.INFO: ==25576== Lock acquired, processing the job...
[2025-01-10 01:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 01:17:03] Production.INFO: Account Balance Start.
[2025-01-10 01:17:03] Production.INFO: CreateAllLog Start
[2025-01-10 01:17:03] Production.INFO: 117
[2025-01-10 01:17:03] Production.INFO: Date 2025-01-08
[2025-01-10 01:17:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 01:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:17:03] Production.INFO: Date 2025-01-09
[2025-01-10 01:17:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:17:03] Production.INFO: count ==21
[2025-01-10 01:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:17:03] Production.INFO: count ==21
[2025-01-10 01:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213492') start
[2025-01-10 01:17:03] Production.INFO: Date 2025-01-10
[2025-01-10 01:17:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:17:03] Production.INFO: Total Charge 0
[2025-01-10 01:17:03] Production.INFO: CreateAllLog End
[2025-01-10 01:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213492') end
[2025-01-10 01:17:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 01:17:03] Production.INFO: 1
[2025-01-10 01:17:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 01:17:03] Production.INFO: ==25568== Lock acquired, processing the job...
[2025-01-10 01:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 01:17:03] Production.INFO: ==25576== Releasing lock...
[2025-01-10 01:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 01:17:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 01:17:03] Production.INFO: ==25570== Lock acquired, processing the job...
[2025-01-10 01:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 01:17:03] Production.INFO: Account Balance End.
[2025-01-10 01:17:03] Production.INFO: ==25574== Lock acquired, processing the job...
[2025-01-10 01:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 01:17:03] Production.ERROR: CronJobId end 12
[2025-01-10 01:17:03] Production.INFO: ==25572== Releasing lock...
[2025-01-10 01:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 01:17:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 01:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 01:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 01:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 01:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 01:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:17:03] Production.INFO: ==25568== Releasing lock...
[2025-01-10 01:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 01:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 01:17:04] Production.ERROR: done
[2025-01-10 01:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 01:17:04] Production.ERROR: done
[2025-01-10 01:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 22:17:05
[end_date_ymd] => 2025-01-10 01:17:05
[RateCDR] => 1
)
[2025-01-10 01:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 22:17:05' and `end` < '2025-01-10 01:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 01:17:11] Production.ERROR: CronJobId end10
[2025-01-10 01:17:11] Production.INFO: ==25570== Releasing lock...
[2025-01-10 01:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 01:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 01:17:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 01:17:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 01:17:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 01:17:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 01:17:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 01:17:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 01:17:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 01:17:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 01:17:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 01:17:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 01:17:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 01:17:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 01:17:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 01:17:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 01:17:13] Production.INFO: call_cost start
[2025-01-10 01:17:13] Production.INFO: call_cost end
[2025-01-10 01:17:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 01:17:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 01:17:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 01:17:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 01:17:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 01:17:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 01:17:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 01:17:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 01:17:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 01:17:14] Production.INFO: ==25566== Releasing lock...
[2025-01-10 01:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 01:17:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 01:17:18] Production.INFO: count ==164
[2025-01-10 01:17:18] Production.ERROR: pbx CDR StartTime 2025-01-09 22:17:05 - End Time 2025-01-10 01:17:05
[2025-01-10 01:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 01:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213494', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213494', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213494', 'tblTempVendorCDR_20' ) start
[2025-01-10 01:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213494', 'tblTempVendorCDR_20' ) end
[2025-01-10 01:17:18] Production.INFO: ProcessCDR(1,14213494,1,1,2)
[2025-01-10 01:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213494,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213494,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213494,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213494,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213494', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213494', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:17:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:17:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:17:21] Production.INFO: ==25574== Releasing lock...
[2025-01-10 01:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 01:17:21] Production.INFO: 29 MB #Memory Used#
[2025-01-10 06:18:01] Production.INFO: ==25697== Lock acquired, processing the job...
[2025-01-10 06:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 06:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 06:18:01] Production.INFO: neon service started
[2025-01-10 06:18:02] Production.INFO: neon service started
[2025-01-10 06:18:02] Production.INFO: ==25697== Releasing lock...
[2025-01-10 06:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 06:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 01:18:02] Production.INFO: ==25699== Lock acquired, processing the job...
[2025-01-10 01:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 01:18:02] Production.INFO: ==25699== Releasing lock...
[2025-01-10 01:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 01:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 06:18:02] Production.INFO: ==25701== Lock acquired, processing the job...
[2025-01-10 06:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 06:18:02] Production.INFO: ==25701== Releasing lock...
[2025-01-10 06:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 06:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 01:18:03] Production.INFO: ==25710== Lock acquired, processing the job...
[2025-01-10 01:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 01:18:03] Production.INFO: Account Balance Start.
[2025-01-10 01:18:03] Production.INFO: CreateAllLog Start
[2025-01-10 01:18:03] Production.INFO: 117
[2025-01-10 01:18:03] Production.INFO: Date 2025-01-08
[2025-01-10 01:18:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:18:03] Production.INFO: ==25714== Lock acquired, processing the job...
[2025-01-10 01:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 01:18:03] Production.INFO: Date 2025-01-09
[2025-01-10 01:18:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:18:03] Production.INFO: Date 2025-01-10
[2025-01-10 01:18:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:18:03] Production.INFO: ==25704== Lock acquired, processing the job...
[2025-01-10 01:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 01:18:03] Production.INFO: Total Charge 0
[2025-01-10 01:18:03] Production.INFO: ==25706== Lock acquired, processing the job...
[2025-01-10 01:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 01:18:03] Production.INFO: CreateAllLog End
[2025-01-10 01:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:18:03] Production.INFO: ==25708== Lock acquired, processing the job...
[2025-01-10 01:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 01:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 01:18:03] Production.INFO: count ==21
[2025-01-10 01:18:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:18:03] Production.INFO: count ==21
[2025-01-10 01:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213496') start
[2025-01-10 01:18:03] Production.INFO: ==25712== Lock acquired, processing the job...
[2025-01-10 01:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 01:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:18:03] Production.INFO: Account Balance End.
[2025-01-10 01:18:03] Production.ERROR: CronJobId end 12
[2025-01-10 01:18:03] Production.INFO: ==25710== Releasing lock...
[2025-01-10 01:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 01:18:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 01:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213496') end
[2025-01-10 01:18:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 01:18:03] Production.INFO: 1
[2025-01-10 01:18:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 01:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 01:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 01:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 01:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 01:18:03] Production.INFO: ==25714== Releasing lock...
[2025-01-10 01:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 01:18:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 01:18:04] Production.ERROR: done
[2025-01-10 01:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 01:18:04] Production.INFO: ==25706== Releasing lock...
[2025-01-10 01:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 01:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 01:18:04] Production.ERROR: done
[2025-01-10 01:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 22:18:05
[end_date_ymd] => 2025-01-10 01:18:05
[RateCDR] => 1
)
[2025-01-10 01:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 22:18:05' and `end` < '2025-01-10 01:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 01:18:11] Production.ERROR: CronJobId end10
[2025-01-10 01:18:11] Production.INFO: ==25708== Releasing lock...
[2025-01-10 01:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 01:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 01:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 01:18:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 01:18:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 01:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 01:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 01:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 01:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 01:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 01:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 01:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 01:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 01:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 01:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 01:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 01:18:13] Production.INFO: call_cost start
[2025-01-10 01:18:13] Production.INFO: call_cost end
[2025-01-10 01:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 01:18:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 01:18:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 01:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 01:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 01:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 01:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 01:18:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 01:18:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 01:18:14] Production.INFO: ==25704== Releasing lock...
[2025-01-10 01:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 01:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 01:18:18] Production.INFO: count ==162
[2025-01-10 01:18:18] Production.ERROR: pbx CDR StartTime 2025-01-09 22:18:05 - End Time 2025-01-10 01:18:05
[2025-01-10 01:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 01:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213499', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213499', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213499', 'tblTempVendorCDR_20' ) start
[2025-01-10 01:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213499', 'tblTempVendorCDR_20' ) end
[2025-01-10 01:18:18] Production.INFO: ProcessCDR(1,14213499,1,1,2)
[2025-01-10 01:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213499,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213499,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213499,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:18:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213499,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213499', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213499', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:18:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:18:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:18:21] Production.INFO: ==25712== Releasing lock...
[2025-01-10 01:18:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 01:18:21] Production.INFO: 29 MB #Memory Used#
[2025-01-10 06:19:01] Production.INFO: ==25798== Lock acquired, processing the job...
[2025-01-10 06:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 06:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 06:19:01] Production.INFO: neon service started
[2025-01-10 06:19:01] Production.INFO: neon service started
[2025-01-10 06:19:01] Production.INFO: ==25798== Releasing lock...
[2025-01-10 06:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 06:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 01:19:01] Production.INFO: ==25800== Lock acquired, processing the job...
[2025-01-10 01:19:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 01:19:02] Production.INFO: ==25800== Releasing lock...
[2025-01-10 01:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 01:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 06:19:02] Production.INFO: ==25802== Lock acquired, processing the job...
[2025-01-10 06:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 06:19:02] Production.INFO: ==25802== Releasing lock...
[2025-01-10 06:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 06:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 01:19:02] Production.INFO: ==25810== Lock acquired, processing the job...
[2025-01-10 01:19:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 01:19:02] Production.INFO: Account Balance Start.
[2025-01-10 01:19:02] Production.INFO: CreateAllLog Start
[2025-01-10 01:19:02] Production.INFO: 117
[2025-01-10 01:19:02] Production.INFO: Date 2025-01-08
[2025-01-10 01:19:02] Production.INFO: ==25815== Lock acquired, processing the job...
[2025-01-10 01:19:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 01:19:02] Production.INFO: Reseller ==> 0
[2025-01-10 01:19:03] Production.INFO: Date 2025-01-09
[2025-01-10 01:19:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:19:03] Production.INFO: Date 2025-01-10
[2025-01-10 01:19:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:19:03] Production.INFO: Total Charge 0
[2025-01-10 01:19:03] Production.INFO: count ==21
[2025-01-10 01:19:03] Production.INFO: ==25804== Lock acquired, processing the job...
[2025-01-10 01:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 01:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:19:03] Production.INFO: CreateAllLog End
[2025-01-10 01:19:03] Production.INFO: count ==21
[2025-01-10 01:19:03] Production.INFO: ==25806== Lock acquired, processing the job...
[2025-01-10 01:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 01:19:03] Production.INFO: ==25808== Lock acquired, processing the job...
[2025-01-10 01:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 01:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213501') start
[2025-01-10 01:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 01:19:03] Production.INFO: ==25812== Lock acquired, processing the job...
[2025-01-10 01:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 01:19:03] Production.INFO: Account Balance End.
[2025-01-10 01:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 01:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 01:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 01:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 01:19:03] Production.ERROR: CronJobId end 12
[2025-01-10 01:19:03] Production.INFO: ==25810== Releasing lock...
[2025-01-10 01:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 01:19:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 01:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213501') end
[2025-01-10 01:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 01:19:03] Production.INFO: 1
[2025-01-10 01:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 01:19:03] Production.INFO: ==25815== Releasing lock...
[2025-01-10 01:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 01:19:03] Production.INFO: ==25806== Releasing lock...
[2025-01-10 01:19:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 01:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 01:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 01:19:03] Production.ERROR: done
[2025-01-10 01:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 01:19:03] Production.ERROR: done
[2025-01-10 01:19:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 22:19:04
[end_date_ymd] => 2025-01-10 01:19:04
[RateCDR] => 1
)
[2025-01-10 01:19:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 22:19:04' and `end` < '2025-01-10 01:19:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 01:19:11] Production.ERROR: CronJobId end10
[2025-01-10 01:19:11] Production.INFO: ==25808== Releasing lock...
[2025-01-10 01:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 01:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 01:19:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 01:19:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 01:19:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 01:19:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 01:19:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 01:19:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 01:19:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 01:19:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 01:19:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 01:19:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 01:19:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 01:19:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 01:19:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 01:19:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 01:19:12] Production.INFO: call_cost start
[2025-01-10 01:19:12] Production.INFO: call_cost end
[2025-01-10 01:19:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 01:19:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 01:19:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 01:19:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 01:19:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 01:19:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 01:19:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 01:19:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 01:19:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 01:19:13] Production.INFO: ==25804== Releasing lock...
[2025-01-10 01:19:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 01:19:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 01:19:20] Production.INFO: count ==161
[2025-01-10 01:19:20] Production.ERROR: pbx CDR StartTime 2025-01-09 22:19:04 - End Time 2025-01-10 01:19:04
[2025-01-10 01:19:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 01:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213504', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213504', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213504', 'tblTempVendorCDR_20' ) start
[2025-01-10 01:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213504', 'tblTempVendorCDR_20' ) end
[2025-01-10 01:19:20] Production.INFO: ProcessCDR(1,14213504,1,1,2)
[2025-01-10 01:19:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213504,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:19:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213504,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:19:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213504,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:19:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213504,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213504', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213504', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:19:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:19:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:19:23] Production.INFO: ==25812== Releasing lock...
[2025-01-10 01:19:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 01:19:23] Production.INFO: 29 MB #Memory Used#
[2025-01-10 06:20:01] Production.INFO: ==25896== Lock acquired, processing the job...
[2025-01-10 06:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 06:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 06:20:01] Production.INFO: neon service started
[2025-01-10 06:20:01] Production.INFO: neon service started
[2025-01-10 06:20:01] Production.INFO: ==25896== Releasing lock...
[2025-01-10 06:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 06:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 01:20:02] Production.INFO: ==25898== Lock acquired, processing the job...
[2025-01-10 01:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:20:02] Production.INFO: ==25900== Lock acquired, processing the job...
[2025-01-10 06:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 06:20:02] Production.INFO: ==25900== Releasing lock...
[2025-01-10 06:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 06:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 01:20:02] Production.INFO: ==25898== Releasing lock...
[2025-01-10 01:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 01:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:20:03] Production.INFO: ==25907== Lock acquired, processing the job...
[2025-01-10 01:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 01:20:03] Production.INFO: ==25909== Lock acquired, processing the job...
[2025-01-10 01:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 01:20:03] Production.INFO: ==25911== Lock acquired, processing the job...
[2025-01-10 01:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 01:20:03] Production.INFO: ==25905== Lock acquired, processing the job...
[2025-01-10 01:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 01:20:03] Production.INFO: ==25915== Lock acquired, processing the job...
[2025-01-10 01:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 01:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 01:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 01:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 01:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 01:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 01:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 01:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 01:20:04] Production.ERROR: CronJob PID - 25907
[2025-01-10 01:20:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-10 01:20:04] Production.ERROR: CronJob ID - 5
[2025-01-10 01:20:04] Production.ERROR: CronJob Last Run Time 2025-01-10 01:20:00
[2025-01-10 01:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 01:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 01:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 01:20:04] Production.ERROR: CronJob PID - 25909
[2025-01-10 01:20:04] Production.ERROR: CronJob Title - Account Block
[2025-01-10 01:20:04] Production.ERROR: CronJob ID - 7
[2025-01-10 01:20:04] Production.ERROR: CronJob Last Run Time 2025-01-10 01:20:00
[2025-01-10 01:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 01:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 01:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 01:20:04] Production.ERROR: CronJob PID - 25911
[2025-01-10 01:20:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-10 01:20:04] Production.ERROR: CronJob ID - 10
[2025-01-10 01:20:04] Production.ERROR: CronJob Last Run Time 2025-01-10 01:20:00
[2025-01-10 01:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 01:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 01:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 01:20:04] Production.ERROR: CronJob PID - 25915
[2025-01-10 01:20:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-10 01:20:04] Production.ERROR: CronJob ID - 16
[2025-01-10 01:20:04] Production.ERROR: CronJob Last Run Time 2025-01-10 01:20:00
[2025-01-10 01:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 01:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 01:20:04] Production.INFO: ==25913== Lock acquired, processing the job...
[2025-01-10 01:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 01:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 01:20:04] Production.INFO: ==25905== Releasing lock...
[2025-01-10 01:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 01:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 01:20:04] Production.INFO: ==25917== Lock acquired, processing the job...
[2025-01-10 01:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 01:20:04] Production.INFO: ==25919== Lock acquired, processing the job...
[2025-01-10 01:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 01:20:04] Production.INFO: ==25909== Releasing lock...
[2025-01-10 01:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 01:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 01:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:20:04] Production.INFO: Account Balance Start.
[2025-01-10 01:20:04] Production.INFO: CreateAllLog Start
[2025-01-10 01:20:04] Production.ERROR: done
[2025-01-10 01:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 01:20:04] Production.INFO: 117
[2025-01-10 01:20:04] Production.INFO: Date 2025-01-08
[2025-01-10 01:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:20:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:20:04] Production.ERROR: done
[2025-01-10 01:20:04] Production.INFO: count ==21
[2025-01-10 01:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:20:04] Production.INFO: count ==21
[2025-01-10 01:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213508') start
[2025-01-10 01:20:04] Production.INFO: Date 2025-01-09
[2025-01-10 01:20:04] Production.ERROR: done
[2025-01-10 01:20:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:20:04] Production.INFO: Date 2025-01-10
[2025-01-10 01:20:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 01:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14213510', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 01:20:04] Production.INFO: Total Charge 0
[2025-01-10 01:20:04] Production.INFO: CreateAllLog End
[2025-01-10 01:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213508') end
[2025-01-10 01:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 01:20:04] Production.INFO: 1
[2025-01-10 01:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 01:20:04] Production.INFO: Account Balance End.
[2025-01-10 01:20:04] Production.INFO: ==25919== Releasing lock...
[2025-01-10 01:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 01:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 01:20:04] Production.ERROR: CronJobId end 12
[2025-01-10 01:20:04] Production.INFO: ==25913== Releasing lock...
[2025-01-10 01:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 01:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 01:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 22:20:05
[end_date_ymd] => 2025-01-10 01:20:05
[RateCDR] => 1
)
[2025-01-10 01:20:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 22:20:05' and `end` < '2025-01-10 01:20:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 01:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14213510', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 01:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 01:20:09] Production.INFO: ProcessCDR(1,14213510,1,1,2)
[2025-01-10 01:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14213510,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14213510,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:20:09] Production.INFO: ==25917== Releasing lock...
[2025-01-10 01:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 01:20:09] Production.INFO: 26 MB #Memory Used#
[2025-01-10 01:20:13] Production.ERROR: CronJobId end10
[2025-01-10 01:20:13] Production.INFO: ==25911== Releasing lock...
[2025-01-10 01:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 01:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 01:20:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 01:20:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 01:20:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 01:20:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 01:20:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 01:20:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 01:20:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 01:20:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 01:20:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 01:20:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 01:20:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 01:20:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 01:20:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 01:20:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 01:20:14] Production.INFO: call_cost start
[2025-01-10 01:20:14] Production.INFO: call_cost end
[2025-01-10 01:20:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 01:20:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 01:20:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 01:20:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 01:20:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 01:20:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 01:20:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 01:20:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 01:20:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 01:20:15] Production.INFO: ==25907== Releasing lock...
[2025-01-10 01:20:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 01:20:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 01:20:18] Production.INFO: count ==167
[2025-01-10 01:20:18] Production.ERROR: pbx CDR StartTime 2025-01-09 22:20:05 - End Time 2025-01-10 01:20:05
[2025-01-10 01:20:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 01:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213509', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213509', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213509', 'tblTempVendorCDR_20' ) start
[2025-01-10 01:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213509', 'tblTempVendorCDR_20' ) end
[2025-01-10 01:20:18] Production.INFO: ProcessCDR(1,14213509,1,1,2)
[2025-01-10 01:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213509,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:20:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213509,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:20:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213509,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:20:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213509,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213509', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213509', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:20:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:20:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:20:21] Production.INFO: ==25915== Releasing lock...
[2025-01-10 01:20:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 01:20:21] Production.INFO: 29 MB #Memory Used#
[2025-01-10 06:21:02] Production.INFO: ==26002== Lock acquired, processing the job...
[2025-01-10 06:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 06:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 06:21:02] Production.INFO: neon service started
[2025-01-10 06:21:02] Production.INFO: neon service started
[2025-01-10 06:21:02] Production.INFO: ==26002== Releasing lock...
[2025-01-10 06:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 06:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 01:21:02] Production.INFO: ==26005== Lock acquired, processing the job...
[2025-01-10 01:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:21:02] Production.INFO: ==26007== Lock acquired, processing the job...
[2025-01-10 06:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 06:21:02] Production.INFO: ==26007== Releasing lock...
[2025-01-10 06:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 06:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 01:21:03] Production.INFO: ==26005== Releasing lock...
[2025-01-10 01:21:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 01:21:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:21:03] Production.INFO: ==26011== Lock acquired, processing the job...
[2025-01-10 01:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 01:21:03] Production.INFO: ==26015== Lock acquired, processing the job...
[2025-01-10 01:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 01:21:03] Production.INFO: ==26017== Lock acquired, processing the job...
[2025-01-10 01:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 01:21:03] Production.INFO: Account Balance Start.
[2025-01-10 01:21:03] Production.INFO: CreateAllLog Start
[2025-01-10 01:21:03] Production.INFO: 117
[2025-01-10 01:21:03] Production.INFO: Date 2025-01-08
[2025-01-10 01:21:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:21:03] Production.INFO: Date 2025-01-09
[2025-01-10 01:21:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:21:04] Production.INFO: Date 2025-01-10
[2025-01-10 01:21:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:21:04] Production.INFO: ==26009== Lock acquired, processing the job...
[2025-01-10 01:21:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 01:21:04] Production.INFO: ==26013== Lock acquired, processing the job...
[2025-01-10 01:21:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 01:21:04] Production.INFO: Total Charge 0
[2025-01-10 01:21:04] Production.INFO: CreateAllLog End
[2025-01-10 01:21:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 01:21:04] Production.INFO: ==26011== Releasing lock...
[2025-01-10 01:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 01:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 01:21:04] Production.INFO: ==26019== Lock acquired, processing the job...
[2025-01-10 01:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 01:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 01:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 01:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 01:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 01:21:04] Production.ERROR: done
[2025-01-10 01:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 01:21:04] Production.INFO: Account Balance End.
[2025-01-10 01:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:21:04] Production.ERROR: CronJobId end 12
[2025-01-10 01:21:04] Production.INFO: ==26015== Releasing lock...
[2025-01-10 01:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 01:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 01:21:04] Production.ERROR: done
[2025-01-10 01:21:04] Production.INFO: count ==21
[2025-01-10 01:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:21:04] Production.INFO: count ==21
[2025-01-10 01:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213514') start
[2025-01-10 01:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213514') end
[2025-01-10 01:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 01:21:04] Production.INFO: 1
[2025-01-10 01:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 01:21:04] Production.INFO: ==26019== Releasing lock...
[2025-01-10 01:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 01:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 01:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 22:21:05
[end_date_ymd] => 2025-01-10 01:21:05
[RateCDR] => 1
)
[2025-01-10 01:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 22:21:05' and `end` < '2025-01-10 01:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 01:21:11] Production.ERROR: CronJobId end10
[2025-01-10 01:21:11] Production.INFO: ==26013== Releasing lock...
[2025-01-10 01:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 01:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 01:21:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 01:21:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 01:21:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 01:21:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 01:21:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 01:21:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 01:21:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 01:21:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 01:21:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 01:21:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 01:21:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 01:21:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 01:21:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 01:21:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 01:21:14] Production.INFO: call_cost start
[2025-01-10 01:21:14] Production.INFO: call_cost end
[2025-01-10 01:21:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 01:21:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 01:21:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 01:21:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 01:21:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 01:21:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 01:21:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 01:21:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 01:21:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 01:21:15] Production.INFO: ==26009== Releasing lock...
[2025-01-10 01:21:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 01:21:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 01:21:18] Production.INFO: count ==172
[2025-01-10 01:21:18] Production.ERROR: pbx CDR StartTime 2025-01-09 22:21:05 - End Time 2025-01-10 01:21:05
[2025-01-10 01:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 01:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213515', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213515', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213515', 'tblTempVendorCDR_20' ) start
[2025-01-10 01:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213515', 'tblTempVendorCDR_20' ) end
[2025-01-10 01:21:18] Production.INFO: ProcessCDR(1,14213515,1,1,2)
[2025-01-10 01:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213515,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213515,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213515,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213515,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213515', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213515', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:21:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:21:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:21:21] Production.INFO: ==26017== Releasing lock...
[2025-01-10 01:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 01:21:21] Production.INFO: 29 MB #Memory Used#
[2025-01-10 06:22:01] Production.INFO: ==26101== Lock acquired, processing the job...
[2025-01-10 06:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 06:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 06:22:01] Production.INFO: neon service started
[2025-01-10 06:22:01] Production.INFO: neon service started
[2025-01-10 06:22:01] Production.INFO: ==26101== Releasing lock...
[2025-01-10 06:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 06:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 06:22:02] Production.INFO: ==26105== Lock acquired, processing the job...
[2025-01-10 06:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 06:22:02] Production.INFO: ==26105== Releasing lock...
[2025-01-10 06:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 06:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 01:22:02] Production.INFO: ==26103== Lock acquired, processing the job...
[2025-01-10 01:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 01:22:02] Production.INFO: ==26103== Releasing lock...
[2025-01-10 01:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 01:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:22:03] Production.INFO: ==26111== Lock acquired, processing the job...
[2025-01-10 01:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 01:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 01:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 01:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 01:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 01:22:03] Production.INFO: ==26117== Lock acquired, processing the job...
[2025-01-10 01:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 01:22:03] Production.INFO: ==26109== Lock acquired, processing the job...
[2025-01-10 01:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 01:22:03] Production.INFO: ==26113== Lock acquired, processing the job...
[2025-01-10 01:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 01:22:03] Production.INFO: ==26107== Lock acquired, processing the job...
[2025-01-10 01:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 01:22:03] Production.INFO: ==26115== Lock acquired, processing the job...
[2025-01-10 01:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 01:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 01:22:03] Production.INFO: Account Balance Start.
[2025-01-10 01:22:03] Production.INFO: CreateAllLog Start
[2025-01-10 01:22:03] Production.INFO: 117
[2025-01-10 01:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:22:03] Production.INFO: Date 2025-01-08
[2025-01-10 01:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:22:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:22:03] Production.INFO: count ==21
[2025-01-10 01:22:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:22:03] Production.INFO: count ==21
[2025-01-10 01:22:03] Production.INFO: Date 2025-01-09
[2025-01-10 01:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213516') start
[2025-01-10 01:22:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:22:03] Production.INFO: Date 2025-01-10
[2025-01-10 01:22:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213516') end
[2025-01-10 01:22:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 01:22:03] Production.INFO: 1
[2025-01-10 01:22:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 01:22:03] Production.ERROR: done
[2025-01-10 01:22:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 01:22:03] Production.INFO: Total Charge 0
[2025-01-10 01:22:03] Production.INFO: CreateAllLog End
[2025-01-10 01:22:03] Production.INFO: ==26117== Releasing lock...
[2025-01-10 01:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 01:22:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 01:22:04] Production.INFO: ==26109== Releasing lock...
[2025-01-10 01:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 01:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 01:22:04] Production.ERROR: done
[2025-01-10 01:22:04] Production.INFO: Account Balance End.
[2025-01-10 01:22:04] Production.ERROR: CronJobId end 12
[2025-01-10 01:22:04] Production.INFO: ==26113== Releasing lock...
[2025-01-10 01:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 01:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 01:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 22:22:05
[end_date_ymd] => 2025-01-10 01:22:05
[RateCDR] => 1
)
[2025-01-10 01:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 22:22:05' and `end` < '2025-01-10 01:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 01:22:10] Production.ERROR: CronJobId end10
[2025-01-10 01:22:10] Production.INFO: ==26111== Releasing lock...
[2025-01-10 01:22:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 01:22:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 01:22:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 01:22:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 01:22:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 01:22:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 01:22:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 01:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 01:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 01:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 01:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 01:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 01:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 01:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 01:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 01:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 01:22:13] Production.INFO: call_cost start
[2025-01-10 01:22:13] Production.INFO: call_cost end
[2025-01-10 01:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 01:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 01:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 01:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 01:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 01:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 01:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 01:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 01:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 01:22:14] Production.INFO: ==26107== Releasing lock...
[2025-01-10 01:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 01:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 01:22:19] Production.INFO: count ==172
[2025-01-10 01:22:19] Production.ERROR: pbx CDR StartTime 2025-01-09 22:22:05 - End Time 2025-01-10 01:22:05
[2025-01-10 01:22:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 01:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213520', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213520', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213520', 'tblTempVendorCDR_20' ) start
[2025-01-10 01:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213520', 'tblTempVendorCDR_20' ) end
[2025-01-10 01:22:19] Production.INFO: ProcessCDR(1,14213520,1,1,2)
[2025-01-10 01:22:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213520,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:22:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213520,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213520,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213520,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213520', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213520', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:22:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:22:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:22:22] Production.INFO: ==26115== Releasing lock...
[2025-01-10 01:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 01:22:22] Production.INFO: 29 MB #Memory Used#
[2025-01-10 06:23:02] Production.INFO: ==26202== Lock acquired, processing the job...
[2025-01-10 06:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 06:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 06:23:02] Production.INFO: neon service started
[2025-01-10 06:23:02] Production.INFO: neon service started
[2025-01-10 06:23:02] Production.INFO: ==26202== Releasing lock...
[2025-01-10 06:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 06:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 06:23:02] Production.INFO: ==26207== Lock acquired, processing the job...
[2025-01-10 06:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 06:23:02] Production.INFO: ==26207== Releasing lock...
[2025-01-10 06:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 06:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 01:23:02] Production.INFO: ==26205== Lock acquired, processing the job...
[2025-01-10 01:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 01:23:03] Production.INFO: ==26205== Releasing lock...
[2025-01-10 01:23:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 01:23:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:23:03] Production.INFO: ==26209== Lock acquired, processing the job...
[2025-01-10 01:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 01:23:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 01:23:04] Production.INFO: ==26220== Lock acquired, processing the job...
[2025-01-10 01:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 01:23:04] Production.INFO: ==26211== Lock acquired, processing the job...
[2025-01-10 01:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 01:23:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:23:04] Production.INFO: ==26213== Lock acquired, processing the job...
[2025-01-10 01:23:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 01:23:04] Production.INFO: count ==21
[2025-01-10 01:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:23:04] Production.INFO: count ==21
[2025-01-10 01:23:04] Production.INFO: ==26215== Lock acquired, processing the job...
[2025-01-10 01:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 01:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213522') start
[2025-01-10 01:23:04] Production.INFO: ==26218== Lock acquired, processing the job...
[2025-01-10 01:23:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 01:23:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 01:23:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 01:23:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 01:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 01:23:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:23:04] Production.INFO: Account Balance Start.
[2025-01-10 01:23:04] Production.INFO: CreateAllLog Start
[2025-01-10 01:23:04] Production.INFO: 117
[2025-01-10 01:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213522') end
[2025-01-10 01:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 01:23:04] Production.INFO: 1
[2025-01-10 01:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 01:23:04] Production.INFO: Date 2025-01-08
[2025-01-10 01:23:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:23:04] Production.INFO: Date 2025-01-09
[2025-01-10 01:23:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:23:04] Production.INFO: ==26220== Releasing lock...
[2025-01-10 01:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 01:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 01:23:04] Production.INFO: ==26211== Releasing lock...
[2025-01-10 01:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 01:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 01:23:04] Production.INFO: Date 2025-01-10
[2025-01-10 01:23:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:23:04] Production.INFO: Total Charge 0
[2025-01-10 01:23:04] Production.INFO: CreateAllLog End
[2025-01-10 01:23:04] Production.ERROR: done
[2025-01-10 01:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 01:23:04] Production.ERROR: done
[2025-01-10 01:23:05] Production.INFO: Account Balance End.
[2025-01-10 01:23:05] Production.ERROR: CronJobId end 12
[2025-01-10 01:23:05] Production.INFO: ==26215== Releasing lock...
[2025-01-10 01:23:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 01:23:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 01:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 22:23:05
[end_date_ymd] => 2025-01-10 01:23:05
[RateCDR] => 1
)
[2025-01-10 01:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 22:23:05' and `end` < '2025-01-10 01:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 01:23:12] Production.ERROR: CronJobId end10
[2025-01-10 01:23:12] Production.INFO: ==26213== Releasing lock...
[2025-01-10 01:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 01:23:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 01:23:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 01:23:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 01:23:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 01:23:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 01:23:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 01:23:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 01:23:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 01:23:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 01:23:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 01:23:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 01:23:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 01:23:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 01:23:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 01:23:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 01:23:14] Production.INFO: call_cost start
[2025-01-10 01:23:14] Production.INFO: call_cost end
[2025-01-10 01:23:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 01:23:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 01:23:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 01:23:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 01:23:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 01:23:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 01:23:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 01:23:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 01:23:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 01:23:15] Production.INFO: ==26209== Releasing lock...
[2025-01-10 01:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 01:23:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 01:23:20] Production.INFO: count ==172
[2025-01-10 01:23:20] Production.ERROR: pbx CDR StartTime 2025-01-09 22:23:05 - End Time 2025-01-10 01:23:05
[2025-01-10 01:23:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 01:23:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213525', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:23:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213525', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:23:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213525', 'tblTempVendorCDR_20' ) start
[2025-01-10 01:23:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213525', 'tblTempVendorCDR_20' ) end
[2025-01-10 01:23:20] Production.INFO: ProcessCDR(1,14213525,1,1,2)
[2025-01-10 01:23:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213525,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:23:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213525,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:23:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213525,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:23:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213525,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:23:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213525', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:23:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213525', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:23:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:23:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:23:24] Production.INFO: ==26218== Releasing lock...
[2025-01-10 01:23:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 01:23:24] Production.INFO: 29 MB #Memory Used#
[2025-01-10 06:24:01] Production.INFO: ==26300== Lock acquired, processing the job...
[2025-01-10 06:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 06:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 06:24:01] Production.INFO: neon service started
[2025-01-10 06:24:01] Production.INFO: neon service started
[2025-01-10 06:24:01] Production.INFO: ==26300== Releasing lock...
[2025-01-10 06:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 06:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 06:24:01] Production.INFO: ==26304== Lock acquired, processing the job...
[2025-01-10 06:24:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 06:24:02] Production.INFO: ==26304== Releasing lock...
[2025-01-10 06:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 06:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 01:24:02] Production.INFO: ==26302== Lock acquired, processing the job...
[2025-01-10 01:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 01:24:02] Production.INFO: ==26302== Releasing lock...
[2025-01-10 01:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 01:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:24:03] Production.INFO: ==26307== Lock acquired, processing the job...
[2025-01-10 01:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 01:24:03] Production.INFO: ==26311== Lock acquired, processing the job...
[2025-01-10 01:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 01:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 01:24:03] Production.INFO: ==26316== Lock acquired, processing the job...
[2025-01-10 01:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 01:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 01:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 01:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 01:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 01:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:24:03] Production.INFO: ==26309== Lock acquired, processing the job...
[2025-01-10 01:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 01:24:03] Production.INFO: ==26313== Lock acquired, processing the job...
[2025-01-10 01:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 01:24:03] Production.INFO: ==26319== Lock acquired, processing the job...
[2025-01-10 01:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 01:24:03] Production.INFO: Account Balance Start.
[2025-01-10 01:24:03] Production.INFO: CreateAllLog Start
[2025-01-10 01:24:03] Production.INFO: 117
[2025-01-10 01:24:03] Production.INFO: Date 2025-01-08
[2025-01-10 01:24:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:24:03] Production.ERROR: done
[2025-01-10 01:24:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 01:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:24:03] Production.INFO: count ==21
[2025-01-10 01:24:03] Production.INFO: Date 2025-01-09
[2025-01-10 01:24:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:24:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:24:03] Production.INFO: count ==21
[2025-01-10 01:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213529') start
[2025-01-10 01:24:03] Production.ERROR: done
[2025-01-10 01:24:03] Production.INFO: Date 2025-01-10
[2025-01-10 01:24:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:24:03] Production.INFO: Total Charge 0
[2025-01-10 01:24:03] Production.INFO: ==26309== Releasing lock...
[2025-01-10 01:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 01:24:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 01:24:03] Production.INFO: CreateAllLog End
[2025-01-10 01:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213529') end
[2025-01-10 01:24:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 01:24:03] Production.INFO: 1
[2025-01-10 01:24:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 01:24:04] Production.INFO: ==26319== Releasing lock...
[2025-01-10 01:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 01:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 01:24:04] Production.INFO: Account Balance End.
[2025-01-10 01:24:04] Production.ERROR: CronJobId end 12
[2025-01-10 01:24:04] Production.INFO: ==26313== Releasing lock...
[2025-01-10 01:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 01:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 01:24:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 22:24:04
[end_date_ymd] => 2025-01-10 01:24:04
[RateCDR] => 1
)
[2025-01-10 01:24:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 22:24:04' and `end` < '2025-01-10 01:24:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 01:24:11] Production.ERROR: CronJobId end10
[2025-01-10 01:24:11] Production.INFO: ==26311== Releasing lock...
[2025-01-10 01:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 01:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 01:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 01:24:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 01:24:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 01:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 01:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 01:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 01:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 01:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 01:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 01:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 01:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 01:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 01:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 01:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 01:24:13] Production.INFO: call_cost start
[2025-01-10 01:24:13] Production.INFO: call_cost end
[2025-01-10 01:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 01:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 01:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 01:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 01:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 01:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 01:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 01:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 01:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 01:24:14] Production.INFO: ==26307== Releasing lock...
[2025-01-10 01:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 01:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 01:24:17] Production.INFO: count ==171
[2025-01-10 01:24:17] Production.ERROR: pbx CDR StartTime 2025-01-09 22:24:04 - End Time 2025-01-10 01:24:04
[2025-01-10 01:24:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 01:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213530', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213530', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213530', 'tblTempVendorCDR_20' ) start
[2025-01-10 01:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213530', 'tblTempVendorCDR_20' ) end
[2025-01-10 01:24:17] Production.INFO: ProcessCDR(1,14213530,1,1,2)
[2025-01-10 01:24:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213530,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:24:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213530,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:24:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213530,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213530,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213530', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213530', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:24:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:24:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:24:21] Production.INFO: ==26316== Releasing lock...
[2025-01-10 01:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 01:24:21] Production.INFO: 29 MB #Memory Used#
[2025-01-10 06:25:02] Production.INFO: ==26401== Lock acquired, processing the job...
[2025-01-10 06:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 06:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 06:25:02] Production.INFO: neon service started
[2025-01-10 06:25:02] Production.INFO: neon service started
[2025-01-10 06:25:02] Production.INFO: ==26401== Releasing lock...
[2025-01-10 06:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 06:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 06:25:02] Production.INFO: ==26405== Lock acquired, processing the job...
[2025-01-10 06:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 06:25:02] Production.INFO: ==26405== Releasing lock...
[2025-01-10 06:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 06:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 01:25:02] Production.INFO: ==26403== Lock acquired, processing the job...
[2025-01-10 01:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 01:25:02] Production.INFO: ==26403== Releasing lock...
[2025-01-10 01:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 01:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:25:03] Production.INFO: ==26408== Lock acquired, processing the job...
[2025-01-10 01:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 01:25:03] Production.INFO: ==26410== Lock acquired, processing the job...
[2025-01-10 01:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 01:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 01:25:03] Production.INFO: ==26414== Lock acquired, processing the job...
[2025-01-10 01:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 01:25:03] Production.INFO: Account Balance Start.
[2025-01-10 01:25:03] Production.INFO: CreateAllLog Start
[2025-01-10 01:25:03] Production.INFO: 117
[2025-01-10 01:25:03] Production.INFO: Date 2025-01-08
[2025-01-10 01:25:03] Production.INFO: ==26412== Lock acquired, processing the job...
[2025-01-10 01:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 01:25:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:25:03] Production.INFO: Date 2025-01-09
[2025-01-10 01:25:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:25:03] Production.INFO: ==26410== Releasing lock...
[2025-01-10 01:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 01:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 01:25:03] Production.INFO: Date 2025-01-10
[2025-01-10 01:25:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:25:04] Production.INFO: Total Charge 0
[2025-01-10 01:25:04] Production.INFO: ==26418== Lock acquired, processing the job...
[2025-01-10 01:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 01:25:04] Production.INFO: CreateAllLog End
[2025-01-10 01:25:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 01:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 01:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 01:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 01:25:04] Production.INFO: ==26416== Lock acquired, processing the job...
[2025-01-10 01:25:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 01:25:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:25:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:25:04] Production.INFO: Account Balance End.
[2025-01-10 01:25:04] Production.INFO: count ==21
[2025-01-10 01:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:25:04] Production.INFO: count ==21
[2025-01-10 01:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213534') start
[2025-01-10 01:25:04] Production.ERROR: CronJobId end 12
[2025-01-10 01:25:04] Production.INFO: ==26414== Releasing lock...
[2025-01-10 01:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 01:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 01:25:04] Production.ERROR: done
[2025-01-10 01:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213534') end
[2025-01-10 01:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 01:25:04] Production.INFO: 1
[2025-01-10 01:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 01:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 01:25:04] Production.INFO: ==26418== Releasing lock...
[2025-01-10 01:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 01:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 01:25:04] Production.ERROR: done
[2025-01-10 01:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 22:25:05
[end_date_ymd] => 2025-01-10 01:25:05
[RateCDR] => 1
)
[2025-01-10 01:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 22:25:05' and `end` < '2025-01-10 01:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 01:25:11] Production.ERROR: CronJobId end10
[2025-01-10 01:25:11] Production.INFO: ==26412== Releasing lock...
[2025-01-10 01:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 01:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 01:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 01:25:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 01:25:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 01:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 01:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 01:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 01:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 01:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 01:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 01:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 01:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 01:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 01:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 01:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 01:25:14] Production.INFO: call_cost start
[2025-01-10 01:25:14] Production.INFO: call_cost end
[2025-01-10 01:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 01:25:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 01:25:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 01:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 01:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 01:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 01:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 01:25:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 01:25:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 01:25:14] Production.INFO: ==26408== Releasing lock...
[2025-01-10 01:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 01:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 01:25:18] Production.INFO: count ==171
[2025-01-10 01:25:18] Production.ERROR: pbx CDR StartTime 2025-01-09 22:25:05 - End Time 2025-01-10 01:25:05
[2025-01-10 01:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 01:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213535', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213535', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213535', 'tblTempVendorCDR_20' ) start
[2025-01-10 01:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213535', 'tblTempVendorCDR_20' ) end
[2025-01-10 01:25:18] Production.INFO: ProcessCDR(1,14213535,1,1,2)
[2025-01-10 01:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213535,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213535,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213535,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:25:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213535,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213535', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213535', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:25:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:25:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:25:22] Production.INFO: ==26416== Releasing lock...
[2025-01-10 01:25:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 01:25:22] Production.INFO: 29 MB #Memory Used#
[2025-01-10 06:26:01] Production.INFO: ==26500== Lock acquired, processing the job...
[2025-01-10 06:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 06:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 06:26:01] Production.INFO: neon service started
[2025-01-10 06:26:01] Production.INFO: neon service started
[2025-01-10 06:26:01] Production.INFO: ==26500== Releasing lock...
[2025-01-10 06:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 06:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 01:26:02] Production.INFO: ==26503== Lock acquired, processing the job...
[2025-01-10 01:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 01:26:02] Production.INFO: ==26503== Releasing lock...
[2025-01-10 01:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 01:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 06:26:02] Production.INFO: ==26505== Lock acquired, processing the job...
[2025-01-10 06:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 06:26:02] Production.INFO: ==26505== Releasing lock...
[2025-01-10 06:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 06:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 01:26:03] Production.INFO: ==26515== Lock acquired, processing the job...
[2025-01-10 01:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 01:26:03] Production.INFO: ==26513== Lock acquired, processing the job...
[2025-01-10 01:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 01:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:26:03] Production.INFO: ==26507== Lock acquired, processing the job...
[2025-01-10 01:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 01:26:03] Production.INFO: ==26511== Lock acquired, processing the job...
[2025-01-10 01:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 01:26:03] Production.INFO: ==26509== Lock acquired, processing the job...
[2025-01-10 01:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 01:26:03] Production.INFO: Account Balance Start.
[2025-01-10 01:26:03] Production.INFO: CreateAllLog Start
[2025-01-10 01:26:03] Production.INFO: 117
[2025-01-10 01:26:03] Production.INFO: Date 2025-01-08
[2025-01-10 01:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 01:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 01:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 01:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 01:26:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:26:03] Production.INFO: Date 2025-01-09
[2025-01-10 01:26:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:26:03] Production.INFO: ==26517== Lock acquired, processing the job...
[2025-01-10 01:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 01:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 01:26:03] Production.INFO: Date 2025-01-10
[2025-01-10 01:26:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:26:03] Production.ERROR: done
[2025-01-10 01:26:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 01:26:03] Production.INFO: ==26509== Releasing lock...
[2025-01-10 01:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 01:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 01:26:03] Production.INFO: Total Charge 0
[2025-01-10 01:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:26:03] Production.INFO: CreateAllLog End
[2025-01-10 01:26:03] Production.INFO: count ==21
[2025-01-10 01:26:03] Production.ERROR: done
[2025-01-10 01:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:26:04] Production.INFO: count ==21
[2025-01-10 01:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213539') start
[2025-01-10 01:26:04] Production.INFO: Account Balance End.
[2025-01-10 01:26:04] Production.ERROR: CronJobId end 12
[2025-01-10 01:26:04] Production.INFO: ==26513== Releasing lock...
[2025-01-10 01:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 01:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 01:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213539') end
[2025-01-10 01:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 01:26:04] Production.INFO: 1
[2025-01-10 01:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 01:26:04] Production.INFO: ==26517== Releasing lock...
[2025-01-10 01:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 01:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 01:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 22:26:05
[end_date_ymd] => 2025-01-10 01:26:05
[RateCDR] => 1
)
[2025-01-10 01:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 22:26:05' and `end` < '2025-01-10 01:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 01:26:11] Production.ERROR: CronJobId end10
[2025-01-10 01:26:11] Production.INFO: ==26511== Releasing lock...
[2025-01-10 01:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 01:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 01:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 01:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 01:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 01:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 01:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 01:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 01:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 01:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 01:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 01:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 01:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 01:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 01:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 01:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 01:26:13] Production.INFO: call_cost start
[2025-01-10 01:26:13] Production.INFO: call_cost end
[2025-01-10 01:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 01:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 01:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 01:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 01:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 01:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 01:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 01:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 01:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 01:26:14] Production.INFO: ==26507== Releasing lock...
[2025-01-10 01:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 01:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 01:26:17] Production.INFO: count ==170
[2025-01-10 01:26:17] Production.ERROR: pbx CDR StartTime 2025-01-09 22:26:05 - End Time 2025-01-10 01:26:05
[2025-01-10 01:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 01:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213540', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213540', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213540', 'tblTempVendorCDR_20' ) start
[2025-01-10 01:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213540', 'tblTempVendorCDR_20' ) end
[2025-01-10 01:26:18] Production.INFO: ProcessCDR(1,14213540,1,1,2)
[2025-01-10 01:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213540,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213540,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213540,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213540,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213540', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213540', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:26:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:26:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:26:21] Production.INFO: ==26515== Releasing lock...
[2025-01-10 01:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 01:26:21] Production.INFO: 29 MB #Memory Used#
[2025-01-10 06:27:02] Production.INFO: ==26600== Lock acquired, processing the job...
[2025-01-10 06:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 06:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 06:27:02] Production.INFO: neon service started
[2025-01-10 06:27:02] Production.INFO: neon service started
[2025-01-10 06:27:02] Production.INFO: ==26600== Releasing lock...
[2025-01-10 06:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 06:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 06:27:02] Production.INFO: ==26604== Lock acquired, processing the job...
[2025-01-10 06:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 06:27:02] Production.INFO: ==26604== Releasing lock...
[2025-01-10 06:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 06:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 01:27:02] Production.INFO: ==26602== Lock acquired, processing the job...
[2025-01-10 01:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 01:27:02] Production.INFO: ==26602== Releasing lock...
[2025-01-10 01:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 01:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:27:03] Production.INFO: ==26611== Lock acquired, processing the job...
[2025-01-10 01:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 01:27:03] Production.INFO: ==26615== Lock acquired, processing the job...
[2025-01-10 01:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 01:27:03] Production.INFO: Account Balance Start.
[2025-01-10 01:27:03] Production.INFO: CreateAllLog Start
[2025-01-10 01:27:03] Production.INFO: 117
[2025-01-10 01:27:03] Production.INFO: Date 2025-01-08
[2025-01-10 01:27:03] Production.INFO: ==26609== Lock acquired, processing the job...
[2025-01-10 01:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 01:27:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:27:03] Production.INFO: Date 2025-01-09
[2025-01-10 01:27:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:27:03] Production.INFO: Date 2025-01-10
[2025-01-10 01:27:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:27:03] Production.INFO: Total Charge 0
[2025-01-10 01:27:03] Production.INFO: ==26613== Lock acquired, processing the job...
[2025-01-10 01:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 01:27:03] Production.INFO: CreateAllLog End
[2025-01-10 01:27:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 01:27:04] Production.INFO: ==26617== Lock acquired, processing the job...
[2025-01-10 01:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 01:27:04] Production.INFO: ==26619== Lock acquired, processing the job...
[2025-01-10 01:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 01:27:04] Production.INFO: ==26611== Releasing lock...
[2025-01-10 01:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 01:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 01:27:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 01:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 01:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 01:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 01:27:04] Production.INFO: Account Balance End.
[2025-01-10 01:27:04] Production.ERROR: CronJobId end 12
[2025-01-10 01:27:04] Production.INFO: ==26615== Releasing lock...
[2025-01-10 01:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 01:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 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-01-10 01:27:04] Production.INFO: count ==21
[2025-01-10 01:27:04] Production.ERROR: done
[2025-01-10 01:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 01:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:27:04] Production.INFO: count ==21
[2025-01-10 01:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213544') start
[2025-01-10 01:27:04] Production.ERROR: done
[2025-01-10 01:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213544') end
[2025-01-10 01:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 01:27:04] Production.INFO: 1
[2025-01-10 01:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 01:27:04] Production.INFO: ==26619== Releasing lock...
[2025-01-10 01:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 01:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 01:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 22:27:05
[end_date_ymd] => 2025-01-10 01:27:05
[RateCDR] => 1
)
[2025-01-10 01:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 22:27:05' and `end` < '2025-01-10 01:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 01:27:12] Production.ERROR: CronJobId end10
[2025-01-10 01:27:12] Production.INFO: ==26613== Releasing lock...
[2025-01-10 01:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 01:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 01:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 01:27:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 01:27:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 01:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 01:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 01:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 01:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 01:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 01:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 01:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 01:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 01:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 01:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 01:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 01:27:14] Production.INFO: call_cost start
[2025-01-10 01:27:14] Production.INFO: call_cost end
[2025-01-10 01:27:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 01:27:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 01:27:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 01:27:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 01:27:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 01:27:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 01:27:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 01:27:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 01:27:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 01:27:15] Production.INFO: ==26609== Releasing lock...
[2025-01-10 01:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 01:27:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 01:27:18] Production.INFO: count ==170
[2025-01-10 01:27:18] Production.ERROR: pbx CDR StartTime 2025-01-09 22:27:05 - End Time 2025-01-10 01:27:05
[2025-01-10 01:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 01:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213545', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213545', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213545', 'tblTempVendorCDR_20' ) start
[2025-01-10 01:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213545', 'tblTempVendorCDR_20' ) end
[2025-01-10 01:27:18] Production.INFO: ProcessCDR(1,14213545,1,1,2)
[2025-01-10 01:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213545,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213545,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213545,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213545,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213545', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213545', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:27:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:27:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:27:21] Production.INFO: ==26617== Releasing lock...
[2025-01-10 01:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 01:27:21] Production.INFO: 29 MB #Memory Used#
[2025-01-10 06:28:01] Production.INFO: ==26705== Lock acquired, processing the job...
[2025-01-10 06:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 06:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 06:28:01] Production.INFO: neon service started
[2025-01-10 06:28:01] Production.INFO: neon service started
[2025-01-10 06:28:01] Production.INFO: ==26705== Releasing lock...
[2025-01-10 06:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 06:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 06:28:01] Production.INFO: ==26709== Lock acquired, processing the job...
[2025-01-10 06:28:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 06:28:01] Production.INFO: ==26709== Releasing lock...
[2025-01-10 06:28:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 06:28:01] Production.INFO: 25 MB #Memory Used#
[2025-01-10 01:28:02] Production.INFO: ==26707== Lock acquired, processing the job...
[2025-01-10 01:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 01:28:02] Production.INFO: ==26707== Releasing lock...
[2025-01-10 01:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 01:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:28:03] Production.INFO: ==26713== Lock acquired, processing the job...
[2025-01-10 01:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 01:28:03] Production.INFO: ==26711== Lock acquired, processing the job...
[2025-01-10 01:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 01:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 01:28:03] Production.INFO: ==26720== Lock acquired, processing the job...
[2025-01-10 01:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 01:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:28:03] Production.INFO: ==26715== Lock acquired, processing the job...
[2025-01-10 01:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 01:28:03] Production.INFO: ==26718== Lock acquired, processing the job...
[2025-01-10 01:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 01:28:03] Production.INFO: ==26713== Releasing lock...
[2025-01-10 01:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 01:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 01:28:03] Production.INFO: ==26722== Lock acquired, processing the job...
[2025-01-10 01:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 01:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 01:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 01:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 01:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 01:28:03] Production.INFO: Account Balance Start.
[2025-01-10 01:28:03] Production.INFO: CreateAllLog Start
[2025-01-10 01:28:03] Production.INFO: 117
[2025-01-10 01:28:03] Production.INFO: Date 2025-01-08
[2025-01-10 01:28:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:28:03] Production.INFO: Date 2025-01-09
[2025-01-10 01:28:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:28:03] Production.INFO: count ==21
[2025-01-10 01:28:03] Production.INFO: Date 2025-01-10
[2025-01-10 01:28:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:28:03] Production.INFO: count ==21
[2025-01-10 01:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213549') start
[2025-01-10 01:28:03] Production.INFO: Total Charge 0
[2025-01-10 01:28:03] Production.INFO: CreateAllLog End
[2025-01-10 01:28:03] Production.ERROR: done
[2025-01-10 01:28:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 01:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213549') end
[2025-01-10 01:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 01:28:04] Production.INFO: 1
[2025-01-10 01:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 01:28:04] Production.INFO: ==26722== Releasing lock...
[2025-01-10 01:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 01:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 01:28:04] Production.ERROR: done
[2025-01-10 01:28:04] Production.INFO: Account Balance End.
[2025-01-10 01:28:04] Production.ERROR: CronJobId end 12
[2025-01-10 01:28:04] Production.INFO: ==26718== Releasing lock...
[2025-01-10 01:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 01:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 01:28:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 22:28:04
[end_date_ymd] => 2025-01-10 01:28:04
[RateCDR] => 1
)
[2025-01-10 01:28:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 22:28:04' and `end` < '2025-01-10 01:28:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 01:28:11] Production.ERROR: CronJobId end10
[2025-01-10 01:28:11] Production.INFO: ==26715== Releasing lock...
[2025-01-10 01:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 01:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 01:28:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 01:28:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 01:28:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 01:28:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 01:28:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 01:28:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 01:28:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 01:28:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 01:28:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 01:28:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 01:28:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 01:28:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 01:28:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 01:28:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 01:28:12] Production.INFO: call_cost start
[2025-01-10 01:28:12] Production.INFO: call_cost end
[2025-01-10 01:28:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 01:28:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 01:28:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 01:28:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 01:28:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 01:28:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 01:28:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 01:28:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 01:28:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 01:28:13] Production.INFO: ==26711== Releasing lock...
[2025-01-10 01:28:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 01:28:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 01:28:18] Production.INFO: count ==170
[2025-01-10 01:28:18] Production.ERROR: pbx CDR StartTime 2025-01-09 22:28:04 - End Time 2025-01-10 01:28:04
[2025-01-10 01:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 01:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213550', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213550', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213550', 'tblTempVendorCDR_20' ) start
[2025-01-10 01:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213550', 'tblTempVendorCDR_20' ) end
[2025-01-10 01:28:18] Production.INFO: ProcessCDR(1,14213550,1,1,2)
[2025-01-10 01:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213550,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213550,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213550,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213550,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213550', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213550', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:28:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:28:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:28:21] Production.INFO: ==26720== Releasing lock...
[2025-01-10 01:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 01:28:21] Production.INFO: 29 MB #Memory Used#
[2025-01-10 06:29:01] Production.INFO: ==26805== Lock acquired, processing the job...
[2025-01-10 06:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 06:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 06:29:01] Production.INFO: neon service started
[2025-01-10 06:29:01] Production.INFO: neon service started
[2025-01-10 06:29:01] Production.INFO: ==26805== Releasing lock...
[2025-01-10 06:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 06:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 01:29:02] Production.INFO: ==26807== Lock acquired, processing the job...
[2025-01-10 01:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 01:29:02] Production.INFO: ==26807== Releasing lock...
[2025-01-10 01:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 01:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 06:29:02] Production.INFO: ==26809== Lock acquired, processing the job...
[2025-01-10 06:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 06:29:02] Production.INFO: ==26809== Releasing lock...
[2025-01-10 06:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 06:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 01:29:03] Production.INFO: ==26818== Lock acquired, processing the job...
[2025-01-10 01:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 01:29:03] Production.INFO: ==26822== Lock acquired, processing the job...
[2025-01-10 01:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 01:29:03] Production.INFO: ==26812== Lock acquired, processing the job...
[2025-01-10 01:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 01:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:29:03] Production.INFO: ==26814== Lock acquired, processing the job...
[2025-01-10 01:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 01:29:03] Production.INFO: Account Balance Start.
[2025-01-10 01:29:03] Production.INFO: CreateAllLog Start
[2025-01-10 01:29:03] Production.INFO: 117
[2025-01-10 01:29:03] Production.INFO: ==26816== Lock acquired, processing the job...
[2025-01-10 01:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 01:29:03] Production.INFO: count ==21
[2025-01-10 01:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 01:29:03] Production.INFO: Date 2025-01-08
[2025-01-10 01:29:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:29:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:29:03] Production.INFO: count ==21
[2025-01-10 01:29:03] Production.INFO: ==26820== Lock acquired, processing the job...
[2025-01-10 01:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 01:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213552') start
[2025-01-10 01:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 01:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 01:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 01:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 01:29:03] Production.INFO: Date 2025-01-09
[2025-01-10 01:29:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213552') end
[2025-01-10 01:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 01:29:04] Production.INFO: 1
[2025-01-10 01:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 01:29:04] Production.INFO: Date 2025-01-10
[2025-01-10 01:29:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:29:04] Production.INFO: ==26822== Releasing lock...
[2025-01-10 01:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 01:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 01:29:04] Production.INFO: Total Charge 0
[2025-01-10 01:29:04] Production.INFO: CreateAllLog End
[2025-01-10 01:29:04] Production.INFO: ==26814== Releasing lock...
[2025-01-10 01:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 01:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 01:29:04] Production.ERROR: done
[2025-01-10 01:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 01:29:04] Production.INFO: Account Balance End.
[2025-01-10 01:29:04] Production.ERROR: done
[2025-01-10 01:29:04] Production.ERROR: CronJobId end 12
[2025-01-10 01:29:04] Production.INFO: ==26818== Releasing lock...
[2025-01-10 01:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 01:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 01:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 22:29:05
[end_date_ymd] => 2025-01-10 01:29:05
[RateCDR] => 1
)
[2025-01-10 01:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 22:29:05' and `end` < '2025-01-10 01:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 01:29:11] Production.ERROR: CronJobId end10
[2025-01-10 01:29:11] Production.INFO: ==26816== Releasing lock...
[2025-01-10 01:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 01:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 01:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 01:29:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 01:29:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 01:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 01:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 01:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 01:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 01:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 01:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 01:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 01:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 01:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 01:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 01:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 01:29:13] Production.INFO: call_cost start
[2025-01-10 01:29:13] Production.INFO: call_cost end
[2025-01-10 01:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 01:29:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 01:29:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 01:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 01:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 01:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 01:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 01:29:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 01:29:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 01:29:14] Production.INFO: ==26812== Releasing lock...
[2025-01-10 01:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 01:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 01:29:19] Production.INFO: count ==172
[2025-01-10 01:29:19] Production.ERROR: pbx CDR StartTime 2025-01-09 22:29:05 - End Time 2025-01-10 01:29:05
[2025-01-10 01:29:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 01:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213555', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213555', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213555', 'tblTempVendorCDR_20' ) start
[2025-01-10 01:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213555', 'tblTempVendorCDR_20' ) end
[2025-01-10 01:29:19] Production.INFO: ProcessCDR(1,14213555,1,1,2)
[2025-01-10 01:29:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213555,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:29:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213555,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:29:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213555,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:29:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213555,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213555', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213555', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:29:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:29:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:29:22] Production.INFO: ==26820== Releasing lock...
[2025-01-10 01:29:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 01:29:22] Production.INFO: 29 MB #Memory Used#
[2025-01-10 06:30:01] Production.INFO: ==26908== Lock acquired, processing the job...
[2025-01-10 06:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 06:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 06:30:01] Production.INFO: neon service started
[2025-01-10 06:30:01] Production.INFO: neon service started
[2025-01-10 06:30:01] Production.INFO: ==26908== Releasing lock...
[2025-01-10 06:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 06:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 06:30:01] Production.INFO: ==26912== Lock acquired, processing the job...
[2025-01-10 06:30:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 06:30:01] Production.INFO: ==26912== Releasing lock...
[2025-01-10 06:30:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 06:30:01] Production.INFO: 25 MB #Memory Used#
[2025-01-10 01:30:01] Production.INFO: ==26910== Lock acquired, processing the job...
[2025-01-10 01:30:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 01:30:02] Production.INFO: ==26910== Releasing lock...
[2025-01-10 01:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 01:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:30:03] Production.INFO: ==26914== Lock acquired, processing the job...
[2025-01-10 01:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 01:30:03] Production.INFO: ==26916== Lock acquired, processing the job...
[2025-01-10 01:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 01:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 01:30:03] Production.INFO: ==26918== Lock acquired, processing the job...
[2025-01-10 01:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 01:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 01:30:03] Production.INFO: ==26914== Releasing lock...
[2025-01-10 01:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 01:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 01:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 01:30:03] Production.INFO: ==26920== Lock acquired, processing the job...
[2025-01-10 01:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 01:30:03] Production.INFO: ==26922== Lock acquired, processing the job...
[2025-01-10 01:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 01:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 01:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 01:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 01:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 01:30:03] Production.INFO: ==26924== Lock acquired, processing the job...
[2025-01-10 01:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 01:30:03] Production.INFO: ==26927== Lock acquired, processing the job...
[2025-01-10 01:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 01:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:30:03] Production.INFO: ==26918== Releasing lock...
[2025-01-10 01:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 01:30:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 01:30:03] Production.INFO: Account Balance Start.
[2025-01-10 01:30:03] Production.INFO: CreateAllLog Start
[2025-01-10 01:30:03] Production.INFO: 117
[2025-01-10 01:30:03] Production.INFO: ==26929== Lock acquired, processing the job...
[2025-01-10 01:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 01:30:03] Production.INFO: Date 2025-01-08
[2025-01-10 01:30:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:30:03] Production.INFO: Date 2025-01-09
[2025-01-10 01:30:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:30:03] Production.INFO: Date 2025-01-10
[2025-01-10 01:30:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:30:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:30:03] Production.INFO: Total Charge 0
[2025-01-10 01:30:03] Production.INFO: count ==21
[2025-01-10 01:30:03] Production.INFO: CreateAllLog End
[2025-01-10 01:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:30:04] Production.INFO: count ==21
[2025-01-10 01:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213559') start
[2025-01-10 01:30:04] Production.ERROR: done
[2025-01-10 01:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 01:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213559') end
[2025-01-10 01:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 01:30:04] Production.INFO: 1
[2025-01-10 01:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 01:30:04] Production.INFO: ==26929== Releasing lock...
[2025-01-10 01:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 01:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 01:30:04] Production.ERROR: done
[2025-01-10 01:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 01:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14213560', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 01:30:04] Production.ERROR: done
[2025-01-10 01:30:04] Production.INFO: Account Balance End.
[2025-01-10 01:30:04] Production.ERROR: CronJobId end 12
[2025-01-10 01:30:04] Production.INFO: ==26922== Releasing lock...
[2025-01-10 01:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 01:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 01:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 22:30:05
[end_date_ymd] => 2025-01-10 01:30:05
[RateCDR] => 1
)
[2025-01-10 01:30:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 22:30:05' and `end` < '2025-01-10 01:30:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 01:30:07] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14213560', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 01:30:07] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 01:30:07] Production.INFO: ProcessCDR(1,14213560,1,1,2)
[2025-01-10 01:30:07] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14213560,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:30:07] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14213560,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:30:07] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:30:07] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:30:08] Production.INFO: ==26927== Releasing lock...
[2025-01-10 01:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 01:30:08] Production.INFO: 26 MB #Memory Used#
[2025-01-10 01:30:13] Production.ERROR: CronJobId end10
[2025-01-10 01:30:13] Production.INFO: ==26920== Releasing lock...
[2025-01-10 01:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 01:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 01:30:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 01:30:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 01:30:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 01:30:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 01:30:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 01:30:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 01:30:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 01:30:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 01:30:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 01:30:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 01:30:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 01:30:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 01:30:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 01:30:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 01:30:14] Production.INFO: call_cost start
[2025-01-10 01:30:14] Production.INFO: call_cost end
[2025-01-10 01:30:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 01:30:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 01:30:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 01:30:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 01:30:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 01:30:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 01:30:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 01:30:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 01:30:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 01:30:15] Production.INFO: ==26916== Releasing lock...
[2025-01-10 01:30:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 01:30:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 01:30:19] Production.INFO: count ==176
[2025-01-10 01:30:19] Production.ERROR: pbx CDR StartTime 2025-01-09 22:30:05 - End Time 2025-01-10 01:30:05
[2025-01-10 01:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 01:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213561', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213561', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213561', 'tblTempVendorCDR_20' ) start
[2025-01-10 01:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213561', 'tblTempVendorCDR_20' ) end
[2025-01-10 01:30:19] Production.INFO: ProcessCDR(1,14213561,1,1,2)
[2025-01-10 01:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213561,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213561,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213561,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213561,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213561', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213561', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:30:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:30:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:30:22] Production.INFO: ==26924== Releasing lock...
[2025-01-10 01:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 01:30:22] Production.INFO: 29 MB #Memory Used#
[2025-01-10 06:31:01] Production.INFO: ==27016== Lock acquired, processing the job...
[2025-01-10 06:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 06:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 06:31:01] Production.INFO: neon service started
[2025-01-10 06:31:01] Production.INFO: neon service started
[2025-01-10 06:31:01] Production.INFO: ==27016== Releasing lock...
[2025-01-10 06:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 06:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 01:31:02] Production.INFO: ==27018== Lock acquired, processing the job...
[2025-01-10 01:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 01:31:02] Production.INFO: ==27018== Releasing lock...
[2025-01-10 01:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 01:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 06:31:02] Production.INFO: ==27020== Lock acquired, processing the job...
[2025-01-10 06:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 06:31:02] Production.INFO: ==27020== Releasing lock...
[2025-01-10 06:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 06:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 01:31:03] Production.INFO: ==27027== Lock acquired, processing the job...
[2025-01-10 01:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 01:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 01:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 01:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 01:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 01:31:03] Production.INFO: ==27033== Lock acquired, processing the job...
[2025-01-10 01:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 01:31:03] Production.INFO: ==27025== Lock acquired, processing the job...
[2025-01-10 01:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 01:31:03] Production.INFO: ==27023== Lock acquired, processing the job...
[2025-01-10 01:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 01:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 01:31:03] Production.INFO: count ==21
[2025-01-10 01:31:03] Production.INFO: ==27029== Lock acquired, processing the job...
[2025-01-10 01:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 01:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:31:03] Production.INFO: count ==21
[2025-01-10 01:31:03] Production.INFO: ==27031== Lock acquired, processing the job...
[2025-01-10 01:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 01:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213562') start
[2025-01-10 01:31:03] Production.INFO: Account Balance Start.
[2025-01-10 01:31:03] Production.INFO: CreateAllLog Start
[2025-01-10 01:31:03] Production.INFO: 117
[2025-01-10 01:31:03] Production.INFO: ==27025== Releasing lock...
[2025-01-10 01:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 01:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 01:31:03] Production.INFO: Date 2025-01-08
[2025-01-10 01:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213562') end
[2025-01-10 01:31:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 01:31:03] Production.INFO: 1
[2025-01-10 01:31:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 01:31:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:31:03] Production.INFO: Date 2025-01-09
[2025-01-10 01:31:03] Production.INFO: ==27033== Releasing lock...
[2025-01-10 01:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 01:31:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 01:31:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:31:04] Production.ERROR: done
[2025-01-10 01:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 01:31:04] Production.INFO: Date 2025-01-10
[2025-01-10 01:31:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:31:04] Production.INFO: Total Charge 0
[2025-01-10 01:31:04] Production.INFO: CreateAllLog End
[2025-01-10 01:31:04] Production.ERROR: done
[2025-01-10 01:31:04] Production.INFO: Account Balance End.
[2025-01-10 01:31:04] Production.ERROR: CronJobId end 12
[2025-01-10 01:31:04] Production.INFO: ==27029== Releasing lock...
[2025-01-10 01:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 01:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 01:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 22:31:05
[end_date_ymd] => 2025-01-10 01:31:05
[RateCDR] => 1
)
[2025-01-10 01:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 22:31:05' and `end` < '2025-01-10 01:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 01:31:11] Production.ERROR: CronJobId end10
[2025-01-10 01:31:11] Production.INFO: ==27027== Releasing lock...
[2025-01-10 01:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 01:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 01:31:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 01:31:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 01:31:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 01:31:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 01:31:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 01:31:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 01:31:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 01:31:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 01:31:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 01:31:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 01:31:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 01:31:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 01:31:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 01:31:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 01:31:14] Production.INFO: call_cost start
[2025-01-10 01:31:14] Production.INFO: call_cost end
[2025-01-10 01:31:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 01:31:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 01:31:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 01:31:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 01:31:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 01:31:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 01:31:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 01:31:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 01:31:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 01:31:14] Production.INFO: ==27023== Releasing lock...
[2025-01-10 01:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 01:31:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 01:31:19] Production.INFO: count ==175
[2025-01-10 01:31:19] Production.ERROR: pbx CDR StartTime 2025-01-09 22:31:05 - End Time 2025-01-10 01:31:05
[2025-01-10 01:31:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 01:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213566', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213566', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213566', 'tblTempVendorCDR_20' ) start
[2025-01-10 01:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213566', 'tblTempVendorCDR_20' ) end
[2025-01-10 01:31:19] Production.INFO: ProcessCDR(1,14213566,1,1,2)
[2025-01-10 01:31:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213566,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:31:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213566,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:31:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213566,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:31:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213566,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213566', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213566', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:31:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:31:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:31:22] Production.INFO: ==27031== Releasing lock...
[2025-01-10 01:31:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 01:31:22] Production.INFO: 29 MB #Memory Used#
[2025-01-10 06:32:02] Production.INFO: ==27117== Lock acquired, processing the job...
[2025-01-10 06:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 06:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 06:32:02] Production.INFO: neon service started
[2025-01-10 06:32:02] Production.INFO: neon service started
[2025-01-10 06:32:02] Production.INFO: ==27117== Releasing lock...
[2025-01-10 06:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 06:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 06:32:02] Production.INFO: ==27121== Lock acquired, processing the job...
[2025-01-10 06:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 06:32:02] Production.INFO: ==27121== Releasing lock...
[2025-01-10 06:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 06:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 01:32:02] Production.INFO: ==27119== Lock acquired, processing the job...
[2025-01-10 01:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 01:32:02] Production.INFO: ==27119== Releasing lock...
[2025-01-10 01:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 01:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:32:03] Production.INFO: ==27130== Lock acquired, processing the job...
[2025-01-10 01:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 01:32:03] Production.INFO: ==27134== Lock acquired, processing the job...
[2025-01-10 01:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 01:32:03] Production.INFO: Account Balance Start.
[2025-01-10 01:32:03] Production.INFO: CreateAllLog Start
[2025-01-10 01:32:03] Production.INFO: 117
[2025-01-10 01:32:03] Production.INFO: Date 2025-01-08
[2025-01-10 01:32:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:32:03] Production.INFO: Date 2025-01-09
[2025-01-10 01:32:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:32:03] Production.INFO: Date 2025-01-10
[2025-01-10 01:32:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:32:03] Production.INFO: ==27124== Lock acquired, processing the job...
[2025-01-10 01:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 01:32:03] Production.INFO: Total Charge 0
[2025-01-10 01:32:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:32:03] Production.INFO: CreateAllLog End
[2025-01-10 01:32:03] Production.INFO: ==27126== Lock acquired, processing the job...
[2025-01-10 01:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 01:32:03] Production.INFO: count ==21
[2025-01-10 01:32:04] Production.INFO: ==27128== Lock acquired, processing the job...
[2025-01-10 01:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 01:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:32:04] Production.INFO: count ==21
[2025-01-10 01:32:04] Production.INFO: ==27132== Lock acquired, processing the job...
[2025-01-10 01:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 01:32:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 01:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213568') start
[2025-01-10 01:32:04] Production.INFO: Account Balance End.
[2025-01-10 01:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 01:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 01:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 01:32:04] Production.ERROR: CronJobId end 12
[2025-01-10 01:32:04] Production.INFO: ==27130== Releasing lock...
[2025-01-10 01:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 01:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 01:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 01:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213568') end
[2025-01-10 01:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 01:32:04] Production.INFO: 1
[2025-01-10 01:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 01:32:04] Production.INFO: ==27134== Releasing lock...
[2025-01-10 01:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 01:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 01:32:04] Production.INFO: ==27126== Releasing lock...
[2025-01-10 01:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 01:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 01:32:04] Production.ERROR: done
[2025-01-10 01:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 01:32:04] Production.ERROR: done
[2025-01-10 01:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 22:32:05
[end_date_ymd] => 2025-01-10 01:32:05
[RateCDR] => 1
)
[2025-01-10 01:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 22:32:05' and `end` < '2025-01-10 01:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 01:32:11] Production.ERROR: CronJobId end10
[2025-01-10 01:32:11] Production.INFO: ==27128== Releasing lock...
[2025-01-10 01:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 01:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 01:32:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 01:32:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 01:32:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 01:32:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 01:32:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 01:32:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 01:32:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 01:32:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 01:32:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 01:32:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 01:32:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 01:32:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 01:32:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 01:32:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 01:32:13] Production.INFO: call_cost start
[2025-01-10 01:32:13] Production.INFO: call_cost end
[2025-01-10 01:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 01:32:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 01:32:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 01:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 01:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 01:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 01:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 01:32:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 01:32:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 01:32:14] Production.INFO: ==27124== Releasing lock...
[2025-01-10 01:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 01:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 01:32:19] Production.INFO: count ==174
[2025-01-10 01:32:19] Production.ERROR: pbx CDR StartTime 2025-01-09 22:32:05 - End Time 2025-01-10 01:32:05
[2025-01-10 01:32:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 01:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213571', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213571', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213571', 'tblTempVendorCDR_20' ) start
[2025-01-10 01:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213571', 'tblTempVendorCDR_20' ) end
[2025-01-10 01:32:19] Production.INFO: ProcessCDR(1,14213571,1,1,2)
[2025-01-10 01:32:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213571,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:32:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213571,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:32:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213571,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:32:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213571,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213571', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213571', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:32:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:32:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:32:22] Production.INFO: ==27132== Releasing lock...
[2025-01-10 01:32:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 01:32:22] Production.INFO: 29 MB #Memory Used#
[2025-01-10 06:33:01] Production.INFO: ==27261== Lock acquired, processing the job...
[2025-01-10 06:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 06:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 06:33:01] Production.INFO: neon service started
[2025-01-10 06:33:01] Production.INFO: neon service started
[2025-01-10 06:33:01] Production.INFO: ==27261== Releasing lock...
[2025-01-10 06:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 06:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 01:33:02] Production.INFO: ==27264== Lock acquired, processing the job...
[2025-01-10 01:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:33:02] Production.INFO: ==27266== Lock acquired, processing the job...
[2025-01-10 06:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 06:33:02] Production.INFO: ==27266== Releasing lock...
[2025-01-10 06:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 06:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 01:33:02] Production.INFO: ==27264== Releasing lock...
[2025-01-10 01:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 01:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:33:03] Production.INFO: ==27268== Lock acquired, processing the job...
[2025-01-10 01:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 01:33:03] Production.INFO: ==27270== Lock acquired, processing the job...
[2025-01-10 01:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 01:33:03] Production.INFO: ==27276== Lock acquired, processing the job...
[2025-01-10 01:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 01:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 01:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:33:03] Production.INFO: ==27272== Lock acquired, processing the job...
[2025-01-10 01:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 01:33:03] Production.INFO: ==27270== Releasing lock...
[2025-01-10 01:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 01:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 01:33:03] Production.INFO: ==27274== Lock acquired, processing the job...
[2025-01-10 01:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 01:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 01:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 01:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 01:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 01:33:03] Production.INFO: ==27278== Lock acquired, processing the job...
[2025-01-10 01:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 01:33:03] Production.ERROR: done
[2025-01-10 01:33:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 01:33:03] Production.INFO: Account Balance Start.
[2025-01-10 01:33:03] Production.INFO: CreateAllLog Start
[2025-01-10 01:33:03] Production.INFO: 117
[2025-01-10 01:33:03] Production.INFO: Date 2025-01-08
[2025-01-10 01:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:33:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:33:03] Production.INFO: count ==21
[2025-01-10 01:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:33:03] Production.INFO: count ==21
[2025-01-10 01:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213575') start
[2025-01-10 01:33:03] Production.INFO: Date 2025-01-09
[2025-01-10 01:33:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:33:03] Production.ERROR: done
[2025-01-10 01:33:03] Production.INFO: Date 2025-01-10
[2025-01-10 01:33:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:33:03] Production.INFO: Total Charge 0
[2025-01-10 01:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213575') end
[2025-01-10 01:33:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 01:33:03] Production.INFO: 1
[2025-01-10 01:33:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 01:33:03] Production.INFO: CreateAllLog End
[2025-01-10 01:33:04] Production.INFO: ==27278== Releasing lock...
[2025-01-10 01:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 01:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 01:33:04] Production.INFO: Account Balance End.
[2025-01-10 01:33:04] Production.ERROR: CronJobId end 12
[2025-01-10 01:33:04] Production.INFO: ==27274== Releasing lock...
[2025-01-10 01:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 01:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 01:33:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 22:33:04
[end_date_ymd] => 2025-01-10 01:33:04
[RateCDR] => 1
)
[2025-01-10 01:33:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 22:33:04' and `end` < '2025-01-10 01:33:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 01:33:11] Production.ERROR: CronJobId end10
[2025-01-10 01:33:11] Production.INFO: ==27272== Releasing lock...
[2025-01-10 01:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 01:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 01:33:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 01:33:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 01:33:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 01:33:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 01:33:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 01:33:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 01:33:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 01:33:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 01:33:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 01:33:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 01:33:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 01:33:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 01:33:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 01:33:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 01:33:13] Production.INFO: call_cost start
[2025-01-10 01:33:13] Production.INFO: call_cost end
[2025-01-10 01:33:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 01:33:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 01:33:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 01:33:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 01:33:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 01:33:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 01:33:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 01:33:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 01:33:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 01:33:13] Production.INFO: ==27268== Releasing lock...
[2025-01-10 01:33:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 01:33:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 01:33:18] Production.INFO: count ==174
[2025-01-10 01:33:18] Production.ERROR: pbx CDR StartTime 2025-01-09 22:33:04 - End Time 2025-01-10 01:33:04
[2025-01-10 01:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 01:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213576', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213576', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213576', 'tblTempVendorCDR_20' ) start
[2025-01-10 01:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213576', 'tblTempVendorCDR_20' ) end
[2025-01-10 01:33:18] Production.INFO: ProcessCDR(1,14213576,1,1,2)
[2025-01-10 01:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213576,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213576,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213576,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213576,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213576', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213576', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:33:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:33:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:33:21] Production.INFO: ==27276== Releasing lock...
[2025-01-10 01:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 01:33:21] Production.INFO: 29 MB #Memory Used#
[2025-01-10 06:34:01] Production.INFO: ==27359== Lock acquired, processing the job...
[2025-01-10 06:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 06:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 06:34:01] Production.INFO: neon service started
[2025-01-10 06:34:02] Production.INFO: neon service started
[2025-01-10 06:34:02] Production.INFO: ==27359== Releasing lock...
[2025-01-10 06:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 06:34:02] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 01:34:02] Production.INFO: ==27361== Lock acquired, processing the job...
[2025-01-10 01:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:34:02] Production.INFO: ==27363== Lock acquired, processing the job...
[2025-01-10 06:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 01:34:02] Production.INFO: ==27361== Releasing lock...
[2025-01-10 01:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 01:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 06:34:02] Production.INFO: ==27363== Releasing lock...
[2025-01-10 06:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 06:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 01:34:03] Production.INFO: ==27365== Lock acquired, processing the job...
[2025-01-10 01:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 01:34:03] Production.INFO: ==27367== Lock acquired, processing the job...
[2025-01-10 01:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 01:34:03] Production.INFO: ==27371== Lock acquired, processing the job...
[2025-01-10 01:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 01:34:03] Production.INFO: Account Balance Start.
[2025-01-10 01:34:03] Production.INFO: CreateAllLog Start
[2025-01-10 01:34:03] Production.INFO: 117
[2025-01-10 01:34:03] Production.INFO: Date 2025-01-08
[2025-01-10 01:34:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:34:03] Production.INFO: Date 2025-01-09
[2025-01-10 01:34:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:34:03] Production.INFO: Date 2025-01-10
[2025-01-10 01:34:03] Production.INFO: ==27369== Lock acquired, processing the job...
[2025-01-10 01:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 01:34:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:34:03] Production.INFO: ==27373== Lock acquired, processing the job...
[2025-01-10 01:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 01:34:03] Production.INFO: ==27375== Lock acquired, processing the job...
[2025-01-10 01:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 01:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 01:34:03] Production.INFO: Total Charge 0
[2025-01-10 01:34:03] Production.INFO: CreateAllLog End
[2025-01-10 01:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 01:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 01:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 01:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 01:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:34:03] Production.INFO: count ==21
[2025-01-10 01:34:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:34:03] Production.INFO: count ==21
[2025-01-10 01:34:03] Production.INFO: ==27367== Releasing lock...
[2025-01-10 01:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 01:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 01:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213580') start
[2025-01-10 01:34:04] Production.INFO: Account Balance End.
[2025-01-10 01:34:04] Production.ERROR: CronJobId end 12
[2025-01-10 01:34:04] Production.INFO: ==27371== Releasing lock...
[2025-01-10 01:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 01:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 01:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213580') end
[2025-01-10 01:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 01:34:04] Production.INFO: 1
[2025-01-10 01:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 01:34:04] Production.ERROR: done
[2025-01-10 01:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 01:34:04] Production.INFO: ==27375== Releasing lock...
[2025-01-10 01:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 01:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 01:34:04] Production.ERROR: done
[2025-01-10 01:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 22:34:05
[end_date_ymd] => 2025-01-10 01:34:05
[RateCDR] => 1
)
[2025-01-10 01:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 22:34:05' and `end` < '2025-01-10 01:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 01:34:11] Production.ERROR: CronJobId end10
[2025-01-10 01:34:11] Production.INFO: ==27369== Releasing lock...
[2025-01-10 01:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 01:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 01:34:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 01:34:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 01:34:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 01:34:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 01:34:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 01:34:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 01:34:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 01:34:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 01:34:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 01:34:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 01:34:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 01:34:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 01:34:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 01:34:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 01:34:13] Production.INFO: call_cost start
[2025-01-10 01:34:13] Production.INFO: call_cost end
[2025-01-10 01:34:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 01:34:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 01:34:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 01:34:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 01:34:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 01:34:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 01:34:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 01:34:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 01:34:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 01:34:13] Production.INFO: ==27365== Releasing lock...
[2025-01-10 01:34:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 01:34:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 01:34:20] Production.INFO: count ==173
[2025-01-10 01:34:20] Production.ERROR: pbx CDR StartTime 2025-01-09 22:34:05 - End Time 2025-01-10 01:34:05
[2025-01-10 01:34:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 01:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213581', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213581', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213581', 'tblTempVendorCDR_20' ) start
[2025-01-10 01:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213581', 'tblTempVendorCDR_20' ) end
[2025-01-10 01:34:20] Production.INFO: ProcessCDR(1,14213581,1,1,2)
[2025-01-10 01:34:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213581,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:34:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213581,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:34:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213581,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:34:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213581,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:34:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213581', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:34:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213581', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:34:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:34:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:34:23] Production.INFO: ==27373== Releasing lock...
[2025-01-10 01:34:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 01:34:23] Production.INFO: 29 MB #Memory Used#
[2025-01-10 06:35:01] Production.INFO: ==27430== Lock acquired, processing the job...
[2025-01-10 06:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 06:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 06:35:01] Production.INFO: neon service started
[2025-01-10 06:35:01] Production.INFO: neon service started
[2025-01-10 06:35:01] Production.INFO: ==27430== Releasing lock...
[2025-01-10 06:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 06:35:01] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 01:35:01] Production.INFO: ==27432== Lock acquired, processing the job...
[2025-01-10 01:35:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 01:35:02] Production.INFO: ==27432== Releasing lock...
[2025-01-10 01:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 01:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 06:35:02] Production.INFO: ==27434== Lock acquired, processing the job...
[2025-01-10 06:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 06:35:02] Production.INFO: ==27434== Releasing lock...
[2025-01-10 06:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 06:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 01:35:02] Production.INFO: ==27440== Lock acquired, processing the job...
[2025-01-10 01:35:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 01:35:02] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 01:35:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 01:35:02] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 01:35:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 01:35:02] Production.INFO: ==27447== Lock acquired, processing the job...
[2025-01-10 01:35:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 01:35:03] Production.INFO: ==27436== Lock acquired, processing the job...
[2025-01-10 01:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 01:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:35:03] Production.INFO: ==27438== Lock acquired, processing the job...
[2025-01-10 01:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 01:35:03] Production.INFO: count ==21
[2025-01-10 01:35:03] Production.INFO: ==27444== Lock acquired, processing the job...
[2025-01-10 01:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 01:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 01:35:03] Production.INFO: ==27442== Lock acquired, processing the job...
[2025-01-10 01:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 01:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:35:03] Production.INFO: count ==21
[2025-01-10 01:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213582') start
[2025-01-10 01:35:03] Production.INFO: Account Balance Start.
[2025-01-10 01:35:03] Production.INFO: CreateAllLog Start
[2025-01-10 01:35:03] Production.INFO: 117
[2025-01-10 01:35:03] Production.INFO: Date 2025-01-08
[2025-01-10 01:35:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213582') end
[2025-01-10 01:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 01:35:03] Production.INFO: 1
[2025-01-10 01:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 01:35:03] Production.INFO: ==27447== Releasing lock...
[2025-01-10 01:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 01:35:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 01:35:03] Production.INFO: Date 2025-01-09
[2025-01-10 01:35:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:35:03] Production.INFO: ==27438== Releasing lock...
[2025-01-10 01:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 01:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 01:35:03] Production.INFO: Date 2025-01-10
[2025-01-10 01:35:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:35:03] Production.ERROR: done
[2025-01-10 01:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 01:35:03] Production.INFO: Total Charge 0
[2025-01-10 01:35:03] Production.INFO: CreateAllLog End
[2025-01-10 01:35:03] Production.ERROR: done
[2025-01-10 01:35:03] Production.INFO: Account Balance End.
[2025-01-10 01:35:03] Production.ERROR: CronJobId end 12
[2025-01-10 01:35:03] Production.INFO: ==27442== Releasing lock...
[2025-01-10 01:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 01:35:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 01:35:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 22:35:04
[end_date_ymd] => 2025-01-10 01:35:04
[RateCDR] => 1
)
[2025-01-10 01:35:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 22:35:04' and `end` < '2025-01-10 01:35:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 01:35:10] Production.ERROR: CronJobId end10
[2025-01-10 01:35:10] Production.INFO: ==27440== Releasing lock...
[2025-01-10 01:35:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 01:35:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 01:35:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 01:35:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 01:35:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 01:35:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 01:35:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 01:35:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 01:35:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 01:35:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 01:35:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 01:35:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 01:35:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 01:35:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 01:35:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 01:35:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 01:35:12] Production.INFO: call_cost start
[2025-01-10 01:35:12] Production.INFO: call_cost end
[2025-01-10 01:35:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 01:35:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 01:35:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 01:35:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 01:35:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 01:35:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 01:35:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 01:35:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 01:35:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 01:35:13] Production.INFO: ==27436== Releasing lock...
[2025-01-10 01:35:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 01:35:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 01:35:17] Production.INFO: count ==172
[2025-01-10 01:35:17] Production.ERROR: pbx CDR StartTime 2025-01-09 22:35:04 - End Time 2025-01-10 01:35:04
[2025-01-10 01:35:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 01:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213586', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213586', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213586', 'tblTempVendorCDR_20' ) start
[2025-01-10 01:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213586', 'tblTempVendorCDR_20' ) end
[2025-01-10 01:35:17] Production.INFO: ProcessCDR(1,14213586,1,1,2)
[2025-01-10 01:35:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213586,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:35:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213586,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:35:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213586,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213586,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213586', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213586', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:35:21] Production.INFO: ==27444== Releasing lock...
[2025-01-10 01:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 01:35:21] Production.INFO: 29 MB #Memory Used#
[2025-01-10 06:36:01] Production.INFO: ==27501== Lock acquired, processing the job...
[2025-01-10 06:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 06:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 06:36:01] Production.INFO: neon service started
[2025-01-10 06:36:01] Production.INFO: neon service started
[2025-01-10 06:36:01] Production.INFO: ==27501== Releasing lock...
[2025-01-10 06:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 06:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 01:36:02] Production.INFO: ==27503== Lock acquired, processing the job...
[2025-01-10 01:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 01:36:02] Production.INFO: ==27503== Releasing lock...
[2025-01-10 01:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 01:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 06:36:02] Production.INFO: ==27505== Lock acquired, processing the job...
[2025-01-10 06:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 06:36:02] Production.INFO: ==27505== Releasing lock...
[2025-01-10 06:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 06:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 01:36:03] Production.INFO: ==27514== Lock acquired, processing the job...
[2025-01-10 01:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 01:36:03] Production.INFO: ==27508== Lock acquired, processing the job...
[2025-01-10 01:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 01:36:03] Production.INFO: Account Balance Start.
[2025-01-10 01:36:03] Production.INFO: CreateAllLog Start
[2025-01-10 01:36:03] Production.INFO: 117
[2025-01-10 01:36:03] Production.INFO: Date 2025-01-08
[2025-01-10 01:36:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:36:03] Production.INFO: ==27518== Lock acquired, processing the job...
[2025-01-10 01:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 01:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 01:36:03] Production.INFO: Date 2025-01-09
[2025-01-10 01:36:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:36:03] Production.INFO: ==27510== Lock acquired, processing the job...
[2025-01-10 01:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 01:36:03] Production.INFO: Date 2025-01-10
[2025-01-10 01:36:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:36:03] Production.INFO: ==27512== Lock acquired, processing the job...
[2025-01-10 01:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 01:36:03] Production.INFO: count ==21
[2025-01-10 01:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:36:03] Production.INFO: count ==21
[2025-01-10 01:36:03] Production.INFO: Total Charge 0
[2025-01-10 01:36:03] Production.INFO: ==27516== Lock acquired, processing the job...
[2025-01-10 01:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 01:36:03] Production.INFO: CreateAllLog End
[2025-01-10 01:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213589') start
[2025-01-10 01:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 01:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 01:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 01:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 01:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:36:03] Production.INFO: ==27510== Releasing lock...
[2025-01-10 01:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 01:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 01:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213589') end
[2025-01-10 01:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 01:36:04] Production.INFO: 1
[2025-01-10 01:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 01:36:04] Production.INFO: ==27518== Releasing lock...
[2025-01-10 01:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 01:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 01:36:04] Production.INFO: Account Balance End.
[2025-01-10 01:36:04] Production.ERROR: done
[2025-01-10 01:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 01:36:04] Production.ERROR: CronJobId end 12
[2025-01-10 01:36:04] Production.INFO: ==27514== Releasing lock...
[2025-01-10 01:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 01:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 01:36:04] Production.ERROR: done
[2025-01-10 01:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 22:36:05
[end_date_ymd] => 2025-01-10 01:36:05
[RateCDR] => 1
)
[2025-01-10 01:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 22:36:05' and `end` < '2025-01-10 01:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 01:36:11] Production.ERROR: CronJobId end10
[2025-01-10 01:36:11] Production.INFO: ==27512== Releasing lock...
[2025-01-10 01:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 01:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 01:36:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 01:36:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 01:36:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 01:36:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 01:36:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 01:36:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 01:36:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 01:36:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 01:36:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 01:36:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 01:36:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 01:36:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 01:36:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 01:36:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 01:36:13] Production.INFO: call_cost start
[2025-01-10 01:36:13] Production.INFO: call_cost end
[2025-01-10 01:36:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 01:36:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 01:36:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 01:36:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 01:36:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 01:36:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 01:36:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 01:36:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 01:36:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 01:36:13] Production.INFO: ==27508== Releasing lock...
[2025-01-10 01:36:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 01:36:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 01:36:18] Production.INFO: count ==172
[2025-01-10 01:36:18] Production.ERROR: pbx CDR StartTime 2025-01-09 22:36:05 - End Time 2025-01-10 01:36:05
[2025-01-10 01:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 01:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213591', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213591', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213591', 'tblTempVendorCDR_20' ) start
[2025-01-10 01:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213591', 'tblTempVendorCDR_20' ) end
[2025-01-10 01:36:18] Production.INFO: ProcessCDR(1,14213591,1,1,2)
[2025-01-10 01:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213591,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213591,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213591,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:36:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213591,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213591', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213591', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:36:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:36:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:36:21] Production.INFO: ==27516== Releasing lock...
[2025-01-10 01:36:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 01:36:21] Production.INFO: 29 MB #Memory Used#
[2025-01-10 06:37:01] Production.INFO: ==27572== Lock acquired, processing the job...
[2025-01-10 06:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 06:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 06:37:01] Production.INFO: neon service started
[2025-01-10 06:37:01] Production.INFO: neon service started
[2025-01-10 06:37:01] Production.INFO: ==27572== Releasing lock...
[2025-01-10 06:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 06:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 01:37:01] Production.INFO: ==27574== Lock acquired, processing the job...
[2025-01-10 01:37:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:37:01] Production.INFO: ==27576== Lock acquired, processing the job...
[2025-01-10 06:37:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 01:37:02] Production.INFO: ==27574== Releasing lock...
[2025-01-10 01:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 01:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 06:37:02] Production.INFO: ==27576== Releasing lock...
[2025-01-10 06:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 06:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 01:37:02] Production.INFO: ==27578== Lock acquired, processing the job...
[2025-01-10 01:37:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 01:37:02] Production.INFO: ==27580== Lock acquired, processing the job...
[2025-01-10 01:37:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 01:37:02] Production.INFO: ==27582== Lock acquired, processing the job...
[2025-01-10 01:37:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 01:37:02] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 01:37:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 01:37:02] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 01:37:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 01:37:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 01:37:02] Production.INFO: ==27584== Lock acquired, processing the job...
[2025-01-10 01:37:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 01:37:03] Production.INFO: ==27588== Lock acquired, processing the job...
[2025-01-10 01:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 01:37:03] Production.INFO: ==27586== Lock acquired, processing the job...
[2025-01-10 01:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 01:37:03] Production.INFO: Account Balance Start.
[2025-01-10 01:37:03] Production.INFO: CreateAllLog Start
[2025-01-10 01:37:03] Production.INFO: 117
[2025-01-10 01:37:03] Production.INFO: Date 2025-01-08
[2025-01-10 01:37:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:37:03] Production.INFO: Date 2025-01-09
[2025-01-10 01:37:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:37:03] Production.INFO: ==27580== Releasing lock...
[2025-01-10 01:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 01:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 01:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:37:03] Production.INFO: Date 2025-01-10
[2025-01-10 01:37:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:37:03] Production.INFO: Total Charge 0
[2025-01-10 01:37:03] Production.INFO: CreateAllLog End
[2025-01-10 01:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:37:03] Production.INFO: count ==21
[2025-01-10 01:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:37:03] Production.INFO: count ==21
[2025-01-10 01:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213595') start
[2025-01-10 01:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213595') end
[2025-01-10 01:37:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 01:37:03] Production.INFO: 1
[2025-01-10 01:37:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 01:37:03] Production.ERROR: done
[2025-01-10 01:37:03] Production.INFO: ==27588== Releasing lock...
[2025-01-10 01:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 01:37:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 01:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 01:37:03] Production.INFO: Account Balance End.
[2025-01-10 01:37:03] Production.ERROR: done
[2025-01-10 01:37:03] Production.ERROR: CronJobId end 12
[2025-01-10 01:37:03] Production.INFO: ==27584== Releasing lock...
[2025-01-10 01:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 01:37:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 01:37:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 22:37:04
[end_date_ymd] => 2025-01-10 01:37:04
[RateCDR] => 1
)
[2025-01-10 01:37:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 22:37:04' and `end` < '2025-01-10 01:37:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 01:37:10] Production.ERROR: CronJobId end10
[2025-01-10 01:37:10] Production.INFO: ==27582== Releasing lock...
[2025-01-10 01:37:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 01:37:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 01:37:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 01:37:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 01:37:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 01:37:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 01:37:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 01:37:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 01:37:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 01:37:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 01:37:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 01:37:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 01:37:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 01:37:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 01:37:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 01:37:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 01:37:12] Production.INFO: call_cost start
[2025-01-10 01:37:12] Production.INFO: call_cost end
[2025-01-10 01:37:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 01:37:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 01:37:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 01:37:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 01:37:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 01:37:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 01:37:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 01:37:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 01:37:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 01:37:13] Production.INFO: ==27578== Releasing lock...
[2025-01-10 01:37:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 01:37:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 01:37:17] Production.INFO: count ==171
[2025-01-10 01:37:17] Production.ERROR: pbx CDR StartTime 2025-01-09 22:37:04 - End Time 2025-01-10 01:37:04
[2025-01-10 01:37:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 01:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213596', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213596', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213596', 'tblTempVendorCDR_20' ) start
[2025-01-10 01:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213596', 'tblTempVendorCDR_20' ) end
[2025-01-10 01:37:17] Production.INFO: ProcessCDR(1,14213596,1,1,2)
[2025-01-10 01:37:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213596,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:37:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213596,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:37:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213596,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:37:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213596,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:37:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213596', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:37:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213596', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:37:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:37:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:37:20] Production.INFO: ==27586== Releasing lock...
[2025-01-10 01:37:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 01:37:20] Production.INFO: 29 MB #Memory Used#
[2025-01-10 06:38:01] Production.INFO: ==27642== Lock acquired, processing the job...
[2025-01-10 06:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 06:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 06:38:01] Production.INFO: neon service started
[2025-01-10 06:38:01] Production.INFO: neon service started
[2025-01-10 06:38:01] Production.INFO: ==27642== Releasing lock...
[2025-01-10 06:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 06:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 06:38:02] Production.INFO: ==27647== Lock acquired, processing the job...
[2025-01-10 06:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 06:38:02] Production.INFO: ==27647== Releasing lock...
[2025-01-10 06:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 06:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 01:38:02] Production.INFO: ==27645== Lock acquired, processing the job...
[2025-01-10 01:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 01:38:02] Production.INFO: ==27645== Releasing lock...
[2025-01-10 01:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 01:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:38:03] Production.INFO: ==27655== Lock acquired, processing the job...
[2025-01-10 01:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 01:38:03] Production.INFO: ==27657== Lock acquired, processing the job...
[2025-01-10 01:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 01:38:03] Production.INFO: ==27649== Lock acquired, processing the job...
[2025-01-10 01:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 01:38:03] Production.INFO: Account Balance Start.
[2025-01-10 01:38:03] Production.INFO: CreateAllLog Start
[2025-01-10 01:38:03] Production.INFO: 117
[2025-01-10 01:38:03] Production.INFO: Date 2025-01-08
[2025-01-10 01:38:03] Production.INFO: ==27651== Lock acquired, processing the job...
[2025-01-10 01:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 01:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:38:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:38:03] Production.INFO: Date 2025-01-09
[2025-01-10 01:38:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:38:03] Production.INFO: ==27653== Lock acquired, processing the job...
[2025-01-10 01:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 01:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 01:38:03] Production.INFO: Date 2025-01-10
[2025-01-10 01:38:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:38:03] Production.INFO: Total Charge 0
[2025-01-10 01:38:03] Production.INFO: CreateAllLog End
[2025-01-10 01:38:03] Production.INFO: ==27659== Lock acquired, processing the job...
[2025-01-10 01:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 01:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:38:03] Production.INFO: ==27651== Releasing lock...
[2025-01-10 01:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 01:38:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 01:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 01:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 01:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 01:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 01:38:03] Production.INFO: count ==21
[2025-01-10 01:38:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:38:03] Production.ERROR: done
[2025-01-10 01:38:03] Production.INFO: count ==21
[2025-01-10 01:38:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 01:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213600') start
[2025-01-10 01:38:04] Production.INFO: Account Balance End.
[2025-01-10 01:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213600') end
[2025-01-10 01:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 01:38:04] Production.INFO: 1
[2025-01-10 01:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 01:38:04] Production.ERROR: CronJobId end 12
[2025-01-10 01:38:04] Production.INFO: ==27655== Releasing lock...
[2025-01-10 01:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 01:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 01:38:04] Production.INFO: ==27659== Releasing lock...
[2025-01-10 01:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 01:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 01:38:04] Production.ERROR: done
[2025-01-10 01:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 22:38:05
[end_date_ymd] => 2025-01-10 01:38:05
[RateCDR] => 1
)
[2025-01-10 01:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 22:38:05' and `end` < '2025-01-10 01:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 01:38:10] Production.ERROR: CronJobId end10
[2025-01-10 01:38:10] Production.INFO: ==27653== Releasing lock...
[2025-01-10 01:38:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 01:38:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 01:38:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 01:38:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 01:38:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 01:38:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 01:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 01:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 01:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 01:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 01:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 01:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 01:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 01:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 01:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 01:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 01:38:13] Production.INFO: call_cost start
[2025-01-10 01:38:13] Production.INFO: call_cost end
[2025-01-10 01:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 01:38:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 01:38:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 01:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 01:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 01:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 01:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 01:38:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 01:38:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 01:38:14] Production.INFO: ==27649== Releasing lock...
[2025-01-10 01:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 01:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 01:38:19] Production.INFO: count ==171
[2025-01-10 01:38:19] Production.ERROR: pbx CDR StartTime 2025-01-09 22:38:05 - End Time 2025-01-10 01:38:05
[2025-01-10 01:38:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 01:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213601', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213601', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213601', 'tblTempVendorCDR_20' ) start
[2025-01-10 01:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213601', 'tblTempVendorCDR_20' ) end
[2025-01-10 01:38:19] Production.INFO: ProcessCDR(1,14213601,1,1,2)
[2025-01-10 01:38:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213601,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:38:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213601,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:38:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213601,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:38:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213601,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213601', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213601', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:38:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:38:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:38:22] Production.INFO: ==27657== Releasing lock...
[2025-01-10 01:38:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 01:38:22] Production.INFO: 29 MB #Memory Used#
[2025-01-10 06:39:02] Production.INFO: ==27713== Lock acquired, processing the job...
[2025-01-10 06:39:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 06:39:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 06:39:02] Production.INFO: neon service started
[2025-01-10 06:39:02] Production.INFO: neon service started
[2025-01-10 06:39:02] Production.INFO: ==27713== Releasing lock...
[2025-01-10 06:39:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 06:39:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 06:39:02] Production.INFO: ==27717== Lock acquired, processing the job...
[2025-01-10 06:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 06:39:02] Production.INFO: ==27717== Releasing lock...
[2025-01-10 06:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 06:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 01:39:02] Production.INFO: ==27715== Lock acquired, processing the job...
[2025-01-10 01:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 01:39:02] Production.INFO: ==27715== Releasing lock...
[2025-01-10 01:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 01:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:39:03] Production.INFO: ==27719== Lock acquired, processing the job...
[2025-01-10 01:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 01:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 01:39:03] Production.INFO: ==27721== Lock acquired, processing the job...
[2025-01-10 01:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 01:39:03] Production.INFO: ==27727== Lock acquired, processing the job...
[2025-01-10 01:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 01:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:39:03] Production.INFO: ==27723== Lock acquired, processing the job...
[2025-01-10 01:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 01:39:03] Production.INFO: ==27721== Releasing lock...
[2025-01-10 01:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 01:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 01:39:03] Production.INFO: ==27725== Lock acquired, processing the job...
[2025-01-10 01:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 01:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 01:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 01:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 01:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 01:39:04] Production.INFO: ==27729== Lock acquired, processing the job...
[2025-01-10 01:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 01:39:04] Production.INFO: Account Balance Start.
[2025-01-10 01:39:04] Production.INFO: CreateAllLog Start
[2025-01-10 01:39:04] Production.INFO: 117
[2025-01-10 01:39:04] Production.INFO: Date 2025-01-08
[2025-01-10 01:39:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:39:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:39:04] Production.INFO: count ==21
[2025-01-10 01:39:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:39:04] Production.INFO: count ==21
[2025-01-10 01:39:04] Production.INFO: Date 2025-01-09
[2025-01-10 01:39:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213605') start
[2025-01-10 01:39:04] Production.ERROR: done
[2025-01-10 01:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 01:39:04] Production.INFO: Date 2025-01-10
[2025-01-10 01:39:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:39:04] Production.INFO: Total Charge 0
[2025-01-10 01:39:04] Production.INFO: CreateAllLog End
[2025-01-10 01:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213605') end
[2025-01-10 01:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 01:39:04] Production.INFO: 1
[2025-01-10 01:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 01:39:04] Production.ERROR: done
[2025-01-10 01:39:04] Production.INFO: ==27729== Releasing lock...
[2025-01-10 01:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 01:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 01:39:04] Production.INFO: Account Balance End.
[2025-01-10 01:39:04] Production.ERROR: CronJobId end 12
[2025-01-10 01:39:04] Production.INFO: ==27725== Releasing lock...
[2025-01-10 01:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 01:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 01:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 22:39:05
[end_date_ymd] => 2025-01-10 01:39:05
[RateCDR] => 1
)
[2025-01-10 01:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 22:39:05' and `end` < '2025-01-10 01:39:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 01:39:11] Production.ERROR: CronJobId end10
[2025-01-10 01:39:11] Production.INFO: ==27723== Releasing lock...
[2025-01-10 01:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 01:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 01:39:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 01:39:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 01:39:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 01:39:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 01:39:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 01:39:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 01:39:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 01:39:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 01:39:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 01:39:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 01:39:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 01:39:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 01:39:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 01:39:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 01:39:12] Production.INFO: call_cost start
[2025-01-10 01:39:12] Production.INFO: call_cost end
[2025-01-10 01:39:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 01:39:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 01:39:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 01:39:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 01:39:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 01:39:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 01:39:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 01:39:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 01:39:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 01:39:13] Production.INFO: ==27719== Releasing lock...
[2025-01-10 01:39:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 01:39:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 01:39:18] Production.INFO: count ==171
[2025-01-10 01:39:18] Production.ERROR: pbx CDR StartTime 2025-01-09 22:39:05 - End Time 2025-01-10 01:39:05
[2025-01-10 01:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 01:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213606', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213606', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213606', 'tblTempVendorCDR_20' ) start
[2025-01-10 01:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213606', 'tblTempVendorCDR_20' ) end
[2025-01-10 01:39:18] Production.INFO: ProcessCDR(1,14213606,1,1,2)
[2025-01-10 01:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213606,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213606,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213606,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213606,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213606', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213606', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:39:21] Production.INFO: ==27727== Releasing lock...
[2025-01-10 01:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 01:39:21] Production.INFO: 29 MB #Memory Used#
[2025-01-10 06:40:01] Production.INFO: ==27783== Lock acquired, processing the job...
[2025-01-10 06:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 06:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 06:40:01] Production.INFO: neon service started
[2025-01-10 06:40:01] Production.INFO: neon service started
[2025-01-10 06:40:01] Production.INFO: ==27783== Releasing lock...
[2025-01-10 06:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 06:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 01:40:02] Production.INFO: ==27785== Lock acquired, processing the job...
[2025-01-10 01:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:40:02] Production.INFO: ==27787== Lock acquired, processing the job...
[2025-01-10 06:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 06:40:02] Production.INFO: ==27787== Releasing lock...
[2025-01-10 06:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 06:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 01:40:02] Production.INFO: ==27785== Releasing lock...
[2025-01-10 01:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 01:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:40:03] Production.INFO: ==27789== Lock acquired, processing the job...
[2025-01-10 01:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 01:40:03] Production.INFO: ==27800== Lock acquired, processing the job...
[2025-01-10 01:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 01:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 01:40:03] Production.INFO: ==27802== Lock acquired, processing the job...
[2025-01-10 01:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 01:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 01:40:03] Production.INFO: ==27789== Releasing lock...
[2025-01-10 01:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 01:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 01:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:40:03] Production.INFO: ==27804== Lock acquired, processing the job...
[2025-01-10 01:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 01:40:03] Production.INFO: ==27791== Lock acquired, processing the job...
[2025-01-10 01:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 01:40:03] Production.INFO: ==27796== Lock acquired, processing the job...
[2025-01-10 01:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 01:40:03] Production.INFO: ==27793== Lock acquired, processing the job...
[2025-01-10 01:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 01:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 01:40:03] Production.INFO: ==27798== Lock acquired, processing the job...
[2025-01-10 01:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 01:40:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:40:03] Production.INFO: count ==21
[2025-01-10 01:40:03] Production.ERROR: done
[2025-01-10 01:40:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:40:03] Production.INFO: count ==21
[2025-01-10 01:40:03] Production.INFO: Account Balance Start.
[2025-01-10 01:40:03] Production.INFO: CreateAllLog Start
[2025-01-10 01:40:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 01:40:03] Production.INFO: 117
[2025-01-10 01:40:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213607') start
[2025-01-10 01:40:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213607') end
[2025-01-10 01:40:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 01:40:03] Production.INFO: 1
[2025-01-10 01:40:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 01:40:04] Production.INFO: Date 2025-01-08
[2025-01-10 01:40:04] Production.INFO: ==27804== Releasing lock...
[2025-01-10 01:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 01:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 01:40:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:40:04] Production.ERROR: done
[2025-01-10 01:40:04] Production.ERROR: done
[2025-01-10 01:40:04] Production.INFO: Date 2025-01-09
[2025-01-10 01:40:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:40:04] Production.INFO: ==27793== Releasing lock...
[2025-01-10 01:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 01:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 01:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 01:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 01:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 01:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 01:40:04] Production.INFO: Date 2025-01-10
[2025-01-10 01:40:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:40:04] Production.INFO: Total Charge 0
[2025-01-10 01:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 01:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14213612', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 01:40:04] Production.INFO: CreateAllLog End
[2025-01-10 01:40:04] Production.INFO: Account Balance End.
[2025-01-10 01:40:04] Production.ERROR: CronJobId end 12
[2025-01-10 01:40:04] Production.INFO: ==27798== Releasing lock...
[2025-01-10 01:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 01:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 01:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 22:40:05
[end_date_ymd] => 2025-01-10 01:40:05
[RateCDR] => 1
)
[2025-01-10 01:40:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 22:40:05' and `end` < '2025-01-10 01:40:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 01:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14213612', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 01:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 01:40:08] Production.INFO: ProcessCDR(1,14213612,1,1,2)
[2025-01-10 01:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14213612,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14213612,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:40:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:40:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:40:08] Production.INFO: ==27802== Releasing lock...
[2025-01-10 01:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 01:40:08] Production.INFO: 26 MB #Memory Used#
[2025-01-10 01:40:12] Production.ERROR: CronJobId end10
[2025-01-10 01:40:12] Production.INFO: ==27796== Releasing lock...
[2025-01-10 01:40:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 01:40:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 01:40:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 01:40:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 01:40:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 01:40:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 01:40:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 01:40:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 01:40:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 01:40:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 01:40:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 01:40:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 01:40:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 01:40:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 01:40:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 01:40:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 01:40:15] Production.INFO: call_cost start
[2025-01-10 01:40:15] Production.INFO: call_cost end
[2025-01-10 01:40:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 01:40:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 01:40:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 01:40:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 01:40:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 01:40:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 01:40:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 01:40:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 01:40:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 01:40:15] Production.INFO: ==27791== Releasing lock...
[2025-01-10 01:40:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 01:40:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 01:40:18] Production.INFO: count ==177
[2025-01-10 01:40:18] Production.ERROR: pbx CDR StartTime 2025-01-09 22:40:05 - End Time 2025-01-10 01:40:05
[2025-01-10 01:40:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 01:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213611', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213611', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213611', 'tblTempVendorCDR_20' ) start
[2025-01-10 01:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213611', 'tblTempVendorCDR_20' ) end
[2025-01-10 01:40:18] Production.INFO: ProcessCDR(1,14213611,1,1,2)
[2025-01-10 01:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213611,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213611,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213611,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:40:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213611,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213611', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213611', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:40:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:40:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:40:21] Production.INFO: ==27800== Releasing lock...
[2025-01-10 01:40:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 01:40:21] Production.INFO: 29 MB #Memory Used#
[2025-01-10 06:41:02] Production.INFO: ==27857== Lock acquired, processing the job...
[2025-01-10 06:41:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 06:41:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 06:41:02] Production.INFO: neon service started
[2025-01-10 06:41:02] Production.INFO: neon service started
[2025-01-10 06:41:02] Production.INFO: ==27857== Releasing lock...
[2025-01-10 06:41:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 06:41:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 01:41:02] Production.INFO: ==27860== Lock acquired, processing the job...
[2025-01-10 01:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 01:41:02] Production.INFO: ==27860== Releasing lock...
[2025-01-10 01:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 01:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 06:41:02] Production.INFO: ==27862== Lock acquired, processing the job...
[2025-01-10 06:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 06:41:02] Production.INFO: ==27862== Releasing lock...
[2025-01-10 06:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 06:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 01:41:03] Production.INFO: ==27864== Lock acquired, processing the job...
[2025-01-10 01:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 01:41:03] Production.INFO: ==27866== Lock acquired, processing the job...
[2025-01-10 01:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 01:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 01:41:03] Production.INFO: ==27870== Lock acquired, processing the job...
[2025-01-10 01:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 01:41:03] Production.INFO: ==27866== Releasing lock...
[2025-01-10 01:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 01:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 01:41:03] Production.INFO: Account Balance Start.
[2025-01-10 01:41:03] Production.INFO: CreateAllLog Start
[2025-01-10 01:41:03] Production.INFO: 117
[2025-01-10 01:41:03] Production.INFO: ==27868== Lock acquired, processing the job...
[2025-01-10 01:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 01:41:03] Production.INFO: Date 2025-01-08
[2025-01-10 01:41:03] Production.INFO: ==27872== Lock acquired, processing the job...
[2025-01-10 01:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 01:41:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:41:03] Production.INFO: ==27874== Lock acquired, processing the job...
[2025-01-10 01:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 01:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 01:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 01:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 01:41:03] Production.INFO: Date 2025-01-09
[2025-01-10 01:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 01:41:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:41:04] Production.INFO: Date 2025-01-10
[2025-01-10 01:41:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:41:04] Production.INFO: Total Charge 0
[2025-01-10 01:41:04] Production.INFO: CreateAllLog End
[2025-01-10 01:41:04] Production.ERROR: done
[2025-01-10 01:41:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 01:41:04] Production.INFO: count ==21
[2025-01-10 01:41:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:41:04] Production.INFO: count ==21
[2025-01-10 01:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213616') start
[2025-01-10 01:41:04] Production.ERROR: done
[2025-01-10 01:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213616') end
[2025-01-10 01:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 01:41:04] Production.INFO: 1
[2025-01-10 01:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 01:41:04] Production.INFO: Account Balance End.
[2025-01-10 01:41:04] Production.INFO: ==27874== Releasing lock...
[2025-01-10 01:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 01:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 01:41:04] Production.ERROR: CronJobId end 12
[2025-01-10 01:41:04] Production.INFO: ==27870== Releasing lock...
[2025-01-10 01:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 01:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 01:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 22:41:05
[end_date_ymd] => 2025-01-10 01:41:05
[RateCDR] => 1
)
[2025-01-10 01:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 22:41:05' and `end` < '2025-01-10 01:41:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 01:41:10] Production.ERROR: CronJobId end10
[2025-01-10 01:41:10] Production.INFO: ==27868== Releasing lock...
[2025-01-10 01:41:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 01:41:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 01:41:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 01:41:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 01:41:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 01:41:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 01:41:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 01:41:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 01:41:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 01:41:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 01:41:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 01:41:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 01:41:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 01:41:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 01:41:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 01:41:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 01:41:12] Production.INFO: call_cost start
[2025-01-10 01:41:12] Production.INFO: call_cost end
[2025-01-10 01:41:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 01:41:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 01:41:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 01:41:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 01:41:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 01:41:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 01:41:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 01:41:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 01:41:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 01:41:13] Production.INFO: ==27864== Releasing lock...
[2025-01-10 01:41:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 01:41:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 01:41:19] Production.INFO: count ==187
[2025-01-10 01:41:19] Production.ERROR: pbx CDR StartTime 2025-01-09 22:41:05 - End Time 2025-01-10 01:41:05
[2025-01-10 01:41:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 01:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213617', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213617', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213617', 'tblTempVendorCDR_20' ) start
[2025-01-10 01:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213617', 'tblTempVendorCDR_20' ) end
[2025-01-10 01:41:19] Production.INFO: ProcessCDR(1,14213617,1,1,2)
[2025-01-10 01:41:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213617,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:41:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213617,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:41:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213617,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:41:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213617,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213617', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213617', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:41:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:41:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:41:22] Production.INFO: ==27872== Releasing lock...
[2025-01-10 01:41:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 01:41:22] Production.INFO: 29 MB #Memory Used#
[2025-01-10 06:42:01] Production.INFO: ==27930== Lock acquired, processing the job...
[2025-01-10 06:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 06:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 06:42:01] Production.INFO: neon service started
[2025-01-10 06:42:01] Production.INFO: neon service started
[2025-01-10 06:42:01] Production.INFO: ==27930== Releasing lock...
[2025-01-10 06:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 06:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 01:42:02] Production.INFO: ==27933== Lock acquired, processing the job...
[2025-01-10 01:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 01:42:02] Production.INFO: ==27933== Releasing lock...
[2025-01-10 01:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 01:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 06:42:02] Production.INFO: ==27935== Lock acquired, processing the job...
[2025-01-10 06:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 06:42:02] Production.INFO: ==27935== Releasing lock...
[2025-01-10 06:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 06:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 01:42:03] Production.INFO: ==27943== Lock acquired, processing the job...
[2025-01-10 01:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 01:42:03] Production.INFO: ==27947== Lock acquired, processing the job...
[2025-01-10 01:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 01:42:03] Production.INFO: ==27937== Lock acquired, processing the job...
[2025-01-10 01:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 01:42:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:42:03] Production.INFO: ==27939== Lock acquired, processing the job...
[2025-01-10 01:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 01:42:03] Production.INFO: count ==21
[2025-01-10 01:42:03] Production.INFO: Account Balance Start.
[2025-01-10 01:42:03] Production.INFO: CreateAllLog Start
[2025-01-10 01:42:03] Production.INFO: ==27941== Lock acquired, processing the job...
[2025-01-10 01:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 01:42:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:42:03] Production.INFO: 117
[2025-01-10 01:42:03] Production.INFO: count ==21
[2025-01-10 01:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 01:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213619') start
[2025-01-10 01:42:03] Production.INFO: Date 2025-01-08
[2025-01-10 01:42:03] Production.INFO: ==27945== Lock acquired, processing the job...
[2025-01-10 01:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 01:42:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 01:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 01:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 01:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 01:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:42:03] Production.INFO: Date 2025-01-09
[2025-01-10 01:42:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:42:03] Production.INFO: Date 2025-01-10
[2025-01-10 01:42:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213619') end
[2025-01-10 01:42:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 01:42:03] Production.INFO: 1
[2025-01-10 01:42:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 01:42:04] Production.INFO: ==27947== Releasing lock...
[2025-01-10 01:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 01:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 01:42:04] Production.INFO: Total Charge 0
[2025-01-10 01:42:04] Production.INFO: CreateAllLog End
[2025-01-10 01:42:04] Production.INFO: ==27939== Releasing lock...
[2025-01-10 01:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 01:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 01:42:04] Production.ERROR: done
[2025-01-10 01:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 01:42:04] Production.ERROR: done
[2025-01-10 01:42:04] Production.INFO: Account Balance End.
[2025-01-10 01:42:04] Production.ERROR: CronJobId end 12
[2025-01-10 01:42:04] Production.INFO: ==27943== Releasing lock...
[2025-01-10 01:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 01:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 01:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 22:42:05
[end_date_ymd] => 2025-01-10 01:42:05
[RateCDR] => 1
)
[2025-01-10 01:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 22:42:05' and `end` < '2025-01-10 01:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 01:42:11] Production.ERROR: CronJobId end10
[2025-01-10 01:42:11] Production.INFO: ==27941== Releasing lock...
[2025-01-10 01:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 01:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 01:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 01:42:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 01:42:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 01:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 01:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 01:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 01:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 01:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 01:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 01:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 01:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 01:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 01:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 01:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 01:42:13] Production.INFO: call_cost start
[2025-01-10 01:42:13] Production.INFO: call_cost end
[2025-01-10 01:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 01:42:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 01:42:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 01:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 01:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 01:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 01:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 01:42:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 01:42:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 01:42:14] Production.INFO: ==27937== Releasing lock...
[2025-01-10 01:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 01:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 01:42:20] Production.INFO: count ==187
[2025-01-10 01:42:20] Production.ERROR: pbx CDR StartTime 2025-01-09 22:42:05 - End Time 2025-01-10 01:42:05
[2025-01-10 01:42:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 01:42:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213622', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:42:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213622', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:42:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213622', 'tblTempVendorCDR_20' ) start
[2025-01-10 01:42:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213622', 'tblTempVendorCDR_20' ) end
[2025-01-10 01:42:20] Production.INFO: ProcessCDR(1,14213622,1,1,2)
[2025-01-10 01:42:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213622,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:42:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213622,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:42:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213622,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:42:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213622,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:42:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213622', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:42:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213622', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:42:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:42:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:42:23] Production.INFO: ==27945== Releasing lock...
[2025-01-10 01:42:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 01:42:23] Production.INFO: 29 MB #Memory Used#
[2025-01-10 06:43:02] Production.INFO: ==28004== Lock acquired, processing the job...
[2025-01-10 06:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 06:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 06:43:02] Production.INFO: neon service started
[2025-01-10 06:43:02] Production.INFO: neon service started
[2025-01-10 06:43:02] Production.INFO: ==28004== Releasing lock...
[2025-01-10 06:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 06:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 01:43:02] Production.INFO: ==28006== Lock acquired, processing the job...
[2025-01-10 01:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 01:43:02] Production.INFO: ==28006== Releasing lock...
[2025-01-10 01:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 01:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 06:43:02] Production.INFO: ==28008== Lock acquired, processing the job...
[2025-01-10 06:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 06:43:03] Production.INFO: ==28008== Releasing lock...
[2025-01-10 06:43:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 06:43:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 01:43:03] Production.INFO: ==28011== Lock acquired, processing the job...
[2025-01-10 01:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 01:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 01:43:03] Production.INFO: ==28013== Lock acquired, processing the job...
[2025-01-10 01:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 01:43:03] Production.INFO: ==28015== Lock acquired, processing the job...
[2025-01-10 01:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 01:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 01:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 01:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 01:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 01:43:03] Production.INFO: ==28019== Lock acquired, processing the job...
[2025-01-10 01:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 01:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:43:03] Production.INFO: ==28017== Lock acquired, processing the job...
[2025-01-10 01:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 01:43:03] Production.INFO: ==28013== Releasing lock...
[2025-01-10 01:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 01:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 01:43:03] Production.INFO: ==28021== Lock acquired, processing the job...
[2025-01-10 01:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 01:43:04] Production.INFO: Account Balance Start.
[2025-01-10 01:43:04] Production.INFO: CreateAllLog Start
[2025-01-10 01:43:04] Production.INFO: 117
[2025-01-10 01:43:04] Production.INFO: Date 2025-01-08
[2025-01-10 01:43:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:43:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:43:04] Production.ERROR: done
[2025-01-10 01:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 01:43:04] Production.INFO: Date 2025-01-09
[2025-01-10 01:43:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:43:04] Production.INFO: count ==21
[2025-01-10 01:43:04] Production.INFO: Date 2025-01-10
[2025-01-10 01:43:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:43:04] Production.ERROR: done
[2025-01-10 01:43:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:43:04] Production.INFO: Total Charge 0
[2025-01-10 01:43:04] Production.INFO: count ==21
[2025-01-10 01:43:04] Production.INFO: CreateAllLog End
[2025-01-10 01:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213626') start
[2025-01-10 01:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213626') end
[2025-01-10 01:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 01:43:04] Production.INFO: 1
[2025-01-10 01:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 01:43:04] Production.INFO: Account Balance End.
[2025-01-10 01:43:04] Production.ERROR: CronJobId end 12
[2025-01-10 01:43:04] Production.INFO: ==28017== Releasing lock...
[2025-01-10 01:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 01:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 01:43:04] Production.INFO: ==28021== Releasing lock...
[2025-01-10 01:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 01:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 01:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 22:43:05
[end_date_ymd] => 2025-01-10 01:43:05
[RateCDR] => 1
)
[2025-01-10 01:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 22:43:05' and `end` < '2025-01-10 01:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 01:43:11] Production.ERROR: CronJobId end10
[2025-01-10 01:43:11] Production.INFO: ==28015== Releasing lock...
[2025-01-10 01:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 01:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 01:43:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 01:43:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 01:43:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 01:43:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 01:43:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 01:43:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 01:43:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 01:43:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 01:43:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 01:43:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 01:43:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 01:43:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 01:43:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 01:43:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 01:43:14] Production.INFO: call_cost start
[2025-01-10 01:43:14] Production.INFO: call_cost end
[2025-01-10 01:43:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 01:43:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 01:43:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 01:43:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 01:43:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 01:43:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 01:43:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 01:43:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 01:43:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 01:43:15] Production.INFO: ==28011== Releasing lock...
[2025-01-10 01:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 01:43:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 01:43:19] Production.INFO: count ==187
[2025-01-10 01:43:19] Production.ERROR: pbx CDR StartTime 2025-01-09 22:43:05 - End Time 2025-01-10 01:43:05
[2025-01-10 01:43:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 01:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213627', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213627', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213627', 'tblTempVendorCDR_20' ) start
[2025-01-10 01:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213627', 'tblTempVendorCDR_20' ) end
[2025-01-10 01:43:19] Production.INFO: ProcessCDR(1,14213627,1,1,2)
[2025-01-10 01:43:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213627,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:43:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213627,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:43:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213627,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:43:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213627,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213627', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213627', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:43:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:43:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:43:22] Production.INFO: ==28019== Releasing lock...
[2025-01-10 01:43:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 01:43:22] Production.INFO: 29 MB #Memory Used#
[2025-01-10 06:44:01] Production.INFO: ==28074== Lock acquired, processing the job...
[2025-01-10 06:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 06:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 06:44:01] Production.INFO: neon service started
[2025-01-10 06:44:01] Production.INFO: neon service started
[2025-01-10 06:44:01] Production.INFO: ==28074== Releasing lock...
[2025-01-10 06:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 06:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 01:44:01] Production.INFO: ==28076== Lock acquired, processing the job...
[2025-01-10 01:44:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 01:44:02] Production.INFO: ==28076== Releasing lock...
[2025-01-10 01:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 01:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 06:44:02] Production.INFO: ==28078== Lock acquired, processing the job...
[2025-01-10 06:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 06:44:02] Production.INFO: ==28078== Releasing lock...
[2025-01-10 06:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 06:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 01:44:03] Production.INFO: ==28081== Lock acquired, processing the job...
[2025-01-10 01:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 01:44:03] Production.INFO: ==28089== Lock acquired, processing the job...
[2025-01-10 01:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 01:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 01:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:44:03] Production.INFO: ==28083== Lock acquired, processing the job...
[2025-01-10 01:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 01:44:03] Production.INFO: ==28085== Lock acquired, processing the job...
[2025-01-10 01:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 01:44:03] Production.INFO: ==28087== Lock acquired, processing the job...
[2025-01-10 01:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 01:44:03] Production.INFO: ==28091== Lock acquired, processing the job...
[2025-01-10 01:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 01:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 01:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 01:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 01:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 01:44:03] Production.INFO: Account Balance Start.
[2025-01-10 01:44:03] Production.INFO: CreateAllLog Start
[2025-01-10 01:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:44:03] Production.INFO: 117
[2025-01-10 01:44:03] Production.INFO: Date 2025-01-08
[2025-01-10 01:44:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:44:03] Production.INFO: count ==21
[2025-01-10 01:44:03] Production.ERROR: done
[2025-01-10 01:44:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 01:44:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:44:03] Production.INFO: count ==21
[2025-01-10 01:44:03] Production.INFO: ==28083== Releasing lock...
[2025-01-10 01:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 01:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 01:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213631') start
[2025-01-10 01:44:03] Production.INFO: Date 2025-01-09
[2025-01-10 01:44:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:44:03] Production.INFO: Date 2025-01-10
[2025-01-10 01:44:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:44:04] Production.ERROR: done
[2025-01-10 01:44:04] Production.INFO: Total Charge 0
[2025-01-10 01:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213631') end
[2025-01-10 01:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 01:44:04] Production.INFO: 1
[2025-01-10 01:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 01:44:04] Production.INFO: CreateAllLog End
[2025-01-10 01:44:04] Production.INFO: ==28091== Releasing lock...
[2025-01-10 01:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 01:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 01:44:04] Production.INFO: Account Balance End.
[2025-01-10 01:44:04] Production.ERROR: CronJobId end 12
[2025-01-10 01:44:04] Production.INFO: ==28087== Releasing lock...
[2025-01-10 01:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 01:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 01:44:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 22:44:04
[end_date_ymd] => 2025-01-10 01:44:04
[RateCDR] => 1
)
[2025-01-10 01:44:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 22:44:04' and `end` < '2025-01-10 01:44:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 01:44:10] Production.ERROR: CronJobId end10
[2025-01-10 01:44:10] Production.INFO: ==28085== Releasing lock...
[2025-01-10 01:44:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 01:44:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 01:44:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 01:44:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 01:44:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 01:44:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 01:44:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 01:44:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 01:44:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 01:44:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 01:44:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 01:44:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 01:44:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 01:44:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 01:44:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 01:44:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 01:44:12] Production.INFO: call_cost start
[2025-01-10 01:44:12] Production.INFO: call_cost end
[2025-01-10 01:44:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 01:44:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 01:44:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 01:44:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 01:44:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 01:44:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 01:44:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 01:44:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 01:44:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 01:44:13] Production.INFO: ==28081== Releasing lock...
[2025-01-10 01:44:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 01:44:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 01:44:17] Production.INFO: count ==183
[2025-01-10 01:44:17] Production.ERROR: pbx CDR StartTime 2025-01-09 22:44:04 - End Time 2025-01-10 01:44:04
[2025-01-10 01:44:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 01:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213632', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213632', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213632', 'tblTempVendorCDR_20' ) start
[2025-01-10 01:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213632', 'tblTempVendorCDR_20' ) end
[2025-01-10 01:44:17] Production.INFO: ProcessCDR(1,14213632,1,1,2)
[2025-01-10 01:44:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213632,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:44:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213632,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:44:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213632,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213632,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213632', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213632', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:44:21] Production.INFO: ==28089== Releasing lock...
[2025-01-10 01:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 01:44:21] Production.INFO: 29 MB #Memory Used#
[2025-01-10 06:45:01] Production.INFO: ==28145== Lock acquired, processing the job...
[2025-01-10 06:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 06:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 06:45:02] Production.INFO: neon service started
[2025-01-10 06:45:02] Production.INFO: neon service started
[2025-01-10 06:45:02] Production.INFO: ==28145== Releasing lock...
[2025-01-10 06:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 06:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 01:45:02] Production.INFO: ==28147== Lock acquired, processing the job...
[2025-01-10 01:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 01:45:02] Production.INFO: ==28147== Releasing lock...
[2025-01-10 01:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 01:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 06:45:02] Production.INFO: ==28149== Lock acquired, processing the job...
[2025-01-10 06:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 06:45:02] Production.INFO: ==28149== Releasing lock...
[2025-01-10 06:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 06:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 01:45:03] Production.INFO: ==28154== Lock acquired, processing the job...
[2025-01-10 01:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 01:45:03] Production.INFO: ==28152== Lock acquired, processing the job...
[2025-01-10 01:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 01:45:03] Production.INFO: ==28162== Lock acquired, processing the job...
[2025-01-10 01:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 01:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 01:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:45:03] Production.INFO: ==28156== Lock acquired, processing the job...
[2025-01-10 01:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 01:45:03] Production.INFO: ==28154== Releasing lock...
[2025-01-10 01:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 01:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 01:45:03] Production.INFO: count ==21
[2025-01-10 01:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:45:03] Production.INFO: ==28158== Lock acquired, processing the job...
[2025-01-10 01:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 01:45:03] Production.INFO: ==28160== Lock acquired, processing the job...
[2025-01-10 01:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 01:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 01:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 01:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 01:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 01:45:03] Production.INFO: count ==21
[2025-01-10 01:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213634') start
[2025-01-10 01:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:45:03] Production.INFO: Account Balance Start.
[2025-01-10 01:45:03] Production.INFO: CreateAllLog Start
[2025-01-10 01:45:03] Production.INFO: 117
[2025-01-10 01:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213634') end
[2025-01-10 01:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 01:45:03] Production.INFO: 1
[2025-01-10 01:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 01:45:04] Production.INFO: Date 2025-01-08
[2025-01-10 01:45:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:45:04] Production.INFO: ==28162== Releasing lock...
[2025-01-10 01:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 01:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 01:45:04] Production.INFO: Date 2025-01-09
[2025-01-10 01:45:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:45:04] Production.INFO: Date 2025-01-10
[2025-01-10 01:45:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:45:04] Production.ERROR: done
[2025-01-10 01:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 01:45:04] Production.INFO: Total Charge 0
[2025-01-10 01:45:04] Production.INFO: CreateAllLog End
[2025-01-10 01:45:04] Production.ERROR: done
[2025-01-10 01:45:04] Production.INFO: Account Balance End.
[2025-01-10 01:45:04] Production.ERROR: CronJobId end 12
[2025-01-10 01:45:04] Production.INFO: ==28158== Releasing lock...
[2025-01-10 01:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 01:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 01:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 22:45:05
[end_date_ymd] => 2025-01-10 01:45:05
[RateCDR] => 1
)
[2025-01-10 01:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 22:45:05' and `end` < '2025-01-10 01:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 01:45:11] Production.ERROR: CronJobId end10
[2025-01-10 01:45:11] Production.INFO: ==28156== Releasing lock...
[2025-01-10 01:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 01:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 01:45:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 01:45:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 01:45:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 01:45:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 01:45:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 01:45:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 01:45:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 01:45:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 01:45:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 01:45:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 01:45:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 01:45:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 01:45:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 01:45:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 01:45:13] Production.INFO: call_cost start
[2025-01-10 01:45:13] Production.INFO: call_cost end
[2025-01-10 01:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 01:45:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 01:45:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 01:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 01:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 01:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 01:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 01:45:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 01:45:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 01:45:14] Production.INFO: ==28152== Releasing lock...
[2025-01-10 01:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 01:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 01:45:18] Production.INFO: count ==179
[2025-01-10 01:45:18] Production.ERROR: pbx CDR StartTime 2025-01-09 22:45:05 - End Time 2025-01-10 01:45:05
[2025-01-10 01:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 01:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213637', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213637', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213637', 'tblTempVendorCDR_20' ) start
[2025-01-10 01:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213637', 'tblTempVendorCDR_20' ) end
[2025-01-10 01:45:18] Production.INFO: ProcessCDR(1,14213637,1,1,2)
[2025-01-10 01:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213637,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213637,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213637,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213637,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213637', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213637', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:45:21] Production.INFO: ==28160== Releasing lock...
[2025-01-10 01:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 01:45:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 06:46:01] Production.INFO: ==28216== Lock acquired, processing the job...
[2025-01-10 06:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 06:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 06:46:01] Production.INFO: neon service started
[2025-01-10 06:46:01] Production.INFO: neon service started
[2025-01-10 06:46:01] Production.INFO: ==28216== Releasing lock...
[2025-01-10 06:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 06:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 06:46:01] Production.INFO: ==28220== Lock acquired, processing the job...
[2025-01-10 06:46:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 06:46:01] Production.INFO: ==28220== Releasing lock...
[2025-01-10 06:46:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 06:46:01] Production.INFO: 25 MB #Memory Used#
[2025-01-10 01:46:02] Production.INFO: ==28218== Lock acquired, processing the job...
[2025-01-10 01:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 01:46:02] Production.INFO: ==28218== Releasing lock...
[2025-01-10 01:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 01:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:46:03] Production.INFO: ==28230== Lock acquired, processing the job...
[2025-01-10 01:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 01:46:03] Production.INFO: ==28233== Lock acquired, processing the job...
[2025-01-10 01:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 01:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:46:03] Production.INFO: ==28222== Lock acquired, processing the job...
[2025-01-10 01:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 01:46:03] Production.INFO: ==28224== Lock acquired, processing the job...
[2025-01-10 01:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 01:46:03] Production.INFO: ==28228== Lock acquired, processing the job...
[2025-01-10 01:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 01:46:03] Production.INFO: ==28226== Lock acquired, processing the job...
[2025-01-10 01:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 01:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 01:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:46:03] Production.INFO: count ==21
[2025-01-10 01:46:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:46:03] Production.INFO: Account Balance Start.
[2025-01-10 01:46:03] Production.INFO: CreateAllLog Start
[2025-01-10 01:46:03] Production.INFO: 117
[2025-01-10 01:46:03] Production.INFO: count ==21
[2025-01-10 01:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 01:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 01:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 01:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 01:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213638') start
[2025-01-10 01:46:03] Production.INFO: Date 2025-01-08
[2025-01-10 01:46:03] Production.ERROR: done
[2025-01-10 01:46:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 01:46:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213638') end
[2025-01-10 01:46:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 01:46:03] Production.INFO: 1
[2025-01-10 01:46:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 01:46:03] Production.INFO: Date 2025-01-09
[2025-01-10 01:46:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:46:03] Production.INFO: Date 2025-01-10
[2025-01-10 01:46:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:46:03] Production.INFO: ==28233== Releasing lock...
[2025-01-10 01:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 01:46:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 01:46:03] Production.ERROR: done
[2025-01-10 01:46:03] Production.INFO: Total Charge 0
[2025-01-10 01:46:03] Production.INFO: ==28224== Releasing lock...
[2025-01-10 01:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 01:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 01:46:04] Production.INFO: CreateAllLog End
[2025-01-10 01:46:04] Production.INFO: Account Balance End.
[2025-01-10 01:46:04] Production.ERROR: CronJobId end 12
[2025-01-10 01:46:04] Production.INFO: ==28228== Releasing lock...
[2025-01-10 01:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 01:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 01:46:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 22:46:04
[end_date_ymd] => 2025-01-10 01:46:04
[RateCDR] => 1
)
[2025-01-10 01:46:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 22:46:04' and `end` < '2025-01-10 01:46:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 01:46:11] Production.ERROR: CronJobId end10
[2025-01-10 01:46:11] Production.INFO: ==28226== Releasing lock...
[2025-01-10 01:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 01:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 01:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 01:46:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 01:46:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 01:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 01:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 01:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 01:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 01:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 01:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 01:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 01:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 01:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 01:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 01:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 01:46:13] Production.INFO: call_cost start
[2025-01-10 01:46:13] Production.INFO: call_cost end
[2025-01-10 01:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 01:46:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 01:46:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 01:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 01:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 01:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 01:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 01:46:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 01:46:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 01:46:14] Production.INFO: ==28222== Releasing lock...
[2025-01-10 01:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 01:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 01:46:19] Production.INFO: count ==178
[2025-01-10 01:46:19] Production.ERROR: pbx CDR StartTime 2025-01-09 22:46:04 - End Time 2025-01-10 01:46:04
[2025-01-10 01:46:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 01:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213642', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213642', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213642', 'tblTempVendorCDR_20' ) start
[2025-01-10 01:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213642', 'tblTempVendorCDR_20' ) end
[2025-01-10 01:46:19] Production.INFO: ProcessCDR(1,14213642,1,1,2)
[2025-01-10 01:46:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213642,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:46:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213642,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:46:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213642,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:46:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213642,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213642', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213642', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:46:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:46:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:46:22] Production.INFO: ==28230== Releasing lock...
[2025-01-10 01:46:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 01:46:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 06:47:01] Production.INFO: ==28288== Lock acquired, processing the job...
[2025-01-10 06:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 06:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 06:47:02] Production.INFO: neon service started
[2025-01-10 06:47:02] Production.INFO: neon service started
[2025-01-10 06:47:02] Production.INFO: ==28288== Releasing lock...
[2025-01-10 06:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 06:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 06:47:02] Production.INFO: ==28292== Lock acquired, processing the job...
[2025-01-10 06:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 06:47:02] Production.INFO: ==28292== Releasing lock...
[2025-01-10 06:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 06:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 01:47:02] Production.INFO: ==28290== Lock acquired, processing the job...
[2025-01-10 01:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 01:47:02] Production.INFO: ==28290== Releasing lock...
[2025-01-10 01:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 01:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:47:03] Production.INFO: ==28301== Lock acquired, processing the job...
[2025-01-10 01:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 01:47:03] Production.INFO: ==28305== Lock acquired, processing the job...
[2025-01-10 01:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 01:47:03] Production.INFO: ==28295== Lock acquired, processing the job...
[2025-01-10 01:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 01:47:03] Production.INFO: Account Balance Start.
[2025-01-10 01:47:03] Production.INFO: CreateAllLog Start
[2025-01-10 01:47:03] Production.INFO: 117
[2025-01-10 01:47:03] Production.INFO: Date 2025-01-08
[2025-01-10 01:47:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:47:03] Production.INFO: ==28297== Lock acquired, processing the job...
[2025-01-10 01:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 01:47:03] Production.INFO: ==28299== Lock acquired, processing the job...
[2025-01-10 01:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 01:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 01:47:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:47:03] Production.INFO: Date 2025-01-09
[2025-01-10 01:47:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:47:03] Production.INFO: count ==21
[2025-01-10 01:47:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:47:03] Production.INFO: count ==21
[2025-01-10 01:47:03] Production.INFO: Date 2025-01-10
[2025-01-10 01:47:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213644') start
[2025-01-10 01:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 01:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 01:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 01:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 01:47:03] Production.INFO: ==28303== Lock acquired, processing the job...
[2025-01-10 01:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 01:47:03] Production.INFO: Total Charge 0
[2025-01-10 01:47:04] Production.INFO: CreateAllLog End
[2025-01-10 01:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213644') end
[2025-01-10 01:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 01:47:04] Production.INFO: 1
[2025-01-10 01:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 01:47:04] Production.INFO: ==28305== Releasing lock...
[2025-01-10 01:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 01:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 01:47:04] Production.INFO: ==28297== Releasing lock...
[2025-01-10 01:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 01:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 01:47:04] Production.INFO: Account Balance End.
[2025-01-10 01:47:04] Production.ERROR: CronJobId end 12
[2025-01-10 01:47:04] Production.INFO: ==28301== Releasing lock...
[2025-01-10 01:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 01:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 01:47:04] Production.ERROR: done
[2025-01-10 01:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 01:47:04] Production.ERROR: done
[2025-01-10 01:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 22:47:05
[end_date_ymd] => 2025-01-10 01:47:05
[RateCDR] => 1
)
[2025-01-10 01:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 22:47:05' and `end` < '2025-01-10 01:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 01:47:10] Production.ERROR: CronJobId end10
[2025-01-10 01:47:10] Production.INFO: ==28299== Releasing lock...
[2025-01-10 01:47:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 01:47:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 01:47:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 01:47:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 01:47:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 01:47:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 01:47:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 01:47:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 01:47:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 01:47:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 01:47:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 01:47:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 01:47:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 01:47:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 01:47:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 01:47:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 01:47:12] Production.INFO: call_cost start
[2025-01-10 01:47:12] Production.INFO: call_cost end
[2025-01-10 01:47:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 01:47:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 01:47:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 01:47:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 01:47:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 01:47:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 01:47:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 01:47:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 01:47:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 01:47:13] Production.INFO: ==28295== Releasing lock...
[2025-01-10 01:47:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 01:47:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 01:47:19] Production.INFO: count ==178
[2025-01-10 01:47:19] Production.ERROR: pbx CDR StartTime 2025-01-09 22:47:05 - End Time 2025-01-10 01:47:05
[2025-01-10 01:47:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 01:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213647', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213647', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213647', 'tblTempVendorCDR_20' ) start
[2025-01-10 01:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213647', 'tblTempVendorCDR_20' ) end
[2025-01-10 01:47:19] Production.INFO: ProcessCDR(1,14213647,1,1,2)
[2025-01-10 01:47:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213647,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:47:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213647,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:47:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213647,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:47:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213647,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213647', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213647', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:47:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:47:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:47:22] Production.INFO: ==28303== Releasing lock...
[2025-01-10 01:47:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 01:47:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 06:48:01] Production.INFO: ==28360== Lock acquired, processing the job...
[2025-01-10 06:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 06:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 06:48:01] Production.INFO: neon service started
[2025-01-10 06:48:01] Production.INFO: neon service started
[2025-01-10 06:48:01] Production.INFO: ==28360== Releasing lock...
[2025-01-10 06:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 06:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 06:48:01] Production.INFO: ==28364== Lock acquired, processing the job...
[2025-01-10 06:48:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 06:48:01] Production.INFO: ==28364== Releasing lock...
[2025-01-10 06:48:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 06:48:01] Production.INFO: 25 MB #Memory Used#
[2025-01-10 01:48:01] Production.INFO: ==28362== Lock acquired, processing the job...
[2025-01-10 01:48:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 01:48:02] Production.INFO: ==28362== Releasing lock...
[2025-01-10 01:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 01:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:48:03] Production.INFO: ==28371== Lock acquired, processing the job...
[2025-01-10 01:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 01:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 01:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 01:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 01:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 01:48:03] Production.INFO: ==28367== Lock acquired, processing the job...
[2025-01-10 01:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 01:48:03] Production.INFO: ==28377== Lock acquired, processing the job...
[2025-01-10 01:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 01:48:03] Production.INFO: ==28369== Lock acquired, processing the job...
[2025-01-10 01:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 01:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 01:48:03] Production.INFO: ==28373== Lock acquired, processing the job...
[2025-01-10 01:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 01:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:48:03] Production.INFO: count ==21
[2025-01-10 01:48:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:48:03] Production.INFO: ==28375== Lock acquired, processing the job...
[2025-01-10 01:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 01:48:03] Production.INFO: count ==21
[2025-01-10 01:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213648') start
[2025-01-10 01:48:03] Production.INFO: Account Balance Start.
[2025-01-10 01:48:03] Production.INFO: CreateAllLog Start
[2025-01-10 01:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:48:03] Production.INFO: 117
[2025-01-10 01:48:03] Production.INFO: Date 2025-01-08
[2025-01-10 01:48:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213648') end
[2025-01-10 01:48:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 01:48:03] Production.INFO: 1
[2025-01-10 01:48:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 01:48:03] Production.INFO: ==28377== Releasing lock...
[2025-01-10 01:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 01:48:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 01:48:03] Production.INFO: Date 2025-01-09
[2025-01-10 01:48:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:48:03] Production.INFO: Date 2025-01-10
[2025-01-10 01:48:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:48:03] Production.INFO: Total Charge 0
[2025-01-10 01:48:03] Production.INFO: CreateAllLog End
[2025-01-10 01:48:03] Production.INFO: ==28369== Releasing lock...
[2025-01-10 01:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 01:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 01:48:04] Production.ERROR: done
[2025-01-10 01:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 01:48:04] Production.INFO: Account Balance End.
[2025-01-10 01:48:04] Production.ERROR: done
[2025-01-10 01:48:04] Production.ERROR: CronJobId end 12
[2025-01-10 01:48:04] Production.INFO: ==28373== Releasing lock...
[2025-01-10 01:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 01:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 01:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 22:48:05
[end_date_ymd] => 2025-01-10 01:48:05
[RateCDR] => 1
)
[2025-01-10 01:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 22:48:05' and `end` < '2025-01-10 01:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 01:48:10] Production.ERROR: CronJobId end10
[2025-01-10 01:48:10] Production.INFO: ==28371== Releasing lock...
[2025-01-10 01:48:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 01:48:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 01:48:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 01:48:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 01:48:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 01:48:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 01:48:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 01:48:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 01:48:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 01:48:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 01:48:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 01:48:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 01:48:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 01:48:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 01:48:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 01:48:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 01:48:12] Production.INFO: call_cost start
[2025-01-10 01:48:12] Production.INFO: call_cost end
[2025-01-10 01:48:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 01:48:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 01:48:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 01:48:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 01:48:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 01:48:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 01:48:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 01:48:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 01:48:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 01:48:13] Production.INFO: ==28367== Releasing lock...
[2025-01-10 01:48:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 01:48:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 01:48:18] Production.INFO: count ==177
[2025-01-10 01:48:18] Production.ERROR: pbx CDR StartTime 2025-01-09 22:48:05 - End Time 2025-01-10 01:48:05
[2025-01-10 01:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 01:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213652', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213652', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213652', 'tblTempVendorCDR_20' ) start
[2025-01-10 01:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213652', 'tblTempVendorCDR_20' ) end
[2025-01-10 01:48:18] Production.INFO: ProcessCDR(1,14213652,1,1,2)
[2025-01-10 01:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213652,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213652,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213652,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:48:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213652,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213652', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213652', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:48:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:48:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:48:21] Production.INFO: ==28375== Releasing lock...
[2025-01-10 01:48:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 01:48:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 06:49:01] Production.INFO: ==28472== Lock acquired, processing the job...
[2025-01-10 06:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 06:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 06:49:01] Production.INFO: neon service started
[2025-01-10 06:49:01] Production.INFO: neon service started
[2025-01-10 06:49:01] Production.INFO: ==28472== Releasing lock...
[2025-01-10 06:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 06:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 01:49:02] Production.INFO: ==28474== Lock acquired, processing the job...
[2025-01-10 01:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 01:49:02] Production.INFO: ==28474== Releasing lock...
[2025-01-10 01:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 01:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 06:49:02] Production.INFO: ==28476== Lock acquired, processing the job...
[2025-01-10 06:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 06:49:02] Production.INFO: ==28476== Releasing lock...
[2025-01-10 06:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 06:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 01:49:03] Production.INFO: ==28479== Lock acquired, processing the job...
[2025-01-10 01:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 01:49:03] Production.INFO: ==28481== Lock acquired, processing the job...
[2025-01-10 01:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 01:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 01:49:03] Production.INFO: ==28483== Lock acquired, processing the job...
[2025-01-10 01:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 01:49:03] Production.INFO: ==28485== Lock acquired, processing the job...
[2025-01-10 01:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 01:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 01:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 01:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 01:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 01:49:03] Production.INFO: ==28487== Lock acquired, processing the job...
[2025-01-10 01:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 01:49:03] Production.INFO: ==28489== Lock acquired, processing the job...
[2025-01-10 01:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 01:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:49:03] Production.INFO: Account Balance Start.
[2025-01-10 01:49:03] Production.INFO: CreateAllLog Start
[2025-01-10 01:49:03] Production.INFO: 117
[2025-01-10 01:49:03] Production.INFO: Date 2025-01-08
[2025-01-10 01:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:49:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:49:03] Production.INFO: count ==21
[2025-01-10 01:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:49:03] Production.INFO: count ==21
[2025-01-10 01:49:03] Production.INFO: ==28481== Releasing lock...
[2025-01-10 01:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 01:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 01:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213656') start
[2025-01-10 01:49:03] Production.INFO: Date 2025-01-09
[2025-01-10 01:49:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:49:04] Production.INFO: Date 2025-01-10
[2025-01-10 01:49:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:49:04] Production.ERROR: done
[2025-01-10 01:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 01:49:04] Production.INFO: Total Charge 0
[2025-01-10 01:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213656') end
[2025-01-10 01:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 01:49:04] Production.INFO: 1
[2025-01-10 01:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 01:49:04] Production.INFO: CreateAllLog End
[2025-01-10 01:49:04] Production.INFO: ==28489== Releasing lock...
[2025-01-10 01:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 01:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 01:49:04] Production.ERROR: done
[2025-01-10 01:49:04] Production.INFO: Account Balance End.
[2025-01-10 01:49:04] Production.ERROR: CronJobId end 12
[2025-01-10 01:49:04] Production.INFO: ==28485== Releasing lock...
[2025-01-10 01:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 01:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 01:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 22:49:05
[end_date_ymd] => 2025-01-10 01:49:05
[RateCDR] => 1
)
[2025-01-10 01:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 22:49:05' and `end` < '2025-01-10 01:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 01:49:11] Production.ERROR: CronJobId end10
[2025-01-10 01:49:11] Production.INFO: ==28483== Releasing lock...
[2025-01-10 01:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 01:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 01:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 01:49:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 01:49:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 01:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 01:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 01:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 01:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 01:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 01:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 01:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 01:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 01:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 01:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 01:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 01:49:13] Production.INFO: call_cost start
[2025-01-10 01:49:13] Production.INFO: call_cost end
[2025-01-10 01:49:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 01:49:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 01:49:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 01:49:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 01:49:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 01:49:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 01:49:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 01:49:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 01:49:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 01:49:14] Production.INFO: ==28479== Releasing lock...
[2025-01-10 01:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 01:49:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 01:49:19] Production.INFO: count ==176
[2025-01-10 01:49:19] Production.ERROR: pbx CDR StartTime 2025-01-09 22:49:05 - End Time 2025-01-10 01:49:05
[2025-01-10 01:49:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 01:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213657', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213657', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213657', 'tblTempVendorCDR_20' ) start
[2025-01-10 01:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213657', 'tblTempVendorCDR_20' ) end
[2025-01-10 01:49:19] Production.INFO: ProcessCDR(1,14213657,1,1,2)
[2025-01-10 01:49:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213657,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:49:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213657,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:49:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213657,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:49:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213657,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213657', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213657', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:49:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:49:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:49:23] Production.INFO: ==28487== Releasing lock...
[2025-01-10 01:49:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 01:49:23] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 06:50:02] Production.INFO: ==28545== Lock acquired, processing the job...
[2025-01-10 06:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 06:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 06:50:02] Production.INFO: neon service started
[2025-01-10 06:50:02] Production.INFO: neon service started
[2025-01-10 06:50:02] Production.INFO: ==28545== Releasing lock...
[2025-01-10 06:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 06:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 01:50:02] Production.INFO: ==28547== Lock acquired, processing the job...
[2025-01-10 01:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:50:03] Production.INFO: ==28549== Lock acquired, processing the job...
[2025-01-10 06:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 01:50:03] Production.INFO: ==28547== Releasing lock...
[2025-01-10 01:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 01:50:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 06:50:03] Production.INFO: ==28549== Releasing lock...
[2025-01-10 06:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 06:50:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 01:50:03] Production.INFO: ==28555== Lock acquired, processing the job...
[2025-01-10 01:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 01:50:04] Production.INFO: ==28551== Lock acquired, processing the job...
[2025-01-10 01:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 01:50:04] Production.INFO: ==28555== Releasing lock...
[2025-01-10 01:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 01:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 01:50:04] Production.INFO: ==28564== Lock acquired, processing the job...
[2025-01-10 01:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 01:50:04] Production.INFO: ==28553== Lock acquired, processing the job...
[2025-01-10 01:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 01:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 01:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 01:50:04] Production.ERROR: CronJob PID - 28553
[2025-01-10 01:50:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-10 01:50:04] Production.ERROR: CronJob ID - 5
[2025-01-10 01:50:04] Production.ERROR: CronJob Last Run Time 2025-01-10 01:50:00
[2025-01-10 01:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 01:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 01:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 01:50:04] Production.ERROR: CronJob PID - 28564
[2025-01-10 01:50:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-10 01:50:04] Production.ERROR: CronJob ID - 17
[2025-01-10 01:50:04] Production.ERROR: CronJob Last Run Time 2025-01-10 01:50:00
[2025-01-10 01:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 01:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 01:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:50:04] Production.INFO: ==28566== Lock acquired, processing the job...
[2025-01-10 01:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 01:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 01:50:04] Production.INFO: ==28551== Releasing lock...
[2025-01-10 01:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 01:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 01:50:04] Production.INFO: ==28557== Lock acquired, processing the job...
[2025-01-10 01:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 01:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 01:50:04] Production.INFO: ==28559== Lock acquired, processing the job...
[2025-01-10 01:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 01:50:04] Production.INFO: ==28561== Lock acquired, processing the job...
[2025-01-10 01:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 01:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 01:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 01:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 01:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 01:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:50:04] Production.INFO: Account Balance Start.
[2025-01-10 01:50:04] Production.INFO: CreateAllLog Start
[2025-01-10 01:50:04] Production.INFO: 117
[2025-01-10 01:50:04] Production.INFO: count ==21
[2025-01-10 01:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:50:04] Production.INFO: count ==21
[2025-01-10 01:50:04] Production.INFO: Date 2025-01-08
[2025-01-10 01:50:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213660') start
[2025-01-10 01:50:04] Production.ERROR: done
[2025-01-10 01:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 01:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14213662', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 01:50:04] Production.INFO: Date 2025-01-09
[2025-01-10 01:50:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:50:04] Production.INFO: Date 2025-01-10
[2025-01-10 01:50:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213660') end
[2025-01-10 01:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 01:50:04] Production.INFO: 1
[2025-01-10 01:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 01:50:04] Production.INFO: Total Charge 0
[2025-01-10 01:50:04] Production.INFO: CreateAllLog End
[2025-01-10 01:50:04] Production.INFO: ==28566== Releasing lock...
[2025-01-10 01:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 01:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 01:50:04] Production.ERROR: done
[2025-01-10 01:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 01:50:05] Production.ERROR: done
[2025-01-10 01:50:05] Production.INFO: Account Balance End.
[2025-01-10 01:50:05] Production.ERROR: CronJobId end 12
[2025-01-10 01:50:05] Production.INFO: ==28559== Releasing lock...
[2025-01-10 01:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 01:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 01:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 22:50:06
[end_date_ymd] => 2025-01-10 01:50:06
[RateCDR] => 1
)
[2025-01-10 01:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 22:50:06' and `end` < '2025-01-10 01:50:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 01:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14213662', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 01:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 01:50:09] Production.INFO: ProcessCDR(1,14213662,1,1,2)
[2025-01-10 01:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14213662,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14213662,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:50:09] Production.INFO: ==28564== Releasing lock...
[2025-01-10 01:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 01:50:09] Production.INFO: 26 MB #Memory Used#
[2025-01-10 01:50:13] Production.ERROR: CronJobId end10
[2025-01-10 01:50:13] Production.INFO: ==28557== Releasing lock...
[2025-01-10 01:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 01:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 01:50:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 01:50:15] Production.INFO: ============== Balance Warning START===========
[2025-01-10 01:50:15] Production.INFO: ============== Balance Warning END===========
[2025-01-10 01:50:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 01:50:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 01:50:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 01:50:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 01:50:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 01:50:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 01:50:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 01:50:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 01:50:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 01:50:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 01:50:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 01:50:15] Production.INFO: call_cost start
[2025-01-10 01:50:15] Production.INFO: call_cost end
[2025-01-10 01:50:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 01:50:16] Production.INFO: ============== Report Schedule START===========
[2025-01-10 01:50:16] Production.INFO: ============== Report Schedule END===========
[2025-01-10 01:50:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 01:50:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 01:50:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 01:50:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 01:50:16] Production.INFO: ============== Deal alert START===========
[2025-01-10 01:50:16] Production.INFO: ============== Deal alert END===========
[2025-01-10 01:50:16] Production.INFO: ==28553== Releasing lock...
[2025-01-10 01:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 01:50:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 01:50:19] Production.INFO: count ==184
[2025-01-10 01:50:19] Production.ERROR: pbx CDR StartTime 2025-01-09 22:50:06 - End Time 2025-01-10 01:50:06
[2025-01-10 01:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 01:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213663', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213663', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213663', 'tblTempVendorCDR_20' ) start
[2025-01-10 01:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213663', 'tblTempVendorCDR_20' ) end
[2025-01-10 01:50:19] Production.INFO: ProcessCDR(1,14213663,1,1,2)
[2025-01-10 01:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213663,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213663,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213663,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:50:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213663,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213663', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213663', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:50:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:50:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:50:22] Production.INFO: ==28561== Releasing lock...
[2025-01-10 01:50:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 01:50:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 06:51:01] Production.INFO: ==28619== Lock acquired, processing the job...
[2025-01-10 06:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 06:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 06:51:01] Production.INFO: neon service started
[2025-01-10 06:51:01] Production.INFO: neon service started
[2025-01-10 06:51:01] Production.INFO: ==28619== Releasing lock...
[2025-01-10 06:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 06:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 01:51:02] Production.INFO: ==28621== Lock acquired, processing the job...
[2025-01-10 01:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:51:02] Production.INFO: ==28623== Lock acquired, processing the job...
[2025-01-10 06:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 06:51:02] Production.INFO: ==28623== Releasing lock...
[2025-01-10 06:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 06:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 01:51:02] Production.INFO: ==28621== Releasing lock...
[2025-01-10 01:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 01:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:51:03] Production.INFO: ==28630== Lock acquired, processing the job...
[2025-01-10 01:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 01:51:03] Production.INFO: ==28632== Lock acquired, processing the job...
[2025-01-10 01:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 01:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 01:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 01:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 01:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 01:51:03] Production.INFO: ==28626== Lock acquired, processing the job...
[2025-01-10 01:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 01:51:03] Production.INFO: Account Balance Start.
[2025-01-10 01:51:03] Production.INFO: CreateAllLog Start
[2025-01-10 01:51:03] Production.INFO: 117
[2025-01-10 01:51:03] Production.INFO: ==28628== Lock acquired, processing the job...
[2025-01-10 01:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 01:51:03] Production.INFO: Date 2025-01-08
[2025-01-10 01:51:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 01:51:03] Production.INFO: Date 2025-01-09
[2025-01-10 01:51:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:51:03] Production.INFO: ==28634== Lock acquired, processing the job...
[2025-01-10 01:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 01:51:03] Production.INFO: ==28636== Lock acquired, processing the job...
[2025-01-10 01:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 01:51:03] Production.INFO: Date 2025-01-10
[2025-01-10 01:51:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:51:03] Production.INFO: Total Charge 0
[2025-01-10 01:51:03] Production.INFO: CreateAllLog End
[2025-01-10 01:51:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:51:04] Production.INFO: count ==21
[2025-01-10 01:51:04] Production.ERROR: done
[2025-01-10 01:51:04] Production.INFO: ==28628== Releasing lock...
[2025-01-10 01:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 01:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 01:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 01:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:51:04] Production.INFO: count ==21
[2025-01-10 01:51:04] Production.INFO: Account Balance End.
[2025-01-10 01:51:04] Production.ERROR: CronJobId end 12
[2025-01-10 01:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213667') start
[2025-01-10 01:51:04] Production.INFO: ==28632== Releasing lock...
[2025-01-10 01:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 01:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 01:51:04] Production.ERROR: done
[2025-01-10 01:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213667') end
[2025-01-10 01:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 01:51:04] Production.INFO: 1
[2025-01-10 01:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 01:51:04] Production.INFO: ==28636== Releasing lock...
[2025-01-10 01:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 01:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 01:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 22:51:05
[end_date_ymd] => 2025-01-10 01:51:05
[RateCDR] => 1
)
[2025-01-10 01:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 22:51:05' and `end` < '2025-01-10 01:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 01:51:10] Production.ERROR: CronJobId end10
[2025-01-10 01:51:10] Production.INFO: ==28630== Releasing lock...
[2025-01-10 01:51:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 01:51:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 01:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 01:51:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 01:51:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 01:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 01:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 01:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 01:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 01:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 01:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 01:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 01:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 01:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 01:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 01:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 01:51:13] Production.INFO: call_cost start
[2025-01-10 01:51:13] Production.INFO: call_cost end
[2025-01-10 01:51:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 01:51:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 01:51:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 01:51:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 01:51:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 01:51:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 01:51:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 01:51:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 01:51:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 01:51:14] Production.INFO: ==28626== Releasing lock...
[2025-01-10 01:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 01:51:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 01:51:18] Production.INFO: count ==188
[2025-01-10 01:51:18] Production.ERROR: pbx CDR StartTime 2025-01-09 22:51:05 - End Time 2025-01-10 01:51:05
[2025-01-10 01:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 01:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213668', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213668', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213668', 'tblTempVendorCDR_20' ) start
[2025-01-10 01:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213668', 'tblTempVendorCDR_20' ) end
[2025-01-10 01:51:18] Production.INFO: ProcessCDR(1,14213668,1,1,2)
[2025-01-10 01:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213668,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213668,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213668,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:51:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213668,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213668', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213668', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:51:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:51:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:51:21] Production.INFO: ==28634== Releasing lock...
[2025-01-10 01:51:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 01:51:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 06:52:02] Production.INFO: ==28690== Lock acquired, processing the job...
[2025-01-10 06:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 06:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 06:52:02] Production.INFO: neon service started
[2025-01-10 06:52:02] Production.INFO: neon service started
[2025-01-10 06:52:02] Production.INFO: ==28690== Releasing lock...
[2025-01-10 06:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 06:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 01:52:02] Production.INFO: ==28692== Lock acquired, processing the job...
[2025-01-10 01:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:52:02] Production.INFO: ==28694== Lock acquired, processing the job...
[2025-01-10 06:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 06:52:02] Production.INFO: ==28694== Releasing lock...
[2025-01-10 06:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 06:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 01:52:03] Production.INFO: ==28692== Releasing lock...
[2025-01-10 01:52:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 01:52:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:52:03] Production.INFO: ==28697== Lock acquired, processing the job...
[2025-01-10 01:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 01:52:03] Production.INFO: ==28699== Lock acquired, processing the job...
[2025-01-10 01:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 01:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 01:52:03] Production.INFO: ==28703== Lock acquired, processing the job...
[2025-01-10 01:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 01:52:04] Production.INFO: ==28701== Lock acquired, processing the job...
[2025-01-10 01:52:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 01:52:04] Production.INFO: Account Balance Start.
[2025-01-10 01:52:04] Production.INFO: CreateAllLog Start
[2025-01-10 01:52:04] Production.INFO: 117
[2025-01-10 01:52:04] Production.INFO: Date 2025-01-08
[2025-01-10 01:52:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:52:04] Production.INFO: Date 2025-01-09
[2025-01-10 01:52:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:52:04] Production.INFO: Date 2025-01-10
[2025-01-10 01:52:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 01:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 01:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 01:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 01:52:04] Production.INFO: Total Charge 0
[2025-01-10 01:52:04] Production.INFO: ==28705== Lock acquired, processing the job...
[2025-01-10 01:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 01:52:04] Production.INFO: CreateAllLog End
[2025-01-10 01:52:04] Production.INFO: ==28699== Releasing lock...
[2025-01-10 01:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 01:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 01:52:04] Production.INFO: ==28707== Lock acquired, processing the job...
[2025-01-10 01:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 01:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:52:04] Production.INFO: Account Balance End.
[2025-01-10 01:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:52:04] Production.ERROR: CronJobId end 12
[2025-01-10 01:52:04] Production.INFO: ==28703== Releasing lock...
[2025-01-10 01:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 01:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 01:52:04] Production.INFO: count ==21
[2025-01-10 01:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:52:04] Production.INFO: count ==21
[2025-01-10 01:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213672') start
[2025-01-10 01:52:04] Production.ERROR: done
[2025-01-10 01:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 01:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213672') end
[2025-01-10 01:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 01:52:04] Production.INFO: 1
[2025-01-10 01:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 01:52:04] Production.ERROR: done
[2025-01-10 01:52:04] Production.INFO: ==28707== Releasing lock...
[2025-01-10 01:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 01:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 01:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 22:52:05
[end_date_ymd] => 2025-01-10 01:52:05
[RateCDR] => 1
)
[2025-01-10 01:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 22:52:05' and `end` < '2025-01-10 01:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 01:52:10] Production.ERROR: CronJobId end10
[2025-01-10 01:52:10] Production.INFO: ==28701== Releasing lock...
[2025-01-10 01:52:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 01:52:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 01:52:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 01:52:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 01:52:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 01:52:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 01:52:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 01:52:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 01:52:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 01:52:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 01:52:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 01:52:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 01:52:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 01:52:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 01:52:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 01:52:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 01:52:13] Production.INFO: call_cost start
[2025-01-10 01:52:13] Production.INFO: call_cost end
[2025-01-10 01:52:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 01:52:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 01:52:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 01:52:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 01:52:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 01:52:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 01:52:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 01:52:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 01:52:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 01:52:14] Production.INFO: ==28697== Releasing lock...
[2025-01-10 01:52:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 01:52:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 01:52:19] Production.INFO: count ==188
[2025-01-10 01:52:19] Production.ERROR: pbx CDR StartTime 2025-01-09 22:52:05 - End Time 2025-01-10 01:52:05
[2025-01-10 01:52:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 01:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213673', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213673', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213673', 'tblTempVendorCDR_20' ) start
[2025-01-10 01:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213673', 'tblTempVendorCDR_20' ) end
[2025-01-10 01:52:19] Production.INFO: ProcessCDR(1,14213673,1,1,2)
[2025-01-10 01:52:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213673,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:52:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213673,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:52:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213673,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213673,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213673', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213673', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:52:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:52:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:52:22] Production.INFO: ==28705== Releasing lock...
[2025-01-10 01:52:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 01:52:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 06:53:01] Production.INFO: ==28760== Lock acquired, processing the job...
[2025-01-10 06:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 06:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 06:53:01] Production.INFO: neon service started
[2025-01-10 06:53:01] Production.INFO: neon service started
[2025-01-10 06:53:01] Production.INFO: ==28760== Releasing lock...
[2025-01-10 06:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 06:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 06:53:02] Production.INFO: ==28764== Lock acquired, processing the job...
[2025-01-10 06:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 06:53:02] Production.INFO: ==28764== Releasing lock...
[2025-01-10 06:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 06:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 01:53:02] Production.INFO: ==28762== Lock acquired, processing the job...
[2025-01-10 01:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 01:53:02] Production.INFO: ==28762== Releasing lock...
[2025-01-10 01:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 01:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:53:03] Production.INFO: ==28769== Lock acquired, processing the job...
[2025-01-10 01:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 01:53:03] Production.INFO: ==28771== Lock acquired, processing the job...
[2025-01-10 01:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 01:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 01:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 01:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 01:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 01:53:03] Production.INFO: ==28775== Lock acquired, processing the job...
[2025-01-10 01:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 01:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:53:03] Production.INFO: ==28769== Releasing lock...
[2025-01-10 01:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 01:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 01:53:03] Production.INFO: ==28767== Lock acquired, processing the job...
[2025-01-10 01:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 01:53:03] Production.INFO: ==28773== Lock acquired, processing the job...
[2025-01-10 01:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 01:53:03] Production.ERROR: done
[2025-01-10 01:53:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 01:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 01:53:03] Production.INFO: Account Balance Start.
[2025-01-10 01:53:03] Production.INFO: CreateAllLog Start
[2025-01-10 01:53:03] Production.INFO: 117
[2025-01-10 01:53:03] Production.INFO: ==28777== Lock acquired, processing the job...
[2025-01-10 01:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 01:53:03] Production.INFO: Date 2025-01-08
[2025-01-10 01:53:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:53:03] Production.INFO: Date 2025-01-09
[2025-01-10 01:53:03] Production.ERROR: done
[2025-01-10 01:53:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:53:03] Production.INFO: Date 2025-01-10
[2025-01-10 01:53:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:53:03] Production.INFO: Total Charge 0
[2025-01-10 01:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:53:03] Production.INFO: CreateAllLog End
[2025-01-10 01:53:03] Production.INFO: count ==21
[2025-01-10 01:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:53:04] Production.INFO: count ==21
[2025-01-10 01:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213678') start
[2025-01-10 01:53:04] Production.INFO: Account Balance End.
[2025-01-10 01:53:04] Production.ERROR: CronJobId end 12
[2025-01-10 01:53:04] Production.INFO: ==28773== Releasing lock...
[2025-01-10 01:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 01:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 01:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213678') end
[2025-01-10 01:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 01:53:04] Production.INFO: 1
[2025-01-10 01:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 01:53:04] Production.INFO: ==28777== Releasing lock...
[2025-01-10 01:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 01:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 01:53:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 22:53:04
[end_date_ymd] => 2025-01-10 01:53:04
[RateCDR] => 1
)
[2025-01-10 01:53:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 22:53:04' and `end` < '2025-01-10 01:53:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 01:53:10] Production.ERROR: CronJobId end10
[2025-01-10 01:53:10] Production.INFO: ==28771== Releasing lock...
[2025-01-10 01:53:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 01:53:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 01:53:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 01:53:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 01:53:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 01:53:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 01:53:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 01:53:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 01:53:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 01:53:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 01:53:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 01:53:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 01:53:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 01:53:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 01:53:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 01:53:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 01:53:13] Production.INFO: call_cost start
[2025-01-10 01:53:13] Production.INFO: call_cost end
[2025-01-10 01:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 01:53:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 01:53:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 01:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 01:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 01:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 01:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 01:53:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 01:53:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 01:53:14] Production.INFO: ==28767== Releasing lock...
[2025-01-10 01:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 01:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 01:53:17] Production.INFO: count ==187
[2025-01-10 01:53:17] Production.ERROR: pbx CDR StartTime 2025-01-09 22:53:04 - End Time 2025-01-10 01:53:04
[2025-01-10 01:53:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 01:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213677', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213677', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213677', 'tblTempVendorCDR_20' ) start
[2025-01-10 01:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213677', 'tblTempVendorCDR_20' ) end
[2025-01-10 01:53:17] Production.INFO: ProcessCDR(1,14213677,1,1,2)
[2025-01-10 01:53:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213677,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:53:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213677,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:53:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213677,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:53:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213677,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213677', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213677', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:53:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:53:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:53:21] Production.INFO: ==28775== Releasing lock...
[2025-01-10 01:53:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 01:53:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 06:54:02] Production.INFO: ==28832== Lock acquired, processing the job...
[2025-01-10 06:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 06:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 06:54:02] Production.INFO: neon service started
[2025-01-10 06:54:02] Production.INFO: neon service started
[2025-01-10 06:54:02] Production.INFO: ==28832== Releasing lock...
[2025-01-10 06:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 06:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 01:54:02] Production.INFO: ==28834== Lock acquired, processing the job...
[2025-01-10 01:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:54:02] Production.INFO: ==28836== Lock acquired, processing the job...
[2025-01-10 06:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 06:54:02] Production.INFO: ==28836== Releasing lock...
[2025-01-10 06:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 06:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 01:54:03] Production.INFO: ==28834== Releasing lock...
[2025-01-10 01:54:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 01:54:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:54:03] Production.INFO: ==28839== Lock acquired, processing the job...
[2025-01-10 01:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 01:54:03] Production.INFO: ==28843== Lock acquired, processing the job...
[2025-01-10 01:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 01:54:03] Production.INFO: ==28841== Lock acquired, processing the job...
[2025-01-10 01:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 01:54:03] Production.INFO: ==28847== Lock acquired, processing the job...
[2025-01-10 01:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 01:54:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 01:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 01:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 01:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 01:54:04] Production.INFO: ==28845== Lock acquired, processing the job...
[2025-01-10 01:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 01:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 01:54:04] Production.INFO: ==28849== Lock acquired, processing the job...
[2025-01-10 01:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 01:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:54:04] Production.INFO: Account Balance Start.
[2025-01-10 01:54:04] Production.INFO: CreateAllLog Start
[2025-01-10 01:54:04] Production.INFO: 117
[2025-01-10 01:54:04] Production.INFO: count ==21
[2025-01-10 01:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:54:04] Production.INFO: count ==21
[2025-01-10 01:54:04] Production.INFO: Date 2025-01-08
[2025-01-10 01:54:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213681') start
[2025-01-10 01:54:04] Production.INFO: ==28841== Releasing lock...
[2025-01-10 01:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 01:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 01:54:04] Production.INFO: Date 2025-01-09
[2025-01-10 01:54:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:54:04] Production.INFO: Date 2025-01-10
[2025-01-10 01:54:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:54:04] Production.INFO: Total Charge 0
[2025-01-10 01:54:04] Production.INFO: CreateAllLog End
[2025-01-10 01:54:04] Production.ERROR: done
[2025-01-10 01:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213681') end
[2025-01-10 01:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 01:54:04] Production.INFO: 1
[2025-01-10 01:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 01:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 01:54:04] Production.INFO: ==28849== Releasing lock...
[2025-01-10 01:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 01:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 01:54:04] Production.INFO: Account Balance End.
[2025-01-10 01:54:04] Production.ERROR: done
[2025-01-10 01:54:04] Production.ERROR: CronJobId end 12
[2025-01-10 01:54:04] Production.INFO: ==28845== Releasing lock...
[2025-01-10 01:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 01:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 01:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 22:54:05
[end_date_ymd] => 2025-01-10 01:54:05
[RateCDR] => 1
)
[2025-01-10 01:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 22:54:05' and `end` < '2025-01-10 01:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 01:54:11] Production.ERROR: CronJobId end10
[2025-01-10 01:54:11] Production.INFO: ==28843== Releasing lock...
[2025-01-10 01:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 01:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 01:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 01:54:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 01:54:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 01:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 01:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 01:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 01:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 01:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 01:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 01:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 01:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 01:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 01:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 01:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 01:54:13] Production.INFO: call_cost start
[2025-01-10 01:54:13] Production.INFO: call_cost end
[2025-01-10 01:54:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 01:54:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 01:54:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 01:54:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 01:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 01:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 01:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 01:54:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 01:54:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 01:54:14] Production.INFO: ==28839== Releasing lock...
[2025-01-10 01:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 01:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 01:54:18] Production.INFO: count ==187
[2025-01-10 01:54:18] Production.ERROR: pbx CDR StartTime 2025-01-09 22:54:05 - End Time 2025-01-10 01:54:05
[2025-01-10 01:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 01:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213683', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213683', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213683', 'tblTempVendorCDR_20' ) start
[2025-01-10 01:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213683', 'tblTempVendorCDR_20' ) end
[2025-01-10 01:54:18] Production.INFO: ProcessCDR(1,14213683,1,1,2)
[2025-01-10 01:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213683,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213683,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213683,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:54:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213683,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213683', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213683', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:54:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:54:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:54:21] Production.INFO: ==28847== Releasing lock...
[2025-01-10 01:54:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 01:54:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 06:55:01] Production.INFO: ==28904== Lock acquired, processing the job...
[2025-01-10 06:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 06:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 06:55:01] Production.INFO: neon service started
[2025-01-10 06:55:01] Production.INFO: neon service started
[2025-01-10 06:55:01] Production.INFO: ==28904== Releasing lock...
[2025-01-10 06:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 06:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 01:55:02] Production.INFO: ==28907== Lock acquired, processing the job...
[2025-01-10 01:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:55:02] Production.INFO: ==28909== Lock acquired, processing the job...
[2025-01-10 06:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 06:55:02] Production.INFO: ==28909== Releasing lock...
[2025-01-10 06:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 06:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 01:55:02] Production.INFO: ==28907== Releasing lock...
[2025-01-10 01:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 01:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:55:03] Production.INFO: ==28911== Lock acquired, processing the job...
[2025-01-10 01:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 01:55:03] Production.INFO: ==28915== Lock acquired, processing the job...
[2025-01-10 01:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 01:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 01:55:03] Production.INFO: ==28917== Lock acquired, processing the job...
[2025-01-10 01:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 01:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 01:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 01:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 01:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 01:55:03] Production.INFO: ==28913== Lock acquired, processing the job...
[2025-01-10 01:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 01:55:03] Production.INFO: Account Balance Start.
[2025-01-10 01:55:03] Production.INFO: CreateAllLog Start
[2025-01-10 01:55:03] Production.INFO: 117
[2025-01-10 01:55:03] Production.INFO: Date 2025-01-08
[2025-01-10 01:55:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:55:03] Production.INFO: Date 2025-01-09
[2025-01-10 01:55:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:55:03] Production.INFO: Date 2025-01-10
[2025-01-10 01:55:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:55:03] Production.INFO: Total Charge 0
[2025-01-10 01:55:03] Production.INFO: CreateAllLog End
[2025-01-10 01:55:03] Production.INFO: ==28919== Lock acquired, processing the job...
[2025-01-10 01:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 01:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:55:03] Production.INFO: Account Balance End.
[2025-01-10 01:55:03] Production.INFO: ==28921== Lock acquired, processing the job...
[2025-01-10 01:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 01:55:03] Production.ERROR: CronJobId end 12
[2025-01-10 01:55:03] Production.INFO: ==28917== Releasing lock...
[2025-01-10 01:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 01:55:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 01:55:03] Production.INFO: ==28913== Releasing lock...
[2025-01-10 01:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 01:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 01:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:55:03] Production.INFO: count ==21
[2025-01-10 01:55:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:55:03] Production.INFO: count ==21
[2025-01-10 01:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213687') start
[2025-01-10 01:55:04] Production.ERROR: done
[2025-01-10 01:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 01:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213687') end
[2025-01-10 01:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 01:55:04] Production.INFO: 1
[2025-01-10 01:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 01:55:04] Production.ERROR: done
[2025-01-10 01:55:04] Production.INFO: ==28921== Releasing lock...
[2025-01-10 01:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 01:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 01:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 22:55:05
[end_date_ymd] => 2025-01-10 01:55:05
[RateCDR] => 1
)
[2025-01-10 01:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 22:55:05' and `end` < '2025-01-10 01:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 01:55:10] Production.ERROR: CronJobId end10
[2025-01-10 01:55:10] Production.INFO: ==28915== Releasing lock...
[2025-01-10 01:55:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 01:55:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 01:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 01:55:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 01:55:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 01:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 01:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 01:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 01:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 01:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 01:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 01:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 01:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 01:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 01:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 01:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 01:55:13] Production.INFO: call_cost start
[2025-01-10 01:55:13] Production.INFO: call_cost end
[2025-01-10 01:55:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 01:55:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 01:55:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 01:55:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 01:55:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 01:55:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 01:55:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 01:55:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 01:55:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 01:55:14] Production.INFO: ==28911== Releasing lock...
[2025-01-10 01:55:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 01:55:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 01:55:18] Production.INFO: count ==186
[2025-01-10 01:55:18] Production.ERROR: pbx CDR StartTime 2025-01-09 22:55:05 - End Time 2025-01-10 01:55:05
[2025-01-10 01:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 01:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213688', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213688', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213688', 'tblTempVendorCDR_20' ) start
[2025-01-10 01:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213688', 'tblTempVendorCDR_20' ) end
[2025-01-10 01:55:18] Production.INFO: ProcessCDR(1,14213688,1,1,2)
[2025-01-10 01:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213688,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213688,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213688,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213688,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213688', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213688', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:55:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:55:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:55:21] Production.INFO: ==28919== Releasing lock...
[2025-01-10 01:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 01:55:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 06:56:01] Production.INFO: ==28978== Lock acquired, processing the job...
[2025-01-10 06:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 06:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 06:56:01] Production.INFO: neon service started
[2025-01-10 06:56:02] Production.INFO: neon service started
[2025-01-10 06:56:02] Production.INFO: ==28978== Releasing lock...
[2025-01-10 06:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 06:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 01:56:02] Production.INFO: ==28980== Lock acquired, processing the job...
[2025-01-10 01:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:56:02] Production.INFO: ==28982== Lock acquired, processing the job...
[2025-01-10 06:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 06:56:02] Production.INFO: ==28982== Releasing lock...
[2025-01-10 06:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 06:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 01:56:02] Production.INFO: ==28980== Releasing lock...
[2025-01-10 01:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 01:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:56:03] Production.INFO: ==28991== Lock acquired, processing the job...
[2025-01-10 01:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 01:56:03] Production.INFO: ==28993== Lock acquired, processing the job...
[2025-01-10 01:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 01:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:56:03] Production.INFO: Account Balance Start.
[2025-01-10 01:56:03] Production.INFO: CreateAllLog Start
[2025-01-10 01:56:03] Production.INFO: 117
[2025-01-10 01:56:03] Production.INFO: Date 2025-01-08
[2025-01-10 01:56:03] Production.INFO: ==28985== Lock acquired, processing the job...
[2025-01-10 01:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 01:56:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:56:03] Production.INFO: Date 2025-01-09
[2025-01-10 01:56:03] Production.INFO: ==28987== Lock acquired, processing the job...
[2025-01-10 01:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 01:56:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:56:04] Production.INFO: Date 2025-01-10
[2025-01-10 01:56:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:56:04] Production.INFO: ==28989== Lock acquired, processing the job...
[2025-01-10 01:56:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 01:56:04] Production.INFO: ==28995== Lock acquired, processing the job...
[2025-01-10 01:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 01:56:04] Production.INFO: Total Charge 0
[2025-01-10 01:56:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 01:56:04] Production.INFO: CreateAllLog End
[2025-01-10 01:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 01:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 01:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 01:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 01:56:04] Production.ERROR: done
[2025-01-10 01:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 01:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:56:04] Production.INFO: count ==21
[2025-01-10 01:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:56:04] Production.INFO: count ==21
[2025-01-10 01:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213692') start
[2025-01-10 01:56:04] Production.ERROR: done
[2025-01-10 01:56:04] Production.INFO: ==28987== Releasing lock...
[2025-01-10 01:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 01:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 01:56:04] Production.INFO: Account Balance End.
[2025-01-10 01:56:04] Production.ERROR: CronJobId end 12
[2025-01-10 01:56:04] Production.INFO: ==28991== Releasing lock...
[2025-01-10 01:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 01:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 01:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213692') end
[2025-01-10 01:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 01:56:04] Production.INFO: 1
[2025-01-10 01:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 01:56:04] Production.INFO: ==28995== Releasing lock...
[2025-01-10 01:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 01:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 01:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 22:56:05
[end_date_ymd] => 2025-01-10 01:56:05
[RateCDR] => 1
)
[2025-01-10 01:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 22:56:05' and `end` < '2025-01-10 01:56:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 01:56:10] Production.ERROR: CronJobId end10
[2025-01-10 01:56:10] Production.INFO: ==28989== Releasing lock...
[2025-01-10 01:56:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 01:56:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 01:56:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 01:56:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 01:56:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 01:56:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 01:56:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 01:56:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 01:56:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 01:56:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 01:56:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 01:56:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 01:56:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 01:56:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 01:56:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 01:56:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 01:56:13] Production.INFO: call_cost start
[2025-01-10 01:56:13] Production.INFO: call_cost end
[2025-01-10 01:56:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 01:56:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 01:56:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 01:56:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 01:56:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 01:56:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 01:56:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 01:56:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 01:56:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 01:56:14] Production.INFO: ==28985== Releasing lock...
[2025-01-10 01:56:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 01:56:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 01:56:19] Production.INFO: count ==185
[2025-01-10 01:56:19] Production.ERROR: pbx CDR StartTime 2025-01-09 22:56:05 - End Time 2025-01-10 01:56:05
[2025-01-10 01:56:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 01:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213693', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213693', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213693', 'tblTempVendorCDR_20' ) start
[2025-01-10 01:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213693', 'tblTempVendorCDR_20' ) end
[2025-01-10 01:56:19] Production.INFO: ProcessCDR(1,14213693,1,1,2)
[2025-01-10 01:56:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213693,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:56:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213693,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:56:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213693,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:56:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213693,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213693', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213693', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:56:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:56:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:56:22] Production.INFO: ==28993== Releasing lock...
[2025-01-10 01:56:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 01:56:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 06:57:01] Production.INFO: ==29049== Lock acquired, processing the job...
[2025-01-10 06:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 06:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 06:57:01] Production.INFO: neon service started
[2025-01-10 06:57:01] Production.INFO: neon service started
[2025-01-10 06:57:01] Production.INFO: ==29049== Releasing lock...
[2025-01-10 06:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 06:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 01:57:02] Production.INFO: ==29051== Lock acquired, processing the job...
[2025-01-10 01:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:57:02] Production.INFO: ==29053== Lock acquired, processing the job...
[2025-01-10 06:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 06:57:02] Production.INFO: ==29053== Releasing lock...
[2025-01-10 06:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 06:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 01:57:02] Production.INFO: ==29051== Releasing lock...
[2025-01-10 01:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 01:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:57:03] Production.INFO: ==29056== Lock acquired, processing the job...
[2025-01-10 01:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 01:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 01:57:03] Production.INFO: ==29060== Lock acquired, processing the job...
[2025-01-10 01:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 01:57:03] Production.INFO: ==29062== Lock acquired, processing the job...
[2025-01-10 01:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 01:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 01:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 01:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 01:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 01:57:03] Production.INFO: Account Balance Start.
[2025-01-10 01:57:03] Production.INFO: CreateAllLog Start
[2025-01-10 01:57:03] Production.INFO: 117
[2025-01-10 01:57:03] Production.INFO: Date 2025-01-08
[2025-01-10 01:57:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:57:03] Production.INFO: Date 2025-01-09
[2025-01-10 01:57:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:57:03] Production.INFO: Date 2025-01-10
[2025-01-10 01:57:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:57:03] Production.INFO: ==29058== Lock acquired, processing the job...
[2025-01-10 01:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 01:57:03] Production.INFO: Total Charge 0
[2025-01-10 01:57:03] Production.INFO: CreateAllLog End
[2025-01-10 01:57:03] Production.INFO: ==29066== Lock acquired, processing the job...
[2025-01-10 01:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 01:57:03] Production.INFO: ==29064== Lock acquired, processing the job...
[2025-01-10 01:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 01:57:03] Production.INFO: Account Balance End.
[2025-01-10 01:57:03] Production.ERROR: CronJobId end 12
[2025-01-10 01:57:03] Production.INFO: ==29062== Releasing lock...
[2025-01-10 01:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 01:57:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 01:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:57:03] Production.INFO: ==29058== Releasing lock...
[2025-01-10 01:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 01:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 01:57:03] Production.INFO: count ==21
[2025-01-10 01:57:03] Production.ERROR: done
[2025-01-10 01:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 01:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:57:04] Production.INFO: count ==21
[2025-01-10 01:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213697') start
[2025-01-10 01:57:04] Production.ERROR: done
[2025-01-10 01:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213697') end
[2025-01-10 01:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 01:57:04] Production.INFO: 1
[2025-01-10 01:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 01:57:04] Production.INFO: ==29066== Releasing lock...
[2025-01-10 01:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 01:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 01:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 22:57:05
[end_date_ymd] => 2025-01-10 01:57:05
[RateCDR] => 1
)
[2025-01-10 01:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 22:57:05' and `end` < '2025-01-10 01:57:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 01:57:10] Production.ERROR: CronJobId end10
[2025-01-10 01:57:10] Production.INFO: ==29060== Releasing lock...
[2025-01-10 01:57:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 01:57:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 01:57:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 01:57:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 01:57:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 01:57:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 01:57:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 01:57:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 01:57:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 01:57:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 01:57:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 01:57:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 01:57:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 01:57:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 01:57:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 01:57:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 01:57:12] Production.INFO: call_cost start
[2025-01-10 01:57:12] Production.INFO: call_cost end
[2025-01-10 01:57:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 01:57:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 01:57:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 01:57:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 01:57:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 01:57:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 01:57:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 01:57:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 01:57:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 01:57:13] Production.INFO: ==29056== Releasing lock...
[2025-01-10 01:57:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 01:57:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 01:57:18] Production.INFO: count ==185
[2025-01-10 01:57:18] Production.ERROR: pbx CDR StartTime 2025-01-09 22:57:05 - End Time 2025-01-10 01:57:05
[2025-01-10 01:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 01:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213698', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213698', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213698', 'tblTempVendorCDR_20' ) start
[2025-01-10 01:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213698', 'tblTempVendorCDR_20' ) end
[2025-01-10 01:57:18] Production.INFO: ProcessCDR(1,14213698,1,1,2)
[2025-01-10 01:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213698,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213698,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213698,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213698,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213698', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213698', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:57:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:57:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:57:21] Production.INFO: ==29064== Releasing lock...
[2025-01-10 01:57:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 01:57:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 06:58:01] Production.INFO: ==29122== Lock acquired, processing the job...
[2025-01-10 06:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 06:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 06:58:01] Production.INFO: neon service started
[2025-01-10 06:58:01] Production.INFO: neon service started
[2025-01-10 06:58:01] Production.INFO: ==29122== Releasing lock...
[2025-01-10 06:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 06:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 01:58:02] Production.INFO: ==29124== Lock acquired, processing the job...
[2025-01-10 01:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:58:02] Production.INFO: ==29126== Lock acquired, processing the job...
[2025-01-10 06:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 06:58:02] Production.INFO: ==29126== Releasing lock...
[2025-01-10 06:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 06:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 01:58:02] Production.INFO: ==29124== Releasing lock...
[2025-01-10 01:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 01:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 01:58:03] Production.INFO: ==29129== Lock acquired, processing the job...
[2025-01-10 01:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 01:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 01:58:03] Production.INFO: ==29131== Lock acquired, processing the job...
[2025-01-10 01:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 01:58:03] Production.INFO: ==29137== Lock acquired, processing the job...
[2025-01-10 01:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 01:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:58:03] Production.INFO: ==29135== Lock acquired, processing the job...
[2025-01-10 01:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 01:58:03] Production.INFO: ==29133== Lock acquired, processing the job...
[2025-01-10 01:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 01:58:03] Production.INFO: ==29131== Releasing lock...
[2025-01-10 01:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 01:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 01:58:04] Production.INFO: ==29139== Lock acquired, processing the job...
[2025-01-10 01:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 01:58:04] Production.ERROR: done
[2025-01-10 01:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 01:58:04] Production.INFO: Account Balance Start.
[2025-01-10 01:58:04] Production.INFO: CreateAllLog Start
[2025-01-10 01:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 01:58:04] Production.INFO: 117
[2025-01-10 01:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 01:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 01:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 01:58:04] Production.INFO: Date 2025-01-08
[2025-01-10 01:58:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:58:04] Production.ERROR: done
[2025-01-10 01:58:04] Production.INFO: Date 2025-01-09
[2025-01-10 01:58:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:58:04] Production.INFO: Date 2025-01-10
[2025-01-10 01:58:04] Production.INFO: Reseller ==> 0
[2025-01-10 01:58:04] Production.INFO: Total Charge 0
[2025-01-10 01:58:04] Production.INFO: count ==21
[2025-01-10 01:58:04] Production.INFO: CreateAllLog End
[2025-01-10 01:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:58:04] Production.INFO: count ==21
[2025-01-10 01:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213702') start
[2025-01-10 01:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213702') end
[2025-01-10 01:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 01:58:04] Production.INFO: 1
[2025-01-10 01:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 01:58:04] Production.INFO: Account Balance End.
[2025-01-10 01:58:04] Production.INFO: ==29139== Releasing lock...
[2025-01-10 01:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 01:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 01:58:04] Production.ERROR: CronJobId end 12
[2025-01-10 01:58:04] Production.INFO: ==29135== Releasing lock...
[2025-01-10 01:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 01:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 01:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 22:58:05
[end_date_ymd] => 2025-01-10 01:58:05
[RateCDR] => 1
)
[2025-01-10 01:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 22:58:05' and `end` < '2025-01-10 01:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 01:58:11] Production.ERROR: CronJobId end10
[2025-01-10 01:58:11] Production.INFO: ==29133== Releasing lock...
[2025-01-10 01:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 01:58:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 01:58:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 01:58:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 01:58:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 01:58:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 01:58:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 01:58:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 01:58:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 01:58:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 01:58:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 01:58:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 01:58:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 01:58:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 01:58:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 01:58:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 01:58:13] Production.INFO: call_cost start
[2025-01-10 01:58:13] Production.INFO: call_cost end
[2025-01-10 01:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 01:58:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 01:58:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 01:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 01:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 01:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 01:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 01:58:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 01:58:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 01:58:14] Production.INFO: ==29129== Releasing lock...
[2025-01-10 01:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 01:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 01:58:18] Production.INFO: count ==185
[2025-01-10 01:58:18] Production.ERROR: pbx CDR StartTime 2025-01-09 22:58:05 - End Time 2025-01-10 01:58:05
[2025-01-10 01:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 01:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213703', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213703', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213703', 'tblTempVendorCDR_20' ) start
[2025-01-10 01:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213703', 'tblTempVendorCDR_20' ) end
[2025-01-10 01:58:18] Production.INFO: ProcessCDR(1,14213703,1,1,2)
[2025-01-10 01:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213703,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213703,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213703,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213703,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213703', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213703', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:58:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:58:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:58:22] Production.INFO: ==29137== Releasing lock...
[2025-01-10 01:58:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 01:58:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 06:59:01] Production.INFO: ==29194== Lock acquired, processing the job...
[2025-01-10 06:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 06:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 06:59:01] Production.INFO: neon service started
[2025-01-10 06:59:01] Production.INFO: neon service started
[2025-01-10 06:59:01] Production.INFO: ==29194== Releasing lock...
[2025-01-10 06:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 06:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 01:59:01] Production.INFO: ==29197== Lock acquired, processing the job...
[2025-01-10 01:59:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 01:59:02] Production.INFO: ==29197== Releasing lock...
[2025-01-10 01:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 01:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 06:59:02] Production.INFO: ==29199== Lock acquired, processing the job...
[2025-01-10 06:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 06:59:02] Production.INFO: ==29199== Releasing lock...
[2025-01-10 06:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 06:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 01:59:03] Production.INFO: ==29206== Lock acquired, processing the job...
[2025-01-10 01:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 01:59:03] Production.INFO: ==29212== Lock acquired, processing the job...
[2025-01-10 01:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 01:59:03] Production.INFO: ==29202== Lock acquired, processing the job...
[2025-01-10 01:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 01:59:03] Production.INFO: ==29204== Lock acquired, processing the job...
[2025-01-10 01:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 01:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 01:59:03] Production.INFO: ==29210== Lock acquired, processing the job...
[2025-01-10 01:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 01:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 01:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 01:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 01:59:03] Production.INFO: ==29208== Lock acquired, processing the job...
[2025-01-10 01:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 01:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 01:59:03] Production.INFO: count ==21
[2025-01-10 01:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 01:59:03] Production.INFO: count ==21
[2025-01-10 01:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213704') start
[2025-01-10 01:59:03] Production.INFO: Account Balance Start.
[2025-01-10 01:59:03] Production.INFO: CreateAllLog Start
[2025-01-10 01:59:03] Production.INFO: 117
[2025-01-10 01:59:03] Production.INFO: Date 2025-01-08
[2025-01-10 01:59:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 01:59:03] Production.INFO: Date 2025-01-09
[2025-01-10 01:59:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213704') end
[2025-01-10 01:59:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 01:59:03] Production.INFO: 1
[2025-01-10 01:59:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 01:59:03] Production.INFO: Date 2025-01-10
[2025-01-10 01:59:03] Production.INFO: Reseller ==> 0
[2025-01-10 01:59:03] Production.INFO: Total Charge 0
[2025-01-10 01:59:03] Production.INFO: CreateAllLog End
[2025-01-10 01:59:03] Production.INFO: ==29212== Releasing lock...
[2025-01-10 01:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 01:59:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 01:59:03] Production.ERROR: done
[2025-01-10 01:59:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 01:59:03] Production.INFO: ==29204== Releasing lock...
[2025-01-10 01:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 01:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 01:59:03] Production.ERROR: done
[2025-01-10 01:59:03] Production.INFO: Account Balance End.
[2025-01-10 01:59:03] Production.ERROR: CronJobId end 12
[2025-01-10 01:59:03] Production.INFO: ==29208== Releasing lock...
[2025-01-10 01:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 01:59:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 01:59:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 22:59:04
[end_date_ymd] => 2025-01-10 01:59:04
[RateCDR] => 1
)
[2025-01-10 01:59:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 22:59:04' and `end` < '2025-01-10 01:59:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 01:59:10] Production.ERROR: CronJobId end10
[2025-01-10 01:59:10] Production.INFO: ==29206== Releasing lock...
[2025-01-10 01:59:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 01:59:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 01:59:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 01:59:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 01:59:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 01:59:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 01:59:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 01:59:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 01:59:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 01:59:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 01:59:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 01:59:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 01:59:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 01:59:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 01:59:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 01:59:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 01:59:12] Production.INFO: call_cost start
[2025-01-10 01:59:12] Production.INFO: call_cost end
[2025-01-10 01:59:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 01:59:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 01:59:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 01:59:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 01:59:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 01:59:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 01:59:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 01:59:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 01:59:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 01:59:13] Production.INFO: ==29202== Releasing lock...
[2025-01-10 01:59:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 01:59:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 01:59:18] Production.INFO: count ==185
[2025-01-10 01:59:18] Production.ERROR: pbx CDR StartTime 2025-01-09 22:59:04 - End Time 2025-01-10 01:59:04
[2025-01-10 01:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 01:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213708', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213708', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213708', 'tblTempVendorCDR_20' ) start
[2025-01-10 01:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213708', 'tblTempVendorCDR_20' ) end
[2025-01-10 01:59:18] Production.INFO: ProcessCDR(1,14213708,1,1,2)
[2025-01-10 01:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213708,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:59:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213708,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 01:59:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213708,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213708,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 01:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213708', 'tblTempUsageDetail_20' ) start
[2025-01-10 01:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213708', 'tblTempUsageDetail_20' ) end
[2025-01-10 01:59:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 01:59:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 01:59:21] Production.INFO: ==29210== Releasing lock...
[2025-01-10 01:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 01:59:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 07:00:01] Production.INFO: ==29271== Lock acquired, processing the job...
[2025-01-10 07:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 07:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 07:00:02] Production.INFO: neon service started
[2025-01-10 07:00:02] Production.INFO: neon service started
[2025-01-10 07:00:02] Production.INFO: ==29271== Releasing lock...
[2025-01-10 07:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 07:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:00:02] Production.INFO: ==29273== Lock acquired, processing the job...
[2025-01-10 02:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 07:00:02] Production.INFO: ==29275== Lock acquired, processing the job...
[2025-01-10 07:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 07:00:02] Production.INFO: ==29275== Releasing lock...
[2025-01-10 07:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 07:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 02:00:02] Production.INFO: ==29273== Releasing lock...
[2025-01-10 02:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 02:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 02:00:03] Production.INFO: ==29281== Lock acquired, processing the job...
[2025-01-10 02:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 02:00:04] Production.INFO: ==29283== Lock acquired, processing the job...
[2025-01-10 02:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 02:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 02:00:04] Production.INFO: ==29277== Lock acquired, processing the job...
[2025-01-10 02:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 02:00:04] Production.INFO: ==29285== Lock acquired, processing the job...
[2025-01-10 02:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 02:00:04] Production.INFO: ==29279== Lock acquired, processing the job...
[2025-01-10 02:00:04] Production.INFO: servercleanup-command-servercleanup-companyid-1-cronjobid-4 #Starts#
[2025-01-10 02:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 02:00:04] Production.INFO: ==29288== Lock acquired, processing the job...
[2025-01-10 02:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 02:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 02:00:04] Production.ERROR: CronJob PID - 29279
[2025-01-10 02:00:04] Production.ERROR: CronJob Title - Server CleanUP
[2025-01-10 02:00:04] Production.ERROR: CronJob ID - 4
[2025-01-10 02:00:04] Production.ERROR: CronJob Last Run Time 2025-01-10 02:00:00
[2025-01-10 02:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 02:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 02:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 02:00:04] Production.ERROR: CronJob PID - 29281
[2025-01-10 02:00:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-10 02:00:04] Production.ERROR: CronJob ID - 5
[2025-01-10 02:00:04] Production.ERROR: CronJob Last Run Time 2025-01-10 02:00:00
[2025-01-10 02:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 02:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 02:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 02:00:04] Production.ERROR: CronJob PID - 29283
[2025-01-10 02:00:04] Production.ERROR: CronJob Title - Account Block
[2025-01-10 02:00:04] Production.ERROR: CronJob ID - 7
[2025-01-10 02:00:04] Production.ERROR: CronJob Last Run Time 2025-01-10 02:00:00
[2025-01-10 02:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 02:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 02:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 02:00:04] Production.ERROR: CronJob PID - 29285
[2025-01-10 02:00:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-10 02:00:04] Production.ERROR: CronJob ID - 10
[2025-01-10 02:00:04] Production.ERROR: CronJob Last Run Time 2025-01-10 02:00:00
[2025-01-10 02:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 02:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 02:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 02:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 02:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 02:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 02:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 02:00:04] Production.INFO: ==29277== Releasing lock...
[2025-01-10 02:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 02:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 02:00:04] Production.INFO: Account Balance Start.
[2025-01-10 02:00:04] Production.INFO: CreateAllLog Start
[2025-01-10 02:00:04] Production.INFO: ==29292== Lock acquired, processing the job...
[2025-01-10 02:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 02:00:04] Production.INFO: 117
[2025-01-10 02:00:04] Production.INFO: Date 2025-01-08
[2025-01-10 02:00:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:00:04] Production.INFO: ==29283== Releasing lock...
[2025-01-10 02:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 02:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 02:00:04] Production.INFO: ==29290== Lock acquired, processing the job...
[2025-01-10 02:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 02:00:04] Production.INFO: Date 2025-01-09
[2025-01-10 02:00:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:00:04] Production.INFO: ==29294== Lock acquired, processing the job...
[2025-01-10 02:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 02:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:00:04] Production.INFO: Date 2025-01-10
[2025-01-10 02:00:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:00:04] Production.INFO: Total Charge 0
[2025-01-10 02:00:04] Production.INFO: CreateAllLog End
[2025-01-10 02:00:04] Production.ERROR: done
[2025-01-10 02:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:00:04] Production.INFO: count ==21
[2025-01-10 02:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 02:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14213713', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 02:00:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:00:05] Production.INFO: Account Balance End.
[2025-01-10 02:00:05] Production.INFO: count ==21
[2025-01-10 02:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14213712') start
[2025-01-10 02:00:05] Production.ERROR: CronJobId end 12
[2025-01-10 02:00:05] Production.INFO: ==29288== Releasing lock...
[2025-01-10 02:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 02:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 02:00:05] Production.ERROR: done
[2025-01-10 02:00:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 02:00:05] Production.INFO: Disk FileSystem - df -Ph | awk '{printf "%-35s%-10s%-10s%-10s%-10s%s\n",$1,$2,$3,$4,$5,$6}'
[2025-01-10 02:00:05] Production.INFO: output
Filesystem Size Used Avail Use% Mounted
devtmpfs 15G 4.0K 15G 1% /dev
tmpfs 15G 0 15G 0% /dev/shm
tmpfs 15G 1.5G 13G 11% /run
tmpfs 15G 0 15G 0% /sys/fs/cgroup
/dev/sda1 50G 35G 16G 69% /
/dev/loop0 64M 64M 0 100% /var/lib/snapd/snap/core20/2379
/dev/loop4 104M 104M 0 100% /var/lib/snapd/snap/core/16928
/dev/loop5 105M 105M 0 100% /var/lib/snapd/snap/core/17200
/dev/sdb1 79G 26G 50G 34% /mysql
/dev/loop6 64M 64M 0 100% /var/lib/snapd/snap/core20/2434
/dev/loop1 67M 67M 0 100% /var/lib/snapd/snap/core24/609
/dev/loop3 53M 53M 0 100% /var/lib/snapd/snap/certbot/4193
/dev/loop2 56M 56M 0 100% /var/lib/snapd/snap/certbot/4325
tmpfs 2.9G 0 2.9G 0% /run/user/0
[2025-01-10 02:00:05] Production.INFO: Delete Storage Log Start
[2025-01-10 02:00:05] Production.INFO: Front End Delete Storage Log Start
[2025-01-10 02:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14213712') end
[2025-01-10 02:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 02:00:05] Production.INFO: 1
[2025-01-10 02:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 02:00:05] Production.INFO: ==29294== Releasing lock...
[2025-01-10 02:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 02:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 02:00:05] Production.ERROR: done
[2025-01-10 02:00:06] Production.INFO: find /var/www/html/onswitch.neon/app/storage/logs -maxdepth 1 -name "*.log" -mtime +31 -type f -exec rm {} \;
[2025-01-10 02:00:06] Production.INFO: Front End Delete Storage Log End
[2025-01-10 02:00:06] Production.INFO: Back End(Service) Delete Storage Log Start
[2025-01-10 02:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 23:00:06
[end_date_ymd] => 2025-01-10 02:00:06
[RateCDR] => 1
)
[2025-01-10 02:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 23:00:06' and `end` < '2025-01-10 02:00:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 02:00:07] Production.INFO: find /var/www/html/onswitch.neon.service/storage/logs -maxdepth 1 -name "*.log" -mtime +31 -type f -exec rm {} \;
[2025-01-10 02:00:07] Production.INFO: Back End(Service) Delete Storage Log End
[2025-01-10 02:00:07] Production.INFO: Delete Storage Log End
[2025-01-10 02:00:07] Production.INFO: Delete Temp Files Start
[2025-01-10 02:00:07] Production.INFO: find /var/www/tmp* -maxdepth 1 -mtime +3 -type f -exec rm {} \;
[2025-01-10 02:00:08] Production.INFO: Delete Temp Files End
[2025-01-10 02:00:08] Production.INFO: Delete CDR File Start
[2025-01-10 02:00:08] Production.INFO: Delete CDR File End
[2025-01-10 02:00:08] Production.INFO: Disk FileSystem - df -Ph | awk '{printf "%-35s%-10s%-10s%-10s%-10s%s\n",$1,$2,$3,$4,$5,$6}'
[2025-01-10 02:00:08] Production.INFO: output
Filesystem Size Used Avail Use% Mounted
devtmpfs 15G 4.0K 15G 1% /dev
tmpfs 15G 0 15G 0% /dev/shm
tmpfs 15G 1.5G 13G 11% /run
tmpfs 15G 0 15G 0% /sys/fs/cgroup
/dev/sda1 50G 35G 16G 69% /
/dev/loop0 64M 64M 0 100% /var/lib/snapd/snap/core20/2379
/dev/loop4 104M 104M 0 100% /var/lib/snapd/snap/core/16928
/dev/loop5 105M 105M 0 100% /var/lib/snapd/snap/core/17200
/dev/sdb1 79G 26G 50G 34% /mysql
/dev/loop6 64M 64M 0 100% /var/lib/snapd/snap/core20/2434
/dev/loop1 67M 67M 0 100% /var/lib/snapd/snap/core24/609
/dev/loop3 53M 53M 0 100% /var/lib/snapd/snap/certbot/4193
/dev/loop2 56M 56M 0 100% /var/lib/snapd/snap/certbot/4325
tmpfs 2.9G 0 2.9G 0% /run/user/0
[2025-01-10 02:00:08] Production.ERROR: CronJobId end 4
[2025-01-10 02:00:08] Production.INFO: ==29279== Releasing lock...
[2025-01-10 02:00:08] Production.INFO: servercleanup-command-servercleanup-companyid-1-cronjobid-4 #Stops#
[2025-01-10 02:00:08] Production.INFO: 29.5 MB #Memory Used#
[2025-01-10 02:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14213713', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 02:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 02:00:09] Production.INFO: ProcessCDR(1,14213713,1,1,2)
[2025-01-10 02:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14213713,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14213713,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:00:09] Production.INFO: ==29292== Releasing lock...
[2025-01-10 02:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 02:00:09] Production.INFO: 26 MB #Memory Used#
[2025-01-10 02:00:14] Production.ERROR: CronJobId end10
[2025-01-10 02:00:14] Production.INFO: ==29285== Releasing lock...
[2025-01-10 02:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 02:00:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 02:00:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 02:00:16] Production.INFO: ============== Balance Warning START===========
[2025-01-10 02:00:16] Production.INFO: ============== Balance Warning END===========
[2025-01-10 02:00:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 02:00:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 02:00:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 02:00:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 02:00:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 02:00:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 02:00:16] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 02:00:16] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 02:00:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 02:00:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 02:00:16] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 02:00:16] Production.INFO: call_cost start
[2025-01-10 02:00:16] Production.INFO: call_cost end
[2025-01-10 02:00:17] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 02:00:17] Production.INFO: ============== Report Schedule START===========
[2025-01-10 02:00:17] Production.INFO: ============== Report Schedule END===========
[2025-01-10 02:00:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 02:00:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 02:00:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 02:00:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 02:00:17] Production.INFO: ============== Deal alert START===========
[2025-01-10 02:00:17] Production.INFO: ============== Deal alert END===========
[2025-01-10 02:00:17] Production.INFO: ==29281== Releasing lock...
[2025-01-10 02:00:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 02:00:17] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 02:00:19] Production.INFO: count ==196
[2025-01-10 02:00:19] Production.ERROR: pbx CDR StartTime 2025-01-09 23:00:06 - End Time 2025-01-10 02:00:06
[2025-01-10 02:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 02:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213714', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213714', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213714', 'tblTempVendorCDR_20' ) start
[2025-01-10 02:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213714', 'tblTempVendorCDR_20' ) end
[2025-01-10 02:00:19] Production.INFO: ProcessCDR(1,14213714,1,1,2)
[2025-01-10 02:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213714,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213714,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213714,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:00:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213714,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213714', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213714', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:00:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:00:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:00:22] Production.INFO: ==29290== Releasing lock...
[2025-01-10 02:00:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 02:00:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 07:01:01] Production.INFO: ==29445== Lock acquired, processing the job...
[2025-01-10 07:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 07:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 07:01:01] Production.INFO: neon service started
[2025-01-10 07:01:01] Production.INFO: neon service started
[2025-01-10 07:01:01] Production.INFO: ==29445== Releasing lock...
[2025-01-10 07:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 07:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:01:01] Production.INFO: ==29453== Lock acquired, processing the job...
[2025-01-10 02:01:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:01:02] Production.INFO: ==29453== Releasing lock...
[2025-01-10 02:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 02:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:01:02] Production.INFO: ==29455== Lock acquired, processing the job...
[2025-01-10 07:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 07:01:02] Production.INFO: ==29455== Releasing lock...
[2025-01-10 07:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 07:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 02:01:03] Production.INFO: ==29462== Lock acquired, processing the job...
[2025-01-10 02:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 02:01:03] Production.INFO: ==29458== Lock acquired, processing the job...
[2025-01-10 02:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 02:01:03] Production.INFO: ==29466== Lock acquired, processing the job...
[2025-01-10 02:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 02:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:01:03] Production.INFO: ==29460== Lock acquired, processing the job...
[2025-01-10 02:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 02:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 02:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 02:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 02:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 02:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 02:01:03] Production.INFO: ==29464== Lock acquired, processing the job...
[2025-01-10 02:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 02:01:03] Production.INFO: ==29468== Lock acquired, processing the job...
[2025-01-10 02:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 02:01:03] Production.INFO: Account Balance Start.
[2025-01-10 02:01:03] Production.INFO: CreateAllLog Start
[2025-01-10 02:01:03] Production.INFO: 117
[2025-01-10 02:01:03] Production.INFO: Date 2025-01-08
[2025-01-10 02:01:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:01:03] Production.INFO: Date 2025-01-09
[2025-01-10 02:01:03] Production.ERROR: done
[2025-01-10 02:01:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:01:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 02:01:03] Production.INFO: Date 2025-01-10
[2025-01-10 02:01:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:01:03] Production.INFO: count ==21
[2025-01-10 02:01:03] Production.ERROR: done
[2025-01-10 02:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:01:03] Production.INFO: count ==21
[2025-01-10 02:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213718') start
[2025-01-10 02:01:03] Production.INFO: Total Charge 0
[2025-01-10 02:01:03] Production.INFO: ==29460== Releasing lock...
[2025-01-10 02:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 02:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 02:01:03] Production.INFO: CreateAllLog End
[2025-01-10 02:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213718') end
[2025-01-10 02:01:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 02:01:03] Production.INFO: 1
[2025-01-10 02:01:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 02:01:03] Production.INFO: Account Balance End.
[2025-01-10 02:01:03] Production.INFO: ==29468== Releasing lock...
[2025-01-10 02:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 02:01:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 02:01:03] Production.ERROR: CronJobId end 12
[2025-01-10 02:01:03] Production.INFO: ==29464== Releasing lock...
[2025-01-10 02:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 02:01:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 02:01:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 23:01:04
[end_date_ymd] => 2025-01-10 02:01:04
[RateCDR] => 1
)
[2025-01-10 02:01:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 23:01:04' and `end` < '2025-01-10 02:01:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 02:01:12] Production.ERROR: CronJobId end10
[2025-01-10 02:01:12] Production.INFO: ==29462== Releasing lock...
[2025-01-10 02:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 02:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 02:01:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 02:01:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 02:01:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 02:01:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 02:01:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 02:01:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 02:01:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 02:01:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 02:01:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 02:01:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 02:01:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 02:01:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 02:01:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 02:01:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 02:01:14] Production.INFO: call_cost start
[2025-01-10 02:01:14] Production.INFO: call_cost end
[2025-01-10 02:01:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 02:01:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 02:01:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 02:01:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 02:01:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 02:01:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 02:01:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 02:01:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 02:01:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 02:01:15] Production.INFO: ==29458== Releasing lock...
[2025-01-10 02:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 02:01:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 02:01:17] Production.INFO: count ==202
[2025-01-10 02:01:17] Production.ERROR: pbx CDR StartTime 2025-01-09 23:01:04 - End Time 2025-01-10 02:01:04
[2025-01-10 02:01:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 02:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213719', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213719', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213719', 'tblTempVendorCDR_20' ) start
[2025-01-10 02:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213719', 'tblTempVendorCDR_20' ) end
[2025-01-10 02:01:17] Production.INFO: ProcessCDR(1,14213719,1,1,2)
[2025-01-10 02:01:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213719,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:01:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213719,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:01:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213719,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:01:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213719,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:01:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213719', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:01:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213719', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:01:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:01:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:01:20] Production.INFO: ==29466== Releasing lock...
[2025-01-10 02:01:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 02:01:20] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 07:02:01] Production.INFO: ==29527== Lock acquired, processing the job...
[2025-01-10 07:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 07:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 07:02:01] Production.INFO: neon service started
[2025-01-10 07:02:01] Production.INFO: neon service started
[2025-01-10 07:02:01] Production.INFO: ==29527== Releasing lock...
[2025-01-10 07:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 07:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:02:02] Production.INFO: ==29529== Lock acquired, processing the job...
[2025-01-10 02:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 07:02:02] Production.INFO: ==29531== Lock acquired, processing the job...
[2025-01-10 07:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 02:02:02] Production.INFO: ==29529== Releasing lock...
[2025-01-10 02:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 02:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:02:02] Production.INFO: ==29531== Releasing lock...
[2025-01-10 07:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 07:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 02:02:03] Production.INFO: ==29533== Lock acquired, processing the job...
[2025-01-10 02:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 02:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 02:02:03] Production.INFO: ==29535== Lock acquired, processing the job...
[2025-01-10 02:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 02:02:03] Production.INFO: ==29539== Lock acquired, processing the job...
[2025-01-10 02:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 02:02:03] Production.INFO: ==29537== Lock acquired, processing the job...
[2025-01-10 02:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 02:02:03] Production.INFO: Account Balance Start.
[2025-01-10 02:02:03] Production.INFO: CreateAllLog Start
[2025-01-10 02:02:03] Production.INFO: 117
[2025-01-10 02:02:03] Production.INFO: Date 2025-01-08
[2025-01-10 02:02:03] Production.INFO: ==29541== Lock acquired, processing the job...
[2025-01-10 02:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 02:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 02:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 02:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 02:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 02:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:02:03] Production.INFO: ==29543== Lock acquired, processing the job...
[2025-01-10 02:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 02:02:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:02:03] Production.INFO: Date 2025-01-09
[2025-01-10 02:02:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:02:03] Production.INFO: Date 2025-01-10
[2025-01-10 02:02:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:02:03] Production.INFO: Total Charge 0
[2025-01-10 02:02:03] Production.INFO: CreateAllLog End
[2025-01-10 02:02:03] Production.INFO: count ==21
[2025-01-10 02:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:02:04] Production.INFO: count ==21
[2025-01-10 02:02:04] Production.INFO: ==29535== Releasing lock...
[2025-01-10 02:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 02:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 02:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213723') start
[2025-01-10 02:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213723') end
[2025-01-10 02:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 02:02:04] Production.INFO: 1
[2025-01-10 02:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 02:02:04] Production.ERROR: done
[2025-01-10 02:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 02:02:04] Production.INFO: Account Balance End.
[2025-01-10 02:02:04] Production.INFO: ==29543== Releasing lock...
[2025-01-10 02:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 02:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 02:02:04] Production.ERROR: CronJobId end 12
[2025-01-10 02:02:04] Production.INFO: ==29539== Releasing lock...
[2025-01-10 02:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 02:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 02:02:04] Production.ERROR: done
[2025-01-10 02:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 23:02:05
[end_date_ymd] => 2025-01-10 02:02:05
[RateCDR] => 1
)
[2025-01-10 02:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 23:02:05' and `end` < '2025-01-10 02:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 02:02:11] Production.ERROR: CronJobId end10
[2025-01-10 02:02:11] Production.INFO: ==29537== Releasing lock...
[2025-01-10 02:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 02:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 02:02:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 02:02:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 02:02:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 02:02:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 02:02:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 02:02:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 02:02:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 02:02:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 02:02:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 02:02:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 02:02:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 02:02:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 02:02:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 02:02:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 02:02:13] Production.INFO: call_cost start
[2025-01-10 02:02:13] Production.INFO: call_cost end
[2025-01-10 02:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 02:02:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 02:02:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 02:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 02:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 02:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 02:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 02:02:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 02:02:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 02:02:14] Production.INFO: ==29533== Releasing lock...
[2025-01-10 02:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 02:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 02:02:19] Production.INFO: count ==202
[2025-01-10 02:02:19] Production.ERROR: pbx CDR StartTime 2025-01-09 23:02:05 - End Time 2025-01-10 02:02:05
[2025-01-10 02:02:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 02:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213724', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213724', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213724', 'tblTempVendorCDR_20' ) start
[2025-01-10 02:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213724', 'tblTempVendorCDR_20' ) end
[2025-01-10 02:02:19] Production.INFO: ProcessCDR(1,14213724,1,1,2)
[2025-01-10 02:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213724,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:02:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213724,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:02:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213724,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:02:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213724,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213724', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213724', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:02:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:02:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:02:22] Production.INFO: ==29541== Releasing lock...
[2025-01-10 02:02:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 02:02:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 07:03:02] Production.INFO: ==29603== Lock acquired, processing the job...
[2025-01-10 07:03:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 07:03:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 07:03:02] Production.INFO: neon service started
[2025-01-10 07:03:02] Production.INFO: neon service started
[2025-01-10 07:03:02] Production.INFO: ==29603== Releasing lock...
[2025-01-10 07:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 07:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:03:02] Production.INFO: ==29605== Lock acquired, processing the job...
[2025-01-10 02:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:03:02] Production.INFO: ==29605== Releasing lock...
[2025-01-10 02:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 02:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:03:03] Production.INFO: ==29607== Lock acquired, processing the job...
[2025-01-10 07:03:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 07:03:03] Production.INFO: ==29607== Releasing lock...
[2025-01-10 07:03:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 07:03:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 02:03:03] Production.INFO: ==29609== Lock acquired, processing the job...
[2025-01-10 02:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 02:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 02:03:03] Production.INFO: ==29613== Lock acquired, processing the job...
[2025-01-10 02:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 02:03:03] Production.INFO: ==29611== Lock acquired, processing the job...
[2025-01-10 02:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 02:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 02:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 02:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 02:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 02:03:03] Production.INFO: ==29619== Lock acquired, processing the job...
[2025-01-10 02:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 02:03:03] Production.INFO: ==29615== Lock acquired, processing the job...
[2025-01-10 02:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 02:03:04] Production.INFO: ==29611== Releasing lock...
[2025-01-10 02:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 02:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 02:03:04] Production.INFO: ==29617== Lock acquired, processing the job...
[2025-01-10 02:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 02:03:04] Production.INFO: Account Balance Start.
[2025-01-10 02:03:04] Production.INFO: CreateAllLog Start
[2025-01-10 02:03:04] Production.INFO: 117
[2025-01-10 02:03:04] Production.INFO: Date 2025-01-08
[2025-01-10 02:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:03:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:03:04] Production.INFO: Date 2025-01-09
[2025-01-10 02:03:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:03:04] Production.INFO: count ==21
[2025-01-10 02:03:04] Production.INFO: Date 2025-01-10
[2025-01-10 02:03:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:03:04] Production.INFO: count ==21
[2025-01-10 02:03:04] Production.INFO: Total Charge 0
[2025-01-10 02:03:04] Production.ERROR: done
[2025-01-10 02:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 02:03:04] Production.INFO: CreateAllLog End
[2025-01-10 02:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213727') start
[2025-01-10 02:03:04] Production.ERROR: done
[2025-01-10 02:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213727') end
[2025-01-10 02:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 02:03:04] Production.INFO: 1
[2025-01-10 02:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 02:03:04] Production.INFO: Account Balance End.
[2025-01-10 02:03:04] Production.ERROR: CronJobId end 12
[2025-01-10 02:03:04] Production.INFO: ==29615== Releasing lock...
[2025-01-10 02:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 02:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 02:03:04] Production.INFO: ==29619== Releasing lock...
[2025-01-10 02:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 02:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 02:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 23:03:05
[end_date_ymd] => 2025-01-10 02:03:05
[RateCDR] => 1
)
[2025-01-10 02:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 23:03:05' and `end` < '2025-01-10 02:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 02:03:11] Production.ERROR: CronJobId end10
[2025-01-10 02:03:11] Production.INFO: ==29613== Releasing lock...
[2025-01-10 02:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 02:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 02:03:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 02:03:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 02:03:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 02:03:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 02:03:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 02:03:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 02:03:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 02:03:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 02:03:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 02:03:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 02:03:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 02:03:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 02:03:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 02:03:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 02:03:13] Production.INFO: call_cost start
[2025-01-10 02:03:13] Production.INFO: call_cost end
[2025-01-10 02:03:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 02:03:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 02:03:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 02:03:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 02:03:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 02:03:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 02:03:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 02:03:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 02:03:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 02:03:14] Production.INFO: ==29609== Releasing lock...
[2025-01-10 02:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 02:03:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 02:03:18] Production.INFO: count ==202
[2025-01-10 02:03:18] Production.ERROR: pbx CDR StartTime 2025-01-09 23:03:05 - End Time 2025-01-10 02:03:05
[2025-01-10 02:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 02:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213729', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213729', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213729', 'tblTempVendorCDR_20' ) start
[2025-01-10 02:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213729', 'tblTempVendorCDR_20' ) end
[2025-01-10 02:03:18] Production.INFO: ProcessCDR(1,14213729,1,1,2)
[2025-01-10 02:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213729,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213729,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213729,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213729,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213729', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213729', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:03:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:03:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:03:21] Production.INFO: ==29617== Releasing lock...
[2025-01-10 02:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 02:03:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 07:04:01] Production.INFO: ==29714== Lock acquired, processing the job...
[2025-01-10 07:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 07:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 07:04:01] Production.INFO: neon service started
[2025-01-10 07:04:01] Production.INFO: neon service started
[2025-01-10 07:04:01] Production.INFO: ==29714== Releasing lock...
[2025-01-10 07:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 07:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:04:02] Production.INFO: ==29716== Lock acquired, processing the job...
[2025-01-10 02:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:04:02] Production.INFO: ==29716== Releasing lock...
[2025-01-10 02:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 02:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:04:02] Production.INFO: ==29718== Lock acquired, processing the job...
[2025-01-10 07:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 07:04:02] Production.INFO: ==29718== Releasing lock...
[2025-01-10 07:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 07:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 02:04:03] Production.INFO: ==29720== Lock acquired, processing the job...
[2025-01-10 02:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 02:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 02:04:03] Production.INFO: ==29724== Lock acquired, processing the job...
[2025-01-10 02:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 02:04:03] Production.INFO: ==29726== Lock acquired, processing the job...
[2025-01-10 02:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 02:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 02:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 02:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 02:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 02:04:03] Production.INFO: ==29722== Lock acquired, processing the job...
[2025-01-10 02:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 02:04:03] Production.INFO: Account Balance Start.
[2025-01-10 02:04:03] Production.INFO: CreateAllLog Start
[2025-01-10 02:04:03] Production.INFO: 117
[2025-01-10 02:04:03] Production.INFO: Date 2025-01-08
[2025-01-10 02:04:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:04:03] Production.INFO: Date 2025-01-09
[2025-01-10 02:04:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:04:03] Production.INFO: Date 2025-01-10
[2025-01-10 02:04:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:04:03] Production.INFO: ==29728== Lock acquired, processing the job...
[2025-01-10 02:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 02:04:03] Production.INFO: Total Charge 0
[2025-01-10 02:04:03] Production.INFO: CreateAllLog End
[2025-01-10 02:04:03] Production.INFO: ==29731== Lock acquired, processing the job...
[2025-01-10 02:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 02:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:04:03] Production.INFO: Account Balance End.
[2025-01-10 02:04:03] Production.INFO: ==29722== Releasing lock...
[2025-01-10 02:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 02:04:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 02:04:04] Production.ERROR: CronJobId end 12
[2025-01-10 02:04:04] Production.INFO: ==29726== Releasing lock...
[2025-01-10 02:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 02:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 02:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:04:04] Production.INFO: count ==21
[2025-01-10 02:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:04:04] Production.INFO: count ==21
[2025-01-10 02:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213733') start
[2025-01-10 02:04:04] Production.ERROR: done
[2025-01-10 02:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 02:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213733') end
[2025-01-10 02:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 02:04:04] Production.INFO: 1
[2025-01-10 02:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 02:04:04] Production.ERROR: done
[2025-01-10 02:04:04] Production.INFO: ==29731== Releasing lock...
[2025-01-10 02:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 02:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 02:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 23:04:05
[end_date_ymd] => 2025-01-10 02:04:05
[RateCDR] => 1
)
[2025-01-10 02:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 23:04:05' and `end` < '2025-01-10 02:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 02:04:10] Production.ERROR: CronJobId end10
[2025-01-10 02:04:10] Production.INFO: ==29724== Releasing lock...
[2025-01-10 02:04:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 02:04:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 02:04:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 02:04:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 02:04:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 02:04:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 02:04:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 02:04:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 02:04:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 02:04:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 02:04:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 02:04:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 02:04:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 02:04:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 02:04:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 02:04:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 02:04:12] Production.INFO: call_cost start
[2025-01-10 02:04:12] Production.INFO: call_cost end
[2025-01-10 02:04:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 02:04:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 02:04:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 02:04:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 02:04:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 02:04:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 02:04:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 02:04:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 02:04:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 02:04:13] Production.INFO: ==29720== Releasing lock...
[2025-01-10 02:04:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 02:04:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 02:04:20] Production.INFO: count ==202
[2025-01-10 02:04:20] Production.ERROR: pbx CDR StartTime 2025-01-09 23:04:05 - End Time 2025-01-10 02:04:05
[2025-01-10 02:04:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 02:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213734', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213734', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213734', 'tblTempVendorCDR_20' ) start
[2025-01-10 02:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213734', 'tblTempVendorCDR_20' ) end
[2025-01-10 02:04:20] Production.INFO: ProcessCDR(1,14213734,1,1,2)
[2025-01-10 02:04:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213734,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:04:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213734,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:04:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213734,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:04:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213734,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:04:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213734', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:04:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213734', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:04:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:04:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:04:24] Production.INFO: ==29728== Releasing lock...
[2025-01-10 02:04:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 02:04:24] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 07:05:02] Production.INFO: ==29786== Lock acquired, processing the job...
[2025-01-10 07:05:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 07:05:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 07:05:02] Production.INFO: neon service started
[2025-01-10 07:05:02] Production.INFO: neon service started
[2025-01-10 07:05:02] Production.INFO: ==29786== Releasing lock...
[2025-01-10 07:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 07:05:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:05:02] Production.INFO: ==29788== Lock acquired, processing the job...
[2025-01-10 02:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:05:03] Production.INFO: ==29788== Releasing lock...
[2025-01-10 02:05:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 02:05:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:05:03] Production.INFO: ==29790== Lock acquired, processing the job...
[2025-01-10 07:05:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 07:05:03] Production.INFO: ==29790== Releasing lock...
[2025-01-10 07:05:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 07:05:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 02:05:03] Production.INFO: ==29799== Lock acquired, processing the job...
[2025-01-10 02:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 02:05:03] Production.INFO: Account Balance Start.
[2025-01-10 02:05:03] Production.INFO: CreateAllLog Start
[2025-01-10 02:05:03] Production.INFO: 117
[2025-01-10 02:05:03] Production.INFO: Date 2025-01-08
[2025-01-10 02:05:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:05:03] Production.INFO: Date 2025-01-09
[2025-01-10 02:05:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:05:03] Production.INFO: Date 2025-01-10
[2025-01-10 02:05:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:05:03] Production.INFO: Total Charge 0
[2025-01-10 02:05:04] Production.INFO: CreateAllLog End
[2025-01-10 02:05:04] Production.INFO: ==29793== Lock acquired, processing the job...
[2025-01-10 02:05:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 02:05:04] Production.INFO: ==29803== Lock acquired, processing the job...
[2025-01-10 02:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 02:05:04] Production.INFO: ==29795== Lock acquired, processing the job...
[2025-01-10 02:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 02:05:04] Production.INFO: Account Balance End.
[2025-01-10 02:05:04] Production.ERROR: CronJobId end 12
[2025-01-10 02:05:04] Production.INFO: ==29799== Releasing lock...
[2025-01-10 02:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 02:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 02:05:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 02:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:05:04] Production.INFO: ==29797== Lock acquired, processing the job...
[2025-01-10 02:05:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 02:05:04] Production.INFO: count ==21
[2025-01-10 02:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:05:04] Production.INFO: count ==21
[2025-01-10 02:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213737') start
[2025-01-10 02:05:04] Production.INFO: ==29801== Lock acquired, processing the job...
[2025-01-10 02:05:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 02:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 02:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 02:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 02:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 02:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213737') end
[2025-01-10 02:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 02:05:04] Production.INFO: 1
[2025-01-10 02:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 02:05:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:05:04] Production.INFO: ==29803== Releasing lock...
[2025-01-10 02:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 02:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 02:05:04] Production.INFO: ==29795== Releasing lock...
[2025-01-10 02:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 02:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 02:05:04] Production.ERROR: done
[2025-01-10 02:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 02:05:04] Production.ERROR: done
[2025-01-10 02:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 23:05:05
[end_date_ymd] => 2025-01-10 02:05:05
[RateCDR] => 1
)
[2025-01-10 02:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 23:05:05' and `end` < '2025-01-10 02:05:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 02:05:11] Production.ERROR: CronJobId end10
[2025-01-10 02:05:11] Production.INFO: ==29797== Releasing lock...
[2025-01-10 02:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 02:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 02:05:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 02:05:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 02:05:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 02:05:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 02:05:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 02:05:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 02:05:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 02:05:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 02:05:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 02:05:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 02:05:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 02:05:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 02:05:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 02:05:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 02:05:13] Production.INFO: call_cost start
[2025-01-10 02:05:13] Production.INFO: call_cost end
[2025-01-10 02:05:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 02:05:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 02:05:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 02:05:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 02:05:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 02:05:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 02:05:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 02:05:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 02:05:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 02:05:14] Production.INFO: ==29793== Releasing lock...
[2025-01-10 02:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 02:05:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 02:05:18] Production.INFO: count ==202
[2025-01-10 02:05:18] Production.ERROR: pbx CDR StartTime 2025-01-09 23:05:05 - End Time 2025-01-10 02:05:05
[2025-01-10 02:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 02:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213739', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213739', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213739', 'tblTempVendorCDR_20' ) start
[2025-01-10 02:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213739', 'tblTempVendorCDR_20' ) end
[2025-01-10 02:05:18] Production.INFO: ProcessCDR(1,14213739,1,1,2)
[2025-01-10 02:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213739,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213739,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213739,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213739,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213739', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213739', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:05:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:05:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:05:22] Production.INFO: ==29801== Releasing lock...
[2025-01-10 02:05:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 02:05:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 07:06:01] Production.INFO: ==29859== Lock acquired, processing the job...
[2025-01-10 07:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 07:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 07:06:01] Production.INFO: neon service started
[2025-01-10 07:06:01] Production.INFO: neon service started
[2025-01-10 07:06:01] Production.INFO: ==29859== Releasing lock...
[2025-01-10 07:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 07:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 07:06:02] Production.INFO: ==29863== Lock acquired, processing the job...
[2025-01-10 07:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 07:06:02] Production.INFO: ==29863== Releasing lock...
[2025-01-10 07:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 07:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 02:06:02] Production.INFO: ==29861== Lock acquired, processing the job...
[2025-01-10 02:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:06:02] Production.INFO: ==29861== Releasing lock...
[2025-01-10 02:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 02:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 02:06:03] Production.INFO: ==29866== Lock acquired, processing the job...
[2025-01-10 02:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 02:06:03] Production.INFO: ==29868== Lock acquired, processing the job...
[2025-01-10 02:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 02:06:03] Production.INFO: ==29876== Lock acquired, processing the job...
[2025-01-10 02:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 02:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 02:06:03] Production.INFO: ==29868== Releasing lock...
[2025-01-10 02:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 02:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 02:06:03] Production.INFO: ==29870== Lock acquired, processing the job...
[2025-01-10 02:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 02:06:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:06:03] Production.INFO: ==29872== Lock acquired, processing the job...
[2025-01-10 02:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 02:06:03] Production.INFO: count ==21
[2025-01-10 02:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 02:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 02:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 02:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 02:06:03] Production.INFO: ==29874== Lock acquired, processing the job...
[2025-01-10 02:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 02:06:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:06:03] Production.INFO: count ==21
[2025-01-10 02:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213742') start
[2025-01-10 02:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:06:04] Production.INFO: Account Balance Start.
[2025-01-10 02:06:04] Production.INFO: CreateAllLog Start
[2025-01-10 02:06:04] Production.INFO: 117
[2025-01-10 02:06:04] Production.INFO: Date 2025-01-08
[2025-01-10 02:06:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:06:04] Production.INFO: Date 2025-01-09
[2025-01-10 02:06:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213742') end
[2025-01-10 02:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 02:06:04] Production.INFO: 1
[2025-01-10 02:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 02:06:04] Production.INFO: Date 2025-01-10
[2025-01-10 02:06:04] Production.INFO: ==29876== Releasing lock...
[2025-01-10 02:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 02:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 02:06:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:06:04] Production.INFO: Total Charge 0
[2025-01-10 02:06:04] Production.INFO: CreateAllLog End
[2025-01-10 02:06:04] Production.ERROR: done
[2025-01-10 02:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 02:06:04] Production.ERROR: done
[2025-01-10 02:06:04] Production.INFO: Account Balance End.
[2025-01-10 02:06:04] Production.ERROR: CronJobId end 12
[2025-01-10 02:06:04] Production.INFO: ==29872== Releasing lock...
[2025-01-10 02:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 02:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 02:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 23:06:05
[end_date_ymd] => 2025-01-10 02:06:05
[RateCDR] => 1
)
[2025-01-10 02:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 23:06:05' and `end` < '2025-01-10 02:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 02:06:11] Production.ERROR: CronJobId end10
[2025-01-10 02:06:11] Production.INFO: ==29870== Releasing lock...
[2025-01-10 02:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 02:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 02:06:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 02:06:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 02:06:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 02:06:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 02:06:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 02:06:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 02:06:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 02:06:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 02:06:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 02:06:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 02:06:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 02:06:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 02:06:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 02:06:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 02:06:12] Production.INFO: call_cost start
[2025-01-10 02:06:12] Production.INFO: call_cost end
[2025-01-10 02:06:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 02:06:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 02:06:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 02:06:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 02:06:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 02:06:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 02:06:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 02:06:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 02:06:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 02:06:13] Production.INFO: ==29866== Releasing lock...
[2025-01-10 02:06:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 02:06:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 02:06:19] Production.INFO: count ==202
[2025-01-10 02:06:19] Production.ERROR: pbx CDR StartTime 2025-01-09 23:06:05 - End Time 2025-01-10 02:06:05
[2025-01-10 02:06:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 02:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213744', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213744', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213744', 'tblTempVendorCDR_20' ) start
[2025-01-10 02:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213744', 'tblTempVendorCDR_20' ) end
[2025-01-10 02:06:19] Production.INFO: ProcessCDR(1,14213744,1,1,2)
[2025-01-10 02:06:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213744,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:06:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213744,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:06:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213744,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213744,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213744', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213744', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:06:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:06:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:06:22] Production.INFO: ==29874== Releasing lock...
[2025-01-10 02:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 02:06:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 07:07:02] Production.INFO: ==29936== Lock acquired, processing the job...
[2025-01-10 07:07:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 07:07:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 07:07:02] Production.INFO: neon service started
[2025-01-10 07:07:02] Production.INFO: neon service started
[2025-01-10 07:07:02] Production.INFO: ==29936== Releasing lock...
[2025-01-10 07:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 07:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:07:02] Production.INFO: ==29938== Lock acquired, processing the job...
[2025-01-10 02:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:07:02] Production.INFO: ==29938== Releasing lock...
[2025-01-10 02:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 02:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:07:02] Production.INFO: ==29940== Lock acquired, processing the job...
[2025-01-10 07:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 07:07:02] Production.INFO: ==29940== Releasing lock...
[2025-01-10 07:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 07:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 02:07:03] Production.INFO: ==29942== Lock acquired, processing the job...
[2025-01-10 02:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 02:07:03] Production.INFO: ==29950== Lock acquired, processing the job...
[2025-01-10 02:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 02:07:03] Production.INFO: ==29952== Lock acquired, processing the job...
[2025-01-10 02:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 02:07:03] Production.INFO: ==29944== Lock acquired, processing the job...
[2025-01-10 02:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 02:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 02:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:07:03] Production.INFO: ==29946== Lock acquired, processing the job...
[2025-01-10 02:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 02:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:07:03] Production.INFO: count ==21
[2025-01-10 02:07:03] Production.INFO: ==29948== Lock acquired, processing the job...
[2025-01-10 02:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 02:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:07:03] Production.INFO: count ==21
[2025-01-10 02:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213746') start
[2025-01-10 02:07:04] Production.INFO: Account Balance Start.
[2025-01-10 02:07:04] Production.INFO: CreateAllLog Start
[2025-01-10 02:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 02:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 02:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 02:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 02:07:04] Production.INFO: 117
[2025-01-10 02:07:04] Production.INFO: Date 2025-01-08
[2025-01-10 02:07:04] Production.ERROR: done
[2025-01-10 02:07:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 02:07:04] Production.INFO: Date 2025-01-09
[2025-01-10 02:07:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213746') end
[2025-01-10 02:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 02:07:04] Production.INFO: 1
[2025-01-10 02:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 02:07:04] Production.INFO: ==29944== Releasing lock...
[2025-01-10 02:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 02:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 02:07:04] Production.INFO: Date 2025-01-10
[2025-01-10 02:07:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:07:04] Production.INFO: Total Charge 0
[2025-01-10 02:07:04] Production.INFO: CreateAllLog End
[2025-01-10 02:07:04] Production.INFO: ==29952== Releasing lock...
[2025-01-10 02:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 02:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 02:07:04] Production.ERROR: done
[2025-01-10 02:07:04] Production.INFO: Account Balance End.
[2025-01-10 02:07:04] Production.ERROR: CronJobId end 12
[2025-01-10 02:07:04] Production.INFO: ==29948== Releasing lock...
[2025-01-10 02:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 02:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 02:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 23:07:05
[end_date_ymd] => 2025-01-10 02:07:05
[RateCDR] => 1
)
[2025-01-10 02:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 23:07:05' and `end` < '2025-01-10 02:07:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 02:07:10] Production.ERROR: CronJobId end10
[2025-01-10 02:07:10] Production.INFO: ==29946== Releasing lock...
[2025-01-10 02:07:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 02:07:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 02:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 02:07:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 02:07:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 02:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 02:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 02:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 02:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 02:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 02:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 02:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 02:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 02:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 02:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 02:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 02:07:13] Production.INFO: call_cost start
[2025-01-10 02:07:13] Production.INFO: call_cost end
[2025-01-10 02:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 02:07:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 02:07:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 02:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 02:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 02:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 02:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 02:07:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 02:07:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 02:07:14] Production.INFO: ==29942== Releasing lock...
[2025-01-10 02:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 02:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 02:07:19] Production.INFO: count ==202
[2025-01-10 02:07:19] Production.ERROR: pbx CDR StartTime 2025-01-09 23:07:05 - End Time 2025-01-10 02:07:05
[2025-01-10 02:07:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 02:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213749', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213749', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213749', 'tblTempVendorCDR_20' ) start
[2025-01-10 02:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213749', 'tblTempVendorCDR_20' ) end
[2025-01-10 02:07:19] Production.INFO: ProcessCDR(1,14213749,1,1,2)
[2025-01-10 02:07:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213749,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:07:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213749,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:07:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213749,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:07:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213749,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213749', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213749', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:07:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:07:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:07:22] Production.INFO: ==29950== Releasing lock...
[2025-01-10 02:07:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 02:07:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 07:08:01] Production.INFO: ==30009== Lock acquired, processing the job...
[2025-01-10 07:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 07:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 07:08:01] Production.INFO: neon service started
[2025-01-10 07:08:01] Production.INFO: neon service started
[2025-01-10 07:08:01] Production.INFO: ==30009== Releasing lock...
[2025-01-10 07:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 07:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 07:08:02] Production.INFO: ==30013== Lock acquired, processing the job...
[2025-01-10 07:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 07:08:02] Production.INFO: ==30013== Releasing lock...
[2025-01-10 07:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 07:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 02:08:02] Production.INFO: ==30011== Lock acquired, processing the job...
[2025-01-10 02:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:08:02] Production.INFO: ==30011== Releasing lock...
[2025-01-10 02:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 02:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 02:08:03] Production.INFO: ==30018== Lock acquired, processing the job...
[2025-01-10 02:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 02:08:03] Production.INFO: ==30026== Lock acquired, processing the job...
[2025-01-10 02:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 02:08:03] Production.INFO: ==30016== Lock acquired, processing the job...
[2025-01-10 02:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 02:08:03] Production.INFO: ==30020== Lock acquired, processing the job...
[2025-01-10 02:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 02:08:03] Production.INFO: ==30022== Lock acquired, processing the job...
[2025-01-10 02:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 02:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:08:03] Production.INFO: ==30024== Lock acquired, processing the job...
[2025-01-10 02:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 02:08:03] Production.INFO: ==30018== Releasing lock...
[2025-01-10 02:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 02:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 02:08:03] Production.INFO: count ==21
[2025-01-10 02:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:08:03] Production.INFO: count ==21
[2025-01-10 02:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 02:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213751') start
[2025-01-10 02:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:08:03] Production.INFO: Account Balance Start.
[2025-01-10 02:08:03] Production.INFO: CreateAllLog Start
[2025-01-10 02:08:03] Production.INFO: 117
[2025-01-10 02:08:03] Production.INFO: Date 2025-01-08
[2025-01-10 02:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 02:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 02:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 02:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 02:08:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213751') end
[2025-01-10 02:08:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 02:08:03] Production.INFO: 1
[2025-01-10 02:08:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 02:08:03] Production.INFO: Date 2025-01-09
[2025-01-10 02:08:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:08:03] Production.INFO: ==30026== Releasing lock...
[2025-01-10 02:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 02:08:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 02:08:03] Production.ERROR: done
[2025-01-10 02:08:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 02:08:03] Production.INFO: Date 2025-01-10
[2025-01-10 02:08:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:08:04] Production.ERROR: done
[2025-01-10 02:08:04] Production.INFO: Total Charge 0
[2025-01-10 02:08:04] Production.INFO: CreateAllLog End
[2025-01-10 02:08:04] Production.INFO: Account Balance End.
[2025-01-10 02:08:04] Production.ERROR: CronJobId end 12
[2025-01-10 02:08:04] Production.INFO: ==30022== Releasing lock...
[2025-01-10 02:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 02:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 02:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 23:08:05
[end_date_ymd] => 2025-01-10 02:08:05
[RateCDR] => 1
)
[2025-01-10 02:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 23:08:05' and `end` < '2025-01-10 02:08:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 02:08:10] Production.ERROR: CronJobId end10
[2025-01-10 02:08:10] Production.INFO: ==30020== Releasing lock...
[2025-01-10 02:08:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 02:08:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 02:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 02:08:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 02:08:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 02:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 02:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 02:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 02:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 02:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 02:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 02:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 02:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 02:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 02:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 02:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 02:08:13] Production.INFO: call_cost start
[2025-01-10 02:08:13] Production.INFO: call_cost end
[2025-01-10 02:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 02:08:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 02:08:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 02:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 02:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 02:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 02:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 02:08:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 02:08:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 02:08:14] Production.INFO: ==30016== Releasing lock...
[2025-01-10 02:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 02:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 02:08:20] Production.INFO: count ==202
[2025-01-10 02:08:20] Production.ERROR: pbx CDR StartTime 2025-01-09 23:08:05 - End Time 2025-01-10 02:08:05
[2025-01-10 02:08:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 02:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213754', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213754', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213754', 'tblTempVendorCDR_20' ) start
[2025-01-10 02:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213754', 'tblTempVendorCDR_20' ) end
[2025-01-10 02:08:20] Production.INFO: ProcessCDR(1,14213754,1,1,2)
[2025-01-10 02:08:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213754,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:08:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213754,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:08:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213754,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:08:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213754,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213754', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213754', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:08:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:08:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:08:23] Production.INFO: ==30024== Releasing lock...
[2025-01-10 02:08:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 02:08:23] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 07:09:01] Production.INFO: ==30089== Lock acquired, processing the job...
[2025-01-10 07:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 07:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 07:09:02] Production.INFO: neon service started
[2025-01-10 07:09:02] Production.INFO: neon service started
[2025-01-10 07:09:02] Production.INFO: ==30089== Releasing lock...
[2025-01-10 07:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 07:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:09:02] Production.INFO: ==30091== Lock acquired, processing the job...
[2025-01-10 02:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:09:02] Production.INFO: ==30091== Releasing lock...
[2025-01-10 02:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 02:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:09:02] Production.INFO: ==30093== Lock acquired, processing the job...
[2025-01-10 07:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 07:09:02] Production.INFO: ==30093== Releasing lock...
[2025-01-10 07:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 07:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 02:09:03] Production.INFO: ==30098== Lock acquired, processing the job...
[2025-01-10 02:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 02:09:03] Production.INFO: ==30096== Lock acquired, processing the job...
[2025-01-10 02:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 02:09:03] Production.INFO: ==30100== Lock acquired, processing the job...
[2025-01-10 02:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 02:09:03] Production.INFO: ==30104== Lock acquired, processing the job...
[2025-01-10 02:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 02:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 02:09:03] Production.INFO: ==30102== Lock acquired, processing the job...
[2025-01-10 02:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 02:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 02:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 02:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 02:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 02:09:03] Production.INFO: ==30106== Lock acquired, processing the job...
[2025-01-10 02:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 02:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:09:03] Production.INFO: Account Balance Start.
[2025-01-10 02:09:03] Production.INFO: CreateAllLog Start
[2025-01-10 02:09:03] Production.INFO: 117
[2025-01-10 02:09:03] Production.INFO: Date 2025-01-08
[2025-01-10 02:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:09:04] Production.ERROR: done
[2025-01-10 02:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 02:09:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:09:04] Production.INFO: ==30098== Releasing lock...
[2025-01-10 02:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 02:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 02:09:04] Production.INFO: count ==21
[2025-01-10 02:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:09:04] Production.INFO: count ==21
[2025-01-10 02:09:04] Production.INFO: Date 2025-01-09
[2025-01-10 02:09:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213758') start
[2025-01-10 02:09:04] Production.ERROR: done
[2025-01-10 02:09:04] Production.INFO: Date 2025-01-10
[2025-01-10 02:09:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:09:04] Production.INFO: Total Charge 0
[2025-01-10 02:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213758') end
[2025-01-10 02:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 02:09:04] Production.INFO: 1
[2025-01-10 02:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 02:09:04] Production.INFO: CreateAllLog End
[2025-01-10 02:09:04] Production.INFO: ==30106== Releasing lock...
[2025-01-10 02:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 02:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 02:09:04] Production.INFO: Account Balance End.
[2025-01-10 02:09:04] Production.ERROR: CronJobId end 12
[2025-01-10 02:09:04] Production.INFO: ==30102== Releasing lock...
[2025-01-10 02:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 02:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 02:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 23:09:05
[end_date_ymd] => 2025-01-10 02:09:05
[RateCDR] => 1
)
[2025-01-10 02:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 23:09:05' and `end` < '2025-01-10 02:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 02:09:10] Production.ERROR: CronJobId end10
[2025-01-10 02:09:10] Production.INFO: ==30100== Releasing lock...
[2025-01-10 02:09:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 02:09:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 02:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 02:09:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 02:09:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 02:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 02:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 02:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 02:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 02:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 02:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 02:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 02:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 02:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 02:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 02:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 02:09:14] Production.INFO: call_cost start
[2025-01-10 02:09:14] Production.INFO: call_cost end
[2025-01-10 02:09:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 02:09:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 02:09:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 02:09:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 02:09:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 02:09:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 02:09:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 02:09:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 02:09:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 02:09:15] Production.INFO: ==30096== Releasing lock...
[2025-01-10 02:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 02:09:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 02:09:18] Production.INFO: count ==202
[2025-01-10 02:09:18] Production.ERROR: pbx CDR StartTime 2025-01-09 23:09:05 - End Time 2025-01-10 02:09:05
[2025-01-10 02:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 02:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213759', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213759', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213759', 'tblTempVendorCDR_20' ) start
[2025-01-10 02:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213759', 'tblTempVendorCDR_20' ) end
[2025-01-10 02:09:18] Production.INFO: ProcessCDR(1,14213759,1,1,2)
[2025-01-10 02:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213759,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213759,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213759,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:09:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213759,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213759', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213759', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:09:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:09:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:09:21] Production.INFO: ==30104== Releasing lock...
[2025-01-10 02:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 02:09:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 07:10:01] Production.INFO: ==30165== Lock acquired, processing the job...
[2025-01-10 07:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 07:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 07:10:01] Production.INFO: neon service started
[2025-01-10 07:10:01] Production.INFO: neon service started
[2025-01-10 07:10:01] Production.INFO: ==30165== Releasing lock...
[2025-01-10 07:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 07:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 07:10:01] Production.INFO: ==30169== Lock acquired, processing the job...
[2025-01-10 07:10:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 07:10:01] Production.INFO: ==30169== Releasing lock...
[2025-01-10 07:10:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 07:10:01] Production.INFO: 25 MB #Memory Used#
[2025-01-10 02:10:01] Production.INFO: ==30167== Lock acquired, processing the job...
[2025-01-10 02:10:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:10:02] Production.INFO: ==30167== Releasing lock...
[2025-01-10 02:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 02:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 02:10:03] Production.INFO: ==30171== Lock acquired, processing the job...
[2025-01-10 02:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 02:10:03] Production.INFO: ==30173== Lock acquired, processing the job...
[2025-01-10 02:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 02:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 02:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 02:10:03] Production.ERROR: CronJob PID - 30173
[2025-01-10 02:10:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-10 02:10:03] Production.ERROR: CronJob ID - 5
[2025-01-10 02:10:03] Production.ERROR: CronJob Last Run Time 2025-01-10 02:10:00
[2025-01-10 02:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 02:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 02:10:03] Production.INFO: ==30179== Lock acquired, processing the job...
[2025-01-10 02:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 02:10:03] Production.INFO: ==30181== Lock acquired, processing the job...
[2025-01-10 02:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 02:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 02:10:03] Production.INFO: ==30171== Releasing lock...
[2025-01-10 02:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 02:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 02:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 02:10:03] Production.INFO: ==30175== Lock acquired, processing the job...
[2025-01-10 02:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 02:10:03] Production.INFO: ==30177== Lock acquired, processing the job...
[2025-01-10 02:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 02:10:03] Production.INFO: Account Balance Start.
[2025-01-10 02:10:03] Production.INFO: CreateAllLog Start
[2025-01-10 02:10:03] Production.INFO: 117
[2025-01-10 02:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:10:03] Production.INFO: Date 2025-01-08
[2025-01-10 02:10:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:10:03] Production.INFO: Date 2025-01-09
[2025-01-10 02:10:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 02:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 02:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 02:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 02:10:03] Production.INFO: Date 2025-01-10
[2025-01-10 02:10:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:10:03] Production.INFO: Total Charge 0
[2025-01-10 02:10:03] Production.INFO: ==30183== Lock acquired, processing the job...
[2025-01-10 02:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 02:10:03] Production.INFO: ==30186== Lock acquired, processing the job...
[2025-01-10 02:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 02:10:03] Production.INFO: CreateAllLog End
[2025-01-10 02:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:10:03] Production.ERROR: done
[2025-01-10 02:10:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 02:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:10:04] Production.INFO: count ==21
[2025-01-10 02:10:04] Production.ERROR: done
[2025-01-10 02:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:10:04] Production.INFO: count ==21
[2025-01-10 02:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213763') start
[2025-01-10 02:10:04] Production.INFO: ==30175== Releasing lock...
[2025-01-10 02:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 02:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 02:10:04] Production.INFO: Account Balance End.
[2025-01-10 02:10:04] Production.ERROR: CronJobId end 12
[2025-01-10 02:10:04] Production.INFO: ==30179== Releasing lock...
[2025-01-10 02:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 02:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 02:10:04] Production.ERROR: done
[2025-01-10 02:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213763') end
[2025-01-10 02:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 02:10:04] Production.INFO: 1
[2025-01-10 02:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 02:10:04] Production.INFO: ==30186== Releasing lock...
[2025-01-10 02:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 02:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 02:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 02:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14213765', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 02:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 23:10:05
[end_date_ymd] => 2025-01-10 02:10:05
[RateCDR] => 1
)
[2025-01-10 02:10:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 23:10:05' and `end` < '2025-01-10 02:10:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 02:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14213765', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 02:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 02:10:08] Production.INFO: ProcessCDR(1,14213765,1,1,2)
[2025-01-10 02:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14213765,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14213765,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:10:08] Production.INFO: ==30183== Releasing lock...
[2025-01-10 02:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 02:10:08] Production.INFO: 26 MB #Memory Used#
[2025-01-10 02:10:12] Production.ERROR: CronJobId end10
[2025-01-10 02:10:12] Production.INFO: ==30177== Releasing lock...
[2025-01-10 02:10:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 02:10:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 02:10:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 02:10:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 02:10:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 02:10:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 02:10:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 02:10:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 02:10:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 02:10:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 02:10:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 02:10:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 02:10:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 02:10:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 02:10:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 02:10:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 02:10:14] Production.INFO: call_cost start
[2025-01-10 02:10:14] Production.INFO: call_cost end
[2025-01-10 02:10:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 02:10:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 02:10:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 02:10:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 02:10:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 02:10:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 02:10:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 02:10:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 02:10:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 02:10:15] Production.INFO: ==30173== Releasing lock...
[2025-01-10 02:10:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 02:10:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 02:10:18] Production.INFO: count ==204
[2025-01-10 02:10:18] Production.ERROR: pbx CDR StartTime 2025-01-09 23:10:05 - End Time 2025-01-10 02:10:05
[2025-01-10 02:10:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 02:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213764', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213764', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213764', 'tblTempVendorCDR_20' ) start
[2025-01-10 02:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213764', 'tblTempVendorCDR_20' ) end
[2025-01-10 02:10:18] Production.INFO: ProcessCDR(1,14213764,1,1,2)
[2025-01-10 02:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213764,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:10:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213764,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:10:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213764,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:10:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213764,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213764', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213764', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:10:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:10:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:10:21] Production.INFO: ==30181== Releasing lock...
[2025-01-10 02:10:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 02:10:21] Production.INFO: 29 MB #Memory Used#
[2025-01-10 07:11:01] Production.INFO: ==30241== Lock acquired, processing the job...
[2025-01-10 07:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 07:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 07:11:01] Production.INFO: neon service started
[2025-01-10 07:11:01] Production.INFO: neon service started
[2025-01-10 07:11:01] Production.INFO: ==30241== Releasing lock...
[2025-01-10 07:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 07:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:11:02] Production.INFO: ==30243== Lock acquired, processing the job...
[2025-01-10 02:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 07:11:02] Production.INFO: ==30245== Lock acquired, processing the job...
[2025-01-10 07:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 07:11:02] Production.INFO: ==30245== Releasing lock...
[2025-01-10 07:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 07:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 02:11:02] Production.INFO: ==30243== Releasing lock...
[2025-01-10 02:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 02:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 02:11:03] Production.INFO: ==30254== Lock acquired, processing the job...
[2025-01-10 02:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 02:11:03] Production.INFO: ==30256== Lock acquired, processing the job...
[2025-01-10 02:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 02:11:03] Production.INFO: Account Balance Start.
[2025-01-10 02:11:03] Production.INFO: CreateAllLog Start
[2025-01-10 02:11:03] Production.INFO: 117
[2025-01-10 02:11:03] Production.INFO: Date 2025-01-08
[2025-01-10 02:11:03] Production.INFO: ==30248== Lock acquired, processing the job...
[2025-01-10 02:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 02:11:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:11:03] Production.INFO: ==30252== Lock acquired, processing the job...
[2025-01-10 02:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 02:11:03] Production.INFO: Date 2025-01-09
[2025-01-10 02:11:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:11:03] Production.INFO: ==30250== Lock acquired, processing the job...
[2025-01-10 02:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 02:11:03] Production.INFO: Date 2025-01-10
[2025-01-10 02:11:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:11:03] Production.INFO: ==30258== Lock acquired, processing the job...
[2025-01-10 02:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 02:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 02:11:03] Production.INFO: Total Charge 0
[2025-01-10 02:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 02:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 02:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 02:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 02:11:03] Production.INFO: CreateAllLog End
[2025-01-10 02:11:03] Production.ERROR: done
[2025-01-10 02:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 02:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:11:03] Production.INFO: count ==21
[2025-01-10 02:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:11:04] Production.INFO: count ==21
[2025-01-10 02:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213768') start
[2025-01-10 02:11:04] Production.ERROR: done
[2025-01-10 02:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213768') end
[2025-01-10 02:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 02:11:04] Production.INFO: 1
[2025-01-10 02:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 02:11:04] Production.INFO: Account Balance End.
[2025-01-10 02:11:04] Production.ERROR: CronJobId end 12
[2025-01-10 02:11:04] Production.INFO: ==30254== Releasing lock...
[2025-01-10 02:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 02:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 02:11:04] Production.INFO: ==30258== Releasing lock...
[2025-01-10 02:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 02:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 02:11:04] Production.INFO: ==30250== Releasing lock...
[2025-01-10 02:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 02:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 02:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 23:11:05
[end_date_ymd] => 2025-01-10 02:11:05
[RateCDR] => 1
)
[2025-01-10 02:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 23:11:05' and `end` < '2025-01-10 02:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 02:11:10] Production.ERROR: CronJobId end10
[2025-01-10 02:11:10] Production.INFO: ==30252== Releasing lock...
[2025-01-10 02:11:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 02:11:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 02:11:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 02:11:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 02:11:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 02:11:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 02:11:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 02:11:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 02:11:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 02:11:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 02:11:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 02:11:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 02:11:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 02:11:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 02:11:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 02:11:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 02:11:12] Production.INFO: call_cost start
[2025-01-10 02:11:12] Production.INFO: call_cost end
[2025-01-10 02:11:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 02:11:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 02:11:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 02:11:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 02:11:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 02:11:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 02:11:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 02:11:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 02:11:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 02:11:13] Production.INFO: ==30248== Releasing lock...
[2025-01-10 02:11:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 02:11:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 02:11:18] Production.INFO: count ==204
[2025-01-10 02:11:18] Production.ERROR: pbx CDR StartTime 2025-01-09 23:11:05 - End Time 2025-01-10 02:11:05
[2025-01-10 02:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 02:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213770', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213770', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213770', 'tblTempVendorCDR_20' ) start
[2025-01-10 02:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213770', 'tblTempVendorCDR_20' ) end
[2025-01-10 02:11:18] Production.INFO: ProcessCDR(1,14213770,1,1,2)
[2025-01-10 02:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213770,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213770,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213770,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:11:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213770,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213770', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213770', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:11:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:11:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:11:21] Production.INFO: ==30256== Releasing lock...
[2025-01-10 02:11:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 02:11:21] Production.INFO: 29 MB #Memory Used#
[2025-01-10 07:12:02] Production.INFO: ==30311== Lock acquired, processing the job...
[2025-01-10 07:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 07:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 07:12:02] Production.INFO: neon service started
[2025-01-10 07:12:02] Production.INFO: neon service started
[2025-01-10 07:12:02] Production.INFO: ==30311== Releasing lock...
[2025-01-10 07:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 07:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 07:12:02] Production.INFO: ==30316== Lock acquired, processing the job...
[2025-01-10 07:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 07:12:02] Production.INFO: ==30316== Releasing lock...
[2025-01-10 07:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 07:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 02:12:02] Production.INFO: ==30314== Lock acquired, processing the job...
[2025-01-10 02:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:12:03] Production.INFO: ==30314== Releasing lock...
[2025-01-10 02:12:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 02:12:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 02:12:03] Production.INFO: ==30324== Lock acquired, processing the job...
[2025-01-10 02:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 02:12:04] Production.INFO: Account Balance Start.
[2025-01-10 02:12:04] Production.INFO: CreateAllLog Start
[2025-01-10 02:12:04] Production.INFO: 117
[2025-01-10 02:12:04] Production.INFO: Date 2025-01-08
[2025-01-10 02:12:04] Production.INFO: ==30328== Lock acquired, processing the job...
[2025-01-10 02:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 02:12:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:12:04] Production.INFO: Date 2025-01-09
[2025-01-10 02:12:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:12:04] Production.INFO: ==30318== Lock acquired, processing the job...
[2025-01-10 02:12:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 02:12:04] Production.INFO: Date 2025-01-10
[2025-01-10 02:12:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:12:04] Production.INFO: ==30320== Lock acquired, processing the job...
[2025-01-10 02:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 02:12:04] Production.INFO: ==30322== Lock acquired, processing the job...
[2025-01-10 02:12:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 02:12:04] Production.INFO: Total Charge 0
[2025-01-10 02:12:04] Production.INFO: CreateAllLog End
[2025-01-10 02:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 02:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 02:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 02:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 02:12:04] Production.INFO: count ==21
[2025-01-10 02:12:04] Production.INFO: ==30326== Lock acquired, processing the job...
[2025-01-10 02:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 02:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:12:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 02:12:04] Production.INFO: count ==21
[2025-01-10 02:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213772') start
[2025-01-10 02:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:12:04] Production.INFO: Account Balance End.
[2025-01-10 02:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213772') end
[2025-01-10 02:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 02:12:04] Production.INFO: 1
[2025-01-10 02:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 02:12:04] Production.ERROR: CronJobId end 12
[2025-01-10 02:12:04] Production.INFO: ==30324== Releasing lock...
[2025-01-10 02:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 02:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 02:12:04] Production.INFO: ==30328== Releasing lock...
[2025-01-10 02:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 02:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 02:12:04] Production.ERROR: done
[2025-01-10 02:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 02:12:04] Production.INFO: ==30320== Releasing lock...
[2025-01-10 02:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 02:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 02:12:04] Production.ERROR: done
[2025-01-10 02:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 23:12:05
[end_date_ymd] => 2025-01-10 02:12:05
[RateCDR] => 1
)
[2025-01-10 02:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 23:12:05' and `end` < '2025-01-10 02:12:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 02:12:11] Production.ERROR: CronJobId end10
[2025-01-10 02:12:11] Production.INFO: ==30322== Releasing lock...
[2025-01-10 02:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 02:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 02:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 02:12:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 02:12:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 02:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 02:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 02:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 02:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 02:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 02:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 02:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 02:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 02:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 02:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 02:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 02:12:13] Production.INFO: call_cost start
[2025-01-10 02:12:13] Production.INFO: call_cost end
[2025-01-10 02:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 02:12:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 02:12:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 02:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 02:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 02:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 02:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 02:12:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 02:12:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 02:12:14] Production.INFO: ==30318== Releasing lock...
[2025-01-10 02:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 02:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 02:12:19] Production.INFO: count ==204
[2025-01-10 02:12:19] Production.ERROR: pbx CDR StartTime 2025-01-09 23:12:05 - End Time 2025-01-10 02:12:05
[2025-01-10 02:12:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 02:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213775', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213775', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213775', 'tblTempVendorCDR_20' ) start
[2025-01-10 02:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213775', 'tblTempVendorCDR_20' ) end
[2025-01-10 02:12:19] Production.INFO: ProcessCDR(1,14213775,1,1,2)
[2025-01-10 02:12:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213775,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:12:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213775,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:12:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213775,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:12:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213775,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213775', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213775', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:12:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:12:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:12:22] Production.INFO: ==30326== Releasing lock...
[2025-01-10 02:12:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 02:12:22] Production.INFO: 29 MB #Memory Used#
[2025-01-10 07:13:01] Production.INFO: ==30383== Lock acquired, processing the job...
[2025-01-10 07:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 07:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 07:13:01] Production.INFO: neon service started
[2025-01-10 07:13:01] Production.INFO: neon service started
[2025-01-10 07:13:01] Production.INFO: ==30383== Releasing lock...
[2025-01-10 07:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 07:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:13:02] Production.INFO: ==30385== Lock acquired, processing the job...
[2025-01-10 02:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 07:13:02] Production.INFO: ==30387== Lock acquired, processing the job...
[2025-01-10 07:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 07:13:02] Production.INFO: ==30387== Releasing lock...
[2025-01-10 07:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 07:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 02:13:02] Production.INFO: ==30385== Releasing lock...
[2025-01-10 02:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 02:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 02:13:03] Production.INFO: ==30394== Lock acquired, processing the job...
[2025-01-10 02:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 02:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 02:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 02:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 02:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 02:13:03] Production.INFO: ==30396== Lock acquired, processing the job...
[2025-01-10 02:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 02:13:03] Production.INFO: ==30390== Lock acquired, processing the job...
[2025-01-10 02:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 02:13:03] Production.INFO: Account Balance Start.
[2025-01-10 02:13:03] Production.INFO: CreateAllLog Start
[2025-01-10 02:13:03] Production.INFO: 117
[2025-01-10 02:13:03] Production.INFO: Date 2025-01-08
[2025-01-10 02:13:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:13:03] Production.INFO: ==30392== Lock acquired, processing the job...
[2025-01-10 02:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 02:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 02:13:03] Production.INFO: ==30398== Lock acquired, processing the job...
[2025-01-10 02:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 02:13:03] Production.INFO: Date 2025-01-09
[2025-01-10 02:13:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:13:03] Production.INFO: ==30400== Lock acquired, processing the job...
[2025-01-10 02:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 02:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:13:03] Production.INFO: Date 2025-01-10
[2025-01-10 02:13:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:13:03] Production.INFO: Total Charge 0
[2025-01-10 02:13:03] Production.INFO: CreateAllLog End
[2025-01-10 02:13:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:13:04] Production.INFO: count ==21
[2025-01-10 02:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:13:04] Production.INFO: count ==21
[2025-01-10 02:13:04] Production.INFO: ==30392== Releasing lock...
[2025-01-10 02:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 02:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 02:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213779') start
[2025-01-10 02:13:04] Production.ERROR: done
[2025-01-10 02:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 02:13:04] Production.INFO: Account Balance End.
[2025-01-10 02:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213779') end
[2025-01-10 02:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 02:13:04] Production.INFO: 1
[2025-01-10 02:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 02:13:04] Production.ERROR: CronJobId end 12
[2025-01-10 02:13:04] Production.INFO: ==30396== Releasing lock...
[2025-01-10 02:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 02:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 02:13:04] Production.ERROR: done
[2025-01-10 02:13:04] Production.INFO: ==30400== Releasing lock...
[2025-01-10 02:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 02:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 02:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 23:13:05
[end_date_ymd] => 2025-01-10 02:13:05
[RateCDR] => 1
)
[2025-01-10 02:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 23:13:05' and `end` < '2025-01-10 02:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 02:13:11] Production.ERROR: CronJobId end10
[2025-01-10 02:13:11] Production.INFO: ==30394== Releasing lock...
[2025-01-10 02:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 02:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 02:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 02:13:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 02:13:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 02:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 02:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 02:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 02:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 02:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 02:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 02:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 02:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 02:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 02:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 02:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 02:13:14] Production.INFO: call_cost start
[2025-01-10 02:13:14] Production.INFO: call_cost end
[2025-01-10 02:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 02:13:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 02:13:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 02:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 02:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 02:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 02:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 02:13:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 02:13:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 02:13:14] Production.INFO: ==30390== Releasing lock...
[2025-01-10 02:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 02:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 02:13:19] Production.INFO: count ==204
[2025-01-10 02:13:19] Production.ERROR: pbx CDR StartTime 2025-01-09 23:13:05 - End Time 2025-01-10 02:13:05
[2025-01-10 02:13:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 02:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213780', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213780', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213780', 'tblTempVendorCDR_20' ) start
[2025-01-10 02:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213780', 'tblTempVendorCDR_20' ) end
[2025-01-10 02:13:19] Production.INFO: ProcessCDR(1,14213780,1,1,2)
[2025-01-10 02:13:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213780,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:13:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213780,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:13:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213780,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:13:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213780,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213780', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213780', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:13:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:13:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:13:22] Production.INFO: ==30398== Releasing lock...
[2025-01-10 02:13:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 02:13:22] Production.INFO: 29 MB #Memory Used#
[2025-01-10 07:14:02] Production.INFO: ==30456== Lock acquired, processing the job...
[2025-01-10 07:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 07:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 07:14:02] Production.INFO: neon service started
[2025-01-10 07:14:02] Production.INFO: neon service started
[2025-01-10 07:14:02] Production.INFO: ==30456== Releasing lock...
[2025-01-10 07:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 07:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:14:02] Production.INFO: ==30458== Lock acquired, processing the job...
[2025-01-10 02:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:14:02] Production.INFO: ==30458== Releasing lock...
[2025-01-10 02:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 02:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:14:02] Production.INFO: ==30460== Lock acquired, processing the job...
[2025-01-10 07:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 07:14:02] Production.INFO: ==30460== Releasing lock...
[2025-01-10 07:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 07:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 02:14:03] Production.INFO: ==30466== Lock acquired, processing the job...
[2025-01-10 02:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 02:14:03] Production.INFO: ==30472== Lock acquired, processing the job...
[2025-01-10 02:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 02:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 02:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 02:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 02:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 02:14:03] Production.INFO: ==30464== Lock acquired, processing the job...
[2025-01-10 02:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 02:14:03] Production.INFO: ==30462== Lock acquired, processing the job...
[2025-01-10 02:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 02:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:14:03] Production.INFO: count ==21
[2025-01-10 02:14:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:14:03] Production.INFO: count ==21
[2025-01-10 02:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213781') start
[2025-01-10 02:14:03] Production.INFO: ==30468== Lock acquired, processing the job...
[2025-01-10 02:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 02:14:03] Production.INFO: ==30470== Lock acquired, processing the job...
[2025-01-10 02:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 02:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 02:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213781') end
[2025-01-10 02:14:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 02:14:03] Production.INFO: 1
[2025-01-10 02:14:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 02:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:14:03] Production.INFO: Account Balance Start.
[2025-01-10 02:14:03] Production.INFO: CreateAllLog Start
[2025-01-10 02:14:03] Production.INFO: 117
[2025-01-10 02:14:03] Production.INFO: Date 2025-01-08
[2025-01-10 02:14:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:14:04] Production.INFO: Date 2025-01-09
[2025-01-10 02:14:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:14:04] Production.INFO: ==30472== Releasing lock...
[2025-01-10 02:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 02:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 02:14:04] Production.INFO: Date 2025-01-10
[2025-01-10 02:14:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:14:04] Production.INFO: Total Charge 0
[2025-01-10 02:14:04] Production.INFO: ==30464== Releasing lock...
[2025-01-10 02:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 02:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 02:14:04] Production.INFO: CreateAllLog End
[2025-01-10 02:14:04] Production.ERROR: done
[2025-01-10 02:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 02:14:04] Production.ERROR: done
[2025-01-10 02:14:04] Production.INFO: Account Balance End.
[2025-01-10 02:14:04] Production.ERROR: CronJobId end 12
[2025-01-10 02:14:04] Production.INFO: ==30468== Releasing lock...
[2025-01-10 02:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 02:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 02:14:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 23:14:04
[end_date_ymd] => 2025-01-10 02:14:04
[RateCDR] => 1
)
[2025-01-10 02:14:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 23:14:04' and `end` < '2025-01-10 02:14:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 02:14:11] Production.ERROR: CronJobId end10
[2025-01-10 02:14:11] Production.INFO: ==30466== Releasing lock...
[2025-01-10 02:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 02:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 02:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 02:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 02:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 02:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 02:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 02:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 02:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 02:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 02:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 02:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 02:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 02:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 02:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 02:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 02:14:13] Production.INFO: call_cost start
[2025-01-10 02:14:13] Production.INFO: call_cost end
[2025-01-10 02:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 02:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 02:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 02:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 02:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 02:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 02:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 02:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 02:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 02:14:14] Production.INFO: ==30462== Releasing lock...
[2025-01-10 02:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 02:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 02:14:17] Production.INFO: count ==203
[2025-01-10 02:14:17] Production.ERROR: pbx CDR StartTime 2025-01-09 23:14:04 - End Time 2025-01-10 02:14:04
[2025-01-10 02:14:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 02:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213785', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213785', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213785', 'tblTempVendorCDR_20' ) start
[2025-01-10 02:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213785', 'tblTempVendorCDR_20' ) end
[2025-01-10 02:14:17] Production.INFO: ProcessCDR(1,14213785,1,1,2)
[2025-01-10 02:14:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213785,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:14:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213785,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:14:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213785,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213785,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213785', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213785', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:14:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:14:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:14:21] Production.INFO: ==30470== Releasing lock...
[2025-01-10 02:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 02:14:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 07:15:01] Production.INFO: ==30526== Lock acquired, processing the job...
[2025-01-10 07:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 07:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 07:15:01] Production.INFO: neon service started
[2025-01-10 07:15:01] Production.INFO: neon service started
[2025-01-10 07:15:01] Production.INFO: ==30526== Releasing lock...
[2025-01-10 07:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 07:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 07:15:01] Production.INFO: ==30530== Lock acquired, processing the job...
[2025-01-10 07:15:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 07:15:01] Production.INFO: ==30530== Releasing lock...
[2025-01-10 07:15:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 07:15:01] Production.INFO: 25 MB #Memory Used#
[2025-01-10 02:15:02] Production.INFO: ==30528== Lock acquired, processing the job...
[2025-01-10 02:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:15:02] Production.INFO: ==30528== Releasing lock...
[2025-01-10 02:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 02:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 02:15:03] Production.INFO: ==30539== Lock acquired, processing the job...
[2025-01-10 02:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 02:15:03] Production.INFO: ==30534== Lock acquired, processing the job...
[2025-01-10 02:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 02:15:03] Production.INFO: ==30543== Lock acquired, processing the job...
[2025-01-10 02:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 02:15:03] Production.INFO: ==30532== Lock acquired, processing the job...
[2025-01-10 02:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 02:15:03] Production.INFO: Account Balance Start.
[2025-01-10 02:15:03] Production.INFO: CreateAllLog Start
[2025-01-10 02:15:03] Production.INFO: 117
[2025-01-10 02:15:03] Production.INFO: Date 2025-01-08
[2025-01-10 02:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:15:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 02:15:03] Production.INFO: count ==21
[2025-01-10 02:15:03] Production.INFO: ==30537== Lock acquired, processing the job...
[2025-01-10 02:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 02:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:15:03] Production.INFO: count ==21
[2025-01-10 02:15:03] Production.INFO: Date 2025-01-09
[2025-01-10 02:15:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213787') start
[2025-01-10 02:15:03] Production.INFO: ==30541== Lock acquired, processing the job...
[2025-01-10 02:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 02:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 02:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 02:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 02:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 02:15:03] Production.INFO: Date 2025-01-10
[2025-01-10 02:15:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:15:03] Production.INFO: Total Charge 0
[2025-01-10 02:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213787') end
[2025-01-10 02:15:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 02:15:03] Production.INFO: 1
[2025-01-10 02:15:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 02:15:03] Production.INFO: CreateAllLog End
[2025-01-10 02:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:15:03] Production.INFO: ==30534== Releasing lock...
[2025-01-10 02:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 02:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 02:15:03] Production.INFO: ==30543== Releasing lock...
[2025-01-10 02:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 02:15:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 02:15:03] Production.INFO: Account Balance End.
[2025-01-10 02:15:03] Production.ERROR: CronJobId end 12
[2025-01-10 02:15:03] Production.INFO: ==30539== Releasing lock...
[2025-01-10 02:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 02:15:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 02:15:03] Production.ERROR: done
[2025-01-10 02:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 02:15:04] Production.ERROR: done
[2025-01-10 02:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 23:15:05
[end_date_ymd] => 2025-01-10 02:15:05
[RateCDR] => 1
)
[2025-01-10 02:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 23:15:05' and `end` < '2025-01-10 02:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 02:15:10] Production.ERROR: CronJobId end10
[2025-01-10 02:15:10] Production.INFO: ==30537== Releasing lock...
[2025-01-10 02:15:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 02:15:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 02:15:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 02:15:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 02:15:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 02:15:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 02:15:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 02:15:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 02:15:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 02:15:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 02:15:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 02:15:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 02:15:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 02:15:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 02:15:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 02:15:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 02:15:12] Production.INFO: call_cost start
[2025-01-10 02:15:12] Production.INFO: call_cost end
[2025-01-10 02:15:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 02:15:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 02:15:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 02:15:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 02:15:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 02:15:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 02:15:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 02:15:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 02:15:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 02:15:13] Production.INFO: ==30532== Releasing lock...
[2025-01-10 02:15:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 02:15:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 02:15:18] Production.INFO: count ==201
[2025-01-10 02:15:18] Production.ERROR: pbx CDR StartTime 2025-01-09 23:15:05 - End Time 2025-01-10 02:15:05
[2025-01-10 02:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 02:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213790', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213790', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213790', 'tblTempVendorCDR_20' ) start
[2025-01-10 02:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213790', 'tblTempVendorCDR_20' ) end
[2025-01-10 02:15:18] Production.INFO: ProcessCDR(1,14213790,1,1,2)
[2025-01-10 02:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213790,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213790,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213790,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213790,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213790', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213790', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:15:21] Production.INFO: ==30541== Releasing lock...
[2025-01-10 02:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 02:15:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 07:16:02] Production.INFO: ==30596== Lock acquired, processing the job...
[2025-01-10 07:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 07:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 07:16:02] Production.INFO: neon service started
[2025-01-10 07:16:02] Production.INFO: neon service started
[2025-01-10 07:16:02] Production.INFO: ==30596== Releasing lock...
[2025-01-10 07:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 07:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:16:02] Production.INFO: ==30598== Lock acquired, processing the job...
[2025-01-10 02:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:16:02] Production.INFO: ==30598== Releasing lock...
[2025-01-10 02:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 02:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:16:02] Production.INFO: ==30600== Lock acquired, processing the job...
[2025-01-10 07:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 07:16:02] Production.INFO: ==30600== Releasing lock...
[2025-01-10 07:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 07:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 02:16:03] Production.INFO: ==30602== Lock acquired, processing the job...
[2025-01-10 02:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 02:16:03] Production.INFO: ==30604== Lock acquired, processing the job...
[2025-01-10 02:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 02:16:03] Production.INFO: ==30609== Lock acquired, processing the job...
[2025-01-10 02:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 02:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 02:16:03] Production.INFO: Account Balance Start.
[2025-01-10 02:16:03] Production.INFO: CreateAllLog Start
[2025-01-10 02:16:03] Production.INFO: ==30607== Lock acquired, processing the job...
[2025-01-10 02:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 02:16:03] Production.INFO: 117
[2025-01-10 02:16:03] Production.INFO: Date 2025-01-08
[2025-01-10 02:16:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:16:03] Production.INFO: Date 2025-01-09
[2025-01-10 02:16:03] Production.INFO: ==30613== Lock acquired, processing the job...
[2025-01-10 02:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 02:16:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:16:03] Production.INFO: ==30611== Lock acquired, processing the job...
[2025-01-10 02:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 02:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 02:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 02:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 02:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 02:16:03] Production.INFO: Date 2025-01-10
[2025-01-10 02:16:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:16:03] Production.INFO: Total Charge 0
[2025-01-10 02:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:16:03] Production.INFO: CreateAllLog End
[2025-01-10 02:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:16:04] Production.INFO: ==30604== Releasing lock...
[2025-01-10 02:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 02:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 02:16:04] Production.INFO: count ==21
[2025-01-10 02:16:04] Production.INFO: Account Balance End.
[2025-01-10 02:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:16:04] Production.INFO: count ==21
[2025-01-10 02:16:04] Production.ERROR: CronJobId end 12
[2025-01-10 02:16:04] Production.INFO: ==30609== Releasing lock...
[2025-01-10 02:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 02:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 02:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213794') start
[2025-01-10 02:16:04] Production.ERROR: done
[2025-01-10 02:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213794') end
[2025-01-10 02:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 02:16:04] Production.INFO: 1
[2025-01-10 02:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 02:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 02:16:04] Production.INFO: ==30613== Releasing lock...
[2025-01-10 02:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 02:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 02:16:04] Production.ERROR: done
[2025-01-10 02:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 23:16:05
[end_date_ymd] => 2025-01-10 02:16:05
[RateCDR] => 1
)
[2025-01-10 02:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 23:16:05' and `end` < '2025-01-10 02:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 02:16:10] Production.ERROR: CronJobId end10
[2025-01-10 02:16:10] Production.INFO: ==30607== Releasing lock...
[2025-01-10 02:16:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 02:16:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 02:16:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 02:16:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 02:16:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 02:16:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 02:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 02:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 02:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 02:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 02:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 02:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 02:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 02:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 02:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 02:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 02:16:13] Production.INFO: call_cost start
[2025-01-10 02:16:13] Production.INFO: call_cost end
[2025-01-10 02:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 02:16:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 02:16:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 02:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 02:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 02:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 02:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 02:16:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 02:16:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 02:16:14] Production.INFO: ==30602== Releasing lock...
[2025-01-10 02:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 02:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 02:16:19] Production.INFO: count ==200
[2025-01-10 02:16:19] Production.ERROR: pbx CDR StartTime 2025-01-09 23:16:05 - End Time 2025-01-10 02:16:05
[2025-01-10 02:16:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 02:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213795', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213795', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213795', 'tblTempVendorCDR_20' ) start
[2025-01-10 02:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213795', 'tblTempVendorCDR_20' ) end
[2025-01-10 02:16:19] Production.INFO: ProcessCDR(1,14213795,1,1,2)
[2025-01-10 02:16:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213795,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:16:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213795,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:16:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213795,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:16:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213795,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213795', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213795', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:16:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:16:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:16:22] Production.INFO: ==30611== Releasing lock...
[2025-01-10 02:16:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 02:16:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 07:17:01] Production.INFO: ==30665== Lock acquired, processing the job...
[2025-01-10 07:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 07:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 07:17:01] Production.INFO: neon service started
[2025-01-10 07:17:01] Production.INFO: neon service started
[2025-01-10 07:17:01] Production.INFO: ==30665== Releasing lock...
[2025-01-10 07:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 07:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 07:17:01] Production.INFO: ==30669== Lock acquired, processing the job...
[2025-01-10 07:17:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 07:17:01] Production.INFO: ==30669== Releasing lock...
[2025-01-10 07:17:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 07:17:01] Production.INFO: 25 MB #Memory Used#
[2025-01-10 02:17:01] Production.INFO: ==30667== Lock acquired, processing the job...
[2025-01-10 02:17:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:17:02] Production.INFO: ==30667== Releasing lock...
[2025-01-10 02:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 02:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 02:17:02] Production.INFO: ==30673== Lock acquired, processing the job...
[2025-01-10 02:17:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 02:17:02] Production.INFO: ==30671== Lock acquired, processing the job...
[2025-01-10 02:17:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 02:17:02] Production.INFO: ==30679== Lock acquired, processing the job...
[2025-01-10 02:17:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 02:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 02:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:17:03] Production.INFO: ==30675== Lock acquired, processing the job...
[2025-01-10 02:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 02:17:03] Production.INFO: ==30677== Lock acquired, processing the job...
[2025-01-10 02:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 02:17:03] Production.INFO: ==30681== Lock acquired, processing the job...
[2025-01-10 02:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 02:17:03] Production.INFO: ==30673== Releasing lock...
[2025-01-10 02:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 02:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 02:17:03] Production.INFO: Account Balance Start.
[2025-01-10 02:17:03] Production.INFO: CreateAllLog Start
[2025-01-10 02:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 02:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 02:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 02:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 02:17:03] Production.INFO: 117
[2025-01-10 02:17:03] Production.INFO: Date 2025-01-08
[2025-01-10 02:17:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:17:03] Production.INFO: Date 2025-01-09
[2025-01-10 02:17:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:17:03] Production.ERROR: done
[2025-01-10 02:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:17:03] Production.INFO: Date 2025-01-10
[2025-01-10 02:17:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 02:17:03] Production.INFO: count ==21
[2025-01-10 02:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:17:03] Production.INFO: count ==21
[2025-01-10 02:17:03] Production.INFO: Total Charge 0
[2025-01-10 02:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213799') start
[2025-01-10 02:17:03] Production.INFO: CreateAllLog End
[2025-01-10 02:17:03] Production.ERROR: done
[2025-01-10 02:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213799') end
[2025-01-10 02:17:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 02:17:03] Production.INFO: 1
[2025-01-10 02:17:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 02:17:03] Production.INFO: ==30681== Releasing lock...
[2025-01-10 02:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 02:17:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 02:17:03] Production.INFO: Account Balance End.
[2025-01-10 02:17:03] Production.ERROR: CronJobId end 12
[2025-01-10 02:17:03] Production.INFO: ==30677== Releasing lock...
[2025-01-10 02:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 02:17:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 02:17:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 23:17:04
[end_date_ymd] => 2025-01-10 02:17:04
[RateCDR] => 1
)
[2025-01-10 02:17:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 23:17:04' and `end` < '2025-01-10 02:17:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 02:17:10] Production.ERROR: CronJobId end10
[2025-01-10 02:17:10] Production.INFO: ==30675== Releasing lock...
[2025-01-10 02:17:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 02:17:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 02:17:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 02:17:11] Production.INFO: ============== Balance Warning START===========
[2025-01-10 02:17:11] Production.INFO: ============== Balance Warning END===========
[2025-01-10 02:17:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 02:17:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 02:17:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 02:17:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 02:17:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 02:17:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 02:17:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 02:17:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 02:17:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 02:17:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 02:17:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 02:17:12] Production.INFO: call_cost start
[2025-01-10 02:17:12] Production.INFO: call_cost end
[2025-01-10 02:17:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 02:17:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 02:17:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 02:17:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 02:17:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 02:17:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 02:17:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 02:17:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 02:17:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 02:17:13] Production.INFO: ==30671== Releasing lock...
[2025-01-10 02:17:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 02:17:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 02:17:17] Production.INFO: count ==196
[2025-01-10 02:17:17] Production.ERROR: pbx CDR StartTime 2025-01-09 23:17:04 - End Time 2025-01-10 02:17:04
[2025-01-10 02:17:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 02:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213800', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213800', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213800', 'tblTempVendorCDR_20' ) start
[2025-01-10 02:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213800', 'tblTempVendorCDR_20' ) end
[2025-01-10 02:17:17] Production.INFO: ProcessCDR(1,14213800,1,1,2)
[2025-01-10 02:17:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213800,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:17:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213800,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:17:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213800,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:17:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213800,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:17:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213800', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:17:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213800', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:17:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:17:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:17:20] Production.INFO: ==30679== Releasing lock...
[2025-01-10 02:17:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 02:17:20] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 07:18:01] Production.INFO: ==30737== Lock acquired, processing the job...
[2025-01-10 07:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 07:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 07:18:01] Production.INFO: neon service started
[2025-01-10 07:18:01] Production.INFO: neon service started
[2025-01-10 07:18:01] Production.INFO: ==30737== Releasing lock...
[2025-01-10 07:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 07:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:18:02] Production.INFO: ==30739== Lock acquired, processing the job...
[2025-01-10 02:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:18:02] Production.INFO: ==30739== Releasing lock...
[2025-01-10 02:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 02:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:18:02] Production.INFO: ==30741== Lock acquired, processing the job...
[2025-01-10 07:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 07:18:02] Production.INFO: ==30741== Releasing lock...
[2025-01-10 07:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 07:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 02:18:03] Production.INFO: ==30743== Lock acquired, processing the job...
[2025-01-10 02:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 02:18:03] Production.INFO: ==30745== Lock acquired, processing the job...
[2025-01-10 02:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 02:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 02:18:03] Production.INFO: ==30749== Lock acquired, processing the job...
[2025-01-10 02:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 02:18:03] Production.INFO: Account Balance Start.
[2025-01-10 02:18:03] Production.INFO: CreateAllLog Start
[2025-01-10 02:18:03] Production.INFO: 117
[2025-01-10 02:18:03] Production.INFO: Date 2025-01-08
[2025-01-10 02:18:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:18:03] Production.INFO: Date 2025-01-09
[2025-01-10 02:18:03] Production.INFO: ==30747== Lock acquired, processing the job...
[2025-01-10 02:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 02:18:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:18:03] Production.INFO: ==30745== Releasing lock...
[2025-01-10 02:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 02:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 02:18:03] Production.INFO: Date 2025-01-10
[2025-01-10 02:18:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:18:03] Production.INFO: Total Charge 0
[2025-01-10 02:18:03] Production.INFO: ==30751== Lock acquired, processing the job...
[2025-01-10 02:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 02:18:03] Production.INFO: CreateAllLog End
[2025-01-10 02:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 02:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 02:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 02:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 02:18:03] Production.INFO: ==30753== Lock acquired, processing the job...
[2025-01-10 02:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 02:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:18:03] Production.INFO: Account Balance End.
[2025-01-10 02:18:03] Production.ERROR: CronJobId end 12
[2025-01-10 02:18:03] Production.INFO: ==30749== Releasing lock...
[2025-01-10 02:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 02:18:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 02:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:18:03] Production.INFO: count ==21
[2025-01-10 02:18:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:18:04] Production.INFO: count ==21
[2025-01-10 02:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213804') start
[2025-01-10 02:18:04] Production.ERROR: done
[2025-01-10 02:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 02:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213804') end
[2025-01-10 02:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 02:18:04] Production.INFO: 1
[2025-01-10 02:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 02:18:04] Production.INFO: ==30753== Releasing lock...
[2025-01-10 02:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 02:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 02:18:04] Production.ERROR: done
[2025-01-10 02:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 23:18:05
[end_date_ymd] => 2025-01-10 02:18:05
[RateCDR] => 1
)
[2025-01-10 02:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 23:18:05' and `end` < '2025-01-10 02:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 02:18:11] Production.ERROR: CronJobId end10
[2025-01-10 02:18:11] Production.INFO: ==30747== Releasing lock...
[2025-01-10 02:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 02:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 02:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 02:18:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 02:18:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 02:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 02:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 02:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 02:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 02:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 02:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 02:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 02:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 02:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 02:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 02:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 02:18:14] Production.INFO: call_cost start
[2025-01-10 02:18:14] Production.INFO: call_cost end
[2025-01-10 02:18:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 02:18:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 02:18:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 02:18:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 02:18:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 02:18:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 02:18:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 02:18:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 02:18:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 02:18:15] Production.INFO: ==30743== Releasing lock...
[2025-01-10 02:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 02:18:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 02:18:18] Production.INFO: count ==194
[2025-01-10 02:18:18] Production.ERROR: pbx CDR StartTime 2025-01-09 23:18:05 - End Time 2025-01-10 02:18:05
[2025-01-10 02:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 02:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213805', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213805', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213805', 'tblTempVendorCDR_20' ) start
[2025-01-10 02:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213805', 'tblTempVendorCDR_20' ) end
[2025-01-10 02:18:18] Production.INFO: ProcessCDR(1,14213805,1,1,2)
[2025-01-10 02:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213805,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213805,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213805,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:18:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213805,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213805', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213805', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:18:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:18:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:18:21] Production.INFO: ==30751== Releasing lock...
[2025-01-10 02:18:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 02:18:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 07:19:02] Production.INFO: ==30814== Lock acquired, processing the job...
[2025-01-10 07:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 07:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 07:19:02] Production.INFO: neon service started
[2025-01-10 07:19:02] Production.INFO: neon service started
[2025-01-10 07:19:02] Production.INFO: ==30814== Releasing lock...
[2025-01-10 07:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 07:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:19:02] Production.INFO: ==30816== Lock acquired, processing the job...
[2025-01-10 02:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 07:19:02] Production.INFO: ==30818== Lock acquired, processing the job...
[2025-01-10 07:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 07:19:02] Production.INFO: ==30818== Releasing lock...
[2025-01-10 07:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 07:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 02:19:03] Production.INFO: ==30816== Releasing lock...
[2025-01-10 02:19:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 02:19:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 02:19:03] Production.INFO: ==30821== Lock acquired, processing the job...
[2025-01-10 02:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 02:19:03] Production.INFO: ==30823== Lock acquired, processing the job...
[2025-01-10 02:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 02:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 02:19:03] Production.INFO: ==30825== Lock acquired, processing the job...
[2025-01-10 02:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 02:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 02:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 02:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 02:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 02:19:04] Production.INFO: ==30823== Releasing lock...
[2025-01-10 02:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 02:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 02:19:04] Production.INFO: ==30827== Lock acquired, processing the job...
[2025-01-10 02:19:04] Production.INFO: ==30829== Lock acquired, processing the job...
[2025-01-10 02:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 02:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 02:19:04] Production.INFO: ==30831== Lock acquired, processing the job...
[2025-01-10 02:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 02:19:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:19:04] Production.INFO: Account Balance Start.
[2025-01-10 02:19:04] Production.INFO: CreateAllLog Start
[2025-01-10 02:19:04] Production.INFO: 117
[2025-01-10 02:19:04] Production.INFO: Date 2025-01-08
[2025-01-10 02:19:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:19:04] Production.INFO: Date 2025-01-09
[2025-01-10 02:19:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:19:04] Production.INFO: Date 2025-01-10
[2025-01-10 02:19:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:19:04] Production.INFO: Total Charge 0
[2025-01-10 02:19:04] Production.INFO: CreateAllLog End
[2025-01-10 02:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:19:04] Production.INFO: count ==21
[2025-01-10 02:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:19:04] Production.INFO: count ==21
[2025-01-10 02:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213809') start
[2025-01-10 02:19:04] Production.ERROR: done
[2025-01-10 02:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 02:19:04] Production.INFO: Account Balance End.
[2025-01-10 02:19:04] Production.ERROR: CronJobId end 12
[2025-01-10 02:19:04] Production.INFO: ==30827== Releasing lock...
[2025-01-10 02:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 02:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 02:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213809') end
[2025-01-10 02:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 02:19:04] Production.INFO: 1
[2025-01-10 02:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 02:19:04] Production.ERROR: done
[2025-01-10 02:19:04] Production.INFO: ==30831== Releasing lock...
[2025-01-10 02:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 02:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 02:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 23:19:05
[end_date_ymd] => 2025-01-10 02:19:05
[RateCDR] => 1
)
[2025-01-10 02:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 23:19:05' and `end` < '2025-01-10 02:19:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 02:19:11] Production.ERROR: CronJobId end10
[2025-01-10 02:19:11] Production.INFO: ==30825== Releasing lock...
[2025-01-10 02:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 02:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 02:19:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 02:19:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 02:19:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 02:19:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 02:19:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 02:19:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 02:19:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 02:19:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 02:19:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 02:19:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 02:19:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 02:19:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 02:19:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 02:19:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 02:19:13] Production.INFO: call_cost start
[2025-01-10 02:19:13] Production.INFO: call_cost end
[2025-01-10 02:19:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 02:19:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 02:19:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 02:19:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 02:19:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 02:19:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 02:19:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 02:19:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 02:19:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 02:19:13] Production.INFO: ==30821== Releasing lock...
[2025-01-10 02:19:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 02:19:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 02:19:19] Production.INFO: count ==194
[2025-01-10 02:19:19] Production.ERROR: pbx CDR StartTime 2025-01-09 23:19:05 - End Time 2025-01-10 02:19:05
[2025-01-10 02:19:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 02:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213810', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213810', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213810', 'tblTempVendorCDR_20' ) start
[2025-01-10 02:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213810', 'tblTempVendorCDR_20' ) end
[2025-01-10 02:19:19] Production.INFO: ProcessCDR(1,14213810,1,1,2)
[2025-01-10 02:19:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213810,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:19:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213810,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:19:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213810,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:19:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213810,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213810', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213810', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:19:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:19:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:19:22] Production.INFO: ==30829== Releasing lock...
[2025-01-10 02:19:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 02:19:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 07:20:01] Production.INFO: ==30930== Lock acquired, processing the job...
[2025-01-10 07:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 07:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 07:20:01] Production.INFO: neon service started
[2025-01-10 07:20:01] Production.INFO: neon service started
[2025-01-10 07:20:01] Production.INFO: ==30930== Releasing lock...
[2025-01-10 07:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 07:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:20:02] Production.INFO: ==30932== Lock acquired, processing the job...
[2025-01-10 02:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 07:20:02] Production.INFO: ==30934== Lock acquired, processing the job...
[2025-01-10 07:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 07:20:02] Production.INFO: ==30934== Releasing lock...
[2025-01-10 07:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 07:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 02:20:02] Production.INFO: ==30932== Releasing lock...
[2025-01-10 02:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 02:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 02:20:03] Production.INFO: ==30937== Lock acquired, processing the job...
[2025-01-10 02:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 02:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 02:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 02:20:03] Production.INFO: ==30937== Releasing lock...
[2025-01-10 02:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 02:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 02:20:03] Production.INFO: ==30939== Lock acquired, processing the job...
[2025-01-10 02:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 02:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 02:20:04] Production.INFO: ==30941== Lock acquired, processing the job...
[2025-01-10 02:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 02:20:04] Production.INFO: ==30945== Lock acquired, processing the job...
[2025-01-10 02:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 02:20:04] Production.INFO: ==30943== Lock acquired, processing the job...
[2025-01-10 02:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 02:20:04] Production.INFO: Account Balance Start.
[2025-01-10 02:20:04] Production.INFO: CreateAllLog Start
[2025-01-10 02:20:04] Production.INFO: 117
[2025-01-10 02:20:04] Production.INFO: ==30951== Lock acquired, processing the job...
[2025-01-10 02:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 02:20:04] Production.INFO: Date 2025-01-08
[2025-01-10 02:20:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:20:04] Production.INFO: ==30947== Lock acquired, processing the job...
[2025-01-10 02:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 02:20:04] Production.INFO: ==30949== Lock acquired, processing the job...
[2025-01-10 02:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 02:20:04] Production.INFO: Date 2025-01-09
[2025-01-10 02:20:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 02:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 02:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 02:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 02:20:04] Production.INFO: Date 2025-01-10
[2025-01-10 02:20:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:20:04] Production.INFO: Total Charge 0
[2025-01-10 02:20:04] Production.INFO: count ==21
[2025-01-10 02:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:20:04] Production.INFO: CreateAllLog End
[2025-01-10 02:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:20:04] Production.INFO: ==30941== Releasing lock...
[2025-01-10 02:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 02:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 02:20:04] Production.INFO: count ==21
[2025-01-10 02:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213814') start
[2025-01-10 02:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213814') end
[2025-01-10 02:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 02:20:04] Production.INFO: 1
[2025-01-10 02:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 02:20:04] Production.ERROR: done
[2025-01-10 02:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 02:20:04] Production.INFO: ==30951== Releasing lock...
[2025-01-10 02:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 02:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 02:20:04] Production.ERROR: done
[2025-01-10 02:20:04] Production.ERROR: done
[2025-01-10 02:20:04] Production.INFO: Account Balance End.
[2025-01-10 02:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 02:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14213815', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 02:20:05] Production.ERROR: CronJobId end 12
[2025-01-10 02:20:05] Production.INFO: ==30945== Releasing lock...
[2025-01-10 02:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 02:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 02:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 23:20:05
[end_date_ymd] => 2025-01-10 02:20:05
[RateCDR] => 1
)
[2025-01-10 02:20:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 23:20:05' and `end` < '2025-01-10 02:20:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 02:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14213815', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 02:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 02:20:09] Production.INFO: ProcessCDR(1,14213815,1,1,2)
[2025-01-10 02:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14213815,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14213815,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:20:09] Production.INFO: ==30949== Releasing lock...
[2025-01-10 02:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 02:20:09] Production.INFO: 26 MB #Memory Used#
[2025-01-10 02:20:12] Production.ERROR: CronJobId end10
[2025-01-10 02:20:12] Production.INFO: ==30943== Releasing lock...
[2025-01-10 02:20:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 02:20:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 02:20:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 02:20:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 02:20:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 02:20:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 02:20:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 02:20:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 02:20:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 02:20:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 02:20:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 02:20:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 02:20:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 02:20:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 02:20:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 02:20:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 02:20:14] Production.INFO: call_cost start
[2025-01-10 02:20:14] Production.INFO: call_cost end
[2025-01-10 02:20:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 02:20:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 02:20:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 02:20:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 02:20:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 02:20:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 02:20:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 02:20:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 02:20:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 02:20:15] Production.INFO: ==30939== Releasing lock...
[2025-01-10 02:20:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 02:20:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 02:20:18] Production.INFO: count ==198
[2025-01-10 02:20:18] Production.ERROR: pbx CDR StartTime 2025-01-09 23:20:05 - End Time 2025-01-10 02:20:05
[2025-01-10 02:20:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 02:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213816', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213816', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213816', 'tblTempVendorCDR_20' ) start
[2025-01-10 02:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213816', 'tblTempVendorCDR_20' ) end
[2025-01-10 02:20:18] Production.INFO: ProcessCDR(1,14213816,1,1,2)
[2025-01-10 02:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213816,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:20:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213816,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:20:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213816,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213816,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213816', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213816', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:20:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:20:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:20:22] Production.INFO: ==30947== Releasing lock...
[2025-01-10 02:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 02:20:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 07:21:02] Production.INFO: ==31011== Lock acquired, processing the job...
[2025-01-10 07:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 07:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 07:21:02] Production.INFO: neon service started
[2025-01-10 07:21:02] Production.INFO: neon service started
[2025-01-10 07:21:02] Production.INFO: ==31011== Releasing lock...
[2025-01-10 07:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 07:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:21:02] Production.INFO: ==31013== Lock acquired, processing the job...
[2025-01-10 02:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:21:02] Production.INFO: ==31013== Releasing lock...
[2025-01-10 02:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 02:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:21:02] Production.INFO: ==31015== Lock acquired, processing the job...
[2025-01-10 07:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 07:21:03] Production.INFO: ==31015== Releasing lock...
[2025-01-10 07:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 07:21:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 02:21:03] Production.INFO: ==31026== Lock acquired, processing the job...
[2025-01-10 02:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 02:21:03] Production.INFO: ==31028== Lock acquired, processing the job...
[2025-01-10 02:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 02:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:21:04] Production.INFO: ==31020== Lock acquired, processing the job...
[2025-01-10 02:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 02:21:04] Production.INFO: ==31018== Lock acquired, processing the job...
[2025-01-10 02:21:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 02:21:04] Production.INFO: ==31022== Lock acquired, processing the job...
[2025-01-10 02:21:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 02:21:04] Production.INFO: count ==21
[2025-01-10 02:21:04] Production.INFO: ==31024== Lock acquired, processing the job...
[2025-01-10 02:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 02:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:21:04] Production.INFO: count ==21
[2025-01-10 02:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213817') start
[2025-01-10 02:21:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 02:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 02:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 02:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 02:21:04] Production.ERROR: done
[2025-01-10 02:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 02:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 02:21:04] Production.INFO: Account Balance Start.
[2025-01-10 02:21:04] Production.INFO: CreateAllLog Start
[2025-01-10 02:21:04] Production.INFO: 117
[2025-01-10 02:21:04] Production.INFO: Date 2025-01-08
[2025-01-10 02:21:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213817') end
[2025-01-10 02:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 02:21:04] Production.INFO: 1
[2025-01-10 02:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 02:21:04] Production.INFO: Date 2025-01-09
[2025-01-10 02:21:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:21:04] Production.INFO: ==31028== Releasing lock...
[2025-01-10 02:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 02:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 02:21:04] Production.ERROR: done
[2025-01-10 02:21:04] Production.INFO: Date 2025-01-10
[2025-01-10 02:21:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:21:04] Production.INFO: Total Charge 0
[2025-01-10 02:21:04] Production.INFO: ==31020== Releasing lock...
[2025-01-10 02:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 02:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 02:21:04] Production.INFO: CreateAllLog End
[2025-01-10 02:21:04] Production.INFO: Account Balance End.
[2025-01-10 02:21:04] Production.ERROR: CronJobId end 12
[2025-01-10 02:21:04] Production.INFO: ==31024== Releasing lock...
[2025-01-10 02:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 02:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 02:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 23:21:05
[end_date_ymd] => 2025-01-10 02:21:05
[RateCDR] => 1
)
[2025-01-10 02:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 23:21:05' and `end` < '2025-01-10 02:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 02:21:12] Production.ERROR: CronJobId end10
[2025-01-10 02:21:12] Production.INFO: ==31022== Releasing lock...
[2025-01-10 02:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 02:21:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 02:21:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 02:21:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 02:21:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 02:21:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 02:21:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 02:21:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 02:21:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 02:21:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 02:21:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 02:21:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 02:21:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 02:21:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 02:21:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 02:21:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 02:21:13] Production.INFO: call_cost start
[2025-01-10 02:21:13] Production.INFO: call_cost end
[2025-01-10 02:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 02:21:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 02:21:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 02:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 02:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 02:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 02:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 02:21:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 02:21:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 02:21:14] Production.INFO: ==31018== Releasing lock...
[2025-01-10 02:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 02:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 02:21:18] Production.INFO: count ==201
[2025-01-10 02:21:18] Production.ERROR: pbx CDR StartTime 2025-01-09 23:21:05 - End Time 2025-01-10 02:21:05
[2025-01-10 02:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 02:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213821', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213821', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213821', 'tblTempVendorCDR_20' ) start
[2025-01-10 02:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213821', 'tblTempVendorCDR_20' ) end
[2025-01-10 02:21:18] Production.INFO: ProcessCDR(1,14213821,1,1,2)
[2025-01-10 02:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213821,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213821,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213821,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213821,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213821', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213821', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:21:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:21:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:21:21] Production.INFO: ==31026== Releasing lock...
[2025-01-10 02:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 02:21:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 07:22:01] Production.INFO: ==31092== Lock acquired, processing the job...
[2025-01-10 07:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 07:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 07:22:01] Production.INFO: neon service started
[2025-01-10 07:22:01] Production.INFO: neon service started
[2025-01-10 07:22:01] Production.INFO: ==31092== Releasing lock...
[2025-01-10 07:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 07:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:22:02] Production.INFO: ==31094== Lock acquired, processing the job...
[2025-01-10 02:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:22:02] Production.INFO: ==31094== Releasing lock...
[2025-01-10 02:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 02:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:22:02] Production.INFO: ==31096== Lock acquired, processing the job...
[2025-01-10 07:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 07:22:02] Production.INFO: ==31096== Releasing lock...
[2025-01-10 07:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 07:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 02:22:03] Production.INFO: ==31101== Lock acquired, processing the job...
[2025-01-10 02:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 02:22:03] Production.INFO: ==31107== Lock acquired, processing the job...
[2025-01-10 02:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 02:22:03] Production.INFO: ==31099== Lock acquired, processing the job...
[2025-01-10 02:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 02:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:22:03] Production.INFO: ==31103== Lock acquired, processing the job...
[2025-01-10 02:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 02:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 02:22:03] Production.INFO: ==31105== Lock acquired, processing the job...
[2025-01-10 02:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 02:22:03] Production.INFO: ==31109== Lock acquired, processing the job...
[2025-01-10 02:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 02:22:03] Production.INFO: ==31101== Releasing lock...
[2025-01-10 02:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 02:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 02:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 02:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 02:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 02:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 02:22:03] Production.INFO: Account Balance Start.
[2025-01-10 02:22:03] Production.INFO: CreateAllLog Start
[2025-01-10 02:22:03] Production.INFO: count ==21
[2025-01-10 02:22:03] Production.INFO: 117
[2025-01-10 02:22:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:22:03] Production.INFO: count ==21
[2025-01-10 02:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213824') start
[2025-01-10 02:22:03] Production.INFO: Date 2025-01-08
[2025-01-10 02:22:03] Production.ERROR: done
[2025-01-10 02:22:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:22:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 02:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213824') end
[2025-01-10 02:22:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 02:22:03] Production.INFO: 1
[2025-01-10 02:22:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 02:22:03] Production.INFO: Date 2025-01-09
[2025-01-10 02:22:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:22:03] Production.INFO: ==31109== Releasing lock...
[2025-01-10 02:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 02:22:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 02:22:03] Production.ERROR: done
[2025-01-10 02:22:03] Production.INFO: Date 2025-01-10
[2025-01-10 02:22:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:22:04] Production.INFO: Total Charge 0
[2025-01-10 02:22:04] Production.INFO: CreateAllLog End
[2025-01-10 02:22:04] Production.INFO: Account Balance End.
[2025-01-10 02:22:04] Production.ERROR: CronJobId end 12
[2025-01-10 02:22:04] Production.INFO: ==31105== Releasing lock...
[2025-01-10 02:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 02:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 02:22:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 23:22:04
[end_date_ymd] => 2025-01-10 02:22:04
[RateCDR] => 1
)
[2025-01-10 02:22:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 23:22:04' and `end` < '2025-01-10 02:22:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 02:22:10] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#11 [internal function]: App\Console\Commands\NeonAlerts->fire()
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,8))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#2 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#6 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#7 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#8 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#9 [internal function]: App\Console\Commands\NeonAlerts->fire()
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 {main}
[2025-01-10 02:22:10] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 02:22:10] Production.INFO: ============== Balance Warning START===========
[2025-01-10 02:22:10] Production.INFO: ============== Balance Warning END===========
[2025-01-10 02:22:10] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 02:22:10] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 02:22:10] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 02:22:10] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 02:22:10] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 02:22:10] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 02:22:10] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 02:22:10] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 02:22:10] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 02:22:10] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 02:22:10] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 02:22:10] Production.INFO: call_cost start
[2025-01-10 02:22:10] Production.INFO: call_cost end
[2025-01-10 02:22:11] Production.ERROR: CronJobId end10
[2025-01-10 02:22:11] Production.INFO: ==31103== Releasing lock...
[2025-01-10 02:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 02:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 02:22:11] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 02:22:11] Production.INFO: ============== Report Schedule START===========
[2025-01-10 02:22:11] Production.INFO: ============== Report Schedule END===========
[2025-01-10 02:22:11] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 02:22:11] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 02:22:11] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 02:22:11] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 02:22:11] Production.INFO: ============== Deal alert START===========
[2025-01-10 02:22:11] Production.INFO: ============== Deal alert END===========
[2025-01-10 02:22:11] Production.INFO: ==31099== Releasing lock...
[2025-01-10 02:22:11] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 02:22:11] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 02:22:17] Production.INFO: count ==201
[2025-01-10 02:22:17] Production.ERROR: pbx CDR StartTime 2025-01-09 23:22:04 - End Time 2025-01-10 02:22:04
[2025-01-10 02:22:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 02:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213826', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213826', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213826', 'tblTempVendorCDR_20' ) start
[2025-01-10 02:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213826', 'tblTempVendorCDR_20' ) end
[2025-01-10 02:22:17] Production.INFO: ProcessCDR(1,14213826,1,1,2)
[2025-01-10 02:22:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213826,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:22:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213826,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:22:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213826,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:22:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213826,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:22:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213826', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:22:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213826', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:22:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:22:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:22:20] Production.INFO: ==31107== Releasing lock...
[2025-01-10 02:22:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 02:22:20] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 07:23:02] Production.INFO: ==31191== Lock acquired, processing the job...
[2025-01-10 07:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 07:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 07:23:02] Production.INFO: neon service started
[2025-01-10 07:23:02] Production.INFO: neon service started
[2025-01-10 07:23:02] Production.INFO: ==31191== Releasing lock...
[2025-01-10 07:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 07:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:23:02] Production.INFO: ==31193== Lock acquired, processing the job...
[2025-01-10 02:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:23:02] Production.INFO: ==31193== Releasing lock...
[2025-01-10 02:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 02:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:23:02] Production.INFO: ==31195== Lock acquired, processing the job...
[2025-01-10 07:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 07:23:02] Production.INFO: ==31195== Releasing lock...
[2025-01-10 07:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 07:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 02:23:03] Production.INFO: ==31205== Lock acquired, processing the job...
[2025-01-10 02:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 02:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:23:03] Production.INFO: ==31197== Lock acquired, processing the job...
[2025-01-10 02:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 02:23:03] Production.INFO: ==31207== Lock acquired, processing the job...
[2025-01-10 02:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 02:23:03] Production.INFO: ==31201== Lock acquired, processing the job...
[2025-01-10 02:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 02:23:03] Production.INFO: ==31199== Lock acquired, processing the job...
[2025-01-10 02:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 02:23:03] Production.INFO: ==31203== Lock acquired, processing the job...
[2025-01-10 02:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 02:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 02:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 02:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 02:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 02:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 02:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:23:03] Production.INFO: count ==21
[2025-01-10 02:23:03] Production.INFO: Account Balance Start.
[2025-01-10 02:23:03] Production.INFO: CreateAllLog Start
[2025-01-10 02:23:03] Production.INFO: 117
[2025-01-10 02:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:23:03] Production.ERROR: done
[2025-01-10 02:23:03] Production.INFO: Date 2025-01-08
[2025-01-10 02:23:03] Production.INFO: count ==21
[2025-01-10 02:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 02:23:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213827') start
[2025-01-10 02:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213827') end
[2025-01-10 02:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 02:23:04] Production.INFO: 1
[2025-01-10 02:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 02:23:04] Production.INFO: Date 2025-01-09
[2025-01-10 02:23:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:23:04] Production.ERROR: done
[2025-01-10 02:23:04] Production.INFO: ==31207== Releasing lock...
[2025-01-10 02:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 02:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 02:23:04] Production.INFO: Date 2025-01-10
[2025-01-10 02:23:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:23:04] Production.INFO: Total Charge 0
[2025-01-10 02:23:04] Production.INFO: CreateAllLog End
[2025-01-10 02:23:04] Production.INFO: ==31199== Releasing lock...
[2025-01-10 02:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 02:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 02:23:04] Production.INFO: Account Balance End.
[2025-01-10 02:23:04] Production.ERROR: CronJobId end 12
[2025-01-10 02:23:04] Production.INFO: ==31203== Releasing lock...
[2025-01-10 02:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 02:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 02:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 23:23:05
[end_date_ymd] => 2025-01-10 02:23:05
[RateCDR] => 1
)
[2025-01-10 02:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 23:23:05' and `end` < '2025-01-10 02:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 02:23:11] Production.ERROR: CronJobId end10
[2025-01-10 02:23:11] Production.INFO: ==31201== Releasing lock...
[2025-01-10 02:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 02:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 02:23:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 02:23:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 02:23:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 02:23:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 02:23:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 02:23:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 02:23:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 02:23:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 02:23:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 02:23:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 02:23:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 02:23:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 02:23:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 02:23:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 02:23:13] Production.INFO: call_cost start
[2025-01-10 02:23:13] Production.INFO: call_cost end
[2025-01-10 02:23:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 02:23:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 02:23:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 02:23:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 02:23:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 02:23:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 02:23:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 02:23:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 02:23:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 02:23:13] Production.INFO: ==31197== Releasing lock...
[2025-01-10 02:23:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 02:23:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 02:23:19] Production.INFO: count ==201
[2025-01-10 02:23:19] Production.ERROR: pbx CDR StartTime 2025-01-09 23:23:05 - End Time 2025-01-10 02:23:05
[2025-01-10 02:23:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 02:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213831', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213831', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213831', 'tblTempVendorCDR_20' ) start
[2025-01-10 02:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213831', 'tblTempVendorCDR_20' ) end
[2025-01-10 02:23:19] Production.INFO: ProcessCDR(1,14213831,1,1,2)
[2025-01-10 02:23:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213831,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:23:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213831,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:23:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213831,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:23:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213831,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213831', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213831', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:23:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:23:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:23:22] Production.INFO: ==31205== Releasing lock...
[2025-01-10 02:23:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 02:23:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 07:24:01] Production.INFO: ==31291== Lock acquired, processing the job...
[2025-01-10 07:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 07:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 07:24:01] Production.INFO: neon service started
[2025-01-10 07:24:01] Production.INFO: neon service started
[2025-01-10 07:24:01] Production.INFO: ==31291== Releasing lock...
[2025-01-10 07:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 07:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:24:01] Production.INFO: ==31293== Lock acquired, processing the job...
[2025-01-10 02:24:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:24:02] Production.INFO: ==31293== Releasing lock...
[2025-01-10 02:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 02:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:24:02] Production.INFO: ==31295== Lock acquired, processing the job...
[2025-01-10 07:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 07:24:02] Production.INFO: ==31295== Releasing lock...
[2025-01-10 07:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 07:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 02:24:03] Production.INFO: ==31301== Lock acquired, processing the job...
[2025-01-10 02:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 02:24:03] Production.INFO: ==31307== Lock acquired, processing the job...
[2025-01-10 02:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 02:24:03] Production.INFO: ==31297== Lock acquired, processing the job...
[2025-01-10 02:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 02:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 02:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 02:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 02:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 02:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 02:24:03] Production.INFO: count ==21
[2025-01-10 02:24:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:24:03] Production.INFO: count ==21
[2025-01-10 02:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213832') start
[2025-01-10 02:24:03] Production.INFO: ==31299== Lock acquired, processing the job...
[2025-01-10 02:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 02:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213832') end
[2025-01-10 02:24:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 02:24:03] Production.INFO: 1
[2025-01-10 02:24:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 02:24:03] Production.INFO: ==31303== Lock acquired, processing the job...
[2025-01-10 02:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 02:24:03] Production.INFO: ==31305== Lock acquired, processing the job...
[2025-01-10 02:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 02:24:03] Production.INFO: ==31307== Releasing lock...
[2025-01-10 02:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 02:24:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 02:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:24:03] Production.INFO: Account Balance Start.
[2025-01-10 02:24:03] Production.INFO: CreateAllLog Start
[2025-01-10 02:24:03] Production.INFO: 117
[2025-01-10 02:24:03] Production.INFO: Date 2025-01-08
[2025-01-10 02:24:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:24:03] Production.INFO: Date 2025-01-09
[2025-01-10 02:24:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:24:03] Production.INFO: Date 2025-01-10
[2025-01-10 02:24:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:24:03] Production.INFO: Total Charge 0
[2025-01-10 02:24:03] Production.INFO: CreateAllLog End
[2025-01-10 02:24:03] Production.ERROR: done
[2025-01-10 02:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 02:24:04] Production.INFO: ==31299== Releasing lock...
[2025-01-10 02:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 02:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 02:24:04] Production.INFO: Account Balance End.
[2025-01-10 02:24:04] Production.ERROR: CronJobId end 12
[2025-01-10 02:24:04] Production.INFO: ==31303== Releasing lock...
[2025-01-10 02:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 02:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 02:24:04] Production.ERROR: done
[2025-01-10 02:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 23:24:05
[end_date_ymd] => 2025-01-10 02:24:05
[RateCDR] => 1
)
[2025-01-10 02:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 23:24:05' and `end` < '2025-01-10 02:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 02:24:11] Production.ERROR: CronJobId end10
[2025-01-10 02:24:11] Production.INFO: ==31301== Releasing lock...
[2025-01-10 02:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 02:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 02:24:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 02:24:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 02:24:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 02:24:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 02:24:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 02:24:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 02:24:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 02:24:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 02:24:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 02:24:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 02:24:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 02:24:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 02:24:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 02:24:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 02:24:12] Production.INFO: call_cost start
[2025-01-10 02:24:12] Production.INFO: call_cost end
[2025-01-10 02:24:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 02:24:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 02:24:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 02:24:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 02:24:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 02:24:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 02:24:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 02:24:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 02:24:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 02:24:13] Production.INFO: ==31297== Releasing lock...
[2025-01-10 02:24:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 02:24:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 02:24:18] Production.INFO: count ==201
[2025-01-10 02:24:18] Production.ERROR: pbx CDR StartTime 2025-01-09 23:24:05 - End Time 2025-01-10 02:24:05
[2025-01-10 02:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 02:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213836', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213836', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213836', 'tblTempVendorCDR_20' ) start
[2025-01-10 02:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213836', 'tblTempVendorCDR_20' ) end
[2025-01-10 02:24:18] Production.INFO: ProcessCDR(1,14213836,1,1,2)
[2025-01-10 02:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213836,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:24:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213836,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:24:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213836,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213836,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213836', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213836', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:24:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:24:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:24:21] Production.INFO: ==31305== Releasing lock...
[2025-01-10 02:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 02:24:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 07:25:01] Production.INFO: ==31386== Lock acquired, processing the job...
[2025-01-10 07:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 07:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 07:25:01] Production.INFO: neon service started
[2025-01-10 07:25:02] Production.INFO: neon service started
[2025-01-10 07:25:02] Production.INFO: ==31386== Releasing lock...
[2025-01-10 07:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 07:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:25:02] Production.INFO: ==31388== Lock acquired, processing the job...
[2025-01-10 02:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:25:02] Production.INFO: ==31388== Releasing lock...
[2025-01-10 02:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 02:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:25:02] Production.INFO: ==31390== Lock acquired, processing the job...
[2025-01-10 07:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 07:25:02] Production.INFO: ==31390== Releasing lock...
[2025-01-10 07:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 07:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 02:25:03] Production.INFO: ==31396== Lock acquired, processing the job...
[2025-01-10 02:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 02:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 02:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 02:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 02:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 02:25:03] Production.INFO: ==31403== Lock acquired, processing the job...
[2025-01-10 02:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 02:25:03] Production.INFO: ==31392== Lock acquired, processing the job...
[2025-01-10 02:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 02:25:03] Production.INFO: ==31394== Lock acquired, processing the job...
[2025-01-10 02:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 02:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:25:03] Production.INFO: ==31398== Lock acquired, processing the job...
[2025-01-10 02:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 02:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 02:25:03] Production.INFO: count ==21
[2025-01-10 02:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:25:03] Production.INFO: count ==21
[2025-01-10 02:25:03] Production.INFO: ==31400== Lock acquired, processing the job...
[2025-01-10 02:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 02:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213837') start
[2025-01-10 02:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:25:03] Production.INFO: Account Balance Start.
[2025-01-10 02:25:03] Production.INFO: CreateAllLog Start
[2025-01-10 02:25:03] Production.INFO: 117
[2025-01-10 02:25:03] Production.INFO: Date 2025-01-08
[2025-01-10 02:25:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213837') end
[2025-01-10 02:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 02:25:03] Production.INFO: 1
[2025-01-10 02:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 02:25:03] Production.INFO: Date 2025-01-09
[2025-01-10 02:25:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:25:03] Production.INFO: ==31403== Releasing lock...
[2025-01-10 02:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 02:25:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 02:25:03] Production.INFO: Date 2025-01-10
[2025-01-10 02:25:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:25:04] Production.ERROR: done
[2025-01-10 02:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 02:25:04] Production.INFO: Total Charge 0
[2025-01-10 02:25:04] Production.INFO: CreateAllLog End
[2025-01-10 02:25:04] Production.INFO: ==31394== Releasing lock...
[2025-01-10 02:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 02:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 02:25:04] Production.ERROR: done
[2025-01-10 02:25:04] Production.INFO: Account Balance End.
[2025-01-10 02:25:04] Production.ERROR: CronJobId end 12
[2025-01-10 02:25:04] Production.INFO: ==31398== Releasing lock...
[2025-01-10 02:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 02:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 02:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 23:25:05
[end_date_ymd] => 2025-01-10 02:25:05
[RateCDR] => 1
)
[2025-01-10 02:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 23:25:05' and `end` < '2025-01-10 02:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 02:25:11] Production.ERROR: CronJobId end10
[2025-01-10 02:25:11] Production.INFO: ==31396== Releasing lock...
[2025-01-10 02:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 02:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 02:25:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 02:25:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 02:25:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 02:25:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 02:25:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 02:25:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 02:25:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 02:25:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 02:25:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 02:25:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 02:25:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 02:25:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 02:25:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 02:25:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 02:25:13] Production.INFO: call_cost start
[2025-01-10 02:25:13] Production.INFO: call_cost end
[2025-01-10 02:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 02:25:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 02:25:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 02:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 02:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 02:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 02:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 02:25:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 02:25:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 02:25:14] Production.INFO: ==31392== Releasing lock...
[2025-01-10 02:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 02:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 02:25:18] Production.INFO: count ==201
[2025-01-10 02:25:18] Production.ERROR: pbx CDR StartTime 2025-01-09 23:25:05 - End Time 2025-01-10 02:25:05
[2025-01-10 02:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 02:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213841', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213841', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213841', 'tblTempVendorCDR_20' ) start
[2025-01-10 02:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213841', 'tblTempVendorCDR_20' ) end
[2025-01-10 02:25:18] Production.INFO: ProcessCDR(1,14213841,1,1,2)
[2025-01-10 02:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213841,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213841,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213841,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213841,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213841', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213841', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:25:21] Production.INFO: ==31400== Releasing lock...
[2025-01-10 02:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 02:25:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 07:26:01] Production.INFO: ==31484== Lock acquired, processing the job...
[2025-01-10 07:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 07:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 07:26:01] Production.INFO: neon service started
[2025-01-10 07:26:01] Production.INFO: neon service started
[2025-01-10 07:26:01] Production.INFO: ==31484== Releasing lock...
[2025-01-10 07:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 07:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:26:01] Production.INFO: ==31486== Lock acquired, processing the job...
[2025-01-10 02:26:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:26:02] Production.INFO: ==31486== Releasing lock...
[2025-01-10 02:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 02:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:26:02] Production.INFO: ==31488== Lock acquired, processing the job...
[2025-01-10 07:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 07:26:02] Production.INFO: ==31488== Releasing lock...
[2025-01-10 07:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 07:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 02:26:02] Production.INFO: ==31494== Lock acquired, processing the job...
[2025-01-10 02:26:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 02:26:02] Production.INFO: ==31492== Lock acquired, processing the job...
[2025-01-10 02:26:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 02:26:03] Production.INFO: ==31496== Lock acquired, processing the job...
[2025-01-10 02:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 02:26:03] Production.INFO: ==31490== Lock acquired, processing the job...
[2025-01-10 02:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 02:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 02:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 02:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 02:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 02:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 02:26:03] Production.INFO: Account Balance Start.
[2025-01-10 02:26:03] Production.INFO: CreateAllLog Start
[2025-01-10 02:26:03] Production.INFO: 117
[2025-01-10 02:26:03] Production.INFO: Date 2025-01-08
[2025-01-10 02:26:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:26:03] Production.INFO: ==31498== Lock acquired, processing the job...
[2025-01-10 02:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 02:26:03] Production.INFO: Date 2025-01-09
[2025-01-10 02:26:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:26:03] Production.INFO: ==31501== Lock acquired, processing the job...
[2025-01-10 02:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 02:26:03] Production.INFO: Date 2025-01-10
[2025-01-10 02:26:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:26:03] Production.INFO: Total Charge 0
[2025-01-10 02:26:03] Production.INFO: CreateAllLog End
[2025-01-10 02:26:03] Production.INFO: ==31492== Releasing lock...
[2025-01-10 02:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 02:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 02:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:26:03] Production.ERROR: done
[2025-01-10 02:26:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 02:26:03] Production.INFO: count ==21
[2025-01-10 02:26:03] Production.INFO: Account Balance End.
[2025-01-10 02:26:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:26:03] Production.INFO: count ==21
[2025-01-10 02:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213845') start
[2025-01-10 02:26:03] Production.ERROR: CronJobId end 12
[2025-01-10 02:26:03] Production.INFO: ==31496== Releasing lock...
[2025-01-10 02:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 02:26:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 02:26:03] Production.ERROR: done
[2025-01-10 02:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213845') end
[2025-01-10 02:26:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 02:26:03] Production.INFO: 1
[2025-01-10 02:26:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 02:26:03] Production.INFO: ==31501== Releasing lock...
[2025-01-10 02:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 02:26:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 02:26:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 23:26:04
[end_date_ymd] => 2025-01-10 02:26:04
[RateCDR] => 1
)
[2025-01-10 02:26:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 23:26:04' and `end` < '2025-01-10 02:26:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 02:26:10] Production.ERROR: CronJobId end10
[2025-01-10 02:26:10] Production.INFO: ==31494== Releasing lock...
[2025-01-10 02:26:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 02:26:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 02:26:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 02:26:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 02:26:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 02:26:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 02:26:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 02:26:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 02:26:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 02:26:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 02:26:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 02:26:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 02:26:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 02:26:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 02:26:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 02:26:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 02:26:13] Production.INFO: call_cost start
[2025-01-10 02:26:13] Production.INFO: call_cost end
[2025-01-10 02:26:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 02:26:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 02:26:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 02:26:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 02:26:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 02:26:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 02:26:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 02:26:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 02:26:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 02:26:13] Production.INFO: ==31490== Releasing lock...
[2025-01-10 02:26:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 02:26:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 02:26:18] Production.INFO: count ==201
[2025-01-10 02:26:18] Production.ERROR: pbx CDR StartTime 2025-01-09 23:26:04 - End Time 2025-01-10 02:26:04
[2025-01-10 02:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 02:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213846', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213846', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213846', 'tblTempVendorCDR_20' ) start
[2025-01-10 02:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213846', 'tblTempVendorCDR_20' ) end
[2025-01-10 02:26:18] Production.INFO: ProcessCDR(1,14213846,1,1,2)
[2025-01-10 02:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213846,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213846,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213846,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213846,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213846', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213846', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:26:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:26:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:26:21] Production.INFO: ==31498== Releasing lock...
[2025-01-10 02:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 02:26:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 07:27:01] Production.INFO: ==31589== Lock acquired, processing the job...
[2025-01-10 07:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 07:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 07:27:01] Production.INFO: neon service started
[2025-01-10 07:27:01] Production.INFO: neon service started
[2025-01-10 07:27:01] Production.INFO: ==31589== Releasing lock...
[2025-01-10 07:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 07:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:27:02] Production.INFO: ==31593== Lock acquired, processing the job...
[2025-01-10 02:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:27:02] Production.INFO: ==31593== Releasing lock...
[2025-01-10 02:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 02:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:27:02] Production.INFO: ==31595== Lock acquired, processing the job...
[2025-01-10 07:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 07:27:02] Production.INFO: ==31595== Releasing lock...
[2025-01-10 07:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 07:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 02:27:03] Production.INFO: ==31603== Lock acquired, processing the job...
[2025-01-10 02:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 02:27:03] Production.INFO: Account Balance Start.
[2025-01-10 02:27:03] Production.INFO: CreateAllLog Start
[2025-01-10 02:27:03] Production.INFO: 117
[2025-01-10 02:27:03] Production.INFO: Date 2025-01-08
[2025-01-10 02:27:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:27:03] Production.INFO: Date 2025-01-09
[2025-01-10 02:27:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:27:03] Production.INFO: Date 2025-01-10
[2025-01-10 02:27:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:27:03] Production.INFO: Total Charge 0
[2025-01-10 02:27:03] Production.INFO: CreateAllLog End
[2025-01-10 02:27:03] Production.INFO: ==31597== Lock acquired, processing the job...
[2025-01-10 02:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 02:27:03] Production.INFO: Account Balance End.
[2025-01-10 02:27:03] Production.ERROR: CronJobId end 12
[2025-01-10 02:27:03] Production.INFO: ==31603== Releasing lock...
[2025-01-10 02:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 02:27:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 02:27:03] Production.INFO: ==31599== Lock acquired, processing the job...
[2025-01-10 02:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 02:27:03] Production.INFO: ==31607== Lock acquired, processing the job...
[2025-01-10 02:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 02:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 02:27:03] Production.INFO: ==31601== Lock acquired, processing the job...
[2025-01-10 02:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 02:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:27:03] Production.INFO: ==31605== Lock acquired, processing the job...
[2025-01-10 02:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 02:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 02:27:03] Production.INFO: count ==21
[2025-01-10 02:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 02:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 02:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 02:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:27:03] Production.INFO: count ==21
[2025-01-10 02:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213849') start
[2025-01-10 02:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213849') end
[2025-01-10 02:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 02:27:03] Production.INFO: 1
[2025-01-10 02:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 02:27:03] Production.INFO: ==31607== Releasing lock...
[2025-01-10 02:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 02:27:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 02:27:03] Production.INFO: ==31599== Releasing lock...
[2025-01-10 02:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 02:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 02:27:04] Production.ERROR: done
[2025-01-10 02:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 02:27:04] Production.ERROR: done
[2025-01-10 02:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 23:27:05
[end_date_ymd] => 2025-01-10 02:27:05
[RateCDR] => 1
)
[2025-01-10 02:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 23:27:05' and `end` < '2025-01-10 02:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 02:27:10] Production.ERROR: CronJobId end10
[2025-01-10 02:27:10] Production.INFO: ==31601== Releasing lock...
[2025-01-10 02:27:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 02:27:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 02:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 02:27:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 02:27:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 02:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 02:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 02:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 02:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 02:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 02:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 02:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 02:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 02:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 02:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 02:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 02:27:13] Production.INFO: call_cost start
[2025-01-10 02:27:13] Production.INFO: call_cost end
[2025-01-10 02:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 02:27:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 02:27:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 02:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 02:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 02:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 02:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 02:27:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 02:27:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 02:27:14] Production.INFO: ==31597== Releasing lock...
[2025-01-10 02:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 02:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 02:27:18] Production.INFO: count ==201
[2025-01-10 02:27:18] Production.ERROR: pbx CDR StartTime 2025-01-09 23:27:05 - End Time 2025-01-10 02:27:05
[2025-01-10 02:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 02:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213851', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213851', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213851', 'tblTempVendorCDR_20' ) start
[2025-01-10 02:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213851', 'tblTempVendorCDR_20' ) end
[2025-01-10 02:27:18] Production.INFO: ProcessCDR(1,14213851,1,1,2)
[2025-01-10 02:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213851,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213851,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213851,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213851,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213851', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213851', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:27:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:27:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:27:21] Production.INFO: ==31605== Releasing lock...
[2025-01-10 02:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 02:27:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 07:28:02] Production.INFO: ==31696== Lock acquired, processing the job...
[2025-01-10 07:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 07:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 07:28:02] Production.INFO: neon service started
[2025-01-10 07:28:02] Production.INFO: neon service started
[2025-01-10 07:28:02] Production.INFO: ==31696== Releasing lock...
[2025-01-10 07:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 07:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:28:02] Production.INFO: ==31698== Lock acquired, processing the job...
[2025-01-10 02:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 07:28:02] Production.INFO: ==31700== Lock acquired, processing the job...
[2025-01-10 07:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 07:28:02] Production.INFO: ==31700== Releasing lock...
[2025-01-10 07:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 07:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 02:28:02] Production.INFO: ==31698== Releasing lock...
[2025-01-10 02:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 02:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 02:28:03] Production.INFO: ==31703== Lock acquired, processing the job...
[2025-01-10 02:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 02:28:03] Production.INFO: ==31705== Lock acquired, processing the job...
[2025-01-10 02:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 02:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 02:28:03] Production.INFO: ==31707== Lock acquired, processing the job...
[2025-01-10 02:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 02:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 02:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 02:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 02:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 02:28:04] Production.INFO: ==31705== Releasing lock...
[2025-01-10 02:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 02:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 02:28:04] Production.INFO: ==31709== Lock acquired, processing the job...
[2025-01-10 02:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 02:28:04] Production.INFO: ==31711== Lock acquired, processing the job...
[2025-01-10 02:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 02:28:04] Production.INFO: ==31713== Lock acquired, processing the job...
[2025-01-10 02:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 02:28:04] Production.INFO: Account Balance Start.
[2025-01-10 02:28:04] Production.INFO: CreateAllLog Start
[2025-01-10 02:28:04] Production.INFO: 117
[2025-01-10 02:28:04] Production.INFO: Date 2025-01-08
[2025-01-10 02:28:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:28:04] Production.INFO: Date 2025-01-09
[2025-01-10 02:28:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:28:04] Production.INFO: count ==21
[2025-01-10 02:28:04] Production.INFO: Date 2025-01-10
[2025-01-10 02:28:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:28:04] Production.INFO: Total Charge 0
[2025-01-10 02:28:04] Production.INFO: count ==21
[2025-01-10 02:28:04] Production.INFO: CreateAllLog End
[2025-01-10 02:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213855') start
[2025-01-10 02:28:04] Production.ERROR: done
[2025-01-10 02:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 02:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213855') end
[2025-01-10 02:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 02:28:04] Production.INFO: 1
[2025-01-10 02:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 02:28:04] Production.INFO: ==31713== Releasing lock...
[2025-01-10 02:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 02:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 02:28:04] Production.ERROR: done
[2025-01-10 02:28:04] Production.INFO: Account Balance End.
[2025-01-10 02:28:04] Production.ERROR: CronJobId end 12
[2025-01-10 02:28:04] Production.INFO: ==31709== Releasing lock...
[2025-01-10 02:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 02:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 02:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 23:28:05
[end_date_ymd] => 2025-01-10 02:28:05
[RateCDR] => 1
)
[2025-01-10 02:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 23:28:05' and `end` < '2025-01-10 02:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 02:28:11] Production.ERROR: CronJobId end10
[2025-01-10 02:28:11] Production.INFO: ==31707== Releasing lock...
[2025-01-10 02:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 02:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 02:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 02:28:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 02:28:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 02:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 02:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 02:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 02:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 02:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 02:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 02:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 02:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 02:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 02:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 02:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 02:28:13] Production.INFO: call_cost start
[2025-01-10 02:28:13] Production.INFO: call_cost end
[2025-01-10 02:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 02:28:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 02:28:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 02:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 02:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 02:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 02:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 02:28:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 02:28:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 02:28:14] Production.INFO: ==31703== Releasing lock...
[2025-01-10 02:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 02:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 02:28:18] Production.INFO: count ==201
[2025-01-10 02:28:18] Production.ERROR: pbx CDR StartTime 2025-01-09 23:28:05 - End Time 2025-01-10 02:28:05
[2025-01-10 02:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 02:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213856', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213856', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213856', 'tblTempVendorCDR_20' ) start
[2025-01-10 02:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213856', 'tblTempVendorCDR_20' ) end
[2025-01-10 02:28:18] Production.INFO: ProcessCDR(1,14213856,1,1,2)
[2025-01-10 02:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213856,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213856,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213856,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213856,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213856', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213856', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:28:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:28:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:28:21] Production.INFO: ==31711== Releasing lock...
[2025-01-10 02:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 02:28:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 07:29:01] Production.INFO: ==31798== Lock acquired, processing the job...
[2025-01-10 07:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 07:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 07:29:01] Production.INFO: neon service started
[2025-01-10 07:29:01] Production.INFO: neon service started
[2025-01-10 07:29:01] Production.INFO: ==31798== Releasing lock...
[2025-01-10 07:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 07:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:29:01] Production.INFO: ==31800== Lock acquired, processing the job...
[2025-01-10 02:29:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 07:29:02] Production.INFO: ==31802== Lock acquired, processing the job...
[2025-01-10 07:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 02:29:02] Production.INFO: ==31800== Releasing lock...
[2025-01-10 02:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 02:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:29:02] Production.INFO: ==31802== Releasing lock...
[2025-01-10 07:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 07:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 02:29:03] Production.INFO: ==31813== Lock acquired, processing the job...
[2025-01-10 02:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 02:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:29:03] Production.INFO: ==31805== Lock acquired, processing the job...
[2025-01-10 02:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 02:29:03] Production.INFO: ==31815== Lock acquired, processing the job...
[2025-01-10 02:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 02:29:03] Production.INFO: ==31807== Lock acquired, processing the job...
[2025-01-10 02:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 02:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 02:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:29:03] Production.ERROR: done
[2025-01-10 02:29:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 02:29:03] Production.INFO: ==31809== Lock acquired, processing the job...
[2025-01-10 02:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 02:29:03] Production.INFO: count ==21
[2025-01-10 02:29:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:29:03] Production.INFO: ==31811== Lock acquired, processing the job...
[2025-01-10 02:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 02:29:03] Production.INFO: count ==21
[2025-01-10 02:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213857') start
[2025-01-10 02:29:03] Production.ERROR: done
[2025-01-10 02:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 02:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 02:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 02:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 02:29:03] Production.INFO: Account Balance Start.
[2025-01-10 02:29:03] Production.INFO: CreateAllLog Start
[2025-01-10 02:29:03] Production.INFO: 117
[2025-01-10 02:29:03] Production.INFO: ==31807== Releasing lock...
[2025-01-10 02:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 02:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 02:29:03] Production.INFO: Date 2025-01-08
[2025-01-10 02:29:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213857') end
[2025-01-10 02:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 02:29:03] Production.INFO: 1
[2025-01-10 02:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 02:29:03] Production.INFO: Date 2025-01-09
[2025-01-10 02:29:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:29:03] Production.INFO: ==31815== Releasing lock...
[2025-01-10 02:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 02:29:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 02:29:03] Production.INFO: Date 2025-01-10
[2025-01-10 02:29:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:29:03] Production.INFO: Total Charge 0
[2025-01-10 02:29:03] Production.INFO: CreateAllLog End
[2025-01-10 02:29:04] Production.INFO: Account Balance End.
[2025-01-10 02:29:04] Production.ERROR: CronJobId end 12
[2025-01-10 02:29:04] Production.INFO: ==31811== Releasing lock...
[2025-01-10 02:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 02:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 02:29:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 23:29:04
[end_date_ymd] => 2025-01-10 02:29:04
[RateCDR] => 1
)
[2025-01-10 02:29:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 23:29:04' and `end` < '2025-01-10 02:29:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 02:29:11] Production.ERROR: CronJobId end10
[2025-01-10 02:29:11] Production.INFO: ==31809== Releasing lock...
[2025-01-10 02:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 02:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 02:29:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 02:29:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 02:29:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 02:29:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 02:29:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 02:29:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 02:29:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 02:29:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 02:29:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 02:29:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 02:29:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 02:29:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 02:29:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 02:29:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 02:29:12] Production.INFO: call_cost start
[2025-01-10 02:29:12] Production.INFO: call_cost end
[2025-01-10 02:29:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 02:29:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 02:29:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 02:29:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 02:29:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 02:29:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 02:29:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 02:29:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 02:29:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 02:29:13] Production.INFO: ==31805== Releasing lock...
[2025-01-10 02:29:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 02:29:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 02:29:18] Production.INFO: count ==201
[2025-01-10 02:29:18] Production.ERROR: pbx CDR StartTime 2025-01-09 23:29:04 - End Time 2025-01-10 02:29:04
[2025-01-10 02:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 02:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213860', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213860', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213860', 'tblTempVendorCDR_20' ) start
[2025-01-10 02:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213860', 'tblTempVendorCDR_20' ) end
[2025-01-10 02:29:18] Production.INFO: ProcessCDR(1,14213860,1,1,2)
[2025-01-10 02:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213860,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213860,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213860,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:29:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213860,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213860', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213860', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:29:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:29:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:29:21] Production.INFO: ==31813== Releasing lock...
[2025-01-10 02:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 02:29:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 07:30:02] Production.INFO: ==31905== Lock acquired, processing the job...
[2025-01-10 07:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 07:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 07:30:02] Production.INFO: neon service started
[2025-01-10 07:30:02] Production.INFO: neon service started
[2025-01-10 07:30:02] Production.INFO: ==31905== Releasing lock...
[2025-01-10 07:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 07:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:30:02] Production.INFO: ==31907== Lock acquired, processing the job...
[2025-01-10 02:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 07:30:02] Production.INFO: ==31909== Lock acquired, processing the job...
[2025-01-10 07:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 07:30:02] Production.INFO: ==31909== Releasing lock...
[2025-01-10 07:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 07:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 02:30:03] Production.INFO: ==31907== Releasing lock...
[2025-01-10 02:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 02:30:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 02:30:03] Production.INFO: ==31918== Lock acquired, processing the job...
[2025-01-10 02:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 02:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 02:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 02:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 02:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 02:30:04] Production.INFO: ==31922== Lock acquired, processing the job...
[2025-01-10 02:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 02:30:04] Production.INFO: ==31912== Lock acquired, processing the job...
[2025-01-10 02:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 02:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:30:04] Production.INFO: ==31914== Lock acquired, processing the job...
[2025-01-10 02:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 02:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 02:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 02:30:04] Production.ERROR: CronJob PID - 31918
[2025-01-10 02:30:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-10 02:30:04] Production.ERROR: CronJob ID - 10
[2025-01-10 02:30:04] Production.ERROR: CronJob Last Run Time 2025-01-10 02:30:00
[2025-01-10 02:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 02:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 02:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 02:30:04] Production.ERROR: CronJob PID - 31922
[2025-01-10 02:30:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-10 02:30:04] Production.ERROR: CronJob ID - 16
[2025-01-10 02:30:04] Production.ERROR: CronJob Last Run Time 2025-01-10 02:30:00
[2025-01-10 02:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 02:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 02:30:04] Production.INFO: ==31924== Lock acquired, processing the job...
[2025-01-10 02:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 02:30:04] Production.INFO: ==31916== Lock acquired, processing the job...
[2025-01-10 02:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 02:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 02:30:04] Production.INFO: ==31912== Releasing lock...
[2025-01-10 02:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 02:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 02:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:30:04] Production.INFO: ==31920== Lock acquired, processing the job...
[2025-01-10 02:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 02:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 02:30:04] Production.INFO: ==31926== Lock acquired, processing the job...
[2025-01-10 02:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 02:30:04] Production.INFO: Account Balance Start.
[2025-01-10 02:30:04] Production.INFO: CreateAllLog Start
[2025-01-10 02:30:04] Production.INFO: 117
[2025-01-10 02:30:04] Production.ERROR: done
[2025-01-10 02:30:04] Production.INFO: Date 2025-01-08
[2025-01-10 02:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 02:30:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:30:04] Production.INFO: Date 2025-01-09
[2025-01-10 02:30:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:30:04] Production.INFO: count ==21
[2025-01-10 02:30:04] Production.INFO: Date 2025-01-10
[2025-01-10 02:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:30:04] Production.INFO: count ==21
[2025-01-10 02:30:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:30:04] Production.INFO: ==31916== Releasing lock...
[2025-01-10 02:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 02:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 02:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213865') start
[2025-01-10 02:30:04] Production.ERROR: done
[2025-01-10 02:30:04] Production.ERROR: done
[2025-01-10 02:30:04] Production.INFO: Total Charge 0
[2025-01-10 02:30:05] Production.INFO: CreateAllLog End
[2025-01-10 02:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14213865') end
[2025-01-10 02:30:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 02:30:05] Production.INFO: 1
[2025-01-10 02:30:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 02:30:05] Production.INFO: ==31926== Releasing lock...
[2025-01-10 02:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 02:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 02:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 02:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14213867', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 02:30:05] Production.INFO: Account Balance End.
[2025-01-10 02:30:05] Production.ERROR: CronJobId end 12
[2025-01-10 02:30:05] Production.INFO: ==31920== Releasing lock...
[2025-01-10 02:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 02:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 02:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 23:30:06
[end_date_ymd] => 2025-01-10 02:30:06
[RateCDR] => 1
)
[2025-01-10 02:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 23:30:06' and `end` < '2025-01-10 02:30:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 02:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14213867', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 02:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 02:30:09] Production.INFO: ProcessCDR(1,14213867,1,1,2)
[2025-01-10 02:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14213867,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14213867,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:30:09] Production.INFO: ==31924== Releasing lock...
[2025-01-10 02:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 02:30:09] Production.INFO: 26 MB #Memory Used#
[2025-01-10 02:30:13] Production.ERROR: CronJobId end10
[2025-01-10 02:30:13] Production.INFO: ==31918== Releasing lock...
[2025-01-10 02:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 02:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 02:30:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 02:30:15] Production.INFO: ============== Balance Warning START===========
[2025-01-10 02:30:15] Production.INFO: ============== Balance Warning END===========
[2025-01-10 02:30:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 02:30:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 02:30:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 02:30:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 02:30:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 02:30:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 02:30:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 02:30:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 02:30:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 02:30:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 02:30:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 02:30:15] Production.INFO: call_cost start
[2025-01-10 02:30:15] Production.INFO: call_cost end
[2025-01-10 02:30:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 02:30:16] Production.INFO: ============== Report Schedule START===========
[2025-01-10 02:30:16] Production.INFO: ============== Report Schedule END===========
[2025-01-10 02:30:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 02:30:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 02:30:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 02:30:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 02:30:16] Production.INFO: ============== Deal alert START===========
[2025-01-10 02:30:16] Production.INFO: ============== Deal alert END===========
[2025-01-10 02:30:16] Production.INFO: ==31914== Releasing lock...
[2025-01-10 02:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 02:30:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 02:30:19] Production.INFO: count ==209
[2025-01-10 02:30:19] Production.ERROR: pbx CDR StartTime 2025-01-09 23:30:06 - End Time 2025-01-10 02:30:06
[2025-01-10 02:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 02:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213866', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213866', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213866', 'tblTempVendorCDR_20' ) start
[2025-01-10 02:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213866', 'tblTempVendorCDR_20' ) end
[2025-01-10 02:30:19] Production.INFO: ProcessCDR(1,14213866,1,1,2)
[2025-01-10 02:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213866,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213866,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213866,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213866,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213866', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213866', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:30:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:30:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:30:22] Production.INFO: ==31922== Releasing lock...
[2025-01-10 02:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 02:30:22] Production.INFO: 29 MB #Memory Used#
[2025-01-10 07:31:01] Production.INFO: ==32016== Lock acquired, processing the job...
[2025-01-10 07:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 07:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 07:31:01] Production.INFO: neon service started
[2025-01-10 07:31:01] Production.INFO: neon service started
[2025-01-10 07:31:01] Production.INFO: ==32016== Releasing lock...
[2025-01-10 07:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 07:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:31:02] Production.INFO: ==32020== Lock acquired, processing the job...
[2025-01-10 02:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 07:31:02] Production.INFO: ==32022== Lock acquired, processing the job...
[2025-01-10 07:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 07:31:02] Production.INFO: ==32022== Releasing lock...
[2025-01-10 07:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 07:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 02:31:02] Production.INFO: ==32020== Releasing lock...
[2025-01-10 02:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 02:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 02:31:03] Production.INFO: ==32032== Lock acquired, processing the job...
[2025-01-10 02:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 02:31:03] Production.INFO: Account Balance Start.
[2025-01-10 02:31:03] Production.INFO: CreateAllLog Start
[2025-01-10 02:31:03] Production.INFO: 117
[2025-01-10 02:31:03] Production.INFO: Date 2025-01-08
[2025-01-10 02:31:03] Production.INFO: ==32036== Lock acquired, processing the job...
[2025-01-10 02:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 02:31:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:31:03] Production.INFO: Date 2025-01-09
[2025-01-10 02:31:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:31:03] Production.INFO: Date 2025-01-10
[2025-01-10 02:31:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:31:03] Production.INFO: Total Charge 0
[2025-01-10 02:31:03] Production.INFO: CreateAllLog End
[2025-01-10 02:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:31:04] Production.INFO: count ==21
[2025-01-10 02:31:04] Production.INFO: ==32025== Lock acquired, processing the job...
[2025-01-10 02:31:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 02:31:04] Production.INFO: ==32028== Lock acquired, processing the job...
[2025-01-10 02:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 02:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:31:04] Production.INFO: count ==21
[2025-01-10 02:31:04] Production.INFO: ==32030== Lock acquired, processing the job...
[2025-01-10 02:31:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 02:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213869') start
[2025-01-10 02:31:04] Production.INFO: Account Balance End.
[2025-01-10 02:31:04] Production.INFO: ==32034== Lock acquired, processing the job...
[2025-01-10 02:31:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 02:31:04] Production.ERROR: CronJobId end 12
[2025-01-10 02:31:04] Production.INFO: ==32032== Releasing lock...
[2025-01-10 02:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 02:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 02:31:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 02:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 02:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 02:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 02:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 02:31:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213869') end
[2025-01-10 02:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 02:31:04] Production.INFO: 1
[2025-01-10 02:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 02:31:04] Production.INFO: ==32036== Releasing lock...
[2025-01-10 02:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 02:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 02:31:04] Production.INFO: ==32028== Releasing lock...
[2025-01-10 02:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 02:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 02:31:04] Production.ERROR: done
[2025-01-10 02:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 02:31:05] Production.ERROR: done
[2025-01-10 02:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 23:31:05
[end_date_ymd] => 2025-01-10 02:31:05
[RateCDR] => 1
)
[2025-01-10 02:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 23:31:05' and `end` < '2025-01-10 02:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 02:31:12] Production.ERROR: CronJobId end10
[2025-01-10 02:31:12] Production.INFO: ==32030== Releasing lock...
[2025-01-10 02:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 02:31:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 02:31:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 02:31:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 02:31:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 02:31:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 02:31:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 02:31:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 02:31:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 02:31:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 02:31:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 02:31:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 02:31:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 02:31:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 02:31:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 02:31:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 02:31:15] Production.INFO: call_cost start
[2025-01-10 02:31:15] Production.INFO: call_cost end
[2025-01-10 02:31:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 02:31:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 02:31:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 02:31:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 02:31:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 02:31:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 02:31:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 02:31:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 02:31:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 02:31:15] Production.INFO: ==32025== Releasing lock...
[2025-01-10 02:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 02:31:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 02:31:18] Production.INFO: count ==216
[2025-01-10 02:31:18] Production.ERROR: pbx CDR StartTime 2025-01-09 23:31:05 - End Time 2025-01-10 02:31:05
[2025-01-10 02:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 02:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213872', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213872', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213872', 'tblTempVendorCDR_20' ) start
[2025-01-10 02:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213872', 'tblTempVendorCDR_20' ) end
[2025-01-10 02:31:18] Production.INFO: ProcessCDR(1,14213872,1,1,2)
[2025-01-10 02:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213872,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213872,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213872,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:31:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213872,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213872', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213872', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:31:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:31:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:31:22] Production.INFO: ==32034== Releasing lock...
[2025-01-10 02:31:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 02:31:22] Production.INFO: 29 MB #Memory Used#
[2025-01-10 07:32:02] Production.INFO: ==32122== Lock acquired, processing the job...
[2025-01-10 07:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 07:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 07:32:02] Production.INFO: neon service started
[2025-01-10 07:32:02] Production.INFO: neon service started
[2025-01-10 07:32:02] Production.INFO: ==32122== Releasing lock...
[2025-01-10 07:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 07:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:32:03] Production.INFO: ==32124== Lock acquired, processing the job...
[2025-01-10 02:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 07:32:03] Production.INFO: ==32126== Lock acquired, processing the job...
[2025-01-10 07:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 07:32:03] Production.INFO: ==32126== Releasing lock...
[2025-01-10 07:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 07:32:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 02:32:03] Production.INFO: ==32124== Releasing lock...
[2025-01-10 02:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 02:32:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 02:32:04] Production.INFO: ==32135== Lock acquired, processing the job...
[2025-01-10 02:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 02:32:04] Production.INFO: ==32137== Lock acquired, processing the job...
[2025-01-10 02:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 02:32:04] Production.INFO: ==32131== Lock acquired, processing the job...
[2025-01-10 02:32:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 02:32:04] Production.INFO: Account Balance Start.
[2025-01-10 02:32:04] Production.INFO: CreateAllLog Start
[2025-01-10 02:32:04] Production.INFO: 117
[2025-01-10 02:32:04] Production.INFO: Date 2025-01-08
[2025-01-10 02:32:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 02:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 02:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 02:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 02:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 02:32:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:32:04] Production.INFO: Date 2025-01-09
[2025-01-10 02:32:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:32:04] Production.INFO: Date 2025-01-10
[2025-01-10 02:32:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:32:04] Production.INFO: ==32133== Lock acquired, processing the job...
[2025-01-10 02:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 02:32:04] Production.INFO: Total Charge 0
[2025-01-10 02:32:04] Production.INFO: CreateAllLog End
[2025-01-10 02:32:04] Production.INFO: ==32141== Lock acquired, processing the job...
[2025-01-10 02:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 02:32:04] Production.INFO: ==32139== Lock acquired, processing the job...
[2025-01-10 02:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 02:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:32:04] Production.INFO: count ==21
[2025-01-10 02:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:32:04] Production.INFO: count ==21
[2025-01-10 02:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213875') start
[2025-01-10 02:32:04] Production.INFO: Account Balance End.
[2025-01-10 02:32:04] Production.ERROR: CronJobId end 12
[2025-01-10 02:32:04] Production.INFO: ==32137== Releasing lock...
[2025-01-10 02:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 02:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 02:32:05] Production.ERROR: PBX CALL prc_importPBXExtension('14213875') end
[2025-01-10 02:32:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 02:32:05] Production.INFO: 1
[2025-01-10 02:32:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 02:32:05] Production.INFO: ==32133== Releasing lock...
[2025-01-10 02:32:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 02:32:05] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 02:32:05] Production.INFO: ==32141== Releasing lock...
[2025-01-10 02:32:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 02:32:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 02:32:05] Production.ERROR: done
[2025-01-10 02:32:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 02:32:05] Production.ERROR: done
[2025-01-10 02:32:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 23:32:06
[end_date_ymd] => 2025-01-10 02:32:06
[RateCDR] => 1
)
[2025-01-10 02:32:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 23:32:06' and `end` < '2025-01-10 02:32:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 02:32:11] Production.ERROR: CronJobId end10
[2025-01-10 02:32:11] Production.INFO: ==32135== Releasing lock...
[2025-01-10 02:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 02:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 02:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 02:32:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 02:32:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 02:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 02:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 02:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 02:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 02:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 02:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 02:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 02:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 02:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 02:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 02:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 02:32:14] Production.INFO: call_cost start
[2025-01-10 02:32:14] Production.INFO: call_cost end
[2025-01-10 02:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 02:32:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 02:32:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 02:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 02:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 02:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 02:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 02:32:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 02:32:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 02:32:14] Production.INFO: ==32131== Releasing lock...
[2025-01-10 02:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 02:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 02:32:20] Production.INFO: count ==213
[2025-01-10 02:32:20] Production.ERROR: pbx CDR StartTime 2025-01-09 23:32:06 - End Time 2025-01-10 02:32:06
[2025-01-10 02:32:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 02:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213877', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213877', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213877', 'tblTempVendorCDR_20' ) start
[2025-01-10 02:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213877', 'tblTempVendorCDR_20' ) end
[2025-01-10 02:32:20] Production.INFO: ProcessCDR(1,14213877,1,1,2)
[2025-01-10 02:32:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213877,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:32:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213877,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:32:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213877,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:32:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213877,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213877', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213877', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:32:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:32:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:32:23] Production.INFO: ==32139== Releasing lock...
[2025-01-10 02:32:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 02:32:23] Production.INFO: 29 MB #Memory Used#
[2025-01-10 07:33:01] Production.INFO: ==32228== Lock acquired, processing the job...
[2025-01-10 07:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 07:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 07:33:01] Production.INFO: neon service started
[2025-01-10 07:33:01] Production.INFO: neon service started
[2025-01-10 07:33:01] Production.INFO: ==32228== Releasing lock...
[2025-01-10 07:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 07:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:33:02] Production.INFO: ==32230== Lock acquired, processing the job...
[2025-01-10 02:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:33:02] Production.INFO: ==32230== Releasing lock...
[2025-01-10 02:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 02:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:33:02] Production.INFO: ==32232== Lock acquired, processing the job...
[2025-01-10 07:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 07:33:02] Production.INFO: ==32232== Releasing lock...
[2025-01-10 07:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 07:33:02] Production.INFO: 26 MB #Memory Used#
[2025-01-10 02:33:03] Production.INFO: ==32238== Lock acquired, processing the job...
[2025-01-10 02:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 02:33:03] Production.INFO: ==32234== Lock acquired, processing the job...
[2025-01-10 02:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 02:33:03] Production.INFO: ==32240== Lock acquired, processing the job...
[2025-01-10 02:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 02:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 02:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 02:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 02:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 02:33:03] Production.INFO: Account Balance Start.
[2025-01-10 02:33:03] Production.INFO: CreateAllLog Start
[2025-01-10 02:33:03] Production.INFO: 117
[2025-01-10 02:33:03] Production.INFO: Date 2025-01-08
[2025-01-10 02:33:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 02:33:03] Production.INFO: Date 2025-01-09
[2025-01-10 02:33:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:33:03] Production.INFO: Date 2025-01-10
[2025-01-10 02:33:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:33:03] Production.INFO: Total Charge 0
[2025-01-10 02:33:03] Production.INFO: ==32236== Lock acquired, processing the job...
[2025-01-10 02:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 02:33:03] Production.INFO: CreateAllLog End
[2025-01-10 02:33:03] Production.INFO: ==32242== Lock acquired, processing the job...
[2025-01-10 02:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 02:33:03] Production.INFO: ==32244== Lock acquired, processing the job...
[2025-01-10 02:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 02:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:33:03] Production.INFO: count ==21
[2025-01-10 02:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:33:03] Production.INFO: Account Balance End.
[2025-01-10 02:33:03] Production.INFO: count ==21
[2025-01-10 02:33:04] Production.ERROR: done
[2025-01-10 02:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 02:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213881') start
[2025-01-10 02:33:04] Production.ERROR: CronJobId end 12
[2025-01-10 02:33:04] Production.INFO: ==32240== Releasing lock...
[2025-01-10 02:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 02:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 02:33:04] Production.INFO: ==32236== Releasing lock...
[2025-01-10 02:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 02:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 02:33:04] Production.ERROR: done
[2025-01-10 02:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213881') end
[2025-01-10 02:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 02:33:04] Production.INFO: 1
[2025-01-10 02:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 02:33:04] Production.INFO: ==32244== Releasing lock...
[2025-01-10 02:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 02:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 02:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 23:33:05
[end_date_ymd] => 2025-01-10 02:33:05
[RateCDR] => 1
)
[2025-01-10 02:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 23:33:05' and `end` < '2025-01-10 02:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 02:33:11] Production.ERROR: CronJobId end10
[2025-01-10 02:33:11] Production.INFO: ==32238== Releasing lock...
[2025-01-10 02:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 02:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 02:33:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 02:33:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 02:33:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 02:33:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 02:33:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 02:33:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 02:33:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 02:33:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 02:33:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 02:33:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 02:33:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 02:33:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 02:33:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 02:33:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 02:33:13] Production.INFO: call_cost start
[2025-01-10 02:33:13] Production.INFO: call_cost end
[2025-01-10 02:33:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 02:33:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 02:33:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 02:33:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 02:33:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 02:33:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 02:33:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 02:33:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 02:33:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 02:33:14] Production.INFO: ==32234== Releasing lock...
[2025-01-10 02:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 02:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 02:33:18] Production.INFO: count ==213
[2025-01-10 02:33:18] Production.ERROR: pbx CDR StartTime 2025-01-09 23:33:05 - End Time 2025-01-10 02:33:05
[2025-01-10 02:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 02:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213882', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213882', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213882', 'tblTempVendorCDR_20' ) start
[2025-01-10 02:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213882', 'tblTempVendorCDR_20' ) end
[2025-01-10 02:33:18] Production.INFO: ProcessCDR(1,14213882,1,1,2)
[2025-01-10 02:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213882,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213882,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213882,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213882,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213882', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213882', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:33:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:33:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:33:21] Production.INFO: ==32242== Releasing lock...
[2025-01-10 02:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 02:33:21] Production.INFO: 29 MB #Memory Used#
[2025-01-10 07:34:02] Production.INFO: ==32336== Lock acquired, processing the job...
[2025-01-10 07:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 07:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 07:34:02] Production.INFO: neon service started
[2025-01-10 07:34:02] Production.INFO: neon service started
[2025-01-10 07:34:02] Production.INFO: ==32336== Releasing lock...
[2025-01-10 07:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 07:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:34:02] Production.INFO: ==32338== Lock acquired, processing the job...
[2025-01-10 02:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 07:34:02] Production.INFO: ==32340== Lock acquired, processing the job...
[2025-01-10 07:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 07:34:03] Production.INFO: ==32340== Releasing lock...
[2025-01-10 07:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 07:34:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 02:34:03] Production.INFO: ==32338== Releasing lock...
[2025-01-10 02:34:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 02:34:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 02:34:04] Production.INFO: ==32347== Lock acquired, processing the job...
[2025-01-10 02:34:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 02:34:04] Production.INFO: ==32349== Lock acquired, processing the job...
[2025-01-10 02:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 02:34:04] Production.INFO: Account Balance Start.
[2025-01-10 02:34:04] Production.INFO: CreateAllLog Start
[2025-01-10 02:34:04] Production.INFO: 117
[2025-01-10 02:34:04] Production.INFO: Date 2025-01-08
[2025-01-10 02:34:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 02:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 02:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 02:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 02:34:04] Production.INFO: Date 2025-01-09
[2025-01-10 02:34:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:34:04] Production.INFO: Date 2025-01-10
[2025-01-10 02:34:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:34:04] Production.INFO: Total Charge 0
[2025-01-10 02:34:04] Production.INFO: ==32343== Lock acquired, processing the job...
[2025-01-10 02:34:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 02:34:04] Production.INFO: CreateAllLog End
[2025-01-10 02:34:04] Production.INFO: ==32345== Lock acquired, processing the job...
[2025-01-10 02:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 02:34:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 02:34:04] Production.INFO: Account Balance End.
[2025-01-10 02:34:04] Production.ERROR: CronJobId end 12
[2025-01-10 02:34:04] Production.INFO: ==32349== Releasing lock...
[2025-01-10 02:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 02:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 02:34:04] Production.INFO: ==32353== Lock acquired, processing the job...
[2025-01-10 02:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 02:34:04] Production.INFO: ==32351== Lock acquired, processing the job...
[2025-01-10 02:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 02:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:34:04] Production.INFO: count ==21
[2025-01-10 02:34:04] Production.INFO: ==32345== Releasing lock...
[2025-01-10 02:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 02:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 02:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:34:04] Production.INFO: count ==21
[2025-01-10 02:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213886') start
[2025-01-10 02:34:05] Production.ERROR: PBX CALL prc_importPBXExtension('14213886') end
[2025-01-10 02:34:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 02:34:05] Production.INFO: 1
[2025-01-10 02:34:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 02:34:05] Production.ERROR: done
[2025-01-10 02:34:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 02:34:05] Production.INFO: ==32353== Releasing lock...
[2025-01-10 02:34:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 02:34:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 02:34:05] Production.ERROR: done
[2025-01-10 02:34:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 23:34:06
[end_date_ymd] => 2025-01-10 02:34:06
[RateCDR] => 1
)
[2025-01-10 02:34:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 23:34:06' and `end` < '2025-01-10 02:34:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 02:34:13] Production.ERROR: CronJobId end10
[2025-01-10 02:34:13] Production.INFO: ==32347== Releasing lock...
[2025-01-10 02:34:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 02:34:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 02:34:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 02:34:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 02:34:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 02:34:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 02:34:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 02:34:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 02:34:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 02:34:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 02:34:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 02:34:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 02:34:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 02:34:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 02:34:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 02:34:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 02:34:15] Production.INFO: call_cost start
[2025-01-10 02:34:15] Production.INFO: call_cost end
[2025-01-10 02:34:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 02:34:16] Production.INFO: ============== Report Schedule START===========
[2025-01-10 02:34:16] Production.INFO: ============== Report Schedule END===========
[2025-01-10 02:34:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 02:34:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 02:34:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 02:34:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 02:34:16] Production.INFO: ============== Deal alert START===========
[2025-01-10 02:34:16] Production.INFO: ============== Deal alert END===========
[2025-01-10 02:34:16] Production.INFO: ==32343== Releasing lock...
[2025-01-10 02:34:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 02:34:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 02:34:20] Production.INFO: count ==213
[2025-01-10 02:34:20] Production.ERROR: pbx CDR StartTime 2025-01-09 23:34:06 - End Time 2025-01-10 02:34:06
[2025-01-10 02:34:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 02:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213887', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213887', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213887', 'tblTempVendorCDR_20' ) start
[2025-01-10 02:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213887', 'tblTempVendorCDR_20' ) end
[2025-01-10 02:34:20] Production.INFO: ProcessCDR(1,14213887,1,1,2)
[2025-01-10 02:34:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213887,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:34:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213887,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:34:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213887,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:34:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213887,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:34:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213887', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:34:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213887', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:34:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:34:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:34:23] Production.INFO: ==32351== Releasing lock...
[2025-01-10 02:34:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 02:34:23] Production.INFO: 29 MB #Memory Used#
[2025-01-10 07:35:01] Production.INFO: ==32437== Lock acquired, processing the job...
[2025-01-10 07:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 07:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 07:35:01] Production.INFO: neon service started
[2025-01-10 07:35:01] Production.INFO: neon service started
[2025-01-10 07:35:01] Production.INFO: ==32437== Releasing lock...
[2025-01-10 07:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 07:35:01] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 02:35:02] Production.INFO: ==32439== Lock acquired, processing the job...
[2025-01-10 02:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:35:02] Production.INFO: ==32439== Releasing lock...
[2025-01-10 02:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 02:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:35:02] Production.INFO: ==32441== Lock acquired, processing the job...
[2025-01-10 07:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 07:35:02] Production.INFO: ==32441== Releasing lock...
[2025-01-10 07:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 07:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 02:35:03] Production.INFO: ==32445== Lock acquired, processing the job...
[2025-01-10 02:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 02:35:03] Production.INFO: ==32443== Lock acquired, processing the job...
[2025-01-10 02:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 02:35:03] Production.INFO: ==32447== Lock acquired, processing the job...
[2025-01-10 02:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 02:35:03] Production.INFO: ==32454== Lock acquired, processing the job...
[2025-01-10 02:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 02:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 02:35:03] Production.INFO: ==32450== Lock acquired, processing the job...
[2025-01-10 02:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 02:35:03] Production.INFO: ==32452== Lock acquired, processing the job...
[2025-01-10 02:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 02:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 02:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 02:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 02:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 02:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:35:03] Production.INFO: Account Balance Start.
[2025-01-10 02:35:03] Production.INFO: CreateAllLog Start
[2025-01-10 02:35:03] Production.INFO: 117
[2025-01-10 02:35:03] Production.INFO: Date 2025-01-08
[2025-01-10 02:35:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:35:03] Production.INFO: count ==21
[2025-01-10 02:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:35:03] Production.INFO: count ==21
[2025-01-10 02:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213890') start
[2025-01-10 02:35:03] Production.INFO: Date 2025-01-09
[2025-01-10 02:35:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:35:03] Production.INFO: Date 2025-01-10
[2025-01-10 02:35:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:35:03] Production.INFO: ==32445== Releasing lock...
[2025-01-10 02:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 02:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 02:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213890') end
[2025-01-10 02:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 02:35:03] Production.INFO: 1
[2025-01-10 02:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 02:35:03] Production.INFO: Total Charge 0
[2025-01-10 02:35:03] Production.INFO: CreateAllLog End
[2025-01-10 02:35:03] Production.INFO: ==32454== Releasing lock...
[2025-01-10 02:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 02:35:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 02:35:03] Production.ERROR: done
[2025-01-10 02:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 02:35:04] Production.ERROR: done
[2025-01-10 02:35:04] Production.INFO: Account Balance End.
[2025-01-10 02:35:04] Production.ERROR: CronJobId end 12
[2025-01-10 02:35:04] Production.INFO: ==32450== Releasing lock...
[2025-01-10 02:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 02:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 02:35:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 23:35:04
[end_date_ymd] => 2025-01-10 02:35:04
[RateCDR] => 1
)
[2025-01-10 02:35:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 23:35:04' and `end` < '2025-01-10 02:35:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 02:35:11] Production.ERROR: CronJobId end10
[2025-01-10 02:35:11] Production.INFO: ==32447== Releasing lock...
[2025-01-10 02:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 02:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 02:35:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 02:35:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 02:35:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 02:35:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 02:35:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 02:35:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 02:35:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 02:35:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 02:35:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 02:35:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 02:35:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 02:35:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 02:35:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 02:35:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 02:35:13] Production.INFO: call_cost start
[2025-01-10 02:35:13] Production.INFO: call_cost end
[2025-01-10 02:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 02:35:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 02:35:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 02:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 02:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 02:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 02:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 02:35:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 02:35:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 02:35:14] Production.INFO: ==32443== Releasing lock...
[2025-01-10 02:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 02:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 02:35:18] Production.INFO: count ==213
[2025-01-10 02:35:18] Production.ERROR: pbx CDR StartTime 2025-01-09 23:35:04 - End Time 2025-01-10 02:35:04
[2025-01-10 02:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 02:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213892', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213892', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213892', 'tblTempVendorCDR_20' ) start
[2025-01-10 02:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213892', 'tblTempVendorCDR_20' ) end
[2025-01-10 02:35:18] Production.INFO: ProcessCDR(1,14213892,1,1,2)
[2025-01-10 02:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213892,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213892,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213892,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:35:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213892,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213892', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213892', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:35:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:35:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:35:22] Production.INFO: ==32452== Releasing lock...
[2025-01-10 02:35:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 02:35:22] Production.INFO: 29 MB #Memory Used#
[2025-01-10 07:36:02] Production.INFO: ==32582== Lock acquired, processing the job...
[2025-01-10 07:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 07:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 07:36:02] Production.INFO: neon service started
[2025-01-10 07:36:02] Production.INFO: neon service started
[2025-01-10 07:36:02] Production.INFO: ==32582== Releasing lock...
[2025-01-10 07:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 07:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:36:02] Production.INFO: ==32584== Lock acquired, processing the job...
[2025-01-10 02:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:36:02] Production.INFO: ==32584== Releasing lock...
[2025-01-10 02:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 02:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:36:03] Production.INFO: ==32586== Lock acquired, processing the job...
[2025-01-10 07:36:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 07:36:03] Production.INFO: ==32586== Releasing lock...
[2025-01-10 07:36:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 07:36:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 02:36:03] Production.INFO: ==32592== Lock acquired, processing the job...
[2025-01-10 02:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 02:36:03] Production.INFO: ==32594== Lock acquired, processing the job...
[2025-01-10 02:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 02:36:03] Production.INFO: ==32596== Lock acquired, processing the job...
[2025-01-10 02:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 02:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 02:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 02:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 02:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 02:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 02:36:03] Production.INFO: ==32598== Lock acquired, processing the job...
[2025-01-10 02:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 02:36:04] Production.INFO: Account Balance Start.
[2025-01-10 02:36:04] Production.INFO: CreateAllLog Start
[2025-01-10 02:36:04] Production.INFO: 117
[2025-01-10 02:36:04] Production.INFO: Date 2025-01-08
[2025-01-10 02:36:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:36:04] Production.INFO: ==32594== Releasing lock...
[2025-01-10 02:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 02:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 02:36:04] Production.INFO: ==32600== Lock acquired, processing the job...
[2025-01-10 02:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 02:36:04] Production.INFO: Date 2025-01-09
[2025-01-10 02:36:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:36:04] Production.INFO: Date 2025-01-10
[2025-01-10 02:36:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:36:04] Production.INFO: Total Charge 0
[2025-01-10 02:36:04] Production.INFO: ==32602== Lock acquired, processing the job...
[2025-01-10 02:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 02:36:04] Production.INFO: CreateAllLog End
[2025-01-10 02:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:36:04] Production.INFO: count ==21
[2025-01-10 02:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:36:04] Production.INFO: count ==21
[2025-01-10 02:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213896') start
[2025-01-10 02:36:04] Production.ERROR: done
[2025-01-10 02:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 02:36:04] Production.INFO: Account Balance End.
[2025-01-10 02:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213896') end
[2025-01-10 02:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 02:36:04] Production.INFO: 1
[2025-01-10 02:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 02:36:04] Production.ERROR: CronJobId end 12
[2025-01-10 02:36:04] Production.INFO: ==32598== Releasing lock...
[2025-01-10 02:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 02:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 02:36:04] Production.INFO: ==32602== Releasing lock...
[2025-01-10 02:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 02:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 02:36:04] Production.ERROR: done
[2025-01-10 02:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 23:36:05
[end_date_ymd] => 2025-01-10 02:36:05
[RateCDR] => 1
)
[2025-01-10 02:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 23:36:05' and `end` < '2025-01-10 02:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 02:36:12] Production.ERROR: CronJobId end10
[2025-01-10 02:36:12] Production.INFO: ==32596== Releasing lock...
[2025-01-10 02:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 02:36:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 02:36:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 02:36:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 02:36:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 02:36:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 02:36:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 02:36:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 02:36:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 02:36:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 02:36:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 02:36:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 02:36:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 02:36:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 02:36:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 02:36:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 02:36:14] Production.INFO: call_cost start
[2025-01-10 02:36:14] Production.INFO: call_cost end
[2025-01-10 02:36:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 02:36:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 02:36:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 02:36:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 02:36:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 02:36:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 02:36:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 02:36:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 02:36:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 02:36:15] Production.INFO: ==32592== Releasing lock...
[2025-01-10 02:36:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 02:36:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 02:36:19] Production.INFO: count ==213
[2025-01-10 02:36:19] Production.ERROR: pbx CDR StartTime 2025-01-09 23:36:05 - End Time 2025-01-10 02:36:05
[2025-01-10 02:36:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 02:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213897', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213897', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213897', 'tblTempVendorCDR_20' ) start
[2025-01-10 02:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213897', 'tblTempVendorCDR_20' ) end
[2025-01-10 02:36:19] Production.INFO: ProcessCDR(1,14213897,1,1,2)
[2025-01-10 02:36:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213897,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:36:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213897,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:36:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213897,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213897,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213897', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213897', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:36:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:36:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:36:22] Production.INFO: ==32600== Releasing lock...
[2025-01-10 02:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 02:36:22] Production.INFO: 29 MB #Memory Used#
[2025-01-10 07:37:01] Production.INFO: ==32690== Lock acquired, processing the job...
[2025-01-10 07:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 07:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 07:37:01] Production.INFO: neon service started
[2025-01-10 07:37:01] Production.INFO: neon service started
[2025-01-10 07:37:01] Production.INFO: ==32690== Releasing lock...
[2025-01-10 07:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 07:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 07:37:02] Production.INFO: ==32694== Lock acquired, processing the job...
[2025-01-10 07:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 07:37:02] Production.INFO: ==32694== Releasing lock...
[2025-01-10 07:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 07:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 02:37:02] Production.INFO: ==32692== Lock acquired, processing the job...
[2025-01-10 02:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:37:02] Production.INFO: ==32692== Releasing lock...
[2025-01-10 02:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 02:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 02:37:03] Production.INFO: ==32696== Lock acquired, processing the job...
[2025-01-10 02:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 02:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 02:37:03] Production.INFO: ==32704== Lock acquired, processing the job...
[2025-01-10 02:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 02:37:03] Production.INFO: ==32698== Lock acquired, processing the job...
[2025-01-10 02:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 02:37:03] Production.INFO: ==32700== Lock acquired, processing the job...
[2025-01-10 02:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 02:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:37:03] Production.INFO: ==32702== Lock acquired, processing the job...
[2025-01-10 02:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 02:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 02:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 02:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 02:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 02:37:03] Production.INFO: ==32706== Lock acquired, processing the job...
[2025-01-10 02:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 02:37:03] Production.INFO: ==32698== Releasing lock...
[2025-01-10 02:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 02:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 02:37:03] Production.INFO: Account Balance Start.
[2025-01-10 02:37:03] Production.INFO: CreateAllLog Start
[2025-01-10 02:37:03] Production.INFO: 117
[2025-01-10 02:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:37:03] Production.INFO: Date 2025-01-08
[2025-01-10 02:37:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:37:03] Production.INFO: count ==21
[2025-01-10 02:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:37:03] Production.INFO: count ==21
[2025-01-10 02:37:03] Production.INFO: Date 2025-01-09
[2025-01-10 02:37:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213900') start
[2025-01-10 02:37:03] Production.ERROR: done
[2025-01-10 02:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 02:37:03] Production.INFO: Date 2025-01-10
[2025-01-10 02:37:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:37:03] Production.INFO: Total Charge 0
[2025-01-10 02:37:03] Production.INFO: CreateAllLog End
[2025-01-10 02:37:04] Production.ERROR: done
[2025-01-10 02:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213900') end
[2025-01-10 02:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 02:37:04] Production.INFO: 1
[2025-01-10 02:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 02:37:04] Production.INFO: ==32706== Releasing lock...
[2025-01-10 02:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 02:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 02:37:04] Production.INFO: Account Balance End.
[2025-01-10 02:37:04] Production.ERROR: CronJobId end 12
[2025-01-10 02:37:04] Production.INFO: ==32702== Releasing lock...
[2025-01-10 02:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 02:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 02:37:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 23:37:04
[end_date_ymd] => 2025-01-10 02:37:04
[RateCDR] => 1
)
[2025-01-10 02:37:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 23:37:04' and `end` < '2025-01-10 02:37:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 02:37:10] Production.ERROR: CronJobId end10
[2025-01-10 02:37:10] Production.INFO: ==32700== Releasing lock...
[2025-01-10 02:37:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 02:37:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 02:37:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 02:37:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 02:37:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 02:37:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 02:37:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 02:37:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 02:37:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 02:37:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 02:37:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 02:37:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 02:37:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 02:37:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 02:37:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 02:37:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 02:37:13] Production.INFO: call_cost start
[2025-01-10 02:37:13] Production.INFO: call_cost end
[2025-01-10 02:37:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 02:37:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 02:37:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 02:37:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 02:37:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 02:37:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 02:37:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 02:37:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 02:37:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 02:37:13] Production.INFO: ==32696== Releasing lock...
[2025-01-10 02:37:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 02:37:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 02:37:17] Production.INFO: count ==210
[2025-01-10 02:37:17] Production.ERROR: pbx CDR StartTime 2025-01-09 23:37:04 - End Time 2025-01-10 02:37:04
[2025-01-10 02:37:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 02:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213902', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213902', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213902', 'tblTempVendorCDR_20' ) start
[2025-01-10 02:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213902', 'tblTempVendorCDR_20' ) end
[2025-01-10 02:37:17] Production.INFO: ProcessCDR(1,14213902,1,1,2)
[2025-01-10 02:37:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213902,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:37:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213902,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:37:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213902,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213902,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213902', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213902', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:37:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:37:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:37:21] Production.INFO: ==32704== Releasing lock...
[2025-01-10 02:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 02:37:21] Production.INFO: 29 MB #Memory Used#
[2025-01-10 07:38:02] Production.INFO: ==332== Lock acquired, processing the job...
[2025-01-10 07:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 07:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 07:38:02] Production.INFO: neon service started
[2025-01-10 07:38:02] Production.INFO: neon service started
[2025-01-10 07:38:02] Production.INFO: ==332== Releasing lock...
[2025-01-10 07:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 07:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:38:02] Production.INFO: ==334== Lock acquired, processing the job...
[2025-01-10 02:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:38:02] Production.INFO: ==334== Releasing lock...
[2025-01-10 02:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 02:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:38:02] Production.INFO: ==336== Lock acquired, processing the job...
[2025-01-10 07:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 07:38:03] Production.INFO: ==336== Releasing lock...
[2025-01-10 07:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 07:38:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 02:38:03] Production.INFO: ==358== Lock acquired, processing the job...
[2025-01-10 02:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 02:38:03] Production.INFO: ==361== Lock acquired, processing the job...
[2025-01-10 02:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 02:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:38:03] Production.INFO: ==338== Lock acquired, processing the job...
[2025-01-10 02:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 02:38:03] Production.INFO: ==352== Lock acquired, processing the job...
[2025-01-10 02:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 02:38:03] Production.INFO: ==354== Lock acquired, processing the job...
[2025-01-10 02:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 02:38:03] Production.INFO: ==356== Lock acquired, processing the job...
[2025-01-10 02:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 02:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 02:38:04] Production.INFO: count ==21
[2025-01-10 02:38:04] Production.INFO: Account Balance Start.
[2025-01-10 02:38:04] Production.INFO: CreateAllLog Start
[2025-01-10 02:38:04] Production.INFO: 117
[2025-01-10 02:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:38:04] Production.INFO: count ==21
[2025-01-10 02:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213903') start
[2025-01-10 02:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 02:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 02:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 02:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 02:38:04] Production.INFO: Date 2025-01-08
[2025-01-10 02:38:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:38:04] Production.ERROR: done
[2025-01-10 02:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 02:38:04] Production.INFO: Date 2025-01-09
[2025-01-10 02:38:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213903') end
[2025-01-10 02:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 02:38:04] Production.INFO: 1
[2025-01-10 02:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 02:38:04] Production.INFO: Date 2025-01-10
[2025-01-10 02:38:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:38:04] Production.INFO: Total Charge 0
[2025-01-10 02:38:04] Production.INFO: CreateAllLog End
[2025-01-10 02:38:04] Production.INFO: ==361== Releasing lock...
[2025-01-10 02:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 02:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 02:38:04] Production.INFO: ==352== Releasing lock...
[2025-01-10 02:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 02:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 02:38:04] Production.ERROR: done
[2025-01-10 02:38:04] Production.INFO: Account Balance End.
[2025-01-10 02:38:04] Production.ERROR: CronJobId end 12
[2025-01-10 02:38:04] Production.INFO: ==356== Releasing lock...
[2025-01-10 02:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 02:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 02:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 23:38:05
[end_date_ymd] => 2025-01-10 02:38:05
[RateCDR] => 1
)
[2025-01-10 02:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 23:38:05' and `end` < '2025-01-10 02:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 02:38:12] Production.ERROR: CronJobId end10
[2025-01-10 02:38:12] Production.INFO: ==354== Releasing lock...
[2025-01-10 02:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 02:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 02:38:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 02:38:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 02:38:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 02:38:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 02:38:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 02:38:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 02:38:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 02:38:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 02:38:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 02:38:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 02:38:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 02:38:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 02:38:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 02:38:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 02:38:14] Production.INFO: call_cost start
[2025-01-10 02:38:14] Production.INFO: call_cost end
[2025-01-10 02:38:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 02:38:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 02:38:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 02:38:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 02:38:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 02:38:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 02:38:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 02:38:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 02:38:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 02:38:15] Production.INFO: ==338== Releasing lock...
[2025-01-10 02:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 02:38:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 02:38:19] Production.INFO: count ==208
[2025-01-10 02:38:19] Production.ERROR: pbx CDR StartTime 2025-01-09 23:38:05 - End Time 2025-01-10 02:38:05
[2025-01-10 02:38:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 02:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213907', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213907', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213907', 'tblTempVendorCDR_20' ) start
[2025-01-10 02:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213907', 'tblTempVendorCDR_20' ) end
[2025-01-10 02:38:19] Production.INFO: ProcessCDR(1,14213907,1,1,2)
[2025-01-10 02:38:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213907,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:38:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213907,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:38:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213907,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:38:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213907,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213907', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213907', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:38:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:38:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:38:22] Production.INFO: ==358== Releasing lock...
[2025-01-10 02:38:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 02:38:22] Production.INFO: 29 MB #Memory Used#
[2025-01-10 07:39:01] Production.INFO: ==445== Lock acquired, processing the job...
[2025-01-10 07:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 07:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 07:39:01] Production.INFO: neon service started
[2025-01-10 07:39:01] Production.INFO: neon service started
[2025-01-10 07:39:01] Production.INFO: ==445== Releasing lock...
[2025-01-10 07:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 07:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:39:02] Production.INFO: ==447== Lock acquired, processing the job...
[2025-01-10 02:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 07:39:02] Production.INFO: ==449== Lock acquired, processing the job...
[2025-01-10 07:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 07:39:02] Production.INFO: ==449== Releasing lock...
[2025-01-10 07:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 07:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 02:39:02] Production.INFO: ==447== Releasing lock...
[2025-01-10 02:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 02:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 02:39:03] Production.INFO: ==458== Lock acquired, processing the job...
[2025-01-10 02:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 02:39:03] Production.INFO: ==452== Lock acquired, processing the job...
[2025-01-10 02:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 02:39:03] Production.INFO: Account Balance Start.
[2025-01-10 02:39:03] Production.INFO: CreateAllLog Start
[2025-01-10 02:39:03] Production.INFO: ==454== Lock acquired, processing the job...
[2025-01-10 02:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 02:39:03] Production.INFO: ==462== Lock acquired, processing the job...
[2025-01-10 02:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 02:39:03] Production.INFO: 117
[2025-01-10 02:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 02:39:03] Production.INFO: Date 2025-01-08
[2025-01-10 02:39:03] Production.INFO: ==456== Lock acquired, processing the job...
[2025-01-10 02:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 02:39:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:39:03] Production.INFO: Date 2025-01-09
[2025-01-10 02:39:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:39:03] Production.INFO: Date 2025-01-10
[2025-01-10 02:39:03] Production.INFO: count ==21
[2025-01-10 02:39:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:39:03] Production.INFO: count ==21
[2025-01-10 02:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213910') start
[2025-01-10 02:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 02:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 02:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 02:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 02:39:03] Production.INFO: Total Charge 0
[2025-01-10 02:39:03] Production.INFO: ==460== Lock acquired, processing the job...
[2025-01-10 02:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 02:39:03] Production.INFO: CreateAllLog End
[2025-01-10 02:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213910') end
[2025-01-10 02:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 02:39:03] Production.INFO: 1
[2025-01-10 02:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 02:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:39:03] Production.INFO: ==454== Releasing lock...
[2025-01-10 02:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 02:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 02:39:03] Production.INFO: ==462== Releasing lock...
[2025-01-10 02:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 02:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 02:39:04] Production.INFO: Account Balance End.
[2025-01-10 02:39:04] Production.ERROR: CronJobId end 12
[2025-01-10 02:39:04] Production.INFO: ==458== Releasing lock...
[2025-01-10 02:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 02:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 02:39:04] Production.ERROR: done
[2025-01-10 02:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 02:39:04] Production.ERROR: done
[2025-01-10 02:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 23:39:05
[end_date_ymd] => 2025-01-10 02:39:05
[RateCDR] => 1
)
[2025-01-10 02:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 23:39:05' and `end` < '2025-01-10 02:39:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 02:39:10] Production.ERROR: CronJobId end10
[2025-01-10 02:39:10] Production.INFO: ==456== Releasing lock...
[2025-01-10 02:39:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 02:39:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 02:39:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 02:39:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 02:39:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 02:39:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 02:39:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 02:39:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 02:39:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 02:39:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 02:39:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 02:39:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 02:39:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 02:39:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 02:39:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 02:39:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 02:39:13] Production.INFO: call_cost start
[2025-01-10 02:39:13] Production.INFO: call_cost end
[2025-01-10 02:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 02:39:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 02:39:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 02:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 02:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 02:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 02:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 02:39:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 02:39:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 02:39:14] Production.INFO: ==452== Releasing lock...
[2025-01-10 02:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 02:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 02:39:18] Production.INFO: count ==208
[2025-01-10 02:39:18] Production.ERROR: pbx CDR StartTime 2025-01-09 23:39:05 - End Time 2025-01-10 02:39:05
[2025-01-10 02:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 02:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213912', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213912', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213912', 'tblTempVendorCDR_20' ) start
[2025-01-10 02:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213912', 'tblTempVendorCDR_20' ) end
[2025-01-10 02:39:18] Production.INFO: ProcessCDR(1,14213912,1,1,2)
[2025-01-10 02:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213912,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213912,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213912,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213912,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213912', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213912', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:39:21] Production.INFO: ==460== Releasing lock...
[2025-01-10 02:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 02:39:21] Production.INFO: 29 MB #Memory Used#
[2025-01-10 07:40:01] Production.INFO: ==555== Lock acquired, processing the job...
[2025-01-10 07:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 07:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 07:40:02] Production.INFO: neon service started
[2025-01-10 07:40:02] Production.INFO: neon service started
[2025-01-10 07:40:02] Production.INFO: ==555== Releasing lock...
[2025-01-10 07:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 07:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:40:02] Production.INFO: ==557== Lock acquired, processing the job...
[2025-01-10 02:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 07:40:02] Production.INFO: ==559== Lock acquired, processing the job...
[2025-01-10 07:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 07:40:02] Production.INFO: ==559== Releasing lock...
[2025-01-10 07:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 07:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 02:40:03] Production.INFO: ==557== Releasing lock...
[2025-01-10 02:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 02:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 02:40:03] Production.INFO: ==562== Lock acquired, processing the job...
[2025-01-10 02:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 02:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 02:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 02:40:04] Production.INFO: ==562== Releasing lock...
[2025-01-10 02:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 02:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 02:40:04] Production.INFO: ==569== Lock acquired, processing the job...
[2025-01-10 02:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 02:40:04] Production.INFO: ==571== Lock acquired, processing the job...
[2025-01-10 02:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 02:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 02:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 02:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 02:40:04] Production.INFO: ==573== Lock acquired, processing the job...
[2025-01-10 02:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 02:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 02:40:04] Production.INFO: Account Balance Start.
[2025-01-10 02:40:04] Production.INFO: CreateAllLog Start
[2025-01-10 02:40:04] Production.INFO: 117
[2025-01-10 02:40:04] Production.INFO: Date 2025-01-08
[2025-01-10 02:40:04] Production.INFO: ==564== Lock acquired, processing the job...
[2025-01-10 02:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 02:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:40:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:40:04] Production.INFO: Date 2025-01-09
[2025-01-10 02:40:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:40:04] Production.INFO: ==566== Lock acquired, processing the job...
[2025-01-10 02:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 02:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 02:40:04] Production.INFO: Date 2025-01-10
[2025-01-10 02:40:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:40:04] Production.INFO: Total Charge 0
[2025-01-10 02:40:04] Production.INFO: CreateAllLog End
[2025-01-10 02:40:04] Production.INFO: ==575== Lock acquired, processing the job...
[2025-01-10 02:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 02:40:04] Production.INFO: ==577== Lock acquired, processing the job...
[2025-01-10 02:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 02:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:40:04] Production.INFO: Account Balance End.
[2025-01-10 02:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:40:04] Production.ERROR: CronJobId end 12
[2025-01-10 02:40:04] Production.INFO: ==571== Releasing lock...
[2025-01-10 02:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 02:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 02:40:04] Production.INFO: count ==21
[2025-01-10 02:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:40:04] Production.INFO: count ==21
[2025-01-10 02:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213916') start
[2025-01-10 02:40:04] Production.ERROR: done
[2025-01-10 02:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 02:40:04] Production.INFO: ==566== Releasing lock...
[2025-01-10 02:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 02:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 02:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14213916') end
[2025-01-10 02:40:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 02:40:05] Production.INFO: 1
[2025-01-10 02:40:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 02:40:05] Production.ERROR: done
[2025-01-10 02:40:05] Production.INFO: ==577== Releasing lock...
[2025-01-10 02:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 02:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 02:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 02:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14213917', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 02:40:05] Production.ERROR: done
[2025-01-10 02:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 23:40:06
[end_date_ymd] => 2025-01-10 02:40:06
[RateCDR] => 1
)
[2025-01-10 02:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 23:40:06' and `end` < '2025-01-10 02:40:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 02:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14213917', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 02:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 02:40:09] Production.INFO: ProcessCDR(1,14213917,1,1,2)
[2025-01-10 02:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14213917,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14213917,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:40:09] Production.INFO: ==575== Releasing lock...
[2025-01-10 02:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 02:40:09] Production.INFO: 26 MB #Memory Used#
[2025-01-10 02:40:13] Production.ERROR: CronJobId end10
[2025-01-10 02:40:13] Production.INFO: ==569== Releasing lock...
[2025-01-10 02:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 02:40:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 02:40:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 02:40:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 02:40:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 02:40:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 02:40:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 02:40:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 02:40:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 02:40:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 02:40:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 02:40:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 02:40:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 02:40:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 02:40:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 02:40:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 02:40:15] Production.INFO: call_cost start
[2025-01-10 02:40:15] Production.INFO: call_cost end
[2025-01-10 02:40:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 02:40:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 02:40:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 02:40:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 02:40:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 02:40:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 02:40:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 02:40:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 02:40:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 02:40:15] Production.INFO: ==564== Releasing lock...
[2025-01-10 02:40:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 02:40:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 02:40:19] Production.INFO: count ==212
[2025-01-10 02:40:19] Production.ERROR: pbx CDR StartTime 2025-01-09 23:40:06 - End Time 2025-01-10 02:40:06
[2025-01-10 02:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 02:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213918', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213918', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213918', 'tblTempVendorCDR_20' ) start
[2025-01-10 02:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213918', 'tblTempVendorCDR_20' ) end
[2025-01-10 02:40:19] Production.INFO: ProcessCDR(1,14213918,1,1,2)
[2025-01-10 02:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213918,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213918,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213918,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:40:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213918,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213918', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213918', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:40:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:40:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:40:22] Production.INFO: ==573== Releasing lock...
[2025-01-10 02:40:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 02:40:22] Production.INFO: 29 MB #Memory Used#
[2025-01-10 07:41:01] Production.INFO: ==679== Lock acquired, processing the job...
[2025-01-10 07:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 07:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 07:41:01] Production.INFO: neon service started
[2025-01-10 07:41:01] Production.INFO: neon service started
[2025-01-10 07:41:01] Production.INFO: ==679== Releasing lock...
[2025-01-10 07:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 07:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:41:01] Production.INFO: ==681== Lock acquired, processing the job...
[2025-01-10 02:41:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:41:02] Production.INFO: ==681== Releasing lock...
[2025-01-10 02:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 02:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:41:02] Production.INFO: ==684== Lock acquired, processing the job...
[2025-01-10 07:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 07:41:02] Production.INFO: ==684== Releasing lock...
[2025-01-10 07:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 07:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 02:41:03] Production.INFO: ==701== Lock acquired, processing the job...
[2025-01-10 02:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 02:41:03] Production.INFO: ==693== Lock acquired, processing the job...
[2025-01-10 02:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 02:41:03] Production.INFO: ==709== Lock acquired, processing the job...
[2025-01-10 02:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 02:41:03] Production.INFO: Account Balance Start.
[2025-01-10 02:41:03] Production.INFO: CreateAllLog Start
[2025-01-10 02:41:03] Production.INFO: 117
[2025-01-10 02:41:03] Production.INFO: Date 2025-01-08
[2025-01-10 02:41:03] Production.INFO: ==696== Lock acquired, processing the job...
[2025-01-10 02:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 02:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 02:41:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:41:03] Production.INFO: count ==21
[2025-01-10 02:41:03] Production.INFO: ==699== Lock acquired, processing the job...
[2025-01-10 02:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 02:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:41:03] Production.INFO: Date 2025-01-09
[2025-01-10 02:41:03] Production.INFO: count ==21
[2025-01-10 02:41:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213920') start
[2025-01-10 02:41:03] Production.INFO: ==706== Lock acquired, processing the job...
[2025-01-10 02:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 02:41:03] Production.INFO: Date 2025-01-10
[2025-01-10 02:41:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:41:03] Production.INFO: Total Charge 0
[2025-01-10 02:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:41:03] Production.INFO: CreateAllLog End
[2025-01-10 02:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 02:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213920') end
[2025-01-10 02:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 02:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 02:41:03] Production.INFO: 1
[2025-01-10 02:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 02:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 02:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 02:41:03] Production.INFO: ==709== Releasing lock...
[2025-01-10 02:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 02:41:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 02:41:03] Production.INFO: ==696== Releasing lock...
[2025-01-10 02:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 02:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 02:41:03] Production.INFO: Account Balance End.
[2025-01-10 02:41:03] Production.ERROR: done
[2025-01-10 02:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 02:41:03] Production.ERROR: CronJobId end 12
[2025-01-10 02:41:03] Production.INFO: ==701== Releasing lock...
[2025-01-10 02:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 02:41:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 02:41:04] Production.ERROR: done
[2025-01-10 02:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 23:41:05
[end_date_ymd] => 2025-01-10 02:41:05
[RateCDR] => 1
)
[2025-01-10 02:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 23:41:05' and `end` < '2025-01-10 02:41:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 02:41:11] Production.ERROR: CronJobId end10
[2025-01-10 02:41:11] Production.INFO: ==699== Releasing lock...
[2025-01-10 02:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 02:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 02:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 02:41:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 02:41:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 02:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 02:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 02:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 02:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 02:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 02:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 02:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 02:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 02:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 02:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 02:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 02:41:13] Production.INFO: call_cost start
[2025-01-10 02:41:13] Production.INFO: call_cost end
[2025-01-10 02:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 02:41:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 02:41:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 02:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 02:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 02:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 02:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 02:41:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 02:41:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 02:41:14] Production.INFO: ==693== Releasing lock...
[2025-01-10 02:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 02:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 02:41:19] Production.INFO: count ==211
[2025-01-10 02:41:19] Production.ERROR: pbx CDR StartTime 2025-01-09 23:41:05 - End Time 2025-01-10 02:41:05
[2025-01-10 02:41:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 02:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213923', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213923', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213923', 'tblTempVendorCDR_20' ) start
[2025-01-10 02:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213923', 'tblTempVendorCDR_20' ) end
[2025-01-10 02:41:19] Production.INFO: ProcessCDR(1,14213923,1,1,2)
[2025-01-10 02:41:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213923,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:41:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213923,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:41:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213923,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:41:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213923,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213923', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213923', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:41:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:41:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:41:22] Production.INFO: ==706== Releasing lock...
[2025-01-10 02:41:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 02:41:22] Production.INFO: 29 MB #Memory Used#
[2025-01-10 07:42:02] Production.INFO: ==795== Lock acquired, processing the job...
[2025-01-10 07:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 07:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 07:42:02] Production.INFO: neon service started
[2025-01-10 07:42:02] Production.INFO: neon service started
[2025-01-10 07:42:02] Production.INFO: ==795== Releasing lock...
[2025-01-10 07:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 07:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:42:02] Production.INFO: ==798== Lock acquired, processing the job...
[2025-01-10 02:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 07:42:02] Production.INFO: ==800== Lock acquired, processing the job...
[2025-01-10 07:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 02:42:02] Production.INFO: ==798== Releasing lock...
[2025-01-10 02:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 02:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:42:02] Production.INFO: ==800== Releasing lock...
[2025-01-10 07:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 07:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 02:42:03] Production.INFO: ==802== Lock acquired, processing the job...
[2025-01-10 02:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 02:42:03] Production.INFO: ==808== Lock acquired, processing the job...
[2025-01-10 02:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 02:42:03] Production.INFO: ==812== Lock acquired, processing the job...
[2025-01-10 02:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 02:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 02:42:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:42:03] Production.INFO: ==804== Lock acquired, processing the job...
[2025-01-10 02:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 02:42:03] Production.INFO: Account Balance Start.
[2025-01-10 02:42:03] Production.INFO: CreateAllLog Start
[2025-01-10 02:42:03] Production.INFO: 117
[2025-01-10 02:42:03] Production.INFO: count ==21
[2025-01-10 02:42:03] Production.INFO: Date 2025-01-08
[2025-01-10 02:42:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:42:03] Production.INFO: count ==21
[2025-01-10 02:42:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:42:03] Production.INFO: ==806== Lock acquired, processing the job...
[2025-01-10 02:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 02:42:03] Production.INFO: ==810== Lock acquired, processing the job...
[2025-01-10 02:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 02:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213924') start
[2025-01-10 02:42:03] Production.INFO: Date 2025-01-09
[2025-01-10 02:42:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213924') end
[2025-01-10 02:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 02:42:04] Production.INFO: 1
[2025-01-10 02:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 02:42:04] Production.INFO: Date 2025-01-10
[2025-01-10 02:42:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 02:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 02:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 02:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 02:42:04] Production.INFO: ==812== Releasing lock...
[2025-01-10 02:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 02:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 02:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:42:04] Production.INFO: Total Charge 0
[2025-01-10 02:42:04] Production.INFO: CreateAllLog End
[2025-01-10 02:42:04] Production.INFO: ==804== Releasing lock...
[2025-01-10 02:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 02:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 02:42:04] Production.ERROR: done
[2025-01-10 02:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 02:42:04] Production.INFO: Account Balance End.
[2025-01-10 02:42:04] Production.ERROR: CronJobId end 12
[2025-01-10 02:42:04] Production.INFO: ==808== Releasing lock...
[2025-01-10 02:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 02:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 02:42:04] Production.ERROR: done
[2025-01-10 02:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 23:42:05
[end_date_ymd] => 2025-01-10 02:42:05
[RateCDR] => 1
)
[2025-01-10 02:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 23:42:05' and `end` < '2025-01-10 02:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 02:42:11] Production.ERROR: CronJobId end10
[2025-01-10 02:42:11] Production.INFO: ==806== Releasing lock...
[2025-01-10 02:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 02:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 02:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 02:42:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 02:42:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 02:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 02:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 02:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 02:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 02:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 02:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 02:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 02:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 02:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 02:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 02:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 02:42:13] Production.INFO: call_cost start
[2025-01-10 02:42:13] Production.INFO: call_cost end
[2025-01-10 02:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 02:42:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 02:42:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 02:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 02:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 02:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 02:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 02:42:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 02:42:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 02:42:14] Production.INFO: ==802== Releasing lock...
[2025-01-10 02:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 02:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 02:42:18] Production.INFO: count ==211
[2025-01-10 02:42:18] Production.ERROR: pbx CDR StartTime 2025-01-09 23:42:05 - End Time 2025-01-10 02:42:05
[2025-01-10 02:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 02:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213928', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213928', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213928', 'tblTempVendorCDR_20' ) start
[2025-01-10 02:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213928', 'tblTempVendorCDR_20' ) end
[2025-01-10 02:42:18] Production.INFO: ProcessCDR(1,14213928,1,1,2)
[2025-01-10 02:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213928,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213928,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213928,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213928,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213928', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213928', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:42:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:42:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:42:21] Production.INFO: ==810== Releasing lock...
[2025-01-10 02:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 02:42:21] Production.INFO: 29 MB #Memory Used#
[2025-01-10 07:43:01] Production.INFO: ==881== Lock acquired, processing the job...
[2025-01-10 07:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 07:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 07:43:01] Production.INFO: neon service started
[2025-01-10 07:43:01] Production.INFO: neon service started
[2025-01-10 07:43:01] Production.INFO: ==881== Releasing lock...
[2025-01-10 07:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 07:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 07:43:01] Production.INFO: ==885== Lock acquired, processing the job...
[2025-01-10 07:43:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 07:43:01] Production.INFO: ==885== Releasing lock...
[2025-01-10 07:43:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 07:43:01] Production.INFO: 25 MB #Memory Used#
[2025-01-10 02:43:01] Production.INFO: ==883== Lock acquired, processing the job...
[2025-01-10 02:43:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:43:02] Production.INFO: ==883== Releasing lock...
[2025-01-10 02:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 02:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 02:43:02] Production.INFO: ==890== Lock acquired, processing the job...
[2025-01-10 02:43:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 02:43:03] Production.INFO: ==888== Lock acquired, processing the job...
[2025-01-10 02:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 02:43:03] Production.INFO: ==894== Lock acquired, processing the job...
[2025-01-10 02:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 02:43:03] Production.INFO: Account Balance Start.
[2025-01-10 02:43:03] Production.INFO: CreateAllLog Start
[2025-01-10 02:43:03] Production.INFO: 117
[2025-01-10 02:43:03] Production.INFO: Date 2025-01-08
[2025-01-10 02:43:03] Production.INFO: ==892== Lock acquired, processing the job...
[2025-01-10 02:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 02:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 02:43:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 02:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 02:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 02:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 02:43:03] Production.INFO: Date 2025-01-09
[2025-01-10 02:43:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:43:03] Production.INFO: Date 2025-01-10
[2025-01-10 02:43:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:43:03] Production.INFO: ==896== Lock acquired, processing the job...
[2025-01-10 02:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 02:43:03] Production.INFO: Total Charge 0
[2025-01-10 02:43:03] Production.INFO: ==898== Lock acquired, processing the job...
[2025-01-10 02:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 02:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:43:03] Production.INFO: CreateAllLog End
[2025-01-10 02:43:03] Production.INFO: ==890== Releasing lock...
[2025-01-10 02:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 02:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 02:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:43:03] Production.INFO: Account Balance End.
[2025-01-10 02:43:03] Production.INFO: count ==21
[2025-01-10 02:43:03] Production.ERROR: CronJobId end 12
[2025-01-10 02:43:03] Production.INFO: ==894== Releasing lock...
[2025-01-10 02:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 02:43:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 02:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:43:03] Production.ERROR: done
[2025-01-10 02:43:03] Production.INFO: count ==21
[2025-01-10 02:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 02:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213932') start
[2025-01-10 02:43:03] Production.ERROR: done
[2025-01-10 02:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213932') end
[2025-01-10 02:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 02:43:03] Production.INFO: 1
[2025-01-10 02:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 02:43:04] Production.INFO: ==898== Releasing lock...
[2025-01-10 02:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 02:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 02:43:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 23:43:04
[end_date_ymd] => 2025-01-10 02:43:04
[RateCDR] => 1
)
[2025-01-10 02:43:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 23:43:04' and `end` < '2025-01-10 02:43:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 02:43:11] Production.ERROR: CronJobId end10
[2025-01-10 02:43:11] Production.INFO: ==892== Releasing lock...
[2025-01-10 02:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 02:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 02:43:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 02:43:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 02:43:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 02:43:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 02:43:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 02:43:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 02:43:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 02:43:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 02:43:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 02:43:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 02:43:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 02:43:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 02:43:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 02:43:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 02:43:12] Production.INFO: call_cost start
[2025-01-10 02:43:12] Production.INFO: call_cost end
[2025-01-10 02:43:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 02:43:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 02:43:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 02:43:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 02:43:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 02:43:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 02:43:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 02:43:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 02:43:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 02:43:13] Production.INFO: ==888== Releasing lock...
[2025-01-10 02:43:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 02:43:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 02:43:17] Production.INFO: count ==211
[2025-01-10 02:43:17] Production.ERROR: pbx CDR StartTime 2025-01-09 23:43:04 - End Time 2025-01-10 02:43:04
[2025-01-10 02:43:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 02:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213933', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213933', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213933', 'tblTempVendorCDR_20' ) start
[2025-01-10 02:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213933', 'tblTempVendorCDR_20' ) end
[2025-01-10 02:43:17] Production.INFO: ProcessCDR(1,14213933,1,1,2)
[2025-01-10 02:43:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213933,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:43:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213933,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:43:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213933,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:43:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213933,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:43:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213933', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:43:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213933', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:43:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:43:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:43:20] Production.INFO: ==896== Releasing lock...
[2025-01-10 02:43:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 02:43:20] Production.INFO: 29 MB #Memory Used#
[2025-01-10 07:44:01] Production.INFO: ==971== Lock acquired, processing the job...
[2025-01-10 07:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 07:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 07:44:01] Production.INFO: neon service started
[2025-01-10 07:44:01] Production.INFO: neon service started
[2025-01-10 07:44:01] Production.INFO: ==971== Releasing lock...
[2025-01-10 07:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 07:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:44:02] Production.INFO: ==973== Lock acquired, processing the job...
[2025-01-10 02:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:44:02] Production.INFO: ==973== Releasing lock...
[2025-01-10 02:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 02:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:44:02] Production.INFO: ==975== Lock acquired, processing the job...
[2025-01-10 07:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 07:44:02] Production.INFO: ==975== Releasing lock...
[2025-01-10 07:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 07:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 02:44:03] Production.INFO: ==981== Lock acquired, processing the job...
[2025-01-10 02:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 02:44:03] Production.INFO: ==979== Lock acquired, processing the job...
[2025-01-10 02:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 02:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 02:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 02:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 02:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 02:44:03] Production.INFO: ==987== Lock acquired, processing the job...
[2025-01-10 02:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 02:44:03] Production.INFO: ==977== Lock acquired, processing the job...
[2025-01-10 02:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 02:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:44:03] Production.INFO: ==983== Lock acquired, processing the job...
[2025-01-10 02:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 02:44:03] Production.INFO: count ==21
[2025-01-10 02:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 02:44:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:44:03] Production.INFO: count ==21
[2025-01-10 02:44:03] Production.INFO: ==979== Releasing lock...
[2025-01-10 02:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 02:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 02:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213935') start
[2025-01-10 02:44:03] Production.INFO: ==985== Lock acquired, processing the job...
[2025-01-10 02:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 02:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213935') end
[2025-01-10 02:44:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 02:44:03] Production.INFO: 1
[2025-01-10 02:44:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 02:44:03] Production.INFO: Account Balance Start.
[2025-01-10 02:44:03] Production.INFO: CreateAllLog Start
[2025-01-10 02:44:03] Production.INFO: 117
[2025-01-10 02:44:03] Production.INFO: ==987== Releasing lock...
[2025-01-10 02:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 02:44:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 02:44:03] Production.INFO: Date 2025-01-08
[2025-01-10 02:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:44:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:44:03] Production.INFO: Date 2025-01-09
[2025-01-10 02:44:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:44:03] Production.INFO: Date 2025-01-10
[2025-01-10 02:44:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:44:03] Production.INFO: Total Charge 0
[2025-01-10 02:44:03] Production.INFO: CreateAllLog End
[2025-01-10 02:44:04] Production.ERROR: done
[2025-01-10 02:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 02:44:04] Production.ERROR: done
[2025-01-10 02:44:04] Production.INFO: Account Balance End.
[2025-01-10 02:44:04] Production.ERROR: CronJobId end 12
[2025-01-10 02:44:04] Production.INFO: ==983== Releasing lock...
[2025-01-10 02:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 02:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 02:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 23:44:05
[end_date_ymd] => 2025-01-10 02:44:05
[RateCDR] => 1
)
[2025-01-10 02:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 23:44:05' and `end` < '2025-01-10 02:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 02:44:10] Production.ERROR: CronJobId end10
[2025-01-10 02:44:10] Production.INFO: ==981== Releasing lock...
[2025-01-10 02:44:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 02:44:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 02:44:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 02:44:11] Production.INFO: ============== Balance Warning START===========
[2025-01-10 02:44:11] Production.INFO: ============== Balance Warning END===========
[2025-01-10 02:44:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 02:44:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 02:44:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 02:44:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 02:44:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 02:44:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 02:44:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 02:44:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 02:44:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 02:44:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 02:44:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 02:44:12] Production.INFO: call_cost start
[2025-01-10 02:44:12] Production.INFO: call_cost end
[2025-01-10 02:44:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 02:44:12] Production.INFO: ============== Report Schedule START===========
[2025-01-10 02:44:12] Production.INFO: ============== Report Schedule END===========
[2025-01-10 02:44:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 02:44:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 02:44:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 02:44:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 02:44:12] Production.INFO: ============== Deal alert START===========
[2025-01-10 02:44:12] Production.INFO: ============== Deal alert END===========
[2025-01-10 02:44:12] Production.INFO: ==977== Releasing lock...
[2025-01-10 02:44:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 02:44:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 02:44:18] Production.INFO: count ==212
[2025-01-10 02:44:18] Production.ERROR: pbx CDR StartTime 2025-01-09 23:44:05 - End Time 2025-01-10 02:44:05
[2025-01-10 02:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 02:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213938', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213938', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213938', 'tblTempVendorCDR_20' ) start
[2025-01-10 02:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213938', 'tblTempVendorCDR_20' ) end
[2025-01-10 02:44:18] Production.INFO: ProcessCDR(1,14213938,1,1,2)
[2025-01-10 02:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213938,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213938,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213938,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213938,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213938', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213938', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:44:21] Production.INFO: ==985== Releasing lock...
[2025-01-10 02:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 02:44:21] Production.INFO: 29 MB #Memory Used#
[2025-01-10 07:45:02] Production.INFO: ==1056== Lock acquired, processing the job...
[2025-01-10 07:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 07:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 07:45:02] Production.INFO: neon service started
[2025-01-10 07:45:02] Production.INFO: neon service started
[2025-01-10 07:45:02] Production.INFO: ==1056== Releasing lock...
[2025-01-10 07:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 07:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:45:02] Production.INFO: ==1058== Lock acquired, processing the job...
[2025-01-10 02:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 07:45:02] Production.INFO: ==1060== Lock acquired, processing the job...
[2025-01-10 07:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 07:45:02] Production.INFO: ==1060== Releasing lock...
[2025-01-10 07:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 07:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 02:45:03] Production.INFO: ==1058== Releasing lock...
[2025-01-10 02:45:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 02:45:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 02:45:04] Production.INFO: ==1069== Lock acquired, processing the job...
[2025-01-10 02:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 02:45:04] Production.INFO: ==1063== Lock acquired, processing the job...
[2025-01-10 02:45:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 02:45:04] Production.INFO: Account Balance Start.
[2025-01-10 02:45:04] Production.INFO: CreateAllLog Start
[2025-01-10 02:45:04] Production.INFO: 117
[2025-01-10 02:45:04] Production.INFO: Date 2025-01-08
[2025-01-10 02:45:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:45:04] Production.INFO: ==1073== Lock acquired, processing the job...
[2025-01-10 02:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 02:45:04] Production.INFO: ==1065== Lock acquired, processing the job...
[2025-01-10 02:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 02:45:04] Production.INFO: Date 2025-01-09
[2025-01-10 02:45:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:45:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 02:45:04] Production.INFO: Date 2025-01-10
[2025-01-10 02:45:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:45:04] Production.INFO: ==1067== Lock acquired, processing the job...
[2025-01-10 02:45:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 02:45:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:45:04] Production.INFO: Total Charge 0
[2025-01-10 02:45:04] Production.INFO: count ==21
[2025-01-10 02:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 02:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 02:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 02:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 02:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:45:04] Production.INFO: ==1071== Lock acquired, processing the job...
[2025-01-10 02:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 02:45:04] Production.INFO: count ==21
[2025-01-10 02:45:04] Production.INFO: CreateAllLog End
[2025-01-10 02:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213941') start
[2025-01-10 02:45:04] Production.INFO: Account Balance End.
[2025-01-10 02:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213941') end
[2025-01-10 02:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 02:45:04] Production.INFO: 1
[2025-01-10 02:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 02:45:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:45:04] Production.ERROR: CronJobId end 12
[2025-01-10 02:45:04] Production.INFO: ==1069== Releasing lock...
[2025-01-10 02:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 02:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 02:45:04] Production.INFO: ==1065== Releasing lock...
[2025-01-10 02:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 02:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 02:45:04] Production.INFO: ==1073== Releasing lock...
[2025-01-10 02:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 02:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 02:45:04] Production.ERROR: done
[2025-01-10 02:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 02:45:05] Production.ERROR: done
[2025-01-10 02:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 23:45:05
[end_date_ymd] => 2025-01-10 02:45:05
[RateCDR] => 1
)
[2025-01-10 02:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 23:45:05' and `end` < '2025-01-10 02:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 02:45:11] Production.ERROR: CronJobId end10
[2025-01-10 02:45:11] Production.INFO: ==1067== Releasing lock...
[2025-01-10 02:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 02:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 02:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 02:45:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 02:45:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 02:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 02:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 02:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 02:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 02:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 02:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 02:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 02:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 02:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 02:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 02:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 02:45:13] Production.INFO: call_cost start
[2025-01-10 02:45:13] Production.INFO: call_cost end
[2025-01-10 02:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 02:45:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 02:45:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 02:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 02:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 02:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 02:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 02:45:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 02:45:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 02:45:14] Production.INFO: ==1063== Releasing lock...
[2025-01-10 02:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 02:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 02:45:18] Production.INFO: count ==213
[2025-01-10 02:45:18] Production.ERROR: pbx CDR StartTime 2025-01-09 23:45:05 - End Time 2025-01-10 02:45:05
[2025-01-10 02:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 02:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213943', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213943', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213943', 'tblTempVendorCDR_20' ) start
[2025-01-10 02:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213943', 'tblTempVendorCDR_20' ) end
[2025-01-10 02:45:18] Production.INFO: ProcessCDR(1,14213943,1,1,2)
[2025-01-10 02:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213943,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:45:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213943,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:45:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213943,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:45:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213943,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:45:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213943', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:45:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213943', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:45:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:45:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:45:23] Production.INFO: ==1071== Releasing lock...
[2025-01-10 02:45:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 02:45:23] Production.INFO: 29 MB #Memory Used#
[2025-01-10 07:46:01] Production.INFO: ==1149== Lock acquired, processing the job...
[2025-01-10 07:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 07:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 07:46:01] Production.INFO: neon service started
[2025-01-10 07:46:01] Production.INFO: neon service started
[2025-01-10 07:46:01] Production.INFO: ==1149== Releasing lock...
[2025-01-10 07:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 07:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 07:46:02] Production.INFO: ==1153== Lock acquired, processing the job...
[2025-01-10 07:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 07:46:02] Production.INFO: ==1153== Releasing lock...
[2025-01-10 07:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 07:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 02:46:02] Production.INFO: ==1151== Lock acquired, processing the job...
[2025-01-10 02:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:46:02] Production.INFO: ==1151== Releasing lock...
[2025-01-10 02:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 02:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 02:46:03] Production.INFO: ==1156== Lock acquired, processing the job...
[2025-01-10 02:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 02:46:03] Production.INFO: ==1160== Lock acquired, processing the job...
[2025-01-10 02:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 02:46:04] Production.INFO: ==1158== Lock acquired, processing the job...
[2025-01-10 02:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 02:46:04] Production.INFO: ==1162== Lock acquired, processing the job...
[2025-01-10 02:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 02:46:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 02:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 02:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 02:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 02:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 02:46:04] Production.INFO: Account Balance Start.
[2025-01-10 02:46:04] Production.INFO: CreateAllLog Start
[2025-01-10 02:46:04] Production.INFO: 117
[2025-01-10 02:46:04] Production.INFO: ==1164== Lock acquired, processing the job...
[2025-01-10 02:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 02:46:04] Production.INFO: ==1168== Lock acquired, processing the job...
[2025-01-10 02:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 02:46:04] Production.INFO: Date 2025-01-08
[2025-01-10 02:46:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:46:04] Production.INFO: Date 2025-01-09
[2025-01-10 02:46:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:46:04] Production.INFO: Date 2025-01-10
[2025-01-10 02:46:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:46:04] Production.INFO: Total Charge 0
[2025-01-10 02:46:04] Production.INFO: count ==21
[2025-01-10 02:46:04] Production.INFO: CreateAllLog End
[2025-01-10 02:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:46:04] Production.INFO: count ==21
[2025-01-10 02:46:04] Production.INFO: ==1158== Releasing lock...
[2025-01-10 02:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 02:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 02:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213947') start
[2025-01-10 02:46:04] Production.ERROR: done
[2025-01-10 02:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213947') end
[2025-01-10 02:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 02:46:04] Production.INFO: 1
[2025-01-10 02:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 02:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 02:46:04] Production.INFO: ==1168== Releasing lock...
[2025-01-10 02:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 02:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 02:46:04] Production.INFO: Account Balance End.
[2025-01-10 02:46:04] Production.ERROR: CronJobId end 12
[2025-01-10 02:46:04] Production.INFO: ==1162== Releasing lock...
[2025-01-10 02:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 02:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 02:46:04] Production.ERROR: done
[2025-01-10 02:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 23:46:05
[end_date_ymd] => 2025-01-10 02:46:05
[RateCDR] => 1
)
[2025-01-10 02:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 23:46:05' and `end` < '2025-01-10 02:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 02:46:11] Production.ERROR: CronJobId end10
[2025-01-10 02:46:11] Production.INFO: ==1160== Releasing lock...
[2025-01-10 02:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 02:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 02:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 02:46:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 02:46:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 02:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 02:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 02:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 02:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 02:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 02:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 02:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 02:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 02:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 02:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 02:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 02:46:14] Production.INFO: call_cost start
[2025-01-10 02:46:14] Production.INFO: call_cost end
[2025-01-10 02:46:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 02:46:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 02:46:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 02:46:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 02:46:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 02:46:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 02:46:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 02:46:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 02:46:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 02:46:15] Production.INFO: ==1156== Releasing lock...
[2025-01-10 02:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 02:46:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 02:46:19] Production.INFO: count ==213
[2025-01-10 02:46:19] Production.ERROR: pbx CDR StartTime 2025-01-09 23:46:05 - End Time 2025-01-10 02:46:05
[2025-01-10 02:46:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 02:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213948', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213948', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213948', 'tblTempVendorCDR_20' ) start
[2025-01-10 02:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213948', 'tblTempVendorCDR_20' ) end
[2025-01-10 02:46:19] Production.INFO: ProcessCDR(1,14213948,1,1,2)
[2025-01-10 02:46:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213948,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:46:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213948,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:46:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213948,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:46:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213948,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:46:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213948', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:46:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213948', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:46:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:46:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:46:23] Production.INFO: ==1164== Releasing lock...
[2025-01-10 02:46:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 02:46:23] Production.INFO: 29 MB #Memory Used#
[2025-01-10 07:47:02] Production.INFO: ==1243== Lock acquired, processing the job...
[2025-01-10 07:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 07:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 07:47:02] Production.INFO: neon service started
[2025-01-10 07:47:02] Production.INFO: neon service started
[2025-01-10 07:47:02] Production.INFO: ==1243== Releasing lock...
[2025-01-10 07:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 07:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:47:02] Production.INFO: ==1247== Lock acquired, processing the job...
[2025-01-10 02:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:47:02] Production.INFO: ==1247== Releasing lock...
[2025-01-10 02:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 02:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:47:03] Production.INFO: ==1251== Lock acquired, processing the job...
[2025-01-10 07:47:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 07:47:03] Production.INFO: ==1251== Releasing lock...
[2025-01-10 07:47:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 07:47:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 02:47:03] Production.INFO: ==1255== Lock acquired, processing the job...
[2025-01-10 02:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 02:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 02:47:03] Production.INFO: ==1261== Lock acquired, processing the job...
[2025-01-10 02:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 02:47:03] Production.INFO: ==1266== Lock acquired, processing the job...
[2025-01-10 02:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 02:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 02:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 02:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 02:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 02:47:03] Production.INFO: ==1263== Lock acquired, processing the job...
[2025-01-10 02:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 02:47:04] Production.INFO: ==1259== Lock acquired, processing the job...
[2025-01-10 02:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 02:47:04] Production.ERROR: done
[2025-01-10 02:47:04] Production.INFO: ==1268== Lock acquired, processing the job...
[2025-01-10 02:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 02:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 02:47:04] Production.INFO: Account Balance Start.
[2025-01-10 02:47:04] Production.INFO: CreateAllLog Start
[2025-01-10 02:47:04] Production.INFO: 117
[2025-01-10 02:47:04] Production.INFO: Date 2025-01-08
[2025-01-10 02:47:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:47:04] Production.ERROR: done
[2025-01-10 02:47:04] Production.INFO: Date 2025-01-09
[2025-01-10 02:47:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:47:04] Production.INFO: Date 2025-01-10
[2025-01-10 02:47:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:47:04] Production.INFO: Total Charge 0
[2025-01-10 02:47:04] Production.INFO: CreateAllLog End
[2025-01-10 02:47:04] Production.INFO: count ==21
[2025-01-10 02:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:47:04] Production.INFO: count ==21
[2025-01-10 02:47:04] Production.INFO: ==1259== Releasing lock...
[2025-01-10 02:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 02:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 02:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213952') start
[2025-01-10 02:47:04] Production.INFO: Account Balance End.
[2025-01-10 02:47:04] Production.ERROR: CronJobId end 12
[2025-01-10 02:47:04] Production.INFO: ==1263== Releasing lock...
[2025-01-10 02:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 02:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 02:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213952') end
[2025-01-10 02:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 02:47:04] Production.INFO: 1
[2025-01-10 02:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 02:47:04] Production.INFO: ==1268== Releasing lock...
[2025-01-10 02:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 02:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 02:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 23:47:05
[end_date_ymd] => 2025-01-10 02:47:05
[RateCDR] => 1
)
[2025-01-10 02:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 23:47:05' and `end` < '2025-01-10 02:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 02:47:10] Production.ERROR: CronJobId end10
[2025-01-10 02:47:10] Production.INFO: ==1261== Releasing lock...
[2025-01-10 02:47:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 02:47:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 02:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 02:47:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 02:47:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 02:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 02:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 02:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 02:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 02:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 02:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 02:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 02:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 02:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 02:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 02:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 02:47:13] Production.INFO: call_cost start
[2025-01-10 02:47:13] Production.INFO: call_cost end
[2025-01-10 02:47:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 02:47:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 02:47:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 02:47:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 02:47:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 02:47:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 02:47:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 02:47:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 02:47:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 02:47:14] Production.INFO: ==1255== Releasing lock...
[2025-01-10 02:47:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 02:47:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 02:47:18] Production.INFO: count ==213
[2025-01-10 02:47:18] Production.ERROR: pbx CDR StartTime 2025-01-09 23:47:05 - End Time 2025-01-10 02:47:05
[2025-01-10 02:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 02:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213953', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213953', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213953', 'tblTempVendorCDR_20' ) start
[2025-01-10 02:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213953', 'tblTempVendorCDR_20' ) end
[2025-01-10 02:47:18] Production.INFO: ProcessCDR(1,14213953,1,1,2)
[2025-01-10 02:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213953,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213953,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213953,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213953,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213953', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213953', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:47:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:47:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:47:21] Production.INFO: ==1266== Releasing lock...
[2025-01-10 02:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 02:47:21] Production.INFO: 29 MB #Memory Used#
[2025-01-10 07:48:01] Production.INFO: ==1341== Lock acquired, processing the job...
[2025-01-10 07:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 07:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 07:48:01] Production.INFO: neon service started
[2025-01-10 07:48:01] Production.INFO: neon service started
[2025-01-10 07:48:01] Production.INFO: ==1341== Releasing lock...
[2025-01-10 07:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 07:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:48:02] Production.INFO: ==1343== Lock acquired, processing the job...
[2025-01-10 02:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:48:02] Production.INFO: ==1343== Releasing lock...
[2025-01-10 02:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 02:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:48:02] Production.INFO: ==1345== Lock acquired, processing the job...
[2025-01-10 07:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 07:48:02] Production.INFO: ==1345== Releasing lock...
[2025-01-10 07:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 07:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 02:48:03] Production.INFO: ==1352== Lock acquired, processing the job...
[2025-01-10 02:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 02:48:03] Production.INFO: ==1348== Lock acquired, processing the job...
[2025-01-10 02:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 02:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 02:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 02:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 02:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 02:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 02:48:03] Production.INFO: ==1350== Lock acquired, processing the job...
[2025-01-10 02:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 02:48:03] Production.INFO: ==1354== Lock acquired, processing the job...
[2025-01-10 02:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 02:48:03] Production.INFO: Account Balance Start.
[2025-01-10 02:48:03] Production.INFO: CreateAllLog Start
[2025-01-10 02:48:03] Production.INFO: 117
[2025-01-10 02:48:03] Production.INFO: Date 2025-01-08
[2025-01-10 02:48:03] Production.INFO: ==1358== Lock acquired, processing the job...
[2025-01-10 02:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 02:48:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:48:03] Production.INFO: Date 2025-01-09
[2025-01-10 02:48:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:48:03] Production.INFO: ==1356== Lock acquired, processing the job...
[2025-01-10 02:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 02:48:03] Production.INFO: Date 2025-01-10
[2025-01-10 02:48:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:48:03] Production.INFO: Total Charge 0
[2025-01-10 02:48:03] Production.INFO: count ==21
[2025-01-10 02:48:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:48:03] Production.INFO: count ==21
[2025-01-10 02:48:03] Production.INFO: CreateAllLog End
[2025-01-10 02:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213957') start
[2025-01-10 02:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:48:03] Production.INFO: ==1350== Releasing lock...
[2025-01-10 02:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 02:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 02:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213957') end
[2025-01-10 02:48:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 02:48:03] Production.INFO: 1
[2025-01-10 02:48:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 02:48:03] Production.INFO: ==1358== Releasing lock...
[2025-01-10 02:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 02:48:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 02:48:04] Production.INFO: Account Balance End.
[2025-01-10 02:48:04] Production.ERROR: done
[2025-01-10 02:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 02:48:04] Production.ERROR: CronJobId end 12
[2025-01-10 02:48:04] Production.INFO: ==1354== Releasing lock...
[2025-01-10 02:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 02:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 02:48:04] Production.ERROR: done
[2025-01-10 02:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 23:48:05
[end_date_ymd] => 2025-01-10 02:48:05
[RateCDR] => 1
)
[2025-01-10 02:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 23:48:05' and `end` < '2025-01-10 02:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 02:48:11] Production.ERROR: CronJobId end10
[2025-01-10 02:48:11] Production.INFO: ==1352== Releasing lock...
[2025-01-10 02:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 02:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 02:48:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 02:48:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 02:48:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 02:48:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 02:48:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 02:48:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 02:48:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 02:48:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 02:48:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 02:48:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 02:48:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 02:48:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 02:48:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 02:48:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 02:48:12] Production.INFO: call_cost start
[2025-01-10 02:48:12] Production.INFO: call_cost end
[2025-01-10 02:48:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 02:48:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 02:48:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 02:48:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 02:48:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 02:48:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 02:48:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 02:48:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 02:48:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 02:48:13] Production.INFO: ==1348== Releasing lock...
[2025-01-10 02:48:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 02:48:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 02:48:18] Production.INFO: count ==213
[2025-01-10 02:48:18] Production.ERROR: pbx CDR StartTime 2025-01-09 23:48:05 - End Time 2025-01-10 02:48:05
[2025-01-10 02:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 02:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213958', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213958', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213958', 'tblTempVendorCDR_20' ) start
[2025-01-10 02:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213958', 'tblTempVendorCDR_20' ) end
[2025-01-10 02:48:18] Production.INFO: ProcessCDR(1,14213958,1,1,2)
[2025-01-10 02:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213958,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213958,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213958,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:48:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213958,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213958', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213958', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:48:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:48:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:48:21] Production.INFO: ==1356== Releasing lock...
[2025-01-10 02:48:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 02:48:21] Production.INFO: 29 MB #Memory Used#
[2025-01-10 07:49:02] Production.INFO: ==1429== Lock acquired, processing the job...
[2025-01-10 07:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 07:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 07:49:02] Production.INFO: neon service started
[2025-01-10 07:49:02] Production.INFO: neon service started
[2025-01-10 07:49:02] Production.INFO: ==1429== Releasing lock...
[2025-01-10 07:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 07:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:49:02] Production.INFO: ==1431== Lock acquired, processing the job...
[2025-01-10 02:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:49:02] Production.INFO: ==1431== Releasing lock...
[2025-01-10 02:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 02:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:49:02] Production.INFO: ==1433== Lock acquired, processing the job...
[2025-01-10 07:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 07:49:03] Production.INFO: ==1433== Releasing lock...
[2025-01-10 07:49:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 07:49:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 02:49:03] Production.INFO: ==1437== Lock acquired, processing the job...
[2025-01-10 02:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 02:49:03] Production.INFO: ==1441== Lock acquired, processing the job...
[2025-01-10 02:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 02:49:03] Production.INFO: ==1435== Lock acquired, processing the job...
[2025-01-10 02:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 02:49:03] Production.INFO: ==1439== Lock acquired, processing the job...
[2025-01-10 02:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 02:49:03] Production.INFO: ==1443== Lock acquired, processing the job...
[2025-01-10 02:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 02:49:03] Production.INFO: ==1445== Lock acquired, processing the job...
[2025-01-10 02:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 02:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 02:49:03] Production.INFO: Account Balance Start.
[2025-01-10 02:49:03] Production.INFO: CreateAllLog Start
[2025-01-10 02:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 02:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 02:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 02:49:03] Production.INFO: 117
[2025-01-10 02:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 02:49:03] Production.INFO: ==1437== Releasing lock...
[2025-01-10 02:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 02:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 02:49:03] Production.INFO: Date 2025-01-08
[2025-01-10 02:49:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:49:04] Production.INFO: Date 2025-01-09
[2025-01-10 02:49:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:49:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:49:04] Production.INFO: count ==21
[2025-01-10 02:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:49:04] Production.INFO: count ==21
[2025-01-10 02:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213962') start
[2025-01-10 02:49:04] Production.INFO: Date 2025-01-10
[2025-01-10 02:49:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:49:04] Production.INFO: Total Charge 0
[2025-01-10 02:49:04] Production.INFO: CreateAllLog End
[2025-01-10 02:49:04] Production.ERROR: done
[2025-01-10 02:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213962') end
[2025-01-10 02:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 02:49:04] Production.INFO: 1
[2025-01-10 02:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 02:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 02:49:04] Production.INFO: ==1445== Releasing lock...
[2025-01-10 02:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 02:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 02:49:04] Production.ERROR: done
[2025-01-10 02:49:04] Production.INFO: Account Balance End.
[2025-01-10 02:49:04] Production.ERROR: CronJobId end 12
[2025-01-10 02:49:04] Production.INFO: ==1441== Releasing lock...
[2025-01-10 02:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 02:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 02:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 23:49:05
[end_date_ymd] => 2025-01-10 02:49:05
[RateCDR] => 1
)
[2025-01-10 02:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 23:49:05' and `end` < '2025-01-10 02:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 02:49:11] Production.ERROR: CronJobId end10
[2025-01-10 02:49:11] Production.INFO: ==1439== Releasing lock...
[2025-01-10 02:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 02:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 02:49:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 02:49:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 02:49:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 02:49:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 02:49:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 02:49:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 02:49:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 02:49:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 02:49:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 02:49:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 02:49:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 02:49:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 02:49:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 02:49:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 02:49:13] Production.INFO: call_cost start
[2025-01-10 02:49:13] Production.INFO: call_cost end
[2025-01-10 02:49:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 02:49:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 02:49:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 02:49:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 02:49:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 02:49:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 02:49:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 02:49:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 02:49:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 02:49:14] Production.INFO: ==1435== Releasing lock...
[2025-01-10 02:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 02:49:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 02:49:19] Production.INFO: count ==213
[2025-01-10 02:49:19] Production.ERROR: pbx CDR StartTime 2025-01-09 23:49:05 - End Time 2025-01-10 02:49:05
[2025-01-10 02:49:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 02:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213963', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213963', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213963', 'tblTempVendorCDR_20' ) start
[2025-01-10 02:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213963', 'tblTempVendorCDR_20' ) end
[2025-01-10 02:49:19] Production.INFO: ProcessCDR(1,14213963,1,1,2)
[2025-01-10 02:49:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213963,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:49:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213963,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:49:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213963,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:49:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213963,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213963', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213963', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:49:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:49:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:49:22] Production.INFO: ==1443== Releasing lock...
[2025-01-10 02:49:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 02:49:22] Production.INFO: 29 MB #Memory Used#
[2025-01-10 07:50:01] Production.INFO: ==1555== Lock acquired, processing the job...
[2025-01-10 07:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 07:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 07:50:01] Production.INFO: neon service started
[2025-01-10 07:50:01] Production.INFO: neon service started
[2025-01-10 07:50:01] Production.INFO: ==1555== Releasing lock...
[2025-01-10 07:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 07:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:50:02] Production.INFO: ==1558== Lock acquired, processing the job...
[2025-01-10 02:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 07:50:02] Production.INFO: ==1560== Lock acquired, processing the job...
[2025-01-10 07:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 07:50:02] Production.INFO: ==1560== Releasing lock...
[2025-01-10 07:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 07:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 02:50:02] Production.INFO: ==1558== Releasing lock...
[2025-01-10 02:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 02:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 02:50:03] Production.INFO: ==1563== Lock acquired, processing the job...
[2025-01-10 02:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 02:50:03] Production.INFO: ==1565== Lock acquired, processing the job...
[2025-01-10 02:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 02:50:03] Production.INFO: ==1567== Lock acquired, processing the job...
[2025-01-10 02:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 02:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 02:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 02:50:03] Production.ERROR: CronJob PID - 1565
[2025-01-10 02:50:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-10 02:50:03] Production.ERROR: CronJob ID - 5
[2025-01-10 02:50:03] Production.ERROR: CronJob Last Run Time 2025-01-10 02:50:00
[2025-01-10 02:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 02:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 02:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 02:50:03] Production.INFO: ==1563== Releasing lock...
[2025-01-10 02:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 02:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 02:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 02:50:03] Production.INFO: ==1579== Lock acquired, processing the job...
[2025-01-10 02:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 02:50:03] Production.INFO: ==1573== Lock acquired, processing the job...
[2025-01-10 02:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 02:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 02:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 02:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 02:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 02:50:04] Production.INFO: ==1575== Lock acquired, processing the job...
[2025-01-10 02:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 02:50:04] Production.INFO: ==1577== Lock acquired, processing the job...
[2025-01-10 02:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 02:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:50:04] Production.INFO: ==1581== Lock acquired, processing the job...
[2025-01-10 02:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 02:50:04] Production.INFO: ==1567== Releasing lock...
[2025-01-10 02:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 02:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 02:50:04] Production.INFO: Account Balance Start.
[2025-01-10 02:50:04] Production.INFO: CreateAllLog Start
[2025-01-10 02:50:04] Production.INFO: 117
[2025-01-10 02:50:04] Production.ERROR: done
[2025-01-10 02:50:04] Production.INFO: Date 2025-01-08
[2025-01-10 02:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 02:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14213968', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 02:50:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:50:04] Production.INFO: count ==21
[2025-01-10 02:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:50:04] Production.INFO: Date 2025-01-09
[2025-01-10 02:50:04] Production.INFO: count ==21
[2025-01-10 02:50:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213967') start
[2025-01-10 02:50:04] Production.ERROR: done
[2025-01-10 02:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 02:50:04] Production.INFO: Date 2025-01-10
[2025-01-10 02:50:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:50:04] Production.INFO: Total Charge 0
[2025-01-10 02:50:04] Production.INFO: CreateAllLog End
[2025-01-10 02:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213967') end
[2025-01-10 02:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 02:50:04] Production.INFO: 1
[2025-01-10 02:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 02:50:04] Production.INFO: ==1581== Releasing lock...
[2025-01-10 02:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 02:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 02:50:04] Production.ERROR: done
[2025-01-10 02:50:04] Production.INFO: Account Balance End.
[2025-01-10 02:50:04] Production.ERROR: CronJobId end 12
[2025-01-10 02:50:04] Production.INFO: ==1575== Releasing lock...
[2025-01-10 02:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 02:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 02:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 23:50:06
[end_date_ymd] => 2025-01-10 02:50:06
[RateCDR] => 1
)
[2025-01-10 02:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 23:50:06' and `end` < '2025-01-10 02:50:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 02:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14213968', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 02:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 02:50:08] Production.INFO: ProcessCDR(1,14213968,1,1,2)
[2025-01-10 02:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14213968,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14213968,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:50:09] Production.INFO: ==1579== Releasing lock...
[2025-01-10 02:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 02:50:09] Production.INFO: 26 MB #Memory Used#
[2025-01-10 02:50:14] Production.ERROR: CronJobId end10
[2025-01-10 02:50:14] Production.INFO: ==1573== Releasing lock...
[2025-01-10 02:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 02:50:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 02:50:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 02:50:15] Production.INFO: ============== Balance Warning START===========
[2025-01-10 02:50:15] Production.INFO: ============== Balance Warning END===========
[2025-01-10 02:50:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 02:50:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 02:50:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 02:50:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 02:50:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 02:50:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 02:50:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 02:50:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 02:50:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 02:50:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 02:50:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 02:50:15] Production.INFO: call_cost start
[2025-01-10 02:50:15] Production.INFO: call_cost end
[2025-01-10 02:50:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 02:50:16] Production.INFO: ============== Report Schedule START===========
[2025-01-10 02:50:16] Production.INFO: ============== Report Schedule END===========
[2025-01-10 02:50:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 02:50:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 02:50:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 02:50:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 02:50:16] Production.INFO: ============== Deal alert START===========
[2025-01-10 02:50:16] Production.INFO: ============== Deal alert END===========
[2025-01-10 02:50:16] Production.INFO: ==1565== Releasing lock...
[2025-01-10 02:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 02:50:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 02:50:19] Production.INFO: count ==215
[2025-01-10 02:50:19] Production.ERROR: pbx CDR StartTime 2025-01-09 23:50:06 - End Time 2025-01-10 02:50:06
[2025-01-10 02:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 02:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213969', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213969', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213969', 'tblTempVendorCDR_20' ) start
[2025-01-10 02:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213969', 'tblTempVendorCDR_20' ) end
[2025-01-10 02:50:19] Production.INFO: ProcessCDR(1,14213969,1,1,2)
[2025-01-10 02:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213969,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213969,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213969,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:50:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213969,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213969', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213969', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:50:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:50:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:50:22] Production.INFO: ==1577== Releasing lock...
[2025-01-10 02:50:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 02:50:22] Production.INFO: 29 MB #Memory Used#
[2025-01-10 07:51:02] Production.INFO: ==1686== Lock acquired, processing the job...
[2025-01-10 07:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 07:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 07:51:02] Production.INFO: neon service started
[2025-01-10 07:51:02] Production.INFO: neon service started
[2025-01-10 07:51:02] Production.INFO: ==1686== Releasing lock...
[2025-01-10 07:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 07:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:51:02] Production.INFO: ==1688== Lock acquired, processing the job...
[2025-01-10 02:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:51:02] Production.INFO: ==1688== Releasing lock...
[2025-01-10 02:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 02:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:51:03] Production.INFO: ==1690== Lock acquired, processing the job...
[2025-01-10 07:51:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 07:51:03] Production.INFO: ==1690== Releasing lock...
[2025-01-10 07:51:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 07:51:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 02:51:03] Production.INFO: ==1693== Lock acquired, processing the job...
[2025-01-10 02:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 02:51:03] Production.INFO: ==1695== Lock acquired, processing the job...
[2025-01-10 02:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 02:51:03] Production.INFO: ==1697== Lock acquired, processing the job...
[2025-01-10 02:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 02:51:03] Production.INFO: ==1699== Lock acquired, processing the job...
[2025-01-10 02:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 02:51:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 02:51:04] Production.INFO: ==1703== Lock acquired, processing the job...
[2025-01-10 02:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 02:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 02:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 02:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 02:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 02:51:04] Production.INFO: Account Balance Start.
[2025-01-10 02:51:04] Production.INFO: CreateAllLog Start
[2025-01-10 02:51:04] Production.INFO: 117
[2025-01-10 02:51:04] Production.INFO: ==1701== Lock acquired, processing the job...
[2025-01-10 02:51:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 02:51:04] Production.INFO: Date 2025-01-08
[2025-01-10 02:51:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:51:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:51:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:51:04] Production.INFO: count ==21
[2025-01-10 02:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:51:04] Production.INFO: count ==21
[2025-01-10 02:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213973') start
[2025-01-10 02:51:04] Production.INFO: Date 2025-01-09
[2025-01-10 02:51:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:51:04] Production.INFO: Date 2025-01-10
[2025-01-10 02:51:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:51:04] Production.INFO: ==1695== Releasing lock...
[2025-01-10 02:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 02:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 02:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213973') end
[2025-01-10 02:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 02:51:04] Production.INFO: 1
[2025-01-10 02:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 02:51:04] Production.INFO: ==1703== Releasing lock...
[2025-01-10 02:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 02:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 02:51:04] Production.INFO: Total Charge 0
[2025-01-10 02:51:04] Production.INFO: CreateAllLog End
[2025-01-10 02:51:04] Production.ERROR: done
[2025-01-10 02:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 02:51:04] Production.ERROR: done
[2025-01-10 02:51:04] Production.INFO: Account Balance End.
[2025-01-10 02:51:04] Production.ERROR: CronJobId end 12
[2025-01-10 02:51:04] Production.INFO: ==1699== Releasing lock...
[2025-01-10 02:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 02:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 02:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 23:51:05
[end_date_ymd] => 2025-01-10 02:51:05
[RateCDR] => 1
)
[2025-01-10 02:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 23:51:05' and `end` < '2025-01-10 02:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 02:51:12] Production.ERROR: CronJobId end10
[2025-01-10 02:51:12] Production.INFO: ==1697== Releasing lock...
[2025-01-10 02:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 02:51:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 02:51:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 02:51:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 02:51:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 02:51:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 02:51:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 02:51:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 02:51:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 02:51:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 02:51:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 02:51:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 02:51:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 02:51:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 02:51:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 02:51:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 02:51:14] Production.INFO: call_cost start
[2025-01-10 02:51:14] Production.INFO: call_cost end
[2025-01-10 02:51:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 02:51:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 02:51:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 02:51:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 02:51:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 02:51:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 02:51:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 02:51:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 02:51:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 02:51:15] Production.INFO: ==1693== Releasing lock...
[2025-01-10 02:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 02:51:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 02:51:18] Production.INFO: count ==215
[2025-01-10 02:51:18] Production.ERROR: pbx CDR StartTime 2025-01-09 23:51:05 - End Time 2025-01-10 02:51:05
[2025-01-10 02:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 02:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213974', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213974', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213974', 'tblTempVendorCDR_20' ) start
[2025-01-10 02:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213974', 'tblTempVendorCDR_20' ) end
[2025-01-10 02:51:18] Production.INFO: ProcessCDR(1,14213974,1,1,2)
[2025-01-10 02:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213974,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213974,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213974,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213974,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213974', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213974', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:51:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:51:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:51:22] Production.INFO: ==1701== Releasing lock...
[2025-01-10 02:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 02:51:22] Production.INFO: 29 MB #Memory Used#
[2025-01-10 07:52:01] Production.INFO: ==1762== Lock acquired, processing the job...
[2025-01-10 07:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 07:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 07:52:01] Production.INFO: neon service started
[2025-01-10 07:52:01] Production.INFO: neon service started
[2025-01-10 07:52:01] Production.INFO: ==1762== Releasing lock...
[2025-01-10 07:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 07:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:52:01] Production.INFO: ==1764== Lock acquired, processing the job...
[2025-01-10 02:52:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:52:02] Production.INFO: ==1764== Releasing lock...
[2025-01-10 02:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 02:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:52:02] Production.INFO: ==1766== Lock acquired, processing the job...
[2025-01-10 07:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 07:52:02] Production.INFO: ==1766== Releasing lock...
[2025-01-10 07:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 07:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 02:52:03] Production.INFO: ==1768== Lock acquired, processing the job...
[2025-01-10 02:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 02:52:03] Production.INFO: ==1770== Lock acquired, processing the job...
[2025-01-10 02:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 02:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 02:52:03] Production.INFO: ==1774== Lock acquired, processing the job...
[2025-01-10 02:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 02:52:03] Production.INFO: Account Balance Start.
[2025-01-10 02:52:03] Production.INFO: CreateAllLog Start
[2025-01-10 02:52:03] Production.INFO: 117
[2025-01-10 02:52:03] Production.INFO: Date 2025-01-08
[2025-01-10 02:52:03] Production.INFO: ==1772== Lock acquired, processing the job...
[2025-01-10 02:52:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 02:52:03] Production.INFO: ==1770== Releasing lock...
[2025-01-10 02:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 02:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 02:52:03] Production.INFO: Date 2025-01-09
[2025-01-10 02:52:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:52:03] Production.INFO: Date 2025-01-10
[2025-01-10 02:52:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:52:03] Production.INFO: Total Charge 0
[2025-01-10 02:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 02:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 02:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 02:52:03] Production.INFO: CreateAllLog End
[2025-01-10 02:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 02:52:03] Production.INFO: ==1776== Lock acquired, processing the job...
[2025-01-10 02:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 02:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:52:03] Production.INFO: ==1778== Lock acquired, processing the job...
[2025-01-10 02:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 02:52:03] Production.INFO: Account Balance End.
[2025-01-10 02:52:03] Production.ERROR: CronJobId end 12
[2025-01-10 02:52:03] Production.INFO: ==1774== Releasing lock...
[2025-01-10 02:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 02:52:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 02:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:52:03] Production.INFO: count ==21
[2025-01-10 02:52:03] Production.ERROR: done
[2025-01-10 02:52:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 02:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:52:03] Production.INFO: count ==21
[2025-01-10 02:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213978') start
[2025-01-10 02:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213978') end
[2025-01-10 02:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 02:52:04] Production.INFO: 1
[2025-01-10 02:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 02:52:04] Production.ERROR: done
[2025-01-10 02:52:04] Production.INFO: ==1778== Releasing lock...
[2025-01-10 02:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 02:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 02:52:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 23:52:04
[end_date_ymd] => 2025-01-10 02:52:04
[RateCDR] => 1
)
[2025-01-10 02:52:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 23:52:04' and `end` < '2025-01-10 02:52:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 02:52:10] Production.ERROR: CronJobId end10
[2025-01-10 02:52:10] Production.INFO: ==1772== Releasing lock...
[2025-01-10 02:52:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 02:52:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 02:52:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 02:52:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 02:52:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 02:52:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 02:52:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 02:52:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 02:52:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 02:52:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 02:52:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 02:52:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 02:52:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 02:52:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 02:52:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 02:52:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 02:52:13] Production.INFO: call_cost start
[2025-01-10 02:52:13] Production.INFO: call_cost end
[2025-01-10 02:52:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 02:52:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 02:52:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 02:52:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 02:52:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 02:52:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 02:52:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 02:52:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 02:52:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 02:52:14] Production.INFO: ==1768== Releasing lock...
[2025-01-10 02:52:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 02:52:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 02:52:18] Production.INFO: count ==215
[2025-01-10 02:52:18] Production.ERROR: pbx CDR StartTime 2025-01-09 23:52:04 - End Time 2025-01-10 02:52:04
[2025-01-10 02:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 02:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213979', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213979', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213979', 'tblTempVendorCDR_20' ) start
[2025-01-10 02:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213979', 'tblTempVendorCDR_20' ) end
[2025-01-10 02:52:18] Production.INFO: ProcessCDR(1,14213979,1,1,2)
[2025-01-10 02:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213979,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213979,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213979,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213979,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213979', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213979', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:52:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:52:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:52:22] Production.INFO: ==1776== Releasing lock...
[2025-01-10 02:52:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 02:52:22] Production.INFO: 29 MB #Memory Used#
[2025-01-10 07:53:02] Production.INFO: ==1845== Lock acquired, processing the job...
[2025-01-10 07:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 07:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 07:53:02] Production.INFO: neon service started
[2025-01-10 07:53:02] Production.INFO: neon service started
[2025-01-10 07:53:02] Production.INFO: ==1845== Releasing lock...
[2025-01-10 07:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 07:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:53:02] Production.INFO: ==1848== Lock acquired, processing the job...
[2025-01-10 02:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:53:02] Production.INFO: ==1848== Releasing lock...
[2025-01-10 02:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 02:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:53:02] Production.INFO: ==1850== Lock acquired, processing the job...
[2025-01-10 07:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 07:53:02] Production.INFO: ==1850== Releasing lock...
[2025-01-10 07:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 07:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 02:53:03] Production.INFO: ==1856== Lock acquired, processing the job...
[2025-01-10 02:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 02:53:03] Production.INFO: ==1862== Lock acquired, processing the job...
[2025-01-10 02:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 02:53:03] Production.INFO: ==1852== Lock acquired, processing the job...
[2025-01-10 02:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 02:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 02:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 02:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 02:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 02:53:03] Production.INFO: ==1854== Lock acquired, processing the job...
[2025-01-10 02:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 02:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 02:53:03] Production.INFO: count ==21
[2025-01-10 02:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:53:03] Production.INFO: count ==21
[2025-01-10 02:53:03] Production.INFO: ==1858== Lock acquired, processing the job...
[2025-01-10 02:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213980') start
[2025-01-10 02:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 02:53:03] Production.INFO: ==1860== Lock acquired, processing the job...
[2025-01-10 02:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 02:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213980') end
[2025-01-10 02:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 02:53:04] Production.INFO: 1
[2025-01-10 02:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 02:53:04] Production.INFO: ==1862== Releasing lock...
[2025-01-10 02:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 02:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 02:53:04] Production.INFO: Account Balance Start.
[2025-01-10 02:53:04] Production.INFO: CreateAllLog Start
[2025-01-10 02:53:04] Production.INFO: 117
[2025-01-10 02:53:04] Production.INFO: Date 2025-01-08
[2025-01-10 02:53:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:53:04] Production.ERROR: done
[2025-01-10 02:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 02:53:04] Production.INFO: ==1854== Releasing lock...
[2025-01-10 02:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 02:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 02:53:04] Production.INFO: Date 2025-01-09
[2025-01-10 02:53:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:53:04] Production.INFO: Date 2025-01-10
[2025-01-10 02:53:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:53:04] Production.INFO: Total Charge 0
[2025-01-10 02:53:04] Production.INFO: CreateAllLog End
[2025-01-10 02:53:04] Production.ERROR: done
[2025-01-10 02:53:04] Production.INFO: Account Balance End.
[2025-01-10 02:53:04] Production.ERROR: CronJobId end 12
[2025-01-10 02:53:04] Production.INFO: ==1858== Releasing lock...
[2025-01-10 02:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 02:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 02:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 23:53:05
[end_date_ymd] => 2025-01-10 02:53:05
[RateCDR] => 1
)
[2025-01-10 02:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 23:53:05' and `end` < '2025-01-10 02:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 02:53:10] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#11 [internal function]: App\Console\Commands\NeonAlerts->fire()
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,8))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#2 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#6 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#7 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#8 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#9 [internal function]: App\Console\Commands\NeonAlerts->fire()
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 {main}
[2025-01-10 02:53:10] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 02:53:10] Production.INFO: ============== Balance Warning START===========
[2025-01-10 02:53:10] Production.INFO: ============== Balance Warning END===========
[2025-01-10 02:53:10] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 02:53:10] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 02:53:10] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 02:53:10] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 02:53:10] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 02:53:10] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 02:53:10] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 02:53:10] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 02:53:10] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 02:53:10] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 02:53:10] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 02:53:10] Production.INFO: call_cost start
[2025-01-10 02:53:10] Production.INFO: call_cost end
[2025-01-10 02:53:11] Production.ERROR: CronJobId end10
[2025-01-10 02:53:11] Production.INFO: ==1856== Releasing lock...
[2025-01-10 02:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 02:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 02:53:11] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 02:53:11] Production.INFO: ============== Report Schedule START===========
[2025-01-10 02:53:11] Production.INFO: ============== Report Schedule END===========
[2025-01-10 02:53:11] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 02:53:11] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 02:53:11] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 02:53:11] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 02:53:11] Production.INFO: ============== Deal alert START===========
[2025-01-10 02:53:11] Production.INFO: ============== Deal alert END===========
[2025-01-10 02:53:11] Production.INFO: ==1852== Releasing lock...
[2025-01-10 02:53:11] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 02:53:11] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 02:53:19] Production.INFO: count ==215
[2025-01-10 02:53:19] Production.ERROR: pbx CDR StartTime 2025-01-09 23:53:05 - End Time 2025-01-10 02:53:05
[2025-01-10 02:53:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 02:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213984', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213984', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213984', 'tblTempVendorCDR_20' ) start
[2025-01-10 02:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213984', 'tblTempVendorCDR_20' ) end
[2025-01-10 02:53:19] Production.INFO: ProcessCDR(1,14213984,1,1,2)
[2025-01-10 02:53:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213984,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:53:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213984,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:53:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213984,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213984,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213984', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213984', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:53:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:53:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:53:22] Production.INFO: ==1860== Releasing lock...
[2025-01-10 02:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 02:53:22] Production.INFO: 29 MB #Memory Used#
[2025-01-10 07:54:01] Production.INFO: ==1923== Lock acquired, processing the job...
[2025-01-10 07:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 07:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 07:54:01] Production.INFO: neon service started
[2025-01-10 07:54:01] Production.INFO: neon service started
[2025-01-10 07:54:01] Production.INFO: ==1923== Releasing lock...
[2025-01-10 07:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 07:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:54:01] Production.INFO: ==1926== Lock acquired, processing the job...
[2025-01-10 02:54:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:54:02] Production.INFO: ==1926== Releasing lock...
[2025-01-10 02:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 02:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:54:02] Production.INFO: ==1928== Lock acquired, processing the job...
[2025-01-10 07:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 07:54:02] Production.INFO: ==1928== Releasing lock...
[2025-01-10 07:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 07:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 02:54:02] Production.INFO: ==1934== Lock acquired, processing the job...
[2025-01-10 02:54:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 02:54:02] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 02:54:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 02:54:02] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 02:54:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 02:54:03] Production.INFO: ==1930== Lock acquired, processing the job...
[2025-01-10 02:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 02:54:03] Production.INFO: ==1932== Lock acquired, processing the job...
[2025-01-10 02:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 02:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 02:54:03] Production.INFO: ==1936== Lock acquired, processing the job...
[2025-01-10 02:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 02:54:03] Production.INFO: ==1940== Lock acquired, processing the job...
[2025-01-10 02:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 02:54:03] Production.INFO: ==1938== Lock acquired, processing the job...
[2025-01-10 02:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 02:54:03] Production.INFO: Account Balance Start.
[2025-01-10 02:54:03] Production.INFO: CreateAllLog Start
[2025-01-10 02:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:54:03] Production.INFO: 117
[2025-01-10 02:54:03] Production.INFO: Date 2025-01-08
[2025-01-10 02:54:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:54:03] Production.INFO: Date 2025-01-09
[2025-01-10 02:54:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:54:03] Production.INFO: Date 2025-01-10
[2025-01-10 02:54:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:54:03] Production.INFO: ==1932== Releasing lock...
[2025-01-10 02:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 02:54:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 02:54:03] Production.INFO: Total Charge 0
[2025-01-10 02:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:54:03] Production.INFO: count ==21
[2025-01-10 02:54:03] Production.INFO: CreateAllLog End
[2025-01-10 02:54:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:54:03] Production.INFO: count ==21
[2025-01-10 02:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14213988') start
[2025-01-10 02:54:03] Production.ERROR: done
[2025-01-10 02:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 02:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213988') end
[2025-01-10 02:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 02:54:04] Production.INFO: 1
[2025-01-10 02:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 02:54:04] Production.ERROR: done
[2025-01-10 02:54:04] Production.INFO: Account Balance End.
[2025-01-10 02:54:04] Production.INFO: ==1940== Releasing lock...
[2025-01-10 02:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 02:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 02:54:04] Production.ERROR: CronJobId end 12
[2025-01-10 02:54:04] Production.INFO: ==1936== Releasing lock...
[2025-01-10 02:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 02:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 02:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 23:54:05
[end_date_ymd] => 2025-01-10 02:54:05
[RateCDR] => 1
)
[2025-01-10 02:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 23:54:05' and `end` < '2025-01-10 02:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 02:54:09] Production.ERROR: CronJobId end10
[2025-01-10 02:54:09] Production.INFO: ==1934== Releasing lock...
[2025-01-10 02:54:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 02:54:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 02:54:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 02:54:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 02:54:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 02:54:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 02:54:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 02:54:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 02:54:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 02:54:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 02:54:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 02:54:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 02:54:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 02:54:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 02:54:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 02:54:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 02:54:12] Production.INFO: call_cost start
[2025-01-10 02:54:12] Production.INFO: call_cost end
[2025-01-10 02:54:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 02:54:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 02:54:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 02:54:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 02:54:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 02:54:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 02:54:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 02:54:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 02:54:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 02:54:13] Production.INFO: ==1930== Releasing lock...
[2025-01-10 02:54:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 02:54:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 02:54:18] Production.INFO: count ==213
[2025-01-10 02:54:18] Production.ERROR: pbx CDR StartTime 2025-01-09 23:54:05 - End Time 2025-01-10 02:54:05
[2025-01-10 02:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 02:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213989', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213989', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213989', 'tblTempVendorCDR_20' ) start
[2025-01-10 02:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213989', 'tblTempVendorCDR_20' ) end
[2025-01-10 02:54:18] Production.INFO: ProcessCDR(1,14213989,1,1,2)
[2025-01-10 02:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213989,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213989,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213989,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:54:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213989,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213989', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213989', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:54:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:54:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:54:21] Production.INFO: ==1938== Releasing lock...
[2025-01-10 02:54:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 02:54:21] Production.INFO: 29 MB #Memory Used#
[2025-01-10 07:55:01] Production.INFO: ==1999== Lock acquired, processing the job...
[2025-01-10 07:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 07:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 07:55:01] Production.INFO: neon service started
[2025-01-10 07:55:01] Production.INFO: neon service started
[2025-01-10 07:55:01] Production.INFO: ==1999== Releasing lock...
[2025-01-10 07:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 07:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:55:02] Production.INFO: ==2001== Lock acquired, processing the job...
[2025-01-10 02:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 07:55:02] Production.INFO: ==2003== Lock acquired, processing the job...
[2025-01-10 07:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 07:55:02] Production.INFO: ==2003== Releasing lock...
[2025-01-10 07:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 07:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 02:55:02] Production.INFO: ==2001== Releasing lock...
[2025-01-10 02:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 02:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 02:55:03] Production.INFO: ==2005== Lock acquired, processing the job...
[2025-01-10 02:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 02:55:03] Production.INFO: ==2011== Lock acquired, processing the job...
[2025-01-10 02:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 02:55:03] Production.INFO: ==2013== Lock acquired, processing the job...
[2025-01-10 02:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 02:55:03] Production.INFO: Account Balance Start.
[2025-01-10 02:55:03] Production.INFO: CreateAllLog Start
[2025-01-10 02:55:03] Production.INFO: 117
[2025-01-10 02:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 02:55:03] Production.INFO: Date 2025-01-08
[2025-01-10 02:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:55:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:55:03] Production.INFO: ==2007== Lock acquired, processing the job...
[2025-01-10 02:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 02:55:03] Production.INFO: ==2009== Lock acquired, processing the job...
[2025-01-10 02:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 02:55:03] Production.INFO: Date 2025-01-09
[2025-01-10 02:55:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:55:03] Production.INFO: Date 2025-01-10
[2025-01-10 02:55:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:55:03] Production.INFO: ==2015== Lock acquired, processing the job...
[2025-01-10 02:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 02:55:03] Production.INFO: Total Charge 0
[2025-01-10 02:55:03] Production.INFO: CreateAllLog End
[2025-01-10 02:55:03] Production.ERROR: done
[2025-01-10 02:55:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 02:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 02:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 02:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 02:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 02:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:55:03] Production.ERROR: done
[2025-01-10 02:55:03] Production.INFO: count ==21
[2025-01-10 02:55:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:55:04] Production.INFO: count ==21
[2025-01-10 02:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213993') start
[2025-01-10 02:55:04] Production.INFO: Account Balance End.
[2025-01-10 02:55:04] Production.ERROR: CronJobId end 12
[2025-01-10 02:55:04] Production.INFO: ==2011== Releasing lock...
[2025-01-10 02:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 02:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 02:55:04] Production.INFO: ==2007== Releasing lock...
[2025-01-10 02:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 02:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 02:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213993') end
[2025-01-10 02:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 02:55:04] Production.INFO: 1
[2025-01-10 02:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 02:55:04] Production.INFO: ==2015== Releasing lock...
[2025-01-10 02:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 02:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 02:55:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 23:55:04
[end_date_ymd] => 2025-01-10 02:55:04
[RateCDR] => 1
)
[2025-01-10 02:55:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 23:55:04' and `end` < '2025-01-10 02:55:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 02:55:11] Production.ERROR: CronJobId end10
[2025-01-10 02:55:11] Production.INFO: ==2009== Releasing lock...
[2025-01-10 02:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 02:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 02:55:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 02:55:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 02:55:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 02:55:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 02:55:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 02:55:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 02:55:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 02:55:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 02:55:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 02:55:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 02:55:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 02:55:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 02:55:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 02:55:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 02:55:12] Production.INFO: call_cost start
[2025-01-10 02:55:12] Production.INFO: call_cost end
[2025-01-10 02:55:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 02:55:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 02:55:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 02:55:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 02:55:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 02:55:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 02:55:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 02:55:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 02:55:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 02:55:13] Production.INFO: ==2005== Releasing lock...
[2025-01-10 02:55:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 02:55:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 02:55:17] Production.INFO: count ==213
[2025-01-10 02:55:17] Production.ERROR: pbx CDR StartTime 2025-01-09 23:55:04 - End Time 2025-01-10 02:55:04
[2025-01-10 02:55:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 02:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213994', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213994', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213994', 'tblTempVendorCDR_20' ) start
[2025-01-10 02:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213994', 'tblTempVendorCDR_20' ) end
[2025-01-10 02:55:17] Production.INFO: ProcessCDR(1,14213994,1,1,2)
[2025-01-10 02:55:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213994,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:55:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213994,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:55:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213994,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213994,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213994', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213994', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:55:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:55:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:55:21] Production.INFO: ==2013== Releasing lock...
[2025-01-10 02:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 02:55:21] Production.INFO: 29 MB #Memory Used#
[2025-01-10 07:56:02] Production.INFO: ==2073== Lock acquired, processing the job...
[2025-01-10 07:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 07:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 07:56:02] Production.INFO: neon service started
[2025-01-10 07:56:02] Production.INFO: neon service started
[2025-01-10 07:56:02] Production.INFO: ==2073== Releasing lock...
[2025-01-10 07:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 07:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:56:02] Production.INFO: ==2075== Lock acquired, processing the job...
[2025-01-10 02:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:56:02] Production.INFO: ==2075== Releasing lock...
[2025-01-10 02:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 02:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:56:03] Production.INFO: ==2077== Lock acquired, processing the job...
[2025-01-10 07:56:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 07:56:03] Production.INFO: ==2077== Releasing lock...
[2025-01-10 07:56:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 07:56:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 02:56:03] Production.INFO: ==2085== Lock acquired, processing the job...
[2025-01-10 02:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 02:56:03] Production.INFO: Account Balance Start.
[2025-01-10 02:56:03] Production.INFO: CreateAllLog Start
[2025-01-10 02:56:03] Production.INFO: 117
[2025-01-10 02:56:03] Production.INFO: Date 2025-01-08
[2025-01-10 02:56:03] Production.INFO: ==2089== Lock acquired, processing the job...
[2025-01-10 02:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 02:56:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:56:03] Production.INFO: ==2079== Lock acquired, processing the job...
[2025-01-10 02:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 02:56:03] Production.INFO: Date 2025-01-09
[2025-01-10 02:56:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:56:03] Production.INFO: ==2081== Lock acquired, processing the job...
[2025-01-10 02:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 02:56:03] Production.INFO: Date 2025-01-10
[2025-01-10 02:56:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:56:03] Production.INFO: Total Charge 0
[2025-01-10 02:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:56:03] Production.INFO: CreateAllLog End
[2025-01-10 02:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 02:56:03] Production.INFO: ==2083== Lock acquired, processing the job...
[2025-01-10 02:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 02:56:03] Production.INFO: count ==21
[2025-01-10 02:56:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:56:03] Production.INFO: count ==21
[2025-01-10 02:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213996') start
[2025-01-10 02:56:04] Production.INFO: ==2087== Lock acquired, processing the job...
[2025-01-10 02:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 02:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 02:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 02:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 02:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 02:56:04] Production.INFO: Account Balance End.
[2025-01-10 02:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14213996') end
[2025-01-10 02:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 02:56:04] Production.INFO: 1
[2025-01-10 02:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 02:56:04] Production.ERROR: CronJobId end 12
[2025-01-10 02:56:04] Production.INFO: ==2085== Releasing lock...
[2025-01-10 02:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 02:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 02:56:04] Production.INFO: ==2089== Releasing lock...
[2025-01-10 02:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 02:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 02:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:56:04] Production.INFO: ==2081== Releasing lock...
[2025-01-10 02:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 02:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 02:56:04] Production.ERROR: done
[2025-01-10 02:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 02:56:04] Production.ERROR: done
[2025-01-10 02:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 23:56:05
[end_date_ymd] => 2025-01-10 02:56:05
[RateCDR] => 1
)
[2025-01-10 02:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 23:56:05' and `end` < '2025-01-10 02:56:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 02:56:12] Production.ERROR: CronJobId end10
[2025-01-10 02:56:12] Production.INFO: ==2083== Releasing lock...
[2025-01-10 02:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 02:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 02:56:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 02:56:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 02:56:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 02:56:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 02:56:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 02:56:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 02:56:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 02:56:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 02:56:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 02:56:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 02:56:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 02:56:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 02:56:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 02:56:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 02:56:13] Production.INFO: call_cost start
[2025-01-10 02:56:13] Production.INFO: call_cost end
[2025-01-10 02:56:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 02:56:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 02:56:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 02:56:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 02:56:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 02:56:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 02:56:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 02:56:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 02:56:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 02:56:14] Production.INFO: ==2079== Releasing lock...
[2025-01-10 02:56:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 02:56:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 02:56:19] Production.INFO: count ==210
[2025-01-10 02:56:19] Production.ERROR: pbx CDR StartTime 2025-01-09 23:56:05 - End Time 2025-01-10 02:56:05
[2025-01-10 02:56:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 02:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213999', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14213999', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213999', 'tblTempVendorCDR_20' ) start
[2025-01-10 02:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14213999', 'tblTempVendorCDR_20' ) end
[2025-01-10 02:56:19] Production.INFO: ProcessCDR(1,14213999,1,1,2)
[2025-01-10 02:56:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14213999,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:56:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14213999,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:56:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14213999,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:56:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14213999,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:56:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213999', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:56:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14213999', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:56:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:56:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:56:23] Production.INFO: ==2087== Releasing lock...
[2025-01-10 02:56:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 02:56:23] Production.INFO: 29 MB #Memory Used#
[2025-01-10 07:57:01] Production.INFO: ==2147== Lock acquired, processing the job...
[2025-01-10 07:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 07:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 07:57:01] Production.INFO: neon service started
[2025-01-10 07:57:01] Production.INFO: neon service started
[2025-01-10 07:57:01] Production.INFO: ==2147== Releasing lock...
[2025-01-10 07:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 07:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:57:02] Production.INFO: ==2149== Lock acquired, processing the job...
[2025-01-10 02:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 07:57:02] Production.INFO: ==2151== Lock acquired, processing the job...
[2025-01-10 07:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 07:57:02] Production.INFO: ==2151== Releasing lock...
[2025-01-10 07:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 07:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 02:57:03] Production.INFO: ==2149== Releasing lock...
[2025-01-10 02:57:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 02:57:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 02:57:03] Production.INFO: ==2158== Lock acquired, processing the job...
[2025-01-10 02:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 02:57:03] Production.INFO: ==2164== Lock acquired, processing the job...
[2025-01-10 02:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 02:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 02:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 02:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 02:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 02:57:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:57:04] Production.INFO: ==2154== Lock acquired, processing the job...
[2025-01-10 02:57:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 02:57:04] Production.INFO: count ==21
[2025-01-10 02:57:04] Production.INFO: ==2156== Lock acquired, processing the job...
[2025-01-10 02:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 02:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:57:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 02:57:04] Production.INFO: count ==21
[2025-01-10 02:57:04] Production.INFO: ==2160== Lock acquired, processing the job...
[2025-01-10 02:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 02:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214000') start
[2025-01-10 02:57:04] Production.INFO: ==2162== Lock acquired, processing the job...
[2025-01-10 02:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 02:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:57:04] Production.INFO: Account Balance Start.
[2025-01-10 02:57:04] Production.INFO: CreateAllLog Start
[2025-01-10 02:57:04] Production.INFO: 117
[2025-01-10 02:57:04] Production.INFO: Date 2025-01-08
[2025-01-10 02:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214000') end
[2025-01-10 02:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 02:57:04] Production.INFO: 1
[2025-01-10 02:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 02:57:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:57:04] Production.INFO: ==2164== Releasing lock...
[2025-01-10 02:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 02:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 02:57:04] Production.INFO: Date 2025-01-09
[2025-01-10 02:57:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:57:04] Production.ERROR: done
[2025-01-10 02:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 02:57:04] Production.INFO: Date 2025-01-10
[2025-01-10 02:57:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:57:04] Production.INFO: Total Charge 0
[2025-01-10 02:57:04] Production.INFO: CreateAllLog End
[2025-01-10 02:57:04] Production.ERROR: done
[2025-01-10 02:57:04] Production.INFO: ==2156== Releasing lock...
[2025-01-10 02:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 02:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 02:57:04] Production.INFO: Account Balance End.
[2025-01-10 02:57:04] Production.ERROR: CronJobId end 12
[2025-01-10 02:57:04] Production.INFO: ==2160== Releasing lock...
[2025-01-10 02:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 02:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 02:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 23:57:05
[end_date_ymd] => 2025-01-10 02:57:05
[RateCDR] => 1
)
[2025-01-10 02:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 23:57:05' and `end` < '2025-01-10 02:57:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 02:57:11] Production.ERROR: CronJobId end10
[2025-01-10 02:57:11] Production.INFO: ==2158== Releasing lock...
[2025-01-10 02:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 02:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 02:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 02:57:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 02:57:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 02:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 02:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 02:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 02:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 02:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 02:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 02:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 02:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 02:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 02:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 02:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 02:57:13] Production.INFO: call_cost start
[2025-01-10 02:57:13] Production.INFO: call_cost end
[2025-01-10 02:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 02:57:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 02:57:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 02:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 02:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 02:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 02:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 02:57:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 02:57:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 02:57:14] Production.INFO: ==2154== Releasing lock...
[2025-01-10 02:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 02:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 02:57:20] Production.INFO: count ==209
[2025-01-10 02:57:20] Production.ERROR: pbx CDR StartTime 2025-01-09 23:57:05 - End Time 2025-01-10 02:57:05
[2025-01-10 02:57:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 02:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214004', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214004', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214004', 'tblTempVendorCDR_20' ) start
[2025-01-10 02:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214004', 'tblTempVendorCDR_20' ) end
[2025-01-10 02:57:20] Production.INFO: ProcessCDR(1,14214004,1,1,2)
[2025-01-10 02:57:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214004,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:57:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214004,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:57:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214004,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:57:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214004,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:57:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214004', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:57:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214004', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:57:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:57:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:57:23] Production.INFO: ==2162== Releasing lock...
[2025-01-10 02:57:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 02:57:23] Production.INFO: 29 MB #Memory Used#
[2025-01-10 07:58:01] Production.INFO: ==2220== Lock acquired, processing the job...
[2025-01-10 07:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 07:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 07:58:01] Production.INFO: neon service started
[2025-01-10 07:58:01] Production.INFO: neon service started
[2025-01-10 07:58:01] Production.INFO: ==2220== Releasing lock...
[2025-01-10 07:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 07:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:58:01] Production.INFO: ==2222== Lock acquired, processing the job...
[2025-01-10 02:58:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 02:58:02] Production.INFO: ==2222== Releasing lock...
[2025-01-10 02:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 02:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:58:02] Production.INFO: ==2224== Lock acquired, processing the job...
[2025-01-10 07:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 07:58:02] Production.INFO: ==2224== Releasing lock...
[2025-01-10 07:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 07:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 02:58:03] Production.INFO: ==2230== Lock acquired, processing the job...
[2025-01-10 02:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 02:58:03] Production.INFO: ==2226== Lock acquired, processing the job...
[2025-01-10 02:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 02:58:03] Production.INFO: ==2228== Lock acquired, processing the job...
[2025-01-10 02:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 02:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 02:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 02:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 02:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 02:58:03] Production.INFO: ==2236== Lock acquired, processing the job...
[2025-01-10 02:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 02:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 02:58:03] Production.INFO: ==2232== Lock acquired, processing the job...
[2025-01-10 02:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 02:58:03] Production.INFO: ==2234== Lock acquired, processing the job...
[2025-01-10 02:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 02:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:58:03] Production.INFO: count ==21
[2025-01-10 02:58:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:58:03] Production.INFO: Account Balance Start.
[2025-01-10 02:58:03] Production.INFO: CreateAllLog Start
[2025-01-10 02:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:58:03] Production.INFO: 117
[2025-01-10 02:58:03] Production.INFO: Date 2025-01-08
[2025-01-10 02:58:03] Production.INFO: count ==21
[2025-01-10 02:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214007') start
[2025-01-10 02:58:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:58:03] Production.INFO: Date 2025-01-09
[2025-01-10 02:58:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:58:03] Production.INFO: Date 2025-01-10
[2025-01-10 02:58:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:58:03] Production.INFO: Total Charge 0
[2025-01-10 02:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214007') end
[2025-01-10 02:58:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 02:58:03] Production.INFO: 1
[2025-01-10 02:58:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 02:58:03] Production.INFO: ==2228== Releasing lock...
[2025-01-10 02:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 02:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 02:58:03] Production.INFO: CreateAllLog End
[2025-01-10 02:58:03] Production.ERROR: done
[2025-01-10 02:58:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 02:58:03] Production.INFO: ==2236== Releasing lock...
[2025-01-10 02:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 02:58:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 02:58:03] Production.ERROR: done
[2025-01-10 02:58:04] Production.INFO: Account Balance End.
[2025-01-10 02:58:04] Production.ERROR: CronJobId end 12
[2025-01-10 02:58:04] Production.INFO: ==2232== Releasing lock...
[2025-01-10 02:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 02:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 02:58:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 23:58:04
[end_date_ymd] => 2025-01-10 02:58:04
[RateCDR] => 1
)
[2025-01-10 02:58:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 23:58:04' and `end` < '2025-01-10 02:58:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 02:58:11] Production.ERROR: CronJobId end10
[2025-01-10 02:58:11] Production.INFO: ==2230== Releasing lock...
[2025-01-10 02:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 02:58:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 02:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 02:58:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 02:58:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 02:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 02:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 02:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 02:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 02:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 02:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 02:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 02:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 02:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 02:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 02:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 02:58:13] Production.INFO: call_cost start
[2025-01-10 02:58:13] Production.INFO: call_cost end
[2025-01-10 02:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 02:58:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 02:58:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 02:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 02:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 02:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 02:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 02:58:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 02:58:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 02:58:14] Production.INFO: ==2226== Releasing lock...
[2025-01-10 02:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 02:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 02:58:18] Production.INFO: count ==209
[2025-01-10 02:58:18] Production.ERROR: pbx CDR StartTime 2025-01-09 23:58:04 - End Time 2025-01-10 02:58:04
[2025-01-10 02:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 02:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214009', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214009', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214009', 'tblTempVendorCDR_20' ) start
[2025-01-10 02:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214009', 'tblTempVendorCDR_20' ) end
[2025-01-10 02:58:18] Production.INFO: ProcessCDR(1,14214009,1,1,2)
[2025-01-10 02:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214009,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214009,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214009,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214009,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214009', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214009', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:58:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:58:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:58:21] Production.INFO: ==2234== Releasing lock...
[2025-01-10 02:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 02:58:21] Production.INFO: 29 MB #Memory Used#
[2025-01-10 07:59:01] Production.INFO: ==2291== Lock acquired, processing the job...
[2025-01-10 07:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 07:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 07:59:01] Production.INFO: neon service started
[2025-01-10 07:59:01] Production.INFO: neon service started
[2025-01-10 07:59:01] Production.INFO: ==2291== Releasing lock...
[2025-01-10 07:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 07:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 02:59:02] Production.INFO: ==2293== Lock acquired, processing the job...
[2025-01-10 02:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 07:59:02] Production.INFO: ==2295== Lock acquired, processing the job...
[2025-01-10 07:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 07:59:02] Production.INFO: ==2295== Releasing lock...
[2025-01-10 07:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 07:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 02:59:02] Production.INFO: ==2293== Releasing lock...
[2025-01-10 02:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 02:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 02:59:03] Production.INFO: ==2298== Lock acquired, processing the job...
[2025-01-10 02:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 02:59:03] Production.INFO: ==2300== Lock acquired, processing the job...
[2025-01-10 02:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 02:59:03] Production.INFO: ==2308== Lock acquired, processing the job...
[2025-01-10 02:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 02:59:03] Production.INFO: ==2306== Lock acquired, processing the job...
[2025-01-10 02:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 02:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 02:59:03] Production.INFO: ==2302== Lock acquired, processing the job...
[2025-01-10 02:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 02:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 02:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 02:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 02:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 02:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 02:59:03] Production.INFO: count ==21
[2025-01-10 02:59:03] Production.INFO: ==2304== Lock acquired, processing the job...
[2025-01-10 02:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 02:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 02:59:03] Production.INFO: count ==21
[2025-01-10 02:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214012') start
[2025-01-10 02:59:03] Production.INFO: ==2300== Releasing lock...
[2025-01-10 02:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 02:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 02:59:03] Production.ERROR: done
[2025-01-10 02:59:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 02:59:03] Production.INFO: Account Balance Start.
[2025-01-10 02:59:03] Production.INFO: CreateAllLog Start
[2025-01-10 02:59:03] Production.INFO: 117
[2025-01-10 02:59:03] Production.INFO: Date 2025-01-08
[2025-01-10 02:59:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:59:03] Production.INFO: Date 2025-01-09
[2025-01-10 02:59:03] Production.INFO: Reseller ==> 0
[2025-01-10 02:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214012') end
[2025-01-10 02:59:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 02:59:03] Production.INFO: 1
[2025-01-10 02:59:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 02:59:03] Production.INFO: Date 2025-01-10
[2025-01-10 02:59:04] Production.INFO: Reseller ==> 0
[2025-01-10 02:59:04] Production.ERROR: done
[2025-01-10 02:59:04] Production.INFO: Total Charge 0
[2025-01-10 02:59:04] Production.INFO: ==2308== Releasing lock...
[2025-01-10 02:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 02:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 02:59:04] Production.INFO: CreateAllLog End
[2025-01-10 02:59:04] Production.INFO: Account Balance End.
[2025-01-10 02:59:04] Production.ERROR: CronJobId end 12
[2025-01-10 02:59:04] Production.INFO: ==2304== Releasing lock...
[2025-01-10 02:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 02:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 02:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 23:59:04
[end_date_ymd] => 2025-01-10 02:59:04
[RateCDR] => 1
)
[2025-01-10 02:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 23:59:04' and `end` < '2025-01-10 02:59:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 02:59:11] Production.ERROR: CronJobId end10
[2025-01-10 02:59:11] Production.INFO: ==2302== Releasing lock...
[2025-01-10 02:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 02:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 02:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 02:59:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 02:59:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 02:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 02:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 02:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 02:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 02:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 02:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 02:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 02:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 02:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 02:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 02:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 02:59:14] Production.INFO: call_cost start
[2025-01-10 02:59:14] Production.INFO: call_cost end
[2025-01-10 02:59:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 02:59:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 02:59:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 02:59:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 02:59:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 02:59:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 02:59:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 02:59:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 02:59:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 02:59:15] Production.INFO: ==2298== Releasing lock...
[2025-01-10 02:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 02:59:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 02:59:18] Production.INFO: count ==209
[2025-01-10 02:59:18] Production.ERROR: pbx CDR StartTime 2025-01-09 23:59:04 - End Time 2025-01-10 02:59:04
[2025-01-10 02:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 02:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214014', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214014', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214014', 'tblTempVendorCDR_20' ) start
[2025-01-10 02:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214014', 'tblTempVendorCDR_20' ) end
[2025-01-10 02:59:18] Production.INFO: ProcessCDR(1,14214014,1,1,2)
[2025-01-10 02:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214014,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:59:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214014,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 02:59:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214014,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:59:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214014,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 02:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214014', 'tblTempUsageDetail_20' ) start
[2025-01-10 02:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214014', 'tblTempUsageDetail_20' ) end
[2025-01-10 02:59:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 02:59:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 02:59:22] Production.INFO: ==2306== Releasing lock...
[2025-01-10 02:59:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 02:59:22] Production.INFO: 29 MB #Memory Used#
[2025-01-10 08:00:02] Production.INFO: ==2365== Lock acquired, processing the job...
[2025-01-10 08:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 08:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 08:00:02] Production.INFO: neon service started
[2025-01-10 08:00:02] Production.INFO: neon service started
[2025-01-10 08:00:02] Production.INFO: ==2365== Releasing lock...
[2025-01-10 08:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 08:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:00:02] Production.INFO: ==2367== Lock acquired, processing the job...
[2025-01-10 03:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:00:02] Production.INFO: ==2369== Lock acquired, processing the job...
[2025-01-10 08:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 03:00:02] Production.INFO: ==2367== Releasing lock...
[2025-01-10 03:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 03:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:00:03] Production.INFO: ==2369== Releasing lock...
[2025-01-10 08:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 08:00:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 03:00:04] Production.INFO: ==2380== Lock acquired, processing the job...
[2025-01-10 03:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 03:00:04] Production.INFO: ==2372== Lock acquired, processing the job...
[2025-01-10 03:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 03:00:04] Production.INFO: Account Balance Start.
[2025-01-10 03:00:04] Production.INFO: CreateAllLog Start
[2025-01-10 03:00:04] Production.INFO: ==2382== Lock acquired, processing the job...
[2025-01-10 03:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 03:00:04] Production.INFO: 117
[2025-01-10 03:00:04] Production.INFO: Date 2025-01-08
[2025-01-10 03:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 03:00:04] Production.INFO: ==2384== Lock acquired, processing the job...
[2025-01-10 03:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 03:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 03:00:04] Production.ERROR: CronJob PID - 2380
[2025-01-10 03:00:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-10 03:00:04] Production.ERROR: CronJob ID - 12
[2025-01-10 03:00:04] Production.ERROR: CronJob Last Run Time 2025-01-10 03:00:00
[2025-01-10 03:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 03:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 03:00:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 03:00:04] Production.INFO: ==2372== Releasing lock...
[2025-01-10 03:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 03:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 03:00:04] Production.INFO: Date 2025-01-09
[2025-01-10 03:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:00:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:00:04] Production.INFO: ==2374== Lock acquired, processing the job...
[2025-01-10 03:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 03:00:04] Production.INFO: ==2376== Lock acquired, processing the job...
[2025-01-10 03:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 03:00:04] Production.INFO: ==2378== Lock acquired, processing the job...
[2025-01-10 03:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 03:00:04] Production.INFO: Date 2025-01-10
[2025-01-10 03:00:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:00:04] Production.INFO: Total Charge 0
[2025-01-10 03:00:04] Production.INFO: ==2386== Lock acquired, processing the job...
[2025-01-10 03:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 03:00:04] Production.INFO: CreateAllLog End
[2025-01-10 03:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 03:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 03:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 03:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 03:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 03:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:00:04] Production.INFO: count ==21
[2025-01-10 03:00:04] Production.INFO: Account Balance End.
[2025-01-10 03:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:00:04] Production.ERROR: done
[2025-01-10 03:00:04] Production.INFO: count ==21
[2025-01-10 03:00:04] Production.ERROR: done
[2025-01-10 03:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 03:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214018') start
[2025-01-10 03:00:04] Production.ERROR: CronJobId end 12
[2025-01-10 03:00:04] Production.INFO: ==2380== Releasing lock...
[2025-01-10 03:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 03:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 03:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 03:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14214019', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 03:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214018') end
[2025-01-10 03:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 03:00:04] Production.INFO: 1
[2025-01-10 03:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 03:00:04] Production.ERROR: done
[2025-01-10 03:00:05] Production.INFO: ==2376== Releasing lock...
[2025-01-10 03:00:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 03:00:05] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 03:00:05] Production.INFO: ==2386== Releasing lock...
[2025-01-10 03:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 03:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 03:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 00:00:05
[end_date_ymd] => 2025-01-10 03:00:05
[RateCDR] => 1
)
[2025-01-10 03:00:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 00:00:05' and `end` < '2025-01-10 03:00:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 03:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14214019', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 03:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 03:00:09] Production.INFO: ProcessCDR(1,14214019,1,1,2)
[2025-01-10 03:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14214019,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14214019,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:00:09] Production.INFO: ==2384== Releasing lock...
[2025-01-10 03:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 03:00:09] Production.INFO: 26 MB #Memory Used#
[2025-01-10 03:00:13] Production.ERROR: CronJobId end10
[2025-01-10 03:00:13] Production.INFO: ==2378== Releasing lock...
[2025-01-10 03:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 03:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 03:00:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 03:00:15] Production.INFO: ============== Balance Warning START===========
[2025-01-10 03:00:15] Production.INFO: ============== Balance Warning END===========
[2025-01-10 03:00:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 03:00:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 03:00:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 03:00:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 03:00:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 03:00:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 03:00:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 03:00:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 03:00:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 03:00:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 03:00:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 03:00:16] Production.INFO: call_cost start
[2025-01-10 03:00:16] Production.INFO: call_cost end
[2025-01-10 03:00:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 03:00:16] Production.INFO: ============== Report Schedule START===========
[2025-01-10 03:00:16] Production.INFO: ============== Report Schedule END===========
[2025-01-10 03:00:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 03:00:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 03:00:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 03:00:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 03:00:16] Production.INFO: ============== Deal alert START===========
[2025-01-10 03:00:16] Production.INFO: ============== Deal alert END===========
[2025-01-10 03:00:16] Production.INFO: ==2374== Releasing lock...
[2025-01-10 03:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 03:00:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 03:00:18] Production.INFO: count ==208
[2025-01-10 03:00:18] Production.ERROR: pbx CDR StartTime 2025-01-10 00:00:05 - End Time 2025-01-10 03:00:05
[2025-01-10 03:00:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 03:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214020', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214020', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214020', 'tblTempVendorCDR_20' ) start
[2025-01-10 03:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214020', 'tblTempVendorCDR_20' ) end
[2025-01-10 03:00:18] Production.INFO: ProcessCDR(1,14214020,1,1,2)
[2025-01-10 03:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214020,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:00:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214020,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:00:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214020,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:00:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214020,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:00:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214020', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:00:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214020', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:00:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:00:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:00:21] Production.INFO: ==2382== Releasing lock...
[2025-01-10 03:00:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 03:00:21] Production.INFO: 29 MB #Memory Used#
[2025-01-10 08:01:01] Production.INFO: ==2441== Lock acquired, processing the job...
[2025-01-10 08:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 08:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 08:01:01] Production.INFO: neon service started
[2025-01-10 08:01:01] Production.INFO: neon service started
[2025-01-10 08:01:01] Production.INFO: ==2441== Releasing lock...
[2025-01-10 08:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 08:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:01:02] Production.INFO: ==2455== Lock acquired, processing the job...
[2025-01-10 03:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:01:02] Production.INFO: ==2457== Lock acquired, processing the job...
[2025-01-10 08:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 08:01:02] Production.INFO: ==2457== Releasing lock...
[2025-01-10 08:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 08:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 03:01:02] Production.INFO: ==2455== Releasing lock...
[2025-01-10 03:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 03:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 03:01:03] Production.INFO: ==2462== Lock acquired, processing the job...
[2025-01-10 03:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 03:01:03] Production.INFO: ==2470== Lock acquired, processing the job...
[2025-01-10 03:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 03:01:03] Production.INFO: ==2460== Lock acquired, processing the job...
[2025-01-10 03:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 03:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 03:01:03] Production.INFO: count ==21
[2025-01-10 03:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:01:03] Production.INFO: count ==21
[2025-01-10 03:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214022') start
[2025-01-10 03:01:03] Production.INFO: ==2466== Lock acquired, processing the job...
[2025-01-10 03:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 03:01:03] Production.INFO: ==2462== Releasing lock...
[2025-01-10 03:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 03:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 03:01:03] Production.INFO: ==2468== Lock acquired, processing the job...
[2025-01-10 03:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 03:01:03] Production.INFO: ==2464== Lock acquired, processing the job...
[2025-01-10 03:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 03:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214022') end
[2025-01-10 03:01:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 03:01:03] Production.INFO: 1
[2025-01-10 03:01:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 03:01:03] Production.INFO: Account Balance Start.
[2025-01-10 03:01:03] Production.INFO: CreateAllLog Start
[2025-01-10 03:01:03] Production.INFO: 117
[2025-01-10 03:01:03] Production.INFO: Date 2025-01-08
[2025-01-10 03:01:03] Production.INFO: ==2470== Releasing lock...
[2025-01-10 03:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 03:01:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 03:01:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:01:03] Production.INFO: Date 2025-01-09
[2025-01-10 03:01:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 03:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 03:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 03:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 03:01:03] Production.INFO: Date 2025-01-10
[2025-01-10 03:01:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:01:03] Production.INFO: Total Charge 0
[2025-01-10 03:01:03] Production.ERROR: done
[2025-01-10 03:01:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 03:01:03] Production.INFO: CreateAllLog End
[2025-01-10 03:01:04] Production.ERROR: done
[2025-01-10 03:01:04] Production.INFO: Account Balance End.
[2025-01-10 03:01:04] Production.ERROR: CronJobId end 12
[2025-01-10 03:01:04] Production.INFO: ==2466== Releasing lock...
[2025-01-10 03:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 03:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 03:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 00:01:05
[end_date_ymd] => 2025-01-10 03:01:05
[RateCDR] => 1
)
[2025-01-10 03:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 00:01:05' and `end` < '2025-01-10 03:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 03:01:11] Production.ERROR: CronJobId end10
[2025-01-10 03:01:11] Production.INFO: ==2464== Releasing lock...
[2025-01-10 03:01:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 03:01:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 03:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 03:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 03:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 03:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 03:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 03:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 03:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 03:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 03:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 03:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 03:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 03:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 03:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 03:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 03:01:13] Production.INFO: call_cost start
[2025-01-10 03:01:13] Production.INFO: call_cost end
[2025-01-10 03:01:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 03:01:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 03:01:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 03:01:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 03:01:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 03:01:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 03:01:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 03:01:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 03:01:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 03:01:14] Production.INFO: ==2460== Releasing lock...
[2025-01-10 03:01:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 03:01:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 03:01:19] Production.INFO: count ==207
[2025-01-10 03:01:19] Production.ERROR: pbx CDR StartTime 2025-01-10 00:01:05 - End Time 2025-01-10 03:01:05
[2025-01-10 03:01:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 03:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214025', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214025', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214025', 'tblTempVendorCDR_20' ) start
[2025-01-10 03:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214025', 'tblTempVendorCDR_20' ) end
[2025-01-10 03:01:19] Production.INFO: ProcessCDR(1,14214025,1,1,2)
[2025-01-10 03:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214025,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214025,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214025,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:01:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214025,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214025', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214025', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:01:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:01:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:01:22] Production.INFO: ==2468== Releasing lock...
[2025-01-10 03:01:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 03:01:22] Production.INFO: 29 MB #Memory Used#
[2025-01-10 08:02:02] Production.INFO: ==2602== Lock acquired, processing the job...
[2025-01-10 08:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 08:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 08:02:02] Production.INFO: neon service started
[2025-01-10 08:02:02] Production.INFO: neon service started
[2025-01-10 08:02:02] Production.INFO: ==2602== Releasing lock...
[2025-01-10 08:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 08:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:02:02] Production.INFO: ==2604== Lock acquired, processing the job...
[2025-01-10 03:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 03:02:02] Production.INFO: ==2604== Releasing lock...
[2025-01-10 03:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 03:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:02:02] Production.INFO: ==2606== Lock acquired, processing the job...
[2025-01-10 08:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 08:02:02] Production.INFO: ==2606== Releasing lock...
[2025-01-10 08:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 08:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 03:02:03] Production.INFO: ==2614== Lock acquired, processing the job...
[2025-01-10 03:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 03:02:03] Production.INFO: Account Balance Start.
[2025-01-10 03:02:03] Production.INFO: CreateAllLog Start
[2025-01-10 03:02:03] Production.INFO: 117
[2025-01-10 03:02:03] Production.INFO: Date 2025-01-08
[2025-01-10 03:02:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:02:03] Production.INFO: Date 2025-01-09
[2025-01-10 03:02:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:02:03] Production.INFO: Date 2025-01-10
[2025-01-10 03:02:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:02:03] Production.INFO: Total Charge 0
[2025-01-10 03:02:03] Production.INFO: CreateAllLog End
[2025-01-10 03:02:03] Production.INFO: Account Balance End.
[2025-01-10 03:02:03] Production.INFO: ==2608== Lock acquired, processing the job...
[2025-01-10 03:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 03:02:03] Production.ERROR: CronJobId end 12
[2025-01-10 03:02:03] Production.INFO: ==2614== Releasing lock...
[2025-01-10 03:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 03:02:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 03:02:03] Production.INFO: ==2610== Lock acquired, processing the job...
[2025-01-10 03:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 03:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 03:02:03] Production.INFO: ==2612== Lock acquired, processing the job...
[2025-01-10 03:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 03:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 03:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 03:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 03:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 03:02:04] Production.INFO: ==2616== Lock acquired, processing the job...
[2025-01-10 03:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 03:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:02:04] Production.INFO: ==2618== Lock acquired, processing the job...
[2025-01-10 03:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 03:02:04] Production.INFO: ==2610== Releasing lock...
[2025-01-10 03:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 03:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 03:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:02:04] Production.ERROR: done
[2025-01-10 03:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 03:02:04] Production.INFO: count ==21
[2025-01-10 03:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:02:04] Production.INFO: count ==21
[2025-01-10 03:02:04] Production.ERROR: done
[2025-01-10 03:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214029') start
[2025-01-10 03:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214029') end
[2025-01-10 03:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 03:02:04] Production.INFO: 1
[2025-01-10 03:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 03:02:04] Production.INFO: ==2618== Releasing lock...
[2025-01-10 03:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 03:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 03:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 00:02:05
[end_date_ymd] => 2025-01-10 03:02:05
[RateCDR] => 1
)
[2025-01-10 03:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 00:02:05' and `end` < '2025-01-10 03:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 03:02:11] Production.ERROR: CronJobId end10
[2025-01-10 03:02:11] Production.INFO: ==2612== Releasing lock...
[2025-01-10 03:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 03:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 03:02:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 03:02:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 03:02:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 03:02:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 03:02:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 03:02:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 03:02:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 03:02:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 03:02:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 03:02:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 03:02:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 03:02:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 03:02:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 03:02:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 03:02:13] Production.INFO: call_cost start
[2025-01-10 03:02:13] Production.INFO: call_cost end
[2025-01-10 03:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 03:02:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 03:02:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 03:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 03:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 03:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 03:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 03:02:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 03:02:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 03:02:14] Production.INFO: ==2608== Releasing lock...
[2025-01-10 03:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 03:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 03:02:19] Production.INFO: count ==207
[2025-01-10 03:02:19] Production.ERROR: pbx CDR StartTime 2025-01-10 00:02:05 - End Time 2025-01-10 03:02:05
[2025-01-10 03:02:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 03:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214030', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214030', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214030', 'tblTempVendorCDR_20' ) start
[2025-01-10 03:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214030', 'tblTempVendorCDR_20' ) end
[2025-01-10 03:02:19] Production.INFO: ProcessCDR(1,14214030,1,1,2)
[2025-01-10 03:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214030,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:02:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214030,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:02:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214030,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:02:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214030,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214030', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214030', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:02:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:02:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:02:22] Production.INFO: ==2616== Releasing lock...
[2025-01-10 03:02:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 03:02:22] Production.INFO: 29 MB #Memory Used#
[2025-01-10 08:03:01] Production.INFO: ==2672== Lock acquired, processing the job...
[2025-01-10 08:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 08:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 08:03:01] Production.INFO: neon service started
[2025-01-10 08:03:01] Production.INFO: neon service started
[2025-01-10 08:03:01] Production.INFO: ==2672== Releasing lock...
[2025-01-10 08:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 08:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:03:01] Production.INFO: ==2674== Lock acquired, processing the job...
[2025-01-10 03:03:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 03:03:02] Production.INFO: ==2674== Releasing lock...
[2025-01-10 03:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 03:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:03:02] Production.INFO: ==2676== Lock acquired, processing the job...
[2025-01-10 08:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 08:03:02] Production.INFO: ==2676== Releasing lock...
[2025-01-10 08:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 08:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 03:03:03] Production.INFO: ==2684== Lock acquired, processing the job...
[2025-01-10 03:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 03:03:03] Production.INFO: ==2686== Lock acquired, processing the job...
[2025-01-10 03:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 03:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 03:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 03:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 03:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 03:03:03] Production.INFO: Account Balance Start.
[2025-01-10 03:03:03] Production.INFO: CreateAllLog Start
[2025-01-10 03:03:03] Production.INFO: 117
[2025-01-10 03:03:03] Production.INFO: Date 2025-01-08
[2025-01-10 03:03:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:03:03] Production.INFO: Date 2025-01-09
[2025-01-10 03:03:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:03:03] Production.INFO: ==2680== Lock acquired, processing the job...
[2025-01-10 03:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 03:03:03] Production.INFO: Date 2025-01-10
[2025-01-10 03:03:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:03:03] Production.INFO: Total Charge 0
[2025-01-10 03:03:03] Production.INFO: CreateAllLog End
[2025-01-10 03:03:03] Production.INFO: ==2682== Lock acquired, processing the job...
[2025-01-10 03:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 03:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 03:03:03] Production.INFO: Account Balance End.
[2025-01-10 03:03:03] Production.INFO: ==2688== Lock acquired, processing the job...
[2025-01-10 03:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 03:03:03] Production.ERROR: CronJobId end 12
[2025-01-10 03:03:03] Production.INFO: ==2686== Releasing lock...
[2025-01-10 03:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 03:03:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 03:03:03] Production.INFO: ==2690== Lock acquired, processing the job...
[2025-01-10 03:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 03:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:03:03] Production.INFO: count ==21
[2025-01-10 03:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:03:03] Production.INFO: count ==21
[2025-01-10 03:03:03] Production.INFO: ==2682== Releasing lock...
[2025-01-10 03:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 03:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 03:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214034') start
[2025-01-10 03:03:03] Production.ERROR: done
[2025-01-10 03:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214034') end
[2025-01-10 03:03:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 03:03:03] Production.INFO: 1
[2025-01-10 03:03:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 03:03:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 03:03:04] Production.INFO: ==2690== Releasing lock...
[2025-01-10 03:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 03:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 03:03:04] Production.ERROR: done
[2025-01-10 03:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 00:03:05
[end_date_ymd] => 2025-01-10 03:03:05
[RateCDR] => 1
)
[2025-01-10 03:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 00:03:05' and `end` < '2025-01-10 03:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 03:03:10] Production.ERROR: CronJobId end10
[2025-01-10 03:03:10] Production.INFO: ==2684== Releasing lock...
[2025-01-10 03:03:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 03:03:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 03:03:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 03:03:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 03:03:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 03:03:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 03:03:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 03:03:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 03:03:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 03:03:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 03:03:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 03:03:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 03:03:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 03:03:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 03:03:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 03:03:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 03:03:12] Production.INFO: call_cost start
[2025-01-10 03:03:12] Production.INFO: call_cost end
[2025-01-10 03:03:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 03:03:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 03:03:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 03:03:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 03:03:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 03:03:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 03:03:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 03:03:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 03:03:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 03:03:13] Production.INFO: ==2680== Releasing lock...
[2025-01-10 03:03:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 03:03:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 03:03:17] Production.INFO: count ==207
[2025-01-10 03:03:17] Production.ERROR: pbx CDR StartTime 2025-01-10 00:03:05 - End Time 2025-01-10 03:03:05
[2025-01-10 03:03:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 03:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214035', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214035', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214035', 'tblTempVendorCDR_20' ) start
[2025-01-10 03:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214035', 'tblTempVendorCDR_20' ) end
[2025-01-10 03:03:17] Production.INFO: ProcessCDR(1,14214035,1,1,2)
[2025-01-10 03:03:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214035,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:03:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214035,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:03:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214035,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214035,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214035', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214035', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:03:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:03:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:03:21] Production.INFO: ==2688== Releasing lock...
[2025-01-10 03:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 03:03:21] Production.INFO: 29 MB #Memory Used#
[2025-01-10 08:04:02] Production.INFO: ==2750== Lock acquired, processing the job...
[2025-01-10 08:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 08:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 08:04:02] Production.INFO: neon service started
[2025-01-10 08:04:02] Production.INFO: neon service started
[2025-01-10 08:04:02] Production.INFO: ==2750== Releasing lock...
[2025-01-10 08:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 08:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 08:04:02] Production.INFO: ==2754== Lock acquired, processing the job...
[2025-01-10 08:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 08:04:02] Production.INFO: ==2754== Releasing lock...
[2025-01-10 08:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 08:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 03:04:02] Production.INFO: ==2752== Lock acquired, processing the job...
[2025-01-10 03:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 03:04:02] Production.INFO: ==2752== Releasing lock...
[2025-01-10 03:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 03:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 03:04:03] Production.INFO: ==2757== Lock acquired, processing the job...
[2025-01-10 03:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 03:04:03] Production.INFO: ==2761== Lock acquired, processing the job...
[2025-01-10 03:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 03:04:03] Production.INFO: ==2767== Lock acquired, processing the job...
[2025-01-10 03:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 03:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 03:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 03:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 03:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 03:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 03:04:03] Production.INFO: ==2763== Lock acquired, processing the job...
[2025-01-10 03:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 03:04:03] Production.INFO: ==2759== Lock acquired, processing the job...
[2025-01-10 03:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 03:04:03] Production.INFO: Account Balance Start.
[2025-01-10 03:04:03] Production.INFO: CreateAllLog Start
[2025-01-10 03:04:03] Production.INFO: 117
[2025-01-10 03:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:04:03] Production.INFO: Date 2025-01-08
[2025-01-10 03:04:03] Production.INFO: ==2765== Lock acquired, processing the job...
[2025-01-10 03:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 03:04:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:04:03] Production.INFO: count ==21
[2025-01-10 03:04:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:04:03] Production.INFO: count ==21
[2025-01-10 03:04:03] Production.INFO: Date 2025-01-09
[2025-01-10 03:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214037') start
[2025-01-10 03:04:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:04:04] Production.INFO: Date 2025-01-10
[2025-01-10 03:04:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:04:04] Production.INFO: Total Charge 0
[2025-01-10 03:04:04] Production.INFO: CreateAllLog End
[2025-01-10 03:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214037') end
[2025-01-10 03:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 03:04:04] Production.INFO: 1
[2025-01-10 03:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 03:04:04] Production.INFO: ==2767== Releasing lock...
[2025-01-10 03:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 03:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 03:04:04] Production.INFO: ==2759== Releasing lock...
[2025-01-10 03:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 03:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 03:04:04] Production.ERROR: done
[2025-01-10 03:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 03:04:04] Production.INFO: Account Balance End.
[2025-01-10 03:04:04] Production.ERROR: done
[2025-01-10 03:04:04] Production.ERROR: CronJobId end 12
[2025-01-10 03:04:04] Production.INFO: ==2763== Releasing lock...
[2025-01-10 03:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 03:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 03:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 00:04:05
[end_date_ymd] => 2025-01-10 03:04:05
[RateCDR] => 1
)
[2025-01-10 03:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 00:04:05' and `end` < '2025-01-10 03:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 03:04:10] Production.ERROR: CronJobId end10
[2025-01-10 03:04:10] Production.INFO: ==2761== Releasing lock...
[2025-01-10 03:04:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 03:04:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 03:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 03:04:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 03:04:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 03:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 03:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 03:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 03:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 03:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 03:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 03:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 03:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 03:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 03:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 03:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 03:04:13] Production.INFO: call_cost start
[2025-01-10 03:04:13] Production.INFO: call_cost end
[2025-01-10 03:04:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 03:04:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 03:04:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 03:04:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 03:04:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 03:04:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 03:04:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 03:04:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 03:04:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 03:04:14] Production.INFO: ==2757== Releasing lock...
[2025-01-10 03:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 03:04:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 03:04:19] Production.INFO: count ==207
[2025-01-10 03:04:19] Production.ERROR: pbx CDR StartTime 2025-01-10 00:04:05 - End Time 2025-01-10 03:04:05
[2025-01-10 03:04:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 03:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214040', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214040', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214040', 'tblTempVendorCDR_20' ) start
[2025-01-10 03:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214040', 'tblTempVendorCDR_20' ) end
[2025-01-10 03:04:19] Production.INFO: ProcessCDR(1,14214040,1,1,2)
[2025-01-10 03:04:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214040,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:04:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214040,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:04:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214040,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:04:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214040,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214040', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214040', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:04:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:04:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:04:22] Production.INFO: ==2765== Releasing lock...
[2025-01-10 03:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 03:04:22] Production.INFO: 29 MB #Memory Used#
[2025-01-10 08:05:01] Production.INFO: ==2824== Lock acquired, processing the job...
[2025-01-10 08:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 08:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 08:05:01] Production.INFO: neon service started
[2025-01-10 08:05:01] Production.INFO: neon service started
[2025-01-10 08:05:01] Production.INFO: ==2824== Releasing lock...
[2025-01-10 08:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 08:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:05:02] Production.INFO: ==2826== Lock acquired, processing the job...
[2025-01-10 03:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:05:02] Production.INFO: ==2828== Lock acquired, processing the job...
[2025-01-10 08:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 08:05:02] Production.INFO: ==2828== Releasing lock...
[2025-01-10 08:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 08:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 03:05:02] Production.INFO: ==2826== Releasing lock...
[2025-01-10 03:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 03:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 03:05:03] Production.INFO: ==2837== Lock acquired, processing the job...
[2025-01-10 03:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 03:05:03] Production.INFO: ==2833== Lock acquired, processing the job...
[2025-01-10 03:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 03:05:03] Production.INFO: ==2831== Lock acquired, processing the job...
[2025-01-10 03:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 03:05:03] Production.INFO: ==2839== Lock acquired, processing the job...
[2025-01-10 03:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 03:05:03] Production.INFO: ==2835== Lock acquired, processing the job...
[2025-01-10 03:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 03:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 03:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 03:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 03:05:03] Production.INFO: Account Balance Start.
[2025-01-10 03:05:03] Production.INFO: CreateAllLog Start
[2025-01-10 03:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 03:05:03] Production.INFO: 117
[2025-01-10 03:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:05:03] Production.INFO: ==2841== Lock acquired, processing the job...
[2025-01-10 03:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 03:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 03:05:03] Production.INFO: Date 2025-01-08
[2025-01-10 03:05:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:05:03] Production.INFO: Date 2025-01-09
[2025-01-10 03:05:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:05:03] Production.INFO: Date 2025-01-10
[2025-01-10 03:05:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:05:03] Production.INFO: count ==21
[2025-01-10 03:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:05:03] Production.INFO: count ==21
[2025-01-10 03:05:03] Production.INFO: Total Charge 0
[2025-01-10 03:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214044') start
[2025-01-10 03:05:03] Production.ERROR: done
[2025-01-10 03:05:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 03:05:03] Production.INFO: ==2833== Releasing lock...
[2025-01-10 03:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 03:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 03:05:03] Production.INFO: CreateAllLog End
[2025-01-10 03:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214044') end
[2025-01-10 03:05:03] Production.ERROR: done
[2025-01-10 03:05:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 03:05:03] Production.INFO: 1
[2025-01-10 03:05:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 03:05:04] Production.INFO: ==2841== Releasing lock...
[2025-01-10 03:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 03:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 03:05:04] Production.INFO: Account Balance End.
[2025-01-10 03:05:04] Production.ERROR: CronJobId end 12
[2025-01-10 03:05:04] Production.INFO: ==2837== Releasing lock...
[2025-01-10 03:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 03:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 03:05:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 00:05:04
[end_date_ymd] => 2025-01-10 03:05:04
[RateCDR] => 1
)
[2025-01-10 03:05:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 00:05:04' and `end` < '2025-01-10 03:05:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 03:05:10] Production.ERROR: CronJobId end10
[2025-01-10 03:05:10] Production.INFO: ==2835== Releasing lock...
[2025-01-10 03:05:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 03:05:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 03:05:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 03:05:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 03:05:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 03:05:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 03:05:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 03:05:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 03:05:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 03:05:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 03:05:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 03:05:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 03:05:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 03:05:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 03:05:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 03:05:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 03:05:12] Production.INFO: call_cost start
[2025-01-10 03:05:12] Production.INFO: call_cost end
[2025-01-10 03:05:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 03:05:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 03:05:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 03:05:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 03:05:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 03:05:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 03:05:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 03:05:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 03:05:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 03:05:13] Production.INFO: ==2831== Releasing lock...
[2025-01-10 03:05:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 03:05:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 03:05:17] Production.INFO: count ==207
[2025-01-10 03:05:17] Production.ERROR: pbx CDR StartTime 2025-01-10 00:05:04 - End Time 2025-01-10 03:05:04
[2025-01-10 03:05:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 03:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214045', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214045', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214045', 'tblTempVendorCDR_20' ) start
[2025-01-10 03:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214045', 'tblTempVendorCDR_20' ) end
[2025-01-10 03:05:17] Production.INFO: ProcessCDR(1,14214045,1,1,2)
[2025-01-10 03:05:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214045,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:05:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214045,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:05:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214045,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:05:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214045,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:05:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214045', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:05:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214045', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:05:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:05:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:05:20] Production.INFO: ==2839== Releasing lock...
[2025-01-10 03:05:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 03:05:20] Production.INFO: 29 MB #Memory Used#
[2025-01-10 08:06:01] Production.INFO: ==2973== Lock acquired, processing the job...
[2025-01-10 08:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 08:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 08:06:01] Production.INFO: neon service started
[2025-01-10 08:06:01] Production.INFO: neon service started
[2025-01-10 08:06:01] Production.INFO: ==2973== Releasing lock...
[2025-01-10 08:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 08:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:06:02] Production.INFO: ==2975== Lock acquired, processing the job...
[2025-01-10 03:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 03:06:02] Production.INFO: ==2975== Releasing lock...
[2025-01-10 03:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 03:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:06:02] Production.INFO: ==2977== Lock acquired, processing the job...
[2025-01-10 08:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 08:06:02] Production.INFO: ==2977== Releasing lock...
[2025-01-10 08:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 08:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 03:06:03] Production.INFO: ==2983== Lock acquired, processing the job...
[2025-01-10 03:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 03:06:03] Production.INFO: ==2989== Lock acquired, processing the job...
[2025-01-10 03:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 03:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 03:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 03:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 03:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 03:06:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:06:03] Production.INFO: ==2979== Lock acquired, processing the job...
[2025-01-10 03:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 03:06:03] Production.INFO: count ==21
[2025-01-10 03:06:03] Production.INFO: ==2981== Lock acquired, processing the job...
[2025-01-10 03:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 03:06:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:06:03] Production.INFO: count ==21
[2025-01-10 03:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214046') start
[2025-01-10 03:06:03] Production.INFO: ==2987== Lock acquired, processing the job...
[2025-01-10 03:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 03:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 03:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:06:03] Production.INFO: ==2985== Lock acquired, processing the job...
[2025-01-10 03:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 03:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214046') end
[2025-01-10 03:06:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 03:06:03] Production.INFO: 1
[2025-01-10 03:06:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 03:06:03] Production.INFO: ==2989== Releasing lock...
[2025-01-10 03:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 03:06:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 03:06:03] Production.INFO: Account Balance Start.
[2025-01-10 03:06:03] Production.INFO: CreateAllLog Start
[2025-01-10 03:06:03] Production.INFO: 117
[2025-01-10 03:06:03] Production.ERROR: done
[2025-01-10 03:06:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 03:06:03] Production.INFO: Date 2025-01-08
[2025-01-10 03:06:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:06:04] Production.ERROR: done
[2025-01-10 03:06:04] Production.INFO: Date 2025-01-09
[2025-01-10 03:06:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:06:04] Production.INFO: Date 2025-01-10
[2025-01-10 03:06:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:06:04] Production.INFO: ==2981== Releasing lock...
[2025-01-10 03:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 03:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 03:06:04] Production.INFO: Total Charge 0
[2025-01-10 03:06:04] Production.INFO: CreateAllLog End
[2025-01-10 03:06:04] Production.INFO: Account Balance End.
[2025-01-10 03:06:04] Production.ERROR: CronJobId end 12
[2025-01-10 03:06:04] Production.INFO: ==2985== Releasing lock...
[2025-01-10 03:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 03:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 03:06:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 00:06:04
[end_date_ymd] => 2025-01-10 03:06:04
[RateCDR] => 1
)
[2025-01-10 03:06:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 00:06:04' and `end` < '2025-01-10 03:06:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 03:06:09] Production.ERROR: CronJobId end10
[2025-01-10 03:06:09] Production.INFO: ==2983== Releasing lock...
[2025-01-10 03:06:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 03:06:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 03:06:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 03:06:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 03:06:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 03:06:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 03:06:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 03:06:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 03:06:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 03:06:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 03:06:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 03:06:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 03:06:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 03:06:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 03:06:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 03:06:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 03:06:12] Production.INFO: call_cost start
[2025-01-10 03:06:12] Production.INFO: call_cost end
[2025-01-10 03:06:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 03:06:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 03:06:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 03:06:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 03:06:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 03:06:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 03:06:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 03:06:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 03:06:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 03:06:13] Production.INFO: ==2979== Releasing lock...
[2025-01-10 03:06:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 03:06:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 03:06:18] Production.INFO: count ==207
[2025-01-10 03:06:18] Production.ERROR: pbx CDR StartTime 2025-01-10 00:06:04 - End Time 2025-01-10 03:06:04
[2025-01-10 03:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 03:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214050', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214050', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214050', 'tblTempVendorCDR_20' ) start
[2025-01-10 03:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214050', 'tblTempVendorCDR_20' ) end
[2025-01-10 03:06:18] Production.INFO: ProcessCDR(1,14214050,1,1,2)
[2025-01-10 03:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214050,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214050,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214050,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:06:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214050,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214050', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214050', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:06:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:06:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:06:21] Production.INFO: ==2987== Releasing lock...
[2025-01-10 03:06:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 03:06:21] Production.INFO: 29 MB #Memory Used#
[2025-01-10 08:07:02] Production.INFO: ==3085== Lock acquired, processing the job...
[2025-01-10 08:07:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 08:07:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 08:07:02] Production.INFO: neon service started
[2025-01-10 08:07:02] Production.INFO: neon service started
[2025-01-10 08:07:02] Production.INFO: ==3085== Releasing lock...
[2025-01-10 08:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 08:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:07:02] Production.INFO: ==3087== Lock acquired, processing the job...
[2025-01-10 03:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 03:07:02] Production.INFO: ==3087== Releasing lock...
[2025-01-10 03:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 03:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:07:02] Production.INFO: ==3089== Lock acquired, processing the job...
[2025-01-10 08:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 08:07:03] Production.INFO: ==3089== Releasing lock...
[2025-01-10 08:07:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 08:07:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 03:07:03] Production.INFO: ==3091== Lock acquired, processing the job...
[2025-01-10 03:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 03:07:03] Production.INFO: ==3095== Lock acquired, processing the job...
[2025-01-10 03:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 03:07:03] Production.INFO: ==3093== Lock acquired, processing the job...
[2025-01-10 03:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 03:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 03:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 03:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 03:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 03:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 03:07:04] Production.INFO: ==3097== Lock acquired, processing the job...
[2025-01-10 03:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 03:07:04] Production.INFO: ==3099== Lock acquired, processing the job...
[2025-01-10 03:07:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 03:07:04] Production.INFO: ==3101== Lock acquired, processing the job...
[2025-01-10 03:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 03:07:04] Production.INFO: Account Balance Start.
[2025-01-10 03:07:04] Production.INFO: CreateAllLog Start
[2025-01-10 03:07:04] Production.INFO: 117
[2025-01-10 03:07:04] Production.INFO: Date 2025-01-08
[2025-01-10 03:07:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:07:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:07:04] Production.INFO: ==3093== Releasing lock...
[2025-01-10 03:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 03:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 03:07:04] Production.INFO: Date 2025-01-09
[2025-01-10 03:07:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:07:04] Production.INFO: Date 2025-01-10
[2025-01-10 03:07:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:07:04] Production.INFO: Total Charge 0
[2025-01-10 03:07:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:07:04] Production.INFO: CreateAllLog End
[2025-01-10 03:07:04] Production.INFO: count ==21
[2025-01-10 03:07:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:07:04] Production.INFO: count ==21
[2025-01-10 03:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214054') start
[2025-01-10 03:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214054') end
[2025-01-10 03:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 03:07:04] Production.INFO: 1
[2025-01-10 03:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 03:07:04] Production.ERROR: done
[2025-01-10 03:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 03:07:04] Production.INFO: ==3101== Releasing lock...
[2025-01-10 03:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 03:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 03:07:04] Production.INFO: Account Balance End.
[2025-01-10 03:07:04] Production.ERROR: done
[2025-01-10 03:07:04] Production.ERROR: CronJobId end 12
[2025-01-10 03:07:04] Production.INFO: ==3097== Releasing lock...
[2025-01-10 03:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 03:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 03:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 00:07:05
[end_date_ymd] => 2025-01-10 03:07:05
[RateCDR] => 1
)
[2025-01-10 03:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 00:07:05' and `end` < '2025-01-10 03:07:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 03:07:10] Production.ERROR: CronJobId end10
[2025-01-10 03:07:10] Production.INFO: ==3095== Releasing lock...
[2025-01-10 03:07:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 03:07:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 03:07:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 03:07:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 03:07:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 03:07:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 03:07:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 03:07:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 03:07:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 03:07:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 03:07:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 03:07:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 03:07:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 03:07:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 03:07:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 03:07:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 03:07:12] Production.INFO: call_cost start
[2025-01-10 03:07:12] Production.INFO: call_cost end
[2025-01-10 03:07:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 03:07:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 03:07:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 03:07:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 03:07:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 03:07:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 03:07:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 03:07:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 03:07:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 03:07:13] Production.INFO: ==3091== Releasing lock...
[2025-01-10 03:07:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 03:07:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 03:07:18] Production.INFO: count ==207
[2025-01-10 03:07:18] Production.ERROR: pbx CDR StartTime 2025-01-10 00:07:05 - End Time 2025-01-10 03:07:05
[2025-01-10 03:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 03:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214055', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214055', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214055', 'tblTempVendorCDR_20' ) start
[2025-01-10 03:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214055', 'tblTempVendorCDR_20' ) end
[2025-01-10 03:07:18] Production.INFO: ProcessCDR(1,14214055,1,1,2)
[2025-01-10 03:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214055,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214055,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214055,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214055,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214055', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214055', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:07:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:07:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:07:21] Production.INFO: ==3099== Releasing lock...
[2025-01-10 03:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 03:07:21] Production.INFO: 29 MB #Memory Used#
[2025-01-10 08:08:01] Production.INFO: ==3156== Lock acquired, processing the job...
[2025-01-10 08:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 08:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 08:08:01] Production.INFO: neon service started
[2025-01-10 08:08:01] Production.INFO: neon service started
[2025-01-10 08:08:01] Production.INFO: ==3156== Releasing lock...
[2025-01-10 08:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 08:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:08:02] Production.INFO: ==3158== Lock acquired, processing the job...
[2025-01-10 03:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 03:08:02] Production.INFO: ==3158== Releasing lock...
[2025-01-10 03:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 03:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:08:02] Production.INFO: ==3160== Lock acquired, processing the job...
[2025-01-10 08:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 08:08:02] Production.INFO: ==3160== Releasing lock...
[2025-01-10 08:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 08:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 03:08:03] Production.INFO: ==3166== Lock acquired, processing the job...
[2025-01-10 03:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 03:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 03:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 03:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 03:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 03:08:03] Production.INFO: ==3171== Lock acquired, processing the job...
[2025-01-10 03:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 03:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:08:03] Production.INFO: ==3164== Lock acquired, processing the job...
[2025-01-10 03:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 03:08:03] Production.INFO: ==3162== Lock acquired, processing the job...
[2025-01-10 03:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 03:08:03] Production.INFO: ==3169== Lock acquired, processing the job...
[2025-01-10 03:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 03:08:03] Production.INFO: ==3173== Lock acquired, processing the job...
[2025-01-10 03:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 03:08:03] Production.INFO: Account Balance Start.
[2025-01-10 03:08:03] Production.INFO: CreateAllLog Start
[2025-01-10 03:08:03] Production.INFO: 117
[2025-01-10 03:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 03:08:03] Production.ERROR: done
[2025-01-10 03:08:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 03:08:03] Production.INFO: Date 2025-01-08
[2025-01-10 03:08:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:08:03] Production.INFO: Date 2025-01-09
[2025-01-10 03:08:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:08:03] Production.INFO: count ==21
[2025-01-10 03:08:03] Production.ERROR: done
[2025-01-10 03:08:03] Production.INFO: Date 2025-01-10
[2025-01-10 03:08:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:08:03] Production.INFO: count ==21
[2025-01-10 03:08:03] Production.INFO: Total Charge 0
[2025-01-10 03:08:03] Production.INFO: CreateAllLog End
[2025-01-10 03:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214059') start
[2025-01-10 03:08:04] Production.INFO: Account Balance End.
[2025-01-10 03:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214059') end
[2025-01-10 03:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 03:08:04] Production.INFO: 1
[2025-01-10 03:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 03:08:04] Production.INFO: ==3164== Releasing lock...
[2025-01-10 03:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 03:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 03:08:04] Production.ERROR: CronJobId end 12
[2025-01-10 03:08:04] Production.INFO: ==3169== Releasing lock...
[2025-01-10 03:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 03:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 03:08:04] Production.INFO: ==3173== Releasing lock...
[2025-01-10 03:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 03:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 03:08:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 00:08:04
[end_date_ymd] => 2025-01-10 03:08:04
[RateCDR] => 1
)
[2025-01-10 03:08:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 00:08:04' and `end` < '2025-01-10 03:08:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 03:08:10] Production.ERROR: CronJobId end10
[2025-01-10 03:08:10] Production.INFO: ==3166== Releasing lock...
[2025-01-10 03:08:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 03:08:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 03:08:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 03:08:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 03:08:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 03:08:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 03:08:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 03:08:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 03:08:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 03:08:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 03:08:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 03:08:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 03:08:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 03:08:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 03:08:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 03:08:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 03:08:12] Production.INFO: call_cost start
[2025-01-10 03:08:12] Production.INFO: call_cost end
[2025-01-10 03:08:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 03:08:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 03:08:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 03:08:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 03:08:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 03:08:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 03:08:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 03:08:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 03:08:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 03:08:13] Production.INFO: ==3162== Releasing lock...
[2025-01-10 03:08:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 03:08:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 03:08:17] Production.INFO: count ==206
[2025-01-10 03:08:17] Production.ERROR: pbx CDR StartTime 2025-01-10 00:08:04 - End Time 2025-01-10 03:08:04
[2025-01-10 03:08:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 03:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214060', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214060', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214060', 'tblTempVendorCDR_20' ) start
[2025-01-10 03:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214060', 'tblTempVendorCDR_20' ) end
[2025-01-10 03:08:17] Production.INFO: ProcessCDR(1,14214060,1,1,2)
[2025-01-10 03:08:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214060,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:08:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214060,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:08:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214060,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:08:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214060,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:08:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214060', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:08:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214060', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:08:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:08:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:08:20] Production.INFO: ==3171== Releasing lock...
[2025-01-10 03:08:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 03:08:20] Production.INFO: 29 MB #Memory Used#
[2025-01-10 08:09:02] Production.INFO: ==3305== Lock acquired, processing the job...
[2025-01-10 08:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 08:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 08:09:02] Production.INFO: neon service started
[2025-01-10 08:09:02] Production.INFO: neon service started
[2025-01-10 08:09:02] Production.INFO: ==3305== Releasing lock...
[2025-01-10 08:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 08:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:09:02] Production.INFO: ==3307== Lock acquired, processing the job...
[2025-01-10 03:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 03:09:02] Production.INFO: ==3307== Releasing lock...
[2025-01-10 03:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 03:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:09:02] Production.INFO: ==3309== Lock acquired, processing the job...
[2025-01-10 08:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 08:09:03] Production.INFO: ==3309== Releasing lock...
[2025-01-10 08:09:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 08:09:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 03:09:03] Production.INFO: ==3311== Lock acquired, processing the job...
[2025-01-10 03:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 03:09:03] Production.INFO: ==3315== Lock acquired, processing the job...
[2025-01-10 03:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 03:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 03:09:03] Production.INFO: ==3313== Lock acquired, processing the job...
[2025-01-10 03:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 03:09:03] Production.INFO: ==3319== Lock acquired, processing the job...
[2025-01-10 03:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 03:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 03:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 03:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 03:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 03:09:03] Production.INFO: ==3317== Lock acquired, processing the job...
[2025-01-10 03:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 03:09:03] Production.INFO: ==3321== Lock acquired, processing the job...
[2025-01-10 03:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 03:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:09:03] Production.INFO: Account Balance Start.
[2025-01-10 03:09:03] Production.INFO: CreateAllLog Start
[2025-01-10 03:09:03] Production.INFO: 117
[2025-01-10 03:09:04] Production.INFO: Date 2025-01-08
[2025-01-10 03:09:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:09:04] Production.INFO: Date 2025-01-09
[2025-01-10 03:09:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:09:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:09:04] Production.INFO: count ==21
[2025-01-10 03:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:09:04] Production.INFO: Date 2025-01-10
[2025-01-10 03:09:04] Production.INFO: count ==21
[2025-01-10 03:09:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214064') start
[2025-01-10 03:09:04] Production.INFO: Total Charge 0
[2025-01-10 03:09:04] Production.INFO: CreateAllLog End
[2025-01-10 03:09:04] Production.ERROR: done
[2025-01-10 03:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 03:09:04] Production.INFO: ==3313== Releasing lock...
[2025-01-10 03:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 03:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 03:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214064') end
[2025-01-10 03:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 03:09:04] Production.INFO: 1
[2025-01-10 03:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 03:09:04] Production.ERROR: done
[2025-01-10 03:09:04] Production.INFO: ==3321== Releasing lock...
[2025-01-10 03:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 03:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 03:09:04] Production.INFO: Account Balance End.
[2025-01-10 03:09:04] Production.ERROR: CronJobId end 12
[2025-01-10 03:09:04] Production.INFO: ==3317== Releasing lock...
[2025-01-10 03:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 03:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 03:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 00:09:05
[end_date_ymd] => 2025-01-10 03:09:05
[RateCDR] => 1
)
[2025-01-10 03:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 00:09:05' and `end` < '2025-01-10 03:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 03:09:10] Production.ERROR: CronJobId end10
[2025-01-10 03:09:10] Production.INFO: ==3315== Releasing lock...
[2025-01-10 03:09:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 03:09:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 03:09:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 03:09:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 03:09:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 03:09:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 03:09:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 03:09:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 03:09:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 03:09:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 03:09:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 03:09:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 03:09:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 03:09:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 03:09:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 03:09:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 03:09:12] Production.INFO: call_cost start
[2025-01-10 03:09:12] Production.INFO: call_cost end
[2025-01-10 03:09:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 03:09:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 03:09:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 03:09:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 03:09:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 03:09:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 03:09:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 03:09:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 03:09:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 03:09:13] Production.INFO: ==3311== Releasing lock...
[2025-01-10 03:09:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 03:09:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 03:09:18] Production.INFO: count ==205
[2025-01-10 03:09:18] Production.ERROR: pbx CDR StartTime 2025-01-10 00:09:05 - End Time 2025-01-10 03:09:05
[2025-01-10 03:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 03:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214065', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214065', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214065', 'tblTempVendorCDR_20' ) start
[2025-01-10 03:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214065', 'tblTempVendorCDR_20' ) end
[2025-01-10 03:09:18] Production.INFO: ProcessCDR(1,14214065,1,1,2)
[2025-01-10 03:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214065,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214065,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214065,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:09:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214065,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214065', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214065', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:09:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:09:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:09:21] Production.INFO: ==3319== Releasing lock...
[2025-01-10 03:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 03:09:21] Production.INFO: 29 MB #Memory Used#
[2025-01-10 08:10:01] Production.INFO: ==3374== Lock acquired, processing the job...
[2025-01-10 08:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 08:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 08:10:01] Production.INFO: neon service started
[2025-01-10 08:10:01] Production.INFO: neon service started
[2025-01-10 08:10:01] Production.INFO: ==3374== Releasing lock...
[2025-01-10 08:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 08:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:10:02] Production.INFO: ==3376== Lock acquired, processing the job...
[2025-01-10 03:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:10:02] Production.INFO: ==3378== Lock acquired, processing the job...
[2025-01-10 08:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 03:10:02] Production.INFO: ==3376== Releasing lock...
[2025-01-10 03:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 03:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:10:02] Production.INFO: ==3378== Releasing lock...
[2025-01-10 08:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 08:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 03:10:03] Production.INFO: ==3388== Lock acquired, processing the job...
[2025-01-10 03:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 03:10:03] Production.INFO: ==3392== Lock acquired, processing the job...
[2025-01-10 03:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 03:10:03] Production.INFO: ==3380== Lock acquired, processing the job...
[2025-01-10 03:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 03:10:03] Production.INFO: Account Balance Start.
[2025-01-10 03:10:03] Production.INFO: CreateAllLog Start
[2025-01-10 03:10:03] Production.INFO: 117
[2025-01-10 03:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:10:03] Production.INFO: Date 2025-01-08
[2025-01-10 03:10:03] Production.INFO: ==3382== Lock acquired, processing the job...
[2025-01-10 03:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 03:10:03] Production.INFO: ==3395== Lock acquired, processing the job...
[2025-01-10 03:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 03:10:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:10:03] Production.INFO: Date 2025-01-09
[2025-01-10 03:10:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 03:10:03] Production.INFO: ==3384== Lock acquired, processing the job...
[2025-01-10 03:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 03:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 03:10:03] Production.ERROR: CronJob PID - 3382
[2025-01-10 03:10:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-10 03:10:03] Production.ERROR: CronJob ID - 5
[2025-01-10 03:10:03] Production.ERROR: CronJob Last Run Time 2025-01-10 03:10:00
[2025-01-10 03:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 03:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 03:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 03:10:03] Production.ERROR: CronJob PID - 3388
[2025-01-10 03:10:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-10 03:10:03] Production.ERROR: CronJob ID - 12
[2025-01-10 03:10:03] Production.ERROR: CronJob Last Run Time 2025-01-10 03:10:00
[2025-01-10 03:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 03:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 03:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 03:10:03] Production.ERROR: CronJob PID - 3392
[2025-01-10 03:10:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-10 03:10:03] Production.ERROR: CronJob ID - 17
[2025-01-10 03:10:03] Production.ERROR: CronJob Last Run Time 2025-01-10 03:10:00
[2025-01-10 03:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 03:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 03:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 03:10:03] Production.ERROR: CronJob PID - 3395
[2025-01-10 03:10:03] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-10 03:10:03] Production.ERROR: CronJob ID - 19
[2025-01-10 03:10:03] Production.ERROR: CronJob Last Run Time 2025-01-10 03:10:00
[2025-01-10 03:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 03:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 03:10:03] Production.INFO: ==3386== Lock acquired, processing the job...
[2025-01-10 03:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 03:10:03] Production.INFO: ==3390== Lock acquired, processing the job...
[2025-01-10 03:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 03:10:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:10:03] Production.INFO: count ==21
[2025-01-10 03:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 03:10:03] Production.INFO: ==3380== Releasing lock...
[2025-01-10 03:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 03:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 03:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 03:10:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:10:03] Production.INFO: count ==21
[2025-01-10 03:10:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214067') start
[2025-01-10 03:10:03] Production.INFO: Date 2025-01-10
[2025-01-10 03:10:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:10:04] Production.INFO: Total Charge 0
[2025-01-10 03:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:10:04] Production.INFO: CreateAllLog End
[2025-01-10 03:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 03:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 03:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 03:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 03:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214067') end
[2025-01-10 03:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 03:10:04] Production.INFO: 1
[2025-01-10 03:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 03:10:04] Production.ERROR: done
[2025-01-10 03:10:04] Production.INFO: ==3395== Releasing lock...
[2025-01-10 03:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 03:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 03:10:04] Production.ERROR: done
[2025-01-10 03:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 03:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14214070', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 03:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 03:10:04] Production.INFO: ==3384== Releasing lock...
[2025-01-10 03:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 03:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 03:10:04] Production.INFO: Account Balance End.
[2025-01-10 03:10:04] Production.ERROR: CronJobId end 12
[2025-01-10 03:10:04] Production.INFO: ==3388== Releasing lock...
[2025-01-10 03:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 03:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 03:10:04] Production.ERROR: done
[2025-01-10 03:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 00:10:05
[end_date_ymd] => 2025-01-10 03:10:05
[RateCDR] => 1
)
[2025-01-10 03:10:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 00:10:05' and `end` < '2025-01-10 03:10:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 03:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14214070', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 03:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 03:10:08] Production.INFO: ProcessCDR(1,14214070,1,1,2)
[2025-01-10 03:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14214070,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14214070,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:10:08] Production.INFO: ==3392== Releasing lock...
[2025-01-10 03:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 03:10:08] Production.INFO: 26 MB #Memory Used#
[2025-01-10 03:10:12] Production.ERROR: CronJobId end10
[2025-01-10 03:10:12] Production.INFO: ==3386== Releasing lock...
[2025-01-10 03:10:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 03:10:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 03:10:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 03:10:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 03:10:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 03:10:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 03:10:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 03:10:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 03:10:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 03:10:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 03:10:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 03:10:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 03:10:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 03:10:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 03:10:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 03:10:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 03:10:14] Production.INFO: call_cost start
[2025-01-10 03:10:14] Production.INFO: call_cost end
[2025-01-10 03:10:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 03:10:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 03:10:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 03:10:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 03:10:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 03:10:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 03:10:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 03:10:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 03:10:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 03:10:15] Production.INFO: ==3382== Releasing lock...
[2025-01-10 03:10:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 03:10:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 03:10:18] Production.INFO: count ==201
[2025-01-10 03:10:18] Production.ERROR: pbx CDR StartTime 2025-01-10 00:10:05 - End Time 2025-01-10 03:10:05
[2025-01-10 03:10:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 03:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214071', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214071', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214071', 'tblTempVendorCDR_20' ) start
[2025-01-10 03:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214071', 'tblTempVendorCDR_20' ) end
[2025-01-10 03:10:18] Production.INFO: ProcessCDR(1,14214071,1,1,2)
[2025-01-10 03:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214071,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:10:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214071,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:10:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214071,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:10:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214071,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214071', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214071', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:10:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:10:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:10:21] Production.INFO: ==3390== Releasing lock...
[2025-01-10 03:10:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 03:10:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 08:11:02] Production.INFO: ==3449== Lock acquired, processing the job...
[2025-01-10 08:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 08:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 08:11:02] Production.INFO: neon service started
[2025-01-10 08:11:02] Production.INFO: neon service started
[2025-01-10 08:11:02] Production.INFO: ==3449== Releasing lock...
[2025-01-10 08:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 08:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:11:02] Production.INFO: ==3451== Lock acquired, processing the job...
[2025-01-10 03:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:11:02] Production.INFO: ==3453== Lock acquired, processing the job...
[2025-01-10 08:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 08:11:02] Production.INFO: ==3453== Releasing lock...
[2025-01-10 08:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 08:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 03:11:03] Production.INFO: ==3451== Releasing lock...
[2025-01-10 03:11:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 03:11:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 03:11:03] Production.INFO: ==3460== Lock acquired, processing the job...
[2025-01-10 03:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 03:11:04] Production.INFO: ==3456== Lock acquired, processing the job...
[2025-01-10 03:11:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 03:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 03:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 03:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 03:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 03:11:04] Production.INFO: ==3464== Lock acquired, processing the job...
[2025-01-10 03:11:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 03:11:04] Production.INFO: ==3458== Lock acquired, processing the job...
[2025-01-10 03:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 03:11:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:11:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 03:11:04] Production.INFO: ==3462== Lock acquired, processing the job...
[2025-01-10 03:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 03:11:04] Production.INFO: ==3466== Lock acquired, processing the job...
[2025-01-10 03:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 03:11:04] Production.ERROR: done
[2025-01-10 03:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 03:11:04] Production.INFO: Account Balance Start.
[2025-01-10 03:11:04] Production.INFO: CreateAllLog Start
[2025-01-10 03:11:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:11:04] Production.INFO: 117
[2025-01-10 03:11:04] Production.INFO: ==3458== Releasing lock...
[2025-01-10 03:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 03:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 03:11:04] Production.INFO: count ==21
[2025-01-10 03:11:04] Production.INFO: Date 2025-01-08
[2025-01-10 03:11:04] Production.ERROR: done
[2025-01-10 03:11:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:11:04] Production.INFO: count ==21
[2025-01-10 03:11:04] Production.INFO: Date 2025-01-09
[2025-01-10 03:11:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214075') start
[2025-01-10 03:11:04] Production.INFO: Date 2025-01-10
[2025-01-10 03:11:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:11:04] Production.INFO: Total Charge 0
[2025-01-10 03:11:04] Production.INFO: CreateAllLog End
[2025-01-10 03:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214075') end
[2025-01-10 03:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 03:11:04] Production.INFO: 1
[2025-01-10 03:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 03:11:04] Production.INFO: Account Balance End.
[2025-01-10 03:11:04] Production.ERROR: CronJobId end 12
[2025-01-10 03:11:04] Production.INFO: ==3462== Releasing lock...
[2025-01-10 03:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 03:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 03:11:04] Production.INFO: ==3466== Releasing lock...
[2025-01-10 03:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 03:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 03:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 00:11:05
[end_date_ymd] => 2025-01-10 03:11:05
[RateCDR] => 1
)
[2025-01-10 03:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 00:11:05' and `end` < '2025-01-10 03:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 03:11:11] Production.ERROR: CronJobId end10
[2025-01-10 03:11:11] Production.INFO: ==3460== Releasing lock...
[2025-01-10 03:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 03:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 03:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 03:11:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 03:11:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 03:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 03:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 03:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 03:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 03:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 03:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 03:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 03:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 03:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 03:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 03:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 03:11:13] Production.INFO: call_cost start
[2025-01-10 03:11:13] Production.INFO: call_cost end
[2025-01-10 03:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 03:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 03:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 03:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 03:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 03:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 03:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 03:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 03:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 03:11:14] Production.INFO: ==3456== Releasing lock...
[2025-01-10 03:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 03:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 03:11:19] Production.INFO: count ==179
[2025-01-10 03:11:19] Production.ERROR: pbx CDR StartTime 2025-01-10 00:11:05 - End Time 2025-01-10 03:11:05
[2025-01-10 03:11:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 03:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214076', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214076', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214076', 'tblTempVendorCDR_20' ) start
[2025-01-10 03:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214076', 'tblTempVendorCDR_20' ) end
[2025-01-10 03:11:19] Production.INFO: ProcessCDR(1,14214076,1,1,2)
[2025-01-10 03:11:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214076,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:11:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214076,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:11:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214076,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:11:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214076,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214076', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214076', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:11:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:11:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:11:22] Production.INFO: ==3464== Releasing lock...
[2025-01-10 03:11:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 03:11:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 08:12:01] Production.INFO: ==3520== Lock acquired, processing the job...
[2025-01-10 08:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 08:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 08:12:01] Production.INFO: neon service started
[2025-01-10 08:12:01] Production.INFO: neon service started
[2025-01-10 08:12:01] Production.INFO: ==3520== Releasing lock...
[2025-01-10 08:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 08:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:12:01] Production.INFO: ==3522== Lock acquired, processing the job...
[2025-01-10 03:12:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 03:12:02] Production.INFO: ==3522== Releasing lock...
[2025-01-10 03:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 03:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:12:02] Production.INFO: ==3524== Lock acquired, processing the job...
[2025-01-10 08:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 08:12:02] Production.INFO: ==3524== Releasing lock...
[2025-01-10 08:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 08:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 03:12:03] Production.INFO: ==3526== Lock acquired, processing the job...
[2025-01-10 03:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 03:12:03] Production.INFO: ==3528== Lock acquired, processing the job...
[2025-01-10 03:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 03:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 03:12:03] Production.INFO: ==3534== Lock acquired, processing the job...
[2025-01-10 03:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 03:12:03] Production.INFO: ==3530== Lock acquired, processing the job...
[2025-01-10 03:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 03:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:12:03] Production.INFO: ==3532== Lock acquired, processing the job...
[2025-01-10 03:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 03:12:03] Production.INFO: ==3536== Lock acquired, processing the job...
[2025-01-10 03:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 03:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 03:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 03:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 03:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 03:12:03] Production.INFO: ==3528== Releasing lock...
[2025-01-10 03:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 03:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 03:12:03] Production.INFO: Account Balance Start.
[2025-01-10 03:12:03] Production.INFO: CreateAllLog Start
[2025-01-10 03:12:03] Production.INFO: 117
[2025-01-10 03:12:03] Production.INFO: Date 2025-01-08
[2025-01-10 03:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:12:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:12:03] Production.INFO: count ==21
[2025-01-10 03:12:03] Production.ERROR: done
[2025-01-10 03:12:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 03:12:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:12:03] Production.INFO: Date 2025-01-09
[2025-01-10 03:12:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:12:03] Production.INFO: count ==21
[2025-01-10 03:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214080') start
[2025-01-10 03:12:03] Production.ERROR: done
[2025-01-10 03:12:03] Production.INFO: Date 2025-01-10
[2025-01-10 03:12:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:12:03] Production.INFO: Total Charge 0
[2025-01-10 03:12:03] Production.INFO: CreateAllLog End
[2025-01-10 03:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214080') end
[2025-01-10 03:12:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 03:12:03] Production.INFO: 1
[2025-01-10 03:12:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 03:12:03] Production.INFO: Account Balance End.
[2025-01-10 03:12:03] Production.INFO: ==3536== Releasing lock...
[2025-01-10 03:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 03:12:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 03:12:03] Production.ERROR: CronJobId end 12
[2025-01-10 03:12:03] Production.INFO: ==3532== Releasing lock...
[2025-01-10 03:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 03:12:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 03:12:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 00:12:04
[end_date_ymd] => 2025-01-10 03:12:04
[RateCDR] => 1
)
[2025-01-10 03:12:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 00:12:04' and `end` < '2025-01-10 03:12:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 03:12:10] Production.ERROR: CronJobId end10
[2025-01-10 03:12:10] Production.INFO: ==3530== Releasing lock...
[2025-01-10 03:12:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 03:12:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 03:12:10] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 03:12:10] Production.INFO: ============== Balance Warning START===========
[2025-01-10 03:12:10] Production.INFO: ============== Balance Warning END===========
[2025-01-10 03:12:10] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 03:12:10] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 03:12:10] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 03:12:10] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 03:12:10] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 03:12:10] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 03:12:10] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 03:12:10] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 03:12:10] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 03:12:10] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 03:12:10] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 03:12:11] Production.INFO: call_cost start
[2025-01-10 03:12:11] Production.INFO: call_cost end
[2025-01-10 03:12:11] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 03:12:11] Production.INFO: ============== Report Schedule START===========
[2025-01-10 03:12:11] Production.INFO: ============== Report Schedule END===========
[2025-01-10 03:12:11] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 03:12:11] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 03:12:11] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 03:12:11] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 03:12:11] Production.INFO: ============== Deal alert START===========
[2025-01-10 03:12:11] Production.INFO: ============== Deal alert END===========
[2025-01-10 03:12:11] Production.INFO: ==3526== Releasing lock...
[2025-01-10 03:12:11] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 03:12:11] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 03:12:17] Production.INFO: count ==179
[2025-01-10 03:12:17] Production.ERROR: pbx CDR StartTime 2025-01-10 00:12:04 - End Time 2025-01-10 03:12:04
[2025-01-10 03:12:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 03:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214081', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214081', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214081', 'tblTempVendorCDR_20' ) start
[2025-01-10 03:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214081', 'tblTempVendorCDR_20' ) end
[2025-01-10 03:12:17] Production.INFO: ProcessCDR(1,14214081,1,1,2)
[2025-01-10 03:12:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214081,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:12:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214081,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:12:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214081,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:12:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214081,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:12:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214081', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:12:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214081', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:12:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:12:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:12:20] Production.INFO: ==3534== Releasing lock...
[2025-01-10 03:12:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 03:12:20] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 08:13:01] Production.INFO: ==3669== Lock acquired, processing the job...
[2025-01-10 08:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 08:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 08:13:01] Production.INFO: neon service started
[2025-01-10 08:13:02] Production.INFO: neon service started
[2025-01-10 08:13:02] Production.INFO: ==3669== Releasing lock...
[2025-01-10 08:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 08:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:13:02] Production.INFO: ==3671== Lock acquired, processing the job...
[2025-01-10 03:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 03:13:02] Production.INFO: ==3671== Releasing lock...
[2025-01-10 03:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 03:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:13:02] Production.INFO: ==3673== Lock acquired, processing the job...
[2025-01-10 08:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 08:13:02] Production.INFO: ==3673== Releasing lock...
[2025-01-10 08:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 08:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 03:13:03] Production.INFO: ==3679== Lock acquired, processing the job...
[2025-01-10 03:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 03:13:03] Production.INFO: ==3685== Lock acquired, processing the job...
[2025-01-10 03:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 03:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:13:03] Production.INFO: ==3675== Lock acquired, processing the job...
[2025-01-10 03:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 03:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 03:13:03] Production.INFO: count ==21
[2025-01-10 03:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 03:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 03:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 03:13:03] Production.INFO: count ==21
[2025-01-10 03:13:03] Production.INFO: ==3677== Lock acquired, processing the job...
[2025-01-10 03:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 03:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214082') start
[2025-01-10 03:13:03] Production.INFO: ==3681== Lock acquired, processing the job...
[2025-01-10 03:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 03:13:03] Production.INFO: ==3683== Lock acquired, processing the job...
[2025-01-10 03:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 03:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214082') end
[2025-01-10 03:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 03:13:03] Production.INFO: 1
[2025-01-10 03:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 03:13:03] Production.INFO: ==3685== Releasing lock...
[2025-01-10 03:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 03:13:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 03:13:03] Production.INFO: Account Balance Start.
[2025-01-10 03:13:03] Production.INFO: CreateAllLog Start
[2025-01-10 03:13:03] Production.INFO: 117
[2025-01-10 03:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 03:13:03] Production.INFO: Date 2025-01-08
[2025-01-10 03:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:13:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:13:03] Production.INFO: ==3677== Releasing lock...
[2025-01-10 03:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 03:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 03:13:03] Production.INFO: Date 2025-01-09
[2025-01-10 03:13:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:13:03] Production.INFO: Date 2025-01-10
[2025-01-10 03:13:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:13:03] Production.INFO: Total Charge 0
[2025-01-10 03:13:03] Production.INFO: CreateAllLog End
[2025-01-10 03:13:04] Production.ERROR: done
[2025-01-10 03:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 03:13:04] Production.ERROR: done
[2025-01-10 03:13:04] Production.INFO: Account Balance End.
[2025-01-10 03:13:04] Production.ERROR: CronJobId end 12
[2025-01-10 03:13:04] Production.INFO: ==3681== Releasing lock...
[2025-01-10 03:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 03:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 03:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 00:13:05
[end_date_ymd] => 2025-01-10 03:13:05
[RateCDR] => 1
)
[2025-01-10 03:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 00:13:05' and `end` < '2025-01-10 03:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 03:13:10] Production.ERROR: CronJobId end10
[2025-01-10 03:13:10] Production.INFO: ==3679== Releasing lock...
[2025-01-10 03:13:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 03:13:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 03:13:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 03:13:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 03:13:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 03:13:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 03:13:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 03:13:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 03:13:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 03:13:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 03:13:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 03:13:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 03:13:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 03:13:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 03:13:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 03:13:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 03:13:12] Production.INFO: call_cost start
[2025-01-10 03:13:12] Production.INFO: call_cost end
[2025-01-10 03:13:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 03:13:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 03:13:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 03:13:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 03:13:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 03:13:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 03:13:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 03:13:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 03:13:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 03:13:13] Production.INFO: ==3675== Releasing lock...
[2025-01-10 03:13:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 03:13:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 03:13:19] Production.INFO: count ==176
[2025-01-10 03:13:19] Production.ERROR: pbx CDR StartTime 2025-01-10 00:13:05 - End Time 2025-01-10 03:13:05
[2025-01-10 03:13:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 03:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214086', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214086', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214086', 'tblTempVendorCDR_20' ) start
[2025-01-10 03:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214086', 'tblTempVendorCDR_20' ) end
[2025-01-10 03:13:19] Production.INFO: ProcessCDR(1,14214086,1,1,2)
[2025-01-10 03:13:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214086,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:13:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214086,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:13:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214086,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:13:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214086,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214086', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214086', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:13:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:13:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:13:22] Production.INFO: ==3683== Releasing lock...
[2025-01-10 03:13:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 03:13:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 08:14:01] Production.INFO: ==3737== Lock acquired, processing the job...
[2025-01-10 08:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 08:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 08:14:01] Production.INFO: neon service started
[2025-01-10 08:14:01] Production.INFO: neon service started
[2025-01-10 08:14:01] Production.INFO: ==3737== Releasing lock...
[2025-01-10 08:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 08:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:14:01] Production.INFO: ==3739== Lock acquired, processing the job...
[2025-01-10 03:14:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:14:02] Production.INFO: ==3741== Lock acquired, processing the job...
[2025-01-10 08:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 08:14:02] Production.INFO: ==3741== Releasing lock...
[2025-01-10 08:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 08:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 03:14:02] Production.INFO: ==3739== Releasing lock...
[2025-01-10 03:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 03:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 03:14:03] Production.INFO: ==3744== Lock acquired, processing the job...
[2025-01-10 03:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 03:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 03:14:03] Production.INFO: ==3748== Lock acquired, processing the job...
[2025-01-10 03:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 03:14:03] Production.INFO: ==3746== Lock acquired, processing the job...
[2025-01-10 03:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 03:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 03:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 03:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 03:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 03:14:03] Production.INFO: ==3750== Lock acquired, processing the job...
[2025-01-10 03:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 03:14:03] Production.INFO: ==3754== Lock acquired, processing the job...
[2025-01-10 03:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 03:14:03] Production.INFO: ==3752== Lock acquired, processing the job...
[2025-01-10 03:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 03:14:03] Production.INFO: Account Balance Start.
[2025-01-10 03:14:03] Production.INFO: CreateAllLog Start
[2025-01-10 03:14:03] Production.INFO: 117
[2025-01-10 03:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:14:03] Production.INFO: Date 2025-01-08
[2025-01-10 03:14:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:14:03] Production.INFO: count ==21
[2025-01-10 03:14:03] Production.INFO: Date 2025-01-09
[2025-01-10 03:14:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:14:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:14:03] Production.INFO: count ==21
[2025-01-10 03:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214090') start
[2025-01-10 03:14:03] Production.INFO: Date 2025-01-10
[2025-01-10 03:14:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:14:03] Production.INFO: Total Charge 0
[2025-01-10 03:14:03] Production.INFO: ==3746== Releasing lock...
[2025-01-10 03:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 03:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 03:14:03] Production.INFO: CreateAllLog End
[2025-01-10 03:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214090') end
[2025-01-10 03:14:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 03:14:03] Production.INFO: 1
[2025-01-10 03:14:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 03:14:04] Production.INFO: ==3754== Releasing lock...
[2025-01-10 03:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 03:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 03:14:04] Production.ERROR: done
[2025-01-10 03:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 03:14:04] Production.INFO: Account Balance End.
[2025-01-10 03:14:04] Production.ERROR: CronJobId end 12
[2025-01-10 03:14:04] Production.INFO: ==3750== Releasing lock...
[2025-01-10 03:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 03:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 03:14:04] Production.ERROR: done
[2025-01-10 03:14:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 00:14:04
[end_date_ymd] => 2025-01-10 03:14:04
[RateCDR] => 1
)
[2025-01-10 03:14:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 00:14:04' and `end` < '2025-01-10 03:14:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 03:14:10] Production.ERROR: CronJobId end10
[2025-01-10 03:14:10] Production.INFO: ==3748== Releasing lock...
[2025-01-10 03:14:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 03:14:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 03:14:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 03:14:11] Production.INFO: ============== Balance Warning START===========
[2025-01-10 03:14:11] Production.INFO: ============== Balance Warning END===========
[2025-01-10 03:14:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 03:14:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 03:14:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 03:14:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 03:14:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 03:14:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 03:14:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 03:14:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 03:14:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 03:14:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 03:14:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 03:14:12] Production.INFO: call_cost start
[2025-01-10 03:14:12] Production.INFO: call_cost end
[2025-01-10 03:14:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 03:14:12] Production.INFO: ============== Report Schedule START===========
[2025-01-10 03:14:12] Production.INFO: ============== Report Schedule END===========
[2025-01-10 03:14:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 03:14:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 03:14:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 03:14:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 03:14:12] Production.INFO: ============== Deal alert START===========
[2025-01-10 03:14:12] Production.INFO: ============== Deal alert END===========
[2025-01-10 03:14:12] Production.INFO: ==3744== Releasing lock...
[2025-01-10 03:14:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 03:14:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 03:14:18] Production.INFO: count ==176
[2025-01-10 03:14:18] Production.ERROR: pbx CDR StartTime 2025-01-10 00:14:04 - End Time 2025-01-10 03:14:04
[2025-01-10 03:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 03:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214091', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214091', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214091', 'tblTempVendorCDR_20' ) start
[2025-01-10 03:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214091', 'tblTempVendorCDR_20' ) end
[2025-01-10 03:14:18] Production.INFO: ProcessCDR(1,14214091,1,1,2)
[2025-01-10 03:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214091,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214091,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214091,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214091,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214091', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214091', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:14:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:14:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:14:22] Production.INFO: ==3752== Releasing lock...
[2025-01-10 03:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 03:14:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 08:15:02] Production.INFO: ==3807== Lock acquired, processing the job...
[2025-01-10 08:15:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 08:15:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 08:15:02] Production.INFO: neon service started
[2025-01-10 08:15:02] Production.INFO: neon service started
[2025-01-10 08:15:02] Production.INFO: ==3807== Releasing lock...
[2025-01-10 08:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 08:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:15:02] Production.INFO: ==3809== Lock acquired, processing the job...
[2025-01-10 03:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:15:02] Production.INFO: ==3811== Lock acquired, processing the job...
[2025-01-10 08:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 03:15:02] Production.INFO: ==3809== Releasing lock...
[2025-01-10 03:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 03:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:15:02] Production.INFO: ==3811== Releasing lock...
[2025-01-10 08:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 08:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 03:15:03] Production.INFO: ==3814== Lock acquired, processing the job...
[2025-01-10 03:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 03:15:03] Production.INFO: ==3816== Lock acquired, processing the job...
[2025-01-10 03:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 03:15:03] Production.INFO: ==3820== Lock acquired, processing the job...
[2025-01-10 03:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 03:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 03:15:03] Production.INFO: ==3818== Lock acquired, processing the job...
[2025-01-10 03:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 03:15:03] Production.INFO: Account Balance Start.
[2025-01-10 03:15:03] Production.INFO: CreateAllLog Start
[2025-01-10 03:15:03] Production.INFO: 117
[2025-01-10 03:15:03] Production.INFO: Date 2025-01-08
[2025-01-10 03:15:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 03:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 03:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 03:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 03:15:03] Production.INFO: ==3822== Lock acquired, processing the job...
[2025-01-10 03:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 03:15:03] Production.INFO: Date 2025-01-09
[2025-01-10 03:15:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:15:03] Production.INFO: Date 2025-01-10
[2025-01-10 03:15:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:15:03] Production.INFO: Total Charge 0
[2025-01-10 03:15:03] Production.INFO: ==3816== Releasing lock...
[2025-01-10 03:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 03:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 03:15:03] Production.INFO: CreateAllLog End
[2025-01-10 03:15:03] Production.INFO: ==3824== Lock acquired, processing the job...
[2025-01-10 03:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 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-01-10 03:15:04] Production.INFO: Account Balance End.
[2025-01-10 03:15:04] Production.INFO: count ==21
[2025-01-10 03:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:15:04] Production.ERROR: CronJobId end 12
[2025-01-10 03:15:04] Production.INFO: ==3820== Releasing lock...
[2025-01-10 03:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 03:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 03:15:04] Production.INFO: count ==21
[2025-01-10 03:15:04] Production.ERROR: done
[2025-01-10 03:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214095') start
[2025-01-10 03:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 03:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214095') end
[2025-01-10 03:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 03:15:04] Production.INFO: 1
[2025-01-10 03:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 03:15:04] Production.INFO: ==3824== Releasing lock...
[2025-01-10 03:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 03:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 03:15:04] Production.ERROR: done
[2025-01-10 03:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 00:15:05
[end_date_ymd] => 2025-01-10 03:15:05
[RateCDR] => 1
)
[2025-01-10 03:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 00:15:05' and `end` < '2025-01-10 03:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 03:15:10] Production.ERROR: CronJobId end10
[2025-01-10 03:15:10] Production.INFO: ==3818== Releasing lock...
[2025-01-10 03:15:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 03:15:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 03:15:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 03:15:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 03:15:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 03:15:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 03:15:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 03:15:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 03:15:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 03:15:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 03:15:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 03:15:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 03:15:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 03:15:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 03:15:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 03:15:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 03:15:13] Production.INFO: call_cost start
[2025-01-10 03:15:13] Production.INFO: call_cost end
[2025-01-10 03:15:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 03:15:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 03:15:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 03:15:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 03:15:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 03:15:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 03:15:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 03:15:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 03:15:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 03:15:13] Production.INFO: ==3814== Releasing lock...
[2025-01-10 03:15:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 03:15:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 03:15:18] Production.INFO: count ==176
[2025-01-10 03:15:18] Production.ERROR: pbx CDR StartTime 2025-01-10 00:15:05 - End Time 2025-01-10 03:15:05
[2025-01-10 03:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 03:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214096', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214096', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214096', 'tblTempVendorCDR_20' ) start
[2025-01-10 03:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214096', 'tblTempVendorCDR_20' ) end
[2025-01-10 03:15:18] Production.INFO: ProcessCDR(1,14214096,1,1,2)
[2025-01-10 03:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214096,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214096,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214096,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214096,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214096', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214096', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:15:21] Production.INFO: ==3822== Releasing lock...
[2025-01-10 03:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 03:15:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 08:16:01] Production.INFO: ==3875== Lock acquired, processing the job...
[2025-01-10 08:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 08:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 08:16:01] Production.INFO: neon service started
[2025-01-10 08:16:01] Production.INFO: neon service started
[2025-01-10 08:16:01] Production.INFO: ==3875== Releasing lock...
[2025-01-10 08:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 08:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:16:01] Production.INFO: ==3877== Lock acquired, processing the job...
[2025-01-10 03:16:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 03:16:02] Production.INFO: ==3877== Releasing lock...
[2025-01-10 03:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 03:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:16:02] Production.INFO: ==3879== Lock acquired, processing the job...
[2025-01-10 08:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 08:16:02] Production.INFO: ==3879== Releasing lock...
[2025-01-10 08:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 08:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 03:16:02] Production.INFO: ==3881== Lock acquired, processing the job...
[2025-01-10 03:16:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 03:16:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 03:16:02] Production.INFO: ==3883== Lock acquired, processing the job...
[2025-01-10 03:16:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 03:16:03] Production.INFO: ==3885== Lock acquired, processing the job...
[2025-01-10 03:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 03:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 03:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 03:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 03:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 03:16:03] Production.INFO: ==3887== Lock acquired, processing the job...
[2025-01-10 03:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 03:16:03] Production.INFO: ==3889== Lock acquired, processing the job...
[2025-01-10 03:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 03:16:03] Production.INFO: ==3883== Releasing lock...
[2025-01-10 03:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 03:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 03:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:16:03] Production.INFO: ==3891== Lock acquired, processing the job...
[2025-01-10 03:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 03:16:03] Production.INFO: Account Balance Start.
[2025-01-10 03:16:03] Production.INFO: CreateAllLog Start
[2025-01-10 03:16:03] Production.INFO: 117
[2025-01-10 03:16:03] Production.INFO: Date 2025-01-08
[2025-01-10 03:16:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:16:03] Production.INFO: Date 2025-01-09
[2025-01-10 03:16:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:16:03] Production.INFO: Date 2025-01-10
[2025-01-10 03:16:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:16:03] Production.INFO: Total Charge 0
[2025-01-10 03:16:03] Production.INFO: CreateAllLog End
[2025-01-10 03:16:03] Production.ERROR: done
[2025-01-10 03:16:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 03:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:16:03] Production.INFO: count ==21
[2025-01-10 03:16:03] Production.ERROR: done
[2025-01-10 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-01-10 03:16:03] Production.INFO: count ==21
[2025-01-10 03:16:03] Production.INFO: Account Balance End.
[2025-01-10 03:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214100') start
[2025-01-10 03:16:03] Production.ERROR: CronJobId end 12
[2025-01-10 03:16:03] Production.INFO: ==3887== Releasing lock...
[2025-01-10 03:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 03:16:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 03:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214100') end
[2025-01-10 03:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 03:16:04] Production.INFO: 1
[2025-01-10 03:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 03:16:04] Production.INFO: ==3891== Releasing lock...
[2025-01-10 03:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 03:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 03:16:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 00:16:04
[end_date_ymd] => 2025-01-10 03:16:04
[RateCDR] => 1
)
[2025-01-10 03:16:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 00:16:04' and `end` < '2025-01-10 03:16:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 03:16:09] Production.ERROR: CronJobId end10
[2025-01-10 03:16:09] Production.INFO: ==3885== Releasing lock...
[2025-01-10 03:16:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 03:16:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 03:16:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 03:16:11] Production.INFO: ============== Balance Warning START===========
[2025-01-10 03:16:11] Production.INFO: ============== Balance Warning END===========
[2025-01-10 03:16:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 03:16:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 03:16:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 03:16:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 03:16:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 03:16:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 03:16:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 03:16:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 03:16:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 03:16:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 03:16:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 03:16:11] Production.INFO: call_cost start
[2025-01-10 03:16:11] Production.INFO: call_cost end
[2025-01-10 03:16:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 03:16:12] Production.INFO: ============== Report Schedule START===========
[2025-01-10 03:16:12] Production.INFO: ============== Report Schedule END===========
[2025-01-10 03:16:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 03:16:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 03:16:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 03:16:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 03:16:12] Production.INFO: ============== Deal alert START===========
[2025-01-10 03:16:12] Production.INFO: ============== Deal alert END===========
[2025-01-10 03:16:12] Production.INFO: ==3881== Releasing lock...
[2025-01-10 03:16:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 03:16:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 03:16:18] Production.INFO: count ==176
[2025-01-10 03:16:18] Production.ERROR: pbx CDR StartTime 2025-01-10 00:16:04 - End Time 2025-01-10 03:16:04
[2025-01-10 03:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 03:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214101', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214101', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214101', 'tblTempVendorCDR_20' ) start
[2025-01-10 03:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214101', 'tblTempVendorCDR_20' ) end
[2025-01-10 03:16:18] Production.INFO: ProcessCDR(1,14214101,1,1,2)
[2025-01-10 03:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214101,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214101,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214101,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214101,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214101', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214101', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:16:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:16:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:16:21] Production.INFO: ==3889== Releasing lock...
[2025-01-10 03:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 03:16:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 08:17:01] Production.INFO: ==4028== Lock acquired, processing the job...
[2025-01-10 08:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 08:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 08:17:01] Production.INFO: neon service started
[2025-01-10 08:17:01] Production.INFO: neon service started
[2025-01-10 08:17:01] Production.INFO: ==4028== Releasing lock...
[2025-01-10 08:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 08:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:17:02] Production.INFO: ==4030== Lock acquired, processing the job...
[2025-01-10 03:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 03:17:02] Production.INFO: ==4030== Releasing lock...
[2025-01-10 03:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 03:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:17:02] Production.INFO: ==4032== Lock acquired, processing the job...
[2025-01-10 08:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 08:17:02] Production.INFO: ==4032== Releasing lock...
[2025-01-10 08:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 08:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 03:17:03] Production.INFO: ==4034== Lock acquired, processing the job...
[2025-01-10 03:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 03:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 03:17:03] Production.INFO: ==4038== Lock acquired, processing the job...
[2025-01-10 03:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 03:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 03:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 03:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 03:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 03:17:03] Production.INFO: ==4040== Lock acquired, processing the job...
[2025-01-10 03:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 03:17:03] Production.INFO: ==4036== Lock acquired, processing the job...
[2025-01-10 03:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 03:17:03] Production.INFO: Account Balance Start.
[2025-01-10 03:17:03] Production.INFO: CreateAllLog Start
[2025-01-10 03:17:03] Production.INFO: 117
[2025-01-10 03:17:03] Production.INFO: Date 2025-01-08
[2025-01-10 03:17:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:17:03] Production.INFO: ==4042== Lock acquired, processing the job...
[2025-01-10 03:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 03:17:03] Production.INFO: Date 2025-01-09
[2025-01-10 03:17:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:17:03] Production.INFO: Date 2025-01-10
[2025-01-10 03:17:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:17:03] Production.INFO: Total Charge 0
[2025-01-10 03:17:03] Production.INFO: ==4044== Lock acquired, processing the job...
[2025-01-10 03:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 03:17:03] Production.INFO: CreateAllLog End
[2025-01-10 03:17:03] Production.INFO: ==4036== Releasing lock...
[2025-01-10 03:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 03:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 03:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:17:03] Production.INFO: count ==21
[2025-01-10 03:17:04] Production.ERROR: done
[2025-01-10 03:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 03:17:04] Production.INFO: count ==21
[2025-01-10 03:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214105') start
[2025-01-10 03:17:04] Production.INFO: Account Balance End.
[2025-01-10 03:17:04] Production.ERROR: CronJobId end 12
[2025-01-10 03:17:04] Production.INFO: ==4040== Releasing lock...
[2025-01-10 03:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 03:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 03:17:04] Production.ERROR: done
[2025-01-10 03:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214105') end
[2025-01-10 03:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 03:17:04] Production.INFO: 1
[2025-01-10 03:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 03:17:04] Production.INFO: ==4044== Releasing lock...
[2025-01-10 03:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 03:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 03:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 00:17:05
[end_date_ymd] => 2025-01-10 03:17:05
[RateCDR] => 1
)
[2025-01-10 03:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 00:17:05' and `end` < '2025-01-10 03:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 03:17:10] Production.ERROR: CronJobId end10
[2025-01-10 03:17:10] Production.INFO: ==4038== Releasing lock...
[2025-01-10 03:17:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 03:17:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 03:17:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 03:17:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 03:17:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 03:17:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 03:17:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 03:17:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 03:17:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 03:17:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 03:17:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 03:17:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 03:17:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 03:17:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 03:17:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 03:17:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 03:17:12] Production.INFO: call_cost start
[2025-01-10 03:17:12] Production.INFO: call_cost end
[2025-01-10 03:17:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 03:17:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 03:17:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 03:17:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 03:17:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 03:17:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 03:17:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 03:17:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 03:17:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 03:17:13] Production.INFO: ==4034== Releasing lock...
[2025-01-10 03:17:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 03:17:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 03:17:18] Production.INFO: count ==176
[2025-01-10 03:17:19] Production.ERROR: pbx CDR StartTime 2025-01-10 00:17:05 - End Time 2025-01-10 03:17:05
[2025-01-10 03:17:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 03:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214106', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214106', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214106', 'tblTempVendorCDR_20' ) start
[2025-01-10 03:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214106', 'tblTempVendorCDR_20' ) end
[2025-01-10 03:17:19] Production.INFO: ProcessCDR(1,14214106,1,1,2)
[2025-01-10 03:17:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214106,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214106,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214106,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:17:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214106,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214106', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214106', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:17:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:17:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:17:22] Production.INFO: ==4042== Releasing lock...
[2025-01-10 03:17:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 03:17:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 08:18:01] Production.INFO: ==4105== Lock acquired, processing the job...
[2025-01-10 08:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 08:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 08:18:01] Production.INFO: neon service started
[2025-01-10 08:18:01] Production.INFO: neon service started
[2025-01-10 08:18:01] Production.INFO: ==4105== Releasing lock...
[2025-01-10 08:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 08:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:18:01] Production.INFO: ==4107== Lock acquired, processing the job...
[2025-01-10 03:18:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 03:18:01] Production.INFO: ==4107== Releasing lock...
[2025-01-10 03:18:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 03:18:01] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:18:02] Production.INFO: ==4109== Lock acquired, processing the job...
[2025-01-10 08:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 08:18:02] Production.INFO: ==4109== Releasing lock...
[2025-01-10 08:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 08:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 03:18:02] Production.INFO: ==4112== Lock acquired, processing the job...
[2025-01-10 03:18:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 03:18:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 03:18:02] Production.INFO: ==4116== Lock acquired, processing the job...
[2025-01-10 03:18:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 03:18:02] Production.INFO: ==4114== Lock acquired, processing the job...
[2025-01-10 03:18:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 03:18:02] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 03:18:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 03:18:02] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 03:18:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 03:18:03] Production.INFO: ==4118== Lock acquired, processing the job...
[2025-01-10 03:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 03:18:03] Production.INFO: ==4120== Lock acquired, processing the job...
[2025-01-10 03:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 03:18:03] Production.INFO: ==4122== Lock acquired, processing the job...
[2025-01-10 03:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 03:18:03] Production.INFO: ==4114== Releasing lock...
[2025-01-10 03:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 03:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 03:18:03] Production.INFO: Account Balance Start.
[2025-01-10 03:18:03] Production.INFO: CreateAllLog Start
[2025-01-10 03:18:03] Production.INFO: 117
[2025-01-10 03:18:03] Production.INFO: Date 2025-01-08
[2025-01-10 03:18:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:18:03] Production.INFO: Date 2025-01-09
[2025-01-10 03:18:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:18:03] Production.INFO: Date 2025-01-10
[2025-01-10 03:18:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:18:03] Production.INFO: count ==21
[2025-01-10 03:18:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:18:03] Production.INFO: count ==21
[2025-01-10 03:18:03] Production.INFO: Total Charge 0
[2025-01-10 03:18:03] Production.INFO: CreateAllLog End
[2025-01-10 03:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214110') start
[2025-01-10 03:18:03] Production.ERROR: done
[2025-01-10 03:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214110') end
[2025-01-10 03:18:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 03:18:03] Production.INFO: 1
[2025-01-10 03:18:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 03:18:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 03:18:03] Production.INFO: Account Balance End.
[2025-01-10 03:18:03] Production.INFO: ==4122== Releasing lock...
[2025-01-10 03:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 03:18:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 03:18:03] Production.ERROR: CronJobId end 12
[2025-01-10 03:18:03] Production.INFO: ==4118== Releasing lock...
[2025-01-10 03:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 03:18:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 03:18:03] Production.ERROR: done
[2025-01-10 03:18:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 00:18:04
[end_date_ymd] => 2025-01-10 03:18:04
[RateCDR] => 1
)
[2025-01-10 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-01-10 00:18:04' and `end` < '2025-01-10 03:18:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 03:18:09] Production.ERROR: CronJobId end10
[2025-01-10 03:18:09] Production.INFO: ==4116== Releasing lock...
[2025-01-10 03:18:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 03:18:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 03:18:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 03:18:11] Production.INFO: ============== Balance Warning START===========
[2025-01-10 03:18:11] Production.INFO: ============== Balance Warning END===========
[2025-01-10 03:18:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 03:18:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 03:18:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 03:18:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 03:18:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 03:18:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 03:18:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 03:18:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 03:18:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 03:18:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 03:18:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 03:18:11] Production.INFO: call_cost start
[2025-01-10 03:18:11] Production.INFO: call_cost end
[2025-01-10 03:18:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 03:18:12] Production.INFO: ============== Report Schedule START===========
[2025-01-10 03:18:12] Production.INFO: ============== Report Schedule END===========
[2025-01-10 03:18:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 03:18:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 03:18:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 03:18:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 03:18:12] Production.INFO: ============== Deal alert START===========
[2025-01-10 03:18:12] Production.INFO: ============== Deal alert END===========
[2025-01-10 03:18:12] Production.INFO: ==4112== Releasing lock...
[2025-01-10 03:18:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 03:18:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 03:18:17] Production.INFO: count ==176
[2025-01-10 03:18:17] Production.ERROR: pbx CDR StartTime 2025-01-10 00:18:04 - End Time 2025-01-10 03:18:04
[2025-01-10 03:18:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 03:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214111', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214111', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214111', 'tblTempVendorCDR_20' ) start
[2025-01-10 03:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214111', 'tblTempVendorCDR_20' ) end
[2025-01-10 03:18:17] Production.INFO: ProcessCDR(1,14214111,1,1,2)
[2025-01-10 03:18:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214111,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:18:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214111,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:18:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214111,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:18:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214111,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:18:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214111', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:18:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214111', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:18:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:18:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:18:20] Production.INFO: ==4120== Releasing lock...
[2025-01-10 03:18:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 03:18:20] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 08:19:01] Production.INFO: ==4173== Lock acquired, processing the job...
[2025-01-10 08:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 08:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 08:19:01] Production.INFO: neon service started
[2025-01-10 08:19:01] Production.INFO: neon service started
[2025-01-10 08:19:01] Production.INFO: ==4173== Releasing lock...
[2025-01-10 08:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 08:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:19:02] Production.INFO: ==4175== Lock acquired, processing the job...
[2025-01-10 03:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 03:19:02] Production.INFO: ==4175== Releasing lock...
[2025-01-10 03:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 03:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:19:02] Production.INFO: ==4177== Lock acquired, processing the job...
[2025-01-10 08:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 08:19:02] Production.INFO: ==4177== Releasing lock...
[2025-01-10 08:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 08:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 03:19:03] Production.INFO: ==4188== Lock acquired, processing the job...
[2025-01-10 03:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 03:19:03] Production.INFO: ==4184== Lock acquired, processing the job...
[2025-01-10 03:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 03:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:19:03] Production.INFO: ==4180== Lock acquired, processing the job...
[2025-01-10 03:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 03:19:03] Production.INFO: ==4182== Lock acquired, processing the job...
[2025-01-10 03:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 03:19:03] Production.INFO: ==4186== Lock acquired, processing the job...
[2025-01-10 03:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 03:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 03:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 03:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 03:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 03:19:03] Production.INFO: ==4190== Lock acquired, processing the job...
[2025-01-10 03:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 03:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 03:19:03] Production.INFO: Account Balance Start.
[2025-01-10 03:19:03] Production.INFO: CreateAllLog Start
[2025-01-10 03:19:03] Production.INFO: 117
[2025-01-10 03:19:03] Production.INFO: Date 2025-01-08
[2025-01-10 03:19:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:19:03] Production.ERROR: done
[2025-01-10 03:19:03] Production.INFO: Date 2025-01-09
[2025-01-10 03:19:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 03:19:03] Production.INFO: Date 2025-01-10
[2025-01-10 03:19:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:19:03] Production.ERROR: done
[2025-01-10 03:19:03] Production.INFO: ==4182== Releasing lock...
[2025-01-10 03:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 03:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 03:19:03] Production.INFO: Total Charge 0
[2025-01-10 03:19:03] Production.INFO: count ==21
[2025-01-10 03:19:03] Production.INFO: CreateAllLog End
[2025-01-10 03:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:19:03] Production.INFO: count ==21
[2025-01-10 03:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214115') start
[2025-01-10 03:19:04] Production.INFO: Account Balance End.
[2025-01-10 03:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214115') end
[2025-01-10 03:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 03:19:04] Production.INFO: 1
[2025-01-10 03:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 03:19:04] Production.INFO: ==4190== Releasing lock...
[2025-01-10 03:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 03:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 03:19:04] Production.ERROR: CronJobId end 12
[2025-01-10 03:19:04] Production.INFO: ==4186== Releasing lock...
[2025-01-10 03:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 03:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 03:19:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 00:19:04
[end_date_ymd] => 2025-01-10 03:19:04
[RateCDR] => 1
)
[2025-01-10 03:19:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 00:19:04' and `end` < '2025-01-10 03:19:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 03:19:10] Production.ERROR: CronJobId end10
[2025-01-10 03:19:10] Production.INFO: ==4184== Releasing lock...
[2025-01-10 03:19:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 03:19:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 03:19:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 03:19:11] Production.INFO: ============== Balance Warning START===========
[2025-01-10 03:19:11] Production.INFO: ============== Balance Warning END===========
[2025-01-10 03:19:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 03:19:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 03:19:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 03:19:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 03:19:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 03:19:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 03:19:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 03:19:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 03:19:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 03:19:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 03:19:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 03:19:12] Production.INFO: call_cost start
[2025-01-10 03:19:12] Production.INFO: call_cost end
[2025-01-10 03:19:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 03:19:12] Production.INFO: ============== Report Schedule START===========
[2025-01-10 03:19:12] Production.INFO: ============== Report Schedule END===========
[2025-01-10 03:19:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 03:19:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 03:19:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 03:19:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 03:19:12] Production.INFO: ============== Deal alert START===========
[2025-01-10 03:19:12] Production.INFO: ============== Deal alert END===========
[2025-01-10 03:19:12] Production.INFO: ==4180== Releasing lock...
[2025-01-10 03:19:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 03:19:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 03:19:19] Production.INFO: count ==176
[2025-01-10 03:19:19] Production.ERROR: pbx CDR StartTime 2025-01-10 00:19:04 - End Time 2025-01-10 03:19:04
[2025-01-10 03:19:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 03:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214116', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214116', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214116', 'tblTempVendorCDR_20' ) start
[2025-01-10 03:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214116', 'tblTempVendorCDR_20' ) end
[2025-01-10 03:19:19] Production.INFO: ProcessCDR(1,14214116,1,1,2)
[2025-01-10 03:19:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214116,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:19:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214116,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:19:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214116,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:19:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214116,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214116', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214116', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:19:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:19:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:19:22] Production.INFO: ==4188== Releasing lock...
[2025-01-10 03:19:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 03:19:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 08:20:02] Production.INFO: ==4246== Lock acquired, processing the job...
[2025-01-10 08:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 08:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 08:20:02] Production.INFO: neon service started
[2025-01-10 08:20:02] Production.INFO: neon service started
[2025-01-10 08:20:02] Production.INFO: ==4246== Releasing lock...
[2025-01-10 08:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 08:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:20:02] Production.INFO: ==4248== Lock acquired, processing the job...
[2025-01-10 03:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:20:02] Production.INFO: ==4250== Lock acquired, processing the job...
[2025-01-10 08:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 08:20:02] Production.INFO: ==4250== Releasing lock...
[2025-01-10 08:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 08:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 03:20:02] Production.INFO: ==4248== Releasing lock...
[2025-01-10 03:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 03:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 03:20:03] Production.INFO: ==4256== Lock acquired, processing the job...
[2025-01-10 03:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 03:20:03] Production.INFO: ==4260== Lock acquired, processing the job...
[2025-01-10 03:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 03:20:03] Production.INFO: ==4252== Lock acquired, processing the job...
[2025-01-10 03:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 03:20:04] Production.INFO: Account Balance Start.
[2025-01-10 03:20:04] Production.INFO: CreateAllLog Start
[2025-01-10 03:20:04] Production.INFO: 117
[2025-01-10 03:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 03:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 03:20:04] Production.ERROR: CronJob PID - 4256
[2025-01-10 03:20:04] Production.ERROR: CronJob Title - Account Block
[2025-01-10 03:20:04] Production.ERROR: CronJob ID - 7
[2025-01-10 03:20:04] Production.ERROR: CronJob Last Run Time 2025-01-10 03:20:00
[2025-01-10 03:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 03:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 03:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 03:20:04] Production.ERROR: CronJob PID - 4260
[2025-01-10 03:20:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-10 03:20:04] Production.ERROR: CronJob ID - 12
[2025-01-10 03:20:04] Production.ERROR: CronJob Last Run Time 2025-01-10 03:20:00
[2025-01-10 03:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 03:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 03:20:04] Production.INFO: ==4254== Lock acquired, processing the job...
[2025-01-10 03:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 03:20:04] Production.INFO: Date 2025-01-08
[2025-01-10 03:20:04] Production.INFO: ==4258== Lock acquired, processing the job...
[2025-01-10 03:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 03:20:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 03:20:04] Production.INFO: ==4252== Releasing lock...
[2025-01-10 03:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 03:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 03:20:04] Production.INFO: Date 2025-01-09
[2025-01-10 03:20:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 03:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 03:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 03:20:04] Production.INFO: ==4262== Lock acquired, processing the job...
[2025-01-10 03:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 03:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 03:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 03:20:04] Production.INFO: ==4266== Lock acquired, processing the job...
[2025-01-10 03:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 03:20:04] Production.INFO: Date 2025-01-10
[2025-01-10 03:20:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:20:04] Production.INFO: ==4256== Releasing lock...
[2025-01-10 03:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 03:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 03:20:04] Production.INFO: Total Charge 0
[2025-01-10 03:20:04] Production.INFO: ==4264== Lock acquired, processing the job...
[2025-01-10 03:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 03:20:04] Production.INFO: CreateAllLog End
[2025-01-10 03:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:20:04] Production.INFO: count ==21
[2025-01-10 03:20:04] Production.ERROR: done
[2025-01-10 03:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 03:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:20:04] Production.INFO: count ==21
[2025-01-10 03:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214120') start
[2025-01-10 03:20:04] Production.INFO: Account Balance End.
[2025-01-10 03:20:04] Production.ERROR: done
[2025-01-10 03:20:04] Production.ERROR: CronJobId end 12
[2025-01-10 03:20:04] Production.INFO: ==4260== Releasing lock...
[2025-01-10 03:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 03:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 03:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214120') end
[2025-01-10 03:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 03:20:04] Production.INFO: 1
[2025-01-10 03:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 03:20:04] Production.INFO: ==4266== Releasing lock...
[2025-01-10 03:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 03:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 03:20:04] Production.ERROR: done
[2025-01-10 03:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 03:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14214122', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 03:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 00:20:05
[end_date_ymd] => 2025-01-10 03:20:05
[RateCDR] => 1
)
[2025-01-10 03:20:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 00:20:05' and `end` < '2025-01-10 03:20:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 03:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14214122', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 03:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 03:20:08] Production.INFO: ProcessCDR(1,14214122,1,1,2)
[2025-01-10 03:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14214122,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14214122,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:20:08] Production.INFO: ==4264== Releasing lock...
[2025-01-10 03:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 03:20:08] Production.INFO: 26 MB #Memory Used#
[2025-01-10 03:20:12] Production.ERROR: CronJobId end10
[2025-01-10 03:20:12] Production.INFO: ==4258== Releasing lock...
[2025-01-10 03:20:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 03:20:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 03:20:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 03:20:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 03:20:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 03:20:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 03:20:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 03:20:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 03:20:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 03:20:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 03:20:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 03:20:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 03:20:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 03:20:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 03:20:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 03:20:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 03:20:15] Production.INFO: call_cost start
[2025-01-10 03:20:15] Production.INFO: call_cost end
[2025-01-10 03:20:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 03:20:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 03:20:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 03:20:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 03:20:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 03:20:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 03:20:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 03:20:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 03:20:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 03:20:15] Production.INFO: ==4254== Releasing lock...
[2025-01-10 03:20:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 03:20:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 03:20:19] Production.INFO: count ==178
[2025-01-10 03:20:19] Production.ERROR: pbx CDR StartTime 2025-01-10 00:20:05 - End Time 2025-01-10 03:20:05
[2025-01-10 03:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 03:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214121', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214121', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214121', 'tblTempVendorCDR_20' ) start
[2025-01-10 03:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214121', 'tblTempVendorCDR_20' ) end
[2025-01-10 03:20:19] Production.INFO: ProcessCDR(1,14214121,1,1,2)
[2025-01-10 03:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214121,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214121,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214121,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:20:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214121,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214121', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214121', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:20:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:20:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:20:23] Production.INFO: ==4262== Releasing lock...
[2025-01-10 03:20:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 03:20:23] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 08:21:01] Production.INFO: ==4326== Lock acquired, processing the job...
[2025-01-10 08:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 08:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 08:21:01] Production.INFO: neon service started
[2025-01-10 08:21:01] Production.INFO: neon service started
[2025-01-10 08:21:01] Production.INFO: ==4326== Releasing lock...
[2025-01-10 08:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 08:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:21:01] Production.INFO: ==4328== Lock acquired, processing the job...
[2025-01-10 03:21:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:21:02] Production.INFO: ==4330== Lock acquired, processing the job...
[2025-01-10 08:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 03:21:02] Production.INFO: ==4328== Releasing lock...
[2025-01-10 03:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 03:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:21:02] Production.INFO: ==4330== Releasing lock...
[2025-01-10 08:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 08:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 03:21:03] Production.INFO: ==4337== Lock acquired, processing the job...
[2025-01-10 03:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 03:21:03] Production.INFO: ==4339== Lock acquired, processing the job...
[2025-01-10 03:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 03:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 03:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 03:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 03:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 03:21:03] Production.INFO: Account Balance Start.
[2025-01-10 03:21:03] Production.INFO: CreateAllLog Start
[2025-01-10 03:21:03] Production.INFO: 117
[2025-01-10 03:21:03] Production.INFO: Date 2025-01-08
[2025-01-10 03:21:03] Production.INFO: ==4333== Lock acquired, processing the job...
[2025-01-10 03:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 03:21:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:21:03] Production.INFO: ==4335== Lock acquired, processing the job...
[2025-01-10 03:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 03:21:03] Production.INFO: Date 2025-01-09
[2025-01-10 03:21:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:21:03] Production.INFO: Date 2025-01-10
[2025-01-10 03:21:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:21:03] Production.INFO: ==4341== Lock acquired, processing the job...
[2025-01-10 03:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 03:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 03:21:03] Production.INFO: Total Charge 0
[2025-01-10 03:21:03] Production.INFO: ==4343== Lock acquired, processing the job...
[2025-01-10 03:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 03:21:03] Production.INFO: CreateAllLog End
[2025-01-10 03:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:21:03] Production.INFO: ==4335== Releasing lock...
[2025-01-10 03:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 03:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 03:21:03] Production.ERROR: done
[2025-01-10 03:21:03] Production.INFO: count ==21
[2025-01-10 03:21:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 03:21:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:21:03] Production.INFO: count ==21
[2025-01-10 03:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214126') start
[2025-01-10 03:21:03] Production.INFO: Account Balance End.
[2025-01-10 03:21:03] Production.ERROR: done
[2025-01-10 03:21:03] Production.ERROR: CronJobId end 12
[2025-01-10 03:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214126') end
[2025-01-10 03:21:03] Production.INFO: ==4339== Releasing lock...
[2025-01-10 03:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 03:21:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 03:21:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 03:21:03] Production.INFO: 1
[2025-01-10 03:21:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 03:21:03] Production.INFO: ==4343== Releasing lock...
[2025-01-10 03:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 03:21:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 03:21:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 00:21:04
[end_date_ymd] => 2025-01-10 03:21:04
[RateCDR] => 1
)
[2025-01-10 03:21:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 00:21:04' and `end` < '2025-01-10 03:21:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 03:21:09] Production.ERROR: CronJobId end10
[2025-01-10 03:21:09] Production.INFO: ==4337== Releasing lock...
[2025-01-10 03:21:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 03:21:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 03:21:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 03:21:11] Production.INFO: ============== Balance Warning START===========
[2025-01-10 03:21:11] Production.INFO: ============== Balance Warning END===========
[2025-01-10 03:21:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 03:21:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 03:21:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 03:21:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 03:21:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 03:21:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 03:21:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 03:21:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 03:21:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 03:21:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 03:21:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 03:21:12] Production.INFO: call_cost start
[2025-01-10 03:21:12] Production.INFO: call_cost end
[2025-01-10 03:21:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 03:21:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 03:21:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 03:21:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 03:21:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 03:21:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 03:21:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 03:21:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 03:21:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 03:21:13] Production.INFO: ==4333== Releasing lock...
[2025-01-10 03:21:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 03:21:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 03:21:17] Production.INFO: count ==178
[2025-01-10 03:21:17] Production.ERROR: pbx CDR StartTime 2025-01-10 00:21:04 - End Time 2025-01-10 03:21:04
[2025-01-10 03:21:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 03:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214127', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214127', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214127', 'tblTempVendorCDR_20' ) start
[2025-01-10 03:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214127', 'tblTempVendorCDR_20' ) end
[2025-01-10 03:21:17] Production.INFO: ProcessCDR(1,14214127,1,1,2)
[2025-01-10 03:21:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214127,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:21:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214127,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:21:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214127,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:21:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214127,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:21:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214127', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:21:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214127', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:21:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:21:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:21:20] Production.INFO: ==4341== Releasing lock...
[2025-01-10 03:21:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 03:21:20] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 08:22:01] Production.INFO: ==4402== Lock acquired, processing the job...
[2025-01-10 08:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 08:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 08:22:01] Production.INFO: neon service started
[2025-01-10 08:22:02] Production.INFO: neon service started
[2025-01-10 08:22:02] Production.INFO: ==4402== Releasing lock...
[2025-01-10 08:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 08:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:22:02] Production.INFO: ==4404== Lock acquired, processing the job...
[2025-01-10 03:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 03:22:02] Production.INFO: ==4404== Releasing lock...
[2025-01-10 03:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 03:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:22:02] Production.INFO: ==4406== Lock acquired, processing the job...
[2025-01-10 08:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 08:22:02] Production.INFO: ==4406== Releasing lock...
[2025-01-10 08:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 08:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 03:22:03] Production.INFO: ==4415== Lock acquired, processing the job...
[2025-01-10 03:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 03:22:03] Production.INFO: ==4419== Lock acquired, processing the job...
[2025-01-10 03:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 03:22:03] Production.INFO: ==4408== Lock acquired, processing the job...
[2025-01-10 03:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 03:22:03] Production.INFO: ==4410== Lock acquired, processing the job...
[2025-01-10 03:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 03:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:22:03] Production.INFO: count ==21
[2025-01-10 03:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 03:22:03] Production.INFO: ==4412== Lock acquired, processing the job...
[2025-01-10 03:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 03:22:03] Production.INFO: Account Balance Start.
[2025-01-10 03:22:03] Production.INFO: CreateAllLog Start
[2025-01-10 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-01-10 03:22:03] Production.INFO: count ==21
[2025-01-10 03:22:03] Production.INFO: 117
[2025-01-10 03:22:03] Production.INFO: Date 2025-01-08
[2025-01-10 03:22:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214128') start
[2025-01-10 03:22:03] Production.INFO: ==4417== Lock acquired, processing the job...
[2025-01-10 03:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 03:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 03:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 03:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 03:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 03:22:03] Production.INFO: Date 2025-01-09
[2025-01-10 03:22:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214128') end
[2025-01-10 03:22:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 03:22:03] Production.INFO: 1
[2025-01-10 03:22:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 03:22:03] Production.INFO: ==4419== Releasing lock...
[2025-01-10 03:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 03:22:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 03:22:03] Production.INFO: Date 2025-01-10
[2025-01-10 03:22:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:22:03] Production.INFO: Total Charge 0
[2025-01-10 03:22:03] Production.INFO: CreateAllLog End
[2025-01-10 03:22:03] Production.INFO: ==4410== Releasing lock...
[2025-01-10 03:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 03:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 03:22:04] Production.INFO: Account Balance End.
[2025-01-10 03:22:04] Production.ERROR: CronJobId end 12
[2025-01-10 03:22:04] Production.INFO: ==4415== Releasing lock...
[2025-01-10 03:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 03:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 03:22:04] Production.ERROR: done
[2025-01-10 03:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 03:22:04] Production.ERROR: done
[2025-01-10 03:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 00:22:05
[end_date_ymd] => 2025-01-10 03:22:05
[RateCDR] => 1
)
[2025-01-10 03:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 00:22:05' and `end` < '2025-01-10 03:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 03:22:11] Production.ERROR: CronJobId end10
[2025-01-10 03:22:11] Production.INFO: ==4412== Releasing lock...
[2025-01-10 03:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 03:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 03:22:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 03:22:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 03:22:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 03:22:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 03:22:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 03:22:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 03:22:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 03:22:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 03:22:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 03:22:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 03:22:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 03:22:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 03:22:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 03:22:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 03:22:12] Production.INFO: call_cost start
[2025-01-10 03:22:12] Production.INFO: call_cost end
[2025-01-10 03:22:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 03:22:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 03:22:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 03:22:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 03:22:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 03:22:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 03:22:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 03:22:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 03:22:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 03:22:13] Production.INFO: ==4408== Releasing lock...
[2025-01-10 03:22:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 03:22:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 03:22:18] Production.INFO: count ==178
[2025-01-10 03:22:18] Production.ERROR: pbx CDR StartTime 2025-01-10 00:22:05 - End Time 2025-01-10 03:22:05
[2025-01-10 03:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 03:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214132', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214132', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214132', 'tblTempVendorCDR_20' ) start
[2025-01-10 03:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214132', 'tblTempVendorCDR_20' ) end
[2025-01-10 03:22:18] Production.INFO: ProcessCDR(1,14214132,1,1,2)
[2025-01-10 03:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214132,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214132,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214132,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214132,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214132', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214132', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:22:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:22:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:22:21] Production.INFO: ==4417== Releasing lock...
[2025-01-10 03:22:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 03:22:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 08:23:01] Production.INFO: ==4480== Lock acquired, processing the job...
[2025-01-10 08:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 08:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 08:23:01] Production.INFO: neon service started
[2025-01-10 08:23:01] Production.INFO: neon service started
[2025-01-10 08:23:01] Production.INFO: ==4480== Releasing lock...
[2025-01-10 08:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 08:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:23:01] Production.INFO: ==4482== Lock acquired, processing the job...
[2025-01-10 03:23:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:23:01] Production.INFO: ==4484== Lock acquired, processing the job...
[2025-01-10 08:23:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 08:23:01] Production.INFO: ==4484== Releasing lock...
[2025-01-10 08:23:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 08:23:01] Production.INFO: 25 MB #Memory Used#
[2025-01-10 03:23:02] Production.INFO: ==4482== Releasing lock...
[2025-01-10 03:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 03:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 03:23:02] Production.INFO: ==4488== Lock acquired, processing the job...
[2025-01-10 03:23:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 03:23:02] Production.INFO: ==4490== Lock acquired, processing the job...
[2025-01-10 03:23:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 03:23:02] Production.INFO: ==4486== Lock acquired, processing the job...
[2025-01-10 03:23:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 03:23:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 03:23:02] Production.INFO: ==4492== Lock acquired, processing the job...
[2025-01-10 03:23:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 03:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 03:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 03:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 03:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 03:23:03] Production.INFO: ==4494== Lock acquired, processing the job...
[2025-01-10 03:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 03:23:03] Production.INFO: ==4497== Lock acquired, processing the job...
[2025-01-10 03:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 03:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:23:03] Production.INFO: Account Balance Start.
[2025-01-10 03:23:03] Production.INFO: CreateAllLog Start
[2025-01-10 03:23:03] Production.INFO: 117
[2025-01-10 03:23:03] Production.INFO: Date 2025-01-08
[2025-01-10 03:23:03] Production.INFO: count ==21
[2025-01-10 03:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:23:03] Production.INFO: count ==21
[2025-01-10 03:23:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214135') start
[2025-01-10 03:23:03] Production.INFO: ==4488== Releasing lock...
[2025-01-10 03:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 03:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 03:23:03] Production.INFO: Date 2025-01-09
[2025-01-10 03:23:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:23:03] Production.INFO: Date 2025-01-10
[2025-01-10 03:23:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:23:03] Production.INFO: Total Charge 0
[2025-01-10 03:23:03] Production.INFO: CreateAllLog End
[2025-01-10 03:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214135') end
[2025-01-10 03:23:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 03:23:03] Production.INFO: 1
[2025-01-10 03:23:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 03:23:03] Production.INFO: ==4497== Releasing lock...
[2025-01-10 03:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 03:23:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 03:23:03] Production.ERROR: done
[2025-01-10 03:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 03:23:03] Production.ERROR: done
[2025-01-10 03:23:03] Production.INFO: Account Balance End.
[2025-01-10 03:23:03] Production.ERROR: CronJobId end 12
[2025-01-10 03:23:03] Production.INFO: ==4492== Releasing lock...
[2025-01-10 03:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 03:23:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 03:23:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 00:23:04
[end_date_ymd] => 2025-01-10 03:23:04
[RateCDR] => 1
)
[2025-01-10 03:23:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 00:23:04' and `end` < '2025-01-10 03:23:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 03:23:09] Production.ERROR: CronJobId end10
[2025-01-10 03:23:09] Production.INFO: ==4490== Releasing lock...
[2025-01-10 03:23:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 03:23:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 03:23:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 03:23:11] Production.INFO: ============== Balance Warning START===========
[2025-01-10 03:23:11] Production.INFO: ============== Balance Warning END===========
[2025-01-10 03:23:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 03:23:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 03:23:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 03:23:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 03:23:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 03:23:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 03:23:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 03:23:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 03:23:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 03:23:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 03:23:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 03:23:11] Production.INFO: call_cost start
[2025-01-10 03:23:11] Production.INFO: call_cost end
[2025-01-10 03:23:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 03:23:12] Production.INFO: ============== Report Schedule START===========
[2025-01-10 03:23:12] Production.INFO: ============== Report Schedule END===========
[2025-01-10 03:23:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 03:23:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 03:23:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 03:23:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 03:23:12] Production.INFO: ============== Deal alert START===========
[2025-01-10 03:23:12] Production.INFO: ============== Deal alert END===========
[2025-01-10 03:23:12] Production.INFO: ==4486== Releasing lock...
[2025-01-10 03:23:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 03:23:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 03:23:17] Production.INFO: count ==178
[2025-01-10 03:23:17] Production.ERROR: pbx CDR StartTime 2025-01-10 00:23:04 - End Time 2025-01-10 03:23:04
[2025-01-10 03:23:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 03:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214137', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214137', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214137', 'tblTempVendorCDR_20' ) start
[2025-01-10 03:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214137', 'tblTempVendorCDR_20' ) end
[2025-01-10 03:23:17] Production.INFO: ProcessCDR(1,14214137,1,1,2)
[2025-01-10 03:23:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214137,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:23:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214137,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:23:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214137,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:23:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214137,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:23:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214137', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:23:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214137', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:23:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:23:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:23:20] Production.INFO: ==4494== Releasing lock...
[2025-01-10 03:23:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 03:23:20] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 08:24:01] Production.INFO: ==4606== Lock acquired, processing the job...
[2025-01-10 08:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 08:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 08:24:01] Production.INFO: neon service started
[2025-01-10 08:24:01] Production.INFO: neon service started
[2025-01-10 08:24:01] Production.INFO: ==4606== Releasing lock...
[2025-01-10 08:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 08:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:24:02] Production.INFO: ==4608== Lock acquired, processing the job...
[2025-01-10 03:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 03:24:02] Production.INFO: ==4608== Releasing lock...
[2025-01-10 03:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 03:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:24:02] Production.INFO: ==4610== Lock acquired, processing the job...
[2025-01-10 08:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 08:24:02] Production.INFO: ==4610== Releasing lock...
[2025-01-10 08:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 08:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 03:24:03] Production.INFO: ==4616== Lock acquired, processing the job...
[2025-01-10 03:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 03:24:03] Production.INFO: ==4618== Lock acquired, processing the job...
[2025-01-10 03:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 03:24:03] Production.INFO: Account Balance Start.
[2025-01-10 03:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 03:24:03] Production.INFO: CreateAllLog Start
[2025-01-10 03:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 03:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 03:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 03:24:03] Production.INFO: 117
[2025-01-10 03:24:03] Production.INFO: Date 2025-01-08
[2025-01-10 03:24:03] Production.INFO: ==4612== Lock acquired, processing the job...
[2025-01-10 03:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 03:24:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:24:03] Production.INFO: Date 2025-01-09
[2025-01-10 03:24:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:24:03] Production.INFO: Date 2025-01-10
[2025-01-10 03:24:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:24:03] Production.INFO: ==4614== Lock acquired, processing the job...
[2025-01-10 03:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 03:24:03] Production.INFO: Total Charge 0
[2025-01-10 03:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 03:24:03] Production.INFO: CreateAllLog End
[2025-01-10 03:24:03] Production.INFO: ==4620== Lock acquired, processing the job...
[2025-01-10 03:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 03:24:03] Production.INFO: ==4622== Lock acquired, processing the job...
[2025-01-10 03:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 03:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:24:03] Production.INFO: count ==21
[2025-01-10 03:24:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:24:03] Production.INFO: count ==21
[2025-01-10 03:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214140') start
[2025-01-10 03:24:03] Production.INFO: Account Balance End.
[2025-01-10 03:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214140') end
[2025-01-10 03:24:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 03:24:03] Production.INFO: 1
[2025-01-10 03:24:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 03:24:03] Production.INFO: ==4622== Releasing lock...
[2025-01-10 03:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 03:24:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 03:24:03] Production.ERROR: CronJobId end 12
[2025-01-10 03:24:03] Production.INFO: ==4618== Releasing lock...
[2025-01-10 03:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 03:24:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 03:24:04] Production.ERROR: done
[2025-01-10 03:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 03:24:04] Production.ERROR: done
[2025-01-10 03:24:04] Production.INFO: ==4614== Releasing lock...
[2025-01-10 03:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 03:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 03:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 00:24:05
[end_date_ymd] => 2025-01-10 03:24:05
[RateCDR] => 1
)
[2025-01-10 03:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 00:24:05' and `end` < '2025-01-10 03:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 03:24:09] Production.ERROR: CronJobId end10
[2025-01-10 03:24:09] Production.INFO: ==4616== Releasing lock...
[2025-01-10 03:24:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 03:24:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 03:24:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 03:24:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 03:24:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 03:24:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 03:24:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 03:24:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 03:24:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 03:24:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 03:24:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 03:24:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 03:24:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 03:24:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 03:24:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 03:24:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 03:24:12] Production.INFO: call_cost start
[2025-01-10 03:24:12] Production.INFO: call_cost end
[2025-01-10 03:24:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 03:24:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 03:24:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 03:24:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 03:24:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 03:24:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 03:24:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 03:24:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 03:24:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 03:24:13] Production.INFO: ==4612== Releasing lock...
[2025-01-10 03:24:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 03:24:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 03:24:17] Production.INFO: count ==178
[2025-01-10 03:24:17] Production.ERROR: pbx CDR StartTime 2025-01-10 00:24:05 - End Time 2025-01-10 03:24:05
[2025-01-10 03:24:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 03:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214142', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214142', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214142', 'tblTempVendorCDR_20' ) start
[2025-01-10 03:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214142', 'tblTempVendorCDR_20' ) end
[2025-01-10 03:24:18] Production.INFO: ProcessCDR(1,14214142,1,1,2)
[2025-01-10 03:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214142,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:24:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214142,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:24:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214142,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:24:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214142,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:24:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214142', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:24:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214142', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:24:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:24:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:24:21] Production.INFO: ==4620== Releasing lock...
[2025-01-10 03:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 03:24:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 08:25:02] Production.INFO: ==4684== Lock acquired, processing the job...
[2025-01-10 08:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 08:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 08:25:02] Production.INFO: neon service started
[2025-01-10 08:25:02] Production.INFO: neon service started
[2025-01-10 08:25:02] Production.INFO: ==4684== Releasing lock...
[2025-01-10 08:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 08:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:25:02] Production.INFO: ==4686== Lock acquired, processing the job...
[2025-01-10 03:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:25:02] Production.INFO: ==4688== Lock acquired, processing the job...
[2025-01-10 08:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 08:25:02] Production.INFO: ==4688== Releasing lock...
[2025-01-10 08:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 08:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 03:25:03] Production.INFO: ==4686== Releasing lock...
[2025-01-10 03:25:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 03:25:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 03:25:03] Production.INFO: ==4691== Lock acquired, processing the job...
[2025-01-10 03:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 03:25:03] Production.INFO: ==4693== Lock acquired, processing the job...
[2025-01-10 03:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 03:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 03:25:03] Production.INFO: ==4695== Lock acquired, processing the job...
[2025-01-10 03:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 03:25:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 03:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 03:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 03:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 03:25:04] Production.INFO: ==4699== Lock acquired, processing the job...
[2025-01-10 03:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 03:25:04] Production.INFO: ==4693== Releasing lock...
[2025-01-10 03:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 03:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 03:25:04] Production.INFO: ==4701== Lock acquired, processing the job...
[2025-01-10 03:25:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 03:25:04] Production.INFO: Account Balance Start.
[2025-01-10 03:25:04] Production.INFO: CreateAllLog Start
[2025-01-10 03:25:04] Production.INFO: 117
[2025-01-10 03:25:04] Production.INFO: Date 2025-01-08
[2025-01-10 03:25:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:25:04] Production.INFO: ==4703== Lock acquired, processing the job...
[2025-01-10 03:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 03:25:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:25:04] Production.INFO: Date 2025-01-09
[2025-01-10 03:25:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:25:04] Production.INFO: Date 2025-01-10
[2025-01-10 03:25:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:25:04] Production.INFO: Total Charge 0
[2025-01-10 03:25:04] Production.INFO: CreateAllLog End
[2025-01-10 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-01-10 03:25:04] Production.ERROR: done
[2025-01-10 03:25:04] Production.INFO: count ==21
[2025-01-10 03:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 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-01-10 03:25:04] Production.INFO: count ==21
[2025-01-10 03:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214146') start
[2025-01-10 03:25:04] Production.ERROR: done
[2025-01-10 03:25:04] Production.INFO: Account Balance End.
[2025-01-10 03:25:04] Production.ERROR: CronJobId end 12
[2025-01-10 03:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214146') end
[2025-01-10 03:25:04] Production.INFO: ==4699== Releasing lock...
[2025-01-10 03:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 03:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 03:25:04] Production.INFO: 1
[2025-01-10 03:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 03:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 03:25:04] Production.INFO: ==4703== Releasing lock...
[2025-01-10 03:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 03:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 03:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 00:25:05
[end_date_ymd] => 2025-01-10 03:25:05
[RateCDR] => 1
)
[2025-01-10 03:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 00:25:05' and `end` < '2025-01-10 03:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 03:25:10] Production.ERROR: CronJobId end10
[2025-01-10 03:25:10] Production.INFO: ==4695== Releasing lock...
[2025-01-10 03:25:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 03:25:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 03:25:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 03:25:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 03:25:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 03:25:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 03:25:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 03:25:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 03:25:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 03:25:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 03:25:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 03:25:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 03:25:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 03:25:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 03:25:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 03:25:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 03:25:13] Production.INFO: call_cost start
[2025-01-10 03:25:13] Production.INFO: call_cost end
[2025-01-10 03:25:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 03:25:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 03:25:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 03:25:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 03:25:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 03:25:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 03:25:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 03:25:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 03:25:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 03:25:14] Production.INFO: ==4691== Releasing lock...
[2025-01-10 03:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 03:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 03:25:18] Production.INFO: count ==178
[2025-01-10 03:25:18] Production.ERROR: pbx CDR StartTime 2025-01-10 00:25:05 - End Time 2025-01-10 03:25:05
[2025-01-10 03:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 03:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214147', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214147', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214147', 'tblTempVendorCDR_20' ) start
[2025-01-10 03:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214147', 'tblTempVendorCDR_20' ) end
[2025-01-10 03:25:18] Production.INFO: ProcessCDR(1,14214147,1,1,2)
[2025-01-10 03:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214147,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214147,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214147,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214147,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214147', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214147', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:25:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:25:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:25:22] Production.INFO: ==4701== Releasing lock...
[2025-01-10 03:25:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 03:25:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 08:26:01] Production.INFO: ==4763== Lock acquired, processing the job...
[2025-01-10 08:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 08:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 08:26:01] Production.INFO: neon service started
[2025-01-10 08:26:01] Production.INFO: neon service started
[2025-01-10 08:26:01] Production.INFO: ==4763== Releasing lock...
[2025-01-10 08:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 08:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 08:26:02] Production.INFO: ==4767== Lock acquired, processing the job...
[2025-01-10 08:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 08:26:02] Production.INFO: ==4767== Releasing lock...
[2025-01-10 08:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 08:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 03:26:02] Production.INFO: ==4765== Lock acquired, processing the job...
[2025-01-10 03:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 03:26:02] Production.INFO: ==4765== Releasing lock...
[2025-01-10 03:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 03:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 03:26:03] Production.INFO: ==4770== Lock acquired, processing the job...
[2025-01-10 03:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 03:26:03] Production.INFO: ==4776== Lock acquired, processing the job...
[2025-01-10 03:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 03:26:03] Production.INFO: ==4780== Lock acquired, processing the job...
[2025-01-10 03:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 03:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 03:26:03] Production.INFO: Account Balance Start.
[2025-01-10 03:26:03] Production.INFO: CreateAllLog Start
[2025-01-10 03:26:03] Production.INFO: 117
[2025-01-10 03:26:03] Production.INFO: Date 2025-01-08
[2025-01-10 03:26:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:26:03] Production.INFO: ==4772== Lock acquired, processing the job...
[2025-01-10 03:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 03:26:03] Production.INFO: Date 2025-01-09
[2025-01-10 03:26:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:26:03] Production.INFO: ==4774== Lock acquired, processing the job...
[2025-01-10 03:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 03:26:03] Production.INFO: Date 2025-01-10
[2025-01-10 03:26:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:26:03] Production.INFO: Total Charge 0
[2025-01-10 03:26:03] Production.INFO: ==4778== Lock acquired, processing the job...
[2025-01-10 03:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 03:26:03] Production.INFO: count ==21
[2025-01-10 03:26:03] Production.INFO: CreateAllLog End
[2025-01-10 03:26:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:26:03] Production.INFO: count ==21
[2025-01-10 03:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 03:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 03:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 03:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 03:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214150') start
[2025-01-10 03:26:03] Production.INFO: ==4772== Releasing lock...
[2025-01-10 03:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 03:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 03:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214150') end
[2025-01-10 03:26:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 03:26:03] Production.INFO: 1
[2025-01-10 03:26:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 03:26:03] Production.INFO: Account Balance End.
[2025-01-10 03:26:04] Production.ERROR: done
[2025-01-10 03:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 03:26:04] Production.ERROR: CronJobId end 12
[2025-01-10 03:26:04] Production.INFO: ==4776== Releasing lock...
[2025-01-10 03:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 03:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 03:26:04] Production.INFO: ==4780== Releasing lock...
[2025-01-10 03:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 03:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 03:26:04] Production.ERROR: done
[2025-01-10 03:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 00:26:05
[end_date_ymd] => 2025-01-10 03:26:05
[RateCDR] => 1
)
[2025-01-10 03:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 00:26:05' and `end` < '2025-01-10 03:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 03:26:10] Production.ERROR: CronJobId end10
[2025-01-10 03:26:10] Production.INFO: ==4774== Releasing lock...
[2025-01-10 03:26:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 03:26:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 03:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 03:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 03:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 03:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 03:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 03:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 03:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 03:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 03:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 03:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 03:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 03:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 03:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 03:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 03:26:13] Production.INFO: call_cost start
[2025-01-10 03:26:13] Production.INFO: call_cost end
[2025-01-10 03:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 03:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 03:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 03:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 03:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 03:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 03:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 03:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 03:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 03:26:14] Production.INFO: ==4770== Releasing lock...
[2025-01-10 03:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 03:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 03:26:18] Production.INFO: count ==178
[2025-01-10 03:26:18] Production.ERROR: pbx CDR StartTime 2025-01-10 00:26:05 - End Time 2025-01-10 03:26:05
[2025-01-10 03:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 03:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214152', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214152', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214152', 'tblTempVendorCDR_20' ) start
[2025-01-10 03:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214152', 'tblTempVendorCDR_20' ) end
[2025-01-10 03:26:18] Production.INFO: ProcessCDR(1,14214152,1,1,2)
[2025-01-10 03:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214152,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214152,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214152,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214152,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214152', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214152', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:26:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:26:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:26:21] Production.INFO: ==4778== Releasing lock...
[2025-01-10 03:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 03:26:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 08:27:02] Production.INFO: ==4841== Lock acquired, processing the job...
[2025-01-10 08:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 08:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 08:27:02] Production.INFO: neon service started
[2025-01-10 08:27:02] Production.INFO: neon service started
[2025-01-10 08:27:02] Production.INFO: ==4841== Releasing lock...
[2025-01-10 08:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 08:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:27:02] Production.INFO: ==4843== Lock acquired, processing the job...
[2025-01-10 03:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:27:02] Production.INFO: ==4845== Lock acquired, processing the job...
[2025-01-10 08:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 08:27:02] Production.INFO: ==4845== Releasing lock...
[2025-01-10 08:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 08:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 03:27:02] Production.INFO: ==4843== Releasing lock...
[2025-01-10 03:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 03:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 03:27:03] Production.INFO: ==4852== Lock acquired, processing the job...
[2025-01-10 03:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 03:27:03] Production.INFO: ==4848== Lock acquired, processing the job...
[2025-01-10 03:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 03:27:03] Production.INFO: ==4850== Lock acquired, processing the job...
[2025-01-10 03:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 03:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 03:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 03:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 03:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 03:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 03:27:03] Production.INFO: ==4856== Lock acquired, processing the job...
[2025-01-10 03:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 03:27:03] Production.INFO: ==4854== Lock acquired, processing the job...
[2025-01-10 03:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 03:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:27:03] Production.INFO: ==4858== Lock acquired, processing the job...
[2025-01-10 03:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 03:27:03] Production.INFO: Account Balance Start.
[2025-01-10 03:27:03] Production.INFO: CreateAllLog Start
[2025-01-10 03:27:03] Production.INFO: 117
[2025-01-10 03:27:03] Production.INFO: ==4850== Releasing lock...
[2025-01-10 03:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 03:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 03:27:04] Production.INFO: Date 2025-01-08
[2025-01-10 03:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:27:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:27:04] Production.INFO: count ==21
[2025-01-10 03:27:04] Production.INFO: Date 2025-01-09
[2025-01-10 03:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:27:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:27:04] Production.INFO: count ==21
[2025-01-10 03:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214156') start
[2025-01-10 03:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214156') end
[2025-01-10 03:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 03:27:04] Production.INFO: 1
[2025-01-10 03:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 03:27:04] Production.ERROR: done
[2025-01-10 03:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 03:27:04] Production.INFO: Date 2025-01-10
[2025-01-10 03:27:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:27:04] Production.INFO: Total Charge 0
[2025-01-10 03:27:04] Production.INFO: CreateAllLog End
[2025-01-10 03:27:04] Production.INFO: ==4858== Releasing lock...
[2025-01-10 03:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 03:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 03:27:04] Production.ERROR: done
[2025-01-10 03:27:04] Production.INFO: Account Balance End.
[2025-01-10 03:27:04] Production.ERROR: CronJobId end 12
[2025-01-10 03:27:04] Production.INFO: ==4854== Releasing lock...
[2025-01-10 03:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 03:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 03:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 00:27:05
[end_date_ymd] => 2025-01-10 03:27:05
[RateCDR] => 1
)
[2025-01-10 03:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 00:27:05' and `end` < '2025-01-10 03:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 03:27:10] Production.ERROR: CronJobId end10
[2025-01-10 03:27:10] Production.INFO: ==4852== Releasing lock...
[2025-01-10 03:27:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 03:27:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 03:27:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 03:27:11] Production.INFO: ============== Balance Warning START===========
[2025-01-10 03:27:11] Production.INFO: ============== Balance Warning END===========
[2025-01-10 03:27:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 03:27:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 03:27:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 03:27:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 03:27:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 03:27:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 03:27:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 03:27:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 03:27:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 03:27:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 03:27:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 03:27:12] Production.INFO: call_cost start
[2025-01-10 03:27:12] Production.INFO: call_cost end
[2025-01-10 03:27:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 03:27:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 03:27:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 03:27:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 03:27:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 03:27:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 03:27:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 03:27:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 03:27:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 03:27:13] Production.INFO: ==4848== Releasing lock...
[2025-01-10 03:27:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 03:27:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 03:27:17] Production.INFO: count ==178
[2025-01-10 03:27:17] Production.ERROR: pbx CDR StartTime 2025-01-10 00:27:05 - End Time 2025-01-10 03:27:05
[2025-01-10 03:27:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 03:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214157', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214157', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214157', 'tblTempVendorCDR_20' ) start
[2025-01-10 03:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214157', 'tblTempVendorCDR_20' ) end
[2025-01-10 03:27:17] Production.INFO: ProcessCDR(1,14214157,1,1,2)
[2025-01-10 03:27:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214157,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:27:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214157,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:27:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214157,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214157,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214157', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214157', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:27:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:27:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:27:21] Production.INFO: ==4856== Releasing lock...
[2025-01-10 03:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 03:27:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 08:28:01] Production.INFO: ==4920== Lock acquired, processing the job...
[2025-01-10 08:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 08:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 08:28:01] Production.INFO: neon service started
[2025-01-10 08:28:01] Production.INFO: neon service started
[2025-01-10 08:28:01] Production.INFO: ==4920== Releasing lock...
[2025-01-10 08:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 08:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 08:28:01] Production.INFO: ==4925== Lock acquired, processing the job...
[2025-01-10 08:28:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 08:28:01] Production.INFO: ==4925== Releasing lock...
[2025-01-10 08:28:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 08:28:01] Production.INFO: 25 MB #Memory Used#
[2025-01-10 03:28:02] Production.INFO: ==4923== Lock acquired, processing the job...
[2025-01-10 03:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 03:28:02] Production.INFO: ==4923== Releasing lock...
[2025-01-10 03:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 03:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 03:28:03] Production.INFO: ==4929== Lock acquired, processing the job...
[2025-01-10 03:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 03:28:03] Production.INFO: ==4927== Lock acquired, processing the job...
[2025-01-10 03:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 03:28:03] Production.INFO: ==4937== Lock acquired, processing the job...
[2025-01-10 03:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 03:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 03:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:28:03] Production.INFO: ==4931== Lock acquired, processing the job...
[2025-01-10 03:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 03:28:03] Production.INFO: count ==21
[2025-01-10 03:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:28:03] Production.INFO: count ==21
[2025-01-10 03:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214160') start
[2025-01-10 03:28:03] Production.INFO: ==4933== Lock acquired, processing the job...
[2025-01-10 03:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 03:28:03] Production.INFO: ==4929== Releasing lock...
[2025-01-10 03:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 03:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 03:28:03] Production.INFO: ==4935== Lock acquired, processing the job...
[2025-01-10 03:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 03:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 03:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 03:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 03:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 03:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:28:03] Production.INFO: Account Balance Start.
[2025-01-10 03:28:03] Production.INFO: CreateAllLog Start
[2025-01-10 03:28:03] Production.INFO: 117
[2025-01-10 03:28:03] Production.INFO: Date 2025-01-08
[2025-01-10 03:28:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:28:03] Production.INFO: Date 2025-01-09
[2025-01-10 03:28:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214160') end
[2025-01-10 03:28:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 03:28:03] Production.INFO: 1
[2025-01-10 03:28:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 03:28:03] Production.INFO: Date 2025-01-10
[2025-01-10 03:28:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:28:03] Production.INFO: Total Charge 0
[2025-01-10 03:28:03] Production.INFO: CreateAllLog End
[2025-01-10 03:28:03] Production.INFO: ==4937== Releasing lock...
[2025-01-10 03:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 03:28:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 03:28:03] Production.ERROR: done
[2025-01-10 03:28:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 03:28:03] Production.ERROR: done
[2025-01-10 03:28:03] Production.INFO: Account Balance End.
[2025-01-10 03:28:04] Production.ERROR: CronJobId end 12
[2025-01-10 03:28:04] Production.INFO: ==4933== Releasing lock...
[2025-01-10 03:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 03:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 03:28:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 00:28:04
[end_date_ymd] => 2025-01-10 03:28:04
[RateCDR] => 1
)
[2025-01-10 03:28:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 00:28:04' and `end` < '2025-01-10 03:28:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 03:28:11] Production.ERROR: CronJobId end10
[2025-01-10 03:28:11] Production.INFO: ==4931== Releasing lock...
[2025-01-10 03:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 03:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 03:28:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 03:28:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 03:28:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 03:28:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 03:28:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 03:28:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 03:28:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 03:28:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 03:28:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 03:28:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 03:28:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 03:28:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 03:28:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 03:28:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 03:28:13] Production.INFO: call_cost start
[2025-01-10 03:28:13] Production.INFO: call_cost end
[2025-01-10 03:28:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 03:28:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 03:28:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 03:28:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 03:28:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 03:28:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 03:28:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 03:28:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 03:28:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 03:28:13] Production.INFO: ==4927== Releasing lock...
[2025-01-10 03:28:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 03:28:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 03:28:18] Production.INFO: count ==178
[2025-01-10 03:28:18] Production.ERROR: pbx CDR StartTime 2025-01-10 00:28:04 - End Time 2025-01-10 03:28:04
[2025-01-10 03:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 03:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214162', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214162', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214162', 'tblTempVendorCDR_20' ) start
[2025-01-10 03:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214162', 'tblTempVendorCDR_20' ) end
[2025-01-10 03:28:18] Production.INFO: ProcessCDR(1,14214162,1,1,2)
[2025-01-10 03:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214162,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214162,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214162,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:28:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214162,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214162', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214162', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:28:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:28:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:28:22] Production.INFO: ==4935== Releasing lock...
[2025-01-10 03:28:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 03:28:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 08:29:01] Production.INFO: ==5002== Lock acquired, processing the job...
[2025-01-10 08:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 08:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 08:29:01] Production.INFO: neon service started
[2025-01-10 08:29:02] Production.INFO: neon service started
[2025-01-10 08:29:02] Production.INFO: ==5002== Releasing lock...
[2025-01-10 08:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 08:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:29:02] Production.INFO: ==5004== Lock acquired, processing the job...
[2025-01-10 03:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 03:29:02] Production.INFO: ==5004== Releasing lock...
[2025-01-10 03:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 03:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:29:02] Production.INFO: ==5006== Lock acquired, processing the job...
[2025-01-10 08:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 08:29:02] Production.INFO: ==5006== Releasing lock...
[2025-01-10 08:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 08:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 03:29:03] Production.INFO: ==5014== Lock acquired, processing the job...
[2025-01-10 03:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 03:29:03] Production.INFO: ==5008== Lock acquired, processing the job...
[2025-01-10 03:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 03:29:03] Production.INFO: ==5018== Lock acquired, processing the job...
[2025-01-10 03:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 03:29:03] Production.INFO: ==5010== Lock acquired, processing the job...
[2025-01-10 03:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 03:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 03:29:03] Production.INFO: Account Balance Start.
[2025-01-10 03:29:03] Production.INFO: CreateAllLog Start
[2025-01-10 03:29:03] Production.INFO: 117
[2025-01-10 03:29:03] Production.INFO: ==5012== Lock acquired, processing the job...
[2025-01-10 03:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 03:29:03] Production.INFO: Date 2025-01-08
[2025-01-10 03:29:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:29:03] Production.INFO: ==5016== Lock acquired, processing the job...
[2025-01-10 03:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 03:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 03:29:03] Production.INFO: Date 2025-01-09
[2025-01-10 03:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:29:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 03:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 03:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 03:29:03] Production.INFO: count ==21
[2025-01-10 03:29:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:29:03] Production.INFO: count ==21
[2025-01-10 03:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214165') start
[2025-01-10 03:29:03] Production.INFO: Date 2025-01-10
[2025-01-10 03:29:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:29:03] Production.INFO: Total Charge 0
[2025-01-10 03:29:03] Production.INFO: CreateAllLog End
[2025-01-10 03:29:04] Production.INFO: ==5010== Releasing lock...
[2025-01-10 03:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 03:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 03:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214165') end
[2025-01-10 03:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 03:29:04] Production.INFO: 1
[2025-01-10 03:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 03:29:04] Production.ERROR: done
[2025-01-10 03:29:04] Production.INFO: ==5018== Releasing lock...
[2025-01-10 03:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 03:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 03:29:04] Production.INFO: Account Balance End.
[2025-01-10 03:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 03:29:04] Production.ERROR: CronJobId end 12
[2025-01-10 03:29:04] Production.INFO: ==5014== Releasing lock...
[2025-01-10 03:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 03:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 03:29:04] Production.ERROR: done
[2025-01-10 03:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 00:29:05
[end_date_ymd] => 2025-01-10 03:29:05
[RateCDR] => 1
)
[2025-01-10 03:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 00:29:05' and `end` < '2025-01-10 03:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 03:29:11] Production.ERROR: CronJobId end10
[2025-01-10 03:29:11] Production.INFO: ==5012== Releasing lock...
[2025-01-10 03:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 03:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 03:29:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 03:29:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 03:29:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 03:29:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 03:29:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 03:29:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 03:29:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 03:29:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 03:29:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 03:29:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 03:29:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 03:29:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 03:29:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 03:29:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 03:29:12] Production.INFO: call_cost start
[2025-01-10 03:29:12] Production.INFO: call_cost end
[2025-01-10 03:29:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 03:29:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 03:29:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 03:29:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 03:29:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 03:29:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 03:29:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 03:29:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 03:29:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 03:29:13] Production.INFO: ==5008== Releasing lock...
[2025-01-10 03:29:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 03:29:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 03:29:18] Production.INFO: count ==178
[2025-01-10 03:29:18] Production.ERROR: pbx CDR StartTime 2025-01-10 00:29:05 - End Time 2025-01-10 03:29:05
[2025-01-10 03:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 03:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214167', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214167', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214167', 'tblTempVendorCDR_20' ) start
[2025-01-10 03:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214167', 'tblTempVendorCDR_20' ) end
[2025-01-10 03:29:18] Production.INFO: ProcessCDR(1,14214167,1,1,2)
[2025-01-10 03:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214167,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214167,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214167,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:29:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214167,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214167', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214167', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:29:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:29:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:29:21] Production.INFO: ==5016== Releasing lock...
[2025-01-10 03:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 03:29:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 08:30:01] Production.INFO: ==5086== Lock acquired, processing the job...
[2025-01-10 08:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 08:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 08:30:01] Production.INFO: neon service started
[2025-01-10 08:30:01] Production.INFO: neon service started
[2025-01-10 08:30:01] Production.INFO: ==5086== Releasing lock...
[2025-01-10 08:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 08:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:30:02] Production.INFO: ==5088== Lock acquired, processing the job...
[2025-01-10 08:30:02] Production.INFO: ==5090== Lock acquired, processing the job...
[2025-01-10 03:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 08:30:02] Production.INFO: ==5090== Releasing lock...
[2025-01-10 08:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 08:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 03:30:02] Production.INFO: ==5088== Releasing lock...
[2025-01-10 03:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 03:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 03:30:03] Production.INFO: ==5093== Lock acquired, processing the job...
[2025-01-10 03:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 03:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 03:30:03] Production.INFO: ==5099== Lock acquired, processing the job...
[2025-01-10 03:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 03:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 03:30:03] Production.INFO: ==5093== Releasing lock...
[2025-01-10 03:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 03:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 03:30:03] Production.INFO: ==5105== Lock acquired, processing the job...
[2025-01-10 03:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 03:30:04] Production.INFO: ==5095== Lock acquired, processing the job...
[2025-01-10 03:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 03:30:04] Production.INFO: ==5097== Lock acquired, processing the job...
[2025-01-10 03:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 03:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 03:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 03:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 03:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 03:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 03:30:04] Production.INFO: ==5101== Lock acquired, processing the job...
[2025-01-10 03:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 03:30:04] Production.INFO: ==5103== Lock acquired, processing the job...
[2025-01-10 03:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 03:30:04] Production.INFO: Account Balance Start.
[2025-01-10 03:30:04] Production.INFO: CreateAllLog Start
[2025-01-10 03:30:04] Production.INFO: 117
[2025-01-10 03:30:04] Production.INFO: Date 2025-01-08
[2025-01-10 03:30:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:30:04] Production.INFO: ==5108== Lock acquired, processing the job...
[2025-01-10 03:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 03:30:04] Production.INFO: Date 2025-01-09
[2025-01-10 03:30:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:30:04] Production.INFO: Date 2025-01-10
[2025-01-10 03:30:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:30:04] Production.ERROR: done
[2025-01-10 03:30:04] Production.INFO: Total Charge 0
[2025-01-10 03:30:04] Production.INFO: CreateAllLog End
[2025-01-10 03:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 03:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14214172', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 03:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:30:04] Production.INFO: count ==21
[2025-01-10 03:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:30:04] Production.INFO: count ==21
[2025-01-10 03:30:04] Production.ERROR: done
[2025-01-10 03:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 03:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214171') start
[2025-01-10 03:30:04] Production.INFO: Account Balance End.
[2025-01-10 03:30:04] Production.INFO: ==5097== Releasing lock...
[2025-01-10 03:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 03:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 03:30:04] Production.ERROR: done
[2025-01-10 03:30:04] Production.ERROR: CronJobId end 12
[2025-01-10 03:30:04] Production.INFO: ==5101== Releasing lock...
[2025-01-10 03:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 03:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 03:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14214171') end
[2025-01-10 03:30:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 03:30:05] Production.INFO: 1
[2025-01-10 03:30:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 03:30:05] Production.INFO: ==5108== Releasing lock...
[2025-01-10 03:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 03:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 03:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 00:30:06
[end_date_ymd] => 2025-01-10 03:30:06
[RateCDR] => 1
)
[2025-01-10 03:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 00:30:06' and `end` < '2025-01-10 03:30:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 03:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14214172', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 03:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 03:30:08] Production.INFO: ProcessCDR(1,14214172,1,1,2)
[2025-01-10 03:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14214172,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14214172,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:30:08] Production.INFO: ==5105== Releasing lock...
[2025-01-10 03:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 03:30:08] Production.INFO: 26 MB #Memory Used#
[2025-01-10 03:30:12] Production.ERROR: CronJobId end10
[2025-01-10 03:30:12] Production.INFO: ==5099== Releasing lock...
[2025-01-10 03:30:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 03:30:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 03:30:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 03:30:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 03:30:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 03:30:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 03:30:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 03:30:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 03:30:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 03:30:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 03:30:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 03:30:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 03:30:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 03:30:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 03:30:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 03:30:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 03:30:14] Production.INFO: call_cost start
[2025-01-10 03:30:14] Production.INFO: call_cost end
[2025-01-10 03:30:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 03:30:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 03:30:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 03:30:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 03:30:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 03:30:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 03:30:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 03:30:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 03:30:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 03:30:15] Production.INFO: ==5095== Releasing lock...
[2025-01-10 03:30:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 03:30:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 03:30:19] Production.INFO: count ==172
[2025-01-10 03:30:19] Production.ERROR: pbx CDR StartTime 2025-01-10 00:30:06 - End Time 2025-01-10 03:30:06
[2025-01-10 03:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 03:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214173', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214173', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214173', 'tblTempVendorCDR_20' ) start
[2025-01-10 03:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214173', 'tblTempVendorCDR_20' ) end
[2025-01-10 03:30:19] Production.INFO: ProcessCDR(1,14214173,1,1,2)
[2025-01-10 03:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214173,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214173,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214173,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214173,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214173', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214173', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:30:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:30:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:30:22] Production.INFO: ==5103== Releasing lock...
[2025-01-10 03:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 03:30:22] Production.INFO: 28.5 MB #Memory Used#
[2025-01-10 08:31:01] Production.INFO: ==5170== Lock acquired, processing the job...
[2025-01-10 08:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 08:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 08:31:02] Production.INFO: neon service started
[2025-01-10 08:31:02] Production.INFO: neon service started
[2025-01-10 08:31:02] Production.INFO: ==5170== Releasing lock...
[2025-01-10 08:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 08:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:31:02] Production.INFO: ==5172== Lock acquired, processing the job...
[2025-01-10 03:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:31:02] Production.INFO: ==5174== Lock acquired, processing the job...
[2025-01-10 08:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 08:31:02] Production.INFO: ==5174== Releasing lock...
[2025-01-10 08:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 08:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 03:31:03] Production.INFO: ==5172== Releasing lock...
[2025-01-10 03:31:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 03:31:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 03:31:03] Production.INFO: ==5183== Lock acquired, processing the job...
[2025-01-10 03:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 03:31:03] Production.INFO: ==5185== Lock acquired, processing the job...
[2025-01-10 03:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 03:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:31:03] Production.INFO: Account Balance Start.
[2025-01-10 03:31:03] Production.INFO: CreateAllLog Start
[2025-01-10 03:31:03] Production.INFO: 117
[2025-01-10 03:31:03] Production.INFO: Date 2025-01-08
[2025-01-10 03:31:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:31:03] Production.INFO: Date 2025-01-09
[2025-01-10 03:31:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:31:03] Production.INFO: Date 2025-01-10
[2025-01-10 03:31:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:31:03] Production.INFO: ==5177== Lock acquired, processing the job...
[2025-01-10 03:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 03:31:03] Production.INFO: ==5179== Lock acquired, processing the job...
[2025-01-10 03:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 03:31:03] Production.INFO: Total Charge 0
[2025-01-10 03:31:03] Production.INFO: CreateAllLog End
[2025-01-10 03:31:03] Production.INFO: ==5181== Lock acquired, processing the job...
[2025-01-10 03:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 03:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 03:31:04] Production.INFO: ==5187== Lock acquired, processing the job...
[2025-01-10 03:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 03:31:04] Production.ERROR: done
[2025-01-10 03:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 03:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 03:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 03:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 03:31:04] Production.INFO: Account Balance End.
[2025-01-10 03:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 03:31:04] Production.ERROR: CronJobId end 12
[2025-01-10 03:31:04] Production.INFO: ==5183== Releasing lock...
[2025-01-10 03:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 03:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 03:31:04] Production.ERROR: done
[2025-01-10 03:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:31:04] Production.INFO: count ==21
[2025-01-10 03:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:31:04] Production.INFO: count ==21
[2025-01-10 03:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214177') start
[2025-01-10 03:31:04] Production.INFO: ==5179== Releasing lock...
[2025-01-10 03:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 03:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 03:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214177') end
[2025-01-10 03:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 03:31:04] Production.INFO: 1
[2025-01-10 03:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 03:31:04] Production.INFO: ==5187== Releasing lock...
[2025-01-10 03:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 03:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 03:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 00:31:05
[end_date_ymd] => 2025-01-10 03:31:05
[RateCDR] => 1
)
[2025-01-10 03:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 00:31:05' and `end` < '2025-01-10 03:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 03:31:10] Production.ERROR: CronJobId end10
[2025-01-10 03:31:10] Production.INFO: ==5181== Releasing lock...
[2025-01-10 03:31:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 03:31:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 03:31:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 03:31:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 03:31:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 03:31:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 03:31:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 03:31:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 03:31:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 03:31:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 03:31:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 03:31:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 03:31:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 03:31:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 03:31:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 03:31:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 03:31:13] Production.INFO: call_cost start
[2025-01-10 03:31:13] Production.INFO: call_cost end
[2025-01-10 03:31:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 03:31:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 03:31:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 03:31:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 03:31:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 03:31:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 03:31:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 03:31:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 03:31:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 03:31:13] Production.INFO: ==5177== Releasing lock...
[2025-01-10 03:31:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 03:31:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 03:31:19] Production.INFO: count ==159
[2025-01-10 03:31:19] Production.ERROR: pbx CDR StartTime 2025-01-10 00:31:05 - End Time 2025-01-10 03:31:05
[2025-01-10 03:31:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 03:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214178', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214178', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214178', 'tblTempVendorCDR_20' ) start
[2025-01-10 03:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214178', 'tblTempVendorCDR_20' ) end
[2025-01-10 03:31:19] Production.INFO: ProcessCDR(1,14214178,1,1,2)
[2025-01-10 03:31:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214178,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:31:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214178,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:31:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214178,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:31:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214178,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214178', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214178', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:31:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:31:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:31:22] Production.INFO: ==5185== Releasing lock...
[2025-01-10 03:31:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 03:31:22] Production.INFO: 28.5 MB #Memory Used#
[2025-01-10 08:32:01] Production.INFO: ==5248== Lock acquired, processing the job...
[2025-01-10 08:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 08:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 08:32:01] Production.INFO: neon service started
[2025-01-10 08:32:01] Production.INFO: neon service started
[2025-01-10 08:32:01] Production.INFO: ==5248== Releasing lock...
[2025-01-10 08:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 08:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:32:01] Production.INFO: ==5250== Lock acquired, processing the job...
[2025-01-10 03:32:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 03:32:01] Production.INFO: ==5250== Releasing lock...
[2025-01-10 03:32:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 03:32:01] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:32:02] Production.INFO: ==5252== Lock acquired, processing the job...
[2025-01-10 08:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 08:32:02] Production.INFO: ==5252== Releasing lock...
[2025-01-10 08:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 08:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 03:32:02] Production.INFO: ==5254== Lock acquired, processing the job...
[2025-01-10 03:32:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 03:32:03] Production.INFO: ==5256== Lock acquired, processing the job...
[2025-01-10 03:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 03:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 03:32:03] Production.INFO: ==5258== Lock acquired, processing the job...
[2025-01-10 03:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 03:32:03] Production.INFO: ==5264== Lock acquired, processing the job...
[2025-01-10 03:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 03:32:03] Production.INFO: ==5260== Lock acquired, processing the job...
[2025-01-10 03:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 03:32:03] Production.INFO: ==5262== Lock acquired, processing the job...
[2025-01-10 03:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 03:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 03:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 03:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 03:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 03:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:32:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:32:03] Production.INFO: count ==21
[2025-01-10 03:32:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:32:03] Production.INFO: count ==21
[2025-01-10 03:32:03] Production.INFO: ==5256== Releasing lock...
[2025-01-10 03:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 03:32:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 03:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214181') start
[2025-01-10 03:32:03] Production.INFO: Account Balance Start.
[2025-01-10 03:32:03] Production.INFO: CreateAllLog Start
[2025-01-10 03:32:03] Production.INFO: 117
[2025-01-10 03:32:03] Production.INFO: Date 2025-01-08
[2025-01-10 03:32:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214181') end
[2025-01-10 03:32:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 03:32:03] Production.INFO: 1
[2025-01-10 03:32:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 03:32:03] Production.INFO: Date 2025-01-09
[2025-01-10 03:32:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:32:03] Production.INFO: Date 2025-01-10
[2025-01-10 03:32:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:32:03] Production.INFO: ==5264== Releasing lock...
[2025-01-10 03:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 03:32:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 03:32:03] Production.ERROR: done
[2025-01-10 03:32:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 03:32:03] Production.INFO: Total Charge 0
[2025-01-10 03:32:03] Production.INFO: CreateAllLog End
[2025-01-10 03:32:03] Production.ERROR: done
[2025-01-10 03:32:03] Production.INFO: Account Balance End.
[2025-01-10 03:32:03] Production.ERROR: CronJobId end 12
[2025-01-10 03:32:03] Production.INFO: ==5260== Releasing lock...
[2025-01-10 03:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 03:32:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 03:32:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 00:32:04
[end_date_ymd] => 2025-01-10 03:32:04
[RateCDR] => 1
)
[2025-01-10 03:32:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 00:32:04' and `end` < '2025-01-10 03:32:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 03:32:10] Production.ERROR: CronJobId end10
[2025-01-10 03:32:10] Production.INFO: ==5258== Releasing lock...
[2025-01-10 03:32:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 03:32:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 03:32:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 03:32:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 03:32:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 03:32:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 03:32:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 03:32:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 03:32:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 03:32:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 03:32:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 03:32:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 03:32:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 03:32:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 03:32:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 03:32:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 03:32:12] Production.INFO: call_cost start
[2025-01-10 03:32:12] Production.INFO: call_cost end
[2025-01-10 03:32:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 03:32:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 03:32:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 03:32:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 03:32:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 03:32:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 03:32:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 03:32:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 03:32:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 03:32:13] Production.INFO: ==5254== Releasing lock...
[2025-01-10 03:32:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 03:32:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 03:32:17] Production.INFO: count ==159
[2025-01-10 03:32:17] Production.ERROR: pbx CDR StartTime 2025-01-10 00:32:04 - End Time 2025-01-10 03:32:04
[2025-01-10 03:32:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 03:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214183', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214183', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214183', 'tblTempVendorCDR_20' ) start
[2025-01-10 03:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214183', 'tblTempVendorCDR_20' ) end
[2025-01-10 03:32:18] Production.INFO: ProcessCDR(1,14214183,1,1,2)
[2025-01-10 03:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214183,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214183,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214183,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214183,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214183', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214183', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:32:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:32:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:32:21] Production.INFO: ==5262== Releasing lock...
[2025-01-10 03:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 03:32:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-10 08:33:01] Production.INFO: ==5325== Lock acquired, processing the job...
[2025-01-10 08:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 08:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 08:33:01] Production.INFO: neon service started
[2025-01-10 08:33:01] Production.INFO: neon service started
[2025-01-10 08:33:01] Production.INFO: ==5325== Releasing lock...
[2025-01-10 08:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 08:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:33:02] Production.INFO: ==5327== Lock acquired, processing the job...
[2025-01-10 03:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 03:33:02] Production.INFO: ==5327== Releasing lock...
[2025-01-10 03:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 03:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:33:02] Production.INFO: ==5330== Lock acquired, processing the job...
[2025-01-10 08:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 08:33:02] Production.INFO: ==5330== Releasing lock...
[2025-01-10 08:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 08:33:02] Production.INFO: 26 MB #Memory Used#
[2025-01-10 03:33:03] Production.INFO: ==5332== Lock acquired, processing the job...
[2025-01-10 03:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 03:33:03] Production.INFO: ==5334== Lock acquired, processing the job...
[2025-01-10 03:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 03:33:03] Production.INFO: ==5340== Lock acquired, processing the job...
[2025-01-10 03:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 03:33:03] Production.INFO: ==5336== Lock acquired, processing the job...
[2025-01-10 03:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 03:33:03] Production.INFO: ==5338== Lock acquired, processing the job...
[2025-01-10 03:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 03:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 03:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:33:03] Production.INFO: ==5342== Lock acquired, processing the job...
[2025-01-10 03:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 03:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 03:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 03:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 03:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 03:33:03] Production.INFO: Account Balance Start.
[2025-01-10 03:33:03] Production.INFO: CreateAllLog Start
[2025-01-10 03:33:03] Production.INFO: 117
[2025-01-10 03:33:03] Production.INFO: Date 2025-01-08
[2025-01-10 03:33:03] Production.INFO: Reseller ==> 0
[2025-01-10 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-01-10 03:33:03] Production.INFO: Date 2025-01-09
[2025-01-10 03:33:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:33:03] Production.INFO: count ==21
[2025-01-10 03:33:03] Production.INFO: Date 2025-01-10
[2025-01-10 03:33:03] Production.INFO: Reseller ==> 0
[2025-01-10 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-01-10 03:33:03] Production.INFO: count ==21
[2025-01-10 03:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214186') start
[2025-01-10 03:33:03] Production.ERROR: done
[2025-01-10 03:33:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 03:33:03] Production.INFO: Total Charge 0
[2025-01-10 03:33:03] Production.INFO: CreateAllLog End
[2025-01-10 03:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214186') end
[2025-01-10 03:33:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 03:33:03] Production.INFO: 1
[2025-01-10 03:33:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 03:33:04] Production.INFO: ==5334== Releasing lock...
[2025-01-10 03:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 03:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 03:33:04] Production.ERROR: done
[2025-01-10 03:33:04] Production.INFO: ==5342== Releasing lock...
[2025-01-10 03:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 03:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 03:33:04] Production.INFO: Account Balance End.
[2025-01-10 03:33:04] Production.ERROR: CronJobId end 12
[2025-01-10 03:33:04] Production.INFO: ==5338== Releasing lock...
[2025-01-10 03:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 03:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 03:33:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 00:33:04
[end_date_ymd] => 2025-01-10 03:33:04
[RateCDR] => 1
)
[2025-01-10 03:33:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 00:33:04' and `end` < '2025-01-10 03:33:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 03:33:10] Production.ERROR: CronJobId end10
[2025-01-10 03:33:10] Production.INFO: ==5336== Releasing lock...
[2025-01-10 03:33:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 03:33:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 03:33:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 03:33:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 03:33:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 03:33:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 03:33:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 03:33:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 03:33:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 03:33:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 03:33:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 03:33:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 03:33:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 03:33:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 03:33:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 03:33:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 03:33:13] Production.INFO: call_cost start
[2025-01-10 03:33:13] Production.INFO: call_cost end
[2025-01-10 03:33:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 03:33:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 03:33:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 03:33:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 03:33:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 03:33:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 03:33:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 03:33:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 03:33:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 03:33:13] Production.INFO: ==5332== Releasing lock...
[2025-01-10 03:33:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 03:33:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 03:33:17] Production.INFO: count ==159
[2025-01-10 03:33:17] Production.ERROR: pbx CDR StartTime 2025-01-10 00:33:04 - End Time 2025-01-10 03:33:04
[2025-01-10 03:33:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 03:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214188', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214188', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214188', 'tblTempVendorCDR_20' ) start
[2025-01-10 03:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214188', 'tblTempVendorCDR_20' ) end
[2025-01-10 03:33:17] Production.INFO: ProcessCDR(1,14214188,1,1,2)
[2025-01-10 03:33:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214188,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:33:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214188,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:33:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214188,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214188,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214188', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214188', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:33:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:33:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:33:21] Production.INFO: ==5340== Releasing lock...
[2025-01-10 03:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 03:33:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-10 08:34:02] Production.INFO: ==5435== Lock acquired, processing the job...
[2025-01-10 08:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 08:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 08:34:02] Production.INFO: neon service started
[2025-01-10 08:34:02] Production.INFO: neon service started
[2025-01-10 08:34:02] Production.INFO: ==5435== Releasing lock...
[2025-01-10 08:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 08:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:34:02] Production.INFO: ==5437== Lock acquired, processing the job...
[2025-01-10 03:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 03:34:03] Production.INFO: ==5437== Releasing lock...
[2025-01-10 03:34:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 03:34:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:34:03] Production.INFO: ==5439== Lock acquired, processing the job...
[2025-01-10 08:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 08:34:03] Production.INFO: ==5439== Releasing lock...
[2025-01-10 08:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 08:34:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 03:34:03] Production.INFO: ==5449== Lock acquired, processing the job...
[2025-01-10 03:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 03:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:34:04] Production.INFO: ==5452== Lock acquired, processing the job...
[2025-01-10 03:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 03:34:04] Production.INFO: ==5441== Lock acquired, processing the job...
[2025-01-10 03:34:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 03:34:04] Production.INFO: ==5443== Lock acquired, processing the job...
[2025-01-10 03:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 03:34:04] Production.INFO: ==5445== Lock acquired, processing the job...
[2025-01-10 03:34:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 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-01-10 03:34:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 03:34:04] Production.INFO: ==5447== Lock acquired, processing the job...
[2025-01-10 03:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 03:34:04] Production.INFO: count ==21
[2025-01-10 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-01-10 03:34:04] Production.INFO: count ==21
[2025-01-10 03:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214189') start
[2025-01-10 03:34:04] Production.ERROR: done
[2025-01-10 03:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 03:34:04] Production.INFO: Account Balance Start.
[2025-01-10 03:34:04] Production.INFO: CreateAllLog Start
[2025-01-10 03:34:04] Production.INFO: 117
[2025-01-10 03:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 03:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 03:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 03:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214189') end
[2025-01-10 03:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 03:34:04] Production.INFO: 1
[2025-01-10 03:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 03:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 03:34:04] Production.INFO: Date 2025-01-08
[2025-01-10 03:34:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:34:04] Production.INFO: ==5443== Releasing lock...
[2025-01-10 03:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 03:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 03:34:04] Production.ERROR: done
[2025-01-10 03:34:04] Production.INFO: ==5452== Releasing lock...
[2025-01-10 03:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 03:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 03:34:04] Production.INFO: Date 2025-01-09
[2025-01-10 03:34:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:34:04] Production.INFO: Date 2025-01-10
[2025-01-10 03:34:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:34:04] Production.INFO: Total Charge 0
[2025-01-10 03:34:04] Production.INFO: CreateAllLog End
[2025-01-10 03:34:04] Production.INFO: Account Balance End.
[2025-01-10 03:34:04] Production.ERROR: CronJobId end 12
[2025-01-10 03:34:04] Production.INFO: ==5447== Releasing lock...
[2025-01-10 03:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 03:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 03:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 00:34:05
[end_date_ymd] => 2025-01-10 03:34:05
[RateCDR] => 1
)
[2025-01-10 03:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 00:34:05' and `end` < '2025-01-10 03:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 03:34:13] Production.ERROR: CronJobId end10
[2025-01-10 03:34:13] Production.INFO: ==5445== Releasing lock...
[2025-01-10 03:34:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 03:34:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 03:34:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 03:34:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 03:34:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 03:34:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 03:34:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 03:34:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 03:34:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 03:34:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 03:34:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 03:34:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 03:34:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 03:34:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 03:34:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 03:34:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 03:34:14] Production.INFO: call_cost start
[2025-01-10 03:34:14] Production.INFO: call_cost end
[2025-01-10 03:34:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 03:34:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 03:34:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 03:34:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 03:34:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 03:34:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 03:34:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 03:34:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 03:34:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 03:34:15] Production.INFO: ==5441== Releasing lock...
[2025-01-10 03:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 03:34:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 03:34:18] Production.INFO: count ==159
[2025-01-10 03:34:18] Production.ERROR: pbx CDR StartTime 2025-01-10 00:34:05 - End Time 2025-01-10 03:34:05
[2025-01-10 03:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 03:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214193', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214193', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214193', 'tblTempVendorCDR_20' ) start
[2025-01-10 03:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214193', 'tblTempVendorCDR_20' ) end
[2025-01-10 03:34:18] Production.INFO: ProcessCDR(1,14214193,1,1,2)
[2025-01-10 03:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214193,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214193,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214193,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214193,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214193', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214193', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:34:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:34:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:34:21] Production.INFO: ==5449== Releasing lock...
[2025-01-10 03:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 03:34:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-10 08:35:01] Production.INFO: ==5513== Lock acquired, processing the job...
[2025-01-10 08:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 08:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 08:35:01] Production.INFO: neon service started
[2025-01-10 08:35:01] Production.INFO: neon service started
[2025-01-10 08:35:01] Production.INFO: ==5513== Releasing lock...
[2025-01-10 08:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 08:35:01] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 03:35:02] Production.INFO: ==5515== Lock acquired, processing the job...
[2025-01-10 03:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 03:35:02] Production.INFO: ==5515== Releasing lock...
[2025-01-10 03:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 03:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:35:02] Production.INFO: ==5517== Lock acquired, processing the job...
[2025-01-10 08:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 08:35:02] Production.INFO: ==5517== Releasing lock...
[2025-01-10 08:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 08:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 03:35:03] Production.INFO: ==5519== Lock acquired, processing the job...
[2025-01-10 03:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 03:35:03] Production.INFO: ==5521== Lock acquired, processing the job...
[2025-01-10 03:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 03:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 03:35:03] Production.INFO: ==5525== Lock acquired, processing the job...
[2025-01-10 03:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 03:35:03] Production.INFO: Account Balance Start.
[2025-01-10 03:35:03] Production.INFO: CreateAllLog Start
[2025-01-10 03:35:03] Production.INFO: 117
[2025-01-10 03:35:03] Production.INFO: Date 2025-01-08
[2025-01-10 03:35:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:35:03] Production.INFO: Date 2025-01-09
[2025-01-10 03:35:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:35:03] Production.INFO: Date 2025-01-10
[2025-01-10 03:35:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:35:03] Production.INFO: Total Charge 0
[2025-01-10 03:35:03] Production.INFO: CreateAllLog End
[2025-01-10 03:35:03] Production.INFO: ==5521== Releasing lock...
[2025-01-10 03:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 03:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 03:35:03] Production.INFO: ==5523== Lock acquired, processing the job...
[2025-01-10 03:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 03:35:03] Production.INFO: ==5529== Lock acquired, processing the job...
[2025-01-10 03:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 03:35:03] Production.INFO: ==5527== Lock acquired, processing the job...
[2025-01-10 03:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 03:35:03] Production.INFO: Account Balance End.
[2025-01-10 03:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 03:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 03:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 03:35:03] Production.ERROR: CronJobId end 12
[2025-01-10 03:35:03] Production.INFO: ==5525== Releasing lock...
[2025-01-10 03:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 03:35:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 03:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 03:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:35:03] Production.INFO: count ==21
[2025-01-10 03:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:35:03] Production.INFO: count ==21
[2025-01-10 03:35:03] Production.ERROR: done
[2025-01-10 03:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 03:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214197') start
[2025-01-10 03:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214197') end
[2025-01-10 03:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 03:35:04] Production.INFO: 1
[2025-01-10 03:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 03:35:04] Production.ERROR: done
[2025-01-10 03:35:04] Production.INFO: ==5529== Releasing lock...
[2025-01-10 03:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 03:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 03:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 00:35:05
[end_date_ymd] => 2025-01-10 03:35:05
[RateCDR] => 1
)
[2025-01-10 03:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 00:35:05' and `end` < '2025-01-10 03:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 03:35:10] Production.ERROR: CronJobId end10
[2025-01-10 03:35:10] Production.INFO: ==5523== Releasing lock...
[2025-01-10 03:35:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 03:35:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 03:35:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 03:35:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 03:35:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 03:35:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 03:35:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 03:35:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 03:35:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 03:35:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 03:35:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 03:35:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 03:35:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 03:35:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 03:35:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 03:35:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 03:35:12] Production.INFO: call_cost start
[2025-01-10 03:35:12] Production.INFO: call_cost end
[2025-01-10 03:35:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 03:35:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 03:35:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 03:35:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 03:35:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 03:35:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 03:35:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 03:35:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 03:35:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 03:35:13] Production.INFO: ==5519== Releasing lock...
[2025-01-10 03:35:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 03:35:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 03:35:18] Production.INFO: count ==158
[2025-01-10 03:35:18] Production.ERROR: pbx CDR StartTime 2025-01-10 00:35:05 - End Time 2025-01-10 03:35:05
[2025-01-10 03:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 03:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214198', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214198', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214198', 'tblTempVendorCDR_20' ) start
[2025-01-10 03:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214198', 'tblTempVendorCDR_20' ) end
[2025-01-10 03:35:18] Production.INFO: ProcessCDR(1,14214198,1,1,2)
[2025-01-10 03:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214198,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214198,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214198,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214198,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214198', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214198', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:35:21] Production.INFO: ==5527== Releasing lock...
[2025-01-10 03:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 03:35:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-10 08:36:02] Production.INFO: ==5590== Lock acquired, processing the job...
[2025-01-10 08:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 08:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 08:36:02] Production.INFO: neon service started
[2025-01-10 08:36:02] Production.INFO: neon service started
[2025-01-10 08:36:02] Production.INFO: ==5590== Releasing lock...
[2025-01-10 08:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 08:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:36:02] Production.INFO: ==5592== Lock acquired, processing the job...
[2025-01-10 03:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:36:02] Production.INFO: ==5594== Lock acquired, processing the job...
[2025-01-10 08:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 08:36:02] Production.INFO: ==5594== Releasing lock...
[2025-01-10 08:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 08:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 03:36:03] Production.INFO: ==5592== Releasing lock...
[2025-01-10 03:36:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 03:36:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 03:36:04] Production.INFO: ==5605== Lock acquired, processing the job...
[2025-01-10 03:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 03:36:04] Production.INFO: ==5597== Lock acquired, processing the job...
[2025-01-10 03:36:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 03:36:04] Production.INFO: ==5607== Lock acquired, processing the job...
[2025-01-10 03:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 03:36:04] Production.INFO: ==5599== Lock acquired, processing the job...
[2025-01-10 03:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 03:36:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 03:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:36:04] Production.INFO: ==5601== Lock acquired, processing the job...
[2025-01-10 03:36:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 03:36:04] Production.INFO: ==5603== Lock acquired, processing the job...
[2025-01-10 03:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 03:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 03:36:04] Production.INFO: count ==21
[2025-01-10 03:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 03:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 03:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 03:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:36:04] Production.INFO: count ==21
[2025-01-10 03:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214200') start
[2025-01-10 03:36:04] Production.INFO: Account Balance Start.
[2025-01-10 03:36:04] Production.INFO: CreateAllLog Start
[2025-01-10 03:36:04] Production.INFO: 117
[2025-01-10 03:36:04] Production.INFO: Date 2025-01-08
[2025-01-10 03:36:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214200') end
[2025-01-10 03:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 03:36:04] Production.INFO: 1
[2025-01-10 03:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 03:36:04] Production.INFO: ==5607== Releasing lock...
[2025-01-10 03:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 03:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 03:36:04] Production.ERROR: done
[2025-01-10 03:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 03:36:04] Production.INFO: ==5599== Releasing lock...
[2025-01-10 03:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 03:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 03:36:04] Production.INFO: Date 2025-01-09
[2025-01-10 03:36:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:36:04] Production.INFO: Date 2025-01-10
[2025-01-10 03:36:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:36:04] Production.INFO: Total Charge 0
[2025-01-10 03:36:04] Production.ERROR: done
[2025-01-10 03:36:04] Production.INFO: CreateAllLog End
[2025-01-10 03:36:05] Production.INFO: Account Balance End.
[2025-01-10 03:36:05] Production.ERROR: CronJobId end 12
[2025-01-10 03:36:05] Production.INFO: ==5603== Releasing lock...
[2025-01-10 03:36:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 03:36:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 03:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 00:36:05
[end_date_ymd] => 2025-01-10 03:36:05
[RateCDR] => 1
)
[2025-01-10 03:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 00:36:05' and `end` < '2025-01-10 03:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 03:36:11] Production.ERROR: CronJobId end10
[2025-01-10 03:36:11] Production.INFO: ==5601== Releasing lock...
[2025-01-10 03:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 03:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 03:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 03:36:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 03:36:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 03:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 03:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 03:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 03:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 03:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 03:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 03:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 03:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 03:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 03:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 03:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 03:36:13] Production.INFO: call_cost start
[2025-01-10 03:36:13] Production.INFO: call_cost end
[2025-01-10 03:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 03:36:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 03:36:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 03:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 03:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 03:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 03:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 03:36:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 03:36:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 03:36:14] Production.INFO: ==5597== Releasing lock...
[2025-01-10 03:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 03:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 03:36:19] Production.INFO: count ==158
[2025-01-10 03:36:19] Production.ERROR: pbx CDR StartTime 2025-01-10 00:36:05 - End Time 2025-01-10 03:36:05
[2025-01-10 03:36:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 03:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214203', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214203', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214203', 'tblTempVendorCDR_20' ) start
[2025-01-10 03:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214203', 'tblTempVendorCDR_20' ) end
[2025-01-10 03:36:19] Production.INFO: ProcessCDR(1,14214203,1,1,2)
[2025-01-10 03:36:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214203,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:36:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214203,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:36:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214203,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214203,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214203', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214203', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:36:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:36:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:36:22] Production.INFO: ==5605== Releasing lock...
[2025-01-10 03:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 03:36:22] Production.INFO: 28.5 MB #Memory Used#
[2025-01-10 08:37:01] Production.INFO: ==5670== Lock acquired, processing the job...
[2025-01-10 08:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 08:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 08:37:01] Production.INFO: neon service started
[2025-01-10 08:37:01] Production.INFO: neon service started
[2025-01-10 08:37:01] Production.INFO: ==5670== Releasing lock...
[2025-01-10 08:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 08:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:37:02] Production.INFO: ==5672== Lock acquired, processing the job...
[2025-01-10 03:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:37:02] Production.INFO: ==5674== Lock acquired, processing the job...
[2025-01-10 08:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 03:37:02] Production.INFO: ==5672== Releasing lock...
[2025-01-10 03:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 03:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:37:02] Production.INFO: ==5674== Releasing lock...
[2025-01-10 08:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 08:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 03:37:03] Production.INFO: ==5681== Lock acquired, processing the job...
[2025-01-10 03:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 03:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 03:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 03:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 03:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 03:37:03] Production.INFO: ==5687== Lock acquired, processing the job...
[2025-01-10 03:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 03:37:03] Production.INFO: ==5677== Lock acquired, processing the job...
[2025-01-10 03:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 03:37:03] Production.INFO: ==5679== Lock acquired, processing the job...
[2025-01-10 03:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 03:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 03:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:37:03] Production.INFO: count ==21
[2025-01-10 03:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:37:03] Production.INFO: count ==21
[2025-01-10 03:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214204') start
[2025-01-10 03:37:03] Production.INFO: ==5683== Lock acquired, processing the job...
[2025-01-10 03:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 03:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214204') end
[2025-01-10 03:37:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 03:37:03] Production.INFO: 1
[2025-01-10 03:37:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 03:37:03] Production.INFO: Account Balance Start.
[2025-01-10 03:37:03] Production.INFO: CreateAllLog Start
[2025-01-10 03:37:03] Production.INFO: 117
[2025-01-10 03:37:03] Production.INFO: ==5687== Releasing lock...
[2025-01-10 03:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 03:37:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 03:37:03] Production.INFO: Date 2025-01-08
[2025-01-10 03:37:03] Production.INFO: ==5685== Lock acquired, processing the job...
[2025-01-10 03:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 03:37:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:37:03] Production.INFO: ==5679== Releasing lock...
[2025-01-10 03:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 03:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 03:37:03] Production.INFO: Date 2025-01-09
[2025-01-10 03:37:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:37:03] Production.INFO: Date 2025-01-10
[2025-01-10 03:37:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:37:03] Production.INFO: Total Charge 0
[2025-01-10 03:37:03] Production.INFO: CreateAllLog End
[2025-01-10 03:37:04] Production.ERROR: done
[2025-01-10 03:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 03:37:04] Production.INFO: Account Balance End.
[2025-01-10 03:37:04] Production.ERROR: CronJobId end 12
[2025-01-10 03:37:04] Production.INFO: ==5683== Releasing lock...
[2025-01-10 03:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 03:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 03:37:04] Production.ERROR: done
[2025-01-10 03:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 00:37:05
[end_date_ymd] => 2025-01-10 03:37:05
[RateCDR] => 1
)
[2025-01-10 03:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 00:37:05' and `end` < '2025-01-10 03:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 03:37:11] Production.ERROR: CronJobId end10
[2025-01-10 03:37:11] Production.INFO: ==5681== Releasing lock...
[2025-01-10 03:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 03:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 03:37:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 03:37:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 03:37:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 03:37:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 03:37:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 03:37:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 03:37:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 03:37:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 03:37:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 03:37:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 03:37:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 03:37:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 03:37:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 03:37:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 03:37:13] Production.INFO: call_cost start
[2025-01-10 03:37:13] Production.INFO: call_cost end
[2025-01-10 03:37:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 03:37:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 03:37:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 03:37:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 03:37:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 03:37:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 03:37:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 03:37:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 03:37:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 03:37:13] Production.INFO: ==5677== Releasing lock...
[2025-01-10 03:37:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 03:37:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 03:37:19] Production.INFO: count ==158
[2025-01-10 03:37:19] Production.ERROR: pbx CDR StartTime 2025-01-10 00:37:05 - End Time 2025-01-10 03:37:05
[2025-01-10 03:37:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 03:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214208', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214208', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214208', 'tblTempVendorCDR_20' ) start
[2025-01-10 03:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214208', 'tblTempVendorCDR_20' ) end
[2025-01-10 03:37:19] Production.INFO: ProcessCDR(1,14214208,1,1,2)
[2025-01-10 03:37:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214208,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:37:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214208,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:37:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214208,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:37:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214208,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214208', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214208', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:37:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:37:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:37:22] Production.INFO: ==5685== Releasing lock...
[2025-01-10 03:37:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 03:37:22] Production.INFO: 28.5 MB #Memory Used#
[2025-01-10 08:38:02] Production.INFO: ==5747== Lock acquired, processing the job...
[2025-01-10 08:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 08:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 08:38:02] Production.INFO: neon service started
[2025-01-10 08:38:02] Production.INFO: neon service started
[2025-01-10 08:38:02] Production.INFO: ==5747== Releasing lock...
[2025-01-10 08:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 08:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:38:02] Production.INFO: ==5749== Lock acquired, processing the job...
[2025-01-10 03:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 03:38:02] Production.INFO: ==5749== Releasing lock...
[2025-01-10 03:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 03:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:38:03] Production.INFO: ==5752== Lock acquired, processing the job...
[2025-01-10 08:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 08:38:03] Production.INFO: ==5752== Releasing lock...
[2025-01-10 08:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 08:38:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 03:38:03] Production.INFO: ==5754== Lock acquired, processing the job...
[2025-01-10 03:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 03:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 03:38:03] Production.INFO: ==5758== Lock acquired, processing the job...
[2025-01-10 03:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 03:38:03] Production.INFO: ==5760== Lock acquired, processing the job...
[2025-01-10 03:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 03:38:03] Production.INFO: ==5756== Lock acquired, processing the job...
[2025-01-10 03:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 03:38:03] Production.INFO: ==5762== Lock acquired, processing the job...
[2025-01-10 03:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 03:38:03] Production.INFO: Account Balance Start.
[2025-01-10 03:38:03] Production.INFO: CreateAllLog Start
[2025-01-10 03:38:03] Production.INFO: 117
[2025-01-10 03:38:03] Production.INFO: ==5764== Lock acquired, processing the job...
[2025-01-10 03:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 03:38:04] Production.INFO: Date 2025-01-08
[2025-01-10 03:38:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 03:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 03:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 03:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 03:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:38:04] Production.INFO: Date 2025-01-09
[2025-01-10 03:38:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:38:04] Production.INFO: Date 2025-01-10
[2025-01-10 03:38:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:38:04] Production.INFO: Total Charge 0
[2025-01-10 03:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:38:04] Production.INFO: CreateAllLog End
[2025-01-10 03:38:04] Production.INFO: count ==21
[2025-01-10 03:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:38:04] Production.INFO: count ==21
[2025-01-10 03:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214212') start
[2025-01-10 03:38:04] Production.ERROR: done
[2025-01-10 03:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 03:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214212') end
[2025-01-10 03:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 03:38:04] Production.INFO: 1
[2025-01-10 03:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 03:38:04] Production.INFO: ==5764== Releasing lock...
[2025-01-10 03:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 03:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 03:38:04] Production.ERROR: done
[2025-01-10 03:38:04] Production.INFO: ==5756== Releasing lock...
[2025-01-10 03:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 03:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 03:38:04] Production.INFO: Account Balance End.
[2025-01-10 03:38:04] Production.ERROR: CronJobId end 12
[2025-01-10 03:38:04] Production.INFO: ==5760== Releasing lock...
[2025-01-10 03:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 03:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 03:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 00:38:05
[end_date_ymd] => 2025-01-10 03:38:05
[RateCDR] => 1
)
[2025-01-10 03:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 00:38:05' and `end` < '2025-01-10 03:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 03:38:11] Production.ERROR: CronJobId end10
[2025-01-10 03:38:11] Production.INFO: ==5758== Releasing lock...
[2025-01-10 03:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 03:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 03:38:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 03:38:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 03:38:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 03:38:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 03:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 03:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 03:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 03:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 03:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 03:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 03:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 03:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 03:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 03:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 03:38:13] Production.INFO: call_cost start
[2025-01-10 03:38:13] Production.INFO: call_cost end
[2025-01-10 03:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 03:38:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 03:38:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 03:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 03:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 03:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 03:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 03:38:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 03:38:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 03:38:14] Production.INFO: ==5754== Releasing lock...
[2025-01-10 03:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 03:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 03:38:19] Production.INFO: count ==158
[2025-01-10 03:38:19] Production.ERROR: pbx CDR StartTime 2025-01-10 00:38:05 - End Time 2025-01-10 03:38:05
[2025-01-10 03:38:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 03:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214213', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214213', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214213', 'tblTempVendorCDR_20' ) start
[2025-01-10 03:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214213', 'tblTempVendorCDR_20' ) end
[2025-01-10 03:38:19] Production.INFO: ProcessCDR(1,14214213,1,1,2)
[2025-01-10 03:38:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214213,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:38:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214213,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:38:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214213,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:38:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214213,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214213', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214213', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:38:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:38:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:38:22] Production.INFO: ==5762== Releasing lock...
[2025-01-10 03:38:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 03:38:22] Production.INFO: 28.5 MB #Memory Used#
[2025-01-10 08:39:01] Production.INFO: ==5822== Lock acquired, processing the job...
[2025-01-10 08:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 08:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 08:39:01] Production.INFO: neon service started
[2025-01-10 08:39:01] Production.INFO: neon service started
[2025-01-10 08:39:01] Production.INFO: ==5822== Releasing lock...
[2025-01-10 08:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 08:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:39:02] Production.INFO: ==5824== Lock acquired, processing the job...
[2025-01-10 03:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:39:02] Production.INFO: ==5826== Lock acquired, processing the job...
[2025-01-10 08:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 08:39:02] Production.INFO: ==5826== Releasing lock...
[2025-01-10 08:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 08:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 03:39:02] Production.INFO: ==5824== Releasing lock...
[2025-01-10 03:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 03:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 03:39:03] Production.INFO: ==5833== Lock acquired, processing the job...
[2025-01-10 03:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 03:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 03:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 03:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 03:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 03:39:03] Production.INFO: ==5839== Lock acquired, processing the job...
[2025-01-10 03:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 03:39:03] Production.INFO: ==5829== Lock acquired, processing the job...
[2025-01-10 03:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 03:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:39:03] Production.INFO: ==5831== Lock acquired, processing the job...
[2025-01-10 03:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 03:39:03] Production.INFO: count ==21
[2025-01-10 03:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 03:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:39:03] Production.INFO: count ==21
[2025-01-10 03:39:03] Production.INFO: ==5835== Lock acquired, processing the job...
[2025-01-10 03:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 03:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214214') start
[2025-01-10 03:39:03] Production.INFO: Account Balance Start.
[2025-01-10 03:39:03] Production.INFO: CreateAllLog Start
[2025-01-10 03:39:03] Production.INFO: 117
[2025-01-10 03:39:03] Production.INFO: Date 2025-01-08
[2025-01-10 03:39:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:39:03] Production.INFO: ==5837== Lock acquired, processing the job...
[2025-01-10 03:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 03:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214214') end
[2025-01-10 03:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 03:39:03] Production.INFO: 1
[2025-01-10 03:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 03:39:03] Production.INFO: Date 2025-01-09
[2025-01-10 03:39:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:39:03] Production.INFO: Date 2025-01-10
[2025-01-10 03:39:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:39:03] Production.INFO: ==5839== Releasing lock...
[2025-01-10 03:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 03:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 03:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:39:03] Production.INFO: Total Charge 0
[2025-01-10 03:39:03] Production.INFO: CreateAllLog End
[2025-01-10 03:39:04] Production.INFO: ==5831== Releasing lock...
[2025-01-10 03:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 03:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 03:39:04] Production.INFO: Account Balance End.
[2025-01-10 03:39:04] Production.ERROR: CronJobId end 12
[2025-01-10 03:39:04] Production.INFO: ==5835== Releasing lock...
[2025-01-10 03:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 03:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 03:39:04] Production.ERROR: done
[2025-01-10 03:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 03:39:04] Production.ERROR: done
[2025-01-10 03:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 00:39:05
[end_date_ymd] => 2025-01-10 03:39:05
[RateCDR] => 1
)
[2025-01-10 03:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 00:39:05' and `end` < '2025-01-10 03:39:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 03:39:11] Production.ERROR: CronJobId end10
[2025-01-10 03:39:11] Production.INFO: ==5833== Releasing lock...
[2025-01-10 03:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 03:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 03:39:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 03:39:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 03:39:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 03:39:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 03:39:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 03:39:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 03:39:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 03:39:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 03:39:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 03:39:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 03:39:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 03:39:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 03:39:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 03:39:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 03:39:12] Production.INFO: call_cost start
[2025-01-10 03:39:12] Production.INFO: call_cost end
[2025-01-10 03:39:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 03:39:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 03:39:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 03:39:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 03:39:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 03:39:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 03:39:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 03:39:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 03:39:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 03:39:13] Production.INFO: ==5829== Releasing lock...
[2025-01-10 03:39:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 03:39:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 03:39:18] Production.INFO: count ==158
[2025-01-10 03:39:18] Production.ERROR: pbx CDR StartTime 2025-01-10 00:39:05 - End Time 2025-01-10 03:39:05
[2025-01-10 03:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 03:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214218', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214218', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214218', 'tblTempVendorCDR_20' ) start
[2025-01-10 03:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214218', 'tblTempVendorCDR_20' ) end
[2025-01-10 03:39:18] Production.INFO: ProcessCDR(1,14214218,1,1,2)
[2025-01-10 03:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214218,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214218,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214218,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214218,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214218', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214218', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:39:21] Production.INFO: ==5837== Releasing lock...
[2025-01-10 03:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 03:39:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-10 08:40:02] Production.INFO: ==5937== Lock acquired, processing the job...
[2025-01-10 08:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 08:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 08:40:02] Production.INFO: neon service started
[2025-01-10 08:40:02] Production.INFO: neon service started
[2025-01-10 08:40:02] Production.INFO: ==5937== Releasing lock...
[2025-01-10 08:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 08:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:40:02] Production.INFO: ==5939== Lock acquired, processing the job...
[2025-01-10 03:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 03:40:03] Production.INFO: ==5939== Releasing lock...
[2025-01-10 03:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 03:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:40:03] Production.INFO: ==5941== Lock acquired, processing the job...
[2025-01-10 08:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 08:40:03] Production.INFO: ==5941== Releasing lock...
[2025-01-10 08:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 08:40:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 03:40:04] Production.INFO: ==5948== Lock acquired, processing the job...
[2025-01-10 03:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 03:40:04] Production.INFO: ==5956== Lock acquired, processing the job...
[2025-01-10 03:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 03:40:04] Production.INFO: ==5954== Lock acquired, processing the job...
[2025-01-10 03:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 03:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:40:04] Production.INFO: ==5946== Lock acquired, processing the job...
[2025-01-10 03:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 03:40:04] Production.INFO: ==5944== Lock acquired, processing the job...
[2025-01-10 03:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 03:40:04] Production.INFO: ==5948== Releasing lock...
[2025-01-10 03:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 03:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 03:40:04] Production.INFO: ==5950== Lock acquired, processing the job...
[2025-01-10 03:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 03:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 03:40:04] Production.INFO: ==5952== Lock acquired, processing the job...
[2025-01-10 03:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 03:40:04] Production.ERROR: done
[2025-01-10 03:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 03:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 03:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 03:40:04] Production.ERROR: CronJob PID - 5946
[2025-01-10 03:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-10 03:40:04] Production.ERROR: CronJob ID - 5
[2025-01-10 03:40:04] Production.ERROR: CronJob Last Run Time 2025-01-10 03:40:00
[2025-01-10 03:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 03:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 03:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 03:40:04] Production.ERROR: CronJob PID - 5950
[2025-01-10 03:40:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-10 03:40:04] Production.ERROR: CronJob ID - 10
[2025-01-10 03:40:04] Production.ERROR: CronJob Last Run Time 2025-01-10 03:40:00
[2025-01-10 03:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 03:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 03:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 03:40:04] Production.ERROR: CronJob PID - 5952
[2025-01-10 03:40:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-10 03:40:04] Production.ERROR: CronJob ID - 12
[2025-01-10 03:40:04] Production.ERROR: CronJob Last Run Time 2025-01-10 03:40:00
[2025-01-10 03:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 03:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 03:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 03:40:04] Production.ERROR: CronJob PID - 5954
[2025-01-10 03:40:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-10 03:40:04] Production.ERROR: CronJob ID - 16
[2025-01-10 03:40:04] Production.ERROR: CronJob Last Run Time 2025-01-10 03:40:00
[2025-01-10 03:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 03:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 03:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 03:40:04] Production.ERROR: CronJob PID - 5956
[2025-01-10 03:40:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-10 03:40:04] Production.ERROR: CronJob ID - 17
[2025-01-10 03:40:04] Production.ERROR: CronJob Last Run Time 2025-01-10 03:40:00
[2025-01-10 03:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 03:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 03:40:04] Production.INFO: ==5958== Lock acquired, processing the job...
[2025-01-10 03:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 03:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 03:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 03:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 03:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 03:40:04] Production.ERROR: done
[2025-01-10 03:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 03:40:04] Production.INFO: ==5944== Releasing lock...
[2025-01-10 03:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 03:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 03:40:04] Production.ERROR: done
[2025-01-10 03:40:04] Production.INFO: Account Balance Start.
[2025-01-10 03:40:04] Production.INFO: CreateAllLog Start
[2025-01-10 03:40:04] Production.INFO: 117
[2025-01-10 03:40:04] Production.INFO: Date 2025-01-08
[2025-01-10 03:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 03:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14214224', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 03:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:40:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:40:04] Production.INFO: count ==21
[2025-01-10 03:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:40:04] Production.INFO: count ==21
[2025-01-10 03:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214223') start
[2025-01-10 03:40:05] Production.INFO: Date 2025-01-09
[2025-01-10 03:40:05] Production.INFO: Reseller ==> 0
[2025-01-10 03:40:05] Production.INFO: Date 2025-01-10
[2025-01-10 03:40:05] Production.INFO: Reseller ==> 0
[2025-01-10 03:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14214223') end
[2025-01-10 03:40:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 03:40:05] Production.INFO: 1
[2025-01-10 03:40:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 03:40:05] Production.INFO: Total Charge 0
[2025-01-10 03:40:05] Production.INFO: CreateAllLog End
[2025-01-10 03:40:05] Production.INFO: ==5958== Releasing lock...
[2025-01-10 03:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 03:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 03:40:05] Production.INFO: Account Balance End.
[2025-01-10 03:40:05] Production.ERROR: CronJobId end 12
[2025-01-10 03:40:05] Production.INFO: ==5952== Releasing lock...
[2025-01-10 03:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 03:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 03:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 00:40:06
[end_date_ymd] => 2025-01-10 03:40:06
[RateCDR] => 1
)
[2025-01-10 03:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 00:40:06' and `end` < '2025-01-10 03:40:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 03:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14214224', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 03:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 03:40:08] Production.INFO: ProcessCDR(1,14214224,1,1,2)
[2025-01-10 03:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14214224,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14214224,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:40:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:40:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:40:08] Production.INFO: ==5956== Releasing lock...
[2025-01-10 03:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 03:40:08] Production.INFO: 26 MB #Memory Used#
[2025-01-10 03:40:13] Production.ERROR: CronJobId end10
[2025-01-10 03:40:13] Production.INFO: ==5950== Releasing lock...
[2025-01-10 03:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 03:40:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 03:40:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 03:40:15] Production.INFO: ============== Balance Warning START===========
[2025-01-10 03:40:15] Production.INFO: ============== Balance Warning END===========
[2025-01-10 03:40:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 03:40:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 03:40:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 03:40:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 03:40:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 03:40:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 03:40:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 03:40:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 03:40:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 03:40:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 03:40:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 03:40:15] Production.INFO: call_cost start
[2025-01-10 03:40:15] Production.INFO: call_cost end
[2025-01-10 03:40:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 03:40:16] Production.INFO: ============== Report Schedule START===========
[2025-01-10 03:40:16] Production.INFO: ============== Report Schedule END===========
[2025-01-10 03:40:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 03:40:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 03:40:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 03:40:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 03:40:16] Production.INFO: ============== Deal alert START===========
[2025-01-10 03:40:16] Production.INFO: ============== Deal alert END===========
[2025-01-10 03:40:16] Production.INFO: ==5946== Releasing lock...
[2025-01-10 03:40:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 03:40:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 03:40:19] Production.INFO: count ==158
[2025-01-10 03:40:19] Production.ERROR: pbx CDR StartTime 2025-01-10 00:40:06 - End Time 2025-01-10 03:40:06
[2025-01-10 03:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 03:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214222', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214222', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214222', 'tblTempVendorCDR_20' ) start
[2025-01-10 03:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214222', 'tblTempVendorCDR_20' ) end
[2025-01-10 03:40:19] Production.INFO: ProcessCDR(1,14214222,1,1,2)
[2025-01-10 03:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214222,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214222,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214222,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:40:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214222,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214222', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214222', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:40:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:40:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:40:22] Production.INFO: ==5954== Releasing lock...
[2025-01-10 03:40:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 03:40:22] Production.INFO: 28.5 MB #Memory Used#
[2025-01-10 08:41:01] Production.INFO: ==6013== Lock acquired, processing the job...
[2025-01-10 08:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 08:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 08:41:01] Production.INFO: neon service started
[2025-01-10 08:41:01] Production.INFO: neon service started
[2025-01-10 08:41:01] Production.INFO: ==6013== Releasing lock...
[2025-01-10 08:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 08:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:41:02] Production.INFO: ==6015== Lock acquired, processing the job...
[2025-01-10 03:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:41:02] Production.INFO: ==6017== Lock acquired, processing the job...
[2025-01-10 08:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 08:41:02] Production.INFO: ==6017== Releasing lock...
[2025-01-10 08:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 08:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 03:41:02] Production.INFO: ==6015== Releasing lock...
[2025-01-10 03:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 03:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 03:41:03] Production.INFO: ==6028== Lock acquired, processing the job...
[2025-01-10 03:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 03:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:41:03] Production.INFO: ==6030== Lock acquired, processing the job...
[2025-01-10 03:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 03:41:03] Production.INFO: ==6020== Lock acquired, processing the job...
[2025-01-10 03:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 03:41:03] Production.INFO: ==6022== Lock acquired, processing the job...
[2025-01-10 03:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 03:41:03] Production.INFO: ==6026== Lock acquired, processing the job...
[2025-01-10 03:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 03:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:41:03] Production.INFO: count ==21
[2025-01-10 03:41:03] Production.INFO: ==6024== Lock acquired, processing the job...
[2025-01-10 03:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 03:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:41:03] Production.ERROR: done
[2025-01-10 03:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 03:41:03] Production.INFO: count ==21
[2025-01-10 03:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214225') start
[2025-01-10 03:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 03:41:03] Production.INFO: Account Balance Start.
[2025-01-10 03:41:03] Production.INFO: CreateAllLog Start
[2025-01-10 03:41:03] Production.ERROR: done
[2025-01-10 03:41:03] Production.INFO: 117
[2025-01-10 03:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 03:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 03:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 03:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 03:41:03] Production.INFO: Date 2025-01-08
[2025-01-10 03:41:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:41:04] Production.INFO: Date 2025-01-09
[2025-01-10 03:41:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214225') end
[2025-01-10 03:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 03:41:04] Production.INFO: 1
[2025-01-10 03:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 03:41:04] Production.INFO: Date 2025-01-10
[2025-01-10 03:41:04] Production.INFO: ==6030== Releasing lock...
[2025-01-10 03:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 03:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 03:41:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:41:04] Production.INFO: Total Charge 0
[2025-01-10 03:41:04] Production.INFO: ==6022== Releasing lock...
[2025-01-10 03:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 03:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 03:41:04] Production.INFO: CreateAllLog End
[2025-01-10 03:41:04] Production.INFO: Account Balance End.
[2025-01-10 03:41:04] Production.ERROR: CronJobId end 12
[2025-01-10 03:41:04] Production.INFO: ==6026== Releasing lock...
[2025-01-10 03:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 03:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 03:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 00:41:05
[end_date_ymd] => 2025-01-10 03:41:05
[RateCDR] => 1
)
[2025-01-10 03:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 00:41:05' and `end` < '2025-01-10 03:41:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 03:41:11] Production.ERROR: CronJobId end10
[2025-01-10 03:41:11] Production.INFO: ==6024== Releasing lock...
[2025-01-10 03:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 03:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 03:41:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 03:41:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 03:41:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 03:41:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 03:41:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 03:41:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 03:41:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 03:41:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 03:41:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 03:41:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 03:41:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 03:41:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 03:41:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 03:41:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 03:41:12] Production.INFO: call_cost start
[2025-01-10 03:41:12] Production.INFO: call_cost end
[2025-01-10 03:41:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 03:41:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 03:41:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 03:41:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 03:41:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 03:41:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 03:41:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 03:41:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 03:41:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 03:41:13] Production.INFO: ==6020== Releasing lock...
[2025-01-10 03:41:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 03:41:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 03:41:19] Production.INFO: count ==154
[2025-01-10 03:41:19] Production.ERROR: pbx CDR StartTime 2025-01-10 00:41:05 - End Time 2025-01-10 03:41:05
[2025-01-10 03:41:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 03:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214229', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214229', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214229', 'tblTempVendorCDR_20' ) start
[2025-01-10 03:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214229', 'tblTempVendorCDR_20' ) end
[2025-01-10 03:41:19] Production.INFO: ProcessCDR(1,14214229,1,1,2)
[2025-01-10 03:41:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214229,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:41:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214229,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:41:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214229,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:41:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214229,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:41:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214229', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:41:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214229', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:41:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:41:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:41:23] Production.INFO: ==6028== Releasing lock...
[2025-01-10 03:41:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 03:41:23] Production.INFO: 28.5 MB #Memory Used#
[2025-01-10 08:42:02] Production.INFO: ==6084== Lock acquired, processing the job...
[2025-01-10 08:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 08:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 08:42:02] Production.INFO: neon service started
[2025-01-10 08:42:02] Production.INFO: neon service started
[2025-01-10 08:42:02] Production.INFO: ==6084== Releasing lock...
[2025-01-10 08:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 08:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 08:42:02] Production.INFO: ==6088== Lock acquired, processing the job...
[2025-01-10 08:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 08:42:02] Production.INFO: ==6088== Releasing lock...
[2025-01-10 08:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 08:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 03:42:02] Production.INFO: ==6086== Lock acquired, processing the job...
[2025-01-10 03:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 03:42:02] Production.INFO: ==6086== Releasing lock...
[2025-01-10 03:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 03:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 03:42:03] Production.INFO: ==6091== Lock acquired, processing the job...
[2025-01-10 03:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 03:42:03] Production.INFO: ==6093== Lock acquired, processing the job...
[2025-01-10 03:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 03:42:03] Production.INFO: ==6095== Lock acquired, processing the job...
[2025-01-10 03:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 03:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 03:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 03:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 03:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 03:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 03:42:03] Production.INFO: ==6093== Releasing lock...
[2025-01-10 03:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 03:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 03:42:04] Production.INFO: ==6097== Lock acquired, processing the job...
[2025-01-10 03:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 03:42:04] Production.INFO: ==6099== Lock acquired, processing the job...
[2025-01-10 03:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 03:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:42:04] Production.INFO: ==6101== Lock acquired, processing the job...
[2025-01-10 03:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 03:42:04] Production.INFO: Account Balance Start.
[2025-01-10 03:42:04] Production.INFO: CreateAllLog Start
[2025-01-10 03:42:04] Production.INFO: 117
[2025-01-10 03:42:04] Production.INFO: Date 2025-01-08
[2025-01-10 03:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:42:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:42:04] Production.INFO: count ==21
[2025-01-10 03:42:04] Production.ERROR: done
[2025-01-10 03:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 03:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:42:04] Production.INFO: count ==21
[2025-01-10 03:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214233') start
[2025-01-10 03:42:04] Production.INFO: Date 2025-01-09
[2025-01-10 03:42:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:42:04] Production.INFO: Date 2025-01-10
[2025-01-10 03:42:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214233') end
[2025-01-10 03:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 03:42:04] Production.INFO: 1
[2025-01-10 03:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 03:42:04] Production.ERROR: done
[2025-01-10 03:42:04] Production.INFO: Total Charge 0
[2025-01-10 03:42:04] Production.INFO: CreateAllLog End
[2025-01-10 03:42:04] Production.INFO: ==6101== Releasing lock...
[2025-01-10 03:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 03:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 03:42:04] Production.INFO: Account Balance End.
[2025-01-10 03:42:04] Production.ERROR: CronJobId end 12
[2025-01-10 03:42:04] Production.INFO: ==6097== Releasing lock...
[2025-01-10 03:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 03:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 03:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 00:42:05
[end_date_ymd] => 2025-01-10 03:42:05
[RateCDR] => 1
)
[2025-01-10 03:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 00:42:05' and `end` < '2025-01-10 03:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 03:42:11] Production.ERROR: CronJobId end10
[2025-01-10 03:42:11] Production.INFO: ==6095== Releasing lock...
[2025-01-10 03:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 03:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 03:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 03:42:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 03:42:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 03:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 03:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 03:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 03:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 03:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 03:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 03:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 03:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 03:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 03:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 03:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 03:42:13] Production.INFO: call_cost start
[2025-01-10 03:42:13] Production.INFO: call_cost end
[2025-01-10 03:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 03:42:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 03:42:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 03:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 03:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 03:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 03:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 03:42:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 03:42:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 03:42:14] Production.INFO: ==6091== Releasing lock...
[2025-01-10 03:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 03:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 03:42:19] Production.INFO: count ==154
[2025-01-10 03:42:19] Production.ERROR: pbx CDR StartTime 2025-01-10 00:42:05 - End Time 2025-01-10 03:42:05
[2025-01-10 03:42:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 03:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214234', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214234', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214234', 'tblTempVendorCDR_20' ) start
[2025-01-10 03:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214234', 'tblTempVendorCDR_20' ) end
[2025-01-10 03:42:19] Production.INFO: ProcessCDR(1,14214234,1,1,2)
[2025-01-10 03:42:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214234,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:42:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214234,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:42:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214234,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214234,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214234', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214234', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:42:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:42:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:42:22] Production.INFO: ==6099== Releasing lock...
[2025-01-10 03:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 03:42:22] Production.INFO: 28.5 MB #Memory Used#
[2025-01-10 08:43:01] Production.INFO: ==6156== Lock acquired, processing the job...
[2025-01-10 08:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 08:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 08:43:01] Production.INFO: neon service started
[2025-01-10 08:43:01] Production.INFO: neon service started
[2025-01-10 08:43:01] Production.INFO: ==6156== Releasing lock...
[2025-01-10 08:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 08:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:43:02] Production.INFO: ==6158== Lock acquired, processing the job...
[2025-01-10 03:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:43:02] Production.INFO: ==6160== Lock acquired, processing the job...
[2025-01-10 08:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 08:43:02] Production.INFO: ==6160== Releasing lock...
[2025-01-10 08:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 08:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 03:43:02] Production.INFO: ==6158== Releasing lock...
[2025-01-10 03:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 03:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 03:43:03] Production.INFO: ==6167== Lock acquired, processing the job...
[2025-01-10 03:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 03:43:03] Production.INFO: ==6171== Lock acquired, processing the job...
[2025-01-10 03:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 03:43:03] Production.INFO: ==6163== Lock acquired, processing the job...
[2025-01-10 03:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 03:43:03] Production.INFO: ==6165== Lock acquired, processing the job...
[2025-01-10 03:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 03:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 03:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 03:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 03:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 03:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 03:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:43:03] Production.INFO: ==6169== Lock acquired, processing the job...
[2025-01-10 03:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 03:43:03] Production.INFO: ==6173== Lock acquired, processing the job...
[2025-01-10 03:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 03:43:03] Production.INFO: Account Balance Start.
[2025-01-10 03:43:03] Production.INFO: CreateAllLog Start
[2025-01-10 03:43:03] Production.INFO: 117
[2025-01-10 03:43:03] Production.INFO: Date 2025-01-08
[2025-01-10 03:43:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:43:03] Production.INFO: Date 2025-01-09
[2025-01-10 03:43:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:43:03] Production.INFO: Date 2025-01-10
[2025-01-10 03:43:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:43:03] Production.INFO: count ==21
[2025-01-10 03:43:04] Production.INFO: ==6165== Releasing lock...
[2025-01-10 03:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 03:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 03:43:04] Production.ERROR: done
[2025-01-10 03:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 03:43:04] Production.INFO: Total Charge 0
[2025-01-10 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-01-10 03:43:04] Production.INFO: count ==21
[2025-01-10 03:43:04] Production.INFO: CreateAllLog End
[2025-01-10 03:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214238') start
[2025-01-10 03:43:04] Production.ERROR: done
[2025-01-10 03:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214238') end
[2025-01-10 03:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 03:43:04] Production.INFO: 1
[2025-01-10 03:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 03:43:04] Production.INFO: Account Balance End.
[2025-01-10 03:43:04] Production.ERROR: CronJobId end 12
[2025-01-10 03:43:04] Production.INFO: ==6169== Releasing lock...
[2025-01-10 03:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 03:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 03:43:04] Production.INFO: ==6173== Releasing lock...
[2025-01-10 03:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 03:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 03:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 00:43:05
[end_date_ymd] => 2025-01-10 03:43:05
[RateCDR] => 1
)
[2025-01-10 03:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 00:43:05' and `end` < '2025-01-10 03:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 03:43:11] Production.ERROR: CronJobId end10
[2025-01-10 03:43:11] Production.INFO: ==6167== Releasing lock...
[2025-01-10 03:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 03:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 03:43:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 03:43:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 03:43:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 03:43:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 03:43:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 03:43:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 03:43:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 03:43:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 03:43:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 03:43:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 03:43:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 03:43:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 03:43:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 03:43:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 03:43:13] Production.INFO: call_cost start
[2025-01-10 03:43:13] Production.INFO: call_cost end
[2025-01-10 03:43:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 03:43:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 03:43:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 03:43:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 03:43:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 03:43:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 03:43:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 03:43:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 03:43:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 03:43:14] Production.INFO: ==6163== Releasing lock...
[2025-01-10 03:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 03:43:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 03:43:18] Production.INFO: count ==154
[2025-01-10 03:43:18] Production.ERROR: pbx CDR StartTime 2025-01-10 00:43:05 - End Time 2025-01-10 03:43:05
[2025-01-10 03:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 03:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214239', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214239', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214239', 'tblTempVendorCDR_20' ) start
[2025-01-10 03:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214239', 'tblTempVendorCDR_20' ) end
[2025-01-10 03:43:18] Production.INFO: ProcessCDR(1,14214239,1,1,2)
[2025-01-10 03:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214239,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214239,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214239,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:43:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214239,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214239', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214239', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:43:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:43:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:43:22] Production.INFO: ==6171== Releasing lock...
[2025-01-10 03:43:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 03:43:22] Production.INFO: 28.5 MB #Memory Used#
[2025-01-10 08:44:01] Production.INFO: ==6228== Lock acquired, processing the job...
[2025-01-10 08:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 08:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 08:44:01] Production.INFO: neon service started
[2025-01-10 08:44:02] Production.INFO: neon service started
[2025-01-10 08:44:02] Production.INFO: ==6228== Releasing lock...
[2025-01-10 08:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 08:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:44:02] Production.INFO: ==6230== Lock acquired, processing the job...
[2025-01-10 03:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 03:44:02] Production.INFO: ==6230== Releasing lock...
[2025-01-10 03:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 03:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:44:02] Production.INFO: ==6232== Lock acquired, processing the job...
[2025-01-10 08:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 08:44:02] Production.INFO: ==6232== Releasing lock...
[2025-01-10 08:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 08:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 03:44:03] Production.INFO: ==6238== Lock acquired, processing the job...
[2025-01-10 03:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 03:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 03:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 03:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 03:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 03:44:03] Production.INFO: ==6241== Lock acquired, processing the job...
[2025-01-10 03:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 03:44:03] Production.INFO: Account Balance Start.
[2025-01-10 03:44:03] Production.INFO: CreateAllLog Start
[2025-01-10 03:44:03] Production.INFO: 117
[2025-01-10 03:44:03] Production.INFO: ==6234== Lock acquired, processing the job...
[2025-01-10 03:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 03:44:03] Production.INFO: Date 2025-01-08
[2025-01-10 03:44:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:44:03] Production.INFO: ==6236== Lock acquired, processing the job...
[2025-01-10 03:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 03:44:03] Production.INFO: Date 2025-01-09
[2025-01-10 03:44:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 03:44:03] Production.INFO: Date 2025-01-10
[2025-01-10 03:44:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:44:03] Production.INFO: Total Charge 0
[2025-01-10 03:44:03] Production.INFO: ==6243== Lock acquired, processing the job...
[2025-01-10 03:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 03:44:03] Production.INFO: CreateAllLog End
[2025-01-10 03:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:44:03] Production.INFO: ==6245== Lock acquired, processing the job...
[2025-01-10 03:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 03:44:04] Production.INFO: Account Balance End.
[2025-01-10 03:44:04] Production.ERROR: CronJobId end 12
[2025-01-10 03:44:04] Production.INFO: ==6241== Releasing lock...
[2025-01-10 03:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 03:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 03:44:04] Production.INFO: ==6236== Releasing lock...
[2025-01-10 03:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 03:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 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-01-10 03:44:04] Production.ERROR: done
[2025-01-10 03:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 03:44:04] Production.INFO: count ==21
[2025-01-10 03:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:44:04] Production.INFO: count ==21
[2025-01-10 03:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214243') start
[2025-01-10 03:44:04] Production.ERROR: done
[2025-01-10 03:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214243') end
[2025-01-10 03:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 03:44:04] Production.INFO: 1
[2025-01-10 03:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 03:44:04] Production.INFO: ==6245== Releasing lock...
[2025-01-10 03:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 03:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 03:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 00:44:05
[end_date_ymd] => 2025-01-10 03:44:05
[RateCDR] => 1
)
[2025-01-10 03:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 00:44:05' and `end` < '2025-01-10 03:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 03:44:11] Production.ERROR: CronJobId end10
[2025-01-10 03:44:11] Production.INFO: ==6238== Releasing lock...
[2025-01-10 03:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 03:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 03:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 03:44:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 03:44:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 03:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 03:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 03:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 03:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 03:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 03:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 03:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 03:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 03:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 03:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 03:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 03:44:13] Production.INFO: call_cost start
[2025-01-10 03:44:13] Production.INFO: call_cost end
[2025-01-10 03:44:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 03:44:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 03:44:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 03:44:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 03:44:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 03:44:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 03:44:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 03:44:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 03:44:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 03:44:14] Production.INFO: ==6234== Releasing lock...
[2025-01-10 03:44:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 03:44:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 03:44:18] Production.INFO: count ==154
[2025-01-10 03:44:18] Production.ERROR: pbx CDR StartTime 2025-01-10 00:44:05 - End Time 2025-01-10 03:44:05
[2025-01-10 03:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 03:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214244', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214244', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214244', 'tblTempVendorCDR_20' ) start
[2025-01-10 03:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214244', 'tblTempVendorCDR_20' ) end
[2025-01-10 03:44:18] Production.INFO: ProcessCDR(1,14214244,1,1,2)
[2025-01-10 03:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214244,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214244,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214244,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214244,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214244', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214244', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:44:21] Production.INFO: ==6243== Releasing lock...
[2025-01-10 03:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 03:44:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-10 08:45:01] Production.INFO: ==6302== Lock acquired, processing the job...
[2025-01-10 08:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 08:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 08:45:01] Production.INFO: neon service started
[2025-01-10 08:45:01] Production.INFO: neon service started
[2025-01-10 08:45:01] Production.INFO: ==6302== Releasing lock...
[2025-01-10 08:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 08:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:45:01] Production.INFO: ==6311== Lock acquired, processing the job...
[2025-01-10 03:45:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 03:45:02] Production.INFO: ==6311== Releasing lock...
[2025-01-10 03:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 03:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:45:02] Production.INFO: ==6313== Lock acquired, processing the job...
[2025-01-10 08:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 08:45:02] Production.INFO: ==6313== Releasing lock...
[2025-01-10 08:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 08:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 03:45:03] Production.INFO: ==6335== Lock acquired, processing the job...
[2025-01-10 03:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 03:45:03] Production.INFO: ==6331== Lock acquired, processing the job...
[2025-01-10 03:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 03:45:03] Production.INFO: ==6325== Lock acquired, processing the job...
[2025-01-10 03:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 03:45:03] Production.INFO: ==6327== Lock acquired, processing the job...
[2025-01-10 03:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 03:45:03] Production.INFO: ==6333== Lock acquired, processing the job...
[2025-01-10 03:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 03:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:45:03] Production.INFO: Account Balance Start.
[2025-01-10 03:45:03] Production.INFO: CreateAllLog Start
[2025-01-10 03:45:03] Production.INFO: 117
[2025-01-10 03:45:03] Production.INFO: Date 2025-01-08
[2025-01-10 03:45:03] Production.INFO: ==6329== Lock acquired, processing the job...
[2025-01-10 03:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 03:45:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:45:03] Production.INFO: count ==21
[2025-01-10 03:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:45:03] Production.INFO: count ==21
[2025-01-10 03:45:03] Production.INFO: Date 2025-01-09
[2025-01-10 03:45:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:45:03] Production.INFO: Date 2025-01-10
[2025-01-10 03:45:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214245') start
[2025-01-10 03:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 03:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 03:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 03:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 03:45:03] Production.INFO: Total Charge 0
[2025-01-10 03:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 03:45:03] Production.INFO: CreateAllLog End
[2025-01-10 03:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214245') end
[2025-01-10 03:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 03:45:03] Production.INFO: 1
[2025-01-10 03:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 03:45:03] Production.INFO: ==6327== Releasing lock...
[2025-01-10 03:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 03:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 03:45:03] Production.INFO: ==6335== Releasing lock...
[2025-01-10 03:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 03:45:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 03:45:03] Production.ERROR: done
[2025-01-10 03:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 03:45:03] Production.INFO: Account Balance End.
[2025-01-10 03:45:03] Production.ERROR: done
[2025-01-10 03:45:03] Production.ERROR: CronJobId end 12
[2025-01-10 03:45:03] Production.INFO: ==6331== Releasing lock...
[2025-01-10 03:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 03:45:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 03:45:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 00:45:04
[end_date_ymd] => 2025-01-10 03:45:04
[RateCDR] => 1
)
[2025-01-10 03:45:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 00:45:04' and `end` < '2025-01-10 03:45:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 03:45:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 03:45:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 03:45:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 03:45:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 03:45:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 03:45:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 03:45:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 03:45:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 03:45:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 03:45:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 03:45:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 03:45:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 03:45:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 03:45:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 03:45:13] Production.INFO: call_cost start
[2025-01-10 03:45:13] Production.INFO: call_cost end
[2025-01-10 03:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 03:45:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 03:45:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 03:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 03:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 03:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 03:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 03:45:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 03:45:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 03:45:14] Production.INFO: ==6325== Releasing lock...
[2025-01-10 03:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 03:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 03:45:14] Production.ERROR: CronJobId end10
[2025-01-10 03:45:14] Production.INFO: ==6329== Releasing lock...
[2025-01-10 03:45:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 03:45:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 03:45:17] Production.INFO: count ==154
[2025-01-10 03:45:17] Production.ERROR: pbx CDR StartTime 2025-01-10 00:45:04 - End Time 2025-01-10 03:45:04
[2025-01-10 03:45:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 03:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214249', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214249', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214249', 'tblTempVendorCDR_20' ) start
[2025-01-10 03:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214249', 'tblTempVendorCDR_20' ) end
[2025-01-10 03:45:17] Production.INFO: ProcessCDR(1,14214249,1,1,2)
[2025-01-10 03:45:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214249,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:45:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214249,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:45:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214249,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214249,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214249', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214249', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:45:21] Production.INFO: ==6333== Releasing lock...
[2025-01-10 03:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 03:45:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-10 08:46:02] Production.INFO: ==6413== Lock acquired, processing the job...
[2025-01-10 08:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 08:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 08:46:02] Production.INFO: neon service started
[2025-01-10 08:46:02] Production.INFO: neon service started
[2025-01-10 08:46:02] Production.INFO: ==6413== Releasing lock...
[2025-01-10 08:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 08:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:46:02] Production.INFO: ==6415== Lock acquired, processing the job...
[2025-01-10 03:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 03:46:02] Production.INFO: ==6415== Releasing lock...
[2025-01-10 03:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 03:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:46:02] Production.INFO: ==6417== Lock acquired, processing the job...
[2025-01-10 08:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 08:46:02] Production.INFO: ==6417== Releasing lock...
[2025-01-10 08:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 08:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 03:46:03] Production.INFO: ==6426== Lock acquired, processing the job...
[2025-01-10 03:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 03:46:03] Production.INFO: ==6420== Lock acquired, processing the job...
[2025-01-10 03:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 03:46:03] Production.INFO: ==6430== Lock acquired, processing the job...
[2025-01-10 03:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 03:46:03] Production.INFO: ==6422== Lock acquired, processing the job...
[2025-01-10 03:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 03:46:03] Production.INFO: Account Balance Start.
[2025-01-10 03:46:03] Production.INFO: CreateAllLog Start
[2025-01-10 03:46:03] Production.INFO: 117
[2025-01-10 03:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 03:46:03] Production.INFO: Date 2025-01-08
[2025-01-10 03:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:46:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:46:03] Production.INFO: Date 2025-01-09
[2025-01-10 03:46:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:46:03] Production.INFO: ==6424== Lock acquired, processing the job...
[2025-01-10 03:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 03:46:03] Production.INFO: count ==21
[2025-01-10 03:46:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:46:03] Production.INFO: count ==21
[2025-01-10 03:46:03] Production.INFO: ==6428== Lock acquired, processing the job...
[2025-01-10 03:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 03:46:03] Production.INFO: Date 2025-01-10
[2025-01-10 03:46:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214250') start
[2025-01-10 03:46:03] Production.INFO: Total Charge 0
[2025-01-10 03:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214250') end
[2025-01-10 03:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 03:46:04] Production.INFO: 1
[2025-01-10 03:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 03:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 03:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 03:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 03:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 03:46:04] Production.INFO: CreateAllLog End
[2025-01-10 03:46:04] Production.INFO: ==6430== Releasing lock...
[2025-01-10 03:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 03:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 03:46:04] Production.INFO: ==6422== Releasing lock...
[2025-01-10 03:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 03:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 03:46:04] Production.INFO: Account Balance End.
[2025-01-10 03:46:04] Production.ERROR: CronJobId end 12
[2025-01-10 03:46:04] Production.INFO: ==6426== Releasing lock...
[2025-01-10 03:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 03:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 03:46:04] Production.ERROR: done
[2025-01-10 03:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 03:46:04] Production.ERROR: done
[2025-01-10 03:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 00:46:05
[end_date_ymd] => 2025-01-10 03:46:05
[RateCDR] => 1
)
[2025-01-10 03:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 00:46:05' and `end` < '2025-01-10 03:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 03:46:12] Production.ERROR: CronJobId end10
[2025-01-10 03:46:12] Production.INFO: ==6424== Releasing lock...
[2025-01-10 03:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 03:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 03:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 03:46:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 03:46:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 03:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 03:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 03:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 03:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 03:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 03:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 03:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 03:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 03:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 03:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 03:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 03:46:13] Production.INFO: call_cost start
[2025-01-10 03:46:13] Production.INFO: call_cost end
[2025-01-10 03:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 03:46:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 03:46:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 03:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 03:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 03:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 03:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 03:46:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 03:46:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 03:46:14] Production.INFO: ==6420== Releasing lock...
[2025-01-10 03:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 03:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 03:46:19] Production.INFO: count ==154
[2025-01-10 03:46:19] Production.ERROR: pbx CDR StartTime 2025-01-10 00:46:05 - End Time 2025-01-10 03:46:05
[2025-01-10 03:46:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 03:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214254', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214254', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214254', 'tblTempVendorCDR_20' ) start
[2025-01-10 03:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214254', 'tblTempVendorCDR_20' ) end
[2025-01-10 03:46:19] Production.INFO: ProcessCDR(1,14214254,1,1,2)
[2025-01-10 03:46:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214254,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:46:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214254,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:46:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214254,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:46:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214254,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:46:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214254', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:46:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214254', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:46:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:46:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:46:23] Production.INFO: ==6428== Releasing lock...
[2025-01-10 03:46:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 03:46:23] Production.INFO: 28.5 MB #Memory Used#
[2025-01-10 08:47:01] Production.INFO: ==6483== Lock acquired, processing the job...
[2025-01-10 08:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 08:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 08:47:01] Production.INFO: neon service started
[2025-01-10 08:47:01] Production.INFO: neon service started
[2025-01-10 08:47:01] Production.INFO: ==6483== Releasing lock...
[2025-01-10 08:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 08:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:47:01] Production.INFO: ==6485== Lock acquired, processing the job...
[2025-01-10 03:47:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:47:02] Production.INFO: ==6488== Lock acquired, processing the job...
[2025-01-10 08:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 03:47:02] Production.INFO: ==6485== Releasing lock...
[2025-01-10 03:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 03:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:47:02] Production.INFO: ==6488== Releasing lock...
[2025-01-10 08:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 08:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 03:47:02] Production.INFO: ==6490== Lock acquired, processing the job...
[2025-01-10 03:47:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 03:47:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 03:47:03] Production.INFO: ==6494== Lock acquired, processing the job...
[2025-01-10 03:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 03:47:03] Production.INFO: ==6496== Lock acquired, processing the job...
[2025-01-10 03:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 03:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 03:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 03:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 03:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 03:47:03] Production.INFO: ==6492== Lock acquired, processing the job...
[2025-01-10 03:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 03:47:03] Production.INFO: Account Balance Start.
[2025-01-10 03:47:03] Production.INFO: CreateAllLog Start
[2025-01-10 03:47:03] Production.INFO: 117
[2025-01-10 03:47:03] Production.INFO: Date 2025-01-08
[2025-01-10 03:47:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:47:03] Production.INFO: Date 2025-01-09
[2025-01-10 03:47:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:47:03] Production.INFO: ==6498== Lock acquired, processing the job...
[2025-01-10 03:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 03:47:03] Production.INFO: Date 2025-01-10
[2025-01-10 03:47:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:47:03] Production.INFO: ==6500== Lock acquired, processing the job...
[2025-01-10 03:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 03:47:03] Production.INFO: Total Charge 0
[2025-01-10 03:47:03] Production.INFO: CreateAllLog End
[2025-01-10 03:47:03] Production.INFO: ==6492== Releasing lock...
[2025-01-10 03:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 03:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 03:47:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:47:03] Production.INFO: count ==21
[2025-01-10 03:47:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:47:03] Production.INFO: count ==21
[2025-01-10 03:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214258') start
[2025-01-10 03:47:03] Production.ERROR: done
[2025-01-10 03:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 03:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214258') end
[2025-01-10 03:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 03:47:03] Production.INFO: 1
[2025-01-10 03:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 03:47:03] Production.ERROR: done
[2025-01-10 03:47:03] Production.INFO: Account Balance End.
[2025-01-10 03:47:03] Production.INFO: ==6500== Releasing lock...
[2025-01-10 03:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 03:47:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 03:47:03] Production.ERROR: CronJobId end 12
[2025-01-10 03:47:03] Production.INFO: ==6496== Releasing lock...
[2025-01-10 03:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 03:47:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 03:47:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 00:47:04
[end_date_ymd] => 2025-01-10 03:47:04
[RateCDR] => 1
)
[2025-01-10 03:47:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 00:47:04' and `end` < '2025-01-10 03:47:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 03:47:10] Production.ERROR: CronJobId end10
[2025-01-10 03:47:10] Production.INFO: ==6494== Releasing lock...
[2025-01-10 03:47:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 03:47:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 03:47:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 03:47:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 03:47:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 03:47:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 03:47:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 03:47:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 03:47:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 03:47:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 03:47:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 03:47:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 03:47:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 03:47:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 03:47:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 03:47:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 03:47:13] Production.INFO: call_cost start
[2025-01-10 03:47:13] Production.INFO: call_cost end
[2025-01-10 03:47:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 03:47:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 03:47:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 03:47:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 03:47:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 03:47:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 03:47:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 03:47:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 03:47:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 03:47:13] Production.INFO: ==6490== Releasing lock...
[2025-01-10 03:47:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 03:47:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 03:47:18] Production.INFO: count ==154
[2025-01-10 03:47:18] Production.ERROR: pbx CDR StartTime 2025-01-10 00:47:04 - End Time 2025-01-10 03:47:04
[2025-01-10 03:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 03:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214259', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214259', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214259', 'tblTempVendorCDR_20' ) start
[2025-01-10 03:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214259', 'tblTempVendorCDR_20' ) end
[2025-01-10 03:47:18] Production.INFO: ProcessCDR(1,14214259,1,1,2)
[2025-01-10 03:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214259,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214259,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214259,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214259,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214259', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214259', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:47:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:47:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:47:21] Production.INFO: ==6498== Releasing lock...
[2025-01-10 03:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 03:47:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-10 08:48:01] Production.INFO: ==6560== Lock acquired, processing the job...
[2025-01-10 08:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 08:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 08:48:01] Production.INFO: neon service started
[2025-01-10 08:48:01] Production.INFO: neon service started
[2025-01-10 08:48:01] Production.INFO: ==6560== Releasing lock...
[2025-01-10 08:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 08:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 08:48:02] Production.INFO: ==6564== Lock acquired, processing the job...
[2025-01-10 08:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 08:48:02] Production.INFO: ==6564== Releasing lock...
[2025-01-10 08:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 08:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 03:48:02] Production.INFO: ==6562== Lock acquired, processing the job...
[2025-01-10 03:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 03:48:02] Production.INFO: ==6562== Releasing lock...
[2025-01-10 03:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 03:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 03:48:03] Production.INFO: ==6570== Lock acquired, processing the job...
[2025-01-10 03:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 03:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 03:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 03:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 03:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 03:48:03] Production.INFO: ==6574== Lock acquired, processing the job...
[2025-01-10 03:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 03:48:03] Production.INFO: ==6566== Lock acquired, processing the job...
[2025-01-10 03:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 03:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 03:48:03] Production.INFO: ==6568== Lock acquired, processing the job...
[2025-01-10 03:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 03:48:03] Production.INFO: ==6572== Lock acquired, processing the job...
[2025-01-10 03:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 03:48:03] Production.INFO: ==6576== Lock acquired, processing the job...
[2025-01-10 03:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 03:48:04] Production.INFO: Account Balance Start.
[2025-01-10 03:48:04] Production.INFO: CreateAllLog Start
[2025-01-10 03:48:04] Production.INFO: 117
[2025-01-10 03:48:04] Production.INFO: Date 2025-01-08
[2025-01-10 03:48:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:48:04] Production.INFO: count ==21
[2025-01-10 03:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:48:04] Production.INFO: count ==21
[2025-01-10 03:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214263') start
[2025-01-10 03:48:04] Production.ERROR: done
[2025-01-10 03:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 03:48:04] Production.INFO: Date 2025-01-09
[2025-01-10 03:48:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:48:04] Production.INFO: Date 2025-01-10
[2025-01-10 03:48:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:48:04] Production.INFO: Total Charge 0
[2025-01-10 03:48:04] Production.ERROR: done
[2025-01-10 03:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214263') end
[2025-01-10 03:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 03:48:04] Production.INFO: 1
[2025-01-10 03:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 03:48:04] Production.INFO: CreateAllLog End
[2025-01-10 03:48:04] Production.INFO: ==6568== Releasing lock...
[2025-01-10 03:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 03:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 03:48:04] Production.INFO: ==6576== Releasing lock...
[2025-01-10 03:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 03:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 03:48:04] Production.INFO: Account Balance End.
[2025-01-10 03:48:04] Production.ERROR: CronJobId end 12
[2025-01-10 03:48:04] Production.INFO: ==6572== Releasing lock...
[2025-01-10 03:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 03:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 03:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 00:48:05
[end_date_ymd] => 2025-01-10 03:48:05
[RateCDR] => 1
)
[2025-01-10 03:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 00:48:05' and `end` < '2025-01-10 03:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 03:48:12] Production.ERROR: CronJobId end10
[2025-01-10 03:48:12] Production.INFO: ==6570== Releasing lock...
[2025-01-10 03:48:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 03:48:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 03:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 03:48:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 03:48:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 03:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 03:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 03:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 03:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 03:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 03:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 03:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 03:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 03:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 03:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 03:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 03:48:14] Production.INFO: call_cost start
[2025-01-10 03:48:14] Production.INFO: call_cost end
[2025-01-10 03:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 03:48:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 03:48:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 03:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 03:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 03:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 03:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 03:48:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 03:48:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 03:48:14] Production.INFO: ==6566== Releasing lock...
[2025-01-10 03:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 03:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 03:48:18] Production.INFO: count ==154
[2025-01-10 03:48:18] Production.ERROR: pbx CDR StartTime 2025-01-10 00:48:05 - End Time 2025-01-10 03:48:05
[2025-01-10 03:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 03:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214264', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214264', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214264', 'tblTempVendorCDR_20' ) start
[2025-01-10 03:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214264', 'tblTempVendorCDR_20' ) end
[2025-01-10 03:48:18] Production.INFO: ProcessCDR(1,14214264,1,1,2)
[2025-01-10 03:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214264,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214264,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214264,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:48:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214264,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214264', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214264', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:48:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:48:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:48:21] Production.INFO: ==6574== Releasing lock...
[2025-01-10 03:48:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 03:48:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-10 08:49:02] Production.INFO: ==6634== Lock acquired, processing the job...
[2025-01-10 08:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 08:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 08:49:02] Production.INFO: neon service started
[2025-01-10 08:49:02] Production.INFO: neon service started
[2025-01-10 08:49:02] Production.INFO: ==6634== Releasing lock...
[2025-01-10 08:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 08:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 08:49:02] Production.INFO: ==6639== Lock acquired, processing the job...
[2025-01-10 08:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 08:49:02] Production.INFO: ==6639== Releasing lock...
[2025-01-10 08:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 08:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 03:49:02] Production.INFO: ==6637== Lock acquired, processing the job...
[2025-01-10 03:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 03:49:03] Production.INFO: ==6637== Releasing lock...
[2025-01-10 03:49:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 03:49:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 03:49:03] Production.INFO: ==6641== Lock acquired, processing the job...
[2025-01-10 03:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 03:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 03:49:03] Production.INFO: ==6645== Lock acquired, processing the job...
[2025-01-10 03:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 03:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 03:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 03:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 03:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 03:49:03] Production.INFO: ==6649== Lock acquired, processing the job...
[2025-01-10 03:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 03:49:03] Production.INFO: ==6643== Lock acquired, processing the job...
[2025-01-10 03:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 03:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:49:04] Production.INFO: ==6647== Lock acquired, processing the job...
[2025-01-10 03:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 03:49:04] Production.INFO: Account Balance Start.
[2025-01-10 03:49:04] Production.INFO: CreateAllLog Start
[2025-01-10 03:49:04] Production.INFO: 117
[2025-01-10 03:49:04] Production.INFO: Date 2025-01-08
[2025-01-10 03:49:04] Production.INFO: ==6651== Lock acquired, processing the job...
[2025-01-10 03:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 03:49:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:49:04] Production.ERROR: done
[2025-01-10 03:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 03:49:04] Production.INFO: Date 2025-01-09
[2025-01-10 03:49:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:49:04] Production.INFO: Date 2025-01-10
[2025-01-10 03:49:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:49:04] Production.INFO: Total Charge 0
[2025-01-10 03:49:04] Production.INFO: ==6643== Releasing lock...
[2025-01-10 03:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 03:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 03:49:04] Production.ERROR: done
[2025-01-10 03:49:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:49:04] Production.INFO: count ==21
[2025-01-10 03:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:49:04] Production.INFO: count ==21
[2025-01-10 03:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214268') start
[2025-01-10 03:49:04] Production.INFO: CreateAllLog End
[2025-01-10 03:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214268') end
[2025-01-10 03:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 03:49:04] Production.INFO: 1
[2025-01-10 03:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 03:49:04] Production.INFO: ==6651== Releasing lock...
[2025-01-10 03:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 03:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 03:49:04] Production.INFO: Account Balance End.
[2025-01-10 03:49:04] Production.ERROR: CronJobId end 12
[2025-01-10 03:49:04] Production.INFO: ==6647== Releasing lock...
[2025-01-10 03:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 03:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 03:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 00:49:05
[end_date_ymd] => 2025-01-10 03:49:05
[RateCDR] => 1
)
[2025-01-10 03:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 00:49:05' and `end` < '2025-01-10 03:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 03:49:11] Production.ERROR: CronJobId end10
[2025-01-10 03:49:11] Production.INFO: ==6645== Releasing lock...
[2025-01-10 03:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 03:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 03:49:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 03:49:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 03:49:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 03:49:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 03:49:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 03:49:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 03:49:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 03:49:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 03:49:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 03:49:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 03:49:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 03:49:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 03:49:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 03:49:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 03:49:13] Production.INFO: call_cost start
[2025-01-10 03:49:13] Production.INFO: call_cost end
[2025-01-10 03:49:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 03:49:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 03:49:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 03:49:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 03:49:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 03:49:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 03:49:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 03:49:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 03:49:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 03:49:14] Production.INFO: ==6641== Releasing lock...
[2025-01-10 03:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 03:49:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 03:49:18] Production.INFO: count ==154
[2025-01-10 03:49:18] Production.ERROR: pbx CDR StartTime 2025-01-10 00:49:05 - End Time 2025-01-10 03:49:05
[2025-01-10 03:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 03:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214269', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214269', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214269', 'tblTempVendorCDR_20' ) start
[2025-01-10 03:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214269', 'tblTempVendorCDR_20' ) end
[2025-01-10 03:49:18] Production.INFO: ProcessCDR(1,14214269,1,1,2)
[2025-01-10 03:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214269,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:49:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214269,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:49:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214269,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:49:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214269,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214269', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214269', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:49:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:49:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:49:22] Production.INFO: ==6649== Releasing lock...
[2025-01-10 03:49:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 03:49:22] Production.INFO: 28.5 MB #Memory Used#
[2025-01-10 08:50:01] Production.INFO: ==6711== Lock acquired, processing the job...
[2025-01-10 08:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 08:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 08:50:01] Production.INFO: neon service started
[2025-01-10 08:50:01] Production.INFO: neon service started
[2025-01-10 08:50:01] Production.INFO: ==6711== Releasing lock...
[2025-01-10 08:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 08:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:50:02] Production.INFO: ==6713== Lock acquired, processing the job...
[2025-01-10 03:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:50:02] Production.INFO: ==6715== Lock acquired, processing the job...
[2025-01-10 08:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 08:50:02] Production.INFO: ==6715== Releasing lock...
[2025-01-10 08:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 08:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 03:50:02] Production.INFO: ==6713== Releasing lock...
[2025-01-10 03:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 03:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 03:50:03] Production.INFO: ==6720== Lock acquired, processing the job...
[2025-01-10 03:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 03:50:03] Production.INFO: ==6718== Lock acquired, processing the job...
[2025-01-10 03:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 03:50:03] Production.INFO: ==6722== Lock acquired, processing the job...
[2025-01-10 03:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 03:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 03:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 03:50:03] Production.ERROR: CronJob PID - 6720
[2025-01-10 03:50:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-10 03:50:03] Production.ERROR: CronJob ID - 5
[2025-01-10 03:50:03] Production.ERROR: CronJob Last Run Time 2025-01-10 03:50:00
[2025-01-10 03:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 03:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 03:50:03] Production.INFO: ==6724== Lock acquired, processing the job...
[2025-01-10 03:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 03:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 03:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 03:50:03] Production.INFO: ==6718== Releasing lock...
[2025-01-10 03:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 03:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 03:50:03] Production.INFO: ==6728== Lock acquired, processing the job...
[2025-01-10 03:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 03:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 03:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 03:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 03:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 03:50:03] Production.INFO: ==6726== Lock acquired, processing the job...
[2025-01-10 03:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 03:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:50:03] Production.INFO: Account Balance Start.
[2025-01-10 03:50:03] Production.INFO: CreateAllLog Start
[2025-01-10 03:50:03] Production.INFO: 117
[2025-01-10 03:50:03] Production.INFO: Date 2025-01-08
[2025-01-10 03:50:03] Production.INFO: ==6730== Lock acquired, processing the job...
[2025-01-10 03:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 03:50:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:50:03] Production.INFO: ==6732== Lock acquired, processing the job...
[2025-01-10 03:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 03:50:03] Production.INFO: Date 2025-01-09
[2025-01-10 03:50:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:50:03] Production.INFO: Date 2025-01-10
[2025-01-10 03:50:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:50:03] Production.INFO: Total Charge 0
[2025-01-10 03:50:04] Production.INFO: CreateAllLog End
[2025-01-10 03:50:04] Production.INFO: ==6722== Releasing lock...
[2025-01-10 03:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 03:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 03:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:50:04] Production.INFO: count ==21
[2025-01-10 03:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:50:04] Production.INFO: count ==21
[2025-01-10 03:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214273') start
[2025-01-10 03:50:04] Production.ERROR: done
[2025-01-10 03:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 03:50:04] Production.ERROR: done
[2025-01-10 03:50:04] Production.INFO: Account Balance End.
[2025-01-10 03:50:04] Production.ERROR: done
[2025-01-10 03:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214273') end
[2025-01-10 03:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 03:50:04] Production.INFO: 1
[2025-01-10 03:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 03:50:04] Production.ERROR: CronJobId end 12
[2025-01-10 03:50:04] Production.INFO: ==6726== Releasing lock...
[2025-01-10 03:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 03:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 03:50:04] Production.INFO: ==6732== Releasing lock...
[2025-01-10 03:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 03:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 03:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 03:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14214274', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 03:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 00:50:05
[end_date_ymd] => 2025-01-10 03:50:05
[RateCDR] => 1
)
[2025-01-10 03:50:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 00:50:05' and `end` < '2025-01-10 03:50:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 03:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14214274', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 03:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 03:50:09] Production.INFO: ProcessCDR(1,14214274,1,1,2)
[2025-01-10 03:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14214274,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14214274,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:50:09] Production.INFO: ==6730== Releasing lock...
[2025-01-10 03:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 03:50:09] Production.INFO: 26 MB #Memory Used#
[2025-01-10 03:50:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 03:50:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 03:50:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 03:50:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 03:50:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 03:50:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 03:50:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 03:50:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 03:50:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 03:50:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 03:50:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 03:50:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 03:50:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 03:50:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 03:50:14] Production.ERROR: CronJobId end10
[2025-01-10 03:50:14] Production.INFO: ==6724== Releasing lock...
[2025-01-10 03:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 03:50:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 03:50:14] Production.INFO: call_cost start
[2025-01-10 03:50:14] Production.INFO: call_cost end
[2025-01-10 03:50:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 03:50:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 03:50:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 03:50:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 03:50:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 03:50:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 03:50:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 03:50:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 03:50:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 03:50:15] Production.INFO: ==6720== Releasing lock...
[2025-01-10 03:50:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 03:50:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 03:50:18] Production.INFO: count ==150
[2025-01-10 03:50:18] Production.ERROR: pbx CDR StartTime 2025-01-10 00:50:05 - End Time 2025-01-10 03:50:05
[2025-01-10 03:50:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 03:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214275', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214275', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214275', 'tblTempVendorCDR_20' ) start
[2025-01-10 03:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214275', 'tblTempVendorCDR_20' ) end
[2025-01-10 03:50:18] Production.INFO: ProcessCDR(1,14214275,1,1,2)
[2025-01-10 03:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214275,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:50:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214275,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:50:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214275,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:50:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214275,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214275', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214275', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:50:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:50:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:50:22] Production.INFO: ==6728== Releasing lock...
[2025-01-10 03:50:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 03:50:22] Production.INFO: 28.5 MB #Memory Used#
[2025-01-10 08:51:02] Production.INFO: ==6798== Lock acquired, processing the job...
[2025-01-10 08:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 08:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 08:51:02] Production.INFO: neon service started
[2025-01-10 08:51:02] Production.INFO: neon service started
[2025-01-10 08:51:02] Production.INFO: ==6798== Releasing lock...
[2025-01-10 08:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 08:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:51:02] Production.INFO: ==6800== Lock acquired, processing the job...
[2025-01-10 03:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 03:51:02] Production.INFO: ==6800== Releasing lock...
[2025-01-10 03:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 03:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:51:03] Production.INFO: ==6802== Lock acquired, processing the job...
[2025-01-10 08:51:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 08:51:03] Production.INFO: ==6802== Releasing lock...
[2025-01-10 08:51:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 08:51:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 03:51:03] Production.INFO: ==6809== Lock acquired, processing the job...
[2025-01-10 03:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 03:51:03] Production.INFO: ==6805== Lock acquired, processing the job...
[2025-01-10 03:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 03:51:03] Production.INFO: ==6807== Lock acquired, processing the job...
[2025-01-10 03:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 03:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 03:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 03:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 03:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 03:51:03] Production.INFO: ==6813== Lock acquired, processing the job...
[2025-01-10 03:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 03:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 03:51:03] Production.INFO: ==6811== Lock acquired, processing the job...
[2025-01-10 03:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 03:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:51:03] Production.INFO: ==6815== Lock acquired, processing the job...
[2025-01-10 03:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 03:51:04] Production.INFO: Account Balance Start.
[2025-01-10 03:51:04] Production.INFO: CreateAllLog Start
[2025-01-10 03:51:04] Production.INFO: 117
[2025-01-10 03:51:04] Production.INFO: Date 2025-01-08
[2025-01-10 03:51:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:51:04] Production.INFO: Date 2025-01-09
[2025-01-10 03:51:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:51:04] Production.INFO: Date 2025-01-10
[2025-01-10 03:51:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:51:04] Production.INFO: Total Charge 0
[2025-01-10 03:51:04] Production.INFO: CreateAllLog End
[2025-01-10 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-01-10 03:51:04] Production.ERROR: done
[2025-01-10 03:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 03:51:04] Production.INFO: count ==21
[2025-01-10 03:51:04] Production.INFO: ==6807== Releasing lock...
[2025-01-10 03:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 03:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 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-01-10 03:51:04] Production.INFO: count ==21
[2025-01-10 03:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214279') start
[2025-01-10 03:51:04] Production.ERROR: done
[2025-01-10 03:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214279') end
[2025-01-10 03:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 03:51:04] Production.INFO: 1
[2025-01-10 03:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 03:51:04] Production.INFO: Account Balance End.
[2025-01-10 03:51:04] Production.INFO: ==6815== Releasing lock...
[2025-01-10 03:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 03:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 03:51:04] Production.ERROR: CronJobId end 12
[2025-01-10 03:51:04] Production.INFO: ==6811== Releasing lock...
[2025-01-10 03:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 03:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 03:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 00:51:05
[end_date_ymd] => 2025-01-10 03:51:05
[RateCDR] => 1
)
[2025-01-10 03:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 00:51:05' and `end` < '2025-01-10 03:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 03:51:11] Production.ERROR: CronJobId end10
[2025-01-10 03:51:11] Production.INFO: ==6809== Releasing lock...
[2025-01-10 03:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 03:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 03:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 03:51:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 03:51:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 03:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 03:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 03:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 03:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 03:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 03:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 03:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 03:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 03:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 03:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 03:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 03:51:13] Production.INFO: call_cost start
[2025-01-10 03:51:13] Production.INFO: call_cost end
[2025-01-10 03:51:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 03:51:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 03:51:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 03:51:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 03:51:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 03:51:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 03:51:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 03:51:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 03:51:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 03:51:14] Production.INFO: ==6805== Releasing lock...
[2025-01-10 03:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 03:51:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 03:51:19] Production.INFO: count ==150
[2025-01-10 03:51:19] Production.ERROR: pbx CDR StartTime 2025-01-10 00:51:05 - End Time 2025-01-10 03:51:05
[2025-01-10 03:51:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 03:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214280', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214280', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214280', 'tblTempVendorCDR_20' ) start
[2025-01-10 03:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214280', 'tblTempVendorCDR_20' ) end
[2025-01-10 03:51:19] Production.INFO: ProcessCDR(1,14214280,1,1,2)
[2025-01-10 03:51:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214280,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:51:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214280,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:51:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214280,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214280,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214280', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214280', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:51:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:51:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:51:22] Production.INFO: ==6813== Releasing lock...
[2025-01-10 03:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 03:51:22] Production.INFO: 28.5 MB #Memory Used#
[2025-01-10 08:52:01] Production.INFO: ==6876== Lock acquired, processing the job...
[2025-01-10 08:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 08:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 08:52:01] Production.INFO: neon service started
[2025-01-10 08:52:01] Production.INFO: neon service started
[2025-01-10 08:52:01] Production.INFO: ==6876== Releasing lock...
[2025-01-10 08:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 08:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:52:02] Production.INFO: ==6878== Lock acquired, processing the job...
[2025-01-10 03:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 03:52:02] Production.INFO: ==6878== Releasing lock...
[2025-01-10 03:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 03:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:52:02] Production.INFO: ==6880== Lock acquired, processing the job...
[2025-01-10 08:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 08:52:02] Production.INFO: ==6880== Releasing lock...
[2025-01-10 08:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 08:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 03:52:03] Production.INFO: ==6883== Lock acquired, processing the job...
[2025-01-10 03:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 03:52:03] Production.INFO: ==6885== Lock acquired, processing the job...
[2025-01-10 03:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 03:52:03] Production.INFO: ==6887== Lock acquired, processing the job...
[2025-01-10 03:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 03:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 03:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 03:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 03:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 03:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 03:52:03] Production.INFO: ==6885== Releasing lock...
[2025-01-10 03:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 03:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 03:52:03] Production.INFO: ==6889== Lock acquired, processing the job...
[2025-01-10 03:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 03:52:03] Production.INFO: ==6894== Lock acquired, processing the job...
[2025-01-10 03:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 03:52:03] Production.INFO: ==6891== Lock acquired, processing the job...
[2025-01-10 03:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 03:52:03] Production.INFO: Account Balance Start.
[2025-01-10 03:52:03] Production.INFO: CreateAllLog Start
[2025-01-10 03:52:03] Production.INFO: 117
[2025-01-10 03:52:03] Production.INFO: Date 2025-01-08
[2025-01-10 03:52:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:52:03] Production.INFO: Date 2025-01-09
[2025-01-10 03:52:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:52:03] Production.INFO: Date 2025-01-10
[2025-01-10 03:52:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:52:03] Production.INFO: Total Charge 0
[2025-01-10 03:52:03] Production.INFO: CreateAllLog End
[2025-01-10 03:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:52:03] Production.INFO: count ==21
[2025-01-10 03:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:52:03] Production.INFO: count ==21
[2025-01-10 03:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214284') start
[2025-01-10 03:52:03] Production.INFO: Account Balance End.
[2025-01-10 03:52:04] Production.ERROR: CronJobId end 12
[2025-01-10 03:52:04] Production.INFO: ==6889== Releasing lock...
[2025-01-10 03:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 03:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 03:52:04] Production.ERROR: done
[2025-01-10 03:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 03:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214284') end
[2025-01-10 03:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 03:52:04] Production.INFO: 1
[2025-01-10 03:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 03:52:04] Production.INFO: ==6894== Releasing lock...
[2025-01-10 03:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 03:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 03:52:04] Production.ERROR: done
[2025-01-10 03:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 00:52:05
[end_date_ymd] => 2025-01-10 03:52:05
[RateCDR] => 1
)
[2025-01-10 03:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 00:52:05' and `end` < '2025-01-10 03:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 03:52:10] Production.ERROR: CronJobId end10
[2025-01-10 03:52:10] Production.INFO: ==6887== Releasing lock...
[2025-01-10 03:52:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 03:52:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 03:52:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 03:52:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 03:52:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 03:52:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 03:52:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 03:52:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 03:52:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 03:52:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 03:52:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 03:52:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 03:52:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 03:52:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 03:52:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 03:52:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 03:52:13] Production.INFO: call_cost start
[2025-01-10 03:52:13] Production.INFO: call_cost end
[2025-01-10 03:52:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 03:52:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 03:52:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 03:52:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 03:52:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 03:52:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 03:52:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 03:52:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 03:52:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 03:52:14] Production.INFO: ==6883== Releasing lock...
[2025-01-10 03:52:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 03:52:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 03:52:19] Production.INFO: count ==150
[2025-01-10 03:52:19] Production.ERROR: pbx CDR StartTime 2025-01-10 00:52:05 - End Time 2025-01-10 03:52:05
[2025-01-10 03:52:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 03:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214285', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214285', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214285', 'tblTempVendorCDR_20' ) start
[2025-01-10 03:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214285', 'tblTempVendorCDR_20' ) end
[2025-01-10 03:52:19] Production.INFO: ProcessCDR(1,14214285,1,1,2)
[2025-01-10 03:52:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214285,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:52:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214285,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:52:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214285,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214285,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214285', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214285', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:52:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:52:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:52:22] Production.INFO: ==6891== Releasing lock...
[2025-01-10 03:52:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 03:52:22] Production.INFO: 28.5 MB #Memory Used#
[2025-01-10 08:53:02] Production.INFO: ==6956== Lock acquired, processing the job...
[2025-01-10 08:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 08:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 08:53:02] Production.INFO: neon service started
[2025-01-10 08:53:02] Production.INFO: neon service started
[2025-01-10 08:53:02] Production.INFO: ==6956== Releasing lock...
[2025-01-10 08:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 08:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:53:02] Production.INFO: ==6958== Lock acquired, processing the job...
[2025-01-10 03:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 03:53:02] Production.INFO: ==6958== Releasing lock...
[2025-01-10 03:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 03:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:53:02] Production.INFO: ==6960== Lock acquired, processing the job...
[2025-01-10 08:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 08:53:02] Production.INFO: ==6960== Releasing lock...
[2025-01-10 08:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 08:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 03:53:03] Production.INFO: ==6962== Lock acquired, processing the job...
[2025-01-10 03:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 03:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 03:53:03] Production.INFO: ==6966== Lock acquired, processing the job...
[2025-01-10 03:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 03:53:03] Production.INFO: ==6964== Lock acquired, processing the job...
[2025-01-10 03:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 03:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 03:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 03:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 03:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 03:53:03] Production.INFO: ==6970== Lock acquired, processing the job...
[2025-01-10 03:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 03:53:03] Production.INFO: ==6972== Lock acquired, processing the job...
[2025-01-10 03:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 03:53:03] Production.INFO: ==6968== Lock acquired, processing the job...
[2025-01-10 03:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 03:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:53:04] Production.INFO: ==6964== Releasing lock...
[2025-01-10 03:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 03:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 03:53:04] Production.INFO: Account Balance Start.
[2025-01-10 03:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:53:04] Production.INFO: CreateAllLog Start
[2025-01-10 03:53:04] Production.INFO: 117
[2025-01-10 03:53:04] Production.INFO: Date 2025-01-08
[2025-01-10 03:53:04] Production.INFO: count ==21
[2025-01-10 03:53:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:53:04] Production.ERROR: done
[2025-01-10 03:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:53:04] Production.INFO: Date 2025-01-09
[2025-01-10 03:53:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:53:04] Production.INFO: count ==21
[2025-01-10 03:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 03:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214288') start
[2025-01-10 03:53:04] Production.ERROR: done
[2025-01-10 03:53:04] Production.INFO: Date 2025-01-10
[2025-01-10 03:53:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:53:04] Production.INFO: Total Charge 0
[2025-01-10 03:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214288') end
[2025-01-10 03:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 03:53:04] Production.INFO: 1
[2025-01-10 03:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 03:53:04] Production.INFO: CreateAllLog End
[2025-01-10 03:53:04] Production.INFO: ==6972== Releasing lock...
[2025-01-10 03:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 03:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 03:53:04] Production.INFO: Account Balance End.
[2025-01-10 03:53:04] Production.ERROR: CronJobId end 12
[2025-01-10 03:53:04] Production.INFO: ==6968== Releasing lock...
[2025-01-10 03:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 03:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 03:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 00:53:05
[end_date_ymd] => 2025-01-10 03:53:05
[RateCDR] => 1
)
[2025-01-10 03:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 00:53:05' and `end` < '2025-01-10 03:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 03:53:11] Production.ERROR: CronJobId end10
[2025-01-10 03:53:11] Production.INFO: ==6966== Releasing lock...
[2025-01-10 03:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 03:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 03:53:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 03:53:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 03:53:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 03:53:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 03:53:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 03:53:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 03:53:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 03:53:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 03:53:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 03:53:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 03:53:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 03:53:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 03:53:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 03:53:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 03:53:13] Production.INFO: call_cost start
[2025-01-10 03:53:13] Production.INFO: call_cost end
[2025-01-10 03:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 03:53:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 03:53:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 03:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 03:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 03:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 03:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 03:53:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 03:53:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 03:53:14] Production.INFO: ==6962== Releasing lock...
[2025-01-10 03:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 03:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 03:53:19] Production.INFO: count ==150
[2025-01-10 03:53:19] Production.ERROR: pbx CDR StartTime 2025-01-10 00:53:05 - End Time 2025-01-10 03:53:05
[2025-01-10 03:53:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 03:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214290', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214290', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214290', 'tblTempVendorCDR_20' ) start
[2025-01-10 03:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214290', 'tblTempVendorCDR_20' ) end
[2025-01-10 03:53:19] Production.INFO: ProcessCDR(1,14214290,1,1,2)
[2025-01-10 03:53:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214290,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:53:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214290,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:53:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214290,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214290,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214290', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214290', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:53:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:53:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:53:22] Production.INFO: ==6970== Releasing lock...
[2025-01-10 03:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 03:53:22] Production.INFO: 28.5 MB #Memory Used#
[2025-01-10 08:54:01] Production.INFO: ==7035== Lock acquired, processing the job...
[2025-01-10 08:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 08:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 08:54:01] Production.INFO: neon service started
[2025-01-10 08:54:01] Production.INFO: neon service started
[2025-01-10 08:54:01] Production.INFO: ==7035== Releasing lock...
[2025-01-10 08:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 08:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:54:02] Production.INFO: ==7037== Lock acquired, processing the job...
[2025-01-10 03:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:54:02] Production.INFO: ==7039== Lock acquired, processing the job...
[2025-01-10 08:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 08:54:02] Production.INFO: ==7039== Releasing lock...
[2025-01-10 08:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 08:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 03:54:02] Production.INFO: ==7037== Releasing lock...
[2025-01-10 03:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 03:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 03:54:03] Production.INFO: ==7046== Lock acquired, processing the job...
[2025-01-10 03:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 03:54:03] Production.INFO: ==7052== Lock acquired, processing the job...
[2025-01-10 03:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 03:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 03:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 03:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 03:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 03:54:03] Production.INFO: ==7042== Lock acquired, processing the job...
[2025-01-10 03:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 03:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:54:03] Production.INFO: count ==21
[2025-01-10 03:54:03] Production.INFO: ==7044== Lock acquired, processing the job...
[2025-01-10 03:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 03:54:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:54:03] Production.INFO: count ==21
[2025-01-10 03:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 03:54:03] Production.INFO: ==7048== Lock acquired, processing the job...
[2025-01-10 03:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 03:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214291') start
[2025-01-10 03:54:03] Production.INFO: ==7050== Lock acquired, processing the job...
[2025-01-10 03:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 03:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214291') end
[2025-01-10 03:54:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 03:54:03] Production.INFO: 1
[2025-01-10 03:54:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 03:54:03] Production.INFO: Account Balance Start.
[2025-01-10 03:54:03] Production.INFO: CreateAllLog Start
[2025-01-10 03:54:03] Production.INFO: 117
[2025-01-10 03:54:03] Production.INFO: Date 2025-01-08
[2025-01-10 03:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:54:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:54:03] Production.INFO: Date 2025-01-09
[2025-01-10 03:54:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:54:03] Production.INFO: ==7052== Releasing lock...
[2025-01-10 03:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 03:54:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 03:54:03] Production.INFO: Date 2025-01-10
[2025-01-10 03:54:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:54:04] Production.INFO: Total Charge 0
[2025-01-10 03:54:04] Production.INFO: CreateAllLog End
[2025-01-10 03:54:04] Production.INFO: ==7044== Releasing lock...
[2025-01-10 03:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 03:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 03:54:04] Production.ERROR: done
[2025-01-10 03:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 03:54:04] Production.INFO: Account Balance End.
[2025-01-10 03:54:04] Production.ERROR: CronJobId end 12
[2025-01-10 03:54:04] Production.INFO: ==7048== Releasing lock...
[2025-01-10 03:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 03:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 03:54:04] Production.ERROR: done
[2025-01-10 03:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 00:54:05
[end_date_ymd] => 2025-01-10 03:54:05
[RateCDR] => 1
)
[2025-01-10 03:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 00:54:05' and `end` < '2025-01-10 03:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 03:54:11] Production.ERROR: CronJobId end10
[2025-01-10 03:54:11] Production.INFO: ==7046== Releasing lock...
[2025-01-10 03:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 03:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 03:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 03:54:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 03:54:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 03:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 03:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 03:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 03:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 03:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 03:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 03:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 03:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 03:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 03:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 03:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 03:54:13] Production.INFO: call_cost start
[2025-01-10 03:54:13] Production.INFO: call_cost end
[2025-01-10 03:54:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 03:54:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 03:54:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 03:54:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 03:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 03:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 03:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 03:54:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 03:54:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 03:54:14] Production.INFO: ==7042== Releasing lock...
[2025-01-10 03:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 03:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 03:54:20] Production.INFO: count ==150
[2025-01-10 03:54:20] Production.ERROR: pbx CDR StartTime 2025-01-10 00:54:05 - End Time 2025-01-10 03:54:05
[2025-01-10 03:54:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 03:54:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214295', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:54:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214295', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:54:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214295', 'tblTempVendorCDR_20' ) start
[2025-01-10 03:54:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214295', 'tblTempVendorCDR_20' ) end
[2025-01-10 03:54:20] Production.INFO: ProcessCDR(1,14214295,1,1,2)
[2025-01-10 03:54:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214295,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:54:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214295,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:54:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214295,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:54:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214295,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:54:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214295', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:54:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214295', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:54:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:54:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:54:24] Production.INFO: ==7050== Releasing lock...
[2025-01-10 03:54:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 03:54:24] Production.INFO: 28.5 MB #Memory Used#
[2025-01-10 08:55:02] Production.INFO: ==7161== Lock acquired, processing the job...
[2025-01-10 08:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 08:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 08:55:02] Production.INFO: neon service started
[2025-01-10 08:55:02] Production.INFO: neon service started
[2025-01-10 08:55:02] Production.INFO: ==7161== Releasing lock...
[2025-01-10 08:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 08:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:55:02] Production.INFO: ==7163== Lock acquired, processing the job...
[2025-01-10 03:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 03:55:02] Production.INFO: ==7163== Releasing lock...
[2025-01-10 03:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 03:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:55:02] Production.INFO: ==7165== Lock acquired, processing the job...
[2025-01-10 08:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 08:55:02] Production.INFO: ==7165== Releasing lock...
[2025-01-10 08:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 08:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 03:55:03] Production.INFO: ==7176== Lock acquired, processing the job...
[2025-01-10 03:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 03:55:03] Production.INFO: ==7174== Lock acquired, processing the job...
[2025-01-10 03:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 03:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:55:03] Production.INFO: ==7168== Lock acquired, processing the job...
[2025-01-10 03:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 03:55:03] Production.INFO: Account Balance Start.
[2025-01-10 03:55:03] Production.INFO: CreateAllLog Start
[2025-01-10 03:55:03] Production.INFO: 117
[2025-01-10 03:55:03] Production.INFO: ==7170== Lock acquired, processing the job...
[2025-01-10 03:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 03:55:03] Production.INFO: Date 2025-01-08
[2025-01-10 03:55:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:55:03] Production.INFO: ==7172== Lock acquired, processing the job...
[2025-01-10 03:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 03:55:04] Production.INFO: Date 2025-01-09
[2025-01-10 03:55:04] Production.INFO: ==7178== Lock acquired, processing the job...
[2025-01-10 03:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 03:55:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 03:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 03:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 03:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 03:55:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 03:55:04] Production.INFO: Date 2025-01-10
[2025-01-10 03:55:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:55:04] Production.ERROR: done
[2025-01-10 03:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 03:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:55:04] Production.INFO: count ==21
[2025-01-10 03:55:04] Production.INFO: Total Charge 0
[2025-01-10 03:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:55:04] Production.INFO: count ==21
[2025-01-10 03:55:04] Production.INFO: CreateAllLog End
[2025-01-10 03:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214299') start
[2025-01-10 03:55:04] Production.INFO: ==7170== Releasing lock...
[2025-01-10 03:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 03:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 03:55:04] Production.ERROR: done
[2025-01-10 03:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214299') end
[2025-01-10 03:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 03:55:04] Production.INFO: 1
[2025-01-10 03:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 03:55:04] Production.INFO: Account Balance End.
[2025-01-10 03:55:04] Production.INFO: ==7178== Releasing lock...
[2025-01-10 03:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 03:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 03:55:04] Production.ERROR: CronJobId end 12
[2025-01-10 03:55:04] Production.INFO: ==7174== Releasing lock...
[2025-01-10 03:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 03:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 03:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 00:55:05
[end_date_ymd] => 2025-01-10 03:55:05
[RateCDR] => 1
)
[2025-01-10 03:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 00:55:05' and `end` < '2025-01-10 03:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 03:55:12] Production.ERROR: CronJobId end10
[2025-01-10 03:55:12] Production.INFO: ==7172== Releasing lock...
[2025-01-10 03:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 03:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 03:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 03:55:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 03:55:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 03:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 03:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 03:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 03:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 03:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 03:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 03:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 03:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 03:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 03:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 03:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 03:55:14] Production.INFO: call_cost start
[2025-01-10 03:55:14] Production.INFO: call_cost end
[2025-01-10 03:55:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 03:55:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 03:55:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 03:55:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 03:55:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 03:55:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 03:55:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 03:55:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 03:55:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 03:55:14] Production.INFO: ==7168== Releasing lock...
[2025-01-10 03:55:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 03:55:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 03:55:18] Production.INFO: count ==150
[2025-01-10 03:55:18] Production.ERROR: pbx CDR StartTime 2025-01-10 00:55:05 - End Time 2025-01-10 03:55:05
[2025-01-10 03:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 03:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214300', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214300', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214300', 'tblTempVendorCDR_20' ) start
[2025-01-10 03:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214300', 'tblTempVendorCDR_20' ) end
[2025-01-10 03:55:18] Production.INFO: ProcessCDR(1,14214300,1,1,2)
[2025-01-10 03:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214300,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214300,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214300,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214300,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214300', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214300', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:55:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:55:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:55:21] Production.INFO: ==7176== Releasing lock...
[2025-01-10 03:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 03:55:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-10 08:56:01] Production.INFO: ==7252== Lock acquired, processing the job...
[2025-01-10 08:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 08:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 08:56:01] Production.INFO: neon service started
[2025-01-10 08:56:01] Production.INFO: neon service started
[2025-01-10 08:56:01] Production.INFO: ==7252== Releasing lock...
[2025-01-10 08:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 08:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:56:01] Production.INFO: ==7254== Lock acquired, processing the job...
[2025-01-10 03:56:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 03:56:02] Production.INFO: ==7254== Releasing lock...
[2025-01-10 03:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 03:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:56:02] Production.INFO: ==7256== Lock acquired, processing the job...
[2025-01-10 08:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 08:56:02] Production.INFO: ==7256== Releasing lock...
[2025-01-10 08:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 08:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 03:56:02] Production.INFO: ==7258== Lock acquired, processing the job...
[2025-01-10 03:56:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 03:56:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 03:56:02] Production.INFO: ==7262== Lock acquired, processing the job...
[2025-01-10 03:56:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 03:56:03] Production.INFO: ==7266== Lock acquired, processing the job...
[2025-01-10 03:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 03:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 03:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 03:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 03:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 03:56:03] Production.INFO: ==7260== Lock acquired, processing the job...
[2025-01-10 03:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 03:56:03] Production.INFO: ==7264== Lock acquired, processing the job...
[2025-01-10 03:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 03:56:03] Production.ERROR: done
[2025-01-10 03:56:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 03:56:03] Production.INFO: ==7268== Lock acquired, processing the job...
[2025-01-10 03:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 03:56:03] Production.INFO: Account Balance Start.
[2025-01-10 03:56:03] Production.INFO: CreateAllLog Start
[2025-01-10 03:56:03] Production.INFO: 117
[2025-01-10 03:56:03] Production.INFO: Date 2025-01-08
[2025-01-10 03:56:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:56:03] Production.ERROR: done
[2025-01-10 03:56:03] Production.INFO: Date 2025-01-09
[2025-01-10 03:56:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:56:03] Production.INFO: Date 2025-01-10
[2025-01-10 03:56:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:56:03] Production.INFO: Total Charge 0
[2025-01-10 03:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:56:03] Production.INFO: CreateAllLog End
[2025-01-10 03:56:03] Production.INFO: count ==21
[2025-01-10 03:56:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:56:03] Production.INFO: count ==21
[2025-01-10 03:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214304') start
[2025-01-10 03:56:03] Production.INFO: ==7260== Releasing lock...
[2025-01-10 03:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 03:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 03:56:03] Production.INFO: Account Balance End.
[2025-01-10 03:56:03] Production.ERROR: CronJobId end 12
[2025-01-10 03:56:03] Production.INFO: ==7264== Releasing lock...
[2025-01-10 03:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 03:56:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 03:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214304') end
[2025-01-10 03:56:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 03:56:03] Production.INFO: 1
[2025-01-10 03:56:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 03:56:03] Production.INFO: ==7268== Releasing lock...
[2025-01-10 03:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 03:56:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 03:56:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 00:56:04
[end_date_ymd] => 2025-01-10 03:56:04
[RateCDR] => 1
)
[2025-01-10 03:56:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 00:56:04' and `end` < '2025-01-10 03:56:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 03:56:11] Production.ERROR: CronJobId end10
[2025-01-10 03:56:11] Production.INFO: ==7262== Releasing lock...
[2025-01-10 03:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 03:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 03:56:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 03:56:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 03:56:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 03:56:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 03:56:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 03:56:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 03:56:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 03:56:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 03:56:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 03:56:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 03:56:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 03:56:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 03:56:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 03:56:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 03:56:13] Production.INFO: call_cost start
[2025-01-10 03:56:13] Production.INFO: call_cost end
[2025-01-10 03:56:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 03:56:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 03:56:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 03:56:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 03:56:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 03:56:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 03:56:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 03:56:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 03:56:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 03:56:14] Production.INFO: ==7258== Releasing lock...
[2025-01-10 03:56:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 03:56:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 03:56:18] Production.INFO: count ==150
[2025-01-10 03:56:18] Production.ERROR: pbx CDR StartTime 2025-01-10 00:56:04 - End Time 2025-01-10 03:56:04
[2025-01-10 03:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 03:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214305', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214305', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214305', 'tblTempVendorCDR_20' ) start
[2025-01-10 03:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214305', 'tblTempVendorCDR_20' ) end
[2025-01-10 03:56:18] Production.INFO: ProcessCDR(1,14214305,1,1,2)
[2025-01-10 03:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214305,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214305,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214305,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:56:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214305,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214305', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214305', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:56:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:56:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:56:22] Production.INFO: ==7266== Releasing lock...
[2025-01-10 03:56:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 03:56:22] Production.INFO: 28.5 MB #Memory Used#
[2025-01-10 08:57:01] Production.INFO: ==7337== Lock acquired, processing the job...
[2025-01-10 08:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 08:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 08:57:01] Production.INFO: neon service started
[2025-01-10 08:57:01] Production.INFO: neon service started
[2025-01-10 08:57:01] Production.INFO: ==7337== Releasing lock...
[2025-01-10 08:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 08:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 08:57:02] Production.INFO: ==7341== Lock acquired, processing the job...
[2025-01-10 08:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 08:57:02] Production.INFO: ==7341== Releasing lock...
[2025-01-10 08:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 08:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 03:57:02] Production.INFO: ==7339== Lock acquired, processing the job...
[2025-01-10 03:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 03:57:02] Production.INFO: ==7339== Releasing lock...
[2025-01-10 03:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 03:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 03:57:03] Production.INFO: ==7352== Lock acquired, processing the job...
[2025-01-10 03:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 03:57:03] Production.INFO: ==7354== Lock acquired, processing the job...
[2025-01-10 03:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 03:57:03] Production.INFO: ==7343== Lock acquired, processing the job...
[2025-01-10 03:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 03:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:57:03] Production.INFO: count ==21
[2025-01-10 03:57:03] Production.INFO: ==7346== Lock acquired, processing the job...
[2025-01-10 03:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 03:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:57:03] Production.INFO: count ==21
[2025-01-10 03:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214306') start
[2025-01-10 03:57:03] Production.INFO: ==7348== Lock acquired, processing the job...
[2025-01-10 03:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 03:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 03:57:03] Production.INFO: ==7350== Lock acquired, processing the job...
[2025-01-10 03:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 03:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214306') end
[2025-01-10 03:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 03:57:03] Production.INFO: 1
[2025-01-10 03:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 03:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 03:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 03:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 03:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 03:57:03] Production.ERROR: done
[2025-01-10 03:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 03:57:03] Production.INFO: ==7354== Releasing lock...
[2025-01-10 03:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 03:57:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 03:57:03] Production.INFO: Account Balance Start.
[2025-01-10 03:57:03] Production.INFO: CreateAllLog Start
[2025-01-10 03:57:03] Production.INFO: 117
[2025-01-10 03:57:03] Production.INFO: Date 2025-01-08
[2025-01-10 03:57:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:57:04] Production.ERROR: done
[2025-01-10 03:57:04] Production.INFO: ==7346== Releasing lock...
[2025-01-10 03:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 03:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 03:57:04] Production.INFO: Date 2025-01-09
[2025-01-10 03:57:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:57:04] Production.INFO: Date 2025-01-10
[2025-01-10 03:57:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:57:04] Production.INFO: Total Charge 0
[2025-01-10 03:57:04] Production.INFO: CreateAllLog End
[2025-01-10 03:57:04] Production.INFO: Account Balance End.
[2025-01-10 03:57:04] Production.ERROR: CronJobId end 12
[2025-01-10 03:57:04] Production.INFO: ==7350== Releasing lock...
[2025-01-10 03:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 03:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 03:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 00:57:05
[end_date_ymd] => 2025-01-10 03:57:05
[RateCDR] => 1
)
[2025-01-10 03:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 00:57:05' and `end` < '2025-01-10 03:57:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 03:57:10] Production.ERROR: CronJobId end10
[2025-01-10 03:57:10] Production.INFO: ==7348== Releasing lock...
[2025-01-10 03:57:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 03:57:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 03:57:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 03:57:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 03:57:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 03:57:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 03:57:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 03:57:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 03:57:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 03:57:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 03:57:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 03:57:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 03:57:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 03:57:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 03:57:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 03:57:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 03:57:12] Production.INFO: call_cost start
[2025-01-10 03:57:12] Production.INFO: call_cost end
[2025-01-10 03:57:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 03:57:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 03:57:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 03:57:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 03:57:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 03:57:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 03:57:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 03:57:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 03:57:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 03:57:13] Production.INFO: ==7343== Releasing lock...
[2025-01-10 03:57:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 03:57:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 03:57:18] Production.INFO: count ==150
[2025-01-10 03:57:18] Production.ERROR: pbx CDR StartTime 2025-01-10 00:57:05 - End Time 2025-01-10 03:57:05
[2025-01-10 03:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 03:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214310', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214310', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214310', 'tblTempVendorCDR_20' ) start
[2025-01-10 03:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214310', 'tblTempVendorCDR_20' ) end
[2025-01-10 03:57:18] Production.INFO: ProcessCDR(1,14214310,1,1,2)
[2025-01-10 03:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214310,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214310,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214310,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214310,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214310', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214310', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:57:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:57:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:57:21] Production.INFO: ==7352== Releasing lock...
[2025-01-10 03:57:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 03:57:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-10 08:58:02] Production.INFO: ==7411== Lock acquired, processing the job...
[2025-01-10 08:58:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 08:58:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 08:58:02] Production.INFO: neon service started
[2025-01-10 08:58:02] Production.INFO: neon service started
[2025-01-10 08:58:02] Production.INFO: ==7411== Releasing lock...
[2025-01-10 08:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 08:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:58:02] Production.INFO: ==7414== Lock acquired, processing the job...
[2025-01-10 03:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 03:58:02] Production.INFO: ==7414== Releasing lock...
[2025-01-10 03:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 03:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:58:03] Production.INFO: ==7416== Lock acquired, processing the job...
[2025-01-10 08:58:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 08:58:03] Production.INFO: ==7416== Releasing lock...
[2025-01-10 08:58:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 08:58:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 03:58:03] Production.INFO: ==7422== Lock acquired, processing the job...
[2025-01-10 03:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 03:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 03:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 03:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 03:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 03:58:03] Production.INFO: ==7428== Lock acquired, processing the job...
[2025-01-10 03:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 03:58:03] Production.INFO: ==7418== Lock acquired, processing the job...
[2025-01-10 03:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 03:58:03] Production.INFO: ==7420== Lock acquired, processing the job...
[2025-01-10 03:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 03:58:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 03:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:58:04] Production.INFO: ==7424== Lock acquired, processing the job...
[2025-01-10 03:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 03:58:04] Production.INFO: ==7426== Lock acquired, processing the job...
[2025-01-10 03:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 03:58:04] Production.INFO: count ==21
[2025-01-10 03:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:58:04] Production.INFO: count ==21
[2025-01-10 03:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214311') start
[2025-01-10 03:58:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:58:04] Production.INFO: Account Balance Start.
[2025-01-10 03:58:04] Production.INFO: CreateAllLog Start
[2025-01-10 03:58:04] Production.INFO: 117
[2025-01-10 03:58:04] Production.INFO: Date 2025-01-08
[2025-01-10 03:58:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:58:04] Production.INFO: Date 2025-01-09
[2025-01-10 03:58:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214311') end
[2025-01-10 03:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 03:58:04] Production.INFO: 1
[2025-01-10 03:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 03:58:04] Production.INFO: ==7420== Releasing lock...
[2025-01-10 03:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 03:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 03:58:04] Production.INFO: ==7428== Releasing lock...
[2025-01-10 03:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 03:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 03:58:04] Production.INFO: Date 2025-01-10
[2025-01-10 03:58:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:58:04] Production.INFO: Total Charge 0
[2025-01-10 03:58:04] Production.INFO: CreateAllLog End
[2025-01-10 03:58:04] Production.ERROR: done
[2025-01-10 03:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 03:58:04] Production.INFO: Account Balance End.
[2025-01-10 03:58:04] Production.ERROR: CronJobId end 12
[2025-01-10 03:58:04] Production.INFO: ==7424== Releasing lock...
[2025-01-10 03:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 03:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 03:58:04] Production.ERROR: done
[2025-01-10 03:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 00:58:05
[end_date_ymd] => 2025-01-10 03:58:05
[RateCDR] => 1
)
[2025-01-10 03:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 00:58:05' and `end` < '2025-01-10 03:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 03:58:10] Production.ERROR: CronJobId end10
[2025-01-10 03:58:10] Production.INFO: ==7422== Releasing lock...
[2025-01-10 03:58:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 03:58:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 03:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 03:58:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 03:58:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 03:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 03:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 03:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 03:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 03:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 03:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 03:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 03:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 03:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 03:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 03:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 03:58:13] Production.INFO: call_cost start
[2025-01-10 03:58:13] Production.INFO: call_cost end
[2025-01-10 03:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 03:58:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 03:58:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 03:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 03:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 03:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 03:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 03:58:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 03:58:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 03:58:14] Production.INFO: ==7418== Releasing lock...
[2025-01-10 03:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 03:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 03:58:18] Production.INFO: count ==150
[2025-01-10 03:58:18] Production.ERROR: pbx CDR StartTime 2025-01-10 00:58:05 - End Time 2025-01-10 03:58:05
[2025-01-10 03:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 03:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214315', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214315', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214315', 'tblTempVendorCDR_20' ) start
[2025-01-10 03:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214315', 'tblTempVendorCDR_20' ) end
[2025-01-10 03:58:18] Production.INFO: ProcessCDR(1,14214315,1,1,2)
[2025-01-10 03:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214315,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214315,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214315,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214315,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214315', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214315', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:58:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:58:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:58:21] Production.INFO: ==7426== Releasing lock...
[2025-01-10 03:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 03:58:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-10 08:59:01] Production.INFO: ==7487== Lock acquired, processing the job...
[2025-01-10 08:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 08:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 08:59:01] Production.INFO: neon service started
[2025-01-10 08:59:01] Production.INFO: neon service started
[2025-01-10 08:59:01] Production.INFO: ==7487== Releasing lock...
[2025-01-10 08:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 08:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 03:59:02] Production.INFO: ==7489== Lock acquired, processing the job...
[2025-01-10 03:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:59:02] Production.INFO: ==7491== Lock acquired, processing the job...
[2025-01-10 08:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 08:59:02] Production.INFO: ==7491== Releasing lock...
[2025-01-10 08:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 08:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 03:59:02] Production.INFO: ==7489== Releasing lock...
[2025-01-10 03:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 03:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 03:59:03] Production.INFO: ==7494== Lock acquired, processing the job...
[2025-01-10 03:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 03:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 03:59:03] Production.INFO: ==7498== Lock acquired, processing the job...
[2025-01-10 03:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 03:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 03:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 03:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 03:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 03:59:03] Production.INFO: ==7504== Lock acquired, processing the job...
[2025-01-10 03:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 03:59:03] Production.INFO: ==7496== Lock acquired, processing the job...
[2025-01-10 03:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 03:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:59:03] Production.INFO: ==7500== Lock acquired, processing the job...
[2025-01-10 03:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 03:59:03] Production.INFO: count ==21
[2025-01-10 03:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 03:59:03] Production.INFO: ==7502== Lock acquired, processing the job...
[2025-01-10 03:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 03:59:03] Production.INFO: count ==21
[2025-01-10 03:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214317') start
[2025-01-10 03:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 03:59:03] Production.INFO: Account Balance Start.
[2025-01-10 03:59:03] Production.INFO: CreateAllLog Start
[2025-01-10 03:59:03] Production.INFO: 117
[2025-01-10 03:59:03] Production.INFO: Date 2025-01-08
[2025-01-10 03:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214317') end
[2025-01-10 03:59:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 03:59:03] Production.INFO: 1
[2025-01-10 03:59:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 03:59:03] Production.INFO: Reseller ==> 0
[2025-01-10 03:59:04] Production.INFO: Date 2025-01-09
[2025-01-10 03:59:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:59:04] Production.INFO: ==7504== Releasing lock...
[2025-01-10 03:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 03:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 03:59:04] Production.INFO: ==7496== Releasing lock...
[2025-01-10 03:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 03:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 03:59:04] Production.INFO: Date 2025-01-10
[2025-01-10 03:59:04] Production.INFO: Reseller ==> 0
[2025-01-10 03:59:04] Production.INFO: Total Charge 0
[2025-01-10 03:59:04] Production.INFO: CreateAllLog End
[2025-01-10 03:59:04] Production.ERROR: done
[2025-01-10 03:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 03:59:04] Production.INFO: Account Balance End.
[2025-01-10 03:59:04] Production.ERROR: done
[2025-01-10 03:59:04] Production.ERROR: CronJobId end 12
[2025-01-10 03:59:04] Production.INFO: ==7500== Releasing lock...
[2025-01-10 03:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 03:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 03:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 00:59:05
[end_date_ymd] => 2025-01-10 03:59:05
[RateCDR] => 1
)
[2025-01-10 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-01-10 00:59:05' and `end` < '2025-01-10 03:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 03:59:10] Production.ERROR: CronJobId end10
[2025-01-10 03:59:10] Production.INFO: ==7498== Releasing lock...
[2025-01-10 03:59:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 03:59:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 03:59:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 03:59:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 03:59:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 03:59:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 03:59:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 03:59:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 03:59:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 03:59:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 03:59:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 03:59:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 03:59:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 03:59:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 03:59:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 03:59:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 03:59:13] Production.INFO: call_cost start
[2025-01-10 03:59:13] Production.INFO: call_cost end
[2025-01-10 03:59:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 03:59:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 03:59:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 03:59:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 03:59:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 03:59:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 03:59:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 03:59:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 03:59:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 03:59:13] Production.INFO: ==7494== Releasing lock...
[2025-01-10 03:59:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 03:59:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 03:59:19] Production.INFO: count ==150
[2025-01-10 03:59:19] Production.ERROR: pbx CDR StartTime 2025-01-10 00:59:05 - End Time 2025-01-10 03:59:05
[2025-01-10 03:59:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 03:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214320', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214320', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214320', 'tblTempVendorCDR_20' ) start
[2025-01-10 03:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214320', 'tblTempVendorCDR_20' ) end
[2025-01-10 03:59:19] Production.INFO: ProcessCDR(1,14214320,1,1,2)
[2025-01-10 03:59:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214320,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:59:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214320,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 03:59:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214320,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:59:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214320,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 03:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214320', 'tblTempUsageDetail_20' ) start
[2025-01-10 03:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214320', 'tblTempUsageDetail_20' ) end
[2025-01-10 03:59:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 03:59:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 03:59:22] Production.INFO: ==7502== Releasing lock...
[2025-01-10 03:59:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 03:59:22] Production.INFO: 28.5 MB #Memory Used#
[2025-01-10 09:00:02] Production.INFO: ==7558== Lock acquired, processing the job...
[2025-01-10 09:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 09:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 09:00:02] Production.INFO: neon service started
[2025-01-10 09:00:02] Production.INFO: neon service started
[2025-01-10 09:00:02] Production.INFO: ==7558== Releasing lock...
[2025-01-10 09:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 09:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 09:00:02] Production.INFO: ==7562== Lock acquired, processing the job...
[2025-01-10 09:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 09:00:02] Production.INFO: ==7562== Releasing lock...
[2025-01-10 09:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 09:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 04:00:02] Production.INFO: ==7560== Lock acquired, processing the job...
[2025-01-10 04:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 04:00:03] Production.INFO: ==7560== Releasing lock...
[2025-01-10 04:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 04:00:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 04:00:04] Production.INFO: ==7564== Lock acquired, processing the job...
[2025-01-10 04:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 04:00:04] Production.INFO: ==7566== Lock acquired, processing the job...
[2025-01-10 04:00:04] Production.INFO: dbcleanup-command-dbcleanup-companyid-1-cronjobid-3 #Starts#
[2025-01-10 04:00:04] Production.INFO: ==7568== Lock acquired, processing the job...
[2025-01-10 04:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 04:00:04] Production.INFO: DBcleanup Starts.
[2025-01-10 04:00:04] Production.INFO: Usage Download Log Start.
[2025-01-10 04:00:04] Production.INFO: Usage Download Log End.
[2025-01-10 04:00:04] Production.INFO: Cronjob History Delete Start.
[2025-01-10 04:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 04:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 04:00:04] Production.ERROR: CronJob PID - 7566
[2025-01-10 04:00:04] Production.ERROR: CronJob Title - DB CleanUp
[2025-01-10 04:00:04] Production.ERROR: CronJob ID - 3
[2025-01-10 04:00:04] Production.ERROR: CronJob Last Run Time 2025-01-10 04:00:00
[2025-01-10 04:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 04:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 04:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 04:00:04] Production.ERROR: CronJob PID - 7568
[2025-01-10 04:00:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-10 04:00:04] Production.ERROR: CronJob ID - 5
[2025-01-10 04:00:04] Production.ERROR: CronJob Last Run Time 2025-01-10 04:00:00
[2025-01-10 04:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 04:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 04:00:04] Production.INFO: call prc_deleteJobOrCronJobLogByRetention(1,'2024-01-11','Cronjob')
[2025-01-10 04:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 04:00:04] Production.INFO: ==7570== Lock acquired, processing the job...
[2025-01-10 04:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 04:00:04] Production.INFO: ==7572== Lock acquired, processing the job...
[2025-01-10 04:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 04:00:04] Production.INFO: ==7575== Lock acquired, processing the job...
[2025-01-10 04:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 04:00:04] Production.INFO: ==7577== Lock acquired, processing the job...
[2025-01-10 04:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 04:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:00:04] Production.INFO: Account Balance Start.
[2025-01-10 04:00:04] Production.INFO: CreateAllLog Start
[2025-01-10 04:00:04] Production.INFO: 117
[2025-01-10 04:00:04] Production.INFO: Date 2025-01-08
[2025-01-10 04:00:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 04:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 04:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 04:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 04:00:04] Production.INFO: ==7579== Lock acquired, processing the job...
[2025-01-10 04:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 04:00:04] Production.INFO: ==7581== Lock acquired, processing the job...
[2025-01-10 04:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 04:00:04] Production.INFO: Date 2025-01-09
[2025-01-10 04:00:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:00:04] Production.INFO: Date 2025-01-10
[2025-01-10 04:00:04] Production.INFO: count ==21
[2025-01-10 04:00:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:00:04] Production.ERROR: done
[2025-01-10 04:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 04:00:04] Production.INFO: ==7570== Releasing lock...
[2025-01-10 04:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 04:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 04:00:04] Production.INFO: count ==21
[2025-01-10 04:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14214325') start
[2025-01-10 04:00:05] Production.INFO: Total Charge 0
[2025-01-10 04:00:05] Production.ERROR: done
[2025-01-10 04:00:05] Production.INFO: CreateAllLog End
[2025-01-10 04:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14214325') end
[2025-01-10 04:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 04:00:05] Production.INFO: 1
[2025-01-10 04:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 04:00:05] Production.ERROR: done
[2025-01-10 04:00:05] Production.INFO: ==7581== Releasing lock...
[2025-01-10 04:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 04:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 04:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 04:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14214327', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 04:00:05] Production.INFO: Account Balance End.
[2025-01-10 04:00:05] Production.ERROR: CronJobId end 12
[2025-01-10 04:00:05] Production.INFO: ==7575== Releasing lock...
[2025-01-10 04:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 04:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 04:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 01:00:06
[end_date_ymd] => 2025-01-10 04:00:06
[RateCDR] => 1
)
[2025-01-10 04:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 01:00:06' and `end` < '2025-01-10 04:00:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 04:00:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14214327', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 04:00:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 04:00:10] Production.INFO: ProcessCDR(1,14214327,1,1,2)
[2025-01-10 04:00:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14214327,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:00:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14214327,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:00:10] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:00:10] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:00:10] Production.INFO: ==7579== Releasing lock...
[2025-01-10 04:00:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 04:00:10] Production.INFO: 26 MB #Memory Used#
[2025-01-10 04:00:16] Production.INFO: Cronjob History Delete End.
[2025-01-10 04:00:16] Production.INFO: Job Log Delete Start.
[2025-01-10 04:00:16] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 04:00:16] Production.INFO: ==7564== Releasing lock...
[2025-01-10 04:00:16] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 04:00:16] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 04:00:16] Production.INFO: call prc_deleteJobOrCronJobLogByRetention(1,'2024-01-11','Job')
[2025-01-10 04:00:16] Production.INFO: Job Log Delete End.
[2025-01-10 04:00:16] Production.INFO: Customer RateSheet History Delete Starts.
[2025-01-10 04:00:16] Production.INFO: Customer RateSheet History Delete End.
[2025-01-10 04:00:16] Production.INFO: Vendor RateSheet History Delete Start.
[2025-01-10 04:00:16] Production.INFO: Vendor RateSheet History Delete End.
[2025-01-10 04:00:16] Production.INFO: All Old Rate Delete Start
[2025-01-10 04:00:16] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldVendorRate Start.
[2025-01-10 04:00:16] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldVendorRate Done.
[2025-01-10 04:00:16] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldCustomerRate Start.
[2025-01-10 04:00:16] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldCustomerRate Done.
[2025-01-10 04:00:16] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldRateTableRate Start.
[2025-01-10 04:00:16] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldRateTableRate Done.
[2025-01-10 04:00:16] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldRateSheetDetails Start.
[2025-01-10 04:00:16] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldRateSheetDetails Done.
[2025-01-10 04:00:16] Production.INFO: All Old Rate Delete End
[2025-01-10 04:00:16] Production.INFO: Customer CDR Delete Start.
[2025-01-10 04:00:16] Production.INFO: Customer CDR Delete End.
[2025-01-10 04:00:16] Production.INFO: Customer Failed Call Start.
[2025-01-10 04:00:16] Production.INFO: Customer Failed Call Delete End.
[2025-01-10 04:00:16] Production.INFO: Vendor CDR Delete Start.
[2025-01-10 04:00:16] Production.INFO: Vendor CDR Delete End.
[2025-01-10 04:00:16] Production.INFO: Vendor CDR Delete Start.
[2025-01-10 04:00:16] Production.INFO: Vendor CDR Delete End.
[2025-01-10 04:00:16] Production.INFO: RateLog Delete Start.
[2025-01-10 04:00:16] Production.INFO: RateLog Delete End.
[2025-01-10 04:00:16] Production.INFO: Archive Old Rate Delete Start.
[2025-01-10 04:00:16] Production.INFO: Archive Old Rate Delete End.
[2025-01-10 04:00:16] Production.INFO: Tickets Delete Start.
[2025-01-10 04:00:16] Production.INFO: Tickets Delete End.
[2025-01-10 04:00:16] Production.INFO: DBcleanup Done.
[2025-01-10 04:00:16] Production.ERROR: CronJobId end 3
[2025-01-10 04:00:16] Production.INFO: ==7566== Releasing lock...
[2025-01-10 04:00:16] Production.INFO: dbcleanup-command-dbcleanup-companyid-1-cronjobid-3 #Stops#
[2025-01-10 04:00:16] Production.INFO: 26 MB #Memory Used#
[2025-01-10 04:00:18] Production.ERROR: CronJobId end10
[2025-01-10 04:00:18] Production.INFO: ==7572== Releasing lock...
[2025-01-10 04:00:18] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 04:00:18] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 04:00:18] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 04:00:18] Production.INFO: ============== Balance Warning START===========
[2025-01-10 04:00:18] Production.INFO: ============== Balance Warning END===========
[2025-01-10 04:00:18] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 04:00:18] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 04:00:18] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 04:00:18] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 04:00:18] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 04:00:18] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 04:00:18] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 04:00:18] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 04:00:18] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 04:00:18] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 04:00:18] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 04:00:19] Production.INFO: call_cost start
[2025-01-10 04:00:19] Production.INFO: call_cost end
[2025-01-10 04:00:19] Production.INFO: count ==146
[2025-01-10 04:00:19] Production.ERROR: pbx CDR StartTime 2025-01-10 01:00:06 - End Time 2025-01-10 04:00:06
[2025-01-10 04:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 04:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214326', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214326', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214326', 'tblTempVendorCDR_20' ) start
[2025-01-10 04:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214326', 'tblTempVendorCDR_20' ) end
[2025-01-10 04:00:19] Production.INFO: ProcessCDR(1,14214326,1,1,2)
[2025-01-10 04:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214326,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:00:19] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 04:00:19] Production.INFO: ============== Report Schedule START===========
[2025-01-10 04:00:19] Production.INFO: ============== Report Schedule END===========
[2025-01-10 04:00:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 04:00:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 04:00:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 04:00:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 04:00:19] Production.INFO: ============== Deal alert START===========
[2025-01-10 04:00:19] Production.INFO: ============== Deal alert END===========
[2025-01-10 04:00:19] Production.INFO: ==7568== Releasing lock...
[2025-01-10 04:00:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 04:00:19] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 04:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214326,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214326,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:00:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214326,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214326', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214326', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:00:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:00:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:00:22] Production.INFO: ==7577== Releasing lock...
[2025-01-10 04:00:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 04:00:22] Production.INFO: 28.5 MB #Memory Used#
[2025-01-10 09:01:02] Production.INFO: ==7636== Lock acquired, processing the job...
[2025-01-10 09:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 09:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 09:01:02] Production.INFO: neon service started
[2025-01-10 09:01:02] Production.INFO: neon service started
[2025-01-10 09:01:02] Production.INFO: ==7636== Releasing lock...
[2025-01-10 09:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 09:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 04:01:02] Production.INFO: ==7650== Lock acquired, processing the job...
[2025-01-10 04:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 04:01:02] Production.INFO: ==7650== Releasing lock...
[2025-01-10 04:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 04:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 09:01:02] Production.INFO: ==7652== Lock acquired, processing the job...
[2025-01-10 09:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 09:01:03] Production.INFO: ==7652== Releasing lock...
[2025-01-10 09:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 09:01:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 04:01:03] Production.INFO: ==7664== Lock acquired, processing the job...
[2025-01-10 04:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 04:01:03] Production.INFO: ==7656== Lock acquired, processing the job...
[2025-01-10 04:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 04:01:03] Production.INFO: ==7658== Lock acquired, processing the job...
[2025-01-10 04:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 04:01:03] Production.INFO: ==7654== Lock acquired, processing the job...
[2025-01-10 04:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 04:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 04:01:03] Production.INFO: ==7660== Lock acquired, processing the job...
[2025-01-10 04:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 04:01:03] Production.INFO: ==7662== Lock acquired, processing the job...
[2025-01-10 04:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 04:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:01:03] Production.INFO: count ==21
[2025-01-10 04:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:01:03] Production.INFO: Account Balance Start.
[2025-01-10 04:01:03] Production.INFO: count ==21
[2025-01-10 04:01:03] Production.INFO: CreateAllLog Start
[2025-01-10 04:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 04:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 04:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 04:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 04:01:03] Production.INFO: 117
[2025-01-10 04:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214328') start
[2025-01-10 04:01:03] Production.INFO: Date 2025-01-08
[2025-01-10 04:01:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:01:03] Production.INFO: Date 2025-01-09
[2025-01-10 04:01:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:01:04] Production.INFO: Date 2025-01-10
[2025-01-10 04:01:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:01:04] Production.INFO: ==7656== Releasing lock...
[2025-01-10 04:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 04:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 04:01:04] Production.INFO: Total Charge 0
[2025-01-10 04:01:04] Production.INFO: CreateAllLog End
[2025-01-10 04:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214328') end
[2025-01-10 04:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 04:01:04] Production.INFO: 1
[2025-01-10 04:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 04:01:04] Production.INFO: ==7664== Releasing lock...
[2025-01-10 04:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 04:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 04:01:04] Production.ERROR: done
[2025-01-10 04:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 04:01:04] Production.ERROR: done
[2025-01-10 04:01:04] Production.INFO: Account Balance End.
[2025-01-10 04:01:04] Production.ERROR: CronJobId end 12
[2025-01-10 04:01:04] Production.INFO: ==7660== Releasing lock...
[2025-01-10 04:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 04:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 04:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 01:01:05
[end_date_ymd] => 2025-01-10 04:01:05
[RateCDR] => 1
)
[2025-01-10 04:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 01:01:05' and `end` < '2025-01-10 04:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 04:01:11] Production.ERROR: CronJobId end10
[2025-01-10 04:01:11] Production.INFO: ==7658== Releasing lock...
[2025-01-10 04:01:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 04:01:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 04:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 04:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 04:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 04:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 04:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 04:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 04:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 04:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 04:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 04:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 04:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 04:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 04:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 04:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 04:01:13] Production.INFO: call_cost start
[2025-01-10 04:01:13] Production.INFO: call_cost end
[2025-01-10 04:01:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 04:01:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 04:01:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 04:01:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 04:01:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 04:01:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 04:01:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 04:01:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 04:01:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 04:01:14] Production.INFO: ==7654== Releasing lock...
[2025-01-10 04:01:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 04:01:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 04:01:18] Production.INFO: count ==138
[2025-01-10 04:01:18] Production.ERROR: pbx CDR StartTime 2025-01-10 01:01:05 - End Time 2025-01-10 04:01:05
[2025-01-10 04:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 04:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214332', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214332', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214332', 'tblTempVendorCDR_20' ) start
[2025-01-10 04:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214332', 'tblTempVendorCDR_20' ) end
[2025-01-10 04:01:18] Production.INFO: ProcessCDR(1,14214332,1,1,2)
[2025-01-10 04:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214332,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:01:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214332,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:01:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214332,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:01:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214332,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214332', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214332', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:01:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:01:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:01:21] Production.INFO: ==7662== Releasing lock...
[2025-01-10 04:01:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 04:01:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:02:01] Production.INFO: ==7716== Lock acquired, processing the job...
[2025-01-10 09:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 09:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 09:02:01] Production.INFO: neon service started
[2025-01-10 09:02:01] Production.INFO: neon service started
[2025-01-10 09:02:01] Production.INFO: ==7716== Releasing lock...
[2025-01-10 09:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 09:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 04:02:02] Production.INFO: ==7718== Lock acquired, processing the job...
[2025-01-10 04:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:02:02] Production.INFO: ==7720== Lock acquired, processing the job...
[2025-01-10 09:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 09:02:02] Production.INFO: ==7720== Releasing lock...
[2025-01-10 09:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 09:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 04:02:02] Production.INFO: ==7718== Releasing lock...
[2025-01-10 04:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 04:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 04:02:03] Production.INFO: ==7723== Lock acquired, processing the job...
[2025-01-10 04:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 04:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 04:02:03] Production.INFO: ==7725== Lock acquired, processing the job...
[2025-01-10 04:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 04:02:03] Production.INFO: ==7733== Lock acquired, processing the job...
[2025-01-10 04:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 04:02:03] Production.INFO: ==7727== Lock acquired, processing the job...
[2025-01-10 04:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 04:02:03] Production.INFO: ==7725== Releasing lock...
[2025-01-10 04:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 04:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 04:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 04:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 04:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 04:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 04:02:03] Production.INFO: ==7729== Lock acquired, processing the job...
[2025-01-10 04:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 04:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:02:03] Production.INFO: ==7731== Lock acquired, processing the job...
[2025-01-10 04:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 04:02:03] Production.INFO: count ==21
[2025-01-10 04:02:03] Production.INFO: Account Balance Start.
[2025-01-10 04:02:03] Production.INFO: CreateAllLog Start
[2025-01-10 04:02:03] Production.INFO: 117
[2025-01-10 04:02:03] Production.INFO: Date 2025-01-08
[2025-01-10 04:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:02:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:02:03] Production.INFO: count ==21
[2025-01-10 04:02:03] Production.INFO: Date 2025-01-09
[2025-01-10 04:02:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214335') start
[2025-01-10 04:02:03] Production.INFO: Date 2025-01-10
[2025-01-10 04:02:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:02:03] Production.INFO: Total Charge 0
[2025-01-10 04:02:03] Production.INFO: CreateAllLog End
[2025-01-10 04:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214335') end
[2025-01-10 04:02:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 04:02:03] Production.INFO: 1
[2025-01-10 04:02:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 04:02:03] Production.INFO: Account Balance End.
[2025-01-10 04:02:04] Production.ERROR: done
[2025-01-10 04:02:04] Production.INFO: ==7733== Releasing lock...
[2025-01-10 04:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 04:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 04:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 04:02:04] Production.ERROR: CronJobId end 12
[2025-01-10 04:02:04] Production.INFO: ==7729== Releasing lock...
[2025-01-10 04:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 04:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 04:02:04] Production.ERROR: done
[2025-01-10 04:02:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 01:02:04
[end_date_ymd] => 2025-01-10 04:02:04
[RateCDR] => 1
)
[2025-01-10 04:02:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 01:02:04' and `end` < '2025-01-10 04:02:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 04:02:10] Production.ERROR: CronJobId end10
[2025-01-10 04:02:10] Production.INFO: ==7727== Releasing lock...
[2025-01-10 04:02:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 04:02:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 04:02:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 04:02:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 04:02:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 04:02:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 04:02:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 04:02:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 04:02:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 04:02:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 04:02:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 04:02:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 04:02:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 04:02:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 04:02:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 04:02:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 04:02:12] Production.INFO: call_cost start
[2025-01-10 04:02:12] Production.INFO: call_cost end
[2025-01-10 04:02:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 04:02:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 04:02:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 04:02:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 04:02:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 04:02:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 04:02:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 04:02:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 04:02:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 04:02:13] Production.INFO: ==7723== Releasing lock...
[2025-01-10 04:02:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 04:02:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 04:02:17] Production.INFO: count ==138
[2025-01-10 04:02:17] Production.ERROR: pbx CDR StartTime 2025-01-10 01:02:04 - End Time 2025-01-10 04:02:04
[2025-01-10 04:02:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 04:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214337', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214337', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214337', 'tblTempVendorCDR_20' ) start
[2025-01-10 04:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214337', 'tblTempVendorCDR_20' ) end
[2025-01-10 04:02:17] Production.INFO: ProcessCDR(1,14214337,1,1,2)
[2025-01-10 04:02:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214337,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:02:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214337,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:02:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214337,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:02:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214337,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214337', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214337', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:02:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:02:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:02:21] Production.INFO: ==7731== Releasing lock...
[2025-01-10 04:02:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 04:02:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:03:01] Production.INFO: ==7790== Lock acquired, processing the job...
[2025-01-10 09:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 09:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 09:03:01] Production.INFO: neon service started
[2025-01-10 09:03:01] Production.INFO: neon service started
[2025-01-10 09:03:01] Production.INFO: ==7790== Releasing lock...
[2025-01-10 09:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 09:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 04:03:02] Production.INFO: ==7792== Lock acquired, processing the job...
[2025-01-10 04:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 04:03:02] Production.INFO: ==7792== Releasing lock...
[2025-01-10 04:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 04:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 09:03:02] Production.INFO: ==7794== Lock acquired, processing the job...
[2025-01-10 09:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 09:03:02] Production.INFO: ==7794== Releasing lock...
[2025-01-10 09:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 09:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 04:03:03] Production.INFO: ==7799== Lock acquired, processing the job...
[2025-01-10 04:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 04:03:03] Production.INFO: ==7803== Lock acquired, processing the job...
[2025-01-10 04:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 04:03:03] Production.INFO: ==7797== Lock acquired, processing the job...
[2025-01-10 04:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 04:03:03] Production.INFO: ==7801== Lock acquired, processing the job...
[2025-01-10 04:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 04:03:03] Production.INFO: Account Balance Start.
[2025-01-10 04:03:03] Production.INFO: CreateAllLog Start
[2025-01-10 04:03:03] Production.INFO: 117
[2025-01-10 04:03:03] Production.INFO: Date 2025-01-08
[2025-01-10 04:03:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 04:03:03] Production.INFO: ==7799== Releasing lock...
[2025-01-10 04:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 04:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 04:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 04:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 04:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 04:03:03] Production.INFO: ==7805== Lock acquired, processing the job...
[2025-01-10 04:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 04:03:03] Production.INFO: Date 2025-01-09
[2025-01-10 04:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 04:03:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:03:03] Production.INFO: ==7807== Lock acquired, processing the job...
[2025-01-10 04:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 04:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:03:03] Production.INFO: Date 2025-01-10
[2025-01-10 04:03:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:03:03] Production.INFO: Total Charge 0
[2025-01-10 04:03:03] Production.INFO: CreateAllLog End
[2025-01-10 04:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:03:03] Production.INFO: count ==21
[2025-01-10 04:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:03:03] Production.INFO: count ==21
[2025-01-10 04:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214341') start
[2025-01-10 04:03:03] Production.ERROR: done
[2025-01-10 04:03:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 04:03:04] Production.INFO: Account Balance End.
[2025-01-10 04:03:04] Production.ERROR: CronJobId end 12
[2025-01-10 04:03:04] Production.INFO: ==7803== Releasing lock...
[2025-01-10 04:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 04:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 04:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214341') end
[2025-01-10 04:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 04:03:04] Production.INFO: 1
[2025-01-10 04:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 04:03:04] Production.INFO: ==7807== Releasing lock...
[2025-01-10 04:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 04:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 04:03:04] Production.ERROR: done
[2025-01-10 04:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 01:03:05
[end_date_ymd] => 2025-01-10 04:03:05
[RateCDR] => 1
)
[2025-01-10 04:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 01:03:05' and `end` < '2025-01-10 04:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 04:03:10] Production.ERROR: CronJobId end10
[2025-01-10 04:03:10] Production.INFO: ==7801== Releasing lock...
[2025-01-10 04:03:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 04:03:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 04:03:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 04:03:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 04:03:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 04:03:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 04:03:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 04:03:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 04:03:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 04:03:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 04:03:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 04:03:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 04:03:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 04:03:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 04:03:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 04:03:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 04:03:13] Production.INFO: call_cost start
[2025-01-10 04:03:13] Production.INFO: call_cost end
[2025-01-10 04:03:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 04:03:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 04:03:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 04:03:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 04:03:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 04:03:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 04:03:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 04:03:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 04:03:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 04:03:13] Production.INFO: ==7797== Releasing lock...
[2025-01-10 04:03:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 04:03:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 04:03:18] Production.INFO: count ==138
[2025-01-10 04:03:18] Production.ERROR: pbx CDR StartTime 2025-01-10 01:03:05 - End Time 2025-01-10 04:03:05
[2025-01-10 04:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 04:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214342', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214342', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214342', 'tblTempVendorCDR_20' ) start
[2025-01-10 04:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214342', 'tblTempVendorCDR_20' ) end
[2025-01-10 04:03:18] Production.INFO: ProcessCDR(1,14214342,1,1,2)
[2025-01-10 04:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214342,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214342,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214342,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214342,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214342', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214342', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:03:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:03:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:03:21] Production.INFO: ==7805== Releasing lock...
[2025-01-10 04:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 04:03:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:04:02] Production.INFO: ==7868== Lock acquired, processing the job...
[2025-01-10 09:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 09:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 09:04:02] Production.INFO: neon service started
[2025-01-10 09:04:02] Production.INFO: neon service started
[2025-01-10 09:04:02] Production.INFO: ==7868== Releasing lock...
[2025-01-10 09:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 09:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 04:04:02] Production.INFO: ==7870== Lock acquired, processing the job...
[2025-01-10 04:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:04:02] Production.INFO: ==7872== Lock acquired, processing the job...
[2025-01-10 09:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 09:04:03] Production.INFO: ==7872== Releasing lock...
[2025-01-10 09:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 09:04:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 04:04:03] Production.INFO: ==7870== Releasing lock...
[2025-01-10 04:04:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 04:04:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 04:04:03] Production.INFO: ==7877== Lock acquired, processing the job...
[2025-01-10 04:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 04:04:04] Production.INFO: ==7885== Lock acquired, processing the job...
[2025-01-10 04:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 04:04:04] Production.INFO: ==7875== Lock acquired, processing the job...
[2025-01-10 04:04:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 04:04:04] Production.INFO: ==7879== Lock acquired, processing the job...
[2025-01-10 04:04:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 04:04:04] Production.INFO: ==7877== Releasing lock...
[2025-01-10 04:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 04:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 04:04:04] Production.INFO: ==7881== Lock acquired, processing the job...
[2025-01-10 04:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 04:04:04] Production.INFO: ==7883== Lock acquired, processing the job...
[2025-01-10 04:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 04:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:04:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 04:04:04] Production.INFO: Account Balance Start.
[2025-01-10 04:04:04] Production.INFO: CreateAllLog Start
[2025-01-10 04:04:04] Production.INFO: 117
[2025-01-10 04:04:04] Production.INFO: count ==21
[2025-01-10 04:04:04] Production.INFO: Date 2025-01-08
[2025-01-10 04:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:04:04] Production.INFO: count ==21
[2025-01-10 04:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214344') start
[2025-01-10 04:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:04:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 04:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 04:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 04:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 04:04:04] Production.INFO: Date 2025-01-09
[2025-01-10 04:04:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:04:04] Production.INFO: Date 2025-01-10
[2025-01-10 04:04:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214344') end
[2025-01-10 04:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 04:04:04] Production.INFO: 1
[2025-01-10 04:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 04:04:04] Production.INFO: Total Charge 0
[2025-01-10 04:04:04] Production.INFO: CreateAllLog End
[2025-01-10 04:04:04] Production.INFO: ==7885== Releasing lock...
[2025-01-10 04:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 04:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 04:04:04] Production.ERROR: done
[2025-01-10 04:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 04:04:04] Production.INFO: Account Balance End.
[2025-01-10 04:04:04] Production.ERROR: CronJobId end 12
[2025-01-10 04:04:04] Production.INFO: ==7881== Releasing lock...
[2025-01-10 04:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 04:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 04:04:04] Production.ERROR: done
[2025-01-10 04:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 01:04:05
[end_date_ymd] => 2025-01-10 04:04:05
[RateCDR] => 1
)
[2025-01-10 04:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 01:04:05' and `end` < '2025-01-10 04:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 04:04:11] Production.ERROR: CronJobId end10
[2025-01-10 04:04:11] Production.INFO: ==7879== Releasing lock...
[2025-01-10 04:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 04:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 04:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 04:04:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 04:04:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 04:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 04:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 04:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 04:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 04:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 04:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 04:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 04:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 04:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 04:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 04:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 04:04:13] Production.INFO: call_cost start
[2025-01-10 04:04:13] Production.INFO: call_cost end
[2025-01-10 04:04:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 04:04:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 04:04:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 04:04:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 04:04:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 04:04:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 04:04:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 04:04:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 04:04:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 04:04:14] Production.INFO: ==7875== Releasing lock...
[2025-01-10 04:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 04:04:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 04:04:18] Production.INFO: count ==138
[2025-01-10 04:04:18] Production.ERROR: pbx CDR StartTime 2025-01-10 01:04:05 - End Time 2025-01-10 04:04:05
[2025-01-10 04:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 04:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214347', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214347', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214347', 'tblTempVendorCDR_20' ) start
[2025-01-10 04:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214347', 'tblTempVendorCDR_20' ) end
[2025-01-10 04:04:18] Production.INFO: ProcessCDR(1,14214347,1,1,2)
[2025-01-10 04:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214347,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214347,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214347,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:04:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214347,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214347', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214347', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:04:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:04:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:04:21] Production.INFO: ==7883== Releasing lock...
[2025-01-10 04:04:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 04:04:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:05:01] Production.INFO: ==7953== Lock acquired, processing the job...
[2025-01-10 09:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 09:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 09:05:01] Production.INFO: neon service started
[2025-01-10 09:05:01] Production.INFO: neon service started
[2025-01-10 09:05:01] Production.INFO: ==7953== Releasing lock...
[2025-01-10 09:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 09:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 04:05:02] Production.INFO: ==7955== Lock acquired, processing the job...
[2025-01-10 04:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:05:02] Production.INFO: ==7957== Lock acquired, processing the job...
[2025-01-10 09:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 09:05:02] Production.INFO: ==7957== Releasing lock...
[2025-01-10 09:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 09:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 04:05:02] Production.INFO: ==7955== Releasing lock...
[2025-01-10 04:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 04:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 04:05:03] Production.INFO: ==7962== Lock acquired, processing the job...
[2025-01-10 04:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 04:05:03] Production.INFO: ==7964== Lock acquired, processing the job...
[2025-01-10 04:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 04:05:03] Production.INFO: ==7972== Lock acquired, processing the job...
[2025-01-10 04:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 04:05:03] Production.INFO: ==7966== Lock acquired, processing the job...
[2025-01-10 04:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 04:05:03] Production.INFO: ==7968== Lock acquired, processing the job...
[2025-01-10 04:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 04:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:05:03] Production.INFO: ==7970== Lock acquired, processing the job...
[2025-01-10 04:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 04:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 04:05:03] Production.INFO: count ==21
[2025-01-10 04:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:05:03] Production.INFO: count ==21
[2025-01-10 04:05:03] Production.INFO: ==7964== Releasing lock...
[2025-01-10 04:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 04:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 04:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214349') start
[2025-01-10 04:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 04:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 04:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 04:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 04:05:03] Production.INFO: Account Balance Start.
[2025-01-10 04:05:03] Production.INFO: CreateAllLog Start
[2025-01-10 04:05:03] Production.INFO: 117
[2025-01-10 04:05:03] Production.INFO: Date 2025-01-08
[2025-01-10 04:05:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:05:04] Production.INFO: Date 2025-01-09
[2025-01-10 04:05:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:05:04] Production.INFO: Date 2025-01-10
[2025-01-10 04:05:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214349') end
[2025-01-10 04:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 04:05:04] Production.INFO: 1
[2025-01-10 04:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 04:05:04] Production.INFO: Total Charge 0
[2025-01-10 04:05:04] Production.INFO: CreateAllLog End
[2025-01-10 04:05:04] Production.INFO: ==7972== Releasing lock...
[2025-01-10 04:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 04:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 04:05:04] Production.ERROR: done
[2025-01-10 04:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 04:05:04] Production.ERROR: done
[2025-01-10 04:05:04] Production.INFO: Account Balance End.
[2025-01-10 04:05:04] Production.ERROR: CronJobId end 12
[2025-01-10 04:05:04] Production.INFO: ==7968== Releasing lock...
[2025-01-10 04:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 04:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 04:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 01:05:05
[end_date_ymd] => 2025-01-10 04:05:05
[RateCDR] => 1
)
[2025-01-10 04:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 01:05:05' and `end` < '2025-01-10 04:05:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 04:05:11] Production.ERROR: CronJobId end10
[2025-01-10 04:05:11] Production.INFO: ==7966== Releasing lock...
[2025-01-10 04:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 04:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 04:05:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 04:05:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 04:05:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 04:05:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 04:05:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 04:05:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 04:05:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 04:05:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 04:05:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 04:05:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 04:05:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 04:05:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 04:05:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 04:05:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 04:05:13] Production.INFO: call_cost start
[2025-01-10 04:05:13] Production.INFO: call_cost end
[2025-01-10 04:05:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 04:05:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 04:05:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 04:05:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 04:05:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 04:05:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 04:05:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 04:05:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 04:05:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 04:05:14] Production.INFO: ==7962== Releasing lock...
[2025-01-10 04:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 04:05:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 04:05:18] Production.INFO: count ==138
[2025-01-10 04:05:18] Production.ERROR: pbx CDR StartTime 2025-01-10 01:05:05 - End Time 2025-01-10 04:05:05
[2025-01-10 04:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 04:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214352', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214352', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214352', 'tblTempVendorCDR_20' ) start
[2025-01-10 04:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214352', 'tblTempVendorCDR_20' ) end
[2025-01-10 04:05:18] Production.INFO: ProcessCDR(1,14214352,1,1,2)
[2025-01-10 04:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214352,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214352,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214352,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214352,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214352', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214352', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:05:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:05:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:05:21] Production.INFO: ==7970== Releasing lock...
[2025-01-10 04:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 04:05:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:06:02] Production.INFO: ==8041== Lock acquired, processing the job...
[2025-01-10 09:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 09:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 09:06:02] Production.INFO: neon service started
[2025-01-10 09:06:02] Production.INFO: neon service started
[2025-01-10 09:06:02] Production.INFO: ==8041== Releasing lock...
[2025-01-10 09:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 09:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 04:06:02] Production.INFO: ==8043== Lock acquired, processing the job...
[2025-01-10 04:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 04:06:03] Production.INFO: ==8043== Releasing lock...
[2025-01-10 04:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 04:06:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 09:06:03] Production.INFO: ==8045== Lock acquired, processing the job...
[2025-01-10 09:06:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 09:06:03] Production.INFO: ==8045== Releasing lock...
[2025-01-10 09:06:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 09:06:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 04:06:04] Production.INFO: ==8052== Lock acquired, processing the job...
[2025-01-10 04:06:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 04:06:04] Production.INFO: ==8058== Lock acquired, processing the job...
[2025-01-10 04:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 04:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 04:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 04:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 04:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 04:06:04] Production.INFO: ==8048== Lock acquired, processing the job...
[2025-01-10 04:06:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 04:06:04] Production.INFO: ==8050== Lock acquired, processing the job...
[2025-01-10 04:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 04:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:06:04] Production.INFO: ==8056== Lock acquired, processing the job...
[2025-01-10 04:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 04:06:04] Production.INFO: ==8054== Lock acquired, processing the job...
[2025-01-10 04:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 04:06:04] Production.INFO: count ==21
[2025-01-10 04:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:06:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 04:06:04] Production.INFO: count ==21
[2025-01-10 04:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214353') start
[2025-01-10 04:06:04] Production.INFO: Account Balance Start.
[2025-01-10 04:06:04] Production.INFO: CreateAllLog Start
[2025-01-10 04:06:04] Production.INFO: 117
[2025-01-10 04:06:04] Production.INFO: Date 2025-01-08
[2025-01-10 04:06:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:06:04] Production.INFO: Date 2025-01-09
[2025-01-10 04:06:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:06:04] Production.INFO: Date 2025-01-10
[2025-01-10 04:06:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:06:04] Production.ERROR: done
[2025-01-10 04:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 04:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214353') end
[2025-01-10 04:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 04:06:04] Production.INFO: 1
[2025-01-10 04:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 04:06:04] Production.INFO: Total Charge 0
[2025-01-10 04:06:04] Production.INFO: CreateAllLog End
[2025-01-10 04:06:04] Production.INFO: ==8058== Releasing lock...
[2025-01-10 04:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 04:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 04:06:04] Production.ERROR: done
[2025-01-10 04:06:04] Production.INFO: Account Balance End.
[2025-01-10 04:06:05] Production.INFO: ==8050== Releasing lock...
[2025-01-10 04:06:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 04:06:05] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 04:06:05] Production.ERROR: CronJobId end 12
[2025-01-10 04:06:05] Production.INFO: ==8054== Releasing lock...
[2025-01-10 04:06:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 04:06:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 04:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 01:06:05
[end_date_ymd] => 2025-01-10 04:06:05
[RateCDR] => 1
)
[2025-01-10 04:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 01:06:05' and `end` < '2025-01-10 04:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 04:06:11] Production.ERROR: CronJobId end10
[2025-01-10 04:06:11] Production.INFO: ==8052== Releasing lock...
[2025-01-10 04:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 04:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 04:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 04:06:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 04:06:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 04:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 04:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 04:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 04:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 04:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 04:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 04:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 04:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 04:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 04:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 04:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 04:06:13] Production.INFO: call_cost start
[2025-01-10 04:06:13] Production.INFO: call_cost end
[2025-01-10 04:06:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 04:06:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 04:06:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 04:06:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 04:06:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 04:06:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 04:06:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 04:06:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 04:06:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 04:06:14] Production.INFO: ==8048== Releasing lock...
[2025-01-10 04:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 04:06:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 04:06:19] Production.INFO: count ==138
[2025-01-10 04:06:19] Production.ERROR: pbx CDR StartTime 2025-01-10 01:06:05 - End Time 2025-01-10 04:06:05
[2025-01-10 04:06:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 04:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214357', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214357', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214357', 'tblTempVendorCDR_20' ) start
[2025-01-10 04:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214357', 'tblTempVendorCDR_20' ) end
[2025-01-10 04:06:19] Production.INFO: ProcessCDR(1,14214357,1,1,2)
[2025-01-10 04:06:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214357,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:06:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214357,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:06:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214357,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214357,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214357', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214357', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:06:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:06:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:06:22] Production.INFO: ==8056== Releasing lock...
[2025-01-10 04:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 04:06:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:07:01] Production.INFO: ==8110== Lock acquired, processing the job...
[2025-01-10 09:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 09:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 09:07:01] Production.INFO: neon service started
[2025-01-10 09:07:01] Production.INFO: neon service started
[2025-01-10 09:07:01] Production.INFO: ==8110== Releasing lock...
[2025-01-10 09:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 09:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 04:07:02] Production.INFO: ==8112== Lock acquired, processing the job...
[2025-01-10 04:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:07:02] Production.INFO: ==8114== Lock acquired, processing the job...
[2025-01-10 09:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 09:07:02] Production.INFO: ==8114== Releasing lock...
[2025-01-10 09:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 09:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 04:07:02] Production.INFO: ==8112== Releasing lock...
[2025-01-10 04:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 04:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 04:07:03] Production.INFO: ==8123== Lock acquired, processing the job...
[2025-01-10 04:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 04:07:03] Production.INFO: ==8125== Lock acquired, processing the job...
[2025-01-10 04:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 04:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:07:03] Production.INFO: ==8117== Lock acquired, processing the job...
[2025-01-10 04:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 04:07:03] Production.INFO: ==8121== Lock acquired, processing the job...
[2025-01-10 04:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 04:07:03] Production.INFO: ==8119== Lock acquired, processing the job...
[2025-01-10 04:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 04:07:03] Production.INFO: ==8127== Lock acquired, processing the job...
[2025-01-10 04:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 04:07:03] Production.INFO: Account Balance Start.
[2025-01-10 04:07:03] Production.INFO: CreateAllLog Start
[2025-01-10 04:07:03] Production.INFO: 117
[2025-01-10 04:07:03] Production.INFO: Date 2025-01-08
[2025-01-10 04:07:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 04:07:03] Production.INFO: Date 2025-01-09
[2025-01-10 04:07:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 04:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 04:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 04:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 04:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:07:03] Production.INFO: count ==21
[2025-01-10 04:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:07:04] Production.INFO: count ==21
[2025-01-10 04:07:04] Production.INFO: Date 2025-01-10
[2025-01-10 04:07:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214359') start
[2025-01-10 04:07:04] Production.INFO: Total Charge 0
[2025-01-10 04:07:04] Production.INFO: CreateAllLog End
[2025-01-10 04:07:04] Production.ERROR: done
[2025-01-10 04:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 04:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214359') end
[2025-01-10 04:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 04:07:04] Production.INFO: 1
[2025-01-10 04:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 04:07:04] Production.INFO: ==8119== Releasing lock...
[2025-01-10 04:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 04:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 04:07:04] Production.INFO: Account Balance End.
[2025-01-10 04:07:04] Production.INFO: ==8127== Releasing lock...
[2025-01-10 04:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 04:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 04:07:04] Production.ERROR: CronJobId end 12
[2025-01-10 04:07:04] Production.INFO: ==8123== Releasing lock...
[2025-01-10 04:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 04:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 04:07:04] Production.ERROR: done
[2025-01-10 04:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 01:07:05
[end_date_ymd] => 2025-01-10 04:07:05
[RateCDR] => 1
)
[2025-01-10 04:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 01:07:05' and `end` < '2025-01-10 04:07:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 04:07:10] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#11 [internal function]: App\Console\Commands\NeonAlerts->fire()
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,8))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#2 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#6 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#7 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#8 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#9 [internal function]: App\Console\Commands\NeonAlerts->fire()
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 {main}
[2025-01-10 04:07:10] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 04:07:10] Production.INFO: ============== Balance Warning START===========
[2025-01-10 04:07:10] Production.INFO: ============== Balance Warning END===========
[2025-01-10 04:07:10] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 04:07:10] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 04:07:10] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 04:07:10] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 04:07:10] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 04:07:10] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 04:07:10] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 04:07:10] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 04:07:10] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 04:07:10] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 04:07:10] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 04:07:10] Production.INFO: call_cost start
[2025-01-10 04:07:10] Production.INFO: call_cost end
[2025-01-10 04:07:10] Production.ERROR: CronJobId end10
[2025-01-10 04:07:10] Production.INFO: ==8121== Releasing lock...
[2025-01-10 04:07:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 04:07:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 04:07:11] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 04:07:11] Production.INFO: ============== Report Schedule START===========
[2025-01-10 04:07:11] Production.INFO: ============== Report Schedule END===========
[2025-01-10 04:07:11] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 04:07:11] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 04:07:11] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 04:07:11] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 04:07:11] Production.INFO: ============== Deal alert START===========
[2025-01-10 04:07:11] Production.INFO: ============== Deal alert END===========
[2025-01-10 04:07:11] Production.INFO: ==8117== Releasing lock...
[2025-01-10 04:07:11] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 04:07:11] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 04:07:18] Production.INFO: count ==138
[2025-01-10 04:07:18] Production.ERROR: pbx CDR StartTime 2025-01-10 01:07:05 - End Time 2025-01-10 04:07:05
[2025-01-10 04:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 04:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214362', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214362', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214362', 'tblTempVendorCDR_20' ) start
[2025-01-10 04:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214362', 'tblTempVendorCDR_20' ) end
[2025-01-10 04:07:18] Production.INFO: ProcessCDR(1,14214362,1,1,2)
[2025-01-10 04:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214362,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214362,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214362,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214362,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214362', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214362', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:07:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:07:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:07:21] Production.INFO: ==8125== Releasing lock...
[2025-01-10 04:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 04:07:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:08:01] Production.INFO: ==8180== Lock acquired, processing the job...
[2025-01-10 09:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 09:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 09:08:01] Production.INFO: neon service started
[2025-01-10 09:08:01] Production.INFO: neon service started
[2025-01-10 09:08:01] Production.INFO: ==8180== Releasing lock...
[2025-01-10 09:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 09:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 04:08:01] Production.INFO: ==8182== Lock acquired, processing the job...
[2025-01-10 04:08:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 04:08:02] Production.INFO: ==8182== Releasing lock...
[2025-01-10 04:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 04:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 09:08:02] Production.INFO: ==8184== Lock acquired, processing the job...
[2025-01-10 09:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 09:08:02] Production.INFO: ==8184== Releasing lock...
[2025-01-10 09:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 09:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 04:08:02] Production.INFO: ==8187== Lock acquired, processing the job...
[2025-01-10 04:08:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 04:08:02] Production.INFO: ==8193== Lock acquired, processing the job...
[2025-01-10 04:08:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 04:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 04:08:03] Production.INFO: Account Balance Start.
[2025-01-10 04:08:03] Production.INFO: CreateAllLog Start
[2025-01-10 04:08:03] Production.INFO: 117
[2025-01-10 04:08:03] Production.INFO: ==8197== Lock acquired, processing the job...
[2025-01-10 04:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 04:08:03] Production.INFO: Date 2025-01-08
[2025-01-10 04:08:03] Production.INFO: ==8189== Lock acquired, processing the job...
[2025-01-10 04:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 04:08:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:08:03] Production.INFO: ==8191== Lock acquired, processing the job...
[2025-01-10 04:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 04:08:03] Production.INFO: Date 2025-01-09
[2025-01-10 04:08:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:08:03] Production.INFO: Date 2025-01-10
[2025-01-10 04:08:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:08:03] Production.INFO: Total Charge 0
[2025-01-10 04:08:03] Production.INFO: ==8195== Lock acquired, processing the job...
[2025-01-10 04:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 04:08:03] Production.INFO: CreateAllLog End
[2025-01-10 04:08:03] Production.INFO: count ==21
[2025-01-10 04:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 04:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 04:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 04:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 04:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:08:03] Production.INFO: count ==21
[2025-01-10 04:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214365') start
[2025-01-10 04:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:08:03] Production.INFO: Account Balance End.
[2025-01-10 04:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214365') end
[2025-01-10 04:08:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 04:08:03] Production.INFO: 1
[2025-01-10 04:08:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 04:08:03] Production.ERROR: CronJobId end 12
[2025-01-10 04:08:03] Production.INFO: ==8193== Releasing lock...
[2025-01-10 04:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 04:08:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 04:08:03] Production.INFO: ==8197== Releasing lock...
[2025-01-10 04:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 04:08:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 04:08:03] Production.INFO: ==8189== Releasing lock...
[2025-01-10 04:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 04:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 04:08:03] Production.ERROR: done
[2025-01-10 04:08:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 04:08:03] Production.ERROR: done
[2025-01-10 04:08:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 01:08:04
[end_date_ymd] => 2025-01-10 04:08:04
[RateCDR] => 1
)
[2025-01-10 04:08:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 01:08:04' and `end` < '2025-01-10 04:08:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 04:08:10] Production.ERROR: CronJobId end10
[2025-01-10 04:08:10] Production.INFO: ==8191== Releasing lock...
[2025-01-10 04:08:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 04:08:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 04:08:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 04:08:11] Production.INFO: ============== Balance Warning START===========
[2025-01-10 04:08:11] Production.INFO: ============== Balance Warning END===========
[2025-01-10 04:08:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 04:08:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 04:08:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 04:08:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 04:08:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 04:08:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 04:08:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 04:08:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 04:08:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 04:08:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 04:08:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 04:08:12] Production.INFO: call_cost start
[2025-01-10 04:08:12] Production.INFO: call_cost end
[2025-01-10 04:08:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 04:08:12] Production.INFO: ============== Report Schedule START===========
[2025-01-10 04:08:12] Production.INFO: ============== Report Schedule END===========
[2025-01-10 04:08:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 04:08:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 04:08:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 04:08:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 04:08:12] Production.INFO: ============== Deal alert START===========
[2025-01-10 04:08:12] Production.INFO: ============== Deal alert END===========
[2025-01-10 04:08:12] Production.INFO: ==8187== Releasing lock...
[2025-01-10 04:08:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 04:08:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 04:08:18] Production.INFO: count ==138
[2025-01-10 04:08:18] Production.ERROR: pbx CDR StartTime 2025-01-10 01:08:04 - End Time 2025-01-10 04:08:04
[2025-01-10 04:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 04:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214367', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214367', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214367', 'tblTempVendorCDR_20' ) start
[2025-01-10 04:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214367', 'tblTempVendorCDR_20' ) end
[2025-01-10 04:08:18] Production.INFO: ProcessCDR(1,14214367,1,1,2)
[2025-01-10 04:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214367,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214367,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214367,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214367,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214367', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214367', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:08:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:08:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:08:21] Production.INFO: ==8195== Releasing lock...
[2025-01-10 04:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 04:08:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:09:01] Production.INFO: ==8251== Lock acquired, processing the job...
[2025-01-10 09:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 09:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 09:09:01] Production.INFO: neon service started
[2025-01-10 09:09:01] Production.INFO: neon service started
[2025-01-10 09:09:01] Production.INFO: ==8251== Releasing lock...
[2025-01-10 09:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 09:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 04:09:02] Production.INFO: ==8253== Lock acquired, processing the job...
[2025-01-10 04:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 04:09:02] Production.INFO: ==8253== Releasing lock...
[2025-01-10 04:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 04:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 09:09:02] Production.INFO: ==8255== Lock acquired, processing the job...
[2025-01-10 09:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 09:09:02] Production.INFO: ==8255== Releasing lock...
[2025-01-10 09:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 09:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 04:09:03] Production.INFO: ==8261== Lock acquired, processing the job...
[2025-01-10 04:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 04:09:03] Production.INFO: ==8263== Lock acquired, processing the job...
[2025-01-10 04:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 04:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 04:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 04:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 04:09:03] Production.INFO: Account Balance Start.
[2025-01-10 04:09:03] Production.INFO: CreateAllLog Start
[2025-01-10 04:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 04:09:03] Production.INFO: 117
[2025-01-10 04:09:03] Production.INFO: Date 2025-01-08
[2025-01-10 04:09:03] Production.INFO: ==8257== Lock acquired, processing the job...
[2025-01-10 04:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 04:09:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:09:03] Production.INFO: Date 2025-01-09
[2025-01-10 04:09:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:09:03] Production.INFO: ==8259== Lock acquired, processing the job...
[2025-01-10 04:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 04:09:03] Production.INFO: Date 2025-01-10
[2025-01-10 04:09:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:09:03] Production.INFO: Total Charge 0
[2025-01-10 04:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 04:09:03] Production.INFO: ==8265== Lock acquired, processing the job...
[2025-01-10 04:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 04:09:03] Production.INFO: CreateAllLog End
[2025-01-10 04:09:03] Production.INFO: ==8267== Lock acquired, processing the job...
[2025-01-10 04:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 04:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:09:03] Production.INFO: count ==21
[2025-01-10 04:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:09:03] Production.INFO: count ==21
[2025-01-10 04:09:03] Production.INFO: ==8259== Releasing lock...
[2025-01-10 04:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 04:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 04:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214371') start
[2025-01-10 04:09:03] Production.INFO: Account Balance End.
[2025-01-10 04:09:03] Production.ERROR: done
[2025-01-10 04:09:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 04:09:03] Production.ERROR: CronJobId end 12
[2025-01-10 04:09:03] Production.INFO: ==8263== Releasing lock...
[2025-01-10 04:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 04:09:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 04:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214371') end
[2025-01-10 04:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 04:09:03] Production.INFO: 1
[2025-01-10 04:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 04:09:04] Production.INFO: ==8267== Releasing lock...
[2025-01-10 04:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 04:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 04:09:04] Production.ERROR: done
[2025-01-10 04:09:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 01:09:04
[end_date_ymd] => 2025-01-10 04:09:04
[RateCDR] => 1
)
[2025-01-10 04:09:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 01:09:04' and `end` < '2025-01-10 04:09:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 04:09:10] Production.ERROR: CronJobId end10
[2025-01-10 04:09:10] Production.INFO: ==8261== Releasing lock...
[2025-01-10 04:09:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 04:09:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 04:09:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 04:09:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 04:09:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 04:09:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 04:09:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 04:09:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 04:09:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 04:09:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 04:09:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 04:09:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 04:09:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 04:09:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 04:09:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 04:09:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 04:09:12] Production.INFO: call_cost start
[2025-01-10 04:09:12] Production.INFO: call_cost end
[2025-01-10 04:09:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 04:09:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 04:09:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 04:09:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 04:09:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 04:09:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 04:09:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 04:09:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 04:09:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 04:09:13] Production.INFO: ==8257== Releasing lock...
[2025-01-10 04:09:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 04:09:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 04:09:17] Production.INFO: count ==138
[2025-01-10 04:09:17] Production.ERROR: pbx CDR StartTime 2025-01-10 01:09:04 - End Time 2025-01-10 04:09:04
[2025-01-10 04:09:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 04:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214372', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214372', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214372', 'tblTempVendorCDR_20' ) start
[2025-01-10 04:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214372', 'tblTempVendorCDR_20' ) end
[2025-01-10 04:09:17] Production.INFO: ProcessCDR(1,14214372,1,1,2)
[2025-01-10 04:09:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214372,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:09:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214372,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:09:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214372,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:09:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214372,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:09:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214372', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:09:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214372', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:09:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:09:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:09:20] Production.INFO: ==8265== Releasing lock...
[2025-01-10 04:09:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 04:09:20] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:10:02] Production.INFO: ==8321== Lock acquired, processing the job...
[2025-01-10 09:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 09:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 09:10:02] Production.INFO: neon service started
[2025-01-10 09:10:02] Production.INFO: neon service started
[2025-01-10 09:10:02] Production.INFO: ==8321== Releasing lock...
[2025-01-10 09:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 09:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 04:10:02] Production.INFO: ==8323== Lock acquired, processing the job...
[2025-01-10 04:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:10:02] Production.INFO: ==8325== Lock acquired, processing the job...
[2025-01-10 09:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 09:10:02] Production.INFO: ==8325== Releasing lock...
[2025-01-10 09:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 09:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 04:10:03] Production.INFO: ==8323== Releasing lock...
[2025-01-10 04:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 04:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 04:10:04] Production.INFO: ==8330== Lock acquired, processing the job...
[2025-01-10 04:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 04:10:04] Production.INFO: ==8332== Lock acquired, processing the job...
[2025-01-10 04:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 04:10:04] Production.INFO: ==8334== Lock acquired, processing the job...
[2025-01-10 04:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 04:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 04:10:04] Production.INFO: ==8328== Lock acquired, processing the job...
[2025-01-10 04:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 04:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 04:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 04:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 04:10:04] Production.INFO: ==8340== Lock acquired, processing the job...
[2025-01-10 04:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 04:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 04:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 04:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 04:10:04] Production.ERROR: CronJob PID - 8330
[2025-01-10 04:10:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-10 04:10:04] Production.ERROR: CronJob ID - 5
[2025-01-10 04:10:04] Production.ERROR: CronJob Last Run Time 2025-01-10 04:10:00
[2025-01-10 04:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 04:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 04:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 04:10:04] Production.ERROR: CronJob PID - 8332
[2025-01-10 04:10:04] Production.ERROR: CronJob Title - Account Block
[2025-01-10 04:10:04] Production.ERROR: CronJob ID - 7
[2025-01-10 04:10:04] Production.ERROR: CronJob Last Run Time 2025-01-10 04:10:00
[2025-01-10 04:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 04:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 04:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 04:10:04] Production.ERROR: CronJob PID - 8334
[2025-01-10 04:10:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-10 04:10:04] Production.ERROR: CronJob ID - 10
[2025-01-10 04:10:04] Production.ERROR: CronJob Last Run Time 2025-01-10 04:10:00
[2025-01-10 04:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 04:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 04:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 04:10:04] Production.ERROR: CronJob PID - 8340
[2025-01-10 04:10:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-10 04:10:04] Production.ERROR: CronJob ID - 17
[2025-01-10 04:10:04] Production.ERROR: CronJob Last Run Time 2025-01-10 04:10:00
[2025-01-10 04:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 04:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 04:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 04:10:04] Production.INFO: ==8328== Releasing lock...
[2025-01-10 04:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 04:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 04:10:04] Production.INFO: ==8336== Lock acquired, processing the job...
[2025-01-10 04:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 04:10:04] Production.INFO: ==8338== Lock acquired, processing the job...
[2025-01-10 04:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 04:10:04] Production.INFO: ==8342== Lock acquired, processing the job...
[2025-01-10 04:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 04:10:04] Production.INFO: ==8332== Releasing lock...
[2025-01-10 04:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 04:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 04:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:10:04] Production.INFO: Account Balance Start.
[2025-01-10 04:10:04] Production.INFO: CreateAllLog Start
[2025-01-10 04:10:04] Production.INFO: 117
[2025-01-10 04:10:04] Production.INFO: Date 2025-01-08
[2025-01-10 04:10:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:10:04] Production.ERROR: done
[2025-01-10 04:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:10:04] Production.INFO: Date 2025-01-09
[2025-01-10 04:10:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:10:04] Production.INFO: count ==21
[2025-01-10 04:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 04:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14214377', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 04:10:05] Production.ERROR: done
[2025-01-10 04:10:05] Production.INFO: Date 2025-01-10
[2025-01-10 04:10:05] Production.INFO: Reseller ==> 0
[2025-01-10 04:10:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 04:10:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:10:05] Production.INFO: count ==21
[2025-01-10 04:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14214376') start
[2025-01-10 04:10:05] Production.INFO: Total Charge 0
[2025-01-10 04:10:05] Production.INFO: CreateAllLog End
[2025-01-10 04:10:05] Production.ERROR: done
[2025-01-10 04:10:05] Production.INFO: Account Balance End.
[2025-01-10 04:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14214376') end
[2025-01-10 04:10:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 04:10:05] Production.INFO: 1
[2025-01-10 04:10:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 04:10:05] Production.ERROR: CronJobId end 12
[2025-01-10 04:10:05] Production.INFO: ==8336== Releasing lock...
[2025-01-10 04:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 04:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 04:10:05] Production.INFO: ==8342== Releasing lock...
[2025-01-10 04:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 04:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 04:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 01:10:06
[end_date_ymd] => 2025-01-10 04:10:06
[RateCDR] => 1
)
[2025-01-10 04:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 01:10:06' and `end` < '2025-01-10 04:10:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 04:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14214377', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 04:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 04:10:09] Production.INFO: ProcessCDR(1,14214377,1,1,2)
[2025-01-10 04:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14214377,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14214377,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:10:09] Production.INFO: ==8340== Releasing lock...
[2025-01-10 04:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 04:10:09] Production.INFO: 26 MB #Memory Used#
[2025-01-10 04:10:13] Production.ERROR: CronJobId end10
[2025-01-10 04:10:13] Production.INFO: ==8334== Releasing lock...
[2025-01-10 04:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 04:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 04:10:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 04:10:15] Production.INFO: ============== Balance Warning START===========
[2025-01-10 04:10:15] Production.INFO: ============== Balance Warning END===========
[2025-01-10 04:10:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 04:10:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 04:10:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 04:10:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 04:10:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 04:10:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 04:10:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 04:10:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 04:10:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 04:10:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 04:10:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 04:10:16] Production.INFO: call_cost start
[2025-01-10 04:10:16] Production.INFO: call_cost end
[2025-01-10 04:10:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 04:10:16] Production.INFO: ============== Report Schedule START===========
[2025-01-10 04:10:16] Production.INFO: ============== Report Schedule END===========
[2025-01-10 04:10:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 04:10:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 04:10:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 04:10:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 04:10:16] Production.INFO: ============== Deal alert START===========
[2025-01-10 04:10:16] Production.INFO: ============== Deal alert END===========
[2025-01-10 04:10:16] Production.INFO: ==8330== Releasing lock...
[2025-01-10 04:10:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 04:10:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 04:10:19] Production.INFO: count ==132
[2025-01-10 04:10:19] Production.ERROR: pbx CDR StartTime 2025-01-10 01:10:06 - End Time 2025-01-10 04:10:06
[2025-01-10 04:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 04:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214378', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214378', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214378', 'tblTempVendorCDR_20' ) start
[2025-01-10 04:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214378', 'tblTempVendorCDR_20' ) end
[2025-01-10 04:10:19] Production.INFO: ProcessCDR(1,14214378,1,1,2)
[2025-01-10 04:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214378,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214378,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214378,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214378,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214378', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214378', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:10:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:10:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:10:22] Production.INFO: ==8338== Releasing lock...
[2025-01-10 04:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 04:10:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:11:01] Production.INFO: ==8434== Lock acquired, processing the job...
[2025-01-10 09:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 09:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 09:11:01] Production.INFO: neon service started
[2025-01-10 09:11:01] Production.INFO: neon service started
[2025-01-10 09:11:01] Production.INFO: ==8434== Releasing lock...
[2025-01-10 09:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 09:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 04:11:01] Production.INFO: ==8436== Lock acquired, processing the job...
[2025-01-10 04:11:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 04:11:02] Production.INFO: ==8436== Releasing lock...
[2025-01-10 04:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 04:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 09:11:02] Production.INFO: ==8438== Lock acquired, processing the job...
[2025-01-10 09:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 09:11:02] Production.INFO: ==8438== Releasing lock...
[2025-01-10 09:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 09:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 04:11:02] Production.INFO: ==8443== Lock acquired, processing the job...
[2025-01-10 04:11:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 04:11:03] Production.INFO: ==8445== Lock acquired, processing the job...
[2025-01-10 04:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 04:11:03] Production.INFO: ==8447== Lock acquired, processing the job...
[2025-01-10 04:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 04:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 04:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 04:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 04:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 04:11:03] Production.INFO: Account Balance Start.
[2025-01-10 04:11:03] Production.INFO: CreateAllLog Start
[2025-01-10 04:11:03] Production.INFO: 117
[2025-01-10 04:11:03] Production.INFO: Date 2025-01-08
[2025-01-10 04:11:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:11:03] Production.INFO: ==8443== Releasing lock...
[2025-01-10 04:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 04:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 04:11:03] Production.INFO: Date 2025-01-09
[2025-01-10 04:11:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:11:03] Production.INFO: Date 2025-01-10
[2025-01-10 04:11:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:11:03] Production.INFO: Total Charge 0
[2025-01-10 04:11:03] Production.INFO: ==8441== Lock acquired, processing the job...
[2025-01-10 04:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 04:11:03] Production.INFO: CreateAllLog End
[2025-01-10 04:11:03] Production.INFO: ==8449== Lock acquired, processing the job...
[2025-01-10 04:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 04:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 04:11:03] Production.INFO: ==8451== Lock acquired, processing the job...
[2025-01-10 04:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 04:11:03] Production.INFO: Account Balance End.
[2025-01-10 04:11:03] Production.ERROR: CronJobId end 12
[2025-01-10 04:11:03] Production.INFO: ==8447== Releasing lock...
[2025-01-10 04:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 04:11:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 04:11:03] Production.ERROR: done
[2025-01-10 04:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 04:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:11:03] Production.INFO: count ==21
[2025-01-10 04:11:03] Production.ERROR: done
[2025-01-10 04:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:11:03] Production.INFO: count ==21
[2025-01-10 04:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214382') start
[2025-01-10 04:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214382') end
[2025-01-10 04:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 04:11:03] Production.INFO: 1
[2025-01-10 04:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 04:11:04] Production.INFO: ==8451== Releasing lock...
[2025-01-10 04:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 04:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 04:11:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 01:11:04
[end_date_ymd] => 2025-01-10 04:11:04
[RateCDR] => 1
)
[2025-01-10 04:11:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 01:11:04' and `end` < '2025-01-10 04:11:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 04:11:10] Production.ERROR: CronJobId end10
[2025-01-10 04:11:10] Production.INFO: ==8445== Releasing lock...
[2025-01-10 04:11:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 04:11:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 04:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 04:11:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 04:11:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 04:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 04:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 04:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 04:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 04:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 04:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 04:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 04:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 04:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 04:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 04:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 04:11:13] Production.INFO: call_cost start
[2025-01-10 04:11:13] Production.INFO: call_cost end
[2025-01-10 04:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 04:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 04:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 04:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 04:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 04:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 04:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 04:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 04:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 04:11:14] Production.INFO: ==8441== Releasing lock...
[2025-01-10 04:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 04:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 04:11:19] Production.INFO: count ==132
[2025-01-10 04:11:19] Production.ERROR: pbx CDR StartTime 2025-01-10 01:11:04 - End Time 2025-01-10 04:11:04
[2025-01-10 04:11:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 04:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214383', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214383', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214383', 'tblTempVendorCDR_20' ) start
[2025-01-10 04:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214383', 'tblTempVendorCDR_20' ) end
[2025-01-10 04:11:19] Production.INFO: ProcessCDR(1,14214383,1,1,2)
[2025-01-10 04:11:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214383,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:11:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214383,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:11:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214383,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:11:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214383,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214383', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214383', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:11:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:11:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:11:22] Production.INFO: ==8449== Releasing lock...
[2025-01-10 04:11:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 04:11:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:12:02] Production.INFO: ==8505== Lock acquired, processing the job...
[2025-01-10 09:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 09:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 09:12:02] Production.INFO: neon service started
[2025-01-10 09:12:02] Production.INFO: neon service started
[2025-01-10 09:12:02] Production.INFO: ==8505== Releasing lock...
[2025-01-10 09:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 09:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 04:12:02] Production.INFO: ==8507== Lock acquired, processing the job...
[2025-01-10 04:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:12:02] Production.INFO: ==8509== Lock acquired, processing the job...
[2025-01-10 09:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 09:12:02] Production.INFO: ==8509== Releasing lock...
[2025-01-10 09:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 09:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 04:12:03] Production.INFO: ==8507== Releasing lock...
[2025-01-10 04:12:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 04:12:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 04:12:03] Production.INFO: ==8512== Lock acquired, processing the job...
[2025-01-10 04:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 04:12:03] Production.INFO: ==8514== Lock acquired, processing the job...
[2025-01-10 04:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 04:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 04:12:03] Production.INFO: ==8518== Lock acquired, processing the job...
[2025-01-10 04:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 04:12:04] Production.INFO: ==8514== Releasing lock...
[2025-01-10 04:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 04:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 04:12:04] Production.INFO: Account Balance Start.
[2025-01-10 04:12:04] Production.INFO: CreateAllLog Start
[2025-01-10 04:12:04] Production.INFO: 117
[2025-01-10 04:12:04] Production.INFO: Date 2025-01-08
[2025-01-10 04:12:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:12:04] Production.INFO: Date 2025-01-09
[2025-01-10 04:12:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:12:04] Production.INFO: ==8516== Lock acquired, processing the job...
[2025-01-10 04:12:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 04:12:04] Production.INFO: Date 2025-01-10
[2025-01-10 04:12:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:12:04] Production.INFO: Total Charge 0
[2025-01-10 04:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 04:12:04] Production.INFO: CreateAllLog End
[2025-01-10 04:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 04:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 04:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 04:12:04] Production.INFO: Account Balance End.
[2025-01-10 04:12:04] Production.INFO: ==8520== Lock acquired, processing the job...
[2025-01-10 04:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 04:12:04] Production.ERROR: CronJobId end 12
[2025-01-10 04:12:04] Production.INFO: ==8518== Releasing lock...
[2025-01-10 04:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 04:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 04:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:12:04] Production.INFO: ==8522== Lock acquired, processing the job...
[2025-01-10 04:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 04:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:12:04] Production.ERROR: done
[2025-01-10 04:12:04] Production.INFO: count ==21
[2025-01-10 04:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 04:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:12:04] Production.INFO: count ==21
[2025-01-10 04:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214387') start
[2025-01-10 04:12:04] Production.ERROR: done
[2025-01-10 04:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214387') end
[2025-01-10 04:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 04:12:04] Production.INFO: 1
[2025-01-10 04:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 04:12:05] Production.INFO: ==8522== Releasing lock...
[2025-01-10 04:12:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 04:12:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 04:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 01:12:05
[end_date_ymd] => 2025-01-10 04:12:05
[RateCDR] => 1
)
[2025-01-10 04:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 01:12:05' and `end` < '2025-01-10 04:12:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 04:12:12] Production.ERROR: CronJobId end10
[2025-01-10 04:12:12] Production.INFO: ==8516== Releasing lock...
[2025-01-10 04:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 04:12:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 04:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 04:12:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 04:12:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 04:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 04:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 04:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 04:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 04:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 04:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 04:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 04:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 04:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 04:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 04:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 04:12:13] Production.INFO: call_cost start
[2025-01-10 04:12:13] Production.INFO: call_cost end
[2025-01-10 04:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 04:12:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 04:12:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 04:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 04:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 04:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 04:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 04:12:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 04:12:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 04:12:14] Production.INFO: ==8512== Releasing lock...
[2025-01-10 04:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 04:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 04:12:19] Production.INFO: count ==132
[2025-01-10 04:12:19] Production.ERROR: pbx CDR StartTime 2025-01-10 01:12:05 - End Time 2025-01-10 04:12:05
[2025-01-10 04:12:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 04:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214388', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214388', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214388', 'tblTempVendorCDR_20' ) start
[2025-01-10 04:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214388', 'tblTempVendorCDR_20' ) end
[2025-01-10 04:12:19] Production.INFO: ProcessCDR(1,14214388,1,1,2)
[2025-01-10 04:12:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214388,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:12:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214388,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:12:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214388,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:12:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214388,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:12:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214388', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:12:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214388', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:12:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:12:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:12:23] Production.INFO: ==8520== Releasing lock...
[2025-01-10 04:12:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 04:12:23] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:13:01] Production.INFO: ==8587== Lock acquired, processing the job...
[2025-01-10 09:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 09:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 09:13:01] Production.INFO: neon service started
[2025-01-10 09:13:01] Production.INFO: neon service started
[2025-01-10 09:13:01] Production.INFO: ==8587== Releasing lock...
[2025-01-10 09:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 09:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 09:13:01] Production.INFO: ==8591== Lock acquired, processing the job...
[2025-01-10 09:13:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 09:13:01] Production.INFO: ==8591== Releasing lock...
[2025-01-10 09:13:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 09:13:01] Production.INFO: 25 MB #Memory Used#
[2025-01-10 04:13:02] Production.INFO: ==8589== Lock acquired, processing the job...
[2025-01-10 04:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 04:13:02] Production.INFO: ==8589== Releasing lock...
[2025-01-10 04:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 04:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 04:13:03] Production.INFO: ==8593== Lock acquired, processing the job...
[2025-01-10 04:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 04:13:03] Production.INFO: ==8595== Lock acquired, processing the job...
[2025-01-10 04:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 04:13:03] Production.INFO: ==8597== Lock acquired, processing the job...
[2025-01-10 04:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 04:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 04:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 04:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 04:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 04:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 04:13:03] Production.INFO: ==8595== Releasing lock...
[2025-01-10 04:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 04:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 04:13:03] Production.INFO: ==8599== Lock acquired, processing the job...
[2025-01-10 04:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 04:13:03] Production.INFO: ==8602== Lock acquired, processing the job...
[2025-01-10 04:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 04:13:03] Production.INFO: ==8604== Lock acquired, processing the job...
[2025-01-10 04:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 04:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:13:03] Production.INFO: Account Balance Start.
[2025-01-10 04:13:03] Production.INFO: CreateAllLog Start
[2025-01-10 04:13:03] Production.INFO: 117
[2025-01-10 04:13:03] Production.INFO: Date 2025-01-08
[2025-01-10 04:13:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:13:03] Production.INFO: count ==21
[2025-01-10 04:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:13:03] Production.INFO: count ==21
[2025-01-10 04:13:03] Production.INFO: Date 2025-01-09
[2025-01-10 04:13:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214392') start
[2025-01-10 04:13:03] Production.INFO: Date 2025-01-10
[2025-01-10 04:13:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:13:03] Production.INFO: Total Charge 0
[2025-01-10 04:13:03] Production.ERROR: done
[2025-01-10 04:13:03] Production.INFO: CreateAllLog End
[2025-01-10 04:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214392') end
[2025-01-10 04:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 04:13:03] Production.INFO: 1
[2025-01-10 04:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 04:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 04:13:04] Production.INFO: ==8604== Releasing lock...
[2025-01-10 04:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 04:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 04:13:04] Production.ERROR: done
[2025-01-10 04:13:04] Production.INFO: Account Balance End.
[2025-01-10 04:13:04] Production.ERROR: CronJobId end 12
[2025-01-10 04:13:04] Production.INFO: ==8599== Releasing lock...
[2025-01-10 04:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 04:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 04:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 01:13:04
[end_date_ymd] => 2025-01-10 04:13:04
[RateCDR] => 1
)
[2025-01-10 04:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 01:13:04' and `end` < '2025-01-10 04:13:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 04:13:11] Production.ERROR: CronJobId end10
[2025-01-10 04:13:11] Production.INFO: ==8597== Releasing lock...
[2025-01-10 04:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 04:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 04:13:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 04:13:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 04:13:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 04:13:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 04:13:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 04:13:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 04:13:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 04:13:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 04:13:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 04:13:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 04:13:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 04:13:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 04:13:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 04:13:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 04:13:14] Production.INFO: call_cost start
[2025-01-10 04:13:14] Production.INFO: call_cost end
[2025-01-10 04:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 04:13:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 04:13:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 04:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 04:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 04:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 04:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 04:13:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 04:13:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 04:13:15] Production.INFO: ==8593== Releasing lock...
[2025-01-10 04:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 04:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 04:13:18] Production.INFO: count ==132
[2025-01-10 04:13:18] Production.ERROR: pbx CDR StartTime 2025-01-10 01:13:04 - End Time 2025-01-10 04:13:04
[2025-01-10 04:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 04:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214393', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214393', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214393', 'tblTempVendorCDR_20' ) start
[2025-01-10 04:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214393', 'tblTempVendorCDR_20' ) end
[2025-01-10 04:13:18] Production.INFO: ProcessCDR(1,14214393,1,1,2)
[2025-01-10 04:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214393,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214393,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214393,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214393,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214393', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214393', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:13:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:13:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:13:21] Production.INFO: ==8602== Releasing lock...
[2025-01-10 04:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 04:13:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:14:01] Production.INFO: ==8665== Lock acquired, processing the job...
[2025-01-10 09:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 09:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 09:14:01] Production.INFO: neon service started
[2025-01-10 09:14:02] Production.INFO: neon service started
[2025-01-10 09:14:02] Production.INFO: ==8665== Releasing lock...
[2025-01-10 09:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 09:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 04:14:02] Production.INFO: ==8667== Lock acquired, processing the job...
[2025-01-10 04:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:14:02] Production.INFO: ==8669== Lock acquired, processing the job...
[2025-01-10 09:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 09:14:02] Production.INFO: ==8669== Releasing lock...
[2025-01-10 09:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 09:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 04:14:02] Production.INFO: ==8667== Releasing lock...
[2025-01-10 04:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 04:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 04:14:03] Production.INFO: ==8672== Lock acquired, processing the job...
[2025-01-10 04:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 04:14:03] Production.INFO: ==8674== Lock acquired, processing the job...
[2025-01-10 04:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 04:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 04:14:03] Production.INFO: ==8678== Lock acquired, processing the job...
[2025-01-10 04:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 04:14:03] Production.INFO: ==8676== Lock acquired, processing the job...
[2025-01-10 04:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 04:14:03] Production.INFO: Account Balance Start.
[2025-01-10 04:14:03] Production.INFO: CreateAllLog Start
[2025-01-10 04:14:03] Production.INFO: 117
[2025-01-10 04:14:04] Production.INFO: Date 2025-01-08
[2025-01-10 04:14:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:14:04] Production.INFO: ==8682== Lock acquired, processing the job...
[2025-01-10 04:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 04:14:04] Production.INFO: Date 2025-01-09
[2025-01-10 04:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 04:14:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 04:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 04:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 04:14:04] Production.INFO: Date 2025-01-10
[2025-01-10 04:14:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:14:04] Production.INFO: ==8674== Releasing lock...
[2025-01-10 04:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 04:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 04:14:04] Production.INFO: Total Charge 0
[2025-01-10 04:14:04] Production.INFO: ==8680== Lock acquired, processing the job...
[2025-01-10 04:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 04:14:04] Production.INFO: CreateAllLog End
[2025-01-10 04:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:14:04] Production.INFO: count ==21
[2025-01-10 04:14:04] Production.INFO: Account Balance End.
[2025-01-10 04:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:14:04] Production.INFO: count ==21
[2025-01-10 04:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214397') start
[2025-01-10 04:14:04] Production.ERROR: CronJobId end 12
[2025-01-10 04:14:04] Production.INFO: ==8678== Releasing lock...
[2025-01-10 04:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 04:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 04:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214397') end
[2025-01-10 04:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 04:14:04] Production.INFO: 1
[2025-01-10 04:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 04:14:04] Production.INFO: ==8682== Releasing lock...
[2025-01-10 04:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 04:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 04:14:04] Production.ERROR: done
[2025-01-10 04:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 04:14:04] Production.ERROR: done
[2025-01-10 04:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 01:14:05
[end_date_ymd] => 2025-01-10 04:14:05
[RateCDR] => 1
)
[2025-01-10 04:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 01:14:05' and `end` < '2025-01-10 04:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 04:14:10] Production.ERROR: CronJobId end10
[2025-01-10 04:14:10] Production.INFO: ==8676== Releasing lock...
[2025-01-10 04:14:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 04:14:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 04:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 04:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 04:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 04:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 04:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 04:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 04:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 04:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 04:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 04:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 04:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 04:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 04:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 04:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 04:14:13] Production.INFO: call_cost start
[2025-01-10 04:14:13] Production.INFO: call_cost end
[2025-01-10 04:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 04:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 04:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 04:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 04:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 04:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 04:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 04:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 04:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 04:14:14] Production.INFO: ==8672== Releasing lock...
[2025-01-10 04:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 04:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 04:14:19] Production.INFO: count ==132
[2025-01-10 04:14:19] Production.ERROR: pbx CDR StartTime 2025-01-10 01:14:05 - End Time 2025-01-10 04:14:05
[2025-01-10 04:14:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 04:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214398', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214398', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214398', 'tblTempVendorCDR_20' ) start
[2025-01-10 04:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214398', 'tblTempVendorCDR_20' ) end
[2025-01-10 04:14:19] Production.INFO: ProcessCDR(1,14214398,1,1,2)
[2025-01-10 04:14:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214398,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:14:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214398,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:14:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214398,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214398,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214398', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214398', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:14:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:14:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:14:22] Production.INFO: ==8680== Releasing lock...
[2025-01-10 04:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 04:14:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:15:01] Production.INFO: ==8756== Lock acquired, processing the job...
[2025-01-10 09:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 09:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 09:15:01] Production.INFO: neon service started
[2025-01-10 09:15:01] Production.INFO: neon service started
[2025-01-10 09:15:01] Production.INFO: ==8756== Releasing lock...
[2025-01-10 09:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 09:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 09:15:01] Production.INFO: ==8760== Lock acquired, processing the job...
[2025-01-10 09:15:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 09:15:01] Production.INFO: ==8760== Releasing lock...
[2025-01-10 09:15:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 09:15:01] Production.INFO: 25 MB #Memory Used#
[2025-01-10 04:15:01] Production.INFO: ==8758== Lock acquired, processing the job...
[2025-01-10 04:15:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 04:15:02] Production.INFO: ==8758== Releasing lock...
[2025-01-10 04:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 04:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 04:15:02] Production.INFO: ==8765== Lock acquired, processing the job...
[2025-01-10 04:15:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 04:15:03] Production.INFO: ==8763== Lock acquired, processing the job...
[2025-01-10 04:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 04:15:03] Production.INFO: ==8773== Lock acquired, processing the job...
[2025-01-10 04:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 04:15:03] Production.INFO: ==8767== Lock acquired, processing the job...
[2025-01-10 04:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 04:15:03] Production.INFO: ==8765== Releasing lock...
[2025-01-10 04:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 04:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 04:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 04:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:15:03] Production.INFO: ==8771== Lock acquired, processing the job...
[2025-01-10 04:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 04:15:03] Production.INFO: ==8769== Lock acquired, processing the job...
[2025-01-10 04:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 04:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 04:15:03] Production.INFO: count ==21
[2025-01-10 04:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 04:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 04:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 04:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:15:03] Production.INFO: count ==21
[2025-01-10 04:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214400') start
[2025-01-10 04:15:03] Production.INFO: Account Balance Start.
[2025-01-10 04:15:03] Production.INFO: CreateAllLog Start
[2025-01-10 04:15:03] Production.INFO: 117
[2025-01-10 04:15:03] Production.INFO: Date 2025-01-08
[2025-01-10 04:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:15:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214400') end
[2025-01-10 04:15:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 04:15:03] Production.INFO: 1
[2025-01-10 04:15:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 04:15:03] Production.INFO: Date 2025-01-09
[2025-01-10 04:15:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:15:03] Production.INFO: Date 2025-01-10
[2025-01-10 04:15:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:15:03] Production.INFO: Total Charge 0
[2025-01-10 04:15:03] Production.INFO: CreateAllLog End
[2025-01-10 04:15:03] Production.INFO: ==8773== Releasing lock...
[2025-01-10 04:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 04:15:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 04:15:03] Production.INFO: Account Balance End.
[2025-01-10 04:15:03] Production.ERROR: CronJobId end 12
[2025-01-10 04:15:03] Production.INFO: ==8769== Releasing lock...
[2025-01-10 04:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 04:15:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 04:15:03] Production.ERROR: done
[2025-01-10 04:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 04:15:04] Production.ERROR: done
[2025-01-10 04:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 01:15:05
[end_date_ymd] => 2025-01-10 04:15:05
[RateCDR] => 1
)
[2025-01-10 04:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 01:15:05' and `end` < '2025-01-10 04:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 04:15:11] Production.ERROR: CronJobId end10
[2025-01-10 04:15:11] Production.INFO: ==8767== Releasing lock...
[2025-01-10 04:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 04:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 04:15:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 04:15:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 04:15:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 04:15:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 04:15:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 04:15:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 04:15:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 04:15:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 04:15:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 04:15:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 04:15:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 04:15:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 04:15:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 04:15:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 04:15:12] Production.INFO: call_cost start
[2025-01-10 04:15:12] Production.INFO: call_cost end
[2025-01-10 04:15:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 04:15:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 04:15:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 04:15:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 04:15:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 04:15:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 04:15:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 04:15:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 04:15:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 04:15:13] Production.INFO: ==8763== Releasing lock...
[2025-01-10 04:15:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 04:15:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 04:15:18] Production.INFO: count ==132
[2025-01-10 04:15:18] Production.ERROR: pbx CDR StartTime 2025-01-10 01:15:05 - End Time 2025-01-10 04:15:05
[2025-01-10 04:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 04:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214403', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214403', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214403', 'tblTempVendorCDR_20' ) start
[2025-01-10 04:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214403', 'tblTempVendorCDR_20' ) end
[2025-01-10 04:15:18] Production.INFO: ProcessCDR(1,14214403,1,1,2)
[2025-01-10 04:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214403,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214403,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214403,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214403,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214403', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214403', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:15:21] Production.INFO: ==8771== Releasing lock...
[2025-01-10 04:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 04:15:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:16:01] Production.INFO: ==8838== Lock acquired, processing the job...
[2025-01-10 09:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 09:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 09:16:01] Production.INFO: neon service started
[2025-01-10 09:16:01] Production.INFO: neon service started
[2025-01-10 09:16:01] Production.INFO: ==8838== Releasing lock...
[2025-01-10 09:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 09:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 04:16:02] Production.INFO: ==8840== Lock acquired, processing the job...
[2025-01-10 04:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 04:16:02] Production.INFO: ==8840== Releasing lock...
[2025-01-10 04:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 04:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 09:16:02] Production.INFO: ==8842== Lock acquired, processing the job...
[2025-01-10 09:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 09:16:02] Production.INFO: ==8842== Releasing lock...
[2025-01-10 09:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 09:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 04:16:03] Production.INFO: ==8844== Lock acquired, processing the job...
[2025-01-10 04:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 04:16:03] Production.INFO: ==8846== Lock acquired, processing the job...
[2025-01-10 04:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 04:16:03] Production.INFO: ==8852== Lock acquired, processing the job...
[2025-01-10 04:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 04:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 04:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:16:03] Production.INFO: ==8848== Lock acquired, processing the job...
[2025-01-10 04:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 04:16:03] Production.INFO: ==8846== Releasing lock...
[2025-01-10 04:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 04:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 04:16:03] Production.INFO: ==8850== Lock acquired, processing the job...
[2025-01-10 04:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 04:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 04:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 04:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 04:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 04:16:03] Production.INFO: Account Balance Start.
[2025-01-10 04:16:03] Production.INFO: CreateAllLog Start
[2025-01-10 04:16:03] Production.INFO: 117
[2025-01-10 04:16:03] Production.INFO: Date 2025-01-08
[2025-01-10 04:16:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:16:03] Production.INFO: ==8854== Lock acquired, processing the job...
[2025-01-10 04:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 04:16:04] Production.ERROR: done
[2025-01-10 04:16:04] Production.INFO: Date 2025-01-09
[2025-01-10 04:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 04:16:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:16:04] Production.INFO: count ==21
[2025-01-10 04:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:16:04] Production.INFO: Date 2025-01-10
[2025-01-10 04:16:04] Production.INFO: count ==21
[2025-01-10 04:16:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:16:04] Production.ERROR: done
[2025-01-10 04:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214407') start
[2025-01-10 04:16:04] Production.INFO: Total Charge 0
[2025-01-10 04:16:04] Production.INFO: CreateAllLog End
[2025-01-10 04:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214407') end
[2025-01-10 04:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 04:16:04] Production.INFO: 1
[2025-01-10 04:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 04:16:04] Production.INFO: Account Balance End.
[2025-01-10 04:16:04] Production.INFO: ==8854== Releasing lock...
[2025-01-10 04:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 04:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 04:16:04] Production.ERROR: CronJobId end 12
[2025-01-10 04:16:04] Production.INFO: ==8850== Releasing lock...
[2025-01-10 04:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 04:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 04:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 01:16:05
[end_date_ymd] => 2025-01-10 04:16:05
[RateCDR] => 1
)
[2025-01-10 04:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 01:16:05' and `end` < '2025-01-10 04:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 04:16:10] Production.ERROR: CronJobId end10
[2025-01-10 04:16:10] Production.INFO: ==8848== Releasing lock...
[2025-01-10 04:16:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 04:16:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 04:16:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 04:16:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 04:16:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 04:16:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 04:16:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 04:16:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 04:16:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 04:16:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 04:16:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 04:16:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 04:16:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 04:16:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 04:16:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 04:16:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 04:16:12] Production.INFO: call_cost start
[2025-01-10 04:16:12] Production.INFO: call_cost end
[2025-01-10 04:16:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 04:16:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 04:16:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 04:16:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 04:16:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 04:16:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 04:16:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 04:16:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 04:16:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 04:16:13] Production.INFO: ==8844== Releasing lock...
[2025-01-10 04:16:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 04:16:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 04:16:20] Production.INFO: count ==132
[2025-01-10 04:16:20] Production.ERROR: pbx CDR StartTime 2025-01-10 01:16:05 - End Time 2025-01-10 04:16:05
[2025-01-10 04:16:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 04:16:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214408', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:16:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214408', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:16:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214408', 'tblTempVendorCDR_20' ) start
[2025-01-10 04:16:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214408', 'tblTempVendorCDR_20' ) end
[2025-01-10 04:16:20] Production.INFO: ProcessCDR(1,14214408,1,1,2)
[2025-01-10 04:16:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214408,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:16:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214408,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:16:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214408,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:16:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214408,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214408', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214408', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:16:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:16:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:16:23] Production.INFO: ==8852== Releasing lock...
[2025-01-10 04:16:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 04:16:23] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:17:02] Production.INFO: ==8908== Lock acquired, processing the job...
[2025-01-10 09:17:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 09:17:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 09:17:02] Production.INFO: neon service started
[2025-01-10 09:17:02] Production.INFO: neon service started
[2025-01-10 09:17:02] Production.INFO: ==8908== Releasing lock...
[2025-01-10 09:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 09:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 04:17:02] Production.INFO: ==8910== Lock acquired, processing the job...
[2025-01-10 04:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 04:17:03] Production.INFO: ==8910== Releasing lock...
[2025-01-10 04:17:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 04:17:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 09:17:03] Production.INFO: ==8912== Lock acquired, processing the job...
[2025-01-10 09:17:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 09:17:03] Production.INFO: ==8912== Releasing lock...
[2025-01-10 09:17:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 09:17:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 04:17:03] Production.INFO: ==8917== Lock acquired, processing the job...
[2025-01-10 04:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 04:17:04] Production.INFO: ==8925== Lock acquired, processing the job...
[2025-01-10 04:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 04:17:04] Production.INFO: ==8914== Lock acquired, processing the job...
[2025-01-10 04:17:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 04:17:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:17:04] Production.INFO: ==8919== Lock acquired, processing the job...
[2025-01-10 04:17:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 04:17:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 04:17:04] Production.INFO: ==8917== Releasing lock...
[2025-01-10 04:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 04:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 04:17:04] Production.INFO: ==8921== Lock acquired, processing the job...
[2025-01-10 04:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 04:17:04] Production.INFO: count ==21
[2025-01-10 04:17:04] Production.INFO: ==8923== Lock acquired, processing the job...
[2025-01-10 04:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 04:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:17:04] Production.INFO: count ==21
[2025-01-10 04:17:04] Production.INFO: Account Balance Start.
[2025-01-10 04:17:04] Production.INFO: CreateAllLog Start
[2025-01-10 04:17:04] Production.INFO: 117
[2025-01-10 04:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214410') start
[2025-01-10 04:17:04] Production.INFO: Date 2025-01-08
[2025-01-10 04:17:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:17:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 04:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 04:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 04:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 04:17:04] Production.INFO: Date 2025-01-09
[2025-01-10 04:17:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:17:04] Production.INFO: Date 2025-01-10
[2025-01-10 04:17:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214410') end
[2025-01-10 04:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 04:17:04] Production.INFO: 1
[2025-01-10 04:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 04:17:04] Production.INFO: Total Charge 0
[2025-01-10 04:17:04] Production.INFO: CreateAllLog End
[2025-01-10 04:17:04] Production.INFO: ==8925== Releasing lock...
[2025-01-10 04:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 04:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 04:17:04] Production.ERROR: done
[2025-01-10 04:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 04:17:04] Production.INFO: Account Balance End.
[2025-01-10 04:17:04] Production.ERROR: CronJobId end 12
[2025-01-10 04:17:04] Production.INFO: ==8921== Releasing lock...
[2025-01-10 04:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 04:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 04:17:04] Production.ERROR: done
[2025-01-10 04:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 01:17:05
[end_date_ymd] => 2025-01-10 04:17:05
[RateCDR] => 1
)
[2025-01-10 04:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 01:17:05' and `end` < '2025-01-10 04:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 04:17:11] Production.ERROR: CronJobId end10
[2025-01-10 04:17:11] Production.INFO: ==8919== Releasing lock...
[2025-01-10 04:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 04:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 04:17:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 04:17:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 04:17:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 04:17:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 04:17:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 04:17:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 04:17:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 04:17:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 04:17:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 04:17:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 04:17:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 04:17:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 04:17:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 04:17:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 04:17:14] Production.INFO: call_cost start
[2025-01-10 04:17:14] Production.INFO: call_cost end
[2025-01-10 04:17:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 04:17:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 04:17:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 04:17:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 04:17:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 04:17:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 04:17:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 04:17:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 04:17:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 04:17:14] Production.INFO: ==8914== Releasing lock...
[2025-01-10 04:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 04:17:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 04:17:20] Production.INFO: count ==132
[2025-01-10 04:17:20] Production.ERROR: pbx CDR StartTime 2025-01-10 01:17:05 - End Time 2025-01-10 04:17:05
[2025-01-10 04:17:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 04:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214413', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214413', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214413', 'tblTempVendorCDR_20' ) start
[2025-01-10 04:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214413', 'tblTempVendorCDR_20' ) end
[2025-01-10 04:17:20] Production.INFO: ProcessCDR(1,14214413,1,1,2)
[2025-01-10 04:17:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214413,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:17:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214413,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:17:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214413,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:17:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214413,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214413', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214413', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:17:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:17:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:17:23] Production.INFO: ==8923== Releasing lock...
[2025-01-10 04:17:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 04:17:23] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:18:02] Production.INFO: ==8991== Lock acquired, processing the job...
[2025-01-10 09:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 09:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 09:18:02] Production.INFO: neon service started
[2025-01-10 09:18:02] Production.INFO: neon service started
[2025-01-10 09:18:02] Production.INFO: ==8991== Releasing lock...
[2025-01-10 09:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 09:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 04:18:02] Production.INFO: ==8993== Lock acquired, processing the job...
[2025-01-10 04:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:18:02] Production.INFO: ==8995== Lock acquired, processing the job...
[2025-01-10 09:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 09:18:02] Production.INFO: ==8995== Releasing lock...
[2025-01-10 09:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 09:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 04:18:03] Production.INFO: ==8993== Releasing lock...
[2025-01-10 04:18:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 04:18:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 04:18:03] Production.INFO: ==8998== Lock acquired, processing the job...
[2025-01-10 04:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 04:18:03] Production.INFO: ==9000== Lock acquired, processing the job...
[2025-01-10 04:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 04:18:03] Production.INFO: ==9002== Lock acquired, processing the job...
[2025-01-10 04:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 04:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 04:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 04:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 04:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 04:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 04:18:04] Production.INFO: ==9000== Releasing lock...
[2025-01-10 04:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 04:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 04:18:04] Production.INFO: ==9004== Lock acquired, processing the job...
[2025-01-10 04:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 04:18:04] Production.INFO: ==9006== Lock acquired, processing the job...
[2025-01-10 04:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 04:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:18:04] Production.INFO: ==9008== Lock acquired, processing the job...
[2025-01-10 04:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 04:18:04] Production.INFO: Account Balance Start.
[2025-01-10 04:18:04] Production.INFO: CreateAllLog Start
[2025-01-10 04:18:04] Production.INFO: 117
[2025-01-10 04:18:04] Production.INFO: Date 2025-01-08
[2025-01-10 04:18:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:18:04] Production.INFO: Date 2025-01-09
[2025-01-10 04:18:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:18:04] Production.INFO: count ==21
[2025-01-10 04:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:18:04] Production.INFO: count ==21
[2025-01-10 04:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214417') start
[2025-01-10 04:18:04] Production.ERROR: done
[2025-01-10 04:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 04:18:04] Production.INFO: Date 2025-01-10
[2025-01-10 04:18:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214417') end
[2025-01-10 04:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 04:18:04] Production.INFO: 1
[2025-01-10 04:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 04:18:04] Production.INFO: ==9008== Releasing lock...
[2025-01-10 04:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 04:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 04:18:04] Production.ERROR: done
[2025-01-10 04:18:04] Production.INFO: Total Charge 0
[2025-01-10 04:18:05] Production.INFO: CreateAllLog End
[2025-01-10 04:18:05] Production.INFO: Account Balance End.
[2025-01-10 04:18:05] Production.ERROR: CronJobId end 12
[2025-01-10 04:18:05] Production.INFO: ==9004== Releasing lock...
[2025-01-10 04:18:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 04:18:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 04:18:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 01:18:06
[end_date_ymd] => 2025-01-10 04:18:06
[RateCDR] => 1
)
[2025-01-10 04:18:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 01:18:06' and `end` < '2025-01-10 04:18:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 04:18:10] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#11 [internal function]: App\Console\Commands\NeonAlerts->fire()
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,10))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#2 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#6 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#7 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#8 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#9 [internal function]: App\Console\Commands\NeonAlerts->fire()
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 {main}
[2025-01-10 04:18:10] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 04:18:10] Production.INFO: ============== Balance Warning START===========
[2025-01-10 04:18:10] Production.INFO: ============== Balance Warning END===========
[2025-01-10 04:18:10] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 04:18:10] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 04:18:10] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 04:18:10] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 04:18:10] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 04:18:10] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 04:18:10] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 04:18:10] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 04:18:10] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 04:18:10] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 04:18:10] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 04:18:10] Production.INFO: call_cost start
[2025-01-10 04:18:10] Production.INFO: call_cost end
[2025-01-10 04:18:11] Production.ERROR: CronJobId end10
[2025-01-10 04:18:11] Production.INFO: ==9002== Releasing lock...
[2025-01-10 04:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 04:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 04:18:11] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 04:18:11] Production.INFO: ============== Report Schedule START===========
[2025-01-10 04:18:11] Production.INFO: ============== Report Schedule END===========
[2025-01-10 04:18:11] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 04:18:11] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 04:18:11] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 04:18:11] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 04:18:11] Production.INFO: ============== Deal alert START===========
[2025-01-10 04:18:11] Production.INFO: ============== Deal alert END===========
[2025-01-10 04:18:11] Production.INFO: ==8998== Releasing lock...
[2025-01-10 04:18:11] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 04:18:11] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 04:18:20] Production.INFO: count ==132
[2025-01-10 04:18:20] Production.ERROR: pbx CDR StartTime 2025-01-10 01:18:06 - End Time 2025-01-10 04:18:06
[2025-01-10 04:18:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 04:18:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214418', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:18:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214418', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:18:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214418', 'tblTempVendorCDR_20' ) start
[2025-01-10 04:18:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214418', 'tblTempVendorCDR_20' ) end
[2025-01-10 04:18:20] Production.INFO: ProcessCDR(1,14214418,1,1,2)
[2025-01-10 04:18:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214418,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:18:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214418,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:18:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214418,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:18:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214418,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214418', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214418', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:18:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:18:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:18:23] Production.INFO: ==9006== Releasing lock...
[2025-01-10 04:18:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 04:18:23] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:19:01] Production.INFO: ==9061== Lock acquired, processing the job...
[2025-01-10 09:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 09:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 09:19:01] Production.INFO: neon service started
[2025-01-10 09:19:01] Production.INFO: neon service started
[2025-01-10 09:19:01] Production.INFO: ==9061== Releasing lock...
[2025-01-10 09:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 09:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 09:19:01] Production.INFO: ==9065== Lock acquired, processing the job...
[2025-01-10 09:19:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 09:19:01] Production.INFO: ==9065== Releasing lock...
[2025-01-10 09:19:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 09:19:01] Production.INFO: 25 MB #Memory Used#
[2025-01-10 04:19:01] Production.INFO: ==9063== Lock acquired, processing the job...
[2025-01-10 04:19:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 04:19:02] Production.INFO: ==9063== Releasing lock...
[2025-01-10 04:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 04:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 04:19:02] Production.INFO: ==9068== Lock acquired, processing the job...
[2025-01-10 04:19:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 04:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 04:19:03] Production.INFO: ==9078== Lock acquired, processing the job...
[2025-01-10 04:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 04:19:03] Production.INFO: ==9070== Lock acquired, processing the job...
[2025-01-10 04:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 04:19:03] Production.INFO: ==9072== Lock acquired, processing the job...
[2025-01-10 04:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 04:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:19:03] Production.INFO: ==9074== Lock acquired, processing the job...
[2025-01-10 04:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 04:19:03] Production.INFO: count ==21
[2025-01-10 04:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:19:03] Production.INFO: count ==21
[2025-01-10 04:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214420') start
[2025-01-10 04:19:03] Production.INFO: ==9076== Lock acquired, processing the job...
[2025-01-10 04:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 04:19:03] Production.INFO: Account Balance Start.
[2025-01-10 04:19:03] Production.INFO: CreateAllLog Start
[2025-01-10 04:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 04:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 04:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 04:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 04:19:03] Production.INFO: 117
[2025-01-10 04:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214420') end
[2025-01-10 04:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 04:19:03] Production.INFO: 1
[2025-01-10 04:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 04:19:03] Production.INFO: Date 2025-01-08
[2025-01-10 04:19:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:19:03] Production.INFO: ==9078== Releasing lock...
[2025-01-10 04:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 04:19:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 04:19:03] Production.INFO: Date 2025-01-09
[2025-01-10 04:19:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:19:03] Production.ERROR: done
[2025-01-10 04:19:03] Production.INFO: ==9070== Releasing lock...
[2025-01-10 04:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 04:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 04:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 04:19:03] Production.INFO: Date 2025-01-10
[2025-01-10 04:19:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:19:03] Production.INFO: Total Charge 0
[2025-01-10 04:19:03] Production.INFO: CreateAllLog End
[2025-01-10 04:19:03] Production.ERROR: done
[2025-01-10 04:19:04] Production.INFO: Account Balance End.
[2025-01-10 04:19:04] Production.ERROR: CronJobId end 12
[2025-01-10 04:19:04] Production.INFO: ==9074== Releasing lock...
[2025-01-10 04:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 04:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 04:19:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 01:19:04
[end_date_ymd] => 2025-01-10 04:19:04
[RateCDR] => 1
)
[2025-01-10 04:19:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 01:19:04' and `end` < '2025-01-10 04:19:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 04:19:09] Production.ERROR: CronJobId end10
[2025-01-10 04:19:09] Production.INFO: ==9072== Releasing lock...
[2025-01-10 04:19:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 04:19:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 04:19:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 04:19:11] Production.INFO: ============== Balance Warning START===========
[2025-01-10 04:19:11] Production.INFO: ============== Balance Warning END===========
[2025-01-10 04:19:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 04:19:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 04:19:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 04:19:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 04:19:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 04:19:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 04:19:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 04:19:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 04:19:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 04:19:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 04:19:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 04:19:12] Production.INFO: call_cost start
[2025-01-10 04:19:12] Production.INFO: call_cost end
[2025-01-10 04:19:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 04:19:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 04:19:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 04:19:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 04:19:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 04:19:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 04:19:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 04:19:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 04:19:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 04:19:13] Production.INFO: ==9068== Releasing lock...
[2025-01-10 04:19:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 04:19:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 04:19:18] Production.INFO: count ==132
[2025-01-10 04:19:18] Production.ERROR: pbx CDR StartTime 2025-01-10 01:19:04 - End Time 2025-01-10 04:19:04
[2025-01-10 04:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 04:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214423', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214423', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214423', 'tblTempVendorCDR_20' ) start
[2025-01-10 04:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214423', 'tblTempVendorCDR_20' ) end
[2025-01-10 04:19:18] Production.INFO: ProcessCDR(1,14214423,1,1,2)
[2025-01-10 04:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214423,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214423,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214423,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214423,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214423', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214423', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:19:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:19:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:19:21] Production.INFO: ==9076== Releasing lock...
[2025-01-10 04:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 04:19:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:20:01] Production.INFO: ==9143== Lock acquired, processing the job...
[2025-01-10 09:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 09:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 09:20:01] Production.INFO: neon service started
[2025-01-10 09:20:01] Production.INFO: neon service started
[2025-01-10 09:20:01] Production.INFO: ==9143== Releasing lock...
[2025-01-10 09:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 09:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 04:20:02] Production.INFO: ==9145== Lock acquired, processing the job...
[2025-01-10 04:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:20:02] Production.INFO: ==9147== Lock acquired, processing the job...
[2025-01-10 09:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 09:20:02] Production.INFO: ==9147== Releasing lock...
[2025-01-10 09:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 09:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 04:20:02] Production.INFO: ==9145== Releasing lock...
[2025-01-10 04:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 04:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 04:20:03] Production.INFO: ==9152== Lock acquired, processing the job...
[2025-01-10 04:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 04:20:03] Production.INFO: ==9154== Lock acquired, processing the job...
[2025-01-10 04:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 04:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 04:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 04:20:04] Production.INFO: ==9152== Releasing lock...
[2025-01-10 04:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 04:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 04:20:04] Production.INFO: ==9158== Lock acquired, processing the job...
[2025-01-10 04:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 04:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 04:20:04] Production.INFO: ==9164== Lock acquired, processing the job...
[2025-01-10 04:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 04:20:04] Production.INFO: ==9156== Lock acquired, processing the job...
[2025-01-10 04:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 04:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 04:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 04:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 04:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 04:20:04] Production.INFO: ==9160== Lock acquired, processing the job...
[2025-01-10 04:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 04:20:04] Production.INFO: ==9162== Lock acquired, processing the job...
[2025-01-10 04:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 04:20:04] Production.INFO: Account Balance Start.
[2025-01-10 04:20:04] Production.INFO: CreateAllLog Start
[2025-01-10 04:20:04] Production.INFO: 117
[2025-01-10 04:20:04] Production.INFO: Date 2025-01-08
[2025-01-10 04:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:20:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:20:04] Production.INFO: ==9166== Lock acquired, processing the job...
[2025-01-10 04:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 04:20:04] Production.ERROR: done
[2025-01-10 04:20:04] Production.INFO: Date 2025-01-09
[2025-01-10 04:20:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:20:04] Production.INFO: Date 2025-01-10
[2025-01-10 04:20:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:20:04] Production.INFO: Total Charge 0
[2025-01-10 04:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 04:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14214427', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 04:20:04] Production.INFO: CreateAllLog End
[2025-01-10 04:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:20:04] Production.INFO: count ==21
[2025-01-10 04:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:20:04] Production.INFO: count ==21
[2025-01-10 04:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214428') start
[2025-01-10 04:20:04] Production.INFO: ==9156== Releasing lock...
[2025-01-10 04:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 04:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 04:20:04] Production.ERROR: done
[2025-01-10 04:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 04:20:04] Production.INFO: Account Balance End.
[2025-01-10 04:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14214428') end
[2025-01-10 04:20:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 04:20:05] Production.INFO: 1
[2025-01-10 04:20:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 04:20:05] Production.ERROR: CronJobId end 12
[2025-01-10 04:20:05] Production.INFO: ==9160== Releasing lock...
[2025-01-10 04:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 04:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 04:20:05] Production.INFO: ==9166== Releasing lock...
[2025-01-10 04:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 04:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 04:20:05] Production.ERROR: done
[2025-01-10 04:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 01:20:06
[end_date_ymd] => 2025-01-10 04:20:06
[RateCDR] => 1
)
[2025-01-10 04:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 01:20:06' and `end` < '2025-01-10 04:20:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 04:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14214427', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 04:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 04:20:08] Production.INFO: ProcessCDR(1,14214427,1,1,2)
[2025-01-10 04:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14214427,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14214427,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:20:09] Production.INFO: ==9164== Releasing lock...
[2025-01-10 04:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 04:20:09] Production.INFO: 26 MB #Memory Used#
[2025-01-10 04:20:13] Production.ERROR: CronJobId end10
[2025-01-10 04:20:13] Production.INFO: ==9158== Releasing lock...
[2025-01-10 04:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 04:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 04:20:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 04:20:15] Production.INFO: ============== Balance Warning START===========
[2025-01-10 04:20:15] Production.INFO: ============== Balance Warning END===========
[2025-01-10 04:20:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 04:20:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 04:20:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 04:20:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 04:20:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 04:20:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 04:20:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 04:20:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 04:20:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 04:20:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 04:20:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 04:20:15] Production.INFO: call_cost start
[2025-01-10 04:20:15] Production.INFO: call_cost end
[2025-01-10 04:20:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 04:20:16] Production.INFO: ============== Report Schedule START===========
[2025-01-10 04:20:16] Production.INFO: ============== Report Schedule END===========
[2025-01-10 04:20:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 04:20:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 04:20:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 04:20:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 04:20:16] Production.INFO: ============== Deal alert START===========
[2025-01-10 04:20:16] Production.INFO: ============== Deal alert END===========
[2025-01-10 04:20:16] Production.INFO: ==9154== Releasing lock...
[2025-01-10 04:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 04:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 04:20:19] Production.INFO: count ==126
[2025-01-10 04:20:19] Production.ERROR: pbx CDR StartTime 2025-01-10 01:20:06 - End Time 2025-01-10 04:20:06
[2025-01-10 04:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 04:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214429', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214429', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214429', 'tblTempVendorCDR_20' ) start
[2025-01-10 04:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214429', 'tblTempVendorCDR_20' ) end
[2025-01-10 04:20:19] Production.INFO: ProcessCDR(1,14214429,1,1,2)
[2025-01-10 04:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214429,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214429,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214429,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214429,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214429', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214429', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:20:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:20:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:20:22] Production.INFO: ==9162== Releasing lock...
[2025-01-10 04:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 04:20:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:21:01] Production.INFO: ==9235== Lock acquired, processing the job...
[2025-01-10 09:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 09:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 09:21:01] Production.INFO: neon service started
[2025-01-10 09:21:01] Production.INFO: neon service started
[2025-01-10 09:21:01] Production.INFO: ==9235== Releasing lock...
[2025-01-10 09:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 09:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 09:21:01] Production.INFO: ==9242== Lock acquired, processing the job...
[2025-01-10 09:21:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 04:21:01] Production.INFO: ==9240== Lock acquired, processing the job...
[2025-01-10 04:21:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:21:02] Production.INFO: ==9242== Releasing lock...
[2025-01-10 09:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 09:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 04:21:02] Production.INFO: ==9240== Releasing lock...
[2025-01-10 04:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 04:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 04:21:03] Production.INFO: ==9248== Lock acquired, processing the job...
[2025-01-10 04:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 04:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 04:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 04:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 04:21:03] Production.INFO: ==9250== Lock acquired, processing the job...
[2025-01-10 04:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 04:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 04:21:03] Production.INFO: Account Balance Start.
[2025-01-10 04:21:03] Production.INFO: CreateAllLog Start
[2025-01-10 04:21:03] Production.INFO: 117
[2025-01-10 04:21:03] Production.INFO: Date 2025-01-08
[2025-01-10 04:21:03] Production.INFO: ==9244== Lock acquired, processing the job...
[2025-01-10 04:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 04:21:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:21:03] Production.INFO: ==9246== Lock acquired, processing the job...
[2025-01-10 04:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 04:21:03] Production.INFO: Date 2025-01-09
[2025-01-10 04:21:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:21:03] Production.INFO: Date 2025-01-10
[2025-01-10 04:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 04:21:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:21:03] Production.INFO: ==9252== Lock acquired, processing the job...
[2025-01-10 04:21:03] Production.INFO: ==9254== Lock acquired, processing the job...
[2025-01-10 04:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 04:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 04:21:03] Production.INFO: Total Charge 0
[2025-01-10 04:21:03] Production.INFO: CreateAllLog End
[2025-01-10 04:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:21:03] Production.INFO: count ==21
[2025-01-10 04:21:03] Production.INFO: ==9246== Releasing lock...
[2025-01-10 04:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 04:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 04:21:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:21:03] Production.INFO: count ==21
[2025-01-10 04:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214433') start
[2025-01-10 04:21:03] Production.ERROR: done
[2025-01-10 04:21:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 04:21:03] Production.INFO: Account Balance End.
[2025-01-10 04:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214433') end
[2025-01-10 04:21:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 04:21:03] Production.INFO: 1
[2025-01-10 04:21:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 04:21:03] Production.ERROR: CronJobId end 12
[2025-01-10 04:21:03] Production.INFO: ==9250== Releasing lock...
[2025-01-10 04:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 04:21:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 04:21:03] Production.INFO: ==9254== Releasing lock...
[2025-01-10 04:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 04:21:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 04:21:04] Production.ERROR: done
[2025-01-10 04:21:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 01:21:04
[end_date_ymd] => 2025-01-10 04:21:04
[RateCDR] => 1
)
[2025-01-10 04:21:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 01:21:04' and `end` < '2025-01-10 04:21:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 04:21:10] Production.ERROR: CronJobId end10
[2025-01-10 04:21:10] Production.INFO: ==9248== Releasing lock...
[2025-01-10 04:21:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 04:21:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 04:21:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 04:21:11] Production.INFO: ============== Balance Warning START===========
[2025-01-10 04:21:11] Production.INFO: ============== Balance Warning END===========
[2025-01-10 04:21:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 04:21:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 04:21:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 04:21:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 04:21:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 04:21:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 04:21:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 04:21:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 04:21:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 04:21:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 04:21:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 04:21:11] Production.INFO: call_cost start
[2025-01-10 04:21:11] Production.INFO: call_cost end
[2025-01-10 04:21:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 04:21:12] Production.INFO: ============== Report Schedule START===========
[2025-01-10 04:21:12] Production.INFO: ============== Report Schedule END===========
[2025-01-10 04:21:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 04:21:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 04:21:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 04:21:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 04:21:12] Production.INFO: ============== Deal alert START===========
[2025-01-10 04:21:12] Production.INFO: ============== Deal alert END===========
[2025-01-10 04:21:12] Production.INFO: ==9244== Releasing lock...
[2025-01-10 04:21:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 04:21:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 04:21:17] Production.INFO: count ==122
[2025-01-10 04:21:17] Production.ERROR: pbx CDR StartTime 2025-01-10 01:21:04 - End Time 2025-01-10 04:21:04
[2025-01-10 04:21:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 04:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214434', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214434', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214434', 'tblTempVendorCDR_20' ) start
[2025-01-10 04:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214434', 'tblTempVendorCDR_20' ) end
[2025-01-10 04:21:17] Production.INFO: ProcessCDR(1,14214434,1,1,2)
[2025-01-10 04:21:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214434,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:21:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214434,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:21:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214434,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:21:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214434,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:21:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214434', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:21:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214434', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:21:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:21:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:21:20] Production.INFO: ==9252== Releasing lock...
[2025-01-10 04:21:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 04:21:20] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:22:01] Production.INFO: ==9320== Lock acquired, processing the job...
[2025-01-10 09:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 09:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 09:22:01] Production.INFO: neon service started
[2025-01-10 09:22:01] Production.INFO: neon service started
[2025-01-10 09:22:01] Production.INFO: ==9320== Releasing lock...
[2025-01-10 09:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 09:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 04:22:02] Production.INFO: ==9322== Lock acquired, processing the job...
[2025-01-10 04:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:22:02] Production.INFO: ==9324== Lock acquired, processing the job...
[2025-01-10 09:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 09:22:02] Production.INFO: ==9324== Releasing lock...
[2025-01-10 09:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 09:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 04:22:02] Production.INFO: ==9322== Releasing lock...
[2025-01-10 04:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 04:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 04:22:03] Production.INFO: ==9327== Lock acquired, processing the job...
[2025-01-10 04:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 04:22:03] Production.INFO: ==9329== Lock acquired, processing the job...
[2025-01-10 04:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 04:22:03] Production.INFO: ==9333== Lock acquired, processing the job...
[2025-01-10 04:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 04:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 04:22:03] Production.INFO: ==9331== Lock acquired, processing the job...
[2025-01-10 04:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 04:22:03] Production.INFO: ==9329== Releasing lock...
[2025-01-10 04:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 04:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 04:22:03] Production.INFO: ==9335== Lock acquired, processing the job...
[2025-01-10 04:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 04:22:03] Production.INFO: Account Balance Start.
[2025-01-10 04:22:03] Production.INFO: CreateAllLog Start
[2025-01-10 04:22:03] Production.INFO: 117
[2025-01-10 04:22:03] Production.INFO: Date 2025-01-08
[2025-01-10 04:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:22:03] Production.INFO: ==9337== Lock acquired, processing the job...
[2025-01-10 04:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 04:22:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:22:03] Production.INFO: Date 2025-01-09
[2025-01-10 04:22:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 04:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 04:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 04:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 04:22:03] Production.INFO: Date 2025-01-10
[2025-01-10 04:22:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:22:03] Production.INFO: Total Charge 0
[2025-01-10 04:22:04] Production.INFO: CreateAllLog End
[2025-01-10 04:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:22:04] Production.ERROR: done
[2025-01-10 04:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 04:22:04] Production.INFO: count ==21
[2025-01-10 04:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:22:04] Production.INFO: count ==21
[2025-01-10 04:22:04] Production.INFO: Account Balance End.
[2025-01-10 04:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214438') start
[2025-01-10 04:22:04] Production.ERROR: CronJobId end 12
[2025-01-10 04:22:04] Production.INFO: ==9333== Releasing lock...
[2025-01-10 04:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 04:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 04:22:04] Production.ERROR: done
[2025-01-10 04:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214438') end
[2025-01-10 04:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 04:22:04] Production.INFO: 1
[2025-01-10 04:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 04:22:04] Production.INFO: ==9337== Releasing lock...
[2025-01-10 04:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 04:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 04:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 01:22:05
[end_date_ymd] => 2025-01-10 04:22:05
[RateCDR] => 1
)
[2025-01-10 04:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 01:22:05' and `end` < '2025-01-10 04:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 04:22:09] Production.ERROR: CronJobId end10
[2025-01-10 04:22:09] Production.INFO: ==9331== Releasing lock...
[2025-01-10 04:22:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 04:22:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 04:22:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 04:22:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 04:22:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 04:22:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 04:22:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 04:22:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 04:22:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 04:22:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 04:22:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 04:22:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 04:22:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 04:22:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 04:22:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 04:22:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 04:22:12] Production.INFO: call_cost start
[2025-01-10 04:22:12] Production.INFO: call_cost end
[2025-01-10 04:22:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 04:22:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 04:22:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 04:22:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 04:22:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 04:22:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 04:22:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 04:22:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 04:22:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 04:22:13] Production.INFO: ==9327== Releasing lock...
[2025-01-10 04:22:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 04:22:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 04:22:18] Production.INFO: count ==122
[2025-01-10 04:22:18] Production.ERROR: pbx CDR StartTime 2025-01-10 01:22:05 - End Time 2025-01-10 04:22:05
[2025-01-10 04:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 04:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214439', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214439', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214439', 'tblTempVendorCDR_20' ) start
[2025-01-10 04:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214439', 'tblTempVendorCDR_20' ) end
[2025-01-10 04:22:18] Production.INFO: ProcessCDR(1,14214439,1,1,2)
[2025-01-10 04:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214439,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214439,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214439,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214439,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214439', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214439', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:22:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:22:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:22:21] Production.INFO: ==9335== Releasing lock...
[2025-01-10 04:22:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 04:22:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:23:02] Production.INFO: ==9401== Lock acquired, processing the job...
[2025-01-10 09:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 09:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 09:23:02] Production.INFO: neon service started
[2025-01-10 09:23:02] Production.INFO: neon service started
[2025-01-10 09:23:02] Production.INFO: ==9401== Releasing lock...
[2025-01-10 09:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 09:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 04:23:02] Production.INFO: ==9403== Lock acquired, processing the job...
[2025-01-10 04:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 04:23:02] Production.INFO: ==9403== Releasing lock...
[2025-01-10 04:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 04:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 09:23:02] Production.INFO: ==9405== Lock acquired, processing the job...
[2025-01-10 09:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 09:23:03] Production.INFO: ==9405== Releasing lock...
[2025-01-10 09:23:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 09:23:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 04:23:03] Production.INFO: ==9409== Lock acquired, processing the job...
[2025-01-10 04:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 04:23:03] Production.INFO: ==9413== Lock acquired, processing the job...
[2025-01-10 04:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 04:23:03] Production.INFO: ==9417== Lock acquired, processing the job...
[2025-01-10 04:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 04:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:23:03] Production.INFO: ==9407== Lock acquired, processing the job...
[2025-01-10 04:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 04:23:03] Production.INFO: ==9409== Releasing lock...
[2025-01-10 04:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 04:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 04:23:03] Production.INFO: Account Balance Start.
[2025-01-10 04:23:03] Production.INFO: CreateAllLog Start
[2025-01-10 04:23:03] Production.INFO: 117
[2025-01-10 04:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 04:23:03] Production.INFO: Date 2025-01-08
[2025-01-10 04:23:03] Production.INFO: ==9411== Lock acquired, processing the job...
[2025-01-10 04:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 04:23:03] Production.INFO: ==9419== Lock acquired, processing the job...
[2025-01-10 04:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 04:23:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:23:03] Production.INFO: Date 2025-01-09
[2025-01-10 04:23:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:23:04] Production.INFO: Date 2025-01-10
[2025-01-10 04:23:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:23:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:23:04] Production.INFO: count ==21
[2025-01-10 04:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:23:04] Production.INFO: Total Charge 0
[2025-01-10 04:23:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 04:23:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 04:23:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 04:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 04:23:04] Production.INFO: count ==21
[2025-01-10 04:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214443') start
[2025-01-10 04:23:04] Production.INFO: CreateAllLog End
[2025-01-10 04:23:04] Production.ERROR: done
[2025-01-10 04:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 04:23:04] Production.ERROR: done
[2025-01-10 04:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214443') end
[2025-01-10 04:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 04:23:04] Production.INFO: 1
[2025-01-10 04:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 04:23:04] Production.INFO: Account Balance End.
[2025-01-10 04:23:04] Production.ERROR: CronJobId end 12
[2025-01-10 04:23:04] Production.INFO: ==9413== Releasing lock...
[2025-01-10 04:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 04:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 04:23:04] Production.INFO: ==9419== Releasing lock...
[2025-01-10 04:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 04:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 04:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 01:23:05
[end_date_ymd] => 2025-01-10 04:23:05
[RateCDR] => 1
)
[2025-01-10 04:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 01:23:05' and `end` < '2025-01-10 04:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 04:23:11] Production.ERROR: CronJobId end10
[2025-01-10 04:23:11] Production.INFO: ==9411== Releasing lock...
[2025-01-10 04:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 04:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 04:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 04:23:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 04:23:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 04:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 04:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 04:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 04:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 04:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 04:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 04:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 04:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 04:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 04:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 04:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 04:23:13] Production.INFO: call_cost start
[2025-01-10 04:23:13] Production.INFO: call_cost end
[2025-01-10 04:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 04:23:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 04:23:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 04:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 04:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 04:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 04:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 04:23:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 04:23:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 04:23:14] Production.INFO: ==9407== Releasing lock...
[2025-01-10 04:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 04:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 04:23:19] Production.INFO: count ==122
[2025-01-10 04:23:19] Production.ERROR: pbx CDR StartTime 2025-01-10 01:23:05 - End Time 2025-01-10 04:23:05
[2025-01-10 04:23:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 04:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214444', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214444', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214444', 'tblTempVendorCDR_20' ) start
[2025-01-10 04:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214444', 'tblTempVendorCDR_20' ) end
[2025-01-10 04:23:19] Production.INFO: ProcessCDR(1,14214444,1,1,2)
[2025-01-10 04:23:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214444,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:23:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214444,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:23:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214444,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:23:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214444,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214444', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214444', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:23:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:23:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:23:22] Production.INFO: ==9417== Releasing lock...
[2025-01-10 04:23:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 04:23:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:24:01] Production.INFO: ==9476== Lock acquired, processing the job...
[2025-01-10 09:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 09:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 09:24:01] Production.INFO: neon service started
[2025-01-10 09:24:01] Production.INFO: neon service started
[2025-01-10 09:24:01] Production.INFO: ==9476== Releasing lock...
[2025-01-10 09:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 09:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 04:24:02] Production.INFO: ==9478== Lock acquired, processing the job...
[2025-01-10 04:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 04:24:02] Production.INFO: ==9478== Releasing lock...
[2025-01-10 04:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 04:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 09:24:02] Production.INFO: ==9480== Lock acquired, processing the job...
[2025-01-10 09:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 09:24:02] Production.INFO: ==9480== Releasing lock...
[2025-01-10 09:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 09:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 04:24:03] Production.INFO: ==9485== Lock acquired, processing the job...
[2025-01-10 04:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 04:24:03] Production.INFO: ==9489== Lock acquired, processing the job...
[2025-01-10 04:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 04:24:03] Production.INFO: Account Balance Start.
[2025-01-10 04:24:03] Production.INFO: CreateAllLog Start
[2025-01-10 04:24:03] Production.INFO: 117
[2025-01-10 04:24:03] Production.INFO: Date 2025-01-08
[2025-01-10 04:24:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:24:03] Production.INFO: Date 2025-01-09
[2025-01-10 04:24:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:24:03] Production.INFO: ==9483== Lock acquired, processing the job...
[2025-01-10 04:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 04:24:03] Production.INFO: Date 2025-01-10
[2025-01-10 04:24:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:24:03] Production.INFO: ==9487== Lock acquired, processing the job...
[2025-01-10 04:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 04:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 04:24:03] Production.INFO: ==9491== Lock acquired, processing the job...
[2025-01-10 04:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 04:24:03] Production.INFO: Total Charge 0
[2025-01-10 04:24:03] Production.INFO: CreateAllLog End
[2025-01-10 04:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 04:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 04:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 04:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 04:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:24:03] Production.INFO: ==9493== Lock acquired, processing the job...
[2025-01-10 04:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 04:24:03] Production.INFO: ==9485== Releasing lock...
[2025-01-10 04:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 04:24:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 04:24:03] Production.INFO: Account Balance End.
[2025-01-10 04:24:03] Production.ERROR: CronJobId end 12
[2025-01-10 04:24:03] Production.INFO: ==9489== Releasing lock...
[2025-01-10 04:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 04:24:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 04:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:24:03] Production.INFO: count ==21
[2025-01-10 04:24:03] Production.ERROR: done
[2025-01-10 04:24:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:24:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 04:24:03] Production.INFO: count ==21
[2025-01-10 04:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214448') start
[2025-01-10 04:24:04] Production.ERROR: done
[2025-01-10 04:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214448') end
[2025-01-10 04:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 04:24:04] Production.INFO: 1
[2025-01-10 04:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 04:24:04] Production.INFO: ==9493== Releasing lock...
[2025-01-10 04:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 04:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 04:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 01:24:05
[end_date_ymd] => 2025-01-10 04:24:05
[RateCDR] => 1
)
[2025-01-10 04:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 01:24:05' and `end` < '2025-01-10 04:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 04:24:11] Production.ERROR: CronJobId end10
[2025-01-10 04:24:11] Production.INFO: ==9487== Releasing lock...
[2025-01-10 04:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 04:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 04:24:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 04:24:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 04:24:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 04:24:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 04:24:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 04:24:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 04:24:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 04:24:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 04:24:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 04:24:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 04:24:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 04:24:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 04:24:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 04:24:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 04:24:12] Production.INFO: call_cost start
[2025-01-10 04:24:12] Production.INFO: call_cost end
[2025-01-10 04:24:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 04:24:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 04:24:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 04:24:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 04:24:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 04:24:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 04:24:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 04:24:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 04:24:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 04:24:13] Production.INFO: ==9483== Releasing lock...
[2025-01-10 04:24:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 04:24:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 04:24:18] Production.INFO: count ==122
[2025-01-10 04:24:18] Production.ERROR: pbx CDR StartTime 2025-01-10 01:24:05 - End Time 2025-01-10 04:24:05
[2025-01-10 04:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 04:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214449', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214449', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214449', 'tblTempVendorCDR_20' ) start
[2025-01-10 04:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214449', 'tblTempVendorCDR_20' ) end
[2025-01-10 04:24:18] Production.INFO: ProcessCDR(1,14214449,1,1,2)
[2025-01-10 04:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214449,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214449,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214449,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214449,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214449', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214449', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:24:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:24:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:24:21] Production.INFO: ==9491== Releasing lock...
[2025-01-10 04:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 04:24:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:25:02] Production.INFO: ==9548== Lock acquired, processing the job...
[2025-01-10 09:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 09:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 09:25:02] Production.INFO: neon service started
[2025-01-10 09:25:02] Production.INFO: neon service started
[2025-01-10 09:25:02] Production.INFO: ==9548== Releasing lock...
[2025-01-10 09:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 09:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 04:25:02] Production.INFO: ==9550== Lock acquired, processing the job...
[2025-01-10 04:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 04:25:02] Production.INFO: ==9550== Releasing lock...
[2025-01-10 04:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 04:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 09:25:02] Production.INFO: ==9552== Lock acquired, processing the job...
[2025-01-10 09:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 09:25:02] Production.INFO: ==9552== Releasing lock...
[2025-01-10 09:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 09:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 04:25:03] Production.INFO: ==9561== Lock acquired, processing the job...
[2025-01-10 04:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 04:25:03] Production.INFO: ==9555== Lock acquired, processing the job...
[2025-01-10 04:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 04:25:03] Production.INFO: ==9565== Lock acquired, processing the job...
[2025-01-10 04:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 04:25:03] Production.INFO: ==9557== Lock acquired, processing the job...
[2025-01-10 04:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 04:25:03] Production.INFO: Account Balance Start.
[2025-01-10 04:25:03] Production.INFO: CreateAllLog Start
[2025-01-10 04:25:03] Production.INFO: 117
[2025-01-10 04:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 04:25:03] Production.INFO: ==9559== Lock acquired, processing the job...
[2025-01-10 04:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 04:25:03] Production.INFO: Date 2025-01-08
[2025-01-10 04:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 04:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 04:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 04:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 04:25:03] Production.INFO: count ==21
[2025-01-10 04:25:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:25:03] Production.INFO: ==9563== Lock acquired, processing the job...
[2025-01-10 04:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 04:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:25:03] Production.INFO: count ==21
[2025-01-10 04:25:03] Production.INFO: Date 2025-01-09
[2025-01-10 04:25:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214451') start
[2025-01-10 04:25:03] Production.INFO: Date 2025-01-10
[2025-01-10 04:25:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:25:03] Production.INFO: Total Charge 0
[2025-01-10 04:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:25:03] Production.INFO: CreateAllLog End
[2025-01-10 04:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214451') end
[2025-01-10 04:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 04:25:03] Production.INFO: 1
[2025-01-10 04:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 04:25:04] Production.INFO: ==9565== Releasing lock...
[2025-01-10 04:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 04:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 04:25:04] Production.INFO: ==9557== Releasing lock...
[2025-01-10 04:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 04:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 04:25:04] Production.INFO: Account Balance End.
[2025-01-10 04:25:04] Production.ERROR: CronJobId end 12
[2025-01-10 04:25:04] Production.INFO: ==9561== Releasing lock...
[2025-01-10 04:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 04:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 04:25:04] Production.ERROR: done
[2025-01-10 04:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 04:25:04] Production.ERROR: done
[2025-01-10 04:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 01:25:05
[end_date_ymd] => 2025-01-10 04:25:05
[RateCDR] => 1
)
[2025-01-10 04:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 01:25:05' and `end` < '2025-01-10 04:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 04:25:11] Production.ERROR: CronJobId end10
[2025-01-10 04:25:11] Production.INFO: ==9559== Releasing lock...
[2025-01-10 04:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 04:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 04:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 04:25:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 04:25:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 04:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 04:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 04:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 04:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 04:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 04:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 04:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 04:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 04:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 04:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 04:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 04:25:14] Production.INFO: call_cost start
[2025-01-10 04:25:14] Production.INFO: call_cost end
[2025-01-10 04:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 04:25:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 04:25:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 04:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 04:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 04:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 04:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 04:25:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 04:25:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 04:25:14] Production.INFO: ==9555== Releasing lock...
[2025-01-10 04:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 04:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 04:25:18] Production.INFO: count ==122
[2025-01-10 04:25:18] Production.ERROR: pbx CDR StartTime 2025-01-10 01:25:05 - End Time 2025-01-10 04:25:05
[2025-01-10 04:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 04:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214454', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214454', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214454', 'tblTempVendorCDR_20' ) start
[2025-01-10 04:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214454', 'tblTempVendorCDR_20' ) end
[2025-01-10 04:25:18] Production.INFO: ProcessCDR(1,14214454,1,1,2)
[2025-01-10 04:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214454,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214454,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214454,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214454,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214454', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214454', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:25:21] Production.INFO: ==9563== Releasing lock...
[2025-01-10 04:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 04:25:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:26:01] Production.INFO: ==9659== Lock acquired, processing the job...
[2025-01-10 09:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 09:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 09:26:01] Production.INFO: neon service started
[2025-01-10 09:26:01] Production.INFO: neon service started
[2025-01-10 09:26:01] Production.INFO: ==9659== Releasing lock...
[2025-01-10 09:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 09:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 04:26:02] Production.INFO: ==9661== Lock acquired, processing the job...
[2025-01-10 04:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:26:02] Production.INFO: ==9663== Lock acquired, processing the job...
[2025-01-10 09:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 04:26:02] Production.INFO: ==9661== Releasing lock...
[2025-01-10 04:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 04:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 09:26:02] Production.INFO: ==9663== Releasing lock...
[2025-01-10 09:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 09:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 04:26:03] Production.INFO: ==9668== Lock acquired, processing the job...
[2025-01-10 04:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 04:26:03] Production.INFO: ==9666== Lock acquired, processing the job...
[2025-01-10 04:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 04:26:03] Production.INFO: ==9674== Lock acquired, processing the job...
[2025-01-10 04:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 04:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 04:26:03] Production.INFO: ==9670== Lock acquired, processing the job...
[2025-01-10 04:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 04:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 04:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 04:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 04:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 04:26:03] Production.INFO: ==9672== Lock acquired, processing the job...
[2025-01-10 04:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 04:26:03] Production.INFO: ==9676== Lock acquired, processing the job...
[2025-01-10 04:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 04:26:03] Production.INFO: Account Balance Start.
[2025-01-10 04:26:03] Production.INFO: CreateAllLog Start
[2025-01-10 04:26:03] Production.INFO: ==9668== Releasing lock...
[2025-01-10 04:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 04:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 04:26:03] Production.INFO: 117
[2025-01-10 04:26:03] Production.INFO: Date 2025-01-08
[2025-01-10 04:26:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:26:04] Production.INFO: Date 2025-01-09
[2025-01-10 04:26:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:26:04] Production.INFO: count ==21
[2025-01-10 04:26:04] Production.ERROR: done
[2025-01-10 04:26:04] Production.INFO: Date 2025-01-10
[2025-01-10 04:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 04:26:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:26:04] Production.INFO: count ==21
[2025-01-10 04:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214458') start
[2025-01-10 04:26:04] Production.INFO: Total Charge 0
[2025-01-10 04:26:04] Production.INFO: CreateAllLog End
[2025-01-10 04:26:04] Production.ERROR: done
[2025-01-10 04:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214458') end
[2025-01-10 04:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 04:26:04] Production.INFO: 1
[2025-01-10 04:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 04:26:04] Production.INFO: ==9676== Releasing lock...
[2025-01-10 04:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 04:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 04:26:04] Production.INFO: Account Balance End.
[2025-01-10 04:26:04] Production.ERROR: CronJobId end 12
[2025-01-10 04:26:04] Production.INFO: ==9672== Releasing lock...
[2025-01-10 04:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 04:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 04:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 01:26:05
[end_date_ymd] => 2025-01-10 04:26:05
[RateCDR] => 1
)
[2025-01-10 04:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 01:26:05' and `end` < '2025-01-10 04:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 04:26:11] Production.ERROR: CronJobId end10
[2025-01-10 04:26:11] Production.INFO: ==9670== Releasing lock...
[2025-01-10 04:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 04:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 04:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 04:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 04:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 04:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 04:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 04:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 04:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 04:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 04:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 04:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 04:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 04:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 04:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 04:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 04:26:14] Production.INFO: call_cost start
[2025-01-10 04:26:14] Production.INFO: call_cost end
[2025-01-10 04:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 04:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 04:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 04:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 04:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 04:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 04:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 04:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 04:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 04:26:14] Production.INFO: ==9666== Releasing lock...
[2025-01-10 04:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 04:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 04:26:18] Production.INFO: count ==122
[2025-01-10 04:26:18] Production.ERROR: pbx CDR StartTime 2025-01-10 01:26:05 - End Time 2025-01-10 04:26:05
[2025-01-10 04:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 04:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214459', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214459', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214459', 'tblTempVendorCDR_20' ) start
[2025-01-10 04:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214459', 'tblTempVendorCDR_20' ) end
[2025-01-10 04:26:18] Production.INFO: ProcessCDR(1,14214459,1,1,2)
[2025-01-10 04:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214459,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214459,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214459,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214459,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214459', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214459', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:26:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:26:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:26:21] Production.INFO: ==9674== Releasing lock...
[2025-01-10 04:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 04:26:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:27:02] Production.INFO: ==9734== Lock acquired, processing the job...
[2025-01-10 09:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 09:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 09:27:02] Production.INFO: neon service started
[2025-01-10 09:27:02] Production.INFO: neon service started
[2025-01-10 09:27:02] Production.INFO: ==9734== Releasing lock...
[2025-01-10 09:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 09:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 04:27:02] Production.INFO: ==9736== Lock acquired, processing the job...
[2025-01-10 04:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:27:02] Production.INFO: ==9738== Lock acquired, processing the job...
[2025-01-10 09:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 09:27:02] Production.INFO: ==9738== Releasing lock...
[2025-01-10 09:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 09:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 04:27:03] Production.INFO: ==9736== Releasing lock...
[2025-01-10 04:27:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 04:27:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 04:27:03] Production.INFO: ==9743== Lock acquired, processing the job...
[2025-01-10 04:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 04:27:03] Production.INFO: ==9741== Lock acquired, processing the job...
[2025-01-10 04:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 04:27:04] Production.INFO: ==9747== Lock acquired, processing the job...
[2025-01-10 04:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 04:27:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 04:27:04] Production.INFO: ==9745== Lock acquired, processing the job...
[2025-01-10 04:27:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 04:27:04] Production.INFO: ==9743== Releasing lock...
[2025-01-10 04:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 04:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 04:27:04] Production.INFO: Account Balance Start.
[2025-01-10 04:27:04] Production.INFO: CreateAllLog Start
[2025-01-10 04:27:04] Production.INFO: ==9749== Lock acquired, processing the job...
[2025-01-10 04:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 04:27:04] Production.INFO: 117
[2025-01-10 04:27:04] Production.INFO: Date 2025-01-08
[2025-01-10 04:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 04:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 04:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 04:27:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 04:27:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:27:04] Production.INFO: Date 2025-01-09
[2025-01-10 04:27:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:27:04] Production.INFO: ==9751== Lock acquired, processing the job...
[2025-01-10 04:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 04:27:04] Production.INFO: Date 2025-01-10
[2025-01-10 04:27:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:27:04] Production.INFO: Total Charge 0
[2025-01-10 04:27:04] Production.INFO: CreateAllLog End
[2025-01-10 04:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:27:04] Production.INFO: count ==21
[2025-01-10 04:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:27:04] Production.INFO: count ==21
[2025-01-10 04:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214463') start
[2025-01-10 04:27:04] Production.INFO: Account Balance End.
[2025-01-10 04:27:04] Production.ERROR: done
[2025-01-10 04:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 04:27:04] Production.ERROR: CronJobId end 12
[2025-01-10 04:27:04] Production.INFO: ==9747== Releasing lock...
[2025-01-10 04:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 04:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 04:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214463') end
[2025-01-10 04:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 04:27:04] Production.INFO: 1
[2025-01-10 04:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 04:27:04] Production.INFO: ==9751== Releasing lock...
[2025-01-10 04:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 04:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 04:27:05] Production.ERROR: done
[2025-01-10 04:27:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 01:27:06
[end_date_ymd] => 2025-01-10 04:27:06
[RateCDR] => 1
)
[2025-01-10 04:27:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 01:27:06' and `end` < '2025-01-10 04:27:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 04:27:11] Production.ERROR: CronJobId end10
[2025-01-10 04:27:11] Production.INFO: ==9745== Releasing lock...
[2025-01-10 04:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 04:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 04:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 04:27:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 04:27:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 04:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 04:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 04:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 04:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 04:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 04:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 04:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 04:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 04:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 04:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 04:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 04:27:13] Production.INFO: call_cost start
[2025-01-10 04:27:13] Production.INFO: call_cost end
[2025-01-10 04:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 04:27:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 04:27:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 04:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 04:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 04:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 04:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 04:27:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 04:27:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 04:27:14] Production.INFO: ==9741== Releasing lock...
[2025-01-10 04:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 04:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 04:27:18] Production.INFO: count ==120
[2025-01-10 04:27:19] Production.ERROR: pbx CDR StartTime 2025-01-10 01:27:06 - End Time 2025-01-10 04:27:06
[2025-01-10 04:27:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 04:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214464', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214464', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214464', 'tblTempVendorCDR_20' ) start
[2025-01-10 04:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214464', 'tblTempVendorCDR_20' ) end
[2025-01-10 04:27:19] Production.INFO: ProcessCDR(1,14214464,1,1,2)
[2025-01-10 04:27:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214464,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214464,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214464,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214464,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214464', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214464', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:27:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:27:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:27:22] Production.INFO: ==9749== Releasing lock...
[2025-01-10 04:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 04:27:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:28:01] Production.INFO: ==9812== Lock acquired, processing the job...
[2025-01-10 09:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 09:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 09:28:01] Production.INFO: neon service started
[2025-01-10 09:28:01] Production.INFO: neon service started
[2025-01-10 09:28:01] Production.INFO: ==9812== Releasing lock...
[2025-01-10 09:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 09:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 04:28:02] Production.INFO: ==9814== Lock acquired, processing the job...
[2025-01-10 04:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:28:02] Production.INFO: ==9816== Lock acquired, processing the job...
[2025-01-10 09:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 09:28:02] Production.INFO: ==9816== Releasing lock...
[2025-01-10 09:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 09:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 04:28:02] Production.INFO: ==9814== Releasing lock...
[2025-01-10 04:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 04:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 04:28:03] Production.INFO: ==9819== Lock acquired, processing the job...
[2025-01-10 04:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 04:28:03] Production.INFO: ==9821== Lock acquired, processing the job...
[2025-01-10 04:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 04:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 04:28:03] Production.INFO: ==9827== Lock acquired, processing the job...
[2025-01-10 04:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 04:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:28:03] Production.INFO: ==9823== Lock acquired, processing the job...
[2025-01-10 04:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 04:28:03] Production.INFO: ==9825== Lock acquired, processing the job...
[2025-01-10 04:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 04:28:03] Production.INFO: ==9829== Lock acquired, processing the job...
[2025-01-10 04:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 04:28:03] Production.INFO: ==9821== Releasing lock...
[2025-01-10 04:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 04:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 04:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 04:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 04:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 04:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 04:28:03] Production.INFO: Account Balance Start.
[2025-01-10 04:28:03] Production.INFO: CreateAllLog Start
[2025-01-10 04:28:03] Production.INFO: 117
[2025-01-10 04:28:03] Production.INFO: Date 2025-01-08
[2025-01-10 04:28:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:28:03] Production.ERROR: done
[2025-01-10 04:28:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 04:28:03] Production.INFO: Date 2025-01-09
[2025-01-10 04:28:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:28:03] Production.INFO: count ==21
[2025-01-10 04:28:03] Production.ERROR: done
[2025-01-10 04:28:03] Production.INFO: Date 2025-01-10
[2025-01-10 04:28:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:28:04] Production.INFO: count ==21
[2025-01-10 04:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214468') start
[2025-01-10 04:28:04] Production.INFO: Total Charge 0
[2025-01-10 04:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214468') end
[2025-01-10 04:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 04:28:04] Production.INFO: 1
[2025-01-10 04:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 04:28:04] Production.INFO: CreateAllLog End
[2025-01-10 04:28:04] Production.INFO: Account Balance End.
[2025-01-10 04:28:04] Production.INFO: ==9829== Releasing lock...
[2025-01-10 04:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 04:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 04:28:04] Production.ERROR: CronJobId end 12
[2025-01-10 04:28:04] Production.INFO: ==9825== Releasing lock...
[2025-01-10 04:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 04:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 04:28:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 01:28:04
[end_date_ymd] => 2025-01-10 04:28:04
[RateCDR] => 1
)
[2025-01-10 04:28:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 01:28:04' and `end` < '2025-01-10 04:28:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 04:28:10] Production.ERROR: CronJobId end10
[2025-01-10 04:28:10] Production.INFO: ==9823== Releasing lock...
[2025-01-10 04:28:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 04:28:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 04:28:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 04:28:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 04:28:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 04:28:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 04:28:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 04:28:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 04:28:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 04:28:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 04:28:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 04:28:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 04:28:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 04:28:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 04:28:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 04:28:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 04:28:12] Production.INFO: call_cost start
[2025-01-10 04:28:12] Production.INFO: call_cost end
[2025-01-10 04:28:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 04:28:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 04:28:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 04:28:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 04:28:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 04:28:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 04:28:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 04:28:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 04:28:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 04:28:13] Production.INFO: ==9819== Releasing lock...
[2025-01-10 04:28:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 04:28:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 04:28:19] Production.INFO: count ==120
[2025-01-10 04:28:19] Production.ERROR: pbx CDR StartTime 2025-01-10 01:28:04 - End Time 2025-01-10 04:28:04
[2025-01-10 04:28:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 04:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214469', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214469', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214469', 'tblTempVendorCDR_20' ) start
[2025-01-10 04:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214469', 'tblTempVendorCDR_20' ) end
[2025-01-10 04:28:19] Production.INFO: ProcessCDR(1,14214469,1,1,2)
[2025-01-10 04:28:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214469,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:28:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214469,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:28:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214469,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:28:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214469,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214469', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214469', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:28:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:28:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:28:22] Production.INFO: ==9827== Releasing lock...
[2025-01-10 04:28:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 04:28:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:29:01] Production.INFO: ==9898== Lock acquired, processing the job...
[2025-01-10 09:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 09:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 09:29:01] Production.INFO: neon service started
[2025-01-10 09:29:02] Production.INFO: neon service started
[2025-01-10 09:29:02] Production.INFO: ==9898== Releasing lock...
[2025-01-10 09:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 09:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 04:29:02] Production.INFO: ==9900== Lock acquired, processing the job...
[2025-01-10 04:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 04:29:02] Production.INFO: ==9900== Releasing lock...
[2025-01-10 04:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 04:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 09:29:02] Production.INFO: ==9902== Lock acquired, processing the job...
[2025-01-10 09:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 09:29:02] Production.INFO: ==9902== Releasing lock...
[2025-01-10 09:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 09:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 04:29:03] Production.INFO: ==9913== Lock acquired, processing the job...
[2025-01-10 04:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 04:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:29:03] Production.INFO: ==9911== Lock acquired, processing the job...
[2025-01-10 04:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 04:29:03] Production.ERROR: done
[2025-01-10 04:29:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 04:29:03] Production.INFO: ==9905== Lock acquired, processing the job...
[2025-01-10 04:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 04:29:03] Production.INFO: Account Balance Start.
[2025-01-10 04:29:03] Production.INFO: CreateAllLog Start
[2025-01-10 04:29:03] Production.INFO: 117
[2025-01-10 04:29:03] Production.INFO: Date 2025-01-08
[2025-01-10 04:29:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:29:03] Production.INFO: ==9907== Lock acquired, processing the job...
[2025-01-10 04:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 04:29:03] Production.INFO: ==9909== Lock acquired, processing the job...
[2025-01-10 04:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 04:29:03] Production.INFO: Date 2025-01-09
[2025-01-10 04:29:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:29:03] Production.INFO: Date 2025-01-10
[2025-01-10 04:29:03] Production.INFO: ==9915== Lock acquired, processing the job...
[2025-01-10 04:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 04:29:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:29:03] Production.ERROR: done
[2025-01-10 04:29:03] Production.INFO: Total Charge 0
[2025-01-10 04:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 04:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 04:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 04:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 04:29:03] Production.INFO: CreateAllLog End
[2025-01-10 04:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 04:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:29:03] Production.INFO: count ==21
[2025-01-10 04:29:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:29:04] Production.INFO: count ==21
[2025-01-10 04:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214471') start
[2025-01-10 04:29:04] Production.INFO: Account Balance End.
[2025-01-10 04:29:04] Production.ERROR: CronJobId end 12
[2025-01-10 04:29:04] Production.INFO: ==9911== Releasing lock...
[2025-01-10 04:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 04:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 04:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214471') end
[2025-01-10 04:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 04:29:04] Production.INFO: 1
[2025-01-10 04:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 04:29:04] Production.INFO: ==9907== Releasing lock...
[2025-01-10 04:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 04:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 04:29:04] Production.INFO: ==9915== Releasing lock...
[2025-01-10 04:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 04:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 04:29:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 01:29:04
[end_date_ymd] => 2025-01-10 04:29:04
[RateCDR] => 1
)
[2025-01-10 04:29:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 01:29:04' and `end` < '2025-01-10 04:29:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 04:29:11] Production.ERROR: CronJobId end10
[2025-01-10 04:29:11] Production.INFO: ==9909== Releasing lock...
[2025-01-10 04:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 04:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 04:29:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 04:29:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 04:29:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 04:29:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 04:29:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 04:29:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 04:29:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 04:29:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 04:29:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 04:29:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 04:29:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 04:29:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 04:29:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 04:29:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 04:29:12] Production.INFO: call_cost start
[2025-01-10 04:29:12] Production.INFO: call_cost end
[2025-01-10 04:29:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 04:29:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 04:29:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 04:29:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 04:29:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 04:29:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 04:29:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 04:29:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 04:29:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 04:29:13] Production.INFO: ==9905== Releasing lock...
[2025-01-10 04:29:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 04:29:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 04:29:17] Production.INFO: count ==119
[2025-01-10 04:29:17] Production.ERROR: pbx CDR StartTime 2025-01-10 01:29:04 - End Time 2025-01-10 04:29:04
[2025-01-10 04:29:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 04:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214473', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214473', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214473', 'tblTempVendorCDR_20' ) start
[2025-01-10 04:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214473', 'tblTempVendorCDR_20' ) end
[2025-01-10 04:29:17] Production.INFO: ProcessCDR(1,14214473,1,1,2)
[2025-01-10 04:29:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214473,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:29:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214473,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:29:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214473,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:29:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214473,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:29:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214473', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:29:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214473', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:29:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:29:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:29:20] Production.INFO: ==9913== Releasing lock...
[2025-01-10 04:29:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 04:29:20] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:30:01] Production.INFO: ==9987== Lock acquired, processing the job...
[2025-01-10 09:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 09:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 09:30:01] Production.INFO: neon service started
[2025-01-10 09:30:01] Production.INFO: neon service started
[2025-01-10 09:30:01] Production.INFO: ==9987== Releasing lock...
[2025-01-10 09:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 09:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 04:30:02] Production.INFO: ==9989== Lock acquired, processing the job...
[2025-01-10 04:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:30:02] Production.INFO: ==9991== Lock acquired, processing the job...
[2025-01-10 09:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 04:30:02] Production.INFO: ==9989== Releasing lock...
[2025-01-10 04:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 04:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 09:30:02] Production.INFO: ==9991== Releasing lock...
[2025-01-10 09:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 09:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 04:30:03] Production.INFO: ==9993== Lock acquired, processing the job...
[2025-01-10 04:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 04:30:03] Production.INFO: ==9997== Lock acquired, processing the job...
[2025-01-10 04:30:03] Production.INFO: invoicegenerator-command-invoicegenerator-companyid-1-cronjobid-6 #Starts#
[2025-01-10 04:30:03] Production.INFO: ==9995== Lock acquired, processing the job...
[2025-01-10 04:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 04:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 04:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 04:30:03] Production.ERROR: CronJob PID - 9995
[2025-01-10 04:30:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-10 04:30:03] Production.ERROR: CronJob ID - 5
[2025-01-10 04:30:03] Production.ERROR: CronJob Last Run Time 2025-01-10 04:30:00
[2025-01-10 04:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 04:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 04:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 04:30:03] Production.INFO: ==9993== Releasing lock...
[2025-01-10 04:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 04:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 04:30:03] Production.INFO: ==10004== Lock acquired, processing the job...
[2025-01-10 04:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 04:30:03] Production.INFO: ==10000== Lock acquired, processing the job...
[2025-01-10 04:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 04:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 04:30:03] Production.INFO: ==10002== Lock acquired, processing the job...
[2025-01-10 04:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 04:30:04] Production.INFO: ==10008== Lock acquired, processing the job...
[2025-01-10 04:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 04:30:04] Production.INFO: Account Balance Start.
[2025-01-10 04:30:04] Production.INFO: CreateAllLog Start
[2025-01-10 04:30:04] Production.INFO: 117
[2025-01-10 04:30:04] Production.INFO: ==10006== Lock acquired, processing the job...
[2025-01-10 04:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 04:30:04] Production.INFO: Call prc_getBillingAccounts(1,2025-01-10,'','0')
[2025-01-10 04:30:04] Production.INFO: Array
(
[0] => stdClass Object
(
[AccountID] => 5
[NextInvoiceDate] => 2025-01-10
[AccountName] => DMCI
[ServiceID] => 0
)
[1] => stdClass Object
(
[AccountID] => 13
[NextInvoiceDate] => 2025-01-10
[AccountName] => Rosedale Diner
[ServiceID] => 0
)
[2] => stdClass Object
(
[AccountID] => 50
[NextInvoiceDate] => 2025-01-10
[AccountName] => J. Randall Graham, CPA
[ServiceID] => 0
)
[3] => stdClass Object
(
[AccountID] => 73
[NextInvoiceDate] => 2025-01-10
[AccountName] => Discovery Point Nursery
[ServiceID] => 0
)
[4] => stdClass Object
(
[AccountID] => 139
[NextInvoiceDate] => 2025-01-10
[AccountName] => Dominos 10560 (Ricky Singh)
[ServiceID] => 0
)
[5] => stdClass Object
(
[AccountID] => 244
[NextInvoiceDate] => 2025-01-10
[AccountName] => Example Invoice
[ServiceID] => 0
)
)
[2025-01-10 04:30:04] Production.INFO: Date 2025-01-08
[2025-01-10 04:30:04] Production.INFO: AccountID =5 FirstInvoiceSend 0
[2025-01-10 04:30:04] Production.INFO: LastInvoiceDate 2024-12-10 NextInvoiceDate 2025-01-10
[2025-01-10 04:30:04] Production.INFO: LastChargeDate 2024-12-10 NextChargeDate 2025-01-09
[2025-01-10 04:30:04] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-01-10 04:30:04] Production.INFO: ========================== Invoice Send Start =============================
[2025-01-10 04:30:04] Production.INFO: Invoice::sendInvoice(1,5,2024-12-10,2025-01-10,billing@onswitchit.ca)
[2025-01-10 04:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 04:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 04:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 04:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 04:30:04] Production.INFO: start Date =2024-12-10 EndDate =2025-01-09 23:59:59
[2025-01-10 04:30:04] Production.INFO: ==10010== Lock acquired, processing the job...
[2025-01-10 04:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 04:30:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:30:04] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-01-10 04:30:04] Production.INFO: InvoiceTemplate->Terms =
This a summary of your subscription and usage charges for this billing period. Detailed charges, such as a list of all billable calls, can be found on subsequent pages.
[2025-01-10 04:30:04] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-01-10 04:30:04] Production.INFO: AlreadyBilled
[2025-01-10 04:30:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:30:04] Production.INFO: original start date ==>2024-12-10 changed start date ==>2024-12-10 00:00:00 original end date ==>2025-01-09 23:59:59 changed end date ==>2025-01-09 23:59:59
[2025-01-10 04:30:04] Production.INFO: Date 2025-01-09
[2025-01-10 04:30:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:30:04] Production.INFO: ==10000== Releasing lock...
[2025-01-10 04:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 04:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 04:30:04] Production.INFO: Invoice::getAccountUsageTotal(1,5,2024-12-10,2025-01-09 23:59:59)
[2025-01-10 04:30:04] Production.INFO: TotalCharges - 0
[2025-01-10 04:30:04] Production.INFO: TotalUsageCharges - 0.00
[2025-01-10 04:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:30:04] Production.INFO: Date 2025-01-10
[2025-01-10 04:30:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:30:04] Production.INFO: Usage Over
[2025-01-10 04:30:04] Production.INFO: Total Charge 0
[2025-01-10 04:30:04] Production.INFO: Call prc_getAccountSubscription(5,0)
[2025-01-10 04:30:04] Production.INFO: SUBSCRIPTION 7
[2025-01-10 04:30:04] Production.INFO: ============================Subscription Start =================
[2025-01-10 04:30:04] Production.INFO: SubscriptionID - 1
[2025-01-10 04:30:04] Production.INFO: CreateAllLog End
[2025-01-10 04:30:04] Production.INFO: isAdvanceSubscription - 1
[2025-01-10 04:30:04] Production.INFO: count ==21
[2025-01-10 04:30:04] Production.INFO: SubscriptionStartDate =2025-01-10 - SubscriptionEndDate = 2025-02-09
[2025-01-10 04:30:04] Production.INFO: NewNextChargeDate =2025-02-09 00:00:00
[2025-01-10 04:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:30:04] Production.INFO: count ==21
[2025-01-10 04:30:04] Production.INFO: EndDate =2025-01-09 00:00:00
[2025-01-10 04:30:04] Production.INFO: NewEndDate1 =2025-01-10
[2025-01-10 04:30:04] Production.INFO: SubscriptionDate
[2025-01-10 04:30:04] Production.INFO: Array
(
[StartDate] => 2025-01-10
[EndDate] => 2025-02-09 00:00:00
[AlreadyCharged] => 0
)
[2025-01-10 04:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214479') start
[2025-01-10 04:30:04] Production.ERROR: done
[2025-01-10 04:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 04:30:04] Production.INFO: AccountSubscription StartDate 2017-02-10 StartDate 2024-12-10
[2025-01-10 04:30:04] Production.INFO: SubscriptionID - 2025-01-10=====2025-02-09 00:00:00
[2025-01-10 04:30:04] Production.INFO: AccountSubscriptionID - 3 === 2017-02-10=====2026-01-10
[2025-01-10 04:30:04] Production.INFO: regular Advance Subscription
[2025-01-10 04:30:04] Production.INFO: First Time False 2017-02-10 2025-01-10
[2025-01-10 04:30:04] Production.INFO: StartDate 2025-01-10 AccountSubscription->StartDate 2017-02-10 EndDate 2025-02-09 00:00:00 AccountSubscription->EndDate 2026-01-10
[2025-01-10 04:30:04] Production.ERROR: done
[2025-01-10 04:30:04] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-10 04:30:04] Production.INFO: AccountSubscription::getSubscriptionAmount(3,2025-01-10,2025-02-09 00:00:00,,0)
[2025-01-10 04:30:04] Production.INFO: SubscriptionCharge - 5
[2025-01-10 04:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 04:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14214480', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 04:30:04] Production.INFO: Already Invoice Subscription 0
[2025-01-10 04:30:04] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(5,1,1,2025-01-10,2025-02-09 00:00:00,License for a Pay As You Go Cloud Phone extension (DMCi),25,5,5,3)
[2025-01-10 04:30:04] Production.INFO: DiscountAmount 0.000000
[2025-01-10 04:30:04] Production.INFO: DiscountType
[2025-01-10 04:30:04] Production.INFO: SubscriptionCharge 25
[2025-01-10 04:30:04] Production.INFO: New SubscriptionCharge 25
[2025-01-10 04:30:04] Production.INFO: TotalSubscriptionCharge - 25.00
[2025-01-10 04:30:04] Production.INFO: ============================Subscription End =================
[2025-01-10 04:30:04] Production.INFO: ============================Subscription Start =================
[2025-01-10 04:30:04] Production.INFO: SubscriptionID - 4
[2025-01-10 04:30:04] Production.INFO: isAdvanceSubscription - 4
[2025-01-10 04:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214479') end
[2025-01-10 04:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 04:30:04] Production.INFO: 1
[2025-01-10 04:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 04:30:04] Production.INFO: SubscriptionStartDate =2025-01-10 - SubscriptionEndDate = 2025-02-09
[2025-01-10 04:30:04] Production.INFO: NewNextChargeDate =2025-02-09 00:00:00
[2025-01-10 04:30:04] Production.INFO: EndDate =2025-01-09 00:00:00
[2025-01-10 04:30:04] Production.INFO: NewEndDate1 =2025-01-10
[2025-01-10 04:30:04] Production.ERROR: done
[2025-01-10 04:30:04] Production.INFO: SubscriptionDate
[2025-01-10 04:30:04] Production.INFO: Array
(
[StartDate] => 2025-01-10
[EndDate] => 2025-02-09 00:00:00
[AlreadyCharged] => 0
)
[2025-01-10 04:30:04] Production.INFO: AccountSubscription StartDate 2017-02-10 StartDate 2024-12-10
[2025-01-10 04:30:04] Production.INFO: SubscriptionID - 2025-01-10=====2025-02-09 00:00:00
[2025-01-10 04:30:04] Production.INFO: AccountSubscriptionID - 6 === 2017-02-10=====2026-01-10
[2025-01-10 04:30:04] Production.INFO: regular Advance Subscription
[2025-01-10 04:30:04] Production.INFO: First Time False 2017-02-10 2025-01-10
[2025-01-10 04:30:04] Production.INFO: StartDate 2025-01-10 AccountSubscription->StartDate 2017-02-10 EndDate 2025-02-09 00:00:00 AccountSubscription->EndDate 2026-01-10
[2025-01-10 04:30:04] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-10 04:30:04] Production.INFO: AccountSubscription::getSubscriptionAmount(6,2025-01-10,2025-02-09 00:00:00,,0)
[2025-01-10 04:30:04] Production.INFO: SubscriptionCharge - 0
[2025-01-10 04:30:04] Production.INFO: Already Invoice Subscription 0
[2025-01-10 04:30:04] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(5,1,4,2025-01-10,2025-02-09 00:00:00,e911 address registration (1448 LAWRENCE AVE E STE 300 TORONTO, ON M4A2S8),0,0,1,6)
[2025-01-10 04:30:04] Production.INFO: DiscountAmount 0.000000
[2025-01-10 04:30:04] Production.INFO: DiscountType
[2025-01-10 04:30:04] Production.INFO: SubscriptionCharge 0
[2025-01-10 04:30:04] Production.INFO: New SubscriptionCharge 0
[2025-01-10 04:30:04] Production.INFO: TotalSubscriptionCharge - 0.00
[2025-01-10 04:30:04] Production.INFO: ============================Subscription End =================
[2025-01-10 04:30:04] Production.INFO: ============================Subscription Start =================
[2025-01-10 04:30:04] Production.INFO: SubscriptionID - 24
[2025-01-10 04:30:04] Production.INFO: Account Balance End.
[2025-01-10 04:30:04] Production.INFO: ==10010== Releasing lock...
[2025-01-10 04:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 04:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 04:30:04] Production.INFO: SubscriptionID - 2024-12-10=====2025-01-09
[2025-01-10 04:30:04] Production.INFO: AccountSubscriptionID - 475 === 2020-03-17=====2020-05-28
[2025-01-10 04:30:04] Production.INFO: ============================Subscription End =================
[2025-01-10 04:30:04] Production.INFO: ============================Subscription Start =================
[2025-01-10 04:30:04] Production.INFO: SubscriptionID - 24
[2025-01-10 04:30:04] Production.INFO: SubscriptionID - 2024-12-10=====2025-01-09
[2025-01-10 04:30:04] Production.INFO: AccountSubscriptionID - 492 === 2020-05-28=====2020-07-28
[2025-01-10 04:30:04] Production.INFO: ============================Subscription End =================
[2025-01-10 04:30:04] Production.INFO: ============================Subscription Start =================
[2025-01-10 04:30:04] Production.INFO: SubscriptionID - 8
[2025-01-10 04:30:04] Production.INFO: isAdvanceSubscription - 8
[2025-01-10 04:30:04] Production.ERROR: CronJobId end 12
[2025-01-10 04:30:04] Production.INFO: ==10004== Releasing lock...
[2025-01-10 04:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 04:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 04:30:04] Production.INFO: SubscriptionStartDate =2025-01-10 - SubscriptionEndDate = 2025-02-09
[2025-01-10 04:30:04] Production.INFO: NewNextChargeDate =2025-02-09 00:00:00
[2025-01-10 04:30:04] Production.INFO: EndDate =2025-01-09 00:00:00
[2025-01-10 04:30:04] Production.INFO: NewEndDate1 =2025-01-10
[2025-01-10 04:30:04] Production.INFO: SubscriptionDate
[2025-01-10 04:30:04] Production.INFO: Array
(
[StartDate] => 2025-01-10
[EndDate] => 2025-02-09 00:00:00
[AlreadyCharged] => 0
)
[2025-01-10 04:30:04] Production.INFO: AccountSubscription StartDate 2021-02-09 StartDate 2024-12-10
[2025-01-10 04:30:04] Production.INFO: SubscriptionID - 2025-01-10=====2025-02-09 00:00:00
[2025-01-10 04:30:04] Production.INFO: AccountSubscriptionID - 568 === 2021-02-09=====2026-01-10
[2025-01-10 04:30:04] Production.INFO: regular Advance Subscription
[2025-01-10 04:30:04] Production.INFO: First Time False 2021-02-09 2025-01-10
[2025-01-10 04:30:04] Production.INFO: StartDate 2025-01-10 AccountSubscription->StartDate 2021-02-09 EndDate 2025-02-09 00:00:00 AccountSubscription->EndDate 2026-01-10
[2025-01-10 04:30:04] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-10 04:30:04] Production.INFO: AccountSubscription::getSubscriptionAmount(568,2025-01-10,2025-02-09 00:00:00,,0)
[2025-01-10 04:30:04] Production.INFO: SubscriptionCharge - 5
[2025-01-10 04:30:04] Production.INFO: Already Invoice Subscription 0
[2025-01-10 04:30:04] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(5,1,8,2025-01-10,2025-02-09 00:00:00,Additional Toll Free DID (18336210750),5,5,1,568)
[2025-01-10 04:30:04] Production.INFO: DiscountAmount 0.000000
[2025-01-10 04:30:04] Production.INFO: DiscountType
[2025-01-10 04:30:04] Production.INFO: SubscriptionCharge 5
[2025-01-10 04:30:04] Production.INFO: New SubscriptionCharge 5
[2025-01-10 04:30:04] Production.INFO: TotalSubscriptionCharge - 5.00
[2025-01-10 04:30:04] Production.INFO: ============================Subscription End =================
[2025-01-10 04:30:04] Production.INFO: ============================Subscription Start =================
[2025-01-10 04:30:04] Production.INFO: SubscriptionID - 24
[2025-01-10 04:30:04] Production.INFO: SubscriptionID - 2024-12-10=====2025-01-09
[2025-01-10 04:30:04] Production.INFO: AccountSubscriptionID - 569 === 2021-02-09=====2026-01-10
[2025-01-10 04:30:04] Production.INFO: regular Subscription
[2025-01-10 04:30:04] Production.INFO: First Time False 2021-02-09 2024-12-10
[2025-01-10 04:30:04] Production.INFO: StartDate 2024-12-10 AccountSubscription->StartDate 2021-02-09 EndDate 2025-01-09 AccountSubscription->EndDate 2026-01-10
[2025-01-10 04:30:04] Production.INFO: days diff - 31 subscription days 31 quarter days 92
[2025-01-10 04:30:04] Production.INFO: AccountSubscription::getSubscriptionAmount(569,2024-12-10,2025-01-09,,0)
[2025-01-10 04:30:04] Production.INFO: SubscriptionCharge - -10
[2025-01-10 04:30:04] Production.INFO: Already Invoice Subscription 0
[2025-01-10 04:30:04] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(5,1,24,2024-12-10,2025-01-09,Loyalty discount - $10/month - Never expires (XR),-10,-10,1,569)
[2025-01-10 04:30:04] Production.INFO: DiscountAmount 0.000000
[2025-01-10 04:30:04] Production.INFO: DiscountType
[2025-01-10 04:30:04] Production.INFO: SubscriptionCharge -10
[2025-01-10 04:30:04] Production.INFO: New SubscriptionCharge -10
[2025-01-10 04:30:04] Production.INFO: TotalSubscriptionCharge - -10.00
[2025-01-10 04:30:04] Production.INFO: ============================Subscription End =================
[2025-01-10 04:30:04] Production.INFO: ============================Subscription Start =================
[2025-01-10 04:30:04] Production.INFO: SubscriptionID - 32
[2025-01-10 04:30:04] Production.INFO: isAdvanceSubscription - 32
[2025-01-10 04:30:05] Production.INFO: SubscriptionStartDate =2025-01-10 - SubscriptionEndDate = 2025-02-09
[2025-01-10 04:30:05] Production.INFO: NewNextChargeDate =2025-02-09 00:00:00
[2025-01-10 04:30:05] Production.INFO: EndDate =2025-01-09 00:00:00
[2025-01-10 04:30:05] Production.INFO: NewEndDate1 =2025-01-10
[2025-01-10 04:30:05] Production.INFO: SubscriptionDate
[2025-01-10 04:30:05] Production.INFO: Array
(
[StartDate] => 2025-01-10
[EndDate] => 2025-02-09 00:00:00
[AlreadyCharged] => 0
)
[2025-01-10 04:30:05] Production.INFO: AccountSubscription StartDate 2022-07-26 StartDate 2024-12-10
[2025-01-10 04:30:05] Production.INFO: SubscriptionID - 2025-01-10=====2025-02-09 00:00:00
[2025-01-10 04:30:05] Production.INFO: AccountSubscriptionID - 657 === 2022-07-26=====2026-01-10
[2025-01-10 04:30:05] Production.INFO: regular Advance Subscription
[2025-01-10 04:30:05] Production.INFO: First Time False 2022-07-26 2025-01-10
[2025-01-10 04:30:05] Production.INFO: StartDate 2025-01-10 AccountSubscription->StartDate 2022-07-26 EndDate 2025-02-09 00:00:00 AccountSubscription->EndDate 2026-01-10
[2025-01-10 04:30:05] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-10 04:30:05] Production.INFO: AccountSubscription::getSubscriptionAmount(657,2025-01-10,2025-02-09 00:00:00,,0)
[2025-01-10 04:30:05] Production.INFO: SubscriptionCharge - 6.29
[2025-01-10 04:30:05] Production.INFO: Already Invoice Subscription 0
[2025-01-10 04:30:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(5,1,32,2025-01-10,2025-02-09 00:00:00,Allows Microsoft Teams app to be used to make and receive calls via Cloud Phone.,18.87,6.29,3,657)
[2025-01-10 04:30:05] Production.INFO: DiscountAmount 0.000000
[2025-01-10 04:30:05] Production.INFO: DiscountType Flat
[2025-01-10 04:30:05] Production.INFO: SubscriptionCharge 18.87
[2025-01-10 04:30:05] Production.INFO: New SubscriptionCharge 18.87
[2025-01-10 04:30:05] Production.INFO: TotalSubscriptionCharge - 18.87
[2025-01-10 04:30:05] Production.INFO: ============================Subscription End =================
[2025-01-10 04:30:05] Production.INFO: SUBSCRIPTION Over
[2025-01-10 04:30:05] Production.INFO: Call prc_getAccountOneOffCharge(5,0,2024-12-10,2025-01-10 23:59:59)
[2025-01-10 04:30:05] Production.INFO: AccountOneOffCharge 0
[2025-01-10 04:30:05] Production.INFO: AccountOneOffCharge Over
[2025-01-10 04:30:05] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-01-10 04:30:05] Production.INFO: New UsageDates 2024-12-10 - 2025-01-09 23:59:59
[2025-01-10 04:30:05] Production.INFO: SubTotal 38.87
[2025-01-10 04:30:05] Production.INFO: SubTotalWithouttaxTotal 0
[2025-01-10 04:30:05] Production.INFO: AccountOneOffCharge Tax Over
[2025-01-10 04:30:05] Production.INFO: TotalTax 5.0531
[2025-01-10 04:30:05] Production.INFO: InvoiceGrandTotal 43.9231
[2025-01-10 04:30:05] Production.INFO: InvoiceTaxAmount 5.05
[2025-01-10 04:30:05] Production.INFO: GrandTotal 43.92
[2025-01-10 04:30:05] Production.INFO: SubTotal 38.87
[2025-01-10 04:30:05] Production.INFO: TotalDue -11.30
[2025-01-10 04:30:05] Production.INFO: Reseller ==> 0
[2025-01-10 04:30:05] Production.INFO: original start date ==>2024-12-10 changed start date ==>2024-12-10 00:00:00 original end date ==>2025-01-09 23:59:59 changed end date ==>2025-01-09 23:59:59
[2025-01-10 04:30:05] Production.INFO: CALL prc_getInvoiceUsage(1,'5','0','1','2024-12-10 00:00:00','2025-01-09 23:59:59',0)
[2025-01-10 04:30:05] Production.INFO: PDF Generation start
[2025-01-10 04:30:05] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/5/Invoices/2025/01/10/Invoice-dmci-inv11342-from-12-10-2024-to-01-09-2025-10268.pdf
[2025-01-10 04:30:05] Production.INFO: On Linux
[2025-01-10 04:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 01:30:06
[end_date_ymd] => 2025-01-10 04:30:06
[RateCDR] => 1
)
[2025-01-10 04:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 01:30:06' and `end` < '2025-01-10 04:30:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 04:30:07] Production.INFO: /var/www/html/onswitch.neon.service/wkhtmltox/bin/wkhtmltopdf --header-spacing 3 --footer-spacing 1 --header-html --footer-html "/var/www/tmp/1/5/Invoices/2025/01/10/footer-dmci-inv11342-from-12-10-2024-to-01-09-2025-10268.html" "/var/www/tmp/1/5/Invoices/2025/01/10/Invoice-dmci-inv11342-from-12-10-2024-to-01-09-2025-10268.html" "/var/www/tmp/1/5/Invoices/2025/01/10/Invoice-dmci-inv11342-from-12-10-2024-to-01-09-2025-10268.pdf"
[2025-01-10 04:30:07] Production.INFO:
[2025-01-10 04:30:07] Production.INFO: /var/www/tmp/1/5/Invoices/2025/01/10/Invoice-dmci-inv11342-from-12-10-2024-to-01-09-2025-10268.html
[2025-01-10 04:30:07] Production.INFO: /var/www/tmp/1/5/Invoices/2025/01/10/header-dmci-inv11342-from-12-10-2024-to-01-09-2025-10268.html
[2025-01-10 04:30:07] Production.INFO: /var/www/tmp/1/5/Invoices/2025/01/10/footer-dmci-inv11342-from-12-10-2024-to-01-09-2025-10268.html
[2025-01-10 04:30:07] Production.INFO: Invoice generation PDF path
[2025-01-10 04:30:07] Production.INFO: PDF fullPath 1/5/Invoices/2025/01/10/Invoice-dmci-inv11342-from-12-10-2024-to-01-09-2025-10268.pdf
[2025-01-10 04:30:07] Production.INFO: Generate Usage File Start
[2025-01-10 04:30:07] Production.INFO: Usage File fullPath 1/5/InvoiceUsageFile/2025/01/10/dmci-10-12-2024-00-00-00-TO-09-01-2025-23-59-59_3833__7b234960-cf35-11ef-99e6-591508edbd0c.csv
[2025-01-10 04:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14214480', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 04:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 04:30:09] Production.INFO: ProcessCDR(1,14214480,1,1,2)
[2025-01-10 04:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14214480,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14214480,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:30:09] Production.INFO: ==10008== Releasing lock...
[2025-01-10 04:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 04:30:09] Production.INFO: 26 MB #Memory Used#
[2025-01-10 04:30:11] Production.INFO: Sending Email to Staff over
[2025-01-10 04:30:11] Production.INFO: Email Status 1
[2025-01-10 04:30:11] Production.INFO: Sending Email to Customer
[2025-01-10 04:30:12] Production.INFO: Email Try 10268 1
[2025-01-10 04:30:12] Production.INFO: =========== Email Sending over ===========
[2025-01-10 04:30:12] Production.INFO: =========== Returning as Success =========== AccountID 5
[2025-01-10 04:30:12] Production.INFO: Invoice::sendInvoice done
[2025-01-10 04:30:12] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-01-10 04:30:12] Production.INFO: Invoice Committed AccountID = 5
[2025-01-10 04:30:12] Production.INFO: =========== Updating InvoiceDate ===========
[2025-01-10 04:30:12] Production.INFO: NextInvoice 2025-01-10 2025-02-09
[2025-01-10 04:30:12] Production.INFO: new dates
[2025-01-10 04:30:12] Production.INFO: LastInvoiceDate 2025-01-10 NextInvoiceDate 2025-02-10
[2025-01-10 04:30:12] Production.INFO: LastChargeDate 2025-01-10 NextChargeDate 2025-02-09
[2025-01-10 04:30:12] Production.INFO: =========== Updated InvoiceDate ===========
[2025-01-10 04:30:12] Production.INFO: ========================== Invoice Send End =============================
[2025-01-10 04:30:12] Production.INFO: AccountID =13 FirstInvoiceSend 0
[2025-01-10 04:30:12] Production.INFO: LastInvoiceDate 2024-12-10 NextInvoiceDate 2025-01-10
[2025-01-10 04:30:12] Production.INFO: LastChargeDate 2024-12-10 NextChargeDate 2025-01-09
[2025-01-10 04:30:12] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-01-10 04:30:12] Production.INFO: ========================== Invoice Send Start =============================
[2025-01-10 04:30:12] Production.INFO: Invoice::sendInvoice(1,13,2024-12-10,2025-01-10,billing@onswitchit.ca)
[2025-01-10 04:30:12] Production.INFO: start Date =2024-12-10 EndDate =2025-01-09 23:59:59
[2025-01-10 04:30:12] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-01-10 04:30:12] Production.INFO: InvoiceTemplate->Terms =
This a summary of your subscription and usage charges for this billing period. Detailed charges, such as a list of all billable calls, can be found on subsequent pages.
[2025-01-10 04:30:12] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-01-10 04:30:12] Production.INFO: AlreadyBilled
[2025-01-10 04:30:12] Production.INFO: Reseller ==> 0
[2025-01-10 04:30:12] Production.INFO: original start date ==>2024-12-10 changed start date ==>2024-12-10 00:00:00 original end date ==>2025-01-09 23:59:59 changed end date ==>2025-01-09 23:59:59
[2025-01-10 04:30:12] Production.INFO: Invoice::getAccountUsageTotal(1,13,2024-12-10,2025-01-09 23:59:59)
[2025-01-10 04:30:12] Production.INFO: TotalCharges - 0
[2025-01-10 04:30:12] Production.INFO: TotalUsageCharges - 0.00
[2025-01-10 04:30:12] Production.INFO: Usage Over
[2025-01-10 04:30:12] Production.INFO: Call prc_getAccountSubscription(13,0)
[2025-01-10 04:30:12] Production.INFO: SUBSCRIPTION 4
[2025-01-10 04:30:12] Production.INFO: ============================Subscription Start =================
[2025-01-10 04:30:12] Production.INFO: SubscriptionID - 1
[2025-01-10 04:30:12] Production.INFO: isAdvanceSubscription - 1
[2025-01-10 04:30:12] Production.INFO: SubscriptionStartDate =2025-01-10 - SubscriptionEndDate = 2025-02-09
[2025-01-10 04:30:12] Production.INFO: NewNextChargeDate =2025-02-09 00:00:00
[2025-01-10 04:30:12] Production.INFO: EndDate =2025-01-09 00:00:00
[2025-01-10 04:30:12] Production.INFO: NewEndDate1 =2025-01-10
[2025-01-10 04:30:12] Production.INFO: SubscriptionDate
[2025-01-10 04:30:12] Production.INFO: Array
(
[StartDate] => 2025-01-10
[EndDate] => 2025-02-09 00:00:00
[AlreadyCharged] => 0
)
[2025-01-10 04:30:12] Production.INFO: AccountSubscription StartDate 2017-03-10 StartDate 2024-12-10
[2025-01-10 04:30:12] Production.INFO: SubscriptionID - 2025-01-10=====2025-02-09 00:00:00
[2025-01-10 04:30:12] Production.INFO: AccountSubscriptionID - 14 === 2017-03-10=====2026-01-10
[2025-01-10 04:30:12] Production.INFO: regular Advance Subscription
[2025-01-10 04:30:12] Production.INFO: First Time False 2017-03-10 2025-01-10
[2025-01-10 04:30:12] Production.INFO: StartDate 2025-01-10 AccountSubscription->StartDate 2017-03-10 EndDate 2025-02-09 00:00:00 AccountSubscription->EndDate 2026-01-10
[2025-01-10 04:30:12] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-10 04:30:12] Production.INFO: AccountSubscription::getSubscriptionAmount(14,2025-01-10,2025-02-09 00:00:00,,0)
[2025-01-10 04:30:12] Production.INFO: SubscriptionCharge - 7
[2025-01-10 04:30:12] Production.INFO: Already Invoice Subscription 0
[2025-01-10 04:30:12] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(13,1,1,2025-01-10,2025-02-09 00:00:00,License for a Pay As You Go Cloud Phone extension,7,7,1,14)
[2025-01-10 04:30:12] Production.INFO: DiscountAmount 0.000000
[2025-01-10 04:30:12] Production.INFO: DiscountType
[2025-01-10 04:30:12] Production.INFO: SubscriptionCharge 7
[2025-01-10 04:30:12] Production.INFO: New SubscriptionCharge 7
[2025-01-10 04:30:12] Production.INFO: TotalSubscriptionCharge - 7.00
[2025-01-10 04:30:12] Production.INFO: ============================Subscription End =================
[2025-01-10 04:30:12] Production.INFO: ============================Subscription Start =================
[2025-01-10 04:30:12] Production.INFO: SubscriptionID - 4
[2025-01-10 04:30:12] Production.INFO: isAdvanceSubscription - 4
[2025-01-10 04:30:12] Production.INFO: SubscriptionStartDate =2025-01-10 - SubscriptionEndDate = 2025-02-09
[2025-01-10 04:30:12] Production.INFO: NewNextChargeDate =2025-02-09 00:00:00
[2025-01-10 04:30:12] Production.INFO: EndDate =2025-01-09 00:00:00
[2025-01-10 04:30:12] Production.INFO: NewEndDate1 =2025-01-10
[2025-01-10 04:30:12] Production.INFO: SubscriptionDate
[2025-01-10 04:30:12] Production.INFO: Array
(
[StartDate] => 2025-01-10
[EndDate] => 2025-02-09 00:00:00
[AlreadyCharged] => 0
)
[2025-01-10 04:30:12] Production.INFO: AccountSubscription StartDate 2017-03-10 StartDate 2024-12-10
[2025-01-10 04:30:12] Production.INFO: SubscriptionID - 2025-01-10=====2025-02-09 00:00:00
[2025-01-10 04:30:12] Production.INFO: AccountSubscriptionID - 15 === 2017-03-10=====2026-01-10
[2025-01-10 04:30:12] Production.INFO: regular Advance Subscription
[2025-01-10 04:30:12] Production.INFO: First Time False 2017-03-10 2025-01-10
[2025-01-10 04:30:12] Production.INFO: StartDate 2025-01-10 AccountSubscription->StartDate 2017-03-10 EndDate 2025-02-09 00:00:00 AccountSubscription->EndDate 2026-01-10
[2025-01-10 04:30:12] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-10 04:30:12] Production.INFO: AccountSubscription::getSubscriptionAmount(15,2025-01-10,2025-02-09 00:00:00,,0)
[2025-01-10 04:30:12] Production.INFO: SubscriptionCharge - 2.5
[2025-01-10 04:30:12] Production.INFO: Already Invoice Subscription 0
[2025-01-10 04:30:12] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(13,1,4,2025-01-10,2025-02-09 00:00:00,e911 address registration (14169233122 - 1164 YONGE ST TORONTO, ON M4W2L9),2.5,2.5,1,15)
[2025-01-10 04:30:12] Production.INFO: DiscountAmount 0.000000
[2025-01-10 04:30:12] Production.INFO: DiscountType
[2025-01-10 04:30:12] Production.INFO: SubscriptionCharge 2.5
[2025-01-10 04:30:12] Production.INFO: New SubscriptionCharge 2.5
[2025-01-10 04:30:12] Production.INFO: TotalSubscriptionCharge - 2.50
[2025-01-10 04:30:12] Production.INFO: ============================Subscription End =================
[2025-01-10 04:30:12] Production.INFO: ============================Subscription Start =================
[2025-01-10 04:30:12] Production.INFO: SubscriptionID - 8
[2025-01-10 04:30:12] Production.INFO: isAdvanceSubscription - 8
[2025-01-10 04:30:12] Production.INFO: SubscriptionStartDate =2025-01-10 - SubscriptionEndDate = 2025-02-09
[2025-01-10 04:30:12] Production.INFO: NewNextChargeDate =2025-02-09 00:00:00
[2025-01-10 04:30:12] Production.INFO: EndDate =2025-01-09 00:00:00
[2025-01-10 04:30:12] Production.INFO: NewEndDate1 =2025-01-10
[2025-01-10 04:30:12] Production.INFO: SubscriptionDate
[2025-01-10 04:30:12] Production.INFO: Array
(
[StartDate] => 2025-01-10
[EndDate] => 2025-02-09 00:00:00
[AlreadyCharged] => 0
)
[2025-01-10 04:30:12] Production.INFO: AccountSubscription StartDate 2019-05-06 StartDate 2024-12-10
[2025-01-10 04:30:12] Production.INFO: SubscriptionID - 2025-01-10=====2025-02-09 00:00:00
[2025-01-10 04:30:12] Production.INFO: AccountSubscriptionID - 396 === 2019-05-06=====2026-01-10
[2025-01-10 04:30:12] Production.INFO: regular Advance Subscription
[2025-01-10 04:30:12] Production.INFO: First Time False 2019-05-06 2025-01-10
[2025-01-10 04:30:12] Production.INFO: StartDate 2025-01-10 AccountSubscription->StartDate 2019-05-06 EndDate 2025-02-09 00:00:00 AccountSubscription->EndDate 2026-01-10
[2025-01-10 04:30:12] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-10 04:30:12] Production.INFO: AccountSubscription::getSubscriptionAmount(396,2025-01-10,2025-02-09 00:00:00,,0)
[2025-01-10 04:30:12] Production.INFO: SubscriptionCharge - 3
[2025-01-10 04:30:12] Production.INFO: Already Invoice Subscription 0
[2025-01-10 04:30:12] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(13,1,8,2025-01-10,2025-02-09 00:00:00,Additional DID (14167850655),3,3,1,396)
[2025-01-10 04:30:12] Production.INFO: DiscountAmount 0.000000
[2025-01-10 04:30:12] Production.INFO: DiscountType
[2025-01-10 04:30:12] Production.INFO: SubscriptionCharge 3
[2025-01-10 04:30:12] Production.INFO: New SubscriptionCharge 3
[2025-01-10 04:30:12] Production.INFO: TotalSubscriptionCharge - 3.00
[2025-01-10 04:30:12] Production.INFO: ============================Subscription End =================
[2025-01-10 04:30:12] Production.INFO: ============================Subscription Start =================
[2025-01-10 04:30:12] Production.INFO: SubscriptionID - 8
[2025-01-10 04:30:12] Production.INFO: isAdvanceSubscription - 8
[2025-01-10 04:30:12] Production.INFO: SubscriptionStartDate =2025-01-10 - SubscriptionEndDate = 2025-02-09
[2025-01-10 04:30:12] Production.INFO: NewNextChargeDate =2025-02-09 00:00:00
[2025-01-10 04:30:12] Production.INFO: EndDate =2025-01-09 00:00:00
[2025-01-10 04:30:12] Production.INFO: NewEndDate1 =2025-01-10
[2025-01-10 04:30:12] Production.INFO: SubscriptionDate
[2025-01-10 04:30:12] Production.INFO: Array
(
[StartDate] => 2025-01-10
[EndDate] => 2025-02-09 00:00:00
[AlreadyCharged] => 0
)
[2025-01-10 04:30:12] Production.INFO: AccountSubscription StartDate 2024-11-05 StartDate 2024-12-10
[2025-01-10 04:30:12] Production.INFO: SubscriptionID - 2025-01-10=====2025-02-09 00:00:00
[2025-01-10 04:30:12] Production.INFO: AccountSubscriptionID - 1238 === 2024-11-05=====2026-01-10
[2025-01-10 04:30:12] Production.INFO: regular Advance Subscription
[2025-01-10 04:30:12] Production.INFO: First Time False 2024-11-05 2025-01-10
[2025-01-10 04:30:12] Production.INFO: StartDate 2025-01-10 AccountSubscription->StartDate 2024-11-05 EndDate 2025-02-09 00:00:00 AccountSubscription->EndDate 2026-01-10
[2025-01-10 04:30:12] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-10 04:30:12] Production.INFO: AccountSubscription::getSubscriptionAmount(1238,2025-01-10,2025-02-09 00:00:00,,0)
[2025-01-10 04:30:12] Production.INFO: SubscriptionCharge - 2
[2025-01-10 04:30:12] Production.INFO: Already Invoice Subscription 0
[2025-01-10 04:30:12] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(13,1,8,2025-01-10,2025-02-09 00:00:00,Additional DID (14168770759),2,2,1,1238)
[2025-01-10 04:30:12] Production.INFO: DiscountAmount 0.000000
[2025-01-10 04:30:12] Production.INFO: DiscountType Flat
[2025-01-10 04:30:12] Production.INFO: SubscriptionCharge 2
[2025-01-10 04:30:12] Production.INFO: New SubscriptionCharge 2
[2025-01-10 04:30:12] Production.INFO: TotalSubscriptionCharge - 2.00
[2025-01-10 04:30:12] Production.INFO: ============================Subscription End =================
[2025-01-10 04:30:12] Production.INFO: SUBSCRIPTION Over
[2025-01-10 04:30:12] Production.INFO: Call prc_getAccountOneOffCharge(13,0,2024-12-10,2025-01-10 23:59:59)
[2025-01-10 04:30:12] Production.INFO: AccountOneOffCharge 0
[2025-01-10 04:30:12] Production.INFO: AccountOneOffCharge Over
[2025-01-10 04:30:12] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-01-10 04:30:12] Production.INFO: New UsageDates 2024-12-10 - 2025-01-09 23:59:59
[2025-01-10 04:30:12] Production.INFO: SubTotal 14.5
[2025-01-10 04:30:12] Production.INFO: SubTotalWithouttaxTotal 0
[2025-01-10 04:30:12] Production.INFO: AccountOneOffCharge Tax Over
[2025-01-10 04:30:12] Production.INFO: TotalTax 1.885
[2025-01-10 04:30:12] Production.INFO: InvoiceGrandTotal 16.385
[2025-01-10 04:30:12] Production.INFO: InvoiceTaxAmount 1.89
[2025-01-10 04:30:12] Production.INFO: GrandTotal 16.39
[2025-01-10 04:30:12] Production.INFO: SubTotal 14.50
[2025-01-10 04:30:12] Production.INFO: TotalDue 1.88
[2025-01-10 04:30:12] Production.INFO: Reseller ==> 0
[2025-01-10 04:30:12] Production.INFO: original start date ==>2024-12-10 changed start date ==>2024-12-10 00:00:00 original end date ==>2025-01-09 23:59:59 changed end date ==>2025-01-09 23:59:59
[2025-01-10 04:30:12] Production.INFO: CALL prc_getInvoiceUsage(1,'13','0','1','2024-12-10 00:00:00','2025-01-09 23:59:59',0)
[2025-01-10 04:30:13] Production.INFO: PDF Generation start
[2025-01-10 04:30:13] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/13/Invoices/2025/01/10/Invoice-rosedale-diner-inv11343-from-12-10-2024-to-01-09-2025-10269.pdf
[2025-01-10 04:30:13] Production.INFO: On Linux
[2025-01-10 04:30:13] Production.ERROR: Invoice Rollback AccountID = 13
[2025-01-10 04:30:13] Production.ERROR: exception 'ErrorException' with message 'Connection closed by server' in /var/www/html/onswitch.neon.service/vendor/phpseclib/phpseclib/phpseclib/Net/SSH2.php:1009
Stack trace:
#0 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(1024, 'Connection clos...', '/var/www/html/o...', 1009, Array)
#1 /var/www/html/onswitch.neon.service/vendor/phpseclib/phpseclib/phpseclib/Net/SSH2.php(1009): user_error('Connection clos...')
#2 /var/www/html/onswitch.neon.service/vendor/phpseclib/phpseclib/phpseclib/Net/SSH2.php(1820): Net_SSH2->_connect()
#3 [internal function]: Net_SSH2->_login('root', '[SWI]!on!17')
#4 /var/www/html/onswitch.neon.service/vendor/phpseclib/phpseclib/phpseclib/Net/SFTP.php(426): call_user_func_array(Array, Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravelcollective/remote/src/SecLibGateway.php(83): Net_SFTP->login('root', '[SWI]!on!17')
#6 /var/www/html/onswitch.neon.service/vendor/laravelcollective/remote/src/Connection.php(231): Collective\Remote\SecLibGateway->connect('root')
#7 /var/www/html/onswitch.neon.service/vendor/laravelcollective/remote/src/Connection.php(107): Collective\Remote\Connection->getGateway()
#8 [internal function]: Collective\Remote\Connection->run('sudo /var/www/h...', Object(Closure))
#9 /var/www/html/onswitch.neon.service/vendor/laravelcollective/remote/src/RemoteManager.php(188): call_user_func_array(Array, Array)
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Collective\Remote\RemoteManager->__call('run', Array)
#11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Collective\Remote\RemoteManager->run('sudo /var/www/h...', Object(Closure))
#12 /var/www/html/onswitch.neon.service/app/lib/RemoteSSH.php(0): Illuminate\Support\Facades\Facade::__callStatic('run', Array)
#13 /var/www/html/onswitch.neon.service/app/lib/Invoice.php(0): App\Lib\RemoteSSH::run()
#14 /var/www/html/onswitch.neon.service/app/lib/Invoice.php(0): App\Lib\Invoice::generate_pdf()
#15 /var/www/html/onswitch.neon.service/app/lib/Invoice.php(0): App\Lib\Invoice::sendInvoice()
#16 /var/www/html/onswitch.neon.service/app/Console/Commands/InvoiceGenerator.php(0): App\Lib\Invoice::GenerateInvoice()
#17 [internal function]: App\Console\Commands\InvoiceGenerator->fire()
#18 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#20 /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))
#21 /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))
#22 /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))
#23 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\InvoiceGenerator), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#24 /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))
#25 /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))
#26 /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))
#27 {main}
[2025-01-10 04:30:13] Production.INFO: AccountID =50 FirstInvoiceSend 0
[2025-01-10 04:30:13] Production.INFO: LastInvoiceDate 2024-12-10 NextInvoiceDate 2025-01-10
[2025-01-10 04:30:13] Production.INFO: LastChargeDate 2024-12-10 NextChargeDate 2025-01-09
[2025-01-10 04:30:13] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-01-10 04:30:13] Production.INFO: ========================== Invoice Send Start =============================
[2025-01-10 04:30:13] Production.INFO: Invoice::sendInvoice(1,50,2024-12-10,2025-01-10,billing@onswitchit.ca)
[2025-01-10 04:30:13] Production.INFO: start Date =2024-12-10 EndDate =2025-01-09 23:59:59
[2025-01-10 04:30:13] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-01-10 04:30:13] Production.INFO: InvoiceTemplate->Terms =
This a summary of your subscription and usage charges for this billing period. Detailed charges, such as a list of all billable calls, can be found on subsequent pages.
[2025-01-10 04:30:13] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-01-10 04:30:13] Production.INFO: AlreadyBilled
[2025-01-10 04:30:13] Production.INFO: Reseller ==> 0
[2025-01-10 04:30:13] Production.INFO: original start date ==>2024-12-10 changed start date ==>2024-12-10 00:00:00 original end date ==>2025-01-09 23:59:59 changed end date ==>2025-01-09 23:59:59
[2025-01-10 04:30:13] Production.INFO: CompanyGatewayID 1 TotalCharges ==>1.75000000
[2025-01-10 04:30:13] Production.INFO: Invoice::getAccountUsageTotal(1,50,2024-12-10,2025-01-09 23:59:59)
[2025-01-10 04:30:13] Production.INFO: TotalCharges - 1.75
[2025-01-10 04:30:13] Production.INFO: TotalUsageCharges - 1.75
[2025-01-10 04:30:13] Production.INFO: Usage Over
[2025-01-10 04:30:13] Production.INFO: Call prc_getAccountSubscription(50,0)
[2025-01-10 04:30:13] Production.INFO: SUBSCRIPTION 2
[2025-01-10 04:30:13] Production.INFO: ============================Subscription Start =================
[2025-01-10 04:30:13] Production.INFO: SubscriptionID - 1
[2025-01-10 04:30:13] Production.INFO: isAdvanceSubscription - 1
[2025-01-10 04:30:13] Production.INFO: SubscriptionStartDate =2025-01-10 - SubscriptionEndDate = 2025-02-09
[2025-01-10 04:30:13] Production.INFO: NewNextChargeDate =2025-02-09 00:00:00
[2025-01-10 04:30:13] Production.INFO: EndDate =2025-01-09 00:00:00
[2025-01-10 04:30:13] Production.INFO: NewEndDate1 =2025-01-10
[2025-01-10 04:30:13] Production.INFO: SubscriptionDate
[2025-01-10 04:30:13] Production.INFO: Array
(
[StartDate] => 2025-01-10
[EndDate] => 2025-02-09 00:00:00
[AlreadyCharged] => 0
)
[2025-01-10 04:30:13] Production.INFO: AccountSubscription StartDate 2017-12-09 StartDate 2024-12-10
[2025-01-10 04:30:13] Production.INFO: SubscriptionID - 2025-01-10=====2025-02-09 00:00:00
[2025-01-10 04:30:13] Production.INFO: AccountSubscriptionID - 128 === 2017-12-09=====2026-01-10
[2025-01-10 04:30:13] Production.INFO: regular Advance Subscription
[2025-01-10 04:30:13] Production.INFO: First Time False 2017-12-09 2025-01-10
[2025-01-10 04:30:13] Production.INFO: StartDate 2025-01-10 AccountSubscription->StartDate 2017-12-09 EndDate 2025-02-09 00:00:00 AccountSubscription->EndDate 2026-01-10
[2025-01-10 04:30:13] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-10 04:30:13] Production.INFO: AccountSubscription::getSubscriptionAmount(128,2025-01-10,2025-02-09 00:00:00,,0)
[2025-01-10 04:30:13] Production.INFO: SubscriptionCharge - 7
[2025-01-10 04:30:13] Production.INFO: Already Invoice Subscription 0
[2025-01-10 04:30:13] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(50,1,1,2025-01-10,2025-02-09 00:00:00,License for a Pay As You Go Cloud Phone extension,42,7,6,128)
[2025-01-10 04:30:13] Production.INFO: DiscountAmount 0.000000
[2025-01-10 04:30:13] Production.INFO: DiscountType
[2025-01-10 04:30:13] Production.INFO: SubscriptionCharge 42
[2025-01-10 04:30:13] Production.INFO: New SubscriptionCharge 42
[2025-01-10 04:30:13] Production.INFO: TotalSubscriptionCharge - 42.00
[2025-01-10 04:30:13] Production.INFO: ============================Subscription End =================
[2025-01-10 04:30:13] Production.INFO: ============================Subscription Start =================
[2025-01-10 04:30:13] Production.INFO: SubscriptionID - 4
[2025-01-10 04:30:13] Production.INFO: isAdvanceSubscription - 4
[2025-01-10 04:30:13] Production.INFO: SubscriptionStartDate =2025-01-10 - SubscriptionEndDate = 2025-02-09
[2025-01-10 04:30:13] Production.INFO: NewNextChargeDate =2025-02-09 00:00:00
[2025-01-10 04:30:13] Production.INFO: EndDate =2025-01-09 00:00:00
[2025-01-10 04:30:13] Production.INFO: NewEndDate1 =2025-01-10
[2025-01-10 04:30:13] Production.INFO: SubscriptionDate
[2025-01-10 04:30:13] Production.INFO: Array
(
[StartDate] => 2025-01-10
[EndDate] => 2025-02-09 00:00:00
[AlreadyCharged] => 0
)
[2025-01-10 04:30:13] Production.INFO: AccountSubscription StartDate 2017-12-09 StartDate 2024-12-10
[2025-01-10 04:30:13] Production.INFO: SubscriptionID - 2025-01-10=====2025-02-09 00:00:00
[2025-01-10 04:30:13] Production.INFO: AccountSubscriptionID - 129 === 2017-12-09=====2026-01-10
[2025-01-10 04:30:13] Production.INFO: regular Advance Subscription
[2025-01-10 04:30:13] Production.INFO: First Time False 2017-12-09 2025-01-10
[2025-01-10 04:30:13] Production.INFO: StartDate 2025-01-10 AccountSubscription->StartDate 2017-12-09 EndDate 2025-02-09 00:00:00 AccountSubscription->EndDate 2026-01-10
[2025-01-10 04:30:13] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-10 04:30:13] Production.INFO: AccountSubscription::getSubscriptionAmount(129,2025-01-10,2025-02-09 00:00:00,,0)
[2025-01-10 04:30:13] Production.INFO: SubscriptionCharge - 2.5
[2025-01-10 04:30:13] Production.INFO: Already Invoice Subscription 0
[2025-01-10 04:30:13] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(50,1,4,2025-01-10,2025-02-09 00:00:00,e911 address registration (18605166325 - 1616 METROPOLITAN CIR UNIT A TALLAHASSEE, FL 32308),2.5,2.5,1,129)
[2025-01-10 04:30:13] Production.INFO: DiscountAmount 0.000000
[2025-01-10 04:30:13] Production.INFO: DiscountType
[2025-01-10 04:30:13] Production.INFO: SubscriptionCharge 2.5
[2025-01-10 04:30:13] Production.INFO: New SubscriptionCharge 2.5
[2025-01-10 04:30:13] Production.INFO: TotalSubscriptionCharge - 2.50
[2025-01-10 04:30:13] Production.INFO: ============================Subscription End =================
[2025-01-10 04:30:13] Production.INFO: SUBSCRIPTION Over
[2025-01-10 04:30:13] Production.INFO: Call prc_getAccountOneOffCharge(50,0,2024-12-10,2025-01-10 23:59:59)
[2025-01-10 04:30:13] Production.INFO: AccountOneOffCharge 0
[2025-01-10 04:30:13] Production.INFO: AccountOneOffCharge Over
[2025-01-10 04:30:13] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-01-10 04:30:13] Production.INFO: New UsageDates 2024-12-10 - 2025-01-09 23:59:59
[2025-01-10 04:30:13] Production.INFO: SubTotal 46.25
[2025-01-10 04:30:13] Production.INFO: SubTotalWithouttaxTotal 0
[2025-01-10 04:30:13] Production.INFO: AccountOneOffCharge Tax Over
[2025-01-10 04:30:13] Production.INFO: TotalTax 0
[2025-01-10 04:30:13] Production.INFO: InvoiceGrandTotal 46.25
[2025-01-10 04:30:13] Production.INFO: InvoiceTaxAmount 0
[2025-01-10 04:30:13] Production.INFO: GrandTotal 46.25
[2025-01-10 04:30:13] Production.INFO: SubTotal 46.25
[2025-01-10 04:30:13] Production.INFO: TotalDue 186.71
[2025-01-10 04:30:13] Production.INFO: Reseller ==> 0
[2025-01-10 04:30:13] Production.INFO: original start date ==>2024-12-10 changed start date ==>2024-12-10 00:00:00 original end date ==>2025-01-09 23:59:59 changed end date ==>2025-01-09 23:59:59
[2025-01-10 04:30:13] Production.INFO: CALL prc_getInvoiceUsage(1,'50','0','1','2024-12-10 00:00:00','2025-01-09 23:59:59',0)
[2025-01-10 04:30:13] Production.INFO: PDF Generation start
[2025-01-10 04:30:13] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/50/Invoices/2025/01/10/Invoice-j-randall-graham-cpa-inv11343-from-12-10-2024-to-01-09-2025-10270.pdf
[2025-01-10 04:30:13] Production.INFO: On Linux
[2025-01-10 04:30:14] Production.ERROR: CronJobId end10
[2025-01-10 04:30:14] Production.INFO: ==10002== Releasing lock...
[2025-01-10 04:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 04:30:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 04:30:14] 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/50/Invoices/2025/01/10/footer-j-randall-graham-cpa-inv11343-from-12-10-2024-to-01-09-2025-10270.html" "/var/www/tmp/1/50/Invoices/2025/01/10/Invoice-j-randall-graham-cpa-inv11343-from-12-10-2024-to-01-09-2025-10270.html" "/var/www/tmp/1/50/Invoices/2025/01/10/Invoice-j-randall-graham-cpa-inv11343-from-12-10-2024-to-01-09-2025-10270.pdf"
[2025-01-10 04:30:14] Production.INFO:
[2025-01-10 04:30:14] Production.INFO: /var/www/tmp/1/50/Invoices/2025/01/10/Invoice-j-randall-graham-cpa-inv11343-from-12-10-2024-to-01-09-2025-10270.html
[2025-01-10 04:30:14] Production.INFO: /var/www/tmp/1/50/Invoices/2025/01/10/header-j-randall-graham-cpa-inv11343-from-12-10-2024-to-01-09-2025-10270.html
[2025-01-10 04:30:14] Production.INFO: /var/www/tmp/1/50/Invoices/2025/01/10/footer-j-randall-graham-cpa-inv11343-from-12-10-2024-to-01-09-2025-10270.html
[2025-01-10 04:30:14] Production.INFO: Invoice generation PDF path
[2025-01-10 04:30:14] Production.INFO: PDF fullPath 1/50/Invoices/2025/01/10/Invoice-j-randall-graham-cpa-inv11343-from-12-10-2024-to-01-09-2025-10270.pdf
[2025-01-10 04:30:14] Production.INFO: Generate Usage File Start
[2025-01-10 04:30:15] Production.INFO: Usage File fullPath 1/50/InvoiceUsageFile/2025/01/10/j-randall-graham-cpa-10-12-2024-00-00-00-TO-09-01-2025-23-59-59_699__7f6cfe50-cf35-11ef-afa4-3584f185c0b0.csv
[2025-01-10 04:30:16] Production.INFO: Sending Email to Staff over
[2025-01-10 04:30:16] Production.INFO: Email Status 1
[2025-01-10 04:30:16] Production.INFO: Sending Email to Customer
[2025-01-10 04:30:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 04:30:17] Production.INFO: ============== Balance Warning START===========
[2025-01-10 04:30:17] Production.INFO: ============== Balance Warning END===========
[2025-01-10 04:30:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 04:30:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 04:30:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 04:30:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 04:30:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 04:30:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 04:30:17] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 04:30:17] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 04:30:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 04:30:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 04:30:17] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 04:30:17] Production.INFO: Email Try 10270 1
[2025-01-10 04:30:17] Production.INFO: =========== Email Sending over ===========
[2025-01-10 04:30:17] Production.INFO: =========== Returning as Success =========== AccountID 50
[2025-01-10 04:30:17] Production.INFO: Invoice::sendInvoice done
[2025-01-10 04:30:17] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-01-10 04:30:17] Production.INFO: Invoice Committed AccountID = 50
[2025-01-10 04:30:17] Production.INFO: =========== Updating InvoiceDate ===========
[2025-01-10 04:30:17] Production.INFO: NextInvoice 2025-01-10 2025-02-09
[2025-01-10 04:30:17] Production.INFO: new dates
[2025-01-10 04:30:17] Production.INFO: LastInvoiceDate 2025-01-10 NextInvoiceDate 2025-02-10
[2025-01-10 04:30:17] Production.INFO: LastChargeDate 2025-01-10 NextChargeDate 2025-02-09
[2025-01-10 04:30:17] Production.INFO: =========== Updated InvoiceDate ===========
[2025-01-10 04:30:17] Production.INFO: ========================== Invoice Send End =============================
[2025-01-10 04:30:17] Production.INFO: AccountID =73 FirstInvoiceSend 0
[2025-01-10 04:30:17] Production.INFO: LastInvoiceDate 2024-12-10 NextInvoiceDate 2025-01-10
[2025-01-10 04:30:17] Production.INFO: LastChargeDate 2024-12-10 NextChargeDate 2025-01-09
[2025-01-10 04:30:17] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-01-10 04:30:17] Production.INFO: ========================== Invoice Send Start =============================
[2025-01-10 04:30:17] Production.INFO: Invoice::sendInvoice(1,73,2024-12-10,2025-01-10,billing@onswitchit.ca)
[2025-01-10 04:30:17] Production.INFO: start Date =2024-12-10 EndDate =2025-01-09 23:59:59
[2025-01-10 04:30:17] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-01-10 04:30:17] Production.INFO: InvoiceTemplate->Terms =
This a summary of your subscription and usage charges for this billing period. Detailed charges, such as a list of all billable calls, can be found on subsequent pages.
[2025-01-10 04:30:17] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-01-10 04:30:17] Production.INFO: AlreadyBilled
[2025-01-10 04:30:17] Production.INFO: Reseller ==> 0
[2025-01-10 04:30:17] Production.INFO: original start date ==>2024-12-10 changed start date ==>2024-12-10 00:00:00 original end date ==>2025-01-09 23:59:59 changed end date ==>2025-01-09 23:59:59
[2025-01-10 04:30:17] Production.INFO: CompanyGatewayID 1 TotalCharges ==>1.81000000
[2025-01-10 04:30:17] Production.INFO: Invoice::getAccountUsageTotal(1,73,2024-12-10,2025-01-09 23:59:59)
[2025-01-10 04:30:17] Production.INFO: TotalCharges - 1.81
[2025-01-10 04:30:17] Production.INFO: TotalUsageCharges - 1.81
[2025-01-10 04:30:17] Production.INFO: Usage Over
[2025-01-10 04:30:17] Production.INFO: Call prc_getAccountSubscription(73,0)
[2025-01-10 04:30:17] Production.INFO: SUBSCRIPTION 3
[2025-01-10 04:30:17] Production.INFO: ============================Subscription Start =================
[2025-01-10 04:30:17] Production.INFO: SubscriptionID - 1
[2025-01-10 04:30:17] Production.INFO: isAdvanceSubscription - 1
[2025-01-10 04:30:17] Production.INFO: SubscriptionStartDate =2025-01-10 - SubscriptionEndDate = 2025-02-09
[2025-01-10 04:30:17] Production.INFO: NewNextChargeDate =2025-02-09 00:00:00
[2025-01-10 04:30:17] Production.INFO: EndDate =2025-01-09 00:00:00
[2025-01-10 04:30:17] Production.INFO: NewEndDate1 =2025-01-10
[2025-01-10 04:30:17] Production.INFO: SubscriptionDate
[2025-01-10 04:30:17] Production.INFO: Array
(
[StartDate] => 2025-01-10
[EndDate] => 2025-02-09 00:00:00
[AlreadyCharged] => 0
)
[2025-01-10 04:30:17] Production.INFO: AccountSubscription StartDate 2018-06-09 StartDate 2024-12-10
[2025-01-10 04:30:17] Production.INFO: SubscriptionID - 2025-01-10=====2025-02-09 00:00:00
[2025-01-10 04:30:17] Production.INFO: AccountSubscriptionID - 265 === 2018-06-09=====2026-01-10
[2025-01-10 04:30:17] Production.INFO: regular Advance Subscription
[2025-01-10 04:30:17] Production.INFO: First Time False 2018-06-09 2025-01-10
[2025-01-10 04:30:17] Production.INFO: StartDate 2025-01-10 AccountSubscription->StartDate 2018-06-09 EndDate 2025-02-09 00:00:00 AccountSubscription->EndDate 2026-01-10
[2025-01-10 04:30:17] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-10 04:30:17] Production.INFO: AccountSubscription::getSubscriptionAmount(265,2025-01-10,2025-02-09 00:00:00,,0)
[2025-01-10 04:30:17] Production.INFO: SubscriptionCharge - 7
[2025-01-10 04:30:17] Production.INFO: Already Invoice Subscription 0
[2025-01-10 04:30:17] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(73,1,1,2025-01-10,2025-02-09 00:00:00,License for a Pay As You Go Cloud Phone extension,7,7,1,265)
[2025-01-10 04:30:17] Production.INFO: DiscountAmount 0.000000
[2025-01-10 04:30:17] Production.INFO: DiscountType
[2025-01-10 04:30:17] Production.INFO: SubscriptionCharge 7
[2025-01-10 04:30:17] Production.INFO: New SubscriptionCharge 7
[2025-01-10 04:30:17] Production.INFO: TotalSubscriptionCharge - 7.00
[2025-01-10 04:30:17] Production.INFO: ============================Subscription End =================
[2025-01-10 04:30:17] Production.INFO: ============================Subscription Start =================
[2025-01-10 04:30:17] Production.INFO: SubscriptionID - 4
[2025-01-10 04:30:17] Production.INFO: isAdvanceSubscription - 4
[2025-01-10 04:30:17] Production.INFO: SubscriptionStartDate =2025-01-10 - SubscriptionEndDate = 2025-02-09
[2025-01-10 04:30:17] Production.INFO: NewNextChargeDate =2025-02-09 00:00:00
[2025-01-10 04:30:17] Production.INFO: EndDate =2025-01-09 00:00:00
[2025-01-10 04:30:17] Production.INFO: NewEndDate1 =2025-01-10
[2025-01-10 04:30:17] Production.INFO: SubscriptionDate
[2025-01-10 04:30:17] Production.INFO: Array
(
[StartDate] => 2025-01-10
[EndDate] => 2025-02-09 00:00:00
[AlreadyCharged] => 0
)
[2025-01-10 04:30:17] Production.INFO: AccountSubscription StartDate 2018-06-09 StartDate 2024-12-10
[2025-01-10 04:30:17] Production.INFO: SubscriptionID - 2025-01-10=====2025-02-09 00:00:00
[2025-01-10 04:30:17] Production.INFO: AccountSubscriptionID - 266 === 2018-06-09=====2026-01-10
[2025-01-10 04:30:17] Production.INFO: regular Advance Subscription
[2025-01-10 04:30:17] Production.INFO: First Time False 2018-06-09 2025-01-10
[2025-01-10 04:30:17] Production.INFO: StartDate 2025-01-10 AccountSubscription->StartDate 2018-06-09 EndDate 2025-02-09 00:00:00 AccountSubscription->EndDate 2026-01-10
[2025-01-10 04:30:17] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-10 04:30:17] Production.INFO: AccountSubscription::getSubscriptionAmount(266,2025-01-10,2025-02-09 00:00:00,,0)
[2025-01-10 04:30:17] Production.INFO: SubscriptionCharge - 2.5
[2025-01-10 04:30:17] Production.INFO: Already Invoice Subscription 0
[2025-01-10 04:30:17] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(73,1,4,2025-01-10,2025-02-09 00:00:00,e911 address registration (19057273568 - 10501 WESTON RD WOODBRIDGE, ON L4H4G8),2.5,2.5,1,266)
[2025-01-10 04:30:17] Production.INFO: DiscountAmount 0.000000
[2025-01-10 04:30:17] Production.INFO: DiscountType
[2025-01-10 04:30:17] Production.INFO: SubscriptionCharge 2.5
[2025-01-10 04:30:17] Production.INFO: New SubscriptionCharge 2.5
[2025-01-10 04:30:17] Production.INFO: TotalSubscriptionCharge - 2.50
[2025-01-10 04:30:17] Production.INFO: ============================Subscription End =================
[2025-01-10 04:30:17] Production.INFO: ============================Subscription Start =================
[2025-01-10 04:30:17] Production.INFO: SubscriptionID - 24
[2025-01-10 04:30:17] Production.INFO: SubscriptionID - 2024-12-10=====2025-01-09
[2025-01-10 04:30:17] Production.INFO: AccountSubscriptionID - 582 === 2021-03-07=====2021-08-07
[2025-01-10 04:30:17] Production.INFO: ============================Subscription End =================
[2025-01-10 04:30:17] Production.INFO: SUBSCRIPTION Over
[2025-01-10 04:30:17] Production.INFO: Call prc_getAccountOneOffCharge(73,0,2024-12-10,2025-01-10 23:59:59)
[2025-01-10 04:30:17] Production.INFO: AccountOneOffCharge 0
[2025-01-10 04:30:17] Production.INFO: AccountOneOffCharge Over
[2025-01-10 04:30:17] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-01-10 04:30:17] Production.INFO: New UsageDates 2024-12-10 - 2025-01-09 23:59:59
[2025-01-10 04:30:17] Production.INFO: SubTotal 11.31
[2025-01-10 04:30:17] Production.INFO: SubTotalWithouttaxTotal 0
[2025-01-10 04:30:17] Production.INFO: AccountOneOffCharge Tax Over
[2025-01-10 04:30:17] Production.INFO: TotalTax 1.4703
[2025-01-10 04:30:17] Production.INFO: InvoiceGrandTotal 12.7803
[2025-01-10 04:30:17] Production.INFO: InvoiceTaxAmount 1.47
[2025-01-10 04:30:17] Production.INFO: GrandTotal 12.78
[2025-01-10 04:30:17] Production.INFO: SubTotal 11.31
[2025-01-10 04:30:17] Production.INFO: TotalDue -0.06
[2025-01-10 04:30:17] Production.INFO: Reseller ==> 0
[2025-01-10 04:30:17] Production.INFO: original start date ==>2024-12-10 changed start date ==>2024-12-10 00:00:00 original end date ==>2025-01-09 23:59:59 changed end date ==>2025-01-09 23:59:59
[2025-01-10 04:30:17] Production.INFO: CALL prc_getInvoiceUsage(1,'73','0','1','2024-12-10 00:00:00','2025-01-09 23:59:59',0)
[2025-01-10 04:30:17] Production.INFO: PDF Generation start
[2025-01-10 04:30:17] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/73/Invoices/2025/01/10/Invoice-discovery-point-nursery-inv11344-from-12-10-2024-to-01-09-2025-10271.pdf
[2025-01-10 04:30:17] Production.INFO: On Linux
[2025-01-10 04:30:17] Production.ERROR: Invoice Rollback AccountID = 73
[2025-01-10 04:30:17] Production.ERROR: exception 'ErrorException' with message 'Connection closed by server' in /var/www/html/onswitch.neon.service/vendor/phpseclib/phpseclib/phpseclib/Net/SSH2.php:1009
Stack trace:
#0 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(1024, 'Connection clos...', '/var/www/html/o...', 1009, Array)
#1 /var/www/html/onswitch.neon.service/vendor/phpseclib/phpseclib/phpseclib/Net/SSH2.php(1009): user_error('Connection clos...')
#2 /var/www/html/onswitch.neon.service/vendor/phpseclib/phpseclib/phpseclib/Net/SSH2.php(1820): Net_SSH2->_connect()
#3 [internal function]: Net_SSH2->_login('root', '[SWI]!on!17')
#4 /var/www/html/onswitch.neon.service/vendor/phpseclib/phpseclib/phpseclib/Net/SFTP.php(426): call_user_func_array(Array, Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravelcollective/remote/src/SecLibGateway.php(83): Net_SFTP->login('root', '[SWI]!on!17')
#6 /var/www/html/onswitch.neon.service/vendor/laravelcollective/remote/src/Connection.php(231): Collective\Remote\SecLibGateway->connect('root')
#7 /var/www/html/onswitch.neon.service/vendor/laravelcollective/remote/src/Connection.php(107): Collective\Remote\Connection->getGateway()
#8 [internal function]: Collective\Remote\Connection->run('sudo /var/www/h...', Object(Closure))
#9 /var/www/html/onswitch.neon.service/vendor/laravelcollective/remote/src/RemoteManager.php(188): call_user_func_array(Array, Array)
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Collective\Remote\RemoteManager->__call('run', Array)
#11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Collective\Remote\RemoteManager->run('sudo /var/www/h...', Object(Closure))
#12 /var/www/html/onswitch.neon.service/app/lib/RemoteSSH.php(0): Illuminate\Support\Facades\Facade::__callStatic('run', Array)
#13 /var/www/html/onswitch.neon.service/app/lib/Invoice.php(0): App\Lib\RemoteSSH::run()
#14 /var/www/html/onswitch.neon.service/app/lib/Invoice.php(0): App\Lib\Invoice::generate_pdf()
#15 /var/www/html/onswitch.neon.service/app/lib/Invoice.php(0): App\Lib\Invoice::sendInvoice()
#16 /var/www/html/onswitch.neon.service/app/Console/Commands/InvoiceGenerator.php(0): App\Lib\Invoice::GenerateInvoice()
#17 [internal function]: App\Console\Commands\InvoiceGenerator->fire()
#18 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#20 /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))
#21 /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))
#22 /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))
#23 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\InvoiceGenerator), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#24 /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))
#25 /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))
#26 /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))
#27 {main}
[2025-01-10 04:30:17] Production.INFO: AccountID =139 FirstInvoiceSend 0
[2025-01-10 04:30:17] Production.INFO: LastInvoiceDate 2024-12-10 NextInvoiceDate 2025-01-10
[2025-01-10 04:30:17] Production.INFO: LastChargeDate 2024-12-10 NextChargeDate 2025-01-09
[2025-01-10 04:30:17] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-01-10 04:30:17] Production.INFO: ========================== Invoice Send Start =============================
[2025-01-10 04:30:17] Production.INFO: Invoice::sendInvoice(1,139,2024-12-10,2025-01-10,billing@onswitchit.ca)
[2025-01-10 04:30:17] Production.INFO: start Date =2024-12-10 EndDate =2025-01-09 23:59:59
[2025-01-10 04:30:17] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-01-10 04:30:17] Production.INFO: InvoiceTemplate->Terms =
This a summary of your subscription and usage charges for this billing period. Detailed charges, such as a list of all billable calls, can be found on subsequent pages.
[2025-01-10 04:30:17] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-01-10 04:30:17] Production.INFO: AlreadyBilled
[2025-01-10 04:30:17] Production.INFO: Reseller ==> 0
[2025-01-10 04:30:17] Production.INFO: original start date ==>2024-12-10 changed start date ==>2024-12-10 00:00:00 original end date ==>2025-01-09 23:59:59 changed end date ==>2025-01-09 23:59:59
[2025-01-10 04:30:17] Production.INFO: Invoice::getAccountUsageTotal(1,139,2024-12-10,2025-01-09 23:59:59)
[2025-01-10 04:30:17] Production.INFO: TotalCharges - 0
[2025-01-10 04:30:17] Production.INFO: TotalUsageCharges - 0.00
[2025-01-10 04:30:17] Production.INFO: Usage Over
[2025-01-10 04:30:17] Production.INFO: Call prc_getAccountSubscription(139,0)
[2025-01-10 04:30:17] Production.INFO: SUBSCRIPTION 4
[2025-01-10 04:30:17] Production.INFO: ============================Subscription Start =================
[2025-01-10 04:30:17] Production.INFO: SubscriptionID - 21
[2025-01-10 04:30:17] Production.INFO: isAdvanceSubscription - 21
[2025-01-10 04:30:17] Production.INFO: SubscriptionStartDate =2025-01-10 - SubscriptionEndDate = 2025-02-09
[2025-01-10 04:30:17] Production.INFO: NewNextChargeDate =2025-02-09 00:00:00
[2025-01-10 04:30:17] Production.INFO: EndDate =2025-01-09 00:00:00
[2025-01-10 04:30:17] Production.INFO: NewEndDate1 =2025-01-10
[2025-01-10 04:30:17] Production.INFO: SubscriptionDate
[2025-01-10 04:30:17] Production.INFO: Array
(
[StartDate] => 2025-01-10
[EndDate] => 2025-02-09 00:00:00
[AlreadyCharged] => 0
)
[2025-01-10 04:30:17] Production.INFO: AccountSubscription StartDate 2020-09-25 StartDate 2024-12-10
[2025-01-10 04:30:17] Production.INFO: SubscriptionID - 2025-01-10=====2025-02-09 00:00:00
[2025-01-10 04:30:17] Production.INFO: AccountSubscriptionID - 539 === 2020-09-25=====2026-01-10
[2025-01-10 04:30:17] Production.INFO: regular Advance Subscription
[2025-01-10 04:30:17] Production.INFO: First Time False 2020-09-25 2025-01-10
[2025-01-10 04:30:17] Production.INFO: StartDate 2025-01-10 AccountSubscription->StartDate 2020-09-25 EndDate 2025-02-09 00:00:00 AccountSubscription->EndDate 2026-01-10
[2025-01-10 04:30:17] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-10 04:30:17] Production.INFO: AccountSubscription::getSubscriptionAmount(539,2025-01-10,2025-02-09 00:00:00,,0)
[2025-01-10 04:30:17] Production.INFO: SubscriptionCharge - 125.98
[2025-01-10 04:30:17] Production.INFO: Already Invoice Subscription 0
[2025-01-10 04:30:17] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(139,5,21,2025-01-10,2025-02-09 00:00:00,Cable Internet Service (60 McNaughton Ave, Unit A-101, Wallaceburg, ON) - 80x15,125.98,125.98,1,539)
[2025-01-10 04:30:17] Production.INFO: DiscountAmount 0.000000
[2025-01-10 04:30:17] Production.INFO: DiscountType
[2025-01-10 04:30:17] Production.INFO: SubscriptionCharge 125.98
[2025-01-10 04:30:17] Production.INFO: New SubscriptionCharge 125.98
[2025-01-10 04:30:17] Production.INFO: TotalSubscriptionCharge - 125.98
[2025-01-10 04:30:17] Production.INFO: ============================Subscription End =================
[2025-01-10 04:30:17] Production.INFO: ============================Subscription Start =================
[2025-01-10 04:30:17] Production.INFO: SubscriptionID - 23
[2025-01-10 04:30:17] Production.INFO: isAdvanceSubscription - 23
[2025-01-10 04:30:17] Production.INFO: SubscriptionStartDate =2025-01-10 - SubscriptionEndDate = 2025-02-09
[2025-01-10 04:30:17] Production.INFO: NewNextChargeDate =2025-02-09 00:00:00
[2025-01-10 04:30:17] Production.INFO: EndDate =2025-01-09 00:00:00
[2025-01-10 04:30:17] Production.INFO: NewEndDate1 =2025-01-10
[2025-01-10 04:30:17] Production.INFO: SubscriptionDate
[2025-01-10 04:30:17] Production.INFO: Array
(
[StartDate] => 2025-01-10
[EndDate] => 2025-02-09 00:00:00
[AlreadyCharged] => 0
)
[2025-01-10 04:30:17] Production.INFO: AccountSubscription StartDate 2020-09-25 StartDate 2024-12-10
[2025-01-10 04:30:17] Production.INFO: SubscriptionID - 2025-01-10=====2025-02-09 00:00:00
[2025-01-10 04:30:17] Production.INFO: AccountSubscriptionID - 540 === 2020-09-25=====2026-01-10
[2025-01-10 04:30:17] Production.INFO: regular Advance Subscription
[2025-01-10 04:30:17] Production.INFO: First Time False 2020-09-25 2025-01-10
[2025-01-10 04:30:17] Production.INFO: StartDate 2025-01-10 AccountSubscription->StartDate 2020-09-25 EndDate 2025-02-09 00:00:00 AccountSubscription->EndDate 2026-01-10
[2025-01-10 04:30:17] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-10 04:30:17] Production.INFO: AccountSubscription::getSubscriptionAmount(540,2025-01-10,2025-02-09 00:00:00,,0)
[2025-01-10 04:30:17] Production.INFO: SubscriptionCharge - 63.24
[2025-01-10 04:30:17] Production.INFO: Already Invoice Subscription 0
[2025-01-10 04:30:17] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(139,5,23,2025-01-10,2025-02-09 00:00:00,LTE Internet Failover Service (60 McNaughton Ave, Unit A-101, Wallaceburg, ON) - 1GB transfer,63.24,63.24,1,540)
[2025-01-10 04:30:17] Production.INFO: DiscountAmount 0.000000
[2025-01-10 04:30:17] Production.INFO: DiscountType
[2025-01-10 04:30:17] Production.INFO: SubscriptionCharge 63.24
[2025-01-10 04:30:17] Production.INFO: New SubscriptionCharge 63.24
[2025-01-10 04:30:17] Production.INFO: TotalSubscriptionCharge - 63.24
[2025-01-10 04:30:17] Production.INFO: ============================Subscription End =================
[2025-01-10 04:30:17] Production.INFO: ============================Subscription Start =================
[2025-01-10 04:30:17] Production.INFO: SubscriptionID - 5
[2025-01-10 04:30:17] Production.INFO: call_cost start
[2025-01-10 04:30:17] Production.INFO: isAdvanceSubscription - 5
[2025-01-10 04:30:17] Production.INFO: SubscriptionStartDate =2025-01-10 - SubscriptionEndDate = 2025-02-09
[2025-01-10 04:30:17] Production.INFO: NewNextChargeDate =2025-02-09 00:00:00
[2025-01-10 04:30:17] Production.INFO: call_cost end
[2025-01-10 04:30:18] Production.INFO: EndDate =2025-01-09 00:00:00
[2025-01-10 04:30:18] Production.INFO: NewEndDate1 =2025-01-10
[2025-01-10 04:30:18] Production.INFO: SubscriptionDate
[2025-01-10 04:30:18] Production.INFO: Array
(
[StartDate] => 2025-01-10
[EndDate] => 2025-02-09 00:00:00
[AlreadyCharged] => 0
)
[2025-01-10 04:30:18] Production.INFO: AccountSubscription StartDate 2020-09-25 StartDate 2024-12-10
[2025-01-10 04:30:18] Production.INFO: SubscriptionID - 2025-01-10=====2025-02-09 00:00:00
[2025-01-10 04:30:18] Production.INFO: AccountSubscriptionID - 541 === 2020-09-25=====2026-01-10
[2025-01-10 04:30:18] Production.INFO: regular Advance Subscription
[2025-01-10 04:30:18] Production.INFO: First Time False 2020-09-25 2025-01-10
[2025-01-10 04:30:18] Production.INFO: StartDate 2025-01-10 AccountSubscription->StartDate 2020-09-25 EndDate 2025-02-09 00:00:00 AccountSubscription->EndDate 2026-01-10
[2025-01-10 04:30:18] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-10 04:30:18] Production.INFO: AccountSubscription::getSubscriptionAmount(541,2025-01-10,2025-02-09 00:00:00,,0)
[2025-01-10 04:30:18] Production.INFO: SubscriptionCharge - 75
[2025-01-10 04:30:18] Production.INFO: Already Invoice Subscription 0
[2025-01-10 04:30:18] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(139,1,5,2025-01-10,2025-02-09 00:00:00,Restaurant - 4 Line Flat Rate,75,75,1,541)
[2025-01-10 04:30:18] Production.INFO: DiscountAmount 0.000000
[2025-01-10 04:30:18] Production.INFO: DiscountType
[2025-01-10 04:30:18] Production.INFO: SubscriptionCharge 75
[2025-01-10 04:30:18] Production.INFO: New SubscriptionCharge 75
[2025-01-10 04:30:18] Production.INFO: TotalSubscriptionCharge - 75.00
[2025-01-10 04:30:18] Production.INFO: ============================Subscription End =================
[2025-01-10 04:30:18] Production.INFO: ============================Subscription Start =================
[2025-01-10 04:30:18] Production.INFO: SubscriptionID - 11
[2025-01-10 04:30:18] Production.INFO: isAdvanceSubscription - 11
[2025-01-10 04:30:18] Production.INFO: SubscriptionStartDate =2025-01-10 - SubscriptionEndDate = 2025-02-09
[2025-01-10 04:30:18] Production.INFO: NewNextChargeDate =2025-02-09 00:00:00
[2025-01-10 04:30:18] Production.INFO: EndDate =2025-01-09 00:00:00
[2025-01-10 04:30:18] Production.INFO: NewEndDate1 =2025-01-10
[2025-01-10 04:30:18] Production.INFO: SubscriptionDate
[2025-01-10 04:30:18] Production.INFO: Array
(
[StartDate] => 2025-01-10
[EndDate] => 2025-02-09 00:00:00
[AlreadyCharged] => 0
)
[2025-01-10 04:30:18] Production.INFO: AccountSubscription StartDate 2020-09-25 StartDate 2024-12-10
[2025-01-10 04:30:18] Production.INFO: SubscriptionID - 2025-01-10=====2025-02-09 00:00:00
[2025-01-10 04:30:18] Production.INFO: AccountSubscriptionID - 542 === 2020-09-25=====2026-01-10
[2025-01-10 04:30:18] Production.INFO: regular Advance Subscription
[2025-01-10 04:30:18] Production.INFO: First Time False 2020-09-25 2025-01-10
[2025-01-10 04:30:18] Production.INFO: StartDate 2025-01-10 AccountSubscription->StartDate 2020-09-25 EndDate 2025-02-09 00:00:00 AccountSubscription->EndDate 2026-01-10
[2025-01-10 04:30:18] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-10 04:30:18] Production.INFO: AccountSubscription::getSubscriptionAmount(542,2025-01-10,2025-02-09 00:00:00,,0)
[2025-01-10 04:30:18] Production.INFO: SubscriptionCharge - -5
[2025-01-10 04:30:18] Production.INFO: Already Invoice Subscription 0
[2025-01-10 04:30:18] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(139,1,11,2025-01-10,2025-02-09 00:00:00,Bundle discount,-15,-5,3,542)
[2025-01-10 04:30:18] Production.INFO: DiscountAmount 0.000000
[2025-01-10 04:30:18] Production.INFO: DiscountType
[2025-01-10 04:30:18] Production.INFO: SubscriptionCharge -15
[2025-01-10 04:30:18] Production.INFO: New SubscriptionCharge -15
[2025-01-10 04:30:18] Production.INFO: TotalSubscriptionCharge - -15.00
[2025-01-10 04:30:18] Production.INFO: ============================Subscription End =================
[2025-01-10 04:30:18] Production.INFO: SUBSCRIPTION Over
[2025-01-10 04:30:18] Production.INFO: Call prc_getAccountOneOffCharge(139,0,2024-12-10,2025-01-10 23:59:59)
[2025-01-10 04:30:18] Production.INFO: AccountOneOffCharge 0
[2025-01-10 04:30:18] Production.INFO: AccountOneOffCharge Over
[2025-01-10 04:30:18] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-01-10 04:30:18] Production.INFO: New UsageDates 2024-12-10 - 2025-01-09 23:59:59
[2025-01-10 04:30:18] Production.INFO: SubTotal 249.22
[2025-01-10 04:30:18] Production.INFO: SubTotalWithouttaxTotal 0
[2025-01-10 04:30:18] Production.INFO: AccountOneOffCharge Tax Over
[2025-01-10 04:30:18] Production.INFO: TotalTax 32.3986
[2025-01-10 04:30:18] Production.INFO: InvoiceGrandTotal 281.6186
[2025-01-10 04:30:18] Production.INFO: InvoiceTaxAmount 32.4
[2025-01-10 04:30:18] Production.INFO: GrandTotal 281.62
[2025-01-10 04:30:18] Production.INFO: SubTotal 249.22
[2025-01-10 04:30:18] Production.INFO: TotalDue 281.62
[2025-01-10 04:30:18] Production.INFO: Reseller ==> 0
[2025-01-10 04:30:18] Production.INFO: original start date ==>2024-12-10 changed start date ==>2024-12-10 00:00:00 original end date ==>2025-01-09 23:59:59 changed end date ==>2025-01-09 23:59:59
[2025-01-10 04:30:18] Production.INFO: CALL prc_getInvoiceUsage(1,'139','0','1','2024-12-10 00:00:00','2025-01-09 23:59:59',0)
[2025-01-10 04:30:18] Production.INFO: PDF Generation start
[2025-01-10 04:30:18] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/139/Invoices/2025/01/10/Invoice-dominos-10560-ricky-singh-inv11344-from-12-10-2024-to-01-09-2025-10272.pdf
[2025-01-10 04:30:18] Production.INFO: On Linux
[2025-01-10 04:30:19] Production.INFO: count ==119
[2025-01-10 04:30:19] Production.ERROR: pbx CDR StartTime 2025-01-10 01:30:06 - End Time 2025-01-10 04:30:06
[2025-01-10 04:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 04:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214481', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:30:19] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 04:30:19] Production.INFO: ============== Report Schedule START===========
[2025-01-10 04:30:19] Production.INFO: ============== Report Schedule END===========
[2025-01-10 04:30:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 04:30:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 04:30:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 04:30:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 04:30:19] Production.INFO: ============== Deal alert START===========
[2025-01-10 04:30:19] Production.INFO: ============== Deal alert END===========
[2025-01-10 04:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214481', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214481', 'tblTempVendorCDR_20' ) start
[2025-01-10 04:30:19] Production.INFO: ==9995== Releasing lock...
[2025-01-10 04:30:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 04:30:19] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 04:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214481', 'tblTempVendorCDR_20' ) end
[2025-01-10 04:30:19] Production.INFO: ProcessCDR(1,14214481,1,1,2)
[2025-01-10 04:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214481,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:30:19] 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/139/Invoices/2025/01/10/footer-dominos-10560-ricky-singh-inv11344-from-12-10-2024-to-01-09-2025-10272.html" "/var/www/tmp/1/139/Invoices/2025/01/10/Invoice-dominos-10560-ricky-singh-inv11344-from-12-10-2024-to-01-09-2025-10272.html" "/var/www/tmp/1/139/Invoices/2025/01/10/Invoice-dominos-10560-ricky-singh-inv11344-from-12-10-2024-to-01-09-2025-10272.pdf"
[2025-01-10 04:30:19] Production.INFO:
[2025-01-10 04:30:19] Production.INFO: /var/www/tmp/1/139/Invoices/2025/01/10/Invoice-dominos-10560-ricky-singh-inv11344-from-12-10-2024-to-01-09-2025-10272.html
[2025-01-10 04:30:19] Production.INFO: /var/www/tmp/1/139/Invoices/2025/01/10/header-dominos-10560-ricky-singh-inv11344-from-12-10-2024-to-01-09-2025-10272.html
[2025-01-10 04:30:19] Production.INFO: /var/www/tmp/1/139/Invoices/2025/01/10/footer-dominos-10560-ricky-singh-inv11344-from-12-10-2024-to-01-09-2025-10272.html
[2025-01-10 04:30:19] Production.INFO: Invoice generation PDF path
[2025-01-10 04:30:19] Production.INFO: PDF fullPath 1/139/Invoices/2025/01/10/Invoice-dominos-10560-ricky-singh-inv11344-from-12-10-2024-to-01-09-2025-10272.pdf
[2025-01-10 04:30:19] Production.INFO: Generate Usage File Start
[2025-01-10 04:30:19] Production.INFO: Usage File fullPath 1/139/InvoiceUsageFile/2025/01/10/dominos-10560-ricky-singh-10-12-2024-00-00-00-TO-09-01-2025-23-59-59_931__823c6d10-cf35-11ef-a653-a35ac0b091da.csv
[2025-01-10 04:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214481,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214481,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:30:20] Production.INFO: Sending Email to Staff over
[2025-01-10 04:30:20] Production.INFO: Email Status 1
[2025-01-10 04:30:20] Production.INFO: Sending Email to Customer
[2025-01-10 04:30:21] Production.INFO: Email Try 10272 1
[2025-01-10 04:30:21] Production.INFO: =========== Email Sending over ===========
[2025-01-10 04:30:21] Production.INFO: =========== Returning as Success =========== AccountID 139
[2025-01-10 04:30:21] Production.INFO: Invoice::sendInvoice done
[2025-01-10 04:30:21] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-01-10 04:30:21] Production.INFO: Invoice Committed AccountID = 139
[2025-01-10 04:30:21] Production.INFO: =========== Updating InvoiceDate ===========
[2025-01-10 04:30:21] Production.INFO: NextInvoice 2025-01-10 2025-02-09
[2025-01-10 04:30:21] Production.INFO: new dates
[2025-01-10 04:30:21] Production.INFO: LastInvoiceDate 2025-01-10 NextInvoiceDate 2025-02-10
[2025-01-10 04:30:21] Production.INFO: LastChargeDate 2025-01-10 NextChargeDate 2025-02-09
[2025-01-10 04:30:21] Production.INFO: =========== Updated InvoiceDate ===========
[2025-01-10 04:30:21] Production.INFO: ========================== Invoice Send End =============================
[2025-01-10 04:30:21] Production.INFO: AccountID =244 FirstInvoiceSend 0
[2025-01-10 04:30:21] Production.INFO: LastInvoiceDate 2024-12-10 NextInvoiceDate 2025-01-10
[2025-01-10 04:30:21] Production.INFO: LastChargeDate 2024-12-10 NextChargeDate 2025-01-09
[2025-01-10 04:30:21] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-01-10 04:30:21] Production.INFO: ========================== Invoice Send Start =============================
[2025-01-10 04:30:21] Production.INFO: Invoice::sendInvoice(1,244,2024-12-10,2025-01-10,billing@onswitchit.ca)
[2025-01-10 04:30:21] Production.INFO: start Date =2024-12-10 EndDate =2025-01-09 23:59:59
[2025-01-10 04:30:21] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-01-10 04:30:21] Production.INFO: InvoiceTemplate->Terms =
This a summary of your subscription and usage charges for this billing period. Detailed charges, such as a list of all billable calls, can be found on subsequent pages.
[2025-01-10 04:30:21] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-01-10 04:30:21] Production.INFO: AlreadyBilled
[2025-01-10 04:30:21] Production.INFO: Reseller ==> 0
[2025-01-10 04:30:21] Production.INFO: Invoice::getAccountUsageTotal(1,244,2024-12-10,2025-01-09 23:59:59)
[2025-01-10 04:30:21] Production.INFO: TotalCharges - 0
[2025-01-10 04:30:21] Production.INFO: TotalUsageCharges - 0.00
[2025-01-10 04:30:21] Production.INFO: Usage Over
[2025-01-10 04:30:21] Production.INFO: Call prc_getAccountSubscription(244,0)
[2025-01-10 04:30:21] Production.INFO: SUBSCRIPTION 12
[2025-01-10 04:30:21] Production.INFO: ============================Subscription Start =================
[2025-01-10 04:30:21] Production.INFO: SubscriptionID - 6
[2025-01-10 04:30:21] Production.INFO: isAdvanceSubscription - 6
[2025-01-10 04:30:21] Production.INFO: SubscriptionStartDate =2025-01-10 - SubscriptionEndDate = 2025-02-09
[2025-01-10 04:30:21] Production.INFO: NewNextChargeDate =2025-02-09 00:00:00
[2025-01-10 04:30:21] Production.INFO: EndDate =2025-01-09 00:00:00
[2025-01-10 04:30:21] Production.INFO: NewEndDate1 =2025-01-10
[2025-01-10 04:30:21] Production.INFO: SubscriptionDate
[2025-01-10 04:30:21] Production.INFO: Array
(
[StartDate] => 2025-01-10
[EndDate] => 2025-02-09 00:00:00
[AlreadyCharged] => 0
)
[2025-01-10 04:30:21] Production.INFO: AccountSubscription StartDate 2024-10-10 StartDate 2024-12-10
[2025-01-10 04:30:21] Production.INFO: SubscriptionID - 2025-01-10=====2025-02-09 00:00:00
[2025-01-10 04:30:21] Production.INFO: AccountSubscriptionID - 1217 === 2024-10-10=====2026-01-10
[2025-01-10 04:30:21] Production.INFO: regular Advance Subscription
[2025-01-10 04:30:21] Production.INFO: First Time False 2024-10-10 2025-01-10
[2025-01-10 04:30:21] Production.INFO: StartDate 2025-01-10 AccountSubscription->StartDate 2024-10-10 EndDate 2025-02-09 00:00:00 AccountSubscription->EndDate 2026-01-10
[2025-01-10 04:30:21] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-10 04:30:21] Production.INFO: AccountSubscription::getSubscriptionAmount(1217,2025-01-10,2025-02-09 00:00:00,,0)
[2025-01-10 04:30:21] Production.INFO: SubscriptionCharge - 17
[2025-01-10 04:30:21] Production.INFO: Already Invoice Subscription 0
[2025-01-10 04:30:21] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(244,2,6,2025-01-10,2025-02-09 00:00:00,Microsoft Office 365 Standard Licenses,170,17,10,1217)
[2025-01-10 04:30:21] Production.INFO: DiscountAmount 0.000000
[2025-01-10 04:30:21] Production.INFO: DiscountType Flat
[2025-01-10 04:30:21] Production.INFO: SubscriptionCharge 170
[2025-01-10 04:30:21] Production.INFO: New SubscriptionCharge 170
[2025-01-10 04:30:21] Production.INFO: TotalSubscriptionCharge - 170.00
[2025-01-10 04:30:21] Production.INFO: ============================Subscription End =================
[2025-01-10 04:30:21] Production.INFO: ============================Subscription Start =================
[2025-01-10 04:30:21] Production.INFO: SubscriptionID - 31
[2025-01-10 04:30:21] Production.INFO: isAdvanceSubscription - 31
[2025-01-10 04:30:21] Production.INFO: SubscriptionStartDate =2025-01-10 - SubscriptionEndDate = 2025-02-09
[2025-01-10 04:30:21] Production.INFO: NewNextChargeDate =2025-02-09 00:00:00
[2025-01-10 04:30:21] Production.INFO: EndDate =2025-01-09 00:00:00
[2025-01-10 04:30:21] Production.INFO: NewEndDate1 =2025-01-10
[2025-01-10 04:30:21] Production.INFO: SubscriptionDate
[2025-01-10 04:30:21] Production.INFO: Array
(
[StartDate] => 2025-01-10
[EndDate] => 2025-02-09 00:00:00
[AlreadyCharged] => 0
)
[2025-01-10 04:30:21] Production.INFO: AccountSubscription StartDate 2024-10-10 StartDate 2024-12-10
[2025-01-10 04:30:21] Production.INFO: SubscriptionID - 2025-01-10=====2025-02-09 00:00:00
[2025-01-10 04:30:21] Production.INFO: AccountSubscriptionID - 1218 === 2024-10-10=====2026-01-10
[2025-01-10 04:30:21] Production.INFO: regular Advance Subscription
[2025-01-10 04:30:21] Production.INFO: First Time False 2024-10-10 2025-01-10
[2025-01-10 04:30:21] Production.INFO: StartDate 2025-01-10 AccountSubscription->StartDate 2024-10-10 EndDate 2025-02-09 00:00:00 AccountSubscription->EndDate 2026-01-10
[2025-01-10 04:30:21] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-10 04:30:21] Production.INFO: AccountSubscription::getSubscriptionAmount(1218,2025-01-10,2025-02-09 00:00:00,,0)
[2025-01-10 04:30:21] Production.INFO: SubscriptionCharge - 3.84
[2025-01-10 04:30:21] Production.INFO: Already Invoice Subscription 0
[2025-01-10 04:30:21] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(244,2,31,2025-01-10,2025-02-09 00:00:00,Backup for Microsoft 365,7.68,3.84,2,1218)
[2025-01-10 04:30:21] Production.INFO: DiscountAmount 0.000000
[2025-01-10 04:30:21] Production.INFO: DiscountType Flat
[2025-01-10 04:30:21] Production.INFO: SubscriptionCharge 7.68
[2025-01-10 04:30:21] Production.INFO: New SubscriptionCharge 7.68
[2025-01-10 04:30:21] Production.INFO: TotalSubscriptionCharge - 7.68
[2025-01-10 04:30:21] Production.INFO: ============================Subscription End =================
[2025-01-10 04:30:21] Production.INFO: ============================Subscription Start =================
[2025-01-10 04:30:21] Production.INFO: SubscriptionID - 6
[2025-01-10 04:30:21] Production.INFO: isAdvanceSubscription - 6
[2025-01-10 04:30:21] Production.INFO: SubscriptionStartDate =2025-01-10 - SubscriptionEndDate = 2025-02-09
[2025-01-10 04:30:21] Production.INFO: NewNextChargeDate =2025-02-09 00:00:00
[2025-01-10 04:30:21] Production.INFO: EndDate =2025-01-09 00:00:00
[2025-01-10 04:30:21] Production.INFO: NewEndDate1 =2025-01-10
[2025-01-10 04:30:21] Production.INFO: SubscriptionDate
[2025-01-10 04:30:21] Production.INFO: Array
(
[StartDate] => 2025-01-10
[EndDate] => 2025-02-09 00:00:00
[AlreadyCharged] => 0
)
[2025-01-10 04:30:21] Production.INFO: AccountSubscription StartDate 2024-10-10 StartDate 2024-12-10
[2025-01-10 04:30:21] Production.INFO: SubscriptionID - 2025-01-10=====2025-02-09 00:00:00
[2025-01-10 04:30:21] Production.INFO: AccountSubscriptionID - 1219 === 2024-10-10=====2026-01-10
[2025-01-10 04:30:21] Production.INFO: regular Advance Subscription
[2025-01-10 04:30:21] Production.INFO: First Time False 2024-10-10 2025-01-10
[2025-01-10 04:30:21] Production.INFO: StartDate 2025-01-10 AccountSubscription->StartDate 2024-10-10 EndDate 2025-02-09 00:00:00 AccountSubscription->EndDate 2026-01-10
[2025-01-10 04:30:21] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-10 04:30:21] Production.INFO: AccountSubscription::getSubscriptionAmount(1219,2025-01-10,2025-02-09 00:00:00,,0)
[2025-01-10 04:30:21] Production.INFO: SubscriptionCharge - 17
[2025-01-10 04:30:21] Production.INFO: Already Invoice Subscription 0
[2025-01-10 04:30:21] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(244,7,6,2025-01-10,2025-02-09 00:00:00,Microsoft Office 365 Standard Licenses,136,17,8,1219)
[2025-01-10 04:30:21] Production.INFO: DiscountAmount 0.000000
[2025-01-10 04:30:21] Production.INFO: DiscountType Flat
[2025-01-10 04:30:21] Production.INFO: SubscriptionCharge 136
[2025-01-10 04:30:21] Production.INFO: New SubscriptionCharge 136
[2025-01-10 04:30:21] Production.INFO: TotalSubscriptionCharge - 136.00
[2025-01-10 04:30:21] Production.INFO: ============================Subscription End =================
[2025-01-10 04:30:21] Production.INFO: ============================Subscription Start =================
[2025-01-10 04:30:21] Production.INFO: SubscriptionID - 7
[2025-01-10 04:30:21] Production.INFO: isAdvanceSubscription - 7
[2025-01-10 04:30:21] Production.INFO: SubscriptionStartDate =2025-01-10 - SubscriptionEndDate = 2025-02-09
[2025-01-10 04:30:21] Production.INFO: NewNextChargeDate =2025-02-09 00:00:00
[2025-01-10 04:30:21] Production.INFO: EndDate =2025-01-09 00:00:00
[2025-01-10 04:30:21] Production.INFO: NewEndDate1 =2025-01-10
[2025-01-10 04:30:21] Production.INFO: SubscriptionDate
[2025-01-10 04:30:21] Production.INFO: Array
(
[StartDate] => 2025-01-10
[EndDate] => 2025-02-09 00:00:00
[AlreadyCharged] => 0
)
[2025-01-10 04:30:21] Production.INFO: AccountSubscription StartDate 2024-10-10 StartDate 2024-12-10
[2025-01-10 04:30:21] Production.INFO: SubscriptionID - 2025-01-10=====2025-02-09 00:00:00
[2025-01-10 04:30:21] Production.INFO: AccountSubscriptionID - 1220 === 2024-10-10=====2026-01-10
[2025-01-10 04:30:21] Production.INFO: regular Advance Subscription
[2025-01-10 04:30:21] Production.INFO: First Time False 2024-10-10 2025-01-10
[2025-01-10 04:30:21] Production.INFO: StartDate 2025-01-10 AccountSubscription->StartDate 2024-10-10 EndDate 2025-02-09 00:00:00 AccountSubscription->EndDate 2026-01-10
[2025-01-10 04:30:21] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-10 04:30:21] Production.INFO: AccountSubscription::getSubscriptionAmount(1220,2025-01-10,2025-02-09 00:00:00,,0)
[2025-01-10 04:30:21] Production.INFO: SubscriptionCharge - 8.1
[2025-01-10 04:30:21] Production.INFO: Already Invoice Subscription 0
[2025-01-10 04:30:21] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(244,7,7,2025-01-10,2025-02-09 00:00:00,Microsoft Office 365 Basic Licenses,89.1,8.1,11,1220)
[2025-01-10 04:30:21] Production.INFO: DiscountAmount 0.000000
[2025-01-10 04:30:21] Production.INFO: DiscountType Flat
[2025-01-10 04:30:21] Production.INFO: SubscriptionCharge 89.1
[2025-01-10 04:30:21] Production.INFO: New SubscriptionCharge 89.1
[2025-01-10 04:30:21] Production.INFO: TotalSubscriptionCharge - 89.10
[2025-01-10 04:30:21] Production.INFO: ============================Subscription End =================
[2025-01-10 04:30:21] Production.INFO: ============================Subscription Start =================
[2025-01-10 04:30:21] Production.INFO: SubscriptionID - 6
[2025-01-10 04:30:21] Production.INFO: isAdvanceSubscription - 6
[2025-01-10 04:30:21] Production.INFO: SubscriptionStartDate =2025-01-10 - SubscriptionEndDate = 2025-02-09
[2025-01-10 04:30:21] Production.INFO: NewNextChargeDate =2025-02-09 00:00:00
[2025-01-10 04:30:21] Production.INFO: EndDate =2025-01-09 00:00:00
[2025-01-10 04:30:21] Production.INFO: NewEndDate1 =2025-01-10
[2025-01-10 04:30:21] Production.INFO: SubscriptionDate
[2025-01-10 04:30:21] Production.INFO: Array
(
[StartDate] => 2025-01-10
[EndDate] => 2025-02-09 00:00:00
[AlreadyCharged] => 0
)
[2025-01-10 04:30:21] Production.INFO: AccountSubscription StartDate 2024-10-10 StartDate 2024-12-10
[2025-01-10 04:30:21] Production.INFO: SubscriptionID - 2025-01-10=====2025-02-09 00:00:00
[2025-01-10 04:30:21] Production.INFO: AccountSubscriptionID - 1221 === 2024-10-10=====2026-01-10
[2025-01-10 04:30:21] Production.INFO: regular Advance Subscription
[2025-01-10 04:30:21] Production.INFO: First Time False 2024-10-10 2025-01-10
[2025-01-10 04:30:21] Production.INFO: StartDate 2025-01-10 AccountSubscription->StartDate 2024-10-10 EndDate 2025-02-09 00:00:00 AccountSubscription->EndDate 2026-01-10
[2025-01-10 04:30:21] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-10 04:30:21] Production.INFO: AccountSubscription::getSubscriptionAmount(1221,2025-01-10,2025-02-09 00:00:00,,0)
[2025-01-10 04:30:21] Production.INFO: SubscriptionCharge - 17
[2025-01-10 04:30:21] Production.INFO: Already Invoice Subscription 0
[2025-01-10 04:30:21] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(244,8,6,2025-01-10,2025-02-09 00:00:00,Microsoft Office 365 Standard Licenses,51,17,3,1221)
[2025-01-10 04:30:21] Production.INFO: DiscountAmount 0.000000
[2025-01-10 04:30:21] Production.INFO: DiscountType Flat
[2025-01-10 04:30:21] Production.INFO: SubscriptionCharge 51
[2025-01-10 04:30:21] Production.INFO: New SubscriptionCharge 51
[2025-01-10 04:30:21] Production.INFO: TotalSubscriptionCharge - 51.00
[2025-01-10 04:30:21] Production.INFO: ============================Subscription End =================
[2025-01-10 04:30:21] Production.INFO: ============================Subscription Start =================
[2025-01-10 04:30:21] Production.INFO: SubscriptionID - 7
[2025-01-10 04:30:21] Production.INFO: isAdvanceSubscription - 7
[2025-01-10 04:30:21] Production.INFO: SubscriptionStartDate =2025-01-10 - SubscriptionEndDate = 2025-02-09
[2025-01-10 04:30:21] Production.INFO: NewNextChargeDate =2025-02-09 00:00:00
[2025-01-10 04:30:21] Production.INFO: EndDate =2025-01-09 00:00:00
[2025-01-10 04:30:21] Production.INFO: NewEndDate1 =2025-01-10
[2025-01-10 04:30:21] Production.INFO: SubscriptionDate
[2025-01-10 04:30:21] Production.INFO: Array
(
[StartDate] => 2025-01-10
[EndDate] => 2025-02-09 00:00:00
[AlreadyCharged] => 0
)
[2025-01-10 04:30:21] Production.INFO: AccountSubscription StartDate 2024-10-10 StartDate 2024-12-10
[2025-01-10 04:30:21] Production.INFO: SubscriptionID - 2025-01-10=====2025-02-09 00:00:00
[2025-01-10 04:30:21] Production.INFO: AccountSubscriptionID - 1222 === 2024-10-10=====2026-01-10
[2025-01-10 04:30:21] Production.INFO: regular Advance Subscription
[2025-01-10 04:30:21] Production.INFO: First Time False 2024-10-10 2025-01-10
[2025-01-10 04:30:21] Production.INFO: StartDate 2025-01-10 AccountSubscription->StartDate 2024-10-10 EndDate 2025-02-09 00:00:00 AccountSubscription->EndDate 2026-01-10
[2025-01-10 04:30:21] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-10 04:30:21] Production.INFO: AccountSubscription::getSubscriptionAmount(1222,2025-01-10,2025-02-09 00:00:00,,0)
[2025-01-10 04:30:21] Production.INFO: SubscriptionCharge - 8.1
[2025-01-10 04:30:21] Production.INFO: Already Invoice Subscription 0
[2025-01-10 04:30:21] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(244,8,7,2025-01-10,2025-02-09 00:00:00,Microsoft Office 365 Basic Licenses,89.1,8.1,11,1222)
[2025-01-10 04:30:21] Production.INFO: DiscountAmount 0.000000
[2025-01-10 04:30:21] Production.INFO: DiscountType Flat
[2025-01-10 04:30:21] Production.INFO: SubscriptionCharge 89.1
[2025-01-10 04:30:21] Production.INFO: New SubscriptionCharge 89.1
[2025-01-10 04:30:21] Production.INFO: TotalSubscriptionCharge - 89.10
[2025-01-10 04:30:21] Production.INFO: ============================Subscription End =================
[2025-01-10 04:30:21] Production.INFO: ============================Subscription Start =================
[2025-01-10 04:30:21] Production.INFO: SubscriptionID - 31
[2025-01-10 04:30:21] Production.INFO: isAdvanceSubscription - 31
[2025-01-10 04:30:21] Production.INFO: SubscriptionStartDate =2025-01-10 - SubscriptionEndDate = 2025-02-09
[2025-01-10 04:30:21] Production.INFO: NewNextChargeDate =2025-02-09 00:00:00
[2025-01-10 04:30:21] Production.INFO: EndDate =2025-01-09 00:00:00
[2025-01-10 04:30:21] Production.INFO: NewEndDate1 =2025-01-10
[2025-01-10 04:30:21] Production.INFO: SubscriptionDate
[2025-01-10 04:30:21] Production.INFO: Array
(
[StartDate] => 2025-01-10
[EndDate] => 2025-02-09 00:00:00
[AlreadyCharged] => 0
)
[2025-01-10 04:30:21] Production.INFO: AccountSubscription StartDate 2024-10-10 StartDate 2024-12-10
[2025-01-10 04:30:21] Production.INFO: SubscriptionID - 2025-01-10=====2025-02-09 00:00:00
[2025-01-10 04:30:21] Production.INFO: AccountSubscriptionID - 1223 === 2024-10-10=====2026-01-10
[2025-01-10 04:30:21] Production.INFO: regular Advance Subscription
[2025-01-10 04:30:21] Production.INFO: First Time False 2024-10-10 2025-01-10
[2025-01-10 04:30:21] Production.INFO: StartDate 2025-01-10 AccountSubscription->StartDate 2024-10-10 EndDate 2025-02-09 00:00:00 AccountSubscription->EndDate 2026-01-10
[2025-01-10 04:30:21] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-10 04:30:21] Production.INFO: AccountSubscription::getSubscriptionAmount(1223,2025-01-10,2025-02-09 00:00:00,,0)
[2025-01-10 04:30:21] Production.INFO: SubscriptionCharge - 3.84
[2025-01-10 04:30:21] Production.INFO: Already Invoice Subscription 0
[2025-01-10 04:30:21] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(244,8,31,2025-01-10,2025-02-09 00:00:00,Backup for Microsoft 365,3.84,3.84,1,1223)
[2025-01-10 04:30:21] Production.INFO: DiscountAmount 0.000000
[2025-01-10 04:30:21] Production.INFO: DiscountType Flat
[2025-01-10 04:30:21] Production.INFO: SubscriptionCharge 3.84
[2025-01-10 04:30:21] Production.INFO: New SubscriptionCharge 3.84
[2025-01-10 04:30:21] Production.INFO: TotalSubscriptionCharge - 3.84
[2025-01-10 04:30:21] Production.INFO: ============================Subscription End =================
[2025-01-10 04:30:21] Production.INFO: ============================Subscription Start =================
[2025-01-10 04:30:21] Production.INFO: SubscriptionID - 31
[2025-01-10 04:30:21] Production.INFO: isAdvanceSubscription - 31
[2025-01-10 04:30:21] Production.INFO: SubscriptionStartDate =2025-01-10 - SubscriptionEndDate = 2025-02-09
[2025-01-10 04:30:21] Production.INFO: NewNextChargeDate =2025-02-09 00:00:00
[2025-01-10 04:30:21] Production.INFO: EndDate =2025-01-09 00:00:00
[2025-01-10 04:30:21] Production.INFO: NewEndDate1 =2025-01-10
[2025-01-10 04:30:21] Production.INFO: SubscriptionDate
[2025-01-10 04:30:21] Production.INFO: Array
(
[StartDate] => 2025-01-10
[EndDate] => 2025-02-09 00:00:00
[AlreadyCharged] => 0
)
[2025-01-10 04:30:21] Production.INFO: AccountSubscription StartDate 2024-10-10 StartDate 2024-12-10
[2025-01-10 04:30:21] Production.INFO: SubscriptionID - 2025-01-10=====2025-02-09 00:00:00
[2025-01-10 04:30:21] Production.INFO: AccountSubscriptionID - 1224 === 2024-10-10=====2026-01-10
[2025-01-10 04:30:21] Production.INFO: regular Advance Subscription
[2025-01-10 04:30:21] Production.INFO: First Time False 2024-10-10 2025-01-10
[2025-01-10 04:30:21] Production.INFO: StartDate 2025-01-10 AccountSubscription->StartDate 2024-10-10 EndDate 2025-02-09 00:00:00 AccountSubscription->EndDate 2026-01-10
[2025-01-10 04:30:21] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-10 04:30:21] Production.INFO: AccountSubscription::getSubscriptionAmount(1224,2025-01-10,2025-02-09 00:00:00,,0)
[2025-01-10 04:30:21] Production.INFO: SubscriptionCharge - 3.84
[2025-01-10 04:30:21] Production.INFO: Already Invoice Subscription 0
[2025-01-10 04:30:21] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(244,7,31,2025-01-10,2025-02-09 00:00:00,Backup for Microsoft 365,3.84,3.84,1,1224)
[2025-01-10 04:30:21] Production.INFO: DiscountAmount 0.000000
[2025-01-10 04:30:21] Production.INFO: DiscountType Flat
[2025-01-10 04:30:21] Production.INFO: SubscriptionCharge 3.84
[2025-01-10 04:30:21] Production.INFO: New SubscriptionCharge 3.84
[2025-01-10 04:30:21] Production.INFO: TotalSubscriptionCharge - 3.84
[2025-01-10 04:30:21] Production.INFO: ============================Subscription End =================
[2025-01-10 04:30:21] Production.INFO: ============================Subscription Start =================
[2025-01-10 04:30:21] Production.INFO: SubscriptionID - 14
[2025-01-10 04:30:21] Production.INFO: isAdvanceSubscription - 14
[2025-01-10 04:30:21] Production.INFO: SubscriptionStartDate =2025-01-10 - SubscriptionEndDate = 2025-02-09
[2025-01-10 04:30:21] Production.INFO: NewNextChargeDate =2025-02-09 00:00:00
[2025-01-10 04:30:21] Production.INFO: EndDate =2025-01-09 00:00:00
[2025-01-10 04:30:21] Production.INFO: NewEndDate1 =2025-01-10
[2025-01-10 04:30:21] Production.INFO: SubscriptionDate
[2025-01-10 04:30:21] Production.INFO: Array
(
[StartDate] => 2025-01-10
[EndDate] => 2025-02-09 00:00:00
[AlreadyCharged] => 0
)
[2025-01-10 04:30:21] Production.INFO: AccountSubscription StartDate 2024-10-10 StartDate 2024-12-10
[2025-01-10 04:30:21] Production.INFO: SubscriptionID - 2025-01-10=====2025-02-09 00:00:00
[2025-01-10 04:30:21] Production.INFO: AccountSubscriptionID - 1225 === 2024-10-10=====2026-01-10
[2025-01-10 04:30:21] Production.INFO: regular Advance Subscription
[2025-01-10 04:30:21] Production.INFO: First Time False 2024-10-10 2025-01-10
[2025-01-10 04:30:21] Production.INFO: StartDate 2025-01-10 AccountSubscription->StartDate 2024-10-10 EndDate 2025-02-09 00:00:00 AccountSubscription->EndDate 2026-01-10
[2025-01-10 04:30:21] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-10 04:30:21] Production.INFO: AccountSubscription::getSubscriptionAmount(1225,2025-01-10,2025-02-09 00:00:00,,0)
[2025-01-10 04:30:21] Production.INFO: SubscriptionCharge - 1.44
[2025-01-10 04:30:21] Production.INFO: Already Invoice Subscription 0
[2025-01-10 04:30:21] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(244,2,14,2025-01-10,2025-02-09 00:00:00,Managed Antivirus subscription (yearly pricing, billed monthly),14.4,1.44,10,1225)
[2025-01-10 04:30:21] Production.INFO: DiscountAmount 0.000000
[2025-01-10 04:30:21] Production.INFO: DiscountType Flat
[2025-01-10 04:30:21] Production.INFO: SubscriptionCharge 14.4
[2025-01-10 04:30:21] Production.INFO: New SubscriptionCharge 14.4
[2025-01-10 04:30:21] Production.INFO: TotalSubscriptionCharge - 14.40
[2025-01-10 04:30:21] Production.INFO: ============================Subscription End =================
[2025-01-10 04:30:21] Production.INFO: ============================Subscription Start =================
[2025-01-10 04:30:21] Production.INFO: SubscriptionID - 1
[2025-01-10 04:30:21] Production.INFO: isAdvanceSubscription - 1
[2025-01-10 04:30:21] Production.INFO: SubscriptionStartDate =2025-01-10 - SubscriptionEndDate = 2025-02-09
[2025-01-10 04:30:21] Production.INFO: NewNextChargeDate =2025-02-09 00:00:00
[2025-01-10 04:30:21] Production.INFO: EndDate =2025-01-09 00:00:00
[2025-01-10 04:30:21] Production.INFO: NewEndDate1 =2025-01-10
[2025-01-10 04:30:21] Production.INFO: SubscriptionDate
[2025-01-10 04:30:21] Production.INFO: Array
(
[StartDate] => 2025-01-10
[EndDate] => 2025-02-09 00:00:00
[AlreadyCharged] => 0
)
[2025-01-10 04:30:21] Production.INFO: AccountSubscription StartDate 2024-10-10 StartDate 2024-12-10
[2025-01-10 04:30:21] Production.INFO: SubscriptionID - 2025-01-10=====2025-02-09 00:00:00
[2025-01-10 04:30:21] Production.INFO: AccountSubscriptionID - 1226 === 2024-10-10=====2026-01-10
[2025-01-10 04:30:21] Production.INFO: regular Advance Subscription
[2025-01-10 04:30:21] Production.INFO: First Time False 2024-10-10 2025-01-10
[2025-01-10 04:30:21] Production.INFO: StartDate 2025-01-10 AccountSubscription->StartDate 2024-10-10 EndDate 2025-02-09 00:00:00 AccountSubscription->EndDate 2026-01-10
[2025-01-10 04:30:21] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-10 04:30:21] Production.INFO: AccountSubscription::getSubscriptionAmount(1226,2025-01-10,2025-02-09 00:00:00,,0)
[2025-01-10 04:30:21] Production.INFO: SubscriptionCharge - 7
[2025-01-10 04:30:21] Production.INFO: Already Invoice Subscription 0
[2025-01-10 04:30:21] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(244,1,1,2025-01-10,2025-02-09 00:00:00,License for a Pay As You Go Cloud Phone extension,56,7,8,1226)
[2025-01-10 04:30:21] Production.INFO: DiscountAmount 0.000000
[2025-01-10 04:30:21] Production.INFO: DiscountType Flat
[2025-01-10 04:30:21] Production.INFO: SubscriptionCharge 56
[2025-01-10 04:30:21] Production.INFO: New SubscriptionCharge 56
[2025-01-10 04:30:21] Production.INFO: TotalSubscriptionCharge - 56.00
[2025-01-10 04:30:21] Production.INFO: ============================Subscription End =================
[2025-01-10 04:30:21] Production.INFO: ============================Subscription Start =================
[2025-01-10 04:30:21] Production.INFO: SubscriptionID - 27
[2025-01-10 04:30:21] Production.INFO: isAdvanceSubscription - 27
[2025-01-10 04:30:21] Production.INFO: SubscriptionStartDate =2025-01-10 - SubscriptionEndDate = 2025-02-09
[2025-01-10 04:30:21] Production.INFO: NewNextChargeDate =2025-02-09 00:00:00
[2025-01-10 04:30:21] Production.INFO: EndDate =2025-01-09 00:00:00
[2025-01-10 04:30:21] Production.INFO: NewEndDate1 =2025-01-10
[2025-01-10 04:30:21] Production.INFO: SubscriptionDate
[2025-01-10 04:30:21] Production.INFO: Array
(
[StartDate] => 2025-01-10
[EndDate] => 2025-02-09 00:00:00
[AlreadyCharged] => 0
)
[2025-01-10 04:30:21] Production.INFO: AccountSubscription StartDate 2024-10-10 StartDate 2024-12-10
[2025-01-10 04:30:21] Production.INFO: SubscriptionID - 2025-01-10=====2025-02-09 00:00:00
[2025-01-10 04:30:21] Production.INFO: AccountSubscriptionID - 1227 === 2024-10-10=====2026-01-10
[2025-01-10 04:30:21] Production.INFO: regular Advance Subscription
[2025-01-10 04:30:21] Production.INFO: First Time False 2024-10-10 2025-01-10
[2025-01-10 04:30:21] Production.INFO: StartDate 2025-01-10 AccountSubscription->StartDate 2024-10-10 EndDate 2025-02-09 00:00:00 AccountSubscription->EndDate 2026-01-10
[2025-01-10 04:30:21] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-10 04:30:21] Production.INFO: AccountSubscription::getSubscriptionAmount(1227,2025-01-10,2025-02-09 00:00:00,,0)
[2025-01-10 04:30:21] Production.INFO: SubscriptionCharge - 2.34
[2025-01-10 04:30:21] Production.INFO: Already Invoice Subscription 0
[2025-01-10 04:30:21] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(244,5,27,2025-01-10,2025-02-09 00:00:00,Registration for cbotravel.com (Renews 2024-11-28),2.34,2.34,1,1227)
[2025-01-10 04:30:21] Production.INFO: DiscountAmount 0.000000
[2025-01-10 04:30:21] Production.INFO: DiscountType Flat
[2025-01-10 04:30:21] Production.INFO: SubscriptionCharge 2.34
[2025-01-10 04:30:21] Production.INFO: New SubscriptionCharge 2.34
[2025-01-10 04:30:21] Production.INFO: TotalSubscriptionCharge - 2.34
[2025-01-10 04:30:21] Production.INFO: ============================Subscription End =================
[2025-01-10 04:30:21] Production.INFO: ============================Subscription Start =================
[2025-01-10 04:30:21] Production.INFO: SubscriptionID - 42
[2025-01-10 04:30:21] Production.INFO: isAdvanceSubscription - 42
[2025-01-10 04:30:21] Production.INFO: SubscriptionStartDate =2025-01-10 - SubscriptionEndDate = 2025-02-09
[2025-01-10 04:30:21] Production.INFO: NewNextChargeDate =2025-02-09 00:00:00
[2025-01-10 04:30:21] Production.INFO: EndDate =2025-01-09 00:00:00
[2025-01-10 04:30:21] Production.INFO: NewEndDate1 =2025-01-10
[2025-01-10 04:30:21] Production.INFO: SubscriptionDate
[2025-01-10 04:30:21] Production.INFO: Array
(
[StartDate] => 2025-01-10
[EndDate] => 2025-02-09 00:00:00
[AlreadyCharged] => 0
)
[2025-01-10 04:30:21] Production.INFO: AccountSubscription StartDate 2024-10-10 StartDate 2024-12-10
[2025-01-10 04:30:21] Production.INFO: SubscriptionID - 2025-01-10=====2025-02-09 00:00:00
[2025-01-10 04:30:21] Production.INFO: AccountSubscriptionID - 1228 === 2024-10-10=====2025-01-09
[2025-01-10 04:30:21] Production.INFO: ============================Subscription End =================
[2025-01-10 04:30:21] Production.INFO: SUBSCRIPTION Over
[2025-01-10 04:30:21] Production.INFO: Call prc_getAccountOneOffCharge(244,0,2024-12-10,2025-01-10 23:59:59)
[2025-01-10 04:30:21] Production.INFO: AccountOneOffCharge 0
[2025-01-10 04:30:21] Production.INFO: AccountOneOffCharge Over
[2025-01-10 04:30:21] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-01-10 04:30:22] Production.INFO: New UsageDates 2024-12-10 - 2025-01-09 23:59:59
[2025-01-10 04:30:22] Production.INFO: SubTotal 623.3
[2025-01-10 04:30:22] Production.INFO: SubTotalWithouttaxTotal 0
[2025-01-10 04:30:22] Production.INFO: AccountOneOffCharge Tax Over
[2025-01-10 04:30:22] Production.INFO: TotalTax 81.029
[2025-01-10 04:30:22] Production.INFO: InvoiceGrandTotal 704.329
[2025-01-10 04:30:22] Production.INFO: InvoiceTaxAmount 81.03
[2025-01-10 04:30:22] Production.INFO: GrandTotal 704.33
[2025-01-10 04:30:22] Production.INFO: SubTotal 623.30
[2025-01-10 04:30:22] Production.INFO: TotalDue 704.33
[2025-01-10 04:30:22] Production.INFO: Reseller ==> 0
[2025-01-10 04:30:22] Production.INFO: PDF Generation start
[2025-01-10 04:30:22] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/244/Invoices/2025/01/10/Invoice-example-invoice-inv50013-from-10-12-2024-to-09-01-2025-10273.pdf
[2025-01-10 04:30:22] Production.INFO: On Linux
[2025-01-10 04:30:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214481,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214481', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214481', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:30:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:30:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:30:23] Production.INFO: ==10006== Releasing lock...
[2025-01-10 04:30:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 04:30:23] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 04:30:23] 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/244/Invoices/2025/01/10/footer-example-invoice-inv50013-from-10-12-2024-to-09-01-2025-10273.html" "/var/www/tmp/1/244/Invoices/2025/01/10/Invoice-example-invoice-inv50013-from-10-12-2024-to-09-01-2025-10273.html" "/var/www/tmp/1/244/Invoices/2025/01/10/Invoice-example-invoice-inv50013-from-10-12-2024-to-09-01-2025-10273.pdf"
[2025-01-10 04:30:23] Production.INFO:
[2025-01-10 04:30:23] Production.INFO: /var/www/tmp/1/244/Invoices/2025/01/10/Invoice-example-invoice-inv50013-from-10-12-2024-to-09-01-2025-10273.html
[2025-01-10 04:30:23] Production.INFO: /var/www/tmp/1/244/Invoices/2025/01/10/header-example-invoice-inv50013-from-10-12-2024-to-09-01-2025-10273.html
[2025-01-10 04:30:23] Production.INFO: /var/www/tmp/1/244/Invoices/2025/01/10/footer-example-invoice-inv50013-from-10-12-2024-to-09-01-2025-10273.html
[2025-01-10 04:30:23] Production.INFO: Invoice generation PDF path
[2025-01-10 04:30:23] Production.INFO: PDF fullPath 1/244/Invoices/2025/01/10/Invoice-example-invoice-inv50013-from-10-12-2024-to-09-01-2025-10273.pdf
[2025-01-10 04:30:23] Production.INFO: Generate Usage File Start
[2025-01-10 04:30:23] Production.INFO: Usage File fullPath 1/244/InvoiceUsageFile/2025/01/10/example-invoice-10-12-2024-00-00-00-TO-09-01-2025-23-59-59_8319__8486b250-cf35-11ef-a846-9d4aa519d64f.csv
[2025-01-10 04:30:24] Production.INFO: Sending Email to Staff over
[2025-01-10 04:30:24] Production.INFO: Email Status 1
[2025-01-10 04:30:24] Production.INFO: Sending Email to Customer
[2025-01-10 04:30:24] Production.INFO: =========== Email Sending over ===========
[2025-01-10 04:30:24] Production.INFO: =========== Returning as Success =========== AccountID 244
[2025-01-10 04:30:24] Production.INFO: Invoice::sendInvoice done
[2025-01-10 04:30:24] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-01-10 04:30:24] Production.INFO: Invoice Committed AccountID = 244
[2025-01-10 04:30:24] Production.INFO: =========== Updating InvoiceDate ===========
[2025-01-10 04:30:24] Production.INFO: NextInvoice 2025-01-10 2025-02-09
[2025-01-10 04:30:24] Production.INFO: new dates
[2025-01-10 04:30:24] Production.INFO: LastInvoiceDate 2025-01-10 NextInvoiceDate 2025-02-10
[2025-01-10 04:30:24] Production.INFO: LastChargeDate 2025-01-10 NextChargeDate 2025-02-09
[2025-01-10 04:30:24] Production.INFO: =========== Updated InvoiceDate ===========
[2025-01-10 04:30:24] Production.INFO: ========================== Invoice Send End =============================
[2025-01-10 04:30:24] Production.INFO: ========================== Recurring invoice Start =============================
[2025-01-10 04:30:24] Production.INFO: recurring invoices ID
[2025-01-10 04:30:24] Production.INFO:
[2025-01-10 04:30:24] Production.INFO: recurring errorsArray
(
)
[2025-01-10 04:30:24] Production.INFO: ========================== Recurring invoice End =============================
[2025-01-10 04:30:24] Production.INFO: ========================== Job Updated =============================
[2025-01-10 04:30:25] Production.INFO: ========================== Job Email Sent =============================
[2025-01-10 04:30:26] Production.ERROR: **Email Sent Status 1
[2025-01-10 04:30:26] Production.ERROR: **Email Sent message Email has been sent
[2025-01-10 04:30:26] Production.ERROR: CronJobId end6
[2025-01-10 04:30:26] Production.INFO: ==9997== Releasing lock...
[2025-01-10 04:30:26] Production.INFO: invoicegenerator-command-invoicegenerator-companyid-1-cronjobid-6 #Stops#
[2025-01-10 04:30:26] Production.INFO: 39.25 MB #Memory Used#
[2025-01-10 09:31:02] Production.INFO: ==10140== Lock acquired, processing the job...
[2025-01-10 09:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 09:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 09:31:02] Production.INFO: neon service started
[2025-01-10 09:31:02] Production.INFO: neon service started
[2025-01-10 09:31:02] Production.INFO: ==10140== Releasing lock...
[2025-01-10 09:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 09:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 04:31:02] Production.INFO: ==10142== Lock acquired, processing the job...
[2025-01-10 04:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 04:31:02] Production.INFO: ==10142== Releasing lock...
[2025-01-10 04:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 04:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 09:31:02] Production.INFO: ==10144== Lock acquired, processing the job...
[2025-01-10 09:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 09:31:02] Production.INFO: ==10144== Releasing lock...
[2025-01-10 09:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 09:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 04:31:03] Production.INFO: ==10148== Lock acquired, processing the job...
[2025-01-10 04:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 04:31:03] Production.INFO: ==10150== Lock acquired, processing the job...
[2025-01-10 04:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 04:31:03] Production.INFO: ==10157== Lock acquired, processing the job...
[2025-01-10 04:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 04:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 04:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 04:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 04:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 04:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:31:03] Production.INFO: ==10146== Lock acquired, processing the job...
[2025-01-10 04:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 04:31:03] Production.INFO: count ==21
[2025-01-10 04:31:03] Production.INFO: ==10153== Lock acquired, processing the job...
[2025-01-10 04:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 04:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:31:03] Production.INFO: count ==21
[2025-01-10 04:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214483') start
[2025-01-10 04:31:03] Production.INFO: ==10155== Lock acquired, processing the job...
[2025-01-10 04:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 04:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 04:31:03] Production.INFO: ==10148== Releasing lock...
[2025-01-10 04:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 04:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 04:31:03] Production.INFO: Account Balance Start.
[2025-01-10 04:31:03] Production.INFO: CreateAllLog Start
[2025-01-10 04:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:31:03] Production.INFO: 117
[2025-01-10 04:31:03] Production.INFO: Date 2025-01-08
[2025-01-10 04:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214483') end
[2025-01-10 04:31:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 04:31:03] Production.INFO: 1
[2025-01-10 04:31:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 04:31:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:31:03] Production.INFO: Date 2025-01-09
[2025-01-10 04:31:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:31:03] Production.INFO: Date 2025-01-10
[2025-01-10 04:31:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:31:03] Production.INFO: Total Charge 0
[2025-01-10 04:31:03] Production.INFO: ==10157== Releasing lock...
[2025-01-10 04:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 04:31:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 04:31:03] Production.INFO: CreateAllLog End
[2025-01-10 04:31:04] Production.ERROR: done
[2025-01-10 04:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 04:31:04] Production.INFO: Account Balance End.
[2025-01-10 04:31:04] Production.ERROR: CronJobId end 12
[2025-01-10 04:31:04] Production.INFO: ==10153== Releasing lock...
[2025-01-10 04:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 04:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 04:31:04] Production.ERROR: done
[2025-01-10 04:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 01:31:05
[end_date_ymd] => 2025-01-10 04:31:05
[RateCDR] => 1
)
[2025-01-10 04:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 01:31:05' and `end` < '2025-01-10 04:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 04:31:11] Production.ERROR: CronJobId end10
[2025-01-10 04:31:11] Production.INFO: ==10150== Releasing lock...
[2025-01-10 04:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 04:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 04:31:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 04:31:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 04:31:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 04:31:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 04:31:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 04:31:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 04:31:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 04:31:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 04:31:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 04:31:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 04:31:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 04:31:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 04:31:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 04:31:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 04:31:13] Production.INFO: call_cost start
[2025-01-10 04:31:13] Production.INFO: call_cost end
[2025-01-10 04:31:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 04:31:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 04:31:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 04:31:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 04:31:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 04:31:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 04:31:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 04:31:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 04:31:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 04:31:14] Production.INFO: ==10146== Releasing lock...
[2025-01-10 04:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 04:31:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 04:31:18] Production.INFO: count ==119
[2025-01-10 04:31:18] Production.ERROR: pbx CDR StartTime 2025-01-10 01:31:05 - End Time 2025-01-10 04:31:05
[2025-01-10 04:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 04:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214486', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214486', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214486', 'tblTempVendorCDR_20' ) start
[2025-01-10 04:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214486', 'tblTempVendorCDR_20' ) end
[2025-01-10 04:31:18] Production.INFO: ProcessCDR(1,14214486,1,1,2)
[2025-01-10 04:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214486,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214486,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214486,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:31:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214486,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214486', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214486', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:31:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:31:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:31:22] Production.INFO: ==10155== Releasing lock...
[2025-01-10 04:31:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 04:31:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:32:01] Production.INFO: ==10210== Lock acquired, processing the job...
[2025-01-10 09:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 09:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 09:32:01] Production.INFO: neon service started
[2025-01-10 09:32:01] Production.INFO: neon service started
[2025-01-10 09:32:01] Production.INFO: ==10210== Releasing lock...
[2025-01-10 09:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 09:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 09:32:01] Production.INFO: ==10214== Lock acquired, processing the job...
[2025-01-10 09:32:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 09:32:01] Production.INFO: ==10214== Releasing lock...
[2025-01-10 09:32:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 09:32:01] Production.INFO: 25 MB #Memory Used#
[2025-01-10 04:32:01] Production.INFO: ==10212== Lock acquired, processing the job...
[2025-01-10 04:32:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 04:32:02] Production.INFO: ==10212== Releasing lock...
[2025-01-10 04:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 04:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 04:32:02] Production.INFO: ==10217== Lock acquired, processing the job...
[2025-01-10 04:32:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 04:32:03] Production.INFO: ==10219== Lock acquired, processing the job...
[2025-01-10 04:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 04:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 04:32:03] Production.INFO: ==10225== Lock acquired, processing the job...
[2025-01-10 04:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 04:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:32:03] Production.INFO: ==10219== Releasing lock...
[2025-01-10 04:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 04:32:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 04:32:03] Production.INFO: ==10221== Lock acquired, processing the job...
[2025-01-10 04:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 04:32:03] Production.INFO: ==10223== Lock acquired, processing the job...
[2025-01-10 04:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 04:32:03] Production.INFO: ==10227== Lock acquired, processing the job...
[2025-01-10 04:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 04:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 04:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 04:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 04:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 04:32:03] Production.ERROR: done
[2025-01-10 04:32:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 04:32:03] Production.INFO: Account Balance Start.
[2025-01-10 04:32:03] Production.INFO: CreateAllLog Start
[2025-01-10 04:32:03] Production.INFO: 117
[2025-01-10 04:32:03] Production.INFO: Date 2025-01-08
[2025-01-10 04:32:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:32:03] Production.INFO: Date 2025-01-09
[2025-01-10 04:32:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:32:03] Production.ERROR: done
[2025-01-10 04:32:03] Production.INFO: Date 2025-01-10
[2025-01-10 04:32:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:32:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:32:03] Production.INFO: count ==21
[2025-01-10 04:32:03] Production.INFO: Total Charge 0
[2025-01-10 04:32:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:32:03] Production.INFO: count ==21
[2025-01-10 04:32:03] Production.INFO: CreateAllLog End
[2025-01-10 04:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214490') start
[2025-01-10 04:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214490') end
[2025-01-10 04:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 04:32:04] Production.INFO: 1
[2025-01-10 04:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 04:32:04] Production.INFO: Account Balance End.
[2025-01-10 04:32:04] Production.INFO: ==10227== Releasing lock...
[2025-01-10 04:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 04:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 04:32:04] Production.ERROR: CronJobId end 12
[2025-01-10 04:32:04] Production.INFO: ==10223== Releasing lock...
[2025-01-10 04:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 04:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 04:32:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 01:32:04
[end_date_ymd] => 2025-01-10 04:32:04
[RateCDR] => 1
)
[2025-01-10 04:32:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 01:32:04' and `end` < '2025-01-10 04:32:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 04:32:10] Production.ERROR: CronJobId end10
[2025-01-10 04:32:10] Production.INFO: ==10221== Releasing lock...
[2025-01-10 04:32:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 04:32:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 04:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 04:32:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 04:32:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 04:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 04:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 04:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 04:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 04:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 04:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 04:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 04:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 04:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 04:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 04:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 04:32:13] Production.INFO: call_cost start
[2025-01-10 04:32:13] Production.INFO: call_cost end
[2025-01-10 04:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 04:32:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 04:32:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 04:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 04:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 04:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 04:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 04:32:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 04:32:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 04:32:14] Production.INFO: ==10217== Releasing lock...
[2025-01-10 04:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 04:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 04:32:18] Production.INFO: count ==119
[2025-01-10 04:32:18] Production.ERROR: pbx CDR StartTime 2025-01-10 01:32:04 - End Time 2025-01-10 04:32:04
[2025-01-10 04:32:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 04:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214491', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214491', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214491', 'tblTempVendorCDR_20' ) start
[2025-01-10 04:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214491', 'tblTempVendorCDR_20' ) end
[2025-01-10 04:32:18] Production.INFO: ProcessCDR(1,14214491,1,1,2)
[2025-01-10 04:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214491,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214491,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214491,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214491,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214491', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214491', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:32:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:32:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:32:21] Production.INFO: ==10225== Releasing lock...
[2025-01-10 04:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 04:32:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:33:01] Production.INFO: ==10281== Lock acquired, processing the job...
[2025-01-10 09:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 09:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 09:33:01] Production.INFO: neon service started
[2025-01-10 09:33:01] Production.INFO: neon service started
[2025-01-10 09:33:01] Production.INFO: ==10281== Releasing lock...
[2025-01-10 09:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 09:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 09:33:02] Production.INFO: ==10285== Lock acquired, processing the job...
[2025-01-10 09:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 09:33:02] Production.INFO: ==10285== Releasing lock...
[2025-01-10 09:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 09:33:02] Production.INFO: 26 MB #Memory Used#
[2025-01-10 04:33:02] Production.INFO: ==10283== Lock acquired, processing the job...
[2025-01-10 04:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 04:33:02] Production.INFO: ==10283== Releasing lock...
[2025-01-10 04:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 04:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 04:33:03] Production.INFO: ==10291== Lock acquired, processing the job...
[2025-01-10 04:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 04:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 04:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 04:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 04:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 04:33:03] Production.INFO: ==10298== Lock acquired, processing the job...
[2025-01-10 04:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 04:33:03] Production.INFO: ==10287== Lock acquired, processing the job...
[2025-01-10 04:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 04:33:03] Production.INFO: ==10289== Lock acquired, processing the job...
[2025-01-10 04:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 04:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 04:33:03] Production.INFO: count ==21
[2025-01-10 04:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:33:03] Production.INFO: count ==21
[2025-01-10 04:33:03] Production.INFO: ==10294== Lock acquired, processing the job...
[2025-01-10 04:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 04:33:03] Production.INFO: ==10296== Lock acquired, processing the job...
[2025-01-10 04:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 04:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214492') start
[2025-01-10 04:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:33:03] Production.INFO: Account Balance Start.
[2025-01-10 04:33:03] Production.INFO: CreateAllLog Start
[2025-01-10 04:33:03] Production.INFO: 117
[2025-01-10 04:33:03] Production.INFO: Date 2025-01-08
[2025-01-10 04:33:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214492') end
[2025-01-10 04:33:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 04:33:03] Production.INFO: 1
[2025-01-10 04:33:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 04:33:03] Production.INFO: Date 2025-01-09
[2025-01-10 04:33:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:33:04] Production.INFO: Date 2025-01-10
[2025-01-10 04:33:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:33:04] Production.INFO: Total Charge 0
[2025-01-10 04:33:04] Production.INFO: CreateAllLog End
[2025-01-10 04:33:04] Production.INFO: ==10298== Releasing lock...
[2025-01-10 04:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 04:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 04:33:04] Production.ERROR: done
[2025-01-10 04:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 04:33:04] Production.INFO: ==10289== Releasing lock...
[2025-01-10 04:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 04:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 04:33:04] Production.INFO: Account Balance End.
[2025-01-10 04:33:04] Production.ERROR: done
[2025-01-10 04:33:04] Production.ERROR: CronJobId end 12
[2025-01-10 04:33:04] Production.INFO: ==10294== Releasing lock...
[2025-01-10 04:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 04:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 04:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 01:33:05
[end_date_ymd] => 2025-01-10 04:33:05
[RateCDR] => 1
)
[2025-01-10 04:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 01:33:05' and `end` < '2025-01-10 04:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 04:33:10] Production.ERROR: CronJobId end10
[2025-01-10 04:33:10] Production.INFO: ==10291== Releasing lock...
[2025-01-10 04:33:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 04:33:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 04:33:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 04:33:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 04:33:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 04:33:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 04:33:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 04:33:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 04:33:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 04:33:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 04:33:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 04:33:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 04:33:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 04:33:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 04:33:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 04:33:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 04:33:12] Production.INFO: call_cost start
[2025-01-10 04:33:12] Production.INFO: call_cost end
[2025-01-10 04:33:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 04:33:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 04:33:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 04:33:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 04:33:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 04:33:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 04:33:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 04:33:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 04:33:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 04:33:13] Production.INFO: ==10287== Releasing lock...
[2025-01-10 04:33:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 04:33:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 04:33:18] Production.INFO: count ==120
[2025-01-10 04:33:18] Production.ERROR: pbx CDR StartTime 2025-01-10 01:33:05 - End Time 2025-01-10 04:33:05
[2025-01-10 04:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 04:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214496', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214496', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214496', 'tblTempVendorCDR_20' ) start
[2025-01-10 04:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214496', 'tblTempVendorCDR_20' ) end
[2025-01-10 04:33:18] Production.INFO: ProcessCDR(1,14214496,1,1,2)
[2025-01-10 04:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214496,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:33:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214496,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:33:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214496,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:33:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214496,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214496', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214496', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:33:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:33:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:33:22] Production.INFO: ==10296== Releasing lock...
[2025-01-10 04:33:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 04:33:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:34:02] Production.INFO: ==10359== Lock acquired, processing the job...
[2025-01-10 09:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 09:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 09:34:02] Production.INFO: neon service started
[2025-01-10 09:34:02] Production.INFO: neon service started
[2025-01-10 09:34:02] Production.INFO: ==10359== Releasing lock...
[2025-01-10 09:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 09:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 09:34:02] Production.INFO: ==10363== Lock acquired, processing the job...
[2025-01-10 09:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 09:34:02] Production.INFO: ==10363== Releasing lock...
[2025-01-10 09:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 09:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 04:34:02] Production.INFO: ==10361== Lock acquired, processing the job...
[2025-01-10 04:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 04:34:03] Production.INFO: ==10361== Releasing lock...
[2025-01-10 04:34:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 04:34:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 04:34:03] Production.INFO: ==10365== Lock acquired, processing the job...
[2025-01-10 04:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 04:34:03] Production.INFO: ==10367== Lock acquired, processing the job...
[2025-01-10 04:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 04:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 04:34:03] Production.INFO: ==10373== Lock acquired, processing the job...
[2025-01-10 04:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 04:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:34:03] Production.INFO: ==10367== Releasing lock...
[2025-01-10 04:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 04:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 04:34:03] Production.INFO: ==10369== Lock acquired, processing the job...
[2025-01-10 04:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 04:34:04] Production.INFO: ==10371== Lock acquired, processing the job...
[2025-01-10 04:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 04:34:04] Production.INFO: ==10375== Lock acquired, processing the job...
[2025-01-10 04:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 04:34:04] Production.INFO: Account Balance Start.
[2025-01-10 04:34:04] Production.INFO: CreateAllLog Start
[2025-01-10 04:34:04] Production.INFO: 117
[2025-01-10 04:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 04:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 04:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 04:34:04] Production.INFO: Date 2025-01-08
[2025-01-10 04:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 04:34:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:34:04] Production.ERROR: done
[2025-01-10 04:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 04:34:04] Production.INFO: Date 2025-01-09
[2025-01-10 04:34:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:34:04] Production.INFO: Date 2025-01-10
[2025-01-10 04:34:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:34:04] Production.INFO: Total Charge 0
[2025-01-10 04:34:04] Production.INFO: CreateAllLog End
[2025-01-10 04:34:04] Production.INFO: count ==21
[2025-01-10 04:34:04] Production.ERROR: done
[2025-01-10 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-01-10 04:34:04] Production.INFO: count ==21
[2025-01-10 04:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214500') start
[2025-01-10 04:34:04] Production.INFO: Account Balance End.
[2025-01-10 04:34:04] Production.ERROR: CronJobId end 12
[2025-01-10 04:34:04] Production.INFO: ==10371== Releasing lock...
[2025-01-10 04:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 04:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 04:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214500') end
[2025-01-10 04:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 04:34:04] Production.INFO: 1
[2025-01-10 04:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 04:34:04] Production.INFO: ==10375== Releasing lock...
[2025-01-10 04:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 04:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 04:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 01:34:05
[end_date_ymd] => 2025-01-10 04:34:05
[RateCDR] => 1
)
[2025-01-10 04:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 01:34:05' and `end` < '2025-01-10 04:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 04:34:11] Production.ERROR: CronJobId end10
[2025-01-10 04:34:11] Production.INFO: ==10369== Releasing lock...
[2025-01-10 04:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 04:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 04:34:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 04:34:11] Production.INFO: ============== Balance Warning START===========
[2025-01-10 04:34:11] Production.INFO: ============== Balance Warning END===========
[2025-01-10 04:34:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 04:34:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 04:34:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 04:34:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 04:34:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 04:34:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 04:34:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 04:34:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 04:34:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 04:34:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 04:34:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 04:34:12] Production.INFO: call_cost start
[2025-01-10 04:34:12] Production.INFO: call_cost end
[2025-01-10 04:34:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 04:34:12] Production.INFO: ============== Report Schedule START===========
[2025-01-10 04:34:12] Production.INFO: ============== Report Schedule END===========
[2025-01-10 04:34:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 04:34:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 04:34:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 04:34:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 04:34:12] Production.INFO: ============== Deal alert START===========
[2025-01-10 04:34:12] Production.INFO: ============== Deal alert END===========
[2025-01-10 04:34:12] Production.INFO: ==10365== Releasing lock...
[2025-01-10 04:34:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 04:34:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 04:34:18] Production.INFO: count ==120
[2025-01-10 04:34:18] Production.ERROR: pbx CDR StartTime 2025-01-10 01:34:05 - End Time 2025-01-10 04:34:05
[2025-01-10 04:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 04:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214501', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214501', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214501', 'tblTempVendorCDR_20' ) start
[2025-01-10 04:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214501', 'tblTempVendorCDR_20' ) end
[2025-01-10 04:34:18] Production.INFO: ProcessCDR(1,14214501,1,1,2)
[2025-01-10 04:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214501,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214501,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214501,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214501,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214501', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214501', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:34:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:34:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:34:21] Production.INFO: ==10373== Releasing lock...
[2025-01-10 04:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 04:34:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:35:01] Production.INFO: ==10448== Lock acquired, processing the job...
[2025-01-10 09:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 09:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 09:35:01] Production.INFO: neon service started
[2025-01-10 09:35:01] Production.INFO: neon service started
[2025-01-10 09:35:01] Production.INFO: ==10448== Releasing lock...
[2025-01-10 09:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 09:35:01] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 04:35:02] Production.INFO: ==10450== Lock acquired, processing the job...
[2025-01-10 04:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 04:35:02] Production.INFO: ==10450== Releasing lock...
[2025-01-10 04:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 04:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 09:35:02] Production.INFO: ==10452== Lock acquired, processing the job...
[2025-01-10 09:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 09:35:02] Production.INFO: ==10452== Releasing lock...
[2025-01-10 09:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 09:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 04:35:03] Production.INFO: ==10463== Lock acquired, processing the job...
[2025-01-10 04:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 04:35:03] Production.INFO: ==10454== Lock acquired, processing the job...
[2025-01-10 04:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 04:35:03] Production.INFO: ==10465== Lock acquired, processing the job...
[2025-01-10 04:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 04:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:35:03] Production.INFO: ==10456== Lock acquired, processing the job...
[2025-01-10 04:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 04:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 04:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:35:03] Production.INFO: count ==21
[2025-01-10 04:35:03] Production.INFO: ==10459== Lock acquired, processing the job...
[2025-01-10 04:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 04:35:03] Production.INFO: ==10461== Lock acquired, processing the job...
[2025-01-10 04:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 04:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:35:03] Production.INFO: count ==21
[2025-01-10 04:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214502') start
[2025-01-10 04:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 04:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 04:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 04:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 04:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214502') end
[2025-01-10 04:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 04:35:03] Production.INFO: 1
[2025-01-10 04:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 04:35:03] Production.INFO: ==10465== Releasing lock...
[2025-01-10 04:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 04:35:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 04:35:03] Production.ERROR: done
[2025-01-10 04:35:03] Production.INFO: Account Balance Start.
[2025-01-10 04:35:03] Production.INFO: CreateAllLog Start
[2025-01-10 04:35:03] Production.INFO: 117
[2025-01-10 04:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 04:35:03] Production.INFO: ==10456== Releasing lock...
[2025-01-10 04:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 04:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 04:35:03] Production.INFO: Date 2025-01-08
[2025-01-10 04:35:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:35:03] Production.ERROR: done
[2025-01-10 04:35:04] Production.INFO: Date 2025-01-09
[2025-01-10 04:35:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:35:04] Production.INFO: Date 2025-01-10
[2025-01-10 04:35:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:35:04] Production.INFO: Total Charge 0
[2025-01-10 04:35:04] Production.INFO: CreateAllLog End
[2025-01-10 04:35:04] Production.INFO: Account Balance End.
[2025-01-10 04:35:04] Production.ERROR: CronJobId end 12
[2025-01-10 04:35:04] Production.INFO: ==10461== Releasing lock...
[2025-01-10 04:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 04:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 04:35:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 01:35:04
[end_date_ymd] => 2025-01-10 04:35:04
[RateCDR] => 1
)
[2025-01-10 04:35:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 01:35:04' and `end` < '2025-01-10 04:35:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 04:35:10] Production.ERROR: CronJobId end10
[2025-01-10 04:35:10] Production.INFO: ==10459== Releasing lock...
[2025-01-10 04:35:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 04:35:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 04:35:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 04:35:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 04:35:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 04:35:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 04:35:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 04:35:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 04:35:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 04:35:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 04:35:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 04:35:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 04:35:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 04:35:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 04:35:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 04:35:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 04:35:13] Production.INFO: call_cost start
[2025-01-10 04:35:13] Production.INFO: call_cost end
[2025-01-10 04:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 04:35:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 04:35:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 04:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 04:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 04:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 04:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 04:35:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 04:35:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 04:35:14] Production.INFO: ==10454== Releasing lock...
[2025-01-10 04:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 04:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 04:35:17] Production.INFO: count ==120
[2025-01-10 04:35:17] Production.ERROR: pbx CDR StartTime 2025-01-10 01:35:04 - End Time 2025-01-10 04:35:04
[2025-01-10 04:35:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 04:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214506', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214506', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214506', 'tblTempVendorCDR_20' ) start
[2025-01-10 04:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214506', 'tblTempVendorCDR_20' ) end
[2025-01-10 04:35:17] Production.INFO: ProcessCDR(1,14214506,1,1,2)
[2025-01-10 04:35:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214506,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:35:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214506,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:35:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214506,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:35:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214506,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214506', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214506', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:35:21] Production.INFO: ==10463== Releasing lock...
[2025-01-10 04:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 04:35:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:36:02] Production.INFO: ==10538== Lock acquired, processing the job...
[2025-01-10 09:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 09:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 09:36:02] Production.INFO: neon service started
[2025-01-10 09:36:02] Production.INFO: neon service started
[2025-01-10 09:36:02] Production.INFO: ==10538== Releasing lock...
[2025-01-10 09:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 09:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 04:36:02] Production.INFO: ==10540== Lock acquired, processing the job...
[2025-01-10 04:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:36:02] Production.INFO: ==10542== Lock acquired, processing the job...
[2025-01-10 09:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 09:36:02] Production.INFO: ==10542== Releasing lock...
[2025-01-10 09:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 09:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 04:36:03] Production.INFO: ==10540== Releasing lock...
[2025-01-10 04:36:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 04:36:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 04:36:03] Production.INFO: ==10545== Lock acquired, processing the job...
[2025-01-10 04:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 04:36:03] Production.INFO: ==10547== Lock acquired, processing the job...
[2025-01-10 04:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 04:36:03] Production.INFO: ==10551== Lock acquired, processing the job...
[2025-01-10 04:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 04:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 04:36:04] Production.INFO: ==10549== Lock acquired, processing the job...
[2025-01-10 04:36:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 04:36:04] Production.INFO: Account Balance Start.
[2025-01-10 04:36:04] Production.INFO: CreateAllLog Start
[2025-01-10 04:36:04] Production.INFO: 117
[2025-01-10 04:36:04] Production.INFO: Date 2025-01-08
[2025-01-10 04:36:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:36:04] Production.INFO: ==10555== Lock acquired, processing the job...
[2025-01-10 04:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 04:36:04] Production.INFO: ==10553== Lock acquired, processing the job...
[2025-01-10 04:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 04:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 04:36:04] Production.INFO: ==10547== Releasing lock...
[2025-01-10 04:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 04:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 04:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 04:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 04:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 04:36:04] Production.INFO: Date 2025-01-09
[2025-01-10 04:36:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:36:04] Production.INFO: Date 2025-01-10
[2025-01-10 04:36:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:36:04] Production.INFO: count ==21
[2025-01-10 04:36:04] Production.INFO: Total Charge 0
[2025-01-10 04:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:36:04] Production.INFO: count ==21
[2025-01-10 04:36:04] Production.INFO: CreateAllLog End
[2025-01-10 04:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214510') start
[2025-01-10 04:36:04] Production.ERROR: done
[2025-01-10 04:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214510') end
[2025-01-10 04:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 04:36:04] Production.INFO: 1
[2025-01-10 04:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 04:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 04:36:04] Production.INFO: ==10555== Releasing lock...
[2025-01-10 04:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 04:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 04:36:04] Production.INFO: Account Balance End.
[2025-01-10 04:36:04] Production.ERROR: done
[2025-01-10 04:36:04] Production.ERROR: CronJobId end 12
[2025-01-10 04:36:04] Production.INFO: ==10551== Releasing lock...
[2025-01-10 04:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 04:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 04:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 01:36:05
[end_date_ymd] => 2025-01-10 04:36:05
[RateCDR] => 1
)
[2025-01-10 04:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 01:36:05' and `end` < '2025-01-10 04:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 04:36:12] Production.ERROR: CronJobId end10
[2025-01-10 04:36:12] Production.INFO: ==10549== Releasing lock...
[2025-01-10 04:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 04:36:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 04:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 04:36:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 04:36:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 04:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 04:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 04:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 04:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 04:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 04:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 04:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 04:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 04:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 04:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 04:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 04:36:13] Production.INFO: call_cost start
[2025-01-10 04:36:13] Production.INFO: call_cost end
[2025-01-10 04:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 04:36:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 04:36:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 04:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 04:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 04:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 04:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 04:36:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 04:36:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 04:36:14] Production.INFO: ==10545== Releasing lock...
[2025-01-10 04:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 04:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 04:36:19] Production.INFO: count ==120
[2025-01-10 04:36:19] Production.ERROR: pbx CDR StartTime 2025-01-10 01:36:05 - End Time 2025-01-10 04:36:05
[2025-01-10 04:36:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 04:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214511', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214511', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214511', 'tblTempVendorCDR_20' ) start
[2025-01-10 04:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214511', 'tblTempVendorCDR_20' ) end
[2025-01-10 04:36:19] Production.INFO: ProcessCDR(1,14214511,1,1,2)
[2025-01-10 04:36:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214511,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:36:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214511,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:36:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214511,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214511,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214511', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214511', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:36:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:36:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:36:22] Production.INFO: ==10553== Releasing lock...
[2025-01-10 04:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 04:36:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:37:01] Production.INFO: ==10618== Lock acquired, processing the job...
[2025-01-10 09:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 09:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 09:37:01] Production.INFO: neon service started
[2025-01-10 09:37:01] Production.INFO: neon service started
[2025-01-10 09:37:01] Production.INFO: ==10618== Releasing lock...
[2025-01-10 09:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 09:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 09:37:02] Production.INFO: ==10622== Lock acquired, processing the job...
[2025-01-10 09:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 09:37:02] Production.INFO: ==10622== Releasing lock...
[2025-01-10 09:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 09:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 04:37:02] Production.INFO: ==10620== Lock acquired, processing the job...
[2025-01-10 04:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 04:37:02] Production.INFO: ==10620== Releasing lock...
[2025-01-10 04:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 04:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 04:37:03] Production.INFO: ==10625== Lock acquired, processing the job...
[2025-01-10 04:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 04:37:03] Production.INFO: ==10631== Lock acquired, processing the job...
[2025-01-10 04:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 04:37:03] Production.INFO: ==10633== Lock acquired, processing the job...
[2025-01-10 04:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 04:37:03] Production.INFO: ==10627== Lock acquired, processing the job...
[2025-01-10 04:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 04:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 04:37:03] Production.INFO: ==10629== Lock acquired, processing the job...
[2025-01-10 04:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 04:37:03] Production.INFO: Account Balance Start.
[2025-01-10 04:37:03] Production.INFO: CreateAllLog Start
[2025-01-10 04:37:03] Production.INFO: 117
[2025-01-10 04:37:03] Production.INFO: Date 2025-01-08
[2025-01-10 04:37:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 04:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 04:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 04:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 04:37:03] Production.INFO: ==10635== Lock acquired, processing the job...
[2025-01-10 04:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 04:37:03] Production.INFO: Date 2025-01-09
[2025-01-10 04:37:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:37:03] Production.ERROR: done
[2025-01-10 04:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 04:37:03] Production.INFO: Date 2025-01-10
[2025-01-10 04:37:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:37:03] Production.INFO: ==10627== Releasing lock...
[2025-01-10 04:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 04:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 04:37:03] Production.INFO: count ==21
[2025-01-10 04:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:37:04] Production.INFO: count ==21
[2025-01-10 04:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214515') start
[2025-01-10 04:37:04] Production.ERROR: done
[2025-01-10 04:37:04] Production.INFO: Total Charge 0
[2025-01-10 04:37:04] Production.INFO: CreateAllLog End
[2025-01-10 04:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214515') end
[2025-01-10 04:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 04:37:04] Production.INFO: 1
[2025-01-10 04:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 04:37:04] Production.INFO: Account Balance End.
[2025-01-10 04:37:04] Production.INFO: ==10635== Releasing lock...
[2025-01-10 04:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 04:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 04:37:04] Production.ERROR: CronJobId end 12
[2025-01-10 04:37:04] Production.INFO: ==10631== Releasing lock...
[2025-01-10 04:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 04:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 04:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 01:37:05
[end_date_ymd] => 2025-01-10 04:37:05
[RateCDR] => 1
)
[2025-01-10 04:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 01:37:05' and `end` < '2025-01-10 04:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 04:37:11] Production.ERROR: CronJobId end10
[2025-01-10 04:37:11] Production.INFO: ==10629== Releasing lock...
[2025-01-10 04:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 04:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 04:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 04:37:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 04:37:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 04:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 04:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 04:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 04:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 04:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 04:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 04:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 04:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 04:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 04:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 04:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 04:37:13] Production.INFO: call_cost start
[2025-01-10 04:37:13] Production.INFO: call_cost end
[2025-01-10 04:37:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 04:37:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 04:37:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 04:37:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 04:37:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 04:37:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 04:37:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 04:37:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 04:37:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 04:37:14] Production.INFO: ==10625== Releasing lock...
[2025-01-10 04:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 04:37:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 04:37:18] Production.INFO: count ==120
[2025-01-10 04:37:18] Production.ERROR: pbx CDR StartTime 2025-01-10 01:37:05 - End Time 2025-01-10 04:37:05
[2025-01-10 04:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 04:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214516', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214516', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214516', 'tblTempVendorCDR_20' ) start
[2025-01-10 04:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214516', 'tblTempVendorCDR_20' ) end
[2025-01-10 04:37:18] Production.INFO: ProcessCDR(1,14214516,1,1,2)
[2025-01-10 04:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214516,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214516,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214516,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:37:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214516,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214516', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214516', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:37:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:37:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:37:22] Production.INFO: ==10633== Releasing lock...
[2025-01-10 04:37:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 04:37:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:38:02] Production.INFO: ==10689== Lock acquired, processing the job...
[2025-01-10 09:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 09:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 09:38:02] Production.INFO: neon service started
[2025-01-10 09:38:02] Production.INFO: neon service started
[2025-01-10 09:38:02] Production.INFO: ==10689== Releasing lock...
[2025-01-10 09:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 09:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 09:38:02] Production.INFO: ==10693== Lock acquired, processing the job...
[2025-01-10 09:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 09:38:02] Production.INFO: ==10693== Releasing lock...
[2025-01-10 09:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 09:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 04:38:02] Production.INFO: ==10691== Lock acquired, processing the job...
[2025-01-10 04:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 04:38:03] Production.INFO: ==10691== Releasing lock...
[2025-01-10 04:38:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 04:38:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 04:38:03] Production.INFO: ==10696== Lock acquired, processing the job...
[2025-01-10 04:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 04:38:03] Production.INFO: ==10700== Lock acquired, processing the job...
[2025-01-10 04:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 04:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 04:38:03] Production.INFO: ==10704== Lock acquired, processing the job...
[2025-01-10 04:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 04:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 04:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 04:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 04:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 04:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:38:04] Production.ERROR: done
[2025-01-10 04:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 04:38:04] Production.INFO: ==10698== Lock acquired, processing the job...
[2025-01-10 04:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 04:38:04] Production.INFO: ==10702== Lock acquired, processing the job...
[2025-01-10 04:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 04:38:04] Production.INFO: ==10706== Lock acquired, processing the job...
[2025-01-10 04:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 04:38:04] Production.ERROR: done
[2025-01-10 04:38:04] Production.INFO: Account Balance Start.
[2025-01-10 04:38:04] Production.INFO: CreateAllLog Start
[2025-01-10 04:38:04] Production.INFO: 117
[2025-01-10 04:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:38:04] Production.INFO: Date 2025-01-08
[2025-01-10 04:38:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:38:04] Production.INFO: Date 2025-01-09
[2025-01-10 04:38:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:38:04] Production.INFO: count ==21
[2025-01-10 04:38:04] Production.INFO: Date 2025-01-10
[2025-01-10 04:38:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:38:04] Production.INFO: count ==21
[2025-01-10 04:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214519') start
[2025-01-10 04:38:04] Production.INFO: Total Charge 0
[2025-01-10 04:38:04] Production.INFO: CreateAllLog End
[2025-01-10 04:38:04] Production.INFO: Account Balance End.
[2025-01-10 04:38:04] Production.ERROR: CronJobId end 12
[2025-01-10 04:38:04] Production.INFO: ==10702== Releasing lock...
[2025-01-10 04:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 04:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 04:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214519') end
[2025-01-10 04:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 04:38:04] Production.INFO: 1
[2025-01-10 04:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 04:38:04] Production.INFO: ==10698== Releasing lock...
[2025-01-10 04:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 04:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 04:38:04] Production.INFO: ==10706== Releasing lock...
[2025-01-10 04:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 04:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 04:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 01:38:05
[end_date_ymd] => 2025-01-10 04:38:05
[RateCDR] => 1
)
[2025-01-10 04:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 01:38:05' and `end` < '2025-01-10 04:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 04:38:10] Production.ERROR: CronJobId end10
[2025-01-10 04:38:10] Production.INFO: ==10700== Releasing lock...
[2025-01-10 04:38:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 04:38:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 04:38:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 04:38:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 04:38:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 04:38:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 04:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 04:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 04:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 04:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 04:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 04:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 04:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 04:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 04:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 04:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 04:38:13] Production.INFO: call_cost start
[2025-01-10 04:38:13] Production.INFO: call_cost end
[2025-01-10 04:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 04:38:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 04:38:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 04:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 04:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 04:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 04:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 04:38:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 04:38:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 04:38:14] Production.INFO: ==10696== Releasing lock...
[2025-01-10 04:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 04:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 04:38:19] Production.INFO: count ==120
[2025-01-10 04:38:19] Production.ERROR: pbx CDR StartTime 2025-01-10 01:38:05 - End Time 2025-01-10 04:38:05
[2025-01-10 04:38:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 04:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214521', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214521', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214521', 'tblTempVendorCDR_20' ) start
[2025-01-10 04:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214521', 'tblTempVendorCDR_20' ) end
[2025-01-10 04:38:19] Production.INFO: ProcessCDR(1,14214521,1,1,2)
[2025-01-10 04:38:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214521,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:38:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214521,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:38:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214521,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:38:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214521,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214521', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214521', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:38:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:38:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:38:22] Production.INFO: ==10704== Releasing lock...
[2025-01-10 04:38:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 04:38:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:39:01] Production.INFO: ==10759== Lock acquired, processing the job...
[2025-01-10 09:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 09:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 09:39:01] Production.INFO: neon service started
[2025-01-10 09:39:01] Production.INFO: neon service started
[2025-01-10 09:39:01] Production.INFO: ==10759== Releasing lock...
[2025-01-10 09:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 09:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 04:39:01] Production.INFO: ==10761== Lock acquired, processing the job...
[2025-01-10 04:39:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 04:39:02] Production.INFO: ==10761== Releasing lock...
[2025-01-10 04:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 04:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 09:39:02] Production.INFO: ==10763== Lock acquired, processing the job...
[2025-01-10 09:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 09:39:02] Production.INFO: ==10763== Releasing lock...
[2025-01-10 09:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 09:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 04:39:03] Production.INFO: ==10774== Lock acquired, processing the job...
[2025-01-10 04:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 04:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:39:03] Production.INFO: ==10776== Lock acquired, processing the job...
[2025-01-10 04:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 04:39:03] Production.INFO: ==10766== Lock acquired, processing the job...
[2025-01-10 04:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 04:39:03] Production.INFO: ==10768== Lock acquired, processing the job...
[2025-01-10 04:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 04:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 04:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:39:03] Production.INFO: ==10770== Lock acquired, processing the job...
[2025-01-10 04:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 04:39:03] Production.INFO: ==10772== Lock acquired, processing the job...
[2025-01-10 04:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 04:39:03] Production.INFO: count ==21
[2025-01-10 04:39:03] Production.ERROR: done
[2025-01-10 04:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 04:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:39:03] Production.INFO: count ==21
[2025-01-10 04:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214522') start
[2025-01-10 04:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 04:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 04:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 04:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 04:39:03] Production.INFO: Account Balance Start.
[2025-01-10 04:39:03] Production.INFO: CreateAllLog Start
[2025-01-10 04:39:03] Production.INFO: 117
[2025-01-10 04:39:03] Production.INFO: Date 2025-01-08
[2025-01-10 04:39:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:39:03] Production.ERROR: done
[2025-01-10 04:39:03] Production.INFO: Date 2025-01-09
[2025-01-10 04:39:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:39:03] Production.INFO: Date 2025-01-10
[2025-01-10 04:39:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:39:03] Production.INFO: Total Charge 0
[2025-01-10 04:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214522') end
[2025-01-10 04:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 04:39:03] Production.INFO: 1
[2025-01-10 04:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 04:39:03] Production.INFO: CreateAllLog End
[2025-01-10 04:39:03] Production.INFO: ==10776== Releasing lock...
[2025-01-10 04:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 04:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 04:39:03] Production.INFO: ==10768== Releasing lock...
[2025-01-10 04:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 04:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 04:39:03] Production.INFO: Account Balance End.
[2025-01-10 04:39:03] Production.ERROR: CronJobId end 12
[2025-01-10 04:39:03] Production.INFO: ==10772== Releasing lock...
[2025-01-10 04:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 04:39:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 04:39:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 01:39:04
[end_date_ymd] => 2025-01-10 04:39:04
[RateCDR] => 1
)
[2025-01-10 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-01-10 01:39:04' and `end` < '2025-01-10 04:39:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 04:39:10] Production.ERROR: CronJobId end10
[2025-01-10 04:39:10] Production.INFO: ==10770== Releasing lock...
[2025-01-10 04:39:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 04:39:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 04:39:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 04:39:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 04:39:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 04:39:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 04:39:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 04:39:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 04:39:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 04:39:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 04:39:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 04:39:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 04:39:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 04:39:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 04:39:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 04:39:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 04:39:12] Production.INFO: call_cost start
[2025-01-10 04:39:12] Production.INFO: call_cost end
[2025-01-10 04:39:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 04:39:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 04:39:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 04:39:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 04:39:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 04:39:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 04:39:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 04:39:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 04:39:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 04:39:13] Production.INFO: ==10766== Releasing lock...
[2025-01-10 04:39:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 04:39:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 04:39:17] Production.INFO: count ==120
[2025-01-10 04:39:17] Production.ERROR: pbx CDR StartTime 2025-01-10 01:39:04 - End Time 2025-01-10 04:39:04
[2025-01-10 04:39:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 04:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214526', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214526', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214526', 'tblTempVendorCDR_20' ) start
[2025-01-10 04:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214526', 'tblTempVendorCDR_20' ) end
[2025-01-10 04:39:17] Production.INFO: ProcessCDR(1,14214526,1,1,2)
[2025-01-10 04:39:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214526,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:39:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214526,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:39:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214526,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:39:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214526,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:39:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214526', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:39:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214526', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:39:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:39:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:39:20] Production.INFO: ==10774== Releasing lock...
[2025-01-10 04:39:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 04:39:20] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:40:02] Production.INFO: ==10834== Lock acquired, processing the job...
[2025-01-10 09:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 09:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 09:40:02] Production.INFO: neon service started
[2025-01-10 09:40:02] Production.INFO: neon service started
[2025-01-10 09:40:02] Production.INFO: ==10834== Releasing lock...
[2025-01-10 09:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 09:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 04:40:02] Production.INFO: ==10836== Lock acquired, processing the job...
[2025-01-10 04:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:40:02] Production.INFO: ==10838== Lock acquired, processing the job...
[2025-01-10 09:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 09:40:02] Production.INFO: ==10838== Releasing lock...
[2025-01-10 09:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 09:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 04:40:02] Production.INFO: ==10836== Releasing lock...
[2025-01-10 04:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 04:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 04:40:03] Production.INFO: ==10840== Lock acquired, processing the job...
[2025-01-10 04:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 04:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 04:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 04:40:03] Production.INFO: ==10840== Releasing lock...
[2025-01-10 04:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 04:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 04:40:03] Production.INFO: ==10842== Lock acquired, processing the job...
[2025-01-10 04:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 04:40:03] Production.INFO: ==10845== Lock acquired, processing the job...
[2025-01-10 04:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 04:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 04:40:03] Production.INFO: ==10851== Lock acquired, processing the job...
[2025-01-10 04:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 04:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:40:03] Production.INFO: ==10847== Lock acquired, processing the job...
[2025-01-10 04:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 04:40:04] Production.INFO: ==10849== Lock acquired, processing the job...
[2025-01-10 04:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 04:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 04:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 04:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 04:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 04:40:04] Production.INFO: ==10853== Lock acquired, processing the job...
[2025-01-10 04:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 04:40:04] Production.INFO: ==10845== Releasing lock...
[2025-01-10 04:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 04:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 04:40:04] Production.ERROR: done
[2025-01-10 04:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 04:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:40:04] Production.INFO: Account Balance Start.
[2025-01-10 04:40:04] Production.INFO: CreateAllLog Start
[2025-01-10 04:40:04] Production.INFO: 117
[2025-01-10 04:40:04] Production.INFO: Date 2025-01-08
[2025-01-10 04:40:04] Production.INFO: ==10855== Lock acquired, processing the job...
[2025-01-10 04:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 04:40:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:40:04] Production.ERROR: done
[2025-01-10 04:40:04] Production.INFO: Date 2025-01-09
[2025-01-10 04:40:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:40:04] Production.INFO: Date 2025-01-10
[2025-01-10 04:40:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:40:04] Production.INFO: Total Charge 0
[2025-01-10 04:40:04] Production.INFO: CreateAllLog End
[2025-01-10 04:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:40:04] Production.INFO: count ==21
[2025-01-10 04:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:40:04] Production.ERROR: done
[2025-01-10 04:40:04] Production.INFO: count ==21
[2025-01-10 04:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214531') start
[2025-01-10 04:40:04] Production.INFO: Account Balance End.
[2025-01-10 04:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214531') end
[2025-01-10 04:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 04:40:04] Production.INFO: 1
[2025-01-10 04:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 04:40:04] Production.ERROR: CronJobId end 12
[2025-01-10 04:40:04] Production.INFO: ==10849== Releasing lock...
[2025-01-10 04:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 04:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 04:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 04:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14214532', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 04:40:04] Production.INFO: ==10855== Releasing lock...
[2025-01-10 04:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 04:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 04:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 01:40:05
[end_date_ymd] => 2025-01-10 04:40:05
[RateCDR] => 1
)
[2025-01-10 04:40:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 01:40:05' and `end` < '2025-01-10 04:40:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 04:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14214532', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 04:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 04:40:08] Production.INFO: ProcessCDR(1,14214532,1,1,2)
[2025-01-10 04:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14214532,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14214532,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:40:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:40:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:40:09] Production.INFO: ==10853== Releasing lock...
[2025-01-10 04:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 04:40:09] Production.INFO: 26 MB #Memory Used#
[2025-01-10 04:40:13] Production.ERROR: CronJobId end10
[2025-01-10 04:40:13] Production.INFO: ==10847== Releasing lock...
[2025-01-10 04:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 04:40:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 04:40:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 04:40:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 04:40:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 04:40:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 04:40:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 04:40:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 04:40:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 04:40:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 04:40:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 04:40:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 04:40:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 04:40:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 04:40:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 04:40:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 04:40:14] Production.INFO: call_cost start
[2025-01-10 04:40:14] Production.INFO: call_cost end
[2025-01-10 04:40:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 04:40:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 04:40:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 04:40:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 04:40:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 04:40:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 04:40:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 04:40:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 04:40:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 04:40:15] Production.INFO: ==10842== Releasing lock...
[2025-01-10 04:40:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 04:40:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 04:40:18] Production.INFO: count ==118
[2025-01-10 04:40:18] Production.ERROR: pbx CDR StartTime 2025-01-10 01:40:05 - End Time 2025-01-10 04:40:05
[2025-01-10 04:40:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 04:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214530', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214530', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214530', 'tblTempVendorCDR_20' ) start
[2025-01-10 04:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214530', 'tblTempVendorCDR_20' ) end
[2025-01-10 04:40:18] Production.INFO: ProcessCDR(1,14214530,1,1,2)
[2025-01-10 04:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214530,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214530,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214530,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:40:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214530,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214530', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214530', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:40:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:40:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:40:21] Production.INFO: ==10851== Releasing lock...
[2025-01-10 04:40:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 04:40:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:41:01] Production.INFO: ==10912== Lock acquired, processing the job...
[2025-01-10 09:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 09:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 09:41:01] Production.INFO: neon service started
[2025-01-10 09:41:01] Production.INFO: neon service started
[2025-01-10 09:41:01] Production.INFO: ==10912== Releasing lock...
[2025-01-10 09:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 09:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 04:41:01] Production.INFO: ==10914== Lock acquired, processing the job...
[2025-01-10 04:41:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 04:41:02] Production.INFO: ==10914== Releasing lock...
[2025-01-10 04:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 04:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 09:41:02] Production.INFO: ==10916== Lock acquired, processing the job...
[2025-01-10 09:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 09:41:02] Production.INFO: ==10916== Releasing lock...
[2025-01-10 09:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 09:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 04:41:02] Production.INFO: ==10918== Lock acquired, processing the job...
[2025-01-10 04:41:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 04:41:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 04:41:02] Production.INFO: ==10924== Lock acquired, processing the job...
[2025-01-10 04:41:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 04:41:03] Production.INFO: ==10927== Lock acquired, processing the job...
[2025-01-10 04:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 04:41:03] Production.INFO: Account Balance Start.
[2025-01-10 04:41:03] Production.INFO: CreateAllLog Start
[2025-01-10 04:41:03] Production.INFO: 117
[2025-01-10 04:41:03] Production.INFO: Date 2025-01-08
[2025-01-10 04:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:41:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:41:03] Production.INFO: ==10920== Lock acquired, processing the job...
[2025-01-10 04:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 04:41:03] Production.INFO: ==10922== Lock acquired, processing the job...
[2025-01-10 04:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 04:41:03] Production.INFO: Date 2025-01-09
[2025-01-10 04:41:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:41:03] Production.INFO: Date 2025-01-10
[2025-01-10 04:41:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:41:03] Production.INFO: ==10929== Lock acquired, processing the job...
[2025-01-10 04:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 04:41:03] Production.INFO: Total Charge 0
[2025-01-10 04:41:03] Production.INFO: CreateAllLog End
[2025-01-10 04:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 04:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 04:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 04:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 04:41:03] Production.INFO: count ==21
[2025-01-10 04:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:41:03] Production.INFO: count ==21
[2025-01-10 04:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214536') start
[2025-01-10 04:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214536') end
[2025-01-10 04:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 04:41:03] Production.INFO: 1
[2025-01-10 04:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 04:41:03] Production.ERROR: done
[2025-01-10 04:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 04:41:03] Production.INFO: ==10920== Releasing lock...
[2025-01-10 04:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 04:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 04:41:03] Production.INFO: Account Balance End.
[2025-01-10 04:41:03] Production.INFO: ==10929== Releasing lock...
[2025-01-10 04:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 04:41:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 04:41:03] Production.ERROR: CronJobId end 12
[2025-01-10 04:41:03] Production.INFO: ==10924== Releasing lock...
[2025-01-10 04:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 04:41:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 04:41:03] Production.ERROR: done
[2025-01-10 04:41:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 01:41:04
[end_date_ymd] => 2025-01-10 04:41:04
[RateCDR] => 1
)
[2025-01-10 04:41:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 01:41:04' and `end` < '2025-01-10 04:41:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 04:41:11] Production.ERROR: CronJobId end10
[2025-01-10 04:41:11] Production.INFO: ==10922== Releasing lock...
[2025-01-10 04:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 04:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 04:41:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 04:41:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 04:41:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 04:41:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 04:41:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 04:41:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 04:41:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 04:41:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 04:41:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 04:41:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 04:41:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 04:41:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 04:41:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 04:41:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 04:41:13] Production.INFO: call_cost start
[2025-01-10 04:41:13] Production.INFO: call_cost end
[2025-01-10 04:41:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 04:41:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 04:41:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 04:41:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 04:41:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 04:41:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 04:41:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 04:41:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 04:41:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 04:41:13] Production.INFO: ==10918== Releasing lock...
[2025-01-10 04:41:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 04:41:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 04:41:17] Production.INFO: count ==108
[2025-01-10 04:41:17] Production.ERROR: pbx CDR StartTime 2025-01-10 01:41:04 - End Time 2025-01-10 04:41:04
[2025-01-10 04:41:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 04:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214537', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214537', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214537', 'tblTempVendorCDR_20' ) start
[2025-01-10 04:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214537', 'tblTempVendorCDR_20' ) end
[2025-01-10 04:41:17] Production.INFO: ProcessCDR(1,14214537,1,1,2)
[2025-01-10 04:41:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214537,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:41:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214537,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:41:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214537,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214537,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214537', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214537', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:41:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:41:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:41:21] Production.INFO: ==10927== Releasing lock...
[2025-01-10 04:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 04:41:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:42:01] Production.INFO: ==11023== Lock acquired, processing the job...
[2025-01-10 09:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 09:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 09:42:01] Production.INFO: neon service started
[2025-01-10 09:42:01] Production.INFO: neon service started
[2025-01-10 09:42:01] Production.INFO: ==11023== Releasing lock...
[2025-01-10 09:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 09:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 04:42:02] Production.INFO: ==11025== Lock acquired, processing the job...
[2025-01-10 04:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 04:42:02] Production.INFO: ==11025== Releasing lock...
[2025-01-10 04:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 04:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 09:42:02] Production.INFO: ==11027== Lock acquired, processing the job...
[2025-01-10 09:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 09:42:02] Production.INFO: ==11027== Releasing lock...
[2025-01-10 09:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 09:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 04:42:03] Production.INFO: ==11029== Lock acquired, processing the job...
[2025-01-10 04:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 04:42:03] Production.INFO: ==11035== Lock acquired, processing the job...
[2025-01-10 04:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 04:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 04:42:03] Production.INFO: ==11039== Lock acquired, processing the job...
[2025-01-10 04:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 04:42:03] Production.INFO: ==11031== Lock acquired, processing the job...
[2025-01-10 04:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 04:42:03] Production.INFO: Account Balance Start.
[2025-01-10 04:42:03] Production.INFO: CreateAllLog Start
[2025-01-10 04:42:03] Production.INFO: 117
[2025-01-10 04:42:03] Production.INFO: Date 2025-01-08
[2025-01-10 04:42:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:42:03] Production.INFO: Date 2025-01-09
[2025-01-10 04:42:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:42:03] Production.INFO: ==11033== Lock acquired, processing the job...
[2025-01-10 04:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 04:42:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:42:03] Production.INFO: Date 2025-01-10
[2025-01-10 04:42:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:42:03] Production.INFO: count ==21
[2025-01-10 04:42:03] Production.INFO: Total Charge 0
[2025-01-10 04:42:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:42:03] Production.INFO: count ==21
[2025-01-10 04:42:03] Production.INFO: CreateAllLog End
[2025-01-10 04:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 04:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 04:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 04:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 04:42:03] Production.INFO: ==11037== Lock acquired, processing the job...
[2025-01-10 04:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 04:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214540') start
[2025-01-10 04:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:42:03] Production.INFO: Account Balance End.
[2025-01-10 04:42:03] Production.ERROR: CronJobId end 12
[2025-01-10 04:42:03] Production.INFO: ==11035== Releasing lock...
[2025-01-10 04:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 04:42:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 04:42:03] Production.INFO: ==11031== Releasing lock...
[2025-01-10 04:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 04:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 04:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214540') end
[2025-01-10 04:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 04:42:04] Production.INFO: 1
[2025-01-10 04:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 04:42:04] Production.INFO: ==11039== Releasing lock...
[2025-01-10 04:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 04:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 04:42:04] Production.ERROR: done
[2025-01-10 04:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 04:42:04] Production.ERROR: done
[2025-01-10 04:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 01:42:05
[end_date_ymd] => 2025-01-10 04:42:05
[RateCDR] => 1
)
[2025-01-10 04:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 01:42:05' and `end` < '2025-01-10 04:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 04:42:11] Production.ERROR: CronJobId end10
[2025-01-10 04:42:11] Production.INFO: ==11033== Releasing lock...
[2025-01-10 04:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 04:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 04:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 04:42:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 04:42:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 04:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 04:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 04:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 04:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 04:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 04:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 04:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 04:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 04:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 04:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 04:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 04:42:13] Production.INFO: call_cost start
[2025-01-10 04:42:13] Production.INFO: call_cost end
[2025-01-10 04:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 04:42:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 04:42:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 04:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 04:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 04:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 04:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 04:42:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 04:42:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 04:42:14] Production.INFO: ==11029== Releasing lock...
[2025-01-10 04:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 04:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 04:42:18] Production.INFO: count ==108
[2025-01-10 04:42:18] Production.ERROR: pbx CDR StartTime 2025-01-10 01:42:05 - End Time 2025-01-10 04:42:05
[2025-01-10 04:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 04:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214542', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214542', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214542', 'tblTempVendorCDR_20' ) start
[2025-01-10 04:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214542', 'tblTempVendorCDR_20' ) end
[2025-01-10 04:42:18] Production.INFO: ProcessCDR(1,14214542,1,1,2)
[2025-01-10 04:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214542,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214542,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214542,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214542,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214542', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214542', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:42:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:42:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:42:21] Production.INFO: ==11037== Releasing lock...
[2025-01-10 04:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 04:42:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:43:02] Production.INFO: ==11107== Lock acquired, processing the job...
[2025-01-10 09:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 09:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 09:43:02] Production.INFO: neon service started
[2025-01-10 09:43:02] Production.INFO: neon service started
[2025-01-10 09:43:02] Production.INFO: ==11107== Releasing lock...
[2025-01-10 09:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 09:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 09:43:02] Production.INFO: ==11111== Lock acquired, processing the job...
[2025-01-10 09:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 09:43:02] Production.INFO: ==11111== Releasing lock...
[2025-01-10 09:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 09:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 04:43:02] Production.INFO: ==11109== Lock acquired, processing the job...
[2025-01-10 04:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 04:43:02] Production.INFO: ==11109== Releasing lock...
[2025-01-10 04:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 04:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 04:43:03] Production.INFO: ==11114== Lock acquired, processing the job...
[2025-01-10 04:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 04:43:03] Production.INFO: ==11120== Lock acquired, processing the job...
[2025-01-10 04:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 04:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 04:43:03] Production.INFO: ==11116== Lock acquired, processing the job...
[2025-01-10 04:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 04:43:03] Production.INFO: Account Balance Start.
[2025-01-10 04:43:03] Production.INFO: CreateAllLog Start
[2025-01-10 04:43:03] Production.INFO: 117
[2025-01-10 04:43:03] Production.INFO: Date 2025-01-08
[2025-01-10 04:43:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:43:03] Production.INFO: Date 2025-01-09
[2025-01-10 04:43:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:43:03] Production.INFO: Date 2025-01-10
[2025-01-10 04:43:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:43:03] Production.INFO: Total Charge 0
[2025-01-10 04:43:03] Production.INFO: ==11118== Lock acquired, processing the job...
[2025-01-10 04:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 04:43:03] Production.INFO: CreateAllLog End
[2025-01-10 04:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 04:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 04:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 04:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 04:43:04] Production.INFO: ==11122== Lock acquired, processing the job...
[2025-01-10 04:43:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 04:43:04] Production.INFO: ==11124== Lock acquired, processing the job...
[2025-01-10 04:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 04:43:04] Production.INFO: Account Balance End.
[2025-01-10 04:43:04] Production.ERROR: CronJobId end 12
[2025-01-10 04:43:04] Production.INFO: ==11120== Releasing lock...
[2025-01-10 04:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 04:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 04:43:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:43:04] Production.INFO: ==11116== Releasing lock...
[2025-01-10 04:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 04:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 04:43:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:43:04] Production.INFO: count ==21
[2025-01-10 04:43:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:43:04] Production.INFO: count ==21
[2025-01-10 04:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214546') start
[2025-01-10 04:43:04] Production.ERROR: done
[2025-01-10 04:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 04:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214546') end
[2025-01-10 04:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 04:43:04] Production.INFO: 1
[2025-01-10 04:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 04:43:04] Production.INFO: ==11124== Releasing lock...
[2025-01-10 04:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 04:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 04:43:04] Production.ERROR: done
[2025-01-10 04:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 01:43:05
[end_date_ymd] => 2025-01-10 04:43:05
[RateCDR] => 1
)
[2025-01-10 04:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 01:43:05' and `end` < '2025-01-10 04:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 04:43:12] Production.ERROR: CronJobId end10
[2025-01-10 04:43:12] Production.INFO: ==11118== Releasing lock...
[2025-01-10 04:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 04:43:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 04:43:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 04:43:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 04:43:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 04:43:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 04:43:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 04:43:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 04:43:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 04:43:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 04:43:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 04:43:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 04:43:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 04:43:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 04:43:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 04:43:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 04:43:13] Production.INFO: call_cost start
[2025-01-10 04:43:13] Production.INFO: call_cost end
[2025-01-10 04:43:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 04:43:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 04:43:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 04:43:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 04:43:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 04:43:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 04:43:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 04:43:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 04:43:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 04:43:14] Production.INFO: ==11114== Releasing lock...
[2025-01-10 04:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 04:43:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 04:43:19] Production.INFO: count ==108
[2025-01-10 04:43:19] Production.ERROR: pbx CDR StartTime 2025-01-10 01:43:05 - End Time 2025-01-10 04:43:05
[2025-01-10 04:43:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 04:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214547', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214547', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214547', 'tblTempVendorCDR_20' ) start
[2025-01-10 04:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214547', 'tblTempVendorCDR_20' ) end
[2025-01-10 04:43:19] Production.INFO: ProcessCDR(1,14214547,1,1,2)
[2025-01-10 04:43:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214547,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:43:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214547,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:43:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214547,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:43:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214547,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214547', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214547', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:43:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:43:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:43:22] Production.INFO: ==11122== Releasing lock...
[2025-01-10 04:43:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 04:43:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:44:01] Production.INFO: ==11195== Lock acquired, processing the job...
[2025-01-10 09:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 09:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 09:44:01] Production.INFO: neon service started
[2025-01-10 09:44:01] Production.INFO: neon service started
[2025-01-10 09:44:01] Production.INFO: ==11195== Releasing lock...
[2025-01-10 09:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 09:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 09:44:02] Production.INFO: ==11199== Lock acquired, processing the job...
[2025-01-10 09:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 09:44:02] Production.INFO: ==11199== Releasing lock...
[2025-01-10 09:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 09:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 04:44:02] Production.INFO: ==11197== Lock acquired, processing the job...
[2025-01-10 04:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 04:44:02] Production.INFO: ==11197== Releasing lock...
[2025-01-10 04:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 04:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 04:44:03] Production.INFO: ==11208== Lock acquired, processing the job...
[2025-01-10 04:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 04:44:03] Production.INFO: ==11202== Lock acquired, processing the job...
[2025-01-10 04:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 04:44:03] Production.INFO: ==11210== Lock acquired, processing the job...
[2025-01-10 04:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 04:44:03] Production.INFO: Account Balance Start.
[2025-01-10 04:44:03] Production.INFO: CreateAllLog Start
[2025-01-10 04:44:03] Production.INFO: 117
[2025-01-10 04:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:44:03] Production.INFO: Date 2025-01-08
[2025-01-10 04:44:03] Production.INFO: ==11204== Lock acquired, processing the job...
[2025-01-10 04:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 04:44:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 04:44:03] Production.INFO: Date 2025-01-09
[2025-01-10 04:44:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:44:03] Production.INFO: ==11206== Lock acquired, processing the job...
[2025-01-10 04:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 04:44:03] Production.INFO: Date 2025-01-10
[2025-01-10 04:44:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:44:03] Production.INFO: ==11212== Lock acquired, processing the job...
[2025-01-10 04:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 04:44:03] Production.INFO: Total Charge 0
[2025-01-10 04:44:03] Production.INFO: CreateAllLog End
[2025-01-10 04:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 04:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 04:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 04:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 04:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:44:03] Production.INFO: ==11204== Releasing lock...
[2025-01-10 04:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 04:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 04:44:03] Production.INFO: count ==21
[2025-01-10 04:44:03] Production.ERROR: done
[2025-01-10 04:44:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 04:44:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:44:03] Production.INFO: count ==21
[2025-01-10 04:44:03] Production.INFO: Account Balance End.
[2025-01-10 04:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214551') start
[2025-01-10 04:44:04] Production.ERROR: CronJobId end 12
[2025-01-10 04:44:04] Production.INFO: ==11208== Releasing lock...
[2025-01-10 04:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 04:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 04:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214551') end
[2025-01-10 04:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 04:44:04] Production.INFO: 1
[2025-01-10 04:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 04:44:04] Production.ERROR: done
[2025-01-10 04:44:04] Production.INFO: ==11212== Releasing lock...
[2025-01-10 04:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 04:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 04:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 01:44:05
[end_date_ymd] => 2025-01-10 04:44:05
[RateCDR] => 1
)
[2025-01-10 04:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 01:44:05' and `end` < '2025-01-10 04:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 04:44:10] Production.ERROR: CronJobId end10
[2025-01-10 04:44:10] Production.INFO: ==11206== Releasing lock...
[2025-01-10 04:44:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 04:44:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 04:44:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 04:44:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 04:44:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 04:44:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 04:44:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 04:44:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 04:44:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 04:44:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 04:44:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 04:44:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 04:44:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 04:44:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 04:44:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 04:44:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 04:44:12] Production.INFO: call_cost start
[2025-01-10 04:44:12] Production.INFO: call_cost end
[2025-01-10 04:44:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 04:44:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 04:44:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 04:44:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 04:44:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 04:44:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 04:44:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 04:44:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 04:44:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 04:44:13] Production.INFO: ==11202== Releasing lock...
[2025-01-10 04:44:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 04:44:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 04:44:19] Production.INFO: count ==108
[2025-01-10 04:44:19] Production.ERROR: pbx CDR StartTime 2025-01-10 01:44:05 - End Time 2025-01-10 04:44:05
[2025-01-10 04:44:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 04:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214552', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214552', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214552', 'tblTempVendorCDR_20' ) start
[2025-01-10 04:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214552', 'tblTempVendorCDR_20' ) end
[2025-01-10 04:44:19] Production.INFO: ProcessCDR(1,14214552,1,1,2)
[2025-01-10 04:44:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214552,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:44:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214552,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:44:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214552,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:44:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214552,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214552', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214552', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:44:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:44:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:44:22] Production.INFO: ==11210== Releasing lock...
[2025-01-10 04:44:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 04:44:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:45:02] Production.INFO: ==11269== Lock acquired, processing the job...
[2025-01-10 09:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 09:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 09:45:02] Production.INFO: neon service started
[2025-01-10 09:45:02] Production.INFO: neon service started
[2025-01-10 09:45:02] Production.INFO: ==11269== Releasing lock...
[2025-01-10 09:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 09:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 04:45:02] Production.INFO: ==11272== Lock acquired, processing the job...
[2025-01-10 04:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 04:45:02] Production.INFO: ==11272== Releasing lock...
[2025-01-10 04:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 04:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 09:45:02] Production.INFO: ==11274== Lock acquired, processing the job...
[2025-01-10 09:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 09:45:02] Production.INFO: ==11274== Releasing lock...
[2025-01-10 09:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 09:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 04:45:03] Production.INFO: ==11284== Lock acquired, processing the job...
[2025-01-10 04:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 04:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:45:03] Production.INFO: ==11286== Lock acquired, processing the job...
[2025-01-10 04:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 04:45:03] Production.INFO: ==11276== Lock acquired, processing the job...
[2025-01-10 04:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 04:45:03] Production.INFO: ==11278== Lock acquired, processing the job...
[2025-01-10 04:45:03] Production.INFO: ==11280== Lock acquired, processing the job...
[2025-01-10 04:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 04:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 04:45:03] Production.INFO: ==11282== Lock acquired, processing the job...
[2025-01-10 04:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 04:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 04:45:03] Production.INFO: count ==21
[2025-01-10 04:45:03] Production.ERROR: done
[2025-01-10 04:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 04:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 04:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 04:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 04:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 04:45:03] Production.INFO: Account Balance Start.
[2025-01-10 04:45:03] Production.INFO: CreateAllLog Start
[2025-01-10 04:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:45:03] Production.INFO: 117
[2025-01-10 04:45:03] Production.INFO: count ==21
[2025-01-10 04:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214553') start
[2025-01-10 04:45:03] Production.INFO: Date 2025-01-08
[2025-01-10 04:45:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:45:04] Production.ERROR: done
[2025-01-10 04:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214553') end
[2025-01-10 04:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 04:45:04] Production.INFO: 1
[2025-01-10 04:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 04:45:04] Production.INFO: ==11286== Releasing lock...
[2025-01-10 04:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 04:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 04:45:04] Production.INFO: Date 2025-01-09
[2025-01-10 04:45:04] Production.INFO: ==11278== Releasing lock...
[2025-01-10 04:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 04:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 04:45:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:45:04] Production.INFO: Date 2025-01-10
[2025-01-10 04:45:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:45:04] Production.INFO: Total Charge 0
[2025-01-10 04:45:04] Production.INFO: CreateAllLog End
[2025-01-10 04:45:04] Production.INFO: Account Balance End.
[2025-01-10 04:45:04] Production.ERROR: CronJobId end 12
[2025-01-10 04:45:04] Production.INFO: ==11282== Releasing lock...
[2025-01-10 04:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 04:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 04:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 01:45:05
[end_date_ymd] => 2025-01-10 04:45:05
[RateCDR] => 1
)
[2025-01-10 04:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 01:45:05' and `end` < '2025-01-10 04:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 04:45:10] Production.ERROR: CronJobId end10
[2025-01-10 04:45:10] Production.INFO: ==11280== Releasing lock...
[2025-01-10 04:45:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 04:45:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 04:45:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 04:45:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 04:45:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 04:45:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 04:45:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 04:45:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 04:45:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 04:45:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 04:45:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 04:45:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 04:45:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 04:45:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 04:45:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 04:45:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 04:45:13] Production.INFO: call_cost start
[2025-01-10 04:45:13] Production.INFO: call_cost end
[2025-01-10 04:45:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 04:45:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 04:45:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 04:45:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 04:45:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 04:45:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 04:45:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 04:45:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 04:45:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 04:45:13] Production.INFO: ==11276== Releasing lock...
[2025-01-10 04:45:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 04:45:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 04:45:18] Production.INFO: count ==108
[2025-01-10 04:45:18] Production.ERROR: pbx CDR StartTime 2025-01-10 01:45:05 - End Time 2025-01-10 04:45:05
[2025-01-10 04:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 04:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214557', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214557', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214557', 'tblTempVendorCDR_20' ) start
[2025-01-10 04:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214557', 'tblTempVendorCDR_20' ) end
[2025-01-10 04:45:18] Production.INFO: ProcessCDR(1,14214557,1,1,2)
[2025-01-10 04:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214557,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214557,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214557,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214557,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214557', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214557', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:45:21] Production.INFO: ==11284== Releasing lock...
[2025-01-10 04:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 04:45:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:46:01] Production.INFO: ==11340== Lock acquired, processing the job...
[2025-01-10 09:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 09:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 09:46:01] Production.INFO: neon service started
[2025-01-10 09:46:01] Production.INFO: neon service started
[2025-01-10 09:46:01] Production.INFO: ==11340== Releasing lock...
[2025-01-10 09:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 09:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 04:46:01] Production.INFO: ==11342== Lock acquired, processing the job...
[2025-01-10 04:46:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:46:02] Production.INFO: ==11344== Lock acquired, processing the job...
[2025-01-10 09:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 09:46:02] Production.INFO: ==11344== Releasing lock...
[2025-01-10 09:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 09:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 04:46:02] Production.INFO: ==11342== Releasing lock...
[2025-01-10 04:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 04:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 04:46:02] Production.INFO: ==11346== Lock acquired, processing the job...
[2025-01-10 04:46:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 04:46:03] Production.INFO: ==11354== Lock acquired, processing the job...
[2025-01-10 04:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 04:46:03] Production.INFO: ==11357== Lock acquired, processing the job...
[2025-01-10 04:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 04:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 04:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:46:03] Production.INFO: count ==21
[2025-01-10 04:46:03] Production.INFO: ==11350== Lock acquired, processing the job...
[2025-01-10 04:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 04:46:03] Production.INFO: ==11348== Lock acquired, processing the job...
[2025-01-10 04:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 04:46:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:46:03] Production.INFO: count ==21
[2025-01-10 04:46:03] Production.INFO: ==11352== Lock acquired, processing the job...
[2025-01-10 04:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 04:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214559') start
[2025-01-10 04:46:03] Production.ERROR: done
[2025-01-10 04:46:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 04:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214559') end
[2025-01-10 04:46:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 04:46:03] Production.INFO: 1
[2025-01-10 04:46:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 04:46:03] Production.INFO: Account Balance Start.
[2025-01-10 04:46:03] Production.INFO: CreateAllLog Start
[2025-01-10 04:46:03] Production.INFO: 117
[2025-01-10 04:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 04:46:03] Production.INFO: Date 2025-01-08
[2025-01-10 04:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 04:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 04:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 04:46:03] Production.INFO: ==11357== Releasing lock...
[2025-01-10 04:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 04:46:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 04:46:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:46:03] Production.INFO: Date 2025-01-09
[2025-01-10 04:46:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:46:03] Production.INFO: Date 2025-01-10
[2025-01-10 04:46:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:46:03] Production.ERROR: done
[2025-01-10 04:46:03] Production.INFO: Total Charge 0
[2025-01-10 04:46:03] Production.INFO: CreateAllLog End
[2025-01-10 04:46:03] Production.INFO: Account Balance End.
[2025-01-10 04:46:03] Production.INFO: ==11348== Releasing lock...
[2025-01-10 04:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 04:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 04:46:03] Production.ERROR: CronJobId end 12
[2025-01-10 04:46:03] Production.INFO: ==11352== Releasing lock...
[2025-01-10 04:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 04:46:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 04:46:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 01:46:04
[end_date_ymd] => 2025-01-10 04:46:04
[RateCDR] => 1
)
[2025-01-10 04:46:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 01:46:04' and `end` < '2025-01-10 04:46:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 04:46:11] Production.ERROR: CronJobId end10
[2025-01-10 04:46:11] Production.INFO: ==11350== Releasing lock...
[2025-01-10 04:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 04:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 04:46:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 04:46:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 04:46:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 04:46:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 04:46:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 04:46:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 04:46:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 04:46:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 04:46:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 04:46:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 04:46:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 04:46:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 04:46:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 04:46:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 04:46:13] Production.INFO: call_cost start
[2025-01-10 04:46:13] Production.INFO: call_cost end
[2025-01-10 04:46:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 04:46:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 04:46:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 04:46:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 04:46:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 04:46:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 04:46:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 04:46:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 04:46:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 04:46:13] Production.INFO: ==11346== Releasing lock...
[2025-01-10 04:46:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 04:46:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 04:46:26] Production.INFO: count ==108
[2025-01-10 04:46:26] Production.ERROR: pbx CDR StartTime 2025-01-10 01:46:04 - End Time 2025-01-10 04:46:04
[2025-01-10 04:46:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 04:46:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214562', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:46:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214562', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:46:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214562', 'tblTempVendorCDR_20' ) start
[2025-01-10 04:46:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214562', 'tblTempVendorCDR_20' ) end
[2025-01-10 04:46:26] Production.INFO: ProcessCDR(1,14214562,1,1,2)
[2025-01-10 04:46:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214562,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:46:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214562,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:46:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214562,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:46:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214562,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:46:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214562', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:46:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214562', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:46:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:46:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:46:29] Production.INFO: ==11354== Releasing lock...
[2025-01-10 04:46:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 04:46:29] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:47:01] Production.INFO: ==11414== Lock acquired, processing the job...
[2025-01-10 09:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 09:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 09:47:01] Production.INFO: neon service started
[2025-01-10 09:47:01] Production.INFO: neon service started
[2025-01-10 09:47:01] Production.INFO: ==11414== Releasing lock...
[2025-01-10 09:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 09:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 04:47:02] Production.INFO: ==11416== Lock acquired, processing the job...
[2025-01-10 04:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 04:47:02] Production.INFO: ==11416== Releasing lock...
[2025-01-10 04:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 04:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 09:47:02] Production.INFO: ==11418== Lock acquired, processing the job...
[2025-01-10 09:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 09:47:02] Production.INFO: ==11418== Releasing lock...
[2025-01-10 09:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 09:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 04:47:03] Production.INFO: ==11427== Lock acquired, processing the job...
[2025-01-10 04:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 04:47:03] Production.INFO: ==11421== Lock acquired, processing the job...
[2025-01-10 04:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 04:47:03] Production.INFO: ==11429== Lock acquired, processing the job...
[2025-01-10 04:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 04:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 04:47:03] Production.INFO: ==11423== Lock acquired, processing the job...
[2025-01-10 04:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 04:47:03] Production.INFO: ==11425== Lock acquired, processing the job...
[2025-01-10 04:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 04:47:03] Production.INFO: Account Balance Start.
[2025-01-10 04:47:03] Production.INFO: CreateAllLog Start
[2025-01-10 04:47:03] Production.INFO: 117
[2025-01-10 04:47:03] Production.INFO: Date 2025-01-08
[2025-01-10 04:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:47:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:47:03] Production.INFO: ==11431== Lock acquired, processing the job...
[2025-01-10 04:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 04:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 04:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 04:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 04:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 04:47:03] Production.INFO: Date 2025-01-09
[2025-01-10 04:47:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:47:03] Production.ERROR: done
[2025-01-10 04:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 04:47:03] Production.INFO: Date 2025-01-10
[2025-01-10 04:47:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:47:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:47:03] Production.INFO: Total Charge 0
[2025-01-10 04:47:03] Production.INFO: count ==21
[2025-01-10 04:47:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:47:03] Production.INFO: CreateAllLog End
[2025-01-10 04:47:03] Production.INFO: count ==21
[2025-01-10 04:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214566') start
[2025-01-10 04:47:03] Production.ERROR: done
[2025-01-10 04:47:04] Production.INFO: ==11423== Releasing lock...
[2025-01-10 04:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 04:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 04:47:04] Production.INFO: Account Balance End.
[2025-01-10 04:47:04] Production.ERROR: CronJobId end 12
[2025-01-10 04:47:04] Production.INFO: ==11427== Releasing lock...
[2025-01-10 04:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 04:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 04:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214566') end
[2025-01-10 04:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 04:47:04] Production.INFO: 1
[2025-01-10 04:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 04:47:04] Production.INFO: ==11431== Releasing lock...
[2025-01-10 04:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 04:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 04:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 01:47:05
[end_date_ymd] => 2025-01-10 04:47:05
[RateCDR] => 1
)
[2025-01-10 04:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 01:47:05' and `end` < '2025-01-10 04:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 04:47:12] Production.ERROR: CronJobId end10
[2025-01-10 04:47:12] Production.INFO: ==11425== Releasing lock...
[2025-01-10 04:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 04:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 04:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 04:47:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 04:47:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 04:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 04:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 04:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 04:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 04:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 04:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 04:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 04:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 04:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 04:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 04:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 04:47:14] Production.INFO: call_cost start
[2025-01-10 04:47:14] Production.INFO: call_cost end
[2025-01-10 04:47:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 04:47:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 04:47:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 04:47:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 04:47:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 04:47:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 04:47:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 04:47:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 04:47:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 04:47:14] Production.INFO: ==11421== Releasing lock...
[2025-01-10 04:47:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 04:47:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 04:47:22] Production.INFO: count ==108
[2025-01-10 04:47:22] Production.ERROR: pbx CDR StartTime 2025-01-10 01:47:05 - End Time 2025-01-10 04:47:05
[2025-01-10 04:47:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 04:47:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214567', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:47:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214567', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:47:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214567', 'tblTempVendorCDR_20' ) start
[2025-01-10 04:47:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214567', 'tblTempVendorCDR_20' ) end
[2025-01-10 04:47:22] Production.INFO: ProcessCDR(1,14214567,1,1,2)
[2025-01-10 04:47:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214567,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:47:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214567,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:47:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214567,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:47:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214567,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:47:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214567', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:47:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214567', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:47:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:47:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:47:25] Production.INFO: ==11429== Releasing lock...
[2025-01-10 04:47:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 04:47:25] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:48:01] Production.INFO: ==11485== Lock acquired, processing the job...
[2025-01-10 09:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 09:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 09:48:01] Production.INFO: neon service started
[2025-01-10 09:48:01] Production.INFO: neon service started
[2025-01-10 09:48:01] Production.INFO: ==11485== Releasing lock...
[2025-01-10 09:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 09:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 04:48:01] Production.INFO: ==11487== Lock acquired, processing the job...
[2025-01-10 04:48:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 04:48:02] Production.INFO: ==11487== Releasing lock...
[2025-01-10 04:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 04:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 09:48:02] Production.INFO: ==11489== Lock acquired, processing the job...
[2025-01-10 09:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 09:48:02] Production.INFO: ==11489== Releasing lock...
[2025-01-10 09:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 09:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 04:48:03] Production.INFO: ==11497== Lock acquired, processing the job...
[2025-01-10 04:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 04:48:03] Production.INFO: ==11499== Lock acquired, processing the job...
[2025-01-10 04:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 04:48:03] Production.INFO: Account Balance Start.
[2025-01-10 04:48:03] Production.INFO: CreateAllLog Start
[2025-01-10 04:48:03] Production.INFO: 117
[2025-01-10 04:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:48:03] Production.INFO: Date 2025-01-08
[2025-01-10 04:48:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:48:03] Production.INFO: Date 2025-01-09
[2025-01-10 04:48:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:48:03] Production.INFO: ==11491== Lock acquired, processing the job...
[2025-01-10 04:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 04:48:03] Production.INFO: Date 2025-01-10
[2025-01-10 04:48:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:48:03] Production.INFO: ==11493== Lock acquired, processing the job...
[2025-01-10 04:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 04:48:03] Production.INFO: ==11495== Lock acquired, processing the job...
[2025-01-10 04:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 04:48:03] Production.INFO: Total Charge 0
[2025-01-10 04:48:03] Production.INFO: ==11501== Lock acquired, processing the job...
[2025-01-10 04:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 04:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 04:48:03] Production.INFO: CreateAllLog End
[2025-01-10 04:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 04:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 04:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 04:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 04:48:03] Production.ERROR: done
[2025-01-10 04:48:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 04:48:03] Production.INFO: Account Balance End.
[2025-01-10 04:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:48:03] Production.ERROR: CronJobId end 12
[2025-01-10 04:48:03] Production.INFO: ==11497== Releasing lock...
[2025-01-10 04:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 04:48:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 04:48:03] Production.ERROR: done
[2025-01-10 04:48:03] Production.INFO: count ==21
[2025-01-10 04:48:03] Production.INFO: ==11493== Releasing lock...
[2025-01-10 04:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 04:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 04:48:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:48:03] Production.INFO: count ==21
[2025-01-10 04:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214571') start
[2025-01-10 04:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214571') end
[2025-01-10 04:48:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 04:48:03] Production.INFO: 1
[2025-01-10 04:48:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 04:48:04] Production.INFO: ==11501== Releasing lock...
[2025-01-10 04:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 04:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 04:48:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 01:48:04
[end_date_ymd] => 2025-01-10 04:48:04
[RateCDR] => 1
)
[2025-01-10 04:48:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 01:48:04' and `end` < '2025-01-10 04:48:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 04:48:11] Production.ERROR: CronJobId end10
[2025-01-10 04:48:11] Production.INFO: ==11495== Releasing lock...
[2025-01-10 04:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 04:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 04:48:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 04:48:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 04:48:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 04:48:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 04:48:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 04:48:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 04:48:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 04:48:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 04:48:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 04:48:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 04:48:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 04:48:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 04:48:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 04:48:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 04:48:14] Production.INFO: call_cost start
[2025-01-10 04:48:14] Production.INFO: call_cost end
[2025-01-10 04:48:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 04:48:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 04:48:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 04:48:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 04:48:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 04:48:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 04:48:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 04:48:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 04:48:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 04:48:15] Production.INFO: ==11491== Releasing lock...
[2025-01-10 04:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 04:48:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 04:48:22] Production.INFO: count ==108
[2025-01-10 04:48:22] Production.ERROR: pbx CDR StartTime 2025-01-10 01:48:04 - End Time 2025-01-10 04:48:04
[2025-01-10 04:48:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 04:48:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214572', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:48:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214572', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:48:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214572', 'tblTempVendorCDR_20' ) start
[2025-01-10 04:48:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214572', 'tblTempVendorCDR_20' ) end
[2025-01-10 04:48:22] Production.INFO: ProcessCDR(1,14214572,1,1,2)
[2025-01-10 04:48:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214572,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:48:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214572,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:48:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214572,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:48:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214572,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:48:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214572', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:48:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214572', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:48:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:48:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:48:25] Production.INFO: ==11499== Releasing lock...
[2025-01-10 04:48:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 04:48:25] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:49:01] Production.INFO: ==11557== Lock acquired, processing the job...
[2025-01-10 09:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 09:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 09:49:01] Production.INFO: neon service started
[2025-01-10 09:49:01] Production.INFO: neon service started
[2025-01-10 09:49:01] Production.INFO: ==11557== Releasing lock...
[2025-01-10 09:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 09:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 04:49:02] Production.INFO: ==11560== Lock acquired, processing the job...
[2025-01-10 04:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:49:02] Production.INFO: ==11562== Lock acquired, processing the job...
[2025-01-10 09:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 04:49:02] Production.INFO: ==11560== Releasing lock...
[2025-01-10 04:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 04:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 09:49:02] Production.INFO: ==11562== Releasing lock...
[2025-01-10 09:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 09:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 04:49:03] Production.INFO: ==11566== Lock acquired, processing the job...
[2025-01-10 04:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 04:49:03] Production.INFO: ==11570== Lock acquired, processing the job...
[2025-01-10 04:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 04:49:03] Production.INFO: ==11564== Lock acquired, processing the job...
[2025-01-10 04:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 04:49:03] Production.INFO: ==11574== Lock acquired, processing the job...
[2025-01-10 04:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 04:49:03] Production.INFO: Account Balance Start.
[2025-01-10 04:49:03] Production.INFO: CreateAllLog Start
[2025-01-10 04:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 04:49:03] Production.INFO: 117
[2025-01-10 04:49:03] Production.INFO: Date 2025-01-08
[2025-01-10 04:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:49:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:49:03] Production.INFO: count ==21
[2025-01-10 04:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:49:03] Production.INFO: count ==21
[2025-01-10 04:49:03] Production.INFO: Date 2025-01-09
[2025-01-10 04:49:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:49:03] Production.INFO: ==11572== Lock acquired, processing the job...
[2025-01-10 04:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 04:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214575') start
[2025-01-10 04:49:03] Production.INFO: ==11568== Lock acquired, processing the job...
[2025-01-10 04:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 04:49:03] Production.INFO: Date 2025-01-10
[2025-01-10 04:49:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:49:03] Production.INFO: Total Charge 0
[2025-01-10 04:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214575') end
[2025-01-10 04:49:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 04:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 04:49:03] Production.INFO: 1
[2025-01-10 04:49:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 04:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 04:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 04:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 04:49:03] Production.INFO: CreateAllLog End
[2025-01-10 04:49:03] Production.INFO: ==11574== Releasing lock...
[2025-01-10 04:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 04:49:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 04:49:03] Production.INFO: ==11566== Releasing lock...
[2025-01-10 04:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 04:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 04:49:03] Production.ERROR: done
[2025-01-10 04:49:03] Production.INFO: Account Balance End.
[2025-01-10 04:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 04:49:03] Production.ERROR: CronJobId end 12
[2025-01-10 04:49:03] Production.INFO: ==11570== Releasing lock...
[2025-01-10 04:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 04:49:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 04:49:04] Production.ERROR: done
[2025-01-10 04:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 01:49:05
[end_date_ymd] => 2025-01-10 04:49:05
[RateCDR] => 1
)
[2025-01-10 04:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 01:49:05' and `end` < '2025-01-10 04:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 04:49:10] Production.ERROR: CronJobId end10
[2025-01-10 04:49:10] Production.INFO: ==11568== Releasing lock...
[2025-01-10 04:49:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 04:49:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 04:49:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 04:49:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 04:49:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 04:49:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 04:49:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 04:49:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 04:49:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 04:49:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 04:49:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 04:49:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 04:49:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 04:49:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 04:49:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 04:49:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 04:49:13] Production.INFO: call_cost start
[2025-01-10 04:49:13] Production.INFO: call_cost end
[2025-01-10 04:49:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 04:49:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 04:49:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 04:49:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 04:49:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 04:49:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 04:49:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 04:49:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 04:49:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 04:49:13] Production.INFO: ==11564== Releasing lock...
[2025-01-10 04:49:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 04:49:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 04:49:21] Production.INFO: count ==108
[2025-01-10 04:49:21] Production.ERROR: pbx CDR StartTime 2025-01-10 01:49:05 - End Time 2025-01-10 04:49:05
[2025-01-10 04:49:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 04:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214577', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214577', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214577', 'tblTempVendorCDR_20' ) start
[2025-01-10 04:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214577', 'tblTempVendorCDR_20' ) end
[2025-01-10 04:49:21] Production.INFO: ProcessCDR(1,14214577,1,1,2)
[2025-01-10 04:49:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214577,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:49:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214577,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:49:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214577,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:49:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214577,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:49:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214577', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:49:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214577', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:49:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:49:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:49:24] Production.INFO: ==11572== Releasing lock...
[2025-01-10 04:49:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 04:49:24] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:50:02] Production.INFO: ==11628== Lock acquired, processing the job...
[2025-01-10 09:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 09:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 09:50:02] Production.INFO: neon service started
[2025-01-10 09:50:02] Production.INFO: neon service started
[2025-01-10 09:50:02] Production.INFO: ==11628== Releasing lock...
[2025-01-10 09:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 09:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 09:50:02] Production.INFO: ==11632== Lock acquired, processing the job...
[2025-01-10 09:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 09:50:02] Production.INFO: ==11632== Releasing lock...
[2025-01-10 09:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 09:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 04:50:02] Production.INFO: ==11630== Lock acquired, processing the job...
[2025-01-10 04:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 04:50:03] Production.INFO: ==11630== Releasing lock...
[2025-01-10 04:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 04:50:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 04:50:03] Production.INFO: ==11635== Lock acquired, processing the job...
[2025-01-10 04:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 04:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 04:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 04:50:03] Production.INFO: ==11635== Releasing lock...
[2025-01-10 04:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 04:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 04:50:04] Production.INFO: ==11639== Lock acquired, processing the job...
[2025-01-10 04:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 04:50:04] Production.INFO: ==11643== Lock acquired, processing the job...
[2025-01-10 04:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 04:50:04] Production.INFO: ==11637== Lock acquired, processing the job...
[2025-01-10 04:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 04:50:04] Production.INFO: ==11645== Lock acquired, processing the job...
[2025-01-10 04:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 04:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:50:04] Production.INFO: Account Balance Start.
[2025-01-10 04:50:04] Production.INFO: CreateAllLog Start
[2025-01-10 04:50:04] Production.INFO: 117
[2025-01-10 04:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 04:50:04] Production.INFO: Date 2025-01-08
[2025-01-10 04:50:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:50:04] Production.INFO: ==11641== Lock acquired, processing the job...
[2025-01-10 04:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 04:50:04] Production.INFO: ==11649== Lock acquired, processing the job...
[2025-01-10 04:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 04:50:04] Production.INFO: Date 2025-01-09
[2025-01-10 04:50:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:50:04] Production.INFO: ==11639== Releasing lock...
[2025-01-10 04:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 04:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 04:50:04] Production.INFO: Date 2025-01-10
[2025-01-10 04:50:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:50:04] Production.INFO: ==11647== Lock acquired, processing the job...
[2025-01-10 04:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 04:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 04:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 04:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 04:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 04:50:04] Production.INFO: Total Charge 0
[2025-01-10 04:50:04] Production.INFO: CreateAllLog End
[2025-01-10 04:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:50:04] Production.INFO: count ==21
[2025-01-10 04:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:50:04] Production.ERROR: done
[2025-01-10 04:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 04:50:04] Production.INFO: count ==21
[2025-01-10 04:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214581') start
[2025-01-10 04:50:04] Production.INFO: Account Balance End.
[2025-01-10 04:50:04] Production.ERROR: done
[2025-01-10 04:50:04] Production.ERROR: CronJobId end 12
[2025-01-10 04:50:04] Production.INFO: ==11643== Releasing lock...
[2025-01-10 04:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 04:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 04:50:04] Production.ERROR: done
[2025-01-10 04:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 04:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14214582', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 04:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214581') end
[2025-01-10 04:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 04:50:04] Production.INFO: 1
[2025-01-10 04:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 04:50:05] Production.INFO: ==11649== Releasing lock...
[2025-01-10 04:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 04:50:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 04:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 01:50:06
[end_date_ymd] => 2025-01-10 04:50:06
[RateCDR] => 1
)
[2025-01-10 04:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 01:50:06' and `end` < '2025-01-10 04:50:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 04:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14214582', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 04:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 04:50:08] Production.INFO: ProcessCDR(1,14214582,1,1,2)
[2025-01-10 04:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14214582,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14214582,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:50:08] Production.INFO: ==11647== Releasing lock...
[2025-01-10 04:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 04:50:08] Production.INFO: 26 MB #Memory Used#
[2025-01-10 04:50:13] Production.ERROR: CronJobId end10
[2025-01-10 04:50:13] Production.INFO: ==11641== Releasing lock...
[2025-01-10 04:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 04:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 04:50:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 04:50:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 04:50:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 04:50:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 04:50:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 04:50:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 04:50:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 04:50:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 04:50:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 04:50:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 04:50:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 04:50:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 04:50:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 04:50:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 04:50:15] Production.INFO: call_cost start
[2025-01-10 04:50:15] Production.INFO: call_cost end
[2025-01-10 04:50:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 04:50:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 04:50:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 04:50:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 04:50:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 04:50:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 04:50:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 04:50:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 04:50:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 04:50:15] Production.INFO: ==11637== Releasing lock...
[2025-01-10 04:50:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 04:50:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 04:50:22] Production.INFO: count ==100
[2025-01-10 04:50:22] Production.ERROR: pbx CDR StartTime 2025-01-10 01:50:06 - End Time 2025-01-10 04:50:06
[2025-01-10 04:50:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 04:50:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214583', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:50:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214583', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:50:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214583', 'tblTempVendorCDR_20' ) start
[2025-01-10 04:50:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214583', 'tblTempVendorCDR_20' ) end
[2025-01-10 04:50:22] Production.INFO: ProcessCDR(1,14214583,1,1,2)
[2025-01-10 04:50:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214583,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:50:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214583,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:50:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214583,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:50:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214583,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:50:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214583', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:50:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214583', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:50:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:50:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:50:25] Production.INFO: ==11645== Releasing lock...
[2025-01-10 04:50:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 04:50:25] Production.INFO: 28 MB #Memory Used#
[2025-01-10 09:51:01] Production.INFO: ==11701== Lock acquired, processing the job...
[2025-01-10 09:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 09:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 09:51:01] Production.INFO: neon service started
[2025-01-10 09:51:01] Production.INFO: neon service started
[2025-01-10 09:51:01] Production.INFO: ==11701== Releasing lock...
[2025-01-10 09:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 09:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 04:51:01] Production.INFO: ==11703== Lock acquired, processing the job...
[2025-01-10 04:51:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 04:51:02] Production.INFO: ==11703== Releasing lock...
[2025-01-10 04:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 04:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 09:51:02] Production.INFO: ==11705== Lock acquired, processing the job...
[2025-01-10 09:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 09:51:02] Production.INFO: ==11705== Releasing lock...
[2025-01-10 09:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 09:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 04:51:03] Production.INFO: ==11714== Lock acquired, processing the job...
[2025-01-10 04:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 04:51:03] Production.INFO: Account Balance Start.
[2025-01-10 04:51:03] Production.INFO: CreateAllLog Start
[2025-01-10 04:51:03] Production.INFO: 117
[2025-01-10 04:51:03] Production.INFO: Date 2025-01-08
[2025-01-10 04:51:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:51:03] Production.INFO: Date 2025-01-09
[2025-01-10 04:51:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:51:03] Production.INFO: ==11718== Lock acquired, processing the job...
[2025-01-10 04:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 04:51:03] Production.INFO: Date 2025-01-10
[2025-01-10 04:51:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:51:03] Production.INFO: Total Charge 0
[2025-01-10 04:51:03] Production.INFO: ==11708== Lock acquired, processing the job...
[2025-01-10 04:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 04:51:03] Production.INFO: CreateAllLog End
[2025-01-10 04:51:03] Production.INFO: ==11710== Lock acquired, processing the job...
[2025-01-10 04:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 04:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:51:03] Production.INFO: ==11712== Lock acquired, processing the job...
[2025-01-10 04:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 04:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 04:51:03] Production.INFO: count ==21
[2025-01-10 04:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:51:03] Production.INFO: count ==21
[2025-01-10 04:51:03] Production.INFO: ==11716== Lock acquired, processing the job...
[2025-01-10 04:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 04:51:03] Production.INFO: Account Balance End.
[2025-01-10 04:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214585') start
[2025-01-10 04:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 04:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 04:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 04:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 04:51:03] Production.ERROR: CronJobId end 12
[2025-01-10 04:51:03] Production.INFO: ==11714== Releasing lock...
[2025-01-10 04:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 04:51:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 04:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214585') end
[2025-01-10 04:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 04:51:03] Production.INFO: 1
[2025-01-10 04:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 04:51:03] Production.INFO: ==11718== Releasing lock...
[2025-01-10 04:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 04:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 04:51:03] Production.ERROR: done
[2025-01-10 04:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 04:51:03] Production.INFO: ==11710== Releasing lock...
[2025-01-10 04:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 04:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 04:51:03] Production.ERROR: done
[2025-01-10 04:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 01:51:05
[end_date_ymd] => 2025-01-10 04:51:05
[RateCDR] => 1
)
[2025-01-10 04:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 01:51:05' and `end` < '2025-01-10 04:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 04:51:10] Production.ERROR: CronJobId end10
[2025-01-10 04:51:10] Production.INFO: ==11712== Releasing lock...
[2025-01-10 04:51:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 04:51:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 04:51:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 04:51:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 04:51:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 04:51:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 04:51:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 04:51:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 04:51:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 04:51:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 04:51:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 04:51:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 04:51:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 04:51:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 04:51:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 04:51:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 04:51:13] Production.INFO: call_cost start
[2025-01-10 04:51:13] Production.INFO: call_cost end
[2025-01-10 04:51:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 04:51:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 04:51:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 04:51:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 04:51:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 04:51:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 04:51:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 04:51:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 04:51:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 04:51:13] Production.INFO: ==11708== Releasing lock...
[2025-01-10 04:51:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 04:51:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 04:51:20] Production.INFO: count ==94
[2025-01-10 04:51:20] Production.ERROR: pbx CDR StartTime 2025-01-10 01:51:05 - End Time 2025-01-10 04:51:05
[2025-01-10 04:51:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 04:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214588', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214588', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214588', 'tblTempVendorCDR_20' ) start
[2025-01-10 04:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214588', 'tblTempVendorCDR_20' ) end
[2025-01-10 04:51:20] Production.INFO: ProcessCDR(1,14214588,1,1,2)
[2025-01-10 04:51:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214588,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:51:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214588,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:51:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214588,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:51:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214588,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:51:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214588', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:51:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214588', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:51:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:51:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:51:23] Production.INFO: ==11716== Releasing lock...
[2025-01-10 04:51:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 04:51:23] Production.INFO: 28 MB #Memory Used#
[2025-01-10 09:52:02] Production.INFO: ==11772== Lock acquired, processing the job...
[2025-01-10 09:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 09:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 09:52:02] Production.INFO: neon service started
[2025-01-10 09:52:02] Production.INFO: neon service started
[2025-01-10 09:52:02] Production.INFO: ==11772== Releasing lock...
[2025-01-10 09:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 09:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 04:52:02] Production.INFO: ==11774== Lock acquired, processing the job...
[2025-01-10 04:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 04:52:02] Production.INFO: ==11774== Releasing lock...
[2025-01-10 04:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 04:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 09:52:02] Production.INFO: ==11776== Lock acquired, processing the job...
[2025-01-10 09:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 09:52:02] Production.INFO: ==11776== Releasing lock...
[2025-01-10 09:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 09:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 04:52:03] Production.INFO: ==11782== Lock acquired, processing the job...
[2025-01-10 04:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 04:52:03] Production.INFO: ==11786== Lock acquired, processing the job...
[2025-01-10 04:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 04:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 04:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 04:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 04:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 04:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:52:03] Production.INFO: ==11780== Lock acquired, processing the job...
[2025-01-10 04:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 04:52:03] Production.INFO: ==11778== Lock acquired, processing the job...
[2025-01-10 04:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 04:52:03] Production.INFO: ==11784== Lock acquired, processing the job...
[2025-01-10 04:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 04:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 04:52:03] Production.INFO: ==11788== Lock acquired, processing the job...
[2025-01-10 04:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 04:52:04] Production.ERROR: done
[2025-01-10 04:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 04:52:04] Production.INFO: Account Balance Start.
[2025-01-10 04:52:04] Production.INFO: CreateAllLog Start
[2025-01-10 04:52:04] Production.INFO: 117
[2025-01-10 04:52:04] Production.INFO: Date 2025-01-08
[2025-01-10 04:52:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:52:04] Production.ERROR: done
[2025-01-10 04:52:04] Production.INFO: count ==21
[2025-01-10 04:52:04] Production.INFO: Date 2025-01-09
[2025-01-10 04:52:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:52:04] Production.INFO: Date 2025-01-10
[2025-01-10 04:52:04] Production.INFO: count ==21
[2025-01-10 04:52:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214592') start
[2025-01-10 04:52:04] Production.INFO: Total Charge 0
[2025-01-10 04:52:04] Production.INFO: CreateAllLog End
[2025-01-10 04:52:04] Production.INFO: ==11780== Releasing lock...
[2025-01-10 04:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 04:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 04:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214592') end
[2025-01-10 04:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 04:52:04] Production.INFO: 1
[2025-01-10 04:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 04:52:04] Production.INFO: ==11788== Releasing lock...
[2025-01-10 04:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 04:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 04:52:04] Production.INFO: Account Balance End.
[2025-01-10 04:52:04] Production.ERROR: CronJobId end 12
[2025-01-10 04:52:04] Production.INFO: ==11784== Releasing lock...
[2025-01-10 04:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 04:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 04:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 01:52:05
[end_date_ymd] => 2025-01-10 04:52:05
[RateCDR] => 1
)
[2025-01-10 04:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 01:52:05' and `end` < '2025-01-10 04:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 04:52:11] Production.ERROR: CronJobId end10
[2025-01-10 04:52:11] Production.INFO: ==11782== Releasing lock...
[2025-01-10 04:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 04:52:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 04:52:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 04:52:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 04:52:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 04:52:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 04:52:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 04:52:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 04:52:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 04:52:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 04:52:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 04:52:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 04:52:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 04:52:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 04:52:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 04:52:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 04:52:13] Production.INFO: call_cost start
[2025-01-10 04:52:13] Production.INFO: call_cost end
[2025-01-10 04:52:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 04:52:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 04:52:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 04:52:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 04:52:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 04:52:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 04:52:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 04:52:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 04:52:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 04:52:14] Production.INFO: ==11778== Releasing lock...
[2025-01-10 04:52:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 04:52:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 04:52:20] Production.INFO: count ==94
[2025-01-10 04:52:20] Production.ERROR: pbx CDR StartTime 2025-01-10 01:52:05 - End Time 2025-01-10 04:52:05
[2025-01-10 04:52:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 04:52:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214593', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:52:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214593', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:52:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214593', 'tblTempVendorCDR_20' ) start
[2025-01-10 04:52:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214593', 'tblTempVendorCDR_20' ) end
[2025-01-10 04:52:20] Production.INFO: ProcessCDR(1,14214593,1,1,2)
[2025-01-10 04:52:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214593,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:52:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214593,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:52:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214593,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:52:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214593,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:52:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214593', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:52:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214593', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:52:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:52:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:52:23] Production.INFO: ==11786== Releasing lock...
[2025-01-10 04:52:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 04:52:23] Production.INFO: 28 MB #Memory Used#
[2025-01-10 09:53:01] Production.INFO: ==11843== Lock acquired, processing the job...
[2025-01-10 09:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 09:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 09:53:01] Production.INFO: neon service started
[2025-01-10 09:53:01] Production.INFO: neon service started
[2025-01-10 09:53:01] Production.INFO: ==11843== Releasing lock...
[2025-01-10 09:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 09:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 04:53:01] Production.INFO: ==11845== Lock acquired, processing the job...
[2025-01-10 04:53:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 04:53:02] Production.INFO: ==11845== Releasing lock...
[2025-01-10 04:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 04:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 09:53:02] Production.INFO: ==11847== Lock acquired, processing the job...
[2025-01-10 09:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 09:53:02] Production.INFO: ==11847== Releasing lock...
[2025-01-10 09:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 09:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 04:53:02] Production.INFO: ==11853== Lock acquired, processing the job...
[2025-01-10 04:53:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 04:53:03] Production.INFO: ==11859== Lock acquired, processing the job...
[2025-01-10 04:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 04:53:03] Production.INFO: ==11851== Lock acquired, processing the job...
[2025-01-10 04:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 04:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 04:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 04:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 04:53:03] Production.INFO: ==11849== Lock acquired, processing the job...
[2025-01-10 04:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 04:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 04:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:53:03] Production.INFO: ==11855== Lock acquired, processing the job...
[2025-01-10 04:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 04:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 04:53:03] Production.INFO: ==11857== Lock acquired, processing the job...
[2025-01-10 04:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 04:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:53:03] Production.INFO: Account Balance Start.
[2025-01-10 04:53:03] Production.INFO: CreateAllLog Start
[2025-01-10 04:53:03] Production.INFO: 117
[2025-01-10 04:53:03] Production.INFO: Date 2025-01-08
[2025-01-10 04:53:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:53:03] Production.INFO: ==11851== Releasing lock...
[2025-01-10 04:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 04:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 04:53:03] Production.INFO: Date 2025-01-09
[2025-01-10 04:53:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:53:03] Production.INFO: Date 2025-01-10
[2025-01-10 04:53:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:53:03] Production.ERROR: done
[2025-01-10 04:53:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 04:53:03] Production.INFO: Total Charge 0
[2025-01-10 04:53:03] Production.INFO: CreateAllLog End
[2025-01-10 04:53:03] Production.ERROR: done
[2025-01-10 04:53:04] Production.INFO: Account Balance End.
[2025-01-10 04:53:04] Production.ERROR: CronJobId end 12
[2025-01-10 04:53:04] Production.INFO: ==11855== Releasing lock...
[2025-01-10 04:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 04:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 04:53:04] Production.INFO: count ==21
[2025-01-10 04:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:53:04] Production.INFO: count ==21
[2025-01-10 04:53:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 01:53:04
[end_date_ymd] => 2025-01-10 04:53:04
[RateCDR] => 1
)
[2025-01-10 04:53:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 01:53:04' and `end` < '2025-01-10 04:53:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 04:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214594') start
[2025-01-10 04:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214594') end
[2025-01-10 04:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 04:53:04] Production.INFO: 1
[2025-01-10 04:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 04:53:04] Production.INFO: ==11859== Releasing lock...
[2025-01-10 04:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 04:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 04:53:10] Production.ERROR: CronJobId end10
[2025-01-10 04:53:10] Production.INFO: ==11853== Releasing lock...
[2025-01-10 04:53:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 04:53:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 04:53:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 04:53:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 04:53:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 04:53:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 04:53:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 04:53:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 04:53:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 04:53:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 04:53:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 04:53:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 04:53:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 04:53:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 04:53:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 04:53:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 04:53:13] Production.INFO: call_cost start
[2025-01-10 04:53:13] Production.INFO: call_cost end
[2025-01-10 04:53:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 04:53:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 04:53:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 04:53:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 04:53:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 04:53:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 04:53:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 04:53:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 04:53:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 04:53:13] Production.INFO: ==11849== Releasing lock...
[2025-01-10 04:53:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 04:53:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 04:53:22] Production.INFO: count ==94
[2025-01-10 04:53:22] Production.ERROR: pbx CDR StartTime 2025-01-10 01:53:04 - End Time 2025-01-10 04:53:04
[2025-01-10 04:53:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 04:53:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214598', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:53:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214598', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:53:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214598', 'tblTempVendorCDR_20' ) start
[2025-01-10 04:53:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214598', 'tblTempVendorCDR_20' ) end
[2025-01-10 04:53:22] Production.INFO: ProcessCDR(1,14214598,1,1,2)
[2025-01-10 04:53:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214598,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:53:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214598,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:53:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214598,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:53:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214598,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:53:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214598', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:53:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214598', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:53:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:53:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:53:25] Production.INFO: ==11857== Releasing lock...
[2025-01-10 04:53:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 04:53:25] Production.INFO: 28 MB #Memory Used#
[2025-01-10 09:54:01] Production.INFO: ==11919== Lock acquired, processing the job...
[2025-01-10 09:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 09:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 09:54:01] Production.INFO: neon service started
[2025-01-10 09:54:01] Production.INFO: neon service started
[2025-01-10 09:54:01] Production.INFO: ==11919== Releasing lock...
[2025-01-10 09:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 09:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 09:54:02] Production.INFO: ==11923== Lock acquired, processing the job...
[2025-01-10 09:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 09:54:02] Production.INFO: ==11923== Releasing lock...
[2025-01-10 09:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 09:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 04:54:02] Production.INFO: ==11921== Lock acquired, processing the job...
[2025-01-10 04:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 04:54:02] Production.INFO: ==11921== Releasing lock...
[2025-01-10 04:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 04:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 04:54:03] Production.INFO: ==11929== Lock acquired, processing the job...
[2025-01-10 04:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 04:54:03] Production.INFO: ==11925== Lock acquired, processing the job...
[2025-01-10 04:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 04:54:03] Production.INFO: ==11934== Lock acquired, processing the job...
[2025-01-10 04:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 04:54:03] Production.INFO: ==11927== Lock acquired, processing the job...
[2025-01-10 04:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 04:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 04:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 04:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 04:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 04:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 04:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:54:03] Production.INFO: ==11931== Lock acquired, processing the job...
[2025-01-10 04:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 04:54:03] Production.INFO: ==11936== Lock acquired, processing the job...
[2025-01-10 04:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 04:54:04] Production.INFO: Account Balance Start.
[2025-01-10 04:54:04] Production.INFO: CreateAllLog Start
[2025-01-10 04:54:04] Production.INFO: 117
[2025-01-10 04:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:54:04] Production.INFO: count ==21
[2025-01-10 04:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:54:04] Production.INFO: count ==21
[2025-01-10 04:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214602') start
[2025-01-10 04:54:04] Production.INFO: Date 2025-01-08
[2025-01-10 04:54:04] Production.ERROR: done
[2025-01-10 04:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 04:54:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:54:04] Production.INFO: ==11927== Releasing lock...
[2025-01-10 04:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 04:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 04:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214602') end
[2025-01-10 04:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 04:54:04] Production.INFO: 1
[2025-01-10 04:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 04:54:04] Production.INFO: ==11936== Releasing lock...
[2025-01-10 04:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 04:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 04:54:04] Production.ERROR: done
[2025-01-10 04:54:04] Production.INFO: Date 2025-01-09
[2025-01-10 04:54:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:54:04] Production.INFO: Date 2025-01-10
[2025-01-10 04:54:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:54:04] Production.INFO: Total Charge 0
[2025-01-10 04:54:04] Production.INFO: CreateAllLog End
[2025-01-10 04:54:04] Production.INFO: Account Balance End.
[2025-01-10 04:54:04] Production.ERROR: CronJobId end 12
[2025-01-10 04:54:04] Production.INFO: ==11931== Releasing lock...
[2025-01-10 04:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 04:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 04:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 01:54:05
[end_date_ymd] => 2025-01-10 04:54:05
[RateCDR] => 1
)
[2025-01-10 04:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 01:54:05' and `end` < '2025-01-10 04:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 04:54:12] Production.ERROR: CronJobId end10
[2025-01-10 04:54:12] Production.INFO: ==11929== Releasing lock...
[2025-01-10 04:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 04:54:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 04:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 04:54:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 04:54:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 04:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 04:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 04:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 04:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 04:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 04:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 04:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 04:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 04:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 04:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 04:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 04:54:14] Production.INFO: call_cost start
[2025-01-10 04:54:14] Production.INFO: call_cost end
[2025-01-10 04:54:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 04:54:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 04:54:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 04:54:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 04:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 04:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 04:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 04:54:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 04:54:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 04:54:14] Production.INFO: ==11925== Releasing lock...
[2025-01-10 04:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 04:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 04:54:22] Production.INFO: count ==94
[2025-01-10 04:54:22] Production.ERROR: pbx CDR StartTime 2025-01-10 01:54:05 - End Time 2025-01-10 04:54:05
[2025-01-10 04:54:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 04:54:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214603', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:54:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214603', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:54:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214603', 'tblTempVendorCDR_20' ) start
[2025-01-10 04:54:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214603', 'tblTempVendorCDR_20' ) end
[2025-01-10 04:54:22] Production.INFO: ProcessCDR(1,14214603,1,1,2)
[2025-01-10 04:54:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214603,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:54:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214603,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:54:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214603,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:54:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214603,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:54:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214603', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:54:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214603', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:54:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:54:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:54:25] Production.INFO: ==11934== Releasing lock...
[2025-01-10 04:54:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 04:54:25] Production.INFO: 28 MB #Memory Used#
[2025-01-10 09:55:01] Production.INFO: ==11988== Lock acquired, processing the job...
[2025-01-10 09:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 09:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 09:55:01] Production.INFO: neon service started
[2025-01-10 09:55:01] Production.INFO: neon service started
[2025-01-10 09:55:01] Production.INFO: ==11988== Releasing lock...
[2025-01-10 09:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 09:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 04:55:02] Production.INFO: ==11990== Lock acquired, processing the job...
[2025-01-10 04:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:55:02] Production.INFO: ==11992== Lock acquired, processing the job...
[2025-01-10 09:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 09:55:02] Production.INFO: ==11992== Releasing lock...
[2025-01-10 09:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 09:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 04:55:02] Production.INFO: ==11990== Releasing lock...
[2025-01-10 04:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 04:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 04:55:03] Production.INFO: ==12001== Lock acquired, processing the job...
[2025-01-10 04:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 04:55:03] Production.INFO: ==11995== Lock acquired, processing the job...
[2025-01-10 04:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 04:55:03] Production.INFO: ==11997== Lock acquired, processing the job...
[2025-01-10 04:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 04:55:03] Production.INFO: ==11999== Lock acquired, processing the job...
[2025-01-10 04:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 04:55:03] Production.INFO: ==12005== Lock acquired, processing the job...
[2025-01-10 04:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 04:55:03] Production.INFO: ==12003== Lock acquired, processing the job...
[2025-01-10 04:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 04:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 04:55:03] Production.INFO: Account Balance Start.
[2025-01-10 04:55:03] Production.INFO: CreateAllLog Start
[2025-01-10 04:55:03] Production.INFO: 117
[2025-01-10 04:55:03] Production.INFO: Date 2025-01-08
[2025-01-10 04:55:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 04:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 04:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 04:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 04:55:03] Production.INFO: Date 2025-01-09
[2025-01-10 04:55:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:55:03] Production.INFO: count ==21
[2025-01-10 04:55:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:55:03] Production.INFO: count ==21
[2025-01-10 04:55:03] Production.INFO: Date 2025-01-10
[2025-01-10 04:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214607') start
[2025-01-10 04:55:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:55:03] Production.INFO: Total Charge 0
[2025-01-10 04:55:03] Production.INFO: ==11997== Releasing lock...
[2025-01-10 04:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 04:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 04:55:03] Production.INFO: CreateAllLog End
[2025-01-10 04:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214607') end
[2025-01-10 04:55:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 04:55:03] Production.INFO: 1
[2025-01-10 04:55:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 04:55:03] Production.INFO: ==12005== Releasing lock...
[2025-01-10 04:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 04:55:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 04:55:03] Production.ERROR: done
[2025-01-10 04:55:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 04:55:04] Production.ERROR: done
[2025-01-10 04:55:04] Production.INFO: Account Balance End.
[2025-01-10 04:55:04] Production.ERROR: CronJobId end 12
[2025-01-10 04:55:04] Production.INFO: ==12001== Releasing lock...
[2025-01-10 04:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 04:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 04:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 01:55:05
[end_date_ymd] => 2025-01-10 04:55:05
[RateCDR] => 1
)
[2025-01-10 04:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 01:55:05' and `end` < '2025-01-10 04:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 04:55:10] Production.ERROR: CronJobId end10
[2025-01-10 04:55:10] Production.INFO: ==11999== Releasing lock...
[2025-01-10 04:55:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 04:55:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 04:55:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 04:55:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 04:55:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 04:55:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 04:55:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 04:55:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 04:55:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 04:55:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 04:55:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 04:55:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 04:55:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 04:55:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 04:55:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 04:55:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 04:55:13] Production.INFO: call_cost start
[2025-01-10 04:55:13] Production.INFO: call_cost end
[2025-01-10 04:55:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 04:55:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 04:55:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 04:55:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 04:55:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 04:55:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 04:55:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 04:55:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 04:55:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 04:55:13] Production.INFO: ==11995== Releasing lock...
[2025-01-10 04:55:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 04:55:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 04:55:20] Production.INFO: count ==94
[2025-01-10 04:55:20] Production.ERROR: pbx CDR StartTime 2025-01-10 01:55:05 - End Time 2025-01-10 04:55:05
[2025-01-10 04:55:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 04:55:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214608', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:55:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214608', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:55:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214608', 'tblTempVendorCDR_20' ) start
[2025-01-10 04:55:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214608', 'tblTempVendorCDR_20' ) end
[2025-01-10 04:55:20] Production.INFO: ProcessCDR(1,14214608,1,1,2)
[2025-01-10 04:55:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214608,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:55:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214608,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:55:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214608,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:55:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214608,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:55:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214608', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:55:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214608', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:55:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:55:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:55:24] Production.INFO: ==12003== Releasing lock...
[2025-01-10 04:55:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 04:55:24] Production.INFO: 28 MB #Memory Used#
[2025-01-10 09:56:01] Production.INFO: ==12059== Lock acquired, processing the job...
[2025-01-10 09:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 09:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 09:56:01] Production.INFO: neon service started
[2025-01-10 09:56:01] Production.INFO: neon service started
[2025-01-10 09:56:01] Production.INFO: ==12059== Releasing lock...
[2025-01-10 09:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 09:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 04:56:02] Production.INFO: ==12061== Lock acquired, processing the job...
[2025-01-10 04:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 04:56:02] Production.INFO: ==12061== Releasing lock...
[2025-01-10 04:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 04:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 09:56:02] Production.INFO: ==12063== Lock acquired, processing the job...
[2025-01-10 09:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 09:56:02] Production.INFO: ==12063== Releasing lock...
[2025-01-10 09:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 09:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 04:56:03] Production.INFO: ==12069== Lock acquired, processing the job...
[2025-01-10 04:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 04:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 04:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 04:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 04:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 04:56:03] Production.INFO: ==12076== Lock acquired, processing the job...
[2025-01-10 04:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 04:56:03] Production.INFO: ==12065== Lock acquired, processing the job...
[2025-01-10 04:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 04:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:56:03] Production.INFO: ==12067== Lock acquired, processing the job...
[2025-01-10 04:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 04:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 04:56:03] Production.INFO: count ==21
[2025-01-10 04:56:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:56:03] Production.INFO: count ==21
[2025-01-10 04:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214609') start
[2025-01-10 04:56:03] Production.INFO: ==12072== Lock acquired, processing the job...
[2025-01-10 04:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 04:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214609') end
[2025-01-10 04:56:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 04:56:03] Production.INFO: 1
[2025-01-10 04:56:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 04:56:03] Production.INFO: ==12074== Lock acquired, processing the job...
[2025-01-10 04:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 04:56:03] Production.INFO: ==12076== Releasing lock...
[2025-01-10 04:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 04:56:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 04:56:04] Production.INFO: Account Balance Start.
[2025-01-10 04:56:04] Production.INFO: CreateAllLog Start
[2025-01-10 04:56:04] Production.INFO: 117
[2025-01-10 04:56:04] Production.INFO: ==12067== Releasing lock...
[2025-01-10 04:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 04:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 04:56:04] Production.INFO: Date 2025-01-08
[2025-01-10 04:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:56:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:56:04] Production.INFO: Date 2025-01-09
[2025-01-10 04:56:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:56:04] Production.INFO: Date 2025-01-10
[2025-01-10 04:56:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:56:04] Production.INFO: Total Charge 0
[2025-01-10 04:56:04] Production.INFO: CreateAllLog End
[2025-01-10 04:56:04] Production.ERROR: done
[2025-01-10 04:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 04:56:04] Production.INFO: Account Balance End.
[2025-01-10 04:56:04] Production.ERROR: CronJobId end 12
[2025-01-10 04:56:04] Production.INFO: ==12072== Releasing lock...
[2025-01-10 04:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 04:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 04:56:04] Production.ERROR: done
[2025-01-10 04:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 01:56:05
[end_date_ymd] => 2025-01-10 04:56:05
[RateCDR] => 1
)
[2025-01-10 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-01-10 01:56:05' and `end` < '2025-01-10 04:56:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 04:56:10] Production.ERROR: CronJobId end10
[2025-01-10 04:56:10] Production.INFO: ==12069== Releasing lock...
[2025-01-10 04:56:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 04:56:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 04:56:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 04:56:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 04:56:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 04:56:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 04:56:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 04:56:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 04:56:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 04:56:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 04:56:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 04:56:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 04:56:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 04:56:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 04:56:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 04:56:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 04:56:13] Production.INFO: call_cost start
[2025-01-10 04:56:13] Production.INFO: call_cost end
[2025-01-10 04:56:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 04:56:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 04:56:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 04:56:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 04:56:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 04:56:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 04:56:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 04:56:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 04:56:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 04:56:14] Production.INFO: ==12065== Releasing lock...
[2025-01-10 04:56:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 04:56:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 04:56:22] Production.INFO: count ==94
[2025-01-10 04:56:22] Production.ERROR: pbx CDR StartTime 2025-01-10 01:56:05 - End Time 2025-01-10 04:56:05
[2025-01-10 04:56:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 04:56:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214613', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:56:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214613', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:56:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214613', 'tblTempVendorCDR_20' ) start
[2025-01-10 04:56:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214613', 'tblTempVendorCDR_20' ) end
[2025-01-10 04:56:22] Production.INFO: ProcessCDR(1,14214613,1,1,2)
[2025-01-10 04:56:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214613,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:56:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214613,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:56:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214613,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:56:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214613,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:56:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214613', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:56:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214613', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:56:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:56:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:56:25] Production.INFO: ==12074== Releasing lock...
[2025-01-10 04:56:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 04:56:25] Production.INFO: 28 MB #Memory Used#
[2025-01-10 09:57:01] Production.INFO: ==12129== Lock acquired, processing the job...
[2025-01-10 09:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 09:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 09:57:01] Production.INFO: neon service started
[2025-01-10 09:57:01] Production.INFO: neon service started
[2025-01-10 09:57:01] Production.INFO: ==12129== Releasing lock...
[2025-01-10 09:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 09:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 09:57:01] Production.INFO: ==12133== Lock acquired, processing the job...
[2025-01-10 09:57:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 09:57:01] Production.INFO: ==12133== Releasing lock...
[2025-01-10 09:57:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 09:57:01] Production.INFO: 25 MB #Memory Used#
[2025-01-10 04:57:01] Production.INFO: ==12131== Lock acquired, processing the job...
[2025-01-10 04:57:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 04:57:02] Production.INFO: ==12131== Releasing lock...
[2025-01-10 04:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 04:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 04:57:02] Production.INFO: ==12139== Lock acquired, processing the job...
[2025-01-10 04:57:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 04:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 04:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 04:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 04:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 04:57:03] Production.INFO: ==12145== Lock acquired, processing the job...
[2025-01-10 04:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 04:57:03] Production.INFO: ==12135== Lock acquired, processing the job...
[2025-01-10 04:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 04:57:03] Production.INFO: ==12137== Lock acquired, processing the job...
[2025-01-10 04:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 04:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 04:57:03] Production.INFO: count ==21
[2025-01-10 04:57:03] Production.INFO: ==12143== Lock acquired, processing the job...
[2025-01-10 04:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 04:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:57:03] Production.INFO: count ==21
[2025-01-10 04:57:03] Production.INFO: ==12141== Lock acquired, processing the job...
[2025-01-10 04:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 04:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214614') start
[2025-01-10 04:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214614') end
[2025-01-10 04:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 04:57:03] Production.INFO: 1
[2025-01-10 04:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 04:57:03] Production.INFO: ==12145== Releasing lock...
[2025-01-10 04:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 04:57:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 04:57:03] Production.INFO: Account Balance Start.
[2025-01-10 04:57:03] Production.INFO: ==12137== Releasing lock...
[2025-01-10 04:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 04:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 04:57:03] Production.INFO: CreateAllLog Start
[2025-01-10 04:57:03] Production.INFO: 117
[2025-01-10 04:57:03] Production.ERROR: done
[2025-01-10 04:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 04:57:03] Production.INFO: Date 2025-01-08
[2025-01-10 04:57:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:57:03] Production.INFO: Date 2025-01-09
[2025-01-10 04:57:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:57:04] Production.INFO: Date 2025-01-10
[2025-01-10 04:57:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:57:04] Production.ERROR: done
[2025-01-10 04:57:04] Production.INFO: Total Charge 0
[2025-01-10 04:57:04] Production.INFO: CreateAllLog End
[2025-01-10 04:57:04] Production.INFO: Account Balance End.
[2025-01-10 04:57:04] Production.ERROR: CronJobId end 12
[2025-01-10 04:57:04] Production.INFO: ==12141== Releasing lock...
[2025-01-10 04:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 04:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 04:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 01:57:05
[end_date_ymd] => 2025-01-10 04:57:05
[RateCDR] => 1
)
[2025-01-10 04:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 01:57:05' and `end` < '2025-01-10 04:57:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 04:57:10] Production.ERROR: CronJobId end10
[2025-01-10 04:57:10] Production.INFO: ==12139== Releasing lock...
[2025-01-10 04:57:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 04:57:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 04:57:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 04:57:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 04:57:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 04:57:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 04:57:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 04:57:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 04:57:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 04:57:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 04:57:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 04:57:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 04:57:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 04:57:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 04:57:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 04:57:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 04:57:13] Production.INFO: call_cost start
[2025-01-10 04:57:13] Production.INFO: call_cost end
[2025-01-10 04:57:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 04:57:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 04:57:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 04:57:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 04:57:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 04:57:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 04:57:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 04:57:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 04:57:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 04:57:13] Production.INFO: ==12135== Releasing lock...
[2025-01-10 04:57:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 04:57:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 04:57:20] Production.INFO: count ==94
[2025-01-10 04:57:20] Production.ERROR: pbx CDR StartTime 2025-01-10 01:57:05 - End Time 2025-01-10 04:57:05
[2025-01-10 04:57:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 04:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214618', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214618', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214618', 'tblTempVendorCDR_20' ) start
[2025-01-10 04:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214618', 'tblTempVendorCDR_20' ) end
[2025-01-10 04:57:20] Production.INFO: ProcessCDR(1,14214618,1,1,2)
[2025-01-10 04:57:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214618,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:57:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214618,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:57:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214618,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:57:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214618,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:57:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214618', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:57:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214618', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:57:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:57:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:57:23] Production.INFO: ==12143== Releasing lock...
[2025-01-10 04:57:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 04:57:23] Production.INFO: 28 MB #Memory Used#
[2025-01-10 09:58:01] Production.INFO: ==12241== Lock acquired, processing the job...
[2025-01-10 09:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 09:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 09:58:01] Production.INFO: neon service started
[2025-01-10 09:58:01] Production.INFO: neon service started
[2025-01-10 09:58:01] Production.INFO: ==12241== Releasing lock...
[2025-01-10 09:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 09:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 04:58:02] Production.INFO: ==12243== Lock acquired, processing the job...
[2025-01-10 04:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:58:02] Production.INFO: ==12246== Lock acquired, processing the job...
[2025-01-10 09:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 09:58:02] Production.INFO: ==12246== Releasing lock...
[2025-01-10 09:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 09:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 04:58:02] Production.INFO: ==12243== Releasing lock...
[2025-01-10 04:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 04:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 04:58:03] Production.INFO: ==12254== Lock acquired, processing the job...
[2025-01-10 04:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 04:58:03] Production.INFO: ==12256== Lock acquired, processing the job...
[2025-01-10 04:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 04:58:03] Production.INFO: Account Balance Start.
[2025-01-10 04:58:03] Production.INFO: CreateAllLog Start
[2025-01-10 04:58:03] Production.INFO: 117
[2025-01-10 04:58:03] Production.INFO: Date 2025-01-08
[2025-01-10 04:58:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:58:03] Production.INFO: Date 2025-01-09
[2025-01-10 04:58:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:58:03] Production.INFO: Date 2025-01-10
[2025-01-10 04:58:03] Production.INFO: Reseller ==> 0
[2025-01-10 04:58:03] Production.INFO: Total Charge 0
[2025-01-10 04:58:03] Production.INFO: ==12248== Lock acquired, processing the job...
[2025-01-10 04:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 04:58:03] Production.INFO: CreateAllLog End
[2025-01-10 04:58:03] Production.INFO: ==12252== Lock acquired, processing the job...
[2025-01-10 04:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 04:58:03] Production.INFO: ==12250== Lock acquired, processing the job...
[2025-01-10 04:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 04:58:03] Production.INFO: ==12258== Lock acquired, processing the job...
[2025-01-10 04:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 04:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 04:58:04] Production.ERROR: done
[2025-01-10 04:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 04:58:04] Production.INFO: Account Balance End.
[2025-01-10 04:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 04:58:04] Production.ERROR: CronJobId end 12
[2025-01-10 04:58:04] Production.INFO: ==12254== Releasing lock...
[2025-01-10 04:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 04:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 04:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 04:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 04:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 04:58:04] Production.INFO: count ==21
[2025-01-10 04:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:58:04] Production.INFO: count ==21
[2025-01-10 04:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214621') start
[2025-01-10 04:58:04] Production.ERROR: done
[2025-01-10 04:58:04] Production.INFO: ==12250== Releasing lock...
[2025-01-10 04:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 04:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 04:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214621') end
[2025-01-10 04:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 04:58:04] Production.INFO: 1
[2025-01-10 04:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 04:58:04] Production.INFO: ==12258== Releasing lock...
[2025-01-10 04:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 04:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 04:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 01:58:05
[end_date_ymd] => 2025-01-10 04:58:05
[RateCDR] => 1
)
[2025-01-10 04:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 01:58:05' and `end` < '2025-01-10 04:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 04:58:11] Production.ERROR: CronJobId end10
[2025-01-10 04:58:11] Production.INFO: ==12252== Releasing lock...
[2025-01-10 04:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 04:58:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 04:58:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 04:58:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 04:58:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 04:58:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 04:58:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 04:58:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 04:58:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 04:58:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 04:58:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 04:58:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 04:58:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 04:58:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 04:58:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 04:58:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 04:58:13] Production.INFO: call_cost start
[2025-01-10 04:58:13] Production.INFO: call_cost end
[2025-01-10 04:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 04:58:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 04:58:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 04:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 04:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 04:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 04:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 04:58:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 04:58:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 04:58:14] Production.INFO: ==12248== Releasing lock...
[2025-01-10 04:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 04:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 04:58:22] Production.INFO: count ==94
[2025-01-10 04:58:22] Production.ERROR: pbx CDR StartTime 2025-01-10 01:58:05 - End Time 2025-01-10 04:58:05
[2025-01-10 04:58:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 04:58:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214623', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:58:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214623', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:58:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214623', 'tblTempVendorCDR_20' ) start
[2025-01-10 04:58:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214623', 'tblTempVendorCDR_20' ) end
[2025-01-10 04:58:22] Production.INFO: ProcessCDR(1,14214623,1,1,2)
[2025-01-10 04:58:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214623,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:58:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214623,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:58:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214623,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:58:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214623,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:58:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214623', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:58:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214623', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:58:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:58:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:58:25] Production.INFO: ==12256== Releasing lock...
[2025-01-10 04:58:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 04:58:25] Production.INFO: 28 MB #Memory Used#
[2025-01-10 09:59:02] Production.INFO: ==12311== Lock acquired, processing the job...
[2025-01-10 09:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 09:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 09:59:02] Production.INFO: neon service started
[2025-01-10 09:59:02] Production.INFO: neon service started
[2025-01-10 09:59:02] Production.INFO: ==12311== Releasing lock...
[2025-01-10 09:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 09:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 04:59:02] Production.INFO: ==12313== Lock acquired, processing the job...
[2025-01-10 04:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 04:59:02] Production.INFO: ==12313== Releasing lock...
[2025-01-10 04:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 04:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 09:59:02] Production.INFO: ==12315== Lock acquired, processing the job...
[2025-01-10 09:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 09:59:03] Production.INFO: ==12315== Releasing lock...
[2025-01-10 09:59:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 09:59:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 04:59:03] Production.INFO: ==12322== Lock acquired, processing the job...
[2025-01-10 04:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 04:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 04:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 04:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 04:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 04:59:03] Production.INFO: ==12318== Lock acquired, processing the job...
[2025-01-10 04:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 04:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 04:59:03] Production.INFO: ==12320== Lock acquired, processing the job...
[2025-01-10 04:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 04:59:03] Production.INFO: ==12328== Lock acquired, processing the job...
[2025-01-10 04:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 04:59:04] Production.INFO: ==12324== Lock acquired, processing the job...
[2025-01-10 04:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 04:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:59:04] Production.INFO: ==12326== Lock acquired, processing the job...
[2025-01-10 04:59:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 04:59:04] Production.INFO: count ==21
[2025-01-10 04:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 04:59:04] Production.INFO: count ==21
[2025-01-10 04:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214626') start
[2025-01-10 04:59:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 04:59:04] Production.INFO: Account Balance Start.
[2025-01-10 04:59:04] Production.INFO: CreateAllLog Start
[2025-01-10 04:59:04] Production.INFO: 117
[2025-01-10 04:59:04] Production.INFO: Date 2025-01-08
[2025-01-10 04:59:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214626') end
[2025-01-10 04:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 04:59:04] Production.INFO: 1
[2025-01-10 04:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 04:59:04] Production.INFO: ==12320== Releasing lock...
[2025-01-10 04:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 04:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 04:59:04] Production.INFO: ==12328== Releasing lock...
[2025-01-10 04:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 04:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 04:59:04] Production.INFO: Date 2025-01-09
[2025-01-10 04:59:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:59:04] Production.INFO: Date 2025-01-10
[2025-01-10 04:59:04] Production.INFO: Reseller ==> 0
[2025-01-10 04:59:04] Production.INFO: Total Charge 0
[2025-01-10 04:59:04] Production.INFO: CreateAllLog End
[2025-01-10 04:59:04] Production.ERROR: done
[2025-01-10 04:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 04:59:04] Production.INFO: Account Balance End.
[2025-01-10 04:59:04] Production.ERROR: CronJobId end 12
[2025-01-10 04:59:04] Production.INFO: ==12324== Releasing lock...
[2025-01-10 04:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 04:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 04:59:04] Production.ERROR: done
[2025-01-10 04:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 01:59:05
[end_date_ymd] => 2025-01-10 04:59:05
[RateCDR] => 1
)
[2025-01-10 04:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 01:59:05' and `end` < '2025-01-10 04:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 04:59:11] Production.ERROR: CronJobId end10
[2025-01-10 04:59:11] Production.INFO: ==12322== Releasing lock...
[2025-01-10 04:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 04:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 04:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 04:59:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 04:59:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 04:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 04:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 04:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 04:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 04:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 04:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 04:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 04:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 04:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 04:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 04:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 04:59:13] Production.INFO: call_cost start
[2025-01-10 04:59:13] Production.INFO: call_cost end
[2025-01-10 04:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 04:59:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 04:59:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 04:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 04:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 04:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 04:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 04:59:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 04:59:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 04:59:14] Production.INFO: ==12318== Releasing lock...
[2025-01-10 04:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 04:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 04:59:22] Production.INFO: count ==94
[2025-01-10 04:59:22] Production.ERROR: pbx CDR StartTime 2025-01-10 01:59:05 - End Time 2025-01-10 04:59:05
[2025-01-10 04:59:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 04:59:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214628', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:59:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214628', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:59:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214628', 'tblTempVendorCDR_20' ) start
[2025-01-10 04:59:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214628', 'tblTempVendorCDR_20' ) end
[2025-01-10 04:59:22] Production.INFO: ProcessCDR(1,14214628,1,1,2)
[2025-01-10 04:59:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214628,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:59:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214628,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 04:59:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214628,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:59:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214628,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 04:59:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214628', 'tblTempUsageDetail_20' ) start
[2025-01-10 04:59:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214628', 'tblTempUsageDetail_20' ) end
[2025-01-10 04:59:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 04:59:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 04:59:25] Production.INFO: ==12326== Releasing lock...
[2025-01-10 04:59:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 04:59:25] Production.INFO: 28 MB #Memory Used#
[2025-01-10 10:00:01] Production.INFO: ==12381== Lock acquired, processing the job...
[2025-01-10 10:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 10:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 10:00:01] Production.INFO: neon service started
[2025-01-10 10:00:01] Production.INFO: neon service started
[2025-01-10 10:00:01] Production.INFO: ==12381== Releasing lock...
[2025-01-10 10:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 10:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 10:00:02] Production.INFO: ==12385== Lock acquired, processing the job...
[2025-01-10 10:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 10:00:02] Production.INFO: ==12385== Releasing lock...
[2025-01-10 10:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 10:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 05:00:02] Production.INFO: ==12383== Lock acquired, processing the job...
[2025-01-10 05:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:00:02] Production.INFO: ==12383== Releasing lock...
[2025-01-10 05:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 05:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 05:00:03] Production.INFO: ==12394== Lock acquired, processing the job...
[2025-01-10 05:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 05:00:03] Production.INFO: ==12398== Lock acquired, processing the job...
[2025-01-10 05:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 05:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 05:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 05:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 05:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 05:00:03] Production.INFO: ==12388== Lock acquired, processing the job...
[2025-01-10 05:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 05:00:04] Production.INFO: ==12400== Lock acquired, processing the job...
[2025-01-10 05:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 05:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:00:04] Production.INFO: ==12390== Lock acquired, processing the job...
[2025-01-10 05:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 05:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 05:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 05:00:04] Production.ERROR: CronJob PID - 12394
[2025-01-10 05:00:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-10 05:00:04] Production.ERROR: CronJob ID - 10
[2025-01-10 05:00:04] Production.ERROR: CronJob Last Run Time 2025-01-10 05:00:00
[2025-01-10 05:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 05:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 05:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 05:00:04] Production.ERROR: CronJob PID - 12398
[2025-01-10 05:00:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-10 05:00:04] Production.ERROR: CronJob ID - 16
[2025-01-10 05:00:04] Production.ERROR: CronJob Last Run Time 2025-01-10 05:00:00
[2025-01-10 05:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 05:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 05:00:04] Production.INFO: ==12392== Lock acquired, processing the job...
[2025-01-10 05:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 05:00:04] Production.INFO: ==12396== Lock acquired, processing the job...
[2025-01-10 05:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 05:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 05:00:04] Production.INFO: ==12388== Releasing lock...
[2025-01-10 05:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 05:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 05:00:04] Production.INFO: ==12402== Lock acquired, processing the job...
[2025-01-10 05:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 05:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:00:04] Production.INFO: Account Balance Start.
[2025-01-10 05:00:04] Production.INFO: CreateAllLog Start
[2025-01-10 05:00:04] Production.INFO: 117
[2025-01-10 05:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 05:00:04] Production.INFO: Date 2025-01-08
[2025-01-10 05:00:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:00:04] Production.INFO: Date 2025-01-09
[2025-01-10 05:00:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:00:04] Production.INFO: Date 2025-01-10
[2025-01-10 05:00:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:00:04] Production.INFO: count ==21
[2025-01-10 05:00:04] Production.ERROR: done
[2025-01-10 05:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:00:04] Production.INFO: count ==21
[2025-01-10 05:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 05:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214631') start
[2025-01-10 05:00:04] Production.INFO: Total Charge 0
[2025-01-10 05:00:04] Production.INFO: CreateAllLog End
[2025-01-10 05:00:04] Production.ERROR: done
[2025-01-10 05:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214631') end
[2025-01-10 05:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 05:00:04] Production.INFO: 1
[2025-01-10 05:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 05:00:04] Production.ERROR: done
[2025-01-10 05:00:04] Production.INFO: ==12402== Releasing lock...
[2025-01-10 05:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 05:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 05:00:04] Production.INFO: ==12392== Releasing lock...
[2025-01-10 05:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 05:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 05:00:05] Production.INFO: Account Balance End.
[2025-01-10 05:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 05:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14214634', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 05:00:05] Production.ERROR: CronJobId end 12
[2025-01-10 05:00:05] Production.INFO: ==12396== Releasing lock...
[2025-01-10 05:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 05:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 05:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 02:00:06
[end_date_ymd] => 2025-01-10 05:00:06
[RateCDR] => 1
)
[2025-01-10 05:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 02:00:06' and `end` < '2025-01-10 05:00:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 05:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14214634', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 05:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 05:00:09] Production.INFO: ProcessCDR(1,14214634,1,1,2)
[2025-01-10 05:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14214634,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14214634,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:00:09] Production.INFO: ==12400== Releasing lock...
[2025-01-10 05:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 05:00:09] Production.INFO: 26 MB #Memory Used#
[2025-01-10 05:00:13] Production.ERROR: CronJobId end10
[2025-01-10 05:00:13] Production.INFO: ==12394== Releasing lock...
[2025-01-10 05:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 05:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 05:00:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 05:00:15] Production.INFO: ============== Balance Warning START===========
[2025-01-10 05:00:15] Production.INFO: ============== Balance Warning END===========
[2025-01-10 05:00:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 05:00:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 05:00:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 05:00:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 05:00:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 05:00:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 05:00:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 05:00:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 05:00:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 05:00:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 05:00:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 05:00:15] Production.INFO: call_cost start
[2025-01-10 05:00:15] Production.INFO: call_cost end
[2025-01-10 05:00:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 05:00:16] Production.INFO: ============== Report Schedule START===========
[2025-01-10 05:00:16] Production.INFO: ============== Report Schedule END===========
[2025-01-10 05:00:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 05:00:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 05:00:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 05:00:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 05:00:16] Production.INFO: ============== Deal alert START===========
[2025-01-10 05:00:16] Production.INFO: ============== Deal alert END===========
[2025-01-10 05:00:16] Production.INFO: ==12390== Releasing lock...
[2025-01-10 05:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 05:00:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 05:00:21] Production.INFO: count ==85
[2025-01-10 05:00:21] Production.ERROR: pbx CDR StartTime 2025-01-10 02:00:06 - End Time 2025-01-10 05:00:06
[2025-01-10 05:00:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 05:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214633', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214633', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214633', 'tblTempVendorCDR_20' ) start
[2025-01-10 05:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214633', 'tblTempVendorCDR_20' ) end
[2025-01-10 05:00:21] Production.INFO: ProcessCDR(1,14214633,1,1,2)
[2025-01-10 05:00:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214633,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:00:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214633,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:00:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214633,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:00:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214633,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:00:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214633', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:00:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214633', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:00:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:00:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:00:25] Production.INFO: ==12398== Releasing lock...
[2025-01-10 05:00:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 05:00:25] Production.INFO: 28 MB #Memory Used#
[2025-01-10 10:01:02] Production.INFO: ==12459== Lock acquired, processing the job...
[2025-01-10 10:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 10:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 10:01:02] Production.INFO: neon service started
[2025-01-10 10:01:02] Production.INFO: neon service started
[2025-01-10 10:01:02] Production.INFO: ==12459== Releasing lock...
[2025-01-10 10:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 10:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 05:01:03] Production.INFO: ==12472== Lock acquired, processing the job...
[2025-01-10 05:01:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:01:03] Production.INFO: ==12472== Releasing lock...
[2025-01-10 05:01:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 05:01:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:01:03] Production.INFO: ==12474== Lock acquired, processing the job...
[2025-01-10 10:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 10:01:03] Production.INFO: ==12474== Releasing lock...
[2025-01-10 10:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 10:01:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 05:01:04] Production.INFO: ==12480== Lock acquired, processing the job...
[2025-01-10 05:01:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 05:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 05:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 05:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 05:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 05:01:04] Production.INFO: ==12482== Lock acquired, processing the job...
[2025-01-10 05:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 05:01:04] Production.INFO: ==12476== Lock acquired, processing the job...
[2025-01-10 05:01:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 05:01:04] Production.INFO: ==12484== Lock acquired, processing the job...
[2025-01-10 05:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 05:01:04] Production.INFO: ==12478== Lock acquired, processing the job...
[2025-01-10 05:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 05:01:04] Production.INFO: Account Balance Start.
[2025-01-10 05:01:04] Production.INFO: CreateAllLog Start
[2025-01-10 05:01:04] Production.INFO: 117
[2025-01-10 05:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:01:04] Production.INFO: Date 2025-01-08
[2025-01-10 05:01:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:01:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 05:01:04] Production.INFO: Date 2025-01-09
[2025-01-10 05:01:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:01:04] Production.INFO: Date 2025-01-10
[2025-01-10 05:01:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:01:04] Production.INFO: ==12486== Lock acquired, processing the job...
[2025-01-10 05:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 05:01:04] Production.INFO: Total Charge 0
[2025-01-10 05:01:04] Production.INFO: CreateAllLog End
[2025-01-10 05:01:05] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:01:05] Production.ERROR: done
[2025-01-10 05:01:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 05:01:05] Production.INFO: count ==21
[2025-01-10 05:01:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:01:05] Production.INFO: count ==21
[2025-01-10 05:01:05] Production.INFO: Account Balance End.
[2025-01-10 05:01:05] Production.ERROR: PBX CALL prc_importPBXExtension('14214638') start
[2025-01-10 05:01:05] Production.ERROR: CronJobId end 12
[2025-01-10 05:01:05] Production.INFO: ==12482== Releasing lock...
[2025-01-10 05:01:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 05:01:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 05:01:05] Production.INFO: ==12478== Releasing lock...
[2025-01-10 05:01:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 05:01:05] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 05:01:05] Production.ERROR: done
[2025-01-10 05:01:05] Production.ERROR: PBX CALL prc_importPBXExtension('14214638') end
[2025-01-10 05:01:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 05:01:05] Production.INFO: 1
[2025-01-10 05:01:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 05:01:05] Production.INFO: ==12486== Releasing lock...
[2025-01-10 05:01:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 05:01:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 05:01:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 02:01:06
[end_date_ymd] => 2025-01-10 05:01:06
[RateCDR] => 1
)
[2025-01-10 05:01:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 02:01:06' and `end` < '2025-01-10 05:01:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 05:01:12] Production.ERROR: CronJobId end10
[2025-01-10 05:01:12] Production.INFO: ==12480== Releasing lock...
[2025-01-10 05:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 05:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 05:01:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 05:01:15] Production.INFO: ============== Balance Warning START===========
[2025-01-10 05:01:15] Production.INFO: ============== Balance Warning END===========
[2025-01-10 05:01:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 05:01:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 05:01:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 05:01:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 05:01:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 05:01:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 05:01:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 05:01:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 05:01:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 05:01:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 05:01:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 05:01:15] Production.INFO: call_cost start
[2025-01-10 05:01:15] Production.INFO: call_cost end
[2025-01-10 05:01:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 05:01:16] Production.INFO: ============== Report Schedule START===========
[2025-01-10 05:01:16] Production.INFO: ============== Report Schedule END===========
[2025-01-10 05:01:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 05:01:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 05:01:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 05:01:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 05:01:16] Production.INFO: ============== Deal alert START===========
[2025-01-10 05:01:16] Production.INFO: ============== Deal alert END===========
[2025-01-10 05:01:16] Production.INFO: ==12476== Releasing lock...
[2025-01-10 05:01:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 05:01:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 05:01:21] Production.INFO: count ==79
[2025-01-10 05:01:21] Production.ERROR: pbx CDR StartTime 2025-01-10 02:01:06 - End Time 2025-01-10 05:01:06
[2025-01-10 05:01:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 05:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214639', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214639', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214639', 'tblTempVendorCDR_20' ) start
[2025-01-10 05:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214639', 'tblTempVendorCDR_20' ) end
[2025-01-10 05:01:21] Production.INFO: ProcessCDR(1,14214639,1,1,2)
[2025-01-10 05:01:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214639,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:01:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214639,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:01:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214639,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:01:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214639,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:01:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214639', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:01:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214639', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:01:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:01:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:01:24] Production.INFO: ==12484== Releasing lock...
[2025-01-10 05:01:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 05:01:24] Production.INFO: 28 MB #Memory Used#
[2025-01-10 10:02:02] Production.INFO: ==12538== Lock acquired, processing the job...
[2025-01-10 10:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 10:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 10:02:02] Production.INFO: neon service started
[2025-01-10 10:02:02] Production.INFO: neon service started
[2025-01-10 10:02:02] Production.INFO: ==12538== Releasing lock...
[2025-01-10 10:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 10:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 10:02:02] Production.INFO: ==12543== Lock acquired, processing the job...
[2025-01-10 10:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 10:02:02] Production.INFO: ==12543== Releasing lock...
[2025-01-10 10:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 10:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 05:02:02] Production.INFO: ==12540== Lock acquired, processing the job...
[2025-01-10 05:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:02:03] Production.INFO: ==12540== Releasing lock...
[2025-01-10 05:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 05:02:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 05:02:04] Production.INFO: ==12551== Lock acquired, processing the job...
[2025-01-10 05:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 05:02:04] Production.INFO: ==12555== Lock acquired, processing the job...
[2025-01-10 05:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 05:02:04] Production.INFO: ==12545== Lock acquired, processing the job...
[2025-01-10 05:02:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 05:02:04] Production.INFO: Account Balance Start.
[2025-01-10 05:02:04] Production.INFO: CreateAllLog Start
[2025-01-10 05:02:04] Production.INFO: 117
[2025-01-10 05:02:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 05:02:04] Production.INFO: Date 2025-01-08
[2025-01-10 05:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:02:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:02:04] Production.INFO: ==12549== Lock acquired, processing the job...
[2025-01-10 05:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 05:02:04] Production.INFO: ==12547== Lock acquired, processing the job...
[2025-01-10 05:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 05:02:04] Production.INFO: Date 2025-01-09
[2025-01-10 05:02:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:02:04] Production.INFO: ==12553== Lock acquired, processing the job...
[2025-01-10 05:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 05:02:04] Production.INFO: count ==21
[2025-01-10 05:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:02:04] Production.INFO: count ==21
[2025-01-10 05:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214640') start
[2025-01-10 05:02:04] Production.INFO: Date 2025-01-10
[2025-01-10 05:02:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 05:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 05:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 05:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 05:02:04] Production.INFO: Total Charge 0
[2025-01-10 05:02:04] Production.INFO: CreateAllLog End
[2025-01-10 05:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214640') end
[2025-01-10 05:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 05:02:04] Production.INFO: 1
[2025-01-10 05:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 05:02:04] Production.ERROR: done
[2025-01-10 05:02:04] Production.INFO: ==12555== Releasing lock...
[2025-01-10 05:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 05:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 05:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 05:02:04] Production.ERROR: done
[2025-01-10 05:02:04] Production.INFO: ==12547== Releasing lock...
[2025-01-10 05:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 05:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 05:02:05] Production.INFO: Account Balance End.
[2025-01-10 05:02:05] Production.ERROR: CronJobId end 12
[2025-01-10 05:02:05] Production.INFO: ==12551== Releasing lock...
[2025-01-10 05:02:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 05:02:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 05:02:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 02:02:06
[end_date_ymd] => 2025-01-10 05:02:06
[RateCDR] => 1
)
[2025-01-10 05:02:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 02:02:06' and `end` < '2025-01-10 05:02:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 05:02:11] Production.ERROR: CronJobId end10
[2025-01-10 05:02:11] Production.INFO: ==12549== Releasing lock...
[2025-01-10 05:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 05:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 05:02:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 05:02:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 05:02:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 05:02:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 05:02:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 05:02:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 05:02:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 05:02:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 05:02:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 05:02:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 05:02:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 05:02:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 05:02:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 05:02:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 05:02:15] Production.INFO: call_cost start
[2025-01-10 05:02:15] Production.INFO: call_cost end
[2025-01-10 05:02:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 05:02:16] Production.INFO: ============== Report Schedule START===========
[2025-01-10 05:02:16] Production.INFO: ============== Report Schedule END===========
[2025-01-10 05:02:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 05:02:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 05:02:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 05:02:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 05:02:16] Production.INFO: ============== Deal alert START===========
[2025-01-10 05:02:16] Production.INFO: ============== Deal alert END===========
[2025-01-10 05:02:16] Production.INFO: ==12545== Releasing lock...
[2025-01-10 05:02:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 05:02:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 05:02:22] Production.INFO: count ==79
[2025-01-10 05:02:22] Production.ERROR: pbx CDR StartTime 2025-01-10 02:02:06 - End Time 2025-01-10 05:02:06
[2025-01-10 05:02:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 05:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214644', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214644', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214644', 'tblTempVendorCDR_20' ) start
[2025-01-10 05:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214644', 'tblTempVendorCDR_20' ) end
[2025-01-10 05:02:22] Production.INFO: ProcessCDR(1,14214644,1,1,2)
[2025-01-10 05:02:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214644,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:02:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214644,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:02:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214644,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:02:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214644,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:02:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214644', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:02:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214644', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:02:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:02:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:02:25] Production.INFO: ==12553== Releasing lock...
[2025-01-10 05:02:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 05:02:25] Production.INFO: 28 MB #Memory Used#
[2025-01-10 10:03:01] Production.INFO: ==12607== Lock acquired, processing the job...
[2025-01-10 10:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 10:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 10:03:01] Production.INFO: neon service started
[2025-01-10 10:03:01] Production.INFO: neon service started
[2025-01-10 10:03:01] Production.INFO: ==12607== Releasing lock...
[2025-01-10 10:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 10:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 10:03:02] Production.INFO: ==12611== Lock acquired, processing the job...
[2025-01-10 10:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 10:03:02] Production.INFO: ==12611== Releasing lock...
[2025-01-10 10:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 10:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 05:03:02] Production.INFO: ==12609== Lock acquired, processing the job...
[2025-01-10 05:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:03:02] Production.INFO: ==12609== Releasing lock...
[2025-01-10 05:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 05:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 05:03:03] Production.INFO: ==12618== Lock acquired, processing the job...
[2025-01-10 05:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 05:03:03] Production.INFO: ==12624== Lock acquired, processing the job...
[2025-01-10 05:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 05:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 05:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 05:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 05:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 05:03:03] Production.INFO: ==12614== Lock acquired, processing the job...
[2025-01-10 05:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 05:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:03:03] Production.INFO: count ==21
[2025-01-10 05:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:03:03] Production.INFO: count ==21
[2025-01-10 05:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214645') start
[2025-01-10 05:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 05:03:03] Production.INFO: ==12616== Lock acquired, processing the job...
[2025-01-10 05:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 05:03:03] Production.INFO: ==12620== Lock acquired, processing the job...
[2025-01-10 05:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 05:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214645') end
[2025-01-10 05:03:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 05:03:03] Production.INFO: 1
[2025-01-10 05:03:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 05:03:03] Production.INFO: ==12622== Lock acquired, processing the job...
[2025-01-10 05:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 05:03:04] Production.INFO: ==12624== Releasing lock...
[2025-01-10 05:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 05:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 05:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:03:04] Production.INFO: Account Balance Start.
[2025-01-10 05:03:04] Production.INFO: CreateAllLog Start
[2025-01-10 05:03:04] Production.INFO: 117
[2025-01-10 05:03:04] Production.INFO: Date 2025-01-08
[2025-01-10 05:03:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:03:04] Production.INFO: Date 2025-01-09
[2025-01-10 05:03:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:03:04] Production.INFO: Date 2025-01-10
[2025-01-10 05:03:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:03:04] Production.INFO: Total Charge 0
[2025-01-10 05:03:04] Production.INFO: CreateAllLog End
[2025-01-10 05:03:04] Production.INFO: ==12616== Releasing lock...
[2025-01-10 05:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 05:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 05:03:04] Production.ERROR: done
[2025-01-10 05:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 05:03:04] Production.INFO: Account Balance End.
[2025-01-10 05:03:04] Production.ERROR: CronJobId end 12
[2025-01-10 05:03:04] Production.INFO: ==12620== Releasing lock...
[2025-01-10 05:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 05:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 05:03:04] Production.ERROR: done
[2025-01-10 05:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 02:03:05
[end_date_ymd] => 2025-01-10 05:03:05
[RateCDR] => 1
)
[2025-01-10 05:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 02:03:05' and `end` < '2025-01-10 05:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 05:03:11] Production.ERROR: CronJobId end10
[2025-01-10 05:03:11] Production.INFO: ==12618== Releasing lock...
[2025-01-10 05:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 05:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 05:03:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 05:03:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 05:03:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 05:03:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 05:03:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 05:03:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 05:03:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 05:03:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 05:03:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 05:03:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 05:03:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 05:03:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 05:03:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 05:03:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 05:03:13] Production.INFO: call_cost start
[2025-01-10 05:03:13] Production.INFO: call_cost end
[2025-01-10 05:03:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 05:03:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 05:03:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 05:03:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 05:03:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 05:03:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 05:03:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 05:03:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 05:03:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 05:03:14] Production.INFO: ==12614== Releasing lock...
[2025-01-10 05:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 05:03:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 05:03:19] Production.INFO: count ==79
[2025-01-10 05:03:19] Production.ERROR: pbx CDR StartTime 2025-01-10 02:03:05 - End Time 2025-01-10 05:03:05
[2025-01-10 05:03:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 05:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214649', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214649', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214649', 'tblTempVendorCDR_20' ) start
[2025-01-10 05:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214649', 'tblTempVendorCDR_20' ) end
[2025-01-10 05:03:19] Production.INFO: ProcessCDR(1,14214649,1,1,2)
[2025-01-10 05:03:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214649,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:03:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214649,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:03:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214649,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:03:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214649,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214649', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214649', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:03:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:03:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:03:22] Production.INFO: ==12622== Releasing lock...
[2025-01-10 05:03:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 05:03:22] Production.INFO: 28 MB #Memory Used#
[2025-01-10 10:04:02] Production.INFO: ==12677== Lock acquired, processing the job...
[2025-01-10 10:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 10:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 10:04:02] Production.INFO: neon service started
[2025-01-10 10:04:02] Production.INFO: neon service started
[2025-01-10 10:04:02] Production.INFO: ==12677== Releasing lock...
[2025-01-10 10:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 10:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 05:04:02] Production.INFO: ==12679== Lock acquired, processing the job...
[2025-01-10 05:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 10:04:02] Production.INFO: ==12681== Lock acquired, processing the job...
[2025-01-10 10:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 05:04:02] Production.INFO: ==12679== Releasing lock...
[2025-01-10 05:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 05:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:04:02] Production.INFO: ==12681== Releasing lock...
[2025-01-10 10:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 10:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 05:04:03] Production.INFO: ==12688== Lock acquired, processing the job...
[2025-01-10 05:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 05:04:03] Production.INFO: ==12692== Lock acquired, processing the job...
[2025-01-10 05:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 05:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 05:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 05:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 05:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 05:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:04:03] Production.INFO: ==12694== Lock acquired, processing the job...
[2025-01-10 05:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 05:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:04:03] Production.INFO: ==12684== Lock acquired, processing the job...
[2025-01-10 05:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 05:04:03] Production.INFO: count ==21
[2025-01-10 05:04:03] Production.ERROR: done
[2025-01-10 05:04:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 05:04:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:04:03] Production.INFO: ==12686== Lock acquired, processing the job...
[2025-01-10 05:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 05:04:03] Production.INFO: count ==21
[2025-01-10 05:04:03] Production.INFO: ==12690== Lock acquired, processing the job...
[2025-01-10 05:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 05:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214650') start
[2025-01-10 05:04:04] Production.ERROR: done
[2025-01-10 05:04:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 05:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214650') end
[2025-01-10 05:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 05:04:04] Production.INFO: 1
[2025-01-10 05:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 05:04:04] Production.INFO: Account Balance Start.
[2025-01-10 05:04:04] Production.INFO: CreateAllLog Start
[2025-01-10 05:04:04] Production.INFO: 117
[2025-01-10 05:04:04] Production.INFO: Date 2025-01-08
[2025-01-10 05:04:04] Production.INFO: ==12694== Releasing lock...
[2025-01-10 05:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 05:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 05:04:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:04:04] Production.INFO: Date 2025-01-09
[2025-01-10 05:04:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:04:04] Production.INFO: Date 2025-01-10
[2025-01-10 05:04:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:04:04] Production.INFO: Total Charge 0
[2025-01-10 05:04:04] Production.INFO: CreateAllLog End
[2025-01-10 05:04:04] Production.INFO: ==12686== Releasing lock...
[2025-01-10 05:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 05:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 05:04:04] Production.INFO: Account Balance End.
[2025-01-10 05:04:04] Production.ERROR: CronJobId end 12
[2025-01-10 05:04:04] Production.INFO: ==12690== Releasing lock...
[2025-01-10 05:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 05:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 05:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 02:04:05
[end_date_ymd] => 2025-01-10 05:04:05
[RateCDR] => 1
)
[2025-01-10 05:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 02:04:05' and `end` < '2025-01-10 05:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 05:04:11] Production.ERROR: CronJobId end10
[2025-01-10 05:04:11] Production.INFO: ==12688== Releasing lock...
[2025-01-10 05:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 05:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 05:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 05:04:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 05:04:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 05:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 05:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 05:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 05:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 05:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 05:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 05:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 05:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 05:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 05:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 05:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 05:04:14] Production.INFO: call_cost start
[2025-01-10 05:04:14] Production.INFO: call_cost end
[2025-01-10 05:04:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 05:04:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 05:04:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 05:04:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 05:04:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 05:04:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 05:04:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 05:04:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 05:04:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 05:04:14] Production.INFO: ==12684== Releasing lock...
[2025-01-10 05:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 05:04:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 05:04:17] Production.INFO: count ==79
[2025-01-10 05:04:18] Production.ERROR: pbx CDR StartTime 2025-01-10 02:04:05 - End Time 2025-01-10 05:04:05
[2025-01-10 05:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 05:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214652', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214652', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214652', 'tblTempVendorCDR_20' ) start
[2025-01-10 05:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214652', 'tblTempVendorCDR_20' ) end
[2025-01-10 05:04:18] Production.INFO: ProcessCDR(1,14214652,1,1,2)
[2025-01-10 05:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214652,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214652,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214652,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:04:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214652,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214652', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214652', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:04:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:04:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:04:21] Production.INFO: ==12692== Releasing lock...
[2025-01-10 05:04:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 05:04:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 10:05:01] Production.INFO: ==12747== Lock acquired, processing the job...
[2025-01-10 10:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 10:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 10:05:01] Production.INFO: neon service started
[2025-01-10 10:05:01] Production.INFO: neon service started
[2025-01-10 10:05:01] Production.INFO: ==12747== Releasing lock...
[2025-01-10 10:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 10:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 10:05:01] Production.INFO: ==12751== Lock acquired, processing the job...
[2025-01-10 10:05:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 10:05:01] Production.INFO: ==12751== Releasing lock...
[2025-01-10 10:05:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 10:05:01] Production.INFO: 25 MB #Memory Used#
[2025-01-10 05:05:02] Production.INFO: ==12749== Lock acquired, processing the job...
[2025-01-10 05:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:05:02] Production.INFO: ==12749== Releasing lock...
[2025-01-10 05:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 05:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 05:05:03] Production.INFO: ==12755== Lock acquired, processing the job...
[2025-01-10 05:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 05:05:03] Production.INFO: ==12753== Lock acquired, processing the job...
[2025-01-10 05:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 05:05:03] Production.INFO: ==12759== Lock acquired, processing the job...
[2025-01-10 05:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 05:05:03] Production.INFO: Account Balance Start.
[2025-01-10 05:05:03] Production.INFO: CreateAllLog Start
[2025-01-10 05:05:03] Production.INFO: 117
[2025-01-10 05:05:03] Production.INFO: Date 2025-01-08
[2025-01-10 05:05:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 05:05:03] Production.INFO: ==12757== Lock acquired, processing the job...
[2025-01-10 05:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 05:05:03] Production.INFO: Date 2025-01-09
[2025-01-10 05:05:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:05:03] Production.INFO: Date 2025-01-10
[2025-01-10 05:05:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 05:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 05:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 05:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 05:05:03] Production.INFO: ==12755== Releasing lock...
[2025-01-10 05:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 05:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 05:05:03] Production.INFO: Total Charge 0
[2025-01-10 05:05:03] Production.INFO: ==12764== Lock acquired, processing the job...
[2025-01-10 05:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 05:05:03] Production.INFO: CreateAllLog End
[2025-01-10 05:05:03] Production.INFO: ==12762== Lock acquired, processing the job...
[2025-01-10 05:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 05:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:05:03] Production.INFO: Account Balance End.
[2025-01-10 05:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:05:03] Production.ERROR: CronJobId end 12
[2025-01-10 05:05:03] Production.INFO: ==12759== Releasing lock...
[2025-01-10 05:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 05:05:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 05:05:03] Production.INFO: count ==21
[2025-01-10 05:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:05:03] Production.INFO: count ==21
[2025-01-10 05:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214658') start
[2025-01-10 05:05:04] Production.ERROR: done
[2025-01-10 05:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214658') end
[2025-01-10 05:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 05:05:04] Production.INFO: 1
[2025-01-10 05:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 05:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 05:05:04] Production.INFO: ==12764== Releasing lock...
[2025-01-10 05:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 05:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 05:05:04] Production.ERROR: done
[2025-01-10 05:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 02:05:05
[end_date_ymd] => 2025-01-10 05:05:05
[RateCDR] => 1
)
[2025-01-10 05:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 02:05:05' and `end` < '2025-01-10 05:05:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 05:05:10] Production.ERROR: CronJobId end10
[2025-01-10 05:05:10] Production.INFO: ==12757== Releasing lock...
[2025-01-10 05:05:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 05:05:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 05:05:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 05:05:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 05:05:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 05:05:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 05:05:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 05:05:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 05:05:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 05:05:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 05:05:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 05:05:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 05:05:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 05:05:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 05:05:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 05:05:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 05:05:12] Production.INFO: call_cost start
[2025-01-10 05:05:12] Production.INFO: call_cost end
[2025-01-10 05:05:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 05:05:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 05:05:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 05:05:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 05:05:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 05:05:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 05:05:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 05:05:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 05:05:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 05:05:13] Production.INFO: ==12753== Releasing lock...
[2025-01-10 05:05:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 05:05:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 05:05:18] Production.INFO: count ==79
[2025-01-10 05:05:18] Production.ERROR: pbx CDR StartTime 2025-01-10 02:05:05 - End Time 2025-01-10 05:05:05
[2025-01-10 05:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 05:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214659', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214659', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214659', 'tblTempVendorCDR_20' ) start
[2025-01-10 05:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214659', 'tblTempVendorCDR_20' ) end
[2025-01-10 05:05:18] Production.INFO: ProcessCDR(1,14214659,1,1,2)
[2025-01-10 05:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214659,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214659,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214659,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214659,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214659', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214659', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:05:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:05:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:05:21] Production.INFO: ==12762== Releasing lock...
[2025-01-10 05:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 05:05:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 10:06:01] Production.INFO: ==12818== Lock acquired, processing the job...
[2025-01-10 10:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 10:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 10:06:01] Production.INFO: neon service started
[2025-01-10 10:06:01] Production.INFO: neon service started
[2025-01-10 10:06:01] Production.INFO: ==12818== Releasing lock...
[2025-01-10 10:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 10:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 05:06:02] Production.INFO: ==12820== Lock acquired, processing the job...
[2025-01-10 05:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:06:02] Production.INFO: ==12820== Releasing lock...
[2025-01-10 05:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 05:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:06:02] Production.INFO: ==12822== Lock acquired, processing the job...
[2025-01-10 10:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 10:06:02] Production.INFO: ==12822== Releasing lock...
[2025-01-10 10:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 10:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 05:06:03] Production.INFO: ==12824== Lock acquired, processing the job...
[2025-01-10 05:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 05:06:03] Production.INFO: ==12826== Lock acquired, processing the job...
[2025-01-10 05:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 05:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 05:06:03] Production.INFO: ==12832== Lock acquired, processing the job...
[2025-01-10 05:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 05:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:06:03] Production.INFO: ==12826== Releasing lock...
[2025-01-10 05:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 05:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 05:06:03] Production.INFO: ==12828== Lock acquired, processing the job...
[2025-01-10 05:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 05:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 05:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 05:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 05:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 05:06:03] Production.INFO: ==12830== Lock acquired, processing the job...
[2025-01-10 05:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 05:06:03] Production.INFO: ==12834== Lock acquired, processing the job...
[2025-01-10 05:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 05:06:03] Production.INFO: Account Balance Start.
[2025-01-10 05:06:03] Production.INFO: CreateAllLog Start
[2025-01-10 05:06:03] Production.INFO: 117
[2025-01-10 05:06:04] Production.ERROR: done
[2025-01-10 05:06:04] Production.INFO: Date 2025-01-08
[2025-01-10 05:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 05:06:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:06:04] Production.INFO: Date 2025-01-09
[2025-01-10 05:06:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:06:04] Production.INFO: Date 2025-01-10
[2025-01-10 05:06:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:06:04] Production.ERROR: done
[2025-01-10 05:06:04] Production.INFO: Total Charge 0
[2025-01-10 05:06:04] Production.INFO: CreateAllLog End
[2025-01-10 05:06:04] Production.INFO: count ==21
[2025-01-10 05:06:04] Production.INFO: Account Balance End.
[2025-01-10 05:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:06:04] Production.INFO: count ==21
[2025-01-10 05:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214663') start
[2025-01-10 05:06:04] Production.ERROR: CronJobId end 12
[2025-01-10 05:06:04] Production.INFO: ==12830== Releasing lock...
[2025-01-10 05:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 05:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 05:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214663') end
[2025-01-10 05:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 05:06:04] Production.INFO: 1
[2025-01-10 05:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 05:06:04] Production.INFO: ==12834== Releasing lock...
[2025-01-10 05:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 05:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 05:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 02:06:05
[end_date_ymd] => 2025-01-10 05:06:05
[RateCDR] => 1
)
[2025-01-10 05:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 02:06:05' and `end` < '2025-01-10 05:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 05:06:11] Production.ERROR: CronJobId end10
[2025-01-10 05:06:11] Production.INFO: ==12828== Releasing lock...
[2025-01-10 05:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 05:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 05:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 05:06:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 05:06:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 05:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 05:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 05:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 05:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 05:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 05:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 05:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 05:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 05:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 05:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 05:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 05:06:14] Production.INFO: call_cost start
[2025-01-10 05:06:14] Production.INFO: call_cost end
[2025-01-10 05:06:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 05:06:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 05:06:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 05:06:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 05:06:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 05:06:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 05:06:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 05:06:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 05:06:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 05:06:14] Production.INFO: ==12824== Releasing lock...
[2025-01-10 05:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 05:06:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 05:06:18] Production.INFO: count ==79
[2025-01-10 05:06:18] Production.ERROR: pbx CDR StartTime 2025-01-10 02:06:05 - End Time 2025-01-10 05:06:05
[2025-01-10 05:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 05:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214664', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214664', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214664', 'tblTempVendorCDR_20' ) start
[2025-01-10 05:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214664', 'tblTempVendorCDR_20' ) end
[2025-01-10 05:06:18] Production.INFO: ProcessCDR(1,14214664,1,1,2)
[2025-01-10 05:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214664,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214664,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214664,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:06:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214664,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214664', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214664', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:06:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:06:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:06:21] Production.INFO: ==12832== Releasing lock...
[2025-01-10 05:06:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 05:06:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 10:07:01] Production.INFO: ==12892== Lock acquired, processing the job...
[2025-01-10 10:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 10:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 10:07:01] Production.INFO: neon service started
[2025-01-10 10:07:01] Production.INFO: neon service started
[2025-01-10 10:07:01] Production.INFO: ==12892== Releasing lock...
[2025-01-10 10:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 10:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 10:07:02] Production.INFO: ==12896== Lock acquired, processing the job...
[2025-01-10 10:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 10:07:02] Production.INFO: ==12896== Releasing lock...
[2025-01-10 10:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 10:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 05:07:02] Production.INFO: ==12894== Lock acquired, processing the job...
[2025-01-10 05:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:07:02] Production.INFO: ==12894== Releasing lock...
[2025-01-10 05:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 05:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 05:07:03] Production.INFO: ==12899== Lock acquired, processing the job...
[2025-01-10 05:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 05:07:03] Production.INFO: ==12901== Lock acquired, processing the job...
[2025-01-10 05:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 05:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 05:07:03] Production.INFO: ==12903== Lock acquired, processing the job...
[2025-01-10 05:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 05:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 05:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 05:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 05:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 05:07:03] Production.INFO: ==12905== Lock acquired, processing the job...
[2025-01-10 05:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 05:07:03] Production.INFO: ==12901== Releasing lock...
[2025-01-10 05:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 05:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 05:07:03] Production.INFO: ==12907== Lock acquired, processing the job...
[2025-01-10 05:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 05:07:03] Production.INFO: ==12909== Lock acquired, processing the job...
[2025-01-10 05:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 05:07:03] Production.INFO: Account Balance Start.
[2025-01-10 05:07:03] Production.INFO: CreateAllLog Start
[2025-01-10 05:07:03] Production.INFO: 117
[2025-01-10 05:07:03] Production.INFO: Date 2025-01-08
[2025-01-10 05:07:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:07:03] Production.INFO: Date 2025-01-09
[2025-01-10 05:07:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:07:03] Production.INFO: Date 2025-01-10
[2025-01-10 05:07:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:07:03] Production.INFO: count ==21
[2025-01-10 05:07:03] Production.INFO: Total Charge 0
[2025-01-10 05:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:07:03] Production.INFO: CreateAllLog End
[2025-01-10 05:07:03] Production.INFO: count ==21
[2025-01-10 05:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214668') start
[2025-01-10 05:07:04] Production.ERROR: done
[2025-01-10 05:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 05:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214668') end
[2025-01-10 05:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 05:07:04] Production.INFO: 1
[2025-01-10 05:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 05:07:04] Production.INFO: ==12909== Releasing lock...
[2025-01-10 05:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 05:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 05:07:04] Production.INFO: Account Balance End.
[2025-01-10 05:07:04] Production.ERROR: done
[2025-01-10 05:07:04] Production.ERROR: CronJobId end 12
[2025-01-10 05:07:04] Production.INFO: ==12905== Releasing lock...
[2025-01-10 05:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 05:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 05:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 02:07:05
[end_date_ymd] => 2025-01-10 05:07:05
[RateCDR] => 1
)
[2025-01-10 05:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 02:07:05' and `end` < '2025-01-10 05:07:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 05:07:11] Production.ERROR: CronJobId end10
[2025-01-10 05:07:11] Production.INFO: ==12903== Releasing lock...
[2025-01-10 05:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 05:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 05:07:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 05:07:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 05:07:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 05:07:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 05:07:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 05:07:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 05:07:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 05:07:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 05:07:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 05:07:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 05:07:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 05:07:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 05:07:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 05:07:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 05:07:12] Production.INFO: call_cost start
[2025-01-10 05:07:12] Production.INFO: call_cost end
[2025-01-10 05:07:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 05:07:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 05:07:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 05:07:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 05:07:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 05:07:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 05:07:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 05:07:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 05:07:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 05:07:13] Production.INFO: ==12899== Releasing lock...
[2025-01-10 05:07:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 05:07:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 05:07:44] Production.INFO: count ==79
[2025-01-10 05:07:44] Production.ERROR: pbx CDR StartTime 2025-01-10 02:07:05 - End Time 2025-01-10 05:07:05
[2025-01-10 05:07:44] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 05:07:44] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214669', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:07:44] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214669', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:07:44] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214669', 'tblTempVendorCDR_20' ) start
[2025-01-10 05:07:44] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214669', 'tblTempVendorCDR_20' ) end
[2025-01-10 05:07:44] Production.INFO: ProcessCDR(1,14214669,1,1,2)
[2025-01-10 05:07:44] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214669,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:07:45] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214669,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:07:45] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214669,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:07:47] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214669,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:07:47] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214669', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:07:47] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214669', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:07:47] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:07:47] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:07:47] Production.INFO: ==12907== Releasing lock...
[2025-01-10 05:07:47] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 05:07:47] Production.INFO: 28 MB #Memory Used#
[2025-01-10 10:08:01] Production.INFO: ==12962== Lock acquired, processing the job...
[2025-01-10 10:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 10:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 10:08:01] Production.INFO: neon service started
[2025-01-10 10:08:01] Production.INFO: neon service started
[2025-01-10 10:08:01] Production.INFO: ==12962== Releasing lock...
[2025-01-10 10:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 10:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 10:08:02] Production.INFO: ==12966== Lock acquired, processing the job...
[2025-01-10 10:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 10:08:02] Production.INFO: ==12966== Releasing lock...
[2025-01-10 10:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 10:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 05:08:02] Production.INFO: ==12964== Lock acquired, processing the job...
[2025-01-10 05:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:08:02] Production.INFO: ==12964== Releasing lock...
[2025-01-10 05:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 05:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 05:08:03] Production.INFO: ==12971== Lock acquired, processing the job...
[2025-01-10 05:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 05:08:03] Production.INFO: ==12975== Lock acquired, processing the job...
[2025-01-10 05:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 05:08:03] Production.INFO: ==12979== Lock acquired, processing the job...
[2025-01-10 05:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 05:08:03] Production.INFO: Account Balance Start.
[2025-01-10 05:08:03] Production.INFO: CreateAllLog Start
[2025-01-10 05:08:03] Production.INFO: 117
[2025-01-10 05:08:03] Production.INFO: Date 2025-01-08
[2025-01-10 05:08:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:08:03] Production.INFO: ==12971== Releasing lock...
[2025-01-10 05:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 05:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 05:08:03] Production.INFO: Date 2025-01-09
[2025-01-10 05:08:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:08:03] Production.INFO: count ==21
[2025-01-10 05:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:08:03] Production.INFO: count ==21
[2025-01-10 05:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214672') start
[2025-01-10 05:08:03] Production.INFO: ==12969== Lock acquired, processing the job...
[2025-01-10 05:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 05:08:03] Production.INFO: ==12973== Lock acquired, processing the job...
[2025-01-10 05:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 05:08:03] Production.INFO: Date 2025-01-10
[2025-01-10 05:08:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:08:03] Production.INFO: Total Charge 0
[2025-01-10 05:08:03] Production.INFO: ==12977== Lock acquired, processing the job...
[2025-01-10 05:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 05:08:03] Production.INFO: CreateAllLog End
[2025-01-10 05:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 05:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 05:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 05:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 05:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 05:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214672') end
[2025-01-10 05:08:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 05:08:03] Production.INFO: 1
[2025-01-10 05:08:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 05:08:03] Production.INFO: Account Balance End.
[2025-01-10 05:08:04] Production.INFO: ==12979== Releasing lock...
[2025-01-10 05:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 05:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 05:08:04] Production.ERROR: CronJobId end 12
[2025-01-10 05:08:04] Production.INFO: ==12975== Releasing lock...
[2025-01-10 05:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 05:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 05:08:04] Production.ERROR: done
[2025-01-10 05:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 05:08:04] Production.ERROR: done
[2025-01-10 05:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 02:08:05
[end_date_ymd] => 2025-01-10 05:08:05
[RateCDR] => 1
)
[2025-01-10 05:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 02:08:05' and `end` < '2025-01-10 05:08:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 05:08:11] Production.ERROR: CronJobId end10
[2025-01-10 05:08:11] Production.INFO: ==12973== Releasing lock...
[2025-01-10 05:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 05:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 05:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 05:08:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 05:08:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 05:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 05:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 05:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 05:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 05:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 05:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 05:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 05:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 05:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 05:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 05:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 05:08:13] Production.INFO: call_cost start
[2025-01-10 05:08:13] Production.INFO: call_cost end
[2025-01-10 05:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 05:08:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 05:08:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 05:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 05:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 05:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 05:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 05:08:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 05:08:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 05:08:14] Production.INFO: ==12969== Releasing lock...
[2025-01-10 05:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 05:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 05:08:19] Production.INFO: count ==79
[2025-01-10 05:08:19] Production.ERROR: pbx CDR StartTime 2025-01-10 02:08:05 - End Time 2025-01-10 05:08:05
[2025-01-10 05:08:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 05:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214674', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214674', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214674', 'tblTempVendorCDR_20' ) start
[2025-01-10 05:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214674', 'tblTempVendorCDR_20' ) end
[2025-01-10 05:08:19] Production.INFO: ProcessCDR(1,14214674,1,1,2)
[2025-01-10 05:08:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214674,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:08:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214674,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:08:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214674,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:08:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214674,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214674', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214674', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:08:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:08:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:08:23] Production.INFO: ==12977== Releasing lock...
[2025-01-10 05:08:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 05:08:23] Production.INFO: 28 MB #Memory Used#
[2025-01-10 10:09:02] Production.INFO: ==13033== Lock acquired, processing the job...
[2025-01-10 10:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 10:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 10:09:02] Production.INFO: neon service started
[2025-01-10 10:09:02] Production.INFO: neon service started
[2025-01-10 10:09:02] Production.INFO: ==13033== Releasing lock...
[2025-01-10 10:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 10:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 05:09:02] Production.INFO: ==13035== Lock acquired, processing the job...
[2025-01-10 05:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:09:02] Production.INFO: ==13035== Releasing lock...
[2025-01-10 05:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 05:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:09:02] Production.INFO: ==13037== Lock acquired, processing the job...
[2025-01-10 10:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 10:09:02] Production.INFO: ==13037== Releasing lock...
[2025-01-10 10:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 10:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 05:09:03] Production.INFO: ==13047== Lock acquired, processing the job...
[2025-01-10 05:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 05:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:09:03] Production.INFO: ==13039== Lock acquired, processing the job...
[2025-01-10 05:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 05:09:03] Production.INFO: ==13049== Lock acquired, processing the job...
[2025-01-10 05:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 05:09:03] Production.INFO: ==13041== Lock acquired, processing the job...
[2025-01-10 05:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 05:09:03] Production.INFO: ==13045== Lock acquired, processing the job...
[2025-01-10 05:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 05:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 05:09:03] Production.INFO: ==13043== Lock acquired, processing the job...
[2025-01-10 05:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 05:09:03] Production.INFO: Account Balance Start.
[2025-01-10 05:09:03] Production.INFO: CreateAllLog Start
[2025-01-10 05:09:04] Production.INFO: 117
[2025-01-10 05:09:04] Production.INFO: Date 2025-01-08
[2025-01-10 05:09:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:09:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 05:09:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 05:09:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 05:09:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 05:09:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:09:04] Production.INFO: count ==21
[2025-01-10 05:09:04] Production.INFO: Date 2025-01-09
[2025-01-10 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-01-10 05:09:04] Production.INFO: count ==21
[2025-01-10 05:09:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214677') start
[2025-01-10 05:09:04] Production.ERROR: done
[2025-01-10 05:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 05:09:04] Production.INFO: Date 2025-01-10
[2025-01-10 05:09:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:09:04] Production.INFO: Total Charge 0
[2025-01-10 05:09:04] Production.INFO: CreateAllLog End
[2025-01-10 05:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214677') end
[2025-01-10 05:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 05:09:04] Production.INFO: 1
[2025-01-10 05:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 05:09:04] Production.INFO: ==13049== Releasing lock...
[2025-01-10 05:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 05:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 05:09:04] Production.INFO: ==13041== Releasing lock...
[2025-01-10 05:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 05:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 05:09:04] Production.ERROR: done
[2025-01-10 05:09:04] Production.INFO: Account Balance End.
[2025-01-10 05:09:04] Production.ERROR: CronJobId end 12
[2025-01-10 05:09:04] Production.INFO: ==13045== Releasing lock...
[2025-01-10 05:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 05:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 05:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 02:09:05
[end_date_ymd] => 2025-01-10 05:09:05
[RateCDR] => 1
)
[2025-01-10 05:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 02:09:05' and `end` < '2025-01-10 05:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 05:09:11] Production.ERROR: CronJobId end10
[2025-01-10 05:09:11] Production.INFO: ==13043== Releasing lock...
[2025-01-10 05:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 05:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 05:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 05:09:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 05:09:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 05:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 05:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 05:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 05:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 05:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 05:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 05:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 05:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 05:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 05:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 05:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 05:09:13] Production.INFO: call_cost start
[2025-01-10 05:09:13] Production.INFO: call_cost end
[2025-01-10 05:09:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 05:09:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 05:09:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 05:09:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 05:09:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 05:09:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 05:09:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 05:09:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 05:09:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 05:09:14] Production.INFO: ==13039== Releasing lock...
[2025-01-10 05:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 05:09:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 05:09:18] Production.INFO: count ==79
[2025-01-10 05:09:18] Production.ERROR: pbx CDR StartTime 2025-01-10 02:09:05 - End Time 2025-01-10 05:09:05
[2025-01-10 05:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 05:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214679', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214679', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214679', 'tblTempVendorCDR_20' ) start
[2025-01-10 05:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214679', 'tblTempVendorCDR_20' ) end
[2025-01-10 05:09:18] Production.INFO: ProcessCDR(1,14214679,1,1,2)
[2025-01-10 05:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214679,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214679,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214679,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:09:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214679,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214679', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214679', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:09:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:09:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:09:21] Production.INFO: ==13047== Releasing lock...
[2025-01-10 05:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 05:09:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 10:10:01] Production.INFO: ==13105== Lock acquired, processing the job...
[2025-01-10 10:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 10:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 10:10:01] Production.INFO: neon service started
[2025-01-10 10:10:01] Production.INFO: neon service started
[2025-01-10 10:10:01] Production.INFO: ==13105== Releasing lock...
[2025-01-10 10:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 10:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 05:10:01] Production.INFO: ==13107== Lock acquired, processing the job...
[2025-01-10 05:10:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:10:02] Production.INFO: ==13107== Releasing lock...
[2025-01-10 05:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 05:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:10:02] Production.INFO: ==13109== Lock acquired, processing the job...
[2025-01-10 10:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 10:10:02] Production.INFO: ==13109== Releasing lock...
[2025-01-10 10:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 10:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 05:10:03] Production.INFO: ==13111== Lock acquired, processing the job...
[2025-01-10 05:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 05:10:03] Production.INFO: ==13121== Lock acquired, processing the job...
[2025-01-10 05:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 05:10:03] Production.INFO: ==13119== Lock acquired, processing the job...
[2025-01-10 05:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 05:10:03] Production.INFO: ==13113== Lock acquired, processing the job...
[2025-01-10 05:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 05:10:03] Production.INFO: ==13115== Lock acquired, processing the job...
[2025-01-10 05:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 05:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 05:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 05:10:03] Production.ERROR: CronJob PID - 13119
[2025-01-10 05:10:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-10 05:10:03] Production.ERROR: CronJob ID - 12
[2025-01-10 05:10:03] Production.ERROR: CronJob Last Run Time 2025-01-10 05:10:00
[2025-01-10 05:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 05:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 05:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 05:10:03] Production.ERROR: CronJob PID - 13121
[2025-01-10 05:10:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-10 05:10:03] Production.ERROR: CronJob ID - 16
[2025-01-10 05:10:03] Production.ERROR: CronJob Last Run Time 2025-01-10 05:10:00
[2025-01-10 05:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 05:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 05:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 05:10:03] Production.INFO: ==13111== Releasing lock...
[2025-01-10 05:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 05:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 05:10:03] Production.INFO: ==13117== Lock acquired, processing the job...
[2025-01-10 05:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 05:10:03] Production.INFO: Account Balance Start.
[2025-01-10 05:10:03] Production.INFO: CreateAllLog Start
[2025-01-10 05:10:03] Production.INFO: 117
[2025-01-10 05:10:03] Production.INFO: Date 2025-01-08
[2025-01-10 05:10:03] Production.INFO: ==13126== Lock acquired, processing the job...
[2025-01-10 05:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 05:10:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:10:03] Production.INFO: Date 2025-01-09
[2025-01-10 05:10:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:10:03] Production.INFO: ==13124== Lock acquired, processing the job...
[2025-01-10 05:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 05:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 05:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 05:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 05:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 05:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 05:10:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:10:03] Production.INFO: Date 2025-01-10
[2025-01-10 05:10:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:10:03] Production.INFO: Total Charge 0
[2025-01-10 05:10:03] Production.INFO: CreateAllLog End
[2025-01-10 05:10:03] Production.INFO: count ==21
[2025-01-10 05:10:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:10:03] Production.INFO: count ==21
[2025-01-10 05:10:03] Production.INFO: ==13115== Releasing lock...
[2025-01-10 05:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 05:10:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 05:10:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214682') start
[2025-01-10 05:10:04] Production.ERROR: done
[2025-01-10 05:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 05:10:04] Production.INFO: Account Balance End.
[2025-01-10 05:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214682') end
[2025-01-10 05:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 05:10:04] Production.INFO: 1
[2025-01-10 05:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 05:10:04] Production.ERROR: CronJobId end 12
[2025-01-10 05:10:04] Production.INFO: ==13119== Releasing lock...
[2025-01-10 05:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 05:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 05:10:04] Production.ERROR: done
[2025-01-10 05:10:04] Production.INFO: ==13126== Releasing lock...
[2025-01-10 05:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 05:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 05:10:04] Production.ERROR: done
[2025-01-10 05:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 05:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14214685', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 05:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 02:10:05
[end_date_ymd] => 2025-01-10 05:10:05
[RateCDR] => 1
)
[2025-01-10 05:10:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 02:10:05' and `end` < '2025-01-10 05:10:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 05:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14214685', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 05:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 05:10:08] Production.INFO: ProcessCDR(1,14214685,1,1,2)
[2025-01-10 05:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14214685,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14214685,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:10:09] Production.INFO: ==13124== Releasing lock...
[2025-01-10 05:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 05:10:09] Production.INFO: 26 MB #Memory Used#
[2025-01-10 05:10:12] Production.ERROR: CronJobId end10
[2025-01-10 05:10:12] Production.INFO: ==13117== Releasing lock...
[2025-01-10 05:10:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 05:10:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 05:10:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 05:10:15] Production.INFO: ============== Balance Warning START===========
[2025-01-10 05:10:15] Production.INFO: ============== Balance Warning END===========
[2025-01-10 05:10:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 05:10:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 05:10:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 05:10:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 05:10:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 05:10:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 05:10:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 05:10:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 05:10:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 05:10:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 05:10:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 05:10:15] Production.INFO: call_cost start
[2025-01-10 05:10:15] Production.INFO: call_cost end
[2025-01-10 05:10:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 05:10:16] Production.INFO: ============== Report Schedule START===========
[2025-01-10 05:10:16] Production.INFO: ============== Report Schedule END===========
[2025-01-10 05:10:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 05:10:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 05:10:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 05:10:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 05:10:16] Production.INFO: ============== Deal alert START===========
[2025-01-10 05:10:16] Production.INFO: ============== Deal alert END===========
[2025-01-10 05:10:16] Production.INFO: ==13113== Releasing lock...
[2025-01-10 05:10:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 05:10:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 05:10:18] Production.INFO: count ==79
[2025-01-10 05:10:18] Production.ERROR: pbx CDR StartTime 2025-01-10 02:10:05 - End Time 2025-01-10 05:10:05
[2025-01-10 05:10:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 05:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214684', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214684', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214684', 'tblTempVendorCDR_20' ) start
[2025-01-10 05:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214684', 'tblTempVendorCDR_20' ) end
[2025-01-10 05:10:18] Production.INFO: ProcessCDR(1,14214684,1,1,2)
[2025-01-10 05:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214684,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:10:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214684,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:10:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214684,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:10:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214684,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214684', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214684', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:10:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:10:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:10:21] Production.INFO: ==13121== Releasing lock...
[2025-01-10 05:10:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 05:10:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 10:11:01] Production.INFO: ==13181== Lock acquired, processing the job...
[2025-01-10 10:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 10:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 10:11:02] Production.INFO: neon service started
[2025-01-10 10:11:02] Production.INFO: neon service started
[2025-01-10 10:11:02] Production.INFO: ==13181== Releasing lock...
[2025-01-10 10:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 10:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 05:11:02] Production.INFO: ==13183== Lock acquired, processing the job...
[2025-01-10 05:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:11:02] Production.INFO: ==13183== Releasing lock...
[2025-01-10 05:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 05:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:11:02] Production.INFO: ==13185== Lock acquired, processing the job...
[2025-01-10 10:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 10:11:02] Production.INFO: ==13185== Releasing lock...
[2025-01-10 10:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 10:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 05:11:03] Production.INFO: ==13188== Lock acquired, processing the job...
[2025-01-10 05:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 05:11:03] Production.INFO: ==13190== Lock acquired, processing the job...
[2025-01-10 05:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 05:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 05:11:03] Production.INFO: ==13192== Lock acquired, processing the job...
[2025-01-10 05:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 05:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 05:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 05:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 05:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 05:11:03] Production.INFO: ==13190== Releasing lock...
[2025-01-10 05:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 05:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 05:11:03] Production.INFO: ==13194== Lock acquired, processing the job...
[2025-01-10 05:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 05:11:03] Production.INFO: ==13196== Lock acquired, processing the job...
[2025-01-10 05:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 05:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:11:03] Production.INFO: ==13198== Lock acquired, processing the job...
[2025-01-10 05:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 05:11:04] Production.INFO: Account Balance Start.
[2025-01-10 05:11:04] Production.INFO: CreateAllLog Start
[2025-01-10 05:11:04] Production.INFO: 117
[2025-01-10 05:11:04] Production.INFO: Date 2025-01-08
[2025-01-10 05:11:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:11:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:11:04] Production.INFO: Date 2025-01-09
[2025-01-10 05:11:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:11:04] Production.INFO: count ==21
[2025-01-10 05:11:04] Production.INFO: Date 2025-01-10
[2025-01-10 05:11:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:11:04] Production.INFO: Total Charge 0
[2025-01-10 05:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:11:04] Production.ERROR: done
[2025-01-10 05:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 05:11:04] Production.INFO: count ==21
[2025-01-10 05:11:04] Production.INFO: CreateAllLog End
[2025-01-10 05:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214689') start
[2025-01-10 05:11:04] Production.ERROR: done
[2025-01-10 05:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214689') end
[2025-01-10 05:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 05:11:04] Production.INFO: 1
[2025-01-10 05:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 05:11:04] Production.INFO: Account Balance End.
[2025-01-10 05:11:04] Production.INFO: ==13198== Releasing lock...
[2025-01-10 05:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 05:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 05:11:04] Production.ERROR: CronJobId end 12
[2025-01-10 05:11:04] Production.INFO: ==13194== Releasing lock...
[2025-01-10 05:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 05:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 05:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 02:11:05
[end_date_ymd] => 2025-01-10 05:11:05
[RateCDR] => 1
)
[2025-01-10 05:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 02:11:05' and `end` < '2025-01-10 05:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 05:11:11] Production.ERROR: CronJobId end10
[2025-01-10 05:11:11] Production.INFO: ==13192== Releasing lock...
[2025-01-10 05:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 05:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 05:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 05:11:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 05:11:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 05:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 05:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 05:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 05:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 05:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 05:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 05:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 05:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 05:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 05:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 05:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 05:11:13] Production.INFO: call_cost start
[2025-01-10 05:11:13] Production.INFO: call_cost end
[2025-01-10 05:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 05:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 05:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 05:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 05:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 05:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 05:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 05:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 05:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 05:11:14] Production.INFO: ==13188== Releasing lock...
[2025-01-10 05:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 05:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 05:11:18] Production.INFO: count ==79
[2025-01-10 05:11:18] Production.ERROR: pbx CDR StartTime 2025-01-10 02:11:05 - End Time 2025-01-10 05:11:05
[2025-01-10 05:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 05:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214690', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214690', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214690', 'tblTempVendorCDR_20' ) start
[2025-01-10 05:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214690', 'tblTempVendorCDR_20' ) end
[2025-01-10 05:11:18] Production.INFO: ProcessCDR(1,14214690,1,1,2)
[2025-01-10 05:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214690,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214690,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214690,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:11:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214690,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214690', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214690', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:11:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:11:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:11:22] Production.INFO: ==13196== Releasing lock...
[2025-01-10 05:11:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 05:11:22] Production.INFO: 28 MB #Memory Used#
[2025-01-10 10:12:01] Production.INFO: ==13252== Lock acquired, processing the job...
[2025-01-10 10:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 10:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 10:12:01] Production.INFO: neon service started
[2025-01-10 10:12:01] Production.INFO: neon service started
[2025-01-10 10:12:01] Production.INFO: ==13252== Releasing lock...
[2025-01-10 10:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 10:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 05:12:01] Production.INFO: ==13254== Lock acquired, processing the job...
[2025-01-10 05:12:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 10:12:02] Production.INFO: ==13256== Lock acquired, processing the job...
[2025-01-10 10:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 10:12:02] Production.INFO: ==13256== Releasing lock...
[2025-01-10 10:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 10:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 05:12:02] Production.INFO: ==13254== Releasing lock...
[2025-01-10 05:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 05:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 05:12:02] Production.INFO: ==13258== Lock acquired, processing the job...
[2025-01-10 05:12:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 05:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 05:12:03] Production.INFO: ==13263== Lock acquired, processing the job...
[2025-01-10 05:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 05:12:03] Production.INFO: ==13261== Lock acquired, processing the job...
[2025-01-10 05:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 05:12:03] Production.INFO: ==13265== Lock acquired, processing the job...
[2025-01-10 05:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 05:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 05:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 05:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 05:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 05:12:03] Production.INFO: ==13267== Lock acquired, processing the job...
[2025-01-10 05:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 05:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:12:03] Production.INFO: ==13269== Lock acquired, processing the job...
[2025-01-10 05:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 05:12:03] Production.INFO: Account Balance Start.
[2025-01-10 05:12:03] Production.INFO: CreateAllLog Start
[2025-01-10 05:12:03] Production.INFO: 117
[2025-01-10 05:12:03] Production.INFO: Date 2025-01-08
[2025-01-10 05:12:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:12:03] Production.INFO: Date 2025-01-09
[2025-01-10 05:12:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:12:03] Production.INFO: Date 2025-01-10
[2025-01-10 05:12:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:12:03] Production.INFO: count ==21
[2025-01-10 05:12:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:12:03] Production.INFO: count ==21
[2025-01-10 05:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214694') start
[2025-01-10 05:12:03] Production.INFO: Total Charge 0
[2025-01-10 05:12:03] Production.INFO: CreateAllLog End
[2025-01-10 05:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214694') end
[2025-01-10 05:12:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 05:12:03] Production.INFO: 1
[2025-01-10 05:12:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 05:12:03] Production.INFO: ==13261== Releasing lock...
[2025-01-10 05:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 05:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 05:12:03] Production.INFO: ==13269== Releasing lock...
[2025-01-10 05:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 05:12:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 05:12:03] Production.ERROR: done
[2025-01-10 05:12:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 05:12:03] Production.ERROR: done
[2025-01-10 05:12:04] Production.INFO: Account Balance End.
[2025-01-10 05:12:04] Production.ERROR: CronJobId end 12
[2025-01-10 05:12:04] Production.INFO: ==13265== Releasing lock...
[2025-01-10 05:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 05:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 05:12:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 02:12:04
[end_date_ymd] => 2025-01-10 05:12:04
[RateCDR] => 1
)
[2025-01-10 05:12:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 02:12:04' and `end` < '2025-01-10 05:12:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 05:12:11] Production.ERROR: CronJobId end10
[2025-01-10 05:12:11] Production.INFO: ==13263== Releasing lock...
[2025-01-10 05:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 05:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 05:12:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 05:12:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 05:12:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 05:12:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 05:12:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 05:12:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 05:12:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 05:12:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 05:12:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 05:12:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 05:12:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 05:12:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 05:12:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 05:12:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 05:12:12] Production.INFO: call_cost start
[2025-01-10 05:12:12] Production.INFO: call_cost end
[2025-01-10 05:12:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 05:12:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 05:12:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 05:12:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 05:12:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 05:12:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 05:12:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 05:12:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 05:12:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 05:12:13] Production.INFO: ==13258== Releasing lock...
[2025-01-10 05:12:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 05:12:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 05:12:17] Production.INFO: count ==79
[2025-01-10 05:12:17] Production.ERROR: pbx CDR StartTime 2025-01-10 02:12:04 - End Time 2025-01-10 05:12:04
[2025-01-10 05:12:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 05:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214695', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214695', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214695', 'tblTempVendorCDR_20' ) start
[2025-01-10 05:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214695', 'tblTempVendorCDR_20' ) end
[2025-01-10 05:12:17] Production.INFO: ProcessCDR(1,14214695,1,1,2)
[2025-01-10 05:12:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214695,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:12:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214695,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:12:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214695,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214695,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214695', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214695', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:12:21] Production.INFO: ==13267== Releasing lock...
[2025-01-10 05:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 05:12:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 10:13:01] Production.INFO: ==13361== Lock acquired, processing the job...
[2025-01-10 10:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 10:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 10:13:01] Production.INFO: neon service started
[2025-01-10 10:13:01] Production.INFO: neon service started
[2025-01-10 10:13:01] Production.INFO: ==13361== Releasing lock...
[2025-01-10 10:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 10:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 10:13:02] Production.INFO: ==13365== Lock acquired, processing the job...
[2025-01-10 10:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 10:13:02] Production.INFO: ==13365== Releasing lock...
[2025-01-10 10:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 10:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 05:13:02] Production.INFO: ==13363== Lock acquired, processing the job...
[2025-01-10 05:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:13:02] Production.INFO: ==13363== Releasing lock...
[2025-01-10 05:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 05:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 05:13:03] Production.INFO: ==13368== Lock acquired, processing the job...
[2025-01-10 05:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 05:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 05:13:03] Production.INFO: ==13372== Lock acquired, processing the job...
[2025-01-10 05:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 05:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 05:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 05:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 05:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 05:13:03] Production.INFO: ==13376== Lock acquired, processing the job...
[2025-01-10 05:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 05:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:13:03] Production.INFO: ==13370== Lock acquired, processing the job...
[2025-01-10 05:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 05:13:03] Production.INFO: ==13374== Lock acquired, processing the job...
[2025-01-10 05:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 05:13:03] Production.ERROR: done
[2025-01-10 05:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 05:13:03] Production.INFO: ==13378== Lock acquired, processing the job...
[2025-01-10 05:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 05:13:03] Production.INFO: Account Balance Start.
[2025-01-10 05:13:03] Production.INFO: CreateAllLog Start
[2025-01-10 05:13:03] Production.INFO: 117
[2025-01-10 05:13:04] Production.INFO: Date 2025-01-08
[2025-01-10 05:13:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:13:04] Production.ERROR: done
[2025-01-10 05:13:04] Production.INFO: Date 2025-01-09
[2025-01-10 05:13:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:13:04] Production.INFO: Date 2025-01-10
[2025-01-10 05:13:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:13:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:13:04] Production.INFO: ==13370== Releasing lock...
[2025-01-10 05:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 05:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 05:13:04] Production.INFO: count ==21
[2025-01-10 05:13:04] Production.INFO: Total Charge 0
[2025-01-10 05:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:13:04] Production.INFO: count ==21
[2025-01-10 05:13:04] Production.INFO: CreateAllLog End
[2025-01-10 05:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214699') start
[2025-01-10 05:13:04] Production.INFO: Account Balance End.
[2025-01-10 05:13:04] Production.ERROR: CronJobId end 12
[2025-01-10 05:13:04] Production.INFO: ==13374== Releasing lock...
[2025-01-10 05:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 05:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 05:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214699') end
[2025-01-10 05:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 05:13:04] Production.INFO: 1
[2025-01-10 05:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 05:13:04] Production.INFO: ==13378== Releasing lock...
[2025-01-10 05:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 05:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 05:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 02:13:05
[end_date_ymd] => 2025-01-10 05:13:05
[RateCDR] => 1
)
[2025-01-10 05:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 02:13:05' and `end` < '2025-01-10 05:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 05:13:11] Production.ERROR: CronJobId end10
[2025-01-10 05:13:11] Production.INFO: ==13372== Releasing lock...
[2025-01-10 05:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 05:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 05:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 05:13:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 05:13:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 05:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 05:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 05:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 05:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 05:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 05:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 05:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 05:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 05:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 05:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 05:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 05:13:13] Production.INFO: call_cost start
[2025-01-10 05:13:13] Production.INFO: call_cost end
[2025-01-10 05:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 05:13:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 05:13:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 05:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 05:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 05:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 05:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 05:13:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 05:13:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 05:13:14] Production.INFO: ==13368== Releasing lock...
[2025-01-10 05:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 05:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 05:13:18] Production.INFO: count ==79
[2025-01-10 05:13:18] Production.ERROR: pbx CDR StartTime 2025-01-10 02:13:05 - End Time 2025-01-10 05:13:05
[2025-01-10 05:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 05:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214700', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214700', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214700', 'tblTempVendorCDR_20' ) start
[2025-01-10 05:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214700', 'tblTempVendorCDR_20' ) end
[2025-01-10 05:13:18] Production.INFO: ProcessCDR(1,14214700,1,1,2)
[2025-01-10 05:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214700,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214700,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214700,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214700,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214700', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214700', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:13:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:13:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:13:22] Production.INFO: ==13376== Releasing lock...
[2025-01-10 05:13:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 05:13:22] Production.INFO: 28 MB #Memory Used#
[2025-01-10 10:14:01] Production.INFO: ==13433== Lock acquired, processing the job...
[2025-01-10 10:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 10:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 10:14:01] Production.INFO: neon service started
[2025-01-10 10:14:01] Production.INFO: neon service started
[2025-01-10 10:14:01] Production.INFO: ==13433== Releasing lock...
[2025-01-10 10:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 10:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 05:14:02] Production.INFO: ==13435== Lock acquired, processing the job...
[2025-01-10 05:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:14:02] Production.INFO: ==13435== Releasing lock...
[2025-01-10 05:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 05:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:14:02] Production.INFO: ==13438== Lock acquired, processing the job...
[2025-01-10 10:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 10:14:02] Production.INFO: ==13438== Releasing lock...
[2025-01-10 10:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 10:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 05:14:03] Production.INFO: ==13440== Lock acquired, processing the job...
[2025-01-10 05:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 05:14:03] Production.INFO: ==13444== Lock acquired, processing the job...
[2025-01-10 05:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 05:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 05:14:03] Production.INFO: ==13448== Lock acquired, processing the job...
[2025-01-10 05:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 05:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 05:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 05:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 05:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 05:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:14:03] Production.INFO: ==13442== Lock acquired, processing the job...
[2025-01-10 05:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 05:14:03] Production.INFO: ==13446== Lock acquired, processing the job...
[2025-01-10 05:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 05:14:03] Production.INFO: ==13450== Lock acquired, processing the job...
[2025-01-10 05:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 05:14:03] Production.ERROR: done
[2025-01-10 05:14:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 05:14:03] Production.INFO: Account Balance Start.
[2025-01-10 05:14:03] Production.INFO: CreateAllLog Start
[2025-01-10 05:14:03] Production.INFO: 117
[2025-01-10 05:14:03] Production.INFO: Date 2025-01-08
[2025-01-10 05:14:03] Production.INFO: Reseller ==> 0
[2025-01-10 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-01-10 05:14:03] Production.ERROR: done
[2025-01-10 05:14:03] Production.INFO: count ==21
[2025-01-10 05:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:14:04] Production.INFO: count ==21
[2025-01-10 05:14:04] Production.INFO: ==13442== Releasing lock...
[2025-01-10 05:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 05:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 05:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214704') start
[2025-01-10 05:14:04] Production.INFO: Date 2025-01-09
[2025-01-10 05:14:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:14:04] Production.INFO: Date 2025-01-10
[2025-01-10 05:14:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:14:04] Production.INFO: Total Charge 0
[2025-01-10 05:14:04] Production.INFO: CreateAllLog End
[2025-01-10 05:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214704') end
[2025-01-10 05:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 05:14:04] Production.INFO: 1
[2025-01-10 05:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 05:14:04] Production.INFO: Account Balance End.
[2025-01-10 05:14:04] Production.INFO: ==13450== Releasing lock...
[2025-01-10 05:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 05:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 05:14:04] Production.ERROR: CronJobId end 12
[2025-01-10 05:14:04] Production.INFO: ==13446== Releasing lock...
[2025-01-10 05:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 05:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 05:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 02:14:05
[end_date_ymd] => 2025-01-10 05:14:05
[RateCDR] => 1
)
[2025-01-10 05:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 02:14:05' and `end` < '2025-01-10 05:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 05:14:10] Production.ERROR: CronJobId end10
[2025-01-10 05:14:10] Production.INFO: ==13444== Releasing lock...
[2025-01-10 05:14:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 05:14:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 05:14:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 05:14:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 05:14:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 05:14:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 05:14:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 05:14:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 05:14:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 05:14:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 05:14:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 05:14:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 05:14:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 05:14:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 05:14:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 05:14:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 05:14:13] Production.INFO: call_cost start
[2025-01-10 05:14:13] Production.INFO: call_cost end
[2025-01-10 05:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 05:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 05:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 05:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 05:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 05:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 05:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 05:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 05:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 05:14:14] Production.INFO: ==13440== Releasing lock...
[2025-01-10 05:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 05:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 05:14:17] Production.INFO: count ==79
[2025-01-10 05:14:17] Production.ERROR: pbx CDR StartTime 2025-01-10 02:14:05 - End Time 2025-01-10 05:14:05
[2025-01-10 05:14:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 05:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214705', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214705', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214705', 'tblTempVendorCDR_20' ) start
[2025-01-10 05:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214705', 'tblTempVendorCDR_20' ) end
[2025-01-10 05:14:17] Production.INFO: ProcessCDR(1,14214705,1,1,2)
[2025-01-10 05:14:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214705,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:14:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214705,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:14:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214705,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214705,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214705', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214705', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:14:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:14:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:14:21] Production.INFO: ==13448== Releasing lock...
[2025-01-10 05:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 05:14:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 10:15:02] Production.INFO: ==13504== Lock acquired, processing the job...
[2025-01-10 10:15:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 10:15:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 10:15:02] Production.INFO: neon service started
[2025-01-10 10:15:02] Production.INFO: neon service started
[2025-01-10 10:15:02] Production.INFO: ==13504== Releasing lock...
[2025-01-10 10:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 10:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 05:15:02] Production.INFO: ==13506== Lock acquired, processing the job...
[2025-01-10 05:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:15:02] Production.INFO: ==13506== Releasing lock...
[2025-01-10 05:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 05:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:15:03] Production.INFO: ==13508== Lock acquired, processing the job...
[2025-01-10 10:15:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 10:15:03] Production.INFO: ==13508== Releasing lock...
[2025-01-10 10:15:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 10:15:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 05:15:03] Production.INFO: ==13513== Lock acquired, processing the job...
[2025-01-10 05:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 05:15:03] Production.INFO: ==13521== Lock acquired, processing the job...
[2025-01-10 05:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 05:15:03] Production.INFO: ==13510== Lock acquired, processing the job...
[2025-01-10 05:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 05:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 05:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:15:04] Production.INFO: ==13515== Lock acquired, processing the job...
[2025-01-10 05:15:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 05:15:04] Production.INFO: count ==21
[2025-01-10 05:15:04] Production.INFO: ==13513== Releasing lock...
[2025-01-10 05:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 05:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 05:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:15:04] Production.INFO: count ==21
[2025-01-10 05:15:04] Production.INFO: ==13517== Lock acquired, processing the job...
[2025-01-10 05:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 05:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214707') start
[2025-01-10 05:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 05:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 05:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 05:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 05:15:04] Production.INFO: ==13519== Lock acquired, processing the job...
[2025-01-10 05:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 05:15:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214707') end
[2025-01-10 05:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 05:15:04] Production.INFO: 1
[2025-01-10 05:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 05:15:04] Production.INFO: Account Balance Start.
[2025-01-10 05:15:04] Production.INFO: CreateAllLog Start
[2025-01-10 05:15:04] Production.INFO: 117
[2025-01-10 05:15:04] Production.INFO: ==13521== Releasing lock...
[2025-01-10 05:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 05:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 05:15:04] Production.INFO: Date 2025-01-08
[2025-01-10 05:15:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:15:04] Production.INFO: Date 2025-01-09
[2025-01-10 05:15:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:15:04] Production.INFO: Date 2025-01-10
[2025-01-10 05:15:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:15:04] Production.INFO: Total Charge 0
[2025-01-10 05:15:04] Production.INFO: CreateAllLog End
[2025-01-10 05:15:04] Production.ERROR: done
[2025-01-10 05:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 05:15:04] Production.ERROR: done
[2025-01-10 05:15:04] Production.INFO: Account Balance End.
[2025-01-10 05:15:04] Production.ERROR: CronJobId end 12
[2025-01-10 05:15:04] Production.INFO: ==13517== Releasing lock...
[2025-01-10 05:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 05:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 05:15:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 02:15:06
[end_date_ymd] => 2025-01-10 05:15:06
[RateCDR] => 1
)
[2025-01-10 05:15:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 02:15:06' and `end` < '2025-01-10 05:15:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 05:15:11] Production.ERROR: CronJobId end10
[2025-01-10 05:15:11] Production.INFO: ==13515== Releasing lock...
[2025-01-10 05:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 05:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 05:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 05:15:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 05:15:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 05:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 05:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 05:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 05:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 05:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 05:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 05:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 05:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 05:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 05:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 05:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 05:15:13] Production.INFO: call_cost start
[2025-01-10 05:15:13] Production.INFO: call_cost end
[2025-01-10 05:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 05:15:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 05:15:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 05:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 05:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 05:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 05:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 05:15:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 05:15:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 05:15:14] Production.INFO: ==13510== Releasing lock...
[2025-01-10 05:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 05:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 05:15:18] Production.INFO: count ==79
[2025-01-10 05:15:18] Production.ERROR: pbx CDR StartTime 2025-01-10 02:15:06 - End Time 2025-01-10 05:15:06
[2025-01-10 05:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 05:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214710', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214710', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214710', 'tblTempVendorCDR_20' ) start
[2025-01-10 05:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214710', 'tblTempVendorCDR_20' ) end
[2025-01-10 05:15:18] Production.INFO: ProcessCDR(1,14214710,1,1,2)
[2025-01-10 05:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214710,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214710,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214710,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:15:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214710,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214710', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214710', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:15:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:15:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:15:22] Production.INFO: ==13519== Releasing lock...
[2025-01-10 05:15:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 05:15:22] Production.INFO: 28 MB #Memory Used#
[2025-01-10 10:16:01] Production.INFO: ==13575== Lock acquired, processing the job...
[2025-01-10 10:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 10:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 10:16:01] Production.INFO: neon service started
[2025-01-10 10:16:01] Production.INFO: neon service started
[2025-01-10 10:16:01] Production.INFO: ==13575== Releasing lock...
[2025-01-10 10:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 10:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 10:16:02] Production.INFO: ==13579== Lock acquired, processing the job...
[2025-01-10 10:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 10:16:02] Production.INFO: ==13579== Releasing lock...
[2025-01-10 10:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 10:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 05:16:02] Production.INFO: ==13577== Lock acquired, processing the job...
[2025-01-10 05:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:16:02] Production.INFO: ==13577== Releasing lock...
[2025-01-10 05:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 05:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 05:16:03] Production.INFO: ==13581== Lock acquired, processing the job...
[2025-01-10 05:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 05:16:03] Production.INFO: ==13585== Lock acquired, processing the job...
[2025-01-10 05:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 05:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 05:16:03] Production.INFO: ==13587== Lock acquired, processing the job...
[2025-01-10 05:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 05:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 05:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 05:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 05:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 05:16:03] Production.INFO: ==13583== Lock acquired, processing the job...
[2025-01-10 05:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 05:16:03] Production.INFO: Account Balance Start.
[2025-01-10 05:16:03] Production.INFO: CreateAllLog Start
[2025-01-10 05:16:03] Production.INFO: 117
[2025-01-10 05:16:03] Production.INFO: Date 2025-01-08
[2025-01-10 05:16:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:16:03] Production.INFO: ==13590== Lock acquired, processing the job...
[2025-01-10 05:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 05:16:03] Production.INFO: Date 2025-01-09
[2025-01-10 05:16:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:16:03] Production.INFO: ==13592== Lock acquired, processing the job...
[2025-01-10 05:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 05:16:03] Production.INFO: Date 2025-01-10
[2025-01-10 05:16:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:16:03] Production.INFO: Total Charge 0
[2025-01-10 05:16:03] Production.INFO: CreateAllLog End
[2025-01-10 05:16:03] Production.INFO: count ==21
[2025-01-10 05:16:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:16:03] Production.INFO: count ==21
[2025-01-10 05:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214714') start
[2025-01-10 05:16:04] Production.INFO: ==13583== Releasing lock...
[2025-01-10 05:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 05:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 05:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214714') end
[2025-01-10 05:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 05:16:04] Production.INFO: 1
[2025-01-10 05:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 05:16:04] Production.ERROR: done
[2025-01-10 05:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 05:16:04] Production.INFO: ==13592== Releasing lock...
[2025-01-10 05:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 05:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 05:16:04] Production.ERROR: done
[2025-01-10 05:16:04] Production.INFO: Account Balance End.
[2025-01-10 05:16:04] Production.ERROR: CronJobId end 12
[2025-01-10 05:16:04] Production.INFO: ==13587== Releasing lock...
[2025-01-10 05:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 05:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 05:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 02:16:05
[end_date_ymd] => 2025-01-10 05:16:05
[RateCDR] => 1
)
[2025-01-10 05:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 02:16:05' and `end` < '2025-01-10 05:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 05:16:10] Production.ERROR: CronJobId end10
[2025-01-10 05:16:10] Production.INFO: ==13585== Releasing lock...
[2025-01-10 05:16:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 05:16:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 05:16:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 05:16:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 05:16:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 05:16:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 05:16:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 05:16:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 05:16:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 05:16:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 05:16:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 05:16:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 05:16:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 05:16:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 05:16:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 05:16:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 05:16:12] Production.INFO: call_cost start
[2025-01-10 05:16:12] Production.INFO: call_cost end
[2025-01-10 05:16:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 05:16:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 05:16:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 05:16:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 05:16:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 05:16:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 05:16:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 05:16:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 05:16:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 05:16:13] Production.INFO: ==13581== Releasing lock...
[2025-01-10 05:16:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 05:16:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 05:16:18] Production.INFO: count ==79
[2025-01-10 05:16:18] Production.ERROR: pbx CDR StartTime 2025-01-10 02:16:05 - End Time 2025-01-10 05:16:05
[2025-01-10 05:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 05:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214715', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214715', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214715', 'tblTempVendorCDR_20' ) start
[2025-01-10 05:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214715', 'tblTempVendorCDR_20' ) end
[2025-01-10 05:16:18] Production.INFO: ProcessCDR(1,14214715,1,1,2)
[2025-01-10 05:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214715,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214715,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214715,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214715,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214715', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214715', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:16:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:16:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:16:21] Production.INFO: ==13590== Releasing lock...
[2025-01-10 05:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 05:16:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 10:17:02] Production.INFO: ==13646== Lock acquired, processing the job...
[2025-01-10 10:17:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 10:17:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 10:17:02] Production.INFO: neon service started
[2025-01-10 10:17:02] Production.INFO: neon service started
[2025-01-10 10:17:02] Production.INFO: ==13646== Releasing lock...
[2025-01-10 10:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 10:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 05:17:02] Production.INFO: ==13648== Lock acquired, processing the job...
[2025-01-10 05:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:17:02] Production.INFO: ==13648== Releasing lock...
[2025-01-10 05:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 05:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:17:02] Production.INFO: ==13650== Lock acquired, processing the job...
[2025-01-10 10:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 10:17:02] Production.INFO: ==13650== Releasing lock...
[2025-01-10 10:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 10:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 05:17:03] Production.INFO: ==13654== Lock acquired, processing the job...
[2025-01-10 05:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 05:17:03] Production.INFO: ==13662== Lock acquired, processing the job...
[2025-01-10 05:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 05:17:03] Production.INFO: ==13652== Lock acquired, processing the job...
[2025-01-10 05:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 05:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:17:03] Production.INFO: count ==21
[2025-01-10 05:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:17:03] Production.INFO: ==13656== Lock acquired, processing the job...
[2025-01-10 05:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 05:17:03] Production.INFO: count ==21
[2025-01-10 05:17:03] Production.INFO: ==13654== Releasing lock...
[2025-01-10 05:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 05:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 05:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214717') start
[2025-01-10 05:17:03] Production.INFO: ==13658== Lock acquired, processing the job...
[2025-01-10 05:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 05:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 05:17:03] Production.INFO: ==13660== Lock acquired, processing the job...
[2025-01-10 05:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 05:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:17:04] Production.INFO: Account Balance Start.
[2025-01-10 05:17:04] Production.INFO: CreateAllLog Start
[2025-01-10 05:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214717') end
[2025-01-10 05:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 05:17:04] Production.INFO: 1
[2025-01-10 05:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 05:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 05:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 05:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 05:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 05:17:04] Production.INFO: 117
[2025-01-10 05:17:04] Production.INFO: Date 2025-01-08
[2025-01-10 05:17:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:17:04] Production.INFO: ==13662== Releasing lock...
[2025-01-10 05:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 05:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 05:17:04] Production.INFO: Date 2025-01-09
[2025-01-10 05:17:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:17:04] Production.INFO: Date 2025-01-10
[2025-01-10 05:17:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:17:04] Production.INFO: Total Charge 0
[2025-01-10 05:17:04] Production.INFO: CreateAllLog End
[2025-01-10 05:17:04] Production.ERROR: done
[2025-01-10 05:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 05:17:04] Production.INFO: Account Balance End.
[2025-01-10 05:17:04] Production.ERROR: done
[2025-01-10 05:17:04] Production.ERROR: CronJobId end 12
[2025-01-10 05:17:04] Production.INFO: ==13658== Releasing lock...
[2025-01-10 05:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 05:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 05:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 02:17:05
[end_date_ymd] => 2025-01-10 05:17:05
[RateCDR] => 1
)
[2025-01-10 05:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 02:17:05' and `end` < '2025-01-10 05:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 05:17:11] Production.ERROR: CronJobId end10
[2025-01-10 05:17:11] Production.INFO: ==13656== Releasing lock...
[2025-01-10 05:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 05:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 05:17:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 05:17:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 05:17:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 05:17:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 05:17:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 05:17:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 05:17:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 05:17:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 05:17:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 05:17:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 05:17:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 05:17:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 05:17:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 05:17:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 05:17:13] Production.INFO: call_cost start
[2025-01-10 05:17:13] Production.INFO: call_cost end
[2025-01-10 05:17:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 05:17:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 05:17:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 05:17:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 05:17:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 05:17:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 05:17:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 05:17:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 05:17:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 05:17:14] Production.INFO: ==13652== Releasing lock...
[2025-01-10 05:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 05:17:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 05:17:19] Production.INFO: count ==79
[2025-01-10 05:17:19] Production.ERROR: pbx CDR StartTime 2025-01-10 02:17:05 - End Time 2025-01-10 05:17:05
[2025-01-10 05:17:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 05:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214720', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214720', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214720', 'tblTempVendorCDR_20' ) start
[2025-01-10 05:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214720', 'tblTempVendorCDR_20' ) end
[2025-01-10 05:17:19] Production.INFO: ProcessCDR(1,14214720,1,1,2)
[2025-01-10 05:17:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214720,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:17:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214720,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:17:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214720,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:17:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214720,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214720', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214720', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:17:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:17:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:17:22] Production.INFO: ==13660== Releasing lock...
[2025-01-10 05:17:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 05:17:22] Production.INFO: 28 MB #Memory Used#
[2025-01-10 10:18:01] Production.INFO: ==13716== Lock acquired, processing the job...
[2025-01-10 10:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 10:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 10:18:01] Production.INFO: neon service started
[2025-01-10 10:18:01] Production.INFO: neon service started
[2025-01-10 10:18:01] Production.INFO: ==13716== Releasing lock...
[2025-01-10 10:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 10:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 05:18:01] Production.INFO: ==13718== Lock acquired, processing the job...
[2025-01-10 05:18:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:18:02] Production.INFO: ==13718== Releasing lock...
[2025-01-10 05:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 05:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:18:02] Production.INFO: ==13720== Lock acquired, processing the job...
[2025-01-10 10:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 10:18:02] Production.INFO: ==13720== Releasing lock...
[2025-01-10 10:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 10:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 05:18:03] Production.INFO: ==13722== Lock acquired, processing the job...
[2025-01-10 05:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 05:18:03] Production.INFO: ==13724== Lock acquired, processing the job...
[2025-01-10 05:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 05:18:03] Production.INFO: ==13728== Lock acquired, processing the job...
[2025-01-10 05:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 05:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 05:18:03] Production.INFO: ==13726== Lock acquired, processing the job...
[2025-01-10 05:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 05:18:03] Production.INFO: ==13730== Lock acquired, processing the job...
[2025-01-10 05:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 05:18:03] Production.INFO: Account Balance Start.
[2025-01-10 05:18:03] Production.INFO: CreateAllLog Start
[2025-01-10 05:18:03] Production.INFO: 117
[2025-01-10 05:18:03] Production.INFO: Date 2025-01-08
[2025-01-10 05:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:18:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:18:03] Production.INFO: Date 2025-01-09
[2025-01-10 05:18:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:18:03] Production.INFO: ==13732== Lock acquired, processing the job...
[2025-01-10 05:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 05:18:03] Production.INFO: Date 2025-01-10
[2025-01-10 05:18:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:18:03] Production.INFO: Total Charge 0
[2025-01-10 05:18:03] Production.INFO: CreateAllLog End
[2025-01-10 05:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 05:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 05:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 05:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 05:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:18:03] Production.INFO: count ==21
[2025-01-10 05:18:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:18:03] Production.INFO: count ==21
[2025-01-10 05:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214724') start
[2025-01-10 05:18:03] Production.ERROR: done
[2025-01-10 05:18:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 05:18:03] Production.ERROR: done
[2025-01-10 05:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214724') end
[2025-01-10 05:18:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 05:18:03] Production.INFO: 1
[2025-01-10 05:18:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 05:18:03] Production.INFO: ==13724== Releasing lock...
[2025-01-10 05:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 05:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 05:18:03] Production.INFO: ==13732== Releasing lock...
[2025-01-10 05:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 05:18:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 05:18:03] Production.INFO: Account Balance End.
[2025-01-10 05:18:03] Production.ERROR: CronJobId end 12
[2025-01-10 05:18:03] Production.INFO: ==13728== Releasing lock...
[2025-01-10 05:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 05:18:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 05:18:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 02:18:04
[end_date_ymd] => 2025-01-10 05:18:04
[RateCDR] => 1
)
[2025-01-10 05:18:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 02:18:04' and `end` < '2025-01-10 05:18:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 05:18:11] Production.ERROR: CronJobId end10
[2025-01-10 05:18:11] Production.INFO: ==13726== Releasing lock...
[2025-01-10 05:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 05:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 05:18:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 05:18:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 05:18:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 05:18:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 05:18:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 05:18:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 05:18:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 05:18:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 05:18:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 05:18:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 05:18:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 05:18:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 05:18:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 05:18:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 05:18:13] Production.INFO: call_cost start
[2025-01-10 05:18:13] Production.INFO: call_cost end
[2025-01-10 05:18:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 05:18:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 05:18:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 05:18:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 05:18:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 05:18:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 05:18:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 05:18:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 05:18:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 05:18:13] Production.INFO: ==13722== Releasing lock...
[2025-01-10 05:18:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 05:18:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 05:18:17] Production.INFO: count ==79
[2025-01-10 05:18:17] Production.ERROR: pbx CDR StartTime 2025-01-10 02:18:04 - End Time 2025-01-10 05:18:04
[2025-01-10 05:18:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 05:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214725', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214725', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214725', 'tblTempVendorCDR_20' ) start
[2025-01-10 05:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214725', 'tblTempVendorCDR_20' ) end
[2025-01-10 05:18:17] Production.INFO: ProcessCDR(1,14214725,1,1,2)
[2025-01-10 05:18:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214725,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:18:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214725,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:18:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214725,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:18:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214725,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:18:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214725', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:18:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214725', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:18:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:18:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:18:20] Production.INFO: ==13730== Releasing lock...
[2025-01-10 05:18:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 05:18:20] Production.INFO: 28 MB #Memory Used#
[2025-01-10 10:19:02] Production.INFO: ==13786== Lock acquired, processing the job...
[2025-01-10 10:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 10:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 10:19:02] Production.INFO: neon service started
[2025-01-10 10:19:02] Production.INFO: neon service started
[2025-01-10 10:19:02] Production.INFO: ==13786== Releasing lock...
[2025-01-10 10:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 10:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 05:19:02] Production.INFO: ==13789== Lock acquired, processing the job...
[2025-01-10 05:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 10:19:02] Production.INFO: ==13791== Lock acquired, processing the job...
[2025-01-10 10:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 10:19:02] Production.INFO: ==13791== Releasing lock...
[2025-01-10 10:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 10:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 05:19:03] Production.INFO: ==13789== Releasing lock...
[2025-01-10 05:19:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 05:19:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 05:19:03] Production.INFO: ==13793== Lock acquired, processing the job...
[2025-01-10 05:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 05:19:03] Production.INFO: ==13795== Lock acquired, processing the job...
[2025-01-10 05:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 05:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 05:19:03] Production.INFO: ==13801== Lock acquired, processing the job...
[2025-01-10 05:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 05:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:19:04] Production.INFO: ==13797== Lock acquired, processing the job...
[2025-01-10 05:19:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 05:19:04] Production.INFO: ==13799== Lock acquired, processing the job...
[2025-01-10 05:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 05:19:04] Production.INFO: ==13803== Lock acquired, processing the job...
[2025-01-10 05:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 05:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 05:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 05:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 05:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 05:19:04] Production.INFO: ==13795== Releasing lock...
[2025-01-10 05:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 05:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 05:19:04] Production.ERROR: done
[2025-01-10 05:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 05:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:19:04] Production.INFO: Account Balance Start.
[2025-01-10 05:19:04] Production.INFO: CreateAllLog Start
[2025-01-10 05:19:04] Production.INFO: 117
[2025-01-10 05:19:04] Production.INFO: count ==21
[2025-01-10 05:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:19:04] Production.INFO: count ==21
[2025-01-10 05:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214729') start
[2025-01-10 05:19:04] Production.INFO: Date 2025-01-08
[2025-01-10 05:19:04] Production.ERROR: done
[2025-01-10 05:19:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:19:04] Production.INFO: Date 2025-01-09
[2025-01-10 05:19:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214729') end
[2025-01-10 05:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 05:19:04] Production.INFO: 1
[2025-01-10 05:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 05:19:04] Production.INFO: Date 2025-01-10
[2025-01-10 05:19:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:19:04] Production.INFO: ==13803== Releasing lock...
[2025-01-10 05:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 05:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 05:19:04] Production.INFO: Total Charge 0
[2025-01-10 05:19:04] Production.INFO: CreateAllLog End
[2025-01-10 05:19:04] Production.INFO: Account Balance End.
[2025-01-10 05:19:04] Production.ERROR: CronJobId end 12
[2025-01-10 05:19:04] Production.INFO: ==13799== Releasing lock...
[2025-01-10 05:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 05:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 05:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 02:19:05
[end_date_ymd] => 2025-01-10 05:19:05
[RateCDR] => 1
)
[2025-01-10 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-01-10 02:19:05' and `end` < '2025-01-10 05:19:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 05:19:10] Production.ERROR: CronJobId end10
[2025-01-10 05:19:10] Production.INFO: ==13797== Releasing lock...
[2025-01-10 05:19:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 05:19:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 05:19:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 05:19:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 05:19:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 05:19:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 05:19:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 05:19:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 05:19:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 05:19:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 05:19:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 05:19:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 05:19:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 05:19:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 05:19:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 05:19:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 05:19:13] Production.INFO: call_cost start
[2025-01-10 05:19:13] Production.INFO: call_cost end
[2025-01-10 05:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 05:19:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 05:19:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 05:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 05:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 05:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 05:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 05:19:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 05:19:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 05:19:14] Production.INFO: ==13793== Releasing lock...
[2025-01-10 05:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 05:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 05:19:18] Production.INFO: count ==79
[2025-01-10 05:19:18] Production.ERROR: pbx CDR StartTime 2025-01-10 02:19:05 - End Time 2025-01-10 05:19:05
[2025-01-10 05:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 05:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214730', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214730', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214730', 'tblTempVendorCDR_20' ) start
[2025-01-10 05:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214730', 'tblTempVendorCDR_20' ) end
[2025-01-10 05:19:18] Production.INFO: ProcessCDR(1,14214730,1,1,2)
[2025-01-10 05:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214730,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214730,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214730,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214730,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214730', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214730', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:19:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:19:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:19:21] Production.INFO: ==13801== Releasing lock...
[2025-01-10 05:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 05:19:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 10:20:01] Production.INFO: ==13855== Lock acquired, processing the job...
[2025-01-10 10:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 10:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 10:20:01] Production.INFO: neon service started
[2025-01-10 10:20:01] Production.INFO: neon service started
[2025-01-10 10:20:01] Production.INFO: ==13855== Releasing lock...
[2025-01-10 10:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 10:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 05:20:01] Production.INFO: ==13858== Lock acquired, processing the job...
[2025-01-10 05:20:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:20:02] Production.INFO: ==13858== Releasing lock...
[2025-01-10 05:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 05:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:20:02] Production.INFO: ==13860== Lock acquired, processing the job...
[2025-01-10 10:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 10:20:02] Production.INFO: ==13860== Releasing lock...
[2025-01-10 10:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 10:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 05:20:03] Production.INFO: ==13866== Lock acquired, processing the job...
[2025-01-10 05:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 05:20:03] Production.INFO: ==13864== Lock acquired, processing the job...
[2025-01-10 05:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 05:20:03] Production.INFO: ==13862== Lock acquired, processing the job...
[2025-01-10 05:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 05:20:03] Production.INFO: ==13868== Lock acquired, processing the job...
[2025-01-10 05:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 05:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 05:20:03] Production.INFO: ==13870== Lock acquired, processing the job...
[2025-01-10 05:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 05:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 05:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 05:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 05:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 05:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 05:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 05:20:03] Production.ERROR: CronJob PID - 13864
[2025-01-10 05:20:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-10 05:20:03] Production.ERROR: CronJob ID - 5
[2025-01-10 05:20:03] Production.ERROR: CronJob Last Run Time 2025-01-10 05:20:00
[2025-01-10 05:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 05:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 05:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 05:20:03] Production.ERROR: CronJob PID - 13866
[2025-01-10 05:20:03] Production.ERROR: CronJob Title - Account Block
[2025-01-10 05:20:03] Production.ERROR: CronJob ID - 7
[2025-01-10 05:20:03] Production.ERROR: CronJob Last Run Time 2025-01-10 05:20:00
[2025-01-10 05:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 05:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 05:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 05:20:03] Production.ERROR: CronJob PID - 13868
[2025-01-10 05:20:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-10 05:20:03] Production.ERROR: CronJob ID - 10
[2025-01-10 05:20:03] Production.ERROR: CronJob Last Run Time 2025-01-10 05:20:00
[2025-01-10 05:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 05:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 05:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 05:20:03] Production.ERROR: CronJob PID - 13870
[2025-01-10 05:20:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-10 05:20:03] Production.ERROR: CronJob ID - 12
[2025-01-10 05:20:03] Production.ERROR: CronJob Last Run Time 2025-01-10 05:20:00
[2025-01-10 05:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 05:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 05:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 05:20:03] Production.INFO: ==13862== Releasing lock...
[2025-01-10 05:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 05:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 05:20:03] Production.INFO: Account Balance Start.
[2025-01-10 05:20:03] Production.INFO: CreateAllLog Start
[2025-01-10 05:20:03] Production.INFO: 117
[2025-01-10 05:20:03] Production.INFO: Date 2025-01-08
[2025-01-10 05:20:03] Production.INFO: ==13872== Lock acquired, processing the job...
[2025-01-10 05:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 05:20:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:20:03] Production.INFO: Date 2025-01-09
[2025-01-10 05:20:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:20:03] Production.INFO: ==13874== Lock acquired, processing the job...
[2025-01-10 05:20:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 05:20:03] Production.INFO: Date 2025-01-10
[2025-01-10 05:20:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:20:03] Production.INFO: ==13876== Lock acquired, processing the job...
[2025-01-10 05:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 05:20:03] Production.INFO: Total Charge 0
[2025-01-10 05:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:20:03] Production.INFO: CreateAllLog End
[2025-01-10 05:20:03] Production.INFO: ==13866== Releasing lock...
[2025-01-10 05:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 05:20:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 05:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:20:04] Production.INFO: count ==21
[2025-01-10 05:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:20:04] Production.INFO: count ==21
[2025-01-10 05:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214734') start
[2025-01-10 05:20:04] Production.ERROR: done
[2025-01-10 05:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214734') end
[2025-01-10 05:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 05:20:04] Production.INFO: 1
[2025-01-10 05:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 05:20:04] Production.ERROR: done
[2025-01-10 05:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 05:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 05:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14214735', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 05:20:04] Production.INFO: Account Balance End.
[2025-01-10 05:20:04] Production.INFO: ==13876== Releasing lock...
[2025-01-10 05:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 05:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 05:20:04] Production.ERROR: CronJobId end 12
[2025-01-10 05:20:04] Production.INFO: ==13870== Releasing lock...
[2025-01-10 05:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 05:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 05:20:04] Production.ERROR: done
[2025-01-10 05:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 02:20:05
[end_date_ymd] => 2025-01-10 05:20:05
[RateCDR] => 1
)
[2025-01-10 05:20:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 02:20:05' and `end` < '2025-01-10 05:20:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 05:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14214735', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 05:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 05:20:08] Production.INFO: ProcessCDR(1,14214735,1,1,2)
[2025-01-10 05:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14214735,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14214735,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:20:08] Production.INFO: ==13874== Releasing lock...
[2025-01-10 05:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 05:20:08] Production.INFO: 26 MB #Memory Used#
[2025-01-10 05:20:11] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#11 [internal function]: App\Console\Commands\NeonAlerts->fire()
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,8))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#2 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#6 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#7 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#8 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#9 [internal function]: App\Console\Commands\NeonAlerts->fire()
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 {main}
[2025-01-10 05:20:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 05:20:11] Production.INFO: ============== Balance Warning START===========
[2025-01-10 05:20:11] Production.INFO: ============== Balance Warning END===========
[2025-01-10 05:20:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 05:20:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 05:20:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 05:20:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 05:20:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 05:20:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 05:20:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 05:20:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 05:20:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 05:20:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 05:20:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 05:20:11] Production.INFO: call_cost start
[2025-01-10 05:20:11] Production.INFO: call_cost end
[2025-01-10 05:20:11] Production.ERROR: CronJobId end10
[2025-01-10 05:20:11] Production.INFO: ==13868== Releasing lock...
[2025-01-10 05:20:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 05:20:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 05:20:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 05:20:12] Production.INFO: ============== Report Schedule START===========
[2025-01-10 05:20:12] Production.INFO: ============== Report Schedule END===========
[2025-01-10 05:20:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 05:20:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 05:20:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 05:20:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 05:20:12] Production.INFO: ============== Deal alert START===========
[2025-01-10 05:20:12] Production.INFO: ============== Deal alert END===========
[2025-01-10 05:20:12] Production.INFO: ==13864== Releasing lock...
[2025-01-10 05:20:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 05:20:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 05:20:18] Production.INFO: count ==75
[2025-01-10 05:20:18] Production.ERROR: pbx CDR StartTime 2025-01-10 02:20:05 - End Time 2025-01-10 05:20:05
[2025-01-10 05:20:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 05:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214736', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214736', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214736', 'tblTempVendorCDR_20' ) start
[2025-01-10 05:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214736', 'tblTempVendorCDR_20' ) end
[2025-01-10 05:20:18] Production.INFO: ProcessCDR(1,14214736,1,1,2)
[2025-01-10 05:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214736,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:20:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214736,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:20:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214736,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214736,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214736', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214736', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:20:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:20:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:20:22] Production.INFO: ==13872== Releasing lock...
[2025-01-10 05:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 05:20:22] Production.INFO: 28 MB #Memory Used#
[2025-01-10 10:21:01] Production.INFO: ==13933== Lock acquired, processing the job...
[2025-01-10 10:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 10:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 10:21:01] Production.INFO: neon service started
[2025-01-10 10:21:02] Production.INFO: neon service started
[2025-01-10 10:21:02] Production.INFO: ==13933== Releasing lock...
[2025-01-10 10:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 10:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 10:21:02] Production.INFO: ==13937== Lock acquired, processing the job...
[2025-01-10 10:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 10:21:02] Production.INFO: ==13937== Releasing lock...
[2025-01-10 10:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 10:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 05:21:02] Production.INFO: ==13935== Lock acquired, processing the job...
[2025-01-10 05:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:21:02] Production.INFO: ==13935== Releasing lock...
[2025-01-10 05:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 05:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 05:21:03] Production.INFO: ==13940== Lock acquired, processing the job...
[2025-01-10 05:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 05:21:03] Production.INFO: ==13942== Lock acquired, processing the job...
[2025-01-10 05:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 05:21:03] Production.INFO: ==13946== Lock acquired, processing the job...
[2025-01-10 05:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 05:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 05:21:03] Production.INFO: ==13944== Lock acquired, processing the job...
[2025-01-10 05:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 05:21:03] Production.INFO: Account Balance Start.
[2025-01-10 05:21:03] Production.INFO: CreateAllLog Start
[2025-01-10 05:21:03] Production.INFO: 117
[2025-01-10 05:21:03] Production.INFO: Date 2025-01-08
[2025-01-10 05:21:03] Production.INFO: ==13948== Lock acquired, processing the job...
[2025-01-10 05:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 05:21:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:21:03] Production.INFO: Date 2025-01-09
[2025-01-10 05:21:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 05:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 05:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 05:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 05:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:21:03] Production.INFO: Date 2025-01-10
[2025-01-10 05:21:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:21:03] Production.INFO: ==13950== Lock acquired, processing the job...
[2025-01-10 05:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 05:21:03] Production.INFO: Total Charge 0
[2025-01-10 05:21:03] Production.INFO: CreateAllLog End
[2025-01-10 05:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:21:04] Production.INFO: count ==21
[2025-01-10 05:21:04] Production.INFO: ==13942== Releasing lock...
[2025-01-10 05:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 05:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 05:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:21:04] Production.ERROR: done
[2025-01-10 05:21:04] Production.INFO: count ==21
[2025-01-10 05:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 05:21:04] Production.INFO: Account Balance End.
[2025-01-10 05:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214740') start
[2025-01-10 05:21:04] Production.ERROR: CronJobId end 12
[2025-01-10 05:21:04] Production.INFO: ==13946== Releasing lock...
[2025-01-10 05:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 05:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 05:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214740') end
[2025-01-10 05:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 05:21:04] Production.INFO: 1
[2025-01-10 05:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 05:21:04] Production.ERROR: done
[2025-01-10 05:21:04] Production.INFO: ==13950== Releasing lock...
[2025-01-10 05:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 05:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 05:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 02:21:05
[end_date_ymd] => 2025-01-10 05:21:05
[RateCDR] => 1
)
[2025-01-10 05:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 02:21:05' and `end` < '2025-01-10 05:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 05:21:11] Production.ERROR: CronJobId end10
[2025-01-10 05:21:11] Production.INFO: ==13944== Releasing lock...
[2025-01-10 05:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 05:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 05:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 05:21:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 05:21:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 05:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 05:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 05:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 05:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 05:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 05:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 05:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 05:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 05:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 05:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 05:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 05:21:14] Production.INFO: call_cost start
[2025-01-10 05:21:14] Production.INFO: call_cost end
[2025-01-10 05:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 05:21:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 05:21:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 05:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 05:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 05:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 05:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 05:21:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 05:21:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 05:21:14] Production.INFO: ==13940== Releasing lock...
[2025-01-10 05:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 05:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 05:21:18] Production.INFO: count ==71
[2025-01-10 05:21:18] Production.ERROR: pbx CDR StartTime 2025-01-10 02:21:05 - End Time 2025-01-10 05:21:05
[2025-01-10 05:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 05:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214741', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214741', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214741', 'tblTempVendorCDR_20' ) start
[2025-01-10 05:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214741', 'tblTempVendorCDR_20' ) end
[2025-01-10 05:21:18] Production.INFO: ProcessCDR(1,14214741,1,1,2)
[2025-01-10 05:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214741,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214741,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214741,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214741,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214741', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214741', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:21:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:21:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:21:21] Production.INFO: ==13948== Releasing lock...
[2025-01-10 05:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 05:21:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 10:22:01] Production.INFO: ==14007== Lock acquired, processing the job...
[2025-01-10 10:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 10:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 10:22:01] Production.INFO: neon service started
[2025-01-10 10:22:01] Production.INFO: neon service started
[2025-01-10 10:22:01] Production.INFO: ==14007== Releasing lock...
[2025-01-10 10:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 10:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 05:22:02] Production.INFO: ==14009== Lock acquired, processing the job...
[2025-01-10 05:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 10:22:02] Production.INFO: ==14011== Lock acquired, processing the job...
[2025-01-10 10:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 10:22:02] Production.INFO: ==14011== Releasing lock...
[2025-01-10 10:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 10:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 05:22:02] Production.INFO: ==14009== Releasing lock...
[2025-01-10 05:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 05:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 05:22:03] Production.INFO: ==14016== Lock acquired, processing the job...
[2025-01-10 05:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 05:22:03] Production.INFO: ==14014== Lock acquired, processing the job...
[2025-01-10 05:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 05:22:03] Production.INFO: ==14024== Lock acquired, processing the job...
[2025-01-10 05:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 05:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 05:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:22:03] Production.INFO: ==14016== Releasing lock...
[2025-01-10 05:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 05:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 05:22:03] Production.INFO: ==14018== Lock acquired, processing the job...
[2025-01-10 05:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 05:22:03] Production.INFO: count ==21
[2025-01-10 05:22:03] Production.INFO: ==14020== Lock acquired, processing the job...
[2025-01-10 05:22:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:22:03] Production.INFO: ==14022== Lock acquired, processing the job...
[2025-01-10 05:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 05:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 05:22:03] Production.INFO: count ==21
[2025-01-10 05:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214744') start
[2025-01-10 05:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 05:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 05:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 05:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 05:22:03] Production.INFO: Account Balance Start.
[2025-01-10 05:22:03] Production.INFO: CreateAllLog Start
[2025-01-10 05:22:03] Production.INFO: 117
[2025-01-10 05:22:03] Production.INFO: Date 2025-01-08
[2025-01-10 05:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214744') end
[2025-01-10 05:22:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 05:22:03] Production.INFO: 1
[2025-01-10 05:22:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 05:22:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:22:03] Production.INFO: Date 2025-01-09
[2025-01-10 05:22:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:22:03] Production.INFO: ==14024== Releasing lock...
[2025-01-10 05:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 05:22:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 05:22:03] Production.INFO: Date 2025-01-10
[2025-01-10 05:22:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:22:03] Production.INFO: Total Charge 0
[2025-01-10 05:22:04] Production.INFO: CreateAllLog End
[2025-01-10 05:22:04] Production.ERROR: done
[2025-01-10 05:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 05:22:04] Production.INFO: Account Balance End.
[2025-01-10 05:22:04] Production.ERROR: done
[2025-01-10 05:22:04] Production.ERROR: CronJobId end 12
[2025-01-10 05:22:04] Production.INFO: ==14020== Releasing lock...
[2025-01-10 05:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 05:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 05:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 02:22:05
[end_date_ymd] => 2025-01-10 05:22:05
[RateCDR] => 1
)
[2025-01-10 05:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 02:22:05' and `end` < '2025-01-10 05:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 05:22:11] Production.ERROR: CronJobId end10
[2025-01-10 05:22:11] Production.INFO: ==14018== Releasing lock...
[2025-01-10 05:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 05:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 05:22:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 05:22:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 05:22:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 05:22:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 05:22:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 05:22:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 05:22:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 05:22:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 05:22:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 05:22:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 05:22:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 05:22:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 05:22:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 05:22:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 05:22:12] Production.INFO: call_cost start
[2025-01-10 05:22:12] Production.INFO: call_cost end
[2025-01-10 05:22:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 05:22:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 05:22:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 05:22:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 05:22:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 05:22:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 05:22:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 05:22:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 05:22:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 05:22:13] Production.INFO: ==14014== Releasing lock...
[2025-01-10 05:22:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 05:22:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 05:22:19] Production.INFO: count ==71
[2025-01-10 05:22:19] Production.ERROR: pbx CDR StartTime 2025-01-10 02:22:05 - End Time 2025-01-10 05:22:05
[2025-01-10 05:22:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 05:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214746', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214746', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214746', 'tblTempVendorCDR_20' ) start
[2025-01-10 05:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214746', 'tblTempVendorCDR_20' ) end
[2025-01-10 05:22:19] Production.INFO: ProcessCDR(1,14214746,1,1,2)
[2025-01-10 05:22:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214746,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:22:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214746,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214746,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214746,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214746', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214746', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:22:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:22:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:22:22] Production.INFO: ==14022== Releasing lock...
[2025-01-10 05:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 05:22:22] Production.INFO: 28 MB #Memory Used#
[2025-01-10 10:23:01] Production.INFO: ==14077== Lock acquired, processing the job...
[2025-01-10 10:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 10:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 10:23:01] Production.INFO: neon service started
[2025-01-10 10:23:01] Production.INFO: neon service started
[2025-01-10 10:23:01] Production.INFO: ==14077== Releasing lock...
[2025-01-10 10:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 10:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 05:23:02] Production.INFO: ==14079== Lock acquired, processing the job...
[2025-01-10 05:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 10:23:02] Production.INFO: ==14081== Lock acquired, processing the job...
[2025-01-10 10:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 05:23:02] Production.INFO: ==14079== Releasing lock...
[2025-01-10 05:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 05:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:23:02] Production.INFO: ==14081== Releasing lock...
[2025-01-10 10:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 10:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 05:23:03] Production.INFO: ==14084== Lock acquired, processing the job...
[2025-01-10 05:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 05:23:03] Production.INFO: ==14092== Lock acquired, processing the job...
[2025-01-10 05:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 05:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 05:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:23:03] Production.INFO: ==14086== Lock acquired, processing the job...
[2025-01-10 05:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 05:23:03] Production.INFO: ==14088== Lock acquired, processing the job...
[2025-01-10 05:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 05:23:03] Production.INFO: ==14090== Lock acquired, processing the job...
[2025-01-10 05:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 05:23:03] Production.INFO: ==14094== Lock acquired, processing the job...
[2025-01-10 05:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 05:23:03] Production.ERROR: done
[2025-01-10 05:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 05:23:03] Production.INFO: Account Balance Start.
[2025-01-10 05:23:03] Production.INFO: CreateAllLog Start
[2025-01-10 05:23:03] Production.INFO: 117
[2025-01-10 05:23:03] Production.INFO: Date 2025-01-08
[2025-01-10 05:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 05:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 05:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 05:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 05:23:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:23:03] Production.INFO: Date 2025-01-09
[2025-01-10 05:23:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:23:03] Production.INFO: Date 2025-01-10
[2025-01-10 05:23:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:23:03] Production.INFO: ==14086== Releasing lock...
[2025-01-10 05:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 05:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 05:23:03] Production.INFO: count ==21
[2025-01-10 05:23:03] Production.ERROR: done
[2025-01-10 05:23:03] Production.INFO: Total Charge 0
[2025-01-10 05:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:23:03] Production.INFO: count ==21
[2025-01-10 05:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214750') start
[2025-01-10 05:23:03] Production.INFO: CreateAllLog End
[2025-01-10 05:23:04] Production.INFO: Account Balance End.
[2025-01-10 05:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214750') end
[2025-01-10 05:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 05:23:04] Production.INFO: 1
[2025-01-10 05:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 05:23:04] Production.ERROR: CronJobId end 12
[2025-01-10 05:23:04] Production.INFO: ==14090== Releasing lock...
[2025-01-10 05:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 05:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 05:23:04] Production.INFO: ==14094== Releasing lock...
[2025-01-10 05:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 05:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 05:23:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 02:23:04
[end_date_ymd] => 2025-01-10 05:23:04
[RateCDR] => 1
)
[2025-01-10 05:23:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 02:23:04' and `end` < '2025-01-10 05:23:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 05:23:10] Production.ERROR: CronJobId end10
[2025-01-10 05:23:10] Production.INFO: ==14088== Releasing lock...
[2025-01-10 05:23:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 05:23:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 05:23:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 05:23:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 05:23:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 05:23:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 05:23:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 05:23:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 05:23:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 05:23:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 05:23:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 05:23:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 05:23:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 05:23:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 05:23:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 05:23:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 05:23:12] Production.INFO: call_cost start
[2025-01-10 05:23:12] Production.INFO: call_cost end
[2025-01-10 05:23:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 05:23:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 05:23:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 05:23:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 05:23:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 05:23:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 05:23:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 05:23:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 05:23:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 05:23:13] Production.INFO: ==14084== Releasing lock...
[2025-01-10 05:23:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 05:23:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 05:23:18] Production.INFO: count ==71
[2025-01-10 05:23:18] Production.ERROR: pbx CDR StartTime 2025-01-10 02:23:04 - End Time 2025-01-10 05:23:04
[2025-01-10 05:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 05:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214751', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214751', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214751', 'tblTempVendorCDR_20' ) start
[2025-01-10 05:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214751', 'tblTempVendorCDR_20' ) end
[2025-01-10 05:23:18] Production.INFO: ProcessCDR(1,14214751,1,1,2)
[2025-01-10 05:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214751,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214751,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214751,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:23:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214751,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214751', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214751', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:23:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:23:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:23:22] Production.INFO: ==14092== Releasing lock...
[2025-01-10 05:23:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 05:23:22] Production.INFO: 28 MB #Memory Used#
[2025-01-10 10:24:02] Production.INFO: ==14149== Lock acquired, processing the job...
[2025-01-10 10:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 10:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 10:24:02] Production.INFO: neon service started
[2025-01-10 10:24:02] Production.INFO: neon service started
[2025-01-10 10:24:02] Production.INFO: ==14149== Releasing lock...
[2025-01-10 10:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 10:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 05:24:02] Production.INFO: ==14151== Lock acquired, processing the job...
[2025-01-10 05:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:24:02] Production.INFO: ==14151== Releasing lock...
[2025-01-10 05:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 05:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:24:02] Production.INFO: ==14153== Lock acquired, processing the job...
[2025-01-10 10:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 10:24:03] Production.INFO: ==14153== Releasing lock...
[2025-01-10 10:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 10:24:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 05:24:03] Production.INFO: ==14157== Lock acquired, processing the job...
[2025-01-10 05:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 05:24:03] Production.INFO: ==14159== Lock acquired, processing the job...
[2025-01-10 05:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 05:24:03] Production.INFO: ==14161== Lock acquired, processing the job...
[2025-01-10 05:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 05:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 05:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 05:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 05:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 05:24:03] Production.INFO: ==14155== Lock acquired, processing the job...
[2025-01-10 05:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 05:24:03] Production.INFO: Account Balance Start.
[2025-01-10 05:24:03] Production.INFO: CreateAllLog Start
[2025-01-10 05:24:03] Production.INFO: 117
[2025-01-10 05:24:04] Production.INFO: Date 2025-01-08
[2025-01-10 05:24:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:24:04] Production.INFO: ==14157== Releasing lock...
[2025-01-10 05:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 05:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 05:24:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 05:24:04] Production.INFO: ==14163== Lock acquired, processing the job...
[2025-01-10 05:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 05:24:04] Production.INFO: Date 2025-01-09
[2025-01-10 05:24:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:24:04] Production.INFO: ==14165== Lock acquired, processing the job...
[2025-01-10 05:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 05:24:04] Production.INFO: Date 2025-01-10
[2025-01-10 05:24:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:24:04] Production.ERROR: done
[2025-01-10 05:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 05:24:04] Production.INFO: count ==21
[2025-01-10 05:24:04] Production.INFO: Total Charge 0
[2025-01-10 05:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:24:04] Production.INFO: count ==21
[2025-01-10 05:24:04] Production.INFO: CreateAllLog End
[2025-01-10 05:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214755') start
[2025-01-10 05:24:04] Production.ERROR: done
[2025-01-10 05:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214755') end
[2025-01-10 05:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 05:24:04] Production.INFO: 1
[2025-01-10 05:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 05:24:04] Production.INFO: Account Balance End.
[2025-01-10 05:24:04] Production.INFO: ==14165== Releasing lock...
[2025-01-10 05:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 05:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 05:24:04] Production.ERROR: CronJobId end 12
[2025-01-10 05:24:04] Production.INFO: ==14161== Releasing lock...
[2025-01-10 05:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 05:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 05:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 02:24:05
[end_date_ymd] => 2025-01-10 05:24:05
[RateCDR] => 1
)
[2025-01-10 05:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 02:24:05' and `end` < '2025-01-10 05:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 05:24:11] Production.ERROR: CronJobId end10
[2025-01-10 05:24:11] Production.INFO: ==14159== Releasing lock...
[2025-01-10 05:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 05:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 05:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 05:24:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 05:24:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 05:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 05:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 05:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 05:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 05:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 05:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 05:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 05:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 05:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 05:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 05:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 05:24:13] Production.INFO: call_cost start
[2025-01-10 05:24:13] Production.INFO: call_cost end
[2025-01-10 05:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 05:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 05:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 05:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 05:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 05:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 05:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 05:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 05:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 05:24:14] Production.INFO: ==14155== Releasing lock...
[2025-01-10 05:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 05:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 05:24:18] Production.INFO: count ==71
[2025-01-10 05:24:18] Production.ERROR: pbx CDR StartTime 2025-01-10 02:24:05 - End Time 2025-01-10 05:24:05
[2025-01-10 05:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 05:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214756', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214756', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214756', 'tblTempVendorCDR_20' ) start
[2025-01-10 05:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214756', 'tblTempVendorCDR_20' ) end
[2025-01-10 05:24:18] Production.INFO: ProcessCDR(1,14214756,1,1,2)
[2025-01-10 05:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214756,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214756,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214756,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214756,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214756', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214756', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:24:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:24:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:24:21] Production.INFO: ==14163== Releasing lock...
[2025-01-10 05:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 05:24:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 10:25:01] Production.INFO: ==14221== Lock acquired, processing the job...
[2025-01-10 10:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 10:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 10:25:01] Production.INFO: neon service started
[2025-01-10 10:25:01] Production.INFO: neon service started
[2025-01-10 10:25:01] Production.INFO: ==14221== Releasing lock...
[2025-01-10 10:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 10:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 10:25:02] Production.INFO: ==14225== Lock acquired, processing the job...
[2025-01-10 10:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 10:25:02] Production.INFO: ==14225== Releasing lock...
[2025-01-10 10:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 10:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 05:25:02] Production.INFO: ==14223== Lock acquired, processing the job...
[2025-01-10 05:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:25:02] Production.INFO: ==14223== Releasing lock...
[2025-01-10 05:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 05:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 05:25:03] Production.INFO: ==14227== Lock acquired, processing the job...
[2025-01-10 05:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 05:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 05:25:03] Production.INFO: ==14231== Lock acquired, processing the job...
[2025-01-10 05:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 05:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 05:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 05:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 05:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 05:25:03] Production.INFO: ==14229== Lock acquired, processing the job...
[2025-01-10 05:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 05:25:03] Production.INFO: ==14237== Lock acquired, processing the job...
[2025-01-10 05:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 05:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:25:03] Production.INFO: count ==21
[2025-01-10 05:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:25:03] Production.INFO: count ==21
[2025-01-10 05:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214758') start
[2025-01-10 05:25:03] Production.INFO: ==14233== Lock acquired, processing the job...
[2025-01-10 05:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 05:25:03] Production.INFO: ==14235== Lock acquired, processing the job...
[2025-01-10 05:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 05:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214758') end
[2025-01-10 05:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 05:25:03] Production.INFO: 1
[2025-01-10 05:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 05:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:25:03] Production.INFO: ==14237== Releasing lock...
[2025-01-10 05:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 05:25:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 05:25:03] Production.INFO: ==14229== Releasing lock...
[2025-01-10 05:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 05:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 05:25:03] Production.INFO: Account Balance Start.
[2025-01-10 05:25:03] Production.INFO: CreateAllLog Start
[2025-01-10 05:25:03] Production.INFO: 117
[2025-01-10 05:25:03] Production.INFO: Date 2025-01-08
[2025-01-10 05:25:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:25:04] Production.INFO: Date 2025-01-09
[2025-01-10 05:25:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:25:04] Production.INFO: Date 2025-01-10
[2025-01-10 05:25:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:25:04] Production.ERROR: done
[2025-01-10 05:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 05:25:04] Production.INFO: Total Charge 0
[2025-01-10 05:25:04] Production.INFO: CreateAllLog End
[2025-01-10 05:25:04] Production.ERROR: done
[2025-01-10 05:25:04] Production.INFO: Account Balance End.
[2025-01-10 05:25:04] Production.ERROR: CronJobId end 12
[2025-01-10 05:25:04] Production.INFO: ==14233== Releasing lock...
[2025-01-10 05:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 05:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 05:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 02:25:05
[end_date_ymd] => 2025-01-10 05:25:05
[RateCDR] => 1
)
[2025-01-10 05:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 02:25:05' and `end` < '2025-01-10 05:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 05:25:10] Production.ERROR: CronJobId end10
[2025-01-10 05:25:10] Production.INFO: ==14231== Releasing lock...
[2025-01-10 05:25:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 05:25:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 05:25:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 05:25:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 05:25:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 05:25:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 05:25:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 05:25:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 05:25:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 05:25:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 05:25:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 05:25:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 05:25:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 05:25:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 05:25:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 05:25:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 05:25:13] Production.INFO: call_cost start
[2025-01-10 05:25:13] Production.INFO: call_cost end
[2025-01-10 05:25:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 05:25:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 05:25:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 05:25:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 05:25:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 05:25:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 05:25:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 05:25:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 05:25:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 05:25:13] Production.INFO: ==14227== Releasing lock...
[2025-01-10 05:25:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 05:25:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 05:25:18] Production.INFO: count ==71
[2025-01-10 05:25:18] Production.ERROR: pbx CDR StartTime 2025-01-10 02:25:05 - End Time 2025-01-10 05:25:05
[2025-01-10 05:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 05:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214761', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214761', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214761', 'tblTempVendorCDR_20' ) start
[2025-01-10 05:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214761', 'tblTempVendorCDR_20' ) end
[2025-01-10 05:25:18] Production.INFO: ProcessCDR(1,14214761,1,1,2)
[2025-01-10 05:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214761,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214761,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214761,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214761,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214761', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214761', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:25:21] Production.INFO: ==14235== Releasing lock...
[2025-01-10 05:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 05:25:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 10:26:02] Production.INFO: ==14291== Lock acquired, processing the job...
[2025-01-10 10:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 10:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 10:26:02] Production.INFO: neon service started
[2025-01-10 10:26:02] Production.INFO: neon service started
[2025-01-10 10:26:02] Production.INFO: ==14291== Releasing lock...
[2025-01-10 10:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 10:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 05:26:03] Production.INFO: ==14293== Lock acquired, processing the job...
[2025-01-10 05:26:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 10:26:03] Production.INFO: ==14295== Lock acquired, processing the job...
[2025-01-10 10:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 10:26:03] Production.INFO: ==14295== Releasing lock...
[2025-01-10 10:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 10:26:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 05:26:03] Production.INFO: ==14293== Releasing lock...
[2025-01-10 05:26:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 05:26:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 05:26:04] Production.INFO: ==14298== Lock acquired, processing the job...
[2025-01-10 05:26:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 05:26:04] Production.INFO: ==14300== Lock acquired, processing the job...
[2025-01-10 05:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 05:26:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 05:26:04] Production.INFO: ==14306== Lock acquired, processing the job...
[2025-01-10 05:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 05:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:26:04] Production.INFO: ==14304== Lock acquired, processing the job...
[2025-01-10 05:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 05:26:04] Production.INFO: ==14302== Lock acquired, processing the job...
[2025-01-10 05:26:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 05:26:04] Production.INFO: ==14308== Lock acquired, processing the job...
[2025-01-10 05:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 05:26:04] Production.INFO: ==14300== Releasing lock...
[2025-01-10 05:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 05:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 05:26:04] Production.INFO: Account Balance Start.
[2025-01-10 05:26:04] Production.INFO: CreateAllLog Start
[2025-01-10 05:26:04] Production.INFO: 117
[2025-01-10 05:26:04] Production.INFO: Date 2025-01-08
[2025-01-10 05:26:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 05:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 05:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 05:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 05:26:04] Production.INFO: Date 2025-01-09
[2025-01-10 05:26:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:26:04] Production.ERROR: done
[2025-01-10 05:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 05:26:04] Production.INFO: Date 2025-01-10
[2025-01-10 05:26:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:26:04] Production.INFO: count ==21
[2025-01-10 05:26:04] Production.INFO: Total Charge 0
[2025-01-10 05:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:26:04] Production.INFO: count ==21
[2025-01-10 05:26:04] Production.INFO: CreateAllLog End
[2025-01-10 05:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214765') start
[2025-01-10 05:26:04] Production.ERROR: done
[2025-01-10 05:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214765') end
[2025-01-10 05:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 05:26:04] Production.INFO: 1
[2025-01-10 05:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 05:26:04] Production.INFO: ==14308== Releasing lock...
[2025-01-10 05:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 05:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 05:26:05] Production.INFO: Account Balance End.
[2025-01-10 05:26:05] Production.ERROR: CronJobId end 12
[2025-01-10 05:26:05] Production.INFO: ==14304== Releasing lock...
[2025-01-10 05:26:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 05:26:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 05:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 02:26:05
[end_date_ymd] => 2025-01-10 05:26:05
[RateCDR] => 1
)
[2025-01-10 05:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 02:26:05' and `end` < '2025-01-10 05:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 05:26:12] Production.ERROR: CronJobId end10
[2025-01-10 05:26:12] Production.INFO: ==14302== Releasing lock...
[2025-01-10 05:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 05:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 05:26:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 05:26:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 05:26:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 05:26:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 05:26:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 05:26:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 05:26:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 05:26:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 05:26:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 05:26:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 05:26:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 05:26:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 05:26:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 05:26:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 05:26:14] Production.INFO: call_cost start
[2025-01-10 05:26:14] Production.INFO: call_cost end
[2025-01-10 05:26:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 05:26:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 05:26:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 05:26:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 05:26:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 05:26:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 05:26:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 05:26:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 05:26:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 05:26:15] Production.INFO: ==14298== Releasing lock...
[2025-01-10 05:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 05:26:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 05:26:19] Production.INFO: count ==71
[2025-01-10 05:26:19] Production.ERROR: pbx CDR StartTime 2025-01-10 02:26:05 - End Time 2025-01-10 05:26:05
[2025-01-10 05:26:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 05:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214766', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214766', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214766', 'tblTempVendorCDR_20' ) start
[2025-01-10 05:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214766', 'tblTempVendorCDR_20' ) end
[2025-01-10 05:26:19] Production.INFO: ProcessCDR(1,14214766,1,1,2)
[2025-01-10 05:26:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214766,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:26:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214766,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:26:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214766,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:26:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214766,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214766', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214766', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:26:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:26:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:26:22] Production.INFO: ==14306== Releasing lock...
[2025-01-10 05:26:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 05:26:22] Production.INFO: 28 MB #Memory Used#
[2025-01-10 10:27:02] Production.INFO: ==14363== Lock acquired, processing the job...
[2025-01-10 10:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 10:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 10:27:02] Production.INFO: neon service started
[2025-01-10 10:27:02] Production.INFO: neon service started
[2025-01-10 10:27:02] Production.INFO: ==14363== Releasing lock...
[2025-01-10 10:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 10:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 10:27:02] Production.INFO: ==14367== Lock acquired, processing the job...
[2025-01-10 10:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 10:27:02] Production.INFO: ==14367== Releasing lock...
[2025-01-10 10:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 10:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 05:27:02] Production.INFO: ==14365== Lock acquired, processing the job...
[2025-01-10 05:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:27:02] Production.INFO: ==14365== Releasing lock...
[2025-01-10 05:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 05:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 05:27:03] Production.INFO: ==14374== Lock acquired, processing the job...
[2025-01-10 05:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 05:27:03] Production.INFO: ==14370== Lock acquired, processing the job...
[2025-01-10 05:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 05:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 05:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 05:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 05:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 05:27:03] Production.INFO: ==14378== Lock acquired, processing the job...
[2025-01-10 05:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 05:27:03] Production.INFO: ==14372== Lock acquired, processing the job...
[2025-01-10 05:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 05:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 05:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:27:03] Production.INFO: ==14376== Lock acquired, processing the job...
[2025-01-10 05:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 05:27:03] Production.INFO: ==14380== Lock acquired, processing the job...
[2025-01-10 05:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 05:27:04] Production.INFO: Account Balance Start.
[2025-01-10 05:27:04] Production.INFO: CreateAllLog Start
[2025-01-10 05:27:04] Production.INFO: 117
[2025-01-10 05:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:27:04] Production.INFO: count ==21
[2025-01-10 05:27:04] Production.INFO: Date 2025-01-08
[2025-01-10 05:27:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:27:04] Production.ERROR: done
[2025-01-10 05:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 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-01-10 05:27:04] Production.INFO: count ==21
[2025-01-10 05:27:04] Production.INFO: ==14372== Releasing lock...
[2025-01-10 05:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 05:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 05:27:04] Production.INFO: Date 2025-01-09
[2025-01-10 05:27:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214770') start
[2025-01-10 05:27:04] Production.INFO: Date 2025-01-10
[2025-01-10 05:27:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:27:04] Production.ERROR: done
[2025-01-10 05:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214770') end
[2025-01-10 05:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 05:27:04] Production.INFO: 1
[2025-01-10 05:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 05:27:04] Production.INFO: Total Charge 0
[2025-01-10 05:27:04] Production.INFO: ==14380== Releasing lock...
[2025-01-10 05:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 05:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 05:27:04] Production.INFO: CreateAllLog End
[2025-01-10 05:27:04] Production.INFO: Account Balance End.
[2025-01-10 05:27:04] Production.ERROR: CronJobId end 12
[2025-01-10 05:27:04] Production.INFO: ==14376== Releasing lock...
[2025-01-10 05:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 05:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 05:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 02:27:05
[end_date_ymd] => 2025-01-10 05:27:05
[RateCDR] => 1
)
[2025-01-10 05:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 02:27:05' and `end` < '2025-01-10 05:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 05:27:11] Production.ERROR: CronJobId end10
[2025-01-10 05:27:11] Production.INFO: ==14374== Releasing lock...
[2025-01-10 05:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 05:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 05:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 05:27:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 05:27:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 05:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 05:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 05:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 05:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 05:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 05:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 05:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 05:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 05:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 05:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 05:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 05:27:13] Production.INFO: call_cost start
[2025-01-10 05:27:13] Production.INFO: call_cost end
[2025-01-10 05:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 05:27:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 05:27:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 05:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 05:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 05:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 05:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 05:27:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 05:27:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 05:27:14] Production.INFO: ==14370== Releasing lock...
[2025-01-10 05:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 05:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 05:27:18] Production.INFO: count ==71
[2025-01-10 05:27:18] Production.ERROR: pbx CDR StartTime 2025-01-10 02:27:05 - End Time 2025-01-10 05:27:05
[2025-01-10 05:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 05:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214771', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214771', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214771', 'tblTempVendorCDR_20' ) start
[2025-01-10 05:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214771', 'tblTempVendorCDR_20' ) end
[2025-01-10 05:27:18] Production.INFO: ProcessCDR(1,14214771,1,1,2)
[2025-01-10 05:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214771,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214771,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214771,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214771,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214771', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214771', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:27:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:27:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:27:21] Production.INFO: ==14378== Releasing lock...
[2025-01-10 05:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 05:27:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 10:28:01] Production.INFO: ==14433== Lock acquired, processing the job...
[2025-01-10 10:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 10:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 10:28:01] Production.INFO: neon service started
[2025-01-10 10:28:01] Production.INFO: neon service started
[2025-01-10 10:28:01] Production.INFO: ==14433== Releasing lock...
[2025-01-10 10:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 10:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 05:28:01] Production.INFO: ==14435== Lock acquired, processing the job...
[2025-01-10 05:28:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:28:02] Production.INFO: ==14435== Releasing lock...
[2025-01-10 05:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 05:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:28:02] Production.INFO: ==14437== Lock acquired, processing the job...
[2025-01-10 10:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 10:28:02] Production.INFO: ==14437== Releasing lock...
[2025-01-10 10:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 10:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 05:28:03] Production.INFO: ==14447== Lock acquired, processing the job...
[2025-01-10 05:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 05:28:03] Production.INFO: ==14449== Lock acquired, processing the job...
[2025-01-10 05:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 05:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:28:03] Production.INFO: count ==21
[2025-01-10 05:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:28:03] Production.INFO: count ==21
[2025-01-10 05:28:03] Production.INFO: ==14445== Lock acquired, processing the job...
[2025-01-10 05:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 05:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214772') start
[2025-01-10 05:28:03] Production.INFO: ==14439== Lock acquired, processing the job...
[2025-01-10 05:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 05:28:03] Production.INFO: ==14443== Lock acquired, processing the job...
[2025-01-10 05:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 05:28:03] Production.INFO: ==14441== Lock acquired, processing the job...
[2025-01-10 05:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 05:28:03] Production.INFO: Account Balance Start.
[2025-01-10 05:28:03] Production.INFO: CreateAllLog Start
[2025-01-10 05:28:03] Production.INFO: 117
[2025-01-10 05:28:03] Production.INFO: Date 2025-01-08
[2025-01-10 05:28:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214772') end
[2025-01-10 05:28:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 05:28:03] Production.INFO: 1
[2025-01-10 05:28:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 05:28:03] Production.INFO: Date 2025-01-09
[2025-01-10 05:28:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:28:03] Production.INFO: ==14449== Releasing lock...
[2025-01-10 05:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 05:28:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 05:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 05:28:03] Production.INFO: Date 2025-01-10
[2025-01-10 05:28:03] Production.ERROR: done
[2025-01-10 05:28:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:28:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 05:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 05:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 05:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 05:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 05:28:03] Production.INFO: Total Charge 0
[2025-01-10 05:28:03] Production.INFO: CreateAllLog End
[2025-01-10 05:28:03] Production.ERROR: done
[2025-01-10 05:28:03] Production.INFO: Account Balance End.
[2025-01-10 05:28:03] Production.ERROR: CronJobId end 12
[2025-01-10 05:28:03] Production.INFO: ==14445== Releasing lock...
[2025-01-10 05:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 05:28:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 05:28:03] Production.INFO: ==14441== Releasing lock...
[2025-01-10 05:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 05:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 05:28:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 02:28:04
[end_date_ymd] => 2025-01-10 05:28:04
[RateCDR] => 1
)
[2025-01-10 05:28:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 02:28:04' and `end` < '2025-01-10 05:28:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 05:28:10] Production.ERROR: CronJobId end10
[2025-01-10 05:28:10] Production.INFO: ==14443== Releasing lock...
[2025-01-10 05:28:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 05:28:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 05:28:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 05:28:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 05:28:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 05:28:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 05:28:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 05:28:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 05:28:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 05:28:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 05:28:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 05:28:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 05:28:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 05:28:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 05:28:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 05:28:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 05:28:12] Production.INFO: call_cost start
[2025-01-10 05:28:12] Production.INFO: call_cost end
[2025-01-10 05:28:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 05:28:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 05:28:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 05:28:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 05:28:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 05:28:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 05:28:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 05:28:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 05:28:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 05:28:13] Production.INFO: ==14439== Releasing lock...
[2025-01-10 05:28:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 05:28:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 05:28:17] Production.INFO: count ==71
[2025-01-10 05:28:17] Production.ERROR: pbx CDR StartTime 2025-01-10 02:28:04 - End Time 2025-01-10 05:28:04
[2025-01-10 05:28:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 05:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214776', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214776', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214776', 'tblTempVendorCDR_20' ) start
[2025-01-10 05:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214776', 'tblTempVendorCDR_20' ) end
[2025-01-10 05:28:17] Production.INFO: ProcessCDR(1,14214776,1,1,2)
[2025-01-10 05:28:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214776,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:28:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214776,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:28:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214776,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:28:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214776,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:28:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214776', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:28:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214776', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:28:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:28:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:28:20] Production.INFO: ==14447== Releasing lock...
[2025-01-10 05:28:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 05:28:20] Production.INFO: 28 MB #Memory Used#
[2025-01-10 10:29:01] Production.INFO: ==14542== Lock acquired, processing the job...
[2025-01-10 10:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 10:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 10:29:02] Production.INFO: neon service started
[2025-01-10 10:29:02] Production.INFO: neon service started
[2025-01-10 10:29:02] Production.INFO: ==14542== Releasing lock...
[2025-01-10 10:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 10:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 05:29:02] Production.INFO: ==14544== Lock acquired, processing the job...
[2025-01-10 05:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:29:02] Production.INFO: ==14544== Releasing lock...
[2025-01-10 05:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 05:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:29:02] Production.INFO: ==14547== Lock acquired, processing the job...
[2025-01-10 10:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 10:29:02] Production.INFO: ==14547== Releasing lock...
[2025-01-10 10:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 10:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 05:29:03] Production.INFO: ==14555== Lock acquired, processing the job...
[2025-01-10 05:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 05:29:03] Production.INFO: ==14559== Lock acquired, processing the job...
[2025-01-10 05:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 05:29:03] Production.INFO: Account Balance Start.
[2025-01-10 05:29:03] Production.INFO: CreateAllLog Start
[2025-01-10 05:29:03] Production.INFO: 117
[2025-01-10 05:29:03] Production.INFO: Date 2025-01-08
[2025-01-10 05:29:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:29:03] Production.INFO: Date 2025-01-09
[2025-01-10 05:29:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:29:03] Production.INFO: ==14549== Lock acquired, processing the job...
[2025-01-10 05:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 05:29:03] Production.INFO: Date 2025-01-10
[2025-01-10 05:29:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:29:03] Production.INFO: Total Charge 0
[2025-01-10 05:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:29:03] Production.INFO: ==14551== Lock acquired, processing the job...
[2025-01-10 05:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 05:29:03] Production.INFO: count ==21
[2025-01-10 05:29:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:29:03] Production.INFO: ==14553== Lock acquired, processing the job...
[2025-01-10 05:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 05:29:03] Production.INFO: count ==21
[2025-01-10 05:29:03] Production.INFO: CreateAllLog End
[2025-01-10 05:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214778') start
[2025-01-10 05:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 05:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214778') end
[2025-01-10 05:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 05:29:03] Production.INFO: 1
[2025-01-10 05:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 05:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 05:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 05:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 05:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 05:29:03] Production.INFO: ==14557== Lock acquired, processing the job...
[2025-01-10 05:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 05:29:03] Production.INFO: Account Balance End.
[2025-01-10 05:29:03] Production.ERROR: CronJobId end 12
[2025-01-10 05:29:03] Production.INFO: ==14555== Releasing lock...
[2025-01-10 05:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 05:29:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 05:29:04] Production.INFO: ==14559== Releasing lock...
[2025-01-10 05:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 05:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 05:29:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:29:04] Production.INFO: ==14551== Releasing lock...
[2025-01-10 05:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 05:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 05:29:04] Production.ERROR: done
[2025-01-10 05:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 05:29:04] Production.ERROR: done
[2025-01-10 05:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 02:29:05
[end_date_ymd] => 2025-01-10 05:29:05
[RateCDR] => 1
)
[2025-01-10 05:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 02:29:05' and `end` < '2025-01-10 05:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 05:29:11] Production.ERROR: CronJobId end10
[2025-01-10 05:29:11] Production.INFO: ==14553== Releasing lock...
[2025-01-10 05:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 05:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 05:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 05:29:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 05:29:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 05:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 05:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 05:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 05:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 05:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 05:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 05:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 05:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 05:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 05:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 05:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 05:29:13] Production.INFO: call_cost start
[2025-01-10 05:29:13] Production.INFO: call_cost end
[2025-01-10 05:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 05:29:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 05:29:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 05:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 05:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 05:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 05:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 05:29:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 05:29:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 05:29:14] Production.INFO: ==14549== Releasing lock...
[2025-01-10 05:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 05:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 05:29:19] Production.INFO: count ==71
[2025-01-10 05:29:19] Production.ERROR: pbx CDR StartTime 2025-01-10 02:29:05 - End Time 2025-01-10 05:29:05
[2025-01-10 05:29:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 05:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214781', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214781', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214781', 'tblTempVendorCDR_20' ) start
[2025-01-10 05:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214781', 'tblTempVendorCDR_20' ) end
[2025-01-10 05:29:19] Production.INFO: ProcessCDR(1,14214781,1,1,2)
[2025-01-10 05:29:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214781,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:29:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214781,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:29:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214781,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:29:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214781,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214781', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214781', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:29:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:29:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:29:23] Production.INFO: ==14557== Releasing lock...
[2025-01-10 05:29:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 05:29:23] Production.INFO: 28 MB #Memory Used#
[2025-01-10 10:30:01] Production.INFO: ==14612== Lock acquired, processing the job...
[2025-01-10 10:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 10:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 10:30:01] Production.INFO: neon service started
[2025-01-10 10:30:01] Production.INFO: neon service started
[2025-01-10 10:30:01] Production.INFO: ==14612== Releasing lock...
[2025-01-10 10:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 10:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 05:30:01] Production.INFO: ==14614== Lock acquired, processing the job...
[2025-01-10 05:30:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 10:30:02] Production.INFO: ==14616== Lock acquired, processing the job...
[2025-01-10 10:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 05:30:02] Production.INFO: ==14614== Releasing lock...
[2025-01-10 05:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 05:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:30:02] Production.INFO: ==14616== Releasing lock...
[2025-01-10 10:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 10:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 05:30:03] Production.INFO: ==14619== Lock acquired, processing the job...
[2025-01-10 05:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 05:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 05:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 05:30:03] Production.INFO: ==14619== Releasing lock...
[2025-01-10 05:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 05:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 05:30:03] Production.INFO: ==14621== Lock acquired, processing the job...
[2025-01-10 05:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 05:30:03] Production.INFO: ==14623== Lock acquired, processing the job...
[2025-01-10 05:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 05:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 05:30:03] Production.INFO: ==14627== Lock acquired, processing the job...
[2025-01-10 05:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 05:30:03] Production.INFO: ==14633== Lock acquired, processing the job...
[2025-01-10 05:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 05:30:03] Production.INFO: ==14625== Lock acquired, processing the job...
[2025-01-10 05:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 05:30:03] Production.INFO: Account Balance Start.
[2025-01-10 05:30:03] Production.INFO: CreateAllLog Start
[2025-01-10 05:30:03] Production.INFO: 117
[2025-01-10 05:30:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:30:03] Production.INFO: ==14623== Releasing lock...
[2025-01-10 05:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 05:30:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 05:30:03] Production.INFO: Date 2025-01-08
[2025-01-10 05:30:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:30:03] Production.INFO: ==14629== Lock acquired, processing the job...
[2025-01-10 05:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 05:30:03] Production.INFO: count ==21
[2025-01-10 05:30:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:30:03] Production.INFO: count ==21
[2025-01-10 05:30:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214784') start
[2025-01-10 05:30:03] Production.INFO: Date 2025-01-09
[2025-01-10 05:30:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:30:03] Production.INFO: ==14631== Lock acquired, processing the job...
[2025-01-10 05:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 05:30:03] Production.INFO: Date 2025-01-10
[2025-01-10 05:30:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 05:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 05:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 05:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 05:30:03] Production.INFO: Total Charge 0
[2025-01-10 05:30:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214784') end
[2025-01-10 05:30:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 05:30:03] Production.INFO: 1
[2025-01-10 05:30:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 05:30:03] Production.INFO: CreateAllLog End
[2025-01-10 05:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:30:03] Production.INFO: ==14633== Releasing lock...
[2025-01-10 05:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 05:30:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 05:30:04] Production.INFO: Account Balance End.
[2025-01-10 05:30:04] Production.ERROR: done
[2025-01-10 05:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 05:30:04] Production.ERROR: CronJobId end 12
[2025-01-10 05:30:04] Production.INFO: ==14627== Releasing lock...
[2025-01-10 05:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 05:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 05:30:04] Production.ERROR: done
[2025-01-10 05:30:04] Production.ERROR: done
[2025-01-10 05:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 05:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14214787', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 05:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 02:30:05
[end_date_ymd] => 2025-01-10 05:30:05
[RateCDR] => 1
)
[2025-01-10 05:30:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 02:30:05' and `end` < '2025-01-10 05:30:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 05:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14214787', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 05:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 05:30:08] Production.INFO: ProcessCDR(1,14214787,1,1,2)
[2025-01-10 05:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14214787,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14214787,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:30:08] Production.INFO: ==14631== Releasing lock...
[2025-01-10 05:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 05:30:08] Production.INFO: 26 MB #Memory Used#
[2025-01-10 05:30:13] Production.ERROR: CronJobId end10
[2025-01-10 05:30:13] Production.INFO: ==14625== Releasing lock...
[2025-01-10 05:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 05:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 05:30:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 05:30:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 05:30:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 05:30:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 05:30:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 05:30:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 05:30:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 05:30:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 05:30:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 05:30:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 05:30:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 05:30:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 05:30:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 05:30:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 05:30:14] Production.INFO: call_cost start
[2025-01-10 05:30:14] Production.INFO: call_cost end
[2025-01-10 05:30:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 05:30:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 05:30:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 05:30:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 05:30:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 05:30:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 05:30:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 05:30:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 05:30:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 05:30:15] Production.INFO: ==14621== Releasing lock...
[2025-01-10 05:30:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 05:30:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 05:30:18] Production.INFO: count ==67
[2025-01-10 05:30:18] Production.ERROR: pbx CDR StartTime 2025-01-10 02:30:05 - End Time 2025-01-10 05:30:05
[2025-01-10 05:30:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 05:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214786', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214786', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214786', 'tblTempVendorCDR_20' ) start
[2025-01-10 05:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214786', 'tblTempVendorCDR_20' ) end
[2025-01-10 05:30:18] Production.INFO: ProcessCDR(1,14214786,1,1,2)
[2025-01-10 05:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214786,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:30:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214786,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:30:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214786,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:30:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214786,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214786', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214786', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:30:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:30:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:30:21] Production.INFO: ==14629== Releasing lock...
[2025-01-10 05:30:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 05:30:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 10:31:01] Production.INFO: ==14689== Lock acquired, processing the job...
[2025-01-10 10:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 10:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 10:31:02] Production.INFO: neon service started
[2025-01-10 10:31:02] Production.INFO: neon service started
[2025-01-10 10:31:02] Production.INFO: ==14689== Releasing lock...
[2025-01-10 10:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 10:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 05:31:02] Production.INFO: ==14691== Lock acquired, processing the job...
[2025-01-10 05:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:31:02] Production.INFO: ==14691== Releasing lock...
[2025-01-10 05:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 05:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:31:02] Production.INFO: ==14693== Lock acquired, processing the job...
[2025-01-10 10:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 10:31:02] Production.INFO: ==14693== Releasing lock...
[2025-01-10 10:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 10:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 05:31:03] Production.INFO: ==14696== Lock acquired, processing the job...
[2025-01-10 05:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 05:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 05:31:03] Production.INFO: ==14700== Lock acquired, processing the job...
[2025-01-10 05:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 05:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 05:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 05:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 05:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 05:31:03] Production.INFO: ==14704== Lock acquired, processing the job...
[2025-01-10 05:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 05:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:31:03] Production.INFO: ==14698== Lock acquired, processing the job...
[2025-01-10 05:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 05:31:03] Production.INFO: ==14702== Lock acquired, processing the job...
[2025-01-10 05:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 05:31:03] Production.INFO: ==14706== Lock acquired, processing the job...
[2025-01-10 05:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 05:31:03] Production.INFO: Account Balance Start.
[2025-01-10 05:31:03] Production.INFO: CreateAllLog Start
[2025-01-10 05:31:03] Production.INFO: 117
[2025-01-10 05:31:03] Production.INFO: Date 2025-01-08
[2025-01-10 05:31:03] Production.ERROR: done
[2025-01-10 05:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 05:31:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:31:03] Production.INFO: Date 2025-01-09
[2025-01-10 05:31:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:31:04] Production.INFO: count ==21
[2025-01-10 05:31:04] Production.ERROR: done
[2025-01-10 05:31:04] Production.INFO: Date 2025-01-10
[2025-01-10 05:31:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:31:04] Production.INFO: count ==21
[2025-01-10 05:31:04] Production.INFO: Total Charge 0
[2025-01-10 05:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214791') start
[2025-01-10 05:31:04] Production.INFO: CreateAllLog End
[2025-01-10 05:31:04] Production.INFO: ==14698== Releasing lock...
[2025-01-10 05:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 05:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 05:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214791') end
[2025-01-10 05:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 05:31:04] Production.INFO: 1
[2025-01-10 05:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 05:31:04] Production.INFO: Account Balance End.
[2025-01-10 05:31:04] Production.INFO: ==14706== Releasing lock...
[2025-01-10 05:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 05:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 05:31:04] Production.ERROR: CronJobId end 12
[2025-01-10 05:31:04] Production.INFO: ==14702== Releasing lock...
[2025-01-10 05:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 05:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 05:31:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 02:31:04
[end_date_ymd] => 2025-01-10 05:31:04
[RateCDR] => 1
)
[2025-01-10 05:31:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 02:31:04' and `end` < '2025-01-10 05:31:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 05:31:11] Production.ERROR: CronJobId end10
[2025-01-10 05:31:11] Production.INFO: ==14700== Releasing lock...
[2025-01-10 05:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 05:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 05:31:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 05:31:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 05:31:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 05:31:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 05:31:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 05:31:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 05:31:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 05:31:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 05:31:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 05:31:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 05:31:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 05:31:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 05:31:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 05:31:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 05:31:12] Production.INFO: call_cost start
[2025-01-10 05:31:12] Production.INFO: call_cost end
[2025-01-10 05:31:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 05:31:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 05:31:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 05:31:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 05:31:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 05:31:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 05:31:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 05:31:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 05:31:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 05:31:13] Production.INFO: ==14696== Releasing lock...
[2025-01-10 05:31:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 05:31:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 05:31:18] Production.INFO: count ==57
[2025-01-10 05:31:18] Production.ERROR: pbx CDR StartTime 2025-01-10 02:31:04 - End Time 2025-01-10 05:31:04
[2025-01-10 05:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 05:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214792', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214792', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214792', 'tblTempVendorCDR_20' ) start
[2025-01-10 05:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214792', 'tblTempVendorCDR_20' ) end
[2025-01-10 05:31:18] Production.INFO: ProcessCDR(1,14214792,1,1,2)
[2025-01-10 05:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214792,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214792,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214792,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214792,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214792', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214792', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:31:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:31:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:31:21] Production.INFO: ==14704== Releasing lock...
[2025-01-10 05:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 05:31:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 10:32:01] Production.INFO: ==14758== Lock acquired, processing the job...
[2025-01-10 10:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 10:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 10:32:01] Production.INFO: neon service started
[2025-01-10 10:32:01] Production.INFO: neon service started
[2025-01-10 10:32:01] Production.INFO: ==14758== Releasing lock...
[2025-01-10 10:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 10:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 05:32:01] Production.INFO: ==14760== Lock acquired, processing the job...
[2025-01-10 05:32:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:32:02] Production.INFO: ==14760== Releasing lock...
[2025-01-10 05:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 05:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:32:02] Production.INFO: ==14762== Lock acquired, processing the job...
[2025-01-10 10:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 10:32:02] Production.INFO: ==14762== Releasing lock...
[2025-01-10 10:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 10:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 05:32:03] Production.INFO: ==14765== Lock acquired, processing the job...
[2025-01-10 05:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 05:32:03] Production.INFO: ==14771== Lock acquired, processing the job...
[2025-01-10 05:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 05:32:03] Production.INFO: ==14767== Lock acquired, processing the job...
[2025-01-10 05:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 05:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 05:32:03] Production.INFO: ==14769== Lock acquired, processing the job...
[2025-01-10 05:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 05:32:03] Production.INFO: ==14775== Lock acquired, processing the job...
[2025-01-10 05:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 05:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 05:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 05:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 05:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 05:32:03] Production.INFO: ==14773== Lock acquired, processing the job...
[2025-01-10 05:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 05:32:03] Production.INFO: Account Balance Start.
[2025-01-10 05:32:03] Production.INFO: CreateAllLog Start
[2025-01-10 05:32:03] Production.INFO: 117
[2025-01-10 05:32:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:32:03] Production.INFO: Date 2025-01-08
[2025-01-10 05:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:32:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:32:03] Production.INFO: count ==21
[2025-01-10 05:32:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:32:03] Production.INFO: count ==21
[2025-01-10 05:32:03] Production.INFO: Date 2025-01-09
[2025-01-10 05:32:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214796') start
[2025-01-10 05:32:03] Production.INFO: ==14767== Releasing lock...
[2025-01-10 05:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 05:32:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 05:32:03] Production.INFO: Date 2025-01-10
[2025-01-10 05:32:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:32:03] Production.INFO: Total Charge 0
[2025-01-10 05:32:03] Production.INFO: CreateAllLog End
[2025-01-10 05:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214796') end
[2025-01-10 05:32:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 05:32:03] Production.INFO: 1
[2025-01-10 05:32:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 05:32:03] Production.ERROR: done
[2025-01-10 05:32:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 05:32:03] Production.INFO: ==14775== Releasing lock...
[2025-01-10 05:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 05:32:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 05:32:03] Production.INFO: Account Balance End.
[2025-01-10 05:32:03] Production.ERROR: CronJobId end 12
[2025-01-10 05:32:03] Production.INFO: ==14771== Releasing lock...
[2025-01-10 05:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 05:32:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 05:32:03] Production.ERROR: done
[2025-01-10 05:32:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 02:32:04
[end_date_ymd] => 2025-01-10 05:32:04
[RateCDR] => 1
)
[2025-01-10 05:32:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 02:32:04' and `end` < '2025-01-10 05:32:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 05:32:11] Production.ERROR: CronJobId end10
[2025-01-10 05:32:11] Production.INFO: ==14769== Releasing lock...
[2025-01-10 05:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 05:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 05:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 05:32:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 05:32:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 05:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 05:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 05:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 05:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 05:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 05:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 05:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 05:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 05:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 05:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 05:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 05:32:13] Production.INFO: call_cost start
[2025-01-10 05:32:13] Production.INFO: call_cost end
[2025-01-10 05:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 05:32:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 05:32:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 05:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 05:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 05:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 05:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 05:32:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 05:32:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 05:32:14] Production.INFO: ==14765== Releasing lock...
[2025-01-10 05:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 05:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 05:32:17] Production.INFO: count ==57
[2025-01-10 05:32:17] Production.ERROR: pbx CDR StartTime 2025-01-10 02:32:04 - End Time 2025-01-10 05:32:04
[2025-01-10 05:32:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 05:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214797', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214797', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214797', 'tblTempVendorCDR_20' ) start
[2025-01-10 05:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214797', 'tblTempVendorCDR_20' ) end
[2025-01-10 05:32:17] Production.INFO: ProcessCDR(1,14214797,1,1,2)
[2025-01-10 05:32:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214797,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:32:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214797,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:32:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214797,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214797,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214797', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214797', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:32:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:32:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:32:21] Production.INFO: ==14773== Releasing lock...
[2025-01-10 05:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 05:32:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 10:33:01] Production.INFO: ==14828== Lock acquired, processing the job...
[2025-01-10 10:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 10:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 10:33:01] Production.INFO: neon service started
[2025-01-10 10:33:01] Production.INFO: neon service started
[2025-01-10 10:33:01] Production.INFO: ==14828== Releasing lock...
[2025-01-10 10:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 10:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 05:33:02] Production.INFO: ==14830== Lock acquired, processing the job...
[2025-01-10 05:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:33:02] Production.INFO: ==14830== Releasing lock...
[2025-01-10 05:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 05:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:33:02] Production.INFO: ==14832== Lock acquired, processing the job...
[2025-01-10 10:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 10:33:02] Production.INFO: ==14832== Releasing lock...
[2025-01-10 10:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 10:33:02] Production.INFO: 26 MB #Memory Used#
[2025-01-10 05:33:03] Production.INFO: ==14839== Lock acquired, processing the job...
[2025-01-10 05:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 05:33:03] Production.INFO: ==14835== Lock acquired, processing the job...
[2025-01-10 05:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 05:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 05:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 05:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 05:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 05:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 05:33:03] Production.INFO: ==14837== Lock acquired, processing the job...
[2025-01-10 05:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 05:33:03] Production.INFO: ==14841== Lock acquired, processing the job...
[2025-01-10 05:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 05:33:03] Production.INFO: ==14843== Lock acquired, processing the job...
[2025-01-10 05:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 05:33:03] Production.INFO: ==14845== Lock acquired, processing the job...
[2025-01-10 05:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 05:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:33:03] Production.INFO: Account Balance Start.
[2025-01-10 05:33:03] Production.INFO: CreateAllLog Start
[2025-01-10 05:33:03] Production.INFO: 117
[2025-01-10 05:33:04] Production.INFO: Date 2025-01-08
[2025-01-10 05:33:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:33:04] Production.INFO: ==14837== Releasing lock...
[2025-01-10 05:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 05:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 05:33:04] Production.INFO: count ==21
[2025-01-10 05:33:04] Production.INFO: Date 2025-01-09
[2025-01-10 05:33:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:33:04] Production.INFO: count ==21
[2025-01-10 05:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214801') start
[2025-01-10 05:33:04] Production.ERROR: done
[2025-01-10 05:33:04] Production.INFO: Date 2025-01-10
[2025-01-10 05:33:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 05:33:04] Production.INFO: Total Charge 0
[2025-01-10 05:33:04] Production.INFO: CreateAllLog End
[2025-01-10 05:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214801') end
[2025-01-10 05:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 05:33:04] Production.INFO: 1
[2025-01-10 05:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 05:33:04] Production.ERROR: done
[2025-01-10 05:33:04] Production.INFO: ==14845== Releasing lock...
[2025-01-10 05:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 05:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 05:33:04] Production.INFO: Account Balance End.
[2025-01-10 05:33:04] Production.ERROR: CronJobId end 12
[2025-01-10 05:33:04] Production.INFO: ==14841== Releasing lock...
[2025-01-10 05:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 05:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 05:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 02:33:05
[end_date_ymd] => 2025-01-10 05:33:05
[RateCDR] => 1
)
[2025-01-10 05:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 02:33:05' and `end` < '2025-01-10 05:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 05:33:11] Production.ERROR: CronJobId end10
[2025-01-10 05:33:11] Production.INFO: ==14839== Releasing lock...
[2025-01-10 05:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 05:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 05:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 05:33:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 05:33:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 05:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 05:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 05:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 05:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 05:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 05:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 05:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 05:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 05:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 05:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 05:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 05:33:14] Production.INFO: call_cost start
[2025-01-10 05:33:14] Production.INFO: call_cost end
[2025-01-10 05:33:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 05:33:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 05:33:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 05:33:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 05:33:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 05:33:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 05:33:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 05:33:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 05:33:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 05:33:14] Production.INFO: ==14835== Releasing lock...
[2025-01-10 05:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 05:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 05:33:18] Production.INFO: count ==57
[2025-01-10 05:33:18] Production.ERROR: pbx CDR StartTime 2025-01-10 02:33:05 - End Time 2025-01-10 05:33:05
[2025-01-10 05:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 05:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214802', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214802', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214802', 'tblTempVendorCDR_20' ) start
[2025-01-10 05:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214802', 'tblTempVendorCDR_20' ) end
[2025-01-10 05:33:18] Production.INFO: ProcessCDR(1,14214802,1,1,2)
[2025-01-10 05:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214802,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214802,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214802,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214802,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214802', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214802', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:33:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:33:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:33:21] Production.INFO: ==14843== Releasing lock...
[2025-01-10 05:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 05:33:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 10:34:02] Production.INFO: ==14901== Lock acquired, processing the job...
[2025-01-10 10:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 10:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 10:34:02] Production.INFO: neon service started
[2025-01-10 10:34:02] Production.INFO: neon service started
[2025-01-10 10:34:02] Production.INFO: ==14901== Releasing lock...
[2025-01-10 10:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 10:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 05:34:02] Production.INFO: ==14903== Lock acquired, processing the job...
[2025-01-10 05:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:34:02] Production.INFO: ==14903== Releasing lock...
[2025-01-10 05:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 05:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:34:03] Production.INFO: ==14905== Lock acquired, processing the job...
[2025-01-10 10:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 10:34:03] Production.INFO: ==14905== Releasing lock...
[2025-01-10 10:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 10:34:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 05:34:03] Production.INFO: ==14908== Lock acquired, processing the job...
[2025-01-10 05:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 05:34:03] Production.INFO: ==14912== Lock acquired, processing the job...
[2025-01-10 05:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 05:34:03] Production.INFO: ==14916== Lock acquired, processing the job...
[2025-01-10 05:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 05:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 05:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 05:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 05:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 05:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 05:34:04] Production.INFO: ==14910== Lock acquired, processing the job...
[2025-01-10 05:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 05:34:04] Production.INFO: ==14918== Lock acquired, processing the job...
[2025-01-10 05:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 05:34:04] Production.INFO: ==14914== Lock acquired, processing the job...
[2025-01-10 05:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 05:34:04] Production.INFO: Account Balance Start.
[2025-01-10 05:34:04] Production.INFO: CreateAllLog Start
[2025-01-10 05:34:04] Production.INFO: 117
[2025-01-10 05:34:04] Production.ERROR: done
[2025-01-10 05:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 05:34:04] Production.INFO: Date 2025-01-08
[2025-01-10 05:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:34:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:34:04] Production.INFO: Date 2025-01-09
[2025-01-10 05:34:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:34:04] Production.INFO: count ==21
[2025-01-10 05:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:34:04] Production.INFO: ==14910== Releasing lock...
[2025-01-10 05:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 05:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 05:34:04] Production.ERROR: done
[2025-01-10 05:34:04] Production.INFO: count ==21
[2025-01-10 05:34:04] Production.INFO: Date 2025-01-10
[2025-01-10 05:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214805') start
[2025-01-10 05:34:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:34:04] Production.INFO: Total Charge 0
[2025-01-10 05:34:04] Production.INFO: CreateAllLog End
[2025-01-10 05:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214805') end
[2025-01-10 05:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 05:34:04] Production.INFO: 1
[2025-01-10 05:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 05:34:04] Production.INFO: Account Balance End.
[2025-01-10 05:34:04] Production.INFO: ==14918== Releasing lock...
[2025-01-10 05:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 05:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 05:34:04] Production.ERROR: CronJobId end 12
[2025-01-10 05:34:04] Production.INFO: ==14914== Releasing lock...
[2025-01-10 05:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 05:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 05:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 02:34:05
[end_date_ymd] => 2025-01-10 05:34:05
[RateCDR] => 1
)
[2025-01-10 05:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 02:34:05' and `end` < '2025-01-10 05:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 05:34:12] Production.ERROR: CronJobId end10
[2025-01-10 05:34:12] Production.INFO: ==14912== Releasing lock...
[2025-01-10 05:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 05:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 05:34:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 05:34:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 05:34:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 05:34:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 05:34:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 05:34:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 05:34:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 05:34:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 05:34:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 05:34:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 05:34:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 05:34:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 05:34:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 05:34:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 05:34:14] Production.INFO: call_cost start
[2025-01-10 05:34:14] Production.INFO: call_cost end
[2025-01-10 05:34:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 05:34:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 05:34:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 05:34:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 05:34:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 05:34:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 05:34:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 05:34:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 05:34:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 05:34:15] Production.INFO: ==14908== Releasing lock...
[2025-01-10 05:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 05:34:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 05:34:18] Production.INFO: count ==57
[2025-01-10 05:34:18] Production.ERROR: pbx CDR StartTime 2025-01-10 02:34:05 - End Time 2025-01-10 05:34:05
[2025-01-10 05:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 05:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214807', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214807', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214807', 'tblTempVendorCDR_20' ) start
[2025-01-10 05:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214807', 'tblTempVendorCDR_20' ) end
[2025-01-10 05:34:18] Production.INFO: ProcessCDR(1,14214807,1,1,2)
[2025-01-10 05:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214807,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214807,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214807,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214807,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214807', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214807', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:34:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:34:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:34:21] Production.INFO: ==14916== Releasing lock...
[2025-01-10 05:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 05:34:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 10:35:01] Production.INFO: ==14978== Lock acquired, processing the job...
[2025-01-10 10:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 10:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 10:35:01] Production.INFO: neon service started
[2025-01-10 10:35:01] Production.INFO: neon service started
[2025-01-10 10:35:01] Production.INFO: ==14978== Releasing lock...
[2025-01-10 10:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 10:35:01] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 05:35:02] Production.INFO: ==14980== Lock acquired, processing the job...
[2025-01-10 05:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 10:35:02] Production.INFO: ==14982== Lock acquired, processing the job...
[2025-01-10 10:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 10:35:02] Production.INFO: ==14982== Releasing lock...
[2025-01-10 10:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 10:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 05:35:02] Production.INFO: ==14980== Releasing lock...
[2025-01-10 05:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 05:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 05:35:03] Production.INFO: ==14985== Lock acquired, processing the job...
[2025-01-10 05:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 05:35:03] Production.INFO: ==14987== Lock acquired, processing the job...
[2025-01-10 05:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 05:35:03] Production.INFO: ==14993== Lock acquired, processing the job...
[2025-01-10 05:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 05:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 05:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:35:03] Production.INFO: ==14989== Lock acquired, processing the job...
[2025-01-10 05:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 05:35:03] Production.INFO: ==14991== Lock acquired, processing the job...
[2025-01-10 05:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 05:35:03] Production.INFO: ==14995== Lock acquired, processing the job...
[2025-01-10 05:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 05:35:03] Production.INFO: Account Balance Start.
[2025-01-10 05:35:03] Production.INFO: CreateAllLog Start
[2025-01-10 05:35:03] Production.INFO: 117
[2025-01-10 05:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 05:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 05:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 05:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 05:35:03] Production.ERROR: done
[2025-01-10 05:35:03] Production.INFO: Date 2025-01-08
[2025-01-10 05:35:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 05:35:04] Production.INFO: ==14987== Releasing lock...
[2025-01-10 05:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 05:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 05:35:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:35:04] Production.INFO: Date 2025-01-09
[2025-01-10 05:35:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:35:04] Production.INFO: count ==21
[2025-01-10 05:35:04] Production.ERROR: done
[2025-01-10 05:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:35:04] Production.INFO: count ==21
[2025-01-10 05:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214811') start
[2025-01-10 05:35:04] Production.INFO: Date 2025-01-10
[2025-01-10 05:35:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:35:04] Production.INFO: Total Charge 0
[2025-01-10 05:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214811') end
[2025-01-10 05:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 05:35:04] Production.INFO: 1
[2025-01-10 05:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 05:35:04] Production.INFO: CreateAllLog End
[2025-01-10 05:35:04] Production.INFO: ==14995== Releasing lock...
[2025-01-10 05:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 05:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 05:35:04] Production.INFO: Account Balance End.
[2025-01-10 05:35:04] Production.ERROR: CronJobId end 12
[2025-01-10 05:35:04] Production.INFO: ==14991== Releasing lock...
[2025-01-10 05:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 05:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 05:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 02:35:05
[end_date_ymd] => 2025-01-10 05:35:05
[RateCDR] => 1
)
[2025-01-10 05:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 02:35:05' and `end` < '2025-01-10 05:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 05:35:10] Production.ERROR: CronJobId end10
[2025-01-10 05:35:10] Production.INFO: ==14989== Releasing lock...
[2025-01-10 05:35:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 05:35:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 05:35:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 05:35:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 05:35:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 05:35:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 05:35:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 05:35:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 05:35:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 05:35:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 05:35:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 05:35:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 05:35:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 05:35:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 05:35:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 05:35:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 05:35:12] Production.INFO: call_cost start
[2025-01-10 05:35:12] Production.INFO: call_cost end
[2025-01-10 05:35:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 05:35:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 05:35:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 05:35:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 05:35:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 05:35:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 05:35:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 05:35:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 05:35:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 05:35:13] Production.INFO: ==14985== Releasing lock...
[2025-01-10 05:35:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 05:35:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 05:35:18] Production.INFO: count ==57
[2025-01-10 05:35:18] Production.ERROR: pbx CDR StartTime 2025-01-10 02:35:05 - End Time 2025-01-10 05:35:05
[2025-01-10 05:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 05:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214812', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214812', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214812', 'tblTempVendorCDR_20' ) start
[2025-01-10 05:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214812', 'tblTempVendorCDR_20' ) end
[2025-01-10 05:35:18] Production.INFO: ProcessCDR(1,14214812,1,1,2)
[2025-01-10 05:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214812,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214812,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214812,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214812,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214812', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214812', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:35:21] Production.INFO: ==14993== Releasing lock...
[2025-01-10 05:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 05:35:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 10:36:02] Production.INFO: ==15049== Lock acquired, processing the job...
[2025-01-10 10:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 10:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 10:36:02] Production.INFO: neon service started
[2025-01-10 10:36:02] Production.INFO: neon service started
[2025-01-10 10:36:02] Production.INFO: ==15049== Releasing lock...
[2025-01-10 10:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 10:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 05:36:02] Production.INFO: ==15051== Lock acquired, processing the job...
[2025-01-10 05:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 10:36:02] Production.INFO: ==15053== Lock acquired, processing the job...
[2025-01-10 10:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 10:36:02] Production.INFO: ==15053== Releasing lock...
[2025-01-10 10:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 10:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 05:36:03] Production.INFO: ==15051== Releasing lock...
[2025-01-10 05:36:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 05:36:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 05:36:03] Production.INFO: ==15056== Lock acquired, processing the job...
[2025-01-10 05:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 05:36:04] Production.INFO: ==15062== Lock acquired, processing the job...
[2025-01-10 05:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 05:36:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 05:36:04] Production.INFO: ==15066== Lock acquired, processing the job...
[2025-01-10 05:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 05:36:04] Production.INFO: Account Balance Start.
[2025-01-10 05:36:04] Production.INFO: CreateAllLog Start
[2025-01-10 05:36:04] Production.INFO: 117
[2025-01-10 05:36:04] Production.INFO: Date 2025-01-08
[2025-01-10 05:36:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:36:04] Production.INFO: Date 2025-01-09
[2025-01-10 05:36:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:36:04] Production.INFO: Date 2025-01-10
[2025-01-10 05:36:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:36:04] Production.INFO: count ==21
[2025-01-10 05:36:04] Production.INFO: ==15058== Lock acquired, processing the job...
[2025-01-10 05:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 05:36:04] Production.INFO: Total Charge 0
[2025-01-10 05:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:36:04] Production.INFO: count ==21
[2025-01-10 05:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214815') start
[2025-01-10 05:36:04] Production.INFO: CreateAllLog End
[2025-01-10 05:36:04] Production.INFO: ==15060== Lock acquired, processing the job...
[2025-01-10 05:36:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 05:36:04] Production.INFO: ==15064== Lock acquired, processing the job...
[2025-01-10 05:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 05:36:04] Production.INFO: Account Balance End.
[2025-01-10 05:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214815') end
[2025-01-10 05:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 05:36:04] Production.INFO: 1
[2025-01-10 05:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 05:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:36:04] Production.ERROR: CronJobId end 12
[2025-01-10 05:36:04] Production.INFO: ==15062== Releasing lock...
[2025-01-10 05:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 05:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 05:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 05:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 05:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 05:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 05:36:04] Production.INFO: ==15066== Releasing lock...
[2025-01-10 05:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 05:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 05:36:04] Production.INFO: ==15058== Releasing lock...
[2025-01-10 05:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 05:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 05:36:04] Production.ERROR: done
[2025-01-10 05:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 05:36:04] Production.ERROR: done
[2025-01-10 05:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 02:36:05
[end_date_ymd] => 2025-01-10 05:36:05
[RateCDR] => 1
)
[2025-01-10 05:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 02:36:05' and `end` < '2025-01-10 05:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 05:36:10] Production.ERROR: CronJobId end10
[2025-01-10 05:36:10] Production.INFO: ==15060== Releasing lock...
[2025-01-10 05:36:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 05:36:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 05:36:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 05:36:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 05:36:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 05:36:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 05:36:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 05:36:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 05:36:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 05:36:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 05:36:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 05:36:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 05:36:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 05:36:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 05:36:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 05:36:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 05:36:12] Production.INFO: call_cost start
[2025-01-10 05:36:12] Production.INFO: call_cost end
[2025-01-10 05:36:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 05:36:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 05:36:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 05:36:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 05:36:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 05:36:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 05:36:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 05:36:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 05:36:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 05:36:13] Production.INFO: ==15056== Releasing lock...
[2025-01-10 05:36:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 05:36:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 05:36:18] Production.INFO: count ==57
[2025-01-10 05:36:18] Production.ERROR: pbx CDR StartTime 2025-01-10 02:36:05 - End Time 2025-01-10 05:36:05
[2025-01-10 05:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 05:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214817', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214817', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214817', 'tblTempVendorCDR_20' ) start
[2025-01-10 05:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214817', 'tblTempVendorCDR_20' ) end
[2025-01-10 05:36:18] Production.INFO: ProcessCDR(1,14214817,1,1,2)
[2025-01-10 05:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214817,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214817,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214817,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:36:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214817,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214817', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214817', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:36:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:36:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:36:21] Production.INFO: ==15064== Releasing lock...
[2025-01-10 05:36:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 05:36:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 10:37:01] Production.INFO: ==15119== Lock acquired, processing the job...
[2025-01-10 10:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 10:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 10:37:01] Production.INFO: neon service started
[2025-01-10 10:37:01] Production.INFO: neon service started
[2025-01-10 10:37:01] Production.INFO: ==15119== Releasing lock...
[2025-01-10 10:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 10:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 05:37:02] Production.INFO: ==15121== Lock acquired, processing the job...
[2025-01-10 05:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 10:37:02] Production.INFO: ==15123== Lock acquired, processing the job...
[2025-01-10 10:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 10:37:02] Production.INFO: ==15123== Releasing lock...
[2025-01-10 10:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 10:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 05:37:02] Production.INFO: ==15121== Releasing lock...
[2025-01-10 05:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 05:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 05:37:03] Production.INFO: ==15128== Lock acquired, processing the job...
[2025-01-10 05:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 05:37:03] Production.INFO: ==15136== Lock acquired, processing the job...
[2025-01-10 05:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 05:37:03] Production.INFO: ==15126== Lock acquired, processing the job...
[2025-01-10 05:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 05:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 05:37:03] Production.INFO: ==15128== Releasing lock...
[2025-01-10 05:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 05:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 05:37:03] Production.INFO: count ==21
[2025-01-10 05:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:37:03] Production.INFO: count ==21
[2025-01-10 05:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214819') start
[2025-01-10 05:37:03] Production.INFO: ==15130== Lock acquired, processing the job...
[2025-01-10 05:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 05:37:03] Production.INFO: ==15132== Lock acquired, processing the job...
[2025-01-10 05:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 05:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214819') end
[2025-01-10 05:37:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 05:37:03] Production.INFO: 1
[2025-01-10 05:37:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 05:37:03] Production.INFO: ==15136== Releasing lock...
[2025-01-10 05:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 05:37:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 05:37:03] Production.INFO: ==15134== Lock acquired, processing the job...
[2025-01-10 05:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 05:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 05:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 05:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 05:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 05:37:03] Production.INFO: Account Balance Start.
[2025-01-10 05:37:03] Production.INFO: CreateAllLog Start
[2025-01-10 05:37:03] Production.INFO: 117
[2025-01-10 05:37:03] Production.INFO: Date 2025-01-08
[2025-01-10 05:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:37:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:37:04] Production.INFO: Date 2025-01-09
[2025-01-10 05:37:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:37:04] Production.INFO: Date 2025-01-10
[2025-01-10 05:37:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:37:04] Production.INFO: Total Charge 0
[2025-01-10 05:37:04] Production.INFO: CreateAllLog End
[2025-01-10 05:37:04] Production.INFO: Account Balance End.
[2025-01-10 05:37:04] Production.ERROR: done
[2025-01-10 05:37:04] Production.ERROR: CronJobId end 12
[2025-01-10 05:37:04] Production.INFO: ==15132== Releasing lock...
[2025-01-10 05:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 05:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 05:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 05:37:04] Production.ERROR: done
[2025-01-10 05:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 02:37:05
[end_date_ymd] => 2025-01-10 05:37:05
[RateCDR] => 1
)
[2025-01-10 05:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 02:37:05' and `end` < '2025-01-10 05:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 05:37:11] Production.ERROR: CronJobId end10
[2025-01-10 05:37:11] Production.INFO: ==15130== Releasing lock...
[2025-01-10 05:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 05:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 05:37:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 05:37:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 05:37:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 05:37:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 05:37:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 05:37:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 05:37:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 05:37:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 05:37:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 05:37:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 05:37:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 05:37:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 05:37:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 05:37:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 05:37:13] Production.INFO: call_cost start
[2025-01-10 05:37:13] Production.INFO: call_cost end
[2025-01-10 05:37:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 05:37:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 05:37:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 05:37:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 05:37:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 05:37:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 05:37:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 05:37:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 05:37:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 05:37:13] Production.INFO: ==15126== Releasing lock...
[2025-01-10 05:37:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 05:37:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 05:37:19] Production.INFO: count ==57
[2025-01-10 05:37:19] Production.ERROR: pbx CDR StartTime 2025-01-10 02:37:05 - End Time 2025-01-10 05:37:05
[2025-01-10 05:37:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 05:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214822', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214822', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214822', 'tblTempVendorCDR_20' ) start
[2025-01-10 05:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214822', 'tblTempVendorCDR_20' ) end
[2025-01-10 05:37:19] Production.INFO: ProcessCDR(1,14214822,1,1,2)
[2025-01-10 05:37:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214822,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:37:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214822,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:37:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214822,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:37:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214822,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214822', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214822', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:37:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:37:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:37:22] Production.INFO: ==15134== Releasing lock...
[2025-01-10 05:37:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 05:37:22] Production.INFO: 28 MB #Memory Used#
[2025-01-10 10:38:02] Production.INFO: ==15190== Lock acquired, processing the job...
[2025-01-10 10:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 10:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 10:38:02] Production.INFO: neon service started
[2025-01-10 10:38:02] Production.INFO: neon service started
[2025-01-10 10:38:02] Production.INFO: ==15190== Releasing lock...
[2025-01-10 10:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 10:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 05:38:02] Production.INFO: ==15192== Lock acquired, processing the job...
[2025-01-10 05:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:38:02] Production.INFO: ==15192== Releasing lock...
[2025-01-10 05:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 05:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:38:03] Production.INFO: ==15194== Lock acquired, processing the job...
[2025-01-10 10:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 10:38:03] Production.INFO: ==15194== Releasing lock...
[2025-01-10 10:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 10:38:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 05:38:03] Production.INFO: ==15198== Lock acquired, processing the job...
[2025-01-10 05:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 05:38:03] Production.INFO: ==15204== Lock acquired, processing the job...
[2025-01-10 05:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 05:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:38:03] Production.INFO: ==15196== Lock acquired, processing the job...
[2025-01-10 05:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 05:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 05:38:04] Production.INFO: ==15200== Lock acquired, processing the job...
[2025-01-10 05:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 05:38:04] Production.INFO: ==15202== Lock acquired, processing the job...
[2025-01-10 05:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 05:38:04] Production.ERROR: done
[2025-01-10 05:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 05:38:04] Production.INFO: ==15206== Lock acquired, processing the job...
[2025-01-10 05:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 05:38:04] Production.INFO: ==15198== Releasing lock...
[2025-01-10 05:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 05:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 05:38:04] Production.INFO: Account Balance Start.
[2025-01-10 05:38:04] Production.INFO: CreateAllLog Start
[2025-01-10 05:38:04] Production.INFO: 117
[2025-01-10 05:38:04] Production.INFO: Date 2025-01-08
[2025-01-10 05:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:38:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:38:04] Production.INFO: count ==21
[2025-01-10 05:38:04] Production.INFO: Date 2025-01-09
[2025-01-10 05:38:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 05:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 05:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 05:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 05:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:38:04] Production.INFO: count ==21
[2025-01-10 05:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214826') start
[2025-01-10 05:38:04] Production.ERROR: done
[2025-01-10 05:38:04] Production.INFO: Date 2025-01-10
[2025-01-10 05:38:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:38:04] Production.INFO: Total Charge 0
[2025-01-10 05:38:04] Production.INFO: CreateAllLog End
[2025-01-10 05:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214826') end
[2025-01-10 05:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 05:38:04] Production.INFO: 1
[2025-01-10 05:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 05:38:04] Production.INFO: ==15206== Releasing lock...
[2025-01-10 05:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 05:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 05:38:04] Production.INFO: Account Balance End.
[2025-01-10 05:38:04] Production.ERROR: CronJobId end 12
[2025-01-10 05:38:04] Production.INFO: ==15202== Releasing lock...
[2025-01-10 05:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 05:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 05:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 02:38:05
[end_date_ymd] => 2025-01-10 05:38:05
[RateCDR] => 1
)
[2025-01-10 05:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 02:38:05' and `end` < '2025-01-10 05:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 05:38:12] Production.ERROR: CronJobId end10
[2025-01-10 05:38:12] Production.INFO: ==15200== Releasing lock...
[2025-01-10 05:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 05:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 05:38:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 05:38:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 05:38:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 05:38:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 05:38:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 05:38:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 05:38:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 05:38:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 05:38:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 05:38:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 05:38:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 05:38:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 05:38:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 05:38:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 05:38:14] Production.INFO: call_cost start
[2025-01-10 05:38:14] Production.INFO: call_cost end
[2025-01-10 05:38:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 05:38:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 05:38:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 05:38:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 05:38:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 05:38:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 05:38:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 05:38:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 05:38:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 05:38:15] Production.INFO: ==15196== Releasing lock...
[2025-01-10 05:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 05:38:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 05:38:19] Production.INFO: count ==57
[2025-01-10 05:38:20] Production.ERROR: pbx CDR StartTime 2025-01-10 02:38:05 - End Time 2025-01-10 05:38:05
[2025-01-10 05:38:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 05:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214827', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214827', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214827', 'tblTempVendorCDR_20' ) start
[2025-01-10 05:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214827', 'tblTempVendorCDR_20' ) end
[2025-01-10 05:38:20] Production.INFO: ProcessCDR(1,14214827,1,1,2)
[2025-01-10 05:38:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214827,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:38:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214827,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:38:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214827,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:38:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214827,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214827', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214827', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:38:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:38:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:38:23] Production.INFO: ==15204== Releasing lock...
[2025-01-10 05:38:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 05:38:23] Production.INFO: 28 MB #Memory Used#
[2025-01-10 10:39:01] Production.INFO: ==15261== Lock acquired, processing the job...
[2025-01-10 10:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 10:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 10:39:01] Production.INFO: neon service started
[2025-01-10 10:39:01] Production.INFO: neon service started
[2025-01-10 10:39:01] Production.INFO: ==15261== Releasing lock...
[2025-01-10 10:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 10:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 10:39:02] Production.INFO: ==15266== Lock acquired, processing the job...
[2025-01-10 10:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 10:39:02] Production.INFO: ==15266== Releasing lock...
[2025-01-10 10:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 10:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 05:39:02] Production.INFO: ==15264== Lock acquired, processing the job...
[2025-01-10 05:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:39:02] Production.INFO: ==15264== Releasing lock...
[2025-01-10 05:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 05:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 05:39:03] Production.INFO: ==15272== Lock acquired, processing the job...
[2025-01-10 05:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 05:39:03] Production.INFO: ==15278== Lock acquired, processing the job...
[2025-01-10 05:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 05:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 05:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 05:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 05:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 05:39:03] Production.INFO: ==15268== Lock acquired, processing the job...
[2025-01-10 05:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 05:39:03] Production.INFO: ==15270== Lock acquired, processing the job...
[2025-01-10 05:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 05:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:39:03] Production.INFO: ==15274== Lock acquired, processing the job...
[2025-01-10 05:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 05:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 05:39:03] Production.INFO: count ==21
[2025-01-10 05:39:03] Production.INFO: ==15276== Lock acquired, processing the job...
[2025-01-10 05:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 05:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:39:03] Production.INFO: count ==21
[2025-01-10 05:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214828') start
[2025-01-10 05:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:39:04] Production.INFO: Account Balance Start.
[2025-01-10 05:39:04] Production.INFO: CreateAllLog Start
[2025-01-10 05:39:04] Production.INFO: 117
[2025-01-10 05:39:04] Production.INFO: Date 2025-01-08
[2025-01-10 05:39:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:39:04] Production.INFO: Date 2025-01-09
[2025-01-10 05:39:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214828') end
[2025-01-10 05:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 05:39:04] Production.INFO: 1
[2025-01-10 05:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 05:39:04] Production.INFO: Date 2025-01-10
[2025-01-10 05:39:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:39:04] Production.INFO: ==15278== Releasing lock...
[2025-01-10 05:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 05:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 05:39:04] Production.INFO: Total Charge 0
[2025-01-10 05:39:04] Production.INFO: ==15270== Releasing lock...
[2025-01-10 05:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 05:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 05:39:04] Production.INFO: CreateAllLog End
[2025-01-10 05:39:04] Production.ERROR: done
[2025-01-10 05:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 05:39:04] Production.INFO: Account Balance End.
[2025-01-10 05:39:04] Production.ERROR: done
[2025-01-10 05:39:04] Production.ERROR: CronJobId end 12
[2025-01-10 05:39:04] Production.INFO: ==15274== Releasing lock...
[2025-01-10 05:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 05:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 05:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 02:39:05
[end_date_ymd] => 2025-01-10 05:39:05
[RateCDR] => 1
)
[2025-01-10 05:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 02:39:05' and `end` < '2025-01-10 05:39:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 05:39:11] Production.ERROR: CronJobId end10
[2025-01-10 05:39:11] Production.INFO: ==15272== Releasing lock...
[2025-01-10 05:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 05:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 05:39:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 05:39:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 05:39:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 05:39:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 05:39:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 05:39:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 05:39:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 05:39:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 05:39:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 05:39:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 05:39:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 05:39:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 05:39:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 05:39:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 05:39:13] Production.INFO: call_cost start
[2025-01-10 05:39:13] Production.INFO: call_cost end
[2025-01-10 05:39:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 05:39:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 05:39:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 05:39:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 05:39:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 05:39:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 05:39:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 05:39:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 05:39:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 05:39:14] Production.INFO: ==15268== Releasing lock...
[2025-01-10 05:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 05:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 05:39:18] Production.INFO: count ==57
[2025-01-10 05:39:18] Production.ERROR: pbx CDR StartTime 2025-01-10 02:39:05 - End Time 2025-01-10 05:39:05
[2025-01-10 05:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 05:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214832', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214832', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214832', 'tblTempVendorCDR_20' ) start
[2025-01-10 05:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214832', 'tblTempVendorCDR_20' ) end
[2025-01-10 05:39:18] Production.INFO: ProcessCDR(1,14214832,1,1,2)
[2025-01-10 05:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214832,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214832,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214832,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214832,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214832', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214832', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:39:21] Production.INFO: ==15276== Releasing lock...
[2025-01-10 05:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 05:39:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 10:40:02] Production.INFO: ==15332== Lock acquired, processing the job...
[2025-01-10 10:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 10:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 10:40:02] Production.INFO: neon service started
[2025-01-10 10:40:02] Production.INFO: neon service started
[2025-01-10 10:40:02] Production.INFO: ==15332== Releasing lock...
[2025-01-10 10:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 10:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 10:40:02] Production.INFO: ==15336== Lock acquired, processing the job...
[2025-01-10 10:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 05:40:02] Production.INFO: ==15334== Lock acquired, processing the job...
[2025-01-10 05:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 10:40:02] Production.INFO: ==15336== Releasing lock...
[2025-01-10 10:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 10:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 05:40:03] Production.INFO: ==15334== Releasing lock...
[2025-01-10 05:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 05:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 05:40:04] Production.INFO: ==15343== Lock acquired, processing the job...
[2025-01-10 05:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 05:40:04] Production.INFO: ==15347== Lock acquired, processing the job...
[2025-01-10 05:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 05:40:04] Production.INFO: ==15339== Lock acquired, processing the job...
[2025-01-10 05:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 05:40:04] Production.INFO: ==15341== Lock acquired, processing the job...
[2025-01-10 05:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 05:40:04] Production.INFO: ==15351== Lock acquired, processing the job...
[2025-01-10 05:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 05:40:04] Production.INFO: Account Balance Start.
[2025-01-10 05:40:04] Production.INFO: CreateAllLog Start
[2025-01-10 05:40:04] Production.INFO: 117
[2025-01-10 05:40:04] Production.INFO: Date 2025-01-08
[2025-01-10 05:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 05:40:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 05:40:04] Production.ERROR: CronJob PID - 15341
[2025-01-10 05:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-10 05:40:04] Production.ERROR: CronJob ID - 5
[2025-01-10 05:40:04] Production.ERROR: CronJob Last Run Time 2025-01-10 05:40:00
[2025-01-10 05:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 05:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 05:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 05:40:04] Production.ERROR: CronJob PID - 15343
[2025-01-10 05:40:04] Production.ERROR: CronJob Title - Account Block
[2025-01-10 05:40:04] Production.ERROR: CronJob ID - 7
[2025-01-10 05:40:04] Production.ERROR: CronJob Last Run Time 2025-01-10 05:40:00
[2025-01-10 05:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 05:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 05:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 05:40:04] Production.ERROR: CronJob PID - 15347
[2025-01-10 05:40:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-10 05:40:04] Production.ERROR: CronJob ID - 12
[2025-01-10 05:40:04] Production.ERROR: CronJob Last Run Time 2025-01-10 05:40:00
[2025-01-10 05:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 05:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 05:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:40:04] Production.INFO: Date 2025-01-09
[2025-01-10 05:40:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 05:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 05:40:04] Production.INFO: ==15339== Releasing lock...
[2025-01-10 05:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 05:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 05:40:04] Production.INFO: ==15345== Lock acquired, processing the job...
[2025-01-10 05:40:04] Production.INFO: ==15343== Releasing lock...
[2025-01-10 05:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 05:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 05:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 05:40:04] Production.INFO: Date 2025-01-10
[2025-01-10 05:40:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:40:04] Production.INFO: Total Charge 0
[2025-01-10 05:40:04] Production.INFO: ==15349== Lock acquired, processing the job...
[2025-01-10 05:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 05:40:04] Production.INFO: ==15353== Lock acquired, processing the job...
[2025-01-10 05:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 05:40:04] Production.INFO: CreateAllLog End
[2025-01-10 05:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 05:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 05:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 05:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 05:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:40:04] Production.INFO: count ==21
[2025-01-10 05:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:40:04] Production.INFO: count ==21
[2025-01-10 05:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214836') start
[2025-01-10 05:40:05] Production.ERROR: done
[2025-01-10 05:40:05] Production.INFO: Account Balance End.
[2025-01-10 05:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14214836') end
[2025-01-10 05:40:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 05:40:05] Production.INFO: 1
[2025-01-10 05:40:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 05:40:05] Production.ERROR: CronJobId end 12
[2025-01-10 05:40:05] Production.INFO: ==15347== Releasing lock...
[2025-01-10 05:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 05:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 05:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 05:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14214837', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 05:40:05] Production.INFO: ==15353== Releasing lock...
[2025-01-10 05:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 05:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 05:40:05] Production.ERROR: done
[2025-01-10 05:40:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 05:40:05] Production.ERROR: done
[2025-01-10 05:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 02:40:06
[end_date_ymd] => 2025-01-10 05:40:06
[RateCDR] => 1
)
[2025-01-10 05:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 02:40:06' and `end` < '2025-01-10 05:40:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 05:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14214837', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 05:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 05:40:09] Production.INFO: ProcessCDR(1,14214837,1,1,2)
[2025-01-10 05:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14214837,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14214837,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:40:09] Production.INFO: ==15351== Releasing lock...
[2025-01-10 05:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 05:40:09] Production.INFO: 26 MB #Memory Used#
[2025-01-10 05:40:12] Production.ERROR: CronJobId end10
[2025-01-10 05:40:12] Production.INFO: ==15345== Releasing lock...
[2025-01-10 05:40:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 05:40:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 05:40:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 05:40:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 05:40:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 05:40:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 05:40:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 05:40:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 05:40:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 05:40:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 05:40:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 05:40:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 05:40:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 05:40:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 05:40:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 05:40:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 05:40:14] Production.INFO: call_cost start
[2025-01-10 05:40:14] Production.INFO: call_cost end
[2025-01-10 05:40:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 05:40:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 05:40:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 05:40:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 05:40:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 05:40:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 05:40:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 05:40:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 05:40:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 05:40:15] Production.INFO: ==15341== Releasing lock...
[2025-01-10 05:40:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 05:40:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 05:40:19] Production.INFO: count ==61
[2025-01-10 05:40:19] Production.ERROR: pbx CDR StartTime 2025-01-10 02:40:06 - End Time 2025-01-10 05:40:06
[2025-01-10 05:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 05:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214838', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214838', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214838', 'tblTempVendorCDR_20' ) start
[2025-01-10 05:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214838', 'tblTempVendorCDR_20' ) end
[2025-01-10 05:40:19] Production.INFO: ProcessCDR(1,14214838,1,1,2)
[2025-01-10 05:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214838,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214838,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214838,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:40:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214838,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214838', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214838', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:40:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:40:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:40:23] Production.INFO: ==15349== Releasing lock...
[2025-01-10 05:40:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 05:40:23] Production.INFO: 28 MB #Memory Used#
[2025-01-10 10:41:01] Production.INFO: ==15406== Lock acquired, processing the job...
[2025-01-10 10:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 10:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 10:41:01] Production.INFO: neon service started
[2025-01-10 10:41:01] Production.INFO: neon service started
[2025-01-10 10:41:01] Production.INFO: ==15406== Releasing lock...
[2025-01-10 10:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 10:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 05:41:01] Production.INFO: ==15408== Lock acquired, processing the job...
[2025-01-10 05:41:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:41:02] Production.INFO: ==15408== Releasing lock...
[2025-01-10 05:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 05:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:41:02] Production.INFO: ==15410== Lock acquired, processing the job...
[2025-01-10 10:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 10:41:02] Production.INFO: ==15410== Releasing lock...
[2025-01-10 10:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 10:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 05:41:03] Production.INFO: ==15412== Lock acquired, processing the job...
[2025-01-10 05:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 05:41:03] Production.INFO: ==15414== Lock acquired, processing the job...
[2025-01-10 05:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 05:41:03] Production.INFO: ==15416== Lock acquired, processing the job...
[2025-01-10 05:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 05:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 05:41:03] Production.INFO: ==15422== Lock acquired, processing the job...
[2025-01-10 05:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 05:41:03] Production.INFO: ==15418== Lock acquired, processing the job...
[2025-01-10 05:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 05:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 05:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 05:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 05:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 05:41:03] Production.INFO: ==15420== Lock acquired, processing the job...
[2025-01-10 05:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 05:41:03] Production.INFO: count ==21
[2025-01-10 05:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:41:03] Production.INFO: count ==21
[2025-01-10 05:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214840') start
[2025-01-10 05:41:03] Production.INFO: Account Balance Start.
[2025-01-10 05:41:03] Production.INFO: CreateAllLog Start
[2025-01-10 05:41:03] Production.INFO: 117
[2025-01-10 05:41:03] Production.INFO: Date 2025-01-08
[2025-01-10 05:41:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:41:03] Production.INFO: ==15414== Releasing lock...
[2025-01-10 05:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 05:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 05:41:03] Production.INFO: Date 2025-01-09
[2025-01-10 05:41:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:41:03] Production.INFO: Date 2025-01-10
[2025-01-10 05:41:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:41:03] Production.INFO: Total Charge 0
[2025-01-10 05:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214840') end
[2025-01-10 05:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 05:41:03] Production.INFO: 1
[2025-01-10 05:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 05:41:03] Production.INFO: CreateAllLog End
[2025-01-10 05:41:03] Production.INFO: ==15422== Releasing lock...
[2025-01-10 05:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 05:41:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 05:41:03] Production.INFO: Account Balance End.
[2025-01-10 05:41:03] Production.ERROR: done
[2025-01-10 05:41:03] Production.ERROR: CronJobId end 12
[2025-01-10 05:41:03] Production.INFO: ==15418== Releasing lock...
[2025-01-10 05:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 05:41:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 05:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 05:41:03] Production.ERROR: done
[2025-01-10 05:41:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 02:41:04
[end_date_ymd] => 2025-01-10 05:41:04
[RateCDR] => 1
)
[2025-01-10 05:41:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 02:41:04' and `end` < '2025-01-10 05:41:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 05:41:10] Production.ERROR: CronJobId end10
[2025-01-10 05:41:10] Production.INFO: ==15416== Releasing lock...
[2025-01-10 05:41:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 05:41:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 05:41:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 05:41:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 05:41:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 05:41:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 05:41:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 05:41:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 05:41:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 05:41:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 05:41:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 05:41:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 05:41:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 05:41:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 05:41:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 05:41:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 05:41:13] Production.INFO: call_cost start
[2025-01-10 05:41:13] Production.INFO: call_cost end
[2025-01-10 05:41:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 05:41:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 05:41:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 05:41:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 05:41:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 05:41:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 05:41:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 05:41:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 05:41:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 05:41:13] Production.INFO: ==15412== Releasing lock...
[2025-01-10 05:41:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 05:41:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 05:41:17] Production.INFO: count ==62
[2025-01-10 05:41:17] Production.ERROR: pbx CDR StartTime 2025-01-10 02:41:04 - End Time 2025-01-10 05:41:04
[2025-01-10 05:41:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 05:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214843', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214843', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214843', 'tblTempVendorCDR_20' ) start
[2025-01-10 05:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214843', 'tblTempVendorCDR_20' ) end
[2025-01-10 05:41:17] Production.INFO: ProcessCDR(1,14214843,1,1,2)
[2025-01-10 05:41:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214843,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:41:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214843,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:41:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214843,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:41:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214843,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214843', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214843', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:41:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:41:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:41:22] Production.INFO: ==15420== Releasing lock...
[2025-01-10 05:41:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 05:41:22] Production.INFO: 28 MB #Memory Used#
[2025-01-10 10:42:02] Production.INFO: ==15475== Lock acquired, processing the job...
[2025-01-10 10:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 10:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 10:42:02] Production.INFO: neon service started
[2025-01-10 10:42:02] Production.INFO: neon service started
[2025-01-10 10:42:02] Production.INFO: ==15475== Releasing lock...
[2025-01-10 10:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 10:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 10:42:02] Production.INFO: ==15479== Lock acquired, processing the job...
[2025-01-10 10:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 10:42:02] Production.INFO: ==15479== Releasing lock...
[2025-01-10 10:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 10:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 05:42:02] Production.INFO: ==15477== Lock acquired, processing the job...
[2025-01-10 05:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:42:02] Production.INFO: ==15477== Releasing lock...
[2025-01-10 05:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 05:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 05:42:03] Production.INFO: ==15488== Lock acquired, processing the job...
[2025-01-10 05:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 05:42:03] Production.INFO: ==15490== Lock acquired, processing the job...
[2025-01-10 05:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 05:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:42:03] Production.INFO: ==15484== Lock acquired, processing the job...
[2025-01-10 05:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 05:42:03] Production.INFO: ==15486== Lock acquired, processing the job...
[2025-01-10 05:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 05:42:03] Production.INFO: ==15482== Lock acquired, processing the job...
[2025-01-10 05:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 05:42:03] Production.INFO: ==15492== Lock acquired, processing the job...
[2025-01-10 05:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 05:42:03] Production.INFO: Account Balance Start.
[2025-01-10 05:42:03] Production.INFO: CreateAllLog Start
[2025-01-10 05:42:03] Production.INFO: 117
[2025-01-10 05:42:03] Production.INFO: Date 2025-01-08
[2025-01-10 05:42:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 05:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 05:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 05:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 05:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 05:42:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:42:03] Production.INFO: Date 2025-01-09
[2025-01-10 05:42:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:42:03] Production.INFO: count ==21
[2025-01-10 05:42:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:42:03] Production.INFO: count ==21
[2025-01-10 05:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214847') start
[2025-01-10 05:42:04] Production.INFO: Date 2025-01-10
[2025-01-10 05:42:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:42:04] Production.INFO: Total Charge 0
[2025-01-10 05:42:04] Production.INFO: CreateAllLog End
[2025-01-10 05:42:04] Production.INFO: ==15484== Releasing lock...
[2025-01-10 05:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 05:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 05:42:04] Production.ERROR: done
[2025-01-10 05:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 05:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214847') end
[2025-01-10 05:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 05:42:04] Production.INFO: 1
[2025-01-10 05:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 05:42:04] Production.INFO: Account Balance End.
[2025-01-10 05:42:04] Production.INFO: ==15492== Releasing lock...
[2025-01-10 05:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 05:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 05:42:04] Production.ERROR: CronJobId end 12
[2025-01-10 05:42:04] Production.INFO: ==15488== Releasing lock...
[2025-01-10 05:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 05:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 05:42:04] Production.ERROR: done
[2025-01-10 05:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 02:42:05
[end_date_ymd] => 2025-01-10 05:42:05
[RateCDR] => 1
)
[2025-01-10 05:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 02:42:05' and `end` < '2025-01-10 05:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 05:42:11] Production.ERROR: CronJobId end10
[2025-01-10 05:42:11] Production.INFO: ==15486== Releasing lock...
[2025-01-10 05:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 05:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 05:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 05:42:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 05:42:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 05:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 05:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 05:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 05:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 05:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 05:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 05:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 05:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 05:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 05:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 05:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 05:42:14] Production.INFO: call_cost start
[2025-01-10 05:42:14] Production.INFO: call_cost end
[2025-01-10 05:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 05:42:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 05:42:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 05:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 05:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 05:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 05:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 05:42:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 05:42:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 05:42:14] Production.INFO: ==15482== Releasing lock...
[2025-01-10 05:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 05:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 05:42:18] Production.INFO: count ==62
[2025-01-10 05:42:18] Production.ERROR: pbx CDR StartTime 2025-01-10 02:42:05 - End Time 2025-01-10 05:42:05
[2025-01-10 05:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 05:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214848', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214848', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214848', 'tblTempVendorCDR_20' ) start
[2025-01-10 05:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214848', 'tblTempVendorCDR_20' ) end
[2025-01-10 05:42:18] Production.INFO: ProcessCDR(1,14214848,1,1,2)
[2025-01-10 05:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214848,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214848,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214848,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214848,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214848', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214848', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:42:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:42:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:42:21] Production.INFO: ==15490== Releasing lock...
[2025-01-10 05:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 05:42:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 10:43:01] Production.INFO: ==15545== Lock acquired, processing the job...
[2025-01-10 10:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 10:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 10:43:01] Production.INFO: neon service started
[2025-01-10 10:43:01] Production.INFO: neon service started
[2025-01-10 10:43:01] Production.INFO: ==15545== Releasing lock...
[2025-01-10 10:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 10:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 10:43:02] Production.INFO: ==15549== Lock acquired, processing the job...
[2025-01-10 10:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 10:43:02] Production.INFO: ==15549== Releasing lock...
[2025-01-10 10:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 10:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 05:43:02] Production.INFO: ==15547== Lock acquired, processing the job...
[2025-01-10 05:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:43:02] Production.INFO: ==15547== Releasing lock...
[2025-01-10 05:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 05:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 05:43:03] Production.INFO: ==15556== Lock acquired, processing the job...
[2025-01-10 05:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 05:43:03] Production.INFO: ==15560== Lock acquired, processing the job...
[2025-01-10 05:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 05:43:03] Production.INFO: ==15552== Lock acquired, processing the job...
[2025-01-10 05:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 05:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 05:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 05:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 05:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 05:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 05:43:03] Production.INFO: ==15554== Lock acquired, processing the job...
[2025-01-10 05:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 05:43:03] Production.INFO: ==15562== Lock acquired, processing the job...
[2025-01-10 05:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 05:43:03] Production.INFO: ==15558== Lock acquired, processing the job...
[2025-01-10 05:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 05:43:03] Production.ERROR: done
[2025-01-10 05:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 05:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:43:03] Production.INFO: Account Balance Start.
[2025-01-10 05:43:03] Production.INFO: CreateAllLog Start
[2025-01-10 05:43:03] Production.INFO: 117
[2025-01-10 05:43:03] Production.INFO: count ==21
[2025-01-10 05:43:03] Production.INFO: Date 2025-01-08
[2025-01-10 05:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:43:03] Production.INFO: count ==21
[2025-01-10 05:43:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214852') start
[2025-01-10 05:43:03] Production.ERROR: done
[2025-01-10 05:43:03] Production.INFO: Date 2025-01-09
[2025-01-10 05:43:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214852') end
[2025-01-10 05:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 05:43:04] Production.INFO: 1
[2025-01-10 05:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 05:43:04] Production.INFO: ==15562== Releasing lock...
[2025-01-10 05:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 05:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 05:43:04] Production.INFO: Date 2025-01-10
[2025-01-10 05:43:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:43:04] Production.INFO: Total Charge 0
[2025-01-10 05:43:04] Production.INFO: CreateAllLog End
[2025-01-10 05:43:04] Production.INFO: ==15554== Releasing lock...
[2025-01-10 05:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 05:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 05:43:04] Production.INFO: Account Balance End.
[2025-01-10 05:43:04] Production.ERROR: CronJobId end 12
[2025-01-10 05:43:04] Production.INFO: ==15558== Releasing lock...
[2025-01-10 05:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 05:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 05:43:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 02:43:04
[end_date_ymd] => 2025-01-10 05:43:04
[RateCDR] => 1
)
[2025-01-10 05:43:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 02:43:04' and `end` < '2025-01-10 05:43:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 05:43:11] Production.ERROR: CronJobId end10
[2025-01-10 05:43:11] Production.INFO: ==15556== Releasing lock...
[2025-01-10 05:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 05:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 05:43:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 05:43:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 05:43:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 05:43:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 05:43:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 05:43:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 05:43:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 05:43:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 05:43:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 05:43:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 05:43:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 05:43:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 05:43:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 05:43:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 05:43:13] Production.INFO: call_cost start
[2025-01-10 05:43:13] Production.INFO: call_cost end
[2025-01-10 05:43:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 05:43:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 05:43:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 05:43:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 05:43:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 05:43:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 05:43:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 05:43:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 05:43:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 05:43:13] Production.INFO: ==15552== Releasing lock...
[2025-01-10 05:43:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 05:43:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 05:43:17] Production.INFO: count ==62
[2025-01-10 05:43:17] Production.ERROR: pbx CDR StartTime 2025-01-10 02:43:04 - End Time 2025-01-10 05:43:04
[2025-01-10 05:43:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 05:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214853', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214853', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214853', 'tblTempVendorCDR_20' ) start
[2025-01-10 05:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214853', 'tblTempVendorCDR_20' ) end
[2025-01-10 05:43:17] Production.INFO: ProcessCDR(1,14214853,1,1,2)
[2025-01-10 05:43:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214853,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:43:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214853,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:43:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214853,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:43:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214853,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:43:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214853', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:43:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214853', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:43:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:43:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:43:20] Production.INFO: ==15560== Releasing lock...
[2025-01-10 05:43:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 05:43:20] Production.INFO: 28 MB #Memory Used#
[2025-01-10 10:44:02] Production.INFO: ==15657== Lock acquired, processing the job...
[2025-01-10 10:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 10:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 10:44:02] Production.INFO: neon service started
[2025-01-10 10:44:02] Production.INFO: neon service started
[2025-01-10 10:44:02] Production.INFO: ==15657== Releasing lock...
[2025-01-10 10:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 10:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 05:44:02] Production.INFO: ==15659== Lock acquired, processing the job...
[2025-01-10 05:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:44:02] Production.INFO: ==15659== Releasing lock...
[2025-01-10 05:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 05:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:44:03] Production.INFO: ==15661== Lock acquired, processing the job...
[2025-01-10 10:44:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 10:44:03] Production.INFO: ==15661== Releasing lock...
[2025-01-10 10:44:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 10:44:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 05:44:03] Production.INFO: ==15674== Lock acquired, processing the job...
[2025-01-10 05:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 05:44:03] Production.INFO: ==15670== Lock acquired, processing the job...
[2025-01-10 05:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 05:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:44:03] Production.INFO: count ==21
[2025-01-10 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-01-10 05:44:03] Production.INFO: Account Balance Start.
[2025-01-10 05:44:03] Production.INFO: CreateAllLog Start
[2025-01-10 05:44:04] Production.INFO: count ==21
[2025-01-10 05:44:04] Production.INFO: 117
[2025-01-10 05:44:04] Production.INFO: Date 2025-01-08
[2025-01-10 05:44:04] Production.INFO: ==15664== Lock acquired, processing the job...
[2025-01-10 05:44:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 05:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214854') start
[2025-01-10 05:44:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:44:04] Production.INFO: Date 2025-01-09
[2025-01-10 05:44:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:44:04] Production.INFO: ==15666== Lock acquired, processing the job...
[2025-01-10 05:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 05:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214854') end
[2025-01-10 05:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 05:44:04] Production.INFO: 1
[2025-01-10 05:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 05:44:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 05:44:04] Production.INFO: Date 2025-01-10
[2025-01-10 05:44:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:44:04] Production.INFO: ==15668== Lock acquired, processing the job...
[2025-01-10 05:44:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 05:44:04] Production.INFO: ==15674== Releasing lock...
[2025-01-10 05:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 05:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 05:44:04] Production.INFO: Total Charge 0
[2025-01-10 05:44:04] Production.INFO: CreateAllLog End
[2025-01-10 05:44:04] Production.INFO: ==15672== Lock acquired, processing the job...
[2025-01-10 05:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 05:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:44:04] Production.INFO: Account Balance End.
[2025-01-10 05:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 05:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 05:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 05:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 05:44:04] Production.ERROR: CronJobId end 12
[2025-01-10 05:44:04] Production.INFO: ==15670== Releasing lock...
[2025-01-10 05:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 05:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 05:44:04] Production.INFO: ==15666== Releasing lock...
[2025-01-10 05:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 05:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 05:44:04] Production.ERROR: done
[2025-01-10 05:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 05:44:04] Production.ERROR: done
[2025-01-10 05:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 02:44:05
[end_date_ymd] => 2025-01-10 05:44:05
[RateCDR] => 1
)
[2025-01-10 05:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 02:44:05' and `end` < '2025-01-10 05:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 05:44:12] Production.ERROR: CronJobId end10
[2025-01-10 05:44:12] Production.INFO: ==15668== Releasing lock...
[2025-01-10 05:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 05:44:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 05:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 05:44:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 05:44:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 05:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 05:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 05:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 05:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 05:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 05:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 05:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 05:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 05:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 05:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 05:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 05:44:14] Production.INFO: call_cost start
[2025-01-10 05:44:14] Production.INFO: call_cost end
[2025-01-10 05:44:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 05:44:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 05:44:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 05:44:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 05:44:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 05:44:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 05:44:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 05:44:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 05:44:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 05:44:15] Production.INFO: ==15664== Releasing lock...
[2025-01-10 05:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 05:44:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 05:44:19] Production.INFO: count ==61
[2025-01-10 05:44:19] Production.ERROR: pbx CDR StartTime 2025-01-10 02:44:05 - End Time 2025-01-10 05:44:05
[2025-01-10 05:44:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 05:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214858', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214858', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214858', 'tblTempVendorCDR_20' ) start
[2025-01-10 05:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214858', 'tblTempVendorCDR_20' ) end
[2025-01-10 05:44:19] Production.INFO: ProcessCDR(1,14214858,1,1,2)
[2025-01-10 05:44:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214858,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:44:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214858,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:44:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214858,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:44:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214858,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214858', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214858', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:44:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:44:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:44:22] Production.INFO: ==15672== Releasing lock...
[2025-01-10 05:44:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 05:44:22] Production.INFO: 28 MB #Memory Used#
[2025-01-10 10:45:01] Production.INFO: ==15729== Lock acquired, processing the job...
[2025-01-10 10:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 10:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 10:45:01] Production.INFO: neon service started
[2025-01-10 10:45:01] Production.INFO: neon service started
[2025-01-10 10:45:01] Production.INFO: ==15729== Releasing lock...
[2025-01-10 10:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 10:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 05:45:02] Production.INFO: ==15731== Lock acquired, processing the job...
[2025-01-10 05:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:45:02] Production.INFO: ==15731== Releasing lock...
[2025-01-10 05:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 05:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:45:02] Production.INFO: ==15733== Lock acquired, processing the job...
[2025-01-10 10:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 10:45:02] Production.INFO: ==15733== Releasing lock...
[2025-01-10 10:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 10:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 05:45:03] Production.INFO: ==15744== Lock acquired, processing the job...
[2025-01-10 05:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 05:45:03] Production.INFO: ==15746== Lock acquired, processing the job...
[2025-01-10 05:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 05:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:45:03] Production.INFO: count ==21
[2025-01-10 05:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:45:03] Production.INFO: count ==21
[2025-01-10 05:45:03] Production.INFO: ==15736== Lock acquired, processing the job...
[2025-01-10 05:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 05:45:03] Production.ERROR: done
[2025-01-10 05:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 05:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214859') start
[2025-01-10 05:45:03] Production.INFO: ==15738== Lock acquired, processing the job...
[2025-01-10 05:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 05:45:03] Production.INFO: ==15740== Lock acquired, processing the job...
[2025-01-10 05:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 05:45:03] Production.INFO: ==15742== Lock acquired, processing the job...
[2025-01-10 05:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 05:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 05:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214859') end
[2025-01-10 05:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 05:45:03] Production.INFO: 1
[2025-01-10 05:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 05:45:03] Production.ERROR: done
[2025-01-10 05:45:03] Production.INFO: ==15746== Releasing lock...
[2025-01-10 05:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 05:45:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 05:45:03] Production.INFO: Account Balance Start.
[2025-01-10 05:45:03] Production.INFO: CreateAllLog Start
[2025-01-10 05:45:03] Production.INFO: 117
[2025-01-10 05:45:03] Production.INFO: Date 2025-01-08
[2025-01-10 05:45:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 05:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 05:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 05:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 05:45:03] Production.INFO: Date 2025-01-09
[2025-01-10 05:45:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:45:03] Production.INFO: Date 2025-01-10
[2025-01-10 05:45:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:45:03] Production.INFO: Total Charge 0
[2025-01-10 05:45:03] Production.INFO: CreateAllLog End
[2025-01-10 05:45:04] Production.INFO: ==15738== Releasing lock...
[2025-01-10 05:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 05:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 05:45:04] Production.INFO: Account Balance End.
[2025-01-10 05:45:04] Production.ERROR: CronJobId end 12
[2025-01-10 05:45:04] Production.INFO: ==15742== Releasing lock...
[2025-01-10 05:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 05:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 05:45:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 02:45:04
[end_date_ymd] => 2025-01-10 05:45:04
[RateCDR] => 1
)
[2025-01-10 05:45:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 02:45:04' and `end` < '2025-01-10 05:45:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 05:45:11] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:362
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(362): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_update...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(363): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#4 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->statement()
#5 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::getOutstandingAmount()
#6 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_updateSOAOffSet(1,0))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(363): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#2 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->statement()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::getOutstandingAmount()
#4 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#7 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 {main}
[2025-01-10 05:45:11] Production.ERROR: CronJobId end10
[2025-01-10 05:45:11] Production.INFO: ==15740== Releasing lock...
[2025-01-10 05:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 05:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 05:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 05:45:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 05:45:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 05:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 05:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 05:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 05:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 05:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 05:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 05:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 05:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 05:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 05:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 05:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 05:45:13] Production.INFO: call_cost start
[2025-01-10 05:45:13] Production.INFO: call_cost end
[2025-01-10 05:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 05:45:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 05:45:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 05:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 05:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 05:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 05:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 05:45:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 05:45:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 05:45:14] Production.INFO: ==15736== Releasing lock...
[2025-01-10 05:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 05:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 05:45:17] Production.INFO: count ==60
[2025-01-10 05:45:17] Production.ERROR: pbx CDR StartTime 2025-01-10 02:45:04 - End Time 2025-01-10 05:45:04
[2025-01-10 05:45:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 05:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214861', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214861', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214861', 'tblTempVendorCDR_20' ) start
[2025-01-10 05:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214861', 'tblTempVendorCDR_20' ) end
[2025-01-10 05:45:17] Production.INFO: ProcessCDR(1,14214861,1,1,2)
[2025-01-10 05:45:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214861,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:45:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214861,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:45:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214861,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:45:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214861,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:45:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214861', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:45:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214861', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:45:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:45:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:45:20] Production.INFO: ==15744== Releasing lock...
[2025-01-10 05:45:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 05:45:20] Production.INFO: 28 MB #Memory Used#
[2025-01-10 10:46:02] Production.INFO: ==15799== Lock acquired, processing the job...
[2025-01-10 10:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 10:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 10:46:02] Production.INFO: neon service started
[2025-01-10 10:46:02] Production.INFO: neon service started
[2025-01-10 10:46:02] Production.INFO: ==15799== Releasing lock...
[2025-01-10 10:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 10:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 05:46:02] Production.INFO: ==15801== Lock acquired, processing the job...
[2025-01-10 05:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 10:46:02] Production.INFO: ==15803== Lock acquired, processing the job...
[2025-01-10 10:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 05:46:02] Production.INFO: ==15801== Releasing lock...
[2025-01-10 05:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 05:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:46:02] Production.INFO: ==15803== Releasing lock...
[2025-01-10 10:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 10:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 05:46:03] Production.INFO: ==15805== Lock acquired, processing the job...
[2025-01-10 05:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 05:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 05:46:03] Production.INFO: ==15809== Lock acquired, processing the job...
[2025-01-10 05:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 05:46:03] Production.INFO: ==15807== Lock acquired, processing the job...
[2025-01-10 05:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 05:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 05:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 05:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 05:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 05:46:03] Production.INFO: ==15811== Lock acquired, processing the job...
[2025-01-10 05:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 05:46:04] Production.INFO: ==15813== Lock acquired, processing the job...
[2025-01-10 05:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 05:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:46:04] Production.INFO: ==15815== Lock acquired, processing the job...
[2025-01-10 05:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 05:46:04] Production.INFO: Account Balance Start.
[2025-01-10 05:46:04] Production.INFO: CreateAllLog Start
[2025-01-10 05:46:04] Production.INFO: 117
[2025-01-10 05:46:04] Production.INFO: Date 2025-01-08
[2025-01-10 05:46:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:46:04] Production.INFO: ==15807== Releasing lock...
[2025-01-10 05:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 05:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 05:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:46:04] Production.INFO: count ==21
[2025-01-10 05:46:04] Production.INFO: Date 2025-01-09
[2025-01-10 05:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:46:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:46:04] Production.INFO: count ==21
[2025-01-10 05:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214867') start
[2025-01-10 05:46:04] Production.INFO: Date 2025-01-10
[2025-01-10 05:46:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:46:04] Production.ERROR: done
[2025-01-10 05:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 05:46:04] Production.INFO: Total Charge 0
[2025-01-10 05:46:04] Production.INFO: CreateAllLog End
[2025-01-10 05:46:04] Production.ERROR: done
[2025-01-10 05:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214867') end
[2025-01-10 05:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 05:46:04] Production.INFO: 1
[2025-01-10 05:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 05:46:04] Production.INFO: ==15815== Releasing lock...
[2025-01-10 05:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 05:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 05:46:04] Production.INFO: Account Balance End.
[2025-01-10 05:46:04] Production.ERROR: CronJobId end 12
[2025-01-10 05:46:04] Production.INFO: ==15811== Releasing lock...
[2025-01-10 05:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 05:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 05:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 02:46:05
[end_date_ymd] => 2025-01-10 05:46:05
[RateCDR] => 1
)
[2025-01-10 05:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 02:46:05' and `end` < '2025-01-10 05:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 05:46:11] Production.ERROR: CronJobId end10
[2025-01-10 05:46:11] Production.INFO: ==15809== Releasing lock...
[2025-01-10 05:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 05:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 05:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 05:46:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 05:46:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 05:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 05:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 05:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 05:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 05:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 05:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 05:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 05:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 05:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 05:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 05:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 05:46:14] Production.INFO: call_cost start
[2025-01-10 05:46:14] Production.INFO: call_cost end
[2025-01-10 05:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 05:46:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 05:46:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 05:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 05:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 05:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 05:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 05:46:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 05:46:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 05:46:14] Production.INFO: ==15805== Releasing lock...
[2025-01-10 05:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 05:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 05:46:19] Production.INFO: count ==60
[2025-01-10 05:46:19] Production.ERROR: pbx CDR StartTime 2025-01-10 02:46:05 - End Time 2025-01-10 05:46:05
[2025-01-10 05:46:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 05:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214868', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214868', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214868', 'tblTempVendorCDR_20' ) start
[2025-01-10 05:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214868', 'tblTempVendorCDR_20' ) end
[2025-01-10 05:46:19] Production.INFO: ProcessCDR(1,14214868,1,1,2)
[2025-01-10 05:46:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214868,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:46:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214868,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:46:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214868,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:46:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214868,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214868', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214868', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:46:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:46:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:46:22] Production.INFO: ==15813== Releasing lock...
[2025-01-10 05:46:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 05:46:22] Production.INFO: 28 MB #Memory Used#
[2025-01-10 10:47:01] Production.INFO: ==15872== Lock acquired, processing the job...
[2025-01-10 10:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 10:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 10:47:01] Production.INFO: neon service started
[2025-01-10 10:47:01] Production.INFO: neon service started
[2025-01-10 10:47:01] Production.INFO: ==15872== Releasing lock...
[2025-01-10 10:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 10:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 05:47:02] Production.INFO: ==15874== Lock acquired, processing the job...
[2025-01-10 05:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 10:47:02] Production.INFO: ==15876== Lock acquired, processing the job...
[2025-01-10 10:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 10:47:02] Production.INFO: ==15876== Releasing lock...
[2025-01-10 10:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 10:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 05:47:02] Production.INFO: ==15874== Releasing lock...
[2025-01-10 05:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 05:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 05:47:03] Production.INFO: ==15885== Lock acquired, processing the job...
[2025-01-10 05:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 05:47:03] Production.INFO: ==15883== Lock acquired, processing the job...
[2025-01-10 05:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 05:47:03] Production.INFO: Account Balance Start.
[2025-01-10 05:47:03] Production.INFO: CreateAllLog Start
[2025-01-10 05:47:03] Production.INFO: 117
[2025-01-10 05:47:03] Production.INFO: Date 2025-01-08
[2025-01-10 05:47:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:47:03] Production.INFO: Date 2025-01-09
[2025-01-10 05:47:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:47:03] Production.INFO: Date 2025-01-10
[2025-01-10 05:47:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 05:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 05:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 05:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 05:47:03] Production.INFO: Total Charge 0
[2025-01-10 05:47:03] Production.INFO: CreateAllLog End
[2025-01-10 05:47:03] Production.INFO: ==15879== Lock acquired, processing the job...
[2025-01-10 05:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 05:47:03] Production.INFO: Account Balance End.
[2025-01-10 05:47:03] Production.INFO: ==15881== Lock acquired, processing the job...
[2025-01-10 05:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 05:47:03] Production.ERROR: CronJobId end 12
[2025-01-10 05:47:03] Production.INFO: ==15885== Releasing lock...
[2025-01-10 05:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 05:47:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 05:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 05:47:03] Production.INFO: ==15887== Lock acquired, processing the job...
[2025-01-10 05:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 05:47:03] Production.INFO: ==15889== Lock acquired, processing the job...
[2025-01-10 05:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 05:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:47:04] Production.INFO: ==15881== Releasing lock...
[2025-01-10 05:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 05:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 05:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:47:04] Production.INFO: count ==21
[2025-01-10 05:47:04] Production.ERROR: done
[2025-01-10 05:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 05:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:47:04] Production.INFO: count ==21
[2025-01-10 05:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214872') start
[2025-01-10 05:47:04] Production.ERROR: done
[2025-01-10 05:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214872') end
[2025-01-10 05:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 05:47:04] Production.INFO: 1
[2025-01-10 05:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 05:47:04] Production.INFO: ==15889== Releasing lock...
[2025-01-10 05:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 05:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 05:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 02:47:05
[end_date_ymd] => 2025-01-10 05:47:05
[RateCDR] => 1
)
[2025-01-10 05:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 02:47:05' and `end` < '2025-01-10 05:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 05:47:10] Production.ERROR: CronJobId end10
[2025-01-10 05:47:10] Production.INFO: ==15883== Releasing lock...
[2025-01-10 05:47:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 05:47:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 05:47:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 05:47:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 05:47:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 05:47:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 05:47:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 05:47:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 05:47:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 05:47:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 05:47:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 05:47:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 05:47:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 05:47:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 05:47:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 05:47:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 05:47:13] Production.INFO: call_cost start
[2025-01-10 05:47:13] Production.INFO: call_cost end
[2025-01-10 05:47:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 05:47:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 05:47:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 05:47:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 05:47:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 05:47:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 05:47:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 05:47:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 05:47:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 05:47:13] Production.INFO: ==15879== Releasing lock...
[2025-01-10 05:47:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 05:47:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 05:47:19] Production.INFO: count ==60
[2025-01-10 05:47:19] Production.ERROR: pbx CDR StartTime 2025-01-10 02:47:05 - End Time 2025-01-10 05:47:05
[2025-01-10 05:47:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 05:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214873', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214873', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214873', 'tblTempVendorCDR_20' ) start
[2025-01-10 05:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214873', 'tblTempVendorCDR_20' ) end
[2025-01-10 05:47:19] Production.INFO: ProcessCDR(1,14214873,1,1,2)
[2025-01-10 05:47:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214873,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:47:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214873,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:47:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214873,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:47:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214873,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214873', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214873', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:47:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:47:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:47:22] Production.INFO: ==15887== Releasing lock...
[2025-01-10 05:47:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 05:47:22] Production.INFO: 28 MB #Memory Used#
[2025-01-10 10:48:02] Production.INFO: ==15945== Lock acquired, processing the job...
[2025-01-10 10:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 10:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 10:48:02] Production.INFO: neon service started
[2025-01-10 10:48:02] Production.INFO: neon service started
[2025-01-10 10:48:02] Production.INFO: ==15945== Releasing lock...
[2025-01-10 10:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 10:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 05:48:02] Production.INFO: ==15947== Lock acquired, processing the job...
[2025-01-10 05:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:48:02] Production.INFO: ==15947== Releasing lock...
[2025-01-10 05:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 05:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:48:03] Production.INFO: ==15949== Lock acquired, processing the job...
[2025-01-10 10:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 10:48:03] Production.INFO: ==15949== Releasing lock...
[2025-01-10 10:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 10:48:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 05:48:03] Production.INFO: ==15955== Lock acquired, processing the job...
[2025-01-10 05:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 05:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 05:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 05:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 05:48:03] Production.INFO: ==15951== Lock acquired, processing the job...
[2025-01-10 05:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 05:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 05:48:04] Production.INFO: ==15953== Lock acquired, processing the job...
[2025-01-10 05:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 05:48:04] Production.INFO: ==15961== Lock acquired, processing the job...
[2025-01-10 05:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 05:48:04] Production.INFO: ==15957== Lock acquired, processing the job...
[2025-01-10 05:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 05:48:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 05:48:04] Production.INFO: ==15959== Lock acquired, processing the job...
[2025-01-10 05:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 05:48:04] Production.INFO: Account Balance Start.
[2025-01-10 05:48:04] Production.INFO: CreateAllLog Start
[2025-01-10 05:48:04] Production.INFO: 117
[2025-01-10 05:48:04] Production.INFO: Date 2025-01-08
[2025-01-10 05:48:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:48:04] Production.INFO: Date 2025-01-09
[2025-01-10 05:48:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:48:04] Production.INFO: Date 2025-01-10
[2025-01-10 05:48:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:48:04] Production.INFO: Total Charge 0
[2025-01-10 05:48:04] Production.INFO: count ==21
[2025-01-10 05:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:48:04] Production.INFO: count ==21
[2025-01-10 05:48:04] Production.INFO: CreateAllLog End
[2025-01-10 05:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214877') start
[2025-01-10 05:48:04] Production.INFO: ==15953== Releasing lock...
[2025-01-10 05:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 05:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 05:48:04] Production.ERROR: done
[2025-01-10 05:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 05:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214877') end
[2025-01-10 05:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 05:48:04] Production.INFO: 1
[2025-01-10 05:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 05:48:04] Production.INFO: ==15961== Releasing lock...
[2025-01-10 05:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 05:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 05:48:04] Production.ERROR: done
[2025-01-10 05:48:04] Production.INFO: Account Balance End.
[2025-01-10 05:48:04] Production.ERROR: CronJobId end 12
[2025-01-10 05:48:04] Production.INFO: ==15957== Releasing lock...
[2025-01-10 05:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 05:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 05:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 02:48:05
[end_date_ymd] => 2025-01-10 05:48:05
[RateCDR] => 1
)
[2025-01-10 05:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 02:48:05' and `end` < '2025-01-10 05:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 05:48:12] Production.ERROR: CronJobId end10
[2025-01-10 05:48:12] Production.INFO: ==15955== Releasing lock...
[2025-01-10 05:48:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 05:48:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 05:48:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 05:48:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 05:48:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 05:48:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 05:48:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 05:48:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 05:48:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 05:48:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 05:48:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 05:48:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 05:48:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 05:48:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 05:48:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 05:48:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 05:48:15] Production.INFO: call_cost start
[2025-01-10 05:48:15] Production.INFO: call_cost end
[2025-01-10 05:48:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 05:48:16] Production.INFO: ============== Report Schedule START===========
[2025-01-10 05:48:16] Production.INFO: ============== Report Schedule END===========
[2025-01-10 05:48:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 05:48:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 05:48:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 05:48:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 05:48:16] Production.INFO: ============== Deal alert START===========
[2025-01-10 05:48:16] Production.INFO: ============== Deal alert END===========
[2025-01-10 05:48:16] Production.INFO: ==15951== Releasing lock...
[2025-01-10 05:48:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 05:48:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 05:48:18] Production.INFO: count ==60
[2025-01-10 05:48:18] Production.ERROR: pbx CDR StartTime 2025-01-10 02:48:05 - End Time 2025-01-10 05:48:05
[2025-01-10 05:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 05:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214878', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214878', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214878', 'tblTempVendorCDR_20' ) start
[2025-01-10 05:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214878', 'tblTempVendorCDR_20' ) end
[2025-01-10 05:48:18] Production.INFO: ProcessCDR(1,14214878,1,1,2)
[2025-01-10 05:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214878,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214878,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214878,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214878,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214878', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214878', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:48:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:48:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:48:22] Production.INFO: ==15959== Releasing lock...
[2025-01-10 05:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 05:48:22] Production.INFO: 28 MB #Memory Used#
[2025-01-10 10:49:01] Production.INFO: ==16019== Lock acquired, processing the job...
[2025-01-10 10:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 10:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 10:49:01] Production.INFO: neon service started
[2025-01-10 10:49:01] Production.INFO: neon service started
[2025-01-10 10:49:01] Production.INFO: ==16019== Releasing lock...
[2025-01-10 10:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 10:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 05:49:02] Production.INFO: ==16021== Lock acquired, processing the job...
[2025-01-10 05:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:49:02] Production.INFO: ==16021== Releasing lock...
[2025-01-10 05:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 05:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:49:02] Production.INFO: ==16023== Lock acquired, processing the job...
[2025-01-10 10:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 10:49:02] Production.INFO: ==16023== Releasing lock...
[2025-01-10 10:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 10:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 05:49:03] Production.INFO: ==16025== Lock acquired, processing the job...
[2025-01-10 05:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 05:49:03] Production.INFO: ==16036== Lock acquired, processing the job...
[2025-01-10 05:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 05:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 05:49:03] Production.INFO: ==16029== Lock acquired, processing the job...
[2025-01-10 05:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 05:49:03] Production.INFO: ==16027== Lock acquired, processing the job...
[2025-01-10 05:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 05:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:49:03] Production.INFO: ==16031== Lock acquired, processing the job...
[2025-01-10 05:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 05:49:03] Production.INFO: count ==21
[2025-01-10 05:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 05:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 05:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 05:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 05:49:03] Production.INFO: count ==21
[2025-01-10 05:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214880') start
[2025-01-10 05:49:03] Production.INFO: ==16033== Lock acquired, processing the job...
[2025-01-10 05:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 05:49:03] Production.INFO: Account Balance Start.
[2025-01-10 05:49:03] Production.INFO: CreateAllLog Start
[2025-01-10 05:49:03] Production.INFO: 117
[2025-01-10 05:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214880') end
[2025-01-10 05:49:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 05:49:03] Production.INFO: 1
[2025-01-10 05:49:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 05:49:03] Production.INFO: Date 2025-01-08
[2025-01-10 05:49:03] Production.INFO: ==16036== Releasing lock...
[2025-01-10 05:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 05:49:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 05:49:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:49:03] Production.INFO: Date 2025-01-09
[2025-01-10 05:49:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:49:03] Production.INFO: Date 2025-01-10
[2025-01-10 05:49:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:49:03] Production.INFO: ==16027== Releasing lock...
[2025-01-10 05:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 05:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 05:49:03] Production.INFO: Total Charge 0
[2025-01-10 05:49:03] Production.INFO: CreateAllLog End
[2025-01-10 05:49:03] Production.ERROR: done
[2025-01-10 05:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 05:49:04] Production.INFO: Account Balance End.
[2025-01-10 05:49:04] Production.ERROR: done
[2025-01-10 05:49:04] Production.ERROR: CronJobId end 12
[2025-01-10 05:49:04] Production.INFO: ==16031== Releasing lock...
[2025-01-10 05:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 05:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 05:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 02:49:05
[end_date_ymd] => 2025-01-10 05:49:05
[RateCDR] => 1
)
[2025-01-10 05:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 02:49:05' and `end` < '2025-01-10 05:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 05:49:11] Production.ERROR: CronJobId end10
[2025-01-10 05:49:11] Production.INFO: ==16029== Releasing lock...
[2025-01-10 05:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 05:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 05:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 05:49:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 05:49:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 05:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 05:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 05:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 05:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 05:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 05:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 05:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 05:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 05:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 05:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 05:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 05:49:13] Production.INFO: call_cost start
[2025-01-10 05:49:13] Production.INFO: call_cost end
[2025-01-10 05:49:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 05:49:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 05:49:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 05:49:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 05:49:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 05:49:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 05:49:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 05:49:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 05:49:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 05:49:14] Production.INFO: ==16025== Releasing lock...
[2025-01-10 05:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 05:49:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 05:49:17] Production.INFO: count ==60
[2025-01-10 05:49:17] Production.ERROR: pbx CDR StartTime 2025-01-10 02:49:05 - End Time 2025-01-10 05:49:05
[2025-01-10 05:49:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 05:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214883', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214883', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214883', 'tblTempVendorCDR_20' ) start
[2025-01-10 05:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214883', 'tblTempVendorCDR_20' ) end
[2025-01-10 05:49:17] Production.INFO: ProcessCDR(1,14214883,1,1,2)
[2025-01-10 05:49:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214883,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:49:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214883,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:49:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214883,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214883,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214883', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214883', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:49:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:49:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:49:21] Production.INFO: ==16033== Releasing lock...
[2025-01-10 05:49:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 05:49:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 10:50:02] Production.INFO: ==16089== Lock acquired, processing the job...
[2025-01-10 10:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 10:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 10:50:02] Production.INFO: neon service started
[2025-01-10 10:50:02] Production.INFO: neon service started
[2025-01-10 10:50:02] Production.INFO: ==16089== Releasing lock...
[2025-01-10 10:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 10:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 05:50:02] Production.INFO: ==16092== Lock acquired, processing the job...
[2025-01-10 05:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 10:50:02] Production.INFO: ==16094== Lock acquired, processing the job...
[2025-01-10 10:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 10:50:02] Production.INFO: ==16094== Releasing lock...
[2025-01-10 10:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 10:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 05:50:03] Production.INFO: ==16092== Releasing lock...
[2025-01-10 05:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 05:50:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 05:50:04] Production.INFO: ==16098== Lock acquired, processing the job...
[2025-01-10 05:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 05:50:04] Production.INFO: ==16096== Lock acquired, processing the job...
[2025-01-10 05:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 05:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 05:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 05:50:04] Production.ERROR: CronJob PID - 16098
[2025-01-10 05:50:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-10 05:50:04] Production.ERROR: CronJob ID - 5
[2025-01-10 05:50:04] Production.ERROR: CronJob Last Run Time 2025-01-10 05:50:00
[2025-01-10 05:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 05:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 05:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 05:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 05:50:04] Production.INFO: ==16096== Releasing lock...
[2025-01-10 05:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 05:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 05:50:04] Production.INFO: ==16100== Lock acquired, processing the job...
[2025-01-10 05:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 05:50:04] Production.INFO: ==16106== Lock acquired, processing the job...
[2025-01-10 05:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 05:50:04] Production.INFO: ==16110== Lock acquired, processing the job...
[2025-01-10 05:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 05:50:04] Production.INFO: ==16102== Lock acquired, processing the job...
[2025-01-10 05:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 05:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:50:04] Production.INFO: ==16104== Lock acquired, processing the job...
[2025-01-10 05:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 05:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:50:04] Production.INFO: ==16108== Lock acquired, processing the job...
[2025-01-10 05:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 05:50:04] Production.INFO: count ==21
[2025-01-10 05:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:50:04] Production.INFO: count ==21
[2025-01-10 05:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214886') start
[2025-01-10 05:50:04] Production.INFO: Account Balance Start.
[2025-01-10 05:50:04] Production.INFO: CreateAllLog Start
[2025-01-10 05:50:04] Production.INFO: 117
[2025-01-10 05:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 05:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 05:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 05:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 05:50:04] Production.INFO: Date 2025-01-08
[2025-01-10 05:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:50:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:50:04] Production.ERROR: done
[2025-01-10 05:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214886') end
[2025-01-10 05:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 05:50:04] Production.INFO: 1
[2025-01-10 05:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 05:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 05:50:04] Production.INFO: ==16100== Releasing lock...
[2025-01-10 05:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 05:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 05:50:04] Production.INFO: Date 2025-01-09
[2025-01-10 05:50:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:50:04] Production.INFO: Date 2025-01-10
[2025-01-10 05:50:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:50:04] Production.INFO: ==16110== Releasing lock...
[2025-01-10 05:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 05:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 05:50:04] Production.ERROR: done
[2025-01-10 05:50:05] Production.INFO: Total Charge 0
[2025-01-10 05:50:05] Production.INFO: CreateAllLog End
[2025-01-10 05:50:05] Production.ERROR: done
[2025-01-10 05:50:05] Production.INFO: Account Balance End.
[2025-01-10 05:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 05:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14214888', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 05:50:05] Production.ERROR: CronJobId end 12
[2025-01-10 05:50:05] Production.INFO: ==16104== Releasing lock...
[2025-01-10 05:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 05:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 05:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 02:50:06
[end_date_ymd] => 2025-01-10 05:50:06
[RateCDR] => 1
)
[2025-01-10 05:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 02:50:06' and `end` < '2025-01-10 05:50:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 05:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14214888', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 05:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 05:50:08] Production.INFO: ProcessCDR(1,14214888,1,1,2)
[2025-01-10 05:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14214888,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14214888,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:50:08] Production.INFO: ==16108== Releasing lock...
[2025-01-10 05:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 05:50:08] Production.INFO: 26 MB #Memory Used#
[2025-01-10 05:50:13] Production.ERROR: CronJobId end10
[2025-01-10 05:50:13] Production.INFO: ==16102== Releasing lock...
[2025-01-10 05:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 05:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 05:50:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 05:50:15] Production.INFO: ============== Balance Warning START===========
[2025-01-10 05:50:15] Production.INFO: ============== Balance Warning END===========
[2025-01-10 05:50:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 05:50:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 05:50:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 05:50:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 05:50:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 05:50:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 05:50:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 05:50:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 05:50:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 05:50:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 05:50:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 05:50:15] Production.INFO: call_cost start
[2025-01-10 05:50:15] Production.INFO: call_cost end
[2025-01-10 05:50:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 05:50:16] Production.INFO: ============== Report Schedule START===========
[2025-01-10 05:50:16] Production.INFO: ============== Report Schedule END===========
[2025-01-10 05:50:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 05:50:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 05:50:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 05:50:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 05:50:16] Production.INFO: ============== Deal alert START===========
[2025-01-10 05:50:16] Production.INFO: ============== Deal alert END===========
[2025-01-10 05:50:16] Production.INFO: ==16098== Releasing lock...
[2025-01-10 05:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 05:50:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 05:50:19] Production.INFO: count ==60
[2025-01-10 05:50:19] Production.ERROR: pbx CDR StartTime 2025-01-10 02:50:06 - End Time 2025-01-10 05:50:06
[2025-01-10 05:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 05:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214889', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214889', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214889', 'tblTempVendorCDR_20' ) start
[2025-01-10 05:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214889', 'tblTempVendorCDR_20' ) end
[2025-01-10 05:50:19] Production.INFO: ProcessCDR(1,14214889,1,1,2)
[2025-01-10 05:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214889,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214889,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214889,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:50:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214889,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214889', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214889', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:50:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:50:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:50:22] Production.INFO: ==16106== Releasing lock...
[2025-01-10 05:50:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 05:50:22] Production.INFO: 28 MB #Memory Used#
[2025-01-10 10:51:01] Production.INFO: ==16164== Lock acquired, processing the job...
[2025-01-10 10:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 10:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 10:51:01] Production.INFO: neon service started
[2025-01-10 10:51:01] Production.INFO: neon service started
[2025-01-10 10:51:01] Production.INFO: ==16164== Releasing lock...
[2025-01-10 10:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 10:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 05:51:01] Production.INFO: ==16166== Lock acquired, processing the job...
[2025-01-10 05:51:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:51:02] Production.INFO: ==16166== Releasing lock...
[2025-01-10 05:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 05:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:51:02] Production.INFO: ==16168== Lock acquired, processing the job...
[2025-01-10 10:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 10:51:02] Production.INFO: ==16168== Releasing lock...
[2025-01-10 10:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 10:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 05:51:03] Production.INFO: ==16175== Lock acquired, processing the job...
[2025-01-10 05:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 05:51:03] Production.INFO: ==16179== Lock acquired, processing the job...
[2025-01-10 05:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 05:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 05:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 05:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 05:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 05:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:51:03] Production.INFO: ==16170== Lock acquired, processing the job...
[2025-01-10 05:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 05:51:03] Production.INFO: ==16173== Lock acquired, processing the job...
[2025-01-10 05:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 05:51:03] Production.INFO: ==16177== Lock acquired, processing the job...
[2025-01-10 05:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 05:51:03] Production.INFO: ==16181== Lock acquired, processing the job...
[2025-01-10 05:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 05:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 05:51:03] Production.ERROR: done
[2025-01-10 05:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 05:51:03] Production.INFO: Account Balance Start.
[2025-01-10 05:51:03] Production.INFO: CreateAllLog Start
[2025-01-10 05:51:03] Production.INFO: 117
[2025-01-10 05:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:51:03] Production.ERROR: done
[2025-01-10 05:51:03] Production.INFO: Date 2025-01-08
[2025-01-10 05:51:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:51:03] Production.INFO: count ==21
[2025-01-10 05:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:51:03] Production.INFO: count ==21
[2025-01-10 05:51:03] Production.INFO: Date 2025-01-09
[2025-01-10 05:51:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:51:03] Production.INFO: Date 2025-01-10
[2025-01-10 05:51:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214893') start
[2025-01-10 05:51:03] Production.INFO: Total Charge 0
[2025-01-10 05:51:03] Production.INFO: CreateAllLog End
[2025-01-10 05:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214893') end
[2025-01-10 05:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 05:51:03] Production.INFO: 1
[2025-01-10 05:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 05:51:03] Production.INFO: ==16173== Releasing lock...
[2025-01-10 05:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 05:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 05:51:03] Production.INFO: Account Balance End.
[2025-01-10 05:51:03] Production.INFO: ==16181== Releasing lock...
[2025-01-10 05:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 05:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 05:51:03] Production.ERROR: CronJobId end 12
[2025-01-10 05:51:03] Production.INFO: ==16177== Releasing lock...
[2025-01-10 05:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 05:51:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 05:51:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 02:51:04
[end_date_ymd] => 2025-01-10 05:51:04
[RateCDR] => 1
)
[2025-01-10 05:51:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 02:51:04' and `end` < '2025-01-10 05:51:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 05:51:11] Production.ERROR: CronJobId end10
[2025-01-10 05:51:11] Production.INFO: ==16175== Releasing lock...
[2025-01-10 05:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 05:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 05:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 05:51:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 05:51:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 05:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 05:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 05:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 05:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 05:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 05:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 05:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 05:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 05:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 05:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 05:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 05:51:13] Production.INFO: call_cost start
[2025-01-10 05:51:13] Production.INFO: call_cost end
[2025-01-10 05:51:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 05:51:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 05:51:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 05:51:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 05:51:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 05:51:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 05:51:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 05:51:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 05:51:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 05:51:14] Production.INFO: ==16170== Releasing lock...
[2025-01-10 05:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 05:51:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 05:51:17] Production.INFO: count ==60
[2025-01-10 05:51:17] Production.ERROR: pbx CDR StartTime 2025-01-10 02:51:04 - End Time 2025-01-10 05:51:04
[2025-01-10 05:51:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 05:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214894', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214894', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214894', 'tblTempVendorCDR_20' ) start
[2025-01-10 05:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214894', 'tblTempVendorCDR_20' ) end
[2025-01-10 05:51:17] Production.INFO: ProcessCDR(1,14214894,1,1,2)
[2025-01-10 05:51:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214894,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:51:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214894,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:51:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214894,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:51:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214894,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:51:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214894', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:51:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214894', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:51:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:51:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:51:20] Production.INFO: ==16179== Releasing lock...
[2025-01-10 05:51:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 05:51:20] Production.INFO: 28 MB #Memory Used#
[2025-01-10 10:52:01] Production.INFO: ==16235== Lock acquired, processing the job...
[2025-01-10 10:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 10:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 10:52:01] Production.INFO: neon service started
[2025-01-10 10:52:01] Production.INFO: neon service started
[2025-01-10 10:52:01] Production.INFO: ==16235== Releasing lock...
[2025-01-10 10:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 10:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 05:52:02] Production.INFO: ==16237== Lock acquired, processing the job...
[2025-01-10 05:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 10:52:02] Production.INFO: ==16239== Lock acquired, processing the job...
[2025-01-10 10:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 10:52:02] Production.INFO: ==16239== Releasing lock...
[2025-01-10 10:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 10:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 05:52:02] Production.INFO: ==16237== Releasing lock...
[2025-01-10 05:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 05:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 05:52:03] Production.INFO: ==16244== Lock acquired, processing the job...
[2025-01-10 05:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 05:52:03] Production.INFO: ==16246== Lock acquired, processing the job...
[2025-01-10 05:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 05:52:04] Production.INFO: ==16242== Lock acquired, processing the job...
[2025-01-10 05:52:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 05:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 05:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 05:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 05:52:04] Production.INFO: ==16244== Releasing lock...
[2025-01-10 05:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 05:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 05:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 05:52:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 05:52:04] Production.INFO: ==16250== Lock acquired, processing the job...
[2025-01-10 05:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 05:52:04] Production.INFO: ==16248== Lock acquired, processing the job...
[2025-01-10 05:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 05:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:52:04] Production.INFO: ==16252== Lock acquired, processing the job...
[2025-01-10 05:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 05:52:04] Production.INFO: Account Balance Start.
[2025-01-10 05:52:04] Production.INFO: CreateAllLog Start
[2025-01-10 05:52:04] Production.INFO: 117
[2025-01-10 05:52:04] Production.INFO: Date 2025-01-08
[2025-01-10 05:52:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:52:04] Production.INFO: Date 2025-01-09
[2025-01-10 05:52:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:52:04] Production.INFO: Date 2025-01-10
[2025-01-10 05:52:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:52:04] Production.ERROR: done
[2025-01-10 05:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 05:52:04] Production.INFO: count ==21
[2025-01-10 05:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:52:04] Production.INFO: count ==21
[2025-01-10 05:52:04] Production.INFO: Total Charge 0
[2025-01-10 05:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214898') start
[2025-01-10 05:52:04] Production.INFO: CreateAllLog End
[2025-01-10 05:52:04] Production.ERROR: done
[2025-01-10 05:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214898') end
[2025-01-10 05:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 05:52:04] Production.INFO: 1
[2025-01-10 05:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 05:52:04] Production.INFO: ==16252== Releasing lock...
[2025-01-10 05:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 05:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 05:52:04] Production.INFO: Account Balance End.
[2025-01-10 05:52:04] Production.ERROR: CronJobId end 12
[2025-01-10 05:52:04] Production.INFO: ==16248== Releasing lock...
[2025-01-10 05:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 05:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 05:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 02:52:05
[end_date_ymd] => 2025-01-10 05:52:05
[RateCDR] => 1
)
[2025-01-10 05:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 02:52:05' and `end` < '2025-01-10 05:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 05:52:11] Production.ERROR: CronJobId end10
[2025-01-10 05:52:11] Production.INFO: ==16246== Releasing lock...
[2025-01-10 05:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 05:52:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 05:52:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 05:52:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 05:52:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 05:52:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 05:52:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 05:52:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 05:52:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 05:52:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 05:52:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 05:52:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 05:52:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 05:52:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 05:52:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 05:52:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 05:52:14] Production.INFO: call_cost start
[2025-01-10 05:52:14] Production.INFO: call_cost end
[2025-01-10 05:52:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 05:52:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 05:52:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 05:52:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 05:52:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 05:52:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 05:52:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 05:52:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 05:52:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 05:52:14] Production.INFO: ==16242== Releasing lock...
[2025-01-10 05:52:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 05:52:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 05:52:18] Production.INFO: count ==60
[2025-01-10 05:52:18] Production.ERROR: pbx CDR StartTime 2025-01-10 02:52:05 - End Time 2025-01-10 05:52:05
[2025-01-10 05:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 05:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214899', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214899', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214899', 'tblTempVendorCDR_20' ) start
[2025-01-10 05:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214899', 'tblTempVendorCDR_20' ) end
[2025-01-10 05:52:18] Production.INFO: ProcessCDR(1,14214899,1,1,2)
[2025-01-10 05:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214899,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214899,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214899,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:52:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214899,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214899', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214899', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:52:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:52:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:52:21] Production.INFO: ==16250== Releasing lock...
[2025-01-10 05:52:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 05:52:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 10:53:01] Production.INFO: ==16307== Lock acquired, processing the job...
[2025-01-10 10:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 10:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 10:53:01] Production.INFO: neon service started
[2025-01-10 10:53:01] Production.INFO: neon service started
[2025-01-10 10:53:01] Production.INFO: ==16307== Releasing lock...
[2025-01-10 10:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 10:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 05:53:01] Production.INFO: ==16309== Lock acquired, processing the job...
[2025-01-10 05:53:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 10:53:02] Production.INFO: ==16311== Lock acquired, processing the job...
[2025-01-10 10:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 10:53:02] Production.INFO: ==16311== Releasing lock...
[2025-01-10 10:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 10:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 05:53:02] Production.INFO: ==16309== Releasing lock...
[2025-01-10 05:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 05:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 05:53:03] Production.INFO: ==16316== Lock acquired, processing the job...
[2025-01-10 05:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 05:53:03] Production.INFO: ==16314== Lock acquired, processing the job...
[2025-01-10 05:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 05:53:03] Production.INFO: ==16322== Lock acquired, processing the job...
[2025-01-10 05:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 05:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:53:03] Production.INFO: ==16318== Lock acquired, processing the job...
[2025-01-10 05:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 05:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 05:53:03] Production.INFO: ==16320== Lock acquired, processing the job...
[2025-01-10 05:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 05:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 05:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 05:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 05:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 05:53:03] Production.INFO: ==16324== Lock acquired, processing the job...
[2025-01-10 05:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 05:53:03] Production.INFO: Account Balance Start.
[2025-01-10 05:53:03] Production.INFO: CreateAllLog Start
[2025-01-10 05:53:03] Production.INFO: 117
[2025-01-10 05:53:03] Production.INFO: Date 2025-01-08
[2025-01-10 05:53:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:53:03] Production.INFO: Date 2025-01-09
[2025-01-10 05:53:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:53:03] Production.INFO: Date 2025-01-10
[2025-01-10 05:53:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:53:03] Production.INFO: ==16316== Releasing lock...
[2025-01-10 05:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 05:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 05:53:03] Production.INFO: Total Charge 0
[2025-01-10 05:53:03] Production.ERROR: done
[2025-01-10 05:53:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 05:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:53:03] Production.INFO: CreateAllLog End
[2025-01-10 05:53:03] Production.INFO: count ==21
[2025-01-10 05:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:53:03] Production.INFO: count ==21
[2025-01-10 05:53:03] Production.ERROR: done
[2025-01-10 05:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214903') start
[2025-01-10 05:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214903') end
[2025-01-10 05:53:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 05:53:03] Production.INFO: 1
[2025-01-10 05:53:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 05:53:04] Production.INFO: Account Balance End.
[2025-01-10 05:53:04] Production.INFO: ==16324== Releasing lock...
[2025-01-10 05:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 05:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 05:53:04] Production.ERROR: CronJobId end 12
[2025-01-10 05:53:04] Production.INFO: ==16320== Releasing lock...
[2025-01-10 05:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 05:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 05:53:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 02:53:04
[end_date_ymd] => 2025-01-10 05:53:04
[RateCDR] => 1
)
[2025-01-10 05:53:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 02:53:04' and `end` < '2025-01-10 05:53:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 05:53:10] Production.ERROR: CronJobId end10
[2025-01-10 05:53:10] Production.INFO: ==16318== Releasing lock...
[2025-01-10 05:53:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 05:53:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 05:53:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 05:53:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 05:53:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 05:53:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 05:53:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 05:53:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 05:53:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 05:53:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 05:53:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 05:53:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 05:53:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 05:53:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 05:53:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 05:53:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 05:53:13] Production.INFO: call_cost start
[2025-01-10 05:53:13] Production.INFO: call_cost end
[2025-01-10 05:53:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 05:53:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 05:53:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 05:53:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 05:53:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 05:53:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 05:53:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 05:53:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 05:53:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 05:53:14] Production.INFO: ==16314== Releasing lock...
[2025-01-10 05:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 05:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 05:53:19] Production.INFO: count ==60
[2025-01-10 05:53:19] Production.ERROR: pbx CDR StartTime 2025-01-10 02:53:04 - End Time 2025-01-10 05:53:04
[2025-01-10 05:53:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 05:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214904', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214904', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214904', 'tblTempVendorCDR_20' ) start
[2025-01-10 05:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214904', 'tblTempVendorCDR_20' ) end
[2025-01-10 05:53:19] Production.INFO: ProcessCDR(1,14214904,1,1,2)
[2025-01-10 05:53:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214904,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:53:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214904,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:53:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214904,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214904,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214904', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214904', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:53:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:53:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:53:22] Production.INFO: ==16322== Releasing lock...
[2025-01-10 05:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 05:53:22] Production.INFO: 28 MB #Memory Used#
[2025-01-10 10:54:01] Production.INFO: ==16377== Lock acquired, processing the job...
[2025-01-10 10:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 10:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 10:54:01] Production.INFO: neon service started
[2025-01-10 10:54:01] Production.INFO: neon service started
[2025-01-10 10:54:01] Production.INFO: ==16377== Releasing lock...
[2025-01-10 10:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 10:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 05:54:02] Production.INFO: ==16379== Lock acquired, processing the job...
[2025-01-10 05:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:54:02] Production.INFO: ==16379== Releasing lock...
[2025-01-10 05:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 05:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:54:02] Production.INFO: ==16381== Lock acquired, processing the job...
[2025-01-10 10:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 10:54:02] Production.INFO: ==16381== Releasing lock...
[2025-01-10 10:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 10:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 05:54:03] Production.INFO: ==16390== Lock acquired, processing the job...
[2025-01-10 05:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 05:54:03] Production.INFO: ==16392== Lock acquired, processing the job...
[2025-01-10 05:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 05:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:54:03] Production.INFO: Account Balance Start.
[2025-01-10 05:54:03] Production.INFO: CreateAllLog Start
[2025-01-10 05:54:03] Production.INFO: 117
[2025-01-10 05:54:03] Production.INFO: Date 2025-01-08
[2025-01-10 05:54:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:54:03] Production.INFO: ==16384== Lock acquired, processing the job...
[2025-01-10 05:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 05:54:03] Production.INFO: ==16388== Lock acquired, processing the job...
[2025-01-10 05:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 05:54:03] Production.INFO: ==16386== Lock acquired, processing the job...
[2025-01-10 05:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 05:54:03] Production.INFO: Date 2025-01-09
[2025-01-10 05:54:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:54:03] Production.INFO: Date 2025-01-10
[2025-01-10 05:54:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:54:03] Production.INFO: ==16394== Lock acquired, processing the job...
[2025-01-10 05:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 05:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 05:54:03] Production.ERROR: done
[2025-01-10 05:54:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 05:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 05:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 05:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 05:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 05:54:03] Production.INFO: Total Charge 0
[2025-01-10 05:54:03] Production.INFO: CreateAllLog End
[2025-01-10 05:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:54:03] Production.ERROR: done
[2025-01-10 05:54:03] Production.INFO: count ==21
[2025-01-10 05:54:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:54:03] Production.INFO: count ==21
[2025-01-10 05:54:04] Production.INFO: ==16386== Releasing lock...
[2025-01-10 05:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 05:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 05:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214908') start
[2025-01-10 05:54:04] Production.INFO: Account Balance End.
[2025-01-10 05:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214908') end
[2025-01-10 05:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 05:54:04] Production.INFO: 1
[2025-01-10 05:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 05:54:04] Production.ERROR: CronJobId end 12
[2025-01-10 05:54:04] Production.INFO: ==16390== Releasing lock...
[2025-01-10 05:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 05:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 05:54:04] Production.INFO: ==16394== Releasing lock...
[2025-01-10 05:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 05:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 05:54:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 02:54:04
[end_date_ymd] => 2025-01-10 05:54:04
[RateCDR] => 1
)
[2025-01-10 05:54:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 02:54:04' and `end` < '2025-01-10 05:54:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 05:54:10] Production.ERROR: CronJobId end10
[2025-01-10 05:54:10] Production.INFO: ==16388== Releasing lock...
[2025-01-10 05:54:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 05:54:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 05:54:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 05:54:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 05:54:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 05:54:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 05:54:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 05:54:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 05:54:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 05:54:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 05:54:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 05:54:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 05:54:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 05:54:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 05:54:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 05:54:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 05:54:13] Production.INFO: call_cost start
[2025-01-10 05:54:13] Production.INFO: call_cost end
[2025-01-10 05:54:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 05:54:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 05:54:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 05:54:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 05:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 05:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 05:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 05:54:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 05:54:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 05:54:14] Production.INFO: ==16384== Releasing lock...
[2025-01-10 05:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 05:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 05:54:17] Production.INFO: count ==60
[2025-01-10 05:54:17] Production.ERROR: pbx CDR StartTime 2025-01-10 02:54:04 - End Time 2025-01-10 05:54:04
[2025-01-10 05:54:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 05:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214909', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214909', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214909', 'tblTempVendorCDR_20' ) start
[2025-01-10 05:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214909', 'tblTempVendorCDR_20' ) end
[2025-01-10 05:54:17] Production.INFO: ProcessCDR(1,14214909,1,1,2)
[2025-01-10 05:54:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214909,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:54:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214909,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:54:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214909,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:54:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214909,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214909', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214909', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:54:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:54:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:54:21] Production.INFO: ==16392== Releasing lock...
[2025-01-10 05:54:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 05:54:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 10:55:01] Production.INFO: ==16447== Lock acquired, processing the job...
[2025-01-10 10:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 10:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 10:55:01] Production.INFO: neon service started
[2025-01-10 10:55:01] Production.INFO: neon service started
[2025-01-10 10:55:01] Production.INFO: ==16447== Releasing lock...
[2025-01-10 10:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 10:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 05:55:02] Production.INFO: ==16449== Lock acquired, processing the job...
[2025-01-10 05:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 10:55:02] Production.INFO: ==16451== Lock acquired, processing the job...
[2025-01-10 10:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 10:55:02] Production.INFO: ==16451== Releasing lock...
[2025-01-10 10:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 10:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 05:55:02] Production.INFO: ==16449== Releasing lock...
[2025-01-10 05:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 05:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 05:55:03] Production.INFO: ==16454== Lock acquired, processing the job...
[2025-01-10 05:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 05:55:03] Production.INFO: ==16456== Lock acquired, processing the job...
[2025-01-10 05:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 05:55:03] Production.INFO: ==16460== Lock acquired, processing the job...
[2025-01-10 05:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 05:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 05:55:03] Production.INFO: Account Balance Start.
[2025-01-10 05:55:03] Production.INFO: CreateAllLog Start
[2025-01-10 05:55:03] Production.INFO: 117
[2025-01-10 05:55:03] Production.INFO: Date 2025-01-08
[2025-01-10 05:55:03] Production.INFO: ==16458== Lock acquired, processing the job...
[2025-01-10 05:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 05:55:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:55:03] Production.INFO: ==16456== Releasing lock...
[2025-01-10 05:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 05:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 05:55:03] Production.INFO: Date 2025-01-09
[2025-01-10 05:55:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:55:03] Production.INFO: Date 2025-01-10
[2025-01-10 05:55:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:55:03] Production.INFO: ==16462== Lock acquired, processing the job...
[2025-01-10 05:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 05:55:03] Production.INFO: Total Charge 0
[2025-01-10 05:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 05:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 05:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 05:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 05:55:03] Production.INFO: CreateAllLog End
[2025-01-10 05:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:55:03] Production.INFO: ==16464== Lock acquired, processing the job...
[2025-01-10 05:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 05:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:55:03] Production.INFO: Account Balance End.
[2025-01-10 05:55:03] Production.ERROR: done
[2025-01-10 05:55:03] Production.INFO: count ==21
[2025-01-10 05:55:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 05:55:03] Production.ERROR: CronJobId end 12
[2025-01-10 05:55:03] Production.INFO: ==16460== Releasing lock...
[2025-01-10 05:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 05:55:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 05:55:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:55:03] Production.INFO: count ==21
[2025-01-10 05:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214913') start
[2025-01-10 05:55:04] Production.ERROR: done
[2025-01-10 05:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214913') end
[2025-01-10 05:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 05:55:04] Production.INFO: 1
[2025-01-10 05:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 05:55:04] Production.INFO: ==16464== Releasing lock...
[2025-01-10 05:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 05:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 05:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 02:55:05
[end_date_ymd] => 2025-01-10 05:55:05
[RateCDR] => 1
)
[2025-01-10 05:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 02:55:05' and `end` < '2025-01-10 05:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 05:55:10] Production.ERROR: CronJobId end10
[2025-01-10 05:55:10] Production.INFO: ==16458== Releasing lock...
[2025-01-10 05:55:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 05:55:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 05:55:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 05:55:11] Production.INFO: ============== Balance Warning START===========
[2025-01-10 05:55:11] Production.INFO: ============== Balance Warning END===========
[2025-01-10 05:55:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 05:55:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 05:55:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 05:55:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 05:55:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 05:55:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 05:55:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 05:55:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 05:55:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 05:55:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 05:55:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 05:55:12] Production.INFO: call_cost start
[2025-01-10 05:55:12] Production.INFO: call_cost end
[2025-01-10 05:55:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 05:55:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 05:55:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 05:55:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 05:55:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 05:55:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 05:55:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 05:55:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 05:55:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 05:55:13] Production.INFO: ==16454== Releasing lock...
[2025-01-10 05:55:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 05:55:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 05:55:18] Production.INFO: count ==60
[2025-01-10 05:55:18] Production.ERROR: pbx CDR StartTime 2025-01-10 02:55:05 - End Time 2025-01-10 05:55:05
[2025-01-10 05:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 05:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214914', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214914', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214914', 'tblTempVendorCDR_20' ) start
[2025-01-10 05:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214914', 'tblTempVendorCDR_20' ) end
[2025-01-10 05:55:18] Production.INFO: ProcessCDR(1,14214914,1,1,2)
[2025-01-10 05:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214914,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214914,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214914,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214914,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214914', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214914', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:55:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:55:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:55:21] Production.INFO: ==16462== Releasing lock...
[2025-01-10 05:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 05:55:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 10:56:02] Production.INFO: ==16518== Lock acquired, processing the job...
[2025-01-10 10:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 10:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 10:56:02] Production.INFO: neon service started
[2025-01-10 10:56:02] Production.INFO: neon service started
[2025-01-10 10:56:02] Production.INFO: ==16518== Releasing lock...
[2025-01-10 10:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 10:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 05:56:02] Production.INFO: ==16520== Lock acquired, processing the job...
[2025-01-10 05:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:56:02] Production.INFO: ==16520== Releasing lock...
[2025-01-10 05:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 05:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:56:02] Production.INFO: ==16522== Lock acquired, processing the job...
[2025-01-10 10:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 10:56:02] Production.INFO: ==16522== Releasing lock...
[2025-01-10 10:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 10:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 05:56:03] Production.INFO: ==16525== Lock acquired, processing the job...
[2025-01-10 05:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 05:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 05:56:03] Production.INFO: ==16529== Lock acquired, processing the job...
[2025-01-10 05:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 05:56:03] Production.INFO: ==16531== Lock acquired, processing the job...
[2025-01-10 05:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 05:56:03] Production.INFO: ==16527== Lock acquired, processing the job...
[2025-01-10 05:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 05:56:03] Production.INFO: ==16533== Lock acquired, processing the job...
[2025-01-10 05:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 05:56:03] Production.INFO: Account Balance Start.
[2025-01-10 05:56:03] Production.INFO: CreateAllLog Start
[2025-01-10 05:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 05:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 05:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 05:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 05:56:03] Production.INFO: ==16535== Lock acquired, processing the job...
[2025-01-10 05:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 05:56:03] Production.INFO: 117
[2025-01-10 05:56:03] Production.INFO: Date 2025-01-08
[2025-01-10 05:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:56:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:56:04] Production.INFO: Date 2025-01-09
[2025-01-10 05:56:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:56:04] Production.INFO: Date 2025-01-10
[2025-01-10 05:56:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:56:04] Production.INFO: Total Charge 0
[2025-01-10 05:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:56:04] Production.INFO: CreateAllLog End
[2025-01-10 05:56:04] Production.INFO: count ==21
[2025-01-10 05:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:56:04] Production.INFO: count ==21
[2025-01-10 05:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214918') start
[2025-01-10 05:56:04] Production.INFO: Account Balance End.
[2025-01-10 05:56:04] Production.ERROR: done
[2025-01-10 05:56:04] Production.INFO: ==16527== Releasing lock...
[2025-01-10 05:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 05:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 05:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 05:56:04] Production.ERROR: CronJobId end 12
[2025-01-10 05:56:04] Production.INFO: ==16531== Releasing lock...
[2025-01-10 05:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 05:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 05:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214918') end
[2025-01-10 05:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 05:56:04] Production.INFO: 1
[2025-01-10 05:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 05:56:04] Production.ERROR: done
[2025-01-10 05:56:04] Production.INFO: ==16535== Releasing lock...
[2025-01-10 05:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 05:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 05:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 02:56:05
[end_date_ymd] => 2025-01-10 05:56:05
[RateCDR] => 1
)
[2025-01-10 05:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 02:56:05' and `end` < '2025-01-10 05:56:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 05:56:11] Production.ERROR: CronJobId end10
[2025-01-10 05:56:11] Production.INFO: ==16529== Releasing lock...
[2025-01-10 05:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 05:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 05:56:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 05:56:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 05:56:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 05:56:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 05:56:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 05:56:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 05:56:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 05:56:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 05:56:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 05:56:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 05:56:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 05:56:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 05:56:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 05:56:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 05:56:13] Production.INFO: call_cost start
[2025-01-10 05:56:13] Production.INFO: call_cost end
[2025-01-10 05:56:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 05:56:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 05:56:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 05:56:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 05:56:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 05:56:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 05:56:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 05:56:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 05:56:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 05:56:14] Production.INFO: ==16525== Releasing lock...
[2025-01-10 05:56:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 05:56:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 05:56:19] Production.INFO: count ==60
[2025-01-10 05:56:19] Production.ERROR: pbx CDR StartTime 2025-01-10 02:56:05 - End Time 2025-01-10 05:56:05
[2025-01-10 05:56:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 05:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214919', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214919', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214919', 'tblTempVendorCDR_20' ) start
[2025-01-10 05:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214919', 'tblTempVendorCDR_20' ) end
[2025-01-10 05:56:19] Production.INFO: ProcessCDR(1,14214919,1,1,2)
[2025-01-10 05:56:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214919,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:56:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214919,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:56:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214919,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:56:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214919,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:56:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214919', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:56:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214919', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:56:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:56:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:56:23] Production.INFO: ==16533== Releasing lock...
[2025-01-10 05:56:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 05:56:23] Production.INFO: 28 MB #Memory Used#
[2025-01-10 10:57:01] Production.INFO: ==16589== Lock acquired, processing the job...
[2025-01-10 10:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 10:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 10:57:01] Production.INFO: neon service started
[2025-01-10 10:57:01] Production.INFO: neon service started
[2025-01-10 10:57:01] Production.INFO: ==16589== Releasing lock...
[2025-01-10 10:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 10:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 05:57:01] Production.INFO: ==16591== Lock acquired, processing the job...
[2025-01-10 05:57:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 10:57:02] Production.INFO: ==16593== Lock acquired, processing the job...
[2025-01-10 10:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 05:57:02] Production.INFO: ==16591== Releasing lock...
[2025-01-10 05:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 05:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:57:02] Production.INFO: ==16593== Releasing lock...
[2025-01-10 10:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 10:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 05:57:03] Production.INFO: ==16596== Lock acquired, processing the job...
[2025-01-10 05:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 05:57:03] Production.INFO: ==16604== Lock acquired, processing the job...
[2025-01-10 05:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 05:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 05:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:57:03] Production.INFO: ==16606== Lock acquired, processing the job...
[2025-01-10 05:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 05:57:03] Production.INFO: ==16598== Lock acquired, processing the job...
[2025-01-10 05:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 05:57:03] Production.INFO: ==16600== Lock acquired, processing the job...
[2025-01-10 05:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 05:57:03] Production.INFO: ==16602== Lock acquired, processing the job...
[2025-01-10 05:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 05:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 05:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 05:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 05:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 05:57:03] Production.INFO: Account Balance Start.
[2025-01-10 05:57:03] Production.INFO: CreateAllLog Start
[2025-01-10 05:57:03] Production.INFO: 117
[2025-01-10 05:57:03] Production.INFO: Date 2025-01-08
[2025-01-10 05:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:57:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:57:03] Production.ERROR: done
[2025-01-10 05:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 05:57:03] Production.INFO: count ==21
[2025-01-10 05:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:57:03] Production.INFO: count ==21
[2025-01-10 05:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214922') start
[2025-01-10 05:57:03] Production.INFO: Date 2025-01-09
[2025-01-10 05:57:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:57:03] Production.ERROR: done
[2025-01-10 05:57:03] Production.INFO: Date 2025-01-10
[2025-01-10 05:57:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:57:03] Production.INFO: Total Charge 0
[2025-01-10 05:57:03] Production.INFO: CreateAllLog End
[2025-01-10 05:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214922') end
[2025-01-10 05:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 05:57:03] Production.INFO: 1
[2025-01-10 05:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 05:57:03] Production.INFO: ==16598== Releasing lock...
[2025-01-10 05:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 05:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 05:57:03] Production.INFO: ==16606== Releasing lock...
[2025-01-10 05:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 05:57:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 05:57:03] Production.INFO: Account Balance End.
[2025-01-10 05:57:03] Production.ERROR: CronJobId end 12
[2025-01-10 05:57:03] Production.INFO: ==16602== Releasing lock...
[2025-01-10 05:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 05:57:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 05:57:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 02:57:04
[end_date_ymd] => 2025-01-10 05:57:04
[RateCDR] => 1
)
[2025-01-10 05:57:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 02:57:04' and `end` < '2025-01-10 05:57:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 05:57:10] Production.ERROR: CronJobId end10
[2025-01-10 05:57:10] Production.INFO: ==16600== Releasing lock...
[2025-01-10 05:57:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 05:57:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 05:57:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 05:57:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 05:57:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 05:57:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 05:57:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 05:57:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 05:57:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 05:57:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 05:57:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 05:57:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 05:57:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 05:57:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 05:57:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 05:57:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 05:57:12] Production.INFO: call_cost start
[2025-01-10 05:57:12] Production.INFO: call_cost end
[2025-01-10 05:57:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 05:57:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 05:57:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 05:57:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 05:57:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 05:57:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 05:57:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 05:57:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 05:57:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 05:57:13] Production.INFO: ==16596== Releasing lock...
[2025-01-10 05:57:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 05:57:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 05:57:18] Production.INFO: count ==60
[2025-01-10 05:57:18] Production.ERROR: pbx CDR StartTime 2025-01-10 02:57:04 - End Time 2025-01-10 05:57:04
[2025-01-10 05:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 05:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214924', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214924', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214924', 'tblTempVendorCDR_20' ) start
[2025-01-10 05:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214924', 'tblTempVendorCDR_20' ) end
[2025-01-10 05:57:18] Production.INFO: ProcessCDR(1,14214924,1,1,2)
[2025-01-10 05:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214924,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214924,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214924,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214924,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214924', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214924', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:57:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:57:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:57:21] Production.INFO: ==16604== Releasing lock...
[2025-01-10 05:57:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 05:57:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 10:58:01] Production.INFO: ==16659== Lock acquired, processing the job...
[2025-01-10 10:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 10:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 10:58:01] Production.INFO: neon service started
[2025-01-10 10:58:01] Production.INFO: neon service started
[2025-01-10 10:58:01] Production.INFO: ==16659== Releasing lock...
[2025-01-10 10:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 10:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 05:58:02] Production.INFO: ==16661== Lock acquired, processing the job...
[2025-01-10 05:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 10:58:02] Production.INFO: ==16663== Lock acquired, processing the job...
[2025-01-10 10:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 05:58:02] Production.INFO: ==16661== Releasing lock...
[2025-01-10 05:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 05:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:58:02] Production.INFO: ==16663== Releasing lock...
[2025-01-10 10:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 10:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 05:58:03] Production.INFO: ==16667== Lock acquired, processing the job...
[2025-01-10 05:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 05:58:03] Production.INFO: ==16671== Lock acquired, processing the job...
[2025-01-10 05:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 05:58:03] Production.INFO: ==16665== Lock acquired, processing the job...
[2025-01-10 05:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 05:58:03] Production.INFO: Account Balance Start.
[2025-01-10 05:58:03] Production.INFO: CreateAllLog Start
[2025-01-10 05:58:03] Production.INFO: 117
[2025-01-10 05:58:03] Production.INFO: Date 2025-01-08
[2025-01-10 05:58:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 05:58:03] Production.INFO: Date 2025-01-09
[2025-01-10 05:58:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:58:03] Production.INFO: ==16669== Lock acquired, processing the job...
[2025-01-10 05:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 05:58:03] Production.INFO: ==16674== Lock acquired, processing the job...
[2025-01-10 05:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 05:58:03] Production.INFO: Date 2025-01-10
[2025-01-10 05:58:03] Production.INFO: Reseller ==> 0
[2025-01-10 05:58:03] Production.INFO: Total Charge 0
[2025-01-10 05:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:58:03] Production.INFO: CreateAllLog End
[2025-01-10 05:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 05:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 05:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 05:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 05:58:03] Production.INFO: ==16676== Lock acquired, processing the job...
[2025-01-10 05:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 05:58:03] Production.INFO: ==16667== Releasing lock...
[2025-01-10 05:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 05:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 05:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:58:04] Production.INFO: Account Balance End.
[2025-01-10 05:58:04] Production.INFO: count ==21
[2025-01-10 05:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:58:04] Production.ERROR: CronJobId end 12
[2025-01-10 05:58:04] Production.INFO: ==16671== Releasing lock...
[2025-01-10 05:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 05:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 05:58:04] Production.INFO: count ==21
[2025-01-10 05:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214928') start
[2025-01-10 05:58:04] Production.ERROR: done
[2025-01-10 05:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 05:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214928') end
[2025-01-10 05:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 05:58:04] Production.INFO: 1
[2025-01-10 05:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 05:58:04] Production.ERROR: done
[2025-01-10 05:58:04] Production.INFO: ==16676== Releasing lock...
[2025-01-10 05:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 05:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 05:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 02:58:05
[end_date_ymd] => 2025-01-10 05:58:05
[RateCDR] => 1
)
[2025-01-10 05:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 02:58:05' and `end` < '2025-01-10 05:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 05:58:11] Production.ERROR: CronJobId end10
[2025-01-10 05:58:11] Production.INFO: ==16669== Releasing lock...
[2025-01-10 05:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 05:58:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 05:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 05:58:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 05:58:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 05:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 05:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 05:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 05:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 05:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 05:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 05:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 05:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 05:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 05:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 05:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 05:58:14] Production.INFO: call_cost start
[2025-01-10 05:58:14] Production.INFO: call_cost end
[2025-01-10 05:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 05:58:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 05:58:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 05:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 05:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 05:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 05:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 05:58:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 05:58:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 05:58:14] Production.INFO: ==16665== Releasing lock...
[2025-01-10 05:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 05:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 05:58:19] Production.INFO: count ==60
[2025-01-10 05:58:19] Production.ERROR: pbx CDR StartTime 2025-01-10 02:58:05 - End Time 2025-01-10 05:58:05
[2025-01-10 05:58:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 05:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214929', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214929', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214929', 'tblTempVendorCDR_20' ) start
[2025-01-10 05:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214929', 'tblTempVendorCDR_20' ) end
[2025-01-10 05:58:19] Production.INFO: ProcessCDR(1,14214929,1,1,2)
[2025-01-10 05:58:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214929,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:58:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214929,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:58:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214929,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:58:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214929,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214929', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214929', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:58:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:58:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:58:22] Production.INFO: ==16674== Releasing lock...
[2025-01-10 05:58:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 05:58:22] Production.INFO: 28 MB #Memory Used#
[2025-01-10 10:59:02] Production.INFO: ==16731== Lock acquired, processing the job...
[2025-01-10 10:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 10:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 10:59:02] Production.INFO: neon service started
[2025-01-10 10:59:02] Production.INFO: neon service started
[2025-01-10 10:59:02] Production.INFO: ==16731== Releasing lock...
[2025-01-10 10:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 10:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 05:59:02] Production.INFO: ==16733== Lock acquired, processing the job...
[2025-01-10 05:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 05:59:03] Production.INFO: ==16733== Releasing lock...
[2025-01-10 05:59:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 05:59:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:59:03] Production.INFO: ==16735== Lock acquired, processing the job...
[2025-01-10 10:59:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 10:59:03] Production.INFO: ==16735== Releasing lock...
[2025-01-10 10:59:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 10:59:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 05:59:04] Production.INFO: ==16737== Lock acquired, processing the job...
[2025-01-10 05:59:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 05:59:04] Production.INFO: ==16748== Lock acquired, processing the job...
[2025-01-10 05:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 05:59:04] Production.INFO: ==16739== Lock acquired, processing the job...
[2025-01-10 05:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 05:59:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 05:59:04] Production.INFO: ==16741== Lock acquired, processing the job...
[2025-01-10 05:59:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 05:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:59:04] Production.INFO: count ==21
[2025-01-10 05:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 05:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 05:59:04] Production.INFO: count ==21
[2025-01-10 05:59:04] Production.INFO: ==16743== Lock acquired, processing the job...
[2025-01-10 05:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 05:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 05:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 05:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 05:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214931') start
[2025-01-10 05:59:04] Production.INFO: ==16746== Lock acquired, processing the job...
[2025-01-10 05:59:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 05:59:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 05:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214931') end
[2025-01-10 05:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 05:59:04] Production.INFO: 1
[2025-01-10 05:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 05:59:04] Production.INFO: ==16739== Releasing lock...
[2025-01-10 05:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 05:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 05:59:04] Production.INFO: Account Balance Start.
[2025-01-10 05:59:04] Production.INFO: CreateAllLog Start
[2025-01-10 05:59:04] Production.INFO: 117
[2025-01-10 05:59:04] Production.INFO: Date 2025-01-08
[2025-01-10 05:59:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:59:04] Production.ERROR: done
[2025-01-10 05:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 05:59:04] Production.INFO: ==16748== Releasing lock...
[2025-01-10 05:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 05:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 05:59:04] Production.INFO: Date 2025-01-09
[2025-01-10 05:59:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:59:04] Production.INFO: Date 2025-01-10
[2025-01-10 05:59:04] Production.INFO: Reseller ==> 0
[2025-01-10 05:59:04] Production.ERROR: done
[2025-01-10 05:59:04] Production.INFO: Total Charge 0
[2025-01-10 05:59:04] Production.INFO: CreateAllLog End
[2025-01-10 05:59:05] Production.INFO: Account Balance End.
[2025-01-10 05:59:05] Production.ERROR: CronJobId end 12
[2025-01-10 05:59:05] Production.INFO: ==16743== Releasing lock...
[2025-01-10 05:59:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 05:59:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 05:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 02:59:05
[end_date_ymd] => 2025-01-10 05:59:05
[RateCDR] => 1
)
[2025-01-10 05:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 02:59:05' and `end` < '2025-01-10 05:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 05:59:12] Production.ERROR: CronJobId end10
[2025-01-10 05:59:12] Production.INFO: ==16741== Releasing lock...
[2025-01-10 05:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 05:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 05:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 05:59:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 05:59:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 05:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 05:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 05:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 05:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 05:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 05:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 05:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 05:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 05:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 05:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 05:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 05:59:14] Production.INFO: call_cost start
[2025-01-10 05:59:14] Production.INFO: call_cost end
[2025-01-10 05:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 05:59:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 05:59:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 05:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 05:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 05:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 05:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 05:59:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 05:59:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 05:59:14] Production.INFO: ==16737== Releasing lock...
[2025-01-10 05:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 05:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 05:59:18] Production.INFO: count ==60
[2025-01-10 05:59:18] Production.ERROR: pbx CDR StartTime 2025-01-10 02:59:05 - End Time 2025-01-10 05:59:05
[2025-01-10 05:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 05:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214934', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214934', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214934', 'tblTempVendorCDR_20' ) start
[2025-01-10 05:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214934', 'tblTempVendorCDR_20' ) end
[2025-01-10 05:59:18] Production.INFO: ProcessCDR(1,14214934,1,1,2)
[2025-01-10 05:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214934,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:59:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214934,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 05:59:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214934,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:59:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214934,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 05:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214934', 'tblTempUsageDetail_20' ) start
[2025-01-10 05:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214934', 'tblTempUsageDetail_20' ) end
[2025-01-10 05:59:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 05:59:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 05:59:22] Production.INFO: ==16746== Releasing lock...
[2025-01-10 05:59:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 05:59:22] Production.INFO: 28 MB #Memory Used#
[2025-01-10 11:00:02] Production.INFO: ==16842== Lock acquired, processing the job...
[2025-01-10 11:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 11:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 11:00:02] Production.INFO: neon service started
[2025-01-10 11:00:02] Production.INFO: neon service started
[2025-01-10 11:00:02] Production.INFO: ==16842== Releasing lock...
[2025-01-10 11:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 11:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:00:02] Production.INFO: ==16846== Lock acquired, processing the job...
[2025-01-10 11:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 11:00:02] Production.INFO: ==16846== Releasing lock...
[2025-01-10 11:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 11:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 06:00:02] Production.INFO: ==16844== Lock acquired, processing the job...
[2025-01-10 06:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:00:03] Production.INFO: ==16844== Releasing lock...
[2025-01-10 06:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 06:00:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 06:00:03] Production.INFO: ==16848== Lock acquired, processing the job...
[2025-01-10 06:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 06:00:04] Production.INFO: ==16853== Lock acquired, processing the job...
[2025-01-10 06:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 06:00:04] Production.INFO: ==16850== Lock acquired, processing the job...
[2025-01-10 06:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 06:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 06:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 06:00:04] Production.ERROR: CronJob PID - 16850
[2025-01-10 06:00:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-10 06:00:04] Production.ERROR: CronJob ID - 5
[2025-01-10 06:00:04] Production.ERROR: CronJob Last Run Time 2025-01-10 06:00:00
[2025-01-10 06:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 06:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 06:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 06:00:04] Production.INFO: ==16848== Releasing lock...
[2025-01-10 06:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 06:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 06:00:04] Production.INFO: ==16855== Lock acquired, processing the job...
[2025-01-10 06:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 06:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 06:00:04] Production.INFO: ==16857== Lock acquired, processing the job...
[2025-01-10 06:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 06:00:04] Production.INFO: ==16859== Lock acquired, processing the job...
[2025-01-10 06:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 06:00:04] Production.INFO: ==16861== Lock acquired, processing the job...
[2025-01-10 06:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 06:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 06:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 06:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 06:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 06:00:04] Production.INFO: Account Balance Start.
[2025-01-10 06:00:04] Production.INFO: CreateAllLog Start
[2025-01-10 06:00:04] Production.INFO: 117
[2025-01-10 06:00:04] Production.INFO: Date 2025-01-08
[2025-01-10 06:00:04] Production.INFO: Reseller ==> 0
[2025-01-10 06:00:04] Production.INFO: Date 2025-01-09
[2025-01-10 06:00:04] Production.INFO: Reseller ==> 0
[2025-01-10 06:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:00:04] Production.INFO: Date 2025-01-10
[2025-01-10 06:00:04] Production.INFO: Reseller ==> 0
[2025-01-10 06:00:04] Production.INFO: ==16863== Lock acquired, processing the job...
[2025-01-10 06:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 06:00:04] Production.INFO: ==16853== Releasing lock...
[2025-01-10 06:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 06:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 06:00:04] Production.INFO: Total Charge 0
[2025-01-10 06:00:04] Production.INFO: CreateAllLog End
[2025-01-10 06:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:00:04] Production.INFO: count ==21
[2025-01-10 06:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:00:04] Production.INFO: count ==21
[2025-01-10 06:00:04] Production.ERROR: done
[2025-01-10 06:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214938') start
[2025-01-10 06:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 06:00:04] Production.ERROR: done
[2025-01-10 06:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214938') end
[2025-01-10 06:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 06:00:04] Production.INFO: 1
[2025-01-10 06:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 06:00:04] Production.INFO: Account Balance End.
[2025-01-10 06:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 06:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14214939', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 06:00:05] Production.ERROR: done
[2025-01-10 06:00:05] Production.ERROR: CronJobId end 12
[2025-01-10 06:00:05] Production.INFO: ==16857== Releasing lock...
[2025-01-10 06:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 06:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 06:00:05] Production.INFO: ==16863== Releasing lock...
[2025-01-10 06:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 06:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 06:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 03:00:06
[end_date_ymd] => 2025-01-10 06:00:06
[RateCDR] => 1
)
[2025-01-10 06:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 03:00:06' and `end` < '2025-01-10 06:00:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 06:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14214939', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 06:00:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 06:00:08] Production.INFO: ProcessCDR(1,14214939,1,1,2)
[2025-01-10 06:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14214939,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14214939,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:00:09] Production.INFO: ==16861== Releasing lock...
[2025-01-10 06:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 06:00:09] Production.INFO: 26 MB #Memory Used#
[2025-01-10 06:00:13] Production.ERROR: CronJobId end10
[2025-01-10 06:00:13] Production.INFO: ==16855== Releasing lock...
[2025-01-10 06:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 06:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 06:00:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 06:00:15] Production.INFO: ============== Balance Warning START===========
[2025-01-10 06:00:15] Production.INFO: ============== Balance Warning END===========
[2025-01-10 06:00:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 06:00:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 06:00:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 06:00:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 06:00:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 06:00:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 06:00:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 06:00:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 06:00:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 06:00:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 06:00:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 06:00:15] Production.INFO: call_cost start
[2025-01-10 06:00:15] Production.INFO: call_cost end
[2025-01-10 06:00:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 06:00:16] Production.INFO: ============== Report Schedule START===========
[2025-01-10 06:00:16] Production.INFO: ============== Report Schedule END===========
[2025-01-10 06:00:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 06:00:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 06:00:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 06:00:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 06:00:16] Production.INFO: ============== Deal alert START===========
[2025-01-10 06:00:16] Production.INFO: ============== Deal alert END===========
[2025-01-10 06:00:16] Production.INFO: ==16850== Releasing lock...
[2025-01-10 06:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 06:00:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 06:00:19] Production.INFO: count ==60
[2025-01-10 06:00:19] Production.ERROR: pbx CDR StartTime 2025-01-10 03:00:06 - End Time 2025-01-10 06:00:06
[2025-01-10 06:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 06:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214940', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214940', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214940', 'tblTempVendorCDR_20' ) start
[2025-01-10 06:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214940', 'tblTempVendorCDR_20' ) end
[2025-01-10 06:00:19] Production.INFO: ProcessCDR(1,14214940,1,1,2)
[2025-01-10 06:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214940,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214940,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214940,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:00:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214940,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214940', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214940', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:00:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:00:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:00:22] Production.INFO: ==16859== Releasing lock...
[2025-01-10 06:00:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 06:00:22] Production.INFO: 28 MB #Memory Used#
[2025-01-10 11:01:01] Production.INFO: ==16919== Lock acquired, processing the job...
[2025-01-10 11:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 11:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 11:01:01] Production.INFO: neon service started
[2025-01-10 11:01:01] Production.INFO: neon service started
[2025-01-10 11:01:01] Production.INFO: ==16919== Releasing lock...
[2025-01-10 11:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 11:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:01:01] Production.INFO: ==16932== Lock acquired, processing the job...
[2025-01-10 11:01:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 11:01:01] Production.INFO: ==16932== Releasing lock...
[2025-01-10 11:01:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 11:01:01] Production.INFO: 25 MB #Memory Used#
[2025-01-10 06:01:02] Production.INFO: ==16930== Lock acquired, processing the job...
[2025-01-10 06:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:01:02] Production.INFO: ==16930== Releasing lock...
[2025-01-10 06:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 06:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 06:01:03] Production.INFO: ==16934== Lock acquired, processing the job...
[2025-01-10 06:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 06:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 06:01:03] Production.INFO: ==16941== Lock acquired, processing the job...
[2025-01-10 06:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 06:01:03] Production.INFO: ==16945== Lock acquired, processing the job...
[2025-01-10 06:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 06:01:03] Production.INFO: Account Balance Start.
[2025-01-10 06:01:03] Production.INFO: CreateAllLog Start
[2025-01-10 06:01:03] Production.INFO: 117
[2025-01-10 06:01:03] Production.INFO: Date 2025-01-08
[2025-01-10 06:01:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:01:03] Production.INFO: ==16936== Lock acquired, processing the job...
[2025-01-10 06:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 06:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:01:03] Production.INFO: count ==21
[2025-01-10 06:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:01:03] Production.INFO: Date 2025-01-09
[2025-01-10 06:01:03] Production.INFO: count ==21
[2025-01-10 06:01:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:01:03] Production.INFO: ==16939== Lock acquired, processing the job...
[2025-01-10 06:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 06:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214943') start
[2025-01-10 06:01:03] Production.INFO: Date 2025-01-10
[2025-01-10 06:01:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:01:03] Production.INFO: ==16943== Lock acquired, processing the job...
[2025-01-10 06:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 06:01:03] Production.INFO: Total Charge 0
[2025-01-10 06:01:03] Production.INFO: CreateAllLog End
[2025-01-10 06:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 06:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 06:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 06:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 06:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214943') end
[2025-01-10 06:01:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 06:01:03] Production.INFO: 1
[2025-01-10 06:01:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 06:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:01:03] Production.INFO: ==16945== Releasing lock...
[2025-01-10 06:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 06:01:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 06:01:03] Production.INFO: Account Balance End.
[2025-01-10 06:01:03] Production.ERROR: CronJobId end 12
[2025-01-10 06:01:03] Production.INFO: ==16941== Releasing lock...
[2025-01-10 06:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 06:01:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 06:01:03] Production.INFO: ==16936== Releasing lock...
[2025-01-10 06:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 06:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 06:01:04] Production.ERROR: done
[2025-01-10 06:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 06:01:04] Production.ERROR: done
[2025-01-10 06:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 03:01:05
[end_date_ymd] => 2025-01-10 06:01:05
[RateCDR] => 1
)
[2025-01-10 06:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 03:01:05' and `end` < '2025-01-10 06:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 06:01:11] Production.ERROR: CronJobId end10
[2025-01-10 06:01:11] Production.INFO: ==16939== Releasing lock...
[2025-01-10 06:01:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 06:01:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 06:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 06:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 06:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 06:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 06:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 06:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 06:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 06:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 06:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 06:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 06:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 06:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 06:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 06:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 06:01:13] Production.INFO: call_cost start
[2025-01-10 06:01:13] Production.INFO: call_cost end
[2025-01-10 06:01:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 06:01:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 06:01:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 06:01:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 06:01:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 06:01:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 06:01:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 06:01:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 06:01:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 06:01:14] Production.INFO: ==16934== Releasing lock...
[2025-01-10 06:01:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 06:01:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 06:01:18] Production.INFO: count ==60
[2025-01-10 06:01:18] Production.ERROR: pbx CDR StartTime 2025-01-10 03:01:05 - End Time 2025-01-10 06:01:05
[2025-01-10 06:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 06:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214945', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214945', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214945', 'tblTempVendorCDR_20' ) start
[2025-01-10 06:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214945', 'tblTempVendorCDR_20' ) end
[2025-01-10 06:01:18] Production.INFO: ProcessCDR(1,14214945,1,1,2)
[2025-01-10 06:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214945,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:01:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214945,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:01:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214945,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:01:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214945,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214945', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214945', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:01:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:01:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:01:22] Production.INFO: ==16943== Releasing lock...
[2025-01-10 06:01:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 06:01:22] Production.INFO: 28 MB #Memory Used#
[2025-01-10 11:02:02] Production.INFO: ==16999== Lock acquired, processing the job...
[2025-01-10 11:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 11:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 11:02:02] Production.INFO: neon service started
[2025-01-10 11:02:02] Production.INFO: neon service started
[2025-01-10 11:02:02] Production.INFO: ==16999== Releasing lock...
[2025-01-10 11:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 11:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 06:02:02] Production.INFO: ==17001== Lock acquired, processing the job...
[2025-01-10 06:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:02:02] Production.INFO: ==17001== Releasing lock...
[2025-01-10 06:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 06:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 11:02:02] Production.INFO: ==17004== Lock acquired, processing the job...
[2025-01-10 11:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 11:02:02] Production.INFO: ==17004== Releasing lock...
[2025-01-10 11:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 11:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 06:02:03] Production.INFO: ==17010== Lock acquired, processing the job...
[2025-01-10 06:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 06:02:03] Production.INFO: ==17008== Lock acquired, processing the job...
[2025-01-10 06:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 06:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 06:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 06:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 06:02:03] Production.INFO: ==17014== Lock acquired, processing the job...
[2025-01-10 06:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 06:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 06:02:03] Production.INFO: ==17006== Lock acquired, processing the job...
[2025-01-10 06:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 06:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 06:02:03] Production.INFO: ==17012== Lock acquired, processing the job...
[2025-01-10 06:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 06:02:03] Production.INFO: ==17016== Lock acquired, processing the job...
[2025-01-10 06:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 06:02:04] Production.INFO: ==17008== Releasing lock...
[2025-01-10 06:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 06:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 06:02:04] Production.ERROR: done
[2025-01-10 06:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 06:02:04] Production.INFO: Account Balance Start.
[2025-01-10 06:02:04] Production.INFO: CreateAllLog Start
[2025-01-10 06:02:04] Production.INFO: 117
[2025-01-10 06:02:04] Production.INFO: Date 2025-01-08
[2025-01-10 06:02:04] Production.INFO: Reseller ==> 0
[2025-01-10 06:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:02:04] Production.INFO: Date 2025-01-09
[2025-01-10 06:02:04] Production.INFO: Reseller ==> 0
[2025-01-10 06:02:04] Production.INFO: Date 2025-01-10
[2025-01-10 06:02:04] Production.INFO: Reseller ==> 0
[2025-01-10 06:02:04] Production.INFO: count ==21
[2025-01-10 06:02:04] Production.INFO: Total Charge 0
[2025-01-10 06:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:02:04] Production.INFO: CreateAllLog End
[2025-01-10 06:02:04] Production.INFO: count ==21
[2025-01-10 06:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214949') start
[2025-01-10 06:02:04] Production.ERROR: done
[2025-01-10 06:02:04] Production.INFO: Account Balance End.
[2025-01-10 06:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214949') end
[2025-01-10 06:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 06:02:04] Production.INFO: 1
[2025-01-10 06:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 06:02:04] Production.ERROR: CronJobId end 12
[2025-01-10 06:02:04] Production.INFO: ==17012== Releasing lock...
[2025-01-10 06:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 06:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 06:02:04] Production.INFO: ==17016== Releasing lock...
[2025-01-10 06:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 06:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 06:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 03:02:05
[end_date_ymd] => 2025-01-10 06:02:05
[RateCDR] => 1
)
[2025-01-10 06:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 03:02:05' and `end` < '2025-01-10 06:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 06:02:12] Production.ERROR: CronJobId end10
[2025-01-10 06:02:12] Production.INFO: ==17010== Releasing lock...
[2025-01-10 06:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 06:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 06:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 06:02:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 06:02:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 06:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 06:02:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 06:02:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 06:02:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 06:02:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 06:02:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 06:02:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 06:02:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 06:02:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 06:02:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 06:02:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 06:02:14] Production.INFO: call_cost start
[2025-01-10 06:02:14] Production.INFO: call_cost end
[2025-01-10 06:02:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 06:02:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 06:02:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 06:02:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 06:02:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 06:02:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 06:02:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 06:02:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 06:02:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 06:02:15] Production.INFO: ==17006== Releasing lock...
[2025-01-10 06:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 06:02:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 06:02:19] Production.INFO: count ==60
[2025-01-10 06:02:19] Production.ERROR: pbx CDR StartTime 2025-01-10 03:02:05 - End Time 2025-01-10 06:02:05
[2025-01-10 06:02:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 06:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214950', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214950', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214950', 'tblTempVendorCDR_20' ) start
[2025-01-10 06:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214950', 'tblTempVendorCDR_20' ) end
[2025-01-10 06:02:19] Production.INFO: ProcessCDR(1,14214950,1,1,2)
[2025-01-10 06:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214950,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:02:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214950,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:02:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214950,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:02:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214950,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214950', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214950', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:02:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:02:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:02:22] Production.INFO: ==17014== Releasing lock...
[2025-01-10 06:02:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 06:02:22] Production.INFO: 28 MB #Memory Used#
[2025-01-10 11:03:01] Production.INFO: ==17073== Lock acquired, processing the job...
[2025-01-10 11:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 11:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 11:03:01] Production.INFO: neon service started
[2025-01-10 11:03:01] Production.INFO: neon service started
[2025-01-10 11:03:01] Production.INFO: ==17073== Releasing lock...
[2025-01-10 11:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 11:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 06:03:01] Production.INFO: ==17075== Lock acquired, processing the job...
[2025-01-10 06:03:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 11:03:02] Production.INFO: ==17077== Lock acquired, processing the job...
[2025-01-10 11:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 06:03:02] Production.INFO: ==17075== Releasing lock...
[2025-01-10 06:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 06:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 11:03:02] Production.INFO: ==17077== Releasing lock...
[2025-01-10 11:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 11:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 06:03:02] Production.INFO: ==17082== Lock acquired, processing the job...
[2025-01-10 06:03:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 06:03:02] Production.INFO: ==17080== Lock acquired, processing the job...
[2025-01-10 06:03:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 06:03:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 06:03:03] Production.INFO: ==17084== Lock acquired, processing the job...
[2025-01-10 06:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 06:03:03] Production.INFO: ==17086== Lock acquired, processing the job...
[2025-01-10 06:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 06:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 06:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 06:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 06:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 06:03:03] Production.INFO: ==17088== Lock acquired, processing the job...
[2025-01-10 06:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 06:03:03] Production.INFO: ==17090== Lock acquired, processing the job...
[2025-01-10 06:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 06:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:03:03] Production.INFO: Account Balance Start.
[2025-01-10 06:03:03] Production.INFO: CreateAllLog Start
[2025-01-10 06:03:03] Production.INFO: 117
[2025-01-10 06:03:03] Production.INFO: Date 2025-01-08
[2025-01-10 06:03:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:03:03] Production.INFO: Date 2025-01-09
[2025-01-10 06:03:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:03:03] Production.INFO: Date 2025-01-10
[2025-01-10 06:03:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:03:03] Production.INFO: Total Charge 0
[2025-01-10 06:03:03] Production.INFO: CreateAllLog End
[2025-01-10 06:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:03:03] Production.INFO: ==17082== Releasing lock...
[2025-01-10 06:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 06:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 06:03:03] Production.INFO: count ==21
[2025-01-10 06:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:03:03] Production.INFO: count ==21
[2025-01-10 06:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214954') start
[2025-01-10 06:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214954') end
[2025-01-10 06:03:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 06:03:03] Production.INFO: 1
[2025-01-10 06:03:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 06:03:03] Production.ERROR: done
[2025-01-10 06:03:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 06:03:03] Production.INFO: ==17090== Releasing lock...
[2025-01-10 06:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 06:03:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 06:03:03] Production.ERROR: done
[2025-01-10 06:03:03] Production.INFO: Account Balance End.
[2025-01-10 06:03:03] Production.ERROR: CronJobId end 12
[2025-01-10 06:03:03] Production.INFO: ==17086== Releasing lock...
[2025-01-10 06:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 06:03:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 06:03:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 03:03:04
[end_date_ymd] => 2025-01-10 06:03:04
[RateCDR] => 1
)
[2025-01-10 06:03:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 03:03:04' and `end` < '2025-01-10 06:03:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 06:03:11] Production.ERROR: CronJobId end10
[2025-01-10 06:03:11] Production.INFO: ==17084== Releasing lock...
[2025-01-10 06:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 06:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 06:03:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 06:03:11] Production.INFO: ============== Balance Warning START===========
[2025-01-10 06:03:11] Production.INFO: ============== Balance Warning END===========
[2025-01-10 06:03:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 06:03:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 06:03:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 06:03:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 06:03:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 06:03:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 06:03:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 06:03:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 06:03:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 06:03:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 06:03:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 06:03:12] Production.INFO: call_cost start
[2025-01-10 06:03:12] Production.INFO: call_cost end
[2025-01-10 06:03:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 06:03:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 06:03:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 06:03:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 06:03:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 06:03:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 06:03:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 06:03:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 06:03:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 06:03:13] Production.INFO: ==17080== Releasing lock...
[2025-01-10 06:03:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 06:03:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 06:03:17] Production.INFO: count ==60
[2025-01-10 06:03:17] Production.ERROR: pbx CDR StartTime 2025-01-10 03:03:04 - End Time 2025-01-10 06:03:04
[2025-01-10 06:03:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 06:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214955', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214955', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214955', 'tblTempVendorCDR_20' ) start
[2025-01-10 06:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214955', 'tblTempVendorCDR_20' ) end
[2025-01-10 06:03:17] Production.INFO: ProcessCDR(1,14214955,1,1,2)
[2025-01-10 06:03:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214955,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:03:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214955,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:03:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214955,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214955,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214955', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214955', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:03:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:03:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:03:21] Production.INFO: ==17088== Releasing lock...
[2025-01-10 06:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 06:03:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 11:04:01] Production.INFO: ==17143== Lock acquired, processing the job...
[2025-01-10 11:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 11:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 11:04:01] Production.INFO: neon service started
[2025-01-10 11:04:01] Production.INFO: neon service started
[2025-01-10 11:04:01] Production.INFO: ==17143== Releasing lock...
[2025-01-10 11:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 11:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:04:02] Production.INFO: ==17148== Lock acquired, processing the job...
[2025-01-10 11:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 11:04:02] Production.INFO: ==17148== Releasing lock...
[2025-01-10 11:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 11:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 06:04:02] Production.INFO: ==17146== Lock acquired, processing the job...
[2025-01-10 06:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:04:02] Production.INFO: ==17146== Releasing lock...
[2025-01-10 06:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 06:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 06:04:03] Production.INFO: ==17152== Lock acquired, processing the job...
[2025-01-10 06:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 06:04:03] Production.INFO: ==17154== Lock acquired, processing the job...
[2025-01-10 06:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 06:04:03] Production.INFO: ==17156== Lock acquired, processing the job...
[2025-01-10 06:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 06:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 06:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 06:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 06:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 06:04:03] Production.INFO: Account Balance Start.
[2025-01-10 06:04:03] Production.INFO: CreateAllLog Start
[2025-01-10 06:04:03] Production.INFO: 117
[2025-01-10 06:04:03] Production.INFO: Date 2025-01-08
[2025-01-10 06:04:03] Production.INFO: ==17150== Lock acquired, processing the job...
[2025-01-10 06:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 06:04:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:04:03] Production.INFO: Date 2025-01-09
[2025-01-10 06:04:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 06:04:03] Production.INFO: Date 2025-01-10
[2025-01-10 06:04:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:04:03] Production.INFO: Total Charge 0
[2025-01-10 06:04:03] Production.INFO: CreateAllLog End
[2025-01-10 06:04:03] Production.INFO: ==17152== Releasing lock...
[2025-01-10 06:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 06:04:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 06:04:03] Production.INFO: ==17158== Lock acquired, processing the job...
[2025-01-10 06:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 06:04:03] Production.INFO: ==17160== Lock acquired, processing the job...
[2025-01-10 06:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 06:04:03] Production.INFO: Account Balance End.
[2025-01-10 06:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:04:03] Production.ERROR: CronJobId end 12
[2025-01-10 06:04:03] Production.INFO: ==17156== Releasing lock...
[2025-01-10 06:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 06:04:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 06:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:04:04] Production.INFO: count ==21
[2025-01-10 06:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:04:04] Production.INFO: count ==21
[2025-01-10 06:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214959') start
[2025-01-10 06:04:04] Production.ERROR: done
[2025-01-10 06:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 06:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214959') end
[2025-01-10 06:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 06:04:04] Production.INFO: 1
[2025-01-10 06:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 06:04:04] Production.INFO: ==17160== Releasing lock...
[2025-01-10 06:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 06:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 06:04:04] Production.ERROR: done
[2025-01-10 06:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 03:04:05
[end_date_ymd] => 2025-01-10 06:04:05
[RateCDR] => 1
)
[2025-01-10 06:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 03:04:05' and `end` < '2025-01-10 06:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 06:04:10] Production.ERROR: CronJobId end10
[2025-01-10 06:04:10] Production.INFO: ==17154== Releasing lock...
[2025-01-10 06:04:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 06:04:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 06:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 06:04:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 06:04:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 06:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 06:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 06:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 06:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 06:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 06:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 06:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 06:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 06:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 06:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 06:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 06:04:13] Production.INFO: call_cost start
[2025-01-10 06:04:13] Production.INFO: call_cost end
[2025-01-10 06:04:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 06:04:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 06:04:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 06:04:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 06:04:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 06:04:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 06:04:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 06:04:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 06:04:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 06:04:14] Production.INFO: ==17150== Releasing lock...
[2025-01-10 06:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 06:04:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 06:04:18] Production.INFO: count ==60
[2025-01-10 06:04:18] Production.ERROR: pbx CDR StartTime 2025-01-10 03:04:05 - End Time 2025-01-10 06:04:05
[2025-01-10 06:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 06:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214960', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214960', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214960', 'tblTempVendorCDR_20' ) start
[2025-01-10 06:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214960', 'tblTempVendorCDR_20' ) end
[2025-01-10 06:04:18] Production.INFO: ProcessCDR(1,14214960,1,1,2)
[2025-01-10 06:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214960,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214960,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214960,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:04:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214960,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214960', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214960', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:04:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:04:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:04:21] Production.INFO: ==17158== Releasing lock...
[2025-01-10 06:04:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 06:04:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 11:05:02] Production.INFO: ==17215== Lock acquired, processing the job...
[2025-01-10 11:05:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 11:05:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 11:05:02] Production.INFO: neon service started
[2025-01-10 11:05:02] Production.INFO: neon service started
[2025-01-10 11:05:02] Production.INFO: ==17215== Releasing lock...
[2025-01-10 11:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 11:05:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 06:05:02] Production.INFO: ==17217== Lock acquired, processing the job...
[2025-01-10 06:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:05:02] Production.INFO: ==17217== Releasing lock...
[2025-01-10 06:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 06:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 11:05:03] Production.INFO: ==17219== Lock acquired, processing the job...
[2025-01-10 11:05:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 11:05:03] Production.INFO: ==17219== Releasing lock...
[2025-01-10 11:05:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 11:05:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 06:05:03] Production.INFO: ==17222== Lock acquired, processing the job...
[2025-01-10 06:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 06:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 06:05:03] Production.INFO: ==17228== Lock acquired, processing the job...
[2025-01-10 06:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 06:05:03] Production.INFO: ==17230== Lock acquired, processing the job...
[2025-01-10 06:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 06:05:03] Production.INFO: ==17226== Lock acquired, processing the job...
[2025-01-10 06:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 06:05:03] Production.INFO: Account Balance Start.
[2025-01-10 06:05:03] Production.INFO: CreateAllLog Start
[2025-01-10 06:05:03] Production.INFO: 117
[2025-01-10 06:05:03] Production.INFO: Date 2025-01-08
[2025-01-10 06:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:05:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:05:03] Production.INFO: ==17224== Lock acquired, processing the job...
[2025-01-10 06:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 06:05:03] Production.INFO: ==17232== Lock acquired, processing the job...
[2025-01-10 06:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 06:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 06:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 06:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 06:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 06:05:03] Production.INFO: Date 2025-01-09
[2025-01-10 06:05:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:05:04] Production.INFO: Date 2025-01-10
[2025-01-10 06:05:04] Production.INFO: Reseller ==> 0
[2025-01-10 06:05:04] Production.INFO: Total Charge 0
[2025-01-10 06:05:04] Production.INFO: CreateAllLog End
[2025-01-10 06:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:05:04] Production.INFO: Account Balance End.
[2025-01-10 06:05:04] Production.INFO: count ==21
[2025-01-10 06:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:05:04] Production.INFO: count ==21
[2025-01-10 06:05:04] Production.ERROR: CronJobId end 12
[2025-01-10 06:05:04] Production.INFO: ==17228== Releasing lock...
[2025-01-10 06:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 06:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 06:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214963') start
[2025-01-10 06:05:04] Production.ERROR: done
[2025-01-10 06:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 06:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214963') end
[2025-01-10 06:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 06:05:04] Production.INFO: 1
[2025-01-10 06:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 06:05:04] Production.ERROR: done
[2025-01-10 06:05:04] Production.INFO: ==17232== Releasing lock...
[2025-01-10 06:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 06:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 06:05:04] Production.INFO: ==17224== Releasing lock...
[2025-01-10 06:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 06:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 06:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 03:05:05
[end_date_ymd] => 2025-01-10 06:05:05
[RateCDR] => 1
)
[2025-01-10 06:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 03:05:05' and `end` < '2025-01-10 06:05:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 06:05:11] Production.ERROR: CronJobId end10
[2025-01-10 06:05:11] Production.INFO: ==17226== Releasing lock...
[2025-01-10 06:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 06:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 06:05:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 06:05:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 06:05:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 06:05:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 06:05:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 06:05:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 06:05:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 06:05:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 06:05:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 06:05:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 06:05:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 06:05:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 06:05:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 06:05:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 06:05:13] Production.INFO: call_cost start
[2025-01-10 06:05:13] Production.INFO: call_cost end
[2025-01-10 06:05:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 06:05:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 06:05:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 06:05:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 06:05:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 06:05:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 06:05:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 06:05:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 06:05:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 06:05:14] Production.INFO: ==17222== Releasing lock...
[2025-01-10 06:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 06:05:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 06:05:18] Production.INFO: count ==60
[2025-01-10 06:05:18] Production.ERROR: pbx CDR StartTime 2025-01-10 03:05:05 - End Time 2025-01-10 06:05:05
[2025-01-10 06:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 06:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214965', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214965', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214965', 'tblTempVendorCDR_20' ) start
[2025-01-10 06:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214965', 'tblTempVendorCDR_20' ) end
[2025-01-10 06:05:18] Production.INFO: ProcessCDR(1,14214965,1,1,2)
[2025-01-10 06:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214965,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214965,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214965,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214965,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214965', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214965', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:05:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:05:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:05:21] Production.INFO: ==17230== Releasing lock...
[2025-01-10 06:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 06:05:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 11:06:01] Production.INFO: ==17285== Lock acquired, processing the job...
[2025-01-10 11:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 11:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 11:06:01] Production.INFO: neon service started
[2025-01-10 11:06:01] Production.INFO: neon service started
[2025-01-10 11:06:01] Production.INFO: ==17285== Releasing lock...
[2025-01-10 11:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 11:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:06:02] Production.INFO: ==17289== Lock acquired, processing the job...
[2025-01-10 11:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 11:06:02] Production.INFO: ==17289== Releasing lock...
[2025-01-10 11:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 11:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 06:06:02] Production.INFO: ==17287== Lock acquired, processing the job...
[2025-01-10 06:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:06:02] Production.INFO: ==17287== Releasing lock...
[2025-01-10 06:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 06:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 06:06:03] Production.INFO: ==17296== Lock acquired, processing the job...
[2025-01-10 06:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 06:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 06:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 06:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 06:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 06:06:03] Production.INFO: ==17302== Lock acquired, processing the job...
[2025-01-10 06:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 06:06:03] Production.INFO: ==17292== Lock acquired, processing the job...
[2025-01-10 06:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 06:06:03] Production.INFO: ==17294== Lock acquired, processing the job...
[2025-01-10 06:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 06:06:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:06:03] Production.INFO: ==17300== Lock acquired, processing the job...
[2025-01-10 06:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 06:06:03] Production.INFO: ==17298== Lock acquired, processing the job...
[2025-01-10 06:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 06:06:03] Production.INFO: count ==21
[2025-01-10 06:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 06:06:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:06:03] Production.INFO: count ==21
[2025-01-10 06:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214966') start
[2025-01-10 06:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:06:03] Production.INFO: Account Balance Start.
[2025-01-10 06:06:03] Production.INFO: CreateAllLog Start
[2025-01-10 06:06:03] Production.INFO: 117
[2025-01-10 06:06:03] Production.INFO: Date 2025-01-08
[2025-01-10 06:06:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214966') end
[2025-01-10 06:06:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 06:06:03] Production.INFO: 1
[2025-01-10 06:06:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 06:06:03] Production.INFO: Date 2025-01-09
[2025-01-10 06:06:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:06:04] Production.ERROR: done
[2025-01-10 06:06:04] Production.INFO: Date 2025-01-10
[2025-01-10 06:06:04] Production.INFO: Reseller ==> 0
[2025-01-10 06:06:04] Production.INFO: ==17302== Releasing lock...
[2025-01-10 06:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 06:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 06:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 06:06:04] Production.INFO: Total Charge 0
[2025-01-10 06:06:04] Production.INFO: CreateAllLog End
[2025-01-10 06:06:04] Production.INFO: ==17294== Releasing lock...
[2025-01-10 06:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 06:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 06:06:04] Production.ERROR: done
[2025-01-10 06:06:04] Production.INFO: Account Balance End.
[2025-01-10 06:06:04] Production.ERROR: CronJobId end 12
[2025-01-10 06:06:04] Production.INFO: ==17298== Releasing lock...
[2025-01-10 06:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 06:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 06:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 03:06:05
[end_date_ymd] => 2025-01-10 06:06:05
[RateCDR] => 1
)
[2025-01-10 06:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 03:06:05' and `end` < '2025-01-10 06:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 06: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-01-10 06:06:10] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 06:06:10] Production.INFO: ============== Balance Warning START===========
[2025-01-10 06:06:10] Production.INFO: ============== Balance Warning END===========
[2025-01-10 06:06:10] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 06:06:10] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 06:06:10] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 06:06:10] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 06:06:10] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 06:06:10] Production.ERROR: CronJobId end10
[2025-01-10 06:06:10] Production.INFO: ==17296== Releasing lock...
[2025-01-10 06:06:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 06:06:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 06:06:10] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 06:06:10] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 06:06:10] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 06:06:10] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 06:06:10] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 06:06:10] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 06:06:11] Production.INFO: call_cost start
[2025-01-10 06:06:11] Production.INFO: call_cost end
[2025-01-10 06:06:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 06:06:12] Production.INFO: ============== Report Schedule START===========
[2025-01-10 06:06:12] Production.INFO: ============== Report Schedule END===========
[2025-01-10 06:06:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 06:06:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 06:06:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 06:06:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 06:06:12] Production.INFO: ============== Deal alert START===========
[2025-01-10 06:06:12] Production.INFO: ============== Deal alert END===========
[2025-01-10 06:06:12] Production.INFO: ==17292== Releasing lock...
[2025-01-10 06:06:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 06:06:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 06:06:18] Production.INFO: count ==60
[2025-01-10 06:06:18] Production.ERROR: pbx CDR StartTime 2025-01-10 03:06:05 - End Time 2025-01-10 06:06:05
[2025-01-10 06:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 06:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214970', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214970', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214970', 'tblTempVendorCDR_20' ) start
[2025-01-10 06:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214970', 'tblTempVendorCDR_20' ) end
[2025-01-10 06:06:18] Production.INFO: ProcessCDR(1,14214970,1,1,2)
[2025-01-10 06:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214970,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214970,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214970,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:06:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214970,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214970', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214970', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:06:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:06:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:06:21] Production.INFO: ==17300== Releasing lock...
[2025-01-10 06:06:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 06:06:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 11:07:02] Production.INFO: ==17358== Lock acquired, processing the job...
[2025-01-10 11:07:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 11:07:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 11:07:02] Production.INFO: neon service started
[2025-01-10 11:07:02] Production.INFO: neon service started
[2025-01-10 11:07:02] Production.INFO: ==17358== Releasing lock...
[2025-01-10 11:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 11:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 06:07:02] Production.INFO: ==17360== Lock acquired, processing the job...
[2025-01-10 06:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 11:07:02] Production.INFO: ==17362== Lock acquired, processing the job...
[2025-01-10 11:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 11:07:02] Production.INFO: ==17362== Releasing lock...
[2025-01-10 11:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 11:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 06:07:03] Production.INFO: ==17360== Releasing lock...
[2025-01-10 06:07:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 06:07:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 06:07:03] Production.INFO: ==17371== Lock acquired, processing the job...
[2025-01-10 06:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 06:07:03] Production.INFO: ==17373== Lock acquired, processing the job...
[2025-01-10 06:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 06:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:07:03] Production.INFO: Account Balance Start.
[2025-01-10 06:07:03] Production.INFO: CreateAllLog Start
[2025-01-10 06:07:04] Production.INFO: ==17365== Lock acquired, processing the job...
[2025-01-10 06:07:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 06:07:04] Production.INFO: 117
[2025-01-10 06:07:04] Production.INFO: Date 2025-01-08
[2025-01-10 06:07:04] Production.INFO: Reseller ==> 0
[2025-01-10 06:07:04] Production.INFO: ==17367== Lock acquired, processing the job...
[2025-01-10 06:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 06:07:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 06:07:04] Production.INFO: Date 2025-01-09
[2025-01-10 06:07:04] Production.INFO: Reseller ==> 0
[2025-01-10 06:07:04] Production.INFO: ==17369== Lock acquired, processing the job...
[2025-01-10 06:07:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 06:07:04] Production.INFO: Date 2025-01-10
[2025-01-10 06:07:04] Production.INFO: Reseller ==> 0
[2025-01-10 06:07:04] Production.INFO: ==17375== Lock acquired, processing the job...
[2025-01-10 06:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 06:07:04] Production.INFO: Total Charge 0
[2025-01-10 06:07:04] Production.ERROR: done
[2025-01-10 06:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 06:07:04] Production.INFO: CreateAllLog End
[2025-01-10 06:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 06:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 06:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 06:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 06:07:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:07:04] Production.INFO: count ==21
[2025-01-10 06:07:04] Production.ERROR: done
[2025-01-10 06:07:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:07:04] Production.INFO: count ==21
[2025-01-10 06:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214974') start
[2025-01-10 06:07:04] Production.INFO: Account Balance End.
[2025-01-10 06:07:04] Production.INFO: ==17367== Releasing lock...
[2025-01-10 06:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 06:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 06:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214974') end
[2025-01-10 06:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 06:07:04] Production.INFO: 1
[2025-01-10 06:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 06:07:04] Production.ERROR: CronJobId end 12
[2025-01-10 06:07:04] Production.INFO: ==17371== Releasing lock...
[2025-01-10 06:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 06:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 06:07:04] Production.INFO: ==17375== Releasing lock...
[2025-01-10 06:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 06:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 06:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 03:07:05
[end_date_ymd] => 2025-01-10 06:07:05
[RateCDR] => 1
)
[2025-01-10 06:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 03:07:05' and `end` < '2025-01-10 06:07:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 06:07:11] Production.ERROR: CronJobId end10
[2025-01-10 06:07:11] Production.INFO: ==17369== Releasing lock...
[2025-01-10 06:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 06:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 06:07:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 06:07:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 06:07:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 06:07:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 06:07:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 06:07:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 06:07:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 06:07:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 06:07:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 06:07:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 06:07:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 06:07:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 06:07:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 06:07:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 06:07:13] Production.INFO: call_cost start
[2025-01-10 06:07:13] Production.INFO: call_cost end
[2025-01-10 06:07:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 06:07:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 06:07:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 06:07:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 06:07:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 06:07:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 06:07:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 06:07:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 06:07:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 06:07:14] Production.INFO: ==17365== Releasing lock...
[2025-01-10 06:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 06:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 06:07:19] Production.INFO: count ==60
[2025-01-10 06:07:19] Production.ERROR: pbx CDR StartTime 2025-01-10 03:07:05 - End Time 2025-01-10 06:07:05
[2025-01-10 06:07:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 06:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214975', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214975', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214975', 'tblTempVendorCDR_20' ) start
[2025-01-10 06:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214975', 'tblTempVendorCDR_20' ) end
[2025-01-10 06:07:19] Production.INFO: ProcessCDR(1,14214975,1,1,2)
[2025-01-10 06:07:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214975,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:07:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214975,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:07:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214975,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:07:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214975,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214975', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214975', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:07:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:07:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:07:22] Production.INFO: ==17373== Releasing lock...
[2025-01-10 06:07:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 06:07:22] Production.INFO: 28 MB #Memory Used#
[2025-01-10 11:08:01] Production.INFO: ==17428== Lock acquired, processing the job...
[2025-01-10 11:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 11:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 11:08:01] Production.INFO: neon service started
[2025-01-10 11:08:01] Production.INFO: neon service started
[2025-01-10 11:08:01] Production.INFO: ==17428== Releasing lock...
[2025-01-10 11:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 11:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 06:08:01] Production.INFO: ==17431== Lock acquired, processing the job...
[2025-01-10 06:08:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:08:02] Production.INFO: ==17431== Releasing lock...
[2025-01-10 06:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 06:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 11:08:02] Production.INFO: ==17433== Lock acquired, processing the job...
[2025-01-10 11:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 11:08:02] Production.INFO: ==17433== Releasing lock...
[2025-01-10 11:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 11:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 06:08:03] Production.INFO: ==17443== Lock acquired, processing the job...
[2025-01-10 06:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 06:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:08:03] Production.INFO: ==17445== Lock acquired, processing the job...
[2025-01-10 06:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 06:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:08:03] Production.INFO: ==17437== Lock acquired, processing the job...
[2025-01-10 06:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 06:08:03] Production.INFO: ==17435== Lock acquired, processing the job...
[2025-01-10 06:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 06:08:03] Production.INFO: count ==21
[2025-01-10 06:08:03] Production.INFO: ==17439== Lock acquired, processing the job...
[2025-01-10 06:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 06:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:08:03] Production.INFO: ==17441== Lock acquired, processing the job...
[2025-01-10 06:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 06:08:03] Production.INFO: count ==21
[2025-01-10 06:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214976') start
[2025-01-10 06:08:03] Production.ERROR: done
[2025-01-10 06:08:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 06:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 06:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 06:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 06:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 06:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 06:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214976') end
[2025-01-10 06:08:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 06:08:03] Production.INFO: 1
[2025-01-10 06:08:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 06:08:03] Production.INFO: ==17445== Releasing lock...
[2025-01-10 06:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 06:08:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 06:08:03] Production.ERROR: done
[2025-01-10 06:08:03] Production.INFO: ==17437== Releasing lock...
[2025-01-10 06:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 06:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 06:08:03] Production.INFO: Account Balance Start.
[2025-01-10 06:08:03] Production.INFO: CreateAllLog Start
[2025-01-10 06:08:03] Production.INFO: 117
[2025-01-10 06:08:03] Production.INFO: Date 2025-01-08
[2025-01-10 06:08:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:08:03] Production.INFO: Date 2025-01-09
[2025-01-10 06:08:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:08:04] Production.INFO: Date 2025-01-10
[2025-01-10 06:08:04] Production.INFO: Reseller ==> 0
[2025-01-10 06:08:04] Production.INFO: Total Charge 0
[2025-01-10 06:08:04] Production.INFO: CreateAllLog End
[2025-01-10 06:08:04] Production.INFO: Account Balance End.
[2025-01-10 06:08:04] Production.ERROR: CronJobId end 12
[2025-01-10 06:08:04] Production.INFO: ==17441== Releasing lock...
[2025-01-10 06:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 06:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 06:08:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 03:08:04
[end_date_ymd] => 2025-01-10 06:08:04
[RateCDR] => 1
)
[2025-01-10 06:08:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 03:08:04' and `end` < '2025-01-10 06:08:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 06:08:11] Production.ERROR: CronJobId end10
[2025-01-10 06:08:11] Production.INFO: ==17439== Releasing lock...
[2025-01-10 06:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 06:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 06:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 06:08:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 06:08:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 06:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 06:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 06:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 06:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 06:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 06:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 06:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 06:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 06:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 06:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 06:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 06:08:13] Production.INFO: call_cost start
[2025-01-10 06:08:13] Production.INFO: call_cost end
[2025-01-10 06:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 06:08:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 06:08:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 06:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 06:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 06:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 06:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 06:08:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 06:08:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 06:08:14] Production.INFO: ==17435== Releasing lock...
[2025-01-10 06:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 06:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 06:08:18] Production.INFO: count ==60
[2025-01-10 06:08:18] Production.ERROR: pbx CDR StartTime 2025-01-10 03:08:04 - End Time 2025-01-10 06:08:04
[2025-01-10 06:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 06:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214980', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214980', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214980', 'tblTempVendorCDR_20' ) start
[2025-01-10 06:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214980', 'tblTempVendorCDR_20' ) end
[2025-01-10 06:08:18] Production.INFO: ProcessCDR(1,14214980,1,1,2)
[2025-01-10 06:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214980,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214980,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214980,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214980,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214980', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214980', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:08:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:08:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:08:21] Production.INFO: ==17443== Releasing lock...
[2025-01-10 06:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 06:08:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 11:09:01] Production.INFO: ==17502== Lock acquired, processing the job...
[2025-01-10 11:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 11:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 11:09:02] Production.INFO: neon service started
[2025-01-10 11:09:02] Production.INFO: neon service started
[2025-01-10 11:09:02] Production.INFO: ==17502== Releasing lock...
[2025-01-10 11:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 11:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 06:09:02] Production.INFO: ==17504== Lock acquired, processing the job...
[2025-01-10 06:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:09:02] Production.INFO: ==17504== Releasing lock...
[2025-01-10 06:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 06:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 11:09:02] Production.INFO: ==17506== Lock acquired, processing the job...
[2025-01-10 11:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 11:09:02] Production.INFO: ==17506== Releasing lock...
[2025-01-10 11:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 11:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 06:09:03] Production.INFO: ==17511== Lock acquired, processing the job...
[2025-01-10 06:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 06:09:03] Production.INFO: ==17513== Lock acquired, processing the job...
[2025-01-10 06:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 06:09:03] Production.INFO: ==17509== Lock acquired, processing the job...
[2025-01-10 06:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 06:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 06:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 06:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 06:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 06:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 06:09:03] Production.INFO: ==17515== Lock acquired, processing the job...
[2025-01-10 06:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 06:09:03] Production.INFO: ==17511== Releasing lock...
[2025-01-10 06:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 06:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 06:09:03] Production.INFO: ==17517== Lock acquired, processing the job...
[2025-01-10 06:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 06:09:03] Production.INFO: Account Balance Start.
[2025-01-10 06:09:03] Production.INFO: CreateAllLog Start
[2025-01-10 06:09:03] Production.INFO: 117
[2025-01-10 06:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:09:03] Production.INFO: Date 2025-01-08
[2025-01-10 06:09:03] Production.INFO: ==17519== Lock acquired, processing the job...
[2025-01-10 06:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 06:09:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:09:03] Production.INFO: Date 2025-01-09
[2025-01-10 06:09:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:09:03] Production.INFO: Date 2025-01-10
[2025-01-10 06:09:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:09:03] Production.INFO: Total Charge 0
[2025-01-10 06:09:03] Production.INFO: CreateAllLog End
[2025-01-10 06:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:09:04] Production.ERROR: done
[2025-01-10 06:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 06:09:04] Production.INFO: count ==21
[2025-01-10 06:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:09:04] Production.INFO: count ==21
[2025-01-10 06:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214984') start
[2025-01-10 06:09:04] Production.INFO: Account Balance End.
[2025-01-10 06:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214984') end
[2025-01-10 06:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 06:09:04] Production.INFO: 1
[2025-01-10 06:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 06:09:04] Production.ERROR: done
[2025-01-10 06:09:04] Production.ERROR: CronJobId end 12
[2025-01-10 06:09:04] Production.INFO: ==17515== Releasing lock...
[2025-01-10 06:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 06:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 06:09:04] Production.INFO: ==17519== Releasing lock...
[2025-01-10 06:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 06:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 06:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 03:09:05
[end_date_ymd] => 2025-01-10 06:09:05
[RateCDR] => 1
)
[2025-01-10 06:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 03:09:05' and `end` < '2025-01-10 06:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 06:09:10] Production.ERROR: CronJobId end10
[2025-01-10 06:09:10] Production.INFO: ==17513== Releasing lock...
[2025-01-10 06:09:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 06:09:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 06:09:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 06:09:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 06:09:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 06:09:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 06:09:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 06:09:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 06:09:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 06:09:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 06:09:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 06:09:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 06:09:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 06:09:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 06:09:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 06:09:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 06:09:13] Production.INFO: call_cost start
[2025-01-10 06:09:13] Production.INFO: call_cost end
[2025-01-10 06:09:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 06:09:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 06:09:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 06:09:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 06:09:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 06:09:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 06:09:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 06:09:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 06:09:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 06:09:13] Production.INFO: ==17509== Releasing lock...
[2025-01-10 06:09:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 06:09:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 06:09:18] Production.INFO: count ==60
[2025-01-10 06:09:18] Production.ERROR: pbx CDR StartTime 2025-01-10 03:09:05 - End Time 2025-01-10 06:09:05
[2025-01-10 06:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 06:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214985', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214985', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214985', 'tblTempVendorCDR_20' ) start
[2025-01-10 06:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214985', 'tblTempVendorCDR_20' ) end
[2025-01-10 06:09:18] Production.INFO: ProcessCDR(1,14214985,1,1,2)
[2025-01-10 06:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214985,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214985,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214985,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:09:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214985,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214985', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214985', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:09:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:09:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:09:21] Production.INFO: ==17517== Releasing lock...
[2025-01-10 06:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 06:09:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 11:10:01] Production.INFO: ==17576== Lock acquired, processing the job...
[2025-01-10 11:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 11:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 11:10:01] Production.INFO: neon service started
[2025-01-10 11:10:01] Production.INFO: neon service started
[2025-01-10 11:10:01] Production.INFO: ==17576== Releasing lock...
[2025-01-10 11:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 11:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 06:10:01] Production.INFO: ==17578== Lock acquired, processing the job...
[2025-01-10 06:10:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 11:10:02] Production.INFO: ==17580== Lock acquired, processing the job...
[2025-01-10 11:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 11:10:02] Production.INFO: ==17580== Releasing lock...
[2025-01-10 11:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 11:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 06:10:02] Production.INFO: ==17578== Releasing lock...
[2025-01-10 06:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 06:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 06:10:03] Production.INFO: ==17586== Lock acquired, processing the job...
[2025-01-10 06:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 06:10:03] Production.INFO: ==17582== Lock acquired, processing the job...
[2025-01-10 06:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 06:10:03] Production.INFO: ==17584== Lock acquired, processing the job...
[2025-01-10 06:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 06:10:03] Production.INFO: ==17595== Lock acquired, processing the job...
[2025-01-10 06:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 06:10:03] Production.INFO: ==17597== Lock acquired, processing the job...
[2025-01-10 06:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 06:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 06:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 06:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 06:10:03] Production.ERROR: CronJob PID - 17584
[2025-01-10 06:10:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-10 06:10:03] Production.ERROR: CronJob ID - 5
[2025-01-10 06:10:03] Production.ERROR: CronJob Last Run Time 2025-01-10 06:10:00
[2025-01-10 06:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 06:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 06:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 06:10:03] Production.ERROR: CronJob PID - 17586
[2025-01-10 06:10:03] Production.ERROR: CronJob Title - Account Block
[2025-01-10 06:10:03] Production.ERROR: CronJob ID - 7
[2025-01-10 06:10:03] Production.ERROR: CronJob Last Run Time 2025-01-10 06:10:00
[2025-01-10 06:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 06:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 06:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 06:10:03] Production.ERROR: CronJob PID - 17595
[2025-01-10 06:10:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-10 06:10:03] Production.ERROR: CronJob ID - 17
[2025-01-10 06:10:03] Production.ERROR: CronJob Last Run Time 2025-01-10 06:10:00
[2025-01-10 06:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 06:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 06:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 06:10:03] Production.ERROR: CronJob PID - 17597
[2025-01-10 06:10:03] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-10 06:10:03] Production.ERROR: CronJob ID - 19
[2025-01-10 06:10:03] Production.ERROR: CronJob Last Run Time 2025-01-10 06:10:00
[2025-01-10 06:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 06:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 06:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:10:03] Production.INFO: ==17589== Lock acquired, processing the job...
[2025-01-10 06:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 06:10:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:10:03] Production.INFO: ==17591== Lock acquired, processing the job...
[2025-01-10 06:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 06:10:03] Production.INFO: ==17593== Lock acquired, processing the job...
[2025-01-10 06:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 06:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 06:10:03] Production.INFO: ==17582== Releasing lock...
[2025-01-10 06:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 06:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 06:10:03] Production.INFO: count ==21
[2025-01-10 06:10:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:10:03] Production.INFO: count ==21
[2025-01-10 06:10:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214988') start
[2025-01-10 06:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:10:03] Production.INFO: Account Balance Start.
[2025-01-10 06:10:03] Production.INFO: CreateAllLog Start
[2025-01-10 06:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 06:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 06:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 06:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 06:10:03] Production.INFO: 117
[2025-01-10 06:10:03] Production.ERROR: done
[2025-01-10 06:10:03] Production.INFO: ==17586== Releasing lock...
[2025-01-10 06:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 06:10:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 06:10:03] Production.ERROR: PBX CALL prc_importPBXExtension('14214988') end
[2025-01-10 06:10:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 06:10:03] Production.INFO: 1
[2025-01-10 06:10:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 06:10:03] Production.INFO: Date 2025-01-08
[2025-01-10 06:10:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 06:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14214990', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 06:10:04] Production.INFO: ==17597== Releasing lock...
[2025-01-10 06:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 06:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 06:10:04] Production.INFO: Date 2025-01-09
[2025-01-10 06:10:04] Production.INFO: Reseller ==> 0
[2025-01-10 06:10:04] Production.INFO: Date 2025-01-10
[2025-01-10 06:10:04] Production.INFO: Reseller ==> 0
[2025-01-10 06:10:04] Production.ERROR: done
[2025-01-10 06:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 06:10:04] Production.INFO: Total Charge 0
[2025-01-10 06:10:04] Production.INFO: CreateAllLog End
[2025-01-10 06:10:04] Production.ERROR: done
[2025-01-10 06:10:04] Production.INFO: Account Balance End.
[2025-01-10 06:10:04] Production.ERROR: CronJobId end 12
[2025-01-10 06:10:04] Production.INFO: ==17591== Releasing lock...
[2025-01-10 06:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 06:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 06:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 03:10:05
[end_date_ymd] => 2025-01-10 06:10:05
[RateCDR] => 1
)
[2025-01-10 06:10:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 03:10:05' and `end` < '2025-01-10 06:10:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 06:10:07] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14214990', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 06:10:07] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 06:10:07] Production.INFO: ProcessCDR(1,14214990,1,1,2)
[2025-01-10 06:10:07] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14214990,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:10:07] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14214990,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:10:07] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:10:07] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:10:07] Production.INFO: ==17595== Releasing lock...
[2025-01-10 06:10:07] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 06:10:07] Production.INFO: 26 MB #Memory Used#
[2025-01-10 06:10:12] Production.ERROR: CronJobId end10
[2025-01-10 06:10:12] Production.INFO: ==17589== Releasing lock...
[2025-01-10 06:10:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 06:10:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 06:10:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 06:10:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 06:10:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 06:10:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 06:10:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 06:10:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 06:10:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 06:10:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 06:10:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 06:10:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 06:10:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 06:10:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 06:10:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 06:10:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 06:10:13] Production.INFO: call_cost start
[2025-01-10 06:10:13] Production.INFO: call_cost end
[2025-01-10 06:10:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 06:10:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 06:10:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 06:10:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 06:10:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 06:10:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 06:10:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 06:10:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 06:10:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 06:10:14] Production.INFO: ==17584== Releasing lock...
[2025-01-10 06:10:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 06:10:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 06:10:18] Production.INFO: count ==60
[2025-01-10 06:10:18] Production.ERROR: pbx CDR StartTime 2025-01-10 03:10:05 - End Time 2025-01-10 06:10:05
[2025-01-10 06:10:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 06:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214991', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214991', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214991', 'tblTempVendorCDR_20' ) start
[2025-01-10 06:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214991', 'tblTempVendorCDR_20' ) end
[2025-01-10 06:10:18] Production.INFO: ProcessCDR(1,14214991,1,1,2)
[2025-01-10 06:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214991,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:10:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214991,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:10:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214991,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:10:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214991,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214991', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214991', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:10:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:10:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:10:21] Production.INFO: ==17593== Releasing lock...
[2025-01-10 06:10:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 06:10:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 11:11:01] Production.INFO: ==17651== Lock acquired, processing the job...
[2025-01-10 11:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 11:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 11:11:01] Production.INFO: neon service started
[2025-01-10 11:11:01] Production.INFO: neon service started
[2025-01-10 11:11:01] Production.INFO: ==17651== Releasing lock...
[2025-01-10 11:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 11:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:11:02] Production.INFO: ==17655== Lock acquired, processing the job...
[2025-01-10 11:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 11:11:02] Production.INFO: ==17655== Releasing lock...
[2025-01-10 11:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 11:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 06:11:02] Production.INFO: ==17653== Lock acquired, processing the job...
[2025-01-10 06:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:11:02] Production.INFO: ==17653== Releasing lock...
[2025-01-10 06:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 06:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 06:11:03] Production.INFO: ==17660== Lock acquired, processing the job...
[2025-01-10 06:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 06:11:03] Production.INFO: ==17662== Lock acquired, processing the job...
[2025-01-10 06:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 06:11:03] Production.INFO: ==17666== Lock acquired, processing the job...
[2025-01-10 06:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 06:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 06:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 06:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 06:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 06:11:03] Production.INFO: ==17658== Lock acquired, processing the job...
[2025-01-10 06:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 06:11:03] Production.INFO: ==17664== Lock acquired, processing the job...
[2025-01-10 06:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 06:11:03] Production.INFO: ==17668== Lock acquired, processing the job...
[2025-01-10 06:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 06:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 06:11:03] Production.INFO: ==17660== Releasing lock...
[2025-01-10 06:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 06:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 06:11:03] Production.INFO: Account Balance Start.
[2025-01-10 06:11:03] Production.INFO: CreateAllLog Start
[2025-01-10 06:11:03] Production.ERROR: done
[2025-01-10 06:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 06:11:03] Production.INFO: 117
[2025-01-10 06:11:03] Production.INFO: Date 2025-01-08
[2025-01-10 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-01-10 06:11:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:11:03] Production.INFO: Date 2025-01-09
[2025-01-10 06:11:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:11:03] Production.INFO: Date 2025-01-10
[2025-01-10 06:11:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:11:03] Production.INFO: count ==21
[2025-01-10 06:11:04] Production.INFO: Total Charge 0
[2025-01-10 06:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:11:04] Production.INFO: CreateAllLog End
[2025-01-10 06:11:04] Production.INFO: count ==21
[2025-01-10 06:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214995') start
[2025-01-10 06:11:04] Production.ERROR: done
[2025-01-10 06:11:04] Production.INFO: Account Balance End.
[2025-01-10 06:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14214995') end
[2025-01-10 06:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 06:11:04] Production.INFO: 1
[2025-01-10 06:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 06:11:04] Production.ERROR: CronJobId end 12
[2025-01-10 06:11:04] Production.INFO: ==17664== Releasing lock...
[2025-01-10 06:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 06:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 06:11:04] Production.INFO: ==17668== Releasing lock...
[2025-01-10 06:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 06:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 06:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 03:11:05
[end_date_ymd] => 2025-01-10 06:11:05
[RateCDR] => 1
)
[2025-01-10 06:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 03:11:05' and `end` < '2025-01-10 06:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 06:11:10] Production.ERROR: CronJobId end10
[2025-01-10 06:11:10] Production.INFO: ==17662== Releasing lock...
[2025-01-10 06:11:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 06:11:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 06:11:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 06:11:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 06:11:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 06:11:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 06:11:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 06:11:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 06:11:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 06:11:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 06:11:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 06:11:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 06:11:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 06:11:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 06:11:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 06:11:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 06:11:13] Production.INFO: call_cost start
[2025-01-10 06:11:13] Production.INFO: call_cost end
[2025-01-10 06:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 06:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 06:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 06:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 06:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 06:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 06:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 06:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 06:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 06:11:14] Production.INFO: ==17658== Releasing lock...
[2025-01-10 06:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 06:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 06:11:18] Production.INFO: count ==60
[2025-01-10 06:11:18] Production.ERROR: pbx CDR StartTime 2025-01-10 03:11:05 - End Time 2025-01-10 06:11:05
[2025-01-10 06:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 06:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214996', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14214996', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214996', 'tblTempVendorCDR_20' ) start
[2025-01-10 06:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14214996', 'tblTempVendorCDR_20' ) end
[2025-01-10 06:11:18] Production.INFO: ProcessCDR(1,14214996,1,1,2)
[2025-01-10 06:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14214996,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:11:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14214996,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:11:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14214996,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:11:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14214996,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214996', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14214996', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:11:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:11:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:11:21] Production.INFO: ==17666== Releasing lock...
[2025-01-10 06:11:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 06:11:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 11:12:02] Production.INFO: ==17721== Lock acquired, processing the job...
[2025-01-10 11:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 11:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 11:12:02] Production.INFO: neon service started
[2025-01-10 11:12:02] Production.INFO: neon service started
[2025-01-10 11:12:02] Production.INFO: ==17721== Releasing lock...
[2025-01-10 11:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 11:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 06:12:02] Production.INFO: ==17723== Lock acquired, processing the job...
[2025-01-10 06:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:12:02] Production.INFO: ==17723== Releasing lock...
[2025-01-10 06:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 06:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 11:12:02] Production.INFO: ==17725== Lock acquired, processing the job...
[2025-01-10 11:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 11:12:03] Production.INFO: ==17725== Releasing lock...
[2025-01-10 11:12:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 11:12:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 06:12:03] Production.INFO: ==17729== Lock acquired, processing the job...
[2025-01-10 06:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 06:12:03] Production.INFO: ==17731== Lock acquired, processing the job...
[2025-01-10 06:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 06:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 06:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 06:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 06:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 06:12:03] Production.INFO: ==17736== Lock acquired, processing the job...
[2025-01-10 06:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 06:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:12:03] Production.INFO: ==17729== Releasing lock...
[2025-01-10 06:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 06:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 06:12:03] Production.INFO: ==17727== Lock acquired, processing the job...
[2025-01-10 06:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 06:12:04] Production.INFO: ==17733== Lock acquired, processing the job...
[2025-01-10 06:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 06:12:04] Production.ERROR: done
[2025-01-10 06:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 06:12:04] Production.INFO: ==17738== Lock acquired, processing the job...
[2025-01-10 06:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 06:12:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 06:12:04] Production.INFO: Account Balance Start.
[2025-01-10 06:12:04] Production.INFO: CreateAllLog Start
[2025-01-10 06:12:04] Production.INFO: 117
[2025-01-10 06:12:04] Production.ERROR: done
[2025-01-10 06:12:04] Production.INFO: Date 2025-01-08
[2025-01-10 06:12:04] Production.INFO: Reseller ==> 0
[2025-01-10 06:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:12:04] Production.INFO: Date 2025-01-09
[2025-01-10 06:12:04] Production.INFO: Reseller ==> 0
[2025-01-10 06:12:04] Production.INFO: count ==21
[2025-01-10 06:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:12:04] Production.INFO: count ==21
[2025-01-10 06:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215000') start
[2025-01-10 06:12:04] Production.INFO: Date 2025-01-10
[2025-01-10 06:12:04] Production.INFO: Reseller ==> 0
[2025-01-10 06:12:04] Production.INFO: Total Charge 0
[2025-01-10 06:12:04] Production.INFO: CreateAllLog End
[2025-01-10 06:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215000') end
[2025-01-10 06:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 06:12:04] Production.INFO: 1
[2025-01-10 06:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 06:12:04] Production.INFO: ==17738== Releasing lock...
[2025-01-10 06:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 06:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 06:12:04] Production.INFO: Account Balance End.
[2025-01-10 06:12:04] Production.ERROR: CronJobId end 12
[2025-01-10 06:12:04] Production.INFO: ==17733== Releasing lock...
[2025-01-10 06:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 06:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 06:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 03:12:05
[end_date_ymd] => 2025-01-10 06:12:05
[RateCDR] => 1
)
[2025-01-10 06:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 03:12:05' and `end` < '2025-01-10 06:12:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 06:12:11] Production.ERROR: CronJobId end10
[2025-01-10 06:12:11] Production.INFO: ==17731== Releasing lock...
[2025-01-10 06:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 06:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 06:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 06:12:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 06:12:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 06:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 06:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 06:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 06:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 06:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 06:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 06:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 06:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 06:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 06:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 06:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 06:12:14] Production.INFO: call_cost start
[2025-01-10 06:12:14] Production.INFO: call_cost end
[2025-01-10 06:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 06:12:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 06:12:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 06:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 06:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 06:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 06:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 06:12:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 06:12:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 06:12:14] Production.INFO: ==17727== Releasing lock...
[2025-01-10 06:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 06:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 06:12:18] Production.INFO: count ==60
[2025-01-10 06:12:18] Production.ERROR: pbx CDR StartTime 2025-01-10 03:12:05 - End Time 2025-01-10 06:12:05
[2025-01-10 06:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 06:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215001', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215001', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215001', 'tblTempVendorCDR_20' ) start
[2025-01-10 06:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215001', 'tblTempVendorCDR_20' ) end
[2025-01-10 06:12:18] Production.INFO: ProcessCDR(1,14215001,1,1,2)
[2025-01-10 06:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215001,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215001,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215001,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215001,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215001', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215001', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:12:21] Production.INFO: ==17736== Releasing lock...
[2025-01-10 06:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 06:12:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 11:13:01] Production.INFO: ==17792== Lock acquired, processing the job...
[2025-01-10 11:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 11:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 11:13:01] Production.INFO: neon service started
[2025-01-10 11:13:01] Production.INFO: neon service started
[2025-01-10 11:13:01] Production.INFO: ==17792== Releasing lock...
[2025-01-10 11:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 11:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 06:13:01] Production.INFO: ==17794== Lock acquired, processing the job...
[2025-01-10 06:13:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:13:02] Production.INFO: ==17794== Releasing lock...
[2025-01-10 06:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 06:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 11:13:02] Production.INFO: ==17796== Lock acquired, processing the job...
[2025-01-10 11:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 11:13:02] Production.INFO: ==17796== Releasing lock...
[2025-01-10 11:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 11:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 06:13:03] Production.INFO: ==17798== Lock acquired, processing the job...
[2025-01-10 06:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 06:13:03] Production.INFO: ==17800== Lock acquired, processing the job...
[2025-01-10 06:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 06:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 06:13:03] Production.INFO: ==17806== Lock acquired, processing the job...
[2025-01-10 06:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 06:13:03] Production.INFO: ==17802== Lock acquired, processing the job...
[2025-01-10 06:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 06:13:03] Production.INFO: ==17804== Lock acquired, processing the job...
[2025-01-10 06:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 06:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 06:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 06:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 06:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 06:13:03] Production.INFO: ==17809== Lock acquired, processing the job...
[2025-01-10 06:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 06:13:03] Production.INFO: Account Balance Start.
[2025-01-10 06:13:03] Production.INFO: CreateAllLog Start
[2025-01-10 06:13:03] Production.INFO: 117
[2025-01-10 06:13:03] Production.INFO: Date 2025-01-08
[2025-01-10 06:13:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:13:03] Production.INFO: Date 2025-01-09
[2025-01-10 06:13:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:13:03] Production.INFO: ==17800== Releasing lock...
[2025-01-10 06:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 06:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 06:13:03] Production.INFO: Date 2025-01-10
[2025-01-10 06:13:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:13:03] Production.INFO: Total Charge 0
[2025-01-10 06:13:03] Production.INFO: CreateAllLog End
[2025-01-10 06:13:03] Production.ERROR: done
[2025-01-10 06:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 06:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:13:03] Production.INFO: Account Balance End.
[2025-01-10 06:13:03] Production.ERROR: done
[2025-01-10 06:13:03] Production.INFO: count ==21
[2025-01-10 06:13:03] Production.ERROR: CronJobId end 12
[2025-01-10 06:13:03] Production.INFO: ==17804== Releasing lock...
[2025-01-10 06:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 06:13:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 06:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:13:03] Production.INFO: count ==21
[2025-01-10 06:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215005') start
[2025-01-10 06:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215005') end
[2025-01-10 06:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 06:13:03] Production.INFO: 1
[2025-01-10 06:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 06:13:04] Production.INFO: ==17809== Releasing lock...
[2025-01-10 06:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 06:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 06:13:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 03:13:04
[end_date_ymd] => 2025-01-10 06:13:04
[RateCDR] => 1
)
[2025-01-10 06:13:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 03:13:04' and `end` < '2025-01-10 06:13:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 06:13:10] Production.ERROR: CronJobId end10
[2025-01-10 06:13:10] Production.INFO: ==17802== Releasing lock...
[2025-01-10 06:13:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 06:13:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 06:13:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 06:13:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 06:13:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 06:13:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 06:13:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 06:13:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 06:13:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 06:13:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 06:13:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 06:13:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 06:13:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 06:13:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 06:13:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 06:13:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 06:13:12] Production.INFO: call_cost start
[2025-01-10 06:13:12] Production.INFO: call_cost end
[2025-01-10 06:13:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 06:13:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 06:13:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 06:13:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 06:13:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 06:13:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 06:13:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 06:13:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 06:13:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 06:13:13] Production.INFO: ==17798== Releasing lock...
[2025-01-10 06:13:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 06:13:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 06:13:17] Production.INFO: count ==60
[2025-01-10 06:13:17] Production.ERROR: pbx CDR StartTime 2025-01-10 03:13:04 - End Time 2025-01-10 06:13:04
[2025-01-10 06:13:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 06:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215006', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215006', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215006', 'tblTempVendorCDR_20' ) start
[2025-01-10 06:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215006', 'tblTempVendorCDR_20' ) end
[2025-01-10 06:13:17] Production.INFO: ProcessCDR(1,14215006,1,1,2)
[2025-01-10 06:13:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215006,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:13:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215006,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:13:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215006,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:13:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215006,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:13:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215006', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:13:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215006', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:13:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:13:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:13:20] Production.INFO: ==17806== Releasing lock...
[2025-01-10 06:13:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 06:13:20] Production.INFO: 28 MB #Memory Used#
[2025-01-10 11:14:02] Production.INFO: ==17863== Lock acquired, processing the job...
[2025-01-10 11:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 11:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 11:14:02] Production.INFO: neon service started
[2025-01-10 11:14:02] Production.INFO: neon service started
[2025-01-10 11:14:02] Production.INFO: ==17863== Releasing lock...
[2025-01-10 11:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 11:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:14:02] Production.INFO: ==17867== Lock acquired, processing the job...
[2025-01-10 11:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 06:14:02] Production.INFO: ==17865== Lock acquired, processing the job...
[2025-01-10 06:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 11:14:02] Production.INFO: ==17867== Releasing lock...
[2025-01-10 11:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 11:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 06:14:03] Production.INFO: ==17865== Releasing lock...
[2025-01-10 06:14:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 06:14:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 06:14:04] Production.INFO: ==17870== Lock acquired, processing the job...
[2025-01-10 06:14:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 06:14:04] Production.INFO: ==17876== Lock acquired, processing the job...
[2025-01-10 06:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 06:14:04] Production.INFO: ==17872== Lock acquired, processing the job...
[2025-01-10 06:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 06:14:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 06:14:04] Production.INFO: ==17874== Lock acquired, processing the job...
[2025-01-10 06:14:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 06:14:04] Production.INFO: ==17878== Lock acquired, processing the job...
[2025-01-10 06:14:04] Production.INFO: xeropaymentimport-command-xeropaymentimport-companyid-1-cronjobid-14 #Starts#
[2025-01-10 06:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 06:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 06:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 06:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 06:14:04] Production.INFO: ==17882== Lock acquired, processing the job...
[2025-01-10 06:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 06:14:04] Production.INFO: ==17880== Lock acquired, processing the job...
[2025-01-10 06:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 06:14:04] Production.INFO: Account Balance Start.
[2025-01-10 06:14:04] Production.INFO: CreateAllLog Start
[2025-01-10 06:14:04] Production.INFO: 117
[2025-01-10 06:14:04] Production.INFO: Date 2025-01-08
[2025-01-10 06:14:04] Production.INFO: -- Xero Api Check --
[2025-01-10 06:14:04] Production.INFO: Reseller ==> 0
[2025-01-10 06:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:14:04] Production.INFO: Date 2025-01-09
[2025-01-10 06:14:04] Production.INFO: Reseller ==> 0
[2025-01-10 06:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:14:04] Production.INFO: count ==21
[2025-01-10 06:14:04] Production.INFO: Date 2025-01-10
[2025-01-10 06:14:04] Production.INFO: ==17872== Releasing lock...
[2025-01-10 06:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 06:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 06:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:14:04] Production.INFO: Reseller ==> 0
[2025-01-10 06:14:04] Production.INFO: count ==21
[2025-01-10 06:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215010') start
[2025-01-10 06:14:04] Production.INFO: Total Charge 0
[2025-01-10 06:14:04] Production.ERROR: done
[2025-01-10 06:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 06:14:04] Production.INFO: CreateAllLog End
[2025-01-10 06:14:04] Production.INFO: -- curl info --Array
(
[url] => https://identity.xero.com/connect/token
[content_type] => application/json; charset=UTF-8
[http_code] => 200
[header_size] => 854
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0.5735
[namelookup_time] => 0.286861
[connect_time] => 0.29887
[pretransfer_time] => 0.502232
[size_upload] => 82
[size_download] => 2755
[speed_download] => 4803
[speed_upload] => 142
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 0.573451
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.33
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 60358
)
[2025-01-10 06:14:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzY1MDc2NDQsImV4cCI6MTczNjUwNzk0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2NTA3NjQ0LCJhdF9oYXNoIjoid19oZDRqNHdOMHB0cFIzZUFRME9YQSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.hLqhwUc8LhulPeDxGBhTQFVlJNwAzRIDzJvXEp30bn0RvDJjGP0HhPERmlIs1aIfPvHjLrpMLT6s5DhFnjmGyf_l3-qartDSkRHrz1rbuZxAZqH1BXJEa3BYd3DzmRYjGZxYDTgUGppKgultR2eLktnjUWZEnfFzLWNRaRP3gtQdqEdelTKn-9MDqzcxViWWtXq6TrIvUHZOkSqsZvPqJKn9Vwb0p2QsaeAM2lBJKtJGto8qo0OXikvIHR_13WO6T9eQaWKDxGauk8F_6hrNXWoW1pN0aFC5R-hLfgDZx0F6RXkD801hCArGSGSJKbzPcD4-Vr0hFPQOnMxymim2_w
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzY1MDc2NDQsImV4cCI6MTczNjUwOTQ0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.XMsJVDiA9i4U4XBR_Xig9oFVqmpTrHzoX_fmJURdLgo-_vUBnnX_ETIHtsjf0ssgNyc1rh_JHvdAgKa2n7efA8ZlQKpx0DGEh-v4bzZkc1CVLh1_z4QF53bQdmIqkSfEBWslA9xcg4M_vyaj4mRDn5CnmLLWrtODrRAwiwPnPJTNzqI3nKgQDNNBLoYfCF-6VbEPRoxOh-JK7jMDtc2VjyRI0YiVmOpm6SvbUilp6s8l3Du1OP4eVDdWhSeu7CW5zEJzEAl3yIj5wRU33u7GRNO8EBuN2w3wS0Te-HR2cok2nK1I6xtDAmuQJIVlmlzUpT7-a08Xef4bhMjNIQrJ1A
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => i3uL6hSt_m3UTCPnsRPf9EKZe7aQ2vsUaAygCqLtgvw
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-10 06:14:04] Production.ERROR: done
[2025-01-10 06:14:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzY1MDc2NDQsImV4cCI6MTczNjUwNzk0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2NTA3NjQ0LCJhdF9oYXNoIjoid19oZDRqNHdOMHB0cFIzZUFRME9YQSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.hLqhwUc8LhulPeDxGBhTQFVlJNwAzRIDzJvXEp30bn0RvDJjGP0HhPERmlIs1aIfPvHjLrpMLT6s5DhFnjmGyf_l3-qartDSkRHrz1rbuZxAZqH1BXJEa3BYd3DzmRYjGZxYDTgUGppKgultR2eLktnjUWZEnfFzLWNRaRP3gtQdqEdelTKn-9MDqzcxViWWtXq6TrIvUHZOkSqsZvPqJKn9Vwb0p2QsaeAM2lBJKtJGto8qo0OXikvIHR_13WO6T9eQaWKDxGauk8F_6hrNXWoW1pN0aFC5R-hLfgDZx0F6RXkD801hCArGSGSJKbzPcD4-Vr0hFPQOnMxymim2_w
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzY1MDc2NDQsImV4cCI6MTczNjUwOTQ0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.XMsJVDiA9i4U4XBR_Xig9oFVqmpTrHzoX_fmJURdLgo-_vUBnnX_ETIHtsjf0ssgNyc1rh_JHvdAgKa2n7efA8ZlQKpx0DGEh-v4bzZkc1CVLh1_z4QF53bQdmIqkSfEBWslA9xcg4M_vyaj4mRDn5CnmLLWrtODrRAwiwPnPJTNzqI3nKgQDNNBLoYfCF-6VbEPRoxOh-JK7jMDtc2VjyRI0YiVmOpm6SvbUilp6s8l3Du1OP4eVDdWhSeu7CW5zEJzEAl3yIj5wRU33u7GRNO8EBuN2w3wS0Te-HR2cok2nK1I6xtDAmuQJIVlmlzUpT7-a08Xef4bhMjNIQrJ1A
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => i3uL6hSt_m3UTCPnsRPf9EKZe7aQ2vsUaAygCqLtgvw
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-10 06:14:04] Production.ERROR: Invoice Payment Date 2025-01-09 00:00:00
[2025-01-10 06:14:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Payments?where=Date>=DateTime(2025,01,09)
[2025-01-10 06:14:05] Production.ERROR: PBX CALL prc_importPBXExtension('14215010') end
[2025-01-10 06:14:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 06:14:05] Production.INFO: 1
[2025-01-10 06:14:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 06:14:05] Production.INFO: ==17882== Releasing lock...
[2025-01-10 06:14:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 06:14:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 06:14:05] Production.INFO: Account Balance End.
[2025-01-10 06:14:05] Production.ERROR: CronJobId end 12
[2025-01-10 06:14:05] Production.INFO: ==17876== Releasing lock...
[2025-01-10 06:14:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 06:14:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 06:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 03:14:05
[end_date_ymd] => 2025-01-10 06:14:05
[RateCDR] => 1
)
[2025-01-10 06:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 03:14:05' and `end` < '2025-01-10 06:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 06:14:08] Production.INFO: Batch insert start
[2025-01-10 06:14:08] Production.INFO: global counter1
[2025-01-10 06:14:08] Production.INFO: insertion start
[2025-01-10 06:14:08] Production.INFO: last batch insert 1
[2025-01-10 06:14:08] Production.INFO: insertion end
[2025-01-10 06:14:08] Production.INFO: CALL prc_importPaymentAccounting ('00ccc4c0-cf44-11ef-b529-bf686ca97fde') start
[2025-01-10 06:14:08] Production.INFO: CALL prc_importPaymentAccounting ('00ccc4c0-cf44-11ef-b529-bf686ca97fde') end
[2025-01-10 06:14:08] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
1 =>
array (
'Message' => ' Invalid InvoiceNumber : Expenses - 18 May 2018',
),
)
[2025-01-10 06:14:08] Production.INFO: 2
[2025-01-10 06:14:08] Production.ERROR: CronJobId end14
[2025-01-10 06:14:08] Production.INFO: ==17878== Releasing lock...
[2025-01-10 06:14:08] Production.INFO: xeropaymentimport-command-xeropaymentimport-companyid-1-cronjobid-14 #Stops#
[2025-01-10 06:14:08] Production.INFO: 26 MB #Memory Used#
[2025-01-10 06:14:11] Production.ERROR: CronJobId end10
[2025-01-10 06:14:11] Production.INFO: ==17874== Releasing lock...
[2025-01-10 06:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 06:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 06:14:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 06:14:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 06:14:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 06:14:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 06:14:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 06:14:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 06:14:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 06:14:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 06:14:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 06:14:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 06:14:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 06:14:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 06:14:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 06:14:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 06:14:14] Production.INFO: call_cost start
[2025-01-10 06:14:14] Production.INFO: call_cost end
[2025-01-10 06:14:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 06:14:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 06:14:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 06:14:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 06:14:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 06:14:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 06:14:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 06:14:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 06:14:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 06:14:15] Production.INFO: ==17870== Releasing lock...
[2025-01-10 06:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 06:14:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 06:14:19] Production.INFO: count ==60
[2025-01-10 06:14:19] Production.ERROR: pbx CDR StartTime 2025-01-10 03:14:05 - End Time 2025-01-10 06:14:05
[2025-01-10 06:14:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 06:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215011', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215011', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215011', 'tblTempVendorCDR_20' ) start
[2025-01-10 06:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215011', 'tblTempVendorCDR_20' ) end
[2025-01-10 06:14:19] Production.INFO: ProcessCDR(1,14215011,1,1,2)
[2025-01-10 06:14:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215011,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:14:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215011,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:14:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215011,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215011,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215011', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215011', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:14:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:14:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:14:22] Production.INFO: ==17880== Releasing lock...
[2025-01-10 06:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 06:14:22] Production.INFO: 28 MB #Memory Used#
[2025-01-10 11:15:01] Production.INFO: ==17937== Lock acquired, processing the job...
[2025-01-10 11:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 11:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 11:15:01] Production.INFO: neon service started
[2025-01-10 11:15:01] Production.INFO: neon service started
[2025-01-10 11:15:01] Production.INFO: ==17937== Releasing lock...
[2025-01-10 11:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 11:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:15:01] Production.INFO: ==17941== Lock acquired, processing the job...
[2025-01-10 11:15:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 11:15:01] Production.INFO: ==17941== Releasing lock...
[2025-01-10 11:15:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 11:15:01] Production.INFO: 25 MB #Memory Used#
[2025-01-10 06:15:02] Production.INFO: ==17939== Lock acquired, processing the job...
[2025-01-10 06:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:15:02] Production.INFO: ==17939== Releasing lock...
[2025-01-10 06:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 06:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 06:15:03] Production.INFO: ==17947== Lock acquired, processing the job...
[2025-01-10 06:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 06:15:03] Production.INFO: ==17945== Lock acquired, processing the job...
[2025-01-10 06:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 06:15:03] Production.INFO: ==17952== Lock acquired, processing the job...
[2025-01-10 06:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 06:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 06:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 06:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 06:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 06:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:15:03] Production.INFO: ==17954== Lock acquired, processing the job...
[2025-01-10 06:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 06:15:03] Production.INFO: ==17945== Releasing lock...
[2025-01-10 06:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 06:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 06:15:03] Production.INFO: ==17943== Lock acquired, processing the job...
[2025-01-10 06:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 06:15:03] Production.INFO: ==17949== Lock acquired, processing the job...
[2025-01-10 06:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 06:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 06:15:03] Production.INFO: Account Balance Start.
[2025-01-10 06:15:03] Production.INFO: CreateAllLog Start
[2025-01-10 06:15:03] Production.INFO: 117
[2025-01-10 06:15:03] Production.INFO: count ==21
[2025-01-10 06:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:15:03] Production.INFO: count ==21
[2025-01-10 06:15:03] Production.ERROR: done
[2025-01-10 06:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 06:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215013') start
[2025-01-10 06:15:03] Production.INFO: Date 2025-01-08
[2025-01-10 06:15:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:15:03] Production.INFO: Date 2025-01-09
[2025-01-10 06:15:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:15:03] Production.INFO: Date 2025-01-10
[2025-01-10 06:15:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215013') end
[2025-01-10 06:15:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 06:15:03] Production.INFO: 1
[2025-01-10 06:15:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 06:15:03] Production.INFO: Total Charge 0
[2025-01-10 06:15:03] Production.INFO: CreateAllLog End
[2025-01-10 06:15:03] Production.INFO: ==17954== Releasing lock...
[2025-01-10 06:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 06:15:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 06:15:03] Production.ERROR: done
[2025-01-10 06:15:03] Production.INFO: Account Balance End.
[2025-01-10 06:15:04] Production.ERROR: CronJobId end 12
[2025-01-10 06:15:04] Production.INFO: ==17949== Releasing lock...
[2025-01-10 06:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 06:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 06:15:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 03:15:04
[end_date_ymd] => 2025-01-10 06:15:04
[RateCDR] => 1
)
[2025-01-10 06:15:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 03:15:04' and `end` < '2025-01-10 06:15:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 06:15:10] Production.ERROR: CronJobId end10
[2025-01-10 06:15:10] Production.INFO: ==17947== Releasing lock...
[2025-01-10 06:15:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 06:15:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 06:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 06:15:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 06:15:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 06:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 06:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 06:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 06:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 06:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 06:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 06:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 06:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 06:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 06:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 06:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 06:15:13] Production.INFO: call_cost start
[2025-01-10 06:15:13] Production.INFO: call_cost end
[2025-01-10 06:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 06:15:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 06:15:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 06:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 06:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 06:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 06:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 06:15:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 06:15:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 06:15:14] Production.INFO: ==17943== Releasing lock...
[2025-01-10 06:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 06:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 06:15:17] Production.INFO: count ==60
[2025-01-10 06:15:17] Production.ERROR: pbx CDR StartTime 2025-01-10 03:15:04 - End Time 2025-01-10 06:15:04
[2025-01-10 06:15:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 06:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215016', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215016', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215016', 'tblTempVendorCDR_20' ) start
[2025-01-10 06:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215016', 'tblTempVendorCDR_20' ) end
[2025-01-10 06:15:17] Production.INFO: ProcessCDR(1,14215016,1,1,2)
[2025-01-10 06:15:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215016,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:15:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215016,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:15:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215016,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215016,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215016', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215016', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:15:21] Production.INFO: ==17952== Releasing lock...
[2025-01-10 06:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 06:15:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 11:16:01] Production.INFO: ==18049== Lock acquired, processing the job...
[2025-01-10 11:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 11:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 11:16:02] Production.INFO: neon service started
[2025-01-10 11:16:02] Production.INFO: neon service started
[2025-01-10 11:16:02] Production.INFO: ==18049== Releasing lock...
[2025-01-10 11:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 11:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 06:16:02] Production.INFO: ==18051== Lock acquired, processing the job...
[2025-01-10 06:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:16:02] Production.INFO: ==18051== Releasing lock...
[2025-01-10 06:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 06:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 11:16:02] Production.INFO: ==18053== Lock acquired, processing the job...
[2025-01-10 11:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 11:16:02] Production.INFO: ==18053== Releasing lock...
[2025-01-10 11:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 11:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 06:16:03] Production.INFO: ==18056== Lock acquired, processing the job...
[2025-01-10 06:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 06:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 06:16:03] Production.INFO: ==18060== Lock acquired, processing the job...
[2025-01-10 06:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 06:16:03] Production.INFO: ==18058== Lock acquired, processing the job...
[2025-01-10 06:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 06:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 06:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 06:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 06:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 06:16:03] Production.INFO: ==18062== Lock acquired, processing the job...
[2025-01-10 06:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 06:16:03] Production.INFO: ==18058== Releasing lock...
[2025-01-10 06:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 06:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 06:16:03] Production.INFO: Account Balance Start.
[2025-01-10 06:16:03] Production.INFO: CreateAllLog Start
[2025-01-10 06:16:03] Production.INFO: 117
[2025-01-10 06:16:03] Production.INFO: Date 2025-01-08
[2025-01-10 06:16:03] Production.INFO: ==18064== Lock acquired, processing the job...
[2025-01-10 06:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 06:16:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:16:03] Production.INFO: ==18066== Lock acquired, processing the job...
[2025-01-10 06:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 06:16:03] Production.INFO: Date 2025-01-09
[2025-01-10 06:16:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:16:03] Production.INFO: Date 2025-01-10
[2025-01-10 06:16:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:16:04] Production.INFO: Total Charge 0
[2025-01-10 06:16:04] Production.INFO: CreateAllLog End
[2025-01-10 06:16:04] Production.INFO: count ==21
[2025-01-10 06:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:16:04] Production.INFO: count ==21
[2025-01-10 06:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215020') start
[2025-01-10 06:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215020') end
[2025-01-10 06:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 06:16:04] Production.INFO: 1
[2025-01-10 06:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 06:16:04] Production.INFO: Account Balance End.
[2025-01-10 06:16:04] Production.ERROR: done
[2025-01-10 06:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 06:16:04] Production.INFO: ==18066== Releasing lock...
[2025-01-10 06:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 06:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 06:16:04] Production.ERROR: CronJobId end 12
[2025-01-10 06:16:04] Production.INFO: ==18062== Releasing lock...
[2025-01-10 06:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 06:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 06:16:04] Production.ERROR: done
[2025-01-10 06:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 03:16:05
[end_date_ymd] => 2025-01-10 06:16:05
[RateCDR] => 1
)
[2025-01-10 06:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 03:16:05' and `end` < '2025-01-10 06:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 06:16:11] Production.ERROR: CronJobId end10
[2025-01-10 06:16:11] Production.INFO: ==18060== Releasing lock...
[2025-01-10 06:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 06:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 06:16:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 06:16:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 06:16:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 06:16:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 06:16:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 06:16:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 06:16:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 06:16:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 06:16:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 06:16:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 06:16:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 06:16:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 06:16:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 06:16:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 06:16:13] Production.INFO: call_cost start
[2025-01-10 06:16:13] Production.INFO: call_cost end
[2025-01-10 06:16:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 06:16:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 06:16:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 06:16:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 06:16:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 06:16:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 06:16:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 06:16:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 06:16:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 06:16:13] Production.INFO: ==18056== Releasing lock...
[2025-01-10 06:16:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 06:16:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 06:16:19] Production.INFO: count ==60
[2025-01-10 06:16:19] Production.ERROR: pbx CDR StartTime 2025-01-10 03:16:05 - End Time 2025-01-10 06:16:05
[2025-01-10 06:16:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 06:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215021', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215021', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215021', 'tblTempVendorCDR_20' ) start
[2025-01-10 06:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215021', 'tblTempVendorCDR_20' ) end
[2025-01-10 06:16:19] Production.INFO: ProcessCDR(1,14215021,1,1,2)
[2025-01-10 06:16:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215021,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:16:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215021,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:16:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215021,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:16:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215021,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215021', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215021', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:16:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:16:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:16:22] Production.INFO: ==18064== Releasing lock...
[2025-01-10 06:16:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 06:16:22] Production.INFO: 28 MB #Memory Used#
[2025-01-10 11:17:01] Production.INFO: ==18122== Lock acquired, processing the job...
[2025-01-10 11:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 11:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 11:17:01] Production.INFO: neon service started
[2025-01-10 11:17:01] Production.INFO: neon service started
[2025-01-10 11:17:01] Production.INFO: ==18122== Releasing lock...
[2025-01-10 11:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 11:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 06:17:01] Production.INFO: ==18124== Lock acquired, processing the job...
[2025-01-10 06:17:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 11:17:02] Production.INFO: ==18126== Lock acquired, processing the job...
[2025-01-10 11:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 06:17:02] Production.INFO: ==18124== Releasing lock...
[2025-01-10 06:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 06:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 11:17:02] Production.INFO: ==18126== Releasing lock...
[2025-01-10 11:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 11:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 06:17:02] Production.INFO: ==18128== Lock acquired, processing the job...
[2025-01-10 06:17:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 06:17:02] Production.INFO: ==18134== Lock acquired, processing the job...
[2025-01-10 06:17:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 06:17:02] Production.INFO: ==18136== Lock acquired, processing the job...
[2025-01-10 06:17:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 06:17:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 06:17:03] Production.INFO: ==18130== Lock acquired, processing the job...
[2025-01-10 06:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 06:17:03] Production.INFO: Account Balance Start.
[2025-01-10 06:17:03] Production.INFO: CreateAllLog Start
[2025-01-10 06:17:03] Production.INFO: 117
[2025-01-10 06:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:17:03] Production.INFO: Date 2025-01-08
[2025-01-10 06:17:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:17:03] Production.INFO: ==18132== Lock acquired, processing the job...
[2025-01-10 06:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 06:17:03] Production.INFO: Date 2025-01-09
[2025-01-10 06:17:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:17:03] Production.INFO: Date 2025-01-10
[2025-01-10 06:17:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:17:03] Production.INFO: ==18138== Lock acquired, processing the job...
[2025-01-10 06:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 06:17:03] Production.INFO: Total Charge 0
[2025-01-10 06:17:03] Production.INFO: CreateAllLog End
[2025-01-10 06:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 06:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 06:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 06:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 06:17:03] Production.ERROR: done
[2025-01-10 06:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 06:17:03] Production.INFO: ==18130== Releasing lock...
[2025-01-10 06:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 06:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 06:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:17:03] Production.INFO: count ==21
[2025-01-10 06:17:03] Production.INFO: Account Balance End.
[2025-01-10 06:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:17:03] Production.INFO: count ==21
[2025-01-10 06:17:03] Production.ERROR: done
[2025-01-10 06:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215025') start
[2025-01-10 06:17:03] Production.ERROR: CronJobId end 12
[2025-01-10 06:17:03] Production.INFO: ==18134== Releasing lock...
[2025-01-10 06:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 06:17:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 06:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215025') end
[2025-01-10 06:17:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 06:17:03] Production.INFO: 1
[2025-01-10 06:17:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 06:17:03] Production.INFO: ==18138== Releasing lock...
[2025-01-10 06:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 06:17:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 06:17:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 03:17:04
[end_date_ymd] => 2025-01-10 06:17:04
[RateCDR] => 1
)
[2025-01-10 06:17:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 03:17:04' and `end` < '2025-01-10 06:17:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 06:17:10] Production.ERROR: CronJobId end10
[2025-01-10 06:17:10] Production.INFO: ==18132== Releasing lock...
[2025-01-10 06:17:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 06:17:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 06:17:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 06:17:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 06:17:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 06:17:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 06:17:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 06:17:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 06:17:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 06:17:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 06:17:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 06:17:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 06:17:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 06:17:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 06:17:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 06:17:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 06:17:12] Production.INFO: call_cost start
[2025-01-10 06:17:12] Production.INFO: call_cost end
[2025-01-10 06:17:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 06:17:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 06:17:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 06:17:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 06:17:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 06:17:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 06:17:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 06:17:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 06:17:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 06:17:13] Production.INFO: ==18128== Releasing lock...
[2025-01-10 06:17:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 06:17:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 06:17:18] Production.INFO: count ==60
[2025-01-10 06:17:18] Production.ERROR: pbx CDR StartTime 2025-01-10 03:17:04 - End Time 2025-01-10 06:17:04
[2025-01-10 06:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 06:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215026', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215026', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215026', 'tblTempVendorCDR_20' ) start
[2025-01-10 06:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215026', 'tblTempVendorCDR_20' ) end
[2025-01-10 06:17:18] Production.INFO: ProcessCDR(1,14215026,1,1,2)
[2025-01-10 06:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215026,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215026,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215026,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215026,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215026', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215026', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:17:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:17:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:17:21] Production.INFO: ==18136== Releasing lock...
[2025-01-10 06:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 06:17:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 11:18:01] Production.INFO: ==18192== Lock acquired, processing the job...
[2025-01-10 11:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 11:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 11:18:01] Production.INFO: neon service started
[2025-01-10 11:18:01] Production.INFO: neon service started
[2025-01-10 11:18:01] Production.INFO: ==18192== Releasing lock...
[2025-01-10 11:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 11:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 06:18:02] Production.INFO: ==18194== Lock acquired, processing the job...
[2025-01-10 06:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:18:02] Production.INFO: ==18194== Releasing lock...
[2025-01-10 06:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 06:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 11:18:02] Production.INFO: ==18196== Lock acquired, processing the job...
[2025-01-10 11:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 11:18:02] Production.INFO: ==18196== Releasing lock...
[2025-01-10 11:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 11:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 06:18:03] Production.INFO: ==18198== Lock acquired, processing the job...
[2025-01-10 06:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 06:18:03] Production.INFO: ==18204== Lock acquired, processing the job...
[2025-01-10 06:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 06:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 06:18:03] Production.INFO: ==18206== Lock acquired, processing the job...
[2025-01-10 06:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 06:18:03] Production.INFO: Account Balance Start.
[2025-01-10 06:18:03] Production.INFO: CreateAllLog Start
[2025-01-10 06:18:03] Production.INFO: 117
[2025-01-10 06:18:03] Production.INFO: Date 2025-01-08
[2025-01-10 06:18:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:18:03] Production.INFO: ==18200== Lock acquired, processing the job...
[2025-01-10 06:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 06:18:03] Production.INFO: ==18202== Lock acquired, processing the job...
[2025-01-10 06:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 06:18:03] Production.INFO: Date 2025-01-09
[2025-01-10 06:18:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:18:03] Production.INFO: Date 2025-01-10
[2025-01-10 06:18:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:18:03] Production.INFO: Total Charge 0
[2025-01-10 06:18:03] Production.INFO: CreateAllLog End
[2025-01-10 06:18:03] Production.INFO: ==18208== Lock acquired, processing the job...
[2025-01-10 06:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 06:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 06:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 06:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 06:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 06:18:03] Production.ERROR: done
[2025-01-10 06:18:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 06:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:18:03] Production.INFO: Account Balance End.
[2025-01-10 06:18:03] Production.INFO: count ==21
[2025-01-10 06:18:03] Production.ERROR: CronJobId end 12
[2025-01-10 06:18:03] Production.INFO: ==18204== Releasing lock...
[2025-01-10 06:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 06:18:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 06:18:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:18:03] Production.INFO: count ==21
[2025-01-10 06:18:03] Production.ERROR: done
[2025-01-10 06:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215030') start
[2025-01-10 06:18:03] Production.INFO: ==18200== Releasing lock...
[2025-01-10 06:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 06:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 06:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215030') end
[2025-01-10 06:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 06:18:04] Production.INFO: 1
[2025-01-10 06:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 06:18:04] Production.INFO: ==18208== Releasing lock...
[2025-01-10 06:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 06:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 06:18:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 03:18:04
[end_date_ymd] => 2025-01-10 06:18:04
[RateCDR] => 1
)
[2025-01-10 06:18:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 03:18:04' and `end` < '2025-01-10 06:18:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 06:18:10] Production.ERROR: CronJobId end10
[2025-01-10 06:18:10] Production.INFO: ==18202== Releasing lock...
[2025-01-10 06:18:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 06:18:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 06:18:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 06:18:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 06:18:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 06:18:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 06:18:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 06:18:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 06:18:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 06:18:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 06:18:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 06:18:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 06:18:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 06:18:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 06:18:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 06:18:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 06:18:13] Production.INFO: call_cost start
[2025-01-10 06:18:13] Production.INFO: call_cost end
[2025-01-10 06:18:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 06:18:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 06:18:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 06:18:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 06:18:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 06:18:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 06:18:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 06:18:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 06:18:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 06:18:14] Production.INFO: ==18198== Releasing lock...
[2025-01-10 06:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 06:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 06:18:17] Production.INFO: count ==60
[2025-01-10 06:18:17] Production.ERROR: pbx CDR StartTime 2025-01-10 03:18:04 - End Time 2025-01-10 06:18:04
[2025-01-10 06:18:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 06:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215031', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215031', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215031', 'tblTempVendorCDR_20' ) start
[2025-01-10 06:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215031', 'tblTempVendorCDR_20' ) end
[2025-01-10 06:18:17] Production.INFO: ProcessCDR(1,14215031,1,1,2)
[2025-01-10 06:18:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215031,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:18:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215031,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:18:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215031,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:18:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215031,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:18:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215031', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:18:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215031', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:18:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:18:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:18:20] Production.INFO: ==18206== Releasing lock...
[2025-01-10 06:18:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 06:18:20] Production.INFO: 28 MB #Memory Used#
[2025-01-10 11:19:02] Production.INFO: ==18262== Lock acquired, processing the job...
[2025-01-10 11:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 11:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 11:19:02] Production.INFO: neon service started
[2025-01-10 11:19:02] Production.INFO: neon service started
[2025-01-10 11:19:02] Production.INFO: ==18262== Releasing lock...
[2025-01-10 11:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 11:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:19:02] Production.INFO: ==18266== Lock acquired, processing the job...
[2025-01-10 11:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 11:19:02] Production.INFO: ==18266== Releasing lock...
[2025-01-10 11:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 11:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 06:19:02] Production.INFO: ==18264== Lock acquired, processing the job...
[2025-01-10 06:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:19:02] Production.INFO: ==18264== Releasing lock...
[2025-01-10 06:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 06:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 06:19:03] Production.INFO: ==18272== Lock acquired, processing the job...
[2025-01-10 06:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 06:19:03] Production.INFO: ==18274== Lock acquired, processing the job...
[2025-01-10 06:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 06:19:03] Production.INFO: Account Balance Start.
[2025-01-10 06:19:03] Production.INFO: CreateAllLog Start
[2025-01-10 06:19:03] Production.INFO: 117
[2025-01-10 06:19:03] Production.INFO: Date 2025-01-08
[2025-01-10 06:19:03] Production.INFO: ==18278== Lock acquired, processing the job...
[2025-01-10 06:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 06:19:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:19:03] Production.INFO: Date 2025-01-09
[2025-01-10 06:19:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 06:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 06:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 06:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 06:19:03] Production.INFO: Date 2025-01-10
[2025-01-10 06:19:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:19:03] Production.INFO: Total Charge 0
[2025-01-10 06:19:03] Production.INFO: CreateAllLog End
[2025-01-10 06:19:03] Production.INFO: count ==21
[2025-01-10 06:19:03] Production.INFO: ==18268== Lock acquired, processing the job...
[2025-01-10 06:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 06:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:19:03] Production.INFO: ==18270== Lock acquired, processing the job...
[2025-01-10 06:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 06:19:03] Production.INFO: count ==21
[2025-01-10 06:19:03] Production.INFO: ==18276== Lock acquired, processing the job...
[2025-01-10 06:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 06:19:03] Production.INFO: Account Balance End.
[2025-01-10 06:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215033') start
[2025-01-10 06:19:04] Production.ERROR: CronJobId end 12
[2025-01-10 06:19:04] Production.INFO: ==18274== Releasing lock...
[2025-01-10 06:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 06:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 06:19:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 06:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215033') end
[2025-01-10 06:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 06:19:04] Production.INFO: 1
[2025-01-10 06:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 06:19:04] Production.INFO: ==18270== Releasing lock...
[2025-01-10 06:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 06:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 06:19:04] Production.INFO: ==18278== Releasing lock...
[2025-01-10 06:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 06:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 06:19:04] Production.ERROR: done
[2025-01-10 06:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 06:19:04] Production.ERROR: done
[2025-01-10 06:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 03:19:05
[end_date_ymd] => 2025-01-10 06:19:05
[RateCDR] => 1
)
[2025-01-10 06:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 03:19:05' and `end` < '2025-01-10 06:19:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 06:19:11] Production.ERROR: CronJobId end10
[2025-01-10 06:19:11] Production.INFO: ==18272== Releasing lock...
[2025-01-10 06:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 06:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 06:19:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 06:19:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 06:19:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 06:19:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 06:19:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 06:19:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 06:19:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 06:19:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 06:19:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 06:19:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 06:19:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 06:19:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 06:19:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 06:19:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 06:19:12] Production.INFO: call_cost start
[2025-01-10 06:19:12] Production.INFO: call_cost end
[2025-01-10 06:19:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 06:19:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 06:19:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 06:19:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 06:19:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 06:19:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 06:19:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 06:19:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 06:19:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 06:19:13] Production.INFO: ==18268== Releasing lock...
[2025-01-10 06:19:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 06:19:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 06:19:18] Production.INFO: count ==60
[2025-01-10 06:19:18] Production.ERROR: pbx CDR StartTime 2025-01-10 03:19:05 - End Time 2025-01-10 06:19:05
[2025-01-10 06:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 06:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215036', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215036', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215036', 'tblTempVendorCDR_20' ) start
[2025-01-10 06:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215036', 'tblTempVendorCDR_20' ) end
[2025-01-10 06:19:18] Production.INFO: ProcessCDR(1,14215036,1,1,2)
[2025-01-10 06:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215036,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215036,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215036,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215036,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215036', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215036', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:19:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:19:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:19:21] Production.INFO: ==18276== Releasing lock...
[2025-01-10 06:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 06:19:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 11:20:01] Production.INFO: ==18334== Lock acquired, processing the job...
[2025-01-10 11:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 11:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 11:20:01] Production.INFO: neon service started
[2025-01-10 11:20:01] Production.INFO: neon service started
[2025-01-10 11:20:01] Production.INFO: ==18334== Releasing lock...
[2025-01-10 11:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 11:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:20:01] Production.INFO: ==18339== Lock acquired, processing the job...
[2025-01-10 11:20:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 11:20:01] Production.INFO: ==18339== Releasing lock...
[2025-01-10 11:20:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 11:20:01] Production.INFO: 25 MB #Memory Used#
[2025-01-10 06:20:02] Production.INFO: ==18337== Lock acquired, processing the job...
[2025-01-10 06:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:20:02] Production.INFO: ==18337== Releasing lock...
[2025-01-10 06:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 06:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 06:20:03] Production.INFO: ==18341== Lock acquired, processing the job...
[2025-01-10 06:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 06:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 06:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 06:20:03] Production.INFO: ==18341== Releasing lock...
[2025-01-10 06:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 06:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 06:20:03] Production.INFO: ==18343== Lock acquired, processing the job...
[2025-01-10 06:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 06:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 06:20:03] Production.INFO: ==18351== Lock acquired, processing the job...
[2025-01-10 06:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 06:20:03] Production.INFO: ==18349== Lock acquired, processing the job...
[2025-01-10 06:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 06:20:03] Production.INFO: ==18345== Lock acquired, processing the job...
[2025-01-10 06:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 06:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:20:03] Production.INFO: Account Balance Start.
[2025-01-10 06:20:03] Production.INFO: CreateAllLog Start
[2025-01-10 06:20:03] Production.INFO: 117
[2025-01-10 06:20:03] Production.INFO: Date 2025-01-08
[2025-01-10 06:20:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:20:03] Production.INFO: ==18347== Lock acquired, processing the job...
[2025-01-10 06:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 06:20:03] Production.INFO: ==18355== Lock acquired, processing the job...
[2025-01-10 06:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 06:20:03] Production.INFO: Date 2025-01-09
[2025-01-10 06:20:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:20:03] Production.INFO: Date 2025-01-10
[2025-01-10 06:20:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:20:03] Production.INFO: ==18353== Lock acquired, processing the job...
[2025-01-10 06:20:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 06:20:03] Production.INFO: Total Charge 0
[2025-01-10 06:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 06:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 06:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 06:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 06:20:03] Production.INFO: CreateAllLog End
[2025-01-10 06:20:03] Production.ERROR: done
[2025-01-10 06:20:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 06:20:03] Production.INFO: ==18345== Releasing lock...
[2025-01-10 06:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 06:20:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 06:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:20:04] Production.INFO: Account Balance End.
[2025-01-10 06:20:04] Production.INFO: count ==21
[2025-01-10 06:20:04] Production.ERROR: done
[2025-01-10 06:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:20:04] Production.INFO: count ==21
[2025-01-10 06:20:04] Production.ERROR: CronJobId end 12
[2025-01-10 06:20:04] Production.INFO: ==18349== Releasing lock...
[2025-01-10 06:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 06:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 06:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215040') start
[2025-01-10 06:20:04] Production.ERROR: done
[2025-01-10 06:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 06:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14215042', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 06:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215040') end
[2025-01-10 06:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 06:20:04] Production.INFO: 1
[2025-01-10 06:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 06:20:04] Production.INFO: ==18355== Releasing lock...
[2025-01-10 06:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 06:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 06:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 03:20:05
[end_date_ymd] => 2025-01-10 06:20:05
[RateCDR] => 1
)
[2025-01-10 06:20:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 03:20:05' and `end` < '2025-01-10 06:20:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 06:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14215042', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 06:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 06:20:08] Production.INFO: ProcessCDR(1,14215042,1,1,2)
[2025-01-10 06:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14215042,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14215042,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:20:08] Production.INFO: ==18353== Releasing lock...
[2025-01-10 06:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 06:20:08] Production.INFO: 26 MB #Memory Used#
[2025-01-10 06:20:13] Production.ERROR: CronJobId end10
[2025-01-10 06:20:13] Production.INFO: ==18347== Releasing lock...
[2025-01-10 06:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 06:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 06:20:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 06:20:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 06:20:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 06:20:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 06:20:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 06:20:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 06:20:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 06:20:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 06:20:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 06:20:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 06:20:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 06:20:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 06:20:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 06:20:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 06:20:14] Production.INFO: call_cost start
[2025-01-10 06:20:14] Production.INFO: call_cost end
[2025-01-10 06:20:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 06:20:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 06:20:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 06:20:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 06:20:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 06:20:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 06:20:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 06:20:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 06:20:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 06:20:15] Production.INFO: ==18343== Releasing lock...
[2025-01-10 06:20:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 06:20:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 06:20:17] Production.INFO: count ==58
[2025-01-10 06:20:17] Production.ERROR: pbx CDR StartTime 2025-01-10 03:20:05 - End Time 2025-01-10 06:20:05
[2025-01-10 06:20:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 06:20:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215041', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:20:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215041', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:20:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215041', 'tblTempVendorCDR_20' ) start
[2025-01-10 06:20:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215041', 'tblTempVendorCDR_20' ) end
[2025-01-10 06:20:17] Production.INFO: ProcessCDR(1,14215041,1,1,2)
[2025-01-10 06:20:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215041,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:20:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215041,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:20:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215041,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:20:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215041,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215041', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215041', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:20:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:20:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:20:21] Production.INFO: ==18351== Releasing lock...
[2025-01-10 06:20:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 06:20:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 11:21:01] Production.INFO: ==18410== Lock acquired, processing the job...
[2025-01-10 11:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 11:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 11:21:01] Production.INFO: neon service started
[2025-01-10 11:21:01] Production.INFO: neon service started
[2025-01-10 11:21:01] Production.INFO: ==18410== Releasing lock...
[2025-01-10 11:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 11:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:21:02] Production.INFO: ==18414== Lock acquired, processing the job...
[2025-01-10 11:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 11:21:02] Production.INFO: ==18414== Releasing lock...
[2025-01-10 11:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 11:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 06:21:02] Production.INFO: ==18412== Lock acquired, processing the job...
[2025-01-10 06:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:21:02] Production.INFO: ==18412== Releasing lock...
[2025-01-10 06:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 06:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 06:21:03] Production.INFO: ==18419== Lock acquired, processing the job...
[2025-01-10 06:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 06:21:03] Production.INFO: ==18423== Lock acquired, processing the job...
[2025-01-10 06:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 06:21:03] Production.INFO: ==18425== Lock acquired, processing the job...
[2025-01-10 06:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 06:21:03] Production.INFO: Account Balance Start.
[2025-01-10 06:21:03] Production.INFO: CreateAllLog Start
[2025-01-10 06:21:03] Production.INFO: 117
[2025-01-10 06:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:21:03] Production.INFO: Date 2025-01-08
[2025-01-10 06:21:03] Production.INFO: ==18417== Lock acquired, processing the job...
[2025-01-10 06:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 06:21:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:21:03] Production.INFO: ==18421== Lock acquired, processing the job...
[2025-01-10 06:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 06:21:03] Production.INFO: Date 2025-01-09
[2025-01-10 06:21:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 06:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 06:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 06:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 06:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 06:21:03] Production.INFO: ==18427== Lock acquired, processing the job...
[2025-01-10 06:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 06:21:03] Production.INFO: ==18419== Releasing lock...
[2025-01-10 06:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 06:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 06:21:03] Production.INFO: Date 2025-01-10
[2025-01-10 06:21:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:21:03] Production.INFO: Total Charge 0
[2025-01-10 06:21:03] Production.ERROR: done
[2025-01-10 06:21:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 06:21:03] Production.INFO: CreateAllLog End
[2025-01-10 06:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:21:04] Production.ERROR: done
[2025-01-10 06:21:04] Production.INFO: count ==21
[2025-01-10 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-01-10 06:21:04] Production.INFO: count ==21
[2025-01-10 06:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215046') start
[2025-01-10 06:21:04] Production.INFO: Account Balance End.
[2025-01-10 06:21:04] Production.ERROR: CronJobId end 12
[2025-01-10 06:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215046') end
[2025-01-10 06:21:04] Production.INFO: ==18423== Releasing lock...
[2025-01-10 06:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 06:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 06:21:04] Production.INFO: 1
[2025-01-10 06:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 06:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 06:21:04] Production.INFO: ==18427== Releasing lock...
[2025-01-10 06:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 06:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 06:21:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 03:21:04
[end_date_ymd] => 2025-01-10 06:21:04
[RateCDR] => 1
)
[2025-01-10 06:21:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 03:21:04' and `end` < '2025-01-10 06:21:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 06:21:10] Production.ERROR: CronJobId end10
[2025-01-10 06:21:10] Production.INFO: ==18421== Releasing lock...
[2025-01-10 06:21:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 06:21:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 06:21:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 06:21:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 06:21:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 06:21:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 06:21:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 06:21:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 06:21:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 06:21:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 06:21:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 06:21:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 06:21:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 06:21:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 06:21:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 06:21:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 06:21:12] Production.INFO: call_cost start
[2025-01-10 06:21:12] Production.INFO: call_cost end
[2025-01-10 06:21:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 06:21:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 06:21:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 06:21:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 06:21:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 06:21:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 06:21:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 06:21:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 06:21:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 06:21:13] Production.INFO: ==18417== Releasing lock...
[2025-01-10 06:21:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 06:21:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 06:21:19] Production.INFO: count ==58
[2025-01-10 06:21:19] Production.ERROR: pbx CDR StartTime 2025-01-10 03:21:04 - End Time 2025-01-10 06:21:04
[2025-01-10 06:21:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 06:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215047', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215047', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215047', 'tblTempVendorCDR_20' ) start
[2025-01-10 06:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215047', 'tblTempVendorCDR_20' ) end
[2025-01-10 06:21:19] Production.INFO: ProcessCDR(1,14215047,1,1,2)
[2025-01-10 06:21:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215047,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:21:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215047,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:21:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215047,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:21:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215047,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215047', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215047', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:21:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:21:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:21:22] Production.INFO: ==18425== Releasing lock...
[2025-01-10 06:21:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 06:21:22] Production.INFO: 28 MB #Memory Used#
[2025-01-10 11:22:01] Production.INFO: ==18480== Lock acquired, processing the job...
[2025-01-10 11:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 11:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 11:22:01] Production.INFO: neon service started
[2025-01-10 11:22:01] Production.INFO: neon service started
[2025-01-10 11:22:01] Production.INFO: ==18480== Releasing lock...
[2025-01-10 11:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 11:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 06:22:01] Production.INFO: ==18482== Lock acquired, processing the job...
[2025-01-10 06:22:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 11:22:01] Production.INFO: ==18484== Lock acquired, processing the job...
[2025-01-10 11:22:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 11:22:02] Production.INFO: ==18484== Releasing lock...
[2025-01-10 11:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 11:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 06:22:02] Production.INFO: ==18482== Releasing lock...
[2025-01-10 06:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 06:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 06:22:02] Production.INFO: ==18487== Lock acquired, processing the job...
[2025-01-10 06:22:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 06:22:02] Production.INFO: ==18493== Lock acquired, processing the job...
[2025-01-10 06:22:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 06:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 06:22:03] Production.INFO: ==18489== Lock acquired, processing the job...
[2025-01-10 06:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 06:22:03] Production.INFO: Account Balance Start.
[2025-01-10 06:22:03] Production.INFO: CreateAllLog Start
[2025-01-10 06:22:03] Production.INFO: 117
[2025-01-10 06:22:03] Production.INFO: Date 2025-01-08
[2025-01-10 06:22:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:22:03] Production.INFO: Date 2025-01-09
[2025-01-10 06:22:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:22:03] Production.INFO: Date 2025-01-10
[2025-01-10 06:22:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:22:03] Production.INFO: ==18491== Lock acquired, processing the job...
[2025-01-10 06:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 06:22:03] Production.INFO: Total Charge 0
[2025-01-10 06:22:03] Production.INFO: CreateAllLog End
[2025-01-10 06:22:03] Production.INFO: ==18497== Lock acquired, processing the job...
[2025-01-10 06:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 06:22:03] Production.INFO: ==18495== Lock acquired, processing the job...
[2025-01-10 06:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 06:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:22:03] Production.INFO: Account Balance End.
[2025-01-10 06:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 06:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 06:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 06:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 06:22:03] Production.INFO: count ==21
[2025-01-10 06:22:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:22:03] Production.INFO: count ==21
[2025-01-10 06:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215051') start
[2025-01-10 06:22:03] Production.ERROR: CronJobId end 12
[2025-01-10 06:22:03] Production.INFO: ==18493== Releasing lock...
[2025-01-10 06:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 06:22:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 06:22:03] Production.INFO: ==18489== Releasing lock...
[2025-01-10 06:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 06:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 06:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215051') end
[2025-01-10 06:22:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 06:22:03] Production.INFO: 1
[2025-01-10 06:22:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 06:22:03] Production.ERROR: done
[2025-01-10 06:22:03] Production.INFO: ==18497== Releasing lock...
[2025-01-10 06:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 06:22:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 06:22:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 06:22:03] Production.ERROR: done
[2025-01-10 06:22:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 03:22:04
[end_date_ymd] => 2025-01-10 06:22:04
[RateCDR] => 1
)
[2025-01-10 06:22:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 03:22:04' and `end` < '2025-01-10 06:22:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 06:22:10] Production.ERROR: CronJobId end10
[2025-01-10 06:22:10] Production.INFO: ==18491== Releasing lock...
[2025-01-10 06:22:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 06:22:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 06:22:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 06:22:11] Production.INFO: ============== Balance Warning START===========
[2025-01-10 06:22:11] Production.INFO: ============== Balance Warning END===========
[2025-01-10 06:22:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 06:22:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 06:22:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 06:22:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 06:22:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 06:22:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 06:22:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 06:22:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 06:22:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 06:22:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 06:22:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 06:22:12] Production.INFO: call_cost start
[2025-01-10 06:22:12] Production.INFO: call_cost end
[2025-01-10 06:22:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 06:22:12] Production.INFO: ============== Report Schedule START===========
[2025-01-10 06:22:12] Production.INFO: ============== Report Schedule END===========
[2025-01-10 06:22:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 06:22:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 06:22:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 06:22:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 06:22:12] Production.INFO: ============== Deal alert START===========
[2025-01-10 06:22:12] Production.INFO: ============== Deal alert END===========
[2025-01-10 06:22:12] Production.INFO: ==18487== Releasing lock...
[2025-01-10 06:22:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 06:22:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 06:22:19] Production.INFO: count ==58
[2025-01-10 06:22:19] Production.ERROR: pbx CDR StartTime 2025-01-10 03:22:04 - End Time 2025-01-10 06:22:04
[2025-01-10 06:22:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 06:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215052', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215052', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215052', 'tblTempVendorCDR_20' ) start
[2025-01-10 06:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215052', 'tblTempVendorCDR_20' ) end
[2025-01-10 06:22:19] Production.INFO: ProcessCDR(1,14215052,1,1,2)
[2025-01-10 06:22:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215052,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:22:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215052,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215052,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215052,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215052', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215052', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:22:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:22:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:22:22] Production.INFO: ==18495== Releasing lock...
[2025-01-10 06:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 06:22:22] Production.INFO: 28 MB #Memory Used#
[2025-01-10 11:23:01] Production.INFO: ==18551== Lock acquired, processing the job...
[2025-01-10 11:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 11:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 11:23:01] Production.INFO: neon service started
[2025-01-10 11:23:01] Production.INFO: neon service started
[2025-01-10 11:23:01] Production.INFO: ==18551== Releasing lock...
[2025-01-10 11:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 11:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 06:23:02] Production.INFO: ==18553== Lock acquired, processing the job...
[2025-01-10 06:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 11:23:02] Production.INFO: ==18555== Lock acquired, processing the job...
[2025-01-10 11:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 06:23:02] Production.INFO: ==18553== Releasing lock...
[2025-01-10 06:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 06:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 11:23:02] Production.INFO: ==18555== Releasing lock...
[2025-01-10 11:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 11:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 06:23:03] Production.INFO: ==18558== Lock acquired, processing the job...
[2025-01-10 06:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 06:23:03] Production.INFO: ==18562== Lock acquired, processing the job...
[2025-01-10 06:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 06:23:03] Production.INFO: ==18560== Lock acquired, processing the job...
[2025-01-10 06:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 06:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 06:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 06:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 06:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 06:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 06:23:03] Production.INFO: ==18564== Lock acquired, processing the job...
[2025-01-10 06:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 06:23:03] Production.INFO: ==18566== Lock acquired, processing the job...
[2025-01-10 06:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 06:23:03] Production.INFO: Account Balance Start.
[2025-01-10 06:23:03] Production.INFO: CreateAllLog Start
[2025-01-10 06:23:03] Production.INFO: 117
[2025-01-10 06:23:03] Production.INFO: Date 2025-01-08
[2025-01-10 06:23:03] Production.INFO: ==18568== Lock acquired, processing the job...
[2025-01-10 06:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 06:23:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:23:03] Production.INFO: Date 2025-01-09
[2025-01-10 06:23:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:23:03] Production.INFO: ==18560== Releasing lock...
[2025-01-10 06:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 06:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 06:23:03] Production.INFO: Date 2025-01-10
[2025-01-10 06:23:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:23:03] Production.INFO: Total Charge 0
[2025-01-10 06:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:23:03] Production.INFO: CreateAllLog End
[2025-01-10 06:23:03] Production.INFO: count ==21
[2025-01-10 06:23:04] Production.ERROR: done
[2025-01-10 06:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 06:23:04] Production.INFO: count ==21
[2025-01-10 06:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215056') start
[2025-01-10 06:23:04] Production.INFO: Account Balance End.
[2025-01-10 06:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215056') end
[2025-01-10 06:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 06:23:04] Production.INFO: 1
[2025-01-10 06:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 06:23:04] Production.ERROR: CronJobId end 12
[2025-01-10 06:23:04] Production.INFO: ==18564== Releasing lock...
[2025-01-10 06:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 06:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 06:23:04] Production.ERROR: done
[2025-01-10 06:23:04] Production.INFO: ==18568== Releasing lock...
[2025-01-10 06:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 06:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 06:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 03:23:05
[end_date_ymd] => 2025-01-10 06:23:05
[RateCDR] => 1
)
[2025-01-10 06:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 03:23:05' and `end` < '2025-01-10 06:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 06:23:10] Production.ERROR: CronJobId end10
[2025-01-10 06:23:10] Production.INFO: ==18562== Releasing lock...
[2025-01-10 06:23:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 06:23:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 06:23:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 06:23:11] Production.INFO: ============== Balance Warning START===========
[2025-01-10 06:23:11] Production.INFO: ============== Balance Warning END===========
[2025-01-10 06:23:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 06:23:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 06:23:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 06:23:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 06:23:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 06:23:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 06:23:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 06:23:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 06:23:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 06:23:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 06:23:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 06:23:11] Production.INFO: call_cost start
[2025-01-10 06:23:11] Production.INFO: call_cost end
[2025-01-10 06:23:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 06:23:12] Production.INFO: ============== Report Schedule START===========
[2025-01-10 06:23:12] Production.INFO: ============== Report Schedule END===========
[2025-01-10 06:23:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 06:23:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 06:23:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 06:23:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 06:23:12] Production.INFO: ============== Deal alert START===========
[2025-01-10 06:23:12] Production.INFO: ============== Deal alert END===========
[2025-01-10 06:23:12] Production.INFO: ==18558== Releasing lock...
[2025-01-10 06:23:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 06:23:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 06:23:18] Production.INFO: count ==58
[2025-01-10 06:23:18] Production.ERROR: pbx CDR StartTime 2025-01-10 03:23:05 - End Time 2025-01-10 06:23:05
[2025-01-10 06:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 06:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215057', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215057', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215057', 'tblTempVendorCDR_20' ) start
[2025-01-10 06:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215057', 'tblTempVendorCDR_20' ) end
[2025-01-10 06:23:18] Production.INFO: ProcessCDR(1,14215057,1,1,2)
[2025-01-10 06:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215057,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215057,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215057,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215057,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215057', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215057', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:23:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:23:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:23:21] Production.INFO: ==18566== Releasing lock...
[2025-01-10 06:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 06:23:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 11:24:02] Production.INFO: ==18623== Lock acquired, processing the job...
[2025-01-10 11:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 11:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 11:24:02] Production.INFO: neon service started
[2025-01-10 11:24:02] Production.INFO: neon service started
[2025-01-10 11:24:02] Production.INFO: ==18623== Releasing lock...
[2025-01-10 11:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 11:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 06:24:02] Production.INFO: ==18625== Lock acquired, processing the job...
[2025-01-10 06:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:24:02] Production.INFO: ==18625== Releasing lock...
[2025-01-10 06:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 06:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 11:24:03] Production.INFO: ==18627== Lock acquired, processing the job...
[2025-01-10 11:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 11:24:03] Production.INFO: ==18627== Releasing lock...
[2025-01-10 11:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 11:24:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 06:24:03] Production.INFO: ==18635== Lock acquired, processing the job...
[2025-01-10 06:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 06:24:03] Production.INFO: Account Balance Start.
[2025-01-10 06:24:03] Production.INFO: CreateAllLog Start
[2025-01-10 06:24:03] Production.INFO: 117
[2025-01-10 06:24:03] Production.INFO: Date 2025-01-08
[2025-01-10 06:24:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:24:03] Production.INFO: ==18639== Lock acquired, processing the job...
[2025-01-10 06:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 06:24:04] Production.INFO: ==18629== Lock acquired, processing the job...
[2025-01-10 06:24:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 06:24:04] Production.INFO: Date 2025-01-09
[2025-01-10 06:24:04] Production.INFO: Reseller ==> 0
[2025-01-10 06:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:24:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 06:24:04] Production.INFO: Date 2025-01-10
[2025-01-10 06:24:04] Production.INFO: Reseller ==> 0
[2025-01-10 06:24:04] Production.INFO: count ==21
[2025-01-10 06:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:24:04] Production.INFO: ==18633== Lock acquired, processing the job...
[2025-01-10 06:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 06:24:04] Production.INFO: count ==21
[2025-01-10 06:24:04] Production.INFO: Total Charge 0
[2025-01-10 06:24:04] Production.INFO: ==18631== Lock acquired, processing the job...
[2025-01-10 06:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 06:24:04] Production.INFO: CreateAllLog End
[2025-01-10 06:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215059') start
[2025-01-10 06:24:04] Production.INFO: ==18637== Lock acquired, processing the job...
[2025-01-10 06:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 06:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 06:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 06:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 06:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 06:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215059') end
[2025-01-10 06:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 06:24:04] Production.INFO: 1
[2025-01-10 06:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 06:24:04] Production.INFO: Account Balance End.
[2025-01-10 06:24:04] Production.INFO: ==18639== Releasing lock...
[2025-01-10 06:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 06:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 06:24:04] Production.ERROR: CronJobId end 12
[2025-01-10 06:24:04] Production.INFO: ==18635== Releasing lock...
[2025-01-10 06:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 06:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 06:24:04] Production.INFO: ==18631== Releasing lock...
[2025-01-10 06:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 06:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 06:24:04] Production.ERROR: done
[2025-01-10 06:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 06:24:04] Production.ERROR: done
[2025-01-10 06:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 03:24:05
[end_date_ymd] => 2025-01-10 06:24:05
[RateCDR] => 1
)
[2025-01-10 06:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 03:24:05' and `end` < '2025-01-10 06:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 06:24:10] Production.ERROR: CronJobId end10
[2025-01-10 06:24:10] Production.INFO: ==18633== Releasing lock...
[2025-01-10 06:24:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 06:24:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 06:24:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 06:24:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 06:24:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 06:24:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 06:24:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 06:24:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 06:24:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 06:24:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 06:24:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 06:24:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 06:24:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 06:24:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 06:24:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 06:24:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 06:24:12] Production.INFO: call_cost start
[2025-01-10 06:24:12] Production.INFO: call_cost end
[2025-01-10 06:24:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 06:24:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 06:24:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 06:24:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 06:24:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 06:24:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 06:24:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 06:24:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 06:24:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 06:24:13] Production.INFO: ==18629== Releasing lock...
[2025-01-10 06:24:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 06:24:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 06:24:19] Production.INFO: count ==58
[2025-01-10 06:24:19] Production.ERROR: pbx CDR StartTime 2025-01-10 03:24:05 - End Time 2025-01-10 06:24:05
[2025-01-10 06:24:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 06:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215062', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215062', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215062', 'tblTempVendorCDR_20' ) start
[2025-01-10 06:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215062', 'tblTempVendorCDR_20' ) end
[2025-01-10 06:24:19] Production.INFO: ProcessCDR(1,14215062,1,1,2)
[2025-01-10 06:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215062,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:24:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215062,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:24:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215062,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:24:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215062,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215062', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215062', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:24:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:24:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:24:22] Production.INFO: ==18637== Releasing lock...
[2025-01-10 06:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 06:24:22] Production.INFO: 28 MB #Memory Used#
[2025-01-10 11:25:01] Production.INFO: ==18694== Lock acquired, processing the job...
[2025-01-10 11:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 11:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 11:25:01] Production.INFO: neon service started
[2025-01-10 11:25:01] Production.INFO: neon service started
[2025-01-10 11:25:01] Production.INFO: ==18694== Releasing lock...
[2025-01-10 11:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 11:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:25:02] Production.INFO: ==18698== Lock acquired, processing the job...
[2025-01-10 11:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 11:25:02] Production.INFO: ==18698== Releasing lock...
[2025-01-10 11:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 11:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 06:25:02] Production.INFO: ==18696== Lock acquired, processing the job...
[2025-01-10 06:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:25:02] Production.INFO: ==18696== Releasing lock...
[2025-01-10 06:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 06:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 06:25:03] Production.INFO: ==18704== Lock acquired, processing the job...
[2025-01-10 06:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 06:25:03] Production.INFO: ==18700== Lock acquired, processing the job...
[2025-01-10 06:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 06:25:03] Production.INFO: ==18702== Lock acquired, processing the job...
[2025-01-10 06:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 06:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 06:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 06:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 06:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 06:25:03] Production.INFO: ==18706== Lock acquired, processing the job...
[2025-01-10 06:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 06:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 06:25:03] Production.INFO: Account Balance Start.
[2025-01-10 06:25:03] Production.INFO: CreateAllLog Start
[2025-01-10 06:25:03] Production.INFO: 117
[2025-01-10 06:25:03] Production.INFO: ==18708== Lock acquired, processing the job...
[2025-01-10 06:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 06:25:03] Production.INFO: Date 2025-01-08
[2025-01-10 06:25:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:25:03] Production.INFO: Date 2025-01-09
[2025-01-10 06:25:03] Production.INFO: ==18711== Lock acquired, processing the job...
[2025-01-10 06:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 06:25:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:25:03] Production.INFO: ==18702== Releasing lock...
[2025-01-10 06:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 06:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 06:25:03] Production.INFO: Date 2025-01-10
[2025-01-10 06:25:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:25:03] Production.INFO: Total Charge 0
[2025-01-10 06:25:03] Production.INFO: CreateAllLog End
[2025-01-10 06:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:25:03] Production.ERROR: done
[2025-01-10 06:25:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 06:25:04] Production.INFO: count ==21
[2025-01-10 06:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:25:04] Production.INFO: count ==21
[2025-01-10 06:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215066') start
[2025-01-10 06:25:04] Production.ERROR: done
[2025-01-10 06:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215066') end
[2025-01-10 06:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 06:25:04] Production.INFO: 1
[2025-01-10 06:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 06:25:04] Production.INFO: ==18711== Releasing lock...
[2025-01-10 06:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 06:25:04] Production.INFO: Account Balance End.
[2025-01-10 06:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 06:25:04] Production.ERROR: CronJobId end 12
[2025-01-10 06:25:04] Production.INFO: ==18706== Releasing lock...
[2025-01-10 06:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 06:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 06:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 03:25:05
[end_date_ymd] => 2025-01-10 06:25:05
[RateCDR] => 1
)
[2025-01-10 06:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 03:25:05' and `end` < '2025-01-10 06:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 06:25:11] Production.ERROR: CronJobId end10
[2025-01-10 06:25:11] Production.INFO: ==18704== Releasing lock...
[2025-01-10 06:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 06:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 06:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 06:25:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 06:25:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 06:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 06:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 06:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 06:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 06:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 06:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 06:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 06:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 06:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 06:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 06:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 06:25:13] Production.INFO: call_cost start
[2025-01-10 06:25:13] Production.INFO: call_cost end
[2025-01-10 06:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 06:25:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 06:25:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 06:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 06:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 06:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 06:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 06:25:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 06:25:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 06:25:14] Production.INFO: ==18700== Releasing lock...
[2025-01-10 06:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 06:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 06:25:19] Production.INFO: count ==58
[2025-01-10 06:25:19] Production.ERROR: pbx CDR StartTime 2025-01-10 03:25:05 - End Time 2025-01-10 06:25:05
[2025-01-10 06:25:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 06:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215067', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215067', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215067', 'tblTempVendorCDR_20' ) start
[2025-01-10 06:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215067', 'tblTempVendorCDR_20' ) end
[2025-01-10 06:25:19] Production.INFO: ProcessCDR(1,14215067,1,1,2)
[2025-01-10 06:25:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215067,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:25:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215067,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:25:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215067,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:25:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215067,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215067', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215067', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:25:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:25:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:25:22] Production.INFO: ==18708== Releasing lock...
[2025-01-10 06:25:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 06:25:22] Production.INFO: 28 MB #Memory Used#
[2025-01-10 11:26:02] Production.INFO: ==18766== Lock acquired, processing the job...
[2025-01-10 11:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 11:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 11:26:02] Production.INFO: neon service started
[2025-01-10 11:26:02] Production.INFO: neon service started
[2025-01-10 11:26:02] Production.INFO: ==18766== Releasing lock...
[2025-01-10 11:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 11:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:26:02] Production.INFO: ==18770== Lock acquired, processing the job...
[2025-01-10 11:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 11:26:02] Production.INFO: ==18770== Releasing lock...
[2025-01-10 11:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 11:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 06:26:02] Production.INFO: ==18768== Lock acquired, processing the job...
[2025-01-10 06:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:26:03] Production.INFO: ==18768== Releasing lock...
[2025-01-10 06:26:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 06:26:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 06:26:03] Production.INFO: ==18776== Lock acquired, processing the job...
[2025-01-10 06:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 06:26:03] Production.INFO: ==18774== Lock acquired, processing the job...
[2025-01-10 06:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 06:26:03] Production.INFO: ==18780== Lock acquired, processing the job...
[2025-01-10 06:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 06:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 06:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 06:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 06:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 06:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:26:03] Production.INFO: ==18772== Lock acquired, processing the job...
[2025-01-10 06:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 06:26:04] Production.INFO: ==18778== Lock acquired, processing the job...
[2025-01-10 06:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 06:26:04] Production.INFO: ==18774== Releasing lock...
[2025-01-10 06:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 06:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 06:26:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 06:26:04] Production.INFO: ==18783== Lock acquired, processing the job...
[2025-01-10 06:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 06:26:04] Production.INFO: Account Balance Start.
[2025-01-10 06:26:04] Production.INFO: CreateAllLog Start
[2025-01-10 06:26:04] Production.INFO: 117
[2025-01-10 06:26:04] Production.INFO: Date 2025-01-08
[2025-01-10 06:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:26:04] Production.INFO: Reseller ==> 0
[2025-01-10 06:26:04] Production.INFO: count ==21
[2025-01-10 06:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:26:04] Production.INFO: count ==21
[2025-01-10 06:26:04] Production.ERROR: done
[2025-01-10 06:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 06:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215071') start
[2025-01-10 06:26:04] Production.INFO: Date 2025-01-09
[2025-01-10 06:26:04] Production.INFO: Reseller ==> 0
[2025-01-10 06:26:04] Production.INFO: Date 2025-01-10
[2025-01-10 06:26:04] Production.INFO: Reseller ==> 0
[2025-01-10 06:26:04] Production.INFO: Total Charge 0
[2025-01-10 06:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215071') end
[2025-01-10 06:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 06:26:04] Production.INFO: 1
[2025-01-10 06:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 06:26:04] Production.INFO: CreateAllLog End
[2025-01-10 06:26:04] Production.ERROR: done
[2025-01-10 06:26:04] Production.INFO: ==18783== Releasing lock...
[2025-01-10 06:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 06:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 06:26:04] Production.INFO: Account Balance End.
[2025-01-10 06:26:04] Production.ERROR: CronJobId end 12
[2025-01-10 06:26:04] Production.INFO: ==18778== Releasing lock...
[2025-01-10 06:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 06:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 06:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 03:26:05
[end_date_ymd] => 2025-01-10 06:26:05
[RateCDR] => 1
)
[2025-01-10 06:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 03:26:05' and `end` < '2025-01-10 06:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 06:26:11] Production.ERROR: CronJobId end10
[2025-01-10 06:26:11] Production.INFO: ==18776== Releasing lock...
[2025-01-10 06:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 06:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 06:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 06:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 06:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 06:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 06:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 06:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 06:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 06:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 06:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 06:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 06:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 06:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 06:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 06:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 06:26:13] Production.INFO: call_cost start
[2025-01-10 06:26:13] Production.INFO: call_cost end
[2025-01-10 06:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 06:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 06:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 06:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 06:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 06:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 06:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 06:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 06:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 06:26:14] Production.INFO: ==18772== Releasing lock...
[2025-01-10 06:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 06:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 06:26:18] Production.INFO: count ==58
[2025-01-10 06:26:18] Production.ERROR: pbx CDR StartTime 2025-01-10 03:26:05 - End Time 2025-01-10 06:26:05
[2025-01-10 06:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 06:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215072', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215072', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215072', 'tblTempVendorCDR_20' ) start
[2025-01-10 06:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215072', 'tblTempVendorCDR_20' ) end
[2025-01-10 06:26:18] Production.INFO: ProcessCDR(1,14215072,1,1,2)
[2025-01-10 06:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215072,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215072,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215072,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215072,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215072', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215072', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:26:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:26:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:26:21] Production.INFO: ==18780== Releasing lock...
[2025-01-10 06:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 06:26:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 11:27:01] Production.INFO: ==18837== Lock acquired, processing the job...
[2025-01-10 11:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 11:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 11:27:01] Production.INFO: neon service started
[2025-01-10 11:27:01] Production.INFO: neon service started
[2025-01-10 11:27:01] Production.INFO: ==18837== Releasing lock...
[2025-01-10 11:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 11:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 06:27:01] Production.INFO: ==18839== Lock acquired, processing the job...
[2025-01-10 06:27:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:27:02] Production.INFO: ==18839== Releasing lock...
[2025-01-10 06:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 06:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 11:27:02] Production.INFO: ==18841== Lock acquired, processing the job...
[2025-01-10 11:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 11:27:02] Production.INFO: ==18841== Releasing lock...
[2025-01-10 11:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 11:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 06:27:03] Production.INFO: ==18847== Lock acquired, processing the job...
[2025-01-10 06:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 06:27:03] Production.INFO: ==18853== Lock acquired, processing the job...
[2025-01-10 06:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 06:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 06:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 06:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 06:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 06:27:03] Production.INFO: ==18843== Lock acquired, processing the job...
[2025-01-10 06:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 06:27:03] Production.INFO: ==18845== Lock acquired, processing the job...
[2025-01-10 06:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 06:27:03] Production.INFO: ==18849== Lock acquired, processing the job...
[2025-01-10 06:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 06:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 06:27:03] Production.INFO: ==18851== Lock acquired, processing the job...
[2025-01-10 06:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 06:27:03] Production.INFO: count ==21
[2025-01-10 06:27:03] Production.INFO: Account Balance Start.
[2025-01-10 06:27:03] Production.INFO: CreateAllLog Start
[2025-01-10 06:27:03] Production.INFO: 117
[2025-01-10 06:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:27:03] Production.INFO: count ==21
[2025-01-10 06:27:03] Production.INFO: Date 2025-01-08
[2025-01-10 06:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215073') start
[2025-01-10 06:27:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:27:03] Production.INFO: Date 2025-01-09
[2025-01-10 06:27:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215073') end
[2025-01-10 06:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 06:27:03] Production.INFO: 1
[2025-01-10 06:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 06:27:03] Production.INFO: Date 2025-01-10
[2025-01-10 06:27:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:27:03] Production.INFO: Total Charge 0
[2025-01-10 06:27:03] Production.INFO: ==18853== Releasing lock...
[2025-01-10 06:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 06:27:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 06:27:03] Production.INFO: CreateAllLog End
[2025-01-10 06:27:03] Production.INFO: ==18845== Releasing lock...
[2025-01-10 06:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 06:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 06:27:03] Production.ERROR: done
[2025-01-10 06:27:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 06:27:04] Production.INFO: Account Balance End.
[2025-01-10 06:27:04] Production.ERROR: done
[2025-01-10 06:27:04] Production.ERROR: CronJobId end 12
[2025-01-10 06:27:04] Production.INFO: ==18849== Releasing lock...
[2025-01-10 06:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 06:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 06:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 03:27:05
[end_date_ymd] => 2025-01-10 06:27:05
[RateCDR] => 1
)
[2025-01-10 06:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 03:27:05' and `end` < '2025-01-10 06:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 06:27:10] Production.ERROR: CronJobId end10
[2025-01-10 06:27:10] Production.INFO: ==18847== Releasing lock...
[2025-01-10 06:27:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 06:27:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 06:27:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 06:27:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 06:27:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 06:27:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 06:27:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 06:27:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 06:27:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 06:27:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 06:27:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 06:27:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 06:27:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 06:27:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 06:27:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 06:27:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 06:27:13] Production.INFO: call_cost start
[2025-01-10 06:27:13] Production.INFO: call_cost end
[2025-01-10 06:27:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 06:27:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 06:27:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 06:27:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 06:27:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 06:27:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 06:27:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 06:27:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 06:27:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 06:27:13] Production.INFO: ==18843== Releasing lock...
[2025-01-10 06:27:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 06:27:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 06:27:18] Production.INFO: count ==58
[2025-01-10 06:27:18] Production.ERROR: pbx CDR StartTime 2025-01-10 03:27:05 - End Time 2025-01-10 06:27:05
[2025-01-10 06:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 06:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215077', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215077', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215077', 'tblTempVendorCDR_20' ) start
[2025-01-10 06:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215077', 'tblTempVendorCDR_20' ) end
[2025-01-10 06:27:18] Production.INFO: ProcessCDR(1,14215077,1,1,2)
[2025-01-10 06:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215077,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215077,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215077,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215077,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215077', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215077', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:27:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:27:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:27:21] Production.INFO: ==18851== Releasing lock...
[2025-01-10 06:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 06:27:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 11:28:01] Production.INFO: ==18906== Lock acquired, processing the job...
[2025-01-10 11:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 11:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 11:28:02] Production.INFO: neon service started
[2025-01-10 11:28:02] Production.INFO: neon service started
[2025-01-10 11:28:02] Production.INFO: ==18906== Releasing lock...
[2025-01-10 11:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 11:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 06:28:02] Production.INFO: ==18908== Lock acquired, processing the job...
[2025-01-10 06:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:28:02] Production.INFO: ==18908== Releasing lock...
[2025-01-10 06:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 06:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 11:28:02] Production.INFO: ==18910== Lock acquired, processing the job...
[2025-01-10 11:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 11:28:02] Production.INFO: ==18910== Releasing lock...
[2025-01-10 11:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 11:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 06:28:03] Production.INFO: ==18913== Lock acquired, processing the job...
[2025-01-10 06:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 06:28:03] Production.INFO: ==18921== Lock acquired, processing the job...
[2025-01-10 06:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 06:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:28:03] Production.INFO: ==18923== Lock acquired, processing the job...
[2025-01-10 06:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 06:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 06:28:03] Production.INFO: ==18915== Lock acquired, processing the job...
[2025-01-10 06:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 06:28:03] Production.INFO: ==18917== Lock acquired, processing the job...
[2025-01-10 06:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 06:28:03] Production.INFO: ==18919== Lock acquired, processing the job...
[2025-01-10 06:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 06:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:28:03] Production.ERROR: done
[2025-01-10 06:28:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 06:28:03] Production.INFO: Account Balance Start.
[2025-01-10 06:28:03] Production.INFO: CreateAllLog Start
[2025-01-10 06:28:03] Production.INFO: 117
[2025-01-10 06:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 06:28:03] Production.INFO: Date 2025-01-08
[2025-01-10 06:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 06:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 06:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 06:28:03] Production.INFO: count ==21
[2025-01-10 06:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:28:03] Production.INFO: count ==21
[2025-01-10 06:28:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215079') start
[2025-01-10 06:28:03] Production.ERROR: done
[2025-01-10 06:28:03] Production.INFO: Date 2025-01-09
[2025-01-10 06:28:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:28:03] Production.INFO: Date 2025-01-10
[2025-01-10 06:28:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:28:03] Production.INFO: Total Charge 0
[2025-01-10 06:28:04] Production.INFO: CreateAllLog End
[2025-01-10 06:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215079') end
[2025-01-10 06:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 06:28:04] Production.INFO: 1
[2025-01-10 06:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 06:28:04] Production.INFO: ==18915== Releasing lock...
[2025-01-10 06:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 06:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 06:28:04] Production.INFO: Account Balance End.
[2025-01-10 06:28:04] Production.INFO: ==18923== Releasing lock...
[2025-01-10 06:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 06:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 06:28:04] Production.ERROR: CronJobId end 12
[2025-01-10 06:28:04] Production.INFO: ==18919== Releasing lock...
[2025-01-10 06:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 06:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 06:28:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 03:28:04
[end_date_ymd] => 2025-01-10 06:28:04
[RateCDR] => 1
)
[2025-01-10 06:28:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 03:28:04' and `end` < '2025-01-10 06:28:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 06:28:10] Production.ERROR: CronJobId end10
[2025-01-10 06:28:10] Production.INFO: ==18917== Releasing lock...
[2025-01-10 06:28:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 06:28:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 06:28:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 06:28:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 06:28:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 06:28:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 06:28:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 06:28:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 06:28:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 06:28:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 06:28:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 06:28:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 06:28:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 06:28:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 06:28:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 06:28:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 06:28:13] Production.INFO: call_cost start
[2025-01-10 06:28:13] Production.INFO: call_cost end
[2025-01-10 06:28:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 06:28:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 06:28:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 06:28:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 06:28:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 06:28:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 06:28:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 06:28:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 06:28:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 06:28:13] Production.INFO: ==18913== Releasing lock...
[2025-01-10 06:28:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 06:28:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 06:28:18] Production.INFO: count ==58
[2025-01-10 06:28:18] Production.ERROR: pbx CDR StartTime 2025-01-10 03:28:04 - End Time 2025-01-10 06:28:04
[2025-01-10 06:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 06:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215082', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215082', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215082', 'tblTempVendorCDR_20' ) start
[2025-01-10 06:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215082', 'tblTempVendorCDR_20' ) end
[2025-01-10 06:28:18] Production.INFO: ProcessCDR(1,14215082,1,1,2)
[2025-01-10 06:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215082,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215082,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215082,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215082,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215082', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215082', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:28:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:28:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:28:21] Production.INFO: ==18921== Releasing lock...
[2025-01-10 06:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 06:28:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 11:29:01] Production.INFO: ==18975== Lock acquired, processing the job...
[2025-01-10 11:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 11:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 11:29:01] Production.INFO: neon service started
[2025-01-10 11:29:01] Production.INFO: neon service started
[2025-01-10 11:29:01] Production.INFO: ==18975== Releasing lock...
[2025-01-10 11:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 11:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:29:01] Production.INFO: ==18979== Lock acquired, processing the job...
[2025-01-10 11:29:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 11:29:01] Production.INFO: ==18979== Releasing lock...
[2025-01-10 11:29:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 11:29:01] Production.INFO: 25 MB #Memory Used#
[2025-01-10 06:29:01] Production.INFO: ==18977== Lock acquired, processing the job...
[2025-01-10 06:29:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:29:02] Production.INFO: ==18977== Releasing lock...
[2025-01-10 06:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 06:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 06:29:02] Production.INFO: ==18982== Lock acquired, processing the job...
[2025-01-10 06:29:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 06:29:02] Production.INFO: ==18990== Lock acquired, processing the job...
[2025-01-10 06:29:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 06:29:02] Production.INFO: ==18986== Lock acquired, processing the job...
[2025-01-10 06:29:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 06:29:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 06:29:02] Production.INFO: ==18984== Lock acquired, processing the job...
[2025-01-10 06:29:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 06:29:03] Production.INFO: ==18988== Lock acquired, processing the job...
[2025-01-10 06:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 06:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 06:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 06:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 06:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 06:29:03] Production.INFO: ==18992== Lock acquired, processing the job...
[2025-01-10 06:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 06:29:03] Production.INFO: Account Balance Start.
[2025-01-10 06:29:03] Production.INFO: CreateAllLog Start
[2025-01-10 06:29:03] Production.INFO: 117
[2025-01-10 06:29:03] Production.INFO: ==18984== Releasing lock...
[2025-01-10 06:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 06:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 06:29:03] Production.INFO: Date 2025-01-08
[2025-01-10 06:29:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:29:03] Production.ERROR: done
[2025-01-10 06:29:03] Production.INFO: count ==21
[2025-01-10 06:29:03] Production.INFO: Date 2025-01-09
[2025-01-10 06:29:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 06:29:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:29:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:29:03] Production.INFO: count ==21
[2025-01-10 06:29:03] Production.INFO: Date 2025-01-10
[2025-01-10 06:29:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215086') start
[2025-01-10 06:29:03] Production.INFO: Total Charge 0
[2025-01-10 06:29:03] Production.INFO: CreateAllLog End
[2025-01-10 06:29:03] Production.ERROR: done
[2025-01-10 06:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215086') end
[2025-01-10 06:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 06:29:03] Production.INFO: 1
[2025-01-10 06:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 06:29:03] Production.INFO: ==18992== Releasing lock...
[2025-01-10 06:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 06:29:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 06:29:03] Production.INFO: Account Balance End.
[2025-01-10 06:29:03] Production.ERROR: CronJobId end 12
[2025-01-10 06:29:03] Production.INFO: ==18988== Releasing lock...
[2025-01-10 06:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 06:29:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 06:29:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 03:29:04
[end_date_ymd] => 2025-01-10 06:29:04
[RateCDR] => 1
)
[2025-01-10 06:29:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 03:29:04' and `end` < '2025-01-10 06:29:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 06:29:10] Production.ERROR: CronJobId end10
[2025-01-10 06:29:10] Production.INFO: ==18986== Releasing lock...
[2025-01-10 06:29:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 06:29:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 06:29:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 06:29:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 06:29:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 06:29:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 06:29:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 06:29:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 06:29:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 06:29:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 06:29:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 06:29:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 06:29:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 06:29:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 06:29:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 06:29:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 06:29:12] Production.INFO: call_cost start
[2025-01-10 06:29:12] Production.INFO: call_cost end
[2025-01-10 06:29:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 06:29:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 06:29:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 06:29:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 06:29:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 06:29:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 06:29:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 06:29:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 06:29:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 06:29:13] Production.INFO: ==18982== Releasing lock...
[2025-01-10 06:29:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 06:29:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 06:29:18] Production.INFO: count ==58
[2025-01-10 06:29:18] Production.ERROR: pbx CDR StartTime 2025-01-10 03:29:04 - End Time 2025-01-10 06:29:04
[2025-01-10 06:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 06:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215087', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215087', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215087', 'tblTempVendorCDR_20' ) start
[2025-01-10 06:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215087', 'tblTempVendorCDR_20' ) end
[2025-01-10 06:29:18] Production.INFO: ProcessCDR(1,14215087,1,1,2)
[2025-01-10 06:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215087,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215087,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215087,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:29:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215087,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215087', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215087', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:29:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:29:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:29:21] Production.INFO: ==18990== Releasing lock...
[2025-01-10 06:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 06:29:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 11:30:01] Production.INFO: ==19049== Lock acquired, processing the job...
[2025-01-10 11:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 11:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 11:30:01] Production.INFO: neon service started
[2025-01-10 11:30:01] Production.INFO: neon service started
[2025-01-10 11:30:01] Production.INFO: ==19049== Releasing lock...
[2025-01-10 11:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 11:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 06:30:02] Production.INFO: ==19051== Lock acquired, processing the job...
[2025-01-10 06:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:30:02] Production.INFO: ==19051== Releasing lock...
[2025-01-10 06:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 06:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 11:30:02] Production.INFO: ==19053== Lock acquired, processing the job...
[2025-01-10 11:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 11:30:02] Production.INFO: ==19053== Releasing lock...
[2025-01-10 11:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 11:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 06:30:03] Production.INFO: ==19055== Lock acquired, processing the job...
[2025-01-10 06:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 06:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 06:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 06:30:03] Production.INFO: ==19055== Releasing lock...
[2025-01-10 06:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 06:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 06:30:03] Production.INFO: ==19061== Lock acquired, processing the job...
[2025-01-10 06:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 06:30:03] Production.INFO: ==19057== Lock acquired, processing the job...
[2025-01-10 06:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 06:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 06:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 06:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 06:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 06:30:03] Production.INFO: ==19059== Lock acquired, processing the job...
[2025-01-10 06:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 06:30:03] Production.INFO: ==19069== Lock acquired, processing the job...
[2025-01-10 06:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 06:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 06:30:03] Production.INFO: ==19063== Lock acquired, processing the job...
[2025-01-10 06:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 06:30:03] Production.INFO: ==19067== Lock acquired, processing the job...
[2025-01-10 06:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 06:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:30:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:30:03] Production.INFO: Account Balance Start.
[2025-01-10 06:30:03] Production.INFO: ==19065== Lock acquired, processing the job...
[2025-01-10 06:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 06:30:03] Production.INFO: CreateAllLog Start
[2025-01-10 06:30:03] Production.INFO: 117
[2025-01-10 06:30:03] Production.INFO: count ==21
[2025-01-10 06:30:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:30:03] Production.INFO: count ==21
[2025-01-10 06:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215090') start
[2025-01-10 06:30:04] Production.INFO: Date 2025-01-08
[2025-01-10 06:30:04] Production.INFO: Reseller ==> 0
[2025-01-10 06:30:04] Production.INFO: Date 2025-01-09
[2025-01-10 06:30:04] Production.INFO: Reseller ==> 0
[2025-01-10 06:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215090') end
[2025-01-10 06:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 06:30:04] Production.INFO: 1
[2025-01-10 06:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 06:30:04] Production.ERROR: done
[2025-01-10 06:30:04] Production.INFO: Date 2025-01-10
[2025-01-10 06:30:04] Production.INFO: Reseller ==> 0
[2025-01-10 06:30:04] Production.INFO: ==19059== Releasing lock...
[2025-01-10 06:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 06:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 06:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 06:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14215092', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 06:30:04] Production.INFO: ==19069== Releasing lock...
[2025-01-10 06:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 06:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 06:30:04] Production.INFO: Total Charge 0
[2025-01-10 06:30:04] Production.ERROR: done
[2025-01-10 06:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 06:30:04] Production.INFO: CreateAllLog End
[2025-01-10 06:30:04] Production.ERROR: done
[2025-01-10 06:30:04] Production.INFO: Account Balance End.
[2025-01-10 06:30:04] Production.ERROR: CronJobId end 12
[2025-01-10 06:30:04] Production.INFO: ==19063== Releasing lock...
[2025-01-10 06:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 06:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 06:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 03:30:05
[end_date_ymd] => 2025-01-10 06:30:05
[RateCDR] => 1
)
[2025-01-10 06:30:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 03:30:05' and `end` < '2025-01-10 06:30:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 06:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14215092', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 06:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 06:30:08] Production.INFO: ProcessCDR(1,14215092,1,1,2)
[2025-01-10 06:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14215092,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14215092,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:30:08] Production.INFO: ==19067== Releasing lock...
[2025-01-10 06:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 06:30:08] Production.INFO: 26 MB #Memory Used#
[2025-01-10 06:30:12] Production.ERROR: CronJobId end10
[2025-01-10 06:30:12] Production.INFO: ==19061== Releasing lock...
[2025-01-10 06:30:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 06:30:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 06:30:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 06:30:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 06:30:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 06:30:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 06:30:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 06:30:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 06:30:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 06:30:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 06:30:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 06:30:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 06:30:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 06:30:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 06:30:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 06:30:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 06:30:14] Production.INFO: call_cost start
[2025-01-10 06:30:14] Production.INFO: call_cost end
[2025-01-10 06:30:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 06:30:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 06:30:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 06:30:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 06:30:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 06:30:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 06:30:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 06:30:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 06:30:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 06:30:15] Production.INFO: ==19057== Releasing lock...
[2025-01-10 06:30:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 06:30:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 06:30:18] Production.INFO: count ==60
[2025-01-10 06:30:18] Production.ERROR: pbx CDR StartTime 2025-01-10 03:30:05 - End Time 2025-01-10 06:30:05
[2025-01-10 06:30:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 06:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215093', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215093', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215093', 'tblTempVendorCDR_20' ) start
[2025-01-10 06:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215093', 'tblTempVendorCDR_20' ) end
[2025-01-10 06:30:18] Production.INFO: ProcessCDR(1,14215093,1,1,2)
[2025-01-10 06:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215093,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:30:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215093,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:30:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215093,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:30:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215093,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215093', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215093', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:30:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:30:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:30:21] Production.INFO: ==19065== Releasing lock...
[2025-01-10 06:30:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 06:30:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 11:31:02] Production.INFO: ==19166== Lock acquired, processing the job...
[2025-01-10 11:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 11:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 11:31:02] Production.INFO: neon service started
[2025-01-10 11:31:02] Production.INFO: neon service started
[2025-01-10 11:31:02] Production.INFO: ==19166== Releasing lock...
[2025-01-10 11:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 11:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 06:31:02] Production.INFO: ==19168== Lock acquired, processing the job...
[2025-01-10 06:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:31:02] Production.INFO: ==19168== Releasing lock...
[2025-01-10 06:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 06:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 11:31:02] Production.INFO: ==19170== Lock acquired, processing the job...
[2025-01-10 11:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 11:31:02] Production.INFO: ==19170== Releasing lock...
[2025-01-10 11:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 11:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 06:31:03] Production.INFO: ==19173== Lock acquired, processing the job...
[2025-01-10 06:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 06:31:03] Production.INFO: ==19179== Lock acquired, processing the job...
[2025-01-10 06:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 06:31:03] Production.INFO: Account Balance Start.
[2025-01-10 06:31:03] Production.INFO: CreateAllLog Start
[2025-01-10 06:31:03] Production.INFO: 117
[2025-01-10 06:31:03] Production.INFO: Date 2025-01-08
[2025-01-10 06:31:03] Production.INFO: ==19183== Lock acquired, processing the job...
[2025-01-10 06:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 06:31:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 06:31:03] Production.INFO: Date 2025-01-09
[2025-01-10 06:31:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:31:03] Production.INFO: Date 2025-01-10
[2025-01-10 06:31:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:31:03] Production.INFO: ==19177== Lock acquired, processing the job...
[2025-01-10 06:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 06:31:03] Production.INFO: Total Charge 0
[2025-01-10 06:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:31:03] Production.INFO: ==19175== Lock acquired, processing the job...
[2025-01-10 06:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 06:31:03] Production.INFO: CreateAllLog End
[2025-01-10 06:31:03] Production.INFO: count ==21
[2025-01-10 06:31:03] Production.INFO: ==19181== Lock acquired, processing the job...
[2025-01-10 06:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 06:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:31:03] Production.INFO: count ==21
[2025-01-10 06:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 06:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 06:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 06:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 06:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215096') start
[2025-01-10 06:31:04] Production.INFO: Account Balance End.
[2025-01-10 06:31:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:31:04] Production.ERROR: CronJobId end 12
[2025-01-10 06:31:04] Production.INFO: ==19179== Releasing lock...
[2025-01-10 06:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 06:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 06:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215096') end
[2025-01-10 06:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 06:31:04] Production.INFO: 1
[2025-01-10 06:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 06:31:04] Production.INFO: ==19183== Releasing lock...
[2025-01-10 06:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 06:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 06:31:04] Production.INFO: ==19175== Releasing lock...
[2025-01-10 06:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 06:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 06:31:04] Production.ERROR: done
[2025-01-10 06:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 06:31:04] Production.ERROR: done
[2025-01-10 06:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 03:31:05
[end_date_ymd] => 2025-01-10 06:31:05
[RateCDR] => 1
)
[2025-01-10 06:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 03:31:05' and `end` < '2025-01-10 06:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 06:31:10] Production.ERROR: CronJobId end10
[2025-01-10 06:31:10] Production.INFO: ==19177== Releasing lock...
[2025-01-10 06:31:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 06:31:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 06:31:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 06:31:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 06:31:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 06:31:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 06:31:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 06:31:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 06:31:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 06:31:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 06:31:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 06:31:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 06:31:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 06:31:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 06:31:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 06:31:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 06:31:12] Production.INFO: call_cost start
[2025-01-10 06:31:12] Production.INFO: call_cost end
[2025-01-10 06:31:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 06:31:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 06:31:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 06:31:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 06:31:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 06:31:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 06:31:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 06:31:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 06:31:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 06:31:13] Production.INFO: ==19173== Releasing lock...
[2025-01-10 06:31:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 06:31:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 06:31:19] Production.INFO: count ==61
[2025-01-10 06:31:19] Production.ERROR: pbx CDR StartTime 2025-01-10 03:31:05 - End Time 2025-01-10 06:31:05
[2025-01-10 06:31:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 06:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215098', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215098', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215098', 'tblTempVendorCDR_20' ) start
[2025-01-10 06:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215098', 'tblTempVendorCDR_20' ) end
[2025-01-10 06:31:19] Production.INFO: ProcessCDR(1,14215098,1,1,2)
[2025-01-10 06:31:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215098,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:31:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215098,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:31:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215098,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:31:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215098,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215098', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215098', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:31:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:31:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:31:22] Production.INFO: ==19181== Releasing lock...
[2025-01-10 06:31:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 06:31:22] Production.INFO: 28 MB #Memory Used#
[2025-01-10 11:32:01] Production.INFO: ==19237== Lock acquired, processing the job...
[2025-01-10 11:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 11:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 11:32:01] Production.INFO: neon service started
[2025-01-10 11:32:01] Production.INFO: neon service started
[2025-01-10 11:32:01] Production.INFO: ==19237== Releasing lock...
[2025-01-10 11:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 11:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:32:02] Production.INFO: ==19241== Lock acquired, processing the job...
[2025-01-10 11:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 11:32:02] Production.INFO: ==19241== Releasing lock...
[2025-01-10 11:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 11:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 06:32:02] Production.INFO: ==19239== Lock acquired, processing the job...
[2025-01-10 06:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:32:02] Production.INFO: ==19239== Releasing lock...
[2025-01-10 06:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 06:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 06:32:03] Production.INFO: ==19244== Lock acquired, processing the job...
[2025-01-10 06:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 06:32:03] Production.INFO: ==19248== Lock acquired, processing the job...
[2025-01-10 06:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 06:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 06:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 06:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 06:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 06:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 06:32:03] Production.INFO: ==19250== Lock acquired, processing the job...
[2025-01-10 06:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 06:32:03] Production.INFO: ==19246== Lock acquired, processing the job...
[2025-01-10 06:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 06:32:03] Production.INFO: Account Balance Start.
[2025-01-10 06:32:03] Production.INFO: CreateAllLog Start
[2025-01-10 06:32:03] Production.INFO: 117
[2025-01-10 06:32:03] Production.INFO: Date 2025-01-08
[2025-01-10 06:32:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:32:03] Production.INFO: Date 2025-01-09
[2025-01-10 06:32:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:32:03] Production.INFO: Date 2025-01-10
[2025-01-10 06:32:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:32:03] Production.INFO: Total Charge 0
[2025-01-10 06:32:03] Production.INFO: CreateAllLog End
[2025-01-10 06:32:03] Production.INFO: ==19252== Lock acquired, processing the job...
[2025-01-10 06:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 06:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:32:03] Production.INFO: ==19254== Lock acquired, processing the job...
[2025-01-10 06:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 06:32:03] Production.INFO: Account Balance End.
[2025-01-10 06:32:03] Production.INFO: ==19246== Releasing lock...
[2025-01-10 06:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 06:32:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 06:32:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:32:03] Production.ERROR: CronJobId end 12
[2025-01-10 06:32:03] Production.INFO: ==19250== Releasing lock...
[2025-01-10 06:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 06:32:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 06:32:03] Production.INFO: count ==21
[2025-01-10 06:32:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:32:03] Production.INFO: count ==21
[2025-01-10 06:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215102') start
[2025-01-10 06:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215102') end
[2025-01-10 06:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 06:32:04] Production.INFO: 1
[2025-01-10 06:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 06:32:04] Production.ERROR: done
[2025-01-10 06:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 06:32:04] Production.INFO: ==19254== Releasing lock...
[2025-01-10 06:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 06:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 06:32:04] Production.ERROR: done
[2025-01-10 06:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 03:32:05
[end_date_ymd] => 2025-01-10 06:32:05
[RateCDR] => 1
)
[2025-01-10 06:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 03:32:05' and `end` < '2025-01-10 06:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 06:32:10] Production.ERROR: CronJobId end10
[2025-01-10 06:32:10] Production.INFO: ==19248== Releasing lock...
[2025-01-10 06:32:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 06:32:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 06:32:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 06:32:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 06:32:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 06:32:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 06:32:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 06:32:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 06:32:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 06:32:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 06:32:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 06:32:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 06:32:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 06:32:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 06:32:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 06:32:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 06:32:13] Production.INFO: call_cost start
[2025-01-10 06:32:13] Production.INFO: call_cost end
[2025-01-10 06:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 06:32:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 06:32:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 06:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 06:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 06:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 06:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 06:32:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 06:32:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 06:32:14] Production.INFO: ==19244== Releasing lock...
[2025-01-10 06:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 06:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 06:32:19] Production.INFO: count ==61
[2025-01-10 06:32:19] Production.ERROR: pbx CDR StartTime 2025-01-10 03:32:05 - End Time 2025-01-10 06:32:05
[2025-01-10 06:32:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 06:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215103', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215103', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215103', 'tblTempVendorCDR_20' ) start
[2025-01-10 06:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215103', 'tblTempVendorCDR_20' ) end
[2025-01-10 06:32:19] Production.INFO: ProcessCDR(1,14215103,1,1,2)
[2025-01-10 06:32:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215103,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:32:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215103,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:32:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215103,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:32:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215103,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215103', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215103', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:32:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:32:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:32:22] Production.INFO: ==19252== Releasing lock...
[2025-01-10 06:32:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 06:32:22] Production.INFO: 28 MB #Memory Used#
[2025-01-10 11:33:02] Production.INFO: ==19311== Lock acquired, processing the job...
[2025-01-10 11:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 11:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 11:33:02] Production.INFO: neon service started
[2025-01-10 11:33:02] Production.INFO: neon service started
[2025-01-10 11:33:02] Production.INFO: ==19311== Releasing lock...
[2025-01-10 11:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 11:33:02] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 06:33:02] Production.INFO: ==19313== Lock acquired, processing the job...
[2025-01-10 06:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 11:33:02] Production.INFO: ==19315== Lock acquired, processing the job...
[2025-01-10 11:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 11:33:02] Production.INFO: ==19315== Releasing lock...
[2025-01-10 11:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 11:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 06:33:03] Production.INFO: ==19313== Releasing lock...
[2025-01-10 06:33:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 06:33:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 06:33:03] Production.INFO: ==19324== Lock acquired, processing the job...
[2025-01-10 06:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 06:33:03] Production.INFO: Account Balance Start.
[2025-01-10 06:33:03] Production.INFO: CreateAllLog Start
[2025-01-10 06:33:03] Production.INFO: 117
[2025-01-10 06:33:03] Production.INFO: Date 2025-01-08
[2025-01-10 06:33:03] Production.INFO: ==19326== Lock acquired, processing the job...
[2025-01-10 06:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 06:33:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:33:03] Production.INFO: Date 2025-01-09
[2025-01-10 06:33:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:33:03] Production.INFO: ==19318== Lock acquired, processing the job...
[2025-01-10 06:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 06:33:03] Production.INFO: Date 2025-01-10
[2025-01-10 06:33:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:33:03] Production.INFO: Total Charge 0
[2025-01-10 06:33:03] Production.INFO: ==19320== Lock acquired, processing the job...
[2025-01-10 06:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 06:33:03] Production.INFO: CreateAllLog End
[2025-01-10 06:33:03] Production.INFO: ==19322== Lock acquired, processing the job...
[2025-01-10 06:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 06:33:04] Production.INFO: ==19328== Lock acquired, processing the job...
[2025-01-10 06:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 06:33:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 06:33:04] Production.INFO: Account Balance End.
[2025-01-10 06:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 06:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 06:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 06:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 06:33:04] Production.ERROR: CronJobId end 12
[2025-01-10 06:33:04] Production.INFO: ==19324== Releasing lock...
[2025-01-10 06:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 06:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 06:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:33:04] Production.INFO: count ==21
[2025-01-10 06:33:04] Production.ERROR: done
[2025-01-10 06:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 06:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:33:04] Production.INFO: count ==21
[2025-01-10 06:33:04] Production.INFO: ==19320== Releasing lock...
[2025-01-10 06:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 06:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 06:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215107') start
[2025-01-10 06:33:04] Production.ERROR: done
[2025-01-10 06:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215107') end
[2025-01-10 06:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 06:33:04] Production.INFO: 1
[2025-01-10 06:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 06:33:04] Production.INFO: ==19328== Releasing lock...
[2025-01-10 06:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 06:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 06:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 03:33:05
[end_date_ymd] => 2025-01-10 06:33:05
[RateCDR] => 1
)
[2025-01-10 06:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 03:33:05' and `end` < '2025-01-10 06:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 06:33:11] Production.ERROR: CronJobId end10
[2025-01-10 06:33:11] Production.INFO: ==19322== Releasing lock...
[2025-01-10 06:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 06:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 06:33:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 06:33:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 06:33:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 06:33:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 06:33:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 06:33:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 06:33:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 06:33:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 06:33:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 06:33:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 06:33:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 06:33:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 06:33:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 06:33:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 06:33:13] Production.INFO: call_cost start
[2025-01-10 06:33:13] Production.INFO: call_cost end
[2025-01-10 06:33:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 06:33:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 06:33:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 06:33:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 06:33:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 06:33:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 06:33:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 06:33:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 06:33:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 06:33:13] Production.INFO: ==19318== Releasing lock...
[2025-01-10 06:33:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 06:33:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 06:33:18] Production.INFO: count ==61
[2025-01-10 06:33:18] Production.ERROR: pbx CDR StartTime 2025-01-10 03:33:05 - End Time 2025-01-10 06:33:05
[2025-01-10 06:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 06:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215108', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215108', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215108', 'tblTempVendorCDR_20' ) start
[2025-01-10 06:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215108', 'tblTempVendorCDR_20' ) end
[2025-01-10 06:33:18] Production.INFO: ProcessCDR(1,14215108,1,1,2)
[2025-01-10 06:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215108,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215108,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215108,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215108,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215108', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215108', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:33:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:33:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:33:21] Production.INFO: ==19326== Releasing lock...
[2025-01-10 06:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 06:33:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 11:34:01] Production.INFO: ==19380== Lock acquired, processing the job...
[2025-01-10 11:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 11:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 11:34:01] Production.INFO: neon service started
[2025-01-10 11:34:01] Production.INFO: neon service started
[2025-01-10 11:34:01] Production.INFO: ==19380== Releasing lock...
[2025-01-10 11:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 11:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:34:01] Production.INFO: ==19384== Lock acquired, processing the job...
[2025-01-10 11:34:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 11:34:01] Production.INFO: ==19384== Releasing lock...
[2025-01-10 11:34:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 11:34:01] Production.INFO: 25 MB #Memory Used#
[2025-01-10 06:34:01] Production.INFO: ==19382== Lock acquired, processing the job...
[2025-01-10 06:34:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:34:02] Production.INFO: ==19382== Releasing lock...
[2025-01-10 06:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 06:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 06:34:02] Production.INFO: ==19388== Lock acquired, processing the job...
[2025-01-10 06:34:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 06:34:03] Production.INFO: ==19396== Lock acquired, processing the job...
[2025-01-10 06:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 06:34:03] Production.INFO: ==19386== Lock acquired, processing the job...
[2025-01-10 06:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 06:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 06:34:03] Production.INFO: ==19390== Lock acquired, processing the job...
[2025-01-10 06:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 06:34:03] Production.INFO: ==19392== Lock acquired, processing the job...
[2025-01-10 06:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 06:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:34:03] Production.INFO: ==19388== Releasing lock...
[2025-01-10 06:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 06:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 06:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 06:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 06:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 06:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 06:34:03] Production.INFO: count ==21
[2025-01-10 06:34:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:34:03] Production.INFO: ==19394== Lock acquired, processing the job...
[2025-01-10 06:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 06:34:03] Production.INFO: count ==21
[2025-01-10 06:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215110') start
[2025-01-10 06:34:03] Production.INFO: Account Balance Start.
[2025-01-10 06:34:03] Production.INFO: CreateAllLog Start
[2025-01-10 06:34:03] Production.INFO: 117
[2025-01-10 06:34:03] Production.INFO: Date 2025-01-08
[2025-01-10 06:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:34:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215110') end
[2025-01-10 06:34:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 06:34:03] Production.INFO: 1
[2025-01-10 06:34:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 06:34:03] Production.INFO: Date 2025-01-09
[2025-01-10 06:34:03] Production.INFO: ==19396== Releasing lock...
[2025-01-10 06:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 06:34:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 06:34:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:34:03] Production.INFO: Date 2025-01-10
[2025-01-10 06:34:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:34:03] Production.ERROR: done
[2025-01-10 06:34:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 06:34:03] Production.INFO: Total Charge 0
[2025-01-10 06:34:03] Production.INFO: CreateAllLog End
[2025-01-10 06:34:03] Production.ERROR: done
[2025-01-10 06:34:03] Production.INFO: Account Balance End.
[2025-01-10 06:34:03] Production.ERROR: CronJobId end 12
[2025-01-10 06:34:03] Production.INFO: ==19392== Releasing lock...
[2025-01-10 06:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 06:34:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 06:34:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 03:34:04
[end_date_ymd] => 2025-01-10 06:34:04
[RateCDR] => 1
)
[2025-01-10 06:34:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 03:34:04' and `end` < '2025-01-10 06:34:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 06:34:10] Production.ERROR: CronJobId end10
[2025-01-10 06:34:10] Production.INFO: ==19390== Releasing lock...
[2025-01-10 06:34:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 06:34:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 06:34:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 06:34:11] Production.INFO: ============== Balance Warning START===========
[2025-01-10 06:34:11] Production.INFO: ============== Balance Warning END===========
[2025-01-10 06:34:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 06:34:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 06:34:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 06:34:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 06:34:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 06:34:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 06:34:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 06:34:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 06:34:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 06:34:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 06:34:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 06:34:12] Production.INFO: call_cost start
[2025-01-10 06:34:12] Production.INFO: call_cost end
[2025-01-10 06:34:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 06:34:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 06:34:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 06:34:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 06:34:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 06:34:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 06:34:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 06:34:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 06:34:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 06:34:13] Production.INFO: ==19386== Releasing lock...
[2025-01-10 06:34:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 06:34:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 06:34:17] Production.INFO: count ==61
[2025-01-10 06:34:17] Production.ERROR: pbx CDR StartTime 2025-01-10 03:34:04 - End Time 2025-01-10 06:34:04
[2025-01-10 06:34:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 06:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215113', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215113', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215113', 'tblTempVendorCDR_20' ) start
[2025-01-10 06:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215113', 'tblTempVendorCDR_20' ) end
[2025-01-10 06:34:17] Production.INFO: ProcessCDR(1,14215113,1,1,2)
[2025-01-10 06:34:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215113,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:34:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215113,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:34:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215113,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:34:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215113,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:34:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215113', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:34:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215113', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:34:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:34:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:34:20] Production.INFO: ==19394== Releasing lock...
[2025-01-10 06:34:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 06:34:20] Production.INFO: 28 MB #Memory Used#
[2025-01-10 11:35:01] Production.INFO: ==19450== Lock acquired, processing the job...
[2025-01-10 11:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 11:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 11:35:01] Production.INFO: neon service started
[2025-01-10 11:35:01] Production.INFO: neon service started
[2025-01-10 11:35:01] Production.INFO: ==19450== Releasing lock...
[2025-01-10 11:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 11:35:01] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 11:35:02] Production.INFO: ==19454== Lock acquired, processing the job...
[2025-01-10 11:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 11:35:02] Production.INFO: ==19454== Releasing lock...
[2025-01-10 11:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 11:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 06:35:02] Production.INFO: ==19452== Lock acquired, processing the job...
[2025-01-10 06:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:35:02] Production.INFO: ==19452== Releasing lock...
[2025-01-10 06:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 06:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 06:35:03] Production.INFO: ==19462== Lock acquired, processing the job...
[2025-01-10 06:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 06:35:03] Production.INFO: ==19464== Lock acquired, processing the job...
[2025-01-10 06:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 06:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:35:03] Production.INFO: Account Balance Start.
[2025-01-10 06:35:03] Production.INFO: CreateAllLog Start
[2025-01-10 06:35:03] Production.INFO: 117
[2025-01-10 06:35:03] Production.INFO: Date 2025-01-08
[2025-01-10 06:35:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:35:03] Production.INFO: Date 2025-01-09
[2025-01-10 06:35:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:35:03] Production.INFO: ==19456== Lock acquired, processing the job...
[2025-01-10 06:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 06:35:03] Production.INFO: ==19458== Lock acquired, processing the job...
[2025-01-10 06:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 06:35:03] Production.INFO: Date 2025-01-10
[2025-01-10 06:35:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:35:03] Production.INFO: Total Charge 0
[2025-01-10 06:35:03] Production.INFO: ==19466== Lock acquired, processing the job...
[2025-01-10 06:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 06:35:03] Production.INFO: CreateAllLog End
[2025-01-10 06:35:03] Production.INFO: ==19460== Lock acquired, processing the job...
[2025-01-10 06:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 06:35:03] Production.ERROR: done
[2025-01-10 06:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 06:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 06:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:35:03] Production.INFO: count ==21
[2025-01-10 06:35:03] Production.ERROR: done
[2025-01-10 06:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:35:03] Production.INFO: Account Balance End.
[2025-01-10 06:35:03] Production.INFO: count ==21
[2025-01-10 06:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 06:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 06:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 06:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 06:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215117') start
[2025-01-10 06:35:04] Production.ERROR: CronJobId end 12
[2025-01-10 06:35:04] Production.INFO: ==19462== Releasing lock...
[2025-01-10 06:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 06:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 06:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215117') end
[2025-01-10 06:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 06:35:04] Production.INFO: 1
[2025-01-10 06:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 06:35:04] Production.INFO: ==19458== Releasing lock...
[2025-01-10 06:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 06:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 06:35:04] Production.INFO: ==19466== Releasing lock...
[2025-01-10 06:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 06:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 06:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 03:35:04
[end_date_ymd] => 2025-01-10 06:35:04
[RateCDR] => 1
)
[2025-01-10 06:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 03:35:04' and `end` < '2025-01-10 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-01-10 06:35:11] Production.ERROR: CronJobId end10
[2025-01-10 06:35:11] Production.INFO: ==19460== Releasing lock...
[2025-01-10 06:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 06:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 06:35:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 06:35:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 06:35:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 06:35:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 06:35:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 06:35:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 06:35:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 06:35:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 06:35:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 06:35:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 06:35:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 06:35:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 06:35:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 06:35:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 06:35:12] Production.INFO: call_cost start
[2025-01-10 06:35:12] Production.INFO: call_cost end
[2025-01-10 06:35:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 06:35:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 06:35:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 06:35:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 06:35:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 06:35:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 06:35:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 06:35:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 06:35:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 06:35:13] Production.INFO: ==19456== Releasing lock...
[2025-01-10 06:35:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 06:35:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 06:35:18] Production.INFO: count ==61
[2025-01-10 06:35:18] Production.ERROR: pbx CDR StartTime 2025-01-10 03:35:04 - End Time 2025-01-10 06:35:04
[2025-01-10 06:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 06:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215118', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215118', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215118', 'tblTempVendorCDR_20' ) start
[2025-01-10 06:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215118', 'tblTempVendorCDR_20' ) end
[2025-01-10 06:35:18] Production.INFO: ProcessCDR(1,14215118,1,1,2)
[2025-01-10 06:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215118,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215118,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215118,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215118,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215118', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215118', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:35:21] Production.INFO: ==19464== Releasing lock...
[2025-01-10 06:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 06:35:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 11:36:02] Production.INFO: ==19520== Lock acquired, processing the job...
[2025-01-10 11:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 11:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 11:36:02] Production.INFO: neon service started
[2025-01-10 11:36:02] Production.INFO: neon service started
[2025-01-10 11:36:02] Production.INFO: ==19520== Releasing lock...
[2025-01-10 11:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 11:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:36:02] Production.INFO: ==19524== Lock acquired, processing the job...
[2025-01-10 11:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 11:36:02] Production.INFO: ==19524== Releasing lock...
[2025-01-10 11:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 11:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 06:36:02] Production.INFO: ==19522== Lock acquired, processing the job...
[2025-01-10 06:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:36:02] Production.INFO: ==19522== Releasing lock...
[2025-01-10 06:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 06:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 06:36:03] Production.INFO: ==19527== Lock acquired, processing the job...
[2025-01-10 06:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 06:36:03] Production.INFO: ==19529== Lock acquired, processing the job...
[2025-01-10 06:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 06:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 06:36:03] Production.INFO: ==19531== Lock acquired, processing the job...
[2025-01-10 06:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 06:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 06:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 06:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 06:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 06:36:03] Production.INFO: ==19533== Lock acquired, processing the job...
[2025-01-10 06:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 06:36:04] Production.INFO: ==19535== Lock acquired, processing the job...
[2025-01-10 06:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 06:36:04] Production.INFO: ==19537== Lock acquired, processing the job...
[2025-01-10 06:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 06:36:04] Production.INFO: ==19529== Releasing lock...
[2025-01-10 06:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 06:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 06:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:36:04] Production.INFO: Account Balance Start.
[2025-01-10 06:36:04] Production.INFO: CreateAllLog Start
[2025-01-10 06:36:04] Production.INFO: 117
[2025-01-10 06:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:36:04] Production.INFO: Date 2025-01-08
[2025-01-10 06:36:04] Production.INFO: Reseller ==> 0
[2025-01-10 06:36:04] Production.INFO: Date 2025-01-09
[2025-01-10 06:36:04] Production.INFO: Reseller ==> 0
[2025-01-10 06:36:04] Production.INFO: count ==21
[2025-01-10 06:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:36:04] Production.INFO: Date 2025-01-10
[2025-01-10 06:36:04] Production.INFO: Reseller ==> 0
[2025-01-10 06:36:04] Production.INFO: Total Charge 0
[2025-01-10 06:36:04] Production.INFO: count ==21
[2025-01-10 06:36:04] Production.INFO: CreateAllLog End
[2025-01-10 06:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215122') start
[2025-01-10 06:36:04] Production.ERROR: done
[2025-01-10 06:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 06:36:04] Production.ERROR: done
[2025-01-10 06:36:04] Production.INFO: Account Balance End.
[2025-01-10 06:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215122') end
[2025-01-10 06:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 06:36:04] Production.INFO: 1
[2025-01-10 06:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 06:36:04] Production.ERROR: CronJobId end 12
[2025-01-10 06:36:04] Production.INFO: ==19533== Releasing lock...
[2025-01-10 06:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 06:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 06:36:04] Production.INFO: ==19537== Releasing lock...
[2025-01-10 06:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 06:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 06:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 03:36:05
[end_date_ymd] => 2025-01-10 06:36:05
[RateCDR] => 1
)
[2025-01-10 06:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 03:36:05' and `end` < '2025-01-10 06:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 06:36:12] Production.ERROR: CronJobId end10
[2025-01-10 06:36:12] Production.INFO: ==19531== Releasing lock...
[2025-01-10 06:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 06:36:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 06:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 06:36:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 06:36:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 06:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 06:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 06:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 06:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 06:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 06:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 06:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 06:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 06:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 06:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 06:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 06:36:14] Production.INFO: call_cost start
[2025-01-10 06:36:14] Production.INFO: call_cost end
[2025-01-10 06:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 06:36:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 06:36:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 06:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 06:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 06:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 06:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 06:36:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 06:36:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 06:36:14] Production.INFO: ==19527== Releasing lock...
[2025-01-10 06:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 06:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 06:36:19] Production.INFO: count ==61
[2025-01-10 06:36:19] Production.ERROR: pbx CDR StartTime 2025-01-10 03:36:05 - End Time 2025-01-10 06:36:05
[2025-01-10 06:36:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 06:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215123', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215123', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215123', 'tblTempVendorCDR_20' ) start
[2025-01-10 06:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215123', 'tblTempVendorCDR_20' ) end
[2025-01-10 06:36:19] Production.INFO: ProcessCDR(1,14215123,1,1,2)
[2025-01-10 06:36:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215123,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:36:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215123,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:36:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215123,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215123,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215123', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215123', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:36:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:36:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:36:22] Production.INFO: ==19535== Releasing lock...
[2025-01-10 06:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 06:36:22] Production.INFO: 28 MB #Memory Used#
[2025-01-10 11:37:01] Production.INFO: ==19590== Lock acquired, processing the job...
[2025-01-10 11:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 11:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 11:37:01] Production.INFO: neon service started
[2025-01-10 11:37:01] Production.INFO: neon service started
[2025-01-10 11:37:01] Production.INFO: ==19590== Releasing lock...
[2025-01-10 11:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 11:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 06:37:01] Production.INFO: ==19592== Lock acquired, processing the job...
[2025-01-10 06:37:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:37:02] Production.INFO: ==19592== Releasing lock...
[2025-01-10 06:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 06:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 11:37:02] Production.INFO: ==19594== Lock acquired, processing the job...
[2025-01-10 11:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 11:37:02] Production.INFO: ==19594== Releasing lock...
[2025-01-10 11:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 11:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 06:37:03] Production.INFO: ==19596== Lock acquired, processing the job...
[2025-01-10 06:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 06:37:03] Production.INFO: ==19603== Lock acquired, processing the job...
[2025-01-10 06:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 06:37:03] Production.INFO: ==19598== Lock acquired, processing the job...
[2025-01-10 06:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 06:37:03] Production.INFO: ==19601== Lock acquired, processing the job...
[2025-01-10 06:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 06:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 06:37:03] Production.INFO: ==19607== Lock acquired, processing the job...
[2025-01-10 06:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 06:37:03] Production.INFO: Account Balance Start.
[2025-01-10 06:37:03] Production.INFO: CreateAllLog Start
[2025-01-10 06:37:03] Production.INFO: 117
[2025-01-10 06:37:03] Production.INFO: Date 2025-01-08
[2025-01-10 06:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 06:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 06:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 06:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 06:37:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:37:03] Production.INFO: Date 2025-01-09
[2025-01-10 06:37:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:37:03] Production.INFO: Date 2025-01-10
[2025-01-10 06:37:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:37:03] Production.INFO: Total Charge 0
[2025-01-10 06:37:03] Production.INFO: count ==21
[2025-01-10 06:37:03] Production.INFO: CreateAllLog End
[2025-01-10 06:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:37:03] Production.INFO: count ==21
[2025-01-10 06:37:03] Production.INFO: ==19598== Releasing lock...
[2025-01-10 06:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 06:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 06:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215127') start
[2025-01-10 06:37:03] Production.INFO: ==19605== Lock acquired, processing the job...
[2025-01-10 06:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 06:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215127') end
[2025-01-10 06:37:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 06:37:03] Production.INFO: 1
[2025-01-10 06:37:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 06:37:03] Production.INFO: ==19607== Releasing lock...
[2025-01-10 06:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 06:37:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 06:37:03] Production.ERROR: done
[2025-01-10 06:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 06:37:03] Production.ERROR: done
[2025-01-10 06:37:04] Production.INFO: Account Balance End.
[2025-01-10 06:37:04] Production.ERROR: CronJobId end 12
[2025-01-10 06:37:04] Production.INFO: ==19603== Releasing lock...
[2025-01-10 06:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 06:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 06:37:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 03:37:04
[end_date_ymd] => 2025-01-10 06:37:04
[RateCDR] => 1
)
[2025-01-10 06:37:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 03:37:04' and `end` < '2025-01-10 06:37:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 06:37:11] Production.ERROR: CronJobId end10
[2025-01-10 06:37:11] Production.INFO: ==19601== Releasing lock...
[2025-01-10 06:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 06:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 06:37:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 06:37:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 06:37:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 06:37:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 06:37:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 06:37:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 06:37:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 06:37:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 06:37:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 06:37:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 06:37:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 06:37:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 06:37:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 06:37:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 06:37:13] Production.INFO: call_cost start
[2025-01-10 06:37:13] Production.INFO: call_cost end
[2025-01-10 06:37:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 06:37:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 06:37:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 06:37:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 06:37:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 06:37:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 06:37:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 06:37:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 06:37:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 06:37:13] Production.INFO: ==19596== Releasing lock...
[2025-01-10 06:37:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 06:37:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 06:37:18] Production.INFO: count ==61
[2025-01-10 06:37:18] Production.ERROR: pbx CDR StartTime 2025-01-10 03:37:04 - End Time 2025-01-10 06:37:04
[2025-01-10 06:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 06:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215128', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215128', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215128', 'tblTempVendorCDR_20' ) start
[2025-01-10 06:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215128', 'tblTempVendorCDR_20' ) end
[2025-01-10 06:37:18] Production.INFO: ProcessCDR(1,14215128,1,1,2)
[2025-01-10 06:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215128,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215128,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215128,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:37:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215128,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215128', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215128', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:37:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:37:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:37:22] Production.INFO: ==19605== Releasing lock...
[2025-01-10 06:37:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 06:37:22] Production.INFO: 28 MB #Memory Used#
[2025-01-10 11:38:01] Production.INFO: ==19659== Lock acquired, processing the job...
[2025-01-10 11:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 11:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 11:38:01] Production.INFO: neon service started
[2025-01-10 11:38:01] Production.INFO: neon service started
[2025-01-10 11:38:01] Production.INFO: ==19659== Releasing lock...
[2025-01-10 11:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 11:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:38:02] Production.INFO: ==19663== Lock acquired, processing the job...
[2025-01-10 11:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 11:38:02] Production.INFO: ==19663== Releasing lock...
[2025-01-10 11:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 11:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 06:38:02] Production.INFO: ==19661== Lock acquired, processing the job...
[2025-01-10 06:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:38:02] Production.INFO: ==19661== Releasing lock...
[2025-01-10 06:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 06:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 06:38:03] Production.INFO: ==19670== Lock acquired, processing the job...
[2025-01-10 06:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 06:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 06:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 06:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 06:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 06:38:03] Production.INFO: ==19666== Lock acquired, processing the job...
[2025-01-10 06:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 06:38:03] Production.INFO: ==19668== Lock acquired, processing the job...
[2025-01-10 06:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 06:38:03] Production.INFO: ==19676== Lock acquired, processing the job...
[2025-01-10 06:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 06:38:03] Production.INFO: ==19672== Lock acquired, processing the job...
[2025-01-10 06:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 06:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 06:38:03] Production.INFO: Account Balance Start.
[2025-01-10 06:38:03] Production.INFO: CreateAllLog Start
[2025-01-10 06:38:03] Production.INFO: 117
[2025-01-10 06:38:03] Production.INFO: Date 2025-01-08
[2025-01-10 06:38:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:38:03] Production.INFO: Date 2025-01-09
[2025-01-10 06:38:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:38:03] Production.INFO: count ==21
[2025-01-10 06:38:03] Production.INFO: Date 2025-01-10
[2025-01-10 06:38:03] Production.INFO: ==19674== Lock acquired, processing the job...
[2025-01-10 06:38:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 06:38:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:38:03] Production.INFO: count ==21
[2025-01-10 06:38:04] Production.INFO: ==19668== Releasing lock...
[2025-01-10 06:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 06:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 06:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215132') start
[2025-01-10 06:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:38:04] Production.INFO: Total Charge 0
[2025-01-10 06:38:04] Production.INFO: CreateAllLog End
[2025-01-10 06:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215132') end
[2025-01-10 06:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 06:38:04] Production.INFO: 1
[2025-01-10 06:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 06:38:04] Production.INFO: ==19676== Releasing lock...
[2025-01-10 06:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 06:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 06:38:04] Production.ERROR: done
[2025-01-10 06:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 06:38:04] Production.INFO: Account Balance End.
[2025-01-10 06:38:04] Production.ERROR: CronJobId end 12
[2025-01-10 06:38:04] Production.INFO: ==19672== Releasing lock...
[2025-01-10 06:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 06:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 06:38:04] Production.ERROR: done
[2025-01-10 06:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 03:38:05
[end_date_ymd] => 2025-01-10 06:38:05
[RateCDR] => 1
)
[2025-01-10 06:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 03:38:05' and `end` < '2025-01-10 06:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 06:38:12] Production.ERROR: CronJobId end10
[2025-01-10 06:38:12] Production.INFO: ==19670== Releasing lock...
[2025-01-10 06:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 06:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 06:38:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 06:38:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 06:38:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 06:38:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 06:38:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 06:38:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 06:38:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 06:38:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 06:38:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 06:38:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 06:38:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 06:38:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 06:38:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 06:38:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 06:38:14] Production.INFO: call_cost start
[2025-01-10 06:38:14] Production.INFO: call_cost end
[2025-01-10 06:38:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 06:38:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 06:38:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 06:38:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 06:38:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 06:38:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 06:38:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 06:38:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 06:38:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 06:38:15] Production.INFO: ==19666== Releasing lock...
[2025-01-10 06:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 06:38:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 06:38:19] Production.INFO: count ==61
[2025-01-10 06:38:19] Production.ERROR: pbx CDR StartTime 2025-01-10 03:38:05 - End Time 2025-01-10 06:38:05
[2025-01-10 06:38:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 06:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215133', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215133', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215133', 'tblTempVendorCDR_20' ) start
[2025-01-10 06:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215133', 'tblTempVendorCDR_20' ) end
[2025-01-10 06:38:19] Production.INFO: ProcessCDR(1,14215133,1,1,2)
[2025-01-10 06:38:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215133,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:38:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215133,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:38:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215133,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:38:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215133,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215133', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215133', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:38:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:38:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:38:22] Production.INFO: ==19674== Releasing lock...
[2025-01-10 06:38:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 06:38:22] Production.INFO: 28 MB #Memory Used#
[2025-01-10 11:39:01] Production.INFO: ==19731== Lock acquired, processing the job...
[2025-01-10 11:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 11:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 11:39:01] Production.INFO: neon service started
[2025-01-10 11:39:01] Production.INFO: neon service started
[2025-01-10 11:39:01] Production.INFO: ==19731== Releasing lock...
[2025-01-10 11:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 11:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 06:39:01] Production.INFO: ==19733== Lock acquired, processing the job...
[2025-01-10 06:39:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:39:02] Production.INFO: ==19733== Releasing lock...
[2025-01-10 06:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 06:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 11:39:02] Production.INFO: ==19735== Lock acquired, processing the job...
[2025-01-10 11:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 11:39:02] Production.INFO: ==19735== Releasing lock...
[2025-01-10 11:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 11:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 06:39:02] Production.INFO: ==19741== Lock acquired, processing the job...
[2025-01-10 06:39:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 06:39:02] Production.INFO: ==19745== Lock acquired, processing the job...
[2025-01-10 06:39:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 06:39:02] Production.INFO: ==19737== Lock acquired, processing the job...
[2025-01-10 06:39:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 06:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 06:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 06:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 06:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 06:39:03] Production.INFO: ==19739== Lock acquired, processing the job...
[2025-01-10 06:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 06:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 06:39:03] Production.INFO: ==19743== Lock acquired, processing the job...
[2025-01-10 06:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 06:39:03] Production.ERROR: done
[2025-01-10 06:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 06:39:03] Production.INFO: ==19747== Lock acquired, processing the job...
[2025-01-10 06:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 06:39:03] Production.ERROR: done
[2025-01-10 06:39:03] Production.INFO: Account Balance Start.
[2025-01-10 06:39:03] Production.INFO: CreateAllLog Start
[2025-01-10 06:39:03] Production.INFO: 117
[2025-01-10 06:39:03] Production.INFO: ==19739== Releasing lock...
[2025-01-10 06:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 06:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 06:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:39:03] Production.INFO: Date 2025-01-08
[2025-01-10 06:39:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:39:03] Production.INFO: Date 2025-01-09
[2025-01-10 06:39:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:39:03] Production.INFO: Date 2025-01-10
[2025-01-10 06:39:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:39:03] Production.INFO: count ==21
[2025-01-10 06:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:39:03] Production.INFO: count ==21
[2025-01-10 06:39:03] Production.INFO: Total Charge 0
[2025-01-10 06:39:03] Production.INFO: CreateAllLog End
[2025-01-10 06:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215137') start
[2025-01-10 06:39:03] Production.INFO: Account Balance End.
[2025-01-10 06:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215137') end
[2025-01-10 06:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 06:39:03] Production.INFO: 1
[2025-01-10 06:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 06:39:03] Production.ERROR: CronJobId end 12
[2025-01-10 06:39:03] Production.INFO: ==19743== Releasing lock...
[2025-01-10 06:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 06:39:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 06:39:03] Production.INFO: ==19747== Releasing lock...
[2025-01-10 06:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 06:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 06:39:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 03:39:04
[end_date_ymd] => 2025-01-10 06:39:04
[RateCDR] => 1
)
[2025-01-10 06:39:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 03:39:04' and `end` < '2025-01-10 06:39:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 06:39:11] Production.ERROR: CronJobId end10
[2025-01-10 06:39:11] Production.INFO: ==19741== Releasing lock...
[2025-01-10 06:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 06:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 06:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 06:39:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 06:39:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 06:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 06:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 06:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 06:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 06:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 06:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 06:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 06:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 06:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 06:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 06:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 06:39:14] Production.INFO: call_cost start
[2025-01-10 06:39:14] Production.INFO: call_cost end
[2025-01-10 06:39:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 06:39:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 06:39:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 06:39:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 06:39:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 06:39:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 06:39:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 06:39:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 06:39:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 06:39:15] Production.INFO: ==19737== Releasing lock...
[2025-01-10 06:39:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 06:39:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 06:39:17] Production.INFO: count ==61
[2025-01-10 06:39:17] Production.ERROR: pbx CDR StartTime 2025-01-10 03:39:04 - End Time 2025-01-10 06:39:04
[2025-01-10 06:39:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 06:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215138', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215138', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215138', 'tblTempVendorCDR_20' ) start
[2025-01-10 06:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215138', 'tblTempVendorCDR_20' ) end
[2025-01-10 06:39:17] Production.INFO: ProcessCDR(1,14215138,1,1,2)
[2025-01-10 06:39:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215138,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:39:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215138,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:39:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215138,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:39:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215138,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:39:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215138', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:39:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215138', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:39:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:39:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:39:20] Production.INFO: ==19745== Releasing lock...
[2025-01-10 06:39:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 06:39:20] Production.INFO: 28 MB #Memory Used#
[2025-01-10 11:40:01] Production.INFO: ==19802== Lock acquired, processing the job...
[2025-01-10 11:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 11:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 11:40:01] Production.INFO: neon service started
[2025-01-10 11:40:01] Production.INFO: neon service started
[2025-01-10 11:40:01] Production.INFO: ==19802== Releasing lock...
[2025-01-10 11:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 11:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 06:40:02] Production.INFO: ==19804== Lock acquired, processing the job...
[2025-01-10 06:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 11:40:02] Production.INFO: ==19806== Lock acquired, processing the job...
[2025-01-10 11:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 11:40:02] Production.INFO: ==19806== Releasing lock...
[2025-01-10 11:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 11:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 06:40:03] Production.INFO: ==19804== Releasing lock...
[2025-01-10 06:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 06:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 06:40:03] Production.INFO: ==19809== Lock acquired, processing the job...
[2025-01-10 06:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 06:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 06:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 06:40:03] Production.INFO: ==19809== Releasing lock...
[2025-01-10 06:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 06:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 06:40:03] Production.INFO: ==19813== Lock acquired, processing the job...
[2025-01-10 06:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 06:40:04] Production.INFO: ==19811== Lock acquired, processing the job...
[2025-01-10 06:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 06:40:04] Production.INFO: ==19821== Lock acquired, processing the job...
[2025-01-10 06:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 06:40:04] Production.INFO: ==19817== Lock acquired, processing the job...
[2025-01-10 06:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 06:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 06:40:04] Production.INFO: ==19815== Lock acquired, processing the job...
[2025-01-10 06:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 06:40:04] Production.INFO: ==19813== Releasing lock...
[2025-01-10 06:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 06:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 06:40:04] Production.INFO: ==19819== Lock acquired, processing the job...
[2025-01-10 06:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 06:40:04] Production.INFO: Account Balance Start.
[2025-01-10 06:40:04] Production.INFO: CreateAllLog Start
[2025-01-10 06:40:04] Production.INFO: 117
[2025-01-10 06:40:04] Production.INFO: Date 2025-01-08
[2025-01-10 06:40:04] Production.INFO: ==19823== Lock acquired, processing the job...
[2025-01-10 06:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 06:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 06:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 06:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 06:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 06:40:04] Production.INFO: Reseller ==> 0
[2025-01-10 06:40:04] Production.INFO: Date 2025-01-09
[2025-01-10 06:40:04] Production.INFO: Reseller ==> 0
[2025-01-10 06:40:04] Production.INFO: Date 2025-01-10
[2025-01-10 06:40:04] Production.INFO: Reseller ==> 0
[2025-01-10 06:40:04] Production.ERROR: done
[2025-01-10 06:40:04] Production.INFO: Total Charge 0
[2025-01-10 06:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:40:04] Production.INFO: CreateAllLog End
[2025-01-10 06:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 06:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14215142', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 06:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:40:04] Production.INFO: count ==21
[2025-01-10 06:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:40:04] Production.INFO: count ==21
[2025-01-10 06:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215143') start
[2025-01-10 06:40:04] Production.INFO: Account Balance End.
[2025-01-10 06:40:04] Production.ERROR: CronJobId end 12
[2025-01-10 06:40:04] Production.INFO: ==19817== Releasing lock...
[2025-01-10 06:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 06:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 06:40:04] Production.ERROR: done
[2025-01-10 06:40:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 06:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14215143') end
[2025-01-10 06:40:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 06:40:05] Production.INFO: 1
[2025-01-10 06:40:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 06:40:05] Production.ERROR: done
[2025-01-10 06:40:05] Production.INFO: ==19823== Releasing lock...
[2025-01-10 06:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 06:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 06:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 03:40:06
[end_date_ymd] => 2025-01-10 06:40:06
[RateCDR] => 1
)
[2025-01-10 06:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 03:40:06' and `end` < '2025-01-10 06:40:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 06:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14215142', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 06:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 06:40:08] Production.INFO: ProcessCDR(1,14215142,1,1,2)
[2025-01-10 06:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14215142,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14215142,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:40:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:40:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:40:08] Production.INFO: ==19821== Releasing lock...
[2025-01-10 06:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 06:40:08] Production.INFO: 26 MB #Memory Used#
[2025-01-10 06:40:12] Production.ERROR: CronJobId end10
[2025-01-10 06:40:12] Production.INFO: ==19815== Releasing lock...
[2025-01-10 06:40:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 06:40:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 06:40:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 06:40:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 06:40:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 06:40:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 06:40:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 06:40:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 06:40:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 06:40:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 06:40:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 06:40:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 06:40:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 06:40:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 06:40:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 06:40:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 06:40:15] Production.INFO: call_cost start
[2025-01-10 06:40:15] Production.INFO: call_cost end
[2025-01-10 06:40:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 06:40:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 06:40:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 06:40:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 06:40:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 06:40:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 06:40:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 06:40:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 06:40:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 06:40:15] Production.INFO: ==19811== Releasing lock...
[2025-01-10 06:40:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 06:40:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 06:40:19] Production.INFO: count ==55
[2025-01-10 06:40:19] Production.ERROR: pbx CDR StartTime 2025-01-10 03:40:06 - End Time 2025-01-10 06:40:06
[2025-01-10 06:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 06:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215144', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215144', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215144', 'tblTempVendorCDR_20' ) start
[2025-01-10 06:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215144', 'tblTempVendorCDR_20' ) end
[2025-01-10 06:40:19] Production.INFO: ProcessCDR(1,14215144,1,1,2)
[2025-01-10 06:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215144,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215144,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215144,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:40:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215144,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215144', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215144', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:40:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:40:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:40:22] Production.INFO: ==19819== Releasing lock...
[2025-01-10 06:40:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 06:40:22] Production.INFO: 28 MB #Memory Used#
[2025-01-10 11:41:01] Production.INFO: ==19875== Lock acquired, processing the job...
[2025-01-10 11:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 11:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 11:41:01] Production.INFO: neon service started
[2025-01-10 11:41:01] Production.INFO: neon service started
[2025-01-10 11:41:01] Production.INFO: ==19875== Releasing lock...
[2025-01-10 11:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 11:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:41:01] Production.INFO: ==19879== Lock acquired, processing the job...
[2025-01-10 11:41:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 11:41:01] Production.INFO: ==19879== Releasing lock...
[2025-01-10 11:41:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 11:41:01] Production.INFO: 25 MB #Memory Used#
[2025-01-10 06:41:01] Production.INFO: ==19877== Lock acquired, processing the job...
[2025-01-10 06:41:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:41:02] Production.INFO: ==19877== Releasing lock...
[2025-01-10 06:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 06:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 06:41:03] Production.INFO: ==19888== Lock acquired, processing the job...
[2025-01-10 06:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 06:41:03] Production.INFO: ==19890== Lock acquired, processing the job...
[2025-01-10 06:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 06:41:03] Production.INFO: ==19882== Lock acquired, processing the job...
[2025-01-10 06:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 06:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:41:03] Production.INFO: Account Balance Start.
[2025-01-10 06:41:03] Production.INFO: CreateAllLog Start
[2025-01-10 06:41:03] Production.INFO: 117
[2025-01-10 06:41:03] Production.INFO: Date 2025-01-08
[2025-01-10 06:41:03] Production.INFO: ==19884== Lock acquired, processing the job...
[2025-01-10 06:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 06:41:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 06:41:03] Production.INFO: Date 2025-01-09
[2025-01-10 06:41:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:41:03] Production.INFO: ==19886== Lock acquired, processing the job...
[2025-01-10 06:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 06:41:03] Production.INFO: Date 2025-01-10
[2025-01-10 06:41:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:41:03] Production.INFO: Total Charge 0
[2025-01-10 06:41:03] Production.INFO: CreateAllLog End
[2025-01-10 06:41:03] Production.INFO: ==19892== Lock acquired, processing the job...
[2025-01-10 06:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 06:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 06:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 06:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 06:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 06:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:41:03] Production.ERROR: done
[2025-01-10 06:41:03] Production.INFO: count ==21
[2025-01-10 06:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 06:41:03] Production.INFO: count ==21
[2025-01-10 06:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215147') start
[2025-01-10 06:41:03] Production.INFO: Account Balance End.
[2025-01-10 06:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215147') end
[2025-01-10 06:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 06:41:03] Production.INFO: 1
[2025-01-10 06:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 06:41:03] Production.INFO: ==19892== Releasing lock...
[2025-01-10 06:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 06:41:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 06:41:03] Production.ERROR: CronJobId end 12
[2025-01-10 06:41:03] Production.INFO: ==19888== Releasing lock...
[2025-01-10 06:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 06:41:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 06:41:03] Production.INFO: ==19884== Releasing lock...
[2025-01-10 06:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 06:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 06:41:03] Production.ERROR: done
[2025-01-10 06:41:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 03:41:04
[end_date_ymd] => 2025-01-10 06:41:04
[RateCDR] => 1
)
[2025-01-10 06:41:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 03:41:04' and `end` < '2025-01-10 06:41:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 06:41:10] Production.ERROR: CronJobId end10
[2025-01-10 06:41:10] Production.INFO: ==19886== Releasing lock...
[2025-01-10 06:41:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 06:41:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 06:41:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 06:41:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 06:41:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 06:41:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 06:41:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 06:41:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 06:41:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 06:41:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 06:41:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 06:41:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 06:41:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 06:41:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 06:41:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 06:41:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 06:41:12] Production.INFO: call_cost start
[2025-01-10 06:41:12] Production.INFO: call_cost end
[2025-01-10 06:41:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 06:41:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 06:41:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 06:41:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 06:41:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 06:41:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 06:41:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 06:41:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 06:41:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 06:41:13] Production.INFO: ==19882== Releasing lock...
[2025-01-10 06:41:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 06:41:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 06:41:18] Production.INFO: count ==53
[2025-01-10 06:41:18] Production.ERROR: pbx CDR StartTime 2025-01-10 03:41:04 - End Time 2025-01-10 06:41:04
[2025-01-10 06:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 06:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215149', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215149', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215149', 'tblTempVendorCDR_20' ) start
[2025-01-10 06:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215149', 'tblTempVendorCDR_20' ) end
[2025-01-10 06:41:18] Production.INFO: ProcessCDR(1,14215149,1,1,2)
[2025-01-10 06:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215149,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215149,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215149,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215149,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215149', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215149', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:41:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:41:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:41:21] Production.INFO: ==19890== Releasing lock...
[2025-01-10 06:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 06:41:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 11:42:01] Production.INFO: ==19947== Lock acquired, processing the job...
[2025-01-10 11:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 11:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 11:42:01] Production.INFO: neon service started
[2025-01-10 11:42:01] Production.INFO: neon service started
[2025-01-10 11:42:01] Production.INFO: ==19947== Releasing lock...
[2025-01-10 11:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 11:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 06:42:02] Production.INFO: ==19949== Lock acquired, processing the job...
[2025-01-10 06:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:42:02] Production.INFO: ==19949== Releasing lock...
[2025-01-10 06:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 06:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 11:42:02] Production.INFO: ==19951== Lock acquired, processing the job...
[2025-01-10 11:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 11:42:02] Production.INFO: ==19951== Releasing lock...
[2025-01-10 11:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 11:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 06:42:03] Production.INFO: ==19954== Lock acquired, processing the job...
[2025-01-10 06:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 06:42:03] Production.INFO: ==19958== Lock acquired, processing the job...
[2025-01-10 06:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 06:42:03] Production.INFO: ==19960== Lock acquired, processing the job...
[2025-01-10 06:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 06:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 06:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 06:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 06:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 06:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 06:42:03] Production.INFO: Account Balance Start.
[2025-01-10 06:42:03] Production.INFO: CreateAllLog Start
[2025-01-10 06:42:03] Production.INFO: 117
[2025-01-10 06:42:03] Production.INFO: Date 2025-01-08
[2025-01-10 06:42:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:42:03] Production.INFO: Date 2025-01-09
[2025-01-10 06:42:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:42:03] Production.INFO: Date 2025-01-10
[2025-01-10 06:42:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:42:03] Production.INFO: Total Charge 0
[2025-01-10 06:42:03] Production.INFO: CreateAllLog End
[2025-01-10 06:42:03] Production.INFO: ==19956== Lock acquired, processing the job...
[2025-01-10 06:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 06:42:03] Production.INFO: ==19962== Lock acquired, processing the job...
[2025-01-10 06:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 06:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:42:03] Production.INFO: ==19964== Lock acquired, processing the job...
[2025-01-10 06:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 06:42:03] Production.INFO: Account Balance End.
[2025-01-10 06:42:03] Production.ERROR: CronJobId end 12
[2025-01-10 06:42:03] Production.INFO: ==19960== Releasing lock...
[2025-01-10 06:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 06:42:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 06:42:04] Production.ERROR: done
[2025-01-10 06:42:04] Production.INFO: ==19956== Releasing lock...
[2025-01-10 06:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 06:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 06:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 06:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:42:04] Production.INFO: count ==21
[2025-01-10 06:42:04] Production.ERROR: done
[2025-01-10 06:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:42:04] Production.INFO: count ==21
[2025-01-10 06:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215153') start
[2025-01-10 06:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215153') end
[2025-01-10 06:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 06:42:04] Production.INFO: 1
[2025-01-10 06:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 06:42:04] Production.INFO: ==19964== Releasing lock...
[2025-01-10 06:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 06:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 06:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 03:42:05
[end_date_ymd] => 2025-01-10 06:42:05
[RateCDR] => 1
)
[2025-01-10 06:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 03:42:05' and `end` < '2025-01-10 06:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 06:42:11] Production.ERROR: CronJobId end10
[2025-01-10 06:42:11] Production.INFO: ==19958== Releasing lock...
[2025-01-10 06:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 06:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 06:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 06:42:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 06:42:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 06:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 06:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 06:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 06:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 06:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 06:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 06:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 06:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 06:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 06:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 06:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 06:42:13] Production.INFO: call_cost start
[2025-01-10 06:42:13] Production.INFO: call_cost end
[2025-01-10 06:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 06:42:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 06:42:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 06:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 06:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 06:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 06:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 06:42:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 06:42:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 06:42:14] Production.INFO: ==19954== Releasing lock...
[2025-01-10 06:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 06:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 06:42:18] Production.INFO: count ==53
[2025-01-10 06:42:18] Production.ERROR: pbx CDR StartTime 2025-01-10 03:42:05 - End Time 2025-01-10 06:42:05
[2025-01-10 06:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 06:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215154', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215154', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215154', 'tblTempVendorCDR_20' ) start
[2025-01-10 06:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215154', 'tblTempVendorCDR_20' ) end
[2025-01-10 06:42:18] Production.INFO: ProcessCDR(1,14215154,1,1,2)
[2025-01-10 06:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215154,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215154,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215154,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215154,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215154', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215154', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:42:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:42:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:42:21] Production.INFO: ==19962== Releasing lock...
[2025-01-10 06:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 06:42:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 11:43:02] Production.INFO: ==20018== Lock acquired, processing the job...
[2025-01-10 11:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 11:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 11:43:02] Production.INFO: neon service started
[2025-01-10 11:43:02] Production.INFO: neon service started
[2025-01-10 11:43:02] Production.INFO: ==20018== Releasing lock...
[2025-01-10 11:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 11:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 06:43:02] Production.INFO: ==20020== Lock acquired, processing the job...
[2025-01-10 06:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:43:02] Production.INFO: ==20020== Releasing lock...
[2025-01-10 06:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 06:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 11:43:03] Production.INFO: ==20022== Lock acquired, processing the job...
[2025-01-10 11:43:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 11:43:03] Production.INFO: ==20022== Releasing lock...
[2025-01-10 11:43:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 11:43:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 06:43:03] Production.INFO: ==20024== Lock acquired, processing the job...
[2025-01-10 06:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 06:43:03] Production.INFO: ==20026== Lock acquired, processing the job...
[2025-01-10 06:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 06:43:03] Production.INFO: ==20028== Lock acquired, processing the job...
[2025-01-10 06:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 06:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 06:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 06:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 06:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 06:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 06:43:03] Production.INFO: ==20030== Lock acquired, processing the job...
[2025-01-10 06:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 06:43:03] Production.INFO: ==20026== Releasing lock...
[2025-01-10 06:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 06:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 06:43:03] Production.INFO: ==20032== Lock acquired, processing the job...
[2025-01-10 06:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 06:43:03] Production.INFO: Account Balance Start.
[2025-01-10 06:43:03] Production.INFO: CreateAllLog Start
[2025-01-10 06:43:03] Production.INFO: 117
[2025-01-10 06:43:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:43:04] Production.INFO: Date 2025-01-08
[2025-01-10 06:43:04] Production.INFO: Reseller ==> 0
[2025-01-10 06:43:04] Production.INFO: ==20035== Lock acquired, processing the job...
[2025-01-10 06:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 06:43:04] Production.INFO: Date 2025-01-09
[2025-01-10 06:43:04] Production.INFO: Reseller ==> 0
[2025-01-10 06:43:04] Production.INFO: Date 2025-01-10
[2025-01-10 06:43:04] Production.INFO: Reseller ==> 0
[2025-01-10 06:43:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:43:04] Production.ERROR: done
[2025-01-10 06:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 06:43:04] Production.INFO: count ==21
[2025-01-10 06:43:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:43:04] Production.INFO: count ==21
[2025-01-10 06:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215158') start
[2025-01-10 06:43:04] Production.ERROR: done
[2025-01-10 06:43:04] Production.INFO: Total Charge 0
[2025-01-10 06:43:04] Production.INFO: CreateAllLog End
[2025-01-10 06:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215158') end
[2025-01-10 06:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 06:43:04] Production.INFO: 1
[2025-01-10 06:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 06:43:04] Production.INFO: ==20035== Releasing lock...
[2025-01-10 06:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 06:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 06:43:04] Production.INFO: Account Balance End.
[2025-01-10 06:43:04] Production.ERROR: CronJobId end 12
[2025-01-10 06:43:04] Production.INFO: ==20030== Releasing lock...
[2025-01-10 06:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 06:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 06:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 03:43:05
[end_date_ymd] => 2025-01-10 06:43:05
[RateCDR] => 1
)
[2025-01-10 06:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 03:43:05' and `end` < '2025-01-10 06:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 06:43:10] Production.ERROR: CronJobId end10
[2025-01-10 06:43:10] Production.INFO: ==20028== Releasing lock...
[2025-01-10 06:43:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 06:43:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 06:43:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 06:43:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 06:43:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 06:43:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 06:43:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 06:43:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 06:43:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 06:43:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 06:43:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 06:43:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 06:43:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 06:43:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 06:43:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 06:43:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 06:43:13] Production.INFO: call_cost start
[2025-01-10 06:43:13] Production.INFO: call_cost end
[2025-01-10 06:43:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 06:43:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 06:43:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 06:43:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 06:43:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 06:43:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 06:43:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 06:43:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 06:43:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 06:43:14] Production.INFO: ==20024== Releasing lock...
[2025-01-10 06:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 06:43:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 06:43:18] Production.INFO: count ==53
[2025-01-10 06:43:18] Production.ERROR: pbx CDR StartTime 2025-01-10 03:43:05 - End Time 2025-01-10 06:43:05
[2025-01-10 06:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 06:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215159', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215159', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215159', 'tblTempVendorCDR_20' ) start
[2025-01-10 06:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215159', 'tblTempVendorCDR_20' ) end
[2025-01-10 06:43:18] Production.INFO: ProcessCDR(1,14215159,1,1,2)
[2025-01-10 06:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215159,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215159,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215159,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215159,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215159', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215159', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:43:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:43:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:43:21] Production.INFO: ==20032== Releasing lock...
[2025-01-10 06:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 06:43:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 11:44:01] Production.INFO: ==20095== Lock acquired, processing the job...
[2025-01-10 11:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 11:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 11:44:01] Production.INFO: neon service started
[2025-01-10 11:44:01] Production.INFO: neon service started
[2025-01-10 11:44:01] Production.INFO: ==20095== Releasing lock...
[2025-01-10 11:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 11:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:44:02] Production.INFO: ==20099== Lock acquired, processing the job...
[2025-01-10 11:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 11:44:02] Production.INFO: ==20099== Releasing lock...
[2025-01-10 11:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 11:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 06:44:02] Production.INFO: ==20097== Lock acquired, processing the job...
[2025-01-10 06:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:44:02] Production.INFO: ==20097== Releasing lock...
[2025-01-10 06:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 06:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 06:44:03] Production.INFO: ==20105== Lock acquired, processing the job...
[2025-01-10 06:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 06:44:03] Production.INFO: ==20109== Lock acquired, processing the job...
[2025-01-10 06:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 06:44:03] Production.INFO: Account Balance Start.
[2025-01-10 06:44:03] Production.INFO: CreateAllLog Start
[2025-01-10 06:44:03] Production.INFO: 117
[2025-01-10 06:44:03] Production.INFO: Date 2025-01-08
[2025-01-10 06:44:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:44:03] Production.INFO: Date 2025-01-09
[2025-01-10 06:44:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:44:03] Production.INFO: Date 2025-01-10
[2025-01-10 06:44:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:44:03] Production.INFO: ==20111== Lock acquired, processing the job...
[2025-01-10 06:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 06:44:03] Production.INFO: Total Charge 0
[2025-01-10 06:44:03] Production.INFO: CreateAllLog End
[2025-01-10 06:44:03] Production.INFO: ==20105== Releasing lock...
[2025-01-10 06:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 06:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 06:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:44:03] Production.INFO: ==20103== Lock acquired, processing the job...
[2025-01-10 06:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 06:44:03] Production.INFO: ==20107== Lock acquired, processing the job...
[2025-01-10 06:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 06:44:03] Production.INFO: ==20113== Lock acquired, processing the job...
[2025-01-10 06:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 06:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 06:44:03] Production.INFO: Account Balance End.
[2025-01-10 06:44:03] Production.ERROR: CronJobId end 12
[2025-01-10 06:44:03] Production.INFO: ==20109== Releasing lock...
[2025-01-10 06:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 06:44:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 06:44:04] Production.ERROR: done
[2025-01-10 06:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 06:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 06:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 06:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 06:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 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-01-10 06:44:04] Production.INFO: count ==21
[2025-01-10 06:44:04] Production.ERROR: done
[2025-01-10 06:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:44:04] Production.INFO: count ==21
[2025-01-10 06:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215163') start
[2025-01-10 06:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215163') end
[2025-01-10 06:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 06:44:04] Production.INFO: 1
[2025-01-10 06:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 06:44:04] Production.INFO: ==20113== Releasing lock...
[2025-01-10 06:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 06:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 06:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 03:44:05
[end_date_ymd] => 2025-01-10 06:44:05
[RateCDR] => 1
)
[2025-01-10 06:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 03:44:05' and `end` < '2025-01-10 06:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 06:44:11] Production.ERROR: CronJobId end10
[2025-01-10 06:44:11] Production.INFO: ==20107== Releasing lock...
[2025-01-10 06:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 06:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 06:44:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 06:44:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 06:44:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 06:44:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 06:44:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 06:44:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 06:44:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 06:44:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 06:44:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 06:44:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 06:44:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 06:44:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 06:44:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 06:44:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 06:44:13] Production.INFO: call_cost start
[2025-01-10 06:44:13] Production.INFO: call_cost end
[2025-01-10 06:44:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 06:44:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 06:44:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 06:44:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 06:44:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 06:44:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 06:44:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 06:44:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 06:44:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 06:44:13] Production.INFO: ==20103== Releasing lock...
[2025-01-10 06:44:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 06:44:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 06:44:17] Production.INFO: count ==53
[2025-01-10 06:44:17] Production.ERROR: pbx CDR StartTime 2025-01-10 03:44:05 - End Time 2025-01-10 06:44:05
[2025-01-10 06:44:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 06:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215164', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215164', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215164', 'tblTempVendorCDR_20' ) start
[2025-01-10 06:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215164', 'tblTempVendorCDR_20' ) end
[2025-01-10 06:44:17] Production.INFO: ProcessCDR(1,14215164,1,1,2)
[2025-01-10 06:44:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215164,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:44:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215164,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:44:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215164,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215164,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215164', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215164', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:44:21] Production.INFO: ==20111== Releasing lock...
[2025-01-10 06:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 06:44:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 11:45:02] Production.INFO: ==20167== Lock acquired, processing the job...
[2025-01-10 11:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 11:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 11:45:02] Production.INFO: neon service started
[2025-01-10 11:45:02] Production.INFO: neon service started
[2025-01-10 11:45:02] Production.INFO: ==20167== Releasing lock...
[2025-01-10 11:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 11:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:45:02] Production.INFO: ==20171== Lock acquired, processing the job...
[2025-01-10 11:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 11:45:02] Production.INFO: ==20171== Releasing lock...
[2025-01-10 11:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 11:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 06:45:02] Production.INFO: ==20169== Lock acquired, processing the job...
[2025-01-10 06:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:45:03] Production.INFO: ==20169== Releasing lock...
[2025-01-10 06:45:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 06:45:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 06:45:03] Production.INFO: ==20176== Lock acquired, processing the job...
[2025-01-10 06:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 06:45:03] Production.INFO: ==20178== Lock acquired, processing the job...
[2025-01-10 06:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 06:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 06:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 06:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 06:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 06:45:04] Production.INFO: ==20174== Lock acquired, processing the job...
[2025-01-10 06:45:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 06:45:04] Production.INFO: ==20176== Releasing lock...
[2025-01-10 06:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 06:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 06:45:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 06:45:04] Production.INFO: ==20180== Lock acquired, processing the job...
[2025-01-10 06:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 06:45:04] Production.INFO: ==20182== Lock acquired, processing the job...
[2025-01-10 06:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 06:45:04] Production.INFO: ==20184== Lock acquired, processing the job...
[2025-01-10 06:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 06:45:04] Production.INFO: Account Balance Start.
[2025-01-10 06:45:04] Production.INFO: CreateAllLog Start
[2025-01-10 06:45:04] Production.INFO: 117
[2025-01-10 06:45:04] Production.INFO: Date 2025-01-08
[2025-01-10 06:45:04] Production.INFO: Reseller ==> 0
[2025-01-10 06:45:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:45:04] Production.INFO: Date 2025-01-09
[2025-01-10 06:45:04] Production.INFO: Reseller ==> 0
[2025-01-10 06:45:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:45:04] Production.INFO: count ==21
[2025-01-10 06:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:45:04] Production.INFO: count ==21
[2025-01-10 06:45:04] Production.INFO: Date 2025-01-10
[2025-01-10 06:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215168') start
[2025-01-10 06:45:04] Production.INFO: Reseller ==> 0
[2025-01-10 06:45:04] Production.INFO: Total Charge 0
[2025-01-10 06:45:04] Production.INFO: CreateAllLog End
[2025-01-10 06:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215168') end
[2025-01-10 06:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 06:45:04] Production.INFO: 1
[2025-01-10 06:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 06:45:04] Production.INFO: ==20184== Releasing lock...
[2025-01-10 06:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 06:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 06:45:04] Production.ERROR: done
[2025-01-10 06:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 06:45:04] Production.INFO: Account Balance End.
[2025-01-10 06:45:04] Production.ERROR: CronJobId end 12
[2025-01-10 06:45:04] Production.INFO: ==20180== Releasing lock...
[2025-01-10 06:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 06:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 06:45:05] Production.ERROR: done
[2025-01-10 06:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 03:45:05
[end_date_ymd] => 2025-01-10 06:45:05
[RateCDR] => 1
)
[2025-01-10 06:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 03:45:05' and `end` < '2025-01-10 06:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 06:45:11] Production.ERROR: CronJobId end10
[2025-01-10 06:45:11] Production.INFO: ==20178== Releasing lock...
[2025-01-10 06:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 06:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 06:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 06:45:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 06:45:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 06:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 06:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 06:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 06:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 06:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 06:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 06:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 06:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 06:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 06:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 06:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 06:45:13] Production.INFO: call_cost start
[2025-01-10 06:45:13] Production.INFO: call_cost end
[2025-01-10 06:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 06:45:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 06:45:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 06:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 06:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 06:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 06:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 06:45:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 06:45:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 06:45:14] Production.INFO: ==20174== Releasing lock...
[2025-01-10 06:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 06:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 06:45:18] Production.INFO: count ==53
[2025-01-10 06:45:18] Production.ERROR: pbx CDR StartTime 2025-01-10 03:45:05 - End Time 2025-01-10 06:45:05
[2025-01-10 06:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 06:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215169', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215169', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215169', 'tblTempVendorCDR_20' ) start
[2025-01-10 06:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215169', 'tblTempVendorCDR_20' ) end
[2025-01-10 06:45:18] Production.INFO: ProcessCDR(1,14215169,1,1,2)
[2025-01-10 06:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215169,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215169,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215169,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:45:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215169,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215169', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215169', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:45:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:45:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:45:22] Production.INFO: ==20182== Releasing lock...
[2025-01-10 06:45:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 06:45:22] Production.INFO: 28 MB #Memory Used#
[2025-01-10 11:46:01] Production.INFO: ==20237== Lock acquired, processing the job...
[2025-01-10 11:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 11:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 11:46:01] Production.INFO: neon service started
[2025-01-10 11:46:01] Production.INFO: neon service started
[2025-01-10 11:46:01] Production.INFO: ==20237== Releasing lock...
[2025-01-10 11:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 11:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 06:46:02] Production.INFO: ==20239== Lock acquired, processing the job...
[2025-01-10 06:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 11:46:02] Production.INFO: ==20241== Lock acquired, processing the job...
[2025-01-10 11:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 11:46:02] Production.INFO: ==20241== Releasing lock...
[2025-01-10 11:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 11:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 06:46:02] Production.INFO: ==20239== Releasing lock...
[2025-01-10 06:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 06:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 06:46:03] Production.INFO: ==20244== Lock acquired, processing the job...
[2025-01-10 06:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 06:46:03] Production.INFO: ==20248== Lock acquired, processing the job...
[2025-01-10 06:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 06:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 06:46:03] Production.INFO: ==20252== Lock acquired, processing the job...
[2025-01-10 06:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 06:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 06:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 06:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 06:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 06:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:46:03] Production.INFO: ==20250== Lock acquired, processing the job...
[2025-01-10 06:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 06:46:03] Production.INFO: ==20246== Lock acquired, processing the job...
[2025-01-10 06:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 06:46:03] Production.INFO: Account Balance Start.
[2025-01-10 06:46:03] Production.INFO: CreateAllLog Start
[2025-01-10 06:46:03] Production.INFO: 117
[2025-01-10 06:46:03] Production.INFO: Date 2025-01-08
[2025-01-10 06:46:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:46:03] Production.INFO: ==20254== Lock acquired, processing the job...
[2025-01-10 06:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 06:46:03] Production.INFO: Date 2025-01-09
[2025-01-10 06:46:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:46:03] Production.INFO: Date 2025-01-10
[2025-01-10 06:46:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:46:04] Production.ERROR: done
[2025-01-10 06:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 06:46:04] Production.INFO: Total Charge 0
[2025-01-10 06:46:04] Production.INFO: CreateAllLog End
[2025-01-10 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-01-10 06:46:04] Production.INFO: count ==21
[2025-01-10 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-01-10 06:46:04] Production.INFO: count ==21
[2025-01-10 06:46:04] Production.INFO: ==20246== Releasing lock...
[2025-01-10 06:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 06:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 06:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215173') start
[2025-01-10 06:46:04] Production.INFO: Account Balance End.
[2025-01-10 06:46:04] Production.ERROR: done
[2025-01-10 06:46:04] Production.ERROR: CronJobId end 12
[2025-01-10 06:46:04] Production.INFO: ==20250== Releasing lock...
[2025-01-10 06:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 06:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 06:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215173') end
[2025-01-10 06:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 06:46:04] Production.INFO: 1
[2025-01-10 06:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 06:46:04] Production.INFO: ==20254== Releasing lock...
[2025-01-10 06:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 06:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 06:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 03:46:05
[end_date_ymd] => 2025-01-10 06:46:05
[RateCDR] => 1
)
[2025-01-10 06:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 03:46:05' and `end` < '2025-01-10 06:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 06:46:10] Production.ERROR: CronJobId end10
[2025-01-10 06:46:10] Production.INFO: ==20248== Releasing lock...
[2025-01-10 06:46:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 06:46:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 06:46:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 06:46:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 06:46:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 06:46:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 06:46:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 06:46:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 06:46:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 06:46:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 06:46:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 06:46:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 06:46:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 06:46:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 06:46:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 06:46:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 06:46:13] Production.INFO: call_cost start
[2025-01-10 06:46:13] Production.INFO: call_cost end
[2025-01-10 06:46:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 06:46:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 06:46:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 06:46:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 06:46:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 06:46:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 06:46:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 06:46:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 06:46:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 06:46:13] Production.INFO: ==20244== Releasing lock...
[2025-01-10 06:46:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 06:46:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 06:46:18] Production.INFO: count ==53
[2025-01-10 06:46:18] Production.ERROR: pbx CDR StartTime 2025-01-10 03:46:05 - End Time 2025-01-10 06:46:05
[2025-01-10 06:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 06:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215174', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215174', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215174', 'tblTempVendorCDR_20' ) start
[2025-01-10 06:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215174', 'tblTempVendorCDR_20' ) end
[2025-01-10 06:46:18] Production.INFO: ProcessCDR(1,14215174,1,1,2)
[2025-01-10 06:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215174,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215174,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215174,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215174,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215174', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215174', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:46:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:46:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:46:21] Production.INFO: ==20252== Releasing lock...
[2025-01-10 06:46:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 06:46:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 11:47:02] Production.INFO: ==20346== Lock acquired, processing the job...
[2025-01-10 11:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 11:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 11:47:02] Production.INFO: neon service started
[2025-01-10 11:47:02] Production.INFO: neon service started
[2025-01-10 11:47:02] Production.INFO: ==20346== Releasing lock...
[2025-01-10 11:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 11:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 06:47:02] Production.INFO: ==20348== Lock acquired, processing the job...
[2025-01-10 06:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:47:02] Production.INFO: ==20348== Releasing lock...
[2025-01-10 06:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 06:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 11:47:02] Production.INFO: ==20350== Lock acquired, processing the job...
[2025-01-10 11:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 11:47:02] Production.INFO: ==20350== Releasing lock...
[2025-01-10 11:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 11:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 06:47:03] Production.INFO: ==20356== Lock acquired, processing the job...
[2025-01-10 06:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 06:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 06:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 06:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 06:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 06:47:03] Production.INFO: ==20360== Lock acquired, processing the job...
[2025-01-10 06:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 06:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:47:03] Production.INFO: ==20354== Lock acquired, processing the job...
[2025-01-10 06:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 06:47:03] Production.INFO: ==20352== Lock acquired, processing the job...
[2025-01-10 06:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 06:47:04] Production.INFO: ==20362== Lock acquired, processing the job...
[2025-01-10 06:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 06:47:04] Production.INFO: ==20358== Lock acquired, processing the job...
[2025-01-10 06:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 06:47:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 06:47:04] Production.ERROR: done
[2025-01-10 06:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 06:47:04] Production.INFO: Account Balance Start.
[2025-01-10 06:47:04] Production.INFO: CreateAllLog Start
[2025-01-10 06:47:04] Production.INFO: 117
[2025-01-10 06:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:47:04] Production.ERROR: done
[2025-01-10 06:47:04] Production.INFO: Date 2025-01-08
[2025-01-10 06:47:04] Production.INFO: Reseller ==> 0
[2025-01-10 06:47:04] Production.INFO: ==20354== Releasing lock...
[2025-01-10 06:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 06:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 06:47:04] Production.INFO: count ==21
[2025-01-10 06:47:04] Production.INFO: Date 2025-01-09
[2025-01-10 06:47:04] Production.INFO: Reseller ==> 0
[2025-01-10 06:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:47:04] Production.INFO: count ==21
[2025-01-10 06:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215177') start
[2025-01-10 06:47:04] Production.INFO: Date 2025-01-10
[2025-01-10 06:47:04] Production.INFO: Reseller ==> 0
[2025-01-10 06:47:04] Production.INFO: Total Charge 0
[2025-01-10 06:47:04] Production.INFO: CreateAllLog End
[2025-01-10 06:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215177') end
[2025-01-10 06:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 06:47:04] Production.INFO: 1
[2025-01-10 06:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 06:47:04] Production.INFO: ==20362== Releasing lock...
[2025-01-10 06:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 06:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 06:47:04] Production.INFO: Account Balance End.
[2025-01-10 06:47:04] Production.ERROR: CronJobId end 12
[2025-01-10 06:47:04] Production.INFO: ==20358== Releasing lock...
[2025-01-10 06:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 06:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 06:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 03:47:05
[end_date_ymd] => 2025-01-10 06:47:05
[RateCDR] => 1
)
[2025-01-10 06:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 03:47:05' and `end` < '2025-01-10 06:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 06:47:11] Production.ERROR: CronJobId end10
[2025-01-10 06:47:11] Production.INFO: ==20356== Releasing lock...
[2025-01-10 06:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 06:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 06:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 06:47:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 06:47:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 06:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 06:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 06:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 06:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 06:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 06:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 06:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 06:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 06:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 06:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 06:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 06:47:13] Production.INFO: call_cost start
[2025-01-10 06:47:13] Production.INFO: call_cost end
[2025-01-10 06:47:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 06:47:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 06:47:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 06:47:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 06:47:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 06:47:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 06:47:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 06:47:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 06:47:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 06:47:14] Production.INFO: ==20352== Releasing lock...
[2025-01-10 06:47:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 06:47:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 06:47:18] Production.INFO: count ==53
[2025-01-10 06:47:18] Production.ERROR: pbx CDR StartTime 2025-01-10 03:47:05 - End Time 2025-01-10 06:47:05
[2025-01-10 06:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 06:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215179', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215179', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215179', 'tblTempVendorCDR_20' ) start
[2025-01-10 06:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215179', 'tblTempVendorCDR_20' ) end
[2025-01-10 06:47:18] Production.INFO: ProcessCDR(1,14215179,1,1,2)
[2025-01-10 06:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215179,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215179,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215179,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215179,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215179', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215179', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:47:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:47:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:47:21] Production.INFO: ==20360== Releasing lock...
[2025-01-10 06:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 06:47:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 11:48:01] Production.INFO: ==20415== Lock acquired, processing the job...
[2025-01-10 11:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 11:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 11:48:01] Production.INFO: neon service started
[2025-01-10 11:48:01] Production.INFO: neon service started
[2025-01-10 11:48:01] Production.INFO: ==20415== Releasing lock...
[2025-01-10 11:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 11:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 06:48:01] Production.INFO: ==20417== Lock acquired, processing the job...
[2025-01-10 06:48:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:48:02] Production.INFO: ==20417== Releasing lock...
[2025-01-10 06:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 06:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 11:48:02] Production.INFO: ==20419== Lock acquired, processing the job...
[2025-01-10 11:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 11:48:02] Production.INFO: ==20419== Releasing lock...
[2025-01-10 11:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 11:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 06:48:03] Production.INFO: ==20421== Lock acquired, processing the job...
[2025-01-10 06:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 06:48:03] Production.INFO: ==20423== Lock acquired, processing the job...
[2025-01-10 06:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 06:48:03] Production.INFO: ==20425== Lock acquired, processing the job...
[2025-01-10 06:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 06:48:03] Production.INFO: ==20427== Lock acquired, processing the job...
[2025-01-10 06:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 06:48:03] Production.INFO: ==20429== Lock acquired, processing the job...
[2025-01-10 06:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 06:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 06:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 06:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 06:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 06:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 06:48:03] Production.INFO: ==20431== Lock acquired, processing the job...
[2025-01-10 06:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 06:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:48:03] Production.INFO: ==20423== Releasing lock...
[2025-01-10 06:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 06:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 06:48:03] Production.INFO: Account Balance Start.
[2025-01-10 06:48:03] Production.INFO: CreateAllLog Start
[2025-01-10 06:48:03] Production.INFO: 117
[2025-01-10 06:48:03] Production.INFO: Date 2025-01-08
[2025-01-10 06:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:48:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:48:03] Production.INFO: Date 2025-01-09
[2025-01-10 06:48:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:48:03] Production.INFO: count ==21
[2025-01-10 06:48:03] Production.ERROR: done
[2025-01-10 06:48:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:48:03] Production.INFO: count ==21
[2025-01-10 06:48:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 06:48:03] Production.INFO: Date 2025-01-10
[2025-01-10 06:48:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215182') start
[2025-01-10 06:48:03] Production.INFO: Total Charge 0
[2025-01-10 06:48:03] Production.INFO: CreateAllLog End
[2025-01-10 06:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215182') end
[2025-01-10 06:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 06:48:04] Production.INFO: 1
[2025-01-10 06:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 06:48:04] Production.ERROR: done
[2025-01-10 06:48:04] Production.INFO: ==20431== Releasing lock...
[2025-01-10 06:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 06:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 06:48:04] Production.INFO: Account Balance End.
[2025-01-10 06:48:04] Production.ERROR: CronJobId end 12
[2025-01-10 06:48:04] Production.INFO: ==20427== Releasing lock...
[2025-01-10 06:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 06:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 06:48:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 03:48:04
[end_date_ymd] => 2025-01-10 06:48:04
[RateCDR] => 1
)
[2025-01-10 06:48:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 03:48:04' and `end` < '2025-01-10 06:48:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 06:48:10] Production.ERROR: CronJobId end10
[2025-01-10 06:48:10] Production.INFO: ==20425== Releasing lock...
[2025-01-10 06:48:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 06:48:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 06:48:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 06:48:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 06:48:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 06:48:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 06:48:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 06:48:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 06:48:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 06:48:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 06:48:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 06:48:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 06:48:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 06:48:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 06:48:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 06:48:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 06:48:13] Production.INFO: call_cost start
[2025-01-10 06:48:13] Production.INFO: call_cost end
[2025-01-10 06:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 06:48:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 06:48:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 06:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 06:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 06:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 06:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 06:48:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 06:48:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 06:48:14] Production.INFO: ==20421== Releasing lock...
[2025-01-10 06:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 06:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 06:48:18] Production.INFO: count ==53
[2025-01-10 06:48:18] Production.ERROR: pbx CDR StartTime 2025-01-10 03:48:04 - End Time 2025-01-10 06:48:04
[2025-01-10 06:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 06:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215184', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215184', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215184', 'tblTempVendorCDR_20' ) start
[2025-01-10 06:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215184', 'tblTempVendorCDR_20' ) end
[2025-01-10 06:48:18] Production.INFO: ProcessCDR(1,14215184,1,1,2)
[2025-01-10 06:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215184,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215184,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215184,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:48:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215184,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215184', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215184', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:48:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:48:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:48:21] Production.INFO: ==20429== Releasing lock...
[2025-01-10 06:48:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 06:48:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 11:49:02] Production.INFO: ==20486== Lock acquired, processing the job...
[2025-01-10 11:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 11:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 11:49:02] Production.INFO: neon service started
[2025-01-10 11:49:02] Production.INFO: neon service started
[2025-01-10 11:49:02] Production.INFO: ==20486== Releasing lock...
[2025-01-10 11:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 11:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:49:02] Production.INFO: ==20490== Lock acquired, processing the job...
[2025-01-10 11:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 11:49:02] Production.INFO: ==20490== Releasing lock...
[2025-01-10 11:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 11:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 06:49:02] Production.INFO: ==20488== Lock acquired, processing the job...
[2025-01-10 06:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:49:02] Production.INFO: ==20488== Releasing lock...
[2025-01-10 06:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 06:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 06:49:03] Production.INFO: ==20497== Lock acquired, processing the job...
[2025-01-10 06:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 06:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 06:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 06:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 06:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 06:49:03] Production.INFO: ==20493== Lock acquired, processing the job...
[2025-01-10 06:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 06:49:03] Production.INFO: ==20503== Lock acquired, processing the job...
[2025-01-10 06:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 06:49:03] Production.INFO: ==20495== Lock acquired, processing the job...
[2025-01-10 06:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 06:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 06:49:03] Production.INFO: ==20499== Lock acquired, processing the job...
[2025-01-10 06:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 06:49:03] Production.INFO: ==20501== Lock acquired, processing the job...
[2025-01-10 06:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 06:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:49:03] Production.INFO: count ==21
[2025-01-10 06:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:49:03] Production.INFO: Account Balance Start.
[2025-01-10 06:49:03] Production.INFO: CreateAllLog Start
[2025-01-10 06:49:03] Production.INFO: count ==21
[2025-01-10 06:49:03] Production.INFO: 117
[2025-01-10 06:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215186') start
[2025-01-10 06:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:49:03] Production.INFO: Date 2025-01-08
[2025-01-10 06:49:04] Production.INFO: Reseller ==> 0
[2025-01-10 06:49:04] Production.INFO: Date 2025-01-09
[2025-01-10 06:49:04] Production.INFO: Reseller ==> 0
[2025-01-10 06:49:04] Production.INFO: Date 2025-01-10
[2025-01-10 06:49:04] Production.INFO: Reseller ==> 0
[2025-01-10 06:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215186') end
[2025-01-10 06:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 06:49:04] Production.INFO: 1
[2025-01-10 06:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 06:49:04] Production.INFO: Total Charge 0
[2025-01-10 06:49:04] Production.INFO: CreateAllLog End
[2025-01-10 06:49:04] Production.INFO: ==20495== Releasing lock...
[2025-01-10 06:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 06:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 06:49:04] Production.INFO: ==20503== Releasing lock...
[2025-01-10 06:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 06:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 06:49:04] Production.ERROR: done
[2025-01-10 06:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 06:49:04] Production.INFO: Account Balance End.
[2025-01-10 06:49:04] Production.ERROR: CronJobId end 12
[2025-01-10 06:49:04] Production.INFO: ==20499== Releasing lock...
[2025-01-10 06:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 06:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 06:49:04] Production.ERROR: done
[2025-01-10 06:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 03:49:05
[end_date_ymd] => 2025-01-10 06:49:05
[RateCDR] => 1
)
[2025-01-10 06:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 03:49:05' and `end` < '2025-01-10 06:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 06:49:11] Production.ERROR: CronJobId end10
[2025-01-10 06:49:11] Production.INFO: ==20497== Releasing lock...
[2025-01-10 06:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 06:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 06:49:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 06:49:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 06:49:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 06:49:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 06:49:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 06:49:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 06:49:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 06:49:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 06:49:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 06:49:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 06:49:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 06:49:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 06:49:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 06:49:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 06:49:12] Production.INFO: call_cost start
[2025-01-10 06:49:12] Production.INFO: call_cost end
[2025-01-10 06:49:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 06:49:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 06:49:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 06:49:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 06:49:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 06:49:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 06:49:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 06:49:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 06:49:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 06:49:13] Production.INFO: ==20493== Releasing lock...
[2025-01-10 06:49:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 06:49:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 06:49:19] Production.INFO: count ==53
[2025-01-10 06:49:19] Production.ERROR: pbx CDR StartTime 2025-01-10 03:49:05 - End Time 2025-01-10 06:49:05
[2025-01-10 06:49:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 06:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215189', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215189', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215189', 'tblTempVendorCDR_20' ) start
[2025-01-10 06:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215189', 'tblTempVendorCDR_20' ) end
[2025-01-10 06:49:19] Production.INFO: ProcessCDR(1,14215189,1,1,2)
[2025-01-10 06:49:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215189,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:49:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215189,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:49:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215189,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:49:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215189,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215189', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215189', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:49:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:49:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:49:22] Production.INFO: ==20501== Releasing lock...
[2025-01-10 06:49:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 06:49:22] Production.INFO: 28 MB #Memory Used#
[2025-01-10 11:50:01] Production.INFO: ==20556== Lock acquired, processing the job...
[2025-01-10 11:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 11:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 11:50:01] Production.INFO: neon service started
[2025-01-10 11:50:01] Production.INFO: neon service started
[2025-01-10 11:50:01] Production.INFO: ==20556== Releasing lock...
[2025-01-10 11:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 11:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 06:50:01] Production.INFO: ==20558== Lock acquired, processing the job...
[2025-01-10 06:50:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 11:50:02] Production.INFO: ==20560== Lock acquired, processing the job...
[2025-01-10 11:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 11:50:02] Production.INFO: ==20560== Releasing lock...
[2025-01-10 11:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 11:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 06:50:02] Production.INFO: ==20558== Releasing lock...
[2025-01-10 06:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 06:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 06:50:03] Production.INFO: ==20562== Lock acquired, processing the job...
[2025-01-10 06:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 06:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 06:50:03] Production.INFO: ==20564== Lock acquired, processing the job...
[2025-01-10 06:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 06:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 06:50:03] Production.INFO: ==20562== Releasing lock...
[2025-01-10 06:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 06:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 06:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 06:50:03] Production.INFO: ==20571== Lock acquired, processing the job...
[2025-01-10 06:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 06:50:03] Production.INFO: ==20575== Lock acquired, processing the job...
[2025-01-10 06:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 06:50:03] Production.INFO: ==20567== Lock acquired, processing the job...
[2025-01-10 06:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 06:50:03] Production.INFO: Account Balance Start.
[2025-01-10 06:50:03] Production.INFO: CreateAllLog Start
[2025-01-10 06:50:03] Production.INFO: 117
[2025-01-10 06:50:03] Production.INFO: Date 2025-01-08
[2025-01-10 06:50:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:50:03] Production.INFO: Date 2025-01-09
[2025-01-10 06:50:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:50:03] Production.INFO: Date 2025-01-10
[2025-01-10 06:50:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:50:03] Production.INFO: ==20569== Lock acquired, processing the job...
[2025-01-10 06:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 06:50:03] Production.INFO: Total Charge 0
[2025-01-10 06:50:03] Production.INFO: CreateAllLog End
[2025-01-10 06:50:03] Production.INFO: ==20573== Lock acquired, processing the job...
[2025-01-10 06:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 06:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 06:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 06:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 06:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 06:50:03] Production.INFO: ==20577== Lock acquired, processing the job...
[2025-01-10 06:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 06:50:03] Production.ERROR: done
[2025-01-10 06:50:03] Production.INFO: ==20567== Releasing lock...
[2025-01-10 06:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 06:50:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 06:50:03] Production.INFO: Account Balance End.
[2025-01-10 06:50:03] Production.ERROR: CronJobId end 12
[2025-01-10 06:50:03] Production.INFO: ==20571== Releasing lock...
[2025-01-10 06:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 06:50:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 06:50:03] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 06:50:03] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14215193', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 06:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:50:04] Production.ERROR: done
[2025-01-10 06:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 06:50:04] Production.INFO: count ==21
[2025-01-10 06:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:50:04] Production.INFO: count ==21
[2025-01-10 06:50:04] Production.ERROR: done
[2025-01-10 06:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215194') start
[2025-01-10 06:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215194') end
[2025-01-10 06:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 06:50:04] Production.INFO: 1
[2025-01-10 06:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 06:50:04] Production.INFO: ==20577== Releasing lock...
[2025-01-10 06:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 06:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 06:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 03:50:05
[end_date_ymd] => 2025-01-10 06:50:05
[RateCDR] => 1
)
[2025-01-10 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-01-10 03:50:05' and `end` < '2025-01-10 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-01-10 06:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14215193', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 06:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 06:50:08] Production.INFO: ProcessCDR(1,14215193,1,1,2)
[2025-01-10 06:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14215193,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14215193,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:50:08] Production.INFO: ==20575== Releasing lock...
[2025-01-10 06:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 06:50:08] Production.INFO: 26 MB #Memory Used#
[2025-01-10 06:50:12] Production.ERROR: CronJobId end10
[2025-01-10 06:50:12] Production.INFO: ==20569== Releasing lock...
[2025-01-10 06:50:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 06:50:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 06:50:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 06:50:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 06:50:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 06:50:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 06:50:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 06:50:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 06:50:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 06:50:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 06:50:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 06:50:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 06:50:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 06:50:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 06:50:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 06:50:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 06:50:14] Production.INFO: call_cost start
[2025-01-10 06:50:14] Production.INFO: call_cost end
[2025-01-10 06:50:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 06:50:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 06:50:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 06:50:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 06:50:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 06:50:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 06:50:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 06:50:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 06:50:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 06:50:15] Production.INFO: ==20564== Releasing lock...
[2025-01-10 06:50:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 06:50:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 06:50:18] Production.INFO: count ==53
[2025-01-10 06:50:18] Production.ERROR: pbx CDR StartTime 2025-01-10 03:50:05 - End Time 2025-01-10 06:50:05
[2025-01-10 06:50:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 06:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215195', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215195', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215195', 'tblTempVendorCDR_20' ) start
[2025-01-10 06:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215195', 'tblTempVendorCDR_20' ) end
[2025-01-10 06:50:18] Production.INFO: ProcessCDR(1,14215195,1,1,2)
[2025-01-10 06:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215195,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:50:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215195,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:50:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215195,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:50:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215195,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215195', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215195', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:50:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:50:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:50:21] Production.INFO: ==20573== Releasing lock...
[2025-01-10 06:50:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 06:50:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 11:51:01] Production.INFO: ==20631== Lock acquired, processing the job...
[2025-01-10 11:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 11:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 11:51:01] Production.INFO: neon service started
[2025-01-10 11:51:01] Production.INFO: neon service started
[2025-01-10 11:51:01] Production.INFO: ==20631== Releasing lock...
[2025-01-10 11:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 11:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 06:51:02] Production.INFO: ==20633== Lock acquired, processing the job...
[2025-01-10 06:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 11:51:02] Production.INFO: ==20635== Lock acquired, processing the job...
[2025-01-10 11:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 11:51:02] Production.INFO: ==20635== Releasing lock...
[2025-01-10 11:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 11:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 06:51:02] Production.INFO: ==20633== Releasing lock...
[2025-01-10 06:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 06:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 06:51:03] Production.INFO: ==20640== Lock acquired, processing the job...
[2025-01-10 06:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 06:51:03] Production.INFO: ==20642== Lock acquired, processing the job...
[2025-01-10 06:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 06:51:03] Production.INFO: ==20644== Lock acquired, processing the job...
[2025-01-10 06:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 06:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 06:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 06:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 06:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 06:51:03] Production.INFO: ==20640== Releasing lock...
[2025-01-10 06:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 06:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 06:51:03] Production.INFO: Account Balance Start.
[2025-01-10 06:51:03] Production.INFO: CreateAllLog Start
[2025-01-10 06:51:03] Production.INFO: 117
[2025-01-10 06:51:03] Production.INFO: Date 2025-01-08
[2025-01-10 06:51:03] Production.INFO: ==20638== Lock acquired, processing the job...
[2025-01-10 06:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 06:51:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:51:03] Production.INFO: Date 2025-01-09
[2025-01-10 06:51:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:51:03] Production.INFO: ==20646== Lock acquired, processing the job...
[2025-01-10 06:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 06:51:03] Production.INFO: Date 2025-01-10
[2025-01-10 06:51:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 06:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:51:03] Production.INFO: Total Charge 0
[2025-01-10 06:51:04] Production.INFO: ==20648== Lock acquired, processing the job...
[2025-01-10 06:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 06:51:04] Production.INFO: CreateAllLog End
[2025-01-10 06:51:04] Production.ERROR: done
[2025-01-10 06:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 06:51:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:51:04] Production.INFO: count ==21
[2025-01-10 06:51:04] Production.INFO: Account Balance End.
[2025-01-10 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-01-10 06:51:04] Production.INFO: count ==21
[2025-01-10 06:51:04] Production.ERROR: done
[2025-01-10 06:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215199') start
[2025-01-10 06:51:04] Production.ERROR: CronJobId end 12
[2025-01-10 06:51:04] Production.INFO: ==20644== Releasing lock...
[2025-01-10 06:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 06:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 06:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215199') end
[2025-01-10 06:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 06:51:04] Production.INFO: 1
[2025-01-10 06:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 06:51:04] Production.INFO: ==20648== Releasing lock...
[2025-01-10 06:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 06:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 06:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 03:51:05
[end_date_ymd] => 2025-01-10 06:51:05
[RateCDR] => 1
)
[2025-01-10 06:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 03:51:05' and `end` < '2025-01-10 06:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 06:51:10] Production.ERROR: CronJobId end10
[2025-01-10 06:51:10] Production.INFO: ==20642== Releasing lock...
[2025-01-10 06:51:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 06:51:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 06:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 06:51:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 06:51:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 06:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 06:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 06:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 06:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 06:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 06:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 06:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 06:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 06:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 06:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 06:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 06:51:13] Production.INFO: call_cost start
[2025-01-10 06:51:13] Production.INFO: call_cost end
[2025-01-10 06:51:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 06:51:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 06:51:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 06:51:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 06:51:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 06:51:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 06:51:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 06:51:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 06:51:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 06:51:14] Production.INFO: ==20638== Releasing lock...
[2025-01-10 06:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 06:51:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 06:51:18] Production.INFO: count ==53
[2025-01-10 06:51:18] Production.ERROR: pbx CDR StartTime 2025-01-10 03:51:05 - End Time 2025-01-10 06:51:05
[2025-01-10 06:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 06:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215200', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215200', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215200', 'tblTempVendorCDR_20' ) start
[2025-01-10 06:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215200', 'tblTempVendorCDR_20' ) end
[2025-01-10 06:51:18] Production.INFO: ProcessCDR(1,14215200,1,1,2)
[2025-01-10 06:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215200,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215200,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215200,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:51:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215200,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215200', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215200', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:51:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:51:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:51:21] Production.INFO: ==20646== Releasing lock...
[2025-01-10 06:51:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 06:51:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 11:52:02] Production.INFO: ==20705== Lock acquired, processing the job...
[2025-01-10 11:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 11:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 11:52:02] Production.INFO: neon service started
[2025-01-10 11:52:02] Production.INFO: neon service started
[2025-01-10 11:52:02] Production.INFO: ==20705== Releasing lock...
[2025-01-10 11:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 11:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 06:52:02] Production.INFO: ==20707== Lock acquired, processing the job...
[2025-01-10 06:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 11:52:02] Production.INFO: ==20709== Lock acquired, processing the job...
[2025-01-10 11:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 06:52:02] Production.INFO: ==20707== Releasing lock...
[2025-01-10 06:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 06:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 11:52:03] Production.INFO: ==20709== Releasing lock...
[2025-01-10 11:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 11:52:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 06:52:03] Production.INFO: ==20720== Lock acquired, processing the job...
[2025-01-10 06:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 06:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:52:03] Production.INFO: ==20722== Lock acquired, processing the job...
[2025-01-10 06:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 06:52:03] Production.INFO: ==20714== Lock acquired, processing the job...
[2025-01-10 06:52:03] Production.INFO: ==20712== Lock acquired, processing the job...
[2025-01-10 06:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 06:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 06:52:03] Production.INFO: ==20716== Lock acquired, processing the job...
[2025-01-10 06:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 06:52:03] Production.INFO: ==20718== Lock acquired, processing the job...
[2025-01-10 06:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 06:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:52:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 06:52:04] Production.INFO: count ==21
[2025-01-10 06:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:52:04] Production.INFO: count ==21
[2025-01-10 06:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 06:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 06:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 06:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 06:52:04] Production.INFO: Account Balance Start.
[2025-01-10 06:52:04] Production.INFO: CreateAllLog Start
[2025-01-10 06:52:04] Production.INFO: 117
[2025-01-10 06:52:04] Production.ERROR: done
[2025-01-10 06:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 06:52:04] Production.INFO: Date 2025-01-08
[2025-01-10 06:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215201') start
[2025-01-10 06:52:04] Production.INFO: Reseller ==> 0
[2025-01-10 06:52:04] Production.INFO: ==20714== Releasing lock...
[2025-01-10 06:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 06:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 06:52:04] Production.INFO: Date 2025-01-09
[2025-01-10 06:52:04] Production.INFO: Reseller ==> 0
[2025-01-10 06:52:04] Production.INFO: Date 2025-01-10
[2025-01-10 06:52:04] Production.INFO: Reseller ==> 0
[2025-01-10 06:52:04] Production.ERROR: done
[2025-01-10 06:52:04] Production.INFO: Total Charge 0
[2025-01-10 06:52:04] Production.INFO: CreateAllLog End
[2025-01-10 06:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215201') end
[2025-01-10 06:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 06:52:04] Production.INFO: 1
[2025-01-10 06:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 06:52:04] Production.INFO: ==20722== Releasing lock...
[2025-01-10 06:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 06:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 06:52:04] Production.INFO: Account Balance End.
[2025-01-10 06:52:04] Production.ERROR: CronJobId end 12
[2025-01-10 06:52:04] Production.INFO: ==20718== Releasing lock...
[2025-01-10 06:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 06:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 06:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 03:52:05
[end_date_ymd] => 2025-01-10 06:52:05
[RateCDR] => 1
)
[2025-01-10 06:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 03:52:05' and `end` < '2025-01-10 06:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 06:52:11] Production.ERROR: CronJobId end10
[2025-01-10 06:52:11] Production.INFO: ==20716== Releasing lock...
[2025-01-10 06:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 06:52:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 06:52:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 06:52:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 06:52:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 06:52:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 06:52:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 06:52:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 06:52:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 06:52:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 06:52:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 06:52:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 06:52:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 06:52:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 06:52:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 06:52:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 06:52:13] Production.INFO: call_cost start
[2025-01-10 06:52:13] Production.INFO: call_cost end
[2025-01-10 06:52:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 06:52:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 06:52:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 06:52:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 06:52:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 06:52:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 06:52:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 06:52:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 06:52:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 06:52:14] Production.INFO: ==20712== Releasing lock...
[2025-01-10 06:52:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 06:52:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 06:52:19] Production.INFO: count ==53
[2025-01-10 06:52:19] Production.ERROR: pbx CDR StartTime 2025-01-10 03:52:05 - End Time 2025-01-10 06:52:05
[2025-01-10 06:52:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 06:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215205', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215205', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215205', 'tblTempVendorCDR_20' ) start
[2025-01-10 06:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215205', 'tblTempVendorCDR_20' ) end
[2025-01-10 06:52:19] Production.INFO: ProcessCDR(1,14215205,1,1,2)
[2025-01-10 06:52:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215205,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:52:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215205,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:52:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215205,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215205,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215205', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215205', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:52:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:52:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:52:22] Production.INFO: ==20720== Releasing lock...
[2025-01-10 06:52:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 06:52:22] Production.INFO: 28 MB #Memory Used#
[2025-01-10 11:53:01] Production.INFO: ==20786== Lock acquired, processing the job...
[2025-01-10 11:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 11:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 11:53:01] Production.INFO: neon service started
[2025-01-10 11:53:01] Production.INFO: neon service started
[2025-01-10 11:53:01] Production.INFO: ==20786== Releasing lock...
[2025-01-10 11:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 11:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 06:53:02] Production.INFO: ==20788== Lock acquired, processing the job...
[2025-01-10 06:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:53:02] Production.INFO: ==20788== Releasing lock...
[2025-01-10 06:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 06:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 11:53:02] Production.INFO: ==20790== Lock acquired, processing the job...
[2025-01-10 11:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 11:53:02] Production.INFO: ==20790== Releasing lock...
[2025-01-10 11:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 11:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 06:53:03] Production.INFO: ==20798== Lock acquired, processing the job...
[2025-01-10 06:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 06:53:03] Production.INFO: Account Balance Start.
[2025-01-10 06:53:03] Production.INFO: CreateAllLog Start
[2025-01-10 06:53:03] Production.INFO: 117
[2025-01-10 06:53:03] Production.INFO: Date 2025-01-08
[2025-01-10 06:53:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:53:03] Production.INFO: Date 2025-01-09
[2025-01-10 06:53:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:53:03] Production.INFO: ==20792== Lock acquired, processing the job...
[2025-01-10 06:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 06:53:03] Production.INFO: ==20794== Lock acquired, processing the job...
[2025-01-10 06:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 06:53:03] Production.INFO: Date 2025-01-10
[2025-01-10 06:53:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 06:53:03] Production.INFO: Total Charge 0
[2025-01-10 06:53:03] Production.INFO: ==20796== Lock acquired, processing the job...
[2025-01-10 06:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 06:53:03] Production.INFO: CreateAllLog End
[2025-01-10 06:53:03] Production.INFO: ==20802== Lock acquired, processing the job...
[2025-01-10 06:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 06:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 06:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 06:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 06:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 06:53:03] Production.INFO: Account Balance End.
[2025-01-10 06:53:03] Production.INFO: ==20800== Lock acquired, processing the job...
[2025-01-10 06:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 06:53:03] Production.ERROR: CronJobId end 12
[2025-01-10 06:53:03] Production.INFO: ==20798== Releasing lock...
[2025-01-10 06:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 06:53:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 06:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:53:03] Production.INFO: count ==21
[2025-01-10 06:53:03] Production.INFO: ==20794== Releasing lock...
[2025-01-10 06:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 06:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 06:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:53:03] Production.INFO: count ==21
[2025-01-10 06:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215209') start
[2025-01-10 06:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215209') end
[2025-01-10 06:53:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 06:53:03] Production.INFO: 1
[2025-01-10 06:53:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 06:53:03] Production.INFO: ==20802== Releasing lock...
[2025-01-10 06:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 06:53:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 06:53:04] Production.ERROR: done
[2025-01-10 06:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 06:53:04] Production.ERROR: done
[2025-01-10 06:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 03:53:05
[end_date_ymd] => 2025-01-10 06:53:05
[RateCDR] => 1
)
[2025-01-10 06:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 03:53:05' and `end` < '2025-01-10 06:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 06:53:10] Production.ERROR: CronJobId end10
[2025-01-10 06:53:10] Production.INFO: ==20796== Releasing lock...
[2025-01-10 06:53:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 06:53:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 06:53:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 06:53:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 06:53:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 06:53:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 06:53:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 06:53:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 06:53:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 06:53:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 06:53:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 06:53:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 06:53:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 06:53:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 06:53:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 06:53:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 06:53:13] Production.INFO: call_cost start
[2025-01-10 06:53:13] Production.INFO: call_cost end
[2025-01-10 06:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 06:53:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 06:53:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 06:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 06:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 06:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 06:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 06:53:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 06:53:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 06:53:14] Production.INFO: ==20792== Releasing lock...
[2025-01-10 06:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 06:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 06:53:19] Production.INFO: count ==53
[2025-01-10 06:53:19] Production.ERROR: pbx CDR StartTime 2025-01-10 03:53:05 - End Time 2025-01-10 06:53:05
[2025-01-10 06:53:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 06:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215210', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215210', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215210', 'tblTempVendorCDR_20' ) start
[2025-01-10 06:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215210', 'tblTempVendorCDR_20' ) end
[2025-01-10 06:53:19] Production.INFO: ProcessCDR(1,14215210,1,1,2)
[2025-01-10 06:53:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215210,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:53:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215210,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:53:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215210,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215210,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215210', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215210', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:53:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:53:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:53:22] Production.INFO: ==20800== Releasing lock...
[2025-01-10 06:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 06:53:22] Production.INFO: 28 MB #Memory Used#
[2025-01-10 11:54:02] Production.INFO: ==20866== Lock acquired, processing the job...
[2025-01-10 11:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 11:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 11:54:02] Production.INFO: neon service started
[2025-01-10 11:54:02] Production.INFO: neon service started
[2025-01-10 11:54:02] Production.INFO: ==20866== Releasing lock...
[2025-01-10 11:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 11:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:54:02] Production.INFO: ==20870== Lock acquired, processing the job...
[2025-01-10 11:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 11:54:02] Production.INFO: ==20870== Releasing lock...
[2025-01-10 11:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 11:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 06:54:02] Production.INFO: ==20868== Lock acquired, processing the job...
[2025-01-10 06:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:54:02] Production.INFO: ==20868== Releasing lock...
[2025-01-10 06:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 06:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 06:54:03] Production.INFO: ==20872== Lock acquired, processing the job...
[2025-01-10 06:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 06:54:03] Production.INFO: ==20874== Lock acquired, processing the job...
[2025-01-10 06:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 06:54:03] Production.INFO: ==20878== Lock acquired, processing the job...
[2025-01-10 06:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 06:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 06:54:03] Production.INFO: ==20876== Lock acquired, processing the job...
[2025-01-10 06:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 06:54:03] Production.INFO: Account Balance Start.
[2025-01-10 06:54:03] Production.INFO: CreateAllLog Start
[2025-01-10 06:54:03] Production.INFO: 117
[2025-01-10 06:54:03] Production.INFO: Date 2025-01-08
[2025-01-10 06:54:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:54:03] Production.INFO: ==20883== Lock acquired, processing the job...
[2025-01-10 06:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 06:54:03] Production.INFO: ==20881== Lock acquired, processing the job...
[2025-01-10 06:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 06:54:03] Production.INFO: ==20874== Releasing lock...
[2025-01-10 06:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 06:54:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 06:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 06:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 06:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 06:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 06:54:04] Production.INFO: Date 2025-01-09
[2025-01-10 06:54:04] Production.INFO: Reseller ==> 0
[2025-01-10 06:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:54:04] Production.INFO: Date 2025-01-10
[2025-01-10 06:54:04] Production.INFO: Reseller ==> 0
[2025-01-10 06:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:54:04] Production.INFO: count ==21
[2025-01-10 06:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:54:04] Production.INFO: count ==21
[2025-01-10 06:54:04] Production.INFO: Total Charge 0
[2025-01-10 06:54:04] Production.INFO: CreateAllLog End
[2025-01-10 06:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215214') start
[2025-01-10 06:54:04] Production.ERROR: done
[2025-01-10 06:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 06:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215214') end
[2025-01-10 06:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 06:54:04] Production.INFO: 1
[2025-01-10 06:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 06:54:04] Production.INFO: ==20883== Releasing lock...
[2025-01-10 06:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 06:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 06:54:04] Production.ERROR: done
[2025-01-10 06:54:04] Production.INFO: Account Balance End.
[2025-01-10 06:54:04] Production.ERROR: CronJobId end 12
[2025-01-10 06:54:04] Production.INFO: ==20878== Releasing lock...
[2025-01-10 06:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 06:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 06:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 03:54:05
[end_date_ymd] => 2025-01-10 06:54:05
[RateCDR] => 1
)
[2025-01-10 06:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 03:54:05' and `end` < '2025-01-10 06:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 06:54:11] Production.ERROR: CronJobId end10
[2025-01-10 06:54:11] Production.INFO: ==20876== Releasing lock...
[2025-01-10 06:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 06:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 06:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 06:54:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 06:54:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 06:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 06:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 06:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 06:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 06:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 06:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 06:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 06:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 06:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 06:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 06:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 06:54:13] Production.INFO: call_cost start
[2025-01-10 06:54:13] Production.INFO: call_cost end
[2025-01-10 06:54:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 06:54:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 06:54:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 06:54:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 06:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 06:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 06:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 06:54:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 06:54:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 06:54:14] Production.INFO: ==20872== Releasing lock...
[2025-01-10 06:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 06:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 06:54:18] Production.INFO: count ==53
[2025-01-10 06:54:18] Production.ERROR: pbx CDR StartTime 2025-01-10 03:54:05 - End Time 2025-01-10 06:54:05
[2025-01-10 06:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 06:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215215', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215215', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215215', 'tblTempVendorCDR_20' ) start
[2025-01-10 06:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215215', 'tblTempVendorCDR_20' ) end
[2025-01-10 06:54:18] Production.INFO: ProcessCDR(1,14215215,1,1,2)
[2025-01-10 06:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215215,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215215,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215215,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:54:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215215,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215215', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215215', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:54:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:54:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:54:21] Production.INFO: ==20881== Releasing lock...
[2025-01-10 06:54:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 06:54:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 11:55:01] Production.INFO: ==20944== Lock acquired, processing the job...
[2025-01-10 11:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 11:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 11:55:01] Production.INFO: neon service started
[2025-01-10 11:55:01] Production.INFO: neon service started
[2025-01-10 11:55:01] Production.INFO: ==20944== Releasing lock...
[2025-01-10 11:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 11:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 06:55:01] Production.INFO: ==20946== Lock acquired, processing the job...
[2025-01-10 06:55:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:55:02] Production.INFO: ==20946== Releasing lock...
[2025-01-10 06:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 06:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 11:55:02] Production.INFO: ==20948== Lock acquired, processing the job...
[2025-01-10 11:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 11:55:02] Production.INFO: ==20948== Releasing lock...
[2025-01-10 11:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 11:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 06:55:02] Production.INFO: ==20950== Lock acquired, processing the job...
[2025-01-10 06:55:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 06:55:02] Production.INFO: ==20958== Lock acquired, processing the job...
[2025-01-10 06:55:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 06:55:03] Production.INFO: ==20960== Lock acquired, processing the job...
[2025-01-10 06:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 06:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 06:55:03] Production.INFO: ==20952== Lock acquired, processing the job...
[2025-01-10 06:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 06:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:55:03] Production.INFO: ==20954== Lock acquired, processing the job...
[2025-01-10 06:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 06:55:03] Production.INFO: count ==21
[2025-01-10 06:55:03] Production.INFO: ==20956== Lock acquired, processing the job...
[2025-01-10 06:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 06:55:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:55:03] Production.INFO: count ==21
[2025-01-10 06:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215217') start
[2025-01-10 06:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 06:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 06:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 06:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 06:55:03] Production.ERROR: done
[2025-01-10 06:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215217') end
[2025-01-10 06:55:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 06:55:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 06:55:03] Production.INFO: 1
[2025-01-10 06:55:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 06:55:03] Production.INFO: Account Balance Start.
[2025-01-10 06:55:03] Production.INFO: CreateAllLog Start
[2025-01-10 06:55:03] Production.INFO: 117
[2025-01-10 06:55:03] Production.INFO: Date 2025-01-08
[2025-01-10 06:55:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:55:03] Production.INFO: Date 2025-01-09
[2025-01-10 06:55:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:55:03] Production.INFO: ==20960== Releasing lock...
[2025-01-10 06:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 06:55:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 06:55:03] Production.INFO: ==20952== Releasing lock...
[2025-01-10 06:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 06:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 06:55:03] Production.ERROR: done
[2025-01-10 06:55:03] Production.INFO: Date 2025-01-10
[2025-01-10 06:55:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:55:03] Production.INFO: Total Charge 0
[2025-01-10 06:55:03] Production.INFO: CreateAllLog End
[2025-01-10 06:55:03] Production.INFO: Account Balance End.
[2025-01-10 06:55:03] Production.ERROR: CronJobId end 12
[2025-01-10 06:55:03] Production.INFO: ==20956== Releasing lock...
[2025-01-10 06:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 06:55:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 06:55:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 03:55:04
[end_date_ymd] => 2025-01-10 06:55:04
[RateCDR] => 1
)
[2025-01-10 06:55:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 03:55:04' and `end` < '2025-01-10 06:55:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 06:55:09] Production.ERROR: CronJobId end10
[2025-01-10 06:55:09] Production.INFO: ==20954== Releasing lock...
[2025-01-10 06:55:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 06:55:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 06:55:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 06:55:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 06:55:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 06:55:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 06:55:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 06:55:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 06:55:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 06:55:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 06:55:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 06:55:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 06:55:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 06:55:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 06:55:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 06:55:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 06:55:12] Production.INFO: call_cost start
[2025-01-10 06:55:12] Production.INFO: call_cost end
[2025-01-10 06:55:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 06:55:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 06:55:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 06:55:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 06:55:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 06:55:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 06:55:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 06:55:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 06:55:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 06:55:13] Production.INFO: ==20950== Releasing lock...
[2025-01-10 06:55:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 06:55:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 06:55:17] Production.INFO: count ==53
[2025-01-10 06:55:17] Production.ERROR: pbx CDR StartTime 2025-01-10 03:55:04 - End Time 2025-01-10 06:55:04
[2025-01-10 06:55:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 06:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215220', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215220', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215220', 'tblTempVendorCDR_20' ) start
[2025-01-10 06:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215220', 'tblTempVendorCDR_20' ) end
[2025-01-10 06:55:17] Production.INFO: ProcessCDR(1,14215220,1,1,2)
[2025-01-10 06:55:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215220,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:55:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215220,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:55:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215220,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:55:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215220,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:55:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215220', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:55:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215220', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:55:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:55:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:55:20] Production.INFO: ==20958== Releasing lock...
[2025-01-10 06:55:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 06:55:20] Production.INFO: 28 MB #Memory Used#
[2025-01-10 11:56:02] Production.INFO: ==21025== Lock acquired, processing the job...
[2025-01-10 11:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 11:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 11:56:02] Production.INFO: neon service started
[2025-01-10 11:56:02] Production.INFO: neon service started
[2025-01-10 11:56:02] Production.INFO: ==21025== Releasing lock...
[2025-01-10 11:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 11:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 06:56:02] Production.INFO: ==21030== Lock acquired, processing the job...
[2025-01-10 06:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:56:02] Production.INFO: ==21030== Releasing lock...
[2025-01-10 06:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 06:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 11:56:02] Production.INFO: ==21032== Lock acquired, processing the job...
[2025-01-10 11:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 11:56:02] Production.INFO: ==21032== Releasing lock...
[2025-01-10 11:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 11:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 06:56:03] Production.INFO: ==21042== Lock acquired, processing the job...
[2025-01-10 06:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 06:56:03] Production.INFO: ==21044== Lock acquired, processing the job...
[2025-01-10 06:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 06:56:03] Production.INFO: ==21034== Lock acquired, processing the job...
[2025-01-10 06:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 06:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:56:03] Production.INFO: ==21036== Lock acquired, processing the job...
[2025-01-10 06:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 06:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:56:03] Production.INFO: count ==21
[2025-01-10 06:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 06:56:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:56:04] Production.INFO: ==21038== Lock acquired, processing the job...
[2025-01-10 06:56:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 06:56:04] Production.INFO: count ==21
[2025-01-10 06:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215221') start
[2025-01-10 06:56:04] Production.INFO: ==21040== Lock acquired, processing the job...
[2025-01-10 06:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 06:56:04] Production.INFO: Account Balance Start.
[2025-01-10 06:56:04] Production.INFO: CreateAllLog Start
[2025-01-10 06:56:04] Production.INFO: 117
[2025-01-10 06:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 06:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 06:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 06:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215221') end
[2025-01-10 06:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 06:56:04] Production.INFO: 1
[2025-01-10 06:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 06:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 06:56:04] Production.INFO: Date 2025-01-08
[2025-01-10 06:56:04] Production.INFO: Reseller ==> 0
[2025-01-10 06:56:04] Production.INFO: Date 2025-01-09
[2025-01-10 06:56:04] Production.INFO: Reseller ==> 0
[2025-01-10 06:56:04] Production.INFO: ==21044== Releasing lock...
[2025-01-10 06:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 06:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 06:56:04] Production.ERROR: done
[2025-01-10 06:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 06:56:04] Production.INFO: Date 2025-01-10
[2025-01-10 06:56:04] Production.INFO: Reseller ==> 0
[2025-01-10 06:56:04] Production.INFO: ==21036== Releasing lock...
[2025-01-10 06:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 06:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 06:56:04] Production.INFO: Total Charge 0
[2025-01-10 06:56:04] Production.INFO: CreateAllLog End
[2025-01-10 06:56:04] Production.ERROR: done
[2025-01-10 06:56:04] Production.INFO: Account Balance End.
[2025-01-10 06:56:04] Production.ERROR: CronJobId end 12
[2025-01-10 06:56:04] Production.INFO: ==21040== Releasing lock...
[2025-01-10 06:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 06:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 06:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 03:56:05
[end_date_ymd] => 2025-01-10 06:56:05
[RateCDR] => 1
)
[2025-01-10 06:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 03:56:05' and `end` < '2025-01-10 06:56:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 06:56:11] Production.ERROR: CronJobId end10
[2025-01-10 06:56:11] Production.INFO: ==21038== Releasing lock...
[2025-01-10 06:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 06:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 06:56:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 06:56:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 06:56:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 06:56:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 06:56:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 06:56:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 06:56:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 06:56:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 06:56:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 06:56:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 06:56:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 06:56:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 06:56:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 06:56:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 06:56:14] Production.INFO: call_cost start
[2025-01-10 06:56:14] Production.INFO: call_cost end
[2025-01-10 06:56:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 06:56:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 06:56:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 06:56:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 06:56:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 06:56:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 06:56:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 06:56:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 06:56:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 06:56:15] Production.INFO: ==21034== Releasing lock...
[2025-01-10 06:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 06:56:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 06:56:20] Production.INFO: count ==55
[2025-01-10 06:56:20] Production.ERROR: pbx CDR StartTime 2025-01-10 03:56:05 - End Time 2025-01-10 06:56:05
[2025-01-10 06:56:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 06:56:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215225', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:56:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215225', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:56:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215225', 'tblTempVendorCDR_20' ) start
[2025-01-10 06:56:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215225', 'tblTempVendorCDR_20' ) end
[2025-01-10 06:56:20] Production.INFO: ProcessCDR(1,14215225,1,1,2)
[2025-01-10 06:56:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215225,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:56:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215225,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:56:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215225,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:56:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215225,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:56:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215225', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:56:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215225', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:56:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:56:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:56:23] Production.INFO: ==21042== Releasing lock...
[2025-01-10 06:56:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 06:56:23] Production.INFO: 28 MB #Memory Used#
[2025-01-10 11:57:01] Production.INFO: ==21110== Lock acquired, processing the job...
[2025-01-10 11:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 11:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 11:57:01] Production.INFO: neon service started
[2025-01-10 11:57:01] Production.INFO: neon service started
[2025-01-10 11:57:01] Production.INFO: ==21110== Releasing lock...
[2025-01-10 11:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 11:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:57:01] Production.INFO: ==21114== Lock acquired, processing the job...
[2025-01-10 11:57:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 11:57:01] Production.INFO: ==21114== Releasing lock...
[2025-01-10 11:57:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 11:57:01] Production.INFO: 25 MB #Memory Used#
[2025-01-10 06:57:01] Production.INFO: ==21112== Lock acquired, processing the job...
[2025-01-10 06:57:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:57:02] Production.INFO: ==21112== Releasing lock...
[2025-01-10 06:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 06:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 06:57:02] Production.INFO: ==21116== Lock acquired, processing the job...
[2025-01-10 06:57:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 06:57:02] Production.INFO: ==21120== Lock acquired, processing the job...
[2025-01-10 06:57:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 06:57:03] Production.INFO: ==21122== Lock acquired, processing the job...
[2025-01-10 06:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 06:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 06:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 06:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 06:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 06:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 06:57:03] Production.INFO: Account Balance Start.
[2025-01-10 06:57:03] Production.INFO: CreateAllLog Start
[2025-01-10 06:57:03] Production.INFO: 117
[2025-01-10 06:57:03] Production.INFO: Date 2025-01-08
[2025-01-10 06:57:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:57:03] Production.INFO: Date 2025-01-09
[2025-01-10 06:57:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:57:03] Production.INFO: Date 2025-01-10
[2025-01-10 06:57:03] Production.INFO: Reseller ==> 0
[2025-01-10 06:57:03] Production.INFO: ==21118== Lock acquired, processing the job...
[2025-01-10 06:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 06:57:03] Production.INFO: Total Charge 0
[2025-01-10 06:57:03] Production.INFO: CreateAllLog End
[2025-01-10 06:57:03] Production.INFO: ==21124== Lock acquired, processing the job...
[2025-01-10 06:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 06:57:03] Production.INFO: ==21126== Lock acquired, processing the job...
[2025-01-10 06:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 06:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:57:03] Production.INFO: Account Balance End.
[2025-01-10 06:57:03] Production.ERROR: CronJobId end 12
[2025-01-10 06:57:03] Production.INFO: ==21122== Releasing lock...
[2025-01-10 06:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 06:57:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 06:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:57:03] Production.INFO: count ==21
[2025-01-10 06:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:57:03] Production.INFO: count ==21
[2025-01-10 06:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215229') start
[2025-01-10 06:57:03] Production.INFO: ==21118== Releasing lock...
[2025-01-10 06:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 06:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 06:57:03] Production.ERROR: done
[2025-01-10 06:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 06:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215229') end
[2025-01-10 06:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 06:57:03] Production.INFO: 1
[2025-01-10 06:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 06:57:04] Production.ERROR: done
[2025-01-10 06:57:04] Production.INFO: ==21126== Releasing lock...
[2025-01-10 06:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 06:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 06:57:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 03:57:04
[end_date_ymd] => 2025-01-10 06:57:04
[RateCDR] => 1
)
[2025-01-10 06:57:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 03:57:04' and `end` < '2025-01-10 06:57:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 06:57:11] Production.ERROR: CronJobId end10
[2025-01-10 06:57:11] Production.INFO: ==21120== Releasing lock...
[2025-01-10 06:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 06:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 06:57:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 06:57:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 06:57:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 06:57:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 06:57:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 06:57:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 06:57:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 06:57:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 06:57:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 06:57:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 06:57:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 06:57:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 06:57:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 06:57:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 06:57:13] Production.INFO: call_cost start
[2025-01-10 06:57:13] Production.INFO: call_cost end
[2025-01-10 06:57:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 06:57:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 06:57:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 06:57:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 06:57:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 06:57:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 06:57:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 06:57:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 06:57:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 06:57:13] Production.INFO: ==21116== Releasing lock...
[2025-01-10 06:57:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 06:57:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 06:57:17] Production.INFO: count ==55
[2025-01-10 06:57:17] Production.ERROR: pbx CDR StartTime 2025-01-10 03:57:04 - End Time 2025-01-10 06:57:04
[2025-01-10 06:57:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 06:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215230', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215230', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215230', 'tblTempVendorCDR_20' ) start
[2025-01-10 06:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215230', 'tblTempVendorCDR_20' ) end
[2025-01-10 06:57:17] Production.INFO: ProcessCDR(1,14215230,1,1,2)
[2025-01-10 06:57:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215230,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:57:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215230,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:57:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215230,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:57:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215230,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:57:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215230', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:57:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215230', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:57:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:57:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:57:20] Production.INFO: ==21124== Releasing lock...
[2025-01-10 06:57:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 06:57:20] Production.INFO: 28 MB #Memory Used#
[2025-01-10 11:58:01] Production.INFO: ==21200== Lock acquired, processing the job...
[2025-01-10 11:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 11:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 11:58:01] Production.INFO: neon service started
[2025-01-10 11:58:01] Production.INFO: neon service started
[2025-01-10 11:58:01] Production.INFO: ==21200== Releasing lock...
[2025-01-10 11:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 11:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 06:58:02] Production.INFO: ==21202== Lock acquired, processing the job...
[2025-01-10 06:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:58:02] Production.INFO: ==21202== Releasing lock...
[2025-01-10 06:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 06:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 11:58:02] Production.INFO: ==21204== Lock acquired, processing the job...
[2025-01-10 11:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 11:58:02] Production.INFO: ==21204== Releasing lock...
[2025-01-10 11:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 11:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 06:58:03] Production.INFO: ==21206== Lock acquired, processing the job...
[2025-01-10 06:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 06:58:03] Production.INFO: ==21210== Lock acquired, processing the job...
[2025-01-10 06:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 06:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 06:58:03] Production.INFO: ==21214== Lock acquired, processing the job...
[2025-01-10 06:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 06:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 06:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 06:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 06:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 06:58:03] Production.INFO: ==21208== Lock acquired, processing the job...
[2025-01-10 06:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 06:58:03] Production.INFO: ==21212== Lock acquired, processing the job...
[2025-01-10 06:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 06:58:03] Production.ERROR: done
[2025-01-10 06:58:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 06:58:03] Production.INFO: ==21216== Lock acquired, processing the job...
[2025-01-10 06:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 06:58:03] Production.ERROR: done
[2025-01-10 06:58:03] Production.INFO: Account Balance Start.
[2025-01-10 06:58:03] Production.INFO: CreateAllLog Start
[2025-01-10 06:58:03] Production.INFO: 117
[2025-01-10 06:58:03] Production.INFO: Date 2025-01-08
[2025-01-10 06:58:04] Production.INFO: Reseller ==> 0
[2025-01-10 06:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:58:04] Production.INFO: count ==21
[2025-01-10 06:58:04] Production.INFO: Date 2025-01-09
[2025-01-10 06:58:04] Production.INFO: Reseller ==> 0
[2025-01-10 06:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:58:04] Production.INFO: Date 2025-01-10
[2025-01-10 06:58:04] Production.INFO: Reseller ==> 0
[2025-01-10 06:58:04] Production.INFO: count ==21
[2025-01-10 06:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215233') start
[2025-01-10 06:58:04] Production.INFO: Total Charge 0
[2025-01-10 06:58:04] Production.INFO: CreateAllLog End
[2025-01-10 06:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215233') end
[2025-01-10 06:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 06:58:04] Production.INFO: 1
[2025-01-10 06:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 06:58:04] Production.INFO: ==21216== Releasing lock...
[2025-01-10 06:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 06:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 06:58:04] Production.INFO: Account Balance End.
[2025-01-10 06:58:04] Production.INFO: ==21208== Releasing lock...
[2025-01-10 06:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 06:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 06:58:04] Production.ERROR: CronJobId end 12
[2025-01-10 06:58:04] Production.INFO: ==21212== Releasing lock...
[2025-01-10 06:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 06:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 06:58:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 03:58:04
[end_date_ymd] => 2025-01-10 06:58:04
[RateCDR] => 1
)
[2025-01-10 06:58:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 03:58:04' and `end` < '2025-01-10 06:58:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 06:58:11] Production.ERROR: CronJobId end10
[2025-01-10 06:58:11] Production.INFO: ==21210== Releasing lock...
[2025-01-10 06:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 06:58:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 06:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 06:58:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 06:58:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 06:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 06:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 06:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 06:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 06:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 06:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 06:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 06:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 06:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 06:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 06:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 06:58:14] Production.INFO: call_cost start
[2025-01-10 06:58:14] Production.INFO: call_cost end
[2025-01-10 06:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 06:58:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 06:58:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 06:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 06:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 06:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 06:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 06:58:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 06:58:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 06:58:14] Production.INFO: ==21206== Releasing lock...
[2025-01-10 06:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 06:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 06:58:17] Production.INFO: count ==55
[2025-01-10 06:58:17] Production.ERROR: pbx CDR StartTime 2025-01-10 03:58:04 - End Time 2025-01-10 06:58:04
[2025-01-10 06:58:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 06:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215235', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215235', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215235', 'tblTempVendorCDR_20' ) start
[2025-01-10 06:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215235', 'tblTempVendorCDR_20' ) end
[2025-01-10 06:58:17] Production.INFO: ProcessCDR(1,14215235,1,1,2)
[2025-01-10 06:58:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215235,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:58:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215235,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:58:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215235,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:58:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215235,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:58:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215235', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:58:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215235', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:58:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:58:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:58:20] Production.INFO: ==21214== Releasing lock...
[2025-01-10 06:58:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 06:58:20] Production.INFO: 28 MB #Memory Used#
[2025-01-10 11:59:02] Production.INFO: ==21290== Lock acquired, processing the job...
[2025-01-10 11:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 11:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 11:59:02] Production.INFO: neon service started
[2025-01-10 11:59:02] Production.INFO: neon service started
[2025-01-10 11:59:02] Production.INFO: ==21290== Releasing lock...
[2025-01-10 11:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 11:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:59:02] Production.INFO: ==21295== Lock acquired, processing the job...
[2025-01-10 11:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 11:59:02] Production.INFO: ==21295== Releasing lock...
[2025-01-10 11:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 11:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 06:59:02] Production.INFO: ==21293== Lock acquired, processing the job...
[2025-01-10 06:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 06:59:03] Production.INFO: ==21293== Releasing lock...
[2025-01-10 06:59:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 06:59:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 06:59:03] Production.INFO: ==21305== Lock acquired, processing the job...
[2025-01-10 06:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 06:59:03] Production.INFO: ==21309== Lock acquired, processing the job...
[2025-01-10 06:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 06:59:03] Production.INFO: ==21299== Lock acquired, processing the job...
[2025-01-10 06:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 06:59:04] Production.INFO: Account Balance Start.
[2025-01-10 06:59:04] Production.INFO: CreateAllLog Start
[2025-01-10 06:59:04] Production.INFO: 117
[2025-01-10 06:59:04] Production.INFO: Date 2025-01-08
[2025-01-10 06:59:04] Production.INFO: Reseller ==> 0
[2025-01-10 06:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:59:04] Production.INFO: count ==21
[2025-01-10 06:59:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 06:59:04] Production.INFO: ==21301== Lock acquired, processing the job...
[2025-01-10 06:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 06:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 06:59:04] Production.INFO: Date 2025-01-09
[2025-01-10 06:59:04] Production.INFO: count ==21
[2025-01-10 06:59:04] Production.INFO: Reseller ==> 0
[2025-01-10 06:59:04] Production.INFO: Date 2025-01-10
[2025-01-10 06:59:04] Production.INFO: Reseller ==> 0
[2025-01-10 06:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215237') start
[2025-01-10 06:59:04] Production.INFO: ==21303== Lock acquired, processing the job...
[2025-01-10 06:59:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 06:59:04] Production.INFO: Total Charge 0
[2025-01-10 06:59:04] Production.INFO: CreateAllLog End
[2025-01-10 06:59:04] Production.INFO: ==21307== Lock acquired, processing the job...
[2025-01-10 06:59:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 06:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 06:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 06:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 06:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 06:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215237') end
[2025-01-10 06:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 06:59:04] Production.INFO: 1
[2025-01-10 06:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 06:59:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 06:59:04] Production.INFO: ==21309== Releasing lock...
[2025-01-10 06:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 06:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 06:59:04] Production.INFO: Account Balance End.
[2025-01-10 06:59:04] Production.ERROR: CronJobId end 12
[2025-01-10 06:59:04] Production.INFO: ==21305== Releasing lock...
[2025-01-10 06:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 06:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 06:59:04] Production.INFO: ==21301== Releasing lock...
[2025-01-10 06:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 06:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 06:59:04] Production.ERROR: done
[2025-01-10 06:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 06:59:04] Production.ERROR: done
[2025-01-10 06:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 03:59:05
[end_date_ymd] => 2025-01-10 06:59:05
[RateCDR] => 1
)
[2025-01-10 06:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 03:59:05' and `end` < '2025-01-10 06:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 06:59:11] Production.ERROR: CronJobId end10
[2025-01-10 06:59:11] Production.INFO: ==21303== Releasing lock...
[2025-01-10 06:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 06:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 06:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 06:59:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 06:59:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 06:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 06:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 06:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 06:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 06:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 06:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 06:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 06:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 06:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 06:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 06:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 06:59:13] Production.INFO: call_cost start
[2025-01-10 06:59:13] Production.INFO: call_cost end
[2025-01-10 06:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 06:59:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 06:59:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 06:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 06:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 06:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 06:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 06:59:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 06:59:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 06:59:14] Production.INFO: ==21299== Releasing lock...
[2025-01-10 06:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 06:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 06:59:19] Production.INFO: count ==55
[2025-01-10 06:59:19] Production.ERROR: pbx CDR StartTime 2025-01-10 03:59:05 - End Time 2025-01-10 06:59:05
[2025-01-10 06:59:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 06:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215240', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215240', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215240', 'tblTempVendorCDR_20' ) start
[2025-01-10 06:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215240', 'tblTempVendorCDR_20' ) end
[2025-01-10 06:59:19] Production.INFO: ProcessCDR(1,14215240,1,1,2)
[2025-01-10 06:59:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215240,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:59:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215240,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 06:59:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215240,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:59:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215240,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 06:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215240', 'tblTempUsageDetail_20' ) start
[2025-01-10 06:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215240', 'tblTempUsageDetail_20' ) end
[2025-01-10 06:59:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 06:59:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 06:59:22] Production.INFO: ==21307== Releasing lock...
[2025-01-10 06:59:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 06:59:22] Production.INFO: 28 MB #Memory Used#
[2025-01-10 12:00:01] Production.INFO: ==21374== Lock acquired, processing the job...
[2025-01-10 12:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 12:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 12:00:01] Production.INFO: neon service started
[2025-01-10 12:00:01] Production.INFO: neon service started
[2025-01-10 12:00:01] Production.INFO: ==21374== Releasing lock...
[2025-01-10 12:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 12:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 07:00:02] Production.INFO: ==21377== Lock acquired, processing the job...
[2025-01-10 07:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:00:02] Production.INFO: ==21379== Lock acquired, processing the job...
[2025-01-10 12:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 12:00:02] Production.INFO: ==21379== Releasing lock...
[2025-01-10 12:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 12:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 07:00:02] Production.INFO: ==21377== Releasing lock...
[2025-01-10 07:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 07:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:00:03] Production.INFO: ==21383== Lock acquired, processing the job...
[2025-01-10 07:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 07:00:03] Production.INFO: ==21389== Lock acquired, processing the job...
[2025-01-10 07:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 07:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 07:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 07:00:03] Production.ERROR: CronJob PID - 21389
[2025-01-10 07:00:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-10 07:00:03] Production.ERROR: CronJob ID - 10
[2025-01-10 07:00:03] Production.ERROR: CronJob Last Run Time 2025-01-10 07:00:00
[2025-01-10 07:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 07:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 07:00:03] Production.INFO: ==21385== Lock acquired, processing the job...
[2025-01-10 07:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 07:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 07:00:03] Production.INFO: ==21383== Releasing lock...
[2025-01-10 07:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 07:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 07:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 07:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 07:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 07:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 07:00:03] Production.INFO: ==21393== Lock acquired, processing the job...
[2025-01-10 07:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 07:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 07:00:03] Production.INFO: ==21387== Lock acquired, processing the job...
[2025-01-10 07:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 07:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:00:03] Production.INFO: ==21395== Lock acquired, processing the job...
[2025-01-10 07:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 07:00:03] Production.INFO: ==21391== Lock acquired, processing the job...
[2025-01-10 07:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 07:00:03] Production.INFO: ==21397== Lock acquired, processing the job...
[2025-01-10 07:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 07:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:00:04] Production.ERROR: done
[2025-01-10 07:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 07:00:04] Production.INFO: Account Balance Start.
[2025-01-10 07:00:04] Production.INFO: CreateAllLog Start
[2025-01-10 07:00:04] Production.INFO: 117
[2025-01-10 07:00:04] Production.INFO: Date 2025-01-08
[2025-01-10 07:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:00:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:00:04] Production.INFO: count ==21
[2025-01-10 07:00:04] Production.ERROR: done
[2025-01-10 07:00:04] Production.ERROR: done
[2025-01-10 07:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:00:04] Production.INFO: count ==21
[2025-01-10 07:00:04] Production.INFO: Date 2025-01-09
[2025-01-10 07:00:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215244') start
[2025-01-10 07:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 07:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14215246', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 07:00:04] Production.INFO: Date 2025-01-10
[2025-01-10 07:00:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:00:04] Production.INFO: Total Charge 0
[2025-01-10 07:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215244') end
[2025-01-10 07:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 07:00:04] Production.INFO: 1
[2025-01-10 07:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 07:00:04] Production.INFO: CreateAllLog End
[2025-01-10 07:00:04] Production.INFO: ==21387== Releasing lock...
[2025-01-10 07:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 07:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 07:00:04] Production.INFO: ==21397== Releasing lock...
[2025-01-10 07:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 07:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 07:00:04] Production.INFO: Account Balance End.
[2025-01-10 07:00:04] Production.ERROR: CronJobId end 12
[2025-01-10 07:00:04] Production.INFO: ==21391== Releasing lock...
[2025-01-10 07:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 07:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 07:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 04:00:05
[end_date_ymd] => 2025-01-10 07:00:05
[RateCDR] => 1
)
[2025-01-10 07:00:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 04:00:05' and `end` < '2025-01-10 07:00:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 07:00:07] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14215246', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 07:00:07] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 07:00:07] Production.INFO: ProcessCDR(1,14215246,1,1,2)
[2025-01-10 07:00:07] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14215246,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14215246,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:00:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:00:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:00:08] Production.INFO: ==21395== Releasing lock...
[2025-01-10 07:00:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 07:00:08] Production.INFO: 26 MB #Memory Used#
[2025-01-10 07:00:12] Production.ERROR: CronJobId end10
[2025-01-10 07:00:12] Production.INFO: ==21389== Releasing lock...
[2025-01-10 07:00:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 07:00:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 07:00:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 07:00:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 07:00:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 07:00:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 07:00:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 07:00:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 07:00:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 07:00:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 07:00:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 07:00:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 07:00:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 07:00:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 07:00:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 07:00:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 07:00:14] Production.INFO: call_cost start
[2025-01-10 07:00:14] Production.INFO: call_cost end
[2025-01-10 07:00:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 07:00:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 07:00:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 07:00:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 07:00:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 07:00:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 07:00:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 07:00:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 07:00:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 07:00:15] Production.INFO: ==21385== Releasing lock...
[2025-01-10 07:00:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 07:00:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 07:00:18] Production.INFO: count ==53
[2025-01-10 07:00:18] Production.ERROR: pbx CDR StartTime 2025-01-10 04:00:05 - End Time 2025-01-10 07:00:05
[2025-01-10 07:00:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 07:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215245', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215245', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215245', 'tblTempVendorCDR_20' ) start
[2025-01-10 07:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215245', 'tblTempVendorCDR_20' ) end
[2025-01-10 07:00:18] Production.INFO: ProcessCDR(1,14215245,1,1,2)
[2025-01-10 07:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215245,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:00:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215245,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:00:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215245,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:00:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215245,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:00:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215245', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:00:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215245', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:00:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:00:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:00:21] Production.INFO: ==21393== Releasing lock...
[2025-01-10 07:00:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 07:00:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 12:01:02] Production.INFO: ==21536== Lock acquired, processing the job...
[2025-01-10 12:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 12:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 12:01:02] Production.INFO: neon service started
[2025-01-10 12:01:02] Production.INFO: neon service started
[2025-01-10 12:01:02] Production.INFO: ==21536== Releasing lock...
[2025-01-10 12:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 12:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 07:01:02] Production.INFO: ==21548== Lock acquired, processing the job...
[2025-01-10 07:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 07:01:02] Production.INFO: ==21548== Releasing lock...
[2025-01-10 07:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 07:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 12:01:03] Production.INFO: ==21550== Lock acquired, processing the job...
[2025-01-10 12:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 12:01:03] Production.INFO: ==21550== Releasing lock...
[2025-01-10 12:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 12:01:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 07:01:03] Production.INFO: ==21554== Lock acquired, processing the job...
[2025-01-10 07:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 07:01:03] Production.INFO: ==21558== Lock acquired, processing the job...
[2025-01-10 07:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 07:01:03] Production.INFO: ==21552== Lock acquired, processing the job...
[2025-01-10 07:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 07:01:03] Production.INFO: ==21556== Lock acquired, processing the job...
[2025-01-10 07:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 07:01:03] Production.INFO: ==21560== Lock acquired, processing the job...
[2025-01-10 07:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 07:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 07:01:03] Production.INFO: Account Balance Start.
[2025-01-10 07:01:03] Production.INFO: CreateAllLog Start
[2025-01-10 07:01:03] Production.INFO: 117
[2025-01-10 07:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 07:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 07:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 07:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 07:01:03] Production.INFO: Date 2025-01-08
[2025-01-10 07:01:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:01:03] Production.INFO: ==21562== Lock acquired, processing the job...
[2025-01-10 07:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 07:01:03] Production.INFO: Date 2025-01-09
[2025-01-10 07:01:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:01:03] Production.INFO: Date 2025-01-10
[2025-01-10 07:01:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:01:04] Production.INFO: Total Charge 0
[2025-01-10 07:01:04] Production.INFO: CreateAllLog End
[2025-01-10 07:01:04] Production.INFO: ==21554== Releasing lock...
[2025-01-10 07:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 07:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 07:01:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:01:04] Production.ERROR: done
[2025-01-10 07:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 07:01:04] Production.INFO: count ==21
[2025-01-10 07:01:04] Production.INFO: Account Balance End.
[2025-01-10 07:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:01:04] Production.INFO: count ==21
[2025-01-10 07:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215250') start
[2025-01-10 07:01:04] Production.ERROR: done
[2025-01-10 07:01:04] Production.ERROR: CronJobId end 12
[2025-01-10 07:01:04] Production.INFO: ==21558== Releasing lock...
[2025-01-10 07:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 07:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 07:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215250') end
[2025-01-10 07:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 07:01:04] Production.INFO: 1
[2025-01-10 07:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 07:01:04] Production.INFO: ==21562== Releasing lock...
[2025-01-10 07:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 07:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 07:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 04:01:05
[end_date_ymd] => 2025-01-10 07:01:05
[RateCDR] => 1
)
[2025-01-10 07:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 04:01:05' and `end` < '2025-01-10 07:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 07:01:11] Production.ERROR: CronJobId end10
[2025-01-10 07:01:11] Production.INFO: ==21556== Releasing lock...
[2025-01-10 07:01:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 07:01:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 07:01:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 07:01:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 07:01:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 07:01:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 07:01:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 07:01:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 07:01:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 07:01:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 07:01:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 07:01:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 07:01:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 07:01:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 07:01:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 07:01:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 07:01:12] Production.INFO: call_cost start
[2025-01-10 07:01:13] Production.INFO: call_cost end
[2025-01-10 07:01:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 07:01:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 07:01:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 07:01:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 07:01:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 07:01:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 07:01:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 07:01:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 07:01:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 07:01:13] Production.INFO: ==21552== Releasing lock...
[2025-01-10 07:01:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 07:01:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 07:01:48] Production.INFO: count ==53
[2025-01-10 07:01:48] Production.ERROR: pbx CDR StartTime 2025-01-10 04:01:05 - End Time 2025-01-10 07:01:05
[2025-01-10 07:01:48] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 07:01:48] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215251', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:01:48] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215251', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:01:48] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215251', 'tblTempVendorCDR_20' ) start
[2025-01-10 07:01:48] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215251', 'tblTempVendorCDR_20' ) end
[2025-01-10 07:01:48] Production.INFO: ProcessCDR(1,14215251,1,1,2)
[2025-01-10 07:01:48] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215251,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:01:49] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215251,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:01:49] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215251,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:01:51] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215251,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:01:51] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215251', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:01:51] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215251', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:01:51] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:01:51] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:01:51] Production.INFO: ==21560== Releasing lock...
[2025-01-10 07:01:51] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 07:01:51] Production.INFO: 28 MB #Memory Used#
[2025-01-10 12:02:01] Production.INFO: ==21657== Lock acquired, processing the job...
[2025-01-10 12:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 12:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 12:02:01] Production.INFO: neon service started
[2025-01-10 12:02:01] Production.INFO: neon service started
[2025-01-10 12:02:01] Production.INFO: ==21657== Releasing lock...
[2025-01-10 12:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 12:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 07:02:01] Production.INFO: ==21659== Lock acquired, processing the job...
[2025-01-10 07:02:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 07:02:02] Production.INFO: ==21659== Releasing lock...
[2025-01-10 07:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 07:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 12:02:02] Production.INFO: ==21661== Lock acquired, processing the job...
[2025-01-10 12:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 12:02:02] Production.INFO: ==21661== Releasing lock...
[2025-01-10 12:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 12:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 07:02:03] Production.INFO: ==21669== Lock acquired, processing the job...
[2025-01-10 07:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 07:02:03] Production.INFO: ==21671== Lock acquired, processing the job...
[2025-01-10 07:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 07:02:03] Production.INFO: ==21665== Lock acquired, processing the job...
[2025-01-10 07:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 07:02:03] Production.INFO: ==21663== Lock acquired, processing the job...
[2025-01-10 07:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 07:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:02:03] Production.INFO: Account Balance Start.
[2025-01-10 07:02:03] Production.INFO: CreateAllLog Start
[2025-01-10 07:02:03] Production.INFO: 117
[2025-01-10 07:02:03] Production.INFO: Date 2025-01-08
[2025-01-10 07:02:03] Production.INFO: ==21667== Lock acquired, processing the job...
[2025-01-10 07:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 07:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 07:02:03] Production.INFO: ==21673== Lock acquired, processing the job...
[2025-01-10 07:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 07:02:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:02:03] Production.INFO: Date 2025-01-09
[2025-01-10 07:02:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 07:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 07:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 07:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 07:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:02:03] Production.INFO: Date 2025-01-10
[2025-01-10 07:02:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:02:03] Production.INFO: count ==21
[2025-01-10 07:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:02:03] Production.ERROR: done
[2025-01-10 07:02:03] Production.INFO: Total Charge 0
[2025-01-10 07:02:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 07:02:03] Production.INFO: CreateAllLog End
[2025-01-10 07:02:03] Production.ERROR: done
[2025-01-10 07:02:03] Production.INFO: ==21665== Releasing lock...
[2025-01-10 07:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 07:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 07:02:03] Production.INFO: count ==21
[2025-01-10 07:02:03] Production.INFO: Account Balance End.
[2025-01-10 07:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215255') start
[2025-01-10 07:02:03] Production.ERROR: CronJobId end 12
[2025-01-10 07:02:03] Production.INFO: ==21669== Releasing lock...
[2025-01-10 07:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 07:02:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 07:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215255') end
[2025-01-10 07:02:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 07:02:03] Production.INFO: 1
[2025-01-10 07:02:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 07:02:03] Production.INFO: ==21673== Releasing lock...
[2025-01-10 07:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 07:02:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 07:02:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 04:02:04
[end_date_ymd] => 2025-01-10 07:02:04
[RateCDR] => 1
)
[2025-01-10 07:02:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 04:02:04' and `end` < '2025-01-10 07:02:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 07:02:09] Production.ERROR: CronJobId end10
[2025-01-10 07:02:09] Production.INFO: ==21667== Releasing lock...
[2025-01-10 07:02:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 07:02:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 07:02:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 07:02:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 07:02:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 07:02:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 07:02:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 07:02:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 07:02:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 07:02:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 07:02:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 07:02:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 07:02:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 07:02:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 07:02:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 07:02:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 07:02:12] Production.INFO: call_cost start
[2025-01-10 07:02:12] Production.INFO: call_cost end
[2025-01-10 07:02:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 07:02:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 07:02:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 07:02:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 07:02:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 07:02:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 07:02:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 07:02:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 07:02:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 07:02:13] Production.INFO: ==21663== Releasing lock...
[2025-01-10 07:02:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 07:02:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 07:02:22] Production.INFO: count ==53
[2025-01-10 07:02:22] Production.ERROR: pbx CDR StartTime 2025-01-10 04:02:04 - End Time 2025-01-10 07:02:04
[2025-01-10 07:02:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 07:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215256', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215256', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215256', 'tblTempVendorCDR_20' ) start
[2025-01-10 07:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215256', 'tblTempVendorCDR_20' ) end
[2025-01-10 07:02:22] Production.INFO: ProcessCDR(1,14215256,1,1,2)
[2025-01-10 07:02:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215256,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:02:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215256,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:02:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215256,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:02:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215256,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:02:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215256', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:02:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215256', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:02:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:02:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:02:25] Production.INFO: ==21671== Releasing lock...
[2025-01-10 07:02:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 07:02:25] Production.INFO: 28 MB #Memory Used#
[2025-01-10 12:03:02] Production.INFO: ==21728== Lock acquired, processing the job...
[2025-01-10 12:03:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 12:03:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 12:03:02] Production.INFO: neon service started
[2025-01-10 12:03:02] Production.INFO: neon service started
[2025-01-10 12:03:02] Production.INFO: ==21728== Releasing lock...
[2025-01-10 12:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 12:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 07:03:02] Production.INFO: ==21730== Lock acquired, processing the job...
[2025-01-10 07:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:03:02] Production.INFO: ==21732== Lock acquired, processing the job...
[2025-01-10 12:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 12:03:02] Production.INFO: ==21732== Releasing lock...
[2025-01-10 12:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 12:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 07:03:02] Production.INFO: ==21730== Releasing lock...
[2025-01-10 07:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 07:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:03:03] Production.INFO: ==21736== Lock acquired, processing the job...
[2025-01-10 07:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 07:03:03] Production.INFO: ==21738== Lock acquired, processing the job...
[2025-01-10 07:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 07:03:03] Production.INFO: ==21740== Lock acquired, processing the job...
[2025-01-10 07:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 07:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 07:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 07:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 07:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 07:03:03] Production.INFO: ==21736== Releasing lock...
[2025-01-10 07:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 07:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 07:03:03] Production.INFO: ==21734== Lock acquired, processing the job...
[2025-01-10 07:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 07:03:03] Production.INFO: Account Balance Start.
[2025-01-10 07:03:03] Production.INFO: CreateAllLog Start
[2025-01-10 07:03:03] Production.INFO: 117
[2025-01-10 07:03:03] Production.INFO: Date 2025-01-08
[2025-01-10 07:03:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 07:03:03] Production.INFO: Date 2025-01-09
[2025-01-10 07:03:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:03:03] Production.INFO: ==21745== Lock acquired, processing the job...
[2025-01-10 07:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 07:03:03] Production.INFO: Date 2025-01-10
[2025-01-10 07:03:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:03:03] Production.INFO: ==21743== Lock acquired, processing the job...
[2025-01-10 07:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 07:03:03] Production.INFO: Total Charge 0
[2025-01-10 07:03:03] Production.INFO: CreateAllLog End
[2025-01-10 07:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:03:04] Production.INFO: count ==21
[2025-01-10 07:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:03:04] Production.INFO: count ==21
[2025-01-10 07:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215260') start
[2025-01-10 07:03:04] Production.INFO: Account Balance End.
[2025-01-10 07:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215260') end
[2025-01-10 07:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 07:03:04] Production.INFO: 1
[2025-01-10 07:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 07:03:04] Production.ERROR: CronJobId end 12
[2025-01-10 07:03:04] Production.INFO: ==21740== Releasing lock...
[2025-01-10 07:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 07:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 07:03:04] Production.INFO: ==21745== Releasing lock...
[2025-01-10 07:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 07:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 07:03:04] Production.ERROR: done
[2025-01-10 07:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 07:03:04] Production.ERROR: done
[2025-01-10 07:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 04:03:05
[end_date_ymd] => 2025-01-10 07:03:05
[RateCDR] => 1
)
[2025-01-10 07:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 04:03:05' and `end` < '2025-01-10 07:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 07:03:10] Production.ERROR: CronJobId end10
[2025-01-10 07:03:10] Production.INFO: ==21738== Releasing lock...
[2025-01-10 07:03:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 07:03:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 07:03:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 07:03:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 07:03:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 07:03:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 07:03:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 07:03:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 07:03:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 07:03:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 07:03:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 07:03:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 07:03:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 07:03:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 07:03:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 07:03:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 07:03:13] Production.INFO: call_cost start
[2025-01-10 07:03:13] Production.INFO: call_cost end
[2025-01-10 07:03:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 07:03:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 07:03:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 07:03:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 07:03:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 07:03:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 07:03:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 07:03:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 07:03:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 07:03:14] Production.INFO: ==21734== Releasing lock...
[2025-01-10 07:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 07:03:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 07:03:21] Production.INFO: count ==53
[2025-01-10 07:03:21] Production.ERROR: pbx CDR StartTime 2025-01-10 04:03:05 - End Time 2025-01-10 07:03:05
[2025-01-10 07:03:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 07:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215261', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215261', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215261', 'tblTempVendorCDR_20' ) start
[2025-01-10 07:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215261', 'tblTempVendorCDR_20' ) end
[2025-01-10 07:03:21] Production.INFO: ProcessCDR(1,14215261,1,1,2)
[2025-01-10 07:03:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215261,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:03:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215261,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:03:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215261,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:03:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215261,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:03:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215261', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:03:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215261', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:03:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:03:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:03:24] Production.INFO: ==21743== Releasing lock...
[2025-01-10 07:03:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 07:03:24] Production.INFO: 28 MB #Memory Used#
[2025-01-10 12:04:01] Production.INFO: ==21802== Lock acquired, processing the job...
[2025-01-10 12:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 12:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 12:04:01] Production.INFO: neon service started
[2025-01-10 12:04:01] Production.INFO: neon service started
[2025-01-10 12:04:01] Production.INFO: ==21802== Releasing lock...
[2025-01-10 12:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 12:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 12:04:02] Production.INFO: ==21806== Lock acquired, processing the job...
[2025-01-10 12:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 12:04:02] Production.INFO: ==21806== Releasing lock...
[2025-01-10 12:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 12:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 07:04:02] Production.INFO: ==21804== Lock acquired, processing the job...
[2025-01-10 07:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 07:04:02] Production.INFO: ==21804== Releasing lock...
[2025-01-10 07:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 07:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:04:03] Production.INFO: ==21813== Lock acquired, processing the job...
[2025-01-10 07:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 07:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 07:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 07:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 07:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 07:04:03] Production.INFO: ==21819== Lock acquired, processing the job...
[2025-01-10 07:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 07:04:03] Production.INFO: ==21809== Lock acquired, processing the job...
[2025-01-10 07:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 07:04:03] Production.INFO: ==21811== Lock acquired, processing the job...
[2025-01-10 07:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 07:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:04:03] Production.INFO: ==21815== Lock acquired, processing the job...
[2025-01-10 07:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 07:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 07:04:03] Production.INFO: ==21817== Lock acquired, processing the job...
[2025-01-10 07:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 07:04:03] Production.INFO: count ==21
[2025-01-10 07:04:03] Production.INFO: Account Balance Start.
[2025-01-10 07:04:03] Production.INFO: CreateAllLog Start
[2025-01-10 07:04:03] Production.INFO: 117
[2025-01-10 07:04:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:04:03] Production.INFO: count ==21
[2025-01-10 07:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215262') start
[2025-01-10 07:04:03] Production.INFO: Date 2025-01-08
[2025-01-10 07:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:04:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215262') end
[2025-01-10 07:04:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 07:04:03] Production.INFO: 1
[2025-01-10 07:04:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 07:04:03] Production.INFO: Date 2025-01-09
[2025-01-10 07:04:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:04:03] Production.INFO: Date 2025-01-10
[2025-01-10 07:04:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:04:04] Production.INFO: Total Charge 0
[2025-01-10 07:04:04] Production.INFO: CreateAllLog End
[2025-01-10 07:04:04] Production.INFO: ==21819== Releasing lock...
[2025-01-10 07:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 07:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 07:04:04] Production.INFO: ==21811== Releasing lock...
[2025-01-10 07:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 07:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 07:04:04] Production.ERROR: done
[2025-01-10 07:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 07:04:04] Production.INFO: Account Balance End.
[2025-01-10 07:04:04] Production.ERROR: CronJobId end 12
[2025-01-10 07:04:04] Production.INFO: ==21815== Releasing lock...
[2025-01-10 07:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 07:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 07:04:04] Production.ERROR: done
[2025-01-10 07:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 04:04:05
[end_date_ymd] => 2025-01-10 07:04:05
[RateCDR] => 1
)
[2025-01-10 07:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 04:04:05' and `end` < '2025-01-10 07:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 07:04:10] Production.ERROR: CronJobId end10
[2025-01-10 07:04:10] Production.INFO: ==21813== Releasing lock...
[2025-01-10 07:04:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 07:04:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 07:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 07:04:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 07:04:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 07:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 07:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 07:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 07:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 07:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 07:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 07:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 07:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 07:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 07:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 07:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 07:04:13] Production.INFO: call_cost start
[2025-01-10 07:04:13] Production.INFO: call_cost end
[2025-01-10 07:04:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 07:04:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 07:04:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 07:04:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 07:04:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 07:04:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 07:04:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 07:04:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 07:04:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 07:04:14] Production.INFO: ==21809== Releasing lock...
[2025-01-10 07:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 07:04:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 07:04:21] Production.INFO: count ==53
[2025-01-10 07:04:21] Production.ERROR: pbx CDR StartTime 2025-01-10 04:04:05 - End Time 2025-01-10 07:04:05
[2025-01-10 07:04:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 07:04:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215266', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:04:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215266', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:04:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215266', 'tblTempVendorCDR_20' ) start
[2025-01-10 07:04:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215266', 'tblTempVendorCDR_20' ) end
[2025-01-10 07:04:21] Production.INFO: ProcessCDR(1,14215266,1,1,2)
[2025-01-10 07:04:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215266,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:04:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215266,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:04:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215266,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:04:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215266,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:04:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215266', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:04:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215266', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:04:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:04:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:04:24] Production.INFO: ==21817== Releasing lock...
[2025-01-10 07:04:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 07:04:24] Production.INFO: 28 MB #Memory Used#
[2025-01-10 12:05:02] Production.INFO: ==21951== Lock acquired, processing the job...
[2025-01-10 12:05:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 12:05:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 12:05:02] Production.INFO: neon service started
[2025-01-10 12:05:02] Production.INFO: neon service started
[2025-01-10 12:05:02] Production.INFO: ==21951== Releasing lock...
[2025-01-10 12:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 12:05:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 07:05:02] Production.INFO: ==21953== Lock acquired, processing the job...
[2025-01-10 07:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 07:05:02] Production.INFO: ==21953== Releasing lock...
[2025-01-10 07:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 07:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 12:05:02] Production.INFO: ==21955== Lock acquired, processing the job...
[2025-01-10 12:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 12:05:02] Production.INFO: ==21955== Releasing lock...
[2025-01-10 12:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 12:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 07:05:03] Production.INFO: ==21963== Lock acquired, processing the job...
[2025-01-10 07:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 07:05:03] Production.INFO: ==21957== Lock acquired, processing the job...
[2025-01-10 07:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 07:05:03] Production.INFO: Account Balance Start.
[2025-01-10 07:05:03] Production.INFO: CreateAllLog Start
[2025-01-10 07:05:03] Production.INFO: 117
[2025-01-10 07:05:03] Production.INFO: ==21959== Lock acquired, processing the job...
[2025-01-10 07:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 07:05:03] Production.INFO: ==21967== Lock acquired, processing the job...
[2025-01-10 07:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 07:05:03] Production.INFO: Date 2025-01-08
[2025-01-10 07:05:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:05:03] Production.INFO: Date 2025-01-09
[2025-01-10 07:05:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 07:05:03] Production.INFO: Date 2025-01-10
[2025-01-10 07:05:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:05:03] Production.INFO: ==21961== Lock acquired, processing the job...
[2025-01-10 07:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 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-01-10 07:05:03] Production.INFO: Total Charge 0
[2025-01-10 07:05:03] Production.INFO: CreateAllLog End
[2025-01-10 07:05:03] Production.INFO: count ==21
[2025-01-10 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-01-10 07:05:03] Production.INFO: count ==21
[2025-01-10 07:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215269') start
[2025-01-10 07:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 07:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 07:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 07:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 07:05:03] Production.INFO: ==21965== Lock acquired, processing the job...
[2025-01-10 07:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 07:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215269') end
[2025-01-10 07:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 07:05:04] Production.INFO: 1
[2025-01-10 07:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 07:05:04] Production.INFO: Account Balance End.
[2025-01-10 07:05:04] Production.INFO: ==21959== Releasing lock...
[2025-01-10 07:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 07:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 07:05:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:05:04] Production.INFO: ==21967== Releasing lock...
[2025-01-10 07:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 07:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 07:05:04] Production.ERROR: CronJobId end 12
[2025-01-10 07:05:04] Production.INFO: ==21963== Releasing lock...
[2025-01-10 07:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 07:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 07:05:04] Production.ERROR: done
[2025-01-10 07:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 07:05:04] Production.ERROR: done
[2025-01-10 07:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 04:05:05
[end_date_ymd] => 2025-01-10 07:05:05
[RateCDR] => 1
)
[2025-01-10 07:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 04:05:05' and `end` < '2025-01-10 07:05:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 07:05:11] Production.ERROR: CronJobId end10
[2025-01-10 07:05:11] Production.INFO: ==21961== Releasing lock...
[2025-01-10 07:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 07:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 07:05:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 07:05:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 07:05:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 07:05:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 07:05:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 07:05:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 07:05:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 07:05:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 07:05:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 07:05:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 07:05:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 07:05:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 07:05:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 07:05:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 07:05:12] Production.INFO: call_cost start
[2025-01-10 07:05:12] Production.INFO: call_cost end
[2025-01-10 07:05:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 07:05:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 07:05:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 07:05:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 07:05:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 07:05:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 07:05:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 07:05:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 07:05:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 07:05:13] Production.INFO: ==21957== Releasing lock...
[2025-01-10 07:05:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 07:05:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 07:05:20] Production.INFO: count ==53
[2025-01-10 07:05:20] Production.ERROR: pbx CDR StartTime 2025-01-10 04:05:05 - End Time 2025-01-10 07:05:05
[2025-01-10 07:05:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 07:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215271', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215271', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215271', 'tblTempVendorCDR_20' ) start
[2025-01-10 07:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215271', 'tblTempVendorCDR_20' ) end
[2025-01-10 07:05:20] Production.INFO: ProcessCDR(1,14215271,1,1,2)
[2025-01-10 07:05:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215271,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:05:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215271,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:05:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215271,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:05:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215271,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:05:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215271', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:05:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215271', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:05:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:05:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:05:23] Production.INFO: ==21965== Releasing lock...
[2025-01-10 07:05:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 07:05:23] Production.INFO: 28 MB #Memory Used#
[2025-01-10 12:06:01] Production.INFO: ==22023== Lock acquired, processing the job...
[2025-01-10 12:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 12:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 12:06:01] Production.INFO: neon service started
[2025-01-10 12:06:01] Production.INFO: neon service started
[2025-01-10 12:06:01] Production.INFO: ==22023== Releasing lock...
[2025-01-10 12:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 12:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 07:06:01] Production.INFO: ==22025== Lock acquired, processing the job...
[2025-01-10 07:06:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 07:06:02] Production.INFO: ==22025== Releasing lock...
[2025-01-10 07:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 07:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 12:06:02] Production.INFO: ==22027== Lock acquired, processing the job...
[2025-01-10 12:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 12:06:02] Production.INFO: ==22027== Releasing lock...
[2025-01-10 12:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 12:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 07:06:03] Production.INFO: ==22031== Lock acquired, processing the job...
[2025-01-10 07:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 07:06:03] Production.INFO: ==22033== Lock acquired, processing the job...
[2025-01-10 07:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 07:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 07:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 07:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 07:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 07:06:03] Production.INFO: ==22035== Lock acquired, processing the job...
[2025-01-10 07:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 07:06:03] Production.INFO: ==22037== Lock acquired, processing the job...
[2025-01-10 07:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 07:06:03] Production.INFO: Account Balance Start.
[2025-01-10 07:06:03] Production.INFO: CreateAllLog Start
[2025-01-10 07:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:06:03] Production.INFO: 117
[2025-01-10 07:06:03] Production.INFO: ==22029== Lock acquired, processing the job...
[2025-01-10 07:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 07:06:03] Production.INFO: Date 2025-01-08
[2025-01-10 07:06:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:06:03] Production.INFO: ==22031== Releasing lock...
[2025-01-10 07:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 07:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 07:06:03] Production.INFO: ==22039== Lock acquired, processing the job...
[2025-01-10 07:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 07:06:03] Production.INFO: Date 2025-01-09
[2025-01-10 07:06:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:06:03] Production.INFO: Date 2025-01-10
[2025-01-10 07:06:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 07:06:03] Production.INFO: Total Charge 0
[2025-01-10 07:06:03] Production.INFO: CreateAllLog End
[2025-01-10 07:06:03] Production.ERROR: done
[2025-01-10 07:06:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 07:06:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:06:03] Production.ERROR: done
[2025-01-10 07:06:03] Production.INFO: count ==21
[2025-01-10 07:06:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:06:03] Production.INFO: count ==21
[2025-01-10 07:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215275') start
[2025-01-10 07:06:04] Production.INFO: Account Balance End.
[2025-01-10 07:06:04] Production.ERROR: CronJobId end 12
[2025-01-10 07:06:04] Production.INFO: ==22035== Releasing lock...
[2025-01-10 07:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 07:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 07:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215275') end
[2025-01-10 07:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 07:06:04] Production.INFO: 1
[2025-01-10 07:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 07:06:04] Production.INFO: ==22039== Releasing lock...
[2025-01-10 07:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 07:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 07:06:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 04:06:04
[end_date_ymd] => 2025-01-10 07:06:04
[RateCDR] => 1
)
[2025-01-10 07:06:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 04:06:04' and `end` < '2025-01-10 07:06:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 07:06:10] Production.ERROR: CronJobId end10
[2025-01-10 07:06:10] Production.INFO: ==22033== Releasing lock...
[2025-01-10 07:06:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 07:06:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 07:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 07:06:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 07:06:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 07:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 07:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 07:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 07:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 07:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 07:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 07:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 07:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 07:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 07:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 07:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 07:06:13] Production.INFO: call_cost start
[2025-01-10 07:06:13] Production.INFO: call_cost end
[2025-01-10 07:06:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 07:06:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 07:06:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 07:06:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 07:06:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 07:06:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 07:06:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 07:06:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 07:06:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 07:06:14] Production.INFO: ==22029== Releasing lock...
[2025-01-10 07:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 07:06:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 07:06:19] Production.INFO: count ==53
[2025-01-10 07:06:19] Production.ERROR: pbx CDR StartTime 2025-01-10 04:06:04 - End Time 2025-01-10 07:06:04
[2025-01-10 07:06:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 07:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215276', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215276', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215276', 'tblTempVendorCDR_20' ) start
[2025-01-10 07:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215276', 'tblTempVendorCDR_20' ) end
[2025-01-10 07:06:19] Production.INFO: ProcessCDR(1,14215276,1,1,2)
[2025-01-10 07:06:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215276,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:06:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215276,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:06:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215276,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215276,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215276', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215276', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:06:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:06:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:06:22] Production.INFO: ==22037== Releasing lock...
[2025-01-10 07:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 07:06:22] Production.INFO: 28 MB #Memory Used#
[2025-01-10 12:07:01] Production.INFO: ==22101== Lock acquired, processing the job...
[2025-01-10 12:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 12:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 12:07:01] Production.INFO: neon service started
[2025-01-10 12:07:01] Production.INFO: neon service started
[2025-01-10 12:07:01] Production.INFO: ==22101== Releasing lock...
[2025-01-10 12:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 12:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 07:07:02] Production.INFO: ==22103== Lock acquired, processing the job...
[2025-01-10 07:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:07:02] Production.INFO: ==22105== Lock acquired, processing the job...
[2025-01-10 12:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 12:07:02] Production.INFO: ==22105== Releasing lock...
[2025-01-10 12:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 12:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 07:07:02] Production.INFO: ==22103== Releasing lock...
[2025-01-10 07:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 07:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:07:03] Production.INFO: ==22108== Lock acquired, processing the job...
[2025-01-10 07:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 07:07:03] Production.INFO: ==22110== Lock acquired, processing the job...
[2025-01-10 07:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 07:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 07:07:03] Production.INFO: ==22114== Lock acquired, processing the job...
[2025-01-10 07:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 07:07:03] Production.INFO: Account Balance Start.
[2025-01-10 07:07:03] Production.INFO: CreateAllLog Start
[2025-01-10 07:07:03] Production.INFO: 117
[2025-01-10 07:07:03] Production.INFO: Date 2025-01-08
[2025-01-10 07:07:03] Production.INFO: ==22112== Lock acquired, processing the job...
[2025-01-10 07:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 07:07:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:07:03] Production.INFO: Date 2025-01-09
[2025-01-10 07:07:03] Production.INFO: ==22110== Releasing lock...
[2025-01-10 07:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 07:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 07:07:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:07:03] Production.INFO: Date 2025-01-10
[2025-01-10 07:07:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 07:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 07:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 07:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 07:07:04] Production.INFO: ==22118== Lock acquired, processing the job...
[2025-01-10 07:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 07:07:04] Production.INFO: Total Charge 0
[2025-01-10 07:07:04] Production.INFO: ==22116== Lock acquired, processing the job...
[2025-01-10 07:07:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 07:07:04] Production.INFO: CreateAllLog End
[2025-01-10 07:07:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:07:04] Production.INFO: Account Balance End.
[2025-01-10 07:07:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:07:04] Production.INFO: count ==21
[2025-01-10 07:07:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:07:04] Production.INFO: count ==21
[2025-01-10 07:07:04] Production.ERROR: CronJobId end 12
[2025-01-10 07:07:04] Production.INFO: ==22114== Releasing lock...
[2025-01-10 07:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 07:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 07:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215280') start
[2025-01-10 07:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215280') end
[2025-01-10 07:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 07:07:04] Production.INFO: 1
[2025-01-10 07:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 07:07:04] Production.ERROR: done
[2025-01-10 07:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 07:07:04] Production.INFO: ==22118== Releasing lock...
[2025-01-10 07:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 07:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 07:07:04] Production.ERROR: done
[2025-01-10 07:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 04:07:05
[end_date_ymd] => 2025-01-10 07:07:05
[RateCDR] => 1
)
[2025-01-10 07:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 04:07:05' and `end` < '2025-01-10 07:07:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 07:07:12] Production.ERROR: CronJobId end10
[2025-01-10 07:07:12] Production.INFO: ==22112== Releasing lock...
[2025-01-10 07:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 07:07:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 07:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 07:07:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 07:07:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 07:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 07:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 07:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 07:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 07:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 07:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 07:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 07:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 07:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 07:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 07:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 07:07:13] Production.INFO: call_cost start
[2025-01-10 07:07:13] Production.INFO: call_cost end
[2025-01-10 07:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 07:07:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 07:07:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 07:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 07:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 07:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 07:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 07:07:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 07:07:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 07:07:14] Production.INFO: ==22108== Releasing lock...
[2025-01-10 07:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 07:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 07:07:22] Production.INFO: count ==54
[2025-01-10 07:07:22] Production.ERROR: pbx CDR StartTime 2025-01-10 04:07:05 - End Time 2025-01-10 07:07:05
[2025-01-10 07:07:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 07:07:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215281', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:07:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215281', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:07:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215281', 'tblTempVendorCDR_20' ) start
[2025-01-10 07:07:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215281', 'tblTempVendorCDR_20' ) end
[2025-01-10 07:07:22] Production.INFO: ProcessCDR(1,14215281,1,1,2)
[2025-01-10 07:07:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215281,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:07:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215281,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:07:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215281,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:07:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215281,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:07:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215281', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:07:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215281', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:07:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:07:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:07:27] Production.INFO: ==22116== Releasing lock...
[2025-01-10 07:07:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 07:07:27] Production.INFO: 28 MB #Memory Used#
[2025-01-10 12:08:02] Production.INFO: ==22263== Lock acquired, processing the job...
[2025-01-10 12:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 12:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 12:08:02] Production.INFO: neon service started
[2025-01-10 12:08:02] Production.INFO: neon service started
[2025-01-10 12:08:02] Production.INFO: ==22263== Releasing lock...
[2025-01-10 12:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 12:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 07:08:02] Production.INFO: ==22265== Lock acquired, processing the job...
[2025-01-10 07:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 07:08:03] Production.INFO: ==22265== Releasing lock...
[2025-01-10 07:08:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 07:08:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 12:08:03] Production.INFO: ==22267== Lock acquired, processing the job...
[2025-01-10 12:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 12:08:03] Production.INFO: ==22267== Releasing lock...
[2025-01-10 12:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 12:08:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 07:08:03] Production.INFO: ==22270== Lock acquired, processing the job...
[2025-01-10 07:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 07:08:03] Production.INFO: ==22272== Lock acquired, processing the job...
[2025-01-10 07:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 07:08:03] Production.INFO: ==22274== Lock acquired, processing the job...
[2025-01-10 07:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 07:08:04] Production.INFO: ==22276== Lock acquired, processing the job...
[2025-01-10 07:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 07:08:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 07:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 07:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 07:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 07:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 07:08:04] Production.INFO: ==22278== Lock acquired, processing the job...
[2025-01-10 07:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 07:08:04] Production.INFO: ==22280== Lock acquired, processing the job...
[2025-01-10 07:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 07:08:04] Production.INFO: Account Balance Start.
[2025-01-10 07:08:04] Production.INFO: CreateAllLog Start
[2025-01-10 07:08:04] Production.INFO: 117
[2025-01-10 07:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:08:04] Production.INFO: Date 2025-01-08
[2025-01-10 07:08:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:08:04] Production.INFO: ==22272== Releasing lock...
[2025-01-10 07:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 07:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 07:08:04] Production.INFO: Date 2025-01-09
[2025-01-10 07:08:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:08:04] Production.INFO: Date 2025-01-10
[2025-01-10 07:08:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:08:04] Production.INFO: Total Charge 0
[2025-01-10 07:08:04] Production.INFO: CreateAllLog End
[2025-01-10 07:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:08:04] Production.ERROR: done
[2025-01-10 07:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 07:08:04] Production.ERROR: done
[2025-01-10 07:08:04] Production.INFO: count ==21
[2025-01-10 07:08:04] Production.INFO: Account Balance End.
[2025-01-10 07:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:08:04] Production.INFO: count ==21
[2025-01-10 07:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215285') start
[2025-01-10 07:08:04] Production.ERROR: CronJobId end 12
[2025-01-10 07:08:04] Production.INFO: ==22276== Releasing lock...
[2025-01-10 07:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 07:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 07:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215285') end
[2025-01-10 07:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 07:08:04] Production.INFO: 1
[2025-01-10 07:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 07:08:04] Production.INFO: ==22280== Releasing lock...
[2025-01-10 07:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 07:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 07:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 04:08:05
[end_date_ymd] => 2025-01-10 07:08:05
[RateCDR] => 1
)
[2025-01-10 07:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 04:08:05' and `end` < '2025-01-10 07:08:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 07:08:12] Production.ERROR: CronJobId end10
[2025-01-10 07:08:12] Production.INFO: ==22274== Releasing lock...
[2025-01-10 07:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 07:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 07:08:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 07:08:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 07:08:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 07:08:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 07:08:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 07:08:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 07:08:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 07:08:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 07:08:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 07:08:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 07:08:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 07:08:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 07:08:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 07:08:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 07:08:14] Production.INFO: call_cost start
[2025-01-10 07:08:14] Production.INFO: call_cost end
[2025-01-10 07:08:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 07:08:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 07:08:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 07:08:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 07:08:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 07:08:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 07:08:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 07:08:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 07:08:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 07:08:15] Production.INFO: ==22270== Releasing lock...
[2025-01-10 07:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 07:08:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 07:08:20] Production.INFO: count ==54
[2025-01-10 07:08:20] Production.ERROR: pbx CDR StartTime 2025-01-10 04:08:05 - End Time 2025-01-10 07:08:05
[2025-01-10 07:08:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 07:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215286', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215286', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215286', 'tblTempVendorCDR_20' ) start
[2025-01-10 07:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215286', 'tblTempVendorCDR_20' ) end
[2025-01-10 07:08:20] Production.INFO: ProcessCDR(1,14215286,1,1,2)
[2025-01-10 07:08:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215286,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:08:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215286,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:08:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215286,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:08:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215286,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215286', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215286', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:08:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:08:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:08:24] Production.INFO: ==22278== Releasing lock...
[2025-01-10 07:08:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 07:08:24] Production.INFO: 28 MB #Memory Used#
[2025-01-10 12:09:01] Production.INFO: ==22349== Lock acquired, processing the job...
[2025-01-10 12:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 12:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 12:09:01] Production.INFO: neon service started
[2025-01-10 12:09:01] Production.INFO: neon service started
[2025-01-10 12:09:01] Production.INFO: ==22349== Releasing lock...
[2025-01-10 12:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 12:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 07:09:02] Production.INFO: ==22351== Lock acquired, processing the job...
[2025-01-10 07:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 07:09:02] Production.INFO: ==22351== Releasing lock...
[2025-01-10 07:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 07:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 12:09:02] Production.INFO: ==22353== Lock acquired, processing the job...
[2025-01-10 12:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 12:09:02] Production.INFO: ==22353== Releasing lock...
[2025-01-10 12:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 12:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 07:09:03] Production.INFO: ==22356== Lock acquired, processing the job...
[2025-01-10 07:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 07:09:03] Production.INFO: ==22358== Lock acquired, processing the job...
[2025-01-10 07:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 07:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 07:09:03] Production.INFO: ==22364== Lock acquired, processing the job...
[2025-01-10 07:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 07:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:09:03] Production.INFO: ==22358== Releasing lock...
[2025-01-10 07:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 07:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 07:09:03] Production.INFO: ==22360== Lock acquired, processing the job...
[2025-01-10 07:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 07:09:03] Production.INFO: ==22362== Lock acquired, processing the job...
[2025-01-10 07:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 07:09:03] Production.INFO: ==22367== Lock acquired, processing the job...
[2025-01-10 07:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 07:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 07:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 07:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 07:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 07:09:03] Production.ERROR: done
[2025-01-10 07:09:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 07:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:09:03] Production.INFO: Account Balance Start.
[2025-01-10 07:09:03] Production.INFO: CreateAllLog Start
[2025-01-10 07:09:03] Production.INFO: 117
[2025-01-10 07:09:03] Production.INFO: Date 2025-01-08
[2025-01-10 07:09:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:09:03] Production.INFO: count ==21
[2025-01-10 07:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:09:03] Production.INFO: count ==21
[2025-01-10 07:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215289') start
[2025-01-10 07:09:03] Production.ERROR: done
[2025-01-10 07:09:03] Production.INFO: Date 2025-01-09
[2025-01-10 07:09:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:09:03] Production.INFO: Date 2025-01-10
[2025-01-10 07:09:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:09:03] Production.INFO: Total Charge 0
[2025-01-10 07:09:03] Production.INFO: CreateAllLog End
[2025-01-10 07:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215289') end
[2025-01-10 07:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 07:09:04] Production.INFO: 1
[2025-01-10 07:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 07:09:04] Production.INFO: ==22367== Releasing lock...
[2025-01-10 07:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 07:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 07:09:04] Production.INFO: Account Balance End.
[2025-01-10 07:09:04] Production.ERROR: CronJobId end 12
[2025-01-10 07:09:04] Production.INFO: ==22362== Releasing lock...
[2025-01-10 07:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 07:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 07:09:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 04:09:04
[end_date_ymd] => 2025-01-10 07:09:04
[RateCDR] => 1
)
[2025-01-10 07:09:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 04:09:04' and `end` < '2025-01-10 07:09:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 07:09:11] Production.ERROR: CronJobId end10
[2025-01-10 07:09:11] Production.INFO: ==22360== Releasing lock...
[2025-01-10 07:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 07:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 07:09:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 07:09:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 07:09:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 07:09:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 07:09:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 07:09:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 07:09:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 07:09:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 07:09:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 07:09:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 07:09:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 07:09:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 07:09:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 07:09:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 07:09:13] Production.INFO: call_cost start
[2025-01-10 07:09:13] Production.INFO: call_cost end
[2025-01-10 07:09:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 07:09:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 07:09:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 07:09:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 07:09:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 07:09:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 07:09:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 07:09:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 07:09:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 07:09:13] Production.INFO: ==22356== Releasing lock...
[2025-01-10 07:09:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 07:09:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 07:09:19] Production.INFO: count ==55
[2025-01-10 07:09:19] Production.ERROR: pbx CDR StartTime 2025-01-10 04:09:04 - End Time 2025-01-10 07:09:04
[2025-01-10 07:09:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 07:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215291', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215291', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215291', 'tblTempVendorCDR_20' ) start
[2025-01-10 07:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215291', 'tblTempVendorCDR_20' ) end
[2025-01-10 07:09:19] Production.INFO: ProcessCDR(1,14215291,1,1,2)
[2025-01-10 07:09:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215291,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:09:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215291,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:09:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215291,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:09:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215291,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:09:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215291', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:09:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215291', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:09:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:09:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:09:24] Production.INFO: ==22364== Releasing lock...
[2025-01-10 07:09:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 07:09:24] Production.INFO: 28 MB #Memory Used#
[2025-01-10 12:10:02] Production.INFO: ==22441== Lock acquired, processing the job...
[2025-01-10 12:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 12:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 12:10:02] Production.INFO: neon service started
[2025-01-10 12:10:02] Production.INFO: neon service started
[2025-01-10 12:10:02] Production.INFO: ==22441== Releasing lock...
[2025-01-10 12:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 12:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 12:10:02] Production.INFO: ==22445== Lock acquired, processing the job...
[2025-01-10 12:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 12:10:02] Production.INFO: ==22445== Releasing lock...
[2025-01-10 12:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 12:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 07:10:02] Production.INFO: ==22443== Lock acquired, processing the job...
[2025-01-10 07:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 07:10:03] Production.INFO: ==22443== Releasing lock...
[2025-01-10 07:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 07:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:10:04] Production.INFO: ==22451== Lock acquired, processing the job...
[2025-01-10 07:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 07:10:04] Production.INFO: ==22453== Lock acquired, processing the job...
[2025-01-10 07:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 07:10:04] Production.INFO: ==22455== Lock acquired, processing the job...
[2025-01-10 07:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 07:10:04] Production.INFO: ==22447== Lock acquired, processing the job...
[2025-01-10 07:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 07:10:04] Production.INFO: ==22449== Lock acquired, processing the job...
[2025-01-10 07:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 07:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 07:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 07:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 07:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 07:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 07:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 07:10:04] Production.ERROR: CronJob PID - 22449
[2025-01-10 07:10:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-10 07:10:04] Production.ERROR: CronJob ID - 5
[2025-01-10 07:10:04] Production.ERROR: CronJob Last Run Time 2025-01-10 07:10:00
[2025-01-10 07:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 07:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 07:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 07:10:04] Production.ERROR: CronJob PID - 22451
[2025-01-10 07:10:04] Production.ERROR: CronJob Title - Account Block
[2025-01-10 07:10:04] Production.ERROR: CronJob ID - 7
[2025-01-10 07:10:04] Production.ERROR: CronJob Last Run Time 2025-01-10 07:10:00
[2025-01-10 07:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 07:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 07:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 07:10:04] Production.ERROR: CronJob PID - 22453
[2025-01-10 07:10:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-10 07:10:04] Production.ERROR: CronJob ID - 10
[2025-01-10 07:10:04] Production.ERROR: CronJob Last Run Time 2025-01-10 07:10:00
[2025-01-10 07:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 07:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 07:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 07:10:04] Production.ERROR: CronJob PID - 22455
[2025-01-10 07:10:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-10 07:10:04] Production.ERROR: CronJob ID - 12
[2025-01-10 07:10:04] Production.ERROR: CronJob Last Run Time 2025-01-10 07:10:00
[2025-01-10 07:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 07:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 07:10:04] Production.INFO: Account Balance Start.
[2025-01-10 07:10:04] Production.INFO: CreateAllLog Start
[2025-01-10 07:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 07:10:04] Production.INFO: ==22447== Releasing lock...
[2025-01-10 07:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 07:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 07:10:04] Production.INFO: 117
[2025-01-10 07:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 07:10:04] Production.INFO: ==22462== Lock acquired, processing the job...
[2025-01-10 07:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 07:10:04] Production.INFO: ==22460== Lock acquired, processing the job...
[2025-01-10 07:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 07:10:04] Production.INFO: ==22457== Lock acquired, processing the job...
[2025-01-10 07:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 07:10:04] Production.INFO: Date 2025-01-08
[2025-01-10 07:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:10:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:10:04] Production.INFO: ==22451== Releasing lock...
[2025-01-10 07:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 07:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 07:10:04] Production.INFO: Date 2025-01-09
[2025-01-10 07:10:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:10:04] Production.INFO: count ==21
[2025-01-10 07:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:10:04] Production.INFO: count ==21
[2025-01-10 07:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215295') start
[2025-01-10 07:10:04] Production.INFO: Date 2025-01-10
[2025-01-10 07:10:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:10:04] Production.INFO: Total Charge 0
[2025-01-10 07:10:04] Production.ERROR: done
[2025-01-10 07:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 07:10:04] Production.INFO: CreateAllLog End
[2025-01-10 07:10:04] Production.ERROR: done
[2025-01-10 07:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215295') end
[2025-01-10 07:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 07:10:04] Production.INFO: 1
[2025-01-10 07:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 07:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 07:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14215296', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 07:10:04] Production.INFO: Account Balance End.
[2025-01-10 07:10:05] Production.INFO: ==22462== Releasing lock...
[2025-01-10 07:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 07:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 07:10:05] Production.ERROR: CronJobId end 12
[2025-01-10 07:10:05] Production.INFO: ==22455== Releasing lock...
[2025-01-10 07:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 07:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 07:10:05] Production.ERROR: done
[2025-01-10 07:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 04:10:06
[end_date_ymd] => 2025-01-10 07:10:06
[RateCDR] => 1
)
[2025-01-10 07:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 04:10:06' and `end` < '2025-01-10 07:10:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 07:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14215296', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 07:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 07:10:09] Production.INFO: ProcessCDR(1,14215296,1,1,2)
[2025-01-10 07:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14215296,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14215296,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:10:09] Production.INFO: ==22460== Releasing lock...
[2025-01-10 07:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 07:10:09] Production.INFO: 26 MB #Memory Used#
[2025-01-10 07:10:13] Production.ERROR: CronJobId end10
[2025-01-10 07:10:13] Production.INFO: ==22453== Releasing lock...
[2025-01-10 07:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 07:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 07:10:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 07:10:15] Production.INFO: ============== Balance Warning START===========
[2025-01-10 07:10:15] Production.INFO: ============== Balance Warning END===========
[2025-01-10 07:10:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 07:10:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 07:10:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 07:10:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 07:10:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 07:10:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 07:10:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 07:10:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 07:10:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 07:10:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 07:10:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 07:10:15] Production.INFO: call_cost start
[2025-01-10 07:10:15] Production.INFO: call_cost end
[2025-01-10 07:10:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 07:10:16] Production.INFO: ============== Report Schedule START===========
[2025-01-10 07:10:16] Production.INFO: ============== Report Schedule END===========
[2025-01-10 07:10:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 07:10:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 07:10:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 07:10:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 07:10:16] Production.INFO: ============== Deal alert START===========
[2025-01-10 07:10:16] Production.INFO: ============== Deal alert END===========
[2025-01-10 07:10:16] Production.INFO: ==22449== Releasing lock...
[2025-01-10 07:10:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 07:10:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 07:10:21] Production.INFO: count ==55
[2025-01-10 07:10:21] Production.ERROR: pbx CDR StartTime 2025-01-10 04:10:06 - End Time 2025-01-10 07:10:06
[2025-01-10 07:10:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 07:10:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215297', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:10:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215297', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:10:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215297', 'tblTempVendorCDR_20' ) start
[2025-01-10 07:10:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215297', 'tblTempVendorCDR_20' ) end
[2025-01-10 07:10:21] Production.INFO: ProcessCDR(1,14215297,1,1,2)
[2025-01-10 07:10:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215297,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:10:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215297,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:10:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215297,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:10:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215297,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:10:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215297', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:10:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215297', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:10:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:10:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:10:24] Production.INFO: ==22457== Releasing lock...
[2025-01-10 07:10:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 07:10:24] Production.INFO: 28 MB #Memory Used#
[2025-01-10 12:11:01] Production.INFO: ==22543== Lock acquired, processing the job...
[2025-01-10 12:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 12:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 12:11:01] Production.INFO: neon service started
[2025-01-10 12:11:01] Production.INFO: neon service started
[2025-01-10 12:11:01] Production.INFO: ==22543== Releasing lock...
[2025-01-10 12:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 12:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 07:11:01] Production.INFO: ==22545== Lock acquired, processing the job...
[2025-01-10 07:11:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 07:11:02] Production.INFO: ==22545== Releasing lock...
[2025-01-10 07:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 07:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 12:11:02] Production.INFO: ==22547== Lock acquired, processing the job...
[2025-01-10 12:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 12:11:02] Production.INFO: ==22547== Releasing lock...
[2025-01-10 12:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 12:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 07:11:03] Production.INFO: ==22551== Lock acquired, processing the job...
[2025-01-10 07:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 07:11:03] Production.INFO: ==22549== Lock acquired, processing the job...
[2025-01-10 07:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 07:11:03] Production.INFO: ==22560== Lock acquired, processing the job...
[2025-01-10 07:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 07:11:03] Production.INFO: ==22551== Releasing lock...
[2025-01-10 07:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 07:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 07:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:11:03] Production.INFO: ==22553== Lock acquired, processing the job...
[2025-01-10 07:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 07:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 07:11:03] Production.INFO: ==22555== Lock acquired, processing the job...
[2025-01-10 07:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 07:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 07:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 07:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 07:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 07:11:03] Production.INFO: ==22557== Lock acquired, processing the job...
[2025-01-10 07:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 07:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:11:03] Production.INFO: Account Balance Start.
[2025-01-10 07:11:03] Production.INFO: CreateAllLog Start
[2025-01-10 07:11:03] Production.INFO: 117
[2025-01-10 07:11:03] Production.INFO: Date 2025-01-08
[2025-01-10 07:11:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:11:03] Production.INFO: count ==21
[2025-01-10 07:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:11:03] Production.INFO: count ==21
[2025-01-10 07:11:03] Production.INFO: Date 2025-01-09
[2025-01-10 07:11:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215299') start
[2025-01-10 07:11:03] Production.INFO: Date 2025-01-10
[2025-01-10 07:11:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:11:03] Production.INFO: Total Charge 0
[2025-01-10 07:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215299') end
[2025-01-10 07:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 07:11:03] Production.INFO: 1
[2025-01-10 07:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 07:11:03] Production.INFO: CreateAllLog End
[2025-01-10 07:11:03] Production.INFO: ==22560== Releasing lock...
[2025-01-10 07:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 07:11:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 07:11:03] Production.ERROR: done
[2025-01-10 07:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 07:11:04] Production.ERROR: done
[2025-01-10 07:11:04] Production.INFO: Account Balance End.
[2025-01-10 07:11:04] Production.ERROR: CronJobId end 12
[2025-01-10 07:11:04] Production.INFO: ==22555== Releasing lock...
[2025-01-10 07:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 07:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 07:11:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 04:11:04
[end_date_ymd] => 2025-01-10 07:11:04
[RateCDR] => 1
)
[2025-01-10 07:11:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 04:11:04' and `end` < '2025-01-10 07:11:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 07:11:11] Production.ERROR: CronJobId end10
[2025-01-10 07:11:11] Production.INFO: ==22553== Releasing lock...
[2025-01-10 07:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 07:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 07:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 07:11:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 07:11:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 07:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 07:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 07:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 07:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 07:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 07:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 07:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 07:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 07:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 07:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 07:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 07:11:13] Production.INFO: call_cost start
[2025-01-10 07:11:13] Production.INFO: call_cost end
[2025-01-10 07:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 07:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 07:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 07:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 07:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 07:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 07:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 07:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 07:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 07:11:14] Production.INFO: ==22549== Releasing lock...
[2025-01-10 07:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 07:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 07:11:20] Production.INFO: count ==55
[2025-01-10 07:11:20] Production.ERROR: pbx CDR StartTime 2025-01-10 04:11:04 - End Time 2025-01-10 07:11:04
[2025-01-10 07:11:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 07:11:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215302', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:11:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215302', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:11:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215302', 'tblTempVendorCDR_20' ) start
[2025-01-10 07:11:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215302', 'tblTempVendorCDR_20' ) end
[2025-01-10 07:11:20] Production.INFO: ProcessCDR(1,14215302,1,1,2)
[2025-01-10 07:11:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215302,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:11:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215302,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:11:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215302,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:11:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215302,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215302', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215302', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:11:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:11:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:11:23] Production.INFO: ==22557== Releasing lock...
[2025-01-10 07:11:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 07:11:23] Production.INFO: 28 MB #Memory Used#
[2025-01-10 12:12:02] Production.INFO: ==22714== Lock acquired, processing the job...
[2025-01-10 12:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 12:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 12:12:02] Production.INFO: neon service started
[2025-01-10 12:12:02] Production.INFO: neon service started
[2025-01-10 12:12:02] Production.INFO: ==22714== Releasing lock...
[2025-01-10 12:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 12:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 12:12:02] Production.INFO: ==22718== Lock acquired, processing the job...
[2025-01-10 12:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 12:12:02] Production.INFO: ==22718== Releasing lock...
[2025-01-10 12:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 12:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 07:12:02] Production.INFO: ==22716== Lock acquired, processing the job...
[2025-01-10 07:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 07:12:02] Production.INFO: ==22716== Releasing lock...
[2025-01-10 07:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 07:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:12:03] Production.INFO: ==22721== Lock acquired, processing the job...
[2025-01-10 07:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 07:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 07:12:03] Production.INFO: ==22727== Lock acquired, processing the job...
[2025-01-10 07:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 07:12:03] Production.INFO: ==22729== Lock acquired, processing the job...
[2025-01-10 07:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 07:12:03] Production.INFO: ==22723== Lock acquired, processing the job...
[2025-01-10 07:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 07:12:03] Production.INFO: ==22725== Lock acquired, processing the job...
[2025-01-10 07:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 07:12:03] Production.INFO: Account Balance Start.
[2025-01-10 07:12:03] Production.INFO: CreateAllLog Start
[2025-01-10 07:12:03] Production.INFO: 117
[2025-01-10 07:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:12:03] Production.INFO: Date 2025-01-08
[2025-01-10 07:12:03] Production.INFO: ==22731== Lock acquired, processing the job...
[2025-01-10 07:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 07:12:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:12:03] Production.INFO: Date 2025-01-09
[2025-01-10 07:12:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:12:03] Production.INFO: Date 2025-01-10
[2025-01-10 07:12:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 07:12:04] Production.INFO: Total Charge 0
[2025-01-10 07:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 07:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 07:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 07:12:04] Production.INFO: CreateAllLog End
[2025-01-10 07:12:04] Production.INFO: count ==21
[2025-01-10 07:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:12:04] Production.INFO: count ==21
[2025-01-10 07:12:04] Production.ERROR: done
[2025-01-10 07:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 07:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215306') start
[2025-01-10 07:12:04] Production.INFO: ==22723== Releasing lock...
[2025-01-10 07:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 07:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 07:12:04] Production.ERROR: done
[2025-01-10 07:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215306') end
[2025-01-10 07:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 07:12:04] Production.INFO: 1
[2025-01-10 07:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 07:12:04] Production.INFO: Account Balance End.
[2025-01-10 07:12:04] Production.INFO: ==22731== Releasing lock...
[2025-01-10 07:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 07:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 07:12:04] Production.ERROR: CronJobId end 12
[2025-01-10 07:12:04] Production.INFO: ==22727== Releasing lock...
[2025-01-10 07:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 07:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 07:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 04:12:05
[end_date_ymd] => 2025-01-10 07:12:05
[RateCDR] => 1
)
[2025-01-10 07:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 04:12:05' and `end` < '2025-01-10 07:12:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 07:12:11] Production.ERROR: CronJobId end10
[2025-01-10 07:12:11] Production.INFO: ==22725== Releasing lock...
[2025-01-10 07:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 07:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 07:12:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 07:12:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 07:12:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 07:12:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 07:12:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 07:12:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 07:12:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 07:12:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 07:12:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 07:12:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 07:12:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 07:12:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 07:12:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 07:12:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 07:12:13] Production.INFO: call_cost start
[2025-01-10 07:12:13] Production.INFO: call_cost end
[2025-01-10 07:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 07:12:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 07:12:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 07:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 07:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 07:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 07:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 07:12:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 07:12:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 07:12:14] Production.INFO: ==22721== Releasing lock...
[2025-01-10 07:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 07:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 07:12:20] Production.INFO: count ==55
[2025-01-10 07:12:20] Production.ERROR: pbx CDR StartTime 2025-01-10 04:12:05 - End Time 2025-01-10 07:12:05
[2025-01-10 07:12:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 07:12:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215307', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:12:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215307', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:12:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215307', 'tblTempVendorCDR_20' ) start
[2025-01-10 07:12:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215307', 'tblTempVendorCDR_20' ) end
[2025-01-10 07:12:20] Production.INFO: ProcessCDR(1,14215307,1,1,2)
[2025-01-10 07:12:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215307,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:12:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215307,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:12:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215307,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:12:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215307,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:12:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215307', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:12:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215307', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:12:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:12:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:12:23] Production.INFO: ==22729== Releasing lock...
[2025-01-10 07:12:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 07:12:23] Production.INFO: 28 MB #Memory Used#
[2025-01-10 12:13:01] Production.INFO: ==22804== Lock acquired, processing the job...
[2025-01-10 12:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 12:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 12:13:01] Production.INFO: neon service started
[2025-01-10 12:13:01] Production.INFO: neon service started
[2025-01-10 12:13:01] Production.INFO: ==22804== Releasing lock...
[2025-01-10 12:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 12:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 07:13:02] Production.INFO: ==22806== Lock acquired, processing the job...
[2025-01-10 07:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:13:02] Production.INFO: ==22808== Lock acquired, processing the job...
[2025-01-10 12:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 12:13:02] Production.INFO: ==22808== Releasing lock...
[2025-01-10 12:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 12:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 07:13:02] Production.INFO: ==22806== Releasing lock...
[2025-01-10 07:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 07:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:13:03] Production.INFO: ==22811== Lock acquired, processing the job...
[2025-01-10 07:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 07:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 07:13:03] Production.INFO: ==22819== Lock acquired, processing the job...
[2025-01-10 07:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 07:13:03] Production.INFO: ==22823== Lock acquired, processing the job...
[2025-01-10 07:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 07:13:03] Production.INFO: Account Balance Start.
[2025-01-10 07:13:03] Production.INFO: CreateAllLog Start
[2025-01-10 07:13:03] Production.INFO: 117
[2025-01-10 07:13:03] Production.INFO: Date 2025-01-08
[2025-01-10 07:13:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:13:03] Production.INFO: Date 2025-01-09
[2025-01-10 07:13:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:13:03] Production.INFO: Date 2025-01-10
[2025-01-10 07:13:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:13:03] Production.INFO: Total Charge 0
[2025-01-10 07:13:03] Production.INFO: CreateAllLog End
[2025-01-10 07:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:13:03] Production.INFO: ==22816== Lock acquired, processing the job...
[2025-01-10 07:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 07:13:03] Production.INFO: ==22813== Lock acquired, processing the job...
[2025-01-10 07:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 07:13:03] Production.INFO: count ==21
[2025-01-10 07:13:03] Production.INFO: ==22821== Lock acquired, processing the job...
[2025-01-10 07:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 07:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:13:03] Production.INFO: count ==21
[2025-01-10 07:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215310') start
[2025-01-10 07:13:03] Production.INFO: Account Balance End.
[2025-01-10 07:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 07:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 07:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 07:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 07:13:03] Production.ERROR: CronJobId end 12
[2025-01-10 07:13:03] Production.INFO: ==22819== Releasing lock...
[2025-01-10 07:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 07:13:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 07:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215310') end
[2025-01-10 07:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 07:13:03] Production.INFO: 1
[2025-01-10 07:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 07:13:03] Production.INFO: ==22823== Releasing lock...
[2025-01-10 07:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 07:13:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 07:13:03] Production.ERROR: done
[2025-01-10 07:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 07:13:04] Production.INFO: ==22813== Releasing lock...
[2025-01-10 07:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 07:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 07:13:04] Production.ERROR: done
[2025-01-10 07:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 04:13:05
[end_date_ymd] => 2025-01-10 07:13:05
[RateCDR] => 1
)
[2025-01-10 07:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 04:13:05' and `end` < '2025-01-10 07:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 07:13:10] Production.ERROR: CronJobId end10
[2025-01-10 07:13:10] Production.INFO: ==22816== Releasing lock...
[2025-01-10 07:13:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 07:13:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 07:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 07:13:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 07:13:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 07:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 07:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 07:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 07:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 07:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 07:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 07:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 07:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 07:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 07:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 07:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 07:13:13] Production.INFO: call_cost start
[2025-01-10 07:13:13] Production.INFO: call_cost end
[2025-01-10 07:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 07:13:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 07:13:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 07:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 07:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 07:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 07:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 07:13:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 07:13:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 07:13:14] Production.INFO: ==22811== Releasing lock...
[2025-01-10 07:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 07:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 07:13:20] Production.INFO: count ==55
[2025-01-10 07:13:20] Production.ERROR: pbx CDR StartTime 2025-01-10 04:13:05 - End Time 2025-01-10 07:13:05
[2025-01-10 07:13:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 07:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215312', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215312', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215312', 'tblTempVendorCDR_20' ) start
[2025-01-10 07:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215312', 'tblTempVendorCDR_20' ) end
[2025-01-10 07:13:20] Production.INFO: ProcessCDR(1,14215312,1,1,2)
[2025-01-10 07:13:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215312,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:13:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215312,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:13:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215312,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:13:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215312,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215312', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215312', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:13:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:13:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:13:23] Production.INFO: ==22821== Releasing lock...
[2025-01-10 07:13:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 07:13:23] Production.INFO: 28 MB #Memory Used#
[2025-01-10 12:14:01] Production.INFO: ==22901== Lock acquired, processing the job...
[2025-01-10 12:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 12:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 12:14:01] Production.INFO: neon service started
[2025-01-10 12:14:01] Production.INFO: neon service started
[2025-01-10 12:14:01] Production.INFO: ==22901== Releasing lock...
[2025-01-10 12:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 12:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 07:14:02] Production.INFO: ==22903== Lock acquired, processing the job...
[2025-01-10 07:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 07:14:02] Production.INFO: ==22903== Releasing lock...
[2025-01-10 07:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 07:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 12:14:02] Production.INFO: ==22905== Lock acquired, processing the job...
[2025-01-10 12:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 12:14:02] Production.INFO: ==22905== Releasing lock...
[2025-01-10 12:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 12:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 07:14:03] Production.INFO: ==22916== Lock acquired, processing the job...
[2025-01-10 07:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 07:14:03] Production.INFO: ==22918== Lock acquired, processing the job...
[2025-01-10 07:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 07:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:14:03] Production.INFO: count ==21
[2025-01-10 07:14:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:14:03] Production.INFO: count ==21
[2025-01-10 07:14:03] Production.INFO: ==22908== Lock acquired, processing the job...
[2025-01-10 07:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 07:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215313') start
[2025-01-10 07:14:03] Production.INFO: ==22910== Lock acquired, processing the job...
[2025-01-10 07:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 07:14:03] Production.INFO: ==22912== Lock acquired, processing the job...
[2025-01-10 07:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 07:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 07:14:03] Production.INFO: ==22914== Lock acquired, processing the job...
[2025-01-10 07:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 07:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215313') end
[2025-01-10 07:14:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 07:14:03] Production.INFO: 1
[2025-01-10 07:14:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 07:14:03] Production.INFO: ==22918== Releasing lock...
[2025-01-10 07:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 07:14:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 07:14:03] Production.ERROR: done
[2025-01-10 07:14:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 07:14:03] Production.INFO: Account Balance Start.
[2025-01-10 07:14:03] Production.INFO: CreateAllLog Start
[2025-01-10 07:14:03] Production.INFO: 117
[2025-01-10 07:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 07:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 07:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 07:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 07:14:03] Production.INFO: Date 2025-01-08
[2025-01-10 07:14:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:14:04] Production.INFO: Date 2025-01-09
[2025-01-10 07:14:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:14:04] Production.INFO: Date 2025-01-10
[2025-01-10 07:14:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:14:04] Production.INFO: Total Charge 0
[2025-01-10 07:14:04] Production.ERROR: done
[2025-01-10 07:14:04] Production.INFO: CreateAllLog End
[2025-01-10 07:14:04] Production.INFO: ==22910== Releasing lock...
[2025-01-10 07:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 07:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 07:14:04] Production.INFO: Account Balance End.
[2025-01-10 07:14:04] Production.ERROR: CronJobId end 12
[2025-01-10 07:14:04] Production.INFO: ==22914== Releasing lock...
[2025-01-10 07:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 07:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 07:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 04:14:05
[end_date_ymd] => 2025-01-10 07:14:05
[RateCDR] => 1
)
[2025-01-10 07:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 04:14:05' and `end` < '2025-01-10 07:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 07:14:11] Production.ERROR: CronJobId end10
[2025-01-10 07:14:11] Production.INFO: ==22912== Releasing lock...
[2025-01-10 07:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 07:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 07:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 07:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 07:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 07:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 07:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 07:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 07:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 07:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 07:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 07:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 07:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 07:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 07:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 07:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 07:14:13] Production.INFO: call_cost start
[2025-01-10 07:14:13] Production.INFO: call_cost end
[2025-01-10 07:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 07:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 07:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 07:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 07:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 07:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 07:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 07:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 07:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 07:14:14] Production.INFO: ==22908== Releasing lock...
[2025-01-10 07:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 07:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 07:14:20] Production.INFO: count ==55
[2025-01-10 07:14:20] Production.ERROR: pbx CDR StartTime 2025-01-10 04:14:05 - End Time 2025-01-10 07:14:05
[2025-01-10 07:14:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 07:14:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215317', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:14:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215317', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:14:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215317', 'tblTempVendorCDR_20' ) start
[2025-01-10 07:14:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215317', 'tblTempVendorCDR_20' ) end
[2025-01-10 07:14:20] Production.INFO: ProcessCDR(1,14215317,1,1,2)
[2025-01-10 07:14:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215317,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:14:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215317,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:14:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215317,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:14:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215317,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:14:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215317', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:14:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215317', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:14:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:14:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:14:23] Production.INFO: ==22916== Releasing lock...
[2025-01-10 07:14:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 07:14:23] Production.INFO: 28 MB #Memory Used#
[2025-01-10 12:15:01] Production.INFO: ==23069== Lock acquired, processing the job...
[2025-01-10 12:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 12:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 12:15:01] Production.INFO: neon service started
[2025-01-10 12:15:01] Production.INFO: neon service started
[2025-01-10 12:15:01] Production.INFO: ==23069== Releasing lock...
[2025-01-10 12:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 12:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 12:15:01] Production.INFO: ==23073== Lock acquired, processing the job...
[2025-01-10 12:15:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 12:15:01] Production.INFO: ==23073== Releasing lock...
[2025-01-10 12:15:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 12:15:01] Production.INFO: 25 MB #Memory Used#
[2025-01-10 07:15:02] Production.INFO: ==23071== Lock acquired, processing the job...
[2025-01-10 07:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 07:15:02] Production.INFO: ==23071== Releasing lock...
[2025-01-10 07:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 07:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:15:03] Production.INFO: ==23076== Lock acquired, processing the job...
[2025-01-10 07:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 07:15:03] Production.INFO: ==23080== Lock acquired, processing the job...
[2025-01-10 07:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 07:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 07:15:03] Production.INFO: ==23084== Lock acquired, processing the job...
[2025-01-10 07:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 07:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 07:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 07:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 07:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 07:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:15:03] Production.INFO: ==23078== Lock acquired, processing the job...
[2025-01-10 07:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 07:15:03] Production.INFO: ==23086== Lock acquired, processing the job...
[2025-01-10 07:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 07:15:03] Production.INFO: ==23082== Lock acquired, processing the job...
[2025-01-10 07:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 07:15:03] Production.ERROR: done
[2025-01-10 07:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 07:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:15:03] Production.INFO: count ==21
[2025-01-10 07:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:15:03] Production.INFO: Account Balance Start.
[2025-01-10 07:15:03] Production.INFO: CreateAllLog Start
[2025-01-10 07:15:03] Production.INFO: count ==21
[2025-01-10 07:15:03] Production.INFO: 117
[2025-01-10 07:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215319') start
[2025-01-10 07:15:03] Production.ERROR: done
[2025-01-10 07:15:03] Production.INFO: Date 2025-01-08
[2025-01-10 07:15:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:15:03] Production.INFO: Date 2025-01-09
[2025-01-10 07:15:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215319') end
[2025-01-10 07:15:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 07:15:03] Production.INFO: 1
[2025-01-10 07:15:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 07:15:03] Production.INFO: ==23086== Releasing lock...
[2025-01-10 07:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 07:15:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 07:15:03] Production.INFO: Date 2025-01-10
[2025-01-10 07:15:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:15:03] Production.INFO: Total Charge 0
[2025-01-10 07:15:03] Production.INFO: CreateAllLog End
[2025-01-10 07:15:03] Production.INFO: ==23078== Releasing lock...
[2025-01-10 07:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 07:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 07:15:03] Production.INFO: Account Balance End.
[2025-01-10 07:15:04] Production.ERROR: CronJobId end 12
[2025-01-10 07:15:04] Production.INFO: ==23082== Releasing lock...
[2025-01-10 07:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 07:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 07:15:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 04:15:04
[end_date_ymd] => 2025-01-10 07:15:04
[RateCDR] => 1
)
[2025-01-10 07:15:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 04:15:04' and `end` < '2025-01-10 07:15:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 07:15:10] Production.ERROR: CronJobId end10
[2025-01-10 07:15:10] Production.INFO: ==23080== Releasing lock...
[2025-01-10 07:15:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 07:15:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 07:15:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 07:15:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 07:15:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 07:15:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 07:15:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 07:15:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 07:15:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 07:15:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 07:15:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 07:15:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 07:15:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 07:15:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 07:15:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 07:15:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 07:15:12] Production.INFO: call_cost start
[2025-01-10 07:15:12] Production.INFO: call_cost end
[2025-01-10 07:15:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 07:15:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 07:15:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 07:15:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 07:15:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 07:15:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 07:15:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 07:15:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 07:15:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 07:15:13] Production.INFO: ==23076== Releasing lock...
[2025-01-10 07:15:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 07:15:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 07:15:19] Production.INFO: count ==55
[2025-01-10 07:15:19] Production.ERROR: pbx CDR StartTime 2025-01-10 04:15:04 - End Time 2025-01-10 07:15:04
[2025-01-10 07:15:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 07:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215322', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215322', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215322', 'tblTempVendorCDR_20' ) start
[2025-01-10 07:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215322', 'tblTempVendorCDR_20' ) end
[2025-01-10 07:15:19] Production.INFO: ProcessCDR(1,14215322,1,1,2)
[2025-01-10 07:15:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215322,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:15:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215322,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:15:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215322,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:15:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215322,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215322', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215322', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:15:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:15:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:15:22] Production.INFO: ==23084== Releasing lock...
[2025-01-10 07:15:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 07:15:22] Production.INFO: 28 MB #Memory Used#
[2025-01-10 12:16:01] Production.INFO: ==23163== Lock acquired, processing the job...
[2025-01-10 12:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 12:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 12:16:01] Production.INFO: neon service started
[2025-01-10 12:16:01] Production.INFO: neon service started
[2025-01-10 12:16:01] Production.INFO: ==23163== Releasing lock...
[2025-01-10 12:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 12:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 07:16:02] Production.INFO: ==23165== Lock acquired, processing the job...
[2025-01-10 07:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:16:02] Production.INFO: ==23167== Lock acquired, processing the job...
[2025-01-10 12:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 12:16:02] Production.INFO: ==23167== Releasing lock...
[2025-01-10 12:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 12:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 07:16:02] Production.INFO: ==23165== Releasing lock...
[2025-01-10 07:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 07:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:16:03] Production.INFO: ==23174== Lock acquired, processing the job...
[2025-01-10 07:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 07:16:03] Production.INFO: ==23176== Lock acquired, processing the job...
[2025-01-10 07:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 07:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 07:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 07:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 07:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 07:16:03] Production.INFO: Account Balance Start.
[2025-01-10 07:16:03] Production.INFO: CreateAllLog Start
[2025-01-10 07:16:03] Production.INFO: 117
[2025-01-10 07:16:03] Production.INFO: Date 2025-01-08
[2025-01-10 07:16:03] Production.INFO: ==23170== Lock acquired, processing the job...
[2025-01-10 07:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 07:16:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:16:03] Production.INFO: ==23172== Lock acquired, processing the job...
[2025-01-10 07:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 07:16:03] Production.INFO: Date 2025-01-09
[2025-01-10 07:16:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:16:04] Production.INFO: Date 2025-01-10
[2025-01-10 07:16:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:16:04] Production.INFO: Total Charge 0
[2025-01-10 07:16:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 07:16:04] Production.INFO: CreateAllLog End
[2025-01-10 07:16:04] Production.INFO: ==23180== Lock acquired, processing the job...
[2025-01-10 07:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 07:16:04] Production.INFO: ==23182== Lock acquired, processing the job...
[2025-01-10 07:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 07:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:16:04] Production.INFO: Account Balance End.
[2025-01-10 07:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:16:04] Production.ERROR: CronJobId end 12
[2025-01-10 07:16:04] Production.INFO: ==23176== Releasing lock...
[2025-01-10 07:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 07:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 07:16:04] Production.INFO: ==23172== Releasing lock...
[2025-01-10 07:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 07:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 07:16:04] Production.ERROR: done
[2025-01-10 07:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 07:16:04] Production.INFO: count ==21
[2025-01-10 07:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:16:04] Production.INFO: count ==21
[2025-01-10 07:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215326') start
[2025-01-10 07:16:04] Production.ERROR: done
[2025-01-10 07:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215326') end
[2025-01-10 07:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 07:16:04] Production.INFO: 1
[2025-01-10 07:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 07:16:04] Production.INFO: ==23182== Releasing lock...
[2025-01-10 07:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 07:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 07:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 04:16:05
[end_date_ymd] => 2025-01-10 07:16:05
[RateCDR] => 1
)
[2025-01-10 07:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 04:16:05' and `end` < '2025-01-10 07:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 07:16:11] Production.ERROR: CronJobId end10
[2025-01-10 07:16:11] Production.INFO: ==23174== Releasing lock...
[2025-01-10 07:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 07:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 07:16:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 07:16:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 07:16:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 07:16:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 07:16:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 07:16:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 07:16:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 07:16:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 07:16:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 07:16:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 07:16:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 07:16:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 07:16:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 07:16:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 07:16:14] Production.INFO: call_cost start
[2025-01-10 07:16:14] Production.INFO: call_cost end
[2025-01-10 07:16:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 07:16:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 07:16:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 07:16:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 07:16:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 07:16:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 07:16:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 07:16:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 07:16:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 07:16:15] Production.INFO: ==23170== Releasing lock...
[2025-01-10 07:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 07:16:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 07:16:19] Production.INFO: count ==55
[2025-01-10 07:16:19] Production.ERROR: pbx CDR StartTime 2025-01-10 04:16:05 - End Time 2025-01-10 07:16:05
[2025-01-10 07:16:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 07:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215327', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:16:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215327', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:16:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215327', 'tblTempVendorCDR_20' ) start
[2025-01-10 07:16:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215327', 'tblTempVendorCDR_20' ) end
[2025-01-10 07:16:20] Production.INFO: ProcessCDR(1,14215327,1,1,2)
[2025-01-10 07:16:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215327,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:16:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215327,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:16:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215327,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:16:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215327,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215327', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215327', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:16:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:16:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:16:23] Production.INFO: ==23180== Releasing lock...
[2025-01-10 07:16:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 07:16:23] Production.INFO: 28 MB #Memory Used#
[2025-01-10 12:17:02] Production.INFO: ==23258== Lock acquired, processing the job...
[2025-01-10 12:17:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 12:17:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 12:17:02] Production.INFO: neon service started
[2025-01-10 12:17:02] Production.INFO: neon service started
[2025-01-10 12:17:02] Production.INFO: ==23258== Releasing lock...
[2025-01-10 12:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 12:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 07:17:02] Production.INFO: ==23261== Lock acquired, processing the job...
[2025-01-10 07:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 07:17:03] Production.INFO: ==23261== Releasing lock...
[2025-01-10 07:17:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 07:17:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 12:17:03] Production.INFO: ==23263== Lock acquired, processing the job...
[2025-01-10 12:17:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 12:17:03] Production.INFO: ==23263== Releasing lock...
[2025-01-10 12:17:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 12:17:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 07:17:03] Production.INFO: ==23271== Lock acquired, processing the job...
[2025-01-10 07:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 07:17:03] Production.INFO: ==23265== Lock acquired, processing the job...
[2025-01-10 07:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 07:17:04] Production.INFO: ==23275== Lock acquired, processing the job...
[2025-01-10 07:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 07:17:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 07:17:04] Production.INFO: Account Balance Start.
[2025-01-10 07:17:04] Production.INFO: CreateAllLog Start
[2025-01-10 07:17:04] Production.INFO: 117
[2025-01-10 07:17:04] Production.INFO: Date 2025-01-08
[2025-01-10 07:17:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:17:04] Production.INFO: ==23267== Lock acquired, processing the job...
[2025-01-10 07:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 07:17:04] Production.INFO: ==23269== Lock acquired, processing the job...
[2025-01-10 07:17:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 07:17:04] Production.INFO: Date 2025-01-09
[2025-01-10 07:17:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:17:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:17:04] Production.INFO: ==23273== Lock acquired, processing the job...
[2025-01-10 07:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 07:17:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:17:04] Production.INFO: Date 2025-01-10
[2025-01-10 07:17:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 07:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 07:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 07:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 07:17:04] Production.INFO: Total Charge 0
[2025-01-10 07:17:04] Production.INFO: CreateAllLog End
[2025-01-10 07:17:04] Production.INFO: count ==21
[2025-01-10 07:17:04] Production.INFO: ==23267== Releasing lock...
[2025-01-10 07:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 07:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 07:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:17:04] Production.INFO: count ==21
[2025-01-10 07:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215330') start
[2025-01-10 07:17:04] Production.INFO: Account Balance End.
[2025-01-10 07:17:04] Production.ERROR: done
[2025-01-10 07:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 07:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215330') end
[2025-01-10 07:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 07:17:04] Production.INFO: 1
[2025-01-10 07:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 07:17:04] Production.ERROR: CronJobId end 12
[2025-01-10 07:17:04] Production.INFO: ==23271== Releasing lock...
[2025-01-10 07:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 07:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 07:17:04] Production.INFO: ==23275== Releasing lock...
[2025-01-10 07:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 07:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 07:17:04] Production.ERROR: done
[2025-01-10 07:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 04:17:05
[end_date_ymd] => 2025-01-10 07:17:05
[RateCDR] => 1
)
[2025-01-10 07:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 04:17:05' and `end` < '2025-01-10 07:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 07:17:11] Production.ERROR: CronJobId end10
[2025-01-10 07:17:11] Production.INFO: ==23269== Releasing lock...
[2025-01-10 07:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 07:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 07:17:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 07:17:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 07:17:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 07:17:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 07:17:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 07:17:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 07:17:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 07:17:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 07:17:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 07:17:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 07:17:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 07:17:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 07:17:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 07:17:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 07:17:14] Production.INFO: call_cost start
[2025-01-10 07:17:14] Production.INFO: call_cost end
[2025-01-10 07:17:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 07:17:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 07:17:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 07:17:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 07:17:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 07:17:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 07:17:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 07:17:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 07:17:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 07:17:14] Production.INFO: ==23265== Releasing lock...
[2025-01-10 07:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 07:17:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 07:17:21] Production.INFO: count ==55
[2025-01-10 07:17:21] Production.ERROR: pbx CDR StartTime 2025-01-10 04:17:05 - End Time 2025-01-10 07:17:05
[2025-01-10 07:17:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 07:17:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215332', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:17:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215332', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:17:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215332', 'tblTempVendorCDR_20' ) start
[2025-01-10 07:17:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215332', 'tblTempVendorCDR_20' ) end
[2025-01-10 07:17:21] Production.INFO: ProcessCDR(1,14215332,1,1,2)
[2025-01-10 07:17:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215332,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:17:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215332,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:17:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215332,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:17:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215332,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:17:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215332', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:17:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215332', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:17:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:17:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:17:25] Production.INFO: ==23273== Releasing lock...
[2025-01-10 07:17:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 07:17:25] Production.INFO: 28 MB #Memory Used#
[2025-01-10 12:18:01] Production.INFO: ==23391== Lock acquired, processing the job...
[2025-01-10 12:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 12:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 12:18:01] Production.INFO: neon service started
[2025-01-10 12:18:01] Production.INFO: neon service started
[2025-01-10 12:18:01] Production.INFO: ==23391== Releasing lock...
[2025-01-10 12:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 12:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 07:18:02] Production.INFO: ==23393== Lock acquired, processing the job...
[2025-01-10 07:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:18:02] Production.INFO: ==23395== Lock acquired, processing the job...
[2025-01-10 12:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 12:18:02] Production.INFO: ==23395== Releasing lock...
[2025-01-10 12:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 12:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 07:18:02] Production.INFO: ==23393== Releasing lock...
[2025-01-10 07:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 07:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:18:03] Production.INFO: ==23400== Lock acquired, processing the job...
[2025-01-10 07:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 07:18:03] Production.INFO: ==23404== Lock acquired, processing the job...
[2025-01-10 07:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 07:18:03] Production.INFO: ==23398== Lock acquired, processing the job...
[2025-01-10 07:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 07:18:03] Production.INFO: Account Balance Start.
[2025-01-10 07:18:03] Production.INFO: CreateAllLog Start
[2025-01-10 07:18:03] Production.INFO: 117
[2025-01-10 07:18:03] Production.INFO: Date 2025-01-08
[2025-01-10 07:18:03] Production.INFO: ==23402== Lock acquired, processing the job...
[2025-01-10 07:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 07:18:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 07:18:03] Production.INFO: ==23406== Lock acquired, processing the job...
[2025-01-10 07:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 07:18:03] Production.INFO: Date 2025-01-09
[2025-01-10 07:18:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 07:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 07:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 07:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 07:18:03] Production.INFO: ==23408== Lock acquired, processing the job...
[2025-01-10 07:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 07:18:03] Production.INFO: Date 2025-01-10
[2025-01-10 07:18:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:18:03] Production.INFO: Total Charge 0
[2025-01-10 07:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:18:03] Production.INFO: CreateAllLog End
[2025-01-10 07:18:03] Production.INFO: ==23400== Releasing lock...
[2025-01-10 07:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 07:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 07:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:18:04] Production.INFO: count ==21
[2025-01-10 07:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:18:04] Production.INFO: count ==21
[2025-01-10 07:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215336') start
[2025-01-10 07:18:04] Production.INFO: Account Balance End.
[2025-01-10 07:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215336') end
[2025-01-10 07:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 07:18:04] Production.INFO: 1
[2025-01-10 07:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 07:18:04] Production.ERROR: done
[2025-01-10 07:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 07:18:04] Production.ERROR: CronJobId end 12
[2025-01-10 07:18:04] Production.INFO: ==23404== Releasing lock...
[2025-01-10 07:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 07:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 07:18:04] Production.INFO: ==23408== Releasing lock...
[2025-01-10 07:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 07:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 07:18:04] Production.ERROR: done
[2025-01-10 07:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 04:18:05
[end_date_ymd] => 2025-01-10 07:18:05
[RateCDR] => 1
)
[2025-01-10 07:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 04:18:05' and `end` < '2025-01-10 07:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 07:18:12] Production.ERROR: CronJobId end10
[2025-01-10 07:18:12] Production.INFO: ==23402== Releasing lock...
[2025-01-10 07:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 07:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 07:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 07:18:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 07:18:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 07:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 07:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 07:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 07:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 07:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 07:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 07:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 07:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 07:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 07:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 07:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 07:18:13] Production.INFO: call_cost start
[2025-01-10 07:18:13] Production.INFO: call_cost end
[2025-01-10 07:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 07:18:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 07:18:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 07:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 07:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 07:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 07:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 07:18:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 07:18:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 07:18:14] Production.INFO: ==23398== Releasing lock...
[2025-01-10 07:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 07:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 07:18:21] Production.INFO: count ==55
[2025-01-10 07:18:21] Production.ERROR: pbx CDR StartTime 2025-01-10 04:18:05 - End Time 2025-01-10 07:18:05
[2025-01-10 07:18:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 07:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215337', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215337', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215337', 'tblTempVendorCDR_20' ) start
[2025-01-10 07:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215337', 'tblTempVendorCDR_20' ) end
[2025-01-10 07:18:21] Production.INFO: ProcessCDR(1,14215337,1,1,2)
[2025-01-10 07:18:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215337,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:18:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215337,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:18:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215337,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:18:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215337,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:18:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215337', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:18:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215337', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:18:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:18:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:18:24] Production.INFO: ==23406== Releasing lock...
[2025-01-10 07:18:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 07:18:24] Production.INFO: 28 MB #Memory Used#
[2025-01-10 12:19:02] Production.INFO: ==23484== Lock acquired, processing the job...
[2025-01-10 12:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 12:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 12:19:02] Production.INFO: neon service started
[2025-01-10 12:19:02] Production.INFO: neon service started
[2025-01-10 12:19:02] Production.INFO: ==23484== Releasing lock...
[2025-01-10 12:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 12:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 12:19:02] Production.INFO: ==23488== Lock acquired, processing the job...
[2025-01-10 12:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 12:19:02] Production.INFO: ==23488== Releasing lock...
[2025-01-10 12:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 12:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 07:19:02] Production.INFO: ==23486== Lock acquired, processing the job...
[2025-01-10 07:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 07:19:03] Production.INFO: ==23486== Releasing lock...
[2025-01-10 07:19:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 07:19:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:19:03] Production.INFO: ==23494== Lock acquired, processing the job...
[2025-01-10 07:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 07:19:03] Production.INFO: ==23496== Lock acquired, processing the job...
[2025-01-10 07:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 07:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 07:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 07:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 07:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 07:19:03] Production.INFO: ==23500== Lock acquired, processing the job...
[2025-01-10 07:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 07:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:19:04] Production.INFO: ==23492== Lock acquired, processing the job...
[2025-01-10 07:19:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 07:19:04] Production.INFO: ==23494== Releasing lock...
[2025-01-10 07:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 07:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 07:19:04] Production.INFO: ==23498== Lock acquired, processing the job...
[2025-01-10 07:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 07:19:04] Production.INFO: ==23502== Lock acquired, processing the job...
[2025-01-10 07:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 07:19:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 07:19:04] Production.INFO: Account Balance Start.
[2025-01-10 07:19:04] Production.INFO: CreateAllLog Start
[2025-01-10 07:19:04] Production.INFO: 117
[2025-01-10 07:19:04] Production.ERROR: done
[2025-01-10 07:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 07:19:04] Production.INFO: Date 2025-01-08
[2025-01-10 07:19:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:19:04] Production.INFO: Date 2025-01-09
[2025-01-10 07:19:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:19:04] Production.INFO: Date 2025-01-10
[2025-01-10 07:19:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:19:04] Production.ERROR: done
[2025-01-10 07:19:04] Production.INFO: Total Charge 0
[2025-01-10 07:19:04] Production.INFO: CreateAllLog End
[2025-01-10 07:19:04] Production.INFO: count ==21
[2025-01-10 07:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:19:04] Production.INFO: count ==21
[2025-01-10 07:19:04] Production.INFO: Account Balance End.
[2025-01-10 07:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215341') start
[2025-01-10 07:19:04] Production.ERROR: CronJobId end 12
[2025-01-10 07:19:04] Production.INFO: ==23498== Releasing lock...
[2025-01-10 07:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 07:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 07:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215341') end
[2025-01-10 07:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 07:19:04] Production.INFO: 1
[2025-01-10 07:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 07:19:04] Production.INFO: ==23502== Releasing lock...
[2025-01-10 07:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 07:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 07:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 04:19:05
[end_date_ymd] => 2025-01-10 07:19:05
[RateCDR] => 1
)
[2025-01-10 07:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 04:19:05' and `end` < '2025-01-10 07:19:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 07:19:11] Production.ERROR: CronJobId end10
[2025-01-10 07:19:11] Production.INFO: ==23496== Releasing lock...
[2025-01-10 07:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 07:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 07:19:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 07:19:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 07:19:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 07:19:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 07:19:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 07:19:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 07:19:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 07:19:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 07:19:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 07:19:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 07:19:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 07:19:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 07:19:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 07:19:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 07:19:14] Production.INFO: call_cost start
[2025-01-10 07:19:14] Production.INFO: call_cost end
[2025-01-10 07:19:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 07:19:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 07:19:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 07:19:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 07:19:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 07:19:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 07:19:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 07:19:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 07:19:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 07:19:15] Production.INFO: ==23492== Releasing lock...
[2025-01-10 07:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 07:19:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 07:19:18] Production.INFO: count ==55
[2025-01-10 07:19:18] Production.ERROR: pbx CDR StartTime 2025-01-10 04:19:05 - End Time 2025-01-10 07:19:05
[2025-01-10 07:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 07:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215342', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215342', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215342', 'tblTempVendorCDR_20' ) start
[2025-01-10 07:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215342', 'tblTempVendorCDR_20' ) end
[2025-01-10 07:19:18] Production.INFO: ProcessCDR(1,14215342,1,1,2)
[2025-01-10 07:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215342,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215342,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215342,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215342,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215342', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215342', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:19:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:19:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:19:21] Production.INFO: ==23500== Releasing lock...
[2025-01-10 07:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 07:19:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 12:20:01] Production.INFO: ==23581== Lock acquired, processing the job...
[2025-01-10 12:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 12:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 12:20:01] Production.INFO: neon service started
[2025-01-10 12:20:01] Production.INFO: neon service started
[2025-01-10 12:20:01] Production.INFO: ==23581== Releasing lock...
[2025-01-10 12:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 12:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 07:20:02] Production.INFO: ==23583== Lock acquired, processing the job...
[2025-01-10 07:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:20:02] Production.INFO: ==23585== Lock acquired, processing the job...
[2025-01-10 12:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 12:20:02] Production.INFO: ==23585== Releasing lock...
[2025-01-10 12:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 12:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 07:20:02] Production.INFO: ==23583== Releasing lock...
[2025-01-10 07:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 07:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:20:03] Production.INFO: ==23588== Lock acquired, processing the job...
[2025-01-10 07:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 07:20:03] Production.INFO: ==23592== Lock acquired, processing the job...
[2025-01-10 07:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 07:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 07:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 07:20:03] Production.ERROR: CronJob PID - 23592
[2025-01-10 07:20:03] Production.ERROR: CronJob Title - Account Block
[2025-01-10 07:20:03] Production.ERROR: CronJob ID - 7
[2025-01-10 07:20:03] Production.INFO: ==23594== Lock acquired, processing the job...
[2025-01-10 07:20:03] Production.ERROR: CronJob Last Run Time 2025-01-10 07:20:00
[2025-01-10 07:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 07:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 07:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 07:20:03] Production.INFO: ==23590== Lock acquired, processing the job...
[2025-01-10 07:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 07:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 07:20:03] Production.INFO: ==23588== Releasing lock...
[2025-01-10 07:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 07:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 07:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 07:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 07:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 07:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 07:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 07:20:04] Production.INFO: ==23602== Lock acquired, processing the job...
[2025-01-10 07:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 07:20:04] Production.INFO: ==23596== Lock acquired, processing the job...
[2025-01-10 07:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 07:20:04] Production.INFO: ==23598== Lock acquired, processing the job...
[2025-01-10 07:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 07:20:04] Production.INFO: ==23592== Releasing lock...
[2025-01-10 07:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 07:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 07:20:04] Production.INFO: ==23600== Lock acquired, processing the job...
[2025-01-10 07:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 07:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:20:04] Production.INFO: count ==21
[2025-01-10 07:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:20:04] Production.INFO: count ==21
[2025-01-10 07:20:04] Production.INFO: Account Balance Start.
[2025-01-10 07:20:04] Production.INFO: CreateAllLog Start
[2025-01-10 07:20:04] Production.INFO: 117
[2025-01-10 07:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215346') start
[2025-01-10 07:20:04] Production.INFO: Date 2025-01-08
[2025-01-10 07:20:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:20:04] Production.INFO: Date 2025-01-09
[2025-01-10 07:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215346') end
[2025-01-10 07:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 07:20:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:20:04] Production.INFO: 1
[2025-01-10 07:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 07:20:04] Production.ERROR: done
[2025-01-10 07:20:04] Production.ERROR: done
[2025-01-10 07:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 07:20:04] Production.INFO: ==23602== Releasing lock...
[2025-01-10 07:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 07:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 07:20:04] Production.INFO: Date 2025-01-10
[2025-01-10 07:20:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:20:04] Production.INFO: Total Charge 0
[2025-01-10 07:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 07:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14215347', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 07:20:04] Production.INFO: CreateAllLog End
[2025-01-10 07:20:04] Production.ERROR: done
[2025-01-10 07:20:04] Production.INFO: Account Balance End.
[2025-01-10 07:20:04] Production.ERROR: CronJobId end 12
[2025-01-10 07:20:04] Production.INFO: ==23596== Releasing lock...
[2025-01-10 07:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 07:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 07:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 04:20:06
[end_date_ymd] => 2025-01-10 07:20:06
[RateCDR] => 1
)
[2025-01-10 07:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 04:20:06' and `end` < '2025-01-10 07:20:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 07:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14215347', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 07:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 07:20:09] Production.INFO: ProcessCDR(1,14215347,1,1,2)
[2025-01-10 07:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14215347,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14215347,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:20:09] Production.INFO: ==23600== Releasing lock...
[2025-01-10 07:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 07:20:09] Production.INFO: 26 MB #Memory Used#
[2025-01-10 07:20:11] Production.ERROR: CronJobId end10
[2025-01-10 07:20:11] Production.INFO: ==23594== Releasing lock...
[2025-01-10 07:20:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 07:20:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 07:20:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 07:20:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 07:20:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 07:20:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 07:20:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 07:20:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 07:20:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 07:20:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 07:20:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 07:20:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 07:20:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 07:20:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 07:20:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 07:20:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 07:20:14] Production.INFO: call_cost start
[2025-01-10 07:20:14] Production.INFO: call_cost end
[2025-01-10 07:20:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 07:20:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 07:20:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 07:20:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 07:20:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 07:20:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 07:20:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 07:20:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 07:20:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 07:20:15] Production.INFO: ==23590== Releasing lock...
[2025-01-10 07:20:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 07:20:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 07:20:19] Production.INFO: count ==55
[2025-01-10 07:20:19] Production.ERROR: pbx CDR StartTime 2025-01-10 04:20:06 - End Time 2025-01-10 07:20:06
[2025-01-10 07:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 07:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215348', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215348', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215348', 'tblTempVendorCDR_20' ) start
[2025-01-10 07:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215348', 'tblTempVendorCDR_20' ) end
[2025-01-10 07:20:19] Production.INFO: ProcessCDR(1,14215348,1,1,2)
[2025-01-10 07:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215348,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215348,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215348,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215348,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215348', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215348', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:20:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:20:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:20:22] Production.INFO: ==23598== Releasing lock...
[2025-01-10 07:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 07:20:22] Production.INFO: 28 MB #Memory Used#
[2025-01-10 12:21:02] Production.INFO: ==23678== Lock acquired, processing the job...
[2025-01-10 12:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 12:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 12:21:02] Production.INFO: neon service started
[2025-01-10 12:21:02] Production.INFO: neon service started
[2025-01-10 12:21:02] Production.INFO: ==23678== Releasing lock...
[2025-01-10 12:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 12:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 07:21:02] Production.INFO: ==23680== Lock acquired, processing the job...
[2025-01-10 07:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 07:21:02] Production.INFO: ==23680== Releasing lock...
[2025-01-10 07:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 07:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 12:21:02] Production.INFO: ==23682== Lock acquired, processing the job...
[2025-01-10 12:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 12:21:03] Production.INFO: ==23682== Releasing lock...
[2025-01-10 12:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 12:21:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 07:21:03] Production.INFO: ==23689== Lock acquired, processing the job...
[2025-01-10 07:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 07:21:03] Production.INFO: ==23693== Lock acquired, processing the job...
[2025-01-10 07:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 07:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 07:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 07:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 07:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 07:21:03] Production.INFO: ==23685== Lock acquired, processing the job...
[2025-01-10 07:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 07:21:03] Production.INFO: ==23687== Lock acquired, processing the job...
[2025-01-10 07:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 07:21:04] Production.INFO: ==23691== Lock acquired, processing the job...
[2025-01-10 07:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 07:21:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 07:21:04] Production.INFO: ==23695== Lock acquired, processing the job...
[2025-01-10 07:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 07:21:04] Production.ERROR: done
[2025-01-10 07:21:04] Production.INFO: Account Balance Start.
[2025-01-10 07:21:04] Production.INFO: CreateAllLog Start
[2025-01-10 07:21:04] Production.INFO: 117
[2025-01-10 07:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 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-01-10 07:21:04] Production.INFO: Date 2025-01-08
[2025-01-10 07:21:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:21:04] Production.INFO: Date 2025-01-09
[2025-01-10 07:21:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:21:04] Production.INFO: count ==21
[2025-01-10 07:21:04] Production.ERROR: done
[2025-01-10 07:21:04] Production.INFO: ==23687== Releasing lock...
[2025-01-10 07:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 07:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 07:21:04] Production.INFO: Date 2025-01-10
[2025-01-10 07:21:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:21:04] Production.INFO: count ==21
[2025-01-10 07:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215352') start
[2025-01-10 07:21:04] Production.INFO: Total Charge 0
[2025-01-10 07:21:04] Production.INFO: CreateAllLog End
[2025-01-10 07:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215352') end
[2025-01-10 07:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 07:21:04] Production.INFO: 1
[2025-01-10 07:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 07:21:04] Production.INFO: ==23695== Releasing lock...
[2025-01-10 07:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 07:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 07:21:04] Production.INFO: Account Balance End.
[2025-01-10 07:21:04] Production.ERROR: CronJobId end 12
[2025-01-10 07:21:04] Production.INFO: ==23691== Releasing lock...
[2025-01-10 07:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 07:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 07:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 04:21:05
[end_date_ymd] => 2025-01-10 07:21:05
[RateCDR] => 1
)
[2025-01-10 07:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 04:21:05' and `end` < '2025-01-10 07:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 07:21:12] Production.ERROR: CronJobId end10
[2025-01-10 07:21:12] Production.INFO: ==23689== Releasing lock...
[2025-01-10 07:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 07:21:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 07:21:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 07:21:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 07:21:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 07:21:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 07:21:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 07:21:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 07:21:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 07:21:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 07:21:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 07:21:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 07:21:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 07:21:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 07:21:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 07:21:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 07:21:14] Production.INFO: call_cost start
[2025-01-10 07:21:14] Production.INFO: call_cost end
[2025-01-10 07:21:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 07:21:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 07:21:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 07:21:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 07:21:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 07:21:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 07:21:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 07:21:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 07:21:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 07:21:15] Production.INFO: ==23685== Releasing lock...
[2025-01-10 07:21:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 07:21:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 07:21:19] Production.INFO: count ==55
[2025-01-10 07:21:19] Production.ERROR: pbx CDR StartTime 2025-01-10 04:21:05 - End Time 2025-01-10 07:21:05
[2025-01-10 07:21:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 07:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215353', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215353', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215353', 'tblTempVendorCDR_20' ) start
[2025-01-10 07:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215353', 'tblTempVendorCDR_20' ) end
[2025-01-10 07:21:19] Production.INFO: ProcessCDR(1,14215353,1,1,2)
[2025-01-10 07:21:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215353,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:21:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215353,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:21:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215353,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:21:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215353,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:21:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215353', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:21:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215353', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:21:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:21:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:21:23] Production.INFO: ==23693== Releasing lock...
[2025-01-10 07:21:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 07:21:23] Production.INFO: 28 MB #Memory Used#
[2025-01-10 12:22:01] Production.INFO: ==23768== Lock acquired, processing the job...
[2025-01-10 12:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 12:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 12:22:01] Production.INFO: neon service started
[2025-01-10 12:22:01] Production.INFO: neon service started
[2025-01-10 12:22:01] Production.INFO: ==23768== Releasing lock...
[2025-01-10 12:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 12:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 12:22:02] Production.INFO: ==23772== Lock acquired, processing the job...
[2025-01-10 12:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 12:22:02] Production.INFO: ==23772== Releasing lock...
[2025-01-10 12:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 12:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 07:22:02] Production.INFO: ==23770== Lock acquired, processing the job...
[2025-01-10 07:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 07:22:02] Production.INFO: ==23770== Releasing lock...
[2025-01-10 07:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 07:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:22:03] Production.INFO: ==23781== Lock acquired, processing the job...
[2025-01-10 07:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 07:22:03] Production.INFO: ==23787== Lock acquired, processing the job...
[2025-01-10 07:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 07:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 07:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 07:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 07:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 07:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:22:03] Production.INFO: ==23777== Lock acquired, processing the job...
[2025-01-10 07:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 07:22:03] Production.INFO: count ==21
[2025-01-10 07:22:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:22:03] Production.INFO: count ==21
[2025-01-10 07:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215354') start
[2025-01-10 07:22:03] Production.INFO: ==23779== Lock acquired, processing the job...
[2025-01-10 07:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 07:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 07:22:03] Production.INFO: ==23783== Lock acquired, processing the job...
[2025-01-10 07:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 07:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215354') end
[2025-01-10 07:22:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 07:22:03] Production.INFO: 1
[2025-01-10 07:22:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 07:22:03] Production.INFO: ==23787== Releasing lock...
[2025-01-10 07:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 07:22:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 07:22:03] Production.INFO: ==23785== Lock acquired, processing the job...
[2025-01-10 07:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 07:22:03] Production.INFO: Account Balance Start.
[2025-01-10 07:22:03] Production.INFO: CreateAllLog Start
[2025-01-10 07:22:03] Production.INFO: 117
[2025-01-10 07:22:03] Production.INFO: Date 2025-01-08
[2025-01-10 07:22:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:22:03] Production.INFO: Date 2025-01-09
[2025-01-10 07:22:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:22:03] Production.INFO: Date 2025-01-10
[2025-01-10 07:22:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:22:03] Production.INFO: Total Charge 0
[2025-01-10 07:22:03] Production.INFO: CreateAllLog End
[2025-01-10 07:22:04] Production.INFO: ==23779== Releasing lock...
[2025-01-10 07:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 07:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 07:22:04] Production.ERROR: done
[2025-01-10 07:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 07:22:04] Production.INFO: Account Balance End.
[2025-01-10 07:22:04] Production.ERROR: done
[2025-01-10 07:22:04] Production.ERROR: CronJobId end 12
[2025-01-10 07:22:04] Production.INFO: ==23783== Releasing lock...
[2025-01-10 07:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 07:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 07:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 04:22:05
[end_date_ymd] => 2025-01-10 07:22:05
[RateCDR] => 1
)
[2025-01-10 07:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 04:22:05' and `end` < '2025-01-10 07:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 07:22:11] Production.ERROR: CronJobId end10
[2025-01-10 07:22:11] Production.INFO: ==23781== Releasing lock...
[2025-01-10 07:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 07:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 07:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 07:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 07:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 07:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 07:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 07:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 07:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 07:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 07:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 07:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 07:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 07:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 07:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 07:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 07:22:14] Production.INFO: call_cost start
[2025-01-10 07:22:14] Production.INFO: call_cost end
[2025-01-10 07:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 07:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 07:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 07:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 07:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 07:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 07:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 07:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 07:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 07:22:14] Production.INFO: ==23777== Releasing lock...
[2025-01-10 07:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 07:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 07:22:51] Production.INFO: count ==56
[2025-01-10 07:22:51] Production.ERROR: pbx CDR StartTime 2025-01-10 04:22:05 - End Time 2025-01-10 07:22:05
[2025-01-10 07:22:51] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 07:22:51] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215358', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:22:51] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215358', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:22:51] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215358', 'tblTempVendorCDR_20' ) start
[2025-01-10 07:22:51] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215358', 'tblTempVendorCDR_20' ) end
[2025-01-10 07:22:51] Production.INFO: ProcessCDR(1,14215358,1,1,2)
[2025-01-10 07:22:51] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215358,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:22:54] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215358,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:22:54] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215358,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:22:56] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215358,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:22:56] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215358', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:22:56] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215358', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:22:56] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:22:56] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:22:56] Production.INFO: ==23785== Releasing lock...
[2025-01-10 07:22:56] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 07:22:56] Production.INFO: 28 MB #Memory Used#
[2025-01-10 12:23:02] Production.INFO: ==23863== Lock acquired, processing the job...
[2025-01-10 12:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 12:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 12:23:02] Production.INFO: neon service started
[2025-01-10 12:23:02] Production.INFO: neon service started
[2025-01-10 12:23:02] Production.INFO: ==23863== Releasing lock...
[2025-01-10 12:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 12:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 07:23:02] Production.INFO: ==23865== Lock acquired, processing the job...
[2025-01-10 07:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:23:02] Production.INFO: ==23867== Lock acquired, processing the job...
[2025-01-10 12:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 12:23:02] Production.INFO: ==23867== Releasing lock...
[2025-01-10 12:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 12:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 07:23:02] Production.INFO: ==23865== Releasing lock...
[2025-01-10 07:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 07:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:23:03] Production.INFO: ==23870== Lock acquired, processing the job...
[2025-01-10 07:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 07:23:03] Production.INFO: ==23872== Lock acquired, processing the job...
[2025-01-10 07:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 07:23:03] Production.INFO: ==23878== Lock acquired, processing the job...
[2025-01-10 07:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 07:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 07:23:03] Production.INFO: ==23874== Lock acquired, processing the job...
[2025-01-10 07:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 07:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:23:03] Production.INFO: ==23876== Lock acquired, processing the job...
[2025-01-10 07:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 07:23:03] Production.INFO: ==23880== Lock acquired, processing the job...
[2025-01-10 07:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 07:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 07:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 07:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 07:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 07:23:04] Production.INFO: Account Balance Start.
[2025-01-10 07:23:04] Production.INFO: CreateAllLog Start
[2025-01-10 07:23:04] Production.INFO: 117
[2025-01-10 07:23:04] Production.INFO: Date 2025-01-08
[2025-01-10 07:23:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:23:04] Production.INFO: Date 2025-01-09
[2025-01-10 07:23:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:23:04] Production.INFO: Date 2025-01-10
[2025-01-10 07:23:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:23:04] Production.INFO: ==23872== Releasing lock...
[2025-01-10 07:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 07:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 07:23:04] Production.ERROR: done
[2025-01-10 07:23:04] Production.INFO: Total Charge 0
[2025-01-10 07:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 07:23:04] Production.INFO: CreateAllLog End
[2025-01-10 07:23:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:23:04] Production.INFO: count ==21
[2025-01-10 07:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:23:04] Production.INFO: count ==21
[2025-01-10 07:23:04] Production.ERROR: done
[2025-01-10 07:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215362') start
[2025-01-10 07:23:04] Production.INFO: Account Balance End.
[2025-01-10 07:23:04] Production.ERROR: CronJobId end 12
[2025-01-10 07:23:04] Production.INFO: ==23876== Releasing lock...
[2025-01-10 07:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 07:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 07:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215362') end
[2025-01-10 07:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 07:23:04] Production.INFO: 1
[2025-01-10 07:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 07:23:04] Production.INFO: ==23880== Releasing lock...
[2025-01-10 07:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 07:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 07:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 04:23:05
[end_date_ymd] => 2025-01-10 07:23:05
[RateCDR] => 1
)
[2025-01-10 07:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 04:23:05' and `end` < '2025-01-10 07:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 07:23:11] Production.ERROR: CronJobId end10
[2025-01-10 07:23:11] Production.INFO: ==23874== Releasing lock...
[2025-01-10 07:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 07:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 07:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 07:23:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 07:23:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 07:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 07:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 07:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 07:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 07:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 07:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 07:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 07:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 07:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 07:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 07:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 07:23:14] Production.INFO: call_cost start
[2025-01-10 07:23:14] Production.INFO: call_cost end
[2025-01-10 07:23:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 07:23:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 07:23:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 07:23:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 07:23:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 07:23:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 07:23:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 07:23:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 07:23:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 07:23:15] Production.INFO: ==23870== Releasing lock...
[2025-01-10 07:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 07:23:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 07:23:20] Production.INFO: count ==56
[2025-01-10 07:23:20] Production.ERROR: pbx CDR StartTime 2025-01-10 04:23:05 - End Time 2025-01-10 07:23:05
[2025-01-10 07:23:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 07:23:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215363', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:23:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215363', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:23:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215363', 'tblTempVendorCDR_20' ) start
[2025-01-10 07:23:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215363', 'tblTempVendorCDR_20' ) end
[2025-01-10 07:23:20] Production.INFO: ProcessCDR(1,14215363,1,1,2)
[2025-01-10 07:23:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215363,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:23:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215363,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:23:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215363,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:23:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215363,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:23:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215363', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:23:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215363', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:23:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:23:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:23:23] Production.INFO: ==23878== Releasing lock...
[2025-01-10 07:23:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 07:23:23] Production.INFO: 28 MB #Memory Used#
[2025-01-10 12:24:01] Production.INFO: ==23959== Lock acquired, processing the job...
[2025-01-10 12:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 12:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 12:24:01] Production.INFO: neon service started
[2025-01-10 12:24:01] Production.INFO: neon service started
[2025-01-10 12:24:01] Production.INFO: ==23959== Releasing lock...
[2025-01-10 12:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 12:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 07:24:02] Production.INFO: ==23961== Lock acquired, processing the job...
[2025-01-10 07:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:24:02] Production.INFO: ==23963== Lock acquired, processing the job...
[2025-01-10 12:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 12:24:02] Production.INFO: ==23963== Releasing lock...
[2025-01-10 12:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 12:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 07:24:02] Production.INFO: ==23961== Releasing lock...
[2025-01-10 07:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 07:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:24:03] Production.INFO: ==23974== Lock acquired, processing the job...
[2025-01-10 07:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 07:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:24:03] Production.INFO: ==23976== Lock acquired, processing the job...
[2025-01-10 07:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 07:24:03] Production.INFO: ==23966== Lock acquired, processing the job...
[2025-01-10 07:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 07:24:03] Production.INFO: ==23968== Lock acquired, processing the job...
[2025-01-10 07:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 07:24:03] Production.INFO: ==23970== Lock acquired, processing the job...
[2025-01-10 07:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 07:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 07:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:24:03] Production.INFO: ==23972== Lock acquired, processing the job...
[2025-01-10 07:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 07:24:03] Production.INFO: count ==21
[2025-01-10 07:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:24:04] Production.INFO: count ==21
[2025-01-10 07:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215364') start
[2025-01-10 07:24:04] Production.ERROR: done
[2025-01-10 07:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 07:24:04] Production.INFO: Account Balance Start.
[2025-01-10 07:24:04] Production.INFO: CreateAllLog Start
[2025-01-10 07:24:04] Production.INFO: 117
[2025-01-10 07:24:04] Production.INFO: Date 2025-01-08
[2025-01-10 07:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 07:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 07:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 07:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 07:24:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:24:04] Production.INFO: Date 2025-01-09
[2025-01-10 07:24:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:24:04] Production.INFO: Date 2025-01-10
[2025-01-10 07:24:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215364') end
[2025-01-10 07:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 07:24:04] Production.INFO: 1
[2025-01-10 07:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 07:24:04] Production.INFO: Total Charge 0
[2025-01-10 07:24:04] Production.INFO: ==23976== Releasing lock...
[2025-01-10 07:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 07:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 07:24:04] Production.INFO: CreateAllLog End
[2025-01-10 07:24:04] Production.ERROR: done
[2025-01-10 07:24:04] Production.INFO: ==23968== Releasing lock...
[2025-01-10 07:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 07:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 07:24:04] Production.INFO: Account Balance End.
[2025-01-10 07:24:04] Production.ERROR: CronJobId end 12
[2025-01-10 07:24:04] Production.INFO: ==23972== Releasing lock...
[2025-01-10 07:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 07:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 07:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 04:24:05
[end_date_ymd] => 2025-01-10 07:24:05
[RateCDR] => 1
)
[2025-01-10 07:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 04:24:05' and `end` < '2025-01-10 07:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 07:24:11] Production.ERROR: CronJobId end10
[2025-01-10 07:24:11] Production.INFO: ==23970== Releasing lock...
[2025-01-10 07:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 07:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 07:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 07:24:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 07:24:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 07:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 07:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 07:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 07:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 07:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 07:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 07:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 07:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 07:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 07:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 07:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 07:24:13] Production.INFO: call_cost start
[2025-01-10 07:24:13] Production.INFO: call_cost end
[2025-01-10 07:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 07:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 07:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 07:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 07:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 07:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 07:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 07:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 07:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 07:24:14] Production.INFO: ==23966== Releasing lock...
[2025-01-10 07:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 07:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 07:24:18] Production.INFO: count ==56
[2025-01-10 07:24:18] Production.ERROR: pbx CDR StartTime 2025-01-10 04:24:05 - End Time 2025-01-10 07:24:05
[2025-01-10 07:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 07:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215368', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215368', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215368', 'tblTempVendorCDR_20' ) start
[2025-01-10 07:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215368', 'tblTempVendorCDR_20' ) end
[2025-01-10 07:24:18] Production.INFO: ProcessCDR(1,14215368,1,1,2)
[2025-01-10 07:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215368,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215368,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215368,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215368,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215368', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215368', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:24:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:24:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:24:21] Production.INFO: ==23974== Releasing lock...
[2025-01-10 07:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 07:24:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 12:25:02] Production.INFO: ==24053== Lock acquired, processing the job...
[2025-01-10 12:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 12:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 12:25:02] Production.INFO: neon service started
[2025-01-10 12:25:02] Production.INFO: neon service started
[2025-01-10 12:25:02] Production.INFO: ==24053== Releasing lock...
[2025-01-10 12:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 12:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 07:25:02] Production.INFO: ==24055== Lock acquired, processing the job...
[2025-01-10 07:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 07:25:02] Production.INFO: ==24055== Releasing lock...
[2025-01-10 07:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 07:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 12:25:02] Production.INFO: ==24057== Lock acquired, processing the job...
[2025-01-10 12:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 12:25:02] Production.INFO: ==24057== Releasing lock...
[2025-01-10 12:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 12:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 07:25:03] Production.INFO: ==24062== Lock acquired, processing the job...
[2025-01-10 07:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 07:25:03] Production.INFO: ==24064== Lock acquired, processing the job...
[2025-01-10 07:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 07:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 07:25:03] Production.INFO: ==24066== Lock acquired, processing the job...
[2025-01-10 07:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 07:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 07:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 07:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 07:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 07:25:03] Production.INFO: ==24068== Lock acquired, processing the job...
[2025-01-10 07:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 07:25:03] Production.INFO: ==24064== Releasing lock...
[2025-01-10 07:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 07:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 07:25:03] Production.INFO: ==24070== Lock acquired, processing the job...
[2025-01-10 07:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 07:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:25:03] Production.INFO: ==24073== Lock acquired, processing the job...
[2025-01-10 07:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 07:25:03] Production.INFO: Account Balance Start.
[2025-01-10 07:25:03] Production.INFO: CreateAllLog Start
[2025-01-10 07:25:03] Production.INFO: 117
[2025-01-10 07:25:03] Production.INFO: Date 2025-01-08
[2025-01-10 07:25:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:25:03] Production.INFO: Date 2025-01-09
[2025-01-10 07:25:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:25:04] Production.INFO: Date 2025-01-10
[2025-01-10 07:25:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:25:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:25:04] Production.INFO: count ==21
[2025-01-10 07:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:25:04] Production.INFO: count ==21
[2025-01-10 07:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215372') start
[2025-01-10 07:25:04] Production.INFO: Total Charge 0
[2025-01-10 07:25:04] Production.INFO: CreateAllLog End
[2025-01-10 07:25:04] Production.ERROR: done
[2025-01-10 07:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 07:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215372') end
[2025-01-10 07:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 07:25:04] Production.INFO: 1
[2025-01-10 07:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 07:25:04] Production.INFO: ==24073== Releasing lock...
[2025-01-10 07:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 07:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 07:25:04] Production.ERROR: done
[2025-01-10 07:25:04] Production.INFO: Account Balance End.
[2025-01-10 07:25:04] Production.ERROR: CronJobId end 12
[2025-01-10 07:25:04] Production.INFO: ==24068== Releasing lock...
[2025-01-10 07:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 07:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 07:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 04:25:05
[end_date_ymd] => 2025-01-10 07:25:05
[RateCDR] => 1
)
[2025-01-10 07:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 04:25:05' and `end` < '2025-01-10 07:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 07:25:10] Production.ERROR: CronJobId end10
[2025-01-10 07:25:10] Production.INFO: ==24066== Releasing lock...
[2025-01-10 07:25:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 07:25:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 07:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 07:25:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 07:25:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 07:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 07:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 07:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 07:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 07:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 07:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 07:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 07:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 07:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 07:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 07:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 07:25:13] Production.INFO: call_cost start
[2025-01-10 07:25:13] Production.INFO: call_cost end
[2025-01-10 07:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 07:25:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 07:25:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 07:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 07:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 07:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 07:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 07:25:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 07:25:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 07:25:14] Production.INFO: ==24062== Releasing lock...
[2025-01-10 07:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 07:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 07:25:18] Production.INFO: count ==56
[2025-01-10 07:25:18] Production.ERROR: pbx CDR StartTime 2025-01-10 04:25:05 - End Time 2025-01-10 07:25:05
[2025-01-10 07:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 07:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215373', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215373', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215373', 'tblTempVendorCDR_20' ) start
[2025-01-10 07:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215373', 'tblTempVendorCDR_20' ) end
[2025-01-10 07:25:18] Production.INFO: ProcessCDR(1,14215373,1,1,2)
[2025-01-10 07:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215373,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215373,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215373,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215373,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215373', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215373', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:25:21] Production.INFO: ==24070== Releasing lock...
[2025-01-10 07:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 07:25:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 12:26:01] Production.INFO: ==24154== Lock acquired, processing the job...
[2025-01-10 12:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 12:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 12:26:01] Production.INFO: neon service started
[2025-01-10 12:26:01] Production.INFO: neon service started
[2025-01-10 12:26:01] Production.INFO: ==24154== Releasing lock...
[2025-01-10 12:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 12:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 07:26:01] Production.INFO: ==24156== Lock acquired, processing the job...
[2025-01-10 07:26:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 07:26:02] Production.INFO: ==24156== Releasing lock...
[2025-01-10 07:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 07:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 12:26:02] Production.INFO: ==24158== Lock acquired, processing the job...
[2025-01-10 12:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 12:26:02] Production.INFO: ==24158== Releasing lock...
[2025-01-10 12:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 12:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 07:26:03] Production.INFO: ==24160== Lock acquired, processing the job...
[2025-01-10 07:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 07:26:03] Production.INFO: ==24170== Lock acquired, processing the job...
[2025-01-10 07:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 07:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 07:26:03] Production.INFO: ==24166== Lock acquired, processing the job...
[2025-01-10 07:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 07:26:03] Production.INFO: ==24162== Lock acquired, processing the job...
[2025-01-10 07:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 07:26:03] Production.INFO: Account Balance Start.
[2025-01-10 07:26:03] Production.INFO: CreateAllLog Start
[2025-01-10 07:26:03] Production.INFO: 117
[2025-01-10 07:26:03] Production.INFO: Date 2025-01-08
[2025-01-10 07:26:03] Production.INFO: ==24164== Lock acquired, processing the job...
[2025-01-10 07:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 07:26:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:26:03] Production.INFO: Date 2025-01-09
[2025-01-10 07:26:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 07:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 07:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 07:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 07:26:03] Production.INFO: Date 2025-01-10
[2025-01-10 07:26:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:26:03] Production.INFO: count ==21
[2025-01-10 07:26:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:26:03] Production.INFO: count ==21
[2025-01-10 07:26:03] Production.INFO: ==24168== Lock acquired, processing the job...
[2025-01-10 07:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 07:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215376') start
[2025-01-10 07:26:03] Production.INFO: Total Charge 0
[2025-01-10 07:26:03] Production.INFO: CreateAllLog End
[2025-01-10 07:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215376') end
[2025-01-10 07:26:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 07:26:03] Production.INFO: 1
[2025-01-10 07:26:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 07:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:26:03] Production.INFO: ==24162== Releasing lock...
[2025-01-10 07:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 07:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 07:26:03] Production.INFO: ==24170== Releasing lock...
[2025-01-10 07:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 07:26:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 07:26:04] Production.ERROR: done
[2025-01-10 07:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 07:26:04] Production.INFO: Account Balance End.
[2025-01-10 07:26:04] Production.ERROR: CronJobId end 12
[2025-01-10 07:26:04] Production.INFO: ==24166== Releasing lock...
[2025-01-10 07:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 07:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 07:26:04] Production.ERROR: done
[2025-01-10 07:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 04:26:05
[end_date_ymd] => 2025-01-10 07:26:05
[RateCDR] => 1
)
[2025-01-10 07:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 04:26:05' and `end` < '2025-01-10 07:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 07:26:10] Production.ERROR: CronJobId end10
[2025-01-10 07:26:10] Production.INFO: ==24164== Releasing lock...
[2025-01-10 07:26:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 07:26:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 07:26:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 07:26:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 07:26:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 07:26:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 07:26:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 07:26:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 07:26:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 07:26:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 07:26:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 07:26:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 07:26:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 07:26:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 07:26:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 07:26:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 07:26:13] Production.INFO: call_cost start
[2025-01-10 07:26:13] Production.INFO: call_cost end
[2025-01-10 07:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 07:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 07:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 07:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 07:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 07:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 07:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 07:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 07:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 07:26:14] Production.INFO: ==24160== Releasing lock...
[2025-01-10 07:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 07:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 07:26:18] Production.INFO: count ==56
[2025-01-10 07:26:18] Production.ERROR: pbx CDR StartTime 2025-01-10 04:26:05 - End Time 2025-01-10 07:26:05
[2025-01-10 07:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 07:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215378', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215378', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215378', 'tblTempVendorCDR_20' ) start
[2025-01-10 07:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215378', 'tblTempVendorCDR_20' ) end
[2025-01-10 07:26:18] Production.INFO: ProcessCDR(1,14215378,1,1,2)
[2025-01-10 07:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215378,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215378,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215378,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:26:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215378,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215378', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215378', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:26:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:26:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:26:22] Production.INFO: ==24168== Releasing lock...
[2025-01-10 07:26:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 07:26:22] Production.INFO: 28 MB #Memory Used#
[2025-01-10 12:27:01] Production.INFO: ==24244== Lock acquired, processing the job...
[2025-01-10 12:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 12:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 12:27:02] Production.INFO: neon service started
[2025-01-10 12:27:02] Production.INFO: neon service started
[2025-01-10 12:27:02] Production.INFO: ==24244== Releasing lock...
[2025-01-10 12:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 12:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 07:27:02] Production.INFO: ==24246== Lock acquired, processing the job...
[2025-01-10 07:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:27:02] Production.INFO: ==24248== Lock acquired, processing the job...
[2025-01-10 12:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 12:27:02] Production.INFO: ==24248== Releasing lock...
[2025-01-10 12:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 12:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 07:27:02] Production.INFO: ==24246== Releasing lock...
[2025-01-10 07:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 07:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:27:03] Production.INFO: ==24253== Lock acquired, processing the job...
[2025-01-10 07:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 07:27:03] Production.INFO: ==24251== Lock acquired, processing the job...
[2025-01-10 07:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 07:27:03] Production.INFO: ==24255== Lock acquired, processing the job...
[2025-01-10 07:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 07:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 07:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 07:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 07:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 07:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 07:27:03] Production.INFO: ==24257== Lock acquired, processing the job...
[2025-01-10 07:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 07:27:04] Production.INFO: ==24259== Lock acquired, processing the job...
[2025-01-10 07:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 07:27:04] Production.INFO: Account Balance Start.
[2025-01-10 07:27:04] Production.INFO: CreateAllLog Start
[2025-01-10 07:27:04] Production.INFO: 117
[2025-01-10 07:27:04] Production.INFO: Date 2025-01-08
[2025-01-10 07:27:04] Production.INFO: ==24261== Lock acquired, processing the job...
[2025-01-10 07:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 07:27:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:27:04] Production.INFO: ==24253== Releasing lock...
[2025-01-10 07:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 07:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 07:27:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:27:04] Production.INFO: Date 2025-01-09
[2025-01-10 07:27:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:27:04] Production.INFO: Date 2025-01-10
[2025-01-10 07:27:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:27:04] Production.INFO: Total Charge 0
[2025-01-10 07:27:04] Production.INFO: CreateAllLog End
[2025-01-10 07:27:04] Production.INFO: count ==21
[2025-01-10 07:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:27:04] Production.INFO: count ==21
[2025-01-10 07:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215382') start
[2025-01-10 07:27:04] Production.INFO: Account Balance End.
[2025-01-10 07:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215382') end
[2025-01-10 07:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 07:27:04] Production.INFO: 1
[2025-01-10 07:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 07:27:04] Production.ERROR: done
[2025-01-10 07:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 07:27:04] Production.ERROR: CronJobId end 12
[2025-01-10 07:27:04] Production.INFO: ==24257== Releasing lock...
[2025-01-10 07:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 07:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 07:27:04] Production.INFO: ==24261== Releasing lock...
[2025-01-10 07:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 07:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 07:27:04] Production.ERROR: done
[2025-01-10 07:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 04:27:05
[end_date_ymd] => 2025-01-10 07:27:05
[RateCDR] => 1
)
[2025-01-10 07:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 04:27:05' and `end` < '2025-01-10 07:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 07:27:12] Production.ERROR: CronJobId end10
[2025-01-10 07:27:12] Production.INFO: ==24255== Releasing lock...
[2025-01-10 07:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 07:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 07:27:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 07:27:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 07:27:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 07:27:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 07:27:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 07:27:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 07:27:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 07:27:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 07:27:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 07:27:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 07:27:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 07:27:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 07:27:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 07:27:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 07:27:15] Production.INFO: call_cost start
[2025-01-10 07:27:15] Production.INFO: call_cost end
[2025-01-10 07:27:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 07:27:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 07:27:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 07:27:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 07:27:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 07:27:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 07:27:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 07:27:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 07:27:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 07:27:15] Production.INFO: ==24251== Releasing lock...
[2025-01-10 07:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 07:27:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 07:27:18] Production.INFO: count ==56
[2025-01-10 07:27:18] Production.ERROR: pbx CDR StartTime 2025-01-10 04:27:05 - End Time 2025-01-10 07:27:05
[2025-01-10 07:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 07:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215383', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215383', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215383', 'tblTempVendorCDR_20' ) start
[2025-01-10 07:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215383', 'tblTempVendorCDR_20' ) end
[2025-01-10 07:27:18] Production.INFO: ProcessCDR(1,14215383,1,1,2)
[2025-01-10 07:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215383,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215383,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215383,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215383,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215383', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215383', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:27:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:27:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:27:21] Production.INFO: ==24259== Releasing lock...
[2025-01-10 07:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 07:27:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 12:28:01] Production.INFO: ==24333== Lock acquired, processing the job...
[2025-01-10 12:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 12:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 12:28:01] Production.INFO: neon service started
[2025-01-10 12:28:01] Production.INFO: neon service started
[2025-01-10 12:28:01] Production.INFO: ==24333== Releasing lock...
[2025-01-10 12:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 12:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 07:28:01] Production.INFO: ==24335== Lock acquired, processing the job...
[2025-01-10 07:28:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 07:28:02] Production.INFO: ==24335== Releasing lock...
[2025-01-10 07:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 07:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 12:28:02] Production.INFO: ==24337== Lock acquired, processing the job...
[2025-01-10 12:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 12:28:02] Production.INFO: ==24337== Releasing lock...
[2025-01-10 12:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 12:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 07:28:03] Production.INFO: ==24346== Lock acquired, processing the job...
[2025-01-10 07:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 07:28:03] Production.INFO: ==24350== Lock acquired, processing the job...
[2025-01-10 07:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 07:28:03] Production.INFO: ==24340== Lock acquired, processing the job...
[2025-01-10 07:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 07:28:03] Production.INFO: Account Balance Start.
[2025-01-10 07:28:03] Production.INFO: CreateAllLog Start
[2025-01-10 07:28:03] Production.INFO: 117
[2025-01-10 07:28:03] Production.INFO: ==24342== Lock acquired, processing the job...
[2025-01-10 07:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 07:28:03] Production.INFO: Date 2025-01-08
[2025-01-10 07:28:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:28:03] Production.INFO: ==24344== Lock acquired, processing the job...
[2025-01-10 07:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 07:28:03] Production.INFO: ==24348== Lock acquired, processing the job...
[2025-01-10 07:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 07:28:03] Production.INFO: Date 2025-01-09
[2025-01-10 07:28:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 07:28:03] Production.INFO: Date 2025-01-10
[2025-01-10 07:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:28:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:28:03] Production.INFO: count ==21
[2025-01-10 07:28:03] Production.INFO: Total Charge 0
[2025-01-10 07:28:03] Production.INFO: CreateAllLog End
[2025-01-10 07:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:28:03] Production.INFO: count ==21
[2025-01-10 07:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215386') start
[2025-01-10 07:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 07:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 07:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 07:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 07:28:03] Production.INFO: ==24342== Releasing lock...
[2025-01-10 07:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 07:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 07:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215386') end
[2025-01-10 07:28:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 07:28:03] Production.INFO: 1
[2025-01-10 07:28:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 07:28:03] Production.INFO: ==24350== Releasing lock...
[2025-01-10 07:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 07:28:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 07:28:03] Production.ERROR: done
[2025-01-10 07:28:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 07:28:03] Production.INFO: Account Balance End.
[2025-01-10 07:28:03] Production.ERROR: done
[2025-01-10 07:28:03] Production.ERROR: CronJobId end 12
[2025-01-10 07:28:03] Production.INFO: ==24346== Releasing lock...
[2025-01-10 07:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 07:28:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 07:28:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 04:28:04
[end_date_ymd] => 2025-01-10 07:28:04
[RateCDR] => 1
)
[2025-01-10 07:28:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 04:28:04' and `end` < '2025-01-10 07:28:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 07:28:10] Production.ERROR: CronJobId end10
[2025-01-10 07:28:10] Production.INFO: ==24344== Releasing lock...
[2025-01-10 07:28:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 07:28:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 07:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 07:28:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 07:28:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 07:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 07:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 07:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 07:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 07:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 07:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 07:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 07:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 07:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 07:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 07:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 07:28:13] Production.INFO: call_cost start
[2025-01-10 07:28:13] Production.INFO: call_cost end
[2025-01-10 07:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 07:28:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 07:28:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 07:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 07:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 07:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 07:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 07:28:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 07:28:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 07:28:14] Production.INFO: ==24340== Releasing lock...
[2025-01-10 07:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 07:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 07:28:17] Production.INFO: count ==56
[2025-01-10 07:28:17] Production.ERROR: pbx CDR StartTime 2025-01-10 04:28:04 - End Time 2025-01-10 07:28:04
[2025-01-10 07:28:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 07:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215388', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215388', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215388', 'tblTempVendorCDR_20' ) start
[2025-01-10 07:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215388', 'tblTempVendorCDR_20' ) end
[2025-01-10 07:28:17] Production.INFO: ProcessCDR(1,14215388,1,1,2)
[2025-01-10 07:28:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215388,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:28:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215388,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:28:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215388,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:28:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215388,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:28:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215388', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:28:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215388', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:28:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:28:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:28:20] Production.INFO: ==24348== Releasing lock...
[2025-01-10 07:28:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 07:28:20] Production.INFO: 28 MB #Memory Used#
[2025-01-10 12:29:01] Production.INFO: ==24418== Lock acquired, processing the job...
[2025-01-10 12:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 12:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 12:29:01] Production.INFO: neon service started
[2025-01-10 12:29:01] Production.INFO: neon service started
[2025-01-10 12:29:01] Production.INFO: ==24418== Releasing lock...
[2025-01-10 12:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 12:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 07:29:02] Production.INFO: ==24421== Lock acquired, processing the job...
[2025-01-10 07:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:29:02] Production.INFO: ==24423== Lock acquired, processing the job...
[2025-01-10 12:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 07:29:02] Production.INFO: ==24421== Releasing lock...
[2025-01-10 07:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 07:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 12:29:02] Production.INFO: ==24423== Releasing lock...
[2025-01-10 12:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 12:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 07:29:03] Production.INFO: ==24429== Lock acquired, processing the job...
[2025-01-10 07:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 07:29:03] Production.INFO: ==24435== Lock acquired, processing the job...
[2025-01-10 07:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 07:29:03] Production.INFO: ==24437== Lock acquired, processing the job...
[2025-01-10 07:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 07:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 07:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:29:03] Production.INFO: ==24431== Lock acquired, processing the job...
[2025-01-10 07:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 07:29:03] Production.INFO: ==24433== Lock acquired, processing the job...
[2025-01-10 07:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 07:29:03] Production.INFO: Account Balance Start.
[2025-01-10 07:29:03] Production.INFO: CreateAllLog Start
[2025-01-10 07:29:03] Production.INFO: 117
[2025-01-10 07:29:03] Production.INFO: ==24439== Lock acquired, processing the job...
[2025-01-10 07:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 07:29:03] Production.INFO: Date 2025-01-08
[2025-01-10 07:29:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:29:03] Production.INFO: Date 2025-01-09
[2025-01-10 07:29:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:29:03] Production.INFO: Date 2025-01-10
[2025-01-10 07:29:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 07:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 07:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 07:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 07:29:03] Production.INFO: Total Charge 0
[2025-01-10 07:29:03] Production.INFO: CreateAllLog End
[2025-01-10 07:29:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:29:04] Production.INFO: count ==21
[2025-01-10 07:29:04] Production.ERROR: done
[2025-01-10 07:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 07:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:29:04] Production.INFO: count ==21
[2025-01-10 07:29:04] Production.INFO: Account Balance End.
[2025-01-10 07:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215392') start
[2025-01-10 07:29:04] Production.INFO: ==24431== Releasing lock...
[2025-01-10 07:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 07:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 07:29:04] Production.ERROR: CronJobId end 12
[2025-01-10 07:29:04] Production.INFO: ==24435== Releasing lock...
[2025-01-10 07:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 07:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 07:29:04] Production.ERROR: done
[2025-01-10 07:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215392') end
[2025-01-10 07:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 07:29:04] Production.INFO: 1
[2025-01-10 07:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 07:29:04] Production.INFO: ==24439== Releasing lock...
[2025-01-10 07:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 07:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 07:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 04:29:05
[end_date_ymd] => 2025-01-10 07:29:05
[RateCDR] => 1
)
[2025-01-10 07:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 04:29:05' and `end` < '2025-01-10 07:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 07:29:12] Production.ERROR: CronJobId end10
[2025-01-10 07:29:12] Production.INFO: ==24433== Releasing lock...
[2025-01-10 07:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 07:29:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 07:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 07:29:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 07:29:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 07:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 07:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 07:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 07:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 07:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 07:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 07:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 07:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 07:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 07:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 07:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 07:29:13] Production.INFO: call_cost start
[2025-01-10 07:29:13] Production.INFO: call_cost end
[2025-01-10 07:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 07:29:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 07:29:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 07:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 07:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 07:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 07:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 07:29:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 07:29:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 07:29:14] Production.INFO: ==24429== Releasing lock...
[2025-01-10 07:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 07:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 07:29:19] Production.INFO: count ==56
[2025-01-10 07:29:19] Production.ERROR: pbx CDR StartTime 2025-01-10 04:29:05 - End Time 2025-01-10 07:29:05
[2025-01-10 07:29:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 07:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215393', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215393', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215393', 'tblTempVendorCDR_20' ) start
[2025-01-10 07:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215393', 'tblTempVendorCDR_20' ) end
[2025-01-10 07:29:19] Production.INFO: ProcessCDR(1,14215393,1,1,2)
[2025-01-10 07:29:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215393,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:29:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215393,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:29:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215393,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:29:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215393,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215393', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215393', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:29:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:29:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:29:22] Production.INFO: ==24437== Releasing lock...
[2025-01-10 07:29:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 07:29:22] Production.INFO: 28 MB #Memory Used#
[2025-01-10 12:30:02] Production.INFO: ==24503== Lock acquired, processing the job...
[2025-01-10 12:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 12:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 12:30:02] Production.INFO: neon service started
[2025-01-10 12:30:02] Production.INFO: neon service started
[2025-01-10 12:30:02] Production.INFO: ==24503== Releasing lock...
[2025-01-10 12:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 12:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 07:30:02] Production.INFO: ==24505== Lock acquired, processing the job...
[2025-01-10 07:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:30:02] Production.INFO: ==24507== Lock acquired, processing the job...
[2025-01-10 12:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 12:30:02] Production.INFO: ==24507== Releasing lock...
[2025-01-10 12:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 12:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 07:30:03] Production.INFO: ==24505== Releasing lock...
[2025-01-10 07:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 07:30:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:30:03] Production.INFO: ==24513== Lock acquired, processing the job...
[2025-01-10 07:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 07:30:04] Production.INFO: ==24522== Lock acquired, processing the job...
[2025-01-10 07:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 07:30:04] Production.INFO: ==24513== Releasing lock...
[2025-01-10 07:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 07:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 07:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:30:04] Production.INFO: ==24509== Lock acquired, processing the job...
[2025-01-10 07:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 07:30:04] Production.INFO: ==24524== Lock acquired, processing the job...
[2025-01-10 07:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 07:30:04] Production.INFO: ==24511== Lock acquired, processing the job...
[2025-01-10 07:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 07:30:04] Production.INFO: ==24520== Lock acquired, processing the job...
[2025-01-10 07:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 07:30:04] Production.INFO: ==24516== Lock acquired, processing the job...
[2025-01-10 07:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 07:30:04] Production.INFO: ==24518== Lock acquired, processing the job...
[2025-01-10 07:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 07:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 07:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 07:30:04] Production.ERROR: CronJob PID - 24511
[2025-01-10 07:30:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-10 07:30:04] Production.ERROR: CronJob ID - 5
[2025-01-10 07:30:04] Production.ERROR: CronJob Last Run Time 2025-01-10 07:30:00
[2025-01-10 07:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 07:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 07:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 07:30:04] Production.ERROR: CronJob PID - 24516
[2025-01-10 07:30:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-10 07:30:04] Production.ERROR: CronJob ID - 10
[2025-01-10 07:30:04] Production.ERROR: CronJob Last Run Time 2025-01-10 07:30:00
[2025-01-10 07:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 07:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 07:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 07:30:04] Production.ERROR: CronJob PID - 24520
[2025-01-10 07:30:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-10 07:30:04] Production.ERROR: CronJob ID - 16
[2025-01-10 07:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:30:04] Production.ERROR: CronJob Last Run Time 2025-01-10 07:30:00
[2025-01-10 07:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 07:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 07:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 07:30:04] Production.ERROR: CronJob PID - 24522
[2025-01-10 07:30:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-10 07:30:04] Production.ERROR: CronJob ID - 17
[2025-01-10 07:30:04] Production.ERROR: CronJob Last Run Time 2025-01-10 07:30:00
[2025-01-10 07:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 07:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 07:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 07:30:04] Production.ERROR: CronJob PID - 24524
[2025-01-10 07:30:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-10 07:30:04] Production.ERROR: CronJob ID - 19
[2025-01-10 07:30:04] Production.ERROR: CronJob Last Run Time 2025-01-10 07:30:00
[2025-01-10 07:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 07:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 07:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 07:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:30:04] Production.INFO: count ==21
[2025-01-10 07:30:04] Production.ERROR: done
[2025-01-10 07:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 07:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 07:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 07:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 07:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 07:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:30:04] Production.INFO: ==24509== Releasing lock...
[2025-01-10 07:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 07:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 07:30:04] Production.INFO: count ==21
[2025-01-10 07:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215395') start
[2025-01-10 07:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 07:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14215397', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 07:30:04] Production.INFO: Account Balance Start.
[2025-01-10 07:30:04] Production.INFO: CreateAllLog Start
[2025-01-10 07:30:04] Production.INFO: 117
[2025-01-10 07:30:04] Production.INFO: Date 2025-01-08
[2025-01-10 07:30:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:30:04] Production.ERROR: done
[2025-01-10 07:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 07:30:05] Production.INFO: Date 2025-01-09
[2025-01-10 07:30:05] Production.INFO: Reseller ==> 0
[2025-01-10 07:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14215395') end
[2025-01-10 07:30:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 07:30:05] Production.INFO: 1
[2025-01-10 07:30:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 07:30:05] Production.INFO: Date 2025-01-10
[2025-01-10 07:30:05] Production.INFO: Reseller ==> 0
[2025-01-10 07:30:05] Production.INFO: ==24524== Releasing lock...
[2025-01-10 07:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 07:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 07:30:05] Production.ERROR: done
[2025-01-10 07:30:05] Production.INFO: Total Charge 0
[2025-01-10 07:30:05] Production.INFO: CreateAllLog End
[2025-01-10 07:30:05] Production.INFO: Account Balance End.
[2025-01-10 07:30:05] Production.ERROR: CronJobId end 12
[2025-01-10 07:30:05] Production.INFO: ==24518== Releasing lock...
[2025-01-10 07:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 07:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 07:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 04:30:06
[end_date_ymd] => 2025-01-10 07:30:06
[RateCDR] => 1
)
[2025-01-10 07:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 04:30:06' and `end` < '2025-01-10 07:30:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 07:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14215397', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 07:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 07:30:09] Production.INFO: ProcessCDR(1,14215397,1,1,2)
[2025-01-10 07:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14215397,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14215397,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:30:09] Production.INFO: ==24522== Releasing lock...
[2025-01-10 07:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 07:30:09] Production.INFO: 26 MB #Memory Used#
[2025-01-10 07:30:14] Production.ERROR: CronJobId end10
[2025-01-10 07:30:14] Production.INFO: ==24516== Releasing lock...
[2025-01-10 07:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 07:30:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 07:30:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 07:30:15] Production.INFO: ============== Balance Warning START===========
[2025-01-10 07:30:15] Production.INFO: ============== Balance Warning END===========
[2025-01-10 07:30:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 07:30:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 07:30:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 07:30:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 07:30:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 07:30:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 07:30:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 07:30:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 07:30:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 07:30:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 07:30:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 07:30:16] Production.INFO: call_cost start
[2025-01-10 07:30:16] Production.INFO: call_cost end
[2025-01-10 07:30:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 07:30:16] Production.INFO: ============== Report Schedule START===========
[2025-01-10 07:30:16] Production.INFO: ============== Report Schedule END===========
[2025-01-10 07:30:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 07:30:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 07:30:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 07:30:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 07:30:16] Production.INFO: ============== Deal alert START===========
[2025-01-10 07:30:16] Production.INFO: ============== Deal alert END===========
[2025-01-10 07:30:16] Production.INFO: ==24511== Releasing lock...
[2025-01-10 07:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 07:30:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 07:30:20] Production.INFO: count ==54
[2025-01-10 07:30:20] Production.ERROR: pbx CDR StartTime 2025-01-10 04:30:06 - End Time 2025-01-10 07:30:06
[2025-01-10 07:30:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 07:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215399', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215399', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215399', 'tblTempVendorCDR_20' ) start
[2025-01-10 07:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215399', 'tblTempVendorCDR_20' ) end
[2025-01-10 07:30:20] Production.INFO: ProcessCDR(1,14215399,1,1,2)
[2025-01-10 07:30:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215399,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:30:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215399,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:30:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215399,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:30:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215399,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:30:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215399', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:30:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215399', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:30:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:30:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:30:24] Production.INFO: ==24520== Releasing lock...
[2025-01-10 07:30:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 07:30:24] Production.INFO: 28 MB #Memory Used#
[2025-01-10 12:31:01] Production.INFO: ==24590== Lock acquired, processing the job...
[2025-01-10 12:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 12:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 12:31:01] Production.INFO: neon service started
[2025-01-10 12:31:01] Production.INFO: neon service started
[2025-01-10 12:31:01] Production.INFO: ==24590== Releasing lock...
[2025-01-10 12:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 12:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 07:31:02] Production.INFO: ==24592== Lock acquired, processing the job...
[2025-01-10 07:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:31:02] Production.INFO: ==24594== Lock acquired, processing the job...
[2025-01-10 12:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 12:31:02] Production.INFO: ==24594== Releasing lock...
[2025-01-10 12:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 12:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 07:31:02] Production.INFO: ==24592== Releasing lock...
[2025-01-10 07:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 07:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:31:03] Production.INFO: ==24599== Lock acquired, processing the job...
[2025-01-10 07:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 07:31:03] Production.INFO: ==24601== Lock acquired, processing the job...
[2025-01-10 07:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 07:31:03] Production.INFO: ==24603== Lock acquired, processing the job...
[2025-01-10 07:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 07:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 07:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 07:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 07:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 07:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 07:31:03] Production.INFO: ==24601== Releasing lock...
[2025-01-10 07:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 07:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 07:31:03] Production.INFO: ==24605== Lock acquired, processing the job...
[2025-01-10 07:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 07:31:03] Production.INFO: ==24607== Lock acquired, processing the job...
[2025-01-10 07:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 07:31:03] Production.INFO: ==24609== Lock acquired, processing the job...
[2025-01-10 07:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 07:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:31:04] Production.INFO: Account Balance Start.
[2025-01-10 07:31:04] Production.INFO: CreateAllLog Start
[2025-01-10 07:31:04] Production.INFO: 117
[2025-01-10 07:31:04] Production.INFO: Date 2025-01-08
[2025-01-10 07:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:31:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:31:04] Production.INFO: count ==21
[2025-01-10 07:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:31:04] Production.INFO: count ==21
[2025-01-10 07:31:04] Production.INFO: Date 2025-01-09
[2025-01-10 07:31:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215403') start
[2025-01-10 07:31:04] Production.INFO: Date 2025-01-10
[2025-01-10 07:31:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:31:04] Production.ERROR: done
[2025-01-10 07:31:04] Production.INFO: Total Charge 0
[2025-01-10 07:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 07:31:04] Production.INFO: CreateAllLog End
[2025-01-10 07:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215403') end
[2025-01-10 07:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 07:31:04] Production.INFO: 1
[2025-01-10 07:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 07:31:04] Production.ERROR: done
[2025-01-10 07:31:04] Production.INFO: ==24609== Releasing lock...
[2025-01-10 07:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 07:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 07:31:04] Production.INFO: Account Balance End.
[2025-01-10 07:31:04] Production.ERROR: CronJobId end 12
[2025-01-10 07:31:04] Production.INFO: ==24605== Releasing lock...
[2025-01-10 07:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 07:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 07:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 04:31:05
[end_date_ymd] => 2025-01-10 07:31:05
[RateCDR] => 1
)
[2025-01-10 07:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 04:31:05' and `end` < '2025-01-10 07:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 07:31:10] Production.ERROR: CronJobId end10
[2025-01-10 07:31:10] Production.INFO: ==24603== Releasing lock...
[2025-01-10 07:31:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 07:31:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 07:31:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 07:31:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 07:31:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 07:31:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 07:31:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 07:31:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 07:31:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 07:31:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 07:31:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 07:31:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 07:31:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 07:31:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 07:31:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 07:31:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 07:31:13] Production.INFO: call_cost start
[2025-01-10 07:31:13] Production.INFO: call_cost end
[2025-01-10 07:31:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 07:31:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 07:31:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 07:31:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 07:31:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 07:31:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 07:31:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 07:31:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 07:31:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 07:31:13] Production.INFO: ==24599== Releasing lock...
[2025-01-10 07:31:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 07:31:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 07:31:18] Production.INFO: count ==54
[2025-01-10 07:31:18] Production.ERROR: pbx CDR StartTime 2025-01-10 04:31:05 - End Time 2025-01-10 07:31:05
[2025-01-10 07:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 07:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215404', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215404', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215404', 'tblTempVendorCDR_20' ) start
[2025-01-10 07:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215404', 'tblTempVendorCDR_20' ) end
[2025-01-10 07:31:18] Production.INFO: ProcessCDR(1,14215404,1,1,2)
[2025-01-10 07:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215404,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215404,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215404,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215404,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215404', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215404', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:31:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:31:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:31:21] Production.INFO: ==24607== Releasing lock...
[2025-01-10 07:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 07:31:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 12:32:02] Production.INFO: ==24671== Lock acquired, processing the job...
[2025-01-10 12:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 12:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 12:32:02] Production.INFO: neon service started
[2025-01-10 12:32:02] Production.INFO: neon service started
[2025-01-10 12:32:02] Production.INFO: ==24671== Releasing lock...
[2025-01-10 12:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 12:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 07:32:02] Production.INFO: ==24673== Lock acquired, processing the job...
[2025-01-10 07:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:32:02] Production.INFO: ==24675== Lock acquired, processing the job...
[2025-01-10 12:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 12:32:02] Production.INFO: ==24675== Releasing lock...
[2025-01-10 12:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 12:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 07:32:03] Production.INFO: ==24673== Releasing lock...
[2025-01-10 07:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 07:32:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:32:03] Production.INFO: ==24684== Lock acquired, processing the job...
[2025-01-10 07:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 07:32:03] Production.INFO: ==24678== Lock acquired, processing the job...
[2025-01-10 07:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 07:32:04] Production.INFO: ==24680== Lock acquired, processing the job...
[2025-01-10 07:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 07:32:04] Production.INFO: Account Balance Start.
[2025-01-10 07:32:04] Production.INFO: CreateAllLog Start
[2025-01-10 07:32:04] Production.INFO: 117
[2025-01-10 07:32:04] Production.INFO: ==24686== Lock acquired, processing the job...
[2025-01-10 07:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 07:32:04] Production.INFO: Date 2025-01-08
[2025-01-10 07:32:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:32:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 07:32:04] Production.INFO: Date 2025-01-09
[2025-01-10 07:32:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:32:04] Production.INFO: ==24682== Lock acquired, processing the job...
[2025-01-10 07:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 07:32:04] Production.INFO: Date 2025-01-10
[2025-01-10 07:32:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:32:04] Production.INFO: Total Charge 0
[2025-01-10 07:32:04] Production.INFO: CreateAllLog End
[2025-01-10 07:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 07:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 07:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 07:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 07:32:04] Production.INFO: ==24688== Lock acquired, processing the job...
[2025-01-10 07:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 07:32:04] Production.INFO: Account Balance End.
[2025-01-10 07:32:04] Production.INFO: ==24680== Releasing lock...
[2025-01-10 07:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 07:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 07:32:04] Production.ERROR: CronJobId end 12
[2025-01-10 07:32:04] Production.INFO: ==24684== Releasing lock...
[2025-01-10 07:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 07:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 07:32:04] Production.ERROR: done
[2025-01-10 07:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 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-01-10 07:32:04] Production.INFO: count ==21
[2025-01-10 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-01-10 07:32:04] Production.INFO: count ==21
[2025-01-10 07:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215408') start
[2025-01-10 07:32:05] Production.ERROR: done
[2025-01-10 07:32:05] Production.ERROR: PBX CALL prc_importPBXExtension('14215408') end
[2025-01-10 07:32:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 07:32:05] Production.INFO: 1
[2025-01-10 07:32:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 07:32:05] Production.INFO: ==24688== Releasing lock...
[2025-01-10 07:32:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 07:32:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 07:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 04:32:05
[end_date_ymd] => 2025-01-10 07:32:05
[RateCDR] => 1
)
[2025-01-10 07:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 04:32:05' and `end` < '2025-01-10 07:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 07:32:11] Production.ERROR: CronJobId end10
[2025-01-10 07:32:11] Production.INFO: ==24682== Releasing lock...
[2025-01-10 07:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 07:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 07:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 07:32:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 07:32:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 07:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 07:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 07:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 07:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 07:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 07:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 07:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 07:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 07:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 07:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 07:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 07:32:14] Production.INFO: call_cost start
[2025-01-10 07:32:14] Production.INFO: call_cost end
[2025-01-10 07:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 07:32:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 07:32:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 07:32:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 07:32:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 07:32:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 07:32:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 07:32:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 07:32:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 07:32:15] Production.INFO: ==24678== Releasing lock...
[2025-01-10 07:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 07:32:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 07:32:19] Production.INFO: count ==55
[2025-01-10 07:32:19] Production.ERROR: pbx CDR StartTime 2025-01-10 04:32:05 - End Time 2025-01-10 07:32:05
[2025-01-10 07:32:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 07:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215409', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215409', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215409', 'tblTempVendorCDR_20' ) start
[2025-01-10 07:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215409', 'tblTempVendorCDR_20' ) end
[2025-01-10 07:32:19] Production.INFO: ProcessCDR(1,14215409,1,1,2)
[2025-01-10 07:32:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215409,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:32:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215409,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:32:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215409,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:32:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215409,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215409', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215409', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:32:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:32:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:32:22] Production.INFO: ==24686== Releasing lock...
[2025-01-10 07:32:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 07:32:22] Production.INFO: 28 MB #Memory Used#
[2025-01-10 12:33:01] Production.INFO: ==24748== Lock acquired, processing the job...
[2025-01-10 12:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 12:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 12:33:01] Production.INFO: neon service started
[2025-01-10 12:33:01] Production.INFO: neon service started
[2025-01-10 12:33:01] Production.INFO: ==24748== Releasing lock...
[2025-01-10 12:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 12:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 07:33:02] Production.INFO: ==24750== Lock acquired, processing the job...
[2025-01-10 07:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:33:02] Production.INFO: ==24752== Lock acquired, processing the job...
[2025-01-10 12:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 12:33:02] Production.INFO: ==24752== Releasing lock...
[2025-01-10 12:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 12:33:02] Production.INFO: 26 MB #Memory Used#
[2025-01-10 07:33:02] Production.INFO: ==24750== Releasing lock...
[2025-01-10 07:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 07:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:33:03] Production.INFO: ==24761== Lock acquired, processing the job...
[2025-01-10 07:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 07:33:03] Production.INFO: Account Balance Start.
[2025-01-10 07:33:03] Production.INFO: CreateAllLog Start
[2025-01-10 07:33:03] Production.INFO: 117
[2025-01-10 07:33:03] Production.INFO: Date 2025-01-08
[2025-01-10 07:33:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:33:03] Production.INFO: Date 2025-01-09
[2025-01-10 07:33:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:33:03] Production.INFO: Date 2025-01-10
[2025-01-10 07:33:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:33:03] Production.INFO: Total Charge 0
[2025-01-10 07:33:03] Production.INFO: CreateAllLog End
[2025-01-10 07:33:03] Production.INFO: Account Balance End.
[2025-01-10 07:33:03] Production.ERROR: CronJobId end 12
[2025-01-10 07:33:03] Production.INFO: ==24761== Releasing lock...
[2025-01-10 07:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 07:33:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 07:33:03] Production.INFO: ==24755== Lock acquired, processing the job...
[2025-01-10 07:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 07:33:03] Production.INFO: ==24757== Lock acquired, processing the job...
[2025-01-10 07:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 07:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 07:33:03] Production.INFO: ==24759== Lock acquired, processing the job...
[2025-01-10 07:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 07:33:03] Production.INFO: ==24763== Lock acquired, processing the job...
[2025-01-10 07:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 07:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:33:03] Production.INFO: ==24765== Lock acquired, processing the job...
[2025-01-10 07:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 07:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 07:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 07:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 07:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 07:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:33:04] Production.INFO: ==24757== Releasing lock...
[2025-01-10 07:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 07:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 07:33:04] Production.INFO: count ==21
[2025-01-10 07:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:33:04] Production.INFO: count ==21
[2025-01-10 07:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215413') start
[2025-01-10 07:33:04] Production.ERROR: done
[2025-01-10 07:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 07:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215413') end
[2025-01-10 07:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 07:33:04] Production.INFO: 1
[2025-01-10 07:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 07:33:04] Production.INFO: ==24765== Releasing lock...
[2025-01-10 07:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 07:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 07:33:04] Production.ERROR: done
[2025-01-10 07:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 04:33:05
[end_date_ymd] => 2025-01-10 07:33:05
[RateCDR] => 1
)
[2025-01-10 07:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 04:33:05' and `end` < '2025-01-10 07:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 07:33:11] Production.ERROR: CronJobId end10
[2025-01-10 07:33:11] Production.INFO: ==24759== Releasing lock...
[2025-01-10 07:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 07:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 07:33:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 07:33:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 07:33:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 07:33:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 07:33:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 07:33:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 07:33:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 07:33:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 07:33:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 07:33:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 07:33:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 07:33:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 07:33:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 07:33:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 07:33:12] Production.INFO: call_cost start
[2025-01-10 07:33:12] Production.INFO: call_cost end
[2025-01-10 07:33:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 07:33:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 07:33:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 07:33:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 07:33:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 07:33:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 07:33:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 07:33:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 07:33:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 07:33:13] Production.INFO: ==24755== Releasing lock...
[2025-01-10 07:33:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 07:33:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 07:33:18] Production.INFO: count ==60
[2025-01-10 07:33:18] Production.ERROR: pbx CDR StartTime 2025-01-10 04:33:05 - End Time 2025-01-10 07:33:05
[2025-01-10 07:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 07:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215414', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215414', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215414', 'tblTempVendorCDR_20' ) start
[2025-01-10 07:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215414', 'tblTempVendorCDR_20' ) end
[2025-01-10 07:33:18] Production.INFO: ProcessCDR(1,14215414,1,1,2)
[2025-01-10 07:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215414,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215414,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215414,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215414,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215414', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215414', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:33:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:33:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:33:21] Production.INFO: ==24763== Releasing lock...
[2025-01-10 07:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 07:33:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 12:34:02] Production.INFO: ==24880== Lock acquired, processing the job...
[2025-01-10 12:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 12:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 12:34:02] Production.INFO: neon service started
[2025-01-10 12:34:02] Production.INFO: neon service started
[2025-01-10 12:34:02] Production.INFO: ==24880== Releasing lock...
[2025-01-10 12:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 12:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 07:34:02] Production.INFO: ==24884== Lock acquired, processing the job...
[2025-01-10 07:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 07:34:02] Production.INFO: ==24884== Releasing lock...
[2025-01-10 07:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 07:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 12:34:02] Production.INFO: ==24886== Lock acquired, processing the job...
[2025-01-10 12:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 12:34:03] Production.INFO: ==24886== Releasing lock...
[2025-01-10 12:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 12:34:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 07:34:03] Production.INFO: ==24892== Lock acquired, processing the job...
[2025-01-10 07:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 07:34:03] Production.INFO: ==24898== Lock acquired, processing the job...
[2025-01-10 07:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 07:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 07:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 07:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 07:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 07:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:34:04] Production.INFO: ==24888== Lock acquired, processing the job...
[2025-01-10 07:34:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 07:34:04] Production.INFO: ==24890== Lock acquired, processing the job...
[2025-01-10 07:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 07:34:04] Production.INFO: count ==21
[2025-01-10 07:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:34:04] Production.INFO: count ==21
[2025-01-10 07:34:04] Production.INFO: ==24894== Lock acquired, processing the job...
[2025-01-10 07:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215415') start
[2025-01-10 07:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 07:34:04] Production.INFO: ==24896== Lock acquired, processing the job...
[2025-01-10 07:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 07:34:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 07:34:04] Production.INFO: Account Balance Start.
[2025-01-10 07:34:04] Production.INFO: CreateAllLog Start
[2025-01-10 07:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:34:04] Production.INFO: 117
[2025-01-10 07:34:04] Production.INFO: Date 2025-01-08
[2025-01-10 07:34:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:34:04] Production.INFO: Date 2025-01-09
[2025-01-10 07:34:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215415') end
[2025-01-10 07:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 07:34:04] Production.INFO: 1
[2025-01-10 07:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 07:34:04] Production.INFO: Date 2025-01-10
[2025-01-10 07:34:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:34:04] Production.INFO: ==24898== Releasing lock...
[2025-01-10 07:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 07:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 07:34:04] Production.INFO: Total Charge 0
[2025-01-10 07:34:04] Production.INFO: CreateAllLog End
[2025-01-10 07:34:04] Production.INFO: ==24890== Releasing lock...
[2025-01-10 07:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 07:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 07:34:04] Production.ERROR: done
[2025-01-10 07:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 07:34:04] Production.INFO: Account Balance End.
[2025-01-10 07:34:04] Production.ERROR: CronJobId end 12
[2025-01-10 07:34:04] Production.INFO: ==24894== Releasing lock...
[2025-01-10 07:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 07:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 07:34:04] Production.ERROR: done
[2025-01-10 07:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 04:34:05
[end_date_ymd] => 2025-01-10 07:34:05
[RateCDR] => 1
)
[2025-01-10 07:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 04:34:05' and `end` < '2025-01-10 07:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 07:34:14] Production.ERROR: CronJobId end10
[2025-01-10 07:34:14] Production.INFO: ==24892== Releasing lock...
[2025-01-10 07:34:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 07:34:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 07:34:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 07:34:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 07:34:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 07:34:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 07:34:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 07:34:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 07:34:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 07:34:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 07:34:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 07:34:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 07:34:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 07:34:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 07:34:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 07:34:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 07:34:14] Production.INFO: call_cost start
[2025-01-10 07:34:14] Production.INFO: call_cost end
[2025-01-10 07:34:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 07:34:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 07:34:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 07:34:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 07:34:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 07:34:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 07:34:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 07:34:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 07:34:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 07:34:15] Production.INFO: ==24888== Releasing lock...
[2025-01-10 07:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 07:34:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 07:34:18] Production.INFO: count ==60
[2025-01-10 07:34:18] Production.ERROR: pbx CDR StartTime 2025-01-10 04:34:05 - End Time 2025-01-10 07:34:05
[2025-01-10 07:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 07:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215419', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215419', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215419', 'tblTempVendorCDR_20' ) start
[2025-01-10 07:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215419', 'tblTempVendorCDR_20' ) end
[2025-01-10 07:34:18] Production.INFO: ProcessCDR(1,14215419,1,1,2)
[2025-01-10 07:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215419,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215419,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215419,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:34:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215419,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215419', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215419', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:34:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:34:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:34:22] Production.INFO: ==24896== Releasing lock...
[2025-01-10 07:34:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 07:34:22] Production.INFO: 28 MB #Memory Used#
[2025-01-10 12:35:01] Production.INFO: ==24957== Lock acquired, processing the job...
[2025-01-10 12:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 12:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 12:35:01] Production.INFO: neon service started
[2025-01-10 12:35:01] Production.INFO: neon service started
[2025-01-10 12:35:01] Production.INFO: ==24957== Releasing lock...
[2025-01-10 12:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 12:35:01] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 07:35:02] Production.INFO: ==24959== Lock acquired, processing the job...
[2025-01-10 07:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:35:02] Production.INFO: ==24961== Lock acquired, processing the job...
[2025-01-10 12:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 12:35:02] Production.INFO: ==24961== Releasing lock...
[2025-01-10 12:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 12:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 07:35:02] Production.INFO: ==24959== Releasing lock...
[2025-01-10 07:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 07:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:35:03] Production.INFO: ==24965== Lock acquired, processing the job...
[2025-01-10 07:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 07:35:03] Production.INFO: ==24974== Lock acquired, processing the job...
[2025-01-10 07:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 07:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:35:03] Production.INFO: count ==21
[2025-01-10 07:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:35:03] Production.INFO: ==24963== Lock acquired, processing the job...
[2025-01-10 07:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 07:35:03] Production.INFO: count ==21
[2025-01-10 07:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215421') start
[2025-01-10 07:35:03] Production.INFO: ==24967== Lock acquired, processing the job...
[2025-01-10 07:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 07:35:03] Production.INFO: ==24969== Lock acquired, processing the job...
[2025-01-10 07:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 07:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 07:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215421') end
[2025-01-10 07:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 07:35:03] Production.INFO: 1
[2025-01-10 07:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 07:35:03] Production.INFO: ==24965== Releasing lock...
[2025-01-10 07:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 07:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 07:35:03] Production.INFO: Account Balance Start.
[2025-01-10 07:35:03] Production.INFO: CreateAllLog Start
[2025-01-10 07:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 07:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 07:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 07:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 07:35:03] Production.INFO: 117
[2025-01-10 07:35:03] Production.INFO: ==24974== Releasing lock...
[2025-01-10 07:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 07:35:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 07:35:03] Production.INFO: ==24971== Lock acquired, processing the job...
[2025-01-10 07:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 07:35:03] Production.INFO: Date 2025-01-08
[2025-01-10 07:35:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:35:03] Production.INFO: Date 2025-01-09
[2025-01-10 07:35:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:35:03] Production.INFO: Date 2025-01-10
[2025-01-10 07:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:35:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:35:04] Production.INFO: Total Charge 0
[2025-01-10 07:35:04] Production.INFO: CreateAllLog End
[2025-01-10 07:35:04] Production.ERROR: done
[2025-01-10 07:35:04] Production.INFO: Account Balance End.
[2025-01-10 07:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 07:35:04] Production.ERROR: CronJobId end 12
[2025-01-10 07:35:04] Production.INFO: ==24969== Releasing lock...
[2025-01-10 07:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 07:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 07:35:04] Production.ERROR: done
[2025-01-10 07:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 04:35:05
[end_date_ymd] => 2025-01-10 07:35:05
[RateCDR] => 1
)
[2025-01-10 07:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 04:35:05' and `end` < '2025-01-10 07:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 07:35:11] Production.ERROR: CronJobId end10
[2025-01-10 07:35:11] Production.INFO: ==24967== Releasing lock...
[2025-01-10 07:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 07:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 07:35:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 07:35:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 07:35:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 07:35:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 07:35:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 07:35:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 07:35:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 07:35:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 07:35:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 07:35:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 07:35:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 07:35:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 07:35:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 07:35:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 07:35:12] Production.INFO: call_cost start
[2025-01-10 07:35:12] Production.INFO: call_cost end
[2025-01-10 07:35:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 07:35:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 07:35:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 07:35:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 07:35:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 07:35:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 07:35:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 07:35:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 07:35:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 07:35:13] Production.INFO: ==24963== Releasing lock...
[2025-01-10 07:35:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 07:35:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 07:35:18] Production.INFO: count ==60
[2025-01-10 07:35:18] Production.ERROR: pbx CDR StartTime 2025-01-10 04:35:05 - End Time 2025-01-10 07:35:05
[2025-01-10 07:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 07:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215424', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215424', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215424', 'tblTempVendorCDR_20' ) start
[2025-01-10 07:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215424', 'tblTempVendorCDR_20' ) end
[2025-01-10 07:35:18] Production.INFO: ProcessCDR(1,14215424,1,1,2)
[2025-01-10 07:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215424,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215424,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215424,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215424,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215424', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215424', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:35:21] Production.INFO: ==24971== Releasing lock...
[2025-01-10 07:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 07:35:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 12:36:02] Production.INFO: ==25033== Lock acquired, processing the job...
[2025-01-10 12:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 12:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 12:36:02] Production.INFO: neon service started
[2025-01-10 12:36:02] Production.INFO: neon service started
[2025-01-10 12:36:02] Production.INFO: ==25033== Releasing lock...
[2025-01-10 12:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 12:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 07:36:02] Production.INFO: ==25035== Lock acquired, processing the job...
[2025-01-10 07:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 07:36:02] Production.INFO: ==25035== Releasing lock...
[2025-01-10 07:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 07:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 12:36:02] Production.INFO: ==25037== Lock acquired, processing the job...
[2025-01-10 12:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 12:36:03] Production.INFO: ==25037== Releasing lock...
[2025-01-10 12:36:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 12:36:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 07:36:03] Production.INFO: ==25043== Lock acquired, processing the job...
[2025-01-10 07:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 07:36:03] Production.INFO: ==25045== Lock acquired, processing the job...
[2025-01-10 07:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 07:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 07:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 07:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 07:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 07:36:03] Production.INFO: ==25039== Lock acquired, processing the job...
[2025-01-10 07:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 07:36:03] Production.INFO: Account Balance Start.
[2025-01-10 07:36:03] Production.INFO: CreateAllLog Start
[2025-01-10 07:36:03] Production.INFO: 117
[2025-01-10 07:36:03] Production.INFO: Date 2025-01-08
[2025-01-10 07:36:03] Production.INFO: ==25041== Lock acquired, processing the job...
[2025-01-10 07:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 07:36:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:36:03] Production.INFO: Date 2025-01-09
[2025-01-10 07:36:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:36:03] Production.INFO: ==25049== Lock acquired, processing the job...
[2025-01-10 07:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 07:36:03] Production.INFO: ==25047== Lock acquired, processing the job...
[2025-01-10 07:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 07:36:03] Production.INFO: Date 2025-01-10
[2025-01-10 07:36:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 07:36:03] Production.INFO: Total Charge 0
[2025-01-10 07:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:36:04] Production.INFO: CreateAllLog End
[2025-01-10 07:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:36:04] Production.INFO: ==25041== Releasing lock...
[2025-01-10 07:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 07:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 07:36:04] Production.INFO: count ==21
[2025-01-10 07:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:36:04] Production.INFO: count ==21
[2025-01-10 07:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215428') start
[2025-01-10 07:36:04] Production.ERROR: done
[2025-01-10 07:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 07:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215428') end
[2025-01-10 07:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 07:36:04] Production.INFO: 1
[2025-01-10 07:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 07:36:04] Production.INFO: Account Balance End.
[2025-01-10 07:36:04] Production.ERROR: CronJobId end 12
[2025-01-10 07:36:04] Production.INFO: ==25045== Releasing lock...
[2025-01-10 07:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 07:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 07:36:04] Production.INFO: ==25049== Releasing lock...
[2025-01-10 07:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 07:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 07:36:04] Production.ERROR: done
[2025-01-10 07:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 04:36:05
[end_date_ymd] => 2025-01-10 07:36:05
[RateCDR] => 1
)
[2025-01-10 07:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 04:36:05' and `end` < '2025-01-10 07:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 07:36:10] Production.ERROR: CronJobId end10
[2025-01-10 07:36:10] Production.INFO: ==25043== Releasing lock...
[2025-01-10 07:36:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 07:36:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 07:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 07:36:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 07:36:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 07:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 07:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 07:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 07:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 07:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 07:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 07:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 07:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 07:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 07:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 07:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 07:36:13] Production.INFO: call_cost start
[2025-01-10 07:36:13] Production.INFO: call_cost end
[2025-01-10 07:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 07:36:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 07:36:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 07:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 07:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 07:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 07:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 07:36:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 07:36:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 07:36:14] Production.INFO: ==25039== Releasing lock...
[2025-01-10 07:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 07:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 07:36:18] Production.INFO: count ==62
[2025-01-10 07:36:18] Production.ERROR: pbx CDR StartTime 2025-01-10 04:36:05 - End Time 2025-01-10 07:36:05
[2025-01-10 07:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 07:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215429', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215429', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215429', 'tblTempVendorCDR_20' ) start
[2025-01-10 07:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215429', 'tblTempVendorCDR_20' ) end
[2025-01-10 07:36:18] Production.INFO: ProcessCDR(1,14215429,1,1,2)
[2025-01-10 07:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215429,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215429,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215429,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:36:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215429,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215429', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215429', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:36:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:36:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:36:21] Production.INFO: ==25047== Releasing lock...
[2025-01-10 07:36:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 07:36:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 12:37:01] Production.INFO: ==25107== Lock acquired, processing the job...
[2025-01-10 12:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 12:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 12:37:01] Production.INFO: neon service started
[2025-01-10 12:37:01] Production.INFO: neon service started
[2025-01-10 12:37:01] Production.INFO: ==25107== Releasing lock...
[2025-01-10 12:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 12:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 07:37:01] Production.INFO: ==25109== Lock acquired, processing the job...
[2025-01-10 07:37:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:37:02] Production.INFO: ==25111== Lock acquired, processing the job...
[2025-01-10 12:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 12:37:02] Production.INFO: ==25111== Releasing lock...
[2025-01-10 12:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 12:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 07:37:02] Production.INFO: ==25109== Releasing lock...
[2025-01-10 07:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 07:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:37:02] Production.INFO: ==25113== Lock acquired, processing the job...
[2025-01-10 07:37:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 07:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 07:37:03] Production.INFO: ==25119== Lock acquired, processing the job...
[2025-01-10 07:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 07:37:03] Production.INFO: ==25115== Lock acquired, processing the job...
[2025-01-10 07:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 07:37:03] Production.INFO: Account Balance Start.
[2025-01-10 07:37:03] Production.INFO: CreateAllLog Start
[2025-01-10 07:37:03] Production.INFO: 117
[2025-01-10 07:37:03] Production.INFO: Date 2025-01-08
[2025-01-10 07:37:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:37:03] Production.INFO: ==25117== Lock acquired, processing the job...
[2025-01-10 07:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 07:37:03] Production.INFO: Date 2025-01-09
[2025-01-10 07:37:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:37:03] Production.INFO: ==25124== Lock acquired, processing the job...
[2025-01-10 07:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 07:37:03] Production.INFO: ==25122== Lock acquired, processing the job...
[2025-01-10 07:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 07:37:03] Production.INFO: Date 2025-01-10
[2025-01-10 07:37:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:37:03] Production.INFO: Total Charge 0
[2025-01-10 07:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 07:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 07:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 07:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 07:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:37:03] Production.INFO: CreateAllLog End
[2025-01-10 07:37:03] Production.INFO: count ==21
[2025-01-10 07:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:37:03] Production.INFO: count ==21
[2025-01-10 07:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215433') start
[2025-01-10 07:37:03] Production.INFO: ==25115== Releasing lock...
[2025-01-10 07:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 07:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 07:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215433') end
[2025-01-10 07:37:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 07:37:03] Production.INFO: 1
[2025-01-10 07:37:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 07:37:03] Production.INFO: Account Balance End.
[2025-01-10 07:37:03] Production.INFO: ==25124== Releasing lock...
[2025-01-10 07:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 07:37:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 07:37:03] Production.ERROR: CronJobId end 12
[2025-01-10 07:37:03] Production.INFO: ==25119== Releasing lock...
[2025-01-10 07:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 07:37:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 07:37:03] Production.ERROR: done
[2025-01-10 07:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 07:37:03] Production.ERROR: done
[2025-01-10 07:37:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 04:37:04
[end_date_ymd] => 2025-01-10 07:37:04
[RateCDR] => 1
)
[2025-01-10 07:37:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 04:37:04' and `end` < '2025-01-10 07:37:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 07:37:09] Production.ERROR: CronJobId end10
[2025-01-10 07:37:09] Production.INFO: ==25117== Releasing lock...
[2025-01-10 07:37:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 07:37:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 07:37:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 07:37:11] Production.INFO: ============== Balance Warning START===========
[2025-01-10 07:37:11] Production.INFO: ============== Balance Warning END===========
[2025-01-10 07:37:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 07:37:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 07:37:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 07:37:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 07:37:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 07:37:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 07:37:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 07:37:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 07:37:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 07:37:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 07:37:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 07:37:12] Production.INFO: call_cost start
[2025-01-10 07:37:12] Production.INFO: call_cost end
[2025-01-10 07:37:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 07:37:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 07:37:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 07:37:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 07:37:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 07:37:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 07:37:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 07:37:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 07:37:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 07:37:13] Production.INFO: ==25113== Releasing lock...
[2025-01-10 07:37:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 07:37:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 07:37:18] Production.INFO: count ==62
[2025-01-10 07:37:18] Production.ERROR: pbx CDR StartTime 2025-01-10 04:37:04 - End Time 2025-01-10 07:37:04
[2025-01-10 07:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 07:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215434', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215434', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215434', 'tblTempVendorCDR_20' ) start
[2025-01-10 07:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215434', 'tblTempVendorCDR_20' ) end
[2025-01-10 07:37:18] Production.INFO: ProcessCDR(1,14215434,1,1,2)
[2025-01-10 07:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215434,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215434,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215434,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215434,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215434', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215434', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:37:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:37:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:37:21] Production.INFO: ==25122== Releasing lock...
[2025-01-10 07:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 07:37:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 12:38:02] Production.INFO: ==25179== Lock acquired, processing the job...
[2025-01-10 12:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 12:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 12:38:02] Production.INFO: neon service started
[2025-01-10 12:38:02] Production.INFO: neon service started
[2025-01-10 12:38:02] Production.INFO: ==25179== Releasing lock...
[2025-01-10 12:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 12:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 07:38:02] Production.INFO: ==25181== Lock acquired, processing the job...
[2025-01-10 07:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 07:38:02] Production.INFO: ==25181== Releasing lock...
[2025-01-10 07:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 07:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 12:38:02] Production.INFO: ==25183== Lock acquired, processing the job...
[2025-01-10 12:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 12:38:03] Production.INFO: ==25183== Releasing lock...
[2025-01-10 12:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 12:38:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 07:38:03] Production.INFO: ==25193== Lock acquired, processing the job...
[2025-01-10 07:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 07:38:03] Production.INFO: ==25185== Lock acquired, processing the job...
[2025-01-10 07:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 07:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:38:03] Production.INFO: ==25189== Lock acquired, processing the job...
[2025-01-10 07:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 07:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 07:38:03] Production.INFO: ==25191== Lock acquired, processing the job...
[2025-01-10 07:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 07:38:03] Production.INFO: ==25187== Lock acquired, processing the job...
[2025-01-10 07:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 07:38:03] Production.INFO: ==25195== Lock acquired, processing the job...
[2025-01-10 07:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 07:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 07:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 07:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 07:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 07:38:04] Production.INFO: Account Balance Start.
[2025-01-10 07:38:04] Production.INFO: CreateAllLog Start
[2025-01-10 07:38:04] Production.INFO: 117
[2025-01-10 07:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:38:04] Production.ERROR: done
[2025-01-10 07:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 07:38:04] Production.INFO: Date 2025-01-08
[2025-01-10 07:38:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:38:04] Production.INFO: count ==21
[2025-01-10 07:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:38:04] Production.INFO: count ==21
[2025-01-10 07:38:04] Production.INFO: Date 2025-01-09
[2025-01-10 07:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215437') start
[2025-01-10 07:38:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:38:04] Production.ERROR: done
[2025-01-10 07:38:04] Production.INFO: Date 2025-01-10
[2025-01-10 07:38:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:38:04] Production.INFO: ==25187== Releasing lock...
[2025-01-10 07:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 07:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 07:38:04] Production.INFO: Total Charge 0
[2025-01-10 07:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215437') end
[2025-01-10 07:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 07:38:04] Production.INFO: 1
[2025-01-10 07:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 07:38:04] Production.INFO: CreateAllLog End
[2025-01-10 07:38:04] Production.INFO: ==25195== Releasing lock...
[2025-01-10 07:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 07:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 07:38:04] Production.INFO: Account Balance End.
[2025-01-10 07:38:04] Production.ERROR: CronJobId end 12
[2025-01-10 07:38:04] Production.INFO: ==25191== Releasing lock...
[2025-01-10 07:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 07:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 07:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 04:38:05
[end_date_ymd] => 2025-01-10 07:38:05
[RateCDR] => 1
)
[2025-01-10 07:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 04:38:05' and `end` < '2025-01-10 07:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 07:38:11] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#11 [internal function]: App\Console\Commands\NeonAlerts->fire()
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,10))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#2 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#6 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#7 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#8 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#9 [internal function]: App\Console\Commands\NeonAlerts->fire()
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 {main}
[2025-01-10 07:38:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 07:38:11] Production.INFO: ============== Balance Warning START===========
[2025-01-10 07:38:11] Production.ERROR: CronJobId end10
[2025-01-10 07:38:11] Production.INFO: ==25189== Releasing lock...
[2025-01-10 07:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 07:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 07:38:11] Production.INFO: ============== Balance Warning END===========
[2025-01-10 07:38:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 07:38:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 07:38:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 07:38:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 07:38:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 07:38:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 07:38:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 07:38:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 07:38:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 07:38:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 07:38:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 07:38:11] Production.INFO: call_cost start
[2025-01-10 07:38:11] Production.INFO: call_cost end
[2025-01-10 07:38:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 07:38:12] Production.INFO: ============== Report Schedule START===========
[2025-01-10 07:38:12] Production.INFO: ============== Report Schedule END===========
[2025-01-10 07:38:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 07:38:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 07:38:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 07:38:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 07:38:12] Production.INFO: ============== Deal alert START===========
[2025-01-10 07:38:12] Production.INFO: ============== Deal alert END===========
[2025-01-10 07:38:12] Production.INFO: ==25185== Releasing lock...
[2025-01-10 07:38:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 07:38:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 07:38:18] Production.INFO: count ==68
[2025-01-10 07:38:18] Production.ERROR: pbx CDR StartTime 2025-01-10 04:38:05 - End Time 2025-01-10 07:38:05
[2025-01-10 07:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 07:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215439', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215439', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215439', 'tblTempVendorCDR_20' ) start
[2025-01-10 07:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215439', 'tblTempVendorCDR_20' ) end
[2025-01-10 07:38:18] Production.INFO: ProcessCDR(1,14215439,1,1,2)
[2025-01-10 07:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215439,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:38:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215439,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:38:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215439,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:38:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215439,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215439', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215439', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:38:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:38:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:38:21] Production.INFO: ==25193== Releasing lock...
[2025-01-10 07:38:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 07:38:21] Production.INFO: 28 MB #Memory Used#
[2025-01-10 12:39:01] Production.INFO: ==25256== Lock acquired, processing the job...
[2025-01-10 12:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 12:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 12:39:01] Production.INFO: neon service started
[2025-01-10 12:39:01] Production.INFO: neon service started
[2025-01-10 12:39:01] Production.INFO: ==25256== Releasing lock...
[2025-01-10 12:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 12:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 07:39:01] Production.INFO: ==25258== Lock acquired, processing the job...
[2025-01-10 07:39:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 07:39:02] Production.INFO: ==25258== Releasing lock...
[2025-01-10 07:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 07:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 12:39:02] Production.INFO: ==25260== Lock acquired, processing the job...
[2025-01-10 12:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 12:39:02] Production.INFO: ==25260== Releasing lock...
[2025-01-10 12:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 12:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 07:39:02] Production.INFO: ==25270== Lock acquired, processing the job...
[2025-01-10 07:39:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 07:39:02] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:39:02] Production.INFO: ==25272== Lock acquired, processing the job...
[2025-01-10 07:39:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 07:39:03] Production.INFO: ==25262== Lock acquired, processing the job...
[2025-01-10 07:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 07:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:39:03] Production.INFO: count ==21
[2025-01-10 07:39:03] Production.INFO: ==25264== Lock acquired, processing the job...
[2025-01-10 07:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 07:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:39:03] Production.INFO: count ==21
[2025-01-10 07:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215440') start
[2025-01-10 07:39:03] Production.INFO: ==25266== Lock acquired, processing the job...
[2025-01-10 07:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 07:39:03] Production.INFO: ==25268== Lock acquired, processing the job...
[2025-01-10 07:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 07:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 07:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215440') end
[2025-01-10 07:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 07:39:03] Production.INFO: 1
[2025-01-10 07:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 07:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 07:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 07:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 07:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 07:39:03] Production.INFO: Account Balance Start.
[2025-01-10 07:39:03] Production.INFO: CreateAllLog Start
[2025-01-10 07:39:03] Production.INFO: 117
[2025-01-10 07:39:03] Production.ERROR: done
[2025-01-10 07:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 07:39:03] Production.INFO: ==25272== Releasing lock...
[2025-01-10 07:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 07:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 07:39:03] Production.INFO: Date 2025-01-08
[2025-01-10 07:39:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:39:03] Production.INFO: Date 2025-01-09
[2025-01-10 07:39:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:39:03] Production.INFO: Date 2025-01-10
[2025-01-10 07:39:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:39:03] Production.INFO: Total Charge 0
[2025-01-10 07:39:03] Production.INFO: CreateAllLog End
[2025-01-10 07:39:03] Production.ERROR: done
[2025-01-10 07:39:03] Production.INFO: ==25264== Releasing lock...
[2025-01-10 07:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 07:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 07:39:03] Production.INFO: Account Balance End.
[2025-01-10 07:39:03] Production.ERROR: CronJobId end 12
[2025-01-10 07:39:03] Production.INFO: ==25268== Releasing lock...
[2025-01-10 07:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 07:39:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 07:39:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 04:39:04
[end_date_ymd] => 2025-01-10 07:39:04
[RateCDR] => 1
)
[2025-01-10 07:39:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 04:39:04' and `end` < '2025-01-10 07:39:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 07:39:09] Production.ERROR: CronJobId end10
[2025-01-10 07:39:09] Production.INFO: ==25266== Releasing lock...
[2025-01-10 07:39:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 07:39:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 07:39:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 07:39:11] Production.INFO: ============== Balance Warning START===========
[2025-01-10 07:39:11] Production.INFO: ============== Balance Warning END===========
[2025-01-10 07:39:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 07:39:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 07:39:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 07:39:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 07:39:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 07:39:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 07:39:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 07:39:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 07:39:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 07:39:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 07:39:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 07:39:12] Production.INFO: call_cost start
[2025-01-10 07:39:12] Production.INFO: call_cost end
[2025-01-10 07:39:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 07:39:12] Production.INFO: ============== Report Schedule START===========
[2025-01-10 07:39:12] Production.INFO: ============== Report Schedule END===========
[2025-01-10 07:39:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 07:39:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 07:39:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 07:39:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 07:39:12] Production.INFO: ============== Deal alert START===========
[2025-01-10 07:39:12] Production.INFO: ============== Deal alert END===========
[2025-01-10 07:39:12] Production.INFO: ==25262== Releasing lock...
[2025-01-10 07:39:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 07:39:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 07:39:17] Production.INFO: count ==69
[2025-01-10 07:39:17] Production.ERROR: pbx CDR StartTime 2025-01-10 04:39:04 - End Time 2025-01-10 07:39:04
[2025-01-10 07:39:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 07:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215444', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215444', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215444', 'tblTempVendorCDR_20' ) start
[2025-01-10 07:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215444', 'tblTempVendorCDR_20' ) end
[2025-01-10 07:39:17] Production.INFO: ProcessCDR(1,14215444,1,1,2)
[2025-01-10 07:39:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215444,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:39:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215444,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:39:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215444,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:39:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215444,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:39:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215444', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:39:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215444', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:39:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:39:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:39:20] Production.INFO: ==25270== Releasing lock...
[2025-01-10 07:39:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 07:39:20] Production.INFO: 28 MB #Memory Used#
[2025-01-10 12:40:01] Production.INFO: ==25327== Lock acquired, processing the job...
[2025-01-10 12:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 12:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 12:40:01] Production.INFO: neon service started
[2025-01-10 12:40:01] Production.INFO: neon service started
[2025-01-10 12:40:01] Production.INFO: ==25327== Releasing lock...
[2025-01-10 12:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 12:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 07:40:02] Production.INFO: ==25329== Lock acquired, processing the job...
[2025-01-10 07:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:40:02] Production.INFO: ==25331== Lock acquired, processing the job...
[2025-01-10 12:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 12:40:02] Production.INFO: ==25331== Releasing lock...
[2025-01-10 12:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 12:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 07:40:02] Production.INFO: ==25329== Releasing lock...
[2025-01-10 07:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 07:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:40:03] Production.INFO: ==25336== Lock acquired, processing the job...
[2025-01-10 07:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 07:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 07:40:03] Production.INFO: ==25334== Lock acquired, processing the job...
[2025-01-10 07:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 07:40:03] Production.INFO: ==25344== Lock acquired, processing the job...
[2025-01-10 07:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 07:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 07:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 07:40:03] Production.ERROR: CronJob PID - 25336
[2025-01-10 07:40:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-10 07:40:03] Production.ERROR: CronJob ID - 5
[2025-01-10 07:40:03] Production.ERROR: CronJob Last Run Time 2025-01-10 07:40:00
[2025-01-10 07:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 07:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 07:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 07:40:03] Production.ERROR: CronJob PID - 25344
[2025-01-10 07:40:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-10 07:40:03] Production.ERROR: CronJob ID - 16
[2025-01-10 07:40:03] Production.ERROR: CronJob Last Run Time 2025-01-10 07:40:00
[2025-01-10 07:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 07:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 07:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:40:03] Production.INFO: ==25338== Lock acquired, processing the job...
[2025-01-10 07:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 07:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 07:40:03] Production.INFO: ==25334== Releasing lock...
[2025-01-10 07:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 07:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 07:40:04] Production.INFO: ==25346== Lock acquired, processing the job...
[2025-01-10 07:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 07:40:04] Production.INFO: ==25340== Lock acquired, processing the job...
[2025-01-10 07:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 07:40:04] Production.INFO: ==25342== Lock acquired, processing the job...
[2025-01-10 07:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 07:40:04] Production.INFO: ==25348== Lock acquired, processing the job...
[2025-01-10 07:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 07:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 07:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 07:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 07:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 07:40:04] Production.INFO: Account Balance Start.
[2025-01-10 07:40:04] Production.INFO: CreateAllLog Start
[2025-01-10 07:40:04] Production.INFO: 117
[2025-01-10 07:40:04] Production.ERROR: done
[2025-01-10 07:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 07:40:04] Production.INFO: Date 2025-01-08
[2025-01-10 07:40:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:40:04] Production.ERROR: done
[2025-01-10 07:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:40:04] Production.ERROR: done
[2025-01-10 07:40:04] Production.INFO: count ==21
[2025-01-10 07:40:04] Production.INFO: Date 2025-01-09
[2025-01-10 07:40:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:40:04] Production.INFO: count ==21
[2025-01-10 07:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215448') start
[2025-01-10 07:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 07:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14215449', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 07:40:04] Production.INFO: Date 2025-01-10
[2025-01-10 07:40:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:40:04] Production.INFO: Total Charge 0
[2025-01-10 07:40:04] Production.INFO: CreateAllLog End
[2025-01-10 07:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215448') end
[2025-01-10 07:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 07:40:04] Production.INFO: 1
[2025-01-10 07:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 07:40:04] Production.INFO: ==25338== Releasing lock...
[2025-01-10 07:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 07:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 07:40:04] Production.INFO: ==25348== Releasing lock...
[2025-01-10 07:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 07:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 07:40:04] Production.INFO: Account Balance End.
[2025-01-10 07:40:04] Production.ERROR: CronJobId end 12
[2025-01-10 07:40:04] Production.INFO: ==25342== Releasing lock...
[2025-01-10 07:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 07:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 07:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 04:40:05
[end_date_ymd] => 2025-01-10 07:40:05
[RateCDR] => 1
)
[2025-01-10 07:40:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 04:40:05' and `end` < '2025-01-10 07:40:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 07:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14215449', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 07:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 07:40:08] Production.INFO: ProcessCDR(1,14215449,1,1,2)
[2025-01-10 07:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14215449,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14215449,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:40:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:40:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:40:08] Production.INFO: ==25346== Releasing lock...
[2025-01-10 07:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 07:40:08] Production.INFO: 26 MB #Memory Used#
[2025-01-10 07:40:12] Production.ERROR: CronJobId end10
[2025-01-10 07:40:12] Production.INFO: ==25340== Releasing lock...
[2025-01-10 07:40:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 07:40:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 07:40:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 07:40:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 07:40:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 07:40:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 07:40:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 07:40:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 07:40:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 07:40:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 07:40:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 07:40:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 07:40:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 07:40:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 07:40:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 07:40:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 07:40:14] Production.INFO: call_cost start
[2025-01-10 07:40:14] Production.INFO: call_cost end
[2025-01-10 07:40:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 07:40:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 07:40:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 07:40:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 07:40:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 07:40:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 07:40:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 07:40:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 07:40:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 07:40:15] Production.INFO: ==25336== Releasing lock...
[2025-01-10 07:40:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 07:40:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 07:40:20] Production.INFO: count ==76
[2025-01-10 07:40:20] Production.ERROR: pbx CDR StartTime 2025-01-10 04:40:05 - End Time 2025-01-10 07:40:05
[2025-01-10 07:40:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 07:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215450', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215450', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215450', 'tblTempVendorCDR_20' ) start
[2025-01-10 07:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215450', 'tblTempVendorCDR_20' ) end
[2025-01-10 07:40:20] Production.INFO: ProcessCDR(1,14215450,1,1,2)
[2025-01-10 07:40:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215450,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:40:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215450,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:40:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215450,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:40:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215450,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215450', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215450', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:40:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:40:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:40:23] Production.INFO: ==25344== Releasing lock...
[2025-01-10 07:40:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 07:40:23] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:41:01] Production.INFO: ==25403== Lock acquired, processing the job...
[2025-01-10 12:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 12:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 12:41:01] Production.INFO: neon service started
[2025-01-10 12:41:01] Production.INFO: neon service started
[2025-01-10 12:41:01] Production.INFO: ==25403== Releasing lock...
[2025-01-10 12:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 12:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 12:41:01] Production.INFO: ==25407== Lock acquired, processing the job...
[2025-01-10 12:41:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 12:41:01] Production.INFO: ==25407== Releasing lock...
[2025-01-10 12:41:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 12:41:01] Production.INFO: 25 MB #Memory Used#
[2025-01-10 07:41:02] Production.INFO: ==25405== Lock acquired, processing the job...
[2025-01-10 07:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 07:41:02] Production.INFO: ==25405== Releasing lock...
[2025-01-10 07:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 07:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:41:02] Production.INFO: ==25409== Lock acquired, processing the job...
[2025-01-10 07:41:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 07:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 07:41:03] Production.INFO: ==25413== Lock acquired, processing the job...
[2025-01-10 07:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 07:41:03] Production.INFO: ==25411== Lock acquired, processing the job...
[2025-01-10 07:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 07:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 07:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 07:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 07:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 07:41:03] Production.INFO: ==25417== Lock acquired, processing the job...
[2025-01-10 07:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 07:41:03] Production.INFO: ==25420== Lock acquired, processing the job...
[2025-01-10 07:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 07:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:41:03] Production.INFO: ==25415== Lock acquired, processing the job...
[2025-01-10 07:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 07:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:41:03] Production.INFO: count ==21
[2025-01-10 07:41:03] Production.INFO: ==25411== Releasing lock...
[2025-01-10 07:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 07:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 07:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:41:03] Production.INFO: count ==21
[2025-01-10 07:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215453') start
[2025-01-10 07:41:03] Production.INFO: Account Balance Start.
[2025-01-10 07:41:03] Production.INFO: CreateAllLog Start
[2025-01-10 07:41:03] Production.INFO: 117
[2025-01-10 07:41:03] Production.INFO: Date 2025-01-08
[2025-01-10 07:41:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215453') end
[2025-01-10 07:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 07:41:03] Production.INFO: 1
[2025-01-10 07:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 07:41:03] Production.ERROR: done
[2025-01-10 07:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 07:41:03] Production.INFO: Date 2025-01-09
[2025-01-10 07:41:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:41:03] Production.INFO: ==25420== Releasing lock...
[2025-01-10 07:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 07:41:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 07:41:03] Production.INFO: Date 2025-01-10
[2025-01-10 07:41:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:41:03] Production.ERROR: done
[2025-01-10 07:41:03] Production.INFO: Total Charge 0
[2025-01-10 07:41:03] Production.INFO: CreateAllLog End
[2025-01-10 07:41:03] Production.INFO: Account Balance End.
[2025-01-10 07:41:03] Production.ERROR: CronJobId end 12
[2025-01-10 07:41:03] Production.INFO: ==25415== Releasing lock...
[2025-01-10 07:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 07:41:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 07:41:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 04:41:04
[end_date_ymd] => 2025-01-10 07:41:04
[RateCDR] => 1
)
[2025-01-10 07:41:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 04:41:04' and `end` < '2025-01-10 07:41:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 07:41:10] Production.ERROR: CronJobId end10
[2025-01-10 07:41:10] Production.INFO: ==25413== Releasing lock...
[2025-01-10 07:41:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 07:41:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 07:41:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 07:41:11] Production.INFO: ============== Balance Warning START===========
[2025-01-10 07:41:11] Production.INFO: ============== Balance Warning END===========
[2025-01-10 07:41:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 07:41:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 07:41:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 07:41:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 07:41:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 07:41:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 07:41:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 07:41:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 07:41:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 07:41:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 07:41:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 07:41:11] Production.INFO: call_cost start
[2025-01-10 07:41:11] Production.INFO: call_cost end
[2025-01-10 07:41:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 07:41:12] Production.INFO: ============== Report Schedule START===========
[2025-01-10 07:41:12] Production.INFO: ============== Report Schedule END===========
[2025-01-10 07:41:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 07:41:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 07:41:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 07:41:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 07:41:12] Production.INFO: ============== Deal alert START===========
[2025-01-10 07:41:12] Production.INFO: ============== Deal alert END===========
[2025-01-10 07:41:12] Production.INFO: ==25409== Releasing lock...
[2025-01-10 07:41:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 07:41:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 07:41:17] Production.INFO: count ==78
[2025-01-10 07:41:17] Production.ERROR: pbx CDR StartTime 2025-01-10 04:41:04 - End Time 2025-01-10 07:41:04
[2025-01-10 07:41:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 07:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215455', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215455', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215455', 'tblTempVendorCDR_20' ) start
[2025-01-10 07:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215455', 'tblTempVendorCDR_20' ) end
[2025-01-10 07:41:17] Production.INFO: ProcessCDR(1,14215455,1,1,2)
[2025-01-10 07:41:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215455,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:41:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215455,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:41:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215455,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:41:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215455,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:41:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215455', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:41:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215455', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:41:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:41:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:41:20] Production.INFO: ==25417== Releasing lock...
[2025-01-10 07:41:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 07:41:20] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:42:01] Production.INFO: ==25473== Lock acquired, processing the job...
[2025-01-10 12:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 12:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 12:42:01] Production.INFO: neon service started
[2025-01-10 12:42:01] Production.INFO: neon service started
[2025-01-10 12:42:01] Production.INFO: ==25473== Releasing lock...
[2025-01-10 12:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 12:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 12:42:02] Production.INFO: ==25478== Lock acquired, processing the job...
[2025-01-10 12:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 12:42:02] Production.INFO: ==25478== Releasing lock...
[2025-01-10 12:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 12:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 07:42:02] Production.INFO: ==25476== Lock acquired, processing the job...
[2025-01-10 07:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 07:42:02] Production.INFO: ==25476== Releasing lock...
[2025-01-10 07:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 07:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:42:03] Production.INFO: ==25484== Lock acquired, processing the job...
[2025-01-10 07:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 07:42:03] Production.INFO: ==25480== Lock acquired, processing the job...
[2025-01-10 07:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 07:42:03] Production.INFO: ==25488== Lock acquired, processing the job...
[2025-01-10 07:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 07:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 07:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 07:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 07:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 07:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:42:03] Production.INFO: ==25482== Lock acquired, processing the job...
[2025-01-10 07:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 07:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 07:42:03] Production.INFO: ==25486== Lock acquired, processing the job...
[2025-01-10 07:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 07:42:03] Production.INFO: ==25490== Lock acquired, processing the job...
[2025-01-10 07:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 07:42:03] Production.ERROR: done
[2025-01-10 07:42:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 07:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:42:04] Production.INFO: Account Balance Start.
[2025-01-10 07:42:04] Production.INFO: CreateAllLog Start
[2025-01-10 07:42:04] Production.INFO: 117
[2025-01-10 07:42:04] Production.INFO: Date 2025-01-08
[2025-01-10 07:42:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:42:04] Production.INFO: count ==21
[2025-01-10 07:42:04] Production.INFO: Date 2025-01-09
[2025-01-10 07:42:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:42:04] Production.INFO: count ==21
[2025-01-10 07:42:04] Production.ERROR: done
[2025-01-10 07:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215458') start
[2025-01-10 07:42:04] Production.INFO: Date 2025-01-10
[2025-01-10 07:42:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:42:04] Production.INFO: ==25482== Releasing lock...
[2025-01-10 07:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 07:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 07:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215458') end
[2025-01-10 07:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 07:42:04] Production.INFO: 1
[2025-01-10 07:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 07:42:04] Production.INFO: Total Charge 0
[2025-01-10 07:42:04] Production.INFO: CreateAllLog End
[2025-01-10 07:42:04] Production.INFO: ==25490== Releasing lock...
[2025-01-10 07:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 07:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 07:42:04] Production.INFO: Account Balance End.
[2025-01-10 07:42:04] Production.ERROR: CronJobId end 12
[2025-01-10 07:42:04] Production.INFO: ==25486== Releasing lock...
[2025-01-10 07:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 07:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 07:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 04:42:05
[end_date_ymd] => 2025-01-10 07:42:05
[RateCDR] => 1
)
[2025-01-10 07:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 04:42:05' and `end` < '2025-01-10 07:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 07:42:10] Production.ERROR: CronJobId end10
[2025-01-10 07:42:10] Production.INFO: ==25484== Releasing lock...
[2025-01-10 07:42:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 07:42:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 07:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 07:42:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 07:42:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 07:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 07:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 07:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 07:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 07:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 07:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 07:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 07:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 07:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 07:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 07:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 07:42:13] Production.INFO: call_cost start
[2025-01-10 07:42:13] Production.INFO: call_cost end
[2025-01-10 07:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 07:42:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 07:42:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 07:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 07:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 07:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 07:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 07:42:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 07:42:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 07:42:14] Production.INFO: ==25480== Releasing lock...
[2025-01-10 07:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 07:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 07:42:18] Production.INFO: count ==78
[2025-01-10 07:42:18] Production.ERROR: pbx CDR StartTime 2025-01-10 04:42:05 - End Time 2025-01-10 07:42:05
[2025-01-10 07:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 07:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215460', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215460', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215460', 'tblTempVendorCDR_20' ) start
[2025-01-10 07:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215460', 'tblTempVendorCDR_20' ) end
[2025-01-10 07:42:18] Production.INFO: ProcessCDR(1,14215460,1,1,2)
[2025-01-10 07:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215460,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215460,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215460,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215460,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215460', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215460', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:42:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:42:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:42:21] Production.INFO: ==25488== Releasing lock...
[2025-01-10 07:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 07:42:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:43:02] Production.INFO: ==25543== Lock acquired, processing the job...
[2025-01-10 12:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 12:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 12:43:02] Production.INFO: neon service started
[2025-01-10 12:43:02] Production.INFO: neon service started
[2025-01-10 12:43:02] Production.INFO: ==25543== Releasing lock...
[2025-01-10 12:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 12:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 07:43:02] Production.INFO: ==25545== Lock acquired, processing the job...
[2025-01-10 07:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:43:02] Production.INFO: ==25547== Lock acquired, processing the job...
[2025-01-10 12:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 12:43:02] Production.INFO: ==25547== Releasing lock...
[2025-01-10 12:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 12:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 07:43:03] Production.INFO: ==25545== Releasing lock...
[2025-01-10 07:43:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 07:43:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:43:03] Production.INFO: ==25550== Lock acquired, processing the job...
[2025-01-10 07:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 07:43:03] Production.INFO: ==25554== Lock acquired, processing the job...
[2025-01-10 07:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 07:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 07:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 07:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 07:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 07:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 07:43:04] Production.INFO: ==25558== Lock acquired, processing the job...
[2025-01-10 07:43:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 07:43:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:43:04] Production.INFO: ==25552== Lock acquired, processing the job...
[2025-01-10 07:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 07:43:04] Production.INFO: ==25556== Lock acquired, processing the job...
[2025-01-10 07:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 07:43:04] Production.INFO: ==25560== Lock acquired, processing the job...
[2025-01-10 07:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 07:43:04] Production.ERROR: done
[2025-01-10 07:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 07:43:04] Production.INFO: Account Balance Start.
[2025-01-10 07:43:04] Production.INFO: CreateAllLog Start
[2025-01-10 07:43:04] Production.INFO: 117
[2025-01-10 07:43:04] Production.INFO: Date 2025-01-08
[2025-01-10 07:43:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:43:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:43:04] Production.INFO: count ==21
[2025-01-10 07:43:04] Production.INFO: Date 2025-01-09
[2025-01-10 07:43:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:43:04] Production.INFO: count ==21
[2025-01-10 07:43:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:43:04] Production.ERROR: done
[2025-01-10 07:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215464') start
[2025-01-10 07:43:04] Production.INFO: Date 2025-01-10
[2025-01-10 07:43:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:43:04] Production.INFO: Total Charge 0
[2025-01-10 07:43:04] Production.INFO: CreateAllLog End
[2025-01-10 07:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215464') end
[2025-01-10 07:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 07:43:04] Production.INFO: 1
[2025-01-10 07:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 07:43:04] Production.INFO: ==25552== Releasing lock...
[2025-01-10 07:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 07:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 07:43:04] Production.INFO: ==25560== Releasing lock...
[2025-01-10 07:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 07:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 07:43:04] Production.INFO: Account Balance End.
[2025-01-10 07:43:04] Production.ERROR: CronJobId end 12
[2025-01-10 07:43:04] Production.INFO: ==25556== Releasing lock...
[2025-01-10 07:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 07:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 07:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 04:43:05
[end_date_ymd] => 2025-01-10 07:43:05
[RateCDR] => 1
)
[2025-01-10 07:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 04:43:05' and `end` < '2025-01-10 07:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 07:43:11] Production.ERROR: CronJobId end10
[2025-01-10 07:43:11] Production.INFO: ==25554== Releasing lock...
[2025-01-10 07:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 07:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 07:43:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 07:43:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 07:43:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 07:43:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 07:43:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 07:43:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 07:43:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 07:43:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 07:43:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 07:43:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 07:43:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 07:43:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 07:43:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 07:43:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 07:43:12] Production.INFO: call_cost start
[2025-01-10 07:43:12] Production.INFO: call_cost end
[2025-01-10 07:43:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 07:43:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 07:43:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 07:43:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 07:43:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 07:43:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 07:43:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 07:43:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 07:43:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 07:43:13] Production.INFO: ==25550== Releasing lock...
[2025-01-10 07:43:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 07:43:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 07:43:19] Production.INFO: count ==79
[2025-01-10 07:43:19] Production.ERROR: pbx CDR StartTime 2025-01-10 04:43:05 - End Time 2025-01-10 07:43:05
[2025-01-10 07:43:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 07:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215465', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215465', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215465', 'tblTempVendorCDR_20' ) start
[2025-01-10 07:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215465', 'tblTempVendorCDR_20' ) end
[2025-01-10 07:43:19] Production.INFO: ProcessCDR(1,14215465,1,1,2)
[2025-01-10 07:43:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215465,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:43:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215465,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:43:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215465,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:43:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215465,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215465', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215465', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:43:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:43:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:43:23] Production.INFO: ==25558== Releasing lock...
[2025-01-10 07:43:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 07:43:23] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:44:01] Production.INFO: ==25613== Lock acquired, processing the job...
[2025-01-10 12:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 12:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 12:44:01] Production.INFO: neon service started
[2025-01-10 12:44:01] Production.INFO: neon service started
[2025-01-10 12:44:01] Production.INFO: ==25613== Releasing lock...
[2025-01-10 12:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 12:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 12:44:02] Production.INFO: ==25617== Lock acquired, processing the job...
[2025-01-10 12:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 12:44:02] Production.INFO: ==25617== Releasing lock...
[2025-01-10 12:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 12:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 07:44:02] Production.INFO: ==25615== Lock acquired, processing the job...
[2025-01-10 07:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 07:44:02] Production.INFO: ==25615== Releasing lock...
[2025-01-10 07:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 07:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:44:03] Production.INFO: ==25620== Lock acquired, processing the job...
[2025-01-10 07:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 07:44:03] Production.INFO: ==25622== Lock acquired, processing the job...
[2025-01-10 07:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 07:44:03] Production.INFO: ==25624== Lock acquired, processing the job...
[2025-01-10 07:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 07:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 07:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 07:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 07:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 07:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 07:44:03] Production.INFO: ==25626== Lock acquired, processing the job...
[2025-01-10 07:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 07:44:03] Production.INFO: ==25628== Lock acquired, processing the job...
[2025-01-10 07:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 07:44:03] Production.INFO: ==25630== Lock acquired, processing the job...
[2025-01-10 07:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 07:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:44:03] Production.INFO: Account Balance Start.
[2025-01-10 07:44:03] Production.INFO: CreateAllLog Start
[2025-01-10 07:44:03] Production.INFO: 117
[2025-01-10 07:44:03] Production.INFO: ==25622== Releasing lock...
[2025-01-10 07:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 07:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 07:44:03] Production.INFO: count ==21
[2025-01-10 07:44:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:44:03] Production.INFO: count ==21
[2025-01-10 07:44:03] Production.INFO: Date 2025-01-08
[2025-01-10 07:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215469') start
[2025-01-10 07:44:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:44:04] Production.INFO: Date 2025-01-09
[2025-01-10 07:44:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:44:04] Production.ERROR: done
[2025-01-10 07:44:04] Production.INFO: Date 2025-01-10
[2025-01-10 07:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 07:44:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215469') end
[2025-01-10 07:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 07:44:04] Production.INFO: 1
[2025-01-10 07:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 07:44:04] Production.INFO: ==25630== Releasing lock...
[2025-01-10 07:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 07:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 07:44:04] Production.INFO: Total Charge 0
[2025-01-10 07:44:04] Production.ERROR: done
[2025-01-10 07:44:04] Production.INFO: CreateAllLog End
[2025-01-10 07:44:04] Production.INFO: Account Balance End.
[2025-01-10 07:44:04] Production.ERROR: CronJobId end 12
[2025-01-10 07:44:04] Production.INFO: ==25626== Releasing lock...
[2025-01-10 07:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 07:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 07:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 04:44:05
[end_date_ymd] => 2025-01-10 07:44:05
[RateCDR] => 1
)
[2025-01-10 07:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 04:44:05' and `end` < '2025-01-10 07:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 07:44:11] Production.ERROR: CronJobId end10
[2025-01-10 07:44:11] Production.INFO: ==25624== Releasing lock...
[2025-01-10 07:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 07:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 07:44:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 07:44:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 07:44:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 07:44:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 07:44:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 07:44:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 07:44:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 07:44:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 07:44:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 07:44:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 07:44:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 07:44:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 07:44:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 07:44:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 07:44:13] Production.INFO: call_cost start
[2025-01-10 07:44:13] Production.INFO: call_cost end
[2025-01-10 07:44:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 07:44:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 07:44:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 07:44:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 07:44:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 07:44:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 07:44:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 07:44:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 07:44:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 07:44:14] Production.INFO: ==25620== Releasing lock...
[2025-01-10 07:44:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 07:44:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 07:44:18] Production.INFO: count ==84
[2025-01-10 07:44:18] Production.ERROR: pbx CDR StartTime 2025-01-10 04:44:05 - End Time 2025-01-10 07:44:05
[2025-01-10 07:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 07:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215470', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215470', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215470', 'tblTempVendorCDR_20' ) start
[2025-01-10 07:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215470', 'tblTempVendorCDR_20' ) end
[2025-01-10 07:44:18] Production.INFO: ProcessCDR(1,14215470,1,1,2)
[2025-01-10 07:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215470,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215470,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215470,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215470,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215470', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215470', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:44:21] Production.INFO: ==25628== Releasing lock...
[2025-01-10 07:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 07:44:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:45:02] Production.INFO: ==25685== Lock acquired, processing the job...
[2025-01-10 12:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 12:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 12:45:02] Production.INFO: neon service started
[2025-01-10 12:45:02] Production.INFO: neon service started
[2025-01-10 12:45:02] Production.INFO: ==25685== Releasing lock...
[2025-01-10 12:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 12:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 07:45:02] Production.INFO: ==25687== Lock acquired, processing the job...
[2025-01-10 07:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:45:02] Production.INFO: ==25689== Lock acquired, processing the job...
[2025-01-10 12:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 12:45:02] Production.INFO: ==25689== Releasing lock...
[2025-01-10 12:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 12:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 07:45:03] Production.INFO: ==25687== Releasing lock...
[2025-01-10 07:45:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 07:45:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:45:03] Production.INFO: ==25692== Lock acquired, processing the job...
[2025-01-10 07:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 07:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 07:45:03] Production.INFO: ==25696== Lock acquired, processing the job...
[2025-01-10 07:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 07:45:04] Production.INFO: ==25700== Lock acquired, processing the job...
[2025-01-10 07:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 07:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 07:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 07:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 07:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 07:45:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:45:04] Production.INFO: ==25694== Lock acquired, processing the job...
[2025-01-10 07:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 07:45:04] Production.INFO: ==25698== Lock acquired, processing the job...
[2025-01-10 07:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 07:45:04] Production.INFO: ==25702== Lock acquired, processing the job...
[2025-01-10 07:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 07:45:04] Production.ERROR: done
[2025-01-10 07:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 07:45:04] Production.INFO: Account Balance Start.
[2025-01-10 07:45:04] Production.INFO: CreateAllLog Start
[2025-01-10 07:45:04] Production.INFO: 117
[2025-01-10 07:45:04] Production.ERROR: done
[2025-01-10 07:45:04] Production.INFO: Date 2025-01-08
[2025-01-10 07:45:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:45:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:45:04] Production.INFO: Date 2025-01-09
[2025-01-10 07:45:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:45:04] Production.INFO: Date 2025-01-10
[2025-01-10 07:45:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:45:04] Production.INFO: count ==21
[2025-01-10 07:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:45:04] Production.INFO: count ==21
[2025-01-10 07:45:04] Production.INFO: Total Charge 0
[2025-01-10 07:45:04] Production.INFO: CreateAllLog End
[2025-01-10 07:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215474') start
[2025-01-10 07:45:04] Production.INFO: ==25694== Releasing lock...
[2025-01-10 07:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 07:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 07:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215474') end
[2025-01-10 07:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 07:45:04] Production.INFO: 1
[2025-01-10 07:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 07:45:04] Production.INFO: ==25702== Releasing lock...
[2025-01-10 07:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 07:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 07:45:04] Production.INFO: Account Balance End.
[2025-01-10 07:45:04] Production.ERROR: CronJobId end 12
[2025-01-10 07:45:04] Production.INFO: ==25698== Releasing lock...
[2025-01-10 07:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 07:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 07:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 04:45:05
[end_date_ymd] => 2025-01-10 07:45:05
[RateCDR] => 1
)
[2025-01-10 07:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 04:45:05' and `end` < '2025-01-10 07:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 07:45:10] Production.ERROR: CronJobId end10
[2025-01-10 07:45:10] Production.INFO: ==25696== Releasing lock...
[2025-01-10 07:45:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 07:45:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 07:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 07:45:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 07:45:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 07:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 07:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 07:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 07:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 07:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 07:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 07:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 07:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 07:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 07:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 07:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 07:45:13] Production.INFO: call_cost start
[2025-01-10 07:45:13] Production.INFO: call_cost end
[2025-01-10 07:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 07:45:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 07:45:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 07:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 07:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 07:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 07:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 07:45:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 07:45:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 07:45:14] Production.INFO: ==25692== Releasing lock...
[2025-01-10 07:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 07:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 07:45:18] Production.INFO: count ==84
[2025-01-10 07:45:18] Production.ERROR: pbx CDR StartTime 2025-01-10 04:45:05 - End Time 2025-01-10 07:45:05
[2025-01-10 07:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 07:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215475', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215475', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215475', 'tblTempVendorCDR_20' ) start
[2025-01-10 07:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215475', 'tblTempVendorCDR_20' ) end
[2025-01-10 07:45:18] Production.INFO: ProcessCDR(1,14215475,1,1,2)
[2025-01-10 07:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215475,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215475,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215475,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215475,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215475', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215475', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:45:21] Production.INFO: ==25700== Releasing lock...
[2025-01-10 07:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 07:45:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:46:01] Production.INFO: ==25756== Lock acquired, processing the job...
[2025-01-10 12:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 12:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 12:46:01] Production.INFO: neon service started
[2025-01-10 12:46:01] Production.INFO: neon service started
[2025-01-10 12:46:01] Production.INFO: ==25756== Releasing lock...
[2025-01-10 12:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 12:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 07:46:01] Production.INFO: ==25758== Lock acquired, processing the job...
[2025-01-10 07:46:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 07:46:02] Production.INFO: ==25758== Releasing lock...
[2025-01-10 07:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 07:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 12:46:02] Production.INFO: ==25760== Lock acquired, processing the job...
[2025-01-10 12:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 12:46:02] Production.INFO: ==25760== Releasing lock...
[2025-01-10 12:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 12:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 07:46:03] Production.INFO: ==25764== Lock acquired, processing the job...
[2025-01-10 07:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 07:46:03] Production.INFO: ==25772== Lock acquired, processing the job...
[2025-01-10 07:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 07:46:03] Production.INFO: ==25762== Lock acquired, processing the job...
[2025-01-10 07:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 07:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 07:46:03] Production.INFO: count ==21
[2025-01-10 07:46:03] Production.INFO: ==25766== Lock acquired, processing the job...
[2025-01-10 07:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 07:46:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:46:03] Production.INFO: count ==21
[2025-01-10 07:46:03] Production.INFO: ==25768== Lock acquired, processing the job...
[2025-01-10 07:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 07:46:03] Production.INFO: ==25770== Lock acquired, processing the job...
[2025-01-10 07:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 07:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215477') start
[2025-01-10 07:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 07:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 07:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 07:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 07:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215477') end
[2025-01-10 07:46:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 07:46:03] Production.INFO: 1
[2025-01-10 07:46:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 07:46:03] Production.INFO: ==25764== Releasing lock...
[2025-01-10 07:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 07:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 07:46:03] Production.INFO: Account Balance Start.
[2025-01-10 07:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:46:03] Production.INFO: CreateAllLog Start
[2025-01-10 07:46:03] Production.INFO: 117
[2025-01-10 07:46:03] Production.INFO: Date 2025-01-08
[2025-01-10 07:46:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:46:03] Production.INFO: ==25772== Releasing lock...
[2025-01-10 07:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 07:46:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 07:46:03] Production.INFO: Date 2025-01-09
[2025-01-10 07:46:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:46:03] Production.INFO: Date 2025-01-10
[2025-01-10 07:46:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:46:03] Production.INFO: Total Charge 0
[2025-01-10 07:46:03] Production.INFO: CreateAllLog End
[2025-01-10 07:46:04] Production.INFO: Account Balance End.
[2025-01-10 07:46:04] Production.ERROR: done
[2025-01-10 07:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 07:46:04] Production.ERROR: CronJobId end 12
[2025-01-10 07:46:04] Production.INFO: ==25768== Releasing lock...
[2025-01-10 07:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 07:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 07:46:04] Production.ERROR: done
[2025-01-10 07:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 04:46:05
[end_date_ymd] => 2025-01-10 07:46:05
[RateCDR] => 1
)
[2025-01-10 07:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 04:46:05' and `end` < '2025-01-10 07:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 07:46:11] Production.ERROR: CronJobId end10
[2025-01-10 07:46:11] Production.INFO: ==25766== Releasing lock...
[2025-01-10 07:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 07:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 07:46:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 07:46:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 07:46:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 07:46:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 07:46:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 07:46:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 07:46:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 07:46:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 07:46:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 07:46:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 07:46:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 07:46:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 07:46:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 07:46:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 07:46:13] Production.INFO: call_cost start
[2025-01-10 07:46:13] Production.INFO: call_cost end
[2025-01-10 07:46:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 07:46:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 07:46:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 07:46:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 07:46:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 07:46:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 07:46:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 07:46:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 07:46:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 07:46:13] Production.INFO: ==25762== Releasing lock...
[2025-01-10 07:46:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 07:46:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 07:46:19] Production.INFO: count ==84
[2025-01-10 07:46:19] Production.ERROR: pbx CDR StartTime 2025-01-10 04:46:05 - End Time 2025-01-10 07:46:05
[2025-01-10 07:46:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 07:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215480', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215480', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215480', 'tblTempVendorCDR_20' ) start
[2025-01-10 07:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215480', 'tblTempVendorCDR_20' ) end
[2025-01-10 07:46:19] Production.INFO: ProcessCDR(1,14215480,1,1,2)
[2025-01-10 07:46:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215480,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215480,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215480,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:46:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215480,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215480', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215480', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:46:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:46:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:46:22] Production.INFO: ==25770== Releasing lock...
[2025-01-10 07:46:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 07:46:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:47:01] Production.INFO: ==25826== Lock acquired, processing the job...
[2025-01-10 12:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 12:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 12:47:01] Production.INFO: neon service started
[2025-01-10 12:47:02] Production.INFO: neon service started
[2025-01-10 12:47:02] Production.INFO: ==25826== Releasing lock...
[2025-01-10 12:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 12:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 07:47:02] Production.INFO: ==25828== Lock acquired, processing the job...
[2025-01-10 07:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:47:02] Production.INFO: ==25830== Lock acquired, processing the job...
[2025-01-10 12:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 12:47:02] Production.INFO: ==25830== Releasing lock...
[2025-01-10 12:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 12:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 07:47:02] Production.INFO: ==25828== Releasing lock...
[2025-01-10 07:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 07:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:47:03] Production.INFO: ==25833== Lock acquired, processing the job...
[2025-01-10 07:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 07:47:03] Production.INFO: ==25835== Lock acquired, processing the job...
[2025-01-10 07:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 07:47:03] Production.INFO: ==25837== Lock acquired, processing the job...
[2025-01-10 07:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 07:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 07:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 07:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 07:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 07:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 07:47:03] Production.INFO: ==25839== Lock acquired, processing the job...
[2025-01-10 07:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 07:47:04] Production.INFO: ==25841== Lock acquired, processing the job...
[2025-01-10 07:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 07:47:04] Production.INFO: ==25843== Lock acquired, processing the job...
[2025-01-10 07:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 07:47:04] Production.INFO: Account Balance Start.
[2025-01-10 07:47:04] Production.INFO: CreateAllLog Start
[2025-01-10 07:47:04] Production.INFO: 117
[2025-01-10 07:47:04] Production.INFO: Date 2025-01-08
[2025-01-10 07:47:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:47:04] Production.INFO: ==25835== Releasing lock...
[2025-01-10 07:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 07:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 07:47:04] Production.INFO: Date 2025-01-09
[2025-01-10 07:47:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:47:04] Production.INFO: Date 2025-01-10
[2025-01-10 07:47:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:47:04] Production.INFO: Total Charge 0
[2025-01-10 07:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:47:04] Production.INFO: CreateAllLog End
[2025-01-10 07:47:04] Production.INFO: count ==21
[2025-01-10 07:47:04] Production.ERROR: done
[2025-01-10 07:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 07:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:47:04] Production.INFO: count ==21
[2025-01-10 07:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215484') start
[2025-01-10 07:47:04] Production.ERROR: done
[2025-01-10 07:47:04] Production.INFO: Account Balance End.
[2025-01-10 07:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215484') end
[2025-01-10 07:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 07:47:04] Production.INFO: 1
[2025-01-10 07:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 07:47:04] Production.ERROR: CronJobId end 12
[2025-01-10 07:47:04] Production.INFO: ==25839== Releasing lock...
[2025-01-10 07:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 07:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 07:47:04] Production.INFO: ==25843== Releasing lock...
[2025-01-10 07:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 07:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 07:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 04:47:05
[end_date_ymd] => 2025-01-10 07:47:05
[RateCDR] => 1
)
[2025-01-10 07:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 04:47:05' and `end` < '2025-01-10 07:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 07:47:11] Production.ERROR: CronJobId end10
[2025-01-10 07:47:11] Production.INFO: ==25837== Releasing lock...
[2025-01-10 07:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 07:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 07:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 07:47:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 07:47:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 07:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 07:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 07:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 07:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 07:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 07:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 07:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 07:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 07:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 07:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 07:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 07:47:13] Production.INFO: call_cost start
[2025-01-10 07:47:13] Production.INFO: call_cost end
[2025-01-10 07:47:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 07:47:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 07:47:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 07:47:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 07:47:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 07:47:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 07:47:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 07:47:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 07:47:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 07:47:14] Production.INFO: ==25833== Releasing lock...
[2025-01-10 07:47:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 07:47:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 07:47:19] Production.INFO: count ==84
[2025-01-10 07:47:19] Production.ERROR: pbx CDR StartTime 2025-01-10 04:47:05 - End Time 2025-01-10 07:47:05
[2025-01-10 07:47:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 07:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215485', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215485', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215485', 'tblTempVendorCDR_20' ) start
[2025-01-10 07:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215485', 'tblTempVendorCDR_20' ) end
[2025-01-10 07:47:19] Production.INFO: ProcessCDR(1,14215485,1,1,2)
[2025-01-10 07:47:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215485,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:47:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215485,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:47:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215485,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:47:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215485,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215485', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215485', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:47:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:47:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:47:22] Production.INFO: ==25841== Releasing lock...
[2025-01-10 07:47:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 07:47:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:48:01] Production.INFO: ==25897== Lock acquired, processing the job...
[2025-01-10 12:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 12:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 12:48:01] Production.INFO: neon service started
[2025-01-10 12:48:01] Production.INFO: neon service started
[2025-01-10 12:48:01] Production.INFO: ==25897== Releasing lock...
[2025-01-10 12:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 12:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 07:48:01] Production.INFO: ==25899== Lock acquired, processing the job...
[2025-01-10 07:48:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:48:01] Production.INFO: ==25901== Lock acquired, processing the job...
[2025-01-10 12:48:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 12:48:02] Production.INFO: ==25901== Releasing lock...
[2025-01-10 12:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 12:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 07:48:02] Production.INFO: ==25899== Releasing lock...
[2025-01-10 07:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 07:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:48:03] Production.INFO: ==25904== Lock acquired, processing the job...
[2025-01-10 07:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 07:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 07:48:03] Production.INFO: ==25914== Lock acquired, processing the job...
[2025-01-10 07:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 07:48:03] Production.INFO: ==25906== Lock acquired, processing the job...
[2025-01-10 07:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 07:48:03] Production.INFO: ==25908== Lock acquired, processing the job...
[2025-01-10 07:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 07:48:03] Production.INFO: ==25910== Lock acquired, processing the job...
[2025-01-10 07:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 07:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:48:03] Production.INFO: count ==21
[2025-01-10 07:48:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:48:03] Production.INFO: ==25912== Lock acquired, processing the job...
[2025-01-10 07:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 07:48:03] Production.INFO: count ==21
[2025-01-10 07:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215487') start
[2025-01-10 07:48:03] Production.INFO: Account Balance Start.
[2025-01-10 07:48:03] Production.INFO: CreateAllLog Start
[2025-01-10 07:48:03] Production.INFO: 117
[2025-01-10 07:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:48:03] Production.INFO: Date 2025-01-08
[2025-01-10 07:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 07:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 07:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 07:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 07:48:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215487') end
[2025-01-10 07:48:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 07:48:03] Production.INFO: 1
[2025-01-10 07:48:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 07:48:03] Production.INFO: Date 2025-01-09
[2025-01-10 07:48:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:48:03] Production.INFO: ==25914== Releasing lock...
[2025-01-10 07:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 07:48:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 07:48:03] Production.INFO: ==25906== Releasing lock...
[2025-01-10 07:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 07:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 07:48:03] Production.INFO: Date 2025-01-10
[2025-01-10 07:48:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:48:03] Production.INFO: Total Charge 0
[2025-01-10 07:48:03] Production.INFO: CreateAllLog End
[2025-01-10 07:48:03] Production.ERROR: done
[2025-01-10 07:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 07:48:04] Production.INFO: Account Balance End.
[2025-01-10 07:48:04] Production.ERROR: CronJobId end 12
[2025-01-10 07:48:04] Production.INFO: ==25910== Releasing lock...
[2025-01-10 07:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 07:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 07:48:04] Production.ERROR: done
[2025-01-10 07:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 04:48:05
[end_date_ymd] => 2025-01-10 07:48:05
[RateCDR] => 1
)
[2025-01-10 07:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 04:48:05' and `end` < '2025-01-10 07:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 07:48:10] Production.ERROR: CronJobId end10
[2025-01-10 07:48:10] Production.INFO: ==25908== Releasing lock...
[2025-01-10 07:48:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 07:48:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 07:48:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 07:48:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 07:48:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 07:48:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 07:48:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 07:48:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 07:48:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 07:48:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 07:48:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 07:48:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 07:48:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 07:48:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 07:48:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 07:48:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 07:48:12] Production.INFO: call_cost start
[2025-01-10 07:48:12] Production.INFO: call_cost end
[2025-01-10 07:48:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 07:48:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 07:48:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 07:48:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 07:48:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 07:48:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 07:48:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 07:48:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 07:48:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 07:48:13] Production.INFO: ==25904== Releasing lock...
[2025-01-10 07:48:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 07:48:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 07:48:19] Production.INFO: count ==84
[2025-01-10 07:48:19] Production.ERROR: pbx CDR StartTime 2025-01-10 04:48:05 - End Time 2025-01-10 07:48:05
[2025-01-10 07:48:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 07:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215490', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215490', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215490', 'tblTempVendorCDR_20' ) start
[2025-01-10 07:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215490', 'tblTempVendorCDR_20' ) end
[2025-01-10 07:48:19] Production.INFO: ProcessCDR(1,14215490,1,1,2)
[2025-01-10 07:48:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215490,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:48:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215490,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:48:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215490,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215490,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215490', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215490', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:48:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:48:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:48:22] Production.INFO: ==25912== Releasing lock...
[2025-01-10 07:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 07:48:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:49:01] Production.INFO: ==26008== Lock acquired, processing the job...
[2025-01-10 12:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 12:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 12:49:01] Production.INFO: neon service started
[2025-01-10 12:49:01] Production.INFO: neon service started
[2025-01-10 12:49:01] Production.INFO: ==26008== Releasing lock...
[2025-01-10 12:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 12:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 07:49:02] Production.INFO: ==26010== Lock acquired, processing the job...
[2025-01-10 07:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 07:49:02] Production.INFO: ==26010== Releasing lock...
[2025-01-10 07:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 07:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 12:49:02] Production.INFO: ==26012== Lock acquired, processing the job...
[2025-01-10 12:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 12:49:02] Production.INFO: ==26012== Releasing lock...
[2025-01-10 12:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 12:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 07:49:03] Production.INFO: ==26019== Lock acquired, processing the job...
[2025-01-10 07:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 07:49:03] Production.INFO: ==26015== Lock acquired, processing the job...
[2025-01-10 07:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 07:49:03] Production.INFO: ==26017== Lock acquired, processing the job...
[2025-01-10 07:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 07:49:03] Production.INFO: ==26023== Lock acquired, processing the job...
[2025-01-10 07:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 07:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 07:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 07:49:03] Production.INFO: ==26021== Lock acquired, processing the job...
[2025-01-10 07:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 07:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 07:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 07:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 07:49:03] Production.INFO: ==26025== Lock acquired, processing the job...
[2025-01-10 07:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 07:49:03] Production.INFO: Account Balance Start.
[2025-01-10 07:49:03] Production.INFO: CreateAllLog Start
[2025-01-10 07:49:03] Production.INFO: 117
[2025-01-10 07:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:49:03] Production.INFO: Date 2025-01-08
[2025-01-10 07:49:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:49:03] Production.INFO: count ==21
[2025-01-10 07:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:49:03] Production.INFO: count ==21
[2025-01-10 07:49:03] Production.INFO: ==26017== Releasing lock...
[2025-01-10 07:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 07:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 07:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215494') start
[2025-01-10 07:49:03] Production.INFO: Date 2025-01-09
[2025-01-10 07:49:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:49:03] Production.ERROR: done
[2025-01-10 07:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 07:49:04] Production.INFO: Date 2025-01-10
[2025-01-10 07:49:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215494') end
[2025-01-10 07:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 07:49:04] Production.INFO: 1
[2025-01-10 07:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 07:49:04] Production.INFO: Total Charge 0
[2025-01-10 07:49:04] Production.INFO: CreateAllLog End
[2025-01-10 07:49:04] Production.INFO: ==26025== Releasing lock...
[2025-01-10 07:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 07:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 07:49:04] Production.ERROR: done
[2025-01-10 07:49:04] Production.INFO: Account Balance End.
[2025-01-10 07:49:04] Production.ERROR: CronJobId end 12
[2025-01-10 07:49:04] Production.INFO: ==26021== Releasing lock...
[2025-01-10 07:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 07:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 07:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 04:49:05
[end_date_ymd] => 2025-01-10 07:49:05
[RateCDR] => 1
)
[2025-01-10 07:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 04:49:05' and `end` < '2025-01-10 07:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 07:49:10] Production.ERROR: CronJobId end10
[2025-01-10 07:49:10] Production.INFO: ==26019== Releasing lock...
[2025-01-10 07:49:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 07:49:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 07:49:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 07:49:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 07:49:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 07:49:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 07:49:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 07:49:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 07:49:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 07:49:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 07:49:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 07:49:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 07:49:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 07:49:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 07:49:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 07:49:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 07:49:13] Production.INFO: call_cost start
[2025-01-10 07:49:13] Production.INFO: call_cost end
[2025-01-10 07:49:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 07:49:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 07:49:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 07:49:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 07:49:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 07:49:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 07:49:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 07:49:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 07:49:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 07:49:13] Production.INFO: ==26015== Releasing lock...
[2025-01-10 07:49:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 07:49:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 07:49:18] Production.INFO: count ==84
[2025-01-10 07:49:18] Production.ERROR: pbx CDR StartTime 2025-01-10 04:49:05 - End Time 2025-01-10 07:49:05
[2025-01-10 07:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 07:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215495', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215495', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215495', 'tblTempVendorCDR_20' ) start
[2025-01-10 07:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215495', 'tblTempVendorCDR_20' ) end
[2025-01-10 07:49:18] Production.INFO: ProcessCDR(1,14215495,1,1,2)
[2025-01-10 07:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215495,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215495,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215495,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215495,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215495', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215495', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:49:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:49:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:49:21] Production.INFO: ==26023== Releasing lock...
[2025-01-10 07:49:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 07:49:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:50:02] Production.INFO: ==26079== Lock acquired, processing the job...
[2025-01-10 12:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 12:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 12:50:02] Production.INFO: neon service started
[2025-01-10 12:50:02] Production.INFO: neon service started
[2025-01-10 12:50:02] Production.INFO: ==26079== Releasing lock...
[2025-01-10 12:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 12:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 07:50:02] Production.INFO: ==26082== Lock acquired, processing the job...
[2025-01-10 07:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 07:50:03] Production.INFO: ==26082== Releasing lock...
[2025-01-10 07:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 07:50:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 12:50:03] Production.INFO: ==26084== Lock acquired, processing the job...
[2025-01-10 12:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 12:50:03] Production.INFO: ==26084== Releasing lock...
[2025-01-10 12:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 12:50:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 07:50:04] Production.INFO: ==26086== Lock acquired, processing the job...
[2025-01-10 07:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 07:50:04] Production.INFO: ==26098== Lock acquired, processing the job...
[2025-01-10 07:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 07:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 07:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 07:50:04] Production.ERROR: CronJob PID - 26098
[2025-01-10 07:50:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-10 07:50:04] Production.ERROR: CronJob ID - 17
[2025-01-10 07:50:04] Production.ERROR: CronJob Last Run Time 2025-01-10 07:50:00
[2025-01-10 07:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 07:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 07:50:04] Production.INFO: ==26100== Lock acquired, processing the job...
[2025-01-10 07:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 07:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 07:50:04] Production.INFO: ==26086== Releasing lock...
[2025-01-10 07:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 07:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 07:50:04] Production.INFO: ==26088== Lock acquired, processing the job...
[2025-01-10 07:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 07:50:04] Production.INFO: ==26090== Lock acquired, processing the job...
[2025-01-10 07:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 07:50:04] Production.INFO: ==26092== Lock acquired, processing the job...
[2025-01-10 07:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 07:50:04] Production.INFO: ==26094== Lock acquired, processing the job...
[2025-01-10 07:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 07:50:04] Production.INFO: ==26096== Lock acquired, processing the job...
[2025-01-10 07:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 07:50:04] Production.ERROR: done
[2025-01-10 07:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 07:50:04] Production.INFO: Account Balance Start.
[2025-01-10 07:50:04] Production.INFO: CreateAllLog Start
[2025-01-10 07:50:04] Production.INFO: 117
[2025-01-10 07:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 07:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 07:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 07:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 07:50:04] Production.INFO: Date 2025-01-08
[2025-01-10 07:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:50:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:50:04] Production.INFO: count ==21
[2025-01-10 07:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 07:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14215500', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 07:50:04] Production.INFO: Date 2025-01-09
[2025-01-10 07:50:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:50:04] Production.INFO: count ==21
[2025-01-10 07:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215498') start
[2025-01-10 07:50:04] Production.INFO: Date 2025-01-10
[2025-01-10 07:50:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215498') end
[2025-01-10 07:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 07:50:04] Production.INFO: 1
[2025-01-10 07:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 07:50:05] Production.INFO: Total Charge 0
[2025-01-10 07:50:05] Production.ERROR: done
[2025-01-10 07:50:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 07:50:05] Production.INFO: CreateAllLog End
[2025-01-10 07:50:05] Production.INFO: ==26100== Releasing lock...
[2025-01-10 07:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 07:50:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 07:50:05] Production.INFO: ==26090== Releasing lock...
[2025-01-10 07:50:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 07:50:05] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 07:50:05] Production.ERROR: done
[2025-01-10 07:50:05] Production.INFO: Account Balance End.
[2025-01-10 07:50:05] Production.ERROR: CronJobId end 12
[2025-01-10 07:50:05] Production.INFO: ==26094== Releasing lock...
[2025-01-10 07:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 07:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 07:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 04:50:06
[end_date_ymd] => 2025-01-10 07:50:06
[RateCDR] => 1
)
[2025-01-10 07:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 04:50:06' and `end` < '2025-01-10 07:50:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 07:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14215500', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 07:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 07:50:08] Production.INFO: ProcessCDR(1,14215500,1,1,2)
[2025-01-10 07:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14215500,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14215500,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:50:08] Production.INFO: ==26098== Releasing lock...
[2025-01-10 07:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 07:50:08] Production.INFO: 26 MB #Memory Used#
[2025-01-10 07:50:12] Production.ERROR: CronJobId end10
[2025-01-10 07:50:12] Production.INFO: ==26092== Releasing lock...
[2025-01-10 07:50:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 07:50:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 07:50:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 07:50:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 07:50:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 07:50:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 07:50:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 07:50:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 07:50:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 07:50:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 07:50:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 07:50:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 07:50:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 07:50:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 07:50:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 07:50:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 07:50:15] Production.INFO: call_cost start
[2025-01-10 07:50:15] Production.INFO: call_cost end
[2025-01-10 07:50:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 07:50:16] Production.INFO: ============== Report Schedule START===========
[2025-01-10 07:50:16] Production.INFO: ============== Report Schedule END===========
[2025-01-10 07:50:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 07:50:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 07:50:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 07:50:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 07:50:16] Production.INFO: ============== Deal alert START===========
[2025-01-10 07:50:16] Production.INFO: ============== Deal alert END===========
[2025-01-10 07:50:16] Production.INFO: ==26088== Releasing lock...
[2025-01-10 07:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 07:50:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 07:50:19] Production.INFO: count ==91
[2025-01-10 07:50:19] Production.ERROR: pbx CDR StartTime 2025-01-10 04:50:06 - End Time 2025-01-10 07:50:06
[2025-01-10 07:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 07:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215501', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215501', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215501', 'tblTempVendorCDR_20' ) start
[2025-01-10 07:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215501', 'tblTempVendorCDR_20' ) end
[2025-01-10 07:50:19] Production.INFO: ProcessCDR(1,14215501,1,1,2)
[2025-01-10 07:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215501,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215501,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215501,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:50:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215501,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215501', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215501', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:50:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:50:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:50:22] Production.INFO: ==26096== Releasing lock...
[2025-01-10 07:50:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 07:50:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:51:01] Production.INFO: ==26154== Lock acquired, processing the job...
[2025-01-10 12:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 12:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 12:51:01] Production.INFO: neon service started
[2025-01-10 12:51:01] Production.INFO: neon service started
[2025-01-10 12:51:01] Production.INFO: ==26154== Releasing lock...
[2025-01-10 12:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 12:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 07:51:02] Production.INFO: ==26156== Lock acquired, processing the job...
[2025-01-10 07:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 07:51:02] Production.INFO: ==26156== Releasing lock...
[2025-01-10 07:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 07:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 12:51:02] Production.INFO: ==26158== Lock acquired, processing the job...
[2025-01-10 12:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 12:51:02] Production.INFO: ==26158== Releasing lock...
[2025-01-10 12:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 12:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 07:51:03] Production.INFO: ==26164== Lock acquired, processing the job...
[2025-01-10 07:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 07:51:03] Production.INFO: ==26169== Lock acquired, processing the job...
[2025-01-10 07:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 07:51:03] Production.INFO: ==26162== Lock acquired, processing the job...
[2025-01-10 07:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 07:51:03] Production.INFO: ==26160== Lock acquired, processing the job...
[2025-01-10 07:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 07:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 07:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 07:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 07:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 07:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 07:51:03] Production.INFO: ==26167== Lock acquired, processing the job...
[2025-01-10 07:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 07:51:03] Production.INFO: ==26171== Lock acquired, processing the job...
[2025-01-10 07:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 07:51:03] Production.INFO: Account Balance Start.
[2025-01-10 07:51:03] Production.INFO: CreateAllLog Start
[2025-01-10 07:51:03] Production.INFO: 117
[2025-01-10 07:51:03] Production.INFO: Date 2025-01-08
[2025-01-10 07:51:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:51:03] Production.INFO: Date 2025-01-09
[2025-01-10 07:51:03] Production.INFO: ==26162== Releasing lock...
[2025-01-10 07:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 07:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 07:51:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:51:03] Production.ERROR: done
[2025-01-10 07:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 07:51:03] Production.INFO: Date 2025-01-10
[2025-01-10 07:51:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:51:03] Production.INFO: Total Charge 0
[2025-01-10 07:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:51:03] Production.INFO: count ==21
[2025-01-10 07:51:03] Production.INFO: CreateAllLog End
[2025-01-10 07:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:51:03] Production.INFO: count ==21
[2025-01-10 07:51:03] Production.ERROR: done
[2025-01-10 07:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215505') start
[2025-01-10 07:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215505') end
[2025-01-10 07:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 07:51:04] Production.INFO: 1
[2025-01-10 07:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 07:51:04] Production.INFO: ==26171== Releasing lock...
[2025-01-10 07:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 07:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 07:51:04] Production.INFO: Account Balance End.
[2025-01-10 07:51:04] Production.ERROR: CronJobId end 12
[2025-01-10 07:51:04] Production.INFO: ==26167== Releasing lock...
[2025-01-10 07:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 07:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 07:51:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 04:51:04
[end_date_ymd] => 2025-01-10 07:51:04
[RateCDR] => 1
)
[2025-01-10 07:51:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 04:51:04' and `end` < '2025-01-10 07:51:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 07:51:09] Production.ERROR: CronJobId end10
[2025-01-10 07:51:09] Production.INFO: ==26164== Releasing lock...
[2025-01-10 07:51:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 07:51:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 07:51:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 07:51:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 07:51:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 07:51:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 07:51:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 07:51:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 07:51:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 07:51:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 07:51:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 07:51:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 07:51:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 07:51:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 07:51:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 07:51:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 07:51:13] Production.INFO: call_cost start
[2025-01-10 07:51:13] Production.INFO: call_cost end
[2025-01-10 07:51:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 07:51:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 07:51:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 07:51:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 07:51:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 07:51:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 07:51:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 07:51:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 07:51:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 07:51:13] Production.INFO: ==26160== Releasing lock...
[2025-01-10 07:51:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 07:51:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 07:51:20] Production.INFO: count ==104
[2025-01-10 07:51:20] Production.ERROR: pbx CDR StartTime 2025-01-10 04:51:04 - End Time 2025-01-10 07:51:04
[2025-01-10 07:51:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 07:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215506', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215506', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215506', 'tblTempVendorCDR_20' ) start
[2025-01-10 07:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215506', 'tblTempVendorCDR_20' ) end
[2025-01-10 07:51:20] Production.INFO: ProcessCDR(1,14215506,1,1,2)
[2025-01-10 07:51:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215506,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:51:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215506,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:51:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215506,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:51:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215506,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:51:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215506', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:51:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215506', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:51:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:51:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:51:23] Production.INFO: ==26169== Releasing lock...
[2025-01-10 07:51:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 07:51:23] Production.INFO: 28.5 MB #Memory Used#
[2025-01-10 12:52:02] Production.INFO: ==26226== Lock acquired, processing the job...
[2025-01-10 12:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 12:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 12:52:02] Production.INFO: neon service started
[2025-01-10 12:52:02] Production.INFO: neon service started
[2025-01-10 12:52:02] Production.INFO: ==26226== Releasing lock...
[2025-01-10 12:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 12:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 12:52:02] Production.INFO: ==26230== Lock acquired, processing the job...
[2025-01-10 12:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 12:52:02] Production.INFO: ==26230== Releasing lock...
[2025-01-10 12:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 12:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 07:52:02] Production.INFO: ==26228== Lock acquired, processing the job...
[2025-01-10 07:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 07:52:03] Production.INFO: ==26228== Releasing lock...
[2025-01-10 07:52:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 07:52:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:52:03] Production.INFO: ==26235== Lock acquired, processing the job...
[2025-01-10 07:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 07:52:04] Production.INFO: ==26239== Lock acquired, processing the job...
[2025-01-10 07:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 07:52:04] Production.INFO: ==26233== Lock acquired, processing the job...
[2025-01-10 07:52:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 07:52:04] Production.INFO: Account Balance Start.
[2025-01-10 07:52:04] Production.INFO: CreateAllLog Start
[2025-01-10 07:52:04] Production.INFO: 117
[2025-01-10 07:52:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 07:52:04] Production.INFO: Date 2025-01-08
[2025-01-10 07:52:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:52:04] Production.INFO: ==26237== Lock acquired, processing the job...
[2025-01-10 07:52:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 07:52:04] Production.INFO: Date 2025-01-09
[2025-01-10 07:52:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:52:04] Production.INFO: ==26243== Lock acquired, processing the job...
[2025-01-10 07:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 07:52:04] Production.INFO: Date 2025-01-10
[2025-01-10 07:52:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:52:04] Production.INFO: ==26235== Releasing lock...
[2025-01-10 07:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 07:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 07:52:04] Production.INFO: ==26241== Lock acquired, processing the job...
[2025-01-10 07:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 07:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 07:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 07:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 07:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 07:52:04] Production.INFO: Total Charge 0
[2025-01-10 07:52:04] Production.INFO: CreateAllLog End
[2025-01-10 07:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:52:04] Production.INFO: Account Balance End.
[2025-01-10 07:52:04] Production.INFO: count ==21
[2025-01-10 07:52:04] Production.ERROR: CronJobId end 12
[2025-01-10 07:52:04] Production.INFO: ==26239== Releasing lock...
[2025-01-10 07:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 07:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 07:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:52:04] Production.INFO: count ==21
[2025-01-10 07:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215510') start
[2025-01-10 07:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215510') end
[2025-01-10 07:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 07:52:04] Production.INFO: 1
[2025-01-10 07:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 07:52:05] Production.ERROR: done
[2025-01-10 07:52:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 07:52:05] Production.INFO: ==26243== Releasing lock...
[2025-01-10 07:52:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 07:52:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 07:52:05] Production.ERROR: done
[2025-01-10 07:52:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 04:52:06
[end_date_ymd] => 2025-01-10 07:52:06
[RateCDR] => 1
)
[2025-01-10 07:52:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 04:52:06' and `end` < '2025-01-10 07:52:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 07:52:12] Production.ERROR: CronJobId end10
[2025-01-10 07:52:12] Production.INFO: ==26237== Releasing lock...
[2025-01-10 07:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 07:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 07:52:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 07:52:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 07:52:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 07:52:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 07:52:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 07:52:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 07:52:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 07:52:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 07:52:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 07:52:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 07:52:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 07:52:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 07:52:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 07:52:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 07:52:14] Production.INFO: call_cost start
[2025-01-10 07:52:14] Production.INFO: call_cost end
[2025-01-10 07:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 07:52:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 07:52:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 07:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 07:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 07:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 07:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 07:52:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 07:52:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 07:52:15] Production.INFO: ==26233== Releasing lock...
[2025-01-10 07:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 07:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 07:52:19] Production.INFO: count ==104
[2025-01-10 07:52:19] Production.ERROR: pbx CDR StartTime 2025-01-10 04:52:06 - End Time 2025-01-10 07:52:06
[2025-01-10 07:52:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 07:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215511', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215511', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215511', 'tblTempVendorCDR_20' ) start
[2025-01-10 07:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215511', 'tblTempVendorCDR_20' ) end
[2025-01-10 07:52:19] Production.INFO: ProcessCDR(1,14215511,1,1,2)
[2025-01-10 07:52:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215511,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:52:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215511,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:52:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215511,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215511,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215511', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215511', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:52:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:52:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:52:22] Production.INFO: ==26241== Releasing lock...
[2025-01-10 07:52:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 07:52:22] Production.INFO: 28.5 MB #Memory Used#
[2025-01-10 12:53:01] Production.INFO: ==26302== Lock acquired, processing the job...
[2025-01-10 12:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 12:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 12:53:01] Production.INFO: neon service started
[2025-01-10 12:53:01] Production.INFO: neon service started
[2025-01-10 12:53:01] Production.INFO: ==26302== Releasing lock...
[2025-01-10 12:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 12:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 07:53:02] Production.INFO: ==26304== Lock acquired, processing the job...
[2025-01-10 07:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:53:02] Production.INFO: ==26306== Lock acquired, processing the job...
[2025-01-10 12:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 12:53:02] Production.INFO: ==26306== Releasing lock...
[2025-01-10 12:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 12:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 07:53:02] Production.INFO: ==26304== Releasing lock...
[2025-01-10 07:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 07:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:53:03] Production.INFO: ==26313== Lock acquired, processing the job...
[2025-01-10 07:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 07:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 07:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 07:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 07:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 07:53:03] Production.INFO: ==26319== Lock acquired, processing the job...
[2025-01-10 07:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 07:53:03] Production.INFO: ==26311== Lock acquired, processing the job...
[2025-01-10 07:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 07:53:03] Production.INFO: ==26309== Lock acquired, processing the job...
[2025-01-10 07:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 07:53:03] Production.INFO: ==26315== Lock acquired, processing the job...
[2025-01-10 07:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 07:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 07:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:53:03] Production.INFO: Account Balance Start.
[2025-01-10 07:53:03] Production.INFO: CreateAllLog Start
[2025-01-10 07:53:03] Production.INFO: 117
[2025-01-10 07:53:03] Production.INFO: count ==21
[2025-01-10 07:53:03] Production.INFO: Date 2025-01-08
[2025-01-10 07:53:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:53:03] Production.INFO: count ==21
[2025-01-10 07:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215512') start
[2025-01-10 07:53:03] Production.INFO: ==26317== Lock acquired, processing the job...
[2025-01-10 07:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 07:53:03] Production.INFO: Date 2025-01-09
[2025-01-10 07:53:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:53:04] Production.INFO: Date 2025-01-10
[2025-01-10 07:53:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:53:04] Production.INFO: ==26311== Releasing lock...
[2025-01-10 07:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 07:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 07:53:04] Production.INFO: Total Charge 0
[2025-01-10 07:53:04] Production.INFO: CreateAllLog End
[2025-01-10 07:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215512') end
[2025-01-10 07:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 07:53:04] Production.INFO: 1
[2025-01-10 07:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 07:53:04] Production.INFO: ==26319== Releasing lock...
[2025-01-10 07:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 07:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 07:53:04] Production.INFO: Account Balance End.
[2025-01-10 07:53:04] Production.ERROR: done
[2025-01-10 07:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 07:53:04] Production.ERROR: CronJobId end 12
[2025-01-10 07:53:04] Production.INFO: ==26315== Releasing lock...
[2025-01-10 07:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 07:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 07:53:04] Production.ERROR: done
[2025-01-10 07:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 04:53:05
[end_date_ymd] => 2025-01-10 07:53:05
[RateCDR] => 1
)
[2025-01-10 07:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 04:53:05' and `end` < '2025-01-10 07:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 07:53:11] Production.ERROR: CronJobId end10
[2025-01-10 07:53:11] Production.INFO: ==26313== Releasing lock...
[2025-01-10 07:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 07:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 07:53:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 07:53:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 07:53:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 07:53:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 07:53:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 07:53:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 07:53:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 07:53:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 07:53:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 07:53:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 07:53:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 07:53:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 07:53:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 07:53:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 07:53:12] Production.INFO: call_cost start
[2025-01-10 07:53:12] Production.INFO: call_cost end
[2025-01-10 07:53:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 07:53:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 07:53:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 07:53:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 07:53:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 07:53:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 07:53:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 07:53:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 07:53:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 07:53:13] Production.INFO: ==26309== Releasing lock...
[2025-01-10 07:53:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 07:53:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 07:53:21] Production.INFO: count ==104
[2025-01-10 07:53:21] Production.ERROR: pbx CDR StartTime 2025-01-10 04:53:05 - End Time 2025-01-10 07:53:05
[2025-01-10 07:53:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 07:53:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215516', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:53:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215516', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:53:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215516', 'tblTempVendorCDR_20' ) start
[2025-01-10 07:53:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215516', 'tblTempVendorCDR_20' ) end
[2025-01-10 07:53:21] Production.INFO: ProcessCDR(1,14215516,1,1,2)
[2025-01-10 07:53:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215516,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:53:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215516,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:53:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215516,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:53:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215516,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:53:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215516', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:53:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215516', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:53:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:53:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:53:24] Production.INFO: ==26317== Releasing lock...
[2025-01-10 07:53:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 07:53:24] Production.INFO: 28.5 MB #Memory Used#
[2025-01-10 12:54:02] Production.INFO: ==26372== Lock acquired, processing the job...
[2025-01-10 12:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 12:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 12:54:02] Production.INFO: neon service started
[2025-01-10 12:54:02] Production.INFO: neon service started
[2025-01-10 12:54:02] Production.INFO: ==26372== Releasing lock...
[2025-01-10 12:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 12:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 07:54:02] Production.INFO: ==26374== Lock acquired, processing the job...
[2025-01-10 07:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 07:54:02] Production.INFO: ==26374== Releasing lock...
[2025-01-10 07:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 07:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 12:54:02] Production.INFO: ==26376== Lock acquired, processing the job...
[2025-01-10 12:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 12:54:02] Production.INFO: ==26376== Releasing lock...
[2025-01-10 12:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 12:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 07:54:03] Production.INFO: ==26387== Lock acquired, processing the job...
[2025-01-10 07:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 07:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:54:03] Production.INFO: ==26379== Lock acquired, processing the job...
[2025-01-10 07:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 07:54:03] Production.INFO: ==26389== Lock acquired, processing the job...
[2025-01-10 07:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 07:54:03] Production.INFO: ==26381== Lock acquired, processing the job...
[2025-01-10 07:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 07:54:03] Production.INFO: ==26385== Lock acquired, processing the job...
[2025-01-10 07:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 07:54:03] Production.INFO: ==26383== Lock acquired, processing the job...
[2025-01-10 07:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 07:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 07:54:04] Production.INFO: Account Balance Start.
[2025-01-10 07:54:04] Production.INFO: CreateAllLog Start
[2025-01-10 07:54:04] Production.INFO: 117
[2025-01-10 07:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 07:54:04] Production.INFO: Date 2025-01-08
[2025-01-10 07:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 07:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 07:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 07:54:04] Production.INFO: count ==21
[2025-01-10 07:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:54:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:54:04] Production.INFO: count ==21
[2025-01-10 07:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215517') start
[2025-01-10 07:54:04] Production.ERROR: done
[2025-01-10 07:54:04] Production.INFO: Date 2025-01-09
[2025-01-10 07:54:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 07:54:04] Production.INFO: Date 2025-01-10
[2025-01-10 07:54:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:54:04] Production.INFO: Total Charge 0
[2025-01-10 07:54:04] Production.INFO: CreateAllLog End
[2025-01-10 07:54:04] Production.ERROR: done
[2025-01-10 07:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215517') end
[2025-01-10 07:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 07:54:04] Production.INFO: 1
[2025-01-10 07:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 07:54:04] Production.INFO: ==26381== Releasing lock...
[2025-01-10 07:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 07:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 07:54:04] Production.INFO: ==26389== Releasing lock...
[2025-01-10 07:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 07:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 07:54:04] Production.INFO: Account Balance End.
[2025-01-10 07:54:04] Production.ERROR: CronJobId end 12
[2025-01-10 07:54:04] Production.INFO: ==26385== Releasing lock...
[2025-01-10 07:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 07:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 07:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 04:54:05
[end_date_ymd] => 2025-01-10 07:54:05
[RateCDR] => 1
)
[2025-01-10 07:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 04:54:05' and `end` < '2025-01-10 07:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 07:54:12] Production.ERROR: CronJobId end10
[2025-01-10 07:54:12] Production.INFO: ==26383== Releasing lock...
[2025-01-10 07:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 07:54:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 07:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 07:54:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 07:54:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 07:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 07:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 07:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 07:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 07:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 07:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 07:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 07:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 07:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 07:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 07:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 07:54:13] Production.INFO: call_cost start
[2025-01-10 07:54:13] Production.INFO: call_cost end
[2025-01-10 07:54:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 07:54:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 07:54:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 07:54:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 07:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 07:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 07:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 07:54:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 07:54:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 07:54:14] Production.INFO: ==26379== Releasing lock...
[2025-01-10 07:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 07:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 07:54:18] Production.INFO: count ==104
[2025-01-10 07:54:18] Production.ERROR: pbx CDR StartTime 2025-01-10 04:54:05 - End Time 2025-01-10 07:54:05
[2025-01-10 07:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 07:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215521', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215521', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215521', 'tblTempVendorCDR_20' ) start
[2025-01-10 07:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215521', 'tblTempVendorCDR_20' ) end
[2025-01-10 07:54:18] Production.INFO: ProcessCDR(1,14215521,1,1,2)
[2025-01-10 07:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215521,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215521,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215521,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:54:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215521,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215521', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215521', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:54:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:54:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:54:21] Production.INFO: ==26387== Releasing lock...
[2025-01-10 07:54:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 07:54:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-10 12:55:01] Production.INFO: ==26441== Lock acquired, processing the job...
[2025-01-10 12:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 12:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 12:55:01] Production.INFO: neon service started
[2025-01-10 12:55:01] Production.INFO: neon service started
[2025-01-10 12:55:01] Production.INFO: ==26441== Releasing lock...
[2025-01-10 12:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 12:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 07:55:01] Production.INFO: ==26443== Lock acquired, processing the job...
[2025-01-10 07:55:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 07:55:02] Production.INFO: ==26443== Releasing lock...
[2025-01-10 07:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 07:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 12:55:02] Production.INFO: ==26445== Lock acquired, processing the job...
[2025-01-10 12:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 12:55:02] Production.INFO: ==26445== Releasing lock...
[2025-01-10 12:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 12:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 07:55:03] Production.INFO: ==26447== Lock acquired, processing the job...
[2025-01-10 07:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 07:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 07:55:03] Production.INFO: ==26457== Lock acquired, processing the job...
[2025-01-10 07:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 07:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:55:03] Production.INFO: ==26449== Lock acquired, processing the job...
[2025-01-10 07:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 07:55:03] Production.INFO: count ==21
[2025-01-10 07:55:03] Production.INFO: ==26451== Lock acquired, processing the job...
[2025-01-10 07:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 07:55:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:55:03] Production.INFO: count ==21
[2025-01-10 07:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215523') start
[2025-01-10 07:55:03] Production.INFO: ==26453== Lock acquired, processing the job...
[2025-01-10 07:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 07:55:03] Production.INFO: ==26455== Lock acquired, processing the job...
[2025-01-10 07:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 07:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 07:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 07:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 07:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 07:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215523') end
[2025-01-10 07:55:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 07:55:03] Production.INFO: 1
[2025-01-10 07:55:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 07:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:55:03] Production.INFO: ==26457== Releasing lock...
[2025-01-10 07:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 07:55:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 07:55:03] Production.INFO: Account Balance Start.
[2025-01-10 07:55:03] Production.INFO: CreateAllLog Start
[2025-01-10 07:55:03] Production.INFO: 117
[2025-01-10 07:55:03] Production.INFO: Date 2025-01-08
[2025-01-10 07:55:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:55:03] Production.INFO: Date 2025-01-09
[2025-01-10 07:55:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:55:03] Production.INFO: Date 2025-01-10
[2025-01-10 07:55:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:55:03] Production.INFO: Total Charge 0
[2025-01-10 07:55:03] Production.INFO: CreateAllLog End
[2025-01-10 07:55:04] Production.ERROR: done
[2025-01-10 07:55:04] Production.INFO: ==26449== Releasing lock...
[2025-01-10 07:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 07:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 07:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 07:55:04] Production.ERROR: done
[2025-01-10 07:55:04] Production.INFO: Account Balance End.
[2025-01-10 07:55:04] Production.ERROR: CronJobId end 12
[2025-01-10 07:55:04] Production.INFO: ==26453== Releasing lock...
[2025-01-10 07:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 07:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 07:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 04:55:05
[end_date_ymd] => 2025-01-10 07:55:05
[RateCDR] => 1
)
[2025-01-10 07:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 04:55:05' and `end` < '2025-01-10 07:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 07:55:10] Production.ERROR: CronJobId end10
[2025-01-10 07:55:10] Production.INFO: ==26451== Releasing lock...
[2025-01-10 07:55:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 07:55:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 07:55:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 07:55:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 07:55:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 07:55:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 07:55:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 07:55:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 07:55:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 07:55:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 07:55:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 07:55:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 07:55:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 07:55:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 07:55:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 07:55:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 07:55:12] Production.INFO: call_cost start
[2025-01-10 07:55:12] Production.INFO: call_cost end
[2025-01-10 07:55:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 07:55:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 07:55:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 07:55:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 07:55:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 07:55:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 07:55:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 07:55:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 07:55:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 07:55:13] Production.INFO: ==26447== Releasing lock...
[2025-01-10 07:55:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 07:55:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 07:55:18] Production.INFO: count ==104
[2025-01-10 07:55:18] Production.ERROR: pbx CDR StartTime 2025-01-10 04:55:05 - End Time 2025-01-10 07:55:05
[2025-01-10 07:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 07:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215526', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215526', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215526', 'tblTempVendorCDR_20' ) start
[2025-01-10 07:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215526', 'tblTempVendorCDR_20' ) end
[2025-01-10 07:55:18] Production.INFO: ProcessCDR(1,14215526,1,1,2)
[2025-01-10 07:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215526,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215526,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215526,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215526,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215526', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215526', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:55:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:55:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:55:21] Production.INFO: ==26455== Releasing lock...
[2025-01-10 07:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 07:55:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-10 12:56:02] Production.INFO: ==26511== Lock acquired, processing the job...
[2025-01-10 12:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 12:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 12:56:02] Production.INFO: neon service started
[2025-01-10 12:56:02] Production.INFO: neon service started
[2025-01-10 12:56:02] Production.INFO: ==26511== Releasing lock...
[2025-01-10 12:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 12:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 12:56:02] Production.INFO: ==26516== Lock acquired, processing the job...
[2025-01-10 12:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 12:56:02] Production.INFO: ==26516== Releasing lock...
[2025-01-10 12:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 12:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 07:56:02] Production.INFO: ==26514== Lock acquired, processing the job...
[2025-01-10 07:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 07:56:03] Production.INFO: ==26514== Releasing lock...
[2025-01-10 07:56:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 07:56:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:56:03] Production.INFO: ==26518== Lock acquired, processing the job...
[2025-01-10 07:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 07:56:03] Production.INFO: ==26522== Lock acquired, processing the job...
[2025-01-10 07:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 07:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 07:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 07:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 07:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 07:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 07:56:03] Production.INFO: ==26524== Lock acquired, processing the job...
[2025-01-10 07:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 07:56:04] Production.INFO: ==26520== Lock acquired, processing the job...
[2025-01-10 07:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 07:56:04] Production.INFO: Account Balance Start.
[2025-01-10 07:56:04] Production.INFO: CreateAllLog Start
[2025-01-10 07:56:04] Production.INFO: 117
[2025-01-10 07:56:04] Production.INFO: Date 2025-01-08
[2025-01-10 07:56:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:56:04] Production.INFO: ==26526== Lock acquired, processing the job...
[2025-01-10 07:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 07:56:04] Production.INFO: Date 2025-01-09
[2025-01-10 07:56:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:56:04] Production.INFO: Date 2025-01-10
[2025-01-10 07:56:04] Production.INFO: ==26528== Lock acquired, processing the job...
[2025-01-10 07:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 07:56:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:56:04] Production.INFO: Total Charge 0
[2025-01-10 07:56:04] Production.INFO: CreateAllLog End
[2025-01-10 07:56:04] Production.INFO: ==26520== Releasing lock...
[2025-01-10 07:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 07:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 07:56:04] Production.ERROR: done
[2025-01-10 07:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 07:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:56:04] Production.INFO: Account Balance End.
[2025-01-10 07:56:04] Production.INFO: count ==21
[2025-01-10 07:56:04] Production.ERROR: done
[2025-01-10 07:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:56:04] Production.INFO: count ==21
[2025-01-10 07:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215530') start
[2025-01-10 07:56:04] Production.ERROR: CronJobId end 12
[2025-01-10 07:56:04] Production.INFO: ==26524== Releasing lock...
[2025-01-10 07:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 07:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 07:56:05] Production.ERROR: PBX CALL prc_importPBXExtension('14215530') end
[2025-01-10 07:56:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 07:56:05] Production.INFO: 1
[2025-01-10 07:56:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 07:56:05] Production.INFO: ==26528== Releasing lock...
[2025-01-10 07:56:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 07:56:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 07:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 04:56:05
[end_date_ymd] => 2025-01-10 07:56:05
[RateCDR] => 1
)
[2025-01-10 07:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 04:56:05' and `end` < '2025-01-10 07:56:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 07:56:10] Production.ERROR: CronJobId end10
[2025-01-10 07:56:10] Production.INFO: ==26522== Releasing lock...
[2025-01-10 07:56:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 07:56:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 07:56:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 07:56:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 07:56:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 07:56:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 07:56:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 07:56:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 07:56:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 07:56:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 07:56:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 07:56:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 07:56:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 07:56:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 07:56:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 07:56:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 07:56:13] Production.INFO: call_cost start
[2025-01-10 07:56:13] Production.INFO: call_cost end
[2025-01-10 07:56:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 07:56:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 07:56:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 07:56:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 07:56:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 07:56:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 07:56:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 07:56:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 07:56:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 07:56:14] Production.INFO: ==26518== Releasing lock...
[2025-01-10 07:56:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 07:56:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 07:56:19] Production.INFO: count ==107
[2025-01-10 07:56:19] Production.ERROR: pbx CDR StartTime 2025-01-10 04:56:05 - End Time 2025-01-10 07:56:05
[2025-01-10 07:56:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 07:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215531', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215531', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215531', 'tblTempVendorCDR_20' ) start
[2025-01-10 07:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215531', 'tblTempVendorCDR_20' ) end
[2025-01-10 07:56:19] Production.INFO: ProcessCDR(1,14215531,1,1,2)
[2025-01-10 07:56:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215531,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:56:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215531,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:56:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215531,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:56:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215531,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215531', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215531', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:56:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:56:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:56:23] Production.INFO: ==26526== Releasing lock...
[2025-01-10 07:56:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 07:56:23] Production.INFO: 28.5 MB #Memory Used#
[2025-01-10 12:57:01] Production.INFO: ==26581== Lock acquired, processing the job...
[2025-01-10 12:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 12:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 12:57:01] Production.INFO: neon service started
[2025-01-10 12:57:01] Production.INFO: neon service started
[2025-01-10 12:57:01] Production.INFO: ==26581== Releasing lock...
[2025-01-10 12:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 12:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 07:57:02] Production.INFO: ==26583== Lock acquired, processing the job...
[2025-01-10 07:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 07:57:02] Production.INFO: ==26583== Releasing lock...
[2025-01-10 07:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 07:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 12:57:02] Production.INFO: ==26585== Lock acquired, processing the job...
[2025-01-10 12:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 12:57:02] Production.INFO: ==26585== Releasing lock...
[2025-01-10 12:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 12:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 07:57:03] Production.INFO: ==26598== Lock acquired, processing the job...
[2025-01-10 07:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 07:57:03] Production.INFO: ==26596== Lock acquired, processing the job...
[2025-01-10 07:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 07:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:57:03] Production.INFO: ==26588== Lock acquired, processing the job...
[2025-01-10 07:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 07:57:03] Production.INFO: count ==21
[2025-01-10 07:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:57:03] Production.INFO: count ==21
[2025-01-10 07:57:03] Production.INFO: ==26590== Lock acquired, processing the job...
[2025-01-10 07:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 07:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215532') start
[2025-01-10 07:57:03] Production.INFO: ==26594== Lock acquired, processing the job...
[2025-01-10 07:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 07:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 07:57:03] Production.INFO: ==26592== Lock acquired, processing the job...
[2025-01-10 07:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 07:57:03] Production.INFO: Account Balance Start.
[2025-01-10 07:57:03] Production.INFO: CreateAllLog Start
[2025-01-10 07:57:03] Production.INFO: 117
[2025-01-10 07:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215532') end
[2025-01-10 07:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 07:57:03] Production.INFO: 1
[2025-01-10 07:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 07:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 07:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 07:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 07:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 07:57:03] Production.ERROR: done
[2025-01-10 07:57:03] Production.INFO: Date 2025-01-08
[2025-01-10 07:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 07:57:03] Production.INFO: ==26598== Releasing lock...
[2025-01-10 07:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 07:57:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 07:57:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:57:03] Production.INFO: Date 2025-01-09
[2025-01-10 07:57:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:57:03] Production.INFO: Date 2025-01-10
[2025-01-10 07:57:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:57:03] Production.ERROR: done
[2025-01-10 07:57:03] Production.INFO: Total Charge 0
[2025-01-10 07:57:03] Production.INFO: CreateAllLog End
[2025-01-10 07:57:04] Production.INFO: ==26590== Releasing lock...
[2025-01-10 07:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 07:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 07:57:04] Production.INFO: Account Balance End.
[2025-01-10 07:57:04] Production.ERROR: CronJobId end 12
[2025-01-10 07:57:04] Production.INFO: ==26594== Releasing lock...
[2025-01-10 07:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 07:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 07:57:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 04:57:04
[end_date_ymd] => 2025-01-10 07:57:04
[RateCDR] => 1
)
[2025-01-10 07:57:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 04:57:04' and `end` < '2025-01-10 07:57:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 07:57:10] Production.ERROR: CronJobId end10
[2025-01-10 07:57:10] Production.INFO: ==26592== Releasing lock...
[2025-01-10 07:57:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 07:57:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 07:57:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 07:57:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 07:57:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 07:57:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 07:57:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 07:57:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 07:57:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 07:57:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 07:57:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 07:57:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 07:57:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 07:57:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 07:57:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 07:57:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 07:57:12] Production.INFO: call_cost start
[2025-01-10 07:57:12] Production.INFO: call_cost end
[2025-01-10 07:57:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 07:57:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 07:57:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 07:57:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 07:57:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 07:57:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 07:57:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 07:57:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 07:57:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 07:57:13] Production.INFO: ==26588== Releasing lock...
[2025-01-10 07:57:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 07:57:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 07:57:17] Production.INFO: count ==107
[2025-01-10 07:57:17] Production.ERROR: pbx CDR StartTime 2025-01-10 04:57:04 - End Time 2025-01-10 07:57:04
[2025-01-10 07:57:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 07:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215536', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215536', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215536', 'tblTempVendorCDR_20' ) start
[2025-01-10 07:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215536', 'tblTempVendorCDR_20' ) end
[2025-01-10 07:57:17] Production.INFO: ProcessCDR(1,14215536,1,1,2)
[2025-01-10 07:57:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215536,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:57:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215536,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:57:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215536,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:57:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215536,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:57:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215536', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:57:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215536', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:57:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:57:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:57:20] Production.INFO: ==26596== Releasing lock...
[2025-01-10 07:57:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 07:57:20] Production.INFO: 28.5 MB #Memory Used#
[2025-01-10 12:58:02] Production.INFO: ==26653== Lock acquired, processing the job...
[2025-01-10 12:58:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 12:58:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 12:58:02] Production.INFO: neon service started
[2025-01-10 12:58:02] Production.INFO: neon service started
[2025-01-10 12:58:02] Production.INFO: ==26653== Releasing lock...
[2025-01-10 12:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 12:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 07:58:02] Production.INFO: ==26655== Lock acquired, processing the job...
[2025-01-10 07:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 07:58:02] Production.INFO: ==26655== Releasing lock...
[2025-01-10 07:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 07:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 12:58:02] Production.INFO: ==26657== Lock acquired, processing the job...
[2025-01-10 12:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 12:58:02] Production.INFO: ==26657== Releasing lock...
[2025-01-10 12:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 12:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 07:58:03] Production.INFO: ==26659== Lock acquired, processing the job...
[2025-01-10 07:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 07:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 07:58:03] Production.INFO: ==26667== Lock acquired, processing the job...
[2025-01-10 07:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 07:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:58:03] Production.INFO: ==26661== Lock acquired, processing the job...
[2025-01-10 07:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 07:58:03] Production.INFO: ==26663== Lock acquired, processing the job...
[2025-01-10 07:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 07:58:03] Production.INFO: ==26665== Lock acquired, processing the job...
[2025-01-10 07:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 07:58:03] Production.INFO: ==26669== Lock acquired, processing the job...
[2025-01-10 07:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 07:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 07:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 07:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 07:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 07:58:03] Production.INFO: Account Balance Start.
[2025-01-10 07:58:03] Production.INFO: CreateAllLog Start
[2025-01-10 07:58:03] Production.INFO: 117
[2025-01-10 07:58:04] Production.INFO: Date 2025-01-08
[2025-01-10 07:58:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:58:04] Production.ERROR: done
[2025-01-10 07:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 07:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:58:04] Production.INFO: count ==21
[2025-01-10 07:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:58:04] Production.INFO: Date 2025-01-09
[2025-01-10 07:58:04] Production.INFO: count ==21
[2025-01-10 07:58:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215540') start
[2025-01-10 07:58:04] Production.INFO: Date 2025-01-10
[2025-01-10 07:58:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:58:04] Production.ERROR: done
[2025-01-10 07:58:04] Production.INFO: Total Charge 0
[2025-01-10 07:58:04] Production.INFO: CreateAllLog End
[2025-01-10 07:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215540') end
[2025-01-10 07:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 07:58:04] Production.INFO: 1
[2025-01-10 07:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 07:58:04] Production.INFO: ==26661== Releasing lock...
[2025-01-10 07:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 07:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 07:58:04] Production.INFO: Account Balance End.
[2025-01-10 07:58:04] Production.INFO: ==26669== Releasing lock...
[2025-01-10 07:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 07:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 07:58:04] Production.ERROR: CronJobId end 12
[2025-01-10 07:58:04] Production.INFO: ==26665== Releasing lock...
[2025-01-10 07:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 07:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 07:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 04:58:05
[end_date_ymd] => 2025-01-10 07:58:05
[RateCDR] => 1
)
[2025-01-10 07:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 04:58:05' and `end` < '2025-01-10 07:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 07:58:11] Production.ERROR: CronJobId end10
[2025-01-10 07:58:11] Production.INFO: ==26663== Releasing lock...
[2025-01-10 07:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 07:58:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 07:58:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 07:58:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 07:58:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 07:58:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 07:58:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 07:58:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 07:58:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 07:58:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 07:58:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 07:58:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 07:58:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 07:58:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 07:58:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 07:58:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 07:58:12] Production.INFO: call_cost start
[2025-01-10 07:58:12] Production.INFO: call_cost end
[2025-01-10 07:58:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 07:58:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 07:58:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 07:58:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 07:58:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 07:58:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 07:58:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 07:58:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 07:58:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 07:58:13] Production.INFO: ==26659== Releasing lock...
[2025-01-10 07:58:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 07:58:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 07:58:19] Production.INFO: count ==107
[2025-01-10 07:58:19] Production.ERROR: pbx CDR StartTime 2025-01-10 04:58:05 - End Time 2025-01-10 07:58:05
[2025-01-10 07:58:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 07:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215541', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215541', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215541', 'tblTempVendorCDR_20' ) start
[2025-01-10 07:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215541', 'tblTempVendorCDR_20' ) end
[2025-01-10 07:58:19] Production.INFO: ProcessCDR(1,14215541,1,1,2)
[2025-01-10 07:58:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215541,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:58:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215541,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:58:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215541,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:58:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215541,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215541', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215541', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:58:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:58:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:58:22] Production.INFO: ==26667== Releasing lock...
[2025-01-10 07:58:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 07:58:22] Production.INFO: 28.5 MB #Memory Used#
[2025-01-10 12:59:01] Production.INFO: ==26723== Lock acquired, processing the job...
[2025-01-10 12:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 12:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 12:59:01] Production.INFO: neon service started
[2025-01-10 12:59:01] Production.INFO: neon service started
[2025-01-10 12:59:01] Production.INFO: ==26723== Releasing lock...
[2025-01-10 12:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 12:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 07:59:02] Production.INFO: ==26725== Lock acquired, processing the job...
[2025-01-10 07:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:59:02] Production.INFO: ==26727== Lock acquired, processing the job...
[2025-01-10 12:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 12:59:02] Production.INFO: ==26727== Releasing lock...
[2025-01-10 12:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 12:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 07:59:02] Production.INFO: ==26725== Releasing lock...
[2025-01-10 07:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 07:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 07:59:03] Production.INFO: ==26734== Lock acquired, processing the job...
[2025-01-10 07:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 07:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 07:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 07:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 07:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 07:59:03] Production.INFO: ==26740== Lock acquired, processing the job...
[2025-01-10 07:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 07:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:59:03] Production.INFO: count ==21
[2025-01-10 07:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 07:59:03] Production.INFO: count ==21
[2025-01-10 07:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215542') start
[2025-01-10 07:59:03] Production.INFO: ==26730== Lock acquired, processing the job...
[2025-01-10 07:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 07:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215542') end
[2025-01-10 07:59:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 07:59:03] Production.INFO: 1
[2025-01-10 07:59:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 07:59:03] Production.INFO: ==26732== Lock acquired, processing the job...
[2025-01-10 07:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 07:59:03] Production.INFO: ==26738== Lock acquired, processing the job...
[2025-01-10 07:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 07:59:03] Production.INFO: ==26740== Releasing lock...
[2025-01-10 07:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 07:59:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 07:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 07:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 07:59:03] Production.INFO: ==26736== Lock acquired, processing the job...
[2025-01-10 07:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 07:59:03] Production.INFO: Account Balance Start.
[2025-01-10 07:59:03] Production.INFO: CreateAllLog Start
[2025-01-10 07:59:03] Production.INFO: 117
[2025-01-10 07:59:03] Production.INFO: Date 2025-01-08
[2025-01-10 07:59:03] Production.INFO: Reseller ==> 0
[2025-01-10 07:59:04] Production.INFO: Date 2025-01-09
[2025-01-10 07:59:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:59:04] Production.INFO: Date 2025-01-10
[2025-01-10 07:59:04] Production.INFO: Reseller ==> 0
[2025-01-10 07:59:04] Production.INFO: Total Charge 0
[2025-01-10 07:59:04] Production.ERROR: done
[2025-01-10 07:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 07:59:04] Production.INFO: CreateAllLog End
[2025-01-10 07:59:04] Production.INFO: ==26732== Releasing lock...
[2025-01-10 07:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 07:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 07:59:04] Production.ERROR: done
[2025-01-10 07:59:04] Production.INFO: Account Balance End.
[2025-01-10 07:59:04] Production.ERROR: CronJobId end 12
[2025-01-10 07:59:04] Production.INFO: ==26736== Releasing lock...
[2025-01-10 07:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 07:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 07:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 04:59:05
[end_date_ymd] => 2025-01-10 07:59:05
[RateCDR] => 1
)
[2025-01-10 07:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 04:59:05' and `end` < '2025-01-10 07:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 07:59:10] Production.ERROR: CronJobId end10
[2025-01-10 07:59:10] Production.INFO: ==26734== Releasing lock...
[2025-01-10 07:59:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 07:59:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 07:59:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 07:59:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 07:59:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 07:59:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 07:59:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 07:59:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 07:59:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 07:59:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 07:59:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 07:59:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 07:59:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 07:59:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 07:59:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 07:59:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 07:59:12] Production.INFO: call_cost start
[2025-01-10 07:59:12] Production.INFO: call_cost end
[2025-01-10 07:59:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 07:59:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 07:59:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 07:59:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 07:59:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 07:59:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 07:59:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 07:59:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 07:59:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 07:59:13] Production.INFO: ==26730== Releasing lock...
[2025-01-10 07:59:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 07:59:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 07:59:18] Production.INFO: count ==107
[2025-01-10 07:59:18] Production.ERROR: pbx CDR StartTime 2025-01-10 04:59:05 - End Time 2025-01-10 07:59:05
[2025-01-10 07:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 07:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215546', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215546', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215546', 'tblTempVendorCDR_20' ) start
[2025-01-10 07:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215546', 'tblTempVendorCDR_20' ) end
[2025-01-10 07:59:18] Production.INFO: ProcessCDR(1,14215546,1,1,2)
[2025-01-10 07:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215546,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:59:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215546,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 07:59:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215546,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215546,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 07:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215546', 'tblTempUsageDetail_20' ) start
[2025-01-10 07:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215546', 'tblTempUsageDetail_20' ) end
[2025-01-10 07:59:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 07:59:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 07:59:21] Production.INFO: ==26738== Releasing lock...
[2025-01-10 07:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 07:59:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-10 13:00:01] Production.INFO: ==26793== Lock acquired, processing the job...
[2025-01-10 13:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 13:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 13:00:01] Production.INFO: neon service started
[2025-01-10 13:00:01] Production.INFO: neon service started
[2025-01-10 13:00:01] Production.INFO: ==26793== Releasing lock...
[2025-01-10 13:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 13:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 13:00:02] Production.INFO: ==26797== Lock acquired, processing the job...
[2025-01-10 13:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 13:00:02] Production.INFO: ==26797== Releasing lock...
[2025-01-10 13:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 13:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 08:00:02] Production.INFO: ==26795== Lock acquired, processing the job...
[2025-01-10 08:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:00:02] Production.INFO: ==26795== Releasing lock...
[2025-01-10 08:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 08:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:00:04] Production.INFO: ==26799== Lock acquired, processing the job...
[2025-01-10 08:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 08:00:04] Production.INFO: ==26801== Lock acquired, processing the job...
[2025-01-10 08:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 08:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 08:00:04] Production.INFO: ==26805== Lock acquired, processing the job...
[2025-01-10 08:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 08:00:04] Production.INFO: ==26803== Lock acquired, processing the job...
[2025-01-10 08:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 08:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 08:00:04] Production.INFO: ==26799== Releasing lock...
[2025-01-10 08:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 08:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 08:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 08:00:04] Production.INFO: ==26808== Lock acquired, processing the job...
[2025-01-10 08:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 08:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 08:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 08:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 08:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 08:00:04] Production.INFO: ==26810== Lock acquired, processing the job...
[2025-01-10 08:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 08:00:04] Production.INFO: ==26812== Lock acquired, processing the job...
[2025-01-10 08:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 08:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:00:04] Production.INFO: ==26814== Lock acquired, processing the job...
[2025-01-10 08:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 08:00:04] Production.INFO: Account Balance Start.
[2025-01-10 08:00:04] Production.INFO: CreateAllLog Start
[2025-01-10 08:00:04] Production.INFO: 117
[2025-01-10 08:00:04] Production.INFO: Date 2025-01-08
[2025-01-10 08:00:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:00:04] Production.INFO: Date 2025-01-09
[2025-01-10 08:00:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:00:04] Production.INFO: Date 2025-01-10
[2025-01-10 08:00:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:00:04] Production.INFO: ==26803== Releasing lock...
[2025-01-10 08:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 08:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 08:00:04] Production.INFO: Total Charge 0
[2025-01-10 08:00:04] Production.INFO: CreateAllLog End
[2025-01-10 08:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:00:04] Production.INFO: count ==21
[2025-01-10 08:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:00:04] Production.INFO: count ==21
[2025-01-10 08:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215550') start
[2025-01-10 08:00:04] Production.INFO: Account Balance End.
[2025-01-10 08:00:04] Production.ERROR: done
[2025-01-10 08:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 08:00:04] Production.ERROR: CronJobId end 12
[2025-01-10 08:00:04] Production.INFO: ==26808== Releasing lock...
[2025-01-10 08:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 08:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 08:00:04] Production.ERROR: done
[2025-01-10 08:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 08:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14215551', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 08:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14215550') end
[2025-01-10 08:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 08:00:05] Production.INFO: 1
[2025-01-10 08:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 08:00:05] Production.ERROR: done
[2025-01-10 08:00:05] Production.INFO: ==26814== Releasing lock...
[2025-01-10 08:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 08:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 08:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 05:00:06
[end_date_ymd] => 2025-01-10 08:00:06
[RateCDR] => 1
)
[2025-01-10 08:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 05:00:06' and `end` < '2025-01-10 08:00:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 08:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14215551', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 08:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 08:00:09] Production.INFO: ProcessCDR(1,14215551,1,1,2)
[2025-01-10 08:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14215551,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14215551,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:00:09] Production.INFO: ==26812== Releasing lock...
[2025-01-10 08:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 08:00:09] Production.INFO: 26 MB #Memory Used#
[2025-01-10 08:00:13] Production.ERROR: CronJobId end10
[2025-01-10 08:00:13] Production.INFO: ==26805== Releasing lock...
[2025-01-10 08:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 08:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 08:00:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 08:00:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 08:00:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 08:00:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 08:00:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 08:00:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 08:00:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 08:00:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 08:00:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 08:00:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 08:00:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 08:00:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 08:00:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 08:00:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 08:00:15] Production.INFO: call_cost start
[2025-01-10 08:00:15] Production.INFO: call_cost end
[2025-01-10 08:00:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 08:00:16] Production.INFO: ============== Report Schedule START===========
[2025-01-10 08:00:16] Production.INFO: ============== Report Schedule END===========
[2025-01-10 08:00:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 08:00:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 08:00:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 08:00:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 08:00:16] Production.INFO: ============== Deal alert START===========
[2025-01-10 08:00:16] Production.INFO: ============== Deal alert END===========
[2025-01-10 08:00:16] Production.INFO: ==26801== Releasing lock...
[2025-01-10 08:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 08:00:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 08:00:19] Production.INFO: count ==113
[2025-01-10 08:00:19] Production.ERROR: pbx CDR StartTime 2025-01-10 05:00:06 - End Time 2025-01-10 08:00:06
[2025-01-10 08:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 08:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215552', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215552', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215552', 'tblTempVendorCDR_20' ) start
[2025-01-10 08:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215552', 'tblTempVendorCDR_20' ) end
[2025-01-10 08:00:19] Production.INFO: ProcessCDR(1,14215552,1,1,2)
[2025-01-10 08:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215552,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215552,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215552,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:00:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215552,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215552', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215552', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:00:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:00:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:00:22] Production.INFO: ==26810== Releasing lock...
[2025-01-10 08:00:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 08:00:22] Production.INFO: 28.5 MB #Memory Used#
[2025-01-10 13:01:01] Production.INFO: ==26880== Lock acquired, processing the job...
[2025-01-10 13:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 13:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 13:01:01] Production.INFO: neon service started
[2025-01-10 13:01:01] Production.INFO: neon service started
[2025-01-10 13:01:01] Production.INFO: ==26880== Releasing lock...
[2025-01-10 13:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 13:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 08:01:01] Production.INFO: ==26885== Lock acquired, processing the job...
[2025-01-10 08:01:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:01:02] Production.INFO: ==26885== Releasing lock...
[2025-01-10 08:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 08:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 13:01:02] Production.INFO: ==26887== Lock acquired, processing the job...
[2025-01-10 13:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 13:01:02] Production.INFO: ==26887== Releasing lock...
[2025-01-10 13:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 13:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 08:01:03] Production.INFO: ==26897== Lock acquired, processing the job...
[2025-01-10 08:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 08:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:01:03] Production.INFO: ==26899== Lock acquired, processing the job...
[2025-01-10 08:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 08:01:03] Production.INFO: ==26889== Lock acquired, processing the job...
[2025-01-10 08:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 08:01:03] Production.INFO: ==26891== Lock acquired, processing the job...
[2025-01-10 08:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 08:01:03] Production.INFO: ==26893== Lock acquired, processing the job...
[2025-01-10 08:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 08:01:03] Production.INFO: ==26895== Lock acquired, processing the job...
[2025-01-10 08:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 08:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 08:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:01:03] Production.INFO: count ==21
[2025-01-10 08:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:01:03] Production.INFO: count ==21
[2025-01-10 08:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 08:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 08:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 08:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 08:01:03] Production.INFO: Account Balance Start.
[2025-01-10 08:01:03] Production.INFO: CreateAllLog Start
[2025-01-10 08:01:03] Production.INFO: 117
[2025-01-10 08:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215553') start
[2025-01-10 08:01:03] Production.INFO: Date 2025-01-08
[2025-01-10 08:01:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:01:03] Production.ERROR: done
[2025-01-10 08:01:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 08:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215553') end
[2025-01-10 08:01:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 08:01:03] Production.INFO: 1
[2025-01-10 08:01:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 08:01:03] Production.INFO: Date 2025-01-09
[2025-01-10 08:01:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:01:03] Production.INFO: Date 2025-01-10
[2025-01-10 08:01:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:01:03] Production.INFO: Total Charge 0
[2025-01-10 08:01:03] Production.INFO: CreateAllLog End
[2025-01-10 08:01:03] Production.INFO: ==26899== Releasing lock...
[2025-01-10 08:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 08:01:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 08:01:03] Production.INFO: ==26891== Releasing lock...
[2025-01-10 08:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 08:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 08:01:03] Production.ERROR: done
[2025-01-10 08:01:03] Production.INFO: Account Balance End.
[2025-01-10 08:01:03] Production.ERROR: CronJobId end 12
[2025-01-10 08:01:03] Production.INFO: ==26895== Releasing lock...
[2025-01-10 08:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 08:01:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 08:01:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 05:01:04
[end_date_ymd] => 2025-01-10 08:01:04
[RateCDR] => 1
)
[2025-01-10 08:01:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 05:01:04' and `end` < '2025-01-10 08:01:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 08:01:10] Production.ERROR: CronJobId end10
[2025-01-10 08:01:10] Production.INFO: ==26893== Releasing lock...
[2025-01-10 08:01:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 08:01:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 08:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 08:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 08:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 08:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 08:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 08:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 08:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 08:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 08:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 08:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 08:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 08:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 08:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 08:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 08:01:13] Production.INFO: call_cost start
[2025-01-10 08:01:13] Production.INFO: call_cost end
[2025-01-10 08:01:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 08:01:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 08:01:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 08:01:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 08:01:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 08:01:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 08:01:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 08:01:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 08:01:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 08:01:14] Production.INFO: ==26889== Releasing lock...
[2025-01-10 08:01:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 08:01:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 08:01:18] Production.INFO: count ==117
[2025-01-10 08:01:18] Production.ERROR: pbx CDR StartTime 2025-01-10 05:01:04 - End Time 2025-01-10 08:01:04
[2025-01-10 08:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 08:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215557', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215557', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215557', 'tblTempVendorCDR_20' ) start
[2025-01-10 08:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215557', 'tblTempVendorCDR_20' ) end
[2025-01-10 08:01:18] Production.INFO: ProcessCDR(1,14215557,1,1,2)
[2025-01-10 08:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215557,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:01:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215557,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:01:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215557,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:01:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215557,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215557', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215557', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:01:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:01:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:01:22] Production.INFO: ==26897== Releasing lock...
[2025-01-10 08:01:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 08:01:22] Production.INFO: 28.5 MB #Memory Used#
[2025-01-10 13:02:01] Production.INFO: ==26954== Lock acquired, processing the job...
[2025-01-10 13:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 13:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 13:02:01] Production.INFO: neon service started
[2025-01-10 13:02:01] Production.INFO: neon service started
[2025-01-10 13:02:01] Production.INFO: ==26954== Releasing lock...
[2025-01-10 13:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 13:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 13:02:02] Production.INFO: ==26958== Lock acquired, processing the job...
[2025-01-10 13:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 13:02:02] Production.INFO: ==26958== Releasing lock...
[2025-01-10 13:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 13:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 08:02:02] Production.INFO: ==26956== Lock acquired, processing the job...
[2025-01-10 08:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:02:02] Production.INFO: ==26956== Releasing lock...
[2025-01-10 08:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 08:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:02:03] Production.INFO: ==26968== Lock acquired, processing the job...
[2025-01-10 08:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 08:02:03] Production.INFO: ==26966== Lock acquired, processing the job...
[2025-01-10 08:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 08:02:03] Production.INFO: ==26964== Lock acquired, processing the job...
[2025-01-10 08:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 08:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 08:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 08:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 08:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 08:02:03] Production.INFO: ==26960== Lock acquired, processing the job...
[2025-01-10 08:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 08:02:03] Production.INFO: Account Balance Start.
[2025-01-10 08:02:03] Production.INFO: CreateAllLog Start
[2025-01-10 08:02:03] Production.INFO: ==26962== Lock acquired, processing the job...
[2025-01-10 08:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 08:02:03] Production.INFO: 117
[2025-01-10 08:02:03] Production.INFO: ==26970== Lock acquired, processing the job...
[2025-01-10 08:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 08:02:03] Production.INFO: Date 2025-01-08
[2025-01-10 08:02:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:02:03] Production.INFO: Date 2025-01-09
[2025-01-10 08:02:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:02:03] Production.ERROR: done
[2025-01-10 08:02:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 08:02:03] Production.INFO: Date 2025-01-10
[2025-01-10 08:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 08:02:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:02:03] Production.INFO: count ==21
[2025-01-10 08:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:02:03] Production.INFO: Total Charge 0
[2025-01-10 08:02:03] Production.INFO: count ==21
[2025-01-10 08:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215559') start
[2025-01-10 08:02:04] Production.INFO: CreateAllLog End
[2025-01-10 08:02:04] Production.ERROR: done
[2025-01-10 08:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215559') end
[2025-01-10 08:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 08:02:04] Production.INFO: 1
[2025-01-10 08:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 08:02:04] Production.INFO: Account Balance End.
[2025-01-10 08:02:04] Production.INFO: ==26962== Releasing lock...
[2025-01-10 08:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 08:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 08:02:04] Production.INFO: ==26970== Releasing lock...
[2025-01-10 08:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 08:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 08:02:04] Production.ERROR: CronJobId end 12
[2025-01-10 08:02:04] Production.INFO: ==26966== Releasing lock...
[2025-01-10 08:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 08:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 08:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 05:02:05
[end_date_ymd] => 2025-01-10 08:02:05
[RateCDR] => 1
)
[2025-01-10 08:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 05:02:05' and `end` < '2025-01-10 08:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 08:02:11] Production.ERROR: CronJobId end10
[2025-01-10 08:02:11] Production.INFO: ==26964== Releasing lock...
[2025-01-10 08:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 08:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 08:02:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 08:02:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 08:02:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 08:02:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 08:02:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 08:02:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 08:02:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 08:02:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 08:02:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 08:02:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 08:02:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 08:02:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 08:02:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 08:02:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 08:02:12] Production.INFO: call_cost start
[2025-01-10 08:02:12] Production.INFO: call_cost end
[2025-01-10 08:02:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 08:02:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 08:02:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 08:02:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 08:02:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 08:02:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 08:02:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 08:02:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 08:02:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 08:02:13] Production.INFO: ==26960== Releasing lock...
[2025-01-10 08:02:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 08:02:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 08:02:18] Production.INFO: count ==129
[2025-01-10 08:02:18] Production.ERROR: pbx CDR StartTime 2025-01-10 05:02:05 - End Time 2025-01-10 08:02:05
[2025-01-10 08:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 08:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215562', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215562', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215562', 'tblTempVendorCDR_20' ) start
[2025-01-10 08:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215562', 'tblTempVendorCDR_20' ) end
[2025-01-10 08:02:18] Production.INFO: ProcessCDR(1,14215562,1,1,2)
[2025-01-10 08:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215562,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215562,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215562,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:02:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215562,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215562', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215562', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:02:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:02:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:02:21] Production.INFO: ==26968== Releasing lock...
[2025-01-10 08:02:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 08:02:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 13:03:02] Production.INFO: ==27033== Lock acquired, processing the job...
[2025-01-10 13:03:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 13:03:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 13:03:02] Production.INFO: neon service started
[2025-01-10 13:03:02] Production.INFO: neon service started
[2025-01-10 13:03:02] Production.INFO: ==27033== Releasing lock...
[2025-01-10 13:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 13:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 13:03:02] Production.INFO: ==27038== Lock acquired, processing the job...
[2025-01-10 13:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 13:03:02] Production.INFO: ==27038== Releasing lock...
[2025-01-10 13:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 13:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 08:03:02] Production.INFO: ==27035== Lock acquired, processing the job...
[2025-01-10 08:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:03:03] Production.INFO: ==27035== Releasing lock...
[2025-01-10 08:03:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 08:03:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:03:03] Production.INFO: ==27040== Lock acquired, processing the job...
[2025-01-10 08:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 08:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 08:03:03] Production.INFO: ==27046== Lock acquired, processing the job...
[2025-01-10 08:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 08:03:03] Production.INFO: ==27048== Lock acquired, processing the job...
[2025-01-10 08:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 08:03:03] Production.INFO: Account Balance Start.
[2025-01-10 08:03:03] Production.INFO: CreateAllLog Start
[2025-01-10 08:03:03] Production.INFO: 117
[2025-01-10 08:03:03] Production.INFO: Date 2025-01-08
[2025-01-10 08:03:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:03:03] Production.INFO: ==27042== Lock acquired, processing the job...
[2025-01-10 08:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 08:03:03] Production.INFO: Date 2025-01-09
[2025-01-10 08:03:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:03:03] Production.INFO: Date 2025-01-10
[2025-01-10 08:03:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:03:03] Production.INFO: ==27044== Lock acquired, processing the job...
[2025-01-10 08:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 08:03:04] Production.INFO: Total Charge 0
[2025-01-10 08:03:04] Production.INFO: CreateAllLog End
[2025-01-10 08:03:04] Production.ERROR: done
[2025-01-10 08:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 08:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 08:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 08:03:04] Production.INFO: ==27050== Lock acquired, processing the job...
[2025-01-10 08:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 08:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 08:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 08:03:04] Production.ERROR: done
[2025-01-10 08:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:03:04] Production.INFO: count ==21
[2025-01-10 08:03:04] Production.INFO: Account Balance End.
[2025-01-10 08:03:04] Production.INFO: ==27042== Releasing lock...
[2025-01-10 08:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 08:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 08:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:03:04] Production.INFO: count ==21
[2025-01-10 08:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215566') start
[2025-01-10 08:03:04] Production.ERROR: CronJobId end 12
[2025-01-10 08:03:04] Production.INFO: ==27046== Releasing lock...
[2025-01-10 08:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 08:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 08:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215566') end
[2025-01-10 08:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 08:03:04] Production.INFO: 1
[2025-01-10 08:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 08:03:04] Production.INFO: ==27050== Releasing lock...
[2025-01-10 08:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 08:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 08:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 05:03:05
[end_date_ymd] => 2025-01-10 08:03:05
[RateCDR] => 1
)
[2025-01-10 08:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 05:03:05' and `end` < '2025-01-10 08:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 08:03:11] Production.ERROR: CronJobId end10
[2025-01-10 08:03:11] Production.INFO: ==27044== Releasing lock...
[2025-01-10 08:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 08:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 08:03:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 08:03:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 08:03:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 08:03:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 08:03:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 08:03:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 08:03:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 08:03:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 08:03:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 08:03:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 08:03:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 08:03:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 08:03:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 08:03:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 08:03:13] Production.INFO: call_cost start
[2025-01-10 08:03:13] Production.INFO: call_cost end
[2025-01-10 08:03:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 08:03:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 08:03:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 08:03:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 08:03:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 08:03:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 08:03:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 08:03:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 08:03:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 08:03:13] Production.INFO: ==27040== Releasing lock...
[2025-01-10 08:03:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 08:03:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 08:03:18] Production.INFO: count ==132
[2025-01-10 08:03:18] Production.ERROR: pbx CDR StartTime 2025-01-10 05:03:05 - End Time 2025-01-10 08:03:05
[2025-01-10 08:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 08:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215567', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215567', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215567', 'tblTempVendorCDR_20' ) start
[2025-01-10 08:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215567', 'tblTempVendorCDR_20' ) end
[2025-01-10 08:03:18] Production.INFO: ProcessCDR(1,14215567,1,1,2)
[2025-01-10 08:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215567,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:03:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215567,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:03:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215567,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:03:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215567,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215567', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215567', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:03:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:03:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:03:22] Production.INFO: ==27048== Releasing lock...
[2025-01-10 08:03:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 08:03:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 13:04:01] Production.INFO: ==27107== Lock acquired, processing the job...
[2025-01-10 13:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 13:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 13:04:01] Production.INFO: neon service started
[2025-01-10 13:04:01] Production.INFO: neon service started
[2025-01-10 13:04:01] Production.INFO: ==27107== Releasing lock...
[2025-01-10 13:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 13:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 08:04:02] Production.INFO: ==27109== Lock acquired, processing the job...
[2025-01-10 08:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 13:04:02] Production.INFO: ==27111== Lock acquired, processing the job...
[2025-01-10 13:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 13:04:02] Production.INFO: ==27111== Releasing lock...
[2025-01-10 13:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 13:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 08:04:02] Production.INFO: ==27109== Releasing lock...
[2025-01-10 08:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 08:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:04:03] Production.INFO: ==27116== Lock acquired, processing the job...
[2025-01-10 08:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 08:04:03] Production.INFO: ==27124== Lock acquired, processing the job...
[2025-01-10 08:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 08:04:03] Production.INFO: ==27114== Lock acquired, processing the job...
[2025-01-10 08:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 08:04:03] Production.INFO: ==27116== Releasing lock...
[2025-01-10 08:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 08:04:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 08:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:04:03] Production.INFO: count ==21
[2025-01-10 08:04:03] Production.INFO: ==27118== Lock acquired, processing the job...
[2025-01-10 08:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 08:04:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:04:03] Production.INFO: count ==21
[2025-01-10 08:04:03] Production.INFO: ==27120== Lock acquired, processing the job...
[2025-01-10 08:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 08:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 08:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215569') start
[2025-01-10 08:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 08:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 08:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 08:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 08:04:03] Production.INFO: ==27122== Lock acquired, processing the job...
[2025-01-10 08:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 08:04:03] Production.INFO: Account Balance Start.
[2025-01-10 08:04:03] Production.INFO: CreateAllLog Start
[2025-01-10 08:04:03] Production.INFO: 117
[2025-01-10 08:04:03] Production.INFO: Date 2025-01-08
[2025-01-10 08:04:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215569') end
[2025-01-10 08:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 08:04:04] Production.INFO: 1
[2025-01-10 08:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 08:04:04] Production.INFO: Date 2025-01-09
[2025-01-10 08:04:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:04:04] Production.INFO: ==27124== Releasing lock...
[2025-01-10 08:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 08:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 08:04:04] Production.INFO: Date 2025-01-10
[2025-01-10 08:04:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:04:04] Production.ERROR: done
[2025-01-10 08:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 08:04:04] Production.ERROR: done
[2025-01-10 08:04:04] Production.INFO: Total Charge 0
[2025-01-10 08:04:04] Production.INFO: CreateAllLog End
[2025-01-10 08:04:04] Production.INFO: Account Balance End.
[2025-01-10 08:04:04] Production.ERROR: CronJobId end 12
[2025-01-10 08:04:04] Production.INFO: ==27120== Releasing lock...
[2025-01-10 08:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 08:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 08:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 05:04:05
[end_date_ymd] => 2025-01-10 08:04:05
[RateCDR] => 1
)
[2025-01-10 08:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 05:04:05' and `end` < '2025-01-10 08:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 08:04:09] Production.ERROR: CronJobId end10
[2025-01-10 08:04:09] Production.INFO: ==27118== Releasing lock...
[2025-01-10 08:04:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 08:04:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 08:04:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 08:04:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 08:04:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 08:04:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 08:04:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 08:04:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 08:04:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 08:04:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 08:04:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 08:04:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 08:04:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 08:04:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 08:04:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 08:04:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 08:04:12] Production.INFO: call_cost start
[2025-01-10 08:04:12] Production.INFO: call_cost end
[2025-01-10 08:04:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 08:04:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 08:04:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 08:04:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 08:04:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 08:04:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 08:04:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 08:04:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 08:04:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 08:04:13] Production.INFO: ==27114== Releasing lock...
[2025-01-10 08:04:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 08:04:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 08:04:19] Production.INFO: count ==139
[2025-01-10 08:04:19] Production.ERROR: pbx CDR StartTime 2025-01-10 05:04:05 - End Time 2025-01-10 08:04:05
[2025-01-10 08:04:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 08:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215572', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215572', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215572', 'tblTempVendorCDR_20' ) start
[2025-01-10 08:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215572', 'tblTempVendorCDR_20' ) end
[2025-01-10 08:04:19] Production.INFO: ProcessCDR(1,14215572,1,1,2)
[2025-01-10 08:04:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215572,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:04:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215572,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:04:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215572,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:04:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215572,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215572', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215572', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:04:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:04:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:04:22] Production.INFO: ==27122== Releasing lock...
[2025-01-10 08:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 08:04:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 13:05:02] Production.INFO: ==27220== Lock acquired, processing the job...
[2025-01-10 13:05:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 13:05:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 13:05:02] Production.INFO: neon service started
[2025-01-10 13:05:02] Production.INFO: neon service started
[2025-01-10 13:05:02] Production.INFO: ==27220== Releasing lock...
[2025-01-10 13:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 13:05:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 08:05:02] Production.INFO: ==27222== Lock acquired, processing the job...
[2025-01-10 08:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:05:02] Production.INFO: ==27222== Releasing lock...
[2025-01-10 08:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 08:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 13:05:02] Production.INFO: ==27224== Lock acquired, processing the job...
[2025-01-10 13:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 13:05:02] Production.INFO: ==27224== Releasing lock...
[2025-01-10 13:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 13:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 08:05:03] Production.INFO: ==27230== Lock acquired, processing the job...
[2025-01-10 08:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 08:05:03] Production.INFO: ==27232== Lock acquired, processing the job...
[2025-01-10 08:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 08:05:03] Production.INFO: ==27226== Lock acquired, processing the job...
[2025-01-10 08:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 08:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 08:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 08:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 08:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 08:05:03] Production.INFO: Account Balance Start.
[2025-01-10 08:05:03] Production.INFO: CreateAllLog Start
[2025-01-10 08:05:03] Production.INFO: 117
[2025-01-10 08:05:03] Production.INFO: Date 2025-01-08
[2025-01-10 08:05:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 08:05:03] Production.INFO: Date 2025-01-09
[2025-01-10 08:05:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:05:03] Production.INFO: ==27228== Lock acquired, processing the job...
[2025-01-10 08:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 08:05:03] Production.INFO: Date 2025-01-10
[2025-01-10 08:05:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:05:03] Production.INFO: Total Charge 0
[2025-01-10 08:05:03] Production.INFO: ==27234== Lock acquired, processing the job...
[2025-01-10 08:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 08:05:03] Production.INFO: CreateAllLog End
[2025-01-10 08:05:03] Production.INFO: ==27236== Lock acquired, processing the job...
[2025-01-10 08:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 08:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:05:04] Production.INFO: count ==21
[2025-01-10 08:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:05:04] Production.INFO: count ==21
[2025-01-10 08:05:04] Production.INFO: ==27228== Releasing lock...
[2025-01-10 08:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 08:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 08:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215576') start
[2025-01-10 08:05:04] Production.ERROR: done
[2025-01-10 08:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 08:05:04] Production.INFO: Account Balance End.
[2025-01-10 08:05:04] Production.ERROR: CronJobId end 12
[2025-01-10 08:05:04] Production.INFO: ==27232== Releasing lock...
[2025-01-10 08:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 08:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 08:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215576') end
[2025-01-10 08:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 08:05:04] Production.INFO: 1
[2025-01-10 08:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 08:05:04] Production.ERROR: done
[2025-01-10 08:05:04] Production.INFO: ==27236== Releasing lock...
[2025-01-10 08:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 08:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 08:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 05:05:05
[end_date_ymd] => 2025-01-10 08:05:05
[RateCDR] => 1
)
[2025-01-10 08:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 05:05:05' and `end` < '2025-01-10 08:05:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 08:05:11] Production.ERROR: CronJobId end10
[2025-01-10 08:05:11] Production.INFO: ==27230== Releasing lock...
[2025-01-10 08:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 08:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 08:05:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 08:05:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 08:05:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 08:05:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 08:05:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 08:05:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 08:05:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 08:05:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 08:05:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 08:05:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 08:05:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 08:05:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 08:05:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 08:05:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 08:05:13] Production.INFO: call_cost start
[2025-01-10 08:05:13] Production.INFO: call_cost end
[2025-01-10 08:05:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 08:05:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 08:05:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 08:05:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 08:05:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 08:05:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 08:05:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 08:05:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 08:05:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 08:05:14] Production.INFO: ==27226== Releasing lock...
[2025-01-10 08:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 08:05:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 08:05:18] Production.INFO: count ==144
[2025-01-10 08:05:18] Production.ERROR: pbx CDR StartTime 2025-01-10 05:05:05 - End Time 2025-01-10 08:05:05
[2025-01-10 08:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 08:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215577', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215577', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215577', 'tblTempVendorCDR_20' ) start
[2025-01-10 08:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215577', 'tblTempVendorCDR_20' ) end
[2025-01-10 08:05:18] Production.INFO: ProcessCDR(1,14215577,1,1,2)
[2025-01-10 08:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215577,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215577,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215577,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215577,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215577', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215577', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:05:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:05:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:05:21] Production.INFO: ==27234== Releasing lock...
[2025-01-10 08:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 08:05:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-10 13:06:01] Production.INFO: ==27299== Lock acquired, processing the job...
[2025-01-10 13:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 13:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 13:06:01] Production.INFO: neon service started
[2025-01-10 13:06:01] Production.INFO: neon service started
[2025-01-10 13:06:01] Production.INFO: ==27299== Releasing lock...
[2025-01-10 13:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 13:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 08:06:01] Production.INFO: ==27301== Lock acquired, processing the job...
[2025-01-10 08:06:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:06:02] Production.INFO: ==27301== Releasing lock...
[2025-01-10 08:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 08:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 13:06:02] Production.INFO: ==27303== Lock acquired, processing the job...
[2025-01-10 13:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 13:06:02] Production.INFO: ==27303== Releasing lock...
[2025-01-10 13:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 13:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 08:06:03] Production.INFO: ==27305== Lock acquired, processing the job...
[2025-01-10 08:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 08:06:03] Production.INFO: ==27311== Lock acquired, processing the job...
[2025-01-10 08:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 08:06:03] Production.INFO: ==27307== Lock acquired, processing the job...
[2025-01-10 08:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 08:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 08:06:03] Production.INFO: ==27315== Lock acquired, processing the job...
[2025-01-10 08:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 08:06:03] Production.INFO: ==27313== Lock acquired, processing the job...
[2025-01-10 08:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 08:06:03] Production.INFO: Account Balance Start.
[2025-01-10 08:06:03] Production.INFO: CreateAllLog Start
[2025-01-10 08:06:03] Production.INFO: 117
[2025-01-10 08:06:03] Production.INFO: Date 2025-01-08
[2025-01-10 08:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:06:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:06:03] Production.INFO: ==27309== Lock acquired, processing the job...
[2025-01-10 08:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 08:06:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:06:03] Production.INFO: Date 2025-01-09
[2025-01-10 08:06:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:06:03] Production.INFO: count ==21
[2025-01-10 08:06:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:06:03] Production.INFO: count ==21
[2025-01-10 08:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215581') start
[2025-01-10 08:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 08:06:03] Production.INFO: Date 2025-01-10
[2025-01-10 08:06:03] Production.INFO: ==27307== Releasing lock...
[2025-01-10 08:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 08:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 08:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 08:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 08:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 08:06:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:06:03] Production.INFO: Total Charge 0
[2025-01-10 08:06:03] Production.INFO: CreateAllLog End
[2025-01-10 08:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215581') end
[2025-01-10 08:06:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 08:06:03] Production.INFO: 1
[2025-01-10 08:06:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 08:06:03] Production.ERROR: done
[2025-01-10 08:06:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 08:06:03] Production.INFO: ==27315== Releasing lock...
[2025-01-10 08:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 08:06:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 08:06:03] Production.INFO: Account Balance End.
[2025-01-10 08:06:03] Production.ERROR: CronJobId end 12
[2025-01-10 08:06:03] Production.INFO: ==27311== Releasing lock...
[2025-01-10 08:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 08:06:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 08:06:03] Production.ERROR: done
[2025-01-10 08:06:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 05:06:04
[end_date_ymd] => 2025-01-10 08:06:04
[RateCDR] => 1
)
[2025-01-10 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-01-10 05:06:04' and `end` < '2025-01-10 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-01-10 08:06:11] Production.ERROR: CronJobId end10
[2025-01-10 08:06:11] Production.INFO: ==27309== Releasing lock...
[2025-01-10 08:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 08:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 08:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 08:06:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 08:06:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 08:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 08:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 08:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 08:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 08:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 08:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 08:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 08:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 08:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 08:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 08:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 08:06:13] Production.INFO: call_cost start
[2025-01-10 08:06:13] Production.INFO: call_cost end
[2025-01-10 08:06:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 08:06:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 08:06:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 08:06:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 08:06:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 08:06:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 08:06:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 08:06:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 08:06:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 08:06:14] Production.INFO: ==27305== Releasing lock...
[2025-01-10 08:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 08:06:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 08:06:17] Production.INFO: count ==147
[2025-01-10 08:06:17] Production.ERROR: pbx CDR StartTime 2025-01-10 05:06:04 - End Time 2025-01-10 08:06:04
[2025-01-10 08:06:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 08:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215582', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215582', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215582', 'tblTempVendorCDR_20' ) start
[2025-01-10 08:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215582', 'tblTempVendorCDR_20' ) end
[2025-01-10 08:06:17] Production.INFO: ProcessCDR(1,14215582,1,1,2)
[2025-01-10 08:06:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215582,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:06:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215582,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:06:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215582,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215582,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215582', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215582', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:06:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:06:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:06:22] Production.INFO: ==27313== Releasing lock...
[2025-01-10 08:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 08:06:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-10 13:07:01] Production.INFO: ==27374== Lock acquired, processing the job...
[2025-01-10 13:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 13:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 13:07:02] Production.INFO: neon service started
[2025-01-10 13:07:02] Production.INFO: neon service started
[2025-01-10 13:07:02] Production.INFO: ==27374== Releasing lock...
[2025-01-10 13:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 13:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 08:07:02] Production.INFO: ==27376== Lock acquired, processing the job...
[2025-01-10 08:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:07:02] Production.INFO: ==27376== Releasing lock...
[2025-01-10 08:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 08:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 13:07:02] Production.INFO: ==27378== Lock acquired, processing the job...
[2025-01-10 13:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 13:07:02] Production.INFO: ==27378== Releasing lock...
[2025-01-10 13:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 13:07:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 08:07:03] Production.INFO: ==27380== Lock acquired, processing the job...
[2025-01-10 08:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 08:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 08:07:03] Production.INFO: ==27389== Lock acquired, processing the job...
[2025-01-10 08:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 08:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:07:03] Production.INFO: ==27384== Lock acquired, processing the job...
[2025-01-10 08:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 08:07:03] Production.INFO: ==27382== Lock acquired, processing the job...
[2025-01-10 08:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 08:07:03] Production.INFO: ==27387== Lock acquired, processing the job...
[2025-01-10 08:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 08:07:03] Production.INFO: ==27391== Lock acquired, processing the job...
[2025-01-10 08:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 08:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 08:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 08:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 08:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 08:07:03] Production.INFO: Account Balance Start.
[2025-01-10 08:07:03] Production.INFO: CreateAllLog Start
[2025-01-10 08:07:03] Production.INFO: 117
[2025-01-10 08:07:03] Production.ERROR: done
[2025-01-10 08:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 08:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:07:03] Production.INFO: Date 2025-01-08
[2025-01-10 08:07:03] Production.INFO: count ==21
[2025-01-10 08:07:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:07:03] Production.INFO: count ==21
[2025-01-10 08:07:03] Production.ERROR: done
[2025-01-10 08:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215586') start
[2025-01-10 08:07:04] Production.INFO: Date 2025-01-09
[2025-01-10 08:07:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:07:04] Production.INFO: Date 2025-01-10
[2025-01-10 08:07:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:07:04] Production.INFO: Total Charge 0
[2025-01-10 08:07:04] Production.INFO: CreateAllLog End
[2025-01-10 08:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215586') end
[2025-01-10 08:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 08:07:04] Production.INFO: 1
[2025-01-10 08:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 08:07:04] Production.INFO: ==27382== Releasing lock...
[2025-01-10 08:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 08:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 08:07:04] Production.INFO: ==27391== Releasing lock...
[2025-01-10 08:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 08:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 08:07:04] Production.INFO: Account Balance End.
[2025-01-10 08:07:04] Production.ERROR: CronJobId end 12
[2025-01-10 08:07:04] Production.INFO: ==27387== Releasing lock...
[2025-01-10 08:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 08:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 08:07:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 05:07:04
[end_date_ymd] => 2025-01-10 08:07:04
[RateCDR] => 1
)
[2025-01-10 08:07:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 05:07:04' and `end` < '2025-01-10 08:07:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 08:07:11] Production.ERROR: CronJobId end10
[2025-01-10 08:07:11] Production.INFO: ==27384== Releasing lock...
[2025-01-10 08:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 08:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 08:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 08:07:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 08:07:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 08:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 08:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 08:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 08:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 08:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 08:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 08:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 08:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 08:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 08:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 08:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 08:07:13] Production.INFO: call_cost start
[2025-01-10 08:07:13] Production.INFO: call_cost end
[2025-01-10 08:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 08:07:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 08:07:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 08:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 08:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 08:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 08:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 08:07:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 08:07:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 08:07:14] Production.INFO: ==27380== Releasing lock...
[2025-01-10 08:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 08:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 08:07:18] Production.INFO: count ==155
[2025-01-10 08:07:18] Production.ERROR: pbx CDR StartTime 2025-01-10 05:07:04 - End Time 2025-01-10 08:07:04
[2025-01-10 08:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 08:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215587', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215587', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215587', 'tblTempVendorCDR_20' ) start
[2025-01-10 08:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215587', 'tblTempVendorCDR_20' ) end
[2025-01-10 08:07:18] Production.INFO: ProcessCDR(1,14215587,1,1,2)
[2025-01-10 08:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215587,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:07:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215587,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:07:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215587,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:07:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215587,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215587', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215587', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:07:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:07:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:07:23] Production.INFO: ==27389== Releasing lock...
[2025-01-10 08:07:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 08:07:23] Production.INFO: 29.25 MB #Memory Used#
[2025-01-10 13:08:01] Production.INFO: ==27451== Lock acquired, processing the job...
[2025-01-10 13:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 13:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 13:08:01] Production.INFO: neon service started
[2025-01-10 13:08:01] Production.INFO: neon service started
[2025-01-10 13:08:01] Production.INFO: ==27451== Releasing lock...
[2025-01-10 13:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 13:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 13:08:01] Production.INFO: ==27455== Lock acquired, processing the job...
[2025-01-10 13:08:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 13:08:01] Production.INFO: ==27455== Releasing lock...
[2025-01-10 13:08:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 13:08:01] Production.INFO: 25 MB #Memory Used#
[2025-01-10 08:08:02] Production.INFO: ==27453== Lock acquired, processing the job...
[2025-01-10 08:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:08:02] Production.INFO: ==27453== Releasing lock...
[2025-01-10 08:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 08:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:08:03] Production.INFO: ==27457== Lock acquired, processing the job...
[2025-01-10 08:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 08:08:03] Production.INFO: ==27465== Lock acquired, processing the job...
[2025-01-10 08:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 08:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 08:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:08:03] Production.INFO: ==27459== Lock acquired, processing the job...
[2025-01-10 08:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 08:08:03] Production.INFO: ==27461== Lock acquired, processing the job...
[2025-01-10 08:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 08:08:03] Production.INFO: ==27463== Lock acquired, processing the job...
[2025-01-10 08:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 08:08:03] Production.INFO: ==27467== Lock acquired, processing the job...
[2025-01-10 08:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 08:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 08:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 08:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 08:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 08:08:03] Production.INFO: Account Balance Start.
[2025-01-10 08:08:03] Production.INFO: CreateAllLog Start
[2025-01-10 08:08:03] Production.INFO: 117
[2025-01-10 08:08:03] Production.INFO: Date 2025-01-08
[2025-01-10 08:08:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:08:03] Production.INFO: Date 2025-01-09
[2025-01-10 08:08:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:08:03] Production.ERROR: done
[2025-01-10 08:08:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 08:08:03] Production.INFO: count ==21
[2025-01-10 08:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:08:03] Production.INFO: count ==21
[2025-01-10 08:08:03] Production.INFO: Date 2025-01-10
[2025-01-10 08:08:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215591') start
[2025-01-10 08:08:03] Production.INFO: Total Charge 0
[2025-01-10 08:08:03] Production.ERROR: done
[2025-01-10 08:08:03] Production.INFO: CreateAllLog End
[2025-01-10 08:08:03] Production.INFO: ==27459== Releasing lock...
[2025-01-10 08:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 08:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 08:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215591') end
[2025-01-10 08:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 08:08:04] Production.INFO: 1
[2025-01-10 08:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 08:08:04] Production.INFO: ==27467== Releasing lock...
[2025-01-10 08:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 08:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 08:08:04] Production.INFO: Account Balance End.
[2025-01-10 08:08:04] Production.ERROR: CronJobId end 12
[2025-01-10 08:08:04] Production.INFO: ==27463== Releasing lock...
[2025-01-10 08:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 08:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 08:08:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 05:08:04
[end_date_ymd] => 2025-01-10 08:08:04
[RateCDR] => 1
)
[2025-01-10 08:08:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 05:08:04' and `end` < '2025-01-10 08:08:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 08:08:12] Production.ERROR: CronJobId end10
[2025-01-10 08:08:12] Production.INFO: ==27461== Releasing lock...
[2025-01-10 08:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 08:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 08:08:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 08:08:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 08:08:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 08:08:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 08:08:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 08:08:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 08:08:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 08:08:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 08:08:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 08:08:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 08:08:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 08:08:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 08:08:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 08:08:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 08:08:14] Production.INFO: call_cost start
[2025-01-10 08:08:14] Production.INFO: call_cost end
[2025-01-10 08:08:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 08:08:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 08:08:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 08:08:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 08:08:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 08:08:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 08:08:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 08:08:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 08:08:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 08:08:15] Production.INFO: ==27457== Releasing lock...
[2025-01-10 08:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 08:08:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 08:08:17] Production.INFO: count ==166
[2025-01-10 08:08:17] Production.ERROR: pbx CDR StartTime 2025-01-10 05:08:04 - End Time 2025-01-10 08:08:04
[2025-01-10 08:08:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 08:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215592', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215592', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215592', 'tblTempVendorCDR_20' ) start
[2025-01-10 08:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215592', 'tblTempVendorCDR_20' ) end
[2025-01-10 08:08:17] Production.INFO: ProcessCDR(1,14215592,1,1,2)
[2025-01-10 08:08:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215592,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:08:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215592,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:08:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215592,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:08:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215592,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:08:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215592', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215592', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:08:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:08:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:08:21] Production.INFO: ==27465== Releasing lock...
[2025-01-10 08:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 08:08:21] Production.INFO: 29.5 MB #Memory Used#
[2025-01-10 13:09:01] Production.INFO: ==27526== Lock acquired, processing the job...
[2025-01-10 13:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 13:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 13:09:01] Production.INFO: neon service started
[2025-01-10 13:09:01] Production.INFO: neon service started
[2025-01-10 13:09:01] Production.INFO: ==27526== Releasing lock...
[2025-01-10 13:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 13:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 13:09:02] Production.INFO: ==27530== Lock acquired, processing the job...
[2025-01-10 13:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 13:09:02] Production.INFO: ==27530== Releasing lock...
[2025-01-10 13:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 13:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 08:09:02] Production.INFO: ==27528== Lock acquired, processing the job...
[2025-01-10 08:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:09:02] Production.INFO: ==27528== Releasing lock...
[2025-01-10 08:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 08:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:09:03] Production.INFO: ==27532== Lock acquired, processing the job...
[2025-01-10 08:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 08:09:03] Production.INFO: ==27534== Lock acquired, processing the job...
[2025-01-10 08:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 08:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 08:09:03] Production.INFO: ==27540== Lock acquired, processing the job...
[2025-01-10 08:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 08:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:09:03] Production.INFO: ==27538== Lock acquired, processing the job...
[2025-01-10 08:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 08:09:03] Production.INFO: ==27536== Lock acquired, processing the job...
[2025-01-10 08:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 08:09:03] Production.INFO: ==27542== Lock acquired, processing the job...
[2025-01-10 08:09:03] Production.INFO: Account Balance Start.
[2025-01-10 08:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 08:09:03] Production.INFO: CreateAllLog Start
[2025-01-10 08:09:03] Production.INFO: 117
[2025-01-10 08:09:03] Production.INFO: Date 2025-01-08
[2025-01-10 08:09:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:09:03] Production.INFO: Date 2025-01-09
[2025-01-10 08:09:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:09:03] Production.INFO: ==27534== Releasing lock...
[2025-01-10 08:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 08:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 08:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:09:03] Production.ERROR: done
[2025-01-10 08:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 08:09:03] Production.INFO: Date 2025-01-10
[2025-01-10 08:09:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 08:09:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 08:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 08:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 08:09:03] Production.INFO: count ==21
[2025-01-10 08:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:09:04] Production.INFO: count ==21
[2025-01-10 08:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215596') start
[2025-01-10 08:09:04] Production.INFO: Total Charge 0
[2025-01-10 08:09:04] Production.ERROR: done
[2025-01-10 08:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215596') end
[2025-01-10 08:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 08:09:04] Production.INFO: 1
[2025-01-10 08:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 08:09:04] Production.INFO: CreateAllLog End
[2025-01-10 08:09:04] Production.INFO: ==27542== Releasing lock...
[2025-01-10 08:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 08:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 08:09:04] Production.INFO: Account Balance End.
[2025-01-10 08:09:04] Production.ERROR: CronJobId end 12
[2025-01-10 08:09:04] Production.INFO: ==27538== Releasing lock...
[2025-01-10 08:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 08:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 08:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 05:09:05
[end_date_ymd] => 2025-01-10 08:09:05
[RateCDR] => 1
)
[2025-01-10 08:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 05:09:05' and `end` < '2025-01-10 08:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 08:09:11] Production.ERROR: CronJobId end10
[2025-01-10 08:09:11] Production.INFO: ==27536== Releasing lock...
[2025-01-10 08:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 08:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 08:09:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 08:09:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 08:09:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 08:09:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 08:09:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 08:09:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 08:09:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 08:09:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 08:09:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 08:09:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 08:09:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 08:09:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 08:09:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 08:09:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 08:09:13] Production.INFO: call_cost start
[2025-01-10 08:09:13] Production.INFO: call_cost end
[2025-01-10 08:09:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 08:09:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 08:09:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 08:09:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 08:09:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 08:09:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 08:09:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 08:09:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 08:09:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 08:09:14] Production.INFO: ==27532== Releasing lock...
[2025-01-10 08:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 08:09:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 08:09:18] Production.INFO: count ==172
[2025-01-10 08:09:18] Production.ERROR: pbx CDR StartTime 2025-01-10 05:09:05 - End Time 2025-01-10 08:09:05
[2025-01-10 08:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 08:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215597', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215597', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215597', 'tblTempVendorCDR_20' ) start
[2025-01-10 08:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215597', 'tblTempVendorCDR_20' ) end
[2025-01-10 08:09:18] Production.INFO: ProcessCDR(1,14215597,1,1,2)
[2025-01-10 08:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215597,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215597,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215597,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:09:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215597,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215597', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215597', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:09:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:09:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:09:21] Production.INFO: ==27540== Releasing lock...
[2025-01-10 08:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 08:09:21] Production.INFO: 29.5 MB #Memory Used#
[2025-01-10 13:10:02] Production.INFO: ==27596== Lock acquired, processing the job...
[2025-01-10 13:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 13:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 13:10:02] Production.INFO: neon service started
[2025-01-10 13:10:02] Production.INFO: neon service started
[2025-01-10 13:10:02] Production.INFO: ==27596== Releasing lock...
[2025-01-10 13:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 13:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 08:10:02] Production.INFO: ==27599== Lock acquired, processing the job...
[2025-01-10 08:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:10:03] Production.INFO: ==27599== Releasing lock...
[2025-01-10 08:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 08:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 13:10:03] Production.INFO: ==27601== Lock acquired, processing the job...
[2025-01-10 13:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 13:10:03] Production.INFO: ==27601== Releasing lock...
[2025-01-10 13:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 13:10:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 08:10:04] Production.INFO: ==27609== Lock acquired, processing the job...
[2025-01-10 08:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 08:10:04] Production.INFO: ==27611== Lock acquired, processing the job...
[2025-01-10 08:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 08:10:04] Production.INFO: ==27605== Lock acquired, processing the job...
[2025-01-10 08:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 08:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 08:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 08:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 08:10:04] Production.INFO: ==27603== Lock acquired, processing the job...
[2025-01-10 08:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 08:10:04] Production.INFO: ==27615== Lock acquired, processing the job...
[2025-01-10 08:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 08:10:04] Production.INFO: Account Balance Start.
[2025-01-10 08:10:04] Production.INFO: CreateAllLog Start
[2025-01-10 08:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 08:10:04] Production.INFO: 117
[2025-01-10 08:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 08:10:04] Production.INFO: Date 2025-01-08
[2025-01-10 08:10:04] Production.INFO: ==27607== Lock acquired, processing the job...
[2025-01-10 08:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 08:10:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:10:04] Production.INFO: Date 2025-01-09
[2025-01-10 08:10:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 08:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 08:10:04] Production.ERROR: CronJob PID - 27605
[2025-01-10 08:10:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-10 08:10:04] Production.ERROR: CronJob ID - 5
[2025-01-10 08:10:04] Production.ERROR: CronJob Last Run Time 2025-01-10 08:10:00
[2025-01-10 08:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 08:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 08:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 08:10:04] Production.ERROR: CronJob PID - 27607
[2025-01-10 08:10:04] Production.ERROR: CronJob Title - Account Block
[2025-01-10 08:10:04] Production.ERROR: CronJob ID - 7
[2025-01-10 08:10:04] Production.ERROR: CronJob Last Run Time 2025-01-10 08:10:00
[2025-01-10 08:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 08:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 08:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 08:10:04] Production.ERROR: CronJob PID - 27609
[2025-01-10 08:10:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-10 08:10:04] Production.ERROR: CronJob ID - 10
[2025-01-10 08:10:04] Production.ERROR: CronJob Last Run Time 2025-01-10 08:10:00
[2025-01-10 08:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 08:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 08:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 08:10:04] Production.ERROR: CronJob PID - 27611
[2025-01-10 08:10:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-10 08:10:04] Production.ERROR: CronJob ID - 12
[2025-01-10 08:10:04] Production.ERROR: CronJob Last Run Time 2025-01-10 08:10:00
[2025-01-10 08:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 08:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 08:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 08:10:04] Production.ERROR: CronJob PID - 27615
[2025-01-10 08:10:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-10 08:10:04] Production.ERROR: CronJob ID - 17
[2025-01-10 08:10:04] Production.ERROR: CronJob Last Run Time 2025-01-10 08:10:00
[2025-01-10 08:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 08:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 08:10:04] Production.INFO: Date 2025-01-10
[2025-01-10 08:10:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:10:04] Production.INFO: ==27613== Lock acquired, processing the job...
[2025-01-10 08:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 08:10:04] Production.INFO: Total Charge 0
[2025-01-10 08:10:04] Production.INFO: ==27617== Lock acquired, processing the job...
[2025-01-10 08:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 08:10:04] Production.INFO: CreateAllLog End
[2025-01-10 08:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 08:10:04] Production.INFO: ==27603== Releasing lock...
[2025-01-10 08:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 08:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 08:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:10:04] Production.INFO: count ==21
[2025-01-10 08:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:10:04] Production.INFO: count ==21
[2025-01-10 08:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215601') start
[2025-01-10 08:10:04] Production.ERROR: done
[2025-01-10 08:10:04] Production.ERROR: done
[2025-01-10 08:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 08:10:04] Production.INFO: ==27607== Releasing lock...
[2025-01-10 08:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 08:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 08:10:05] Production.ERROR: done
[2025-01-10 08:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 08:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14215602', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 08:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14215601') end
[2025-01-10 08:10:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 08:10:05] Production.INFO: 1
[2025-01-10 08:10:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 08:10:05] Production.INFO: Account Balance End.
[2025-01-10 08:10:05] Production.ERROR: CronJobId end 12
[2025-01-10 08:10:05] Production.INFO: ==27611== Releasing lock...
[2025-01-10 08:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 08:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 08:10:05] Production.INFO: ==27617== Releasing lock...
[2025-01-10 08:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 08:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 08:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 05:10:05
[end_date_ymd] => 2025-01-10 08:10:05
[RateCDR] => 1
)
[2025-01-10 08:10:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 05:10:05' and `end` < '2025-01-10 08:10:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 08:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14215602', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 08:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 08:10:09] Production.INFO: ProcessCDR(1,14215602,1,1,2)
[2025-01-10 08:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14215602,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14215602,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:10:09] Production.INFO: ==27615== Releasing lock...
[2025-01-10 08:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 08:10:09] Production.INFO: 26 MB #Memory Used#
[2025-01-10 08:10:15] Production.ERROR: CronJobId end10
[2025-01-10 08:10:15] Production.INFO: ==27609== Releasing lock...
[2025-01-10 08:10:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 08:10:15] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 08:10:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 08:10:16] Production.INFO: ============== Balance Warning START===========
[2025-01-10 08:10:16] Production.INFO: ============== Balance Warning END===========
[2025-01-10 08:10:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 08:10:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 08:10:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 08:10:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 08:10:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 08:10:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 08:10:16] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 08:10:16] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 08:10:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 08:10:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 08:10:16] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 08:10:16] Production.INFO: call_cost start
[2025-01-10 08:10:16] Production.INFO: call_cost end
[2025-01-10 08:10:17] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 08:10:17] Production.INFO: ============== Report Schedule START===========
[2025-01-10 08:10:17] Production.INFO: ============== Report Schedule END===========
[2025-01-10 08:10:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 08:10:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 08:10:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 08:10:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 08:10:17] Production.INFO: ============== Deal alert START===========
[2025-01-10 08:10:17] Production.INFO: ============== Deal alert END===========
[2025-01-10 08:10:17] Production.INFO: ==27605== Releasing lock...
[2025-01-10 08:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 08:10:17] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 08:10:19] Production.INFO: count ==178
[2025-01-10 08:10:19] Production.ERROR: pbx CDR StartTime 2025-01-10 05:10:05 - End Time 2025-01-10 08:10:05
[2025-01-10 08:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 08:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215603', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215603', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215603', 'tblTempVendorCDR_20' ) start
[2025-01-10 08:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215603', 'tblTempVendorCDR_20' ) end
[2025-01-10 08:10:19] Production.INFO: ProcessCDR(1,14215603,1,1,2)
[2025-01-10 08:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215603,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215603,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215603,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215603,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215603', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215603', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:10:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:10:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:10:22] Production.INFO: ==27613== Releasing lock...
[2025-01-10 08:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 08:10:22] Production.INFO: 29.5 MB #Memory Used#
[2025-01-10 13:11:01] Production.INFO: ==27683== Lock acquired, processing the job...
[2025-01-10 13:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 13:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 13:11:01] Production.INFO: neon service started
[2025-01-10 13:11:01] Production.INFO: neon service started
[2025-01-10 13:11:01] Production.INFO: ==27683== Releasing lock...
[2025-01-10 13:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 13:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 08:11:02] Production.INFO: ==27685== Lock acquired, processing the job...
[2025-01-10 08:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:11:02] Production.INFO: ==27685== Releasing lock...
[2025-01-10 08:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 08:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 13:11:02] Production.INFO: ==27687== Lock acquired, processing the job...
[2025-01-10 13:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 13:11:02] Production.INFO: ==27687== Releasing lock...
[2025-01-10 13:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 13:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 08:11:03] Production.INFO: ==27694== Lock acquired, processing the job...
[2025-01-10 08:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 08:11:03] Production.INFO: ==27698== Lock acquired, processing the job...
[2025-01-10 08:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 08:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 08:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 08:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 08:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 08:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:11:03] Production.INFO: ==27692== Lock acquired, processing the job...
[2025-01-10 08:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 08:11:03] Production.INFO: ==27690== Lock acquired, processing the job...
[2025-01-10 08:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 08:11:03] Production.INFO: ==27696== Lock acquired, processing the job...
[2025-01-10 08:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 08:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 08:11:03] Production.INFO: ==27700== Lock acquired, processing the job...
[2025-01-10 08:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 08:11:03] Production.ERROR: done
[2025-01-10 08:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 08:11:03] Production.INFO: Account Balance Start.
[2025-01-10 08:11:03] Production.INFO: CreateAllLog Start
[2025-01-10 08:11:03] Production.INFO: 117
[2025-01-10 08:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:11:03] Production.INFO: Date 2025-01-08
[2025-01-10 08:11:03] Production.ERROR: done
[2025-01-10 08:11:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:11:03] Production.INFO: count ==21
[2025-01-10 08:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:11:03] Production.INFO: count ==21
[2025-01-10 08:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215607') start
[2025-01-10 08:11:03] Production.INFO: Date 2025-01-09
[2025-01-10 08:11:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:11:03] Production.INFO: ==27692== Releasing lock...
[2025-01-10 08:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 08:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 08:11:04] Production.INFO: Date 2025-01-10
[2025-01-10 08:11:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215607') end
[2025-01-10 08:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 08:11:04] Production.INFO: 1
[2025-01-10 08:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 08:11:04] Production.INFO: ==27700== Releasing lock...
[2025-01-10 08:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 08:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 08:11:04] Production.INFO: Total Charge 0
[2025-01-10 08:11:04] Production.INFO: CreateAllLog End
[2025-01-10 08:11:04] Production.INFO: Account Balance End.
[2025-01-10 08:11:04] Production.ERROR: CronJobId end 12
[2025-01-10 08:11:04] Production.INFO: ==27696== Releasing lock...
[2025-01-10 08:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 08:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 08:11:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 05:11:04
[end_date_ymd] => 2025-01-10 08:11:04
[RateCDR] => 1
)
[2025-01-10 08:11:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 05:11:04' and `end` < '2025-01-10 08:11:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 08:11:11] Production.ERROR: CronJobId end10
[2025-01-10 08:11:11] Production.INFO: ==27694== Releasing lock...
[2025-01-10 08:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 08:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 08:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 08:11:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 08:11:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 08:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 08:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 08:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 08:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 08:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 08:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 08:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 08:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 08:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 08:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 08:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 08:11:13] Production.INFO: call_cost start
[2025-01-10 08:11:13] Production.INFO: call_cost end
[2025-01-10 08:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 08:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 08:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 08:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 08:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 08:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 08:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 08:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 08:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 08:11:14] Production.INFO: ==27690== Releasing lock...
[2025-01-10 08:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 08:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 08:11:18] Production.INFO: count ==196
[2025-01-10 08:11:18] Production.ERROR: pbx CDR StartTime 2025-01-10 05:11:04 - End Time 2025-01-10 08:11:04
[2025-01-10 08:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 08:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215608', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215608', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215608', 'tblTempVendorCDR_20' ) start
[2025-01-10 08:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215608', 'tblTempVendorCDR_20' ) end
[2025-01-10 08:11:18] Production.INFO: ProcessCDR(1,14215608,1,1,2)
[2025-01-10 08:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215608,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:11:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215608,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:11:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215608,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:11:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215608,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215608', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215608', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:11:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:11:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:11:22] Production.INFO: ==27698== Releasing lock...
[2025-01-10 08:11:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 08:11:22] Production.INFO: 29.75 MB #Memory Used#
[2025-01-10 13:12:02] Production.INFO: ==27757== Lock acquired, processing the job...
[2025-01-10 13:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 13:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 13:12:02] Production.INFO: neon service started
[2025-01-10 13:12:02] Production.INFO: neon service started
[2025-01-10 13:12:02] Production.INFO: ==27757== Releasing lock...
[2025-01-10 13:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 13:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 13:12:02] Production.INFO: ==27761== Lock acquired, processing the job...
[2025-01-10 13:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 13:12:02] Production.INFO: ==27761== Releasing lock...
[2025-01-10 13:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 13:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 08:12:02] Production.INFO: ==27759== Lock acquired, processing the job...
[2025-01-10 08:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:12:03] Production.INFO: ==27759== Releasing lock...
[2025-01-10 08:12:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 08:12:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:12:03] Production.INFO: ==27766== Lock acquired, processing the job...
[2025-01-10 08:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 08:12:03] Production.INFO: ==27768== Lock acquired, processing the job...
[2025-01-10 08:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 08:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 08:12:03] Production.INFO: ==27774== Lock acquired, processing the job...
[2025-01-10 08:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 08:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:12:04] Production.INFO: ==27770== Lock acquired, processing the job...
[2025-01-10 08:12:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 08:12:04] Production.INFO: ==27772== Lock acquired, processing the job...
[2025-01-10 08:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 08:12:04] Production.INFO: ==27776== Lock acquired, processing the job...
[2025-01-10 08:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 08:12:04] Production.INFO: ==27768== Releasing lock...
[2025-01-10 08:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 08:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 08:12:04] Production.INFO: Account Balance Start.
[2025-01-10 08:12:04] Production.INFO: CreateAllLog Start
[2025-01-10 08:12:04] Production.INFO: 117
[2025-01-10 08:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 08:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 08:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 08:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 08:12:04] Production.INFO: Date 2025-01-08
[2025-01-10 08:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:12:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:12:04] Production.INFO: count ==21
[2025-01-10 08:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:12:04] Production.INFO: count ==21
[2025-01-10 08:12:04] Production.ERROR: done
[2025-01-10 08:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 08:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215612') start
[2025-01-10 08:12:04] Production.INFO: Date 2025-01-09
[2025-01-10 08:12:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:12:04] Production.INFO: Date 2025-01-10
[2025-01-10 08:12:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:12:04] Production.INFO: Total Charge 0
[2025-01-10 08:12:04] Production.INFO: CreateAllLog End
[2025-01-10 08:12:04] Production.ERROR: done
[2025-01-10 08:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215612') end
[2025-01-10 08:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 08:12:04] Production.INFO: 1
[2025-01-10 08:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 08:12:04] Production.INFO: Account Balance End.
[2025-01-10 08:12:04] Production.INFO: ==27776== Releasing lock...
[2025-01-10 08:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 08:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 08:12:04] Production.ERROR: CronJobId end 12
[2025-01-10 08:12:04] Production.INFO: ==27772== Releasing lock...
[2025-01-10 08:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 08:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 08:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 05:12:05
[end_date_ymd] => 2025-01-10 08:12:05
[RateCDR] => 1
)
[2025-01-10 08:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 05:12:05' and `end` < '2025-01-10 08:12:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 08:12:12] Production.ERROR: CronJobId end10
[2025-01-10 08:12:12] Production.INFO: ==27770== Releasing lock...
[2025-01-10 08:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 08:12:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 08:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 08:12:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 08:12:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 08:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 08:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 08:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 08:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 08:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 08:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 08:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 08:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 08:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 08:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 08:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 08:12:14] Production.INFO: call_cost start
[2025-01-10 08:12:14] Production.INFO: call_cost end
[2025-01-10 08:12:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 08:12:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 08:12:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 08:12:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 08:12:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 08:12:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 08:12:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 08:12:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 08:12:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 08:12:15] Production.INFO: ==27766== Releasing lock...
[2025-01-10 08:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 08:12:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 08:12:18] Production.INFO: count ==202
[2025-01-10 08:12:18] Production.ERROR: pbx CDR StartTime 2025-01-10 05:12:05 - End Time 2025-01-10 08:12:05
[2025-01-10 08:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 08:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215613', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215613', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215613', 'tblTempVendorCDR_20' ) start
[2025-01-10 08:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215613', 'tblTempVendorCDR_20' ) end
[2025-01-10 08:12:18] Production.INFO: ProcessCDR(1,14215613,1,1,2)
[2025-01-10 08:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215613,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215613,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215613,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215613,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215613', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215613', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:12:21] Production.INFO: ==27774== Releasing lock...
[2025-01-10 08:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 08:12:21] Production.INFO: 29.75 MB #Memory Used#
[2025-01-10 13:13:01] Production.INFO: ==27835== Lock acquired, processing the job...
[2025-01-10 13:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 13:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 13:13:01] Production.INFO: neon service started
[2025-01-10 13:13:01] Production.INFO: neon service started
[2025-01-10 13:13:01] Production.INFO: ==27835== Releasing lock...
[2025-01-10 13:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 13:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 13:13:01] Production.INFO: ==27839== Lock acquired, processing the job...
[2025-01-10 13:13:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 13:13:02] Production.INFO: ==27839== Releasing lock...
[2025-01-10 13:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 13:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 08:13:02] Production.INFO: ==27837== Lock acquired, processing the job...
[2025-01-10 08:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:13:02] Production.INFO: ==27837== Releasing lock...
[2025-01-10 08:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 08:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:13:03] Production.INFO: ==27844== Lock acquired, processing the job...
[2025-01-10 08:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 08:13:03] Production.INFO: ==27846== Lock acquired, processing the job...
[2025-01-10 08:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 08:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 08:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 08:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 08:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 08:13:03] Production.INFO: ==27850== Lock acquired, processing the job...
[2025-01-10 08:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 08:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:13:03] Production.INFO: ==27842== Lock acquired, processing the job...
[2025-01-10 08:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 08:13:03] Production.INFO: ==27844== Releasing lock...
[2025-01-10 08:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 08:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 08:13:03] Production.INFO: ==27848== Lock acquired, processing the job...
[2025-01-10 08:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 08:13:03] Production.INFO: ==27852== Lock acquired, processing the job...
[2025-01-10 08:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 08:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 08:13:03] Production.ERROR: done
[2025-01-10 08:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 08:13:03] Production.INFO: Account Balance Start.
[2025-01-10 08:13:03] Production.INFO: CreateAllLog Start
[2025-01-10 08:13:03] Production.INFO: 117
[2025-01-10 08:13:03] Production.INFO: Date 2025-01-08
[2025-01-10 08:13:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:13:03] Production.INFO: count ==21
[2025-01-10 08:13:03] Production.ERROR: done
[2025-01-10 08:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:13:03] Production.INFO: count ==21
[2025-01-10 08:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215617') start
[2025-01-10 08:13:03] Production.INFO: Date 2025-01-09
[2025-01-10 08:13:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215617') end
[2025-01-10 08:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 08:13:04] Production.INFO: 1
[2025-01-10 08:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 08:13:04] Production.INFO: Date 2025-01-10
[2025-01-10 08:13:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:13:04] Production.INFO: Total Charge 0
[2025-01-10 08:13:04] Production.INFO: ==27852== Releasing lock...
[2025-01-10 08:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 08:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 08:13:04] Production.INFO: CreateAllLog End
[2025-01-10 08:13:04] Production.INFO: Account Balance End.
[2025-01-10 08:13:04] Production.ERROR: CronJobId end 12
[2025-01-10 08:13:04] Production.INFO: ==27848== Releasing lock...
[2025-01-10 08:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 08:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 08:13:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 05:13:04
[end_date_ymd] => 2025-01-10 08:13:04
[RateCDR] => 1
)
[2025-01-10 08:13:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 05:13:04' and `end` < '2025-01-10 08:13:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 08:13:12] Production.ERROR: CronJobId end10
[2025-01-10 08:13:12] Production.INFO: ==27846== Releasing lock...
[2025-01-10 08:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 08:13:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 08:13:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 08:13:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 08:13:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 08:13:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 08:13:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 08:13:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 08:13:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 08:13:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 08:13:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 08:13:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 08:13:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 08:13:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 08:13:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 08:13:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 08:13:14] Production.INFO: call_cost start
[2025-01-10 08:13:14] Production.INFO: call_cost end
[2025-01-10 08:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 08:13:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 08:13:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 08:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 08:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 08:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 08:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 08:13:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 08:13:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 08:13:15] Production.INFO: ==27842== Releasing lock...
[2025-01-10 08:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 08:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 08:13:18] Production.INFO: count ==202
[2025-01-10 08:13:18] Production.ERROR: pbx CDR StartTime 2025-01-10 05:13:04 - End Time 2025-01-10 08:13:04
[2025-01-10 08:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 08:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215618', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215618', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215618', 'tblTempVendorCDR_20' ) start
[2025-01-10 08:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215618', 'tblTempVendorCDR_20' ) end
[2025-01-10 08:13:18] Production.INFO: ProcessCDR(1,14215618,1,1,2)
[2025-01-10 08:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215618,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215618,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215618,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215618,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215618', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215618', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:13:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:13:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:13:21] Production.INFO: ==27850== Releasing lock...
[2025-01-10 08:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 08:13:21] Production.INFO: 29.75 MB #Memory Used#
[2025-01-10 13:14:02] Production.INFO: ==27909== Lock acquired, processing the job...
[2025-01-10 13:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 13:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 13:14:02] Production.INFO: neon service started
[2025-01-10 13:14:02] Production.INFO: neon service started
[2025-01-10 13:14:02] Production.INFO: ==27909== Releasing lock...
[2025-01-10 13:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 13:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 13:14:02] Production.INFO: ==27913== Lock acquired, processing the job...
[2025-01-10 13:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 13:14:02] Production.INFO: ==27913== Releasing lock...
[2025-01-10 13:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 13:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 08:14:02] Production.INFO: ==27911== Lock acquired, processing the job...
[2025-01-10 08:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:14:03] Production.INFO: ==27911== Releasing lock...
[2025-01-10 08:14:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 08:14:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:14:03] Production.INFO: ==27916== Lock acquired, processing the job...
[2025-01-10 08:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 08:14:03] Production.INFO: ==27922== Lock acquired, processing the job...
[2025-01-10 08:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 08:14:03] Production.INFO: ==27918== Lock acquired, processing the job...
[2025-01-10 08:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 08:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 08:14:04] Production.INFO: Account Balance Start.
[2025-01-10 08:14:04] Production.INFO: CreateAllLog Start
[2025-01-10 08:14:04] Production.INFO: 117
[2025-01-10 08:14:04] Production.INFO: Date 2025-01-08
[2025-01-10 08:14:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:14:04] Production.INFO: ==27920== Lock acquired, processing the job...
[2025-01-10 08:14:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 08:14:04] Production.INFO: Date 2025-01-09
[2025-01-10 08:14:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:14:04] Production.INFO: Date 2025-01-10
[2025-01-10 08:14:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:14:04] Production.INFO: ==27926== Lock acquired, processing the job...
[2025-01-10 08:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 08:14:04] Production.INFO: ==27924== Lock acquired, processing the job...
[2025-01-10 08:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 08:14:04] Production.INFO: Total Charge 0
[2025-01-10 08:14:04] Production.INFO: CreateAllLog End
[2025-01-10 08:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 08:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 08:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 08:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 08:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:14:04] Production.INFO: ==27918== Releasing lock...
[2025-01-10 08:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 08:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 08:14:04] Production.INFO: count ==21
[2025-01-10 08:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:14:04] Production.INFO: count ==21
[2025-01-10 08:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215622') start
[2025-01-10 08:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215622') end
[2025-01-10 08:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 08:14:04] Production.INFO: 1
[2025-01-10 08:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 08:14:04] Production.INFO: Account Balance End.
[2025-01-10 08:14:04] Production.INFO: ==27926== Releasing lock...
[2025-01-10 08:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 08:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 08:14:04] Production.ERROR: done
[2025-01-10 08:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 08:14:04] Production.ERROR: CronJobId end 12
[2025-01-10 08:14:04] Production.INFO: ==27922== Releasing lock...
[2025-01-10 08:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 08:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 08:14:04] Production.ERROR: done
[2025-01-10 08:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 05:14:05
[end_date_ymd] => 2025-01-10 08:14:05
[RateCDR] => 1
)
[2025-01-10 08:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 05:14:05' and `end` < '2025-01-10 08:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 08:14:12] Production.ERROR: CronJobId end10
[2025-01-10 08:14:12] Production.INFO: ==27920== Releasing lock...
[2025-01-10 08:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 08:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 08:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 08:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 08:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 08:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 08:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 08:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 08:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 08:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 08:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 08:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 08:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 08:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 08:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 08:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 08:14:14] Production.INFO: call_cost start
[2025-01-10 08:14:14] Production.INFO: call_cost end
[2025-01-10 08:14:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 08:14:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 08:14:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 08:14:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 08:14:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 08:14:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 08:14:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 08:14:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 08:14:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 08:14:15] Production.INFO: ==27916== Releasing lock...
[2025-01-10 08:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 08:14:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 08:14:19] Production.INFO: count ==208
[2025-01-10 08:14:19] Production.ERROR: pbx CDR StartTime 2025-01-10 05:14:05 - End Time 2025-01-10 08:14:05
[2025-01-10 08:14:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 08:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215623', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215623', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215623', 'tblTempVendorCDR_20' ) start
[2025-01-10 08:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215623', 'tblTempVendorCDR_20' ) end
[2025-01-10 08:14:19] Production.INFO: ProcessCDR(1,14215623,1,1,2)
[2025-01-10 08:14:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215623,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:14:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215623,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:14:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215623,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:14:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215623,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:14:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215623', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:14:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215623', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:14:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:14:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:14:23] Production.INFO: ==27924== Releasing lock...
[2025-01-10 08:14:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 08:14:23] Production.INFO: 29.5 MB #Memory Used#
[2025-01-10 13:15:01] Production.INFO: ==27981== Lock acquired, processing the job...
[2025-01-10 13:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 13:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 13:15:01] Production.INFO: neon service started
[2025-01-10 13:15:01] Production.INFO: neon service started
[2025-01-10 13:15:01] Production.INFO: ==27981== Releasing lock...
[2025-01-10 13:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 13:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 13:15:02] Production.INFO: ==27985== Lock acquired, processing the job...
[2025-01-10 13:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 13:15:02] Production.INFO: ==27985== Releasing lock...
[2025-01-10 13:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 13:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 08:15:02] Production.INFO: ==27983== Lock acquired, processing the job...
[2025-01-10 08:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:15:02] Production.INFO: ==27983== Releasing lock...
[2025-01-10 08:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 08:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:15:03] Production.INFO: ==27988== Lock acquired, processing the job...
[2025-01-10 08:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 08:15:03] Production.INFO: ==27990== Lock acquired, processing the job...
[2025-01-10 08:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 08:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 08:15:03] Production.INFO: ==27994== Lock acquired, processing the job...
[2025-01-10 08:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 08:15:03] Production.INFO: Account Balance Start.
[2025-01-10 08:15:03] Production.INFO: CreateAllLog Start
[2025-01-10 08:15:03] Production.INFO: 117
[2025-01-10 08:15:03] Production.INFO: Date 2025-01-08
[2025-01-10 08:15:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:15:03] Production.INFO: Date 2025-01-09
[2025-01-10 08:15:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:15:03] Production.INFO: ==27990== Releasing lock...
[2025-01-10 08:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 08:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 08:15:03] Production.INFO: Date 2025-01-10
[2025-01-10 08:15:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:15:03] Production.INFO: Total Charge 0
[2025-01-10 08:15:03] Production.INFO: CreateAllLog End
[2025-01-10 08:15:03] Production.INFO: ==27992== Lock acquired, processing the job...
[2025-01-10 08:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 08:15:03] Production.INFO: Account Balance End.
[2025-01-10 08:15:03] Production.ERROR: CronJobId end 12
[2025-01-10 08:15:03] Production.INFO: ==27994== Releasing lock...
[2025-01-10 08:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 08:15:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 08:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 08:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 08:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 08:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 08:15:03] Production.INFO: ==27996== Lock acquired, processing the job...
[2025-01-10 08:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 08:15:03] Production.INFO: ==27998== Lock acquired, processing the job...
[2025-01-10 08:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 08:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:15:04] Production.INFO: count ==21
[2025-01-10 08:15:04] Production.ERROR: done
[2025-01-10 08:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 08:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:15:04] Production.INFO: count ==21
[2025-01-10 08:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215627') start
[2025-01-10 08:15:04] Production.ERROR: done
[2025-01-10 08:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215627') end
[2025-01-10 08:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 08:15:04] Production.INFO: 1
[2025-01-10 08:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 08:15:04] Production.INFO: ==27998== Releasing lock...
[2025-01-10 08:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 08:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 08:15:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 05:15:04
[end_date_ymd] => 2025-01-10 08:15:04
[RateCDR] => 1
)
[2025-01-10 08:15:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 05:15:04' and `end` < '2025-01-10 08:15:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 08:15:11] Production.ERROR: CronJobId end10
[2025-01-10 08:15:11] Production.INFO: ==27992== Releasing lock...
[2025-01-10 08:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 08:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 08:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 08:15:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 08:15:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 08:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 08:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 08:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 08:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 08:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 08:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 08:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 08:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 08:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 08:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 08:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 08:15:13] Production.INFO: call_cost start
[2025-01-10 08:15:13] Production.INFO: call_cost end
[2025-01-10 08:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 08:15:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 08:15:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 08:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 08:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 08:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 08:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 08:15:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 08:15:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 08:15:14] Production.INFO: ==27988== Releasing lock...
[2025-01-10 08:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 08:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 08:15:17] Production.INFO: count ==216
[2025-01-10 08:15:18] Production.ERROR: pbx CDR StartTime 2025-01-10 05:15:04 - End Time 2025-01-10 08:15:04
[2025-01-10 08:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 08:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215628', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215628', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215628', 'tblTempVendorCDR_20' ) start
[2025-01-10 08:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215628', 'tblTempVendorCDR_20' ) end
[2025-01-10 08:15:18] Production.INFO: ProcessCDR(1,14215628,1,1,2)
[2025-01-10 08:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215628,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:15:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215628,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:15:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215628,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215628,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215628', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215628', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:15:21] Production.INFO: ==27996== Releasing lock...
[2025-01-10 08:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 08:15:21] Production.INFO: 30 MB #Memory Used#
[2025-01-10 13:16:02] Production.INFO: ==28055== Lock acquired, processing the job...
[2025-01-10 13:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 13:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 13:16:02] Production.INFO: neon service started
[2025-01-10 13:16:02] Production.INFO: neon service started
[2025-01-10 13:16:02] Production.INFO: ==28055== Releasing lock...
[2025-01-10 13:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 13:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 13:16:02] Production.INFO: ==28059== Lock acquired, processing the job...
[2025-01-10 13:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 13:16:02] Production.INFO: ==28059== Releasing lock...
[2025-01-10 13:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 13:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 08:16:02] Production.INFO: ==28057== Lock acquired, processing the job...
[2025-01-10 08:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:16:02] Production.INFO: ==28057== Releasing lock...
[2025-01-10 08:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 08:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:16:03] Production.INFO: ==28062== Lock acquired, processing the job...
[2025-01-10 08:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 08:16:03] Production.INFO: ==28070== Lock acquired, processing the job...
[2025-01-10 08:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 08:16:03] Production.INFO: ==28064== Lock acquired, processing the job...
[2025-01-10 08:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 08:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 08:16:03] Production.INFO: ==28066== Lock acquired, processing the job...
[2025-01-10 08:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 08:16:03] Production.INFO: ==28068== Lock acquired, processing the job...
[2025-01-10 08:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 08:16:03] Production.INFO: Account Balance Start.
[2025-01-10 08:16:03] Production.INFO: CreateAllLog Start
[2025-01-10 08:16:03] Production.INFO: 117
[2025-01-10 08:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 08:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 08:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 08:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 08:16:03] Production.INFO: Date 2025-01-08
[2025-01-10 08:16:03] Production.INFO: ==28072== Lock acquired, processing the job...
[2025-01-10 08:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 08:16:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:16:04] Production.INFO: Date 2025-01-09
[2025-01-10 08:16:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:16:04] Production.INFO: Date 2025-01-10
[2025-01-10 08:16:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:16:04] Production.ERROR: done
[2025-01-10 08:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 08:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:16:04] Production.INFO: Total Charge 0
[2025-01-10 08:16:04] Production.INFO: count ==21
[2025-01-10 08:16:04] Production.INFO: CreateAllLog End
[2025-01-10 08:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:16:04] Production.INFO: count ==21
[2025-01-10 08:16:04] Production.INFO: ==28064== Releasing lock...
[2025-01-10 08:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 08:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 08:16:04] Production.ERROR: done
[2025-01-10 08:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215632') start
[2025-01-10 08:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215632') end
[2025-01-10 08:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 08:16:04] Production.INFO: 1
[2025-01-10 08:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 08:16:04] Production.INFO: Account Balance End.
[2025-01-10 08:16:04] Production.INFO: ==28072== Releasing lock...
[2025-01-10 08:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 08:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 08:16:04] Production.ERROR: CronJobId end 12
[2025-01-10 08:16:04] Production.INFO: ==28068== Releasing lock...
[2025-01-10 08:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 08:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 08:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 05:16:05
[end_date_ymd] => 2025-01-10 08:16:05
[RateCDR] => 1
)
[2025-01-10 08:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 05:16:05' and `end` < '2025-01-10 08:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 08:16:11] Production.ERROR: CronJobId end10
[2025-01-10 08:16:11] Production.INFO: ==28066== Releasing lock...
[2025-01-10 08:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 08:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 08:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 08:16:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 08:16:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 08:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 08:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 08:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 08:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 08:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 08:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 08:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 08:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 08:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 08:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 08:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 08:16:13] Production.INFO: call_cost start
[2025-01-10 08:16:13] Production.INFO: call_cost end
[2025-01-10 08:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 08:16:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 08:16:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 08:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 08:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 08:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 08:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 08:16:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 08:16:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 08:16:14] Production.INFO: ==28062== Releasing lock...
[2025-01-10 08:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 08:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 08:16:19] Production.INFO: count ==231
[2025-01-10 08:16:19] Production.ERROR: pbx CDR StartTime 2025-01-10 05:16:05 - End Time 2025-01-10 08:16:05
[2025-01-10 08:16:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 08:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215633', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215633', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215633', 'tblTempVendorCDR_20' ) start
[2025-01-10 08:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215633', 'tblTempVendorCDR_20' ) end
[2025-01-10 08:16:19] Production.INFO: ProcessCDR(1,14215633,1,1,2)
[2025-01-10 08:16:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215633,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:16:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215633,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:16:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215633,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:16:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215633,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215633', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215633', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:16:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:16:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:16:22] Production.INFO: ==28070== Releasing lock...
[2025-01-10 08:16:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 08:16:22] Production.INFO: 29.75 MB #Memory Used#
[2025-01-10 13:17:01] Production.INFO: ==28133== Lock acquired, processing the job...
[2025-01-10 13:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 13:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 13:17:01] Production.INFO: neon service started
[2025-01-10 13:17:01] Production.INFO: neon service started
[2025-01-10 13:17:01] Production.INFO: ==28133== Releasing lock...
[2025-01-10 13:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 13:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 08:17:01] Production.INFO: ==28135== Lock acquired, processing the job...
[2025-01-10 08:17:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:17:02] Production.INFO: ==28135== Releasing lock...
[2025-01-10 08:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 08:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 13:17:02] Production.INFO: ==28137== Lock acquired, processing the job...
[2025-01-10 13:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 13:17:02] Production.INFO: ==28137== Releasing lock...
[2025-01-10 13:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 13:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 08:17:02] Production.INFO: ==28139== Lock acquired, processing the job...
[2025-01-10 08:17:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 08:17:02] Production.INFO: ==28141== Lock acquired, processing the job...
[2025-01-10 08:17:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 08:17:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 08:17:02] Production.INFO: ==28145== Lock acquired, processing the job...
[2025-01-10 08:17:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 08:17:03] Production.INFO: Account Balance Start.
[2025-01-10 08:17:03] Production.INFO: CreateAllLog Start
[2025-01-10 08:17:03] Production.INFO: 117
[2025-01-10 08:17:03] Production.INFO: Date 2025-01-08
[2025-01-10 08:17:03] Production.INFO: ==28141== Releasing lock...
[2025-01-10 08:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 08:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 08:17:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:17:03] Production.INFO: ==28143== Lock acquired, processing the job...
[2025-01-10 08:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 08:17:03] Production.INFO: Date 2025-01-09
[2025-01-10 08:17:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:17:03] Production.INFO: ==28147== Lock acquired, processing the job...
[2025-01-10 08:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 08:17:03] Production.INFO: Date 2025-01-10
[2025-01-10 08:17:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 08:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 08:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 08:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 08:17:03] Production.INFO: ==28149== Lock acquired, processing the job...
[2025-01-10 08:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 08:17:03] Production.INFO: Total Charge 0
[2025-01-10 08:17:03] Production.INFO: CreateAllLog End
[2025-01-10 08:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:17:03] Production.INFO: count ==21
[2025-01-10 08:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:17:03] Production.INFO: count ==21
[2025-01-10 08:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215637') start
[2025-01-10 08:17:03] Production.INFO: Account Balance End.
[2025-01-10 08:17:03] Production.ERROR: done
[2025-01-10 08:17:03] Production.ERROR: CronJobId end 12
[2025-01-10 08:17:03] Production.INFO: ==28145== Releasing lock...
[2025-01-10 08:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 08:17:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 08:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 08:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215637') end
[2025-01-10 08:17:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 08:17:03] Production.INFO: 1
[2025-01-10 08:17:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 08:17:03] Production.INFO: ==28149== Releasing lock...
[2025-01-10 08:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 08:17:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 08:17:03] Production.ERROR: done
[2025-01-10 08:17:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 05:17:04
[end_date_ymd] => 2025-01-10 08:17:04
[RateCDR] => 1
)
[2025-01-10 08:17:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 05:17:04' and `end` < '2025-01-10 08:17:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 08:17:11] Production.ERROR: CronJobId end10
[2025-01-10 08:17:11] Production.INFO: ==28143== Releasing lock...
[2025-01-10 08:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 08:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 08:17:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 08:17:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 08:17:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 08:17:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 08:17:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 08:17:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 08:17:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 08:17:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 08:17:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 08:17:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 08:17:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 08:17:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 08:17:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 08:17:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 08:17:12] Production.INFO: call_cost start
[2025-01-10 08:17:12] Production.INFO: call_cost end
[2025-01-10 08:17:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 08:17:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 08:17:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 08:17:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 08:17:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 08:17:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 08:17:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 08:17:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 08:17:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 08:17:13] Production.INFO: ==28139== Releasing lock...
[2025-01-10 08:17:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 08:17:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 08:17:17] Production.INFO: count ==234
[2025-01-10 08:17:17] Production.ERROR: pbx CDR StartTime 2025-01-10 05:17:04 - End Time 2025-01-10 08:17:04
[2025-01-10 08:17:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 08:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215638', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215638', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215638', 'tblTempVendorCDR_20' ) start
[2025-01-10 08:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215638', 'tblTempVendorCDR_20' ) end
[2025-01-10 08:17:17] Production.INFO: ProcessCDR(1,14215638,1,1,2)
[2025-01-10 08:17:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215638,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215638,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215638,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:17:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215638,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215638', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215638', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:17:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:17:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:17:22] Production.INFO: ==28147== Releasing lock...
[2025-01-10 08:17:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 08:17:22] Production.INFO: 30.25 MB #Memory Used#
[2025-01-10 13:18:01] Production.INFO: ==28218== Lock acquired, processing the job...
[2025-01-10 13:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 13:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 13:18:01] Production.INFO: neon service started
[2025-01-10 13:18:01] Production.INFO: neon service started
[2025-01-10 13:18:01] Production.INFO: ==28218== Releasing lock...
[2025-01-10 13:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 13:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 13:18:02] Production.INFO: ==28223== Lock acquired, processing the job...
[2025-01-10 13:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 08:18:02] Production.INFO: ==28221== Lock acquired, processing the job...
[2025-01-10 08:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 13:18:02] Production.INFO: ==28223== Releasing lock...
[2025-01-10 13:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 13:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 08:18:02] Production.INFO: ==28221== Releasing lock...
[2025-01-10 08:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 08:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:18:03] Production.INFO: ==28229== Lock acquired, processing the job...
[2025-01-10 08:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 08:18:03] Production.INFO: ==28227== Lock acquired, processing the job...
[2025-01-10 08:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 08:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 08:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 08:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 08:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 08:18:03] Production.INFO: ==28225== Lock acquired, processing the job...
[2025-01-10 08:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 08:18:03] Production.INFO: ==28231== Lock acquired, processing the job...
[2025-01-10 08:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 08:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 08:18:03] Production.INFO: ==28233== Lock acquired, processing the job...
[2025-01-10 08:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 08:18:03] Production.INFO: Account Balance Start.
[2025-01-10 08:18:03] Production.INFO: CreateAllLog Start
[2025-01-10 08:18:03] Production.INFO: 117
[2025-01-10 08:18:03] Production.INFO: Date 2025-01-08
[2025-01-10 08:18:04] Production.INFO: ==28235== Lock acquired, processing the job...
[2025-01-10 08:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 08:18:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:18:04] Production.INFO: Date 2025-01-09
[2025-01-10 08:18:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:18:04] Production.INFO: Date 2025-01-10
[2025-01-10 08:18:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:18:04] Production.INFO: Total Charge 0
[2025-01-10 08:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:18:04] Production.INFO: CreateAllLog End
[2025-01-10 08:18:04] Production.INFO: count ==21
[2025-01-10 08:18:04] Production.INFO: ==28227== Releasing lock...
[2025-01-10 08:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 08:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 08:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:18:04] Production.INFO: count ==21
[2025-01-10 08:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215642') start
[2025-01-10 08:18:04] Production.INFO: Account Balance End.
[2025-01-10 08:18:04] Production.ERROR: done
[2025-01-10 08:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 08:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215642') end
[2025-01-10 08:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 08:18:04] Production.INFO: 1
[2025-01-10 08:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 08:18:04] Production.ERROR: CronJobId end 12
[2025-01-10 08:18:04] Production.INFO: ==28231== Releasing lock...
[2025-01-10 08:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 08:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 08:18:04] Production.INFO: ==28235== Releasing lock...
[2025-01-10 08:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 08:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 08:18:04] Production.ERROR: done
[2025-01-10 08:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 05:18:05
[end_date_ymd] => 2025-01-10 08:18:05
[RateCDR] => 1
)
[2025-01-10 08:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 05:18:05' and `end` < '2025-01-10 08:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 08:18:10] Production.ERROR: CronJobId end10
[2025-01-10 08:18:10] Production.INFO: ==28229== Releasing lock...
[2025-01-10 08:18:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 08:18:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 08:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 08:18:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 08:18:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 08:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 08:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 08:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 08:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 08:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 08:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 08:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 08:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 08:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 08:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 08:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 08:18:13] Production.INFO: call_cost start
[2025-01-10 08:18:13] Production.INFO: call_cost end
[2025-01-10 08:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 08:18:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 08:18:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 08:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 08:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 08:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 08:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 08:18:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 08:18:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 08:18:14] Production.INFO: ==28225== Releasing lock...
[2025-01-10 08:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 08:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 08:18:18] Production.INFO: count ==239
[2025-01-10 08:18:18] Production.ERROR: pbx CDR StartTime 2025-01-10 05:18:05 - End Time 2025-01-10 08:18:05
[2025-01-10 08:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 08:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215643', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215643', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215643', 'tblTempVendorCDR_20' ) start
[2025-01-10 08:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215643', 'tblTempVendorCDR_20' ) end
[2025-01-10 08:18:18] Production.INFO: ProcessCDR(1,14215643,1,1,2)
[2025-01-10 08:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215643,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215643,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215643,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:18:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215643,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215643', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215643', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:18:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:18:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:18:21] Production.INFO: ==28233== Releasing lock...
[2025-01-10 08:18:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 08:18:21] Production.INFO: 30.25 MB #Memory Used#
[2025-01-10 13:19:02] Production.INFO: ==28294== Lock acquired, processing the job...
[2025-01-10 13:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 13:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 13:19:02] Production.INFO: neon service started
[2025-01-10 13:19:02] Production.INFO: neon service started
[2025-01-10 13:19:02] Production.INFO: ==28294== Releasing lock...
[2025-01-10 13:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 13:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 08:19:02] Production.INFO: ==28296== Lock acquired, processing the job...
[2025-01-10 08:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:19:02] Production.INFO: ==28296== Releasing lock...
[2025-01-10 08:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 08:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 13:19:03] Production.INFO: ==28298== Lock acquired, processing the job...
[2025-01-10 13:19:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 13:19:03] Production.INFO: ==28298== Releasing lock...
[2025-01-10 13:19:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 13:19:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 08:19:03] Production.INFO: ==28300== Lock acquired, processing the job...
[2025-01-10 08:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 08:19:03] Production.INFO: ==28302== Lock acquired, processing the job...
[2025-01-10 08:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 08:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 08:19:03] Production.INFO: ==28310== Lock acquired, processing the job...
[2025-01-10 08:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 08:19:03] Production.INFO: ==28304== Lock acquired, processing the job...
[2025-01-10 08:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 08:19:03] Production.INFO: ==28306== Lock acquired, processing the job...
[2025-01-10 08:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 08:19:04] Production.INFO: ==28308== Lock acquired, processing the job...
[2025-01-10 08:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 08:19:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 08:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 08:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 08:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 08:19:04] Production.INFO: Account Balance Start.
[2025-01-10 08:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:19:04] Production.INFO: CreateAllLog Start
[2025-01-10 08:19:04] Production.INFO: 117
[2025-01-10 08:19:04] Production.INFO: Date 2025-01-08
[2025-01-10 08:19:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:19:04] Production.INFO: Date 2025-01-09
[2025-01-10 08:19:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:19:04] Production.INFO: count ==21
[2025-01-10 08:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:19:04] Production.INFO: count ==21
[2025-01-10 08:19:04] Production.INFO: ==28302== Releasing lock...
[2025-01-10 08:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 08:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 08:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215646') start
[2025-01-10 08:19:04] Production.INFO: Date 2025-01-10
[2025-01-10 08:19:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:19:04] Production.INFO: Total Charge 0
[2025-01-10 08:19:04] Production.INFO: CreateAllLog End
[2025-01-10 08:19:04] Production.ERROR: done
[2025-01-10 08:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 08:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215646') end
[2025-01-10 08:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 08:19:04] Production.INFO: 1
[2025-01-10 08:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 08:19:04] Production.INFO: ==28310== Releasing lock...
[2025-01-10 08:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 08:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 08:19:04] Production.INFO: Account Balance End.
[2025-01-10 08:19:04] Production.ERROR: done
[2025-01-10 08:19:04] Production.ERROR: CronJobId end 12
[2025-01-10 08:19:04] Production.INFO: ==28306== Releasing lock...
[2025-01-10 08:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 08:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 08:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 05:19:05
[end_date_ymd] => 2025-01-10 08:19:05
[RateCDR] => 1
)
[2025-01-10 08:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 05:19:05' and `end` < '2025-01-10 08:19:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 08:19:12] Production.ERROR: CronJobId end10
[2025-01-10 08:19:12] Production.INFO: ==28304== Releasing lock...
[2025-01-10 08:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 08:19:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 08:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 08:19:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 08:19:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 08:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 08:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 08:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 08:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 08:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 08:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 08:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 08:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 08:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 08:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 08:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 08:19:13] Production.INFO: call_cost start
[2025-01-10 08:19:13] Production.INFO: call_cost end
[2025-01-10 08:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 08:19:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 08:19:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 08:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 08:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 08:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 08:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 08:19:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 08:19:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 08:19:14] Production.INFO: ==28300== Releasing lock...
[2025-01-10 08:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 08:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 08:19:19] Production.INFO: count ==240
[2025-01-10 08:19:19] Production.ERROR: pbx CDR StartTime 2025-01-10 05:19:05 - End Time 2025-01-10 08:19:05
[2025-01-10 08:19:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 08:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215648', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215648', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215648', 'tblTempVendorCDR_20' ) start
[2025-01-10 08:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215648', 'tblTempVendorCDR_20' ) end
[2025-01-10 08:19:19] Production.INFO: ProcessCDR(1,14215648,1,1,2)
[2025-01-10 08:19:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215648,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:19:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215648,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:19:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215648,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:19:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215648,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215648', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215648', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:19:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:19:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:19:22] Production.INFO: ==28308== Releasing lock...
[2025-01-10 08:19:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 08:19:22] Production.INFO: 30 MB #Memory Used#
[2025-01-10 13:20:01] Production.INFO: ==28373== Lock acquired, processing the job...
[2025-01-10 13:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 13:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 13:20:01] Production.INFO: neon service started
[2025-01-10 13:20:01] Production.INFO: neon service started
[2025-01-10 13:20:01] Production.INFO: ==28373== Releasing lock...
[2025-01-10 13:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 13:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 08:20:02] Production.INFO: ==28375== Lock acquired, processing the job...
[2025-01-10 08:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 13:20:02] Production.INFO: ==28377== Lock acquired, processing the job...
[2025-01-10 13:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 13:20:02] Production.INFO: ==28377== Releasing lock...
[2025-01-10 13:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 13:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 08:20:02] Production.INFO: ==28375== Releasing lock...
[2025-01-10 08:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 08:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:20:03] Production.INFO: ==28387== Lock acquired, processing the job...
[2025-01-10 08:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 08:20:03] Production.INFO: ==28391== Lock acquired, processing the job...
[2025-01-10 08:20:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 08:20:03] Production.INFO: ==28393== Lock acquired, processing the job...
[2025-01-10 08:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 08:20:03] Production.INFO: ==28379== Lock acquired, processing the job...
[2025-01-10 08:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 08:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:20:03] Production.INFO: ==28381== Lock acquired, processing the job...
[2025-01-10 08:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 08:20:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:20:03] Production.INFO: Account Balance Start.
[2025-01-10 08:20:03] Production.INFO: CreateAllLog Start
[2025-01-10 08:20:03] Production.INFO: ==28383== Lock acquired, processing the job...
[2025-01-10 08:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 08:20:03] Production.INFO: 117
[2025-01-10 08:20:03] Production.INFO: count ==21
[2025-01-10 08:20:03] Production.INFO: ==28385== Lock acquired, processing the job...
[2025-01-10 08:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 08:20:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:20:03] Production.INFO: ==28389== Lock acquired, processing the job...
[2025-01-10 08:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 08:20:03] Production.INFO: count ==21
[2025-01-10 08:20:03] Production.INFO: Date 2025-01-08
[2025-01-10 08:20:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215650') start
[2025-01-10 08:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 08:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 08:20:03] Production.ERROR: CronJob PID - 28381
[2025-01-10 08:20:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-10 08:20:03] Production.ERROR: CronJob ID - 5
[2025-01-10 08:20:03] Production.ERROR: CronJob Last Run Time 2025-01-10 08:20:00
[2025-01-10 08:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 08:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 08:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 08:20:03] Production.ERROR: CronJob PID - 28383
[2025-01-10 08:20:03] Production.ERROR: CronJob Title - Account Block
[2025-01-10 08:20:03] Production.ERROR: CronJob ID - 7
[2025-01-10 08:20:03] Production.ERROR: CronJob Last Run Time 2025-01-10 08:20:00
[2025-01-10 08:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 08:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 08:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 08:20:03] Production.ERROR: CronJob PID - 28385
[2025-01-10 08:20:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-10 08:20:03] Production.ERROR: CronJob ID - 10
[2025-01-10 08:20:03] Production.ERROR: CronJob Last Run Time 2025-01-10 08:20:00
[2025-01-10 08:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 08:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 08:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 08:20:03] Production.ERROR: CronJob PID - 28387
[2025-01-10 08:20:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-10 08:20:03] Production.ERROR: CronJob ID - 12
[2025-01-10 08:20:03] Production.ERROR: CronJob Last Run Time 2025-01-10 08:20:00
[2025-01-10 08:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 08:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 08:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 08:20:03] Production.ERROR: CronJob PID - 28391
[2025-01-10 08:20:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-10 08:20:03] Production.ERROR: CronJob ID - 17
[2025-01-10 08:20:03] Production.ERROR: CronJob Last Run Time 2025-01-10 08:20:00
[2025-01-10 08:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 08:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 08:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 08:20:03] Production.ERROR: CronJob PID - 28393
[2025-01-10 08:20:03] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-10 08:20:03] Production.ERROR: CronJob ID - 19
[2025-01-10 08:20:03] Production.ERROR: CronJob Last Run Time 2025-01-10 08:20:00
[2025-01-10 08:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 08:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 08:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 08:20:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:20:04] Production.ERROR: done
[2025-01-10 08:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 08:20:04] Production.INFO: ==28379== Releasing lock...
[2025-01-10 08:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 08:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 08:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215650') end
[2025-01-10 08:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 08:20:04] Production.INFO: 1
[2025-01-10 08:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 08:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 08:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 08:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 08:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 08:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14215653', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 08:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 08:20:04] Production.INFO: Date 2025-01-09
[2025-01-10 08:20:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:20:04] Production.INFO: Date 2025-01-10
[2025-01-10 08:20:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:20:04] Production.INFO: ==28393== Releasing lock...
[2025-01-10 08:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 08:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 08:20:04] Production.INFO: Total Charge 0
[2025-01-10 08:20:04] Production.INFO: CreateAllLog End
[2025-01-10 08:20:04] Production.INFO: ==28383== Releasing lock...
[2025-01-10 08:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 08:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 08:20:04] Production.ERROR: done
[2025-01-10 08:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 08:20:04] Production.INFO: Account Balance End.
[2025-01-10 08:20:04] Production.ERROR: CronJobId end 12
[2025-01-10 08:20:04] Production.INFO: ==28387== Releasing lock...
[2025-01-10 08:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 08:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 08:20:04] Production.ERROR: done
[2025-01-10 08:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 05:20:05
[end_date_ymd] => 2025-01-10 08:20:05
[RateCDR] => 1
)
[2025-01-10 08:20:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 05:20:05' and `end` < '2025-01-10 08:20:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 08:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14215653', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 08:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 08:20:08] Production.INFO: ProcessCDR(1,14215653,1,1,2)
[2025-01-10 08:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14215653,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14215653,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:20:08] Production.INFO: ==28391== Releasing lock...
[2025-01-10 08:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 08:20:08] Production.INFO: 26 MB #Memory Used#
[2025-01-10 08:20:12] Production.ERROR: CronJobId end10
[2025-01-10 08:20:12] Production.INFO: ==28385== Releasing lock...
[2025-01-10 08:20:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 08:20:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 08:20:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 08:20:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 08:20:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 08:20:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 08:20:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 08:20:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 08:20:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 08:20:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 08:20:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 08:20:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 08:20:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 08:20:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 08:20:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 08:20:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 08:20:14] Production.INFO: call_cost start
[2025-01-10 08:20:14] Production.INFO: call_cost end
[2025-01-10 08:20:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 08:20:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 08:20:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 08:20:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 08:20:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 08:20:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 08:20:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 08:20:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 08:20:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 08:20:15] Production.INFO: ==28381== Releasing lock...
[2025-01-10 08:20:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 08:20:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 08:20:18] Production.INFO: count ==250
[2025-01-10 08:20:18] Production.ERROR: pbx CDR StartTime 2025-01-10 05:20:05 - End Time 2025-01-10 08:20:05
[2025-01-10 08:20:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 08:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215654', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215654', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215654', 'tblTempVendorCDR_20' ) start
[2025-01-10 08:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215654', 'tblTempVendorCDR_20' ) end
[2025-01-10 08:20:18] Production.INFO: ProcessCDR(1,14215654,1,1,2)
[2025-01-10 08:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215654,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:20:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215654,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:20:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215654,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:20:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215654,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215654', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215654', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:20:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:20:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:20:21] Production.INFO: ==28389== Releasing lock...
[2025-01-10 08:20:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 08:20:21] Production.INFO: 30.25 MB #Memory Used#
[2025-01-10 13:21:02] Production.INFO: ==28495== Lock acquired, processing the job...
[2025-01-10 13:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 13:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 13:21:02] Production.INFO: neon service started
[2025-01-10 13:21:02] Production.INFO: neon service started
[2025-01-10 13:21:02] Production.INFO: ==28495== Releasing lock...
[2025-01-10 13:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 13:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 08:21:02] Production.INFO: ==28497== Lock acquired, processing the job...
[2025-01-10 08:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:21:02] Production.INFO: ==28497== Releasing lock...
[2025-01-10 08:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 08:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 13:21:02] Production.INFO: ==28499== Lock acquired, processing the job...
[2025-01-10 13:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 13:21:02] Production.INFO: ==28499== Releasing lock...
[2025-01-10 13:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 13:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 08:21:03] Production.INFO: ==28501== Lock acquired, processing the job...
[2025-01-10 08:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 08:21:03] Production.INFO: ==28503== Lock acquired, processing the job...
[2025-01-10 08:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 08:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 08:21:03] Production.INFO: ==28507== Lock acquired, processing the job...
[2025-01-10 08:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 08:21:03] Production.INFO: ==28503== Releasing lock...
[2025-01-10 08:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 08:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 08:21:03] Production.INFO: ==28505== Lock acquired, processing the job...
[2025-01-10 08:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 08:21:03] Production.INFO: Account Balance Start.
[2025-01-10 08:21:03] Production.INFO: CreateAllLog Start
[2025-01-10 08:21:03] Production.INFO: 117
[2025-01-10 08:21:03] Production.INFO: Date 2025-01-08
[2025-01-10 08:21:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:21:03] Production.INFO: Date 2025-01-09
[2025-01-10 08:21:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:21:03] Production.INFO: Date 2025-01-10
[2025-01-10 08:21:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 08:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 08:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 08:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 08:21:03] Production.INFO: ==28509== Lock acquired, processing the job...
[2025-01-10 08:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 08:21:03] Production.INFO: Total Charge 0
[2025-01-10 08:21:03] Production.INFO: CreateAllLog End
[2025-01-10 08:21:04] Production.INFO: ==28511== Lock acquired, processing the job...
[2025-01-10 08:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 08:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:21:04] Production.INFO: Account Balance End.
[2025-01-10 08:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:21:04] Production.ERROR: CronJobId end 12
[2025-01-10 08:21:04] Production.INFO: ==28507== Releasing lock...
[2025-01-10 08:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 08:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 08:21:04] Production.INFO: count ==21
[2025-01-10 08:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:21:04] Production.ERROR: done
[2025-01-10 08:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 08:21:04] Production.INFO: count ==21
[2025-01-10 08:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215658') start
[2025-01-10 08:21:04] Production.ERROR: done
[2025-01-10 08:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215658') end
[2025-01-10 08:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 08:21:04] Production.INFO: 1
[2025-01-10 08:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 08:21:04] Production.INFO: ==28511== Releasing lock...
[2025-01-10 08:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 08:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 08:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 05:21:05
[end_date_ymd] => 2025-01-10 08:21:05
[RateCDR] => 1
)
[2025-01-10 08:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 05:21:05' and `end` < '2025-01-10 08:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 08:21:10] Production.ERROR: CronJobId end10
[2025-01-10 08:21:10] Production.INFO: ==28505== Releasing lock...
[2025-01-10 08:21:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 08:21:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 08:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 08:21:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 08:21:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 08:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 08:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 08:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 08:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 08:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 08:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 08:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 08:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 08:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 08:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 08:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 08:21:13] Production.INFO: call_cost start
[2025-01-10 08:21:13] Production.INFO: call_cost end
[2025-01-10 08:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 08:21:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 08:21:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 08:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 08:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 08:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 08:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 08:21:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 08:21:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 08:21:14] Production.INFO: ==28501== Releasing lock...
[2025-01-10 08:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 08:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 08:21:19] Production.INFO: count ==269
[2025-01-10 08:21:19] Production.ERROR: pbx CDR StartTime 2025-01-10 05:21:05 - End Time 2025-01-10 08:21:05
[2025-01-10 08:21:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 08:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215659', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215659', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215659', 'tblTempVendorCDR_20' ) start
[2025-01-10 08:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215659', 'tblTempVendorCDR_20' ) end
[2025-01-10 08:21:19] Production.INFO: ProcessCDR(1,14215659,1,1,2)
[2025-01-10 08:21:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215659,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:21:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215659,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:21:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215659,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:21:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215659,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215659', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215659', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:21:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:21:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:21:22] Production.INFO: ==28509== Releasing lock...
[2025-01-10 08:21:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 08:21:22] Production.INFO: 30.25 MB #Memory Used#
[2025-01-10 13:22:01] Production.INFO: ==28567== Lock acquired, processing the job...
[2025-01-10 13:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 13:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 13:22:01] Production.INFO: neon service started
[2025-01-10 13:22:01] Production.INFO: neon service started
[2025-01-10 13:22:01] Production.INFO: ==28567== Releasing lock...
[2025-01-10 13:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 13:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 08:22:02] Production.INFO: ==28569== Lock acquired, processing the job...
[2025-01-10 08:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 13:22:02] Production.INFO: ==28571== Lock acquired, processing the job...
[2025-01-10 13:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 13:22:02] Production.INFO: ==28571== Releasing lock...
[2025-01-10 13:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 13:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 08:22:02] Production.INFO: ==28569== Releasing lock...
[2025-01-10 08:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 08:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:22:03] Production.INFO: ==28576== Lock acquired, processing the job...
[2025-01-10 08:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 08:22:03] Production.INFO: ==28574== Lock acquired, processing the job...
[2025-01-10 08:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 08:22:03] Production.INFO: ==28580== Lock acquired, processing the job...
[2025-01-10 08:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 08:22:03] Production.INFO: ==28578== Lock acquired, processing the job...
[2025-01-10 08:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 08:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 08:22:03] Production.INFO: Account Balance Start.
[2025-01-10 08:22:03] Production.INFO: CreateAllLog Start
[2025-01-10 08:22:03] Production.INFO: 117
[2025-01-10 08:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 08:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 08:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 08:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 08:22:03] Production.INFO: ==28582== Lock acquired, processing the job...
[2025-01-10 08:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 08:22:03] Production.INFO: Date 2025-01-08
[2025-01-10 08:22:03] Production.INFO: ==28584== Lock acquired, processing the job...
[2025-01-10 08:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 08:22:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:22:03] Production.INFO: ==28576== Releasing lock...
[2025-01-10 08:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 08:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 08:22:03] Production.INFO: Date 2025-01-09
[2025-01-10 08:22:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:22:03] Production.INFO: Date 2025-01-10
[2025-01-10 08:22:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:22:03] Production.INFO: count ==21
[2025-01-10 08:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:22:04] Production.INFO: count ==21
[2025-01-10 08:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215663') start
[2025-01-10 08:22:04] Production.INFO: Total Charge 0
[2025-01-10 08:22:04] Production.INFO: CreateAllLog End
[2025-01-10 08:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215663') end
[2025-01-10 08:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 08:22:04] Production.INFO: 1
[2025-01-10 08:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 08:22:04] Production.ERROR: done
[2025-01-10 08:22:04] Production.INFO: ==28584== Releasing lock...
[2025-01-10 08:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 08:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 08:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 08:22:04] Production.ERROR: done
[2025-01-10 08:22:04] Production.INFO: Account Balance End.
[2025-01-10 08:22:04] Production.ERROR: CronJobId end 12
[2025-01-10 08:22:04] Production.INFO: ==28580== Releasing lock...
[2025-01-10 08:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 08:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 08:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 05:22:05
[end_date_ymd] => 2025-01-10 08:22:05
[RateCDR] => 1
)
[2025-01-10 08:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 05:22:05' and `end` < '2025-01-10 08:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 08:22:10] Production.ERROR: CronJobId end10
[2025-01-10 08:22:10] Production.INFO: ==28578== Releasing lock...
[2025-01-10 08:22:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 08:22:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 08:22:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 08:22:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 08:22:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 08:22:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 08:22:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 08:22:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 08:22:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 08:22:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 08:22:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 08:22:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 08:22:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 08:22:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 08:22:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 08:22:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 08:22:13] Production.INFO: call_cost start
[2025-01-10 08:22:13] Production.INFO: call_cost end
[2025-01-10 08:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 08:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 08:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 08:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 08:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 08:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 08:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 08:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 08:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 08:22:14] Production.INFO: ==28574== Releasing lock...
[2025-01-10 08:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 08:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 08:22:19] Production.INFO: count ==275
[2025-01-10 08:22:19] Production.ERROR: pbx CDR StartTime 2025-01-10 05:22:05 - End Time 2025-01-10 08:22:05
[2025-01-10 08:22:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 08:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215664', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215664', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215664', 'tblTempVendorCDR_20' ) start
[2025-01-10 08:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215664', 'tblTempVendorCDR_20' ) end
[2025-01-10 08:22:19] Production.INFO: ProcessCDR(1,14215664,1,1,2)
[2025-01-10 08:22:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215664,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:22:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215664,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215664,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215664,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215664', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215664', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:22:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:22:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:22:22] Production.INFO: ==28582== Releasing lock...
[2025-01-10 08:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 08:22:22] Production.INFO: 30.75 MB #Memory Used#
[2025-01-10 13:23:02] Production.INFO: ==28646== Lock acquired, processing the job...
[2025-01-10 13:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 13:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 13:23:02] Production.INFO: neon service started
[2025-01-10 13:23:02] Production.INFO: neon service started
[2025-01-10 13:23:02] Production.INFO: ==28646== Releasing lock...
[2025-01-10 13:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 13:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 08:23:02] Production.INFO: ==28648== Lock acquired, processing the job...
[2025-01-10 08:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:23:02] Production.INFO: ==28648== Releasing lock...
[2025-01-10 08:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 08:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 13:23:02] Production.INFO: ==28651== Lock acquired, processing the job...
[2025-01-10 13:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 13:23:02] Production.INFO: ==28651== Releasing lock...
[2025-01-10 13:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 13:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 08:23:03] Production.INFO: ==28653== Lock acquired, processing the job...
[2025-01-10 08:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 08:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 08:23:03] Production.INFO: ==28655== Lock acquired, processing the job...
[2025-01-10 08:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 08:23:03] Production.INFO: ==28663== Lock acquired, processing the job...
[2025-01-10 08:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 08:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:23:03] Production.INFO: ==28661== Lock acquired, processing the job...
[2025-01-10 08:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 08:23:03] Production.INFO: ==28657== Lock acquired, processing the job...
[2025-01-10 08:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 08:23:03] Production.INFO: count ==21
[2025-01-10 08:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:23:03] Production.INFO: ==28659== Lock acquired, processing the job...
[2025-01-10 08:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 08:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:23:03] Production.INFO: ==28655== Releasing lock...
[2025-01-10 08:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 08:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 08:23:03] Production.INFO: count ==21
[2025-01-10 08:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215667') start
[2025-01-10 08:23:03] Production.INFO: Account Balance Start.
[2025-01-10 08:23:03] Production.INFO: CreateAllLog Start
[2025-01-10 08:23:03] Production.INFO: 117
[2025-01-10 08:23:03] Production.INFO: Date 2025-01-08
[2025-01-10 08:23:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 08:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 08:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 08:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 08:23:04] Production.INFO: Date 2025-01-09
[2025-01-10 08:23:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215667') end
[2025-01-10 08:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 08:23:04] Production.INFO: 1
[2025-01-10 08:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 08:23:04] Production.INFO: Date 2025-01-10
[2025-01-10 08:23:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:23:04] Production.INFO: Total Charge 0
[2025-01-10 08:23:04] Production.INFO: ==28663== Releasing lock...
[2025-01-10 08:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 08:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 08:23:04] Production.INFO: CreateAllLog End
[2025-01-10 08:23:04] Production.ERROR: done
[2025-01-10 08:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 08:23:04] Production.ERROR: done
[2025-01-10 08:23:04] Production.INFO: Account Balance End.
[2025-01-10 08:23:04] Production.ERROR: CronJobId end 12
[2025-01-10 08:23:04] Production.INFO: ==28659== Releasing lock...
[2025-01-10 08:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 08:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 08:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 05:23:05
[end_date_ymd] => 2025-01-10 08:23:05
[RateCDR] => 1
)
[2025-01-10 08:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 05:23:05' and `end` < '2025-01-10 08:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 08:23:12] Production.ERROR: CronJobId end10
[2025-01-10 08:23:12] Production.INFO: ==28657== Releasing lock...
[2025-01-10 08:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 08:23:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 08:23:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 08:23:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 08:23:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 08:23:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 08:23:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 08:23:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 08:23:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 08:23:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 08:23:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 08:23:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 08:23:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 08:23:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 08:23:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 08:23:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 08:23:14] Production.INFO: call_cost start
[2025-01-10 08:23:14] Production.INFO: call_cost end
[2025-01-10 08:23:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 08:23:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 08:23:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 08:23:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 08:23:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 08:23:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 08:23:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 08:23:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 08:23:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 08:23:15] Production.INFO: ==28653== Releasing lock...
[2025-01-10 08:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 08:23:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 08:23:18] Production.INFO: count ==282
[2025-01-10 08:23:18] Production.ERROR: pbx CDR StartTime 2025-01-10 05:23:05 - End Time 2025-01-10 08:23:05
[2025-01-10 08:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 08:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215669', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215669', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215669', 'tblTempVendorCDR_20' ) start
[2025-01-10 08:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215669', 'tblTempVendorCDR_20' ) end
[2025-01-10 08:23:18] Production.INFO: ProcessCDR(1,14215669,1,1,2)
[2025-01-10 08:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215669,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215669,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215669,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215669,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215669', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215669', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:23:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:23:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:23:21] Production.INFO: ==28661== Releasing lock...
[2025-01-10 08:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 08:23:21] Production.INFO: 30.5 MB #Memory Used#
[2025-01-10 13:24:01] Production.INFO: ==28725== Lock acquired, processing the job...
[2025-01-10 13:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 13:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 13:24:01] Production.INFO: neon service started
[2025-01-10 13:24:01] Production.INFO: neon service started
[2025-01-10 13:24:01] Production.INFO: ==28725== Releasing lock...
[2025-01-10 13:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 13:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 08:24:01] Production.INFO: ==28727== Lock acquired, processing the job...
[2025-01-10 08:24:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:24:02] Production.INFO: ==28727== Releasing lock...
[2025-01-10 08:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 08:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 13:24:02] Production.INFO: ==28729== Lock acquired, processing the job...
[2025-01-10 13:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 13:24:02] Production.INFO: ==28729== Releasing lock...
[2025-01-10 13:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 13:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 08:24:03] Production.INFO: ==28739== Lock acquired, processing the job...
[2025-01-10 08:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 08:24:03] Production.INFO: ==28731== Lock acquired, processing the job...
[2025-01-10 08:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 08:24:03] Production.INFO: ==28741== Lock acquired, processing the job...
[2025-01-10 08:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 08:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:24:03] Production.INFO: ==28733== Lock acquired, processing the job...
[2025-01-10 08:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 08:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:24:03] Production.INFO: ==28735== Lock acquired, processing the job...
[2025-01-10 08:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 08:24:03] Production.INFO: ==28737== Lock acquired, processing the job...
[2025-01-10 08:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 08:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 08:24:03] Production.INFO: count ==21
[2025-01-10 08:24:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 08:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 08:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 08:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 08:24:03] Production.INFO: count ==21
[2025-01-10 08:24:03] Production.INFO: Account Balance Start.
[2025-01-10 08:24:03] Production.INFO: CreateAllLog Start
[2025-01-10 08:24:03] Production.INFO: 117
[2025-01-10 08:24:03] Production.INFO: Date 2025-01-08
[2025-01-10 08:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215670') start
[2025-01-10 08:24:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215670') end
[2025-01-10 08:24:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 08:24:03] Production.INFO: 1
[2025-01-10 08:24:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 08:24:03] Production.INFO: Date 2025-01-09
[2025-01-10 08:24:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:24:03] Production.ERROR: done
[2025-01-10 08:24:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 08:24:03] Production.INFO: ==28741== Releasing lock...
[2025-01-10 08:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 08:24:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 08:24:03] Production.ERROR: done
[2025-01-10 08:24:03] Production.INFO: Date 2025-01-10
[2025-01-10 08:24:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:24:03] Production.INFO: ==28733== Releasing lock...
[2025-01-10 08:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 08:24:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 08:24:03] Production.INFO: Total Charge 0
[2025-01-10 08:24:03] Production.INFO: CreateAllLog End
[2025-01-10 08:24:04] Production.INFO: Account Balance End.
[2025-01-10 08:24:04] Production.ERROR: CronJobId end 12
[2025-01-10 08:24:04] Production.INFO: ==28737== Releasing lock...
[2025-01-10 08:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 08:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 08:24:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 05:24:04
[end_date_ymd] => 2025-01-10 08:24:04
[RateCDR] => 1
)
[2025-01-10 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-01-10 05:24:04' and `end` < '2025-01-10 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-01-10 08:24:10] Production.ERROR: CronJobId end10
[2025-01-10 08:24:10] Production.INFO: ==28735== Releasing lock...
[2025-01-10 08:24:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 08:24:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 08:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 08:24:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 08:24:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 08:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 08:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 08:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 08:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 08:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 08:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 08:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 08:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 08:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 08:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 08:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 08:24:13] Production.INFO: call_cost start
[2025-01-10 08:24:13] Production.INFO: call_cost end
[2025-01-10 08:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 08:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 08:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 08:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 08:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 08:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 08:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 08:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 08:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 08:24:14] Production.INFO: ==28731== Releasing lock...
[2025-01-10 08:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 08:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 08:24:17] Production.INFO: count ==283
[2025-01-10 08:24:17] Production.ERROR: pbx CDR StartTime 2025-01-10 05:24:04 - End Time 2025-01-10 08:24:04
[2025-01-10 08:24:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 08:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215674', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215674', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215674', 'tblTempVendorCDR_20' ) start
[2025-01-10 08:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215674', 'tblTempVendorCDR_20' ) end
[2025-01-10 08:24:17] Production.INFO: ProcessCDR(1,14215674,1,1,2)
[2025-01-10 08:24:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215674,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:24:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215674,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:24:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215674,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:24:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215674,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215674', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215674', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:24:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:24:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:24:22] Production.INFO: ==28739== Releasing lock...
[2025-01-10 08:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 08:24:22] Production.INFO: 30.5 MB #Memory Used#
[2025-01-10 13:25:01] Production.INFO: ==28800== Lock acquired, processing the job...
[2025-01-10 13:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 13:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 13:25:01] Production.INFO: neon service started
[2025-01-10 13:25:01] Production.INFO: neon service started
[2025-01-10 13:25:01] Production.INFO: ==28800== Releasing lock...
[2025-01-10 13:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 13:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 08:25:02] Production.INFO: ==28802== Lock acquired, processing the job...
[2025-01-10 08:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:25:02] Production.INFO: ==28802== Releasing lock...
[2025-01-10 08:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 08:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 13:25:02] Production.INFO: ==28804== Lock acquired, processing the job...
[2025-01-10 13:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 13:25:02] Production.INFO: ==28804== Releasing lock...
[2025-01-10 13:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 13:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 08:25:03] Production.INFO: ==28815== Lock acquired, processing the job...
[2025-01-10 08:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 08:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:25:03] Production.INFO: ==28817== Lock acquired, processing the job...
[2025-01-10 08:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 08:25:03] Production.INFO: ==28807== Lock acquired, processing the job...
[2025-01-10 08:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 08:25:03] Production.INFO: ==28809== Lock acquired, processing the job...
[2025-01-10 08:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 08:25:03] Production.INFO: ==28811== Lock acquired, processing the job...
[2025-01-10 08:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 08:25:03] Production.INFO: ==28813== Lock acquired, processing the job...
[2025-01-10 08:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 08:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 08:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:25:03] Production.INFO: count ==21
[2025-01-10 08:25:03] Production.ERROR: done
[2025-01-10 08:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:25:03] Production.INFO: count ==21
[2025-01-10 08:25:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 08:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215675') start
[2025-01-10 08:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 08:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 08:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 08:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 08:25:03] Production.INFO: Account Balance Start.
[2025-01-10 08:25:03] Production.INFO: CreateAllLog Start
[2025-01-10 08:25:03] Production.INFO: 117
[2025-01-10 08:25:03] Production.INFO: Date 2025-01-08
[2025-01-10 08:25:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:25:03] Production.ERROR: done
[2025-01-10 08:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215675') end
[2025-01-10 08:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 08:25:03] Production.INFO: 1
[2025-01-10 08:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 08:25:03] Production.INFO: ==28809== Releasing lock...
[2025-01-10 08:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 08:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 08:25:03] Production.INFO: Date 2025-01-09
[2025-01-10 08:25:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:25:04] Production.INFO: Date 2025-01-10
[2025-01-10 08:25:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:25:04] Production.INFO: ==28817== Releasing lock...
[2025-01-10 08:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 08:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 08:25:04] Production.INFO: Total Charge 0
[2025-01-10 08:25:04] Production.INFO: CreateAllLog End
[2025-01-10 08:25:04] Production.INFO: Account Balance End.
[2025-01-10 08:25:04] Production.ERROR: CronJobId end 12
[2025-01-10 08:25:04] Production.INFO: ==28813== Releasing lock...
[2025-01-10 08:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 08:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 08:25:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 05:25:04
[end_date_ymd] => 2025-01-10 08:25:04
[RateCDR] => 1
)
[2025-01-10 08:25:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 05:25:04' and `end` < '2025-01-10 08:25:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 08:25:11] Production.ERROR: CronJobId end10
[2025-01-10 08:25:11] Production.INFO: ==28811== Releasing lock...
[2025-01-10 08:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 08:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 08:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 08:25:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 08:25:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 08:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 08:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 08:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 08:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 08:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 08:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 08:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 08:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 08:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 08:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 08:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 08:25:13] Production.INFO: call_cost start
[2025-01-10 08:25:13] Production.INFO: call_cost end
[2025-01-10 08:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 08:25:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 08:25:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 08:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 08:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 08:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 08:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 08:25:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 08:25:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 08:25:14] Production.INFO: ==28807== Releasing lock...
[2025-01-10 08:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 08:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 08:25:17] Production.INFO: count ==290
[2025-01-10 08:25:18] Production.ERROR: pbx CDR StartTime 2025-01-10 05:25:04 - End Time 2025-01-10 08:25:04
[2025-01-10 08:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 08:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215679', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215679', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215679', 'tblTempVendorCDR_20' ) start
[2025-01-10 08:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215679', 'tblTempVendorCDR_20' ) end
[2025-01-10 08:25:18] Production.INFO: ProcessCDR(1,14215679,1,1,2)
[2025-01-10 08:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215679,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:25:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215679,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:25:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215679,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:25:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215679,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215679', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215679', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:25:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:25:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:25:22] Production.INFO: ==28815== Releasing lock...
[2025-01-10 08:25:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 08:25:22] Production.INFO: 30.5 MB #Memory Used#
[2025-01-10 13:26:02] Production.INFO: ==28878== Lock acquired, processing the job...
[2025-01-10 13:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 13:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 13:26:02] Production.INFO: neon service started
[2025-01-10 13:26:02] Production.INFO: neon service started
[2025-01-10 13:26:02] Production.INFO: ==28878== Releasing lock...
[2025-01-10 13:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 13:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 08:26:02] Production.INFO: ==28880== Lock acquired, processing the job...
[2025-01-10 08:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:26:02] Production.INFO: ==28880== Releasing lock...
[2025-01-10 08:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 08:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 13:26:03] Production.INFO: ==28882== Lock acquired, processing the job...
[2025-01-10 13:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 13:26:03] Production.INFO: ==28882== Releasing lock...
[2025-01-10 13:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 13:26:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 08:26:03] Production.INFO: ==28888== Lock acquired, processing the job...
[2025-01-10 08:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 08:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 08:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 08:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 08:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 08:26:03] Production.INFO: ==28884== Lock acquired, processing the job...
[2025-01-10 08:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 08:26:03] Production.INFO: ==28886== Lock acquired, processing the job...
[2025-01-10 08:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 08:26:04] Production.INFO: ==28894== Lock acquired, processing the job...
[2025-01-10 08:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 08:26:04] Production.INFO: ==28890== Lock acquired, processing the job...
[2025-01-10 08:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 08:26:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 08:26:04] Production.INFO: ==28892== Lock acquired, processing the job...
[2025-01-10 08:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 08:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:26:04] Production.INFO: Account Balance Start.
[2025-01-10 08:26:04] Production.INFO: CreateAllLog Start
[2025-01-10 08:26:04] Production.INFO: 117
[2025-01-10 08:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:26:04] Production.INFO: Date 2025-01-08
[2025-01-10 08:26:04] Production.INFO: count ==21
[2025-01-10 08:26:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:26:04] Production.INFO: count ==21
[2025-01-10 08:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215683') start
[2025-01-10 08:26:04] Production.INFO: ==28886== Releasing lock...
[2025-01-10 08:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 08:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 08:26:04] Production.INFO: Date 2025-01-09
[2025-01-10 08:26:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:26:04] Production.INFO: Date 2025-01-10
[2025-01-10 08:26:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:26:04] Production.INFO: Total Charge 0
[2025-01-10 08:26:04] Production.ERROR: done
[2025-01-10 08:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215683') end
[2025-01-10 08:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 08:26:04] Production.INFO: 1
[2025-01-10 08:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 08:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 08:26:04] Production.INFO: CreateAllLog End
[2025-01-10 08:26:04] Production.INFO: ==28894== Releasing lock...
[2025-01-10 08:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 08:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 08:26:04] Production.INFO: Account Balance End.
[2025-01-10 08:26:04] Production.ERROR: CronJobId end 12
[2025-01-10 08:26:04] Production.INFO: ==28890== Releasing lock...
[2025-01-10 08:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 08:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 08:26:04] Production.ERROR: done
[2025-01-10 08:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 05:26:05
[end_date_ymd] => 2025-01-10 08:26:05
[RateCDR] => 1
)
[2025-01-10 08:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 05:26:05' and `end` < '2025-01-10 08:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 08:26:11] Production.ERROR: CronJobId end10
[2025-01-10 08:26:11] Production.INFO: ==28888== Releasing lock...
[2025-01-10 08:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 08:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 08:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 08:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 08:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 08:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 08:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 08:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 08:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 08:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 08:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 08:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 08:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 08:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 08:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 08:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 08:26:13] Production.INFO: call_cost start
[2025-01-10 08:26:13] Production.INFO: call_cost end
[2025-01-10 08:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 08:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 08:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 08:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 08:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 08:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 08:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 08:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 08:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 08:26:14] Production.INFO: ==28884== Releasing lock...
[2025-01-10 08:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 08:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 08:26:19] Production.INFO: count ==309
[2025-01-10 08:26:19] Production.ERROR: pbx CDR StartTime 2025-01-10 05:26:05 - End Time 2025-01-10 08:26:05
[2025-01-10 08:26:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 08:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215684', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215684', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215684', 'tblTempVendorCDR_20' ) start
[2025-01-10 08:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215684', 'tblTempVendorCDR_20' ) end
[2025-01-10 08:26:19] Production.INFO: ProcessCDR(1,14215684,1,1,2)
[2025-01-10 08:26:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215684,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:26:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215684,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:26:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215684,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:26:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215684,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:26:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215684', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:26:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215684', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:26:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:26:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:26:24] Production.INFO: ==28892== Releasing lock...
[2025-01-10 08:26:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 08:26:24] Production.INFO: 31.25 MB #Memory Used#
[2025-01-10 13:27:01] Production.INFO: ==28949== Lock acquired, processing the job...
[2025-01-10 13:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 13:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 13:27:01] Production.INFO: neon service started
[2025-01-10 13:27:01] Production.INFO: neon service started
[2025-01-10 13:27:01] Production.INFO: ==28949== Releasing lock...
[2025-01-10 13:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 13:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 08:27:02] Production.INFO: ==28951== Lock acquired, processing the job...
[2025-01-10 08:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:27:02] Production.INFO: ==28951== Releasing lock...
[2025-01-10 08:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 08:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 13:27:02] Production.INFO: ==28953== Lock acquired, processing the job...
[2025-01-10 13:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 13:27:02] Production.INFO: ==28953== Releasing lock...
[2025-01-10 13:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 13:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 08:27:03] Production.INFO: ==28955== Lock acquired, processing the job...
[2025-01-10 08:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 08:27:03] Production.INFO: ==28957== Lock acquired, processing the job...
[2025-01-10 08:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 08:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 08:27:03] Production.INFO: ==28963== Lock acquired, processing the job...
[2025-01-10 08:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 08:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:27:03] Production.INFO: ==28959== Lock acquired, processing the job...
[2025-01-10 08:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 08:27:03] Production.INFO: ==28961== Lock acquired, processing the job...
[2025-01-10 08:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 08:27:03] Production.INFO: ==28965== Lock acquired, processing the job...
[2025-01-10 08:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 08:27:03] Production.INFO: ==28957== Releasing lock...
[2025-01-10 08:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 08:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 08:27:03] Production.INFO: Account Balance Start.
[2025-01-10 08:27:03] Production.INFO: CreateAllLog Start
[2025-01-10 08:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 08:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 08:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 08:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 08:27:03] Production.INFO: 117
[2025-01-10 08:27:03] Production.INFO: Date 2025-01-08
[2025-01-10 08:27:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:27:03] Production.ERROR: done
[2025-01-10 08:27:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 08:27:03] Production.INFO: Date 2025-01-09
[2025-01-10 08:27:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:27:03] Production.INFO: Date 2025-01-10
[2025-01-10 08:27:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:27:03] Production.INFO: Total Charge 0
[2025-01-10 08:27:03] Production.INFO: CreateAllLog End
[2025-01-10 08:27:03] Production.INFO: count ==21
[2025-01-10 08:27:03] Production.ERROR: done
[2025-01-10 08:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:27:03] Production.INFO: count ==21
[2025-01-10 08:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215688') start
[2025-01-10 08:27:04] Production.INFO: Account Balance End.
[2025-01-10 08:27:04] Production.ERROR: CronJobId end 12
[2025-01-10 08:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215688') end
[2025-01-10 08:27:04] Production.INFO: ==28961== Releasing lock...
[2025-01-10 08:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 08:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 08:27:04] Production.INFO: 1
[2025-01-10 08:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 08:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 08:27:04] Production.INFO: ==28965== Releasing lock...
[2025-01-10 08:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 08:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 08:27:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 05:27:04
[end_date_ymd] => 2025-01-10 08:27:04
[RateCDR] => 1
)
[2025-01-10 08:27:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 05:27:04' and `end` < '2025-01-10 08:27:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 08:27:11] Production.ERROR: CronJobId end10
[2025-01-10 08:27:11] Production.INFO: ==28959== Releasing lock...
[2025-01-10 08:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 08:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 08:27:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 08:27:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 08:27:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 08:27:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 08:27:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 08:27:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 08:27:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 08:27:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 08:27:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 08:27:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 08:27:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 08:27:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 08:27:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 08:27:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 08:27:13] Production.INFO: call_cost start
[2025-01-10 08:27:13] Production.INFO: call_cost end
[2025-01-10 08:27:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 08:27:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 08:27:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 08:27:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 08:27:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 08:27:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 08:27:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 08:27:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 08:27:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 08:27:13] Production.INFO: ==28955== Releasing lock...
[2025-01-10 08:27:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 08:27:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 08:27:18] Production.INFO: count ==326
[2025-01-10 08:27:18] Production.ERROR: pbx CDR StartTime 2025-01-10 05:27:04 - End Time 2025-01-10 08:27:04
[2025-01-10 08:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 08:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215689', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215689', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215689', 'tblTempVendorCDR_20' ) start
[2025-01-10 08:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215689', 'tblTempVendorCDR_20' ) end
[2025-01-10 08:27:18] Production.INFO: ProcessCDR(1,14215689,1,1,2)
[2025-01-10 08:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215689,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215689,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215689,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215689,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215689', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215689', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:27:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:27:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:27:21] Production.INFO: ==28963== Releasing lock...
[2025-01-10 08:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 08:27:21] Production.INFO: 31 MB #Memory Used#
[2025-01-10 13:28:02] Production.INFO: ==29019== Lock acquired, processing the job...
[2025-01-10 13:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 13:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 13:28:02] Production.INFO: neon service started
[2025-01-10 13:28:02] Production.INFO: neon service started
[2025-01-10 13:28:02] Production.INFO: ==29019== Releasing lock...
[2025-01-10 13:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 13:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 13:28:02] Production.INFO: ==29023== Lock acquired, processing the job...
[2025-01-10 13:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 13:28:02] Production.INFO: ==29023== Releasing lock...
[2025-01-10 13:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 13:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 08:28:02] Production.INFO: ==29021== Lock acquired, processing the job...
[2025-01-10 08:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:28:03] Production.INFO: ==29021== Releasing lock...
[2025-01-10 08:28:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 08:28:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:28:03] Production.INFO: ==29030== Lock acquired, processing the job...
[2025-01-10 08:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 08:28:03] Production.INFO: ==29032== Lock acquired, processing the job...
[2025-01-10 08:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 08:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 08:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 08:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 08:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 08:28:03] Production.INFO: ==29034== Lock acquired, processing the job...
[2025-01-10 08:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 08:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:28:04] Production.INFO: ==29028== Lock acquired, processing the job...
[2025-01-10 08:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 08:28:04] Production.INFO: ==29026== Lock acquired, processing the job...
[2025-01-10 08:28:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 08:28:04] Production.INFO: Account Balance Start.
[2025-01-10 08:28:04] Production.INFO: CreateAllLog Start
[2025-01-10 08:28:04] Production.INFO: 117
[2025-01-10 08:28:04] Production.INFO: Date 2025-01-08
[2025-01-10 08:28:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:28:04] Production.INFO: ==29036== Lock acquired, processing the job...
[2025-01-10 08:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 08:28:04] Production.INFO: Date 2025-01-09
[2025-01-10 08:28:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:28:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 08:28:04] Production.ERROR: done
[2025-01-10 08:28:04] Production.INFO: Date 2025-01-10
[2025-01-10 08:28:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 08:28:04] Production.INFO: Total Charge 0
[2025-01-10 08:28:04] Production.INFO: CreateAllLog End
[2025-01-10 08:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:28:04] Production.INFO: count ==21
[2025-01-10 08:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:28:04] Production.INFO: count ==21
[2025-01-10 08:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215693') start
[2025-01-10 08:28:04] Production.ERROR: done
[2025-01-10 08:28:04] Production.INFO: Account Balance End.
[2025-01-10 08:28:04] Production.INFO: ==29028== Releasing lock...
[2025-01-10 08:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 08:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 08:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215693') end
[2025-01-10 08:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 08:28:04] Production.INFO: 1
[2025-01-10 08:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 08:28:04] Production.ERROR: CronJobId end 12
[2025-01-10 08:28:04] Production.INFO: ==29032== Releasing lock...
[2025-01-10 08:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 08:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 08:28:04] Production.INFO: ==29036== Releasing lock...
[2025-01-10 08:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 08:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 08:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 05:28:05
[end_date_ymd] => 2025-01-10 08:28:05
[RateCDR] => 1
)
[2025-01-10 08:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 05:28:05' and `end` < '2025-01-10 08:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 08:28:11] Production.ERROR: CronJobId end10
[2025-01-10 08:28:11] Production.INFO: ==29030== Releasing lock...
[2025-01-10 08:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 08:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 08:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 08:28:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 08:28:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 08:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 08:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 08:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 08:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 08:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 08:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 08:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 08:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 08:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 08:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 08:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 08:28:14] Production.INFO: call_cost start
[2025-01-10 08:28:14] Production.INFO: call_cost end
[2025-01-10 08:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 08:28:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 08:28:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 08:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 08:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 08:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 08:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 08:28:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 08:28:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 08:28:14] Production.INFO: ==29026== Releasing lock...
[2025-01-10 08:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 08:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 08:28:19] Production.INFO: count ==327
[2025-01-10 08:28:20] Production.ERROR: pbx CDR StartTime 2025-01-10 05:28:05 - End Time 2025-01-10 08:28:05
[2025-01-10 08:28:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 08:28:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215694', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:28:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215694', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:28:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215694', 'tblTempVendorCDR_20' ) start
[2025-01-10 08:28:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215694', 'tblTempVendorCDR_20' ) end
[2025-01-10 08:28:20] Production.INFO: ProcessCDR(1,14215694,1,1,2)
[2025-01-10 08:28:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215694,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:28:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215694,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:28:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215694,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:28:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215694,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:28:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215694', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:28:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215694', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:28:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:28:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:28:23] Production.INFO: ==29034== Releasing lock...
[2025-01-10 08:28:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 08:28:23] Production.INFO: 31 MB #Memory Used#
[2025-01-10 13:29:01] Production.INFO: ==29089== Lock acquired, processing the job...
[2025-01-10 13:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 13:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 13:29:01] Production.INFO: neon service started
[2025-01-10 13:29:01] Production.INFO: neon service started
[2025-01-10 13:29:01] Production.INFO: ==29089== Releasing lock...
[2025-01-10 13:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 13:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 13:29:01] Production.INFO: ==29093== Lock acquired, processing the job...
[2025-01-10 13:29:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 13:29:01] Production.INFO: ==29093== Releasing lock...
[2025-01-10 13:29:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 13:29:01] Production.INFO: 25 MB #Memory Used#
[2025-01-10 08:29:02] Production.INFO: ==29091== Lock acquired, processing the job...
[2025-01-10 08:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:29:02] Production.INFO: ==29091== Releasing lock...
[2025-01-10 08:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 08:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:29:03] Production.INFO: ==29100== Lock acquired, processing the job...
[2025-01-10 08:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 08:29:03] Production.INFO: ==29106== Lock acquired, processing the job...
[2025-01-10 08:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 08:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 08:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 08:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 08:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 08:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:29:03] Production.INFO: ==29096== Lock acquired, processing the job...
[2025-01-10 08:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 08:29:03] Production.INFO: count ==21
[2025-01-10 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-01-10 08:29:03] Production.INFO: ==29098== Lock acquired, processing the job...
[2025-01-10 08:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 08:29:03] Production.INFO: count ==21
[2025-01-10 08:29:03] Production.INFO: ==29102== Lock acquired, processing the job...
[2025-01-10 08:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 08:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215695') start
[2025-01-10 08:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 08:29:03] Production.INFO: ==29104== Lock acquired, processing the job...
[2025-01-10 08:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 08:29:03] Production.INFO: Account Balance Start.
[2025-01-10 08:29:03] Production.INFO: CreateAllLog Start
[2025-01-10 08:29:03] Production.INFO: 117
[2025-01-10 08:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:29:03] Production.INFO: Date 2025-01-08
[2025-01-10 08:29:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:29:03] Production.INFO: Date 2025-01-09
[2025-01-10 08:29:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215695') end
[2025-01-10 08:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 08:29:03] Production.INFO: 1
[2025-01-10 08:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 08:29:03] Production.INFO: ==29106== Releasing lock...
[2025-01-10 08:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 08:29:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 08:29:03] Production.INFO: Date 2025-01-10
[2025-01-10 08:29:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:29:03] Production.INFO: Total Charge 0
[2025-01-10 08:29:03] Production.INFO: CreateAllLog End
[2025-01-10 08:29:03] Production.INFO: ==29098== Releasing lock...
[2025-01-10 08:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 08:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 08:29:03] Production.ERROR: done
[2025-01-10 08:29:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 08:29:04] Production.INFO: Account Balance End.
[2025-01-10 08:29:04] Production.ERROR: CronJobId end 12
[2025-01-10 08:29:04] Production.INFO: ==29102== Releasing lock...
[2025-01-10 08:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 08:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 08:29:04] Production.ERROR: done
[2025-01-10 08:29:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 05:29:04
[end_date_ymd] => 2025-01-10 08:29:04
[RateCDR] => 1
)
[2025-01-10 08:29:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 05:29:04' and `end` < '2025-01-10 08:29:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 08:29:10] Production.ERROR: CronJobId end10
[2025-01-10 08:29:10] Production.INFO: ==29100== Releasing lock...
[2025-01-10 08:29:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 08:29:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 08:29:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 08:29:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 08:29:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 08:29:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 08:29:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 08:29:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 08:29:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 08:29:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 08:29:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 08:29:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 08:29:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 08:29:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 08:29:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 08:29:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 08:29:13] Production.INFO: call_cost start
[2025-01-10 08:29:13] Production.INFO: call_cost end
[2025-01-10 08:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 08:29:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 08:29:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 08:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 08:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 08:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 08:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 08:29:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 08:29:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 08:29:14] Production.INFO: ==29096== Releasing lock...
[2025-01-10 08:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 08:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 08:29:18] Production.INFO: count ==327
[2025-01-10 08:29:18] Production.ERROR: pbx CDR StartTime 2025-01-10 05:29:04 - End Time 2025-01-10 08:29:04
[2025-01-10 08:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 08:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215699', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215699', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215699', 'tblTempVendorCDR_20' ) start
[2025-01-10 08:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215699', 'tblTempVendorCDR_20' ) end
[2025-01-10 08:29:18] Production.INFO: ProcessCDR(1,14215699,1,1,2)
[2025-01-10 08:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215699,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215699,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215699,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:29:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215699,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215699', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215699', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:29:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:29:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:29:22] Production.INFO: ==29104== Releasing lock...
[2025-01-10 08:29:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 08:29:22] Production.INFO: 31 MB #Memory Used#
[2025-01-10 13:30:02] Production.INFO: ==29159== Lock acquired, processing the job...
[2025-01-10 13:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 13:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 13:30:02] Production.INFO: neon service started
[2025-01-10 13:30:02] Production.INFO: neon service started
[2025-01-10 13:30:02] Production.INFO: ==29159== Releasing lock...
[2025-01-10 13:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 13:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 08:30:02] Production.INFO: ==29161== Lock acquired, processing the job...
[2025-01-10 08:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 13:30:02] Production.INFO: ==29163== Lock acquired, processing the job...
[2025-01-10 13:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 13:30:02] Production.INFO: ==29163== Releasing lock...
[2025-01-10 13:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 13:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 08:30:02] Production.INFO: ==29161== Releasing lock...
[2025-01-10 08:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 08:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:30:03] Production.INFO: ==29166== Lock acquired, processing the job...
[2025-01-10 08:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 08:30:03] Production.INFO: ==29172== Lock acquired, processing the job...
[2025-01-10 08:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 08:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 08:30:03] Production.INFO: ==29174== Lock acquired, processing the job...
[2025-01-10 08:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 08:30:04] Production.INFO: ==29168== Lock acquired, processing the job...
[2025-01-10 08:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 08:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 08:30:04] Production.INFO: ==29166== Releasing lock...
[2025-01-10 08:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 08:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 08:30:04] Production.INFO: Account Balance Start.
[2025-01-10 08:30:04] Production.INFO: CreateAllLog Start
[2025-01-10 08:30:04] Production.INFO: 117
[2025-01-10 08:30:04] Production.INFO: Date 2025-01-08
[2025-01-10 08:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 08:30:04] Production.INFO: ==29178== Lock acquired, processing the job...
[2025-01-10 08:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 08:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 08:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 08:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 08:30:04] Production.INFO: ==29170== Lock acquired, processing the job...
[2025-01-10 08:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 08:30:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 08:30:04] Production.INFO: Date 2025-01-09
[2025-01-10 08:30:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:30:04] Production.INFO: Date 2025-01-10
[2025-01-10 08:30:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:30:04] Production.INFO: ==29176== Lock acquired, processing the job...
[2025-01-10 08:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 08:30:04] Production.INFO: ==29180== Lock acquired, processing the job...
[2025-01-10 08:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 08:30:04] Production.INFO: Total Charge 0
[2025-01-10 08:30:04] Production.INFO: CreateAllLog End
[2025-01-10 08:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:30:04] Production.INFO: count ==21
[2025-01-10 08:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:30:04] Production.INFO: count ==21
[2025-01-10 08:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215703') start
[2025-01-10 08:30:04] Production.INFO: ==29170== Releasing lock...
[2025-01-10 08:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 08:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 08:30:04] Production.ERROR: done
[2025-01-10 08:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 08:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14215704', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 08:30:04] Production.ERROR: done
[2025-01-10 08:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215703') end
[2025-01-10 08:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 08:30:04] Production.INFO: 1
[2025-01-10 08:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 08:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 08:30:04] Production.INFO: ==29180== Releasing lock...
[2025-01-10 08:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 08:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 08:30:04] Production.INFO: Account Balance End.
[2025-01-10 08:30:04] Production.ERROR: done
[2025-01-10 08:30:05] Production.ERROR: CronJobId end 12
[2025-01-10 08:30:05] Production.INFO: ==29174== Releasing lock...
[2025-01-10 08:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 08:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 08:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 05:30:06
[end_date_ymd] => 2025-01-10 08:30:06
[RateCDR] => 1
)
[2025-01-10 08:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 05:30:06' and `end` < '2025-01-10 08:30:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 08:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14215704', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 08:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 08:30:09] Production.INFO: ProcessCDR(1,14215704,1,1,2)
[2025-01-10 08:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14215704,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14215704,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:30:09] Production.INFO: ==29178== Releasing lock...
[2025-01-10 08:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 08:30:09] Production.INFO: 26 MB #Memory Used#
[2025-01-10 08:30:13] Production.ERROR: CronJobId end10
[2025-01-10 08:30:13] Production.INFO: ==29172== Releasing lock...
[2025-01-10 08:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 08:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 08:30:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 08:30:15] Production.INFO: ============== Balance Warning START===========
[2025-01-10 08:30:15] Production.INFO: ============== Balance Warning END===========
[2025-01-10 08:30:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 08:30:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 08:30:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 08:30:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 08:30:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 08:30:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 08:30:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 08:30:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 08:30:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 08:30:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 08:30:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 08:30:15] Production.INFO: call_cost start
[2025-01-10 08:30:15] Production.INFO: call_cost end
[2025-01-10 08:30:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 08:30:16] Production.INFO: ============== Report Schedule START===========
[2025-01-10 08:30:16] Production.INFO: ============== Report Schedule END===========
[2025-01-10 08:30:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 08:30:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 08:30:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 08:30:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 08:30:16] Production.INFO: ============== Deal alert START===========
[2025-01-10 08:30:16] Production.INFO: ============== Deal alert END===========
[2025-01-10 08:30:16] Production.INFO: ==29168== Releasing lock...
[2025-01-10 08:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 08:30:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 08:30:19] Production.INFO: count ==342
[2025-01-10 08:30:19] Production.ERROR: pbx CDR StartTime 2025-01-10 05:30:06 - End Time 2025-01-10 08:30:06
[2025-01-10 08:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 08:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215705', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215705', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215705', 'tblTempVendorCDR_20' ) start
[2025-01-10 08:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215705', 'tblTempVendorCDR_20' ) end
[2025-01-10 08:30:19] Production.INFO: ProcessCDR(1,14215705,1,1,2)
[2025-01-10 08:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215705,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:30:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215705,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:30:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215705,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:30:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215705,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215705', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:30:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215705', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:30:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:30:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:30:24] Production.INFO: ==29176== Releasing lock...
[2025-01-10 08:30:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 08:30:24] Production.INFO: 31 MB #Memory Used#
[2025-01-10 13:31:01] Production.INFO: ==29234== Lock acquired, processing the job...
[2025-01-10 13:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 13:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 13:31:01] Production.INFO: neon service started
[2025-01-10 13:31:01] Production.INFO: neon service started
[2025-01-10 13:31:01] Production.INFO: ==29234== Releasing lock...
[2025-01-10 13:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 13:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 08:31:01] Production.INFO: ==29236== Lock acquired, processing the job...
[2025-01-10 08:31:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:31:02] Production.INFO: ==29236== Releasing lock...
[2025-01-10 08:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 08:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 13:31:02] Production.INFO: ==29238== Lock acquired, processing the job...
[2025-01-10 13:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 13:31:02] Production.INFO: ==29238== Releasing lock...
[2025-01-10 13:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 13:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 08:31:02] Production.INFO: ==29240== Lock acquired, processing the job...
[2025-01-10 08:31:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 08:31:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 08:31:02] Production.INFO: ==29244== Lock acquired, processing the job...
[2025-01-10 08:31:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 08:31:02] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 08:31:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 08:31:02] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 08:31:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 08:31:02] Production.INFO: ==29248== Lock acquired, processing the job...
[2025-01-10 08:31:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 08:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:31:03] Production.INFO: ==29242== Lock acquired, processing the job...
[2025-01-10 08:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 08:31:03] Production.ERROR: done
[2025-01-10 08:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 08:31:03] Production.INFO: ==29246== Lock acquired, processing the job...
[2025-01-10 08:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 08:31:03] Production.INFO: ==29250== Lock acquired, processing the job...
[2025-01-10 08:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 08:31:03] Production.ERROR: done
[2025-01-10 08:31:03] Production.INFO: Account Balance Start.
[2025-01-10 08:31:03] Production.INFO: CreateAllLog Start
[2025-01-10 08:31:03] Production.INFO: 117
[2025-01-10 08:31:03] Production.INFO: Date 2025-01-08
[2025-01-10 08:31:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:31:03] Production.INFO: Date 2025-01-09
[2025-01-10 08:31:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:31:03] Production.INFO: Date 2025-01-10
[2025-01-10 08:31:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:31:03] Production.INFO: Total Charge 0
[2025-01-10 08:31:03] Production.INFO: CreateAllLog End
[2025-01-10 08:31:03] Production.INFO: count ==21
[2025-01-10 08:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:31:03] Production.INFO: count ==21
[2025-01-10 08:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215710') start
[2025-01-10 08:31:03] Production.INFO: Account Balance End.
[2025-01-10 08:31:03] Production.INFO: ==29242== Releasing lock...
[2025-01-10 08:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 08:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 08:31:03] Production.ERROR: CronJobId end 12
[2025-01-10 08:31:03] Production.INFO: ==29246== Releasing lock...
[2025-01-10 08:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 08:31:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 08:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215710') end
[2025-01-10 08:31:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 08:31:03] Production.INFO: 1
[2025-01-10 08:31:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 08:31:03] Production.INFO: ==29250== Releasing lock...
[2025-01-10 08:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 08:31:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 08:31:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 05:31:04
[end_date_ymd] => 2025-01-10 08:31:04
[RateCDR] => 1
)
[2025-01-10 08:31:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 05:31:04' and `end` < '2025-01-10 08:31:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 08:31:09] Production.ERROR: CronJobId end10
[2025-01-10 08:31:09] Production.INFO: ==29244== Releasing lock...
[2025-01-10 08:31:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 08:31:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 08:31:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 08:31:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 08:31:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 08:31:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 08:31:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 08:31:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 08:31:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 08:31:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 08:31:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 08:31:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 08:31:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 08:31:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 08:31:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 08:31:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 08:31:12] Production.INFO: call_cost start
[2025-01-10 08:31:12] Production.INFO: call_cost end
[2025-01-10 08:31:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 08:31:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 08:31:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 08:31:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 08:31:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 08:31:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 08:31:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 08:31:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 08:31:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 08:31:13] Production.INFO: ==29240== Releasing lock...
[2025-01-10 08:31:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 08:31:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 08:31:18] Production.INFO: count ==374
[2025-01-10 08:31:18] Production.ERROR: pbx CDR StartTime 2025-01-10 05:31:04 - End Time 2025-01-10 08:31:04
[2025-01-10 08:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 08:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215708', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215708', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215708', 'tblTempVendorCDR_20' ) start
[2025-01-10 08:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215708', 'tblTempVendorCDR_20' ) end
[2025-01-10 08:31:18] Production.INFO: ProcessCDR(1,14215708,1,1,2)
[2025-01-10 08:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215708,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215708,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215708,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215708,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215708', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215708', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:31:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:31:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:31:21] Production.INFO: ==29248== Releasing lock...
[2025-01-10 08:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 08:31:21] Production.INFO: 31 MB #Memory Used#
[2025-01-10 13:32:01] Production.INFO: ==29304== Lock acquired, processing the job...
[2025-01-10 13:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 13:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 13:32:01] Production.INFO: neon service started
[2025-01-10 13:32:01] Production.INFO: neon service started
[2025-01-10 13:32:01] Production.INFO: ==29304== Releasing lock...
[2025-01-10 13:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 13:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 08:32:02] Production.INFO: ==29306== Lock acquired, processing the job...
[2025-01-10 08:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:32:02] Production.INFO: ==29306== Releasing lock...
[2025-01-10 08:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 08:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 13:32:02] Production.INFO: ==29308== Lock acquired, processing the job...
[2025-01-10 13:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 13:32:02] Production.INFO: ==29308== Releasing lock...
[2025-01-10 13:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 13:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 08:32:03] Production.INFO: ==29315== Lock acquired, processing the job...
[2025-01-10 08:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 08:32:03] Production.INFO: ==29311== Lock acquired, processing the job...
[2025-01-10 08:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 08:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 08:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 08:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 08:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 08:32:03] Production.INFO: ==29321== Lock acquired, processing the job...
[2025-01-10 08:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 08:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 08:32:03] Production.INFO: ==29313== Lock acquired, processing the job...
[2025-01-10 08:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 08:32:03] Production.INFO: ==29317== Lock acquired, processing the job...
[2025-01-10 08:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 08:32:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:32:03] Production.INFO: count ==21
[2025-01-10 08:32:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:32:03] Production.INFO: count ==21
[2025-01-10 08:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215712') start
[2025-01-10 08:32:03] Production.INFO: ==29319== Lock acquired, processing the job...
[2025-01-10 08:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 08:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215712') end
[2025-01-10 08:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 08:32:04] Production.INFO: 1
[2025-01-10 08:32:04] Production.INFO: Account Balance Start.
[2025-01-10 08:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 08:32:04] Production.INFO: CreateAllLog Start
[2025-01-10 08:32:04] Production.INFO: 117
[2025-01-10 08:32:04] Production.INFO: Date 2025-01-08
[2025-01-10 08:32:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:32:04] Production.INFO: Date 2025-01-09
[2025-01-10 08:32:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:32:04] Production.INFO: ==29321== Releasing lock...
[2025-01-10 08:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 08:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 08:32:04] Production.INFO: Date 2025-01-10
[2025-01-10 08:32:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:32:04] Production.INFO: Total Charge 0
[2025-01-10 08:32:04] Production.INFO: ==29313== Releasing lock...
[2025-01-10 08:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 08:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 08:32:04] Production.INFO: CreateAllLog End
[2025-01-10 08:32:04] Production.ERROR: done
[2025-01-10 08:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 08:32:04] Production.INFO: Account Balance End.
[2025-01-10 08:32:04] Production.ERROR: done
[2025-01-10 08:32:04] Production.ERROR: CronJobId end 12
[2025-01-10 08:32:04] Production.INFO: ==29317== Releasing lock...
[2025-01-10 08:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 08:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 08:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 05:32:05
[end_date_ymd] => 2025-01-10 08:32:05
[RateCDR] => 1
)
[2025-01-10 08:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 05:32:05' and `end` < '2025-01-10 08:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 08:32:11] Production.ERROR: CronJobId end10
[2025-01-10 08:32:11] Production.INFO: ==29315== Releasing lock...
[2025-01-10 08:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 08:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 08:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 08:32:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 08:32:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 08:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 08:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 08:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 08:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 08:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 08:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 08:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 08:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 08:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 08:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 08:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 08:32:13] Production.INFO: call_cost start
[2025-01-10 08:32:13] Production.INFO: call_cost end
[2025-01-10 08:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 08:32:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 08:32:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 08:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 08:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 08:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 08:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 08:32:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 08:32:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 08:32:14] Production.INFO: ==29311== Releasing lock...
[2025-01-10 08:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 08:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 08:32:20] Production.INFO: count ==384
[2025-01-10 08:32:20] Production.ERROR: pbx CDR StartTime 2025-01-10 05:32:05 - End Time 2025-01-10 08:32:05
[2025-01-10 08:32:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 08:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215715', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215715', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215715', 'tblTempVendorCDR_20' ) start
[2025-01-10 08:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215715', 'tblTempVendorCDR_20' ) end
[2025-01-10 08:32:20] Production.INFO: ProcessCDR(1,14215715,1,1,2)
[2025-01-10 08:32:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215715,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:32:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215715,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:32:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215715,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:32:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215715,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215715', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215715', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:32:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:32:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:32:23] Production.INFO: ==29319== Releasing lock...
[2025-01-10 08:32:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 08:32:23] Production.INFO: 31.5 MB #Memory Used#
[2025-01-10 13:33:01] Production.INFO: ==29378== Lock acquired, processing the job...
[2025-01-10 13:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 13:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 13:33:01] Production.INFO: neon service started
[2025-01-10 13:33:01] Production.INFO: neon service started
[2025-01-10 13:33:01] Production.INFO: ==29378== Releasing lock...
[2025-01-10 13:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 13:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 08:33:02] Production.INFO: ==29380== Lock acquired, processing the job...
[2025-01-10 08:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 13:33:02] Production.INFO: ==29382== Lock acquired, processing the job...
[2025-01-10 13:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 13:33:02] Production.INFO: ==29382== Releasing lock...
[2025-01-10 13:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 13:33:02] Production.INFO: 26 MB #Memory Used#
[2025-01-10 08:33:02] Production.INFO: ==29380== Releasing lock...
[2025-01-10 08:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 08:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:33:03] Production.INFO: ==29389== Lock acquired, processing the job...
[2025-01-10 08:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 08:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 08:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 08:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 08:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 08:33:03] Production.INFO: ==29395== Lock acquired, processing the job...
[2025-01-10 08:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 08:33:03] Production.INFO: ==29385== Lock acquired, processing the job...
[2025-01-10 08:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 08:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:33:03] Production.INFO: ==29387== Lock acquired, processing the job...
[2025-01-10 08:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 08:33:03] Production.INFO: count ==21
[2025-01-10 08:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 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-01-10 08:33:03] Production.INFO: count ==21
[2025-01-10 08:33:03] Production.INFO: ==29391== Lock acquired, processing the job...
[2025-01-10 08:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 08:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215716') start
[2025-01-10 08:33:03] Production.INFO: ==29393== Lock acquired, processing the job...
[2025-01-10 08:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 08:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:33:03] Production.INFO: Account Balance Start.
[2025-01-10 08:33:03] Production.INFO: CreateAllLog Start
[2025-01-10 08:33:03] Production.INFO: 117
[2025-01-10 08:33:03] Production.INFO: Date 2025-01-08
[2025-01-10 08:33:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215716') end
[2025-01-10 08:33:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 08:33:03] Production.INFO: 1
[2025-01-10 08:33:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 08:33:03] Production.INFO: Date 2025-01-09
[2025-01-10 08:33:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:33:03] Production.INFO: ==29395== Releasing lock...
[2025-01-10 08:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 08:33:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 08:33:03] Production.INFO: Date 2025-01-10
[2025-01-10 08:33:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:33:03] Production.INFO: Total Charge 0
[2025-01-10 08:33:04] Production.INFO: CreateAllLog End
[2025-01-10 08:33:04] Production.ERROR: done
[2025-01-10 08:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 08:33:04] Production.ERROR: done
[2025-01-10 08:33:04] Production.INFO: ==29387== Releasing lock...
[2025-01-10 08:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 08:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 08:33:04] Production.INFO: Account Balance End.
[2025-01-10 08:33:04] Production.ERROR: CronJobId end 12
[2025-01-10 08:33:04] Production.INFO: ==29391== Releasing lock...
[2025-01-10 08:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 08:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 08:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 05:33:05
[end_date_ymd] => 2025-01-10 08:33:05
[RateCDR] => 1
)
[2025-01-10 08:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 05:33:05' and `end` < '2025-01-10 08:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 08:33:11] Production.ERROR: CronJobId end10
[2025-01-10 08:33:11] Production.INFO: ==29389== Releasing lock...
[2025-01-10 08:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 08:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 08:33:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 08:33:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 08:33:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 08:33:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 08:33:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 08:33:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 08:33:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 08:33:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 08:33:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 08:33:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 08:33:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 08:33:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 08:33:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 08:33:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 08:33:13] Production.INFO: call_cost start
[2025-01-10 08:33:13] Production.INFO: call_cost end
[2025-01-10 08:33:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 08:33:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 08:33:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 08:33:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 08:33:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 08:33:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 08:33:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 08:33:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 08:33:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 08:33:13] Production.INFO: ==29385== Releasing lock...
[2025-01-10 08:33:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 08:33:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 08:33:18] Production.INFO: count ==390
[2025-01-10 08:33:18] Production.ERROR: pbx CDR StartTime 2025-01-10 05:33:05 - End Time 2025-01-10 08:33:05
[2025-01-10 08:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 08:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215720', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215720', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215720', 'tblTempVendorCDR_20' ) start
[2025-01-10 08:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215720', 'tblTempVendorCDR_20' ) end
[2025-01-10 08:33:18] Production.INFO: ProcessCDR(1,14215720,1,1,2)
[2025-01-10 08:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215720,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215720,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215720,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:33:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215720,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215720', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215720', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:33:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:33:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:33:22] Production.INFO: ==29393== Releasing lock...
[2025-01-10 08:33:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 08:33:22] Production.INFO: 31.25 MB #Memory Used#
[2025-01-10 13:34:01] Production.INFO: ==29452== Lock acquired, processing the job...
[2025-01-10 13:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 13:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 13:34:01] Production.INFO: neon service started
[2025-01-10 13:34:01] Production.INFO: neon service started
[2025-01-10 13:34:01] Production.INFO: ==29452== Releasing lock...
[2025-01-10 13:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 13:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 08:34:02] Production.INFO: ==29455== Lock acquired, processing the job...
[2025-01-10 08:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:34:02] Production.INFO: ==29455== Releasing lock...
[2025-01-10 08:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 08:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 13:34:02] Production.INFO: ==29457== Lock acquired, processing the job...
[2025-01-10 13:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 13:34:02] Production.INFO: ==29457== Releasing lock...
[2025-01-10 13:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 13:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 08:34:03] Production.INFO: ==29463== Lock acquired, processing the job...
[2025-01-10 08:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 08:34:03] Production.INFO: ==29467== Lock acquired, processing the job...
[2025-01-10 08:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 08:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:34:03] Production.INFO: ==29459== Lock acquired, processing the job...
[2025-01-10 08:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 08:34:03] Production.INFO: ==29461== Lock acquired, processing the job...
[2025-01-10 08:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 08:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 08:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 08:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 08:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 08:34:03] Production.INFO: ==29465== Lock acquired, processing the job...
[2025-01-10 08:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 08:34:03] Production.INFO: ==29469== Lock acquired, processing the job...
[2025-01-10 08:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 08:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 08:34:03] Production.INFO: Account Balance Start.
[2025-01-10 08:34:03] Production.INFO: CreateAllLog Start
[2025-01-10 08:34:03] Production.INFO: 117
[2025-01-10 08:34:03] Production.INFO: Date 2025-01-08
[2025-01-10 08:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:34:03] Production.ERROR: done
[2025-01-10 08:34:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:34:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 08:34:03] Production.INFO: count ==21
[2025-01-10 08:34:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:34:03] Production.INFO: count ==21
[2025-01-10 08:34:04] Production.INFO: Date 2025-01-09
[2025-01-10 08:34:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:34:04] Production.ERROR: done
[2025-01-10 08:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215723') start
[2025-01-10 08:34:04] Production.INFO: Date 2025-01-10
[2025-01-10 08:34:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:34:04] Production.INFO: Total Charge 0
[2025-01-10 08:34:04] Production.INFO: CreateAllLog End
[2025-01-10 08:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215723') end
[2025-01-10 08:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 08:34:04] Production.INFO: 1
[2025-01-10 08:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 08:34:04] Production.INFO: Account Balance End.
[2025-01-10 08:34:04] Production.INFO: ==29461== Releasing lock...
[2025-01-10 08:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 08:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 08:34:04] Production.INFO: ==29469== Releasing lock...
[2025-01-10 08:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 08:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 08:34:04] Production.ERROR: CronJobId end 12
[2025-01-10 08:34:04] Production.INFO: ==29465== Releasing lock...
[2025-01-10 08:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 08:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 08:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 05:34:05
[end_date_ymd] => 2025-01-10 08:34:05
[RateCDR] => 1
)
[2025-01-10 08:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 05:34:05' and `end` < '2025-01-10 08:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 08:34:11] Production.ERROR: CronJobId end10
[2025-01-10 08:34:11] Production.INFO: ==29463== Releasing lock...
[2025-01-10 08:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 08:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 08:34:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 08:34:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 08:34:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 08:34:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 08:34:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 08:34:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 08:34:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 08:34:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 08:34:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 08:34:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 08:34:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 08:34:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 08:34:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 08:34:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 08:34:13] Production.INFO: call_cost start
[2025-01-10 08:34:13] Production.INFO: call_cost end
[2025-01-10 08:34:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 08:34:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 08:34:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 08:34:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 08:34:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 08:34:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 08:34:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 08:34:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 08:34:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 08:34:14] Production.INFO: ==29459== Releasing lock...
[2025-01-10 08:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 08:34:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 08:34:18] Production.INFO: count ==391
[2025-01-10 08:34:18] Production.ERROR: pbx CDR StartTime 2025-01-10 05:34:05 - End Time 2025-01-10 08:34:05
[2025-01-10 08:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 08:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215725', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215725', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215725', 'tblTempVendorCDR_20' ) start
[2025-01-10 08:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215725', 'tblTempVendorCDR_20' ) end
[2025-01-10 08:34:18] Production.INFO: ProcessCDR(1,14215725,1,1,2)
[2025-01-10 08:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215725,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215725,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215725,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215725,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215725', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215725', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:34:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:34:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:34:21] Production.INFO: ==29467== Releasing lock...
[2025-01-10 08:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 08:34:21] Production.INFO: 31.25 MB #Memory Used#
[2025-01-10 13:35:02] Production.INFO: ==29524== Lock acquired, processing the job...
[2025-01-10 13:35:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 13:35:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 13:35:02] Production.INFO: neon service started
[2025-01-10 13:35:02] Production.INFO: neon service started
[2025-01-10 13:35:02] Production.INFO: ==29524== Releasing lock...
[2025-01-10 13:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 13:35:02] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 08:35:02] Production.INFO: ==29526== Lock acquired, processing the job...
[2025-01-10 08:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 13:35:02] Production.INFO: ==29528== Lock acquired, processing the job...
[2025-01-10 13:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 08:35:02] Production.INFO: ==29526== Releasing lock...
[2025-01-10 08:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 08:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 13:35:02] Production.INFO: ==29528== Releasing lock...
[2025-01-10 13:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 13:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 08:35:03] Production.INFO: ==29531== Lock acquired, processing the job...
[2025-01-10 08:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 08:35:03] Production.INFO: ==29539== Lock acquired, processing the job...
[2025-01-10 08:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 08:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 08:35:03] Production.INFO: ==29533== Lock acquired, processing the job...
[2025-01-10 08:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 08:35:03] Production.INFO: ==29541== Lock acquired, processing the job...
[2025-01-10 08:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 08:35:03] Production.INFO: ==29535== Lock acquired, processing the job...
[2025-01-10 08:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 08:35:04] Production.INFO: ==29537== Lock acquired, processing the job...
[2025-01-10 08:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 08:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 08:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 08:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 08:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 08:35:04] Production.ERROR: done
[2025-01-10 08:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 08:35:04] Production.INFO: Account Balance Start.
[2025-01-10 08:35:04] Production.INFO: CreateAllLog Start
[2025-01-10 08:35:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:35:04] Production.INFO: 117
[2025-01-10 08:35:04] Production.INFO: ==29533== Releasing lock...
[2025-01-10 08:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 08:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 08:35:04] Production.INFO: Date 2025-01-08
[2025-01-10 08:35:04] Production.INFO: count ==21
[2025-01-10 08:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:35:04] Production.INFO: count ==21
[2025-01-10 08:35:04] Production.ERROR: done
[2025-01-10 08:35:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215728') start
[2025-01-10 08:35:04] Production.INFO: Date 2025-01-09
[2025-01-10 08:35:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:35:04] Production.INFO: Date 2025-01-10
[2025-01-10 08:35:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:35:04] Production.INFO: Total Charge 0
[2025-01-10 08:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215728') end
[2025-01-10 08:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 08:35:04] Production.INFO: 1
[2025-01-10 08:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 08:35:04] Production.INFO: CreateAllLog End
[2025-01-10 08:35:04] Production.INFO: ==29541== Releasing lock...
[2025-01-10 08:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 08:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 08:35:04] Production.INFO: Account Balance End.
[2025-01-10 08:35:04] Production.ERROR: CronJobId end 12
[2025-01-10 08:35:04] Production.INFO: ==29537== Releasing lock...
[2025-01-10 08:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 08:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 08:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 05:35:05
[end_date_ymd] => 2025-01-10 08:35:05
[RateCDR] => 1
)
[2025-01-10 08:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 05:35:05' and `end` < '2025-01-10 08:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 08:35:11] Production.ERROR: CronJobId end10
[2025-01-10 08:35:11] Production.INFO: ==29535== Releasing lock...
[2025-01-10 08:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 08:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 08:35:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 08:35:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 08:35:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 08:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 08:35:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 08:35:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 08:35:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 08:35:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 08:35:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 08:35:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 08:35:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 08:35:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 08:35:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 08:35:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 08:35:13] Production.INFO: call_cost start
[2025-01-10 08:35:13] Production.INFO: call_cost end
[2025-01-10 08:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 08:35:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 08:35:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 08:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 08:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 08:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 08:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 08:35:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 08:35:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 08:35:14] Production.INFO: ==29531== Releasing lock...
[2025-01-10 08:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 08:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 08:35:18] Production.INFO: count ==396
[2025-01-10 08:35:18] Production.ERROR: pbx CDR StartTime 2025-01-10 05:35:05 - End Time 2025-01-10 08:35:05
[2025-01-10 08:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 08:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215730', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215730', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215730', 'tblTempVendorCDR_20' ) start
[2025-01-10 08:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215730', 'tblTempVendorCDR_20' ) end
[2025-01-10 08:35:18] Production.INFO: ProcessCDR(1,14215730,1,1,2)
[2025-01-10 08:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215730,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215730,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215730,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215730,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215730', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215730', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:35:21] Production.INFO: ==29539== Releasing lock...
[2025-01-10 08:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 08:35:21] Production.INFO: 31.5 MB #Memory Used#
[2025-01-10 13:36:01] Production.INFO: ==29636== Lock acquired, processing the job...
[2025-01-10 13:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 13:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 13:36:01] Production.INFO: neon service started
[2025-01-10 13:36:01] Production.INFO: neon service started
[2025-01-10 13:36:01] Production.INFO: ==29636== Releasing lock...
[2025-01-10 13:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 13:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 08:36:01] Production.INFO: ==29638== Lock acquired, processing the job...
[2025-01-10 08:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:36:02] Production.INFO: ==29638== Releasing lock...
[2025-01-10 08:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 08:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 13:36:02] Production.INFO: ==29640== Lock acquired, processing the job...
[2025-01-10 13:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 13:36:02] Production.INFO: ==29640== Releasing lock...
[2025-01-10 13:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 13:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 08:36:03] Production.INFO: ==29646== Lock acquired, processing the job...
[2025-01-10 08:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 08:36:03] Production.INFO: ==29642== Lock acquired, processing the job...
[2025-01-10 08:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 08:36:03] Production.INFO: ==29650== Lock acquired, processing the job...
[2025-01-10 08:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 08:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 08:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 08:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 08:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 08:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:36:03] Production.INFO: ==29644== Lock acquired, processing the job...
[2025-01-10 08:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 08:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 08:36:03] Production.INFO: ==29648== Lock acquired, processing the job...
[2025-01-10 08:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 08:36:03] Production.INFO: ==29653== Lock acquired, processing the job...
[2025-01-10 08:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 08:36:03] Production.INFO: Account Balance Start.
[2025-01-10 08:36:03] Production.INFO: CreateAllLog Start
[2025-01-10 08:36:03] Production.INFO: 117
[2025-01-10 08:36:03] Production.INFO: Date 2025-01-08
[2025-01-10 08:36:03] Production.ERROR: done
[2025-01-10 08:36:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 08:36:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:36:03] Production.INFO: count ==21
[2025-01-10 08:36:03] Production.ERROR: done
[2025-01-10 08:36:03] Production.INFO: Date 2025-01-09
[2025-01-10 08:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:36:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:36:03] Production.INFO: count ==21
[2025-01-10 08:36:03] Production.INFO: ==29644== Releasing lock...
[2025-01-10 08:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 08:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 08:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215734') start
[2025-01-10 08:36:03] Production.INFO: Date 2025-01-10
[2025-01-10 08:36:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:36:03] Production.INFO: Total Charge 0
[2025-01-10 08:36:03] Production.INFO: CreateAllLog End
[2025-01-10 08:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215734') end
[2025-01-10 08:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 08:36:04] Production.INFO: 1
[2025-01-10 08:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 08:36:04] Production.INFO: ==29653== Releasing lock...
[2025-01-10 08:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 08:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 08:36:04] Production.INFO: Account Balance End.
[2025-01-10 08:36:04] Production.ERROR: CronJobId end 12
[2025-01-10 08:36:04] Production.INFO: ==29648== Releasing lock...
[2025-01-10 08:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 08:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 08:36:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 05:36:04
[end_date_ymd] => 2025-01-10 08:36:04
[RateCDR] => 1
)
[2025-01-10 08:36:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 05:36:04' and `end` < '2025-01-10 08:36:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 08:36:11] Production.ERROR: CronJobId end10
[2025-01-10 08:36:11] Production.INFO: ==29646== Releasing lock...
[2025-01-10 08:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 08:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 08:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 08:36:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 08:36:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 08:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 08:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 08:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 08:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 08:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 08:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 08:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 08:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 08:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 08:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 08:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 08:36:14] Production.INFO: call_cost start
[2025-01-10 08:36:14] Production.INFO: call_cost end
[2025-01-10 08:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 08:36:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 08:36:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 08:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 08:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 08:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 08:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 08:36:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 08:36:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 08:36:14] Production.INFO: ==29642== Releasing lock...
[2025-01-10 08:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 08:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 08:36:19] Production.INFO: count ==402
[2025-01-10 08:36:19] Production.ERROR: pbx CDR StartTime 2025-01-10 05:36:04 - End Time 2025-01-10 08:36:04
[2025-01-10 08:36:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 08:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215735', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215735', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215735', 'tblTempVendorCDR_20' ) start
[2025-01-10 08:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215735', 'tblTempVendorCDR_20' ) end
[2025-01-10 08:36:19] Production.INFO: ProcessCDR(1,14215735,1,1,2)
[2025-01-10 08:36:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215735,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:36:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215735,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:36:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215735,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215735,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215735', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215735', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:36:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:36:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:36:22] Production.INFO: ==29650== Releasing lock...
[2025-01-10 08:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 08:36:22] Production.INFO: 31.25 MB #Memory Used#
[2025-01-10 13:37:02] Production.INFO: ==29707== Lock acquired, processing the job...
[2025-01-10 13:37:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 13:37:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 13:37:02] Production.INFO: neon service started
[2025-01-10 13:37:02] Production.INFO: neon service started
[2025-01-10 13:37:02] Production.INFO: ==29707== Releasing lock...
[2025-01-10 13:37:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 13:37:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 08:37:02] Production.INFO: ==29709== Lock acquired, processing the job...
[2025-01-10 08:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:37:02] Production.INFO: ==29709== Releasing lock...
[2025-01-10 08:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 08:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 13:37:02] Production.INFO: ==29711== Lock acquired, processing the job...
[2025-01-10 13:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 13:37:02] Production.INFO: ==29711== Releasing lock...
[2025-01-10 13:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 13:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 08:37:03] Production.INFO: ==29724== Lock acquired, processing the job...
[2025-01-10 08:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 08:37:03] Production.INFO: ==29716== Lock acquired, processing the job...
[2025-01-10 08:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 08:37:03] Production.INFO: ==29714== Lock acquired, processing the job...
[2025-01-10 08:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 08:37:03] Production.INFO: ==29718== Lock acquired, processing the job...
[2025-01-10 08:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 08:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 08:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:37:03] Production.INFO: count ==21
[2025-01-10 08:37:03] Production.INFO: ==29720== Lock acquired, processing the job...
[2025-01-10 08:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 08:37:03] Production.INFO: ==29722== Lock acquired, processing the job...
[2025-01-10 08:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 08:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:37:03] Production.INFO: count ==21
[2025-01-10 08:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215736') start
[2025-01-10 08:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 08:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 08:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 08:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 08:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:37:03] Production.INFO: Account Balance Start.
[2025-01-10 08:37:03] Production.INFO: CreateAllLog Start
[2025-01-10 08:37:03] Production.INFO: 117
[2025-01-10 08:37:03] Production.INFO: Date 2025-01-08
[2025-01-10 08:37:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:37:03] Production.INFO: Date 2025-01-09
[2025-01-10 08:37:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215736') end
[2025-01-10 08:37:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 08:37:03] Production.INFO: 1
[2025-01-10 08:37:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 08:37:03] Production.INFO: Date 2025-01-10
[2025-01-10 08:37:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:37:03] Production.INFO: Total Charge 0
[2025-01-10 08:37:03] Production.INFO: CreateAllLog End
[2025-01-10 08:37:03] Production.INFO: ==29724== Releasing lock...
[2025-01-10 08:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 08:37:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 08:37:04] Production.INFO: ==29716== Releasing lock...
[2025-01-10 08:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 08:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 08:37:04] Production.ERROR: done
[2025-01-10 08:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 08:37:04] Production.ERROR: done
[2025-01-10 08:37:04] Production.INFO: Account Balance End.
[2025-01-10 08:37:04] Production.ERROR: CronJobId end 12
[2025-01-10 08:37:04] Production.INFO: ==29720== Releasing lock...
[2025-01-10 08:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 08:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 08:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 05:37:05
[end_date_ymd] => 2025-01-10 08:37:05
[RateCDR] => 1
)
[2025-01-10 08:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 05:37:05' and `end` < '2025-01-10 08:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 08:37:10] Production.ERROR: CronJobId end10
[2025-01-10 08:37:10] Production.INFO: ==29718== Releasing lock...
[2025-01-10 08:37:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 08:37:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 08:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 08:37:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 08:37:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 08:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 08:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 08:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 08:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 08:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 08:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 08:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 08:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 08:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 08:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 08:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 08:37:13] Production.INFO: call_cost start
[2025-01-10 08:37:13] Production.INFO: call_cost end
[2025-01-10 08:37:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 08:37:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 08:37:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 08:37:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 08:37:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 08:37:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 08:37:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 08:37:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 08:37:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 08:37:14] Production.INFO: ==29714== Releasing lock...
[2025-01-10 08:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 08:37:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 08:37:18] Production.INFO: count ==403
[2025-01-10 08:37:18] Production.ERROR: pbx CDR StartTime 2025-01-10 05:37:05 - End Time 2025-01-10 08:37:05
[2025-01-10 08:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 08:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215740', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215740', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215740', 'tblTempVendorCDR_20' ) start
[2025-01-10 08:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215740', 'tblTempVendorCDR_20' ) end
[2025-01-10 08:37:18] Production.INFO: ProcessCDR(1,14215740,1,1,2)
[2025-01-10 08:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215740,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215740,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215740,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215740,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215740', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215740', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:37:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:37:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:37:21] Production.INFO: ==29722== Releasing lock...
[2025-01-10 08:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 08:37:21] Production.INFO: 31.25 MB #Memory Used#
[2025-01-10 13:38:01] Production.INFO: ==29776== Lock acquired, processing the job...
[2025-01-10 13:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 13:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 13:38:01] Production.INFO: neon service started
[2025-01-10 13:38:01] Production.INFO: neon service started
[2025-01-10 13:38:01] Production.INFO: ==29776== Releasing lock...
[2025-01-10 13:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 13:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 08:38:01] Production.INFO: ==29778== Lock acquired, processing the job...
[2025-01-10 08:38:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:38:02] Production.INFO: ==29778== Releasing lock...
[2025-01-10 08:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 08:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 13:38:02] Production.INFO: ==29780== Lock acquired, processing the job...
[2025-01-10 13:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 13:38:02] Production.INFO: ==29780== Releasing lock...
[2025-01-10 13:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 13:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 08:38:02] Production.INFO: ==29787== Lock acquired, processing the job...
[2025-01-10 08:38:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 08:38:02] Production.INFO: ==29789== Lock acquired, processing the job...
[2025-01-10 08:38:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 08:38:03] Production.INFO: ==29783== Lock acquired, processing the job...
[2025-01-10 08:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 08:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 08:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 08:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 08:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 08:38:03] Production.INFO: ==29785== Lock acquired, processing the job...
[2025-01-10 08:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 08:38:03] Production.INFO: Account Balance Start.
[2025-01-10 08:38:03] Production.INFO: CreateAllLog Start
[2025-01-10 08:38:03] Production.INFO: 117
[2025-01-10 08:38:03] Production.INFO: ==29791== Lock acquired, processing the job...
[2025-01-10 08:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 08:38:03] Production.INFO: Date 2025-01-08
[2025-01-10 08:38:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 08:38:03] Production.INFO: ==29793== Lock acquired, processing the job...
[2025-01-10 08:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 08:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:38:03] Production.INFO: Date 2025-01-09
[2025-01-10 08:38:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:38:03] Production.INFO: Date 2025-01-10
[2025-01-10 08:38:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:38:03] Production.INFO: Total Charge 0
[2025-01-10 08:38:03] Production.INFO: CreateAllLog End
[2025-01-10 08:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:38:03] Production.INFO: count ==21
[2025-01-10 08:38:03] Production.INFO: ==29785== Releasing lock...
[2025-01-10 08:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 08:38:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 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-01-10 08:38:03] Production.INFO: count ==21
[2025-01-10 08:38:03] Production.ERROR: done
[2025-01-10 08:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215744') start
[2025-01-10 08:38:03] Production.INFO: Account Balance End.
[2025-01-10 08:38:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 08:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215744') end
[2025-01-10 08:38:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 08:38:03] Production.INFO: 1
[2025-01-10 08:38:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 08:38:03] Production.INFO: ==29793== Releasing lock...
[2025-01-10 08:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 08:38:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 08:38:03] Production.ERROR: CronJobId end 12
[2025-01-10 08:38:03] Production.INFO: ==29789== Releasing lock...
[2025-01-10 08:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 08:38:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 08:38:03] Production.ERROR: done
[2025-01-10 08:38:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 05:38:04
[end_date_ymd] => 2025-01-10 08:38:04
[RateCDR] => 1
)
[2025-01-10 08:38:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 05:38:04' and `end` < '2025-01-10 08:38:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 08:38:09] Production.ERROR: CronJobId end10
[2025-01-10 08:38:09] Production.INFO: ==29787== Releasing lock...
[2025-01-10 08:38:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 08:38:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 08:38:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 08:38:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 08:38:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 08:38:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 08:38:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 08:38:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 08:38:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 08:38:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 08:38:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 08:38:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 08:38:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 08:38:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 08:38:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 08:38:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 08:38:12] Production.INFO: call_cost start
[2025-01-10 08:38:12] Production.INFO: call_cost end
[2025-01-10 08:38:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 08:38:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 08:38:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 08:38:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 08:38:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 08:38:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 08:38:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 08:38:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 08:38:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 08:38:13] Production.INFO: ==29783== Releasing lock...
[2025-01-10 08:38:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 08:38:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 08:38:17] Production.INFO: count ==409
[2025-01-10 08:38:17] Production.ERROR: pbx CDR StartTime 2025-01-10 05:38:04 - End Time 2025-01-10 08:38:04
[2025-01-10 08:38:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 08:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215745', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215745', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215745', 'tblTempVendorCDR_20' ) start
[2025-01-10 08:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215745', 'tblTempVendorCDR_20' ) end
[2025-01-10 08:38:17] Production.INFO: ProcessCDR(1,14215745,1,1,2)
[2025-01-10 08:38:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215745,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:38:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215745,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:38:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215745,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:38:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215745,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:38:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215745', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215745', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:38:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:38:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:38:21] Production.INFO: ==29791== Releasing lock...
[2025-01-10 08:38:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 08:38:21] Production.INFO: 31.25 MB #Memory Used#
[2025-01-10 13:39:01] Production.INFO: ==29847== Lock acquired, processing the job...
[2025-01-10 13:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 13:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 13:39:01] Production.INFO: neon service started
[2025-01-10 13:39:01] Production.INFO: neon service started
[2025-01-10 13:39:01] Production.INFO: ==29847== Releasing lock...
[2025-01-10 13:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 13:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 08:39:02] Production.INFO: ==29849== Lock acquired, processing the job...
[2025-01-10 08:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:39:02] Production.INFO: ==29849== Releasing lock...
[2025-01-10 08:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 08:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 13:39:02] Production.INFO: ==29851== Lock acquired, processing the job...
[2025-01-10 13:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 13:39:02] Production.INFO: ==29851== Releasing lock...
[2025-01-10 13:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 13:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 08:39:03] Production.INFO: ==29856== Lock acquired, processing the job...
[2025-01-10 08:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 08:39:03] Production.INFO: ==29864== Lock acquired, processing the job...
[2025-01-10 08:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 08:39:03] Production.INFO: ==29854== Lock acquired, processing the job...
[2025-01-10 08:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 08:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:39:03] Production.INFO: ==29858== Lock acquired, processing the job...
[2025-01-10 08:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 08:39:03] Production.INFO: count ==21
[2025-01-10 08:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:39:03] Production.INFO: count ==21
[2025-01-10 08:39:03] Production.INFO: ==29860== Lock acquired, processing the job...
[2025-01-10 08:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 08:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 08:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215746') start
[2025-01-10 08:39:03] Production.INFO: ==29862== Lock acquired, processing the job...
[2025-01-10 08:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 08:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 08:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 08:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 08:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 08:39:03] Production.INFO: Account Balance Start.
[2025-01-10 08:39:03] Production.INFO: CreateAllLog Start
[2025-01-10 08:39:03] Production.INFO: 117
[2025-01-10 08:39:03] Production.INFO: Date 2025-01-08
[2025-01-10 08:39:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215746') end
[2025-01-10 08:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 08:39:03] Production.INFO: 1
[2025-01-10 08:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 08:39:03] Production.INFO: ==29856== Releasing lock...
[2025-01-10 08:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 08:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 08:39:03] Production.INFO: Date 2025-01-09
[2025-01-10 08:39:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:39:03] Production.INFO: ==29864== Releasing lock...
[2025-01-10 08:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 08:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 08:39:03] Production.INFO: Date 2025-01-10
[2025-01-10 08:39:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:39:03] Production.INFO: Total Charge 0
[2025-01-10 08:39:03] Production.INFO: CreateAllLog End
[2025-01-10 08:39:04] Production.ERROR: done
[2025-01-10 08:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 08:39:04] Production.INFO: Account Balance End.
[2025-01-10 08:39:04] Production.ERROR: CronJobId end 12
[2025-01-10 08:39:04] Production.INFO: ==29860== Releasing lock...
[2025-01-10 08:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 08:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 08:39:04] Production.ERROR: done
[2025-01-10 08:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 05:39:05
[end_date_ymd] => 2025-01-10 08:39:05
[RateCDR] => 1
)
[2025-01-10 08:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 05:39:05' and `end` < '2025-01-10 08:39:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 08:39:11] Production.ERROR: CronJobId end10
[2025-01-10 08:39:11] Production.INFO: ==29858== Releasing lock...
[2025-01-10 08:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 08:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 08:39:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 08:39:11] Production.INFO: ============== Balance Warning START===========
[2025-01-10 08:39:11] Production.INFO: ============== Balance Warning END===========
[2025-01-10 08:39:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 08:39:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 08:39:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 08:39:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 08:39:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 08:39:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 08:39:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 08:39:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 08:39:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 08:39:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 08:39:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 08:39:12] Production.INFO: call_cost start
[2025-01-10 08:39:12] Production.INFO: call_cost end
[2025-01-10 08:39:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 08:39:12] Production.INFO: ============== Report Schedule START===========
[2025-01-10 08:39:12] Production.INFO: ============== Report Schedule END===========
[2025-01-10 08:39:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 08:39:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 08:39:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 08:39:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 08:39:12] Production.INFO: ============== Deal alert START===========
[2025-01-10 08:39:12] Production.INFO: ============== Deal alert END===========
[2025-01-10 08:39:12] Production.INFO: ==29854== Releasing lock...
[2025-01-10 08:39:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 08:39:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 08:39:18] Production.INFO: count ==415
[2025-01-10 08:39:18] Production.ERROR: pbx CDR StartTime 2025-01-10 05:39:05 - End Time 2025-01-10 08:39:05
[2025-01-10 08:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 08:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215750', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215750', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215750', 'tblTempVendorCDR_20' ) start
[2025-01-10 08:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215750', 'tblTempVendorCDR_20' ) end
[2025-01-10 08:39:18] Production.INFO: ProcessCDR(1,14215750,1,1,2)
[2025-01-10 08:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215750,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:39:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215750,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:39:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215750,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:39:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215750,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215750', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215750', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:39:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:39:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:39:22] Production.INFO: ==29862== Releasing lock...
[2025-01-10 08:39:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 08:39:22] Production.INFO: 31.5 MB #Memory Used#
[2025-01-10 13:40:02] Production.INFO: ==29917== Lock acquired, processing the job...
[2025-01-10 13:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 13:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 13:40:02] Production.INFO: neon service started
[2025-01-10 13:40:02] Production.INFO: neon service started
[2025-01-10 13:40:02] Production.INFO: ==29917== Releasing lock...
[2025-01-10 13:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 13:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 08:40:02] Production.INFO: ==29919== Lock acquired, processing the job...
[2025-01-10 08:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 13:40:02] Production.INFO: ==29921== Lock acquired, processing the job...
[2025-01-10 13:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 13:40:03] Production.INFO: ==29921== Releasing lock...
[2025-01-10 13:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 13:40:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 08:40:03] Production.INFO: ==29919== Releasing lock...
[2025-01-10 08:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 08:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:40:04] Production.INFO: ==29923== Lock acquired, processing the job...
[2025-01-10 08:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 08:40:04] Production.INFO: ==29931== Lock acquired, processing the job...
[2025-01-10 08:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 08:40:04] Production.INFO: ==29933== Lock acquired, processing the job...
[2025-01-10 08:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 08:40:04] Production.INFO: ==29925== Lock acquired, processing the job...
[2025-01-10 08:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 08:40:04] Production.INFO: ==29935== Lock acquired, processing the job...
[2025-01-10 08:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 08:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:40:04] Production.INFO: Account Balance Start.
[2025-01-10 08:40:04] Production.INFO: CreateAllLog Start
[2025-01-10 08:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:40:04] Production.INFO: 117
[2025-01-10 08:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 08:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 08:40:04] Production.ERROR: CronJob PID - 29931
[2025-01-10 08:40:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-10 08:40:04] Production.ERROR: CronJob ID - 12
[2025-01-10 08:40:04] Production.ERROR: CronJob Last Run Time 2025-01-10 08:40:00
[2025-01-10 08:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 08:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 08:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 08:40:04] Production.ERROR: CronJob PID - 29933
[2025-01-10 08:40:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-10 08:40:04] Production.ERROR: CronJob ID - 16
[2025-01-10 08:40:04] Production.ERROR: CronJob Last Run Time 2025-01-10 08:40:00
[2025-01-10 08:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 08:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 08:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 08:40:04] Production.ERROR: CronJob PID - 29935
[2025-01-10 08:40:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-10 08:40:04] Production.ERROR: CronJob ID - 17
[2025-01-10 08:40:04] Production.ERROR: CronJob Last Run Time 2025-01-10 08:40:00
[2025-01-10 08:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 08:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 08:40:04] Production.INFO: Date 2025-01-08
[2025-01-10 08:40:04] Production.INFO: ==29927== Lock acquired, processing the job...
[2025-01-10 08:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 08:40:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 08:40:04] Production.INFO: ==29923== Releasing lock...
[2025-01-10 08:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 08:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 08:40:04] Production.INFO: ==29938== Lock acquired, processing the job...
[2025-01-10 08:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 08:40:04] Production.INFO: Date 2025-01-09
[2025-01-10 08:40:04] Production.INFO: ==29929== Lock acquired, processing the job...
[2025-01-10 08:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 08:40:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 08:40:04] Production.ERROR: done
[2025-01-10 08:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 08:40:04] Production.INFO: Date 2025-01-10
[2025-01-10 08:40:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:40:04] Production.INFO: count ==21
[2025-01-10 08:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:40:04] Production.INFO: count ==21
[2025-01-10 08:40:04] Production.ERROR: done
[2025-01-10 08:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215754') start
[2025-01-10 08:40:04] Production.ERROR: done
[2025-01-10 08:40:04] Production.INFO: Total Charge 0
[2025-01-10 08:40:04] Production.INFO: CreateAllLog End
[2025-01-10 08:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 08:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 08:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 08:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 08:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 08:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14215756', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 08:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215754') end
[2025-01-10 08:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 08:40:04] Production.INFO: 1
[2025-01-10 08:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 08:40:04] Production.INFO: Account Balance End.
[2025-01-10 08:40:04] Production.INFO: ==29927== Releasing lock...
[2025-01-10 08:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 08:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 08:40:04] Production.INFO: ==29938== Releasing lock...
[2025-01-10 08:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 08:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 08:40:04] Production.ERROR: CronJobId end 12
[2025-01-10 08:40:04] Production.INFO: ==29931== Releasing lock...
[2025-01-10 08:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 08:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 08:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 05:40:05
[end_date_ymd] => 2025-01-10 08:40:05
[RateCDR] => 1
)
[2025-01-10 08:40:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 05:40:05' and `end` < '2025-01-10 08:40:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 08:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14215756', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 08:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 08:40:09] Production.INFO: ProcessCDR(1,14215756,1,1,2)
[2025-01-10 08:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14215756,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14215756,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:40:09] Production.INFO: ==29935== Releasing lock...
[2025-01-10 08:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 08:40:09] Production.INFO: 26 MB #Memory Used#
[2025-01-10 08:40:15] Production.ERROR: CronJobId end10
[2025-01-10 08:40:15] Production.INFO: ==29929== Releasing lock...
[2025-01-10 08:40:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 08:40:15] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 08:40:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 08:40:15] Production.INFO: ============== Balance Warning START===========
[2025-01-10 08:40:15] Production.INFO: ============== Balance Warning END===========
[2025-01-10 08:40:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 08:40:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 08:40:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 08:40:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 08:40:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 08:40:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 08:40:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 08:40:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 08:40:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 08:40:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 08:40:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 08:40:15] Production.INFO: call_cost start
[2025-01-10 08:40:15] Production.INFO: call_cost end
[2025-01-10 08:40:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 08:40:16] Production.INFO: ============== Report Schedule START===========
[2025-01-10 08:40:16] Production.INFO: ============== Report Schedule END===========
[2025-01-10 08:40:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 08:40:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 08:40:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 08:40:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 08:40:16] Production.INFO: ============== Deal alert START===========
[2025-01-10 08:40:16] Production.INFO: ============== Deal alert END===========
[2025-01-10 08:40:16] Production.INFO: ==29925== Releasing lock...
[2025-01-10 08:40:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 08:40:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 08:40:18] Production.INFO: count ==421
[2025-01-10 08:40:18] Production.ERROR: pbx CDR StartTime 2025-01-10 05:40:05 - End Time 2025-01-10 08:40:05
[2025-01-10 08:40:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 08:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215755', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215755', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215755', 'tblTempVendorCDR_20' ) start
[2025-01-10 08:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215755', 'tblTempVendorCDR_20' ) end
[2025-01-10 08:40:18] Production.INFO: ProcessCDR(1,14215755,1,1,2)
[2025-01-10 08:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215755,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:40:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215755,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:40:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215755,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:40:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215755,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215755', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215755', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:40:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:40:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:40:23] Production.INFO: ==29933== Releasing lock...
[2025-01-10 08:40:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 08:40:23] Production.INFO: 31.75 MB #Memory Used#
[2025-01-10 13:41:01] Production.INFO: ==29991== Lock acquired, processing the job...
[2025-01-10 13:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 13:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 13:41:01] Production.INFO: neon service started
[2025-01-10 13:41:01] Production.INFO: neon service started
[2025-01-10 13:41:01] Production.INFO: ==29991== Releasing lock...
[2025-01-10 13:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 13:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 08:41:02] Production.INFO: ==29993== Lock acquired, processing the job...
[2025-01-10 08:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 13:41:02] Production.INFO: ==29995== Lock acquired, processing the job...
[2025-01-10 13:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 13:41:02] Production.INFO: ==29995== Releasing lock...
[2025-01-10 13:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 13:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 08:41:02] Production.INFO: ==29993== Releasing lock...
[2025-01-10 08:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 08:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:41:03] Production.INFO: ==30002== Lock acquired, processing the job...
[2025-01-10 08:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 08:41:03] Production.INFO: ==30004== Lock acquired, processing the job...
[2025-01-10 08:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 08:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 08:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 08:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 08:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 08:41:03] Production.INFO: Account Balance Start.
[2025-01-10 08:41:03] Production.INFO: CreateAllLog Start
[2025-01-10 08:41:03] Production.INFO: 117
[2025-01-10 08:41:03] Production.INFO: Date 2025-01-08
[2025-01-10 08:41:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:41:03] Production.INFO: ==29998== Lock acquired, processing the job...
[2025-01-10 08:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 08:41:03] Production.INFO: Date 2025-01-09
[2025-01-10 08:41:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:41:03] Production.INFO: Date 2025-01-10
[2025-01-10 08:41:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:41:03] Production.INFO: ==30000== Lock acquired, processing the job...
[2025-01-10 08:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 08:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 08:41:03] Production.INFO: Total Charge 0
[2025-01-10 08:41:03] Production.INFO: ==30006== Lock acquired, processing the job...
[2025-01-10 08:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 08:41:03] Production.INFO: CreateAllLog End
[2025-01-10 08:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:41:03] Production.INFO: ==30008== Lock acquired, processing the job...
[2025-01-10 08:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 08:41:03] Production.INFO: Account Balance End.
[2025-01-10 08:41:04] Production.ERROR: CronJobId end 12
[2025-01-10 08:41:04] Production.INFO: ==30004== Releasing lock...
[2025-01-10 08:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 08:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 08:41:04] Production.INFO: ==30000== Releasing lock...
[2025-01-10 08:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 08:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 08:41:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:41:04] Production.ERROR: done
[2025-01-10 08:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 08:41:04] Production.INFO: count ==21
[2025-01-10 08:41:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:41:04] Production.INFO: count ==21
[2025-01-10 08:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215760') start
[2025-01-10 08:41:04] Production.ERROR: done
[2025-01-10 08:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215760') end
[2025-01-10 08:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 08:41:04] Production.INFO: 1
[2025-01-10 08:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 08:41:04] Production.INFO: ==30008== Releasing lock...
[2025-01-10 08:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 08:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 08:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 05:41:05
[end_date_ymd] => 2025-01-10 08:41:05
[RateCDR] => 1
)
[2025-01-10 08:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 05:41:05' and `end` < '2025-01-10 08:41:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 08:41:11] Production.ERROR: CronJobId end10
[2025-01-10 08:41:11] Production.INFO: ==30002== Releasing lock...
[2025-01-10 08:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 08:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 08:41:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 08:41:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 08:41:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 08:41:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 08:41:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 08:41:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 08:41:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 08:41:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 08:41:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 08:41:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 08:41:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 08:41:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 08:41:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 08:41:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 08:41:13] Production.INFO: call_cost start
[2025-01-10 08:41:13] Production.INFO: call_cost end
[2025-01-10 08:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 08:41:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 08:41:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 08:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 08:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 08:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 08:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 08:41:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 08:41:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 08:41:14] Production.INFO: ==29998== Releasing lock...
[2025-01-10 08:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 08:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 08:41:18] Production.INFO: count ==442
[2025-01-10 08:41:18] Production.ERROR: pbx CDR StartTime 2025-01-10 05:41:05 - End Time 2025-01-10 08:41:05
[2025-01-10 08:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 08:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215761', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215761', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215761', 'tblTempVendorCDR_20' ) start
[2025-01-10 08:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215761', 'tblTempVendorCDR_20' ) end
[2025-01-10 08:41:18] Production.INFO: ProcessCDR(1,14215761,1,1,2)
[2025-01-10 08:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215761,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:41:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215761,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:41:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215761,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:41:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215761,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215761', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215761', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:41:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:41:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:41:22] Production.INFO: ==30006== Releasing lock...
[2025-01-10 08:41:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 08:41:22] Production.INFO: 32.25 MB #Memory Used#
[2025-01-10 13:42:02] Production.INFO: ==30062== Lock acquired, processing the job...
[2025-01-10 13:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 13:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 13:42:02] Production.INFO: neon service started
[2025-01-10 13:42:02] Production.INFO: neon service started
[2025-01-10 13:42:02] Production.INFO: ==30062== Releasing lock...
[2025-01-10 13:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 13:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 08:42:02] Production.INFO: ==30064== Lock acquired, processing the job...
[2025-01-10 08:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:42:02] Production.INFO: ==30064== Releasing lock...
[2025-01-10 08:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 08:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 13:42:02] Production.INFO: ==30066== Lock acquired, processing the job...
[2025-01-10 13:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 13:42:03] Production.INFO: ==30066== Releasing lock...
[2025-01-10 13:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 13:42:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 08:42:03] Production.INFO: ==30070== Lock acquired, processing the job...
[2025-01-10 08:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 08:42:03] Production.INFO: ==30078== Lock acquired, processing the job...
[2025-01-10 08:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 08:42:03] Production.INFO: ==30068== Lock acquired, processing the job...
[2025-01-10 08:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 08:42:03] Production.INFO: ==30074== Lock acquired, processing the job...
[2025-01-10 08:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 08:42:03] Production.INFO: ==30076== Lock acquired, processing the job...
[2025-01-10 08:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 08:42:03] Production.INFO: ==30072== Lock acquired, processing the job...
[2025-01-10 08:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 08:42:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:42:03] Production.INFO: Account Balance Start.
[2025-01-10 08:42:03] Production.INFO: CreateAllLog Start
[2025-01-10 08:42:03] Production.INFO: 117
[2025-01-10 08:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 08:42:03] Production.INFO: count ==21
[2025-01-10 08:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:42:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:42:03] Production.INFO: count ==21
[2025-01-10 08:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215763') start
[2025-01-10 08:42:03] Production.INFO: Date 2025-01-08
[2025-01-10 08:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 08:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 08:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 08:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 08:42:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:42:04] Production.INFO: ==30070== Releasing lock...
[2025-01-10 08:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 08:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 08:42:04] Production.INFO: Date 2025-01-09
[2025-01-10 08:42:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215763') end
[2025-01-10 08:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 08:42:04] Production.INFO: 1
[2025-01-10 08:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 08:42:04] Production.INFO: ==30078== Releasing lock...
[2025-01-10 08:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 08:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 08:42:04] Production.INFO: Date 2025-01-10
[2025-01-10 08:42:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:42:04] Production.ERROR: done
[2025-01-10 08:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 08:42:04] Production.INFO: Total Charge 0
[2025-01-10 08:42:04] Production.INFO: CreateAllLog End
[2025-01-10 08:42:04] Production.ERROR: done
[2025-01-10 08:42:04] Production.INFO: Account Balance End.
[2025-01-10 08:42:04] Production.ERROR: CronJobId end 12
[2025-01-10 08:42:04] Production.INFO: ==30074== Releasing lock...
[2025-01-10 08:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 08:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 08:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 05:42:05
[end_date_ymd] => 2025-01-10 08:42:05
[RateCDR] => 1
)
[2025-01-10 08:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 05:42:05' and `end` < '2025-01-10 08:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 08:42:11] Production.ERROR: CronJobId end10
[2025-01-10 08:42:11] Production.INFO: ==30072== Releasing lock...
[2025-01-10 08:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 08:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 08:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 08:42:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 08:42:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 08:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 08:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 08:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 08:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 08:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 08:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 08:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 08:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 08:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 08:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 08:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 08:42:13] Production.INFO: call_cost start
[2025-01-10 08:42:13] Production.INFO: call_cost end
[2025-01-10 08:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 08:42:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 08:42:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 08:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 08:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 08:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 08:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 08:42:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 08:42:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 08:42:14] Production.INFO: ==30068== Releasing lock...
[2025-01-10 08:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 08:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 08:42:18] Production.INFO: count ==454
[2025-01-10 08:42:18] Production.ERROR: pbx CDR StartTime 2025-01-10 05:42:05 - End Time 2025-01-10 08:42:05
[2025-01-10 08:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 08:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215766', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215766', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215766', 'tblTempVendorCDR_20' ) start
[2025-01-10 08:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215766', 'tblTempVendorCDR_20' ) end
[2025-01-10 08:42:18] Production.INFO: ProcessCDR(1,14215766,1,1,2)
[2025-01-10 08:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215766,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215766,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215766,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215766,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215766', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215766', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:42:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:42:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:42:21] Production.INFO: ==30076== Releasing lock...
[2025-01-10 08:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 08:42:21] Production.INFO: 32.25 MB #Memory Used#
[2025-01-10 13:43:01] Production.INFO: ==30133== Lock acquired, processing the job...
[2025-01-10 13:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 13:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 13:43:01] Production.INFO: neon service started
[2025-01-10 13:43:01] Production.INFO: neon service started
[2025-01-10 13:43:01] Production.INFO: ==30133== Releasing lock...
[2025-01-10 13:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 13:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 08:43:02] Production.INFO: ==30135== Lock acquired, processing the job...
[2025-01-10 08:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 13:43:02] Production.INFO: ==30137== Lock acquired, processing the job...
[2025-01-10 13:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 13:43:02] Production.INFO: ==30137== Releasing lock...
[2025-01-10 13:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 13:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 08:43:02] Production.INFO: ==30135== Releasing lock...
[2025-01-10 08:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 08:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:43:03] Production.INFO: ==30140== Lock acquired, processing the job...
[2025-01-10 08:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 08:43:03] Production.INFO: ==30142== Lock acquired, processing the job...
[2025-01-10 08:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 08:43:03] Production.INFO: ==30144== Lock acquired, processing the job...
[2025-01-10 08:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 08:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 08:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 08:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 08:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 08:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 08:43:03] Production.INFO: ==30146== Lock acquired, processing the job...
[2025-01-10 08:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 08:43:03] Production.INFO: ==30148== Lock acquired, processing the job...
[2025-01-10 08:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 08:43:03] Production.INFO: ==30142== Releasing lock...
[2025-01-10 08:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 08:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 08:43:03] Production.INFO: Account Balance Start.
[2025-01-10 08:43:03] Production.INFO: CreateAllLog Start
[2025-01-10 08:43:03] Production.INFO: 117
[2025-01-10 08:43:03] Production.INFO: Date 2025-01-08
[2025-01-10 08:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:43:03] Production.INFO: ==30150== Lock acquired, processing the job...
[2025-01-10 08:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 08:43:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:43:03] Production.INFO: Date 2025-01-09
[2025-01-10 08:43:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:43:04] Production.INFO: Date 2025-01-10
[2025-01-10 08:43:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:43:04] Production.INFO: Total Charge 0
[2025-01-10 08:43:04] Production.INFO: CreateAllLog End
[2025-01-10 08:43:04] Production.ERROR: done
[2025-01-10 08:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 08:43:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:43:04] Production.INFO: count ==21
[2025-01-10 08:43:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:43:04] Production.INFO: count ==21
[2025-01-10 08:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215770') start
[2025-01-10 08:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215770') end
[2025-01-10 08:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 08:43:04] Production.INFO: 1
[2025-01-10 08:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 08:43:04] Production.ERROR: done
[2025-01-10 08:43:04] Production.INFO: ==30150== Releasing lock...
[2025-01-10 08:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 08:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 08:43:04] Production.INFO: Account Balance End.
[2025-01-10 08:43:04] Production.ERROR: CronJobId end 12
[2025-01-10 08:43:04] Production.INFO: ==30146== Releasing lock...
[2025-01-10 08:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 08:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 08:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 05:43:05
[end_date_ymd] => 2025-01-10 08:43:05
[RateCDR] => 1
)
[2025-01-10 08:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 05:43:05' and `end` < '2025-01-10 08:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 08:43:11] Production.ERROR: CronJobId end10
[2025-01-10 08:43:11] Production.INFO: ==30144== Releasing lock...
[2025-01-10 08:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 08:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 08:43:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 08:43:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 08:43:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 08:43:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 08:43:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 08:43:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 08:43:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 08:43:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 08:43:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 08:43:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 08:43:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 08:43:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 08:43:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 08:43:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 08:43:13] Production.INFO: call_cost start
[2025-01-10 08:43:13] Production.INFO: call_cost end
[2025-01-10 08:43:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 08:43:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 08:43:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 08:43:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 08:43:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 08:43:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 08:43:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 08:43:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 08:43:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 08:43:14] Production.INFO: ==30140== Releasing lock...
[2025-01-10 08:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 08:43:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 08:43:18] Production.INFO: count ==467
[2025-01-10 08:43:18] Production.ERROR: pbx CDR StartTime 2025-01-10 05:43:05 - End Time 2025-01-10 08:43:05
[2025-01-10 08:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 08:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215771', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215771', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215771', 'tblTempVendorCDR_20' ) start
[2025-01-10 08:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215771', 'tblTempVendorCDR_20' ) end
[2025-01-10 08:43:18] Production.INFO: ProcessCDR(1,14215771,1,1,2)
[2025-01-10 08:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215771,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:43:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215771,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:43:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215771,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:43:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215771,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215771', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215771', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:43:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:43:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:43:23] Production.INFO: ==30148== Releasing lock...
[2025-01-10 08:43:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 08:43:23] Production.INFO: 32.5 MB #Memory Used#
[2025-01-10 13:44:02] Production.INFO: ==30204== Lock acquired, processing the job...
[2025-01-10 13:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 13:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 13:44:02] Production.INFO: neon service started
[2025-01-10 13:44:02] Production.INFO: neon service started
[2025-01-10 13:44:02] Production.INFO: ==30204== Releasing lock...
[2025-01-10 13:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 13:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 08:44:02] Production.INFO: ==30206== Lock acquired, processing the job...
[2025-01-10 08:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:44:02] Production.INFO: ==30206== Releasing lock...
[2025-01-10 08:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 08:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 13:44:02] Production.INFO: ==30209== Lock acquired, processing the job...
[2025-01-10 13:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 13:44:02] Production.INFO: ==30209== Releasing lock...
[2025-01-10 13:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 13:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 08:44:03] Production.INFO: ==30215== Lock acquired, processing the job...
[2025-01-10 08:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 08:44:03] Production.INFO: ==30221== Lock acquired, processing the job...
[2025-01-10 08:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 08:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:44:03] Production.INFO: ==30211== Lock acquired, processing the job...
[2025-01-10 08:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 08:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 08:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 08:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 08:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 08:44:03] Production.INFO: count ==21
[2025-01-10 08:44:03] Production.INFO: ==30213== Lock acquired, processing the job...
[2025-01-10 08:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 08:44:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:44:03] Production.INFO: count ==21
[2025-01-10 08:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215772') start
[2025-01-10 08:44:03] Production.INFO: ==30217== Lock acquired, processing the job...
[2025-01-10 08:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 08:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 08:44:03] Production.INFO: ==30219== Lock acquired, processing the job...
[2025-01-10 08:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 08:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215772') end
[2025-01-10 08:44:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 08:44:03] Production.INFO: 1
[2025-01-10 08:44:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 08:44:03] Production.INFO: Account Balance Start.
[2025-01-10 08:44:03] Production.INFO: CreateAllLog Start
[2025-01-10 08:44:03] Production.INFO: 117
[2025-01-10 08:44:04] Production.INFO: ==30221== Releasing lock...
[2025-01-10 08:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 08:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 08:44:04] Production.INFO: Date 2025-01-08
[2025-01-10 08:44:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:44:04] Production.INFO: ==30213== Releasing lock...
[2025-01-10 08:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 08:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 08:44:04] Production.ERROR: done
[2025-01-10 08:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 08:44:04] Production.INFO: Date 2025-01-09
[2025-01-10 08:44:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:44:04] Production.INFO: Date 2025-01-10
[2025-01-10 08:44:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:44:04] Production.INFO: Total Charge 0
[2025-01-10 08:44:04] Production.INFO: CreateAllLog End
[2025-01-10 08:44:04] Production.ERROR: done
[2025-01-10 08:44:04] Production.INFO: Account Balance End.
[2025-01-10 08:44:04] Production.ERROR: CronJobId end 12
[2025-01-10 08:44:04] Production.INFO: ==30217== Releasing lock...
[2025-01-10 08:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 08:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 08:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 05:44:05
[end_date_ymd] => 2025-01-10 08:44:05
[RateCDR] => 1
)
[2025-01-10 08:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 05:44:05' and `end` < '2025-01-10 08:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 08:44:11] Production.ERROR: CronJobId end10
[2025-01-10 08:44:11] Production.INFO: ==30215== Releasing lock...
[2025-01-10 08:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 08:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 08:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 08:44:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 08:44:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 08:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 08:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 08:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 08:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 08:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 08:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 08:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 08:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 08:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 08:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 08:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 08:44:13] Production.INFO: call_cost start
[2025-01-10 08:44:13] Production.INFO: call_cost end
[2025-01-10 08:44:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 08:44:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 08:44:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 08:44:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 08:44:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 08:44:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 08:44:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 08:44:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 08:44:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 08:44:14] Production.INFO: ==30211== Releasing lock...
[2025-01-10 08:44:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 08:44:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 08:44:19] Production.INFO: count ==473
[2025-01-10 08:44:19] Production.ERROR: pbx CDR StartTime 2025-01-10 05:44:05 - End Time 2025-01-10 08:44:05
[2025-01-10 08:44:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 08:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215776', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215776', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215776', 'tblTempVendorCDR_20' ) start
[2025-01-10 08:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215776', 'tblTempVendorCDR_20' ) end
[2025-01-10 08:44:19] Production.INFO: ProcessCDR(1,14215776,1,1,2)
[2025-01-10 08:44:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215776,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:44:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215776,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:44:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215776,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:44:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215776,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215776', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215776', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:44:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:44:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:44:22] Production.INFO: ==30219== Releasing lock...
[2025-01-10 08:44:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 08:44:22] Production.INFO: 32 MB #Memory Used#
[2025-01-10 13:45:01] Production.INFO: ==30275== Lock acquired, processing the job...
[2025-01-10 13:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 13:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 13:45:01] Production.INFO: neon service started
[2025-01-10 13:45:01] Production.INFO: neon service started
[2025-01-10 13:45:01] Production.INFO: ==30275== Releasing lock...
[2025-01-10 13:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 13:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 08:45:01] Production.INFO: ==30277== Lock acquired, processing the job...
[2025-01-10 08:45:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:45:02] Production.INFO: ==30277== Releasing lock...
[2025-01-10 08:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 08:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 13:45:02] Production.INFO: ==30279== Lock acquired, processing the job...
[2025-01-10 13:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 13:45:02] Production.INFO: ==30279== Releasing lock...
[2025-01-10 13:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 13:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 08:45:02] Production.INFO: ==30285== Lock acquired, processing the job...
[2025-01-10 08:45:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 08:45:02] Production.INFO: ==30281== Lock acquired, processing the job...
[2025-01-10 08:45:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 08:45:02] Production.INFO: ==30291== Lock acquired, processing the job...
[2025-01-10 08:45:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 08:45:03] Production.INFO: ==30283== Lock acquired, processing the job...
[2025-01-10 08:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 08:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 08:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 08:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 08:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 08:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 08:45:03] Production.INFO: ==30287== Lock acquired, processing the job...
[2025-01-10 08:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 08:45:03] Production.INFO: ==30289== Lock acquired, processing the job...
[2025-01-10 08:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 08:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:45:03] Production.INFO: Account Balance Start.
[2025-01-10 08:45:03] Production.INFO: CreateAllLog Start
[2025-01-10 08:45:03] Production.INFO: 117
[2025-01-10 08:45:03] Production.INFO: Date 2025-01-08
[2025-01-10 08:45:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:45:03] Production.INFO: count ==21
[2025-01-10 08:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:45:03] Production.INFO: count ==21
[2025-01-10 08:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215777') start
[2025-01-10 08:45:03] Production.INFO: Date 2025-01-09
[2025-01-10 08:45:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:45:03] Production.INFO: Date 2025-01-10
[2025-01-10 08:45:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:45:03] Production.INFO: Total Charge 0
[2025-01-10 08:45:03] Production.INFO: CreateAllLog End
[2025-01-10 08:45:03] Production.INFO: ==30283== Releasing lock...
[2025-01-10 08:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 08:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 08:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215777') end
[2025-01-10 08:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 08:45:03] Production.INFO: 1
[2025-01-10 08:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 08:45:03] Production.INFO: Account Balance End.
[2025-01-10 08:45:03] Production.INFO: ==30291== Releasing lock...
[2025-01-10 08:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 08:45:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 08:45:03] Production.ERROR: done
[2025-01-10 08:45:03] Production.ERROR: CronJobId end 12
[2025-01-10 08:45:03] Production.INFO: ==30287== Releasing lock...
[2025-01-10 08:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 08:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 08:45:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 08:45:03] Production.ERROR: done
[2025-01-10 08:45:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 05:45:04
[end_date_ymd] => 2025-01-10 08:45:04
[RateCDR] => 1
)
[2025-01-10 08:45:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 05:45:04' and `end` < '2025-01-10 08:45:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 08:45:11] Production.ERROR: CronJobId end10
[2025-01-10 08:45:11] Production.INFO: ==30285== Releasing lock...
[2025-01-10 08:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 08:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 08:45:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 08:45:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 08:45:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 08:45:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 08:45:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 08:45:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 08:45:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 08:45:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 08:45:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 08:45:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 08:45:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 08:45:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 08:45:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 08:45:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 08:45:13] Production.INFO: call_cost start
[2025-01-10 08:45:13] Production.INFO: call_cost end
[2025-01-10 08:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 08:45:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 08:45:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 08:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 08:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 08:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 08:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 08:45:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 08:45:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 08:45:14] Production.INFO: ==30281== Releasing lock...
[2025-01-10 08:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 08:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 08:45:17] Production.INFO: count ==483
[2025-01-10 08:45:17] Production.ERROR: pbx CDR StartTime 2025-01-10 05:45:04 - End Time 2025-01-10 08:45:04
[2025-01-10 08:45:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 08:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215781', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215781', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215781', 'tblTempVendorCDR_20' ) start
[2025-01-10 08:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215781', 'tblTempVendorCDR_20' ) end
[2025-01-10 08:45:17] Production.INFO: ProcessCDR(1,14215781,1,1,2)
[2025-01-10 08:45:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215781,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:45:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215781,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:45:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215781,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:45:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215781,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:45:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215781', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:45:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215781', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:45:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:45:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:45:20] Production.INFO: ==30289== Releasing lock...
[2025-01-10 08:45:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 08:45:20] Production.INFO: 32.5 MB #Memory Used#
[2025-01-10 13:46:01] Production.INFO: ==30344== Lock acquired, processing the job...
[2025-01-10 13:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 13:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 13:46:01] Production.INFO: neon service started
[2025-01-10 13:46:01] Production.INFO: neon service started
[2025-01-10 13:46:01] Production.INFO: ==30344== Releasing lock...
[2025-01-10 13:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 13:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 08:46:02] Production.INFO: ==30346== Lock acquired, processing the job...
[2025-01-10 08:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 13:46:02] Production.INFO: ==30348== Lock acquired, processing the job...
[2025-01-10 13:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 13:46:02] Production.INFO: ==30348== Releasing lock...
[2025-01-10 13:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 13:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 08:46:02] Production.INFO: ==30346== Releasing lock...
[2025-01-10 08:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 08:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:46:03] Production.INFO: ==30351== Lock acquired, processing the job...
[2025-01-10 08:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 08:46:03] Production.INFO: ==30353== Lock acquired, processing the job...
[2025-01-10 08:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 08:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 08:46:03] Production.INFO: ==30355== Lock acquired, processing the job...
[2025-01-10 08:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 08:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 08:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 08:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 08:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 08:46:04] Production.INFO: ==30353== Releasing lock...
[2025-01-10 08:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 08:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 08:46:04] Production.INFO: ==30357== Lock acquired, processing the job...
[2025-01-10 08:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 08:46:04] Production.INFO: ==30361== Lock acquired, processing the job...
[2025-01-10 08:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 08:46:04] Production.INFO: ==30359== Lock acquired, processing the job...
[2025-01-10 08:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 08:46:04] Production.INFO: Account Balance Start.
[2025-01-10 08:46:04] Production.INFO: CreateAllLog Start
[2025-01-10 08:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:46:04] Production.INFO: 117
[2025-01-10 08:46:04] Production.INFO: Date 2025-01-08
[2025-01-10 08:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:46:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:46:04] Production.INFO: count ==21
[2025-01-10 08:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:46:04] Production.INFO: count ==21
[2025-01-10 08:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215785') start
[2025-01-10 08:46:04] Production.INFO: Date 2025-01-09
[2025-01-10 08:46:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:46:04] Production.INFO: Date 2025-01-10
[2025-01-10 08:46:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215785') end
[2025-01-10 08:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 08:46:04] Production.INFO: 1
[2025-01-10 08:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 08:46:04] Production.INFO: Total Charge 0
[2025-01-10 08:46:04] Production.INFO: CreateAllLog End
[2025-01-10 08:46:04] Production.INFO: ==30361== Releasing lock...
[2025-01-10 08:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 08:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 08:46:04] Production.ERROR: done
[2025-01-10 08:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 08:46:04] Production.ERROR: done
[2025-01-10 08:46:04] Production.INFO: Account Balance End.
[2025-01-10 08:46:04] Production.ERROR: CronJobId end 12
[2025-01-10 08:46:04] Production.INFO: ==30357== Releasing lock...
[2025-01-10 08:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 08:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 08:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 05:46:05
[end_date_ymd] => 2025-01-10 08:46:05
[RateCDR] => 1
)
[2025-01-10 08:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 05:46:05' and `end` < '2025-01-10 08:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 08:46:11] Production.ERROR: CronJobId end10
[2025-01-10 08:46:11] Production.INFO: ==30355== Releasing lock...
[2025-01-10 08:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 08:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 08:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 08:46:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 08:46:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 08:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 08:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 08:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 08:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 08:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 08:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 08:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 08:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 08:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 08:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 08:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 08:46:13] Production.INFO: call_cost start
[2025-01-10 08:46:13] Production.INFO: call_cost end
[2025-01-10 08:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 08:46:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 08:46:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 08:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 08:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 08:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 08:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 08:46:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 08:46:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 08:46:14] Production.INFO: ==30351== Releasing lock...
[2025-01-10 08:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 08:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 08:46:18] Production.INFO: count ==491
[2025-01-10 08:46:18] Production.ERROR: pbx CDR StartTime 2025-01-10 05:46:05 - End Time 2025-01-10 08:46:05
[2025-01-10 08:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 08:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215786', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215786', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215786', 'tblTempVendorCDR_20' ) start
[2025-01-10 08:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215786', 'tblTempVendorCDR_20' ) end
[2025-01-10 08:46:18] Production.INFO: ProcessCDR(1,14215786,1,1,2)
[2025-01-10 08:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215786,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215786,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215786,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215786,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215786', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215786', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:46:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:46:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:46:22] Production.INFO: ==30359== Releasing lock...
[2025-01-10 08:46:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 08:46:22] Production.INFO: 32.25 MB #Memory Used#
[2025-01-10 13:47:01] Production.INFO: ==30420== Lock acquired, processing the job...
[2025-01-10 13:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 13:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 13:47:01] Production.INFO: neon service started
[2025-01-10 13:47:01] Production.INFO: neon service started
[2025-01-10 13:47:01] Production.INFO: ==30420== Releasing lock...
[2025-01-10 13:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 13:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 08:47:01] Production.INFO: ==30422== Lock acquired, processing the job...
[2025-01-10 08:47:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:47:02] Production.INFO: ==30422== Releasing lock...
[2025-01-10 08:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 08:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 13:47:02] Production.INFO: ==30424== Lock acquired, processing the job...
[2025-01-10 13:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 13:47:02] Production.INFO: ==30424== Releasing lock...
[2025-01-10 13:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 13:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 08:47:02] Production.INFO: ==30433== Lock acquired, processing the job...
[2025-01-10 08:47:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 08:47:03] Production.INFO: Account Balance Start.
[2025-01-10 08:47:03] Production.INFO: CreateAllLog Start
[2025-01-10 08:47:03] Production.INFO: 117
[2025-01-10 08:47:03] Production.INFO: Date 2025-01-08
[2025-01-10 08:47:03] Production.INFO: ==30437== Lock acquired, processing the job...
[2025-01-10 08:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 08:47:03] Production.INFO: ==30427== Lock acquired, processing the job...
[2025-01-10 08:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 08:47:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:47:03] Production.INFO: Date 2025-01-09
[2025-01-10 08:47:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 08:47:03] Production.INFO: ==30429== Lock acquired, processing the job...
[2025-01-10 08:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 08:47:03] Production.INFO: Date 2025-01-10
[2025-01-10 08:47:03] Production.INFO: ==30431== Lock acquired, processing the job...
[2025-01-10 08:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 08:47:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:47:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:47:03] Production.INFO: count ==21
[2025-01-10 08:47:03] Production.INFO: Total Charge 0
[2025-01-10 08:47:03] Production.INFO: CreateAllLog End
[2025-01-10 08:47:03] Production.INFO: ==30435== Lock acquired, processing the job...
[2025-01-10 08:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 08:47:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:47:03] Production.INFO: count ==21
[2025-01-10 08:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215788') start
[2025-01-10 08:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 08:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 08:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 08:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 08:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215788') end
[2025-01-10 08:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 08:47:03] Production.INFO: 1
[2025-01-10 08:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 08:47:03] Production.INFO: ==30437== Releasing lock...
[2025-01-10 08:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 08:47:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 08:47:03] Production.INFO: Account Balance End.
[2025-01-10 08:47:03] Production.INFO: ==30429== Releasing lock...
[2025-01-10 08:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 08:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 08:47:03] Production.ERROR: CronJobId end 12
[2025-01-10 08:47:03] Production.INFO: ==30433== Releasing lock...
[2025-01-10 08:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 08:47:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 08:47:03] Production.ERROR: done
[2025-01-10 08:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 08:47:03] Production.ERROR: done
[2025-01-10 08:47:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 05:47:04
[end_date_ymd] => 2025-01-10 08:47:04
[RateCDR] => 1
)
[2025-01-10 08:47:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 05:47:04' and `end` < '2025-01-10 08:47:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 08:47:11] Production.ERROR: CronJobId end10
[2025-01-10 08:47:11] Production.INFO: ==30431== Releasing lock...
[2025-01-10 08:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 08:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 08:47:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 08:47:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 08:47:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 08:47:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 08:47:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 08:47:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 08:47:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 08:47:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 08:47:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 08:47:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 08:47:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 08:47:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 08:47:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 08:47:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 08:47:12] Production.INFO: call_cost start
[2025-01-10 08:47:12] Production.INFO: call_cost end
[2025-01-10 08:47:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 08:47:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 08:47:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 08:47:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 08:47:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 08:47:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 08:47:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 08:47:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 08:47:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 08:47:13] Production.INFO: ==30427== Releasing lock...
[2025-01-10 08:47:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 08:47:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 08:47:17] Production.INFO: count ==512
[2025-01-10 08:47:18] Production.ERROR: pbx CDR StartTime 2025-01-10 05:47:04 - End Time 2025-01-10 08:47:04
[2025-01-10 08:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 08:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215791', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215791', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215791', 'tblTempVendorCDR_20' ) start
[2025-01-10 08:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215791', 'tblTempVendorCDR_20' ) end
[2025-01-10 08:47:18] Production.INFO: ProcessCDR(1,14215791,1,1,2)
[2025-01-10 08:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215791,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:47:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215791,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:47:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215791,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:47:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215791,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215791', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215791', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:47:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:47:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:47:22] Production.INFO: ==30435== Releasing lock...
[2025-01-10 08:47:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 08:47:22] Production.INFO: 33 MB #Memory Used#
[2025-01-10 13:48:01] Production.INFO: ==30493== Lock acquired, processing the job...
[2025-01-10 13:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 13:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 13:48:01] Production.INFO: neon service started
[2025-01-10 13:48:01] Production.INFO: neon service started
[2025-01-10 13:48:01] Production.INFO: ==30493== Releasing lock...
[2025-01-10 13:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 13:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 08:48:02] Production.INFO: ==30495== Lock acquired, processing the job...
[2025-01-10 08:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:48:02] Production.INFO: ==30495== Releasing lock...
[2025-01-10 08:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 08:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 13:48:03] Production.INFO: ==30497== Lock acquired, processing the job...
[2025-01-10 13:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 13:48:03] Production.INFO: ==30497== Releasing lock...
[2025-01-10 13:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 13:48:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 08:48:03] Production.INFO: ==30500== Lock acquired, processing the job...
[2025-01-10 08:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 08:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 08:48:03] Production.INFO: ==30502== Lock acquired, processing the job...
[2025-01-10 08:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 08:48:03] Production.INFO: ==30506== Lock acquired, processing the job...
[2025-01-10 08:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 08:48:03] Production.INFO: ==30504== Lock acquired, processing the job...
[2025-01-10 08:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 08:48:03] Production.INFO: Account Balance Start.
[2025-01-10 08:48:03] Production.INFO: CreateAllLog Start
[2025-01-10 08:48:03] Production.INFO: 117
[2025-01-10 08:48:03] Production.INFO: Date 2025-01-08
[2025-01-10 08:48:03] Production.INFO: ==30508== Lock acquired, processing the job...
[2025-01-10 08:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 08:48:03] Production.INFO: ==30510== Lock acquired, processing the job...
[2025-01-10 08:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 08:48:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:48:03] Production.INFO: Date 2025-01-09
[2025-01-10 08:48:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 08:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 08:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 08:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 08:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:48:03] Production.INFO: Date 2025-01-10
[2025-01-10 08:48:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:48:03] Production.INFO: Total Charge 0
[2025-01-10 08:48:03] Production.INFO: CreateAllLog End
[2025-01-10 08:48:03] Production.INFO: count ==21
[2025-01-10 08:48:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:48:03] Production.INFO: count ==21
[2025-01-10 08:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215795') start
[2025-01-10 08:48:04] Production.INFO: ==30502== Releasing lock...
[2025-01-10 08:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 08:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 08:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215795') end
[2025-01-10 08:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 08:48:04] Production.INFO: 1
[2025-01-10 08:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 08:48:04] Production.INFO: ==30510== Releasing lock...
[2025-01-10 08:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 08:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 08:48:04] Production.ERROR: done
[2025-01-10 08:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 08:48:04] Production.INFO: Account Balance End.
[2025-01-10 08:48:04] Production.ERROR: CronJobId end 12
[2025-01-10 08:48:04] Production.INFO: ==30506== Releasing lock...
[2025-01-10 08:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 08:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 08:48:04] Production.ERROR: done
[2025-01-10 08:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 05:48:05
[end_date_ymd] => 2025-01-10 08:48:05
[RateCDR] => 1
)
[2025-01-10 08:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 05:48:05' and `end` < '2025-01-10 08:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 08:48:11] Production.ERROR: CronJobId end10
[2025-01-10 08:48:11] Production.INFO: ==30504== Releasing lock...
[2025-01-10 08:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 08:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 08:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 08:48:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 08:48:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 08:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 08:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 08:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 08:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 08:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 08:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 08:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 08:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 08:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 08:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 08:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 08:48:14] Production.INFO: call_cost start
[2025-01-10 08:48:14] Production.INFO: call_cost end
[2025-01-10 08:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 08:48:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 08:48:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 08:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 08:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 08:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 08:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 08:48:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 08:48:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 08:48:14] Production.INFO: ==30500== Releasing lock...
[2025-01-10 08:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 08:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 08:48:18] Production.INFO: count ==522
[2025-01-10 08:48:18] Production.ERROR: pbx CDR StartTime 2025-01-10 05:48:05 - End Time 2025-01-10 08:48:05
[2025-01-10 08:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 08:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215796', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215796', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215796', 'tblTempVendorCDR_20' ) start
[2025-01-10 08:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215796', 'tblTempVendorCDR_20' ) end
[2025-01-10 08:48:18] Production.INFO: ProcessCDR(1,14215796,1,1,2)
[2025-01-10 08:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215796,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:48:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215796,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:48:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215796,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:48:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215796,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:48:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215796', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:48:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215796', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:48:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:48:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:48:24] Production.INFO: ==30508== Releasing lock...
[2025-01-10 08:48:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 08:48:24] Production.INFO: 32.5 MB #Memory Used#
[2025-01-10 13:49:02] Production.INFO: ==30565== Lock acquired, processing the job...
[2025-01-10 13:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 13:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 13:49:02] Production.INFO: neon service started
[2025-01-10 13:49:02] Production.INFO: neon service started
[2025-01-10 13:49:02] Production.INFO: ==30565== Releasing lock...
[2025-01-10 13:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 13:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 13:49:02] Production.INFO: ==30569== Lock acquired, processing the job...
[2025-01-10 13:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 13:49:02] Production.INFO: ==30569== Releasing lock...
[2025-01-10 13:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 13:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 08:49:02] Production.INFO: ==30567== Lock acquired, processing the job...
[2025-01-10 08:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:49:03] Production.INFO: ==30567== Releasing lock...
[2025-01-10 08:49:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 08:49:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:49:03] Production.INFO: ==30571== Lock acquired, processing the job...
[2025-01-10 08:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 08:49:03] Production.INFO: ==30575== Lock acquired, processing the job...
[2025-01-10 08:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 08:49:03] Production.INFO: ==30579== Lock acquired, processing the job...
[2025-01-10 08:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 08:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 08:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 08:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 08:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 08:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 08:49:04] Production.INFO: ==30573== Lock acquired, processing the job...
[2025-01-10 08:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 08:49:04] Production.INFO: ==30577== Lock acquired, processing the job...
[2025-01-10 08:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 08:49:04] Production.INFO: ==30581== Lock acquired, processing the job...
[2025-01-10 08:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 08:49:04] Production.ERROR: done
[2025-01-10 08:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 08:49:04] Production.INFO: Account Balance Start.
[2025-01-10 08:49:04] Production.INFO: CreateAllLog Start
[2025-01-10 08:49:04] Production.INFO: 117
[2025-01-10 08:49:04] Production.INFO: Date 2025-01-08
[2025-01-10 08:49:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:49:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:49:04] Production.INFO: count ==21
[2025-01-10 08:49:04] Production.ERROR: done
[2025-01-10 08:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:49:04] Production.INFO: count ==21
[2025-01-10 08:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215799') start
[2025-01-10 08:49:04] Production.INFO: Date 2025-01-09
[2025-01-10 08:49:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:49:04] Production.INFO: Date 2025-01-10
[2025-01-10 08:49:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:49:04] Production.INFO: Total Charge 0
[2025-01-10 08:49:04] Production.INFO: CreateAllLog End
[2025-01-10 08:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215799') end
[2025-01-10 08:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 08:49:04] Production.INFO: 1
[2025-01-10 08:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 08:49:04] Production.INFO: ==30581== Releasing lock...
[2025-01-10 08:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 08:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 08:49:04] Production.INFO: Account Balance End.
[2025-01-10 08:49:04] Production.ERROR: CronJobId end 12
[2025-01-10 08:49:04] Production.INFO: ==30577== Releasing lock...
[2025-01-10 08:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 08:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 08:49:04] Production.INFO: ==30573== Releasing lock...
[2025-01-10 08:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 08:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 08:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 05:49:05
[end_date_ymd] => 2025-01-10 08:49:05
[RateCDR] => 1
)
[2025-01-10 08:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 05:49:05' and `end` < '2025-01-10 08:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 08:49:12] Production.ERROR: CronJobId end10
[2025-01-10 08:49:12] Production.INFO: ==30575== Releasing lock...
[2025-01-10 08:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 08:49:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 08:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 08:49:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 08:49:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 08:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 08:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 08:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 08:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 08:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 08:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 08:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 08:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 08:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 08:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 08:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 08:49:14] Production.INFO: call_cost start
[2025-01-10 08:49:14] Production.INFO: call_cost end
[2025-01-10 08:49:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 08:49:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 08:49:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 08:49:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 08:49:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 08:49:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 08:49:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 08:49:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 08:49:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 08:49:15] Production.INFO: ==30571== Releasing lock...
[2025-01-10 08:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 08:49:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 08:49:18] Production.INFO: count ==530
[2025-01-10 08:49:18] Production.ERROR: pbx CDR StartTime 2025-01-10 05:49:05 - End Time 2025-01-10 08:49:05
[2025-01-10 08:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 08:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215801', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215801', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215801', 'tblTempVendorCDR_20' ) start
[2025-01-10 08:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215801', 'tblTempVendorCDR_20' ) end
[2025-01-10 08:49:19] Production.INFO: ProcessCDR(1,14215801,1,1,2)
[2025-01-10 08:49:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215801,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:49:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215801,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:49:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215801,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:49:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215801,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:49:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215801', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:49:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215801', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:49:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:49:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:49:23] Production.INFO: ==30579== Releasing lock...
[2025-01-10 08:49:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 08:49:23] Production.INFO: 32.75 MB #Memory Used#
[2025-01-10 13:50:01] Production.INFO: ==30634== Lock acquired, processing the job...
[2025-01-10 13:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 13:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 13:50:01] Production.INFO: neon service started
[2025-01-10 13:50:01] Production.INFO: neon service started
[2025-01-10 13:50:01] Production.INFO: ==30634== Releasing lock...
[2025-01-10 13:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 13:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 13:50:01] Production.INFO: ==30638== Lock acquired, processing the job...
[2025-01-10 13:50:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 13:50:01] Production.INFO: ==30638== Releasing lock...
[2025-01-10 13:50:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 13:50:01] Production.INFO: 25 MB #Memory Used#
[2025-01-10 08:50:02] Production.INFO: ==30636== Lock acquired, processing the job...
[2025-01-10 08:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:50:02] Production.INFO: ==30636== Releasing lock...
[2025-01-10 08:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 08:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:50:03] Production.INFO: ==30641== Lock acquired, processing the job...
[2025-01-10 08:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 08:50:03] Production.INFO: ==30643== Lock acquired, processing the job...
[2025-01-10 08:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 08:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 08:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 08:50:03] Production.INFO: ==30641== Releasing lock...
[2025-01-10 08:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 08:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 08:50:03] Production.INFO: ==30645== Lock acquired, processing the job...
[2025-01-10 08:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 08:50:03] Production.INFO: ==30647== Lock acquired, processing the job...
[2025-01-10 08:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 08:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 08:50:03] Production.INFO: ==30649== Lock acquired, processing the job...
[2025-01-10 08:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 08:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 08:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 08:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 08:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 08:50:03] Production.INFO: ==30651== Lock acquired, processing the job...
[2025-01-10 08:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 08:50:03] Production.INFO: Account Balance Start.
[2025-01-10 08:50:03] Production.INFO: CreateAllLog Start
[2025-01-10 08:50:03] Production.INFO: 117
[2025-01-10 08:50:03] Production.INFO: Date 2025-01-08
[2025-01-10 08:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:50:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:50:03] Production.INFO: ==30655== Lock acquired, processing the job...
[2025-01-10 08:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 08:50:03] Production.INFO: ==30653== Lock acquired, processing the job...
[2025-01-10 08:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 08:50:03] Production.INFO: Date 2025-01-09
[2025-01-10 08:50:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:50:03] Production.INFO: Date 2025-01-10
[2025-01-10 08:50:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:50:03] Production.INFO: Total Charge 0
[2025-01-10 08:50:03] Production.INFO: CreateAllLog End
[2025-01-10 08:50:03] Production.INFO: ==30645== Releasing lock...
[2025-01-10 08:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 08:50:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 08:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:50:04] Production.INFO: count ==21
[2025-01-10 08:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:50:04] Production.INFO: count ==21
[2025-01-10 08:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215805') start
[2025-01-10 08:50:04] Production.ERROR: done
[2025-01-10 08:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 08:50:04] Production.ERROR: done
[2025-01-10 08:50:04] Production.ERROR: done
[2025-01-10 08:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215805') end
[2025-01-10 08:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 08:50:04] Production.INFO: 1
[2025-01-10 08:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 08:50:04] Production.INFO: Account Balance End.
[2025-01-10 08:50:04] Production.ERROR: CronJobId end 12
[2025-01-10 08:50:04] Production.INFO: ==30649== Releasing lock...
[2025-01-10 08:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 08:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 08:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 08:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14215807', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 08:50:04] Production.INFO: ==30655== Releasing lock...
[2025-01-10 08:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 08:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 08:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 05:50:05
[end_date_ymd] => 2025-01-10 08:50:05
[RateCDR] => 1
)
[2025-01-10 08:50:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 05:50:05' and `end` < '2025-01-10 08:50:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 08:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14215807', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 08:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 08:50:08] Production.INFO: ProcessCDR(1,14215807,1,1,2)
[2025-01-10 08:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14215807,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14215807,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:50:08] Production.INFO: ==30653== Releasing lock...
[2025-01-10 08:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 08:50:08] Production.INFO: 26 MB #Memory Used#
[2025-01-10 08:50:12] Production.ERROR: CronJobId end10
[2025-01-10 08:50:12] Production.INFO: ==30647== Releasing lock...
[2025-01-10 08:50:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 08:50:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 08:50:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 08:50:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 08:50:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 08:50:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 08:50:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 08:50:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 08:50:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 08:50:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 08:50:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 08:50:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 08:50:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 08:50:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 08:50:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 08:50:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 08:50:15] Production.INFO: call_cost start
[2025-01-10 08:50:15] Production.INFO: call_cost end
[2025-01-10 08:50:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 08:50:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 08:50:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 08:50:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 08:50:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 08:50:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 08:50:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 08:50:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 08:50:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 08:50:15] Production.INFO: ==30643== Releasing lock...
[2025-01-10 08:50:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 08:50:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 08:50:18] Production.INFO: count ==551
[2025-01-10 08:50:18] Production.ERROR: pbx CDR StartTime 2025-01-10 05:50:05 - End Time 2025-01-10 08:50:05
[2025-01-10 08:50:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 08:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215806', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215806', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215806', 'tblTempVendorCDR_20' ) start
[2025-01-10 08:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215806', 'tblTempVendorCDR_20' ) end
[2025-01-10 08:50:18] Production.INFO: ProcessCDR(1,14215806,1,1,2)
[2025-01-10 08:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215806,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:50:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215806,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:50:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215806,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:50:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215806,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215806', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215806', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:50:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:50:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:50:23] Production.INFO: ==30651== Releasing lock...
[2025-01-10 08:50:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 08:50:23] Production.INFO: 33.25 MB #Memory Used#
[2025-01-10 13:51:02] Production.INFO: ==30711== Lock acquired, processing the job...
[2025-01-10 13:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 13:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 13:51:02] Production.INFO: neon service started
[2025-01-10 13:51:02] Production.INFO: neon service started
[2025-01-10 13:51:02] Production.INFO: ==30711== Releasing lock...
[2025-01-10 13:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 13:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 08:51:02] Production.INFO: ==30713== Lock acquired, processing the job...
[2025-01-10 08:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 13:51:02] Production.INFO: ==30715== Lock acquired, processing the job...
[2025-01-10 13:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 13:51:02] Production.INFO: ==30715== Releasing lock...
[2025-01-10 13:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 13:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 08:51:03] Production.INFO: ==30713== Releasing lock...
[2025-01-10 08:51:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 08:51:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:51:03] Production.INFO: ==30722== Lock acquired, processing the job...
[2025-01-10 08:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 08:51:03] Production.INFO: ==30728== Lock acquired, processing the job...
[2025-01-10 08:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 08:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 08:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 08:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 08:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 08:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:51:04] Production.INFO: count ==21
[2025-01-10 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-01-10 08:51:04] Production.INFO: count ==21
[2025-01-10 08:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215808') start
[2025-01-10 08:51:04] Production.INFO: ==30718== Lock acquired, processing the job...
[2025-01-10 08:51:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 08:51:04] Production.INFO: ==30720== Lock acquired, processing the job...
[2025-01-10 08:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 08:51:04] Production.INFO: ==30724== Lock acquired, processing the job...
[2025-01-10 08:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 08:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215808') end
[2025-01-10 08:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 08:51:04] Production.INFO: 1
[2025-01-10 08:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 08:51:04] Production.INFO: ==30728== Releasing lock...
[2025-01-10 08:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 08:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 08:51:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 08:51:04] Production.INFO: ==30726== Lock acquired, processing the job...
[2025-01-10 08:51:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 08:51:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:51:04] Production.INFO: Account Balance Start.
[2025-01-10 08:51:04] Production.INFO: CreateAllLog Start
[2025-01-10 08:51:04] Production.INFO: 117
[2025-01-10 08:51:04] Production.INFO: Date 2025-01-08
[2025-01-10 08:51:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:51:04] Production.INFO: Date 2025-01-09
[2025-01-10 08:51:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:51:04] Production.INFO: Date 2025-01-10
[2025-01-10 08:51:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:51:04] Production.INFO: Total Charge 0
[2025-01-10 08:51:04] Production.INFO: CreateAllLog End
[2025-01-10 08:51:04] Production.INFO: ==30720== Releasing lock...
[2025-01-10 08:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 08:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 08:51:04] Production.ERROR: done
[2025-01-10 08:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 08:51:04] Production.INFO: Account Balance End.
[2025-01-10 08:51:04] Production.ERROR: CronJobId end 12
[2025-01-10 08:51:04] Production.INFO: ==30724== Releasing lock...
[2025-01-10 08:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 08:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 08:51:04] Production.ERROR: done
[2025-01-10 08:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 05:51:05
[end_date_ymd] => 2025-01-10 08:51:05
[RateCDR] => 1
)
[2025-01-10 08:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 05:51:05' and `end` < '2025-01-10 08:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 08:51:11] Production.ERROR: CronJobId end10
[2025-01-10 08:51:11] Production.INFO: ==30722== Releasing lock...
[2025-01-10 08:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 08:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 08:51:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 08:51:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 08:51:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 08:51:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 08:51:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 08:51:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 08:51:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 08:51:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 08:51:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 08:51:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 08:51:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 08:51:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 08:51:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 08:51:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 08:51:14] Production.INFO: call_cost start
[2025-01-10 08:51:14] Production.INFO: call_cost end
[2025-01-10 08:51:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 08:51:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 08:51:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 08:51:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 08:51:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 08:51:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 08:51:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 08:51:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 08:51:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 08:51:15] Production.INFO: ==30718== Releasing lock...
[2025-01-10 08:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 08:51:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 08:51:19] Production.INFO: count ==571
[2025-01-10 08:51:19] Production.ERROR: pbx CDR StartTime 2025-01-10 05:51:05 - End Time 2025-01-10 08:51:05
[2025-01-10 08:51:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 08:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215812', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215812', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215812', 'tblTempVendorCDR_20' ) start
[2025-01-10 08:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215812', 'tblTempVendorCDR_20' ) end
[2025-01-10 08:51:19] Production.INFO: ProcessCDR(1,14215812,1,1,2)
[2025-01-10 08:51:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215812,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:51:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215812,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:51:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215812,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:51:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215812,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:51:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215812', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:51:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215812', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:51:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:51:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:51:23] Production.INFO: ==30726== Releasing lock...
[2025-01-10 08:51:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 08:51:23] Production.INFO: 32.75 MB #Memory Used#
[2025-01-10 13:52:01] Production.INFO: ==30818== Lock acquired, processing the job...
[2025-01-10 13:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 13:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 13:52:01] Production.INFO: neon service started
[2025-01-10 13:52:01] Production.INFO: neon service started
[2025-01-10 13:52:01] Production.INFO: ==30818== Releasing lock...
[2025-01-10 13:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 13:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 08:52:01] Production.INFO: ==30820== Lock acquired, processing the job...
[2025-01-10 08:52:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 13:52:02] Production.INFO: ==30822== Lock acquired, processing the job...
[2025-01-10 13:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 08:52:02] Production.INFO: ==30820== Releasing lock...
[2025-01-10 08:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 08:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 13:52:02] Production.INFO: ==30822== Releasing lock...
[2025-01-10 13:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 13:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 08:52:02] Production.INFO: ==30825== Lock acquired, processing the job...
[2025-01-10 08:52:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 08:52:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 08:52:03] Production.INFO: ==30827== Lock acquired, processing the job...
[2025-01-10 08:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 08:52:03] Production.INFO: ==30829== Lock acquired, processing the job...
[2025-01-10 08:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 08:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 08:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 08:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 08:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 08:52:03] Production.INFO: ==30831== Lock acquired, processing the job...
[2025-01-10 08:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 08:52:03] Production.INFO: ==30835== Lock acquired, processing the job...
[2025-01-10 08:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 08:52:03] Production.INFO: ==30833== Lock acquired, processing the job...
[2025-01-10 08:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 08:52:03] Production.INFO: ==30827== Releasing lock...
[2025-01-10 08:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 08:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 08:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:52:03] Production.INFO: Account Balance Start.
[2025-01-10 08:52:03] Production.INFO: CreateAllLog Start
[2025-01-10 08:52:03] Production.INFO: 117
[2025-01-10 08:52:03] Production.INFO: Date 2025-01-08
[2025-01-10 08:52:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:52:03] Production.INFO: Date 2025-01-09
[2025-01-10 08:52:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:52:03] Production.INFO: Date 2025-01-10
[2025-01-10 08:52:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:52:03] Production.INFO: count ==21
[2025-01-10 08:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:52:03] Production.INFO: count ==21
[2025-01-10 08:52:03] Production.ERROR: done
[2025-01-10 08:52:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 08:52:03] Production.INFO: Total Charge 0
[2025-01-10 08:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215815') start
[2025-01-10 08:52:03] Production.INFO: CreateAllLog End
[2025-01-10 08:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215815') end
[2025-01-10 08:52:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 08:52:03] Production.INFO: 1
[2025-01-10 08:52:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 08:52:04] Production.INFO: ==30835== Releasing lock...
[2025-01-10 08:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 08:52:04] Production.ERROR: done
[2025-01-10 08:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 08:52:04] Production.INFO: Account Balance End.
[2025-01-10 08:52:04] Production.ERROR: CronJobId end 12
[2025-01-10 08:52:04] Production.INFO: ==30831== Releasing lock...
[2025-01-10 08:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 08:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 08:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 05:52:05
[end_date_ymd] => 2025-01-10 08:52:05
[RateCDR] => 1
)
[2025-01-10 08:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 05:52:05' and `end` < '2025-01-10 08:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 08:52:11] Production.ERROR: CronJobId end10
[2025-01-10 08:52:11] Production.INFO: ==30829== Releasing lock...
[2025-01-10 08:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 08:52:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 08:52:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 08:52:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 08:52:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 08:52:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 08:52:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 08:52:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 08:52:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 08:52:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 08:52:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 08:52:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 08:52:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 08:52:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 08:52:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 08:52:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 08:52:13] Production.INFO: call_cost start
[2025-01-10 08:52:13] Production.INFO: call_cost end
[2025-01-10 08:52:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 08:52:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 08:52:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 08:52:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 08:52:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 08:52:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 08:52:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 08:52:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 08:52:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 08:52:14] Production.INFO: ==30825== Releasing lock...
[2025-01-10 08:52:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 08:52:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 08:52:19] Production.INFO: count ==574
[2025-01-10 08:52:19] Production.ERROR: pbx CDR StartTime 2025-01-10 05:52:05 - End Time 2025-01-10 08:52:05
[2025-01-10 08:52:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 08:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215817', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215817', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215817', 'tblTempVendorCDR_20' ) start
[2025-01-10 08:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215817', 'tblTempVendorCDR_20' ) end
[2025-01-10 08:52:19] Production.INFO: ProcessCDR(1,14215817,1,1,2)
[2025-01-10 08:52:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215817,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:52:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215817,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:52:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215817,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:52:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215817,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:52:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215817', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:52:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215817', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:52:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:52:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:52:24] Production.INFO: ==30833== Releasing lock...
[2025-01-10 08:52:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 08:52:24] Production.INFO: 33 MB #Memory Used#
[2025-01-10 13:53:01] Production.INFO: ==30890== Lock acquired, processing the job...
[2025-01-10 13:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 13:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 13:53:01] Production.INFO: neon service started
[2025-01-10 13:53:01] Production.INFO: neon service started
[2025-01-10 13:53:01] Production.INFO: ==30890== Releasing lock...
[2025-01-10 13:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 13:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 08:53:02] Production.INFO: ==30892== Lock acquired, processing the job...
[2025-01-10 08:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:53:02] Production.INFO: ==30892== Releasing lock...
[2025-01-10 08:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 08:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 13:53:02] Production.INFO: ==30894== Lock acquired, processing the job...
[2025-01-10 13:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 13:53:02] Production.INFO: ==30894== Releasing lock...
[2025-01-10 13:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 13:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 08:53:03] Production.INFO: ==30900== Lock acquired, processing the job...
[2025-01-10 08:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 08:53:03] Production.INFO: ==30896== Lock acquired, processing the job...
[2025-01-10 08:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 08:53:03] Production.INFO: ==30904== Lock acquired, processing the job...
[2025-01-10 08:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 08:53:03] Production.INFO: ==30898== Lock acquired, processing the job...
[2025-01-10 08:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 08:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 08:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 08:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 08:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 08:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 08:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:53:03] Production.INFO: ==30902== Lock acquired, processing the job...
[2025-01-10 08:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 08:53:03] Production.INFO: ==30906== Lock acquired, processing the job...
[2025-01-10 08:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 08:53:03] Production.INFO: Account Balance Start.
[2025-01-10 08:53:03] Production.INFO: CreateAllLog Start
[2025-01-10 08:53:03] Production.INFO: 117
[2025-01-10 08:53:03] Production.INFO: Date 2025-01-08
[2025-01-10 08:53:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:53:03] Production.ERROR: done
[2025-01-10 08:53:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 08:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:53:03] Production.INFO: Date 2025-01-09
[2025-01-10 08:53:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:53:03] Production.INFO: count ==21
[2025-01-10 08:53:03] Production.INFO: Date 2025-01-10
[2025-01-10 08:53:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:53:03] Production.INFO: count ==21
[2025-01-10 08:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215821') start
[2025-01-10 08:53:03] Production.ERROR: done
[2025-01-10 08:53:03] Production.INFO: Total Charge 0
[2025-01-10 08:53:03] Production.INFO: CreateAllLog End
[2025-01-10 08:53:03] Production.INFO: ==30898== Releasing lock...
[2025-01-10 08:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 08:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 08:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215821') end
[2025-01-10 08:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 08:53:04] Production.INFO: 1
[2025-01-10 08:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 08:53:04] Production.INFO: Account Balance End.
[2025-01-10 08:53:04] Production.INFO: ==30906== Releasing lock...
[2025-01-10 08:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 08:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 08:53:04] Production.ERROR: CronJobId end 12
[2025-01-10 08:53:04] Production.INFO: ==30902== Releasing lock...
[2025-01-10 08:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 08:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 08:53:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 05:53:04
[end_date_ymd] => 2025-01-10 08:53:04
[RateCDR] => 1
)
[2025-01-10 08:53:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 05:53:04' and `end` < '2025-01-10 08:53:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 08:53:11] Production.ERROR: CronJobId end10
[2025-01-10 08:53:11] Production.INFO: ==30900== Releasing lock...
[2025-01-10 08:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 08:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 08:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 08:53:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 08:53:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 08:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 08:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 08:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 08:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 08:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 08:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 08:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 08:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 08:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 08:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 08:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 08:53:13] Production.INFO: call_cost start
[2025-01-10 08:53:13] Production.INFO: call_cost end
[2025-01-10 08:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 08:53:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 08:53:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 08:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 08:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 08:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 08:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 08:53:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 08:53:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 08:53:14] Production.INFO: ==30896== Releasing lock...
[2025-01-10 08:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 08:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 08:53:18] Production.INFO: count ==579
[2025-01-10 08:53:18] Production.ERROR: pbx CDR StartTime 2025-01-10 05:53:04 - End Time 2025-01-10 08:53:04
[2025-01-10 08:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 08:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215822', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215822', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215822', 'tblTempVendorCDR_20' ) start
[2025-01-10 08:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215822', 'tblTempVendorCDR_20' ) end
[2025-01-10 08:53:18] Production.INFO: ProcessCDR(1,14215822,1,1,2)
[2025-01-10 08:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215822,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:53:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215822,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:53:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215822,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:53:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215822,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215822', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215822', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:53:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:53:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:53:23] Production.INFO: ==30904== Releasing lock...
[2025-01-10 08:53:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 08:53:23] Production.INFO: 33.25 MB #Memory Used#
[2025-01-10 13:54:02] Production.INFO: ==30961== Lock acquired, processing the job...
[2025-01-10 13:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 13:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 13:54:02] Production.INFO: neon service started
[2025-01-10 13:54:02] Production.INFO: neon service started
[2025-01-10 13:54:02] Production.INFO: ==30961== Releasing lock...
[2025-01-10 13:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 13:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 08:54:02] Production.INFO: ==30963== Lock acquired, processing the job...
[2025-01-10 08:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 13:54:02] Production.INFO: ==30965== Lock acquired, processing the job...
[2025-01-10 13:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 13:54:02] Production.INFO: ==30965== Releasing lock...
[2025-01-10 13:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 13:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 08:54:03] Production.INFO: ==30963== Releasing lock...
[2025-01-10 08:54:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 08:54:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:54:04] Production.INFO: ==30972== Lock acquired, processing the job...
[2025-01-10 08:54:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 08:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 08:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 08:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 08:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 08:54:04] Production.INFO: ==30976== Lock acquired, processing the job...
[2025-01-10 08:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 08:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:54:04] Production.INFO: ==30968== Lock acquired, processing the job...
[2025-01-10 08:54:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 08:54:04] Production.INFO: ==30970== Lock acquired, processing the job...
[2025-01-10 08:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 08:54:04] Production.INFO: ==30974== Lock acquired, processing the job...
[2025-01-10 08:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 08:54:04] Production.INFO: ==30978== Lock acquired, processing the job...
[2025-01-10 08:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 08:54:04] Production.ERROR: done
[2025-01-10 08:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 08:54:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 08:54:04] Production.INFO: Account Balance Start.
[2025-01-10 08:54:04] Production.INFO: CreateAllLog Start
[2025-01-10 08:54:04] Production.INFO: 117
[2025-01-10 08:54:04] Production.ERROR: done
[2025-01-10 08:54:04] Production.INFO: Date 2025-01-08
[2025-01-10 08:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:54:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:54:04] Production.INFO: count ==21
[2025-01-10 08:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:54:04] Production.INFO: count ==21
[2025-01-10 08:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215826') start
[2025-01-10 08:54:04] Production.INFO: Date 2025-01-09
[2025-01-10 08:54:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:54:04] Production.INFO: ==30970== Releasing lock...
[2025-01-10 08:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 08:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 08:54:04] Production.INFO: Date 2025-01-10
[2025-01-10 08:54:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:54:04] Production.INFO: Total Charge 0
[2025-01-10 08:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215826') end
[2025-01-10 08:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 08:54:04] Production.INFO: 1
[2025-01-10 08:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 08:54:04] Production.INFO: CreateAllLog End
[2025-01-10 08:54:04] Production.INFO: ==30978== Releasing lock...
[2025-01-10 08:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 08:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 08:54:05] Production.INFO: Account Balance End.
[2025-01-10 08:54:05] Production.ERROR: CronJobId end 12
[2025-01-10 08:54:05] Production.INFO: ==30974== Releasing lock...
[2025-01-10 08:54:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 08:54:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 08:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 05:54:05
[end_date_ymd] => 2025-01-10 08:54:05
[RateCDR] => 1
)
[2025-01-10 08:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 05:54:05' and `end` < '2025-01-10 08:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 08:54:11] Production.ERROR: CronJobId end10
[2025-01-10 08:54:11] Production.INFO: ==30972== Releasing lock...
[2025-01-10 08:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 08:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 08:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 08:54:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 08:54:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 08:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 08:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 08:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 08:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 08:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 08:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 08:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 08:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 08:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 08:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 08:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 08:54:13] Production.INFO: call_cost start
[2025-01-10 08:54:13] Production.INFO: call_cost end
[2025-01-10 08:54:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 08:54:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 08:54:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 08:54:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 08:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 08:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 08:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 08:54:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 08:54:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 08:54:14] Production.INFO: ==30968== Releasing lock...
[2025-01-10 08:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 08:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 08:54:18] Production.INFO: count ==586
[2025-01-10 08:54:19] Production.ERROR: pbx CDR StartTime 2025-01-10 05:54:05 - End Time 2025-01-10 08:54:05
[2025-01-10 08:54:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 08:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215827', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215827', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215827', 'tblTempVendorCDR_20' ) start
[2025-01-10 08:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215827', 'tblTempVendorCDR_20' ) end
[2025-01-10 08:54:19] Production.INFO: ProcessCDR(1,14215827,1,1,2)
[2025-01-10 08:54:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215827,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:54:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215827,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:54:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215827,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215827,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215827', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215827', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:54:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:54:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:54:22] Production.INFO: ==30976== Releasing lock...
[2025-01-10 08:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 08:54:22] Production.INFO: 32.75 MB #Memory Used#
[2025-01-10 13:55:01] Production.INFO: ==31031== Lock acquired, processing the job...
[2025-01-10 13:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 13:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 13:55:01] Production.INFO: neon service started
[2025-01-10 13:55:01] Production.INFO: neon service started
[2025-01-10 13:55:01] Production.INFO: ==31031== Releasing lock...
[2025-01-10 13:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 13:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 08:55:02] Production.INFO: ==31033== Lock acquired, processing the job...
[2025-01-10 08:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 13:55:02] Production.INFO: ==31035== Lock acquired, processing the job...
[2025-01-10 13:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 13:55:02] Production.INFO: ==31035== Releasing lock...
[2025-01-10 13:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 13:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 08:55:02] Production.INFO: ==31033== Releasing lock...
[2025-01-10 08:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 08:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:55:03] Production.INFO: ==31042== Lock acquired, processing the job...
[2025-01-10 08:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 08:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 08:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 08:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 08:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 08:55:03] Production.INFO: ==31048== Lock acquired, processing the job...
[2025-01-10 08:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 08:55:03] Production.INFO: ==31038== Lock acquired, processing the job...
[2025-01-10 08:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 08:55:03] Production.INFO: ==31040== Lock acquired, processing the job...
[2025-01-10 08:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 08:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 08:55:03] Production.INFO: ==31044== Lock acquired, processing the job...
[2025-01-10 08:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 08:55:03] Production.INFO: count ==21
[2025-01-10 08:55:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:55:03] Production.INFO: count ==21
[2025-01-10 08:55:03] Production.INFO: ==31046== Lock acquired, processing the job...
[2025-01-10 08:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 08:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215828') start
[2025-01-10 08:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:55:03] Production.INFO: Account Balance Start.
[2025-01-10 08:55:03] Production.INFO: CreateAllLog Start
[2025-01-10 08:55:03] Production.INFO: 117
[2025-01-10 08:55:03] Production.INFO: Date 2025-01-08
[2025-01-10 08:55:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215828') end
[2025-01-10 08:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 08:55:04] Production.INFO: 1
[2025-01-10 08:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 08:55:04] Production.INFO: Date 2025-01-09
[2025-01-10 08:55:04] Production.INFO: ==31048== Releasing lock...
[2025-01-10 08:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 08:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 08:55:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:55:04] Production.INFO: Date 2025-01-10
[2025-01-10 08:55:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:55:04] Production.INFO: Total Charge 0
[2025-01-10 08:55:04] Production.INFO: CreateAllLog End
[2025-01-10 08:55:04] Production.ERROR: done
[2025-01-10 08:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 08:55:04] Production.INFO: ==31040== Releasing lock...
[2025-01-10 08:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 08:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 08:55:04] Production.ERROR: done
[2025-01-10 08:55:04] Production.INFO: Account Balance End.
[2025-01-10 08:55:04] Production.ERROR: CronJobId end 12
[2025-01-10 08:55:04] Production.INFO: ==31044== Releasing lock...
[2025-01-10 08:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 08:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 08:55:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 05:55:04
[end_date_ymd] => 2025-01-10 08:55:04
[RateCDR] => 1
)
[2025-01-10 08:55:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 05:55:04' and `end` < '2025-01-10 08:55:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 08:55:11] Production.ERROR: CronJobId end10
[2025-01-10 08:55:11] Production.INFO: ==31042== Releasing lock...
[2025-01-10 08:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 08:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 08:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 08:55:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 08:55:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 08:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 08:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 08:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 08:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 08:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 08:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 08:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 08:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 08:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 08:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 08:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 08:55:13] Production.INFO: call_cost start
[2025-01-10 08:55:13] Production.INFO: call_cost end
[2025-01-10 08:55:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 08:55:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 08:55:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 08:55:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 08:55:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 08:55:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 08:55:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 08:55:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 08:55:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 08:55:14] Production.INFO: ==31038== Releasing lock...
[2025-01-10 08:55:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 08:55:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 08:55:18] Production.INFO: count ==606
[2025-01-10 08:55:18] Production.ERROR: pbx CDR StartTime 2025-01-10 05:55:04 - End Time 2025-01-10 08:55:04
[2025-01-10 08:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 08:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215832', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215832', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215832', 'tblTempVendorCDR_20' ) start
[2025-01-10 08:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215832', 'tblTempVendorCDR_20' ) end
[2025-01-10 08:55:18] Production.INFO: ProcessCDR(1,14215832,1,1,2)
[2025-01-10 08:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215832,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:55:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215832,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:55:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215832,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:55:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215832,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215832', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215832', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:55:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:55:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:55:22] Production.INFO: ==31046== Releasing lock...
[2025-01-10 08:55:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 08:55:22] Production.INFO: 33.5 MB #Memory Used#
[2025-01-10 13:56:02] Production.INFO: ==31103== Lock acquired, processing the job...
[2025-01-10 13:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 13:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 13:56:02] Production.INFO: neon service started
[2025-01-10 13:56:02] Production.INFO: neon service started
[2025-01-10 13:56:02] Production.INFO: ==31103== Releasing lock...
[2025-01-10 13:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 13:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 08:56:02] Production.INFO: ==31105== Lock acquired, processing the job...
[2025-01-10 08:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 13:56:02] Production.INFO: ==31107== Lock acquired, processing the job...
[2025-01-10 13:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 13:56:02] Production.INFO: ==31107== Releasing lock...
[2025-01-10 13:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 13:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 08:56:03] Production.INFO: ==31105== Releasing lock...
[2025-01-10 08:56:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 08:56:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:56:03] Production.INFO: ==31112== Lock acquired, processing the job...
[2025-01-10 08:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 08:56:03] Production.INFO: ==31110== Lock acquired, processing the job...
[2025-01-10 08:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 08:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 08:56:03] Production.INFO: ==31118== Lock acquired, processing the job...
[2025-01-10 08:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 08:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:56:03] Production.INFO: ==31114== Lock acquired, processing the job...
[2025-01-10 08:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 08:56:04] Production.INFO: ==31112== Releasing lock...
[2025-01-10 08:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 08:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 08:56:04] Production.INFO: ==31116== Lock acquired, processing the job...
[2025-01-10 08:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 08:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 08:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 08:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 08:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 08:56:04] Production.INFO: ==31120== Lock acquired, processing the job...
[2025-01-10 08:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 08:56:04] Production.ERROR: done
[2025-01-10 08:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 08:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:56:04] Production.ERROR: done
[2025-01-10 08:56:04] Production.INFO: Account Balance Start.
[2025-01-10 08:56:04] Production.INFO: CreateAllLog Start
[2025-01-10 08:56:04] Production.INFO: 117
[2025-01-10 08:56:04] Production.INFO: Date 2025-01-08
[2025-01-10 08:56:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:56:04] Production.INFO: count ==21
[2025-01-10 08:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:56:04] Production.INFO: count ==21
[2025-01-10 08:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215835') start
[2025-01-10 08:56:04] Production.INFO: Date 2025-01-09
[2025-01-10 08:56:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:56:04] Production.INFO: Date 2025-01-10
[2025-01-10 08:56:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:56:04] Production.INFO: Total Charge 0
[2025-01-10 08:56:04] Production.INFO: CreateAllLog End
[2025-01-10 08:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215835') end
[2025-01-10 08:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 08:56:04] Production.INFO: 1
[2025-01-10 08:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 08:56:04] Production.INFO: ==31120== Releasing lock...
[2025-01-10 08:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 08:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 08:56:04] Production.INFO: Account Balance End.
[2025-01-10 08:56:04] Production.ERROR: CronJobId end 12
[2025-01-10 08:56:04] Production.INFO: ==31116== Releasing lock...
[2025-01-10 08:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 08:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 08:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 05:56:05
[end_date_ymd] => 2025-01-10 08:56:05
[RateCDR] => 1
)
[2025-01-10 08:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 05:56:05' and `end` < '2025-01-10 08:56:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 08:56:12] Production.ERROR: CronJobId end10
[2025-01-10 08:56:12] Production.INFO: ==31114== Releasing lock...
[2025-01-10 08:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 08:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 08:56:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 08:56:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 08:56:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 08:56:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 08:56:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 08:56:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 08:56:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 08:56:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 08:56:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 08:56:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 08:56:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 08:56:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 08:56:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 08:56:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 08:56:14] Production.INFO: call_cost start
[2025-01-10 08:56:14] Production.INFO: call_cost end
[2025-01-10 08:56:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 08:56:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 08:56:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 08:56:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 08:56:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 08:56:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 08:56:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 08:56:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 08:56:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 08:56:14] Production.INFO: ==31110== Releasing lock...
[2025-01-10 08:56:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 08:56:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 08:56:19] Production.INFO: count ==655
[2025-01-10 08:56:19] Production.ERROR: pbx CDR StartTime 2025-01-10 05:56:05 - End Time 2025-01-10 08:56:05
[2025-01-10 08:56:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 08:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215837', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215837', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215837', 'tblTempVendorCDR_20' ) start
[2025-01-10 08:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215837', 'tblTempVendorCDR_20' ) end
[2025-01-10 08:56:19] Production.INFO: ProcessCDR(1,14215837,1,1,2)
[2025-01-10 08:56:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215837,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:56:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215837,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:56:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215837,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:56:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215837,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:56:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215837', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:56:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215837', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:56:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:56:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:56:24] Production.INFO: ==31118== Releasing lock...
[2025-01-10 08:56:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 08:56:24] Production.INFO: 33 MB #Memory Used#
[2025-01-10 13:57:01] Production.INFO: ==31174== Lock acquired, processing the job...
[2025-01-10 13:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 13:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 13:57:01] Production.INFO: neon service started
[2025-01-10 13:57:01] Production.INFO: neon service started
[2025-01-10 13:57:01] Production.INFO: ==31174== Releasing lock...
[2025-01-10 13:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 13:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 08:57:01] Production.INFO: ==31176== Lock acquired, processing the job...
[2025-01-10 08:57:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:57:02] Production.INFO: ==31176== Releasing lock...
[2025-01-10 08:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 08:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 13:57:02] Production.INFO: ==31178== Lock acquired, processing the job...
[2025-01-10 13:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 13:57:02] Production.INFO: ==31178== Releasing lock...
[2025-01-10 13:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 13:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 08:57:03] Production.INFO: ==31180== Lock acquired, processing the job...
[2025-01-10 08:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 08:57:03] Production.INFO: ==31190== Lock acquired, processing the job...
[2025-01-10 08:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 08:57:03] Production.INFO: ==31182== Lock acquired, processing the job...
[2025-01-10 08:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 08:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 08:57:03] Production.INFO: ==31184== Lock acquired, processing the job...
[2025-01-10 08:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 08:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 08:57:03] Production.INFO: count ==21
[2025-01-10 08:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 08:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 08:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 08:57:03] Production.INFO: ==31186== Lock acquired, processing the job...
[2025-01-10 08:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 08:57:03] Production.INFO: count ==21
[2025-01-10 08:57:03] Production.INFO: ==31188== Lock acquired, processing the job...
[2025-01-10 08:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 08:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215839') start
[2025-01-10 08:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:57:03] Production.INFO: Account Balance Start.
[2025-01-10 08:57:03] Production.INFO: CreateAllLog Start
[2025-01-10 08:57:03] Production.INFO: 117
[2025-01-10 08:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215839') end
[2025-01-10 08:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 08:57:03] Production.INFO: 1
[2025-01-10 08:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 08:57:03] Production.INFO: Date 2025-01-08
[2025-01-10 08:57:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:57:03] Production.INFO: Date 2025-01-09
[2025-01-10 08:57:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:57:03] Production.INFO: Date 2025-01-10
[2025-01-10 08:57:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:57:03] Production.INFO: ==31190== Releasing lock...
[2025-01-10 08:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 08:57:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 08:57:03] Production.INFO: ==31182== Releasing lock...
[2025-01-10 08:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 08:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 08:57:03] Production.INFO: Total Charge 0
[2025-01-10 08:57:03] Production.ERROR: done
[2025-01-10 08:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 08:57:03] Production.INFO: CreateAllLog End
[2025-01-10 08:57:03] Production.ERROR: done
[2025-01-10 08:57:04] Production.INFO: Account Balance End.
[2025-01-10 08:57:04] Production.ERROR: CronJobId end 12
[2025-01-10 08:57:04] Production.INFO: ==31186== Releasing lock...
[2025-01-10 08:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 08:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 08:57:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 05:57:04
[end_date_ymd] => 2025-01-10 08:57:04
[RateCDR] => 1
)
[2025-01-10 08:57:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 05:57:04' and `end` < '2025-01-10 08:57:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 08:57:12] Production.ERROR: CronJobId end10
[2025-01-10 08:57:12] Production.INFO: ==31184== Releasing lock...
[2025-01-10 08:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 08:57:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 08:57:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 08:57:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 08:57:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 08:57:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 08:57:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 08:57:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 08:57:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 08:57:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 08:57:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 08:57:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 08:57:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 08:57:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 08:57:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 08:57:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 08:57:13] Production.INFO: call_cost start
[2025-01-10 08:57:13] Production.INFO: call_cost end
[2025-01-10 08:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 08:57:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 08:57:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 08:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 08:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 08:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 08:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 08:57:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 08:57:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 08:57:14] Production.INFO: ==31180== Releasing lock...
[2025-01-10 08:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 08:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 08:57:18] Production.INFO: count ==674
[2025-01-10 08:57:18] Production.ERROR: pbx CDR StartTime 2025-01-10 05:57:04 - End Time 2025-01-10 08:57:04
[2025-01-10 08:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 08:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215842', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215842', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215842', 'tblTempVendorCDR_20' ) start
[2025-01-10 08:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215842', 'tblTempVendorCDR_20' ) end
[2025-01-10 08:57:18] Production.INFO: ProcessCDR(1,14215842,1,1,2)
[2025-01-10 08:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215842,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:57:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215842,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:57:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215842,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:57:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215842,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215842', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215842', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:57:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:57:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:57:22] Production.INFO: ==31188== Releasing lock...
[2025-01-10 08:57:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 08:57:22] Production.INFO: 33.75 MB #Memory Used#
[2025-01-10 13:58:01] Production.INFO: ==31244== Lock acquired, processing the job...
[2025-01-10 13:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 13:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 13:58:01] Production.INFO: neon service started
[2025-01-10 13:58:02] Production.INFO: neon service started
[2025-01-10 13:58:02] Production.INFO: ==31244== Releasing lock...
[2025-01-10 13:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 13:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 08:58:02] Production.INFO: ==31246== Lock acquired, processing the job...
[2025-01-10 08:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:58:02] Production.INFO: ==31246== Releasing lock...
[2025-01-10 08:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 08:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 13:58:02] Production.INFO: ==31248== Lock acquired, processing the job...
[2025-01-10 13:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 13:58:02] Production.INFO: ==31248== Releasing lock...
[2025-01-10 13:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 13:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 08:58:03] Production.INFO: ==31251== Lock acquired, processing the job...
[2025-01-10 08:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 08:58:03] Production.INFO: ==31255== Lock acquired, processing the job...
[2025-01-10 08:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 08:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 08:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 08:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 08:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 08:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 08:58:03] Production.INFO: ==31261== Lock acquired, processing the job...
[2025-01-10 08:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 08:58:03] Production.INFO: ==31253== Lock acquired, processing the job...
[2025-01-10 08:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 08:58:03] Production.INFO: ==31257== Lock acquired, processing the job...
[2025-01-10 08:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 08:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:58:03] Production.INFO: ==31259== Lock acquired, processing the job...
[2025-01-10 08:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 08:58:03] Production.INFO: count ==21
[2025-01-10 08:58:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:58:03] Production.INFO: count ==21
[2025-01-10 08:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215844') start
[2025-01-10 08:58:03] Production.INFO: Account Balance Start.
[2025-01-10 08:58:03] Production.INFO: CreateAllLog Start
[2025-01-10 08:58:03] Production.INFO: 117
[2025-01-10 08:58:03] Production.INFO: Date 2025-01-08
[2025-01-10 08:58:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215844') end
[2025-01-10 08:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 08:58:04] Production.INFO: 1
[2025-01-10 08:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 08:58:04] Production.INFO: Date 2025-01-09
[2025-01-10 08:58:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:58:04] Production.INFO: Date 2025-01-10
[2025-01-10 08:58:04] Production.INFO: Reseller ==> 0
[2025-01-10 08:58:04] Production.INFO: ==31261== Releasing lock...
[2025-01-10 08:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 08:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 08:58:04] Production.ERROR: done
[2025-01-10 08:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 08:58:04] Production.INFO: Total Charge 0
[2025-01-10 08:58:04] Production.INFO: ==31253== Releasing lock...
[2025-01-10 08:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 08:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 08:58:04] Production.INFO: CreateAllLog End
[2025-01-10 08:58:04] Production.ERROR: done
[2025-01-10 08:58:04] Production.INFO: Account Balance End.
[2025-01-10 08:58:04] Production.ERROR: CronJobId end 12
[2025-01-10 08:58:04] Production.INFO: ==31257== Releasing lock...
[2025-01-10 08:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 08:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 08:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 05:58:05
[end_date_ymd] => 2025-01-10 08:58:05
[RateCDR] => 1
)
[2025-01-10 08:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 05:58:05' and `end` < '2025-01-10 08:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 08:58:12] Production.ERROR: CronJobId end10
[2025-01-10 08:58:12] Production.INFO: ==31255== Releasing lock...
[2025-01-10 08:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 08:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 08:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 08:58:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 08:58:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 08:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 08:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 08:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 08:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 08:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 08:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 08:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 08:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 08:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 08:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 08:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 08:58:13] Production.INFO: call_cost start
[2025-01-10 08:58:13] Production.INFO: call_cost end
[2025-01-10 08:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 08:58:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 08:58:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 08:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 08:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 08:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 08:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 08:58:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 08:58:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 08:58:14] Production.INFO: ==31251== Releasing lock...
[2025-01-10 08:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 08:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 08:58:18] Production.INFO: count ==686
[2025-01-10 08:58:18] Production.ERROR: pbx CDR StartTime 2025-01-10 05:58:05 - End Time 2025-01-10 08:58:05
[2025-01-10 08:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 08:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215847', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215847', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215847', 'tblTempVendorCDR_20' ) start
[2025-01-10 08:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215847', 'tblTempVendorCDR_20' ) end
[2025-01-10 08:58:18] Production.INFO: ProcessCDR(1,14215847,1,1,2)
[2025-01-10 08:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215847,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215847,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215847,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215847,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215847', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215847', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:58:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:58:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:58:21] Production.INFO: ==31259== Releasing lock...
[2025-01-10 08:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 08:58:21] Production.INFO: 33.25 MB #Memory Used#
[2025-01-10 13:59:01] Production.INFO: ==31314== Lock acquired, processing the job...
[2025-01-10 13:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 13:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 13:59:01] Production.INFO: neon service started
[2025-01-10 13:59:01] Production.INFO: neon service started
[2025-01-10 13:59:01] Production.INFO: ==31314== Releasing lock...
[2025-01-10 13:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 13:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 13:59:01] Production.INFO: ==31318== Lock acquired, processing the job...
[2025-01-10 13:59:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 13:59:01] Production.INFO: ==31318== Releasing lock...
[2025-01-10 13:59:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 13:59:01] Production.INFO: 25 MB #Memory Used#
[2025-01-10 08:59:01] Production.INFO: ==31316== Lock acquired, processing the job...
[2025-01-10 08:59:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 08:59:02] Production.INFO: ==31316== Releasing lock...
[2025-01-10 08:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 08:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 08:59:02] Production.INFO: ==31321== Lock acquired, processing the job...
[2025-01-10 08:59:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 08:59:02] Production.INFO: ==31323== Lock acquired, processing the job...
[2025-01-10 08:59:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 08:59:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 08:59:03] Production.INFO: ==31325== Lock acquired, processing the job...
[2025-01-10 08:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 08:59:03] Production.INFO: ==31327== Lock acquired, processing the job...
[2025-01-10 08:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 08:59:03] Production.INFO: Account Balance Start.
[2025-01-10 08:59:03] Production.INFO: CreateAllLog Start
[2025-01-10 08:59:03] Production.INFO: 117
[2025-01-10 08:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 08:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 08:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 08:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 08:59:03] Production.INFO: Date 2025-01-08
[2025-01-10 08:59:03] Production.INFO: ==31329== Lock acquired, processing the job...
[2025-01-10 08:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 08:59:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:59:03] Production.INFO: ==31323== Releasing lock...
[2025-01-10 08:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 08:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 08:59:03] Production.INFO: Date 2025-01-09
[2025-01-10 08:59:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 08:59:03] Production.INFO: Date 2025-01-10
[2025-01-10 08:59:03] Production.INFO: Reseller ==> 0
[2025-01-10 08:59:03] Production.INFO: ==31331== Lock acquired, processing the job...
[2025-01-10 08:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 08:59:03] Production.INFO: Total Charge 0
[2025-01-10 08:59:03] Production.INFO: CreateAllLog End
[2025-01-10 08:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:59:03] Production.ERROR: done
[2025-01-10 08:59:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 08:59:03] Production.INFO: Account Balance End.
[2025-01-10 08:59:03] Production.INFO: count ==21
[2025-01-10 08:59:03] Production.ERROR: CronJobId end 12
[2025-01-10 08:59:03] Production.INFO: ==31327== Releasing lock...
[2025-01-10 08:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 08:59:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 08:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 08:59:03] Production.INFO: count ==21
[2025-01-10 08:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215851') start
[2025-01-10 08:59:03] Production.ERROR: done
[2025-01-10 08:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215851') end
[2025-01-10 08:59:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 08:59:03] Production.INFO: 1
[2025-01-10 08:59:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 08:59:03] Production.INFO: ==31331== Releasing lock...
[2025-01-10 08:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 08:59:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 08:59:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 05:59:04
[end_date_ymd] => 2025-01-10 08:59:04
[RateCDR] => 1
)
[2025-01-10 08:59:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 05:59:04' and `end` < '2025-01-10 08:59:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 08:59:10] Production.ERROR: CronJobId end10
[2025-01-10 08:59:10] Production.INFO: ==31325== Releasing lock...
[2025-01-10 08:59:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 08:59:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 08:59:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 08:59:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 08:59:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 08:59:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 08:59:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 08:59:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 08:59:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 08:59:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 08:59:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 08:59:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 08:59:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 08:59:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 08:59:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 08:59:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 08:59:13] Production.INFO: call_cost start
[2025-01-10 08:59:13] Production.INFO: call_cost end
[2025-01-10 08:59:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 08:59:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 08:59:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 08:59:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 08:59:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 08:59:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 08:59:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 08:59:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 08:59:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 08:59:13] Production.INFO: ==31321== Releasing lock...
[2025-01-10 08:59:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 08:59:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 08:59:17] Production.INFO: count ==688
[2025-01-10 08:59:18] Production.ERROR: pbx CDR StartTime 2025-01-10 05:59:04 - End Time 2025-01-10 08:59:04
[2025-01-10 08:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 08:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215852', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215852', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215852', 'tblTempVendorCDR_20' ) start
[2025-01-10 08:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215852', 'tblTempVendorCDR_20' ) end
[2025-01-10 08:59:18] Production.INFO: ProcessCDR(1,14215852,1,1,2)
[2025-01-10 08:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215852,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:59:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215852,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 08:59:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215852,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215852,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 08:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215852', 'tblTempUsageDetail_20' ) start
[2025-01-10 08:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215852', 'tblTempUsageDetail_20' ) end
[2025-01-10 08:59:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 08:59:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 08:59:21] Production.INFO: ==31329== Releasing lock...
[2025-01-10 08:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 08:59:21] Production.INFO: 33.5 MB #Memory Used#
[2025-01-10 14:00:01] Production.INFO: ==31388== Lock acquired, processing the job...
[2025-01-10 14:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 14:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 14:00:01] Production.INFO: neon service started
[2025-01-10 14:00:01] Production.INFO: neon service started
[2025-01-10 14:00:01] Production.INFO: ==31388== Releasing lock...
[2025-01-10 14:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 14:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 09:00:02] Production.INFO: ==31390== Lock acquired, processing the job...
[2025-01-10 09:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 14:00:02] Production.INFO: ==31392== Lock acquired, processing the job...
[2025-01-10 14:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 14:00:02] Production.INFO: ==31392== Releasing lock...
[2025-01-10 14:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 14:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 09:00:02] Production.INFO: ==31390== Releasing lock...
[2025-01-10 09:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 09:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 09:00:03] Production.INFO: ==31395== Lock acquired, processing the job...
[2025-01-10 09:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 09:00:03] Production.INFO: ==31403== Lock acquired, processing the job...
[2025-01-10 09:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 09:00:03] Production.INFO: ==31401== Lock acquired, processing the job...
[2025-01-10 09:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 09:00:03] Production.INFO: Account Balance Start.
[2025-01-10 09:00:03] Production.INFO: CreateAllLog Start
[2025-01-10 09:00:03] Production.INFO: 117
[2025-01-10 09:00:03] Production.INFO: Date 2025-01-08
[2025-01-10 09:00:03] Production.INFO: ==31409== Lock acquired, processing the job...
[2025-01-10 09:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 09:00:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 09:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 09:00:03] Production.ERROR: CronJob PID - 31401
[2025-01-10 09:00:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-10 09:00:03] Production.ERROR: CronJob ID - 10
[2025-01-10 09:00:03] Production.ERROR: CronJob Last Run Time 2025-01-10 09:00:00
[2025-01-10 09:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 09:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 09:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 09:00:03] Production.ERROR: CronJob PID - 31403
[2025-01-10 09:00:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-10 09:00:03] Production.ERROR: CronJob ID - 12
[2025-01-10 09:00:03] Production.ERROR: CronJob Last Run Time 2025-01-10 09:00:00
[2025-01-10 09:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 09:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 09:00:03] Production.INFO: Date 2025-01-09
[2025-01-10 09:00:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:00:03] Production.INFO: Date 2025-01-10
[2025-01-10 09:00:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 09:00:03] Production.INFO: ==31395== Releasing lock...
[2025-01-10 09:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 09:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 09:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 09:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 09:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 09:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 09:00:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:00:03] Production.INFO: Total Charge 0
[2025-01-10 09:00:03] Production.INFO: count ==21
[2025-01-10 09:00:04] Production.INFO: CreateAllLog End
[2025-01-10 09:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:00:04] Production.INFO: count ==21
[2025-01-10 09:00:04] Production.INFO: ==31397== Lock acquired, processing the job...
[2025-01-10 09:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 09:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215854') start
[2025-01-10 09:00:04] Production.INFO: ==31407== Lock acquired, processing the job...
[2025-01-10 09:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 09:00:04] Production.INFO: ==31399== Lock acquired, processing the job...
[2025-01-10 09:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 09:00:04] Production.INFO: Account Balance End.
[2025-01-10 09:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 09:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215854') end
[2025-01-10 09:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 09:00:04] Production.INFO: 1
[2025-01-10 09:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 09:00:04] Production.INFO: ==31405== Lock acquired, processing the job...
[2025-01-10 09:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 09:00:04] Production.ERROR: CronJobId end 12
[2025-01-10 09:00:04] Production.INFO: ==31403== Releasing lock...
[2025-01-10 09:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 09:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 09:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:00:04] Production.INFO: ==31409== Releasing lock...
[2025-01-10 09:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 09:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 09:00:04] Production.ERROR: done
[2025-01-10 09:00:04] Production.ERROR: done
[2025-01-10 09:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 09:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 09:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14215857', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 09:00:04] Production.INFO: ==31399== Releasing lock...
[2025-01-10 09:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 09:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 09:00:04] Production.ERROR: done
[2025-01-10 09:00:06] Production.INFO: helper-LastRunTime===2025-01-10 09:00:00
[2025-01-10 09:00:06] Production.INFO: =diffInterval=0
[2025-01-10 09:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 06:00:06
[end_date_ymd] => 2025-01-10 09:00:06
[RateCDR] => 1
)
[2025-01-10 09:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 06:00:06' and `end` < '2025-01-10 09:00:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 09:00:07] Production.INFO: helper-LastRunTime===2025-01-10 09:00:00
[2025-01-10 09:00:07] Production.INFO: =diffInterval=0
[2025-01-10 09:00:08] Production.INFO: helper-LastRunTime===2025-01-10 09:00:00
[2025-01-10 09:00:08] Production.INFO: =diffInterval=0
[2025-01-10 09:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14215857', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 09:00:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 09:00:08] Production.INFO: ProcessCDR(1,14215857,1,1,2)
[2025-01-10 09:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14215857,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14215857,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:00:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:00:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:00:08] Production.INFO: ==31407== Releasing lock...
[2025-01-10 09:00:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 09:00:08] Production.INFO: 26 MB #Memory Used#
[2025-01-10 09:00:09] Production.INFO: helper-LastRunTime===2025-01-10 09:00:00
[2025-01-10 09:00:09] Production.INFO: =diffInterval=0
[2025-01-10 09:00:10] Production.INFO: helper-LastRunTime===2025-01-10 09:00:00
[2025-01-10 09:00:10] Production.INFO: =diffInterval=0
[2025-01-10 09:00:10] Production.INFO: helper-LastRunTime===2025-01-10 09:00:00
[2025-01-10 09:00:10] Production.INFO: =diffInterval=0
[2025-01-10 09:00:11] Production.INFO: helper-LastRunTime===2025-01-10 09:00:00
[2025-01-10 09:00:11] Production.INFO: =diffInterval=0
[2025-01-10 09:00:12] Production.INFO: helper-LastRunTime===2025-01-10 09:00:00
[2025-01-10 09:00:12] Production.INFO: =diffInterval=0
[2025-01-10 09:00:12] Production.INFO: helper-LastRunTime===2025-01-10 09:00:00
[2025-01-10 09:00:12] Production.INFO: =diffInterval=0
[2025-01-10 09:00:12] Production.ERROR: CronJobId end10
[2025-01-10 09:00:12] Production.INFO: ==31401== Releasing lock...
[2025-01-10 09:00:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 09:00:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 09:00:13] Production.INFO: helper-LastRunTime===2025-01-10 09:00:00
[2025-01-10 09:00:13] Production.INFO: =diffInterval=0
[2025-01-10 09:00:13] Production.INFO: helper-LastRunTime===2025-01-10 09:00:00
[2025-01-10 09:00:13] Production.INFO: =diffInterval=0
[2025-01-10 09:00:14] Production.INFO: helper-LastRunTime===2025-01-10 09:00:00
[2025-01-10 09:00:14] Production.INFO: =diffInterval=0
[2025-01-10 09:00:14] Production.INFO: helper-LastRunTime===2025-01-10 09:00:00
[2025-01-10 09:00:14] Production.INFO: =diffInterval=0
[2025-01-10 09:00:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 09:00:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 09:00:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 09:00:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 09:00:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 09:00:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 09:00:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 09:00:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 09:00:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 09:00:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 09:00:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 09:00:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 09:00:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 09:00:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 09:00:15] Production.INFO: call_cost start
[2025-01-10 09:00:15] Production.INFO: call_cost end
[2025-01-10 09:00:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 09:00:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 09:00:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 09:00:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 09:00:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 09:00:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 09:00:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 09:00:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 09:00:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 09:00:15] Production.INFO: ==31397== Releasing lock...
[2025-01-10 09:00:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 09:00:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:00:19] Production.INFO: count ==740
[2025-01-10 09:00:19] Production.ERROR: pbx CDR StartTime 2025-01-10 06:00:06 - End Time 2025-01-10 09:00:06
[2025-01-10 09:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 09:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215858', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215858', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215858', 'tblTempVendorCDR_20' ) start
[2025-01-10 09:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215858', 'tblTempVendorCDR_20' ) end
[2025-01-10 09:00:19] Production.INFO: ProcessCDR(1,14215858,1,1,2)
[2025-01-10 09:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215858,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:00:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215858,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:00:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215858,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:00:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215858,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215858', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215858', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:00:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:00:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:00:24] Production.INFO: ==31405== Releasing lock...
[2025-01-10 09:00:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 09:00:24] Production.INFO: 33.75 MB #Memory Used#
[2025-01-10 14:01:02] Production.INFO: ==31467== Lock acquired, processing the job...
[2025-01-10 14:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 14:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 14:01:02] Production.INFO: neon service started
[2025-01-10 14:01:02] Production.INFO: neon service started
[2025-01-10 14:01:02] Production.INFO: ==31467== Releasing lock...
[2025-01-10 14:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 14:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 09:01:02] Production.INFO: ==31477== Lock acquired, processing the job...
[2025-01-10 09:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 14:01:02] Production.INFO: ==31479== Lock acquired, processing the job...
[2025-01-10 14:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 09:01:02] Production.INFO: ==31477== Releasing lock...
[2025-01-10 09:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 09:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 14:01:02] Production.INFO: ==31479== Releasing lock...
[2025-01-10 14:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 14:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 09:01:03] Production.INFO: ==31490== Lock acquired, processing the job...
[2025-01-10 09:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 09:01:03] Production.INFO: ==31492== Lock acquired, processing the job...
[2025-01-10 09:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 09:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:01:03] Production.INFO: ==31482== Lock acquired, processing the job...
[2025-01-10 09:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 09:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:01:04] Production.INFO: ==31484== Lock acquired, processing the job...
[2025-01-10 09:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 09:01:04] Production.INFO: count ==21
[2025-01-10 09:01:04] Production.INFO: ==31486== Lock acquired, processing the job...
[2025-01-10 09:01:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 09:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:01:04] Production.INFO: count ==21
[2025-01-10 09:01:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 09:01:04] Production.INFO: ==31488== Lock acquired, processing the job...
[2025-01-10 09:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 09:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215859') start
[2025-01-10 09:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 09:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 09:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 09:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 09:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215859') end
[2025-01-10 09:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 09:01:04] Production.INFO: 1
[2025-01-10 09:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 09:01:04] Production.INFO: Account Balance Start.
[2025-01-10 09:01:04] Production.INFO: CreateAllLog Start
[2025-01-10 09:01:04] Production.INFO: 117
[2025-01-10 09:01:04] Production.ERROR: done
[2025-01-10 09:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 09:01:04] Production.INFO: Date 2025-01-08
[2025-01-10 09:01:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:01:04] Production.INFO: Date 2025-01-09
[2025-01-10 09:01:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:01:04] Production.INFO: Date 2025-01-10
[2025-01-10 09:01:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:01:04] Production.INFO: Total Charge 0
[2025-01-10 09:01:04] Production.INFO: ==31492== Releasing lock...
[2025-01-10 09:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 09:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 09:01:04] Production.INFO: CreateAllLog End
[2025-01-10 09:01:04] Production.INFO: ==31484== Releasing lock...
[2025-01-10 09:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 09:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 09:01:04] Production.ERROR: done
[2025-01-10 09:01:04] Production.INFO: Account Balance End.
[2025-01-10 09:01:04] Production.ERROR: CronJobId end 12
[2025-01-10 09:01:04] Production.INFO: ==31488== Releasing lock...
[2025-01-10 09:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 09:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 09:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 06:01:05
[end_date_ymd] => 2025-01-10 09:01:05
[RateCDR] => 1
)
[2025-01-10 09:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 06:01:05' and `end` < '2025-01-10 09:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 09:01:12] Production.ERROR: CronJobId end10
[2025-01-10 09:01:12] Production.INFO: ==31486== Releasing lock...
[2025-01-10 09:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 09:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 09:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 09:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 09:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 09:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 09:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 09:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 09:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 09:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 09:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 09:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 09:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 09:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 09:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 09:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 09:01:14] Production.INFO: call_cost start
[2025-01-10 09:01:14] Production.INFO: call_cost end
[2025-01-10 09:01:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 09:01:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 09:01:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 09:01:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 09:01:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 09:01:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 09:01:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 09:01:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 09:01:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 09:01:15] Production.INFO: ==31482== Releasing lock...
[2025-01-10 09:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 09:01:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:01:18] Production.INFO: count ==763
[2025-01-10 09:01:18] Production.ERROR: pbx CDR StartTime 2025-01-10 06:01:05 - End Time 2025-01-10 09:01:05
[2025-01-10 09:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 09:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215863', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215863', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215863', 'tblTempVendorCDR_20' ) start
[2025-01-10 09:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215863', 'tblTempVendorCDR_20' ) end
[2025-01-10 09:01:18] Production.INFO: ProcessCDR(1,14215863,1,1,2)
[2025-01-10 09:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215863,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:01:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215863,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:01:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215863,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:01:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215863,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215863', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215863', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:01:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:01:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:01:22] Production.INFO: ==31490== Releasing lock...
[2025-01-10 09:01:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 09:01:22] Production.INFO: 34 MB #Memory Used#
[2025-01-10 14:02:01] Production.INFO: ==31547== Lock acquired, processing the job...
[2025-01-10 14:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 14:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 14:02:01] Production.INFO: neon service started
[2025-01-10 14:02:01] Production.INFO: neon service started
[2025-01-10 14:02:01] Production.INFO: ==31547== Releasing lock...
[2025-01-10 14:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 14:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 09:02:02] Production.INFO: ==31550== Lock acquired, processing the job...
[2025-01-10 09:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 14:02:02] Production.INFO: ==31552== Lock acquired, processing the job...
[2025-01-10 14:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 14:02:02] Production.INFO: ==31552== Releasing lock...
[2025-01-10 14:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 14:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 09:02:02] Production.INFO: ==31550== Releasing lock...
[2025-01-10 09:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 09:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 09:02:03] Production.INFO: ==31556== Lock acquired, processing the job...
[2025-01-10 09:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 09:02:03] Production.INFO: ==31564== Lock acquired, processing the job...
[2025-01-10 09:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 09:02:03] Production.INFO: ==31556== Releasing lock...
[2025-01-10 09:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 09:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 09:02:03] Production.INFO: ==31554== Lock acquired, processing the job...
[2025-01-10 09:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 09:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:02:03] Production.INFO: count ==21
[2025-01-10 09:02:03] Production.INFO: ==31560== Lock acquired, processing the job...
[2025-01-10 09:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 09:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:02:03] Production.INFO: count ==21
[2025-01-10 09:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 09:02:03] Production.INFO: ==31562== Lock acquired, processing the job...
[2025-01-10 09:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 09:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215865') start
[2025-01-10 09:02:03] Production.INFO: ==31558== Lock acquired, processing the job...
[2025-01-10 09:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 09:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215865') end
[2025-01-10 09:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 09:02:04] Production.INFO: 1
[2025-01-10 09:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 09:02:04] Production.INFO: Account Balance Start.
[2025-01-10 09:02:04] Production.INFO: CreateAllLog Start
[2025-01-10 09:02:04] Production.INFO: 117
[2025-01-10 09:02:04] Production.INFO: ==31564== Releasing lock...
[2025-01-10 09:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 09:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 09:02:04] Production.INFO: Date 2025-01-08
[2025-01-10 09:02:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 09:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 09:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 09:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 09:02:04] Production.INFO: Date 2025-01-09
[2025-01-10 09:02:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:02:04] Production.INFO: Date 2025-01-10
[2025-01-10 09:02:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:02:04] Production.INFO: Total Charge 0
[2025-01-10 09:02:04] Production.INFO: CreateAllLog End
[2025-01-10 09:02:04] Production.ERROR: done
[2025-01-10 09:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 09:02:04] Production.INFO: Account Balance End.
[2025-01-10 09:02:04] Production.ERROR: done
[2025-01-10 09:02:04] Production.ERROR: CronJobId end 12
[2025-01-10 09:02:04] Production.INFO: ==31560== Releasing lock...
[2025-01-10 09:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 09:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 09:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 06:02:05
[end_date_ymd] => 2025-01-10 09:02:05
[RateCDR] => 1
)
[2025-01-10 09:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 06:02:05' and `end` < '2025-01-10 09:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 09:02:11] Production.ERROR: CronJobId end10
[2025-01-10 09:02:11] Production.INFO: ==31558== Releasing lock...
[2025-01-10 09:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 09:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 09:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 09:02:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 09:02:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 09:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 09:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 09:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 09:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 09:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 09:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 09:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 09:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 09:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 09:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 09:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 09:02:14] Production.INFO: call_cost start
[2025-01-10 09:02:14] Production.INFO: call_cost end
[2025-01-10 09:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 09:02:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 09:02:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 09:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 09:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 09:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 09:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 09:02:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 09:02:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 09:02:14] Production.INFO: ==31554== Releasing lock...
[2025-01-10 09:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 09:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:02:18] Production.INFO: count ==765
[2025-01-10 09:02:18] Production.ERROR: pbx CDR StartTime 2025-01-10 06:02:05 - End Time 2025-01-10 09:02:05
[2025-01-10 09:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 09:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215868', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215868', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215868', 'tblTempVendorCDR_20' ) start
[2025-01-10 09:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215868', 'tblTempVendorCDR_20' ) end
[2025-01-10 09:02:19] Production.INFO: ProcessCDR(1,14215868,1,1,2)
[2025-01-10 09:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215868,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:02:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215868,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:02:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215868,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:02:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215868,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215868', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215868', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:02:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:02:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:02:23] Production.INFO: ==31562== Releasing lock...
[2025-01-10 09:02:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 09:02:23] Production.INFO: 34.25 MB #Memory Used#
[2025-01-10 14:03:02] Production.INFO: ==31625== Lock acquired, processing the job...
[2025-01-10 14:03:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 14:03:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 14:03:02] Production.INFO: neon service started
[2025-01-10 14:03:02] Production.INFO: neon service started
[2025-01-10 14:03:02] Production.INFO: ==31625== Releasing lock...
[2025-01-10 14:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 14:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 09:03:02] Production.INFO: ==31627== Lock acquired, processing the job...
[2025-01-10 09:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:03:02] Production.INFO: ==31627== Releasing lock...
[2025-01-10 09:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 09:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 14:03:02] Production.INFO: ==31629== Lock acquired, processing the job...
[2025-01-10 14:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 14:03:03] Production.INFO: ==31629== Releasing lock...
[2025-01-10 14:03:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 14:03:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 09:03:03] Production.INFO: ==31631== Lock acquired, processing the job...
[2025-01-10 09:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 09:03:03] Production.INFO: ==31633== Lock acquired, processing the job...
[2025-01-10 09:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 09:03:03] Production.INFO: ==31637== Lock acquired, processing the job...
[2025-01-10 09:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 09:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 09:03:03] Production.INFO: Account Balance Start.
[2025-01-10 09:03:03] Production.INFO: CreateAllLog Start
[2025-01-10 09:03:03] Production.INFO: 117
[2025-01-10 09:03:03] Production.INFO: Date 2025-01-08
[2025-01-10 09:03:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:03:03] Production.INFO: ==31633== Releasing lock...
[2025-01-10 09:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 09:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 09:03:03] Production.INFO: Date 2025-01-09
[2025-01-10 09:03:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:03:03] Production.INFO: Date 2025-01-10
[2025-01-10 09:03:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:03:03] Production.INFO: Total Charge 0
[2025-01-10 09:03:03] Production.INFO: ==31635== Lock acquired, processing the job...
[2025-01-10 09:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 09:03:03] Production.INFO: CreateAllLog End
[2025-01-10 09:03:04] Production.INFO: ==31639== Lock acquired, processing the job...
[2025-01-10 09:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 09:03:04] Production.INFO: Account Balance End.
[2025-01-10 09:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 09:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 09:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 09:03:04] Production.INFO: ==31641== Lock acquired, processing the job...
[2025-01-10 09:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 09:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 09:03:04] Production.ERROR: CronJobId end 12
[2025-01-10 09:03:04] Production.INFO: ==31637== Releasing lock...
[2025-01-10 09:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 09:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 09:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:03:04] Production.INFO: count ==21
[2025-01-10 09:03:04] Production.ERROR: done
[2025-01-10 09:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 09:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:03:04] Production.INFO: count ==21
[2025-01-10 09:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215872') start
[2025-01-10 09:03:04] Production.ERROR: done
[2025-01-10 09:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215872') end
[2025-01-10 09:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 09:03:04] Production.INFO: 1
[2025-01-10 09:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 09:03:04] Production.INFO: ==31641== Releasing lock...
[2025-01-10 09:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 09:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 09:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 06:03:05
[end_date_ymd] => 2025-01-10 09:03:05
[RateCDR] => 1
)
[2025-01-10 09:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 06:03:05' and `end` < '2025-01-10 09:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 09:03:12] Production.ERROR: CronJobId end10
[2025-01-10 09:03:12] Production.INFO: ==31635== Releasing lock...
[2025-01-10 09:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 09:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 09:03:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 09:03:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 09:03:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 09:03:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 09:03:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 09:03:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 09:03:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 09:03:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 09:03:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 09:03:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 09:03:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 09:03:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 09:03:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 09:03:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 09:03:13] Production.INFO: call_cost start
[2025-01-10 09:03:13] Production.INFO: call_cost end
[2025-01-10 09:03:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 09:03:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 09:03:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 09:03:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 09:03:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 09:03:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 09:03:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 09:03:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 09:03:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 09:03:14] Production.INFO: ==31631== Releasing lock...
[2025-01-10 09:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 09:03:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:03:18] Production.INFO: count ==767
[2025-01-10 09:03:19] Production.ERROR: pbx CDR StartTime 2025-01-10 06:03:05 - End Time 2025-01-10 09:03:05
[2025-01-10 09:03:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 09:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215873', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215873', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215873', 'tblTempVendorCDR_20' ) start
[2025-01-10 09:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215873', 'tblTempVendorCDR_20' ) end
[2025-01-10 09:03:19] Production.INFO: ProcessCDR(1,14215873,1,1,2)
[2025-01-10 09:03:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215873,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:03:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215873,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:03:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215873,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:03:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215873,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215873', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215873', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:03:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:03:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:03:22] Production.INFO: ==31639== Releasing lock...
[2025-01-10 09:03:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 09:03:22] Production.INFO: 34.25 MB #Memory Used#
[2025-01-10 14:04:01] Production.INFO: ==31695== Lock acquired, processing the job...
[2025-01-10 14:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 14:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 14:04:01] Production.INFO: neon service started
[2025-01-10 14:04:01] Production.INFO: neon service started
[2025-01-10 14:04:01] Production.INFO: ==31695== Releasing lock...
[2025-01-10 14:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 14:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 09:04:01] Production.INFO: ==31697== Lock acquired, processing the job...
[2025-01-10 09:04:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:04:02] Production.INFO: ==31697== Releasing lock...
[2025-01-10 09:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 09:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 14:04:02] Production.INFO: ==31699== Lock acquired, processing the job...
[2025-01-10 14:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 14:04:02] Production.INFO: ==31699== Releasing lock...
[2025-01-10 14:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 14:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 09:04:03] Production.INFO: ==31710== Lock acquired, processing the job...
[2025-01-10 09:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 09:04:03] Production.INFO: ==31708== Lock acquired, processing the job...
[2025-01-10 09:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 09:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:04:03] Production.INFO: ==31702== Lock acquired, processing the job...
[2025-01-10 09:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 09:04:03] Production.INFO: Account Balance Start.
[2025-01-10 09:04:03] Production.INFO: CreateAllLog Start
[2025-01-10 09:04:03] Production.INFO: 117
[2025-01-10 09:04:03] Production.INFO: ==31704== Lock acquired, processing the job...
[2025-01-10 09:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 09:04:03] Production.INFO: Date 2025-01-08
[2025-01-10 09:04:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:04:03] Production.INFO: ==31706== Lock acquired, processing the job...
[2025-01-10 09:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 09:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 09:04:03] Production.INFO: Date 2025-01-09
[2025-01-10 09:04:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:04:03] Production.ERROR: done
[2025-01-10 09:04:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 09:04:03] Production.INFO: ==31712== Lock acquired, processing the job...
[2025-01-10 09:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 09:04:03] Production.INFO: Date 2025-01-10
[2025-01-10 09:04:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 09:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 09:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 09:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 09:04:03] Production.INFO: Total Charge 0
[2025-01-10 09:04:03] Production.INFO: CreateAllLog End
[2025-01-10 09:04:03] Production.ERROR: done
[2025-01-10 09:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:04:03] Production.INFO: ==31704== Releasing lock...
[2025-01-10 09:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 09:04:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 09:04:03] Production.INFO: count ==21
[2025-01-10 09:04:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:04:03] Production.INFO: count ==21
[2025-01-10 09:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215877') start
[2025-01-10 09:04:03] Production.INFO: Account Balance End.
[2025-01-10 09:04:03] Production.ERROR: CronJobId end 12
[2025-01-10 09:04:03] Production.INFO: ==31708== Releasing lock...
[2025-01-10 09:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 09:04:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 09:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215877') end
[2025-01-10 09:04:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 09:04:03] Production.INFO: 1
[2025-01-10 09:04:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 09:04:04] Production.INFO: ==31712== Releasing lock...
[2025-01-10 09:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 09:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 09:04:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 06:04:04
[end_date_ymd] => 2025-01-10 09:04:04
[RateCDR] => 1
)
[2025-01-10 09:04:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 06:04:04' and `end` < '2025-01-10 09:04:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 09:04:11] Production.ERROR: CronJobId end10
[2025-01-10 09:04:11] Production.INFO: ==31706== Releasing lock...
[2025-01-10 09:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 09:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 09:04:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 09:04:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 09:04:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 09:04:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 09:04:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 09:04:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 09:04:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 09:04:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 09:04:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 09:04:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 09:04:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 09:04:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 09:04:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 09:04:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 09:04:13] Production.INFO: call_cost start
[2025-01-10 09:04:13] Production.INFO: call_cost end
[2025-01-10 09:04:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 09:04:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 09:04:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 09:04:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 09:04:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 09:04:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 09:04:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 09:04:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 09:04:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 09:04:13] Production.INFO: ==31702== Releasing lock...
[2025-01-10 09:04:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 09:04:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:04:17] Production.INFO: count ==769
[2025-01-10 09:04:18] Production.ERROR: pbx CDR StartTime 2025-01-10 06:04:04 - End Time 2025-01-10 09:04:04
[2025-01-10 09:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 09:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215878', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215878', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215878', 'tblTempVendorCDR_20' ) start
[2025-01-10 09:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215878', 'tblTempVendorCDR_20' ) end
[2025-01-10 09:04:18] Production.INFO: ProcessCDR(1,14215878,1,1,2)
[2025-01-10 09:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215878,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:04:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215878,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:04:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215878,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:04:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215878,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215878', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215878', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:04:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:04:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:04:22] Production.INFO: ==31710== Releasing lock...
[2025-01-10 09:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 09:04:22] Production.INFO: 34 MB #Memory Used#
[2025-01-10 14:05:02] Production.INFO: ==31766== Lock acquired, processing the job...
[2025-01-10 14:05:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 14:05:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 14:05:02] Production.INFO: neon service started
[2025-01-10 14:05:02] Production.INFO: neon service started
[2025-01-10 14:05:02] Production.INFO: ==31766== Releasing lock...
[2025-01-10 14:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 14:05:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 09:05:02] Production.INFO: ==31769== Lock acquired, processing the job...
[2025-01-10 09:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:05:02] Production.INFO: ==31769== Releasing lock...
[2025-01-10 09:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 09:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 14:05:02] Production.INFO: ==31771== Lock acquired, processing the job...
[2025-01-10 14:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 14:05:02] Production.INFO: ==31771== Releasing lock...
[2025-01-10 14:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 14:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 09:05:03] Production.INFO: ==31777== Lock acquired, processing the job...
[2025-01-10 09:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 09:05:03] Production.INFO: ==31781== Lock acquired, processing the job...
[2025-01-10 09:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 09:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 09:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 09:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 09:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 09:05:03] Production.INFO: ==31779== Lock acquired, processing the job...
[2025-01-10 09:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 09:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:05:03] Production.INFO: ==31775== Lock acquired, processing the job...
[2025-01-10 09:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 09:05:03] Production.INFO: ==31773== Lock acquired, processing the job...
[2025-01-10 09:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 09:05:03] Production.INFO: ==31783== Lock acquired, processing the job...
[2025-01-10 09:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 09:05:03] Production.INFO: Account Balance Start.
[2025-01-10 09:05:03] Production.INFO: CreateAllLog Start
[2025-01-10 09:05:03] Production.INFO: 117
[2025-01-10 09:05:03] Production.INFO: Date 2025-01-08
[2025-01-10 09:05:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 09:05:03] Production.INFO: Date 2025-01-09
[2025-01-10 09:05:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:05:04] Production.INFO: Date 2025-01-10
[2025-01-10 09:05:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:05:04] Production.INFO: count ==21
[2025-01-10 09:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:05:04] Production.INFO: count ==21
[2025-01-10 09:05:04] Production.ERROR: done
[2025-01-10 09:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 09:05:04] Production.INFO: Total Charge 0
[2025-01-10 09:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215881') start
[2025-01-10 09:05:04] Production.INFO: CreateAllLog End
[2025-01-10 09:05:04] Production.ERROR: done
[2025-01-10 09:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215881') end
[2025-01-10 09:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 09:05:04] Production.INFO: 1
[2025-01-10 09:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 09:05:04] Production.INFO: ==31783== Releasing lock...
[2025-01-10 09:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 09:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 09:05:04] Production.INFO: Account Balance End.
[2025-01-10 09:05:04] Production.INFO: ==31775== Releasing lock...
[2025-01-10 09:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 09:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 09:05:04] Production.ERROR: CronJobId end 12
[2025-01-10 09:05:04] Production.INFO: ==31779== Releasing lock...
[2025-01-10 09:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 09:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 09:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 06:05:05
[end_date_ymd] => 2025-01-10 09:05:05
[RateCDR] => 1
)
[2025-01-10 09:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 06:05:05' and `end` < '2025-01-10 09:05:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 09:05:10] Production.ERROR: CronJobId end10
[2025-01-10 09:05:10] Production.INFO: ==31777== Releasing lock...
[2025-01-10 09:05:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 09:05:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 09:05:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 09:05:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 09:05:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 09:05:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 09:05:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 09:05:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 09:05:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 09:05:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 09:05:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 09:05:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 09:05:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 09:05:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 09:05:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 09:05:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 09:05:13] Production.INFO: call_cost start
[2025-01-10 09:05:13] Production.INFO: call_cost end
[2025-01-10 09:05:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 09:05:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 09:05:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 09:05:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 09:05:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 09:05:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 09:05:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 09:05:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 09:05:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 09:05:14] Production.INFO: ==31773== Releasing lock...
[2025-01-10 09:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 09:05:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:05:18] Production.INFO: count ==771
[2025-01-10 09:05:18] Production.ERROR: pbx CDR StartTime 2025-01-10 06:05:05 - End Time 2025-01-10 09:05:05
[2025-01-10 09:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 09:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215883', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215883', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215883', 'tblTempVendorCDR_20' ) start
[2025-01-10 09:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215883', 'tblTempVendorCDR_20' ) end
[2025-01-10 09:05:18] Production.INFO: ProcessCDR(1,14215883,1,1,2)
[2025-01-10 09:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215883,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215883,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215883,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:05:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215883,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215883', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215883', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:05:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:05:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:05:22] Production.INFO: ==31781== Releasing lock...
[2025-01-10 09:05:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 09:05:22] Production.INFO: 34 MB #Memory Used#
[2025-01-10 14:06:01] Production.INFO: ==31836== Lock acquired, processing the job...
[2025-01-10 14:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 14:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 14:06:01] Production.INFO: neon service started
[2025-01-10 14:06:01] Production.INFO: neon service started
[2025-01-10 14:06:01] Production.INFO: ==31836== Releasing lock...
[2025-01-10 14:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 14:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 09:06:01] Production.INFO: ==31838== Lock acquired, processing the job...
[2025-01-10 09:06:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:06:02] Production.INFO: ==31838== Releasing lock...
[2025-01-10 09:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 09:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 14:06:02] Production.INFO: ==31840== Lock acquired, processing the job...
[2025-01-10 14:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 14:06:02] Production.INFO: ==31840== Releasing lock...
[2025-01-10 14:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 14:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 09:06:02] Production.INFO: ==31845== Lock acquired, processing the job...
[2025-01-10 09:06:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 09:06:03] Production.INFO: ==31843== Lock acquired, processing the job...
[2025-01-10 09:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 09:06:03] Production.INFO: ==31853== Lock acquired, processing the job...
[2025-01-10 09:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 09:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 09:06:03] Production.INFO: ==31847== Lock acquired, processing the job...
[2025-01-10 09:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 09:06:03] Production.INFO: ==31849== Lock acquired, processing the job...
[2025-01-10 09:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 09:06:03] Production.INFO: ==31845== Releasing lock...
[2025-01-10 09:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 09:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 09:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 09:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 09:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 09:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 09:06:03] Production.INFO: ==31851== Lock acquired, processing the job...
[2025-01-10 09:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 09:06:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:06:03] Production.INFO: count ==21
[2025-01-10 09:06:03] Production.INFO: Account Balance Start.
[2025-01-10 09:06:03] Production.INFO: CreateAllLog Start
[2025-01-10 09:06:03] Production.INFO: 117
[2025-01-10 09:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:06:03] Production.INFO: Date 2025-01-08
[2025-01-10 09:06:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:06:03] Production.INFO: count ==21
[2025-01-10 09:06:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215886') start
[2025-01-10 09:06:03] Production.INFO: Date 2025-01-09
[2025-01-10 09:06:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:06:03] Production.INFO: Date 2025-01-10
[2025-01-10 09:06:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215886') end
[2025-01-10 09:06:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 09:06:03] Production.INFO: 1
[2025-01-10 09:06:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 09:06:03] Production.INFO: Total Charge 0
[2025-01-10 09:06:03] Production.INFO: ==31853== Releasing lock...
[2025-01-10 09:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 09:06:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 09:06:03] Production.ERROR: done
[2025-01-10 09:06:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 09:06:03] Production.INFO: CreateAllLog End
[2025-01-10 09:06:03] Production.ERROR: done
[2025-01-10 09:06:03] Production.INFO: Account Balance End.
[2025-01-10 09:06:04] Production.ERROR: CronJobId end 12
[2025-01-10 09:06:04] Production.INFO: ==31849== Releasing lock...
[2025-01-10 09:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 09:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 09:06:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 06:06:04
[end_date_ymd] => 2025-01-10 09:06:04
[RateCDR] => 1
)
[2025-01-10 09:06:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 06:06:04' and `end` < '2025-01-10 09:06:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 09:06:10] Production.ERROR: CronJobId end10
[2025-01-10 09:06:10] Production.INFO: ==31847== Releasing lock...
[2025-01-10 09:06:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 09:06:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 09:06:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 09:06:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 09:06:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 09:06:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 09:06:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 09:06:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 09:06:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 09:06:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 09:06:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 09:06:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 09:06:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 09:06:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 09:06:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 09:06:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 09:06:13] Production.INFO: call_cost start
[2025-01-10 09:06:13] Production.INFO: call_cost end
[2025-01-10 09:06:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 09:06:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 09:06:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 09:06:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 09:06:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 09:06:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 09:06:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 09:06:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 09:06:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 09:06:13] Production.INFO: ==31843== Releasing lock...
[2025-01-10 09:06:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 09:06:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:06:18] Production.INFO: count ==791
[2025-01-10 09:06:18] Production.ERROR: pbx CDR StartTime 2025-01-10 06:06:04 - End Time 2025-01-10 09:06:04
[2025-01-10 09:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 09:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215888', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215888', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215888', 'tblTempVendorCDR_20' ) start
[2025-01-10 09:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215888', 'tblTempVendorCDR_20' ) end
[2025-01-10 09:06:18] Production.INFO: ProcessCDR(1,14215888,1,1,2)
[2025-01-10 09:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215888,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:06:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215888,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:06:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215888,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:06:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215888,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215888', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215888', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:06:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:06:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:06:23] Production.INFO: ==31851== Releasing lock...
[2025-01-10 09:06:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 09:06:23] Production.INFO: 34 MB #Memory Used#
[2025-01-10 14:07:01] Production.INFO: ==31947== Lock acquired, processing the job...
[2025-01-10 14:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 14:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 14:07:01] Production.INFO: neon service started
[2025-01-10 14:07:01] Production.INFO: neon service started
[2025-01-10 14:07:01] Production.INFO: ==31947== Releasing lock...
[2025-01-10 14:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 14:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:07:02] Production.INFO: ==31951== Lock acquired, processing the job...
[2025-01-10 14:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 14:07:02] Production.INFO: ==31951== Releasing lock...
[2025-01-10 14:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 14:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 09:07:02] Production.INFO: ==31949== Lock acquired, processing the job...
[2025-01-10 09:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:07:02] Production.INFO: ==31949== Releasing lock...
[2025-01-10 09:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 09:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 09:07:03] Production.INFO: ==31960== Lock acquired, processing the job...
[2025-01-10 09:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 09:07:03] Production.INFO: ==31964== Lock acquired, processing the job...
[2025-01-10 09:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 09:07:03] Production.INFO: Account Balance Start.
[2025-01-10 09:07:03] Production.INFO: CreateAllLog Start
[2025-01-10 09:07:03] Production.INFO: 117
[2025-01-10 09:07:03] Production.INFO: Date 2025-01-08
[2025-01-10 09:07:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:07:03] Production.INFO: Date 2025-01-09
[2025-01-10 09:07:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:07:03] Production.INFO: Date 2025-01-10
[2025-01-10 09:07:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:07:03] Production.INFO: Total Charge 0
[2025-01-10 09:07:03] Production.INFO: count ==21
[2025-01-10 09:07:03] Production.INFO: CreateAllLog End
[2025-01-10 09:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:07:03] Production.INFO: count ==21
[2025-01-10 09:07:03] Production.INFO: ==31954== Lock acquired, processing the job...
[2025-01-10 09:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 09:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215890') start
[2025-01-10 09:07:03] Production.INFO: ==31956== Lock acquired, processing the job...
[2025-01-10 09:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 09:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 09:07:03] Production.INFO: ==31958== Lock acquired, processing the job...
[2025-01-10 09:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 09:07:03] Production.INFO: ==31962== Lock acquired, processing the job...
[2025-01-10 09:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 09:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215890') end
[2025-01-10 09:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 09:07:04] Production.INFO: 1
[2025-01-10 09:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 09:07:04] Production.INFO: ==31964== Releasing lock...
[2025-01-10 09:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 09:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 09:07:04] Production.INFO: Account Balance End.
[2025-01-10 09:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 09:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 09:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 09:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 09:07:04] Production.ERROR: CronJobId end 12
[2025-01-10 09:07:04] Production.INFO: ==31960== Releasing lock...
[2025-01-10 09:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 09:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 09:07:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:07:04] Production.INFO: ==31956== Releasing lock...
[2025-01-10 09:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 09:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 09:07:04] Production.ERROR: done
[2025-01-10 09:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 09:07:04] Production.ERROR: done
[2025-01-10 09:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 06:07:05
[end_date_ymd] => 2025-01-10 09:07:05
[RateCDR] => 1
)
[2025-01-10 09:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 06:07:05' and `end` < '2025-01-10 09:07:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 09:07:11] Production.ERROR: CronJobId end10
[2025-01-10 09:07:11] Production.INFO: ==31958== Releasing lock...
[2025-01-10 09:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 09:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 09:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 09:07:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 09:07:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 09:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 09:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 09:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 09:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 09:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 09:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 09:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 09:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 09:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 09:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 09:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 09:07:14] Production.INFO: call_cost start
[2025-01-10 09:07:14] Production.INFO: call_cost end
[2025-01-10 09:07:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 09:07:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 09:07:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 09:07:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 09:07:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 09:07:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 09:07:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 09:07:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 09:07:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 09:07:15] Production.INFO: ==31954== Releasing lock...
[2025-01-10 09:07:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 09:07:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:07:18] Production.INFO: count ==792
[2025-01-10 09:07:18] Production.ERROR: pbx CDR StartTime 2025-01-10 06:07:05 - End Time 2025-01-10 09:07:05
[2025-01-10 09:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 09:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215893', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215893', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215893', 'tblTempVendorCDR_20' ) start
[2025-01-10 09:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215893', 'tblTempVendorCDR_20' ) end
[2025-01-10 09:07:18] Production.INFO: ProcessCDR(1,14215893,1,1,2)
[2025-01-10 09:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215893,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215893,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215893,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:07:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215893,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215893', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215893', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:07:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:07:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:07:22] Production.INFO: ==31962== Releasing lock...
[2025-01-10 09:07:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 09:07:22] Production.INFO: 33.75 MB #Memory Used#
[2025-01-10 14:08:02] Production.INFO: ==32017== Lock acquired, processing the job...
[2025-01-10 14:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 14:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 14:08:02] Production.INFO: neon service started
[2025-01-10 14:08:02] Production.INFO: neon service started
[2025-01-10 14:08:02] Production.INFO: ==32017== Releasing lock...
[2025-01-10 14:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 14:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 09:08:02] Production.INFO: ==32020== Lock acquired, processing the job...
[2025-01-10 09:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:08:02] Production.INFO: ==32020== Releasing lock...
[2025-01-10 09:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 09:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 14:08:03] Production.INFO: ==32022== Lock acquired, processing the job...
[2025-01-10 14:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 14:08:03] Production.INFO: ==32022== Releasing lock...
[2025-01-10 14:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 14:08:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 09:08:03] Production.INFO: ==32029== Lock acquired, processing the job...
[2025-01-10 09:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 09:08:03] Production.INFO: ==32024== Lock acquired, processing the job...
[2025-01-10 09:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 09:08:03] Production.INFO: ==32035== Lock acquired, processing the job...
[2025-01-10 09:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 09:08:03] Production.INFO: ==32027== Lock acquired, processing the job...
[2025-01-10 09:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 09:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 09:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 09:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 09:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 09:08:04] Production.INFO: ==32031== Lock acquired, processing the job...
[2025-01-10 09:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 09:08:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 09:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:08:04] Production.INFO: ==32033== Lock acquired, processing the job...
[2025-01-10 09:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 09:08:04] Production.INFO: count ==21
[2025-01-10 09:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:08:04] Production.INFO: count ==21
[2025-01-10 09:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:08:04] Production.INFO: Account Balance Start.
[2025-01-10 09:08:04] Production.INFO: CreateAllLog Start
[2025-01-10 09:08:04] Production.INFO: 117
[2025-01-10 09:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215894') start
[2025-01-10 09:08:04] Production.INFO: Date 2025-01-08
[2025-01-10 09:08:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:08:04] Production.INFO: Date 2025-01-09
[2025-01-10 09:08:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215894') end
[2025-01-10 09:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 09:08:04] Production.INFO: 1
[2025-01-10 09:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 09:08:04] Production.INFO: Date 2025-01-10
[2025-01-10 09:08:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:08:04] Production.INFO: ==32035== Releasing lock...
[2025-01-10 09:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 09:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 09:08:04] Production.INFO: ==32027== Releasing lock...
[2025-01-10 09:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 09:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 09:08:04] Production.ERROR: done
[2025-01-10 09:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 09:08:04] Production.INFO: Total Charge 0
[2025-01-10 09:08:04] Production.INFO: CreateAllLog End
[2025-01-10 09:08:04] Production.ERROR: done
[2025-01-10 09:08:04] Production.INFO: Account Balance End.
[2025-01-10 09:08:04] Production.ERROR: CronJobId end 12
[2025-01-10 09:08:04] Production.INFO: ==32031== Releasing lock...
[2025-01-10 09:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 09:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 09:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 06:08:05
[end_date_ymd] => 2025-01-10 09:08:05
[RateCDR] => 1
)
[2025-01-10 09:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 06:08:05' and `end` < '2025-01-10 09:08:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 09:08:12] Production.ERROR: CronJobId end10
[2025-01-10 09:08:12] Production.INFO: ==32029== Releasing lock...
[2025-01-10 09:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 09:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 09:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 09:08:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 09:08:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 09:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 09:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 09:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 09:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 09:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 09:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 09:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 09:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 09:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 09:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 09:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 09:08:14] Production.INFO: call_cost start
[2025-01-10 09:08:14] Production.INFO: call_cost end
[2025-01-10 09:08:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 09:08:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 09:08:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 09:08:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 09:08:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 09:08:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 09:08:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 09:08:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 09:08:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 09:08:15] Production.INFO: ==32024== Releasing lock...
[2025-01-10 09:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 09:08:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:08:19] Production.INFO: count ==812
[2025-01-10 09:08:20] Production.ERROR: pbx CDR StartTime 2025-01-10 06:08:05 - End Time 2025-01-10 09:08:05
[2025-01-10 09:08:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 09:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215898', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215898', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215898', 'tblTempVendorCDR_20' ) start
[2025-01-10 09:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215898', 'tblTempVendorCDR_20' ) end
[2025-01-10 09:08:20] Production.INFO: ProcessCDR(1,14215898,1,1,2)
[2025-01-10 09:08:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215898,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:08:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215898,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:08:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215898,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:08:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215898,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215898', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215898', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:08:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:08:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:08:23] Production.INFO: ==32033== Releasing lock...
[2025-01-10 09:08:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 09:08:23] Production.INFO: 34.25 MB #Memory Used#
[2025-01-10 14:09:01] Production.INFO: ==32089== Lock acquired, processing the job...
[2025-01-10 14:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 14:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 14:09:01] Production.INFO: neon service started
[2025-01-10 14:09:01] Production.INFO: neon service started
[2025-01-10 14:09:01] Production.INFO: ==32089== Releasing lock...
[2025-01-10 14:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 14:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 09:09:02] Production.INFO: ==32091== Lock acquired, processing the job...
[2025-01-10 09:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:09:02] Production.INFO: ==32091== Releasing lock...
[2025-01-10 09:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 09:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 14:09:02] Production.INFO: ==32094== Lock acquired, processing the job...
[2025-01-10 14:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 14:09:02] Production.INFO: ==32094== Releasing lock...
[2025-01-10 14:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 14:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 09:09:03] Production.INFO: ==32100== Lock acquired, processing the job...
[2025-01-10 09:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 09:09:03] Production.INFO: ==32096== Lock acquired, processing the job...
[2025-01-10 09:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 09:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 09:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 09:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 09:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 09:09:03] Production.INFO: ==32106== Lock acquired, processing the job...
[2025-01-10 09:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 09:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 09:09:03] Production.INFO: ==32098== Lock acquired, processing the job...
[2025-01-10 09:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 09:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:09:03] Production.INFO: ==32102== Lock acquired, processing the job...
[2025-01-10 09:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 09:09:03] Production.INFO: count ==21
[2025-01-10 09:09:03] Production.INFO: ==32104== Lock acquired, processing the job...
[2025-01-10 09:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 09:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:09:03] Production.INFO: count ==21
[2025-01-10 09:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:09:03] Production.INFO: Account Balance Start.
[2025-01-10 09:09:03] Production.INFO: CreateAllLog Start
[2025-01-10 09:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215900') start
[2025-01-10 09:09:03] Production.INFO: 117
[2025-01-10 09:09:03] Production.INFO: Date 2025-01-08
[2025-01-10 09:09:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:09:03] Production.INFO: Date 2025-01-09
[2025-01-10 09:09:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:09:03] Production.INFO: Date 2025-01-10
[2025-01-10 09:09:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215900') end
[2025-01-10 09:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 09:09:03] Production.INFO: 1
[2025-01-10 09:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 09:09:03] Production.INFO: Total Charge 0
[2025-01-10 09:09:04] Production.INFO: CreateAllLog End
[2025-01-10 09:09:04] Production.INFO: ==32106== Releasing lock...
[2025-01-10 09:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 09:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 09:09:04] Production.ERROR: done
[2025-01-10 09:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 09:09:04] Production.INFO: ==32098== Releasing lock...
[2025-01-10 09:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 09:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 09:09:04] Production.INFO: Account Balance End.
[2025-01-10 09:09:04] Production.ERROR: done
[2025-01-10 09:09:04] Production.ERROR: CronJobId end 12
[2025-01-10 09:09:04] Production.INFO: ==32102== Releasing lock...
[2025-01-10 09:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 09:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 09:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 06:09:05
[end_date_ymd] => 2025-01-10 09:09:05
[RateCDR] => 1
)
[2025-01-10 09:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 06:09:05' and `end` < '2025-01-10 09:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 09:09:11] Production.ERROR: CronJobId end10
[2025-01-10 09:09:11] Production.INFO: ==32100== Releasing lock...
[2025-01-10 09:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 09:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 09:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 09:09:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 09:09:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 09:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 09:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 09:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 09:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 09:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 09:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 09:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 09:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 09:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 09:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 09:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 09:09:13] Production.INFO: call_cost start
[2025-01-10 09:09:13] Production.INFO: call_cost end
[2025-01-10 09:09:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 09:09:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 09:09:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 09:09:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 09:09:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 09:09:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 09:09:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 09:09:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 09:09:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 09:09:14] Production.INFO: ==32096== Releasing lock...
[2025-01-10 09:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 09:09:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:09:18] Production.INFO: count ==824
[2025-01-10 09:09:18] Production.ERROR: pbx CDR StartTime 2025-01-10 06:09:05 - End Time 2025-01-10 09:09:05
[2025-01-10 09:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 09:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215903', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215903', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215903', 'tblTempVendorCDR_20' ) start
[2025-01-10 09:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215903', 'tblTempVendorCDR_20' ) end
[2025-01-10 09:09:18] Production.INFO: ProcessCDR(1,14215903,1,1,2)
[2025-01-10 09:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215903,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:09:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215903,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:09:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215903,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:09:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215903,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215903', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215903', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:09:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:09:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:09:23] Production.INFO: ==32104== Releasing lock...
[2025-01-10 09:09:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 09:09:23] Production.INFO: 34.25 MB #Memory Used#
[2025-01-10 14:10:02] Production.INFO: ==32163== Lock acquired, processing the job...
[2025-01-10 14:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 14:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 14:10:02] Production.INFO: neon service started
[2025-01-10 14:10:02] Production.INFO: neon service started
[2025-01-10 14:10:02] Production.INFO: ==32163== Releasing lock...
[2025-01-10 14:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 14:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 09:10:02] Production.INFO: ==32165== Lock acquired, processing the job...
[2025-01-10 09:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 14:10:02] Production.INFO: ==32167== Lock acquired, processing the job...
[2025-01-10 14:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 14:10:02] Production.INFO: ==32167== Releasing lock...
[2025-01-10 14:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 14:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 09:10:03] Production.INFO: ==32165== Releasing lock...
[2025-01-10 09:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 09:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 09:10:04] Production.INFO: ==32174== Lock acquired, processing the job...
[2025-01-10 09:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 09:10:04] Production.INFO: ==32178== Lock acquired, processing the job...
[2025-01-10 09:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 09:10:04] Production.INFO: ==32170== Lock acquired, processing the job...
[2025-01-10 09:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 09:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 09:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 09:10:04] Production.ERROR: CronJob PID - 32174
[2025-01-10 09:10:04] Production.ERROR: CronJob Title - Account Block
[2025-01-10 09:10:04] Production.ERROR: CronJob ID - 7
[2025-01-10 09:10:04] Production.ERROR: CronJob Last Run Time 2025-01-10 09:10:00
[2025-01-10 09:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 09:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 09:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 09:10:04] Production.ERROR: CronJob PID - 32178
[2025-01-10 09:10:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-10 09:10:04] Production.ERROR: CronJob ID - 12
[2025-01-10 09:10:04] Production.ERROR: CronJob Last Run Time 2025-01-10 09:10:00
[2025-01-10 09:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 09:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 09:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 09:10:04] Production.INFO: ==32170== Releasing lock...
[2025-01-10 09:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 09:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 09:10:04] Production.INFO: Account Balance Start.
[2025-01-10 09:10:04] Production.INFO: CreateAllLog Start
[2025-01-10 09:10:04] Production.INFO: 117
[2025-01-10 09:10:04] Production.INFO: ==32172== Lock acquired, processing the job...
[2025-01-10 09:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 09:10:04] Production.INFO: Date 2025-01-08
[2025-01-10 09:10:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:10:04] Production.INFO: ==32184== Lock acquired, processing the job...
[2025-01-10 09:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 09:10:04] Production.INFO: Date 2025-01-09
[2025-01-10 09:10:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:10:04] Production.INFO: ==32176== Lock acquired, processing the job...
[2025-01-10 09:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 09:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 09:10:04] Production.INFO: Date 2025-01-10
[2025-01-10 09:10:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:10:04] Production.INFO: ==32180== Lock acquired, processing the job...
[2025-01-10 09:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 09:10:04] Production.INFO: ==32174== Releasing lock...
[2025-01-10 09:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 09:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 09:10:04] Production.INFO: Total Charge 0
[2025-01-10 09:10:04] Production.INFO: ==32182== Lock acquired, processing the job...
[2025-01-10 09:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 09:10:04] Production.INFO: CreateAllLog End
[2025-01-10 09:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 09:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 09:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 09:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 09:10:04] Production.INFO: count ==21
[2025-01-10 09:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:10:04] Production.INFO: count ==21
[2025-01-10 09:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215907') start
[2025-01-10 09:10:04] Production.INFO: Account Balance End.
[2025-01-10 09:10:04] Production.ERROR: CronJobId end 12
[2025-01-10 09:10:04] Production.INFO: ==32178== Releasing lock...
[2025-01-10 09:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 09:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 09:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14215907') end
[2025-01-10 09:10:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 09:10:05] Production.INFO: 1
[2025-01-10 09:10:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 09:10:05] Production.INFO: ==32184== Releasing lock...
[2025-01-10 09:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 09:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 09:10:05] Production.ERROR: done
[2025-01-10 09:10:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 09:10:05] Production.ERROR: done
[2025-01-10 09:10:05] Production.ERROR: done
[2025-01-10 09:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 09:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14215908', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 09:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 06:10:06
[end_date_ymd] => 2025-01-10 09:10:06
[RateCDR] => 1
)
[2025-01-10 09:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 06:10:06' and `end` < '2025-01-10 09:10:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 09:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14215908', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 09:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 09:10:09] Production.INFO: ProcessCDR(1,14215908,1,1,2)
[2025-01-10 09:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14215908,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14215908,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:10:09] Production.INFO: ==32182== Releasing lock...
[2025-01-10 09:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 09:10:09] Production.INFO: 26 MB #Memory Used#
[2025-01-10 09:10:13] Production.ERROR: CronJobId end10
[2025-01-10 09:10:13] Production.INFO: ==32176== Releasing lock...
[2025-01-10 09:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 09:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 09:10:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 09:10:15] Production.INFO: ============== Balance Warning START===========
[2025-01-10 09:10:15] Production.INFO: ============== Balance Warning END===========
[2025-01-10 09:10:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 09:10:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 09:10:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 09:10:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 09:10:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 09:10:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 09:10:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 09:10:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 09:10:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 09:10:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 09:10:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 09:10:16] Production.INFO: call_cost start
[2025-01-10 09:10:16] Production.INFO: call_cost end
[2025-01-10 09:10:17] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 09:10:17] Production.INFO: ============== Report Schedule START===========
[2025-01-10 09:10:17] Production.INFO: ============== Report Schedule END===========
[2025-01-10 09:10:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 09:10:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 09:10:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 09:10:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 09:10:17] Production.INFO: ============== Deal alert START===========
[2025-01-10 09:10:17] Production.INFO: ============== Deal alert END===========
[2025-01-10 09:10:17] Production.INFO: ==32172== Releasing lock...
[2025-01-10 09:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 09:10:17] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:10:19] Production.INFO: count ==835
[2025-01-10 09:10:19] Production.ERROR: pbx CDR StartTime 2025-01-10 06:10:06 - End Time 2025-01-10 09:10:06
[2025-01-10 09:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 09:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215909', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215909', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215909', 'tblTempVendorCDR_20' ) start
[2025-01-10 09:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215909', 'tblTempVendorCDR_20' ) end
[2025-01-10 09:10:19] Production.INFO: ProcessCDR(1,14215909,1,1,2)
[2025-01-10 09:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215909,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:10:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215909,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:10:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215909,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:10:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215909,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:10:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215909', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:10:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215909', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:10:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:10:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:10:24] Production.INFO: ==32180== Releasing lock...
[2025-01-10 09:10:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 09:10:24] Production.INFO: 34.5 MB #Memory Used#
[2025-01-10 14:11:01] Production.INFO: ==32238== Lock acquired, processing the job...
[2025-01-10 14:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 14:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 14:11:01] Production.INFO: neon service started
[2025-01-10 14:11:01] Production.INFO: neon service started
[2025-01-10 14:11:01] Production.INFO: ==32238== Releasing lock...
[2025-01-10 14:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 14:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 09:11:01] Production.INFO: ==32240== Lock acquired, processing the job...
[2025-01-10 09:11:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:11:02] Production.INFO: ==32240== Releasing lock...
[2025-01-10 09:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 09:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 14:11:02] Production.INFO: ==32242== Lock acquired, processing the job...
[2025-01-10 14:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 14:11:02] Production.INFO: ==32242== Releasing lock...
[2025-01-10 14:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 14:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 09:11:02] Production.INFO: ==32248== Lock acquired, processing the job...
[2025-01-10 09:11:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 09:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 09:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 09:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 09:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 09:11:03] Production.INFO: ==32244== Lock acquired, processing the job...
[2025-01-10 09:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 09:11:03] Production.INFO: ==32254== Lock acquired, processing the job...
[2025-01-10 09:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 09:11:03] Production.INFO: ==32246== Lock acquired, processing the job...
[2025-01-10 09:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 09:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 09:11:03] Production.INFO: ==32250== Lock acquired, processing the job...
[2025-01-10 09:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 09:11:03] Production.INFO: ==32252== Lock acquired, processing the job...
[2025-01-10 09:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 09:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:11:03] Production.INFO: Account Balance Start.
[2025-01-10 09:11:03] Production.INFO: CreateAllLog Start
[2025-01-10 09:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:11:03] Production.INFO: 117
[2025-01-10 09:11:03] Production.INFO: count ==21
[2025-01-10 09:11:03] Production.INFO: Date 2025-01-08
[2025-01-10 09:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:11:03] Production.INFO: count ==21
[2025-01-10 09:11:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215910') start
[2025-01-10 09:11:03] Production.INFO: Date 2025-01-09
[2025-01-10 09:11:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:11:03] Production.INFO: Date 2025-01-10
[2025-01-10 09:11:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215910') end
[2025-01-10 09:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 09:11:03] Production.INFO: 1
[2025-01-10 09:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 09:11:03] Production.INFO: Total Charge 0
[2025-01-10 09:11:03] Production.INFO: CreateAllLog End
[2025-01-10 09:11:03] Production.INFO: ==32254== Releasing lock...
[2025-01-10 09:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 09:11:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 09:11:03] Production.INFO: ==32246== Releasing lock...
[2025-01-10 09:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 09:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 09:11:03] Production.ERROR: done
[2025-01-10 09:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 09:11:03] Production.INFO: Account Balance End.
[2025-01-10 09:11:03] Production.ERROR: done
[2025-01-10 09:11:03] Production.ERROR: CronJobId end 12
[2025-01-10 09:11:03] Production.INFO: ==32250== Releasing lock...
[2025-01-10 09:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 09:11:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 09:11:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 06:11:04
[end_date_ymd] => 2025-01-10 09:11:04
[RateCDR] => 1
)
[2025-01-10 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-01-10 06:11:04' and `end` < '2025-01-10 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-01-10 09:11:11] Production.ERROR: CronJobId end10
[2025-01-10 09:11:11] Production.INFO: ==32248== Releasing lock...
[2025-01-10 09:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 09:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 09:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 09:11:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 09:11:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 09:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 09:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 09:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 09:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 09:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 09:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 09:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 09:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 09:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 09:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 09:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 09:11:13] Production.INFO: call_cost start
[2025-01-10 09:11:13] Production.INFO: call_cost end
[2025-01-10 09:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 09:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 09:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 09:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 09:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 09:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 09:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 09:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 09:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 09:11:14] Production.INFO: ==32244== Releasing lock...
[2025-01-10 09:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 09:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:11:19] Production.INFO: count ==913
[2025-01-10 09:11:19] Production.ERROR: pbx CDR StartTime 2025-01-10 06:11:04 - End Time 2025-01-10 09:11:04
[2025-01-10 09:11:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 09:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215914', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215914', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215914', 'tblTempVendorCDR_20' ) start
[2025-01-10 09:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215914', 'tblTempVendorCDR_20' ) end
[2025-01-10 09:11:19] Production.INFO: ProcessCDR(1,14215914,1,1,2)
[2025-01-10 09:11:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215914,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:11:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215914,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:11:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215914,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:11:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215914,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:11:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215914', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:11:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215914', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:11:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:11:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:11:24] Production.INFO: ==32252== Releasing lock...
[2025-01-10 09:11:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 09:11:24] Production.INFO: 35 MB #Memory Used#
[2025-01-10 14:12:02] Production.INFO: ==32309== Lock acquired, processing the job...
[2025-01-10 14:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 14:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 14:12:02] Production.INFO: neon service started
[2025-01-10 14:12:02] Production.INFO: neon service started
[2025-01-10 14:12:02] Production.INFO: ==32309== Releasing lock...
[2025-01-10 14:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 14:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 09:12:02] Production.INFO: ==32311== Lock acquired, processing the job...
[2025-01-10 09:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:12:02] Production.INFO: ==32311== Releasing lock...
[2025-01-10 09:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 09:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 14:12:02] Production.INFO: ==32313== Lock acquired, processing the job...
[2025-01-10 14:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 14:12:02] Production.INFO: ==32313== Releasing lock...
[2025-01-10 14:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 14:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 09:12:03] Production.INFO: ==32326== Lock acquired, processing the job...
[2025-01-10 09:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 09:12:03] Production.INFO: ==32322== Lock acquired, processing the job...
[2025-01-10 09:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 09:12:03] Production.INFO: ==32316== Lock acquired, processing the job...
[2025-01-10 09:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 09:12:03] Production.INFO: Account Balance Start.
[2025-01-10 09:12:03] Production.INFO: CreateAllLog Start
[2025-01-10 09:12:03] Production.INFO: 117
[2025-01-10 09:12:03] Production.INFO: ==32318== Lock acquired, processing the job...
[2025-01-10 09:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 09:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 09:12:03] Production.INFO: Date 2025-01-08
[2025-01-10 09:12:03] Production.INFO: ==32320== Lock acquired, processing the job...
[2025-01-10 09:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 09:12:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:12:03] Production.INFO: count ==21
[2025-01-10 09:12:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:12:03] Production.INFO: count ==21
[2025-01-10 09:12:03] Production.INFO: ==32324== Lock acquired, processing the job...
[2025-01-10 09:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 09:12:03] Production.INFO: Date 2025-01-09
[2025-01-10 09:12:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215915') start
[2025-01-10 09:12:03] Production.INFO: Date 2025-01-10
[2025-01-10 09:12:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 09:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 09:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 09:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 09:12:03] Production.INFO: Total Charge 0
[2025-01-10 09:12:03] Production.INFO: CreateAllLog End
[2025-01-10 09:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215915') end
[2025-01-10 09:12:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 09:12:03] Production.INFO: 1
[2025-01-10 09:12:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 09:12:04] Production.INFO: ==32326== Releasing lock...
[2025-01-10 09:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 09:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 09:12:04] Production.ERROR: done
[2025-01-10 09:12:04] Production.INFO: ==32318== Releasing lock...
[2025-01-10 09:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 09:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 09:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 09:12:04] Production.INFO: Account Balance End.
[2025-01-10 09:12:04] Production.ERROR: CronJobId end 12
[2025-01-10 09:12:04] Production.INFO: ==32322== Releasing lock...
[2025-01-10 09:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 09:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 09:12:04] Production.ERROR: done
[2025-01-10 09:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 06:12:05
[end_date_ymd] => 2025-01-10 09:12:05
[RateCDR] => 1
)
[2025-01-10 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-01-10 06:12:05' and `end` < '2025-01-10 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-01-10 09:12:11] Production.ERROR: CronJobId end10
[2025-01-10 09:12:11] Production.INFO: ==32320== Releasing lock...
[2025-01-10 09:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 09:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 09:12:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 09:12:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 09:12:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 09:12:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 09:12:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 09:12:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 09:12:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 09:12:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 09:12:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 09:12:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 09:12:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 09:12:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 09:12:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 09:12:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 09:12:13] Production.INFO: call_cost start
[2025-01-10 09:12:13] Production.INFO: call_cost end
[2025-01-10 09:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 09:12:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 09:12:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 09:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 09:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 09:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 09:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 09:12:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 09:12:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 09:12:14] Production.INFO: ==32316== Releasing lock...
[2025-01-10 09:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 09:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:12:19] Production.INFO: count ==937
[2025-01-10 09:12:19] Production.ERROR: pbx CDR StartTime 2025-01-10 06:12:05 - End Time 2025-01-10 09:12:05
[2025-01-10 09:12:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 09:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215919', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215919', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215919', 'tblTempVendorCDR_20' ) start
[2025-01-10 09:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215919', 'tblTempVendorCDR_20' ) end
[2025-01-10 09:12:19] Production.INFO: ProcessCDR(1,14215919,1,1,2)
[2025-01-10 09:12:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215919,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:12:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215919,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:12:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215919,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:12:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215919,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:12:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215919', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:12:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215919', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:12:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:12:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:12:23] Production.INFO: ==32324== Releasing lock...
[2025-01-10 09:12:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 09:12:23] Production.INFO: 35.5 MB #Memory Used#
[2025-01-10 14:13:01] Production.INFO: ==32379== Lock acquired, processing the job...
[2025-01-10 14:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 14:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 14:13:01] Production.INFO: neon service started
[2025-01-10 14:13:01] Production.INFO: neon service started
[2025-01-10 14:13:01] Production.INFO: ==32379== Releasing lock...
[2025-01-10 14:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 14:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 09:13:01] Production.INFO: ==32381== Lock acquired, processing the job...
[2025-01-10 09:13:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:13:02] Production.INFO: ==32381== Releasing lock...
[2025-01-10 09:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 09:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 14:13:02] Production.INFO: ==32384== Lock acquired, processing the job...
[2025-01-10 14:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 14:13:02] Production.INFO: ==32384== Releasing lock...
[2025-01-10 14:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 14:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 09:13:03] Production.INFO: ==32386== Lock acquired, processing the job...
[2025-01-10 09:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 09:13:03] Production.INFO: ==32388== Lock acquired, processing the job...
[2025-01-10 09:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 09:13:03] Production.INFO: ==32396== Lock acquired, processing the job...
[2025-01-10 09:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 09:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 09:13:03] Production.INFO: ==32390== Lock acquired, processing the job...
[2025-01-10 09:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 09:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:13:03] Production.INFO: ==32392== Lock acquired, processing the job...
[2025-01-10 09:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 09:13:03] Production.INFO: ==32394== Lock acquired, processing the job...
[2025-01-10 09:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 09:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 09:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 09:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 09:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 09:13:03] Production.INFO: count ==21
[2025-01-10 09:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:13:03] Production.INFO: count ==21
[2025-01-10 09:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215920') start
[2025-01-10 09:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215920') end
[2025-01-10 09:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 09:13:03] Production.INFO: 1
[2025-01-10 09:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 09:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:13:03] Production.INFO: Account Balance Start.
[2025-01-10 09:13:03] Production.INFO: CreateAllLog Start
[2025-01-10 09:13:03] Production.INFO: 117
[2025-01-10 09:13:03] Production.INFO: Date 2025-01-08
[2025-01-10 09:13:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:13:03] Production.INFO: ==32396== Releasing lock...
[2025-01-10 09:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 09:13:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 09:13:03] Production.INFO: ==32388== Releasing lock...
[2025-01-10 09:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 09:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 09:13:03] Production.INFO: Date 2025-01-09
[2025-01-10 09:13:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:13:03] Production.INFO: Date 2025-01-10
[2025-01-10 09:13:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:13:03] Production.ERROR: done
[2025-01-10 09:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 09:13:03] Production.INFO: Total Charge 0
[2025-01-10 09:13:04] Production.INFO: CreateAllLog End
[2025-01-10 09:13:04] Production.ERROR: done
[2025-01-10 09:13:04] Production.INFO: Account Balance End.
[2025-01-10 09:13:04] Production.ERROR: CronJobId end 12
[2025-01-10 09:13:04] Production.INFO: ==32392== Releasing lock...
[2025-01-10 09:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 09:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 09:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 06:13:05
[end_date_ymd] => 2025-01-10 09:13:05
[RateCDR] => 1
)
[2025-01-10 09:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 06:13:05' and `end` < '2025-01-10 09:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 09:13:10] Production.ERROR: CronJobId end10
[2025-01-10 09:13:10] Production.INFO: ==32390== Releasing lock...
[2025-01-10 09:13:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 09:13:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 09:13:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 09:13:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 09:13:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 09:13:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 09:13:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 09:13:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 09:13:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 09:13:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 09:13:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 09:13:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 09:13:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 09:13:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 09:13:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 09:13:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 09:13:12] Production.INFO: call_cost start
[2025-01-10 09:13:12] Production.INFO: call_cost end
[2025-01-10 09:13:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 09:13:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 09:13:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 09:13:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 09:13:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 09:13:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 09:13:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 09:13:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 09:13:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 09:13:13] Production.INFO: ==32386== Releasing lock...
[2025-01-10 09:13:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 09:13:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:13:18] Production.INFO: count ==957
[2025-01-10 09:13:18] Production.ERROR: pbx CDR StartTime 2025-01-10 06:13:05 - End Time 2025-01-10 09:13:05
[2025-01-10 09:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 09:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215924', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215924', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215924', 'tblTempVendorCDR_20' ) start
[2025-01-10 09:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215924', 'tblTempVendorCDR_20' ) end
[2025-01-10 09:13:18] Production.INFO: ProcessCDR(1,14215924,1,1,2)
[2025-01-10 09:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215924,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215924,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215924,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215924,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215924', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215924', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:13:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:13:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:13:21] Production.INFO: ==32394== Releasing lock...
[2025-01-10 09:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 09:13:21] Production.INFO: 36 MB #Memory Used#
[2025-01-10 14:14:01] Production.INFO: ==32455== Lock acquired, processing the job...
[2025-01-10 14:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 14:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 14:14:01] Production.INFO: neon service started
[2025-01-10 14:14:01] Production.INFO: neon service started
[2025-01-10 14:14:01] Production.INFO: ==32455== Releasing lock...
[2025-01-10 14:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 14:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:14:02] Production.INFO: ==32459== Lock acquired, processing the job...
[2025-01-10 14:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 14:14:02] Production.INFO: ==32459== Releasing lock...
[2025-01-10 14:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 14:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 09:14:02] Production.INFO: ==32457== Lock acquired, processing the job...
[2025-01-10 09:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:14:02] Production.INFO: ==32457== Releasing lock...
[2025-01-10 09:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 09:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 09:14:03] Production.INFO: ==32469== Lock acquired, processing the job...
[2025-01-10 09:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 09:14:03] Production.INFO: ==32473== Lock acquired, processing the job...
[2025-01-10 09:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 09:14:03] Production.INFO: Account Balance Start.
[2025-01-10 09:14:03] Production.INFO: CreateAllLog Start
[2025-01-10 09:14:03] Production.INFO: 117
[2025-01-10 09:14:03] Production.INFO: Date 2025-01-08
[2025-01-10 09:14:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:14:03] Production.INFO: ==32467== Lock acquired, processing the job...
[2025-01-10 09:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 09:14:03] Production.INFO: ==32463== Lock acquired, processing the job...
[2025-01-10 09:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 09:14:03] Production.INFO: ==32465== Lock acquired, processing the job...
[2025-01-10 09:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 09:14:03] Production.INFO: Date 2025-01-09
[2025-01-10 09:14:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:14:03] Production.INFO: Date 2025-01-10
[2025-01-10 09:14:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:14:03] Production.INFO: count ==21
[2025-01-10 09:14:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:14:03] Production.INFO: count ==21
[2025-01-10 09:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215926') start
[2025-01-10 09:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 09:14:03] Production.INFO: Total Charge 0
[2025-01-10 09:14:03] Production.INFO: ==32471== Lock acquired, processing the job...
[2025-01-10 09:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 09:14:03] Production.INFO: CreateAllLog End
[2025-01-10 09:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 09:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 09:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 09:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 09:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215926') end
[2025-01-10 09:14:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 09:14:03] Production.INFO: 1
[2025-01-10 09:14:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 09:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:14:03] Production.INFO: ==32473== Releasing lock...
[2025-01-10 09:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 09:14:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 09:14:04] Production.INFO: ==32465== Releasing lock...
[2025-01-10 09:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 09:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 09:14:04] Production.ERROR: done
[2025-01-10 09:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 09:14:04] Production.ERROR: done
[2025-01-10 09:14:04] Production.INFO: Account Balance End.
[2025-01-10 09:14:04] Production.ERROR: CronJobId end 12
[2025-01-10 09:14:04] Production.INFO: ==32469== Releasing lock...
[2025-01-10 09:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 09:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 09:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 06:14:05
[end_date_ymd] => 2025-01-10 09:14:05
[RateCDR] => 1
)
[2025-01-10 09:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 06:14:05' and `end` < '2025-01-10 09:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 09:14:11] Production.ERROR: CronJobId end10
[2025-01-10 09:14:11] Production.INFO: ==32467== Releasing lock...
[2025-01-10 09:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 09:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 09:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 09:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 09:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 09:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 09:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 09:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 09:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 09:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 09:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 09:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 09:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 09:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 09:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 09:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 09:14:14] Production.INFO: call_cost start
[2025-01-10 09:14:14] Production.INFO: call_cost end
[2025-01-10 09:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 09:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 09:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 09:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 09:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 09:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 09:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 09:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 09:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 09:14:14] Production.INFO: ==32463== Releasing lock...
[2025-01-10 09:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 09:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:14:18] Production.INFO: count ==987
[2025-01-10 09:14:18] Production.ERROR: pbx CDR StartTime 2025-01-10 06:14:05 - End Time 2025-01-10 09:14:05
[2025-01-10 09:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 09:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215929', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215929', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215929', 'tblTempVendorCDR_20' ) start
[2025-01-10 09:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215929', 'tblTempVendorCDR_20' ) end
[2025-01-10 09:14:18] Production.INFO: ProcessCDR(1,14215929,1,1,2)
[2025-01-10 09:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215929,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215929,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215929,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215929,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215929', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215929', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:14:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:14:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:14:21] Production.INFO: ==32471== Releasing lock...
[2025-01-10 09:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 09:14:21] Production.INFO: 35.75 MB #Memory Used#
[2025-01-10 14:15:02] Production.INFO: ==32531== Lock acquired, processing the job...
[2025-01-10 14:15:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 14:15:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 14:15:02] Production.INFO: neon service started
[2025-01-10 14:15:02] Production.INFO: neon service started
[2025-01-10 14:15:02] Production.INFO: ==32531== Releasing lock...
[2025-01-10 14:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 14:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:15:02] Production.INFO: ==32535== Lock acquired, processing the job...
[2025-01-10 14:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 14:15:02] Production.INFO: ==32535== Releasing lock...
[2025-01-10 14:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 14:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 09:15:02] Production.INFO: ==32533== Lock acquired, processing the job...
[2025-01-10 09:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:15:03] Production.INFO: ==32533== Releasing lock...
[2025-01-10 09:15:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 09:15:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 09:15:03] Production.INFO: ==32540== Lock acquired, processing the job...
[2025-01-10 09:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 09:15:03] Production.INFO: ==32544== Lock acquired, processing the job...
[2025-01-10 09:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 09:15:03] Production.INFO: ==32546== Lock acquired, processing the job...
[2025-01-10 09:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 09:15:03] Production.INFO: Account Balance Start.
[2025-01-10 09:15:03] Production.INFO: CreateAllLog Start
[2025-01-10 09:15:03] Production.INFO: 117
[2025-01-10 09:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:15:04] Production.INFO: Date 2025-01-08
[2025-01-10 09:15:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:15:04] Production.INFO: Date 2025-01-09
[2025-01-10 09:15:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:15:04] Production.INFO: ==32538== Lock acquired, processing the job...
[2025-01-10 09:15:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 09:15:04] Production.INFO: ==32542== Lock acquired, processing the job...
[2025-01-10 09:15:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 09:15:04] Production.INFO: Date 2025-01-10
[2025-01-10 09:15:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:15:04] Production.INFO: Total Charge 0
[2025-01-10 09:15:04] Production.INFO: CreateAllLog End
[2025-01-10 09:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 09:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 09:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 09:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 09:15:04] Production.INFO: ==32548== Lock acquired, processing the job...
[2025-01-10 09:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 09:15:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 09:15:04] Production.INFO: ==32540== Releasing lock...
[2025-01-10 09:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 09:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 09:15:04] Production.ERROR: done
[2025-01-10 09:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 09:15:04] Production.INFO: Account Balance End.
[2025-01-10 09:15:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:15:04] Production.ERROR: done
[2025-01-10 09:15:04] Production.ERROR: CronJobId end 12
[2025-01-10 09:15:04] Production.INFO: ==32544== Releasing lock...
[2025-01-10 09:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 09:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 09:15:04] Production.INFO: count ==21
[2025-01-10 09:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:15:04] Production.INFO: count ==21
[2025-01-10 09:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215933') start
[2025-01-10 09:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215933') end
[2025-01-10 09:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 09:15:04] Production.INFO: 1
[2025-01-10 09:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 09:15:04] Production.INFO: ==32548== Releasing lock...
[2025-01-10 09:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 09:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 09:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 06:15:05
[end_date_ymd] => 2025-01-10 09:15:05
[RateCDR] => 1
)
[2025-01-10 09:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 06:15:05' and `end` < '2025-01-10 09:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 09:15:11] Production.ERROR: CronJobId end10
[2025-01-10 09:15:11] Production.INFO: ==32542== Releasing lock...
[2025-01-10 09:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 09:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 09:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 09:15:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 09:15:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 09:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 09:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 09:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 09:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 09:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 09:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 09:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 09:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 09:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 09:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 09:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 09:15:13] Production.INFO: call_cost start
[2025-01-10 09:15:13] Production.INFO: call_cost end
[2025-01-10 09:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 09:15:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 09:15:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 09:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 09:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 09:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 09:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 09:15:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 09:15:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 09:15:14] Production.INFO: ==32538== Releasing lock...
[2025-01-10 09:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 09:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:15:18] Production.INFO: count ==1006
[2025-01-10 09:15:19] Production.ERROR: pbx CDR StartTime 2025-01-10 06:15:05 - End Time 2025-01-10 09:15:05
[2025-01-10 09:15:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 09:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215934', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215934', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215934', 'tblTempVendorCDR_20' ) start
[2025-01-10 09:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215934', 'tblTempVendorCDR_20' ) end
[2025-01-10 09:15:19] Production.INFO: ProcessCDR(1,14215934,1,1,2)
[2025-01-10 09:15:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215934,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:15:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215934,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:15:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215934,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:15:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215934,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215934', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215934', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:15:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:15:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:15:22] Production.INFO: ==32546== Releasing lock...
[2025-01-10 09:15:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 09:15:22] Production.INFO: 36.25 MB #Memory Used#
[2025-01-10 14:16:01] Production.INFO: ==32602== Lock acquired, processing the job...
[2025-01-10 14:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 14:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 14:16:01] Production.INFO: neon service started
[2025-01-10 14:16:01] Production.INFO: neon service started
[2025-01-10 14:16:01] Production.INFO: ==32602== Releasing lock...
[2025-01-10 14:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 14:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:16:02] Production.INFO: ==32606== Lock acquired, processing the job...
[2025-01-10 14:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 14:16:02] Production.INFO: ==32606== Releasing lock...
[2025-01-10 14:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 14:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 09:16:02] Production.INFO: ==32604== Lock acquired, processing the job...
[2025-01-10 09:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:16:02] Production.INFO: ==32604== Releasing lock...
[2025-01-10 09:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 09:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 09:16:03] Production.INFO: ==32611== Lock acquired, processing the job...
[2025-01-10 09:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 09:16:03] Production.INFO: ==32617== Lock acquired, processing the job...
[2025-01-10 09:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 09:16:03] Production.INFO: ==32609== Lock acquired, processing the job...
[2025-01-10 09:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 09:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:16:03] Production.INFO: ==32613== Lock acquired, processing the job...
[2025-01-10 09:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 09:16:03] Production.INFO: ==32615== Lock acquired, processing the job...
[2025-01-10 09:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 09:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 09:16:03] Production.INFO: ==32611== Releasing lock...
[2025-01-10 09:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 09:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 09:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 09:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 09:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 09:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 09:16:03] Production.INFO: ==32619== Lock acquired, processing the job...
[2025-01-10 09:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 09:16:03] Production.ERROR: done
[2025-01-10 09:16:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 09:16:03] Production.INFO: Account Balance Start.
[2025-01-10 09:16:03] Production.INFO: CreateAllLog Start
[2025-01-10 09:16:03] Production.INFO: 117
[2025-01-10 09:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:16:03] Production.INFO: count ==21
[2025-01-10 09:16:04] Production.INFO: Date 2025-01-08
[2025-01-10 09:16:04] Production.ERROR: done
[2025-01-10 09:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:16:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:16:04] Production.INFO: count ==21
[2025-01-10 09:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215938') start
[2025-01-10 09:16:04] Production.INFO: Date 2025-01-09
[2025-01-10 09:16:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:16:04] Production.INFO: Date 2025-01-10
[2025-01-10 09:16:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:16:04] Production.INFO: Total Charge 0
[2025-01-10 09:16:04] Production.INFO: CreateAllLog End
[2025-01-10 09:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215938') end
[2025-01-10 09:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 09:16:04] Production.INFO: 1
[2025-01-10 09:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 09:16:04] Production.INFO: ==32619== Releasing lock...
[2025-01-10 09:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 09:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 09:16:04] Production.INFO: Account Balance End.
[2025-01-10 09:16:04] Production.ERROR: CronJobId end 12
[2025-01-10 09:16:04] Production.INFO: ==32615== Releasing lock...
[2025-01-10 09:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 09:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 09:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 06:16:05
[end_date_ymd] => 2025-01-10 09:16:05
[RateCDR] => 1
)
[2025-01-10 09:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 06:16:05' and `end` < '2025-01-10 09:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 09:16:11] Production.ERROR: CronJobId end10
[2025-01-10 09:16:11] Production.INFO: ==32613== Releasing lock...
[2025-01-10 09:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 09:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 09:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 09:16:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 09:16:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 09:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 09:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 09:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 09:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 09:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 09:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 09:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 09:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 09:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 09:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 09:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 09:16:13] Production.INFO: call_cost start
[2025-01-10 09:16:13] Production.INFO: call_cost end
[2025-01-10 09:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 09:16:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 09:16:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 09:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 09:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 09:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 09:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 09:16:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 09:16:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 09:16:14] Production.INFO: ==32609== Releasing lock...
[2025-01-10 09:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 09:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:16:18] Production.INFO: count ==1019
[2025-01-10 09:16:18] Production.ERROR: pbx CDR StartTime 2025-01-10 06:16:05 - End Time 2025-01-10 09:16:05
[2025-01-10 09:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 09:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215939', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215939', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215939', 'tblTempVendorCDR_20' ) start
[2025-01-10 09:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215939', 'tblTempVendorCDR_20' ) end
[2025-01-10 09:16:18] Production.INFO: ProcessCDR(1,14215939,1,1,2)
[2025-01-10 09:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215939,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:16:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215939,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:16:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215939,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:16:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215939,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215939', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215939', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:16:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:16:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:16:23] Production.INFO: ==32617== Releasing lock...
[2025-01-10 09:16:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 09:16:23] Production.INFO: 35.5 MB #Memory Used#
[2025-01-10 14:17:02] Production.INFO: ==32674== Lock acquired, processing the job...
[2025-01-10 14:17:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 14:17:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 14:17:02] Production.INFO: neon service started
[2025-01-10 14:17:02] Production.INFO: neon service started
[2025-01-10 14:17:02] Production.INFO: ==32674== Releasing lock...
[2025-01-10 14:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 14:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:17:02] Production.INFO: ==32678== Lock acquired, processing the job...
[2025-01-10 14:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 14:17:02] Production.INFO: ==32678== Releasing lock...
[2025-01-10 14:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 14:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 09:17:02] Production.INFO: ==32676== Lock acquired, processing the job...
[2025-01-10 09:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:17:03] Production.INFO: ==32676== Releasing lock...
[2025-01-10 09:17:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 09:17:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 09:17:03] Production.INFO: ==32682== Lock acquired, processing the job...
[2025-01-10 09:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 09:17:03] Production.INFO: ==32680== Lock acquired, processing the job...
[2025-01-10 09:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 09:17:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 09:17:04] Production.INFO: ==32691== Lock acquired, processing the job...
[2025-01-10 09:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 09:17:04] Production.INFO: ==32684== Lock acquired, processing the job...
[2025-01-10 09:17:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 09:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 09:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 09:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 09:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 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-01-10 09:17:04] Production.INFO: ==32686== Lock acquired, processing the job...
[2025-01-10 09:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 09:17:04] Production.INFO: count ==21
[2025-01-10 09:17:04] Production.INFO: ==32682== Releasing lock...
[2025-01-10 09:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 09:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 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-01-10 09:17:04] Production.INFO: ==32689== Lock acquired, processing the job...
[2025-01-10 09:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 09:17:04] Production.INFO: count ==21
[2025-01-10 09:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215942') start
[2025-01-10 09:17:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:17:04] Production.INFO: Account Balance Start.
[2025-01-10 09:17:04] Production.INFO: CreateAllLog Start
[2025-01-10 09:17:04] Production.INFO: 117
[2025-01-10 09:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215942') end
[2025-01-10 09:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 09:17:04] Production.INFO: 1
[2025-01-10 09:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 09:17:04] Production.INFO: Date 2025-01-08
[2025-01-10 09:17:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:17:04] Production.INFO: Date 2025-01-09
[2025-01-10 09:17:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:17:04] Production.INFO: ==32691== Releasing lock...
[2025-01-10 09:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 09:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 09:17:04] Production.INFO: Date 2025-01-10
[2025-01-10 09:17:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:17:04] Production.INFO: Total Charge 0
[2025-01-10 09:17:04] Production.INFO: CreateAllLog End
[2025-01-10 09:17:05] Production.ERROR: done
[2025-01-10 09:17:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 09:17:05] Production.INFO: Account Balance End.
[2025-01-10 09:17:05] Production.ERROR: CronJobId end 12
[2025-01-10 09:17:05] Production.INFO: ==32686== Releasing lock...
[2025-01-10 09:17:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 09:17:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 09:17:05] Production.ERROR: done
[2025-01-10 09:17:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 06:17:06
[end_date_ymd] => 2025-01-10 09:17:06
[RateCDR] => 1
)
[2025-01-10 09:17:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 06:17:06' and `end` < '2025-01-10 09:17:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 09:17:11] Production.ERROR: CronJobId end10
[2025-01-10 09:17:11] Production.INFO: ==32684== Releasing lock...
[2025-01-10 09:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 09:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 09:17:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 09:17:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 09:17:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 09:17:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 09:17:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 09:17:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 09:17:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 09:17:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 09:17:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 09:17:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 09:17:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 09:17:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 09:17:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 09:17:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 09:17:13] Production.INFO: call_cost start
[2025-01-10 09:17:13] Production.INFO: call_cost end
[2025-01-10 09:17:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 09:17:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 09:17:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 09:17:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 09:17:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 09:17:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 09:17:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 09:17:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 09:17:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 09:17:14] Production.INFO: ==32680== Releasing lock...
[2025-01-10 09:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 09:17:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:17:19] Production.INFO: count ==1024
[2025-01-10 09:17:19] Production.ERROR: pbx CDR StartTime 2025-01-10 06:17:06 - End Time 2025-01-10 09:17:06
[2025-01-10 09:17:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 09:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215944', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215944', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215944', 'tblTempVendorCDR_20' ) start
[2025-01-10 09:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215944', 'tblTempVendorCDR_20' ) end
[2025-01-10 09:17:19] Production.INFO: ProcessCDR(1,14215944,1,1,2)
[2025-01-10 09:17:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215944,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:17:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215944,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:17:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215944,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:17:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215944,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:17:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215944', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:17:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215944', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:17:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:17:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:17:24] Production.INFO: ==32689== Releasing lock...
[2025-01-10 09:17:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 09:17:24] Production.INFO: 36.25 MB #Memory Used#
[2025-01-10 14:18:01] Production.INFO: ==32743== Lock acquired, processing the job...
[2025-01-10 14:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 14:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 14:18:01] Production.INFO: neon service started
[2025-01-10 14:18:01] Production.INFO: neon service started
[2025-01-10 14:18:01] Production.INFO: ==32743== Releasing lock...
[2025-01-10 14:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 14:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 09:18:02] Production.INFO: ==32745== Lock acquired, processing the job...
[2025-01-10 09:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:18:02] Production.INFO: ==32745== Releasing lock...
[2025-01-10 09:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 09:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 14:18:02] Production.INFO: ==32747== Lock acquired, processing the job...
[2025-01-10 14:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 14:18:02] Production.INFO: ==32747== Releasing lock...
[2025-01-10 14:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 14:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 09:18:03] Production.INFO: ==32750== Lock acquired, processing the job...
[2025-01-10 09:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 09:18:03] Production.INFO: ==32752== Lock acquired, processing the job...
[2025-01-10 09:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 09:18:03] Production.INFO: ==32756== Lock acquired, processing the job...
[2025-01-10 09:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 09:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 09:18:03] Production.INFO: ==32752== Releasing lock...
[2025-01-10 09:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 09:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 09:18:03] Production.INFO: ==32754== Lock acquired, processing the job...
[2025-01-10 09:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 09:18:03] Production.INFO: Account Balance Start.
[2025-01-10 09:18:03] Production.INFO: CreateAllLog Start
[2025-01-10 09:18:03] Production.INFO: 117
[2025-01-10 09:18:03] Production.INFO: Date 2025-01-08
[2025-01-10 09:18:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:18:03] Production.INFO: ==32758== Lock acquired, processing the job...
[2025-01-10 09:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 09:18:03] Production.INFO: Date 2025-01-09
[2025-01-10 09:18:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:18:03] Production.INFO: ==32760== Lock acquired, processing the job...
[2025-01-10 09:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 09:18:03] Production.INFO: Date 2025-01-10
[2025-01-10 09:18:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 09:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 09:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 09:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 09:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:18:03] Production.INFO: Total Charge 0
[2025-01-10 09:18:03] Production.INFO: CreateAllLog End
[2025-01-10 09:18:03] Production.INFO: count ==21
[2025-01-10 09:18:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:18:03] Production.INFO: count ==21
[2025-01-10 09:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215948') start
[2025-01-10 09:18:03] Production.INFO: Account Balance End.
[2025-01-10 09:18:03] Production.ERROR: done
[2025-01-10 09:18:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 09:18:03] Production.ERROR: CronJobId end 12
[2025-01-10 09:18:03] Production.INFO: ==32756== Releasing lock...
[2025-01-10 09:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 09:18:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 09:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215948') end
[2025-01-10 09:18:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 09:18:03] Production.INFO: 1
[2025-01-10 09:18:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 09:18:03] Production.INFO: ==32760== Releasing lock...
[2025-01-10 09:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 09:18:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 09:18:04] Production.ERROR: done
[2025-01-10 09:18:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 06:18:04
[end_date_ymd] => 2025-01-10 09:18:04
[RateCDR] => 1
)
[2025-01-10 09:18:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 06:18:04' and `end` < '2025-01-10 09:18:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 09:18:10] Production.ERROR: CronJobId end10
[2025-01-10 09:18:10] Production.INFO: ==32754== Releasing lock...
[2025-01-10 09:18:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 09:18:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 09:18:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 09:18:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 09:18:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 09:18:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 09:18:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 09:18:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 09:18:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 09:18:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 09:18:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 09:18:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 09:18:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 09:18:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 09:18:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 09:18:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 09:18:13] Production.INFO: call_cost start
[2025-01-10 09:18:13] Production.INFO: call_cost end
[2025-01-10 09:18:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 09:18:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 09:18:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 09:18:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 09:18:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 09:18:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 09:18:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 09:18:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 09:18:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 09:18:13] Production.INFO: ==32750== Releasing lock...
[2025-01-10 09:18:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 09:18:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:18:18] Production.INFO: count ==1034
[2025-01-10 09:18:18] Production.ERROR: pbx CDR StartTime 2025-01-10 06:18:04 - End Time 2025-01-10 09:18:04
[2025-01-10 09:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 09:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215949', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215949', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215949', 'tblTempVendorCDR_20' ) start
[2025-01-10 09:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215949', 'tblTempVendorCDR_20' ) end
[2025-01-10 09:18:18] Production.INFO: ProcessCDR(1,14215949,1,1,2)
[2025-01-10 09:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215949,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:18:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215949,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:18:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215949,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:18:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215949,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215949', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215949', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:18:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:18:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:18:23] Production.INFO: ==32758== Releasing lock...
[2025-01-10 09:18:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 09:18:23] Production.INFO: 35.75 MB #Memory Used#
[2025-01-10 14:19:02] Production.INFO: ==367== Lock acquired, processing the job...
[2025-01-10 14:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 14:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 14:19:02] Production.INFO: neon service started
[2025-01-10 14:19:02] Production.INFO: neon service started
[2025-01-10 14:19:02] Production.INFO: ==367== Releasing lock...
[2025-01-10 14:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 14:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 09:19:02] Production.INFO: ==369== Lock acquired, processing the job...
[2025-01-10 09:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:19:02] Production.INFO: ==369== Releasing lock...
[2025-01-10 09:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 09:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 14:19:02] Production.INFO: ==371== Lock acquired, processing the job...
[2025-01-10 14:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 14:19:02] Production.INFO: ==371== Releasing lock...
[2025-01-10 14:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 14:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 09:19:03] Production.INFO: ==374== Lock acquired, processing the job...
[2025-01-10 09:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 09:19:03] Production.INFO: ==378== Lock acquired, processing the job...
[2025-01-10 09:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 09:19:03] Production.INFO: ==382== Lock acquired, processing the job...
[2025-01-10 09:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 09:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 09:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 09:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 09:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 09:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 09:19:03] Production.INFO: ==376== Lock acquired, processing the job...
[2025-01-10 09:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 09:19:03] Production.INFO: ==380== Lock acquired, processing the job...
[2025-01-10 09:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 09:19:03] Production.ERROR: done
[2025-01-10 09:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 09:19:03] Production.INFO: ==384== Lock acquired, processing the job...
[2025-01-10 09:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 09:19:03] Production.ERROR: done
[2025-01-10 09:19:04] Production.INFO: Account Balance Start.
[2025-01-10 09:19:04] Production.INFO: CreateAllLog Start
[2025-01-10 09:19:04] Production.INFO: 117
[2025-01-10 09:19:04] Production.INFO: Date 2025-01-08
[2025-01-10 09:19:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:19:04] Production.INFO: count ==21
[2025-01-10 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-01-10 09:19:04] Production.INFO: count ==21
[2025-01-10 09:19:04] Production.INFO: Date 2025-01-09
[2025-01-10 09:19:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215954') start
[2025-01-10 09:19:04] Production.INFO: Date 2025-01-10
[2025-01-10 09:19:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:19:04] Production.INFO: ==376== Releasing lock...
[2025-01-10 09:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 09:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 09:19:04] Production.INFO: Total Charge 0
[2025-01-10 09:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215954') end
[2025-01-10 09:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 09:19:04] Production.INFO: 1
[2025-01-10 09:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 09:19:04] Production.INFO: CreateAllLog End
[2025-01-10 09:19:04] Production.INFO: Account Balance End.
[2025-01-10 09:19:04] Production.INFO: ==384== Releasing lock...
[2025-01-10 09:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 09:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 09:19:04] Production.ERROR: CronJobId end 12
[2025-01-10 09:19:04] Production.INFO: ==380== Releasing lock...
[2025-01-10 09:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 09:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 09:19:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 06:19:04
[end_date_ymd] => 2025-01-10 09:19:04
[RateCDR] => 1
)
[2025-01-10 09:19:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 06:19:04' and `end` < '2025-01-10 09:19:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 09:19:10] Production.ERROR: CronJobId end10
[2025-01-10 09:19:10] Production.INFO: ==378== Releasing lock...
[2025-01-10 09:19:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 09:19:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 09:19:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 09:19:11] Production.INFO: ============== Balance Warning START===========
[2025-01-10 09:19:11] Production.INFO: ============== Balance Warning END===========
[2025-01-10 09:19:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 09:19:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 09:19:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 09:19:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 09:19:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 09:19:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 09:19:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 09:19:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 09:19:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 09:19:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 09:19:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 09:19:11] Production.INFO: call_cost start
[2025-01-10 09:19:11] Production.INFO: call_cost end
[2025-01-10 09:19:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 09:19:12] Production.INFO: ============== Report Schedule START===========
[2025-01-10 09:19:12] Production.INFO: ============== Report Schedule END===========
[2025-01-10 09:19:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 09:19:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 09:19:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 09:19:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 09:19:12] Production.INFO: ============== Deal alert START===========
[2025-01-10 09:19:12] Production.INFO: ============== Deal alert END===========
[2025-01-10 09:19:12] Production.INFO: ==374== Releasing lock...
[2025-01-10 09:19:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 09:19:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:19:18] Production.INFO: count ==1041
[2025-01-10 09:19:18] Production.ERROR: pbx CDR StartTime 2025-01-10 06:19:04 - End Time 2025-01-10 09:19:04
[2025-01-10 09:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 09:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215953', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215953', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215953', 'tblTempVendorCDR_20' ) start
[2025-01-10 09:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215953', 'tblTempVendorCDR_20' ) end
[2025-01-10 09:19:18] Production.INFO: ProcessCDR(1,14215953,1,1,2)
[2025-01-10 09:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215953,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:19:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215953,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:19:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215953,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:19:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215953,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215953', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215953', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:19:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:19:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:19:23] Production.INFO: ==382== Releasing lock...
[2025-01-10 09:19:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 09:19:23] Production.INFO: 36 MB #Memory Used#
[2025-01-10 14:20:01] Production.INFO: ==439== Lock acquired, processing the job...
[2025-01-10 14:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 14:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 14:20:01] Production.INFO: neon service started
[2025-01-10 14:20:01] Production.INFO: neon service started
[2025-01-10 14:20:01] Production.INFO: ==439== Releasing lock...
[2025-01-10 14:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 14:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:20:01] Production.INFO: ==443== Lock acquired, processing the job...
[2025-01-10 14:20:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 14:20:01] Production.INFO: ==443== Releasing lock...
[2025-01-10 14:20:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 14:20:01] Production.INFO: 25 MB #Memory Used#
[2025-01-10 09:20:02] Production.INFO: ==441== Lock acquired, processing the job...
[2025-01-10 09:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:20:02] Production.INFO: ==441== Releasing lock...
[2025-01-10 09:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 09:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 09:20:03] Production.INFO: ==449== Lock acquired, processing the job...
[2025-01-10 09:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 09:20:03] Production.INFO: ==452== Lock acquired, processing the job...
[2025-01-10 09:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 09:20:03] Production.INFO: ==447== Lock acquired, processing the job...
[2025-01-10 09:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 09:20:03] Production.INFO: ==460== Lock acquired, processing the job...
[2025-01-10 09:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 09:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 09:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 09:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 09:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 09:20:03] Production.INFO: ==445== Lock acquired, processing the job...
[2025-01-10 09:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 09:20:03] Production.INFO: ==449== Releasing lock...
[2025-01-10 09:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 09:20:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 09:20:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 09:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 09:20:03] Production.ERROR: CronJob PID - 447
[2025-01-10 09:20:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-10 09:20:03] Production.ERROR: CronJob ID - 5
[2025-01-10 09:20:03] Production.ERROR: CronJob Last Run Time 2025-01-10 09:20:00
[2025-01-10 09:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 09:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 09:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 09:20:03] Production.ERROR: CronJob PID - 452
[2025-01-10 09:20:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-10 09:20:03] Production.ERROR: CronJob ID - 10
[2025-01-10 09:20:03] Production.ERROR: CronJob Last Run Time 2025-01-10 09:20:00
[2025-01-10 09:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 09:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 09:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 09:20:03] Production.ERROR: CronJob PID - 460
[2025-01-10 09:20:03] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-10 09:20:03] Production.ERROR: CronJob ID - 19
[2025-01-10 09:20:03] Production.ERROR: CronJob Last Run Time 2025-01-10 09:20:00
[2025-01-10 09:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 09:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 09:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 09:20:03] Production.INFO: count ==21
[2025-01-10 09:20:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:20:03] Production.INFO: count ==21
[2025-01-10 09:20:03] Production.INFO: ==454== Lock acquired, processing the job...
[2025-01-10 09:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 09:20:03] Production.INFO: ==456== Lock acquired, processing the job...
[2025-01-10 09:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 09:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 09:20:03] Production.INFO: ==445== Releasing lock...
[2025-01-10 09:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 09:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 09:20:03] Production.INFO: Account Balance Start.
[2025-01-10 09:20:03] Production.INFO: CreateAllLog Start
[2025-01-10 09:20:03] Production.INFO: 117
[2025-01-10 09:20:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215956') start
[2025-01-10 09:20:03] Production.INFO: Date 2025-01-08
[2025-01-10 09:20:03] Production.INFO: ==458== Lock acquired, processing the job...
[2025-01-10 09:20:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 09:20:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:20:04] Production.INFO: Date 2025-01-09
[2025-01-10 09:20:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215956') end
[2025-01-10 09:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 09:20:04] Production.INFO: 1
[2025-01-10 09:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 09:20:04] Production.INFO: Date 2025-01-10
[2025-01-10 09:20:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:20:04] Production.INFO: Total Charge 0
[2025-01-10 09:20:04] Production.INFO: ==460== Releasing lock...
[2025-01-10 09:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 09:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 09:20:04] Production.INFO: CreateAllLog End
[2025-01-10 09:20:04] Production.ERROR: done
[2025-01-10 09:20:04] Production.ERROR: done
[2025-01-10 09:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 09:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 09:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14215959', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 09:20:04] Production.ERROR: done
[2025-01-10 09:20:04] Production.INFO: Account Balance End.
[2025-01-10 09:20:04] Production.ERROR: CronJobId end 12
[2025-01-10 09:20:04] Production.INFO: ==454== Releasing lock...
[2025-01-10 09:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 09:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 09:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 06:20:05
[end_date_ymd] => 2025-01-10 09:20:05
[RateCDR] => 1
)
[2025-01-10 09:20:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 06:20:05' and `end` < '2025-01-10 09:20:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 09:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14215959', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 09:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 09:20:08] Production.INFO: ProcessCDR(1,14215959,1,1,2)
[2025-01-10 09:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14215959,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14215959,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:20:08] Production.INFO: ==458== Releasing lock...
[2025-01-10 09:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 09:20:08] Production.INFO: 26 MB #Memory Used#
[2025-01-10 09:20:12] Production.ERROR: CronJobId end10
[2025-01-10 09:20:12] Production.INFO: ==452== Releasing lock...
[2025-01-10 09:20:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 09:20:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 09:20:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 09:20:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 09:20:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 09:20:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 09:20:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 09:20:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 09:20:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 09:20:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 09:20:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 09:20:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 09:20:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 09:20:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 09:20:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 09:20:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 09:20:14] Production.INFO: call_cost start
[2025-01-10 09:20:14] Production.INFO: call_cost end
[2025-01-10 09:20:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 09:20:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 09:20:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 09:20:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 09:20:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 09:20:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 09:20:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 09:20:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 09:20:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 09:20:15] Production.INFO: ==447== Releasing lock...
[2025-01-10 09:20:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 09:20:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:20:19] Production.INFO: count ==1080
[2025-01-10 09:20:19] Production.ERROR: pbx CDR StartTime 2025-01-10 06:20:05 - End Time 2025-01-10 09:20:05
[2025-01-10 09:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 09:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215960', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215960', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215960', 'tblTempVendorCDR_20' ) start
[2025-01-10 09:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215960', 'tblTempVendorCDR_20' ) end
[2025-01-10 09:20:19] Production.INFO: ProcessCDR(1,14215960,1,1,2)
[2025-01-10 09:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215960,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:20:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215960,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:20:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215960,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:20:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215960,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:20:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215960', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:20:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215960', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:20:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:20:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:20:24] Production.INFO: ==456== Releasing lock...
[2025-01-10 09:20:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 09:20:24] Production.INFO: 36.25 MB #Memory Used#
[2025-01-10 14:21:01] Production.INFO: ==519== Lock acquired, processing the job...
[2025-01-10 14:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 14:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 14:21:01] Production.INFO: neon service started
[2025-01-10 14:21:01] Production.INFO: neon service started
[2025-01-10 14:21:01] Production.INFO: ==519== Releasing lock...
[2025-01-10 14:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 14:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 09:21:02] Production.INFO: ==521== Lock acquired, processing the job...
[2025-01-10 09:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:21:02] Production.INFO: ==521== Releasing lock...
[2025-01-10 09:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 09:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 14:21:02] Production.INFO: ==523== Lock acquired, processing the job...
[2025-01-10 14:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 14:21:02] Production.INFO: ==523== Releasing lock...
[2025-01-10 14:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 14:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 09:21:02] Production.INFO: ==525== Lock acquired, processing the job...
[2025-01-10 09:21:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 09:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 09:21:03] Production.INFO: ==527== Lock acquired, processing the job...
[2025-01-10 09:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 09:21:03] Production.INFO: ==533== Lock acquired, processing the job...
[2025-01-10 09:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 09:21:03] Production.INFO: ==527== Releasing lock...
[2025-01-10 09:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 09:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 09:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:21:03] Production.INFO: ==529== Lock acquired, processing the job...
[2025-01-10 09:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 09:21:03] Production.INFO: ==531== Lock acquired, processing the job...
[2025-01-10 09:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 09:21:03] Production.INFO: ==535== Lock acquired, processing the job...
[2025-01-10 09:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 09:21:03] Production.INFO: Account Balance Start.
[2025-01-10 09:21:03] Production.INFO: CreateAllLog Start
[2025-01-10 09:21:03] Production.INFO: 117
[2025-01-10 09:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 09:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 09:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 09:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 09:21:03] Production.INFO: Date 2025-01-08
[2025-01-10 09:21:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:21:03] Production.INFO: Date 2025-01-09
[2025-01-10 09:21:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:21:03] Production.INFO: Date 2025-01-10
[2025-01-10 09:21:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:21:03] Production.ERROR: done
[2025-01-10 09:21:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 09:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:21:03] Production.INFO: Total Charge 0
[2025-01-10 09:21:03] Production.INFO: CreateAllLog End
[2025-01-10 09:21:04] Production.INFO: count ==21
[2025-01-10 09:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:21:04] Production.INFO: count ==21
[2025-01-10 09:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215964') start
[2025-01-10 09:21:04] Production.ERROR: done
[2025-01-10 09:21:04] Production.INFO: Account Balance End.
[2025-01-10 09:21:04] Production.ERROR: CronJobId end 12
[2025-01-10 09:21:04] Production.INFO: ==531== Releasing lock...
[2025-01-10 09:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 09:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 09:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215964') end
[2025-01-10 09:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 09:21:04] Production.INFO: 1
[2025-01-10 09:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 09:21:04] Production.INFO: ==535== Releasing lock...
[2025-01-10 09:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 09:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 09:21:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 06:21:04
[end_date_ymd] => 2025-01-10 09:21:04
[RateCDR] => 1
)
[2025-01-10 09:21:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 06:21:04' and `end` < '2025-01-10 09:21:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 09:21:10] Production.ERROR: CronJobId end10
[2025-01-10 09:21:10] Production.INFO: ==529== Releasing lock...
[2025-01-10 09:21:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 09:21:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 09:21:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 09:21:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 09:21:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 09:21:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 09:21:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 09:21:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 09:21:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 09:21:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 09:21:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 09:21:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 09:21:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 09:21:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 09:21:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 09:21:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 09:21:13] Production.INFO: call_cost start
[2025-01-10 09:21:13] Production.INFO: call_cost end
[2025-01-10 09:21:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 09:21:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 09:21:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 09:21:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 09:21:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 09:21:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 09:21:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 09:21:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 09:21:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 09:21:13] Production.INFO: ==525== Releasing lock...
[2025-01-10 09:21:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 09:21:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:21:18] Production.INFO: count ==1136
[2025-01-10 09:21:18] Production.ERROR: pbx CDR StartTime 2025-01-10 06:21:04 - End Time 2025-01-10 09:21:04
[2025-01-10 09:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 09:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215965', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215965', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215965', 'tblTempVendorCDR_20' ) start
[2025-01-10 09:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215965', 'tblTempVendorCDR_20' ) end
[2025-01-10 09:21:18] Production.INFO: ProcessCDR(1,14215965,1,1,2)
[2025-01-10 09:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215965,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:21:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215965,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:21:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215965,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:21:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215965,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215965', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:21:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215965', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:21:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:21:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:21:23] Production.INFO: ==533== Releasing lock...
[2025-01-10 09:21:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 09:21:23] Production.INFO: 36.5 MB #Memory Used#
[2025-01-10 14:22:02] Production.INFO: ==590== Lock acquired, processing the job...
[2025-01-10 14:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 14:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 14:22:02] Production.INFO: neon service started
[2025-01-10 14:22:02] Production.INFO: neon service started
[2025-01-10 14:22:02] Production.INFO: ==590== Releasing lock...
[2025-01-10 14:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 14:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:22:02] Production.INFO: ==595== Lock acquired, processing the job...
[2025-01-10 14:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 14:22:02] Production.INFO: ==595== Releasing lock...
[2025-01-10 14:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 14:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 09:22:02] Production.INFO: ==592== Lock acquired, processing the job...
[2025-01-10 09:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:22:03] Production.INFO: ==592== Releasing lock...
[2025-01-10 09:22:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 09:22:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 09:22:03] Production.INFO: ==598== Lock acquired, processing the job...
[2025-01-10 09:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 09:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 09:22:03] Production.INFO: ==608== Lock acquired, processing the job...
[2025-01-10 09:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 09:22:03] Production.INFO: ==600== Lock acquired, processing the job...
[2025-01-10 09:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 09:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:22:04] Production.INFO: ==602== Lock acquired, processing the job...
[2025-01-10 09:22:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 09:22:04] Production.INFO: ==604== Lock acquired, processing the job...
[2025-01-10 09:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 09:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 09:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 09:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 09:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 09:22:04] Production.INFO: ==610== Lock acquired, processing the job...
[2025-01-10 09:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 09:22:04] Production.INFO: Account Balance Start.
[2025-01-10 09:22:04] Production.INFO: CreateAllLog Start
[2025-01-10 09:22:04] Production.INFO: 117
[2025-01-10 09:22:04] Production.INFO: Date 2025-01-08
[2025-01-10 09:22:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:22:04] Production.INFO: Date 2025-01-09
[2025-01-10 09:22:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:22:04] Production.INFO: Date 2025-01-10
[2025-01-10 09:22:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:22:04] Production.INFO: Total Charge 0
[2025-01-10 09:22:04] Production.ERROR: done
[2025-01-10 09:22:04] Production.INFO: count ==21
[2025-01-10 09:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 09:22:04] Production.INFO: CreateAllLog End
[2025-01-10 09:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:22:04] Production.INFO: ==600== Releasing lock...
[2025-01-10 09:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 09:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 09:22:04] Production.INFO: count ==21
[2025-01-10 09:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215969') start
[2025-01-10 09:22:04] Production.ERROR: done
[2025-01-10 09:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215969') end
[2025-01-10 09:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 09:22:04] Production.INFO: 1
[2025-01-10 09:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 09:22:04] Production.INFO: Account Balance End.
[2025-01-10 09:22:04] Production.INFO: ==610== Releasing lock...
[2025-01-10 09:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 09:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 09:22:04] Production.ERROR: CronJobId end 12
[2025-01-10 09:22:04] Production.INFO: ==604== Releasing lock...
[2025-01-10 09:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 09:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 09:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 06:22:05
[end_date_ymd] => 2025-01-10 09:22:05
[RateCDR] => 1
)
[2025-01-10 09:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 06:22:05' and `end` < '2025-01-10 09:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 09:22:12] Production.ERROR: CronJobId end10
[2025-01-10 09:22:12] Production.INFO: ==602== Releasing lock...
[2025-01-10 09:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 09:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 09:22:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 09:22:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 09:22:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 09:22:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 09:22:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 09:22:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 09:22:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 09:22:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 09:22:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 09:22:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 09:22:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 09:22:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 09:22:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 09:22:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 09:22:12] Production.INFO: call_cost start
[2025-01-10 09:22:12] Production.INFO: call_cost end
[2025-01-10 09:22:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 09:22:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 09:22:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 09:22:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 09:22:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 09:22:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 09:22:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 09:22:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 09:22:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 09:22:13] Production.INFO: ==598== Releasing lock...
[2025-01-10 09:22:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 09:22:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:22:19] Production.INFO: count ==1143
[2025-01-10 09:22:19] Production.ERROR: pbx CDR StartTime 2025-01-10 06:22:05 - End Time 2025-01-10 09:22:05
[2025-01-10 09:22:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 09:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215970', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215970', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215970', 'tblTempVendorCDR_20' ) start
[2025-01-10 09:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215970', 'tblTempVendorCDR_20' ) end
[2025-01-10 09:22:19] Production.INFO: ProcessCDR(1,14215970,1,1,2)
[2025-01-10 09:22:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215970,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:22:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215970,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215970,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215970,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215970', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215970', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:22:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:22:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:22:22] Production.INFO: ==608== Releasing lock...
[2025-01-10 09:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 09:22:22] Production.INFO: 36.75 MB #Memory Used#
[2025-01-10 14:23:01] Production.INFO: ==731== Lock acquired, processing the job...
[2025-01-10 14:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 14:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 14:23:01] Production.INFO: neon service started
[2025-01-10 14:23:01] Production.INFO: neon service started
[2025-01-10 14:23:01] Production.INFO: ==731== Releasing lock...
[2025-01-10 14:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 14:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:23:02] Production.INFO: ==737== Lock acquired, processing the job...
[2025-01-10 14:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 14:23:02] Production.INFO: ==737== Releasing lock...
[2025-01-10 14:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 14:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 09:23:02] Production.INFO: ==735== Lock acquired, processing the job...
[2025-01-10 09:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:23:02] Production.INFO: ==735== Releasing lock...
[2025-01-10 09:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 09:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 09:23:03] Production.INFO: ==740== Lock acquired, processing the job...
[2025-01-10 09:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 09:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 09:23:03] Production.INFO: ==749== Lock acquired, processing the job...
[2025-01-10 09:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 09:23:03] Production.INFO: Account Balance Start.
[2025-01-10 09:23:03] Production.INFO: CreateAllLog Start
[2025-01-10 09:23:03] Production.INFO: 117
[2025-01-10 09:23:03] Production.INFO: Date 2025-01-08
[2025-01-10 09:23:03] Production.INFO: ==754== Lock acquired, processing the job...
[2025-01-10 09:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 09:23:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:23:03] Production.INFO: Date 2025-01-09
[2025-01-10 09:23:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:23:03] Production.INFO: Date 2025-01-10
[2025-01-10 09:23:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:23:03] Production.INFO: ==742== Lock acquired, processing the job...
[2025-01-10 09:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 09:23:03] Production.INFO: Total Charge 0
[2025-01-10 09:23:03] Production.INFO: count ==21
[2025-01-10 09:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:23:03] Production.INFO: count ==21
[2025-01-10 09:23:03] Production.INFO: CreateAllLog End
[2025-01-10 09:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215973') start
[2025-01-10 09:23:03] Production.INFO: ==752== Lock acquired, processing the job...
[2025-01-10 09:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 09:23:03] Production.INFO: ==747== Lock acquired, processing the job...
[2025-01-10 09:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 09:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215973') end
[2025-01-10 09:23:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 09:23:03] Production.INFO: 1
[2025-01-10 09:23:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 09:23:03] Production.INFO: Account Balance End.
[2025-01-10 09:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 09:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 09:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 09:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 09:23:03] Production.INFO: ==754== Releasing lock...
[2025-01-10 09:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 09:23:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 09:23:03] Production.ERROR: CronJobId end 12
[2025-01-10 09:23:03] Production.INFO: ==749== Releasing lock...
[2025-01-10 09:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 09:23:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 09:23:04] Production.ERROR: done
[2025-01-10 09:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 09:23:04] Production.INFO: ==742== Releasing lock...
[2025-01-10 09:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 09:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 09:23:04] Production.ERROR: done
[2025-01-10 09:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 06:23:05
[end_date_ymd] => 2025-01-10 09:23:05
[RateCDR] => 1
)
[2025-01-10 09:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 06:23:05' and `end` < '2025-01-10 09:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 09:23:11] Production.ERROR: CronJobId end10
[2025-01-10 09:23:11] Production.INFO: ==747== Releasing lock...
[2025-01-10 09:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 09:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 09:23:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 09:23:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 09:23:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 09:23:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 09:23:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 09:23:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 09:23:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 09:23:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 09:23:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 09:23:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 09:23:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 09:23:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 09:23:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 09:23:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 09:23:12] Production.INFO: call_cost start
[2025-01-10 09:23:12] Production.INFO: call_cost end
[2025-01-10 09:23:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 09:23:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 09:23:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 09:23:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 09:23:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 09:23:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 09:23:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 09:23:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 09:23:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 09:23:13] Production.INFO: ==740== Releasing lock...
[2025-01-10 09:23:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 09:23:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:23:18] Production.INFO: count ==1157
[2025-01-10 09:23:18] Production.ERROR: pbx CDR StartTime 2025-01-10 06:23:05 - End Time 2025-01-10 09:23:05
[2025-01-10 09:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 09:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215975', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215975', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215975', 'tblTempVendorCDR_20' ) start
[2025-01-10 09:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215975', 'tblTempVendorCDR_20' ) end
[2025-01-10 09:23:18] Production.INFO: ProcessCDR(1,14215975,1,1,2)
[2025-01-10 09:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215975,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:23:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215975,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:23:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215975,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:23:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215975,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:23:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215975', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:23:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215975', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:23:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:23:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:23:23] Production.INFO: ==752== Releasing lock...
[2025-01-10 09:23:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 09:23:23] Production.INFO: 37 MB #Memory Used#
[2025-01-10 14:24:02] Production.INFO: ==812== Lock acquired, processing the job...
[2025-01-10 14:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 14:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 14:24:02] Production.INFO: neon service started
[2025-01-10 14:24:02] Production.INFO: neon service started
[2025-01-10 14:24:02] Production.INFO: ==812== Releasing lock...
[2025-01-10 14:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 14:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 09:24:02] Production.INFO: ==814== Lock acquired, processing the job...
[2025-01-10 09:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 14:24:02] Production.INFO: ==816== Lock acquired, processing the job...
[2025-01-10 14:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 14:24:02] Production.INFO: ==816== Releasing lock...
[2025-01-10 14:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 14:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 09:24:02] Production.INFO: ==814== Releasing lock...
[2025-01-10 09:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 09:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 09:24:03] Production.INFO: ==825== Lock acquired, processing the job...
[2025-01-10 09:24:03] Production.INFO: ==818== Lock acquired, processing the job...
[2025-01-10 09:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 09:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 09:24:03] Production.INFO: ==829== Lock acquired, processing the job...
[2025-01-10 09:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 09:24:03] Production.INFO: ==820== Lock acquired, processing the job...
[2025-01-10 09:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 09:24:03] Production.INFO: ==823== Lock acquired, processing the job...
[2025-01-10 09:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 09:24:03] Production.INFO: Account Balance Start.
[2025-01-10 09:24:03] Production.INFO: CreateAllLog Start
[2025-01-10 09:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 09:24:03] Production.INFO: 117
[2025-01-10 09:24:03] Production.INFO: Date 2025-01-08
[2025-01-10 09:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:24:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:24:03] Production.INFO: ==827== Lock acquired, processing the job...
[2025-01-10 09:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 09:24:04] Production.INFO: count ==21
[2025-01-10 09:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:24:04] Production.INFO: count ==21
[2025-01-10 09:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215978') start
[2025-01-10 09:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 09:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 09:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 09:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 09:24:04] Production.INFO: Date 2025-01-09
[2025-01-10 09:24:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215978') end
[2025-01-10 09:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 09:24:04] Production.INFO: 1
[2025-01-10 09:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 09:24:04] Production.INFO: Date 2025-01-10
[2025-01-10 09:24:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:24:04] Production.INFO: Total Charge 0
[2025-01-10 09:24:04] Production.INFO: CreateAllLog End
[2025-01-10 09:24:04] Production.INFO: ==829== Releasing lock...
[2025-01-10 09:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 09:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 09:24:04] Production.INFO: ==820== Releasing lock...
[2025-01-10 09:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 09:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 09:24:04] Production.INFO: Account Balance End.
[2025-01-10 09:24:04] Production.ERROR: done
[2025-01-10 09:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 09:24:04] Production.ERROR: CronJobId end 12
[2025-01-10 09:24:04] Production.INFO: ==825== Releasing lock...
[2025-01-10 09:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 09:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 09:24:04] Production.ERROR: done
[2025-01-10 09:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 06:24:05
[end_date_ymd] => 2025-01-10 09:24:05
[RateCDR] => 1
)
[2025-01-10 09:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 06:24:05' and `end` < '2025-01-10 09:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 09:24:10] Production.ERROR: CronJobId end10
[2025-01-10 09:24:10] Production.INFO: ==823== Releasing lock...
[2025-01-10 09:24:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 09:24:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 09:24:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 09:24:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 09:24:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 09:24:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 09:24:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 09:24:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 09:24:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 09:24:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 09:24:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 09:24:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 09:24:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 09:24:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 09:24:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 09:24:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 09:24:12] Production.INFO: call_cost start
[2025-01-10 09:24:12] Production.INFO: call_cost end
[2025-01-10 09:24:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 09:24:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 09:24:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 09:24:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 09:24:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 09:24:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 09:24:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 09:24:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 09:24:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 09:24:13] Production.INFO: ==818== Releasing lock...
[2025-01-10 09:24:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 09:24:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:24:18] Production.INFO: count ==1159
[2025-01-10 09:24:19] Production.ERROR: pbx CDR StartTime 2025-01-10 06:24:05 - End Time 2025-01-10 09:24:05
[2025-01-10 09:24:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 09:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215980', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215980', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215980', 'tblTempVendorCDR_20' ) start
[2025-01-10 09:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215980', 'tblTempVendorCDR_20' ) end
[2025-01-10 09:24:19] Production.INFO: ProcessCDR(1,14215980,1,1,2)
[2025-01-10 09:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215980,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:24:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215980,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:24:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215980,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:24:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215980,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:24:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215980', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:24:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215980', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:24:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:24:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:24:23] Production.INFO: ==827== Releasing lock...
[2025-01-10 09:24:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 09:24:23] Production.INFO: 37 MB #Memory Used#
[2025-01-10 14:25:01] Production.INFO: ==882== Lock acquired, processing the job...
[2025-01-10 14:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 14:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 14:25:01] Production.INFO: neon service started
[2025-01-10 14:25:01] Production.INFO: neon service started
[2025-01-10 14:25:01] Production.INFO: ==882== Releasing lock...
[2025-01-10 14:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 14:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:25:01] Production.INFO: ==886== Lock acquired, processing the job...
[2025-01-10 14:25:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 14:25:01] Production.INFO: ==886== Releasing lock...
[2025-01-10 14:25:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 14:25:01] Production.INFO: 25 MB #Memory Used#
[2025-01-10 09:25:02] Production.INFO: ==884== Lock acquired, processing the job...
[2025-01-10 09:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:25:02] Production.INFO: ==884== Releasing lock...
[2025-01-10 09:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 09:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 09:25:03] Production.INFO: ==890== Lock acquired, processing the job...
[2025-01-10 09:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 09:25:03] Production.INFO: ==894== Lock acquired, processing the job...
[2025-01-10 09:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 09:25:03] Production.INFO: ==897== Lock acquired, processing the job...
[2025-01-10 09:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 09:25:03] Production.INFO: Account Balance Start.
[2025-01-10 09:25:03] Production.INFO: CreateAllLog Start
[2025-01-10 09:25:03] Production.INFO: 117
[2025-01-10 09:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:25:03] Production.INFO: Date 2025-01-08
[2025-01-10 09:25:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:25:03] Production.INFO: ==888== Lock acquired, processing the job...
[2025-01-10 09:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 09:25:03] Production.INFO: ==892== Lock acquired, processing the job...
[2025-01-10 09:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 09:25:03] Production.INFO: Date 2025-01-09
[2025-01-10 09:25:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:25:03] Production.INFO: Date 2025-01-10
[2025-01-10 09:25:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:25:03] Production.INFO: ==899== Lock acquired, processing the job...
[2025-01-10 09:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 09:25:03] Production.INFO: Total Charge 0
[2025-01-10 09:25:03] Production.INFO: ==890== Releasing lock...
[2025-01-10 09:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 09:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 09:25:03] Production.INFO: CreateAllLog End
[2025-01-10 09:25:03] Production.ERROR: done
[2025-01-10 09:25:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 09:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 09:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 09:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 09:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 09:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 09:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:25:03] Production.INFO: count ==21
[2025-01-10 09:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:25:03] Production.INFO: count ==21
[2025-01-10 09:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215983') start
[2025-01-10 09:25:03] Production.ERROR: done
[2025-01-10 09:25:03] Production.INFO: Account Balance End.
[2025-01-10 09:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215983') end
[2025-01-10 09:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 09:25:03] Production.INFO: 1
[2025-01-10 09:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 09:25:03] Production.ERROR: CronJobId end 12
[2025-01-10 09:25:03] Production.INFO: ==894== Releasing lock...
[2025-01-10 09:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 09:25:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 09:25:04] Production.INFO: ==899== Releasing lock...
[2025-01-10 09:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 09:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 09:25:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 06:25:04
[end_date_ymd] => 2025-01-10 09:25:04
[RateCDR] => 1
)
[2025-01-10 09:25:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 06:25:04' and `end` < '2025-01-10 09:25:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 09:25:10] Production.ERROR: CronJobId end10
[2025-01-10 09:25:10] Production.INFO: ==892== Releasing lock...
[2025-01-10 09:25:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 09:25:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 09:25:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 09:25:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 09:25:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 09:25:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 09:25:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 09:25:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 09:25:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 09:25:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 09:25:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 09:25:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 09:25:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 09:25:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 09:25:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 09:25:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 09:25:13] Production.INFO: call_cost start
[2025-01-10 09:25:13] Production.INFO: call_cost end
[2025-01-10 09:25:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 09:25:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 09:25:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 09:25:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 09:25:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 09:25:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 09:25:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 09:25:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 09:25:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 09:25:13] Production.INFO: ==888== Releasing lock...
[2025-01-10 09:25:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 09:25:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:25:18] Production.INFO: count ==1187
[2025-01-10 09:25:18] Production.ERROR: pbx CDR StartTime 2025-01-10 06:25:04 - End Time 2025-01-10 09:25:04
[2025-01-10 09:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 09:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215985', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215985', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215985', 'tblTempVendorCDR_20' ) start
[2025-01-10 09:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215985', 'tblTempVendorCDR_20' ) end
[2025-01-10 09:25:18] Production.INFO: ProcessCDR(1,14215985,1,1,2)
[2025-01-10 09:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215985,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:25:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215985,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:25:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215985,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:25:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215985,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:25:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215985', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:25:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215985', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:25:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:25:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:25:23] Production.INFO: ==897== Releasing lock...
[2025-01-10 09:25:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 09:25:23] Production.INFO: 36.75 MB #Memory Used#
[2025-01-10 14:26:01] Production.INFO: ==953== Lock acquired, processing the job...
[2025-01-10 14:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 14:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 14:26:01] Production.INFO: neon service started
[2025-01-10 14:26:01] Production.INFO: neon service started
[2025-01-10 14:26:01] Production.INFO: ==953== Releasing lock...
[2025-01-10 14:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 14:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:26:02] Production.INFO: ==957== Lock acquired, processing the job...
[2025-01-10 14:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 14:26:02] Production.INFO: ==957== Releasing lock...
[2025-01-10 14:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 14:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 09:26:02] Production.INFO: ==955== Lock acquired, processing the job...
[2025-01-10 09:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:26:02] Production.INFO: ==955== Releasing lock...
[2025-01-10 09:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 09:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 09:26:03] Production.INFO: ==959== Lock acquired, processing the job...
[2025-01-10 09:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 09:26:03] Production.INFO: ==961== Lock acquired, processing the job...
[2025-01-10 09:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 09:26:03] Production.INFO: ==963== Lock acquired, processing the job...
[2025-01-10 09:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 09:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 09:26:03] Production.INFO: ==966== Lock acquired, processing the job...
[2025-01-10 09:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 09:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 09:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 09:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 09:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 09:26:03] Production.INFO: ==970== Lock acquired, processing the job...
[2025-01-10 09:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 09:26:03] Production.INFO: Account Balance Start.
[2025-01-10 09:26:03] Production.INFO: CreateAllLog Start
[2025-01-10 09:26:03] Production.INFO: 117
[2025-01-10 09:26:03] Production.INFO: Date 2025-01-08
[2025-01-10 09:26:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:26:03] Production.INFO: Date 2025-01-09
[2025-01-10 09:26:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:26:03] Production.INFO: Date 2025-01-10
[2025-01-10 09:26:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:26:03] Production.INFO: ==968== Lock acquired, processing the job...
[2025-01-10 09:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 09:26:03] Production.INFO: Total Charge 0
[2025-01-10 09:26:03] Production.INFO: CreateAllLog End
[2025-01-10 09:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:26:03] Production.INFO: ==961== Releasing lock...
[2025-01-10 09:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 09:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 09:26:03] Production.INFO: count ==21
[2025-01-10 09:26:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:26:03] Production.INFO: count ==21
[2025-01-10 09:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215989') start
[2025-01-10 09:26:03] Production.INFO: Account Balance End.
[2025-01-10 09:26:04] Production.ERROR: CronJobId end 12
[2025-01-10 09:26:04] Production.INFO: ==966== Releasing lock...
[2025-01-10 09:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 09:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 09:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215989') end
[2025-01-10 09:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 09:26:04] Production.INFO: 1
[2025-01-10 09:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 09:26:04] Production.INFO: ==970== Releasing lock...
[2025-01-10 09:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 09:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 09:26:04] Production.ERROR: done
[2025-01-10 09:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 09:26:04] Production.ERROR: done
[2025-01-10 09:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 06:26:05
[end_date_ymd] => 2025-01-10 09:26:05
[RateCDR] => 1
)
[2025-01-10 09:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 06:26:05' and `end` < '2025-01-10 09:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 09:26:11] Production.ERROR: CronJobId end10
[2025-01-10 09:26:11] Production.INFO: ==963== Releasing lock...
[2025-01-10 09:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 09:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 09:26:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 09:26:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 09:26:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 09:26:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 09:26:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 09:26:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 09:26:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 09:26:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 09:26:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 09:26:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 09:26:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 09:26:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 09:26:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 09:26:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 09:26:12] Production.INFO: call_cost start
[2025-01-10 09:26:12] Production.INFO: call_cost end
[2025-01-10 09:26:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 09:26:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 09:26:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 09:26:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 09:26:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 09:26:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 09:26:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 09:26:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 09:26:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 09:26:13] Production.INFO: ==959== Releasing lock...
[2025-01-10 09:26:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 09:26:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:26:18] Production.INFO: count ==1203
[2025-01-10 09:26:18] Production.ERROR: pbx CDR StartTime 2025-01-10 06:26:05 - End Time 2025-01-10 09:26:05
[2025-01-10 09:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 09:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215990', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215990', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215990', 'tblTempVendorCDR_20' ) start
[2025-01-10 09:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215990', 'tblTempVendorCDR_20' ) end
[2025-01-10 09:26:18] Production.INFO: ProcessCDR(1,14215990,1,1,2)
[2025-01-10 09:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215990,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:26:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215990,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:26:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215990,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:26:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215990,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:26:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215990', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:26:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215990', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:26:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:26:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:26:23] Production.INFO: ==968== Releasing lock...
[2025-01-10 09:26:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 09:26:23] Production.INFO: 37.25 MB #Memory Used#
[2025-01-10 14:27:01] Production.INFO: ==1024== Lock acquired, processing the job...
[2025-01-10 14:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 14:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 14:27:01] Production.INFO: neon service started
[2025-01-10 14:27:01] Production.INFO: neon service started
[2025-01-10 14:27:01] Production.INFO: ==1024== Releasing lock...
[2025-01-10 14:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 14:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 09:27:01] Production.INFO: ==1026== Lock acquired, processing the job...
[2025-01-10 09:27:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:27:01] Production.INFO: ==1026== Releasing lock...
[2025-01-10 09:27:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 09:27:01] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 14:27:02] Production.INFO: ==1028== Lock acquired, processing the job...
[2025-01-10 14:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 14:27:02] Production.INFO: ==1028== Releasing lock...
[2025-01-10 14:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 14:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 09:27:02] Production.INFO: ==1030== Lock acquired, processing the job...
[2025-01-10 09:27:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 09:27:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 09:27:02] Production.INFO: ==1032== Lock acquired, processing the job...
[2025-01-10 09:27:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 09:27:02] Production.INFO: ==1034== Lock acquired, processing the job...
[2025-01-10 09:27:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 09:27:03] Production.INFO: ==1036== Lock acquired, processing the job...
[2025-01-10 09:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 09:27:03] Production.INFO: ==1040== Lock acquired, processing the job...
[2025-01-10 09:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 09:27:03] Production.INFO: ==1038== Lock acquired, processing the job...
[2025-01-10 09:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 09:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 09:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 09:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 09:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 09:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:27:03] Production.INFO: ==1032== Releasing lock...
[2025-01-10 09:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 09:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 09:27:03] Production.INFO: Account Balance Start.
[2025-01-10 09:27:03] Production.INFO: CreateAllLog Start
[2025-01-10 09:27:03] Production.INFO: 117
[2025-01-10 09:27:03] Production.INFO: Date 2025-01-08
[2025-01-10 09:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:27:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:27:03] Production.INFO: count ==21
[2025-01-10 09:27:03] Production.ERROR: done
[2025-01-10 09:27:03] Production.INFO: Date 2025-01-09
[2025-01-10 09:27:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:27:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 09:27:03] Production.INFO: count ==21
[2025-01-10 09:27:03] Production.INFO: Date 2025-01-10
[2025-01-10 09:27:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215994') start
[2025-01-10 09:27:03] Production.INFO: Total Charge 0
[2025-01-10 09:27:03] Production.INFO: CreateAllLog End
[2025-01-10 09:27:03] Production.ERROR: done
[2025-01-10 09:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14215994') end
[2025-01-10 09:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 09:27:03] Production.INFO: 1
[2025-01-10 09:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 09:27:03] Production.INFO: Account Balance End.
[2025-01-10 09:27:03] Production.INFO: ==1040== Releasing lock...
[2025-01-10 09:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 09:27:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 09:27:03] Production.ERROR: CronJobId end 12
[2025-01-10 09:27:03] Production.INFO: ==1036== Releasing lock...
[2025-01-10 09:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 09:27:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 09:27:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 06:27:04
[end_date_ymd] => 2025-01-10 09:27:04
[RateCDR] => 1
)
[2025-01-10 09:27:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 06:27:04' and `end` < '2025-01-10 09:27:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 09:27:10] Production.ERROR: CronJobId end10
[2025-01-10 09:27:10] Production.INFO: ==1034== Releasing lock...
[2025-01-10 09:27:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 09:27:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 09:27:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 09:27:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 09:27:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 09:27:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 09:27:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 09:27:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 09:27:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 09:27:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 09:27:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 09:27:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 09:27:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 09:27:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 09:27:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 09:27:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 09:27:12] Production.INFO: call_cost start
[2025-01-10 09:27:12] Production.INFO: call_cost end
[2025-01-10 09:27:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 09:27:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 09:27:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 09:27:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 09:27:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 09:27:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 09:27:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 09:27:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 09:27:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 09:27:13] Production.INFO: ==1030== Releasing lock...
[2025-01-10 09:27:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 09:27:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:27:18] Production.INFO: count ==1215
[2025-01-10 09:27:18] Production.ERROR: pbx CDR StartTime 2025-01-10 06:27:04 - End Time 2025-01-10 09:27:04
[2025-01-10 09:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 09:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215995', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14215995', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215995', 'tblTempVendorCDR_20' ) start
[2025-01-10 09:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14215995', 'tblTempVendorCDR_20' ) end
[2025-01-10 09:27:18] Production.INFO: ProcessCDR(1,14215995,1,1,2)
[2025-01-10 09:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14215995,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:27:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14215995,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:27:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14215995,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14215995,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215995', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:27:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14215995', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:27:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:27:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:27:23] Production.INFO: ==1038== Releasing lock...
[2025-01-10 09:27:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 09:27:23] Production.INFO: 37.25 MB #Memory Used#
[2025-01-10 14:28:02] Production.INFO: ==1099== Lock acquired, processing the job...
[2025-01-10 14:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 14:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 14:28:02] Production.INFO: neon service started
[2025-01-10 14:28:02] Production.INFO: neon service started
[2025-01-10 14:28:02] Production.INFO: ==1099== Releasing lock...
[2025-01-10 14:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 14:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 09:28:02] Production.INFO: ==1102== Lock acquired, processing the job...
[2025-01-10 09:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:28:02] Production.INFO: ==1102== Releasing lock...
[2025-01-10 09:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 09:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 14:28:03] Production.INFO: ==1104== Lock acquired, processing the job...
[2025-01-10 14:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 14:28:03] Production.INFO: ==1104== Releasing lock...
[2025-01-10 14:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 14:28:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 09:28:03] Production.INFO: ==1106== Lock acquired, processing the job...
[2025-01-10 09:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 09:28:03] Production.INFO: ==1108== Lock acquired, processing the job...
[2025-01-10 09:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 09:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 09:28:03] Production.INFO: ==1112== Lock acquired, processing the job...
[2025-01-10 09:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 09:28:03] Production.INFO: Account Balance Start.
[2025-01-10 09:28:03] Production.INFO: CreateAllLog Start
[2025-01-10 09:28:03] Production.INFO: 117
[2025-01-10 09:28:03] Production.INFO: Date 2025-01-08
[2025-01-10 09:28:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:28:03] Production.INFO: Date 2025-01-09
[2025-01-10 09:28:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:28:03] Production.INFO: ==1108== Releasing lock...
[2025-01-10 09:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 09:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 09:28:03] Production.INFO: Date 2025-01-10
[2025-01-10 09:28:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:28:03] Production.INFO: Total Charge 0
[2025-01-10 09:28:03] Production.INFO: CreateAllLog End
[2025-01-10 09:28:03] Production.INFO: Account Balance End.
[2025-01-10 09:28:03] Production.ERROR: CronJobId end 12
[2025-01-10 09:28:03] Production.INFO: ==1112== Releasing lock...
[2025-01-10 09:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 09:28:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 09:28:03] Production.INFO: ==1110== Lock acquired, processing the job...
[2025-01-10 09:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 09:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 09:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 09:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 09:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 09:28:04] Production.INFO: ==1114== Lock acquired, processing the job...
[2025-01-10 09:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 09:28:04] Production.INFO: ==1116== Lock acquired, processing the job...
[2025-01-10 09:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 09:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:28:04] Production.INFO: count ==21
[2025-01-10 09:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:28:04] Production.INFO: count ==21
[2025-01-10 09:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215999') start
[2025-01-10 09:28:04] Production.ERROR: done
[2025-01-10 09:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 09:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14215999') end
[2025-01-10 09:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 09:28:04] Production.INFO: 1
[2025-01-10 09:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 09:28:04] Production.ERROR: done
[2025-01-10 09:28:04] Production.INFO: ==1116== Releasing lock...
[2025-01-10 09:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 09:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 09:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 06:28:05
[end_date_ymd] => 2025-01-10 09:28:05
[RateCDR] => 1
)
[2025-01-10 09:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 06:28:05' and `end` < '2025-01-10 09:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 09:28:10] Production.ERROR: CronJobId end10
[2025-01-10 09:28:10] Production.INFO: ==1110== Releasing lock...
[2025-01-10 09:28:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 09:28:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 09:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 09:28:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 09:28:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 09:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 09:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 09:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 09:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 09:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 09:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 09:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 09:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 09:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 09:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 09:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 09:28:13] Production.INFO: call_cost start
[2025-01-10 09:28:13] Production.INFO: call_cost end
[2025-01-10 09:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 09:28:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 09:28:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 09:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 09:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 09:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 09:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 09:28:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 09:28:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 09:28:14] Production.INFO: ==1106== Releasing lock...
[2025-01-10 09:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 09:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:28:23] Production.INFO: count ==1222
[2025-01-10 09:28:24] Production.ERROR: pbx CDR StartTime 2025-01-10 06:28:05 - End Time 2025-01-10 09:28:05
[2025-01-10 09:28:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 09:28:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216000', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:28:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216000', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:28:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216000', 'tblTempVendorCDR_20' ) start
[2025-01-10 09:28:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216000', 'tblTempVendorCDR_20' ) end
[2025-01-10 09:28:24] Production.INFO: ProcessCDR(1,14216000,1,1,2)
[2025-01-10 09:28:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216000,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:28:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216000,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:28:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216000,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:28:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216000,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:28:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216000', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:28:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216000', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:28:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:28:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:28:29] Production.INFO: ==1114== Releasing lock...
[2025-01-10 09:28:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 09:28:29] Production.INFO: 37.25 MB #Memory Used#
[2025-01-10 14:29:01] Production.INFO: ==1180== Lock acquired, processing the job...
[2025-01-10 14:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 14:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 14:29:01] Production.INFO: neon service started
[2025-01-10 14:29:01] Production.INFO: neon service started
[2025-01-10 14:29:01] Production.INFO: ==1180== Releasing lock...
[2025-01-10 14:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 14:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 09:29:01] Production.INFO: ==1182== Lock acquired, processing the job...
[2025-01-10 09:29:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 14:29:02] Production.INFO: ==1184== Lock acquired, processing the job...
[2025-01-10 14:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 09:29:02] Production.INFO: ==1182== Releasing lock...
[2025-01-10 09:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 09:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 14:29:02] Production.INFO: ==1184== Releasing lock...
[2025-01-10 14:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 14:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 09:29:03] Production.INFO: ==1189== Lock acquired, processing the job...
[2025-01-10 09:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 09:29:03] Production.INFO: ==1187== Lock acquired, processing the job...
[2025-01-10 09:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 09:29:03] Production.INFO: ==1197== Lock acquired, processing the job...
[2025-01-10 09:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 09:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 09:29:03] Production.INFO: ==1193== Lock acquired, processing the job...
[2025-01-10 09:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 09:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:29:03] Production.INFO: ==1191== Lock acquired, processing the job...
[2025-01-10 09:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 09:29:03] Production.INFO: count ==21
[2025-01-10 09:29:03] Production.INFO: ==1195== Lock acquired, processing the job...
[2025-01-10 09:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 09:29:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:29:03] Production.INFO: count ==21
[2025-01-10 09:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216002') start
[2025-01-10 09:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 09:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 09:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 09:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 09:29:03] Production.INFO: Account Balance Start.
[2025-01-10 09:29:03] Production.INFO: CreateAllLog Start
[2025-01-10 09:29:03] Production.INFO: 117
[2025-01-10 09:29:03] Production.INFO: ==1189== Releasing lock...
[2025-01-10 09:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 09:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 09:29:03] Production.INFO: Date 2025-01-08
[2025-01-10 09:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:29:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:29:03] Production.INFO: Date 2025-01-09
[2025-01-10 09:29:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216002') end
[2025-01-10 09:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 09:29:03] Production.INFO: 1
[2025-01-10 09:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 09:29:03] Production.INFO: Date 2025-01-10
[2025-01-10 09:29:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:29:03] Production.INFO: Total Charge 0
[2025-01-10 09:29:03] Production.INFO: CreateAllLog End
[2025-01-10 09:29:03] Production.INFO: ==1197== Releasing lock...
[2025-01-10 09:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 09:29:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 09:29:03] Production.ERROR: done
[2025-01-10 09:29:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 09:29:04] Production.ERROR: done
[2025-01-10 09:29:04] Production.INFO: Account Balance End.
[2025-01-10 09:29:04] Production.ERROR: CronJobId end 12
[2025-01-10 09:29:04] Production.INFO: ==1193== Releasing lock...
[2025-01-10 09:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 09:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 09:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 06:29:05
[end_date_ymd] => 2025-01-10 09:29:05
[RateCDR] => 1
)
[2025-01-10 09:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 06:29:05' and `end` < '2025-01-10 09:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 09:29:10] Production.ERROR: CronJobId end10
[2025-01-10 09:29:10] Production.INFO: ==1191== Releasing lock...
[2025-01-10 09:29:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 09:29:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 09:29:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 09:29:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 09:29:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 09:29:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 09:29:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 09:29:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 09:29:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 09:29:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 09:29:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 09:29:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 09:29:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 09:29:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 09:29:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 09:29:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 09:29:12] Production.INFO: call_cost start
[2025-01-10 09:29:12] Production.INFO: call_cost end
[2025-01-10 09:29:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 09:29:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 09:29:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 09:29:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 09:29:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 09:29:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 09:29:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 09:29:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 09:29:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 09:29:13] Production.INFO: ==1187== Releasing lock...
[2025-01-10 09:29:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 09:29:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:29:21] Production.INFO: count ==1269
[2025-01-10 09:29:21] Production.ERROR: pbx CDR StartTime 2025-01-10 06:29:05 - End Time 2025-01-10 09:29:05
[2025-01-10 09:29:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 09:29:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216005', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:29:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216005', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:29:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216005', 'tblTempVendorCDR_20' ) start
[2025-01-10 09:29:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216005', 'tblTempVendorCDR_20' ) end
[2025-01-10 09:29:21] Production.INFO: ProcessCDR(1,14216005,1,1,2)
[2025-01-10 09:29:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216005,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:29:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216005,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:29:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216005,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:29:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216005,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:29:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216005', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:29:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216005', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:29:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:29:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:29:26] Production.INFO: ==1195== Releasing lock...
[2025-01-10 09:29:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 09:29:26] Production.INFO: 37.5 MB #Memory Used#
[2025-01-10 14:30:02] Production.INFO: ==1262== Lock acquired, processing the job...
[2025-01-10 14:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 14:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 14:30:02] Production.INFO: neon service started
[2025-01-10 14:30:02] Production.INFO: neon service started
[2025-01-10 14:30:02] Production.INFO: ==1262== Releasing lock...
[2025-01-10 14:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 14:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:30:02] Production.INFO: ==1267== Lock acquired, processing the job...
[2025-01-10 14:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 14:30:02] Production.INFO: ==1267== Releasing lock...
[2025-01-10 14:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 14:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 09:30:02] Production.INFO: ==1264== Lock acquired, processing the job...
[2025-01-10 09:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:30:02] Production.INFO: ==1264== Releasing lock...
[2025-01-10 09:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 09:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 09:30:03] Production.INFO: ==1270== Lock acquired, processing the job...
[2025-01-10 09:30:03] Production.INFO: ==1272== Lock acquired, processing the job...
[2025-01-10 09:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 09:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 09:30:04] Production.INFO: ==1274== Lock acquired, processing the job...
[2025-01-10 09:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 09:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 09:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 09:30:04] Production.INFO: ==1270== Releasing lock...
[2025-01-10 09:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 09:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 09:30:04] Production.INFO: ==1276== Lock acquired, processing the job...
[2025-01-10 09:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 09:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 09:30:04] Production.INFO: ==1284== Lock acquired, processing the job...
[2025-01-10 09:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 09:30:04] Production.INFO: ==1278== Lock acquired, processing the job...
[2025-01-10 09:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 09:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 09:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 09:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 09:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 09:30:04] Production.INFO: ==1280== Lock acquired, processing the job...
[2025-01-10 09:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 09:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:30:04] Production.INFO: ==1282== Lock acquired, processing the job...
[2025-01-10 09:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 09:30:04] Production.INFO: Account Balance Start.
[2025-01-10 09:30:04] Production.INFO: CreateAllLog Start
[2025-01-10 09:30:04] Production.INFO: 117
[2025-01-10 09:30:04] Production.INFO: ==1274== Releasing lock...
[2025-01-10 09:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 09:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 09:30:04] Production.INFO: Date 2025-01-08
[2025-01-10 09:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:30:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:30:04] Production.INFO: Date 2025-01-09
[2025-01-10 09:30:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:30:04] Production.INFO: Date 2025-01-10
[2025-01-10 09:30:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:30:04] Production.INFO: Total Charge 0
[2025-01-10 09:30:04] Production.INFO: count ==21
[2025-01-10 09:30:04] Production.INFO: CreateAllLog End
[2025-01-10 09:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:30:04] Production.INFO: count ==21
[2025-01-10 09:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216009') start
[2025-01-10 09:30:04] Production.ERROR: done
[2025-01-10 09:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 09:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216009') end
[2025-01-10 09:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 09:30:04] Production.INFO: 1
[2025-01-10 09:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 09:30:04] Production.ERROR: done
[2025-01-10 09:30:04] Production.INFO: ==1284== Releasing lock...
[2025-01-10 09:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 09:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 09:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 09:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14216010', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 09:30:04] Production.ERROR: done
[2025-01-10 09:30:05] Production.INFO: Account Balance End.
[2025-01-10 09:30:05] Production.ERROR: CronJobId end 12
[2025-01-10 09:30:05] Production.INFO: ==1278== Releasing lock...
[2025-01-10 09:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 09:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 09:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 06:30:06
[end_date_ymd] => 2025-01-10 09:30:06
[RateCDR] => 1
)
[2025-01-10 09:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 06:30:06' and `end` < '2025-01-10 09:30:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 09:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14216010', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 09:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 09:30:09] Production.INFO: ProcessCDR(1,14216010,1,1,2)
[2025-01-10 09:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14216010,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14216010,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:30:09] Production.INFO: ==1282== Releasing lock...
[2025-01-10 09:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 09:30:09] Production.INFO: 26 MB #Memory Used#
[2025-01-10 09:30:12] Production.ERROR: CronJobId end10
[2025-01-10 09:30:12] Production.INFO: ==1276== Releasing lock...
[2025-01-10 09:30:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 09:30:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 09:30:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 09:30:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 09:30:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 09:30:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 09:30:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 09:30:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 09:30:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 09:30:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 09:30:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 09:30:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 09:30:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 09:30:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 09:30:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 09:30:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 09:30:15] Production.INFO: call_cost start
[2025-01-10 09:30:15] Production.INFO: call_cost end
[2025-01-10 09:30:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 09:30:16] Production.INFO: ============== Report Schedule START===========
[2025-01-10 09:30:16] Production.INFO: ============== Report Schedule END===========
[2025-01-10 09:30:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 09:30:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 09:30:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 09:30:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 09:30:16] Production.INFO: ============== Deal alert START===========
[2025-01-10 09:30:16] Production.INFO: ============== Deal alert END===========
[2025-01-10 09:30:16] Production.INFO: ==1272== Releasing lock...
[2025-01-10 09:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 09:30:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:30:24] Production.INFO: count ==1287
[2025-01-10 09:30:24] Production.ERROR: pbx CDR StartTime 2025-01-10 06:30:06 - End Time 2025-01-10 09:30:06
[2025-01-10 09:30:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 09:30:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216011', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:30:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216011', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:30:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216011', 'tblTempVendorCDR_20' ) start
[2025-01-10 09:30:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216011', 'tblTempVendorCDR_20' ) end
[2025-01-10 09:30:24] Production.INFO: ProcessCDR(1,14216011,1,1,2)
[2025-01-10 09:30:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216011,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:30:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216011,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:30:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216011,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:30:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216011,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:30:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216011', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:30:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216011', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:30:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:30:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:30:29] Production.INFO: ==1280== Releasing lock...
[2025-01-10 09:30:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 09:30:29] Production.INFO: 37.5 MB #Memory Used#
[2025-01-10 14:31:01] Production.INFO: ==1337== Lock acquired, processing the job...
[2025-01-10 14:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 14:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 14:31:01] Production.INFO: neon service started
[2025-01-10 14:31:01] Production.INFO: neon service started
[2025-01-10 14:31:01] Production.INFO: ==1337== Releasing lock...
[2025-01-10 14:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 14:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 09:31:01] Production.INFO: ==1339== Lock acquired, processing the job...
[2025-01-10 09:31:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:31:02] Production.INFO: ==1339== Releasing lock...
[2025-01-10 09:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 09:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 14:31:02] Production.INFO: ==1341== Lock acquired, processing the job...
[2025-01-10 14:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 14:31:02] Production.INFO: ==1341== Releasing lock...
[2025-01-10 14:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 14:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 09:31:02] Production.INFO: ==1345== Lock acquired, processing the job...
[2025-01-10 09:31:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 09:31:02] Production.INFO: ==1343== Lock acquired, processing the job...
[2025-01-10 09:31:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 09:31:02] Production.INFO: ==1353== Lock acquired, processing the job...
[2025-01-10 09:31:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 09:31:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 09:31:03] Production.INFO: ==1347== Lock acquired, processing the job...
[2025-01-10 09:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 09:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:31:03] Production.INFO: count ==21
[2025-01-10 09:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:31:03] Production.INFO: ==1349== Lock acquired, processing the job...
[2025-01-10 09:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 09:31:03] Production.INFO: count ==21
[2025-01-10 09:31:03] Production.INFO: ==1345== Releasing lock...
[2025-01-10 09:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 09:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 09:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216014') start
[2025-01-10 09:31:03] Production.INFO: ==1351== Lock acquired, processing the job...
[2025-01-10 09:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 09:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 09:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 09:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 09:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 09:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216014') end
[2025-01-10 09:31:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 09:31:03] Production.INFO: 1
[2025-01-10 09:31:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 09:31:03] Production.INFO: Account Balance Start.
[2025-01-10 09:31:03] Production.INFO: CreateAllLog Start
[2025-01-10 09:31:03] Production.INFO: 117
[2025-01-10 09:31:03] Production.INFO: ==1353== Releasing lock...
[2025-01-10 09:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 09:31:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 09:31:03] Production.INFO: Date 2025-01-08
[2025-01-10 09:31:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:31:03] Production.INFO: Date 2025-01-09
[2025-01-10 09:31:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:31:03] Production.ERROR: done
[2025-01-10 09:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 09:31:03] Production.INFO: Date 2025-01-10
[2025-01-10 09:31:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:31:03] Production.ERROR: done
[2025-01-10 09:31:03] Production.INFO: Total Charge 0
[2025-01-10 09:31:03] Production.INFO: CreateAllLog End
[2025-01-10 09:31:03] Production.INFO: Account Balance End.
[2025-01-10 09:31:03] Production.ERROR: CronJobId end 12
[2025-01-10 09:31:03] Production.INFO: ==1349== Releasing lock...
[2025-01-10 09:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 09:31:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 09:31:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 06:31:04
[end_date_ymd] => 2025-01-10 09:31:04
[RateCDR] => 1
)
[2025-01-10 09:31:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 06:31:04' and `end` < '2025-01-10 09:31:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 09:31:10] Production.ERROR: CronJobId end10
[2025-01-10 09:31:10] Production.INFO: ==1347== Releasing lock...
[2025-01-10 09:31:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 09:31:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 09:31:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 09:31:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 09:31:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 09:31:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 09:31:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 09:31:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 09:31:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 09:31:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 09:31:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 09:31:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 09:31:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 09:31:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 09:31:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 09:31:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 09:31:12] Production.INFO: call_cost start
[2025-01-10 09:31:12] Production.INFO: call_cost end
[2025-01-10 09:31:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 09:31:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 09:31:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 09:31:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 09:31:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 09:31:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 09:31:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 09:31:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 09:31:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 09:31:13] Production.INFO: ==1343== Releasing lock...
[2025-01-10 09:31:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 09:31:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:31:20] Production.INFO: count ==1326
[2025-01-10 09:31:20] Production.ERROR: pbx CDR StartTime 2025-01-10 06:31:04 - End Time 2025-01-10 09:31:04
[2025-01-10 09:31:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 09:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216016', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216016', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216016', 'tblTempVendorCDR_20' ) start
[2025-01-10 09:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216016', 'tblTempVendorCDR_20' ) end
[2025-01-10 09:31:20] Production.INFO: ProcessCDR(1,14216016,1,1,2)
[2025-01-10 09:31:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216016,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:31:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216016,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:31:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216016,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:31:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216016,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:31:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216016', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:31:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216016', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:31:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:31:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:31:25] Production.INFO: ==1351== Releasing lock...
[2025-01-10 09:31:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 09:31:25] Production.INFO: 38 MB #Memory Used#
[2025-01-10 14:32:01] Production.INFO: ==1407== Lock acquired, processing the job...
[2025-01-10 14:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 14:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 14:32:01] Production.INFO: neon service started
[2025-01-10 14:32:01] Production.INFO: neon service started
[2025-01-10 14:32:01] Production.INFO: ==1407== Releasing lock...
[2025-01-10 14:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 14:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 09:32:02] Production.INFO: ==1409== Lock acquired, processing the job...
[2025-01-10 09:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 14:32:02] Production.INFO: ==1411== Lock acquired, processing the job...
[2025-01-10 14:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 14:32:02] Production.INFO: ==1411== Releasing lock...
[2025-01-10 14:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 14:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 09:32:02] Production.INFO: ==1409== Releasing lock...
[2025-01-10 09:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 09:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 09:32:03] Production.INFO: ==1419== Lock acquired, processing the job...
[2025-01-10 09:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 09:32:03] Production.INFO: ==1424== Lock acquired, processing the job...
[2025-01-10 09:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 09:32:03] Production.INFO: ==1415== Lock acquired, processing the job...
[2025-01-10 09:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 09:32:03] Production.INFO: Account Balance Start.
[2025-01-10 09:32:03] Production.INFO: CreateAllLog Start
[2025-01-10 09:32:03] Production.INFO: 117
[2025-01-10 09:32:03] Production.INFO: Date 2025-01-08
[2025-01-10 09:32:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:32:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:32:03] Production.INFO: Date 2025-01-09
[2025-01-10 09:32:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:32:03] Production.INFO: count ==21
[2025-01-10 09:32:03] Production.INFO: ==1413== Lock acquired, processing the job...
[2025-01-10 09:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 09:32:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:32:03] Production.INFO: ==1417== Lock acquired, processing the job...
[2025-01-10 09:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 09:32:03] Production.INFO: Date 2025-01-10
[2025-01-10 09:32:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:32:03] Production.INFO: count ==21
[2025-01-10 09:32:03] Production.INFO: Total Charge 0
[2025-01-10 09:32:03] Production.INFO: ==1421== Lock acquired, processing the job...
[2025-01-10 09:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 09:32:03] Production.INFO: CreateAllLog End
[2025-01-10 09:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216018') start
[2025-01-10 09:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 09:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 09:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 09:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 09:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 09:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:32:03] Production.INFO: ==1415== Releasing lock...
[2025-01-10 09:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 09:32:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 09:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216018') end
[2025-01-10 09:32:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 09:32:03] Production.INFO: 1
[2025-01-10 09:32:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 09:32:03] Production.INFO: Account Balance End.
[2025-01-10 09:32:03] Production.ERROR: CronJobId end 12
[2025-01-10 09:32:03] Production.INFO: ==1419== Releasing lock...
[2025-01-10 09:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 09:32:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 09:32:03] Production.INFO: ==1424== Releasing lock...
[2025-01-10 09:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 09:32:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 09:32:03] Production.ERROR: done
[2025-01-10 09:32:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 09:32:04] Production.ERROR: done
[2025-01-10 09:32:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 06:32:04
[end_date_ymd] => 2025-01-10 09:32:04
[RateCDR] => 1
)
[2025-01-10 09:32:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 06:32:04' and `end` < '2025-01-10 09:32:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 09:32:10] Production.ERROR: CronJobId end10
[2025-01-10 09:32:10] Production.INFO: ==1417== Releasing lock...
[2025-01-10 09:32:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 09:32:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 09:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 09:32:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 09:32:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 09:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 09:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 09:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 09:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 09:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 09:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 09:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 09:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 09:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 09:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 09:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 09:32:13] Production.INFO: call_cost start
[2025-01-10 09:32:13] Production.INFO: call_cost end
[2025-01-10 09:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 09:32:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 09:32:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 09:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 09:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 09:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 09:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 09:32:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 09:32:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 09:32:14] Production.INFO: ==1413== Releasing lock...
[2025-01-10 09:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 09:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:32:18] Production.INFO: count ==1347
[2025-01-10 09:32:18] Production.ERROR: pbx CDR StartTime 2025-01-10 06:32:04 - End Time 2025-01-10 09:32:04
[2025-01-10 09:32:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 09:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216021', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216021', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216021', 'tblTempVendorCDR_20' ) start
[2025-01-10 09:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216021', 'tblTempVendorCDR_20' ) end
[2025-01-10 09:32:19] Production.INFO: ProcessCDR(1,14216021,1,1,2)
[2025-01-10 09:32:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216021,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:32:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216021,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:32:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216021,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:32:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216021,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216021', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216021', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:32:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:32:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:32:23] Production.INFO: ==1421== Releasing lock...
[2025-01-10 09:32:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 09:32:23] Production.INFO: 38.25 MB #Memory Used#
[2025-01-10 14:33:02] Production.INFO: ==1478== Lock acquired, processing the job...
[2025-01-10 14:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 14:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 14:33:02] Production.INFO: neon service started
[2025-01-10 14:33:02] Production.INFO: neon service started
[2025-01-10 14:33:02] Production.INFO: ==1478== Releasing lock...
[2025-01-10 14:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 14:33:02] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 09:33:02] Production.INFO: ==1480== Lock acquired, processing the job...
[2025-01-10 09:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:33:02] Production.INFO: ==1480== Releasing lock...
[2025-01-10 09:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 09:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 14:33:02] Production.INFO: ==1482== Lock acquired, processing the job...
[2025-01-10 14:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 14:33:03] Production.INFO: ==1482== Releasing lock...
[2025-01-10 14:33:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 14:33:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 09:33:03] Production.INFO: ==1485== Lock acquired, processing the job...
[2025-01-10 09:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 09:33:03] Production.INFO: ==1493== Lock acquired, processing the job...
[2025-01-10 09:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 09:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 09:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:33:03] Production.INFO: ==1495== Lock acquired, processing the job...
[2025-01-10 09:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 09:33:03] Production.INFO: ==1487== Lock acquired, processing the job...
[2025-01-10 09:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 09:33:03] Production.INFO: ==1489== Lock acquired, processing the job...
[2025-01-10 09:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 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-01-10 09:33:03] Production.INFO: ==1491== Lock acquired, processing the job...
[2025-01-10 09:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 09:33:04] Production.INFO: count ==21
[2025-01-10 09:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:33:04] Production.INFO: count ==21
[2025-01-10 09:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216023') start
[2025-01-10 09:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 09:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 09:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 09:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 09:33:04] Production.ERROR: done
[2025-01-10 09:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 09:33:04] Production.INFO: Account Balance Start.
[2025-01-10 09:33:04] Production.INFO: CreateAllLog Start
[2025-01-10 09:33:04] Production.INFO: 117
[2025-01-10 09:33:04] Production.INFO: Date 2025-01-08
[2025-01-10 09:33:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216023') end
[2025-01-10 09:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 09:33:04] Production.INFO: 1
[2025-01-10 09:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 09:33:04] Production.ERROR: done
[2025-01-10 09:33:04] Production.INFO: Date 2025-01-09
[2025-01-10 09:33:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:33:04] Production.INFO: Date 2025-01-10
[2025-01-10 09:33:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:33:04] Production.INFO: ==1487== Releasing lock...
[2025-01-10 09:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 09:33:04] Production.INFO: ==1495== Releasing lock...
[2025-01-10 09:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 09:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 09:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 09:33:04] Production.INFO: Total Charge 0
[2025-01-10 09:33:04] Production.INFO: CreateAllLog End
[2025-01-10 09:33:04] Production.INFO: Account Balance End.
[2025-01-10 09:33:04] Production.ERROR: CronJobId end 12
[2025-01-10 09:33:04] Production.INFO: ==1491== Releasing lock...
[2025-01-10 09:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 09:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 09:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 06:33:05
[end_date_ymd] => 2025-01-10 09:33:05
[RateCDR] => 1
)
[2025-01-10 09:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 06:33:05' and `end` < '2025-01-10 09:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 09:33:10] Production.ERROR: CronJobId end10
[2025-01-10 09:33:10] Production.INFO: ==1489== Releasing lock...
[2025-01-10 09:33:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 09:33:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 09:33:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 09:33:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 09:33:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 09:33:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 09:33:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 09:33:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 09:33:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 09:33:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 09:33:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 09:33:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 09:33:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 09:33:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 09:33:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 09:33:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 09:33:12] Production.INFO: call_cost start
[2025-01-10 09:33:12] Production.INFO: call_cost end
[2025-01-10 09:33:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 09:33:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 09:33:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 09:33:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 09:33:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 09:33:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 09:33:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 09:33:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 09:33:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 09:33:13] Production.INFO: ==1485== Releasing lock...
[2025-01-10 09:33:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 09:33:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:33:19] Production.INFO: count ==1357
[2025-01-10 09:33:20] Production.ERROR: pbx CDR StartTime 2025-01-10 06:33:05 - End Time 2025-01-10 09:33:05
[2025-01-10 09:33:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 09:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216026', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216026', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216026', 'tblTempVendorCDR_20' ) start
[2025-01-10 09:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216026', 'tblTempVendorCDR_20' ) end
[2025-01-10 09:33:20] Production.INFO: ProcessCDR(1,14216026,1,1,2)
[2025-01-10 09:33:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216026,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:33:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216026,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:33:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216026,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:33:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216026,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:33:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216026', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:33:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216026', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:33:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:33:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:33:24] Production.INFO: ==1493== Releasing lock...
[2025-01-10 09:33:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 09:33:24] Production.INFO: 38.25 MB #Memory Used#
[2025-01-10 14:34:01] Production.INFO: ==1588== Lock acquired, processing the job...
[2025-01-10 14:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 14:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 14:34:01] Production.INFO: neon service started
[2025-01-10 14:34:01] Production.INFO: neon service started
[2025-01-10 14:34:01] Production.INFO: ==1588== Releasing lock...
[2025-01-10 14:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 14:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 09:34:02] Production.INFO: ==1590== Lock acquired, processing the job...
[2025-01-10 09:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:34:02] Production.INFO: ==1590== Releasing lock...
[2025-01-10 09:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 09:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 14:34:02] Production.INFO: ==1592== Lock acquired, processing the job...
[2025-01-10 14:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 14:34:02] Production.INFO: ==1592== Releasing lock...
[2025-01-10 14:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 14:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 09:34:03] Production.INFO: ==1595== Lock acquired, processing the job...
[2025-01-10 09:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 09:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 09:34:03] Production.INFO: ==1597== Lock acquired, processing the job...
[2025-01-10 09:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 09:34:03] Production.INFO: ==1599== Lock acquired, processing the job...
[2025-01-10 09:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 09:34:03] Production.INFO: ==1601== Lock acquired, processing the job...
[2025-01-10 09:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 09:34:03] Production.INFO: ==1603== Lock acquired, processing the job...
[2025-01-10 09:34:03] Production.INFO: ==1605== Lock acquired, processing the job...
[2025-01-10 09:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 09:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 09:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:34:03] Production.INFO: Account Balance Start.
[2025-01-10 09:34:03] Production.INFO: CreateAllLog Start
[2025-01-10 09:34:03] Production.INFO: 117
[2025-01-10 09:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 09:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 09:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 09:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 09:34:03] Production.INFO: Date 2025-01-08
[2025-01-10 09:34:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:34:03] Production.INFO: count ==21
[2025-01-10 09:34:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:34:03] Production.INFO: count ==21
[2025-01-10 09:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216029') start
[2025-01-10 09:34:03] Production.INFO: ==1597== Releasing lock...
[2025-01-10 09:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 09:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 09:34:03] Production.INFO: Date 2025-01-09
[2025-01-10 09:34:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216029') end
[2025-01-10 09:34:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 09:34:03] Production.INFO: 1
[2025-01-10 09:34:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 09:34:03] Production.ERROR: done
[2025-01-10 09:34:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 09:34:03] Production.INFO: Date 2025-01-10
[2025-01-10 09:34:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:34:03] Production.INFO: ==1605== Releasing lock...
[2025-01-10 09:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 09:34:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 09:34:03] Production.INFO: Total Charge 0
[2025-01-10 09:34:03] Production.INFO: CreateAllLog End
[2025-01-10 09:34:03] Production.ERROR: done
[2025-01-10 09:34:03] Production.INFO: Account Balance End.
[2025-01-10 09:34:04] Production.ERROR: CronJobId end 12
[2025-01-10 09:34:04] Production.INFO: ==1601== Releasing lock...
[2025-01-10 09:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 09:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 09:34:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 06:34:04
[end_date_ymd] => 2025-01-10 09:34:04
[RateCDR] => 1
)
[2025-01-10 09:34:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 06:34:04' and `end` < '2025-01-10 09:34:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 09:34:11] Production.ERROR: CronJobId end10
[2025-01-10 09:34:11] Production.INFO: ==1599== Releasing lock...
[2025-01-10 09:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 09:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 09:34:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 09:34:11] Production.INFO: ============== Balance Warning START===========
[2025-01-10 09:34:11] Production.INFO: ============== Balance Warning END===========
[2025-01-10 09:34:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 09:34:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 09:34:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 09:34:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 09:34:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 09:34:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 09:34:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 09:34:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 09:34:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 09:34:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 09:34:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 09:34:12] Production.INFO: call_cost start
[2025-01-10 09:34:12] Production.INFO: call_cost end
[2025-01-10 09:34:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 09:34:12] Production.INFO: ============== Report Schedule START===========
[2025-01-10 09:34:12] Production.INFO: ============== Report Schedule END===========
[2025-01-10 09:34:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 09:34:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 09:34:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 09:34:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 09:34:12] Production.INFO: ============== Deal alert START===========
[2025-01-10 09:34:12] Production.INFO: ============== Deal alert END===========
[2025-01-10 09:34:12] Production.INFO: ==1595== Releasing lock...
[2025-01-10 09:34:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 09:34:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:34:20] Production.INFO: count ==1363
[2025-01-10 09:34:21] Production.ERROR: pbx CDR StartTime 2025-01-10 06:34:04 - End Time 2025-01-10 09:34:04
[2025-01-10 09:34:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 09:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216031', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216031', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216031', 'tblTempVendorCDR_20' ) start
[2025-01-10 09:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216031', 'tblTempVendorCDR_20' ) end
[2025-01-10 09:34:21] Production.INFO: ProcessCDR(1,14216031,1,1,2)
[2025-01-10 09:34:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216031,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:34:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216031,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:34:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216031,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:34:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216031,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:34:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216031', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:34:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216031', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:34:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:34:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:34:24] Production.INFO: ==1603== Releasing lock...
[2025-01-10 09:34:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 09:34:24] Production.INFO: 38.5 MB #Memory Used#
[2025-01-10 14:35:02] Production.INFO: ==1661== Lock acquired, processing the job...
[2025-01-10 14:35:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 14:35:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 14:35:02] Production.INFO: neon service started
[2025-01-10 14:35:02] Production.INFO: neon service started
[2025-01-10 14:35:02] Production.INFO: ==1661== Releasing lock...
[2025-01-10 14:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 14:35:02] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 09:35:02] Production.INFO: ==1663== Lock acquired, processing the job...
[2025-01-10 09:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:35:02] Production.INFO: ==1663== Releasing lock...
[2025-01-10 09:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 09:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 14:35:02] Production.INFO: ==1665== Lock acquired, processing the job...
[2025-01-10 14:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 14:35:02] Production.INFO: ==1665== Releasing lock...
[2025-01-10 14:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 14:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 09:35:03] Production.INFO: ==1668== Lock acquired, processing the job...
[2025-01-10 09:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 09:35:03] Production.INFO: ==1672== Lock acquired, processing the job...
[2025-01-10 09:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 09:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 09:35:03] Production.INFO: ==1676== Lock acquired, processing the job...
[2025-01-10 09:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 09:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 09:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 09:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 09:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 09:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:35:03] Production.INFO: ==1670== Lock acquired, processing the job...
[2025-01-10 09:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 09:35:03] Production.INFO: ==1674== Lock acquired, processing the job...
[2025-01-10 09:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 09:35:03] Production.INFO: ==1678== Lock acquired, processing the job...
[2025-01-10 09:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 09:35:04] Production.ERROR: done
[2025-01-10 09:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 09:35:04] Production.INFO: Account Balance Start.
[2025-01-10 09:35:04] Production.INFO: CreateAllLog Start
[2025-01-10 09:35:04] Production.INFO: 117
[2025-01-10 09:35:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:35:04] Production.INFO: Date 2025-01-08
[2025-01-10 09:35:04] Production.ERROR: done
[2025-01-10 09:35:04] Production.INFO: ==1670== Releasing lock...
[2025-01-10 09:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 09:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 09:35:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:35:04] Production.INFO: count ==21
[2025-01-10 09:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:35:04] Production.INFO: count ==21
[2025-01-10 09:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216034') start
[2025-01-10 09:35:04] Production.INFO: Date 2025-01-09
[2025-01-10 09:35:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:35:04] Production.INFO: Date 2025-01-10
[2025-01-10 09:35:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:35:04] Production.INFO: Total Charge 0
[2025-01-10 09:35:04] Production.INFO: CreateAllLog End
[2025-01-10 09:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216034') end
[2025-01-10 09:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 09:35:04] Production.INFO: 1
[2025-01-10 09:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 09:35:04] Production.INFO: ==1678== Releasing lock...
[2025-01-10 09:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 09:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 09:35:04] Production.INFO: Account Balance End.
[2025-01-10 09:35:04] Production.ERROR: CronJobId end 12
[2025-01-10 09:35:04] Production.INFO: ==1674== Releasing lock...
[2025-01-10 09:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 09:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 09:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 06:35:05
[end_date_ymd] => 2025-01-10 09:35:05
[RateCDR] => 1
)
[2025-01-10 09:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 06:35:05' and `end` < '2025-01-10 09:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 09:35:10] Production.ERROR: CronJobId end10
[2025-01-10 09:35:10] Production.INFO: ==1672== Releasing lock...
[2025-01-10 09:35:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 09:35:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 09:35:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 09:35:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 09:35:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 09:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 09:35:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 09:35:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 09:35:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 09:35:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 09:35:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 09:35:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 09:35:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 09:35:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 09:35:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 09:35:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 09:35:13] Production.INFO: call_cost start
[2025-01-10 09:35:13] Production.INFO: call_cost end
[2025-01-10 09:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 09:35:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 09:35:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 09:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 09:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 09:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 09:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 09:35:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 09:35:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 09:35:14] Production.INFO: ==1668== Releasing lock...
[2025-01-10 09:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 09:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:35:19] Production.INFO: count ==1380
[2025-01-10 09:35:19] Production.ERROR: pbx CDR StartTime 2025-01-10 06:35:05 - End Time 2025-01-10 09:35:05
[2025-01-10 09:35:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 09:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216036', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216036', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216036', 'tblTempVendorCDR_20' ) start
[2025-01-10 09:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216036', 'tblTempVendorCDR_20' ) end
[2025-01-10 09:35:19] Production.INFO: ProcessCDR(1,14216036,1,1,2)
[2025-01-10 09:35:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216036,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:35:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216036,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:35:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216036,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:35:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216036,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:35:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216036', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:35:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216036', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:35:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:35:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:35:24] Production.INFO: ==1676== Releasing lock...
[2025-01-10 09:35:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 09:35:24] Production.INFO: 38.25 MB #Memory Used#
[2025-01-10 14:36:01] Production.INFO: ==1731== Lock acquired, processing the job...
[2025-01-10 14:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 14:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 14:36:01] Production.INFO: neon service started
[2025-01-10 14:36:01] Production.INFO: neon service started
[2025-01-10 14:36:01] Production.INFO: ==1731== Releasing lock...
[2025-01-10 14:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 14:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 09:36:01] Production.INFO: ==1733== Lock acquired, processing the job...
[2025-01-10 09:36:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:36:02] Production.INFO: ==1733== Releasing lock...
[2025-01-10 09:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 09:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 14:36:02] Production.INFO: ==1735== Lock acquired, processing the job...
[2025-01-10 14:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 14:36:02] Production.INFO: ==1735== Releasing lock...
[2025-01-10 14:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 14:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 09:36:02] Production.INFO: ==1743== Lock acquired, processing the job...
[2025-01-10 09:36:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 09:36:03] Production.INFO: Account Balance Start.
[2025-01-10 09:36:03] Production.INFO: CreateAllLog Start
[2025-01-10 09:36:03] Production.INFO: 117
[2025-01-10 09:36:03] Production.INFO: Date 2025-01-08
[2025-01-10 09:36:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:36:03] Production.INFO: Date 2025-01-09
[2025-01-10 09:36:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:36:03] Production.INFO: Date 2025-01-10
[2025-01-10 09:36:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:36:03] Production.INFO: ==1747== Lock acquired, processing the job...
[2025-01-10 09:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 09:36:03] Production.INFO: ==1737== Lock acquired, processing the job...
[2025-01-10 09:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 09:36:03] Production.INFO: Total Charge 0
[2025-01-10 09:36:03] Production.INFO: ==1739== Lock acquired, processing the job...
[2025-01-10 09:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 09:36:03] Production.INFO: CreateAllLog End
[2025-01-10 09:36:03] Production.INFO: ==1745== Lock acquired, processing the job...
[2025-01-10 09:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 09:36:03] Production.INFO: ==1741== Lock acquired, processing the job...
[2025-01-10 09:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 09:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 09:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:36:03] Production.INFO: Account Balance End.
[2025-01-10 09:36:03] Production.ERROR: CronJobId end 12
[2025-01-10 09:36:03] Production.INFO: ==1743== Releasing lock...
[2025-01-10 09:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 09:36:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 09:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 09:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 09:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 09:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 09:36:03] Production.INFO: count ==21
[2025-01-10 09:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:36:03] Production.INFO: count ==21
[2025-01-10 09:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216038') start
[2025-01-10 09:36:03] Production.ERROR: done
[2025-01-10 09:36:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 09:36:03] Production.INFO: ==1739== Releasing lock...
[2025-01-10 09:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 09:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 09:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216038') end
[2025-01-10 09:36:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 09:36:03] Production.INFO: 1
[2025-01-10 09:36:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 09:36:03] Production.INFO: ==1747== Releasing lock...
[2025-01-10 09:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 09:36:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 09:36:03] Production.ERROR: done
[2025-01-10 09:36:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 06:36:04
[end_date_ymd] => 2025-01-10 09:36:04
[RateCDR] => 1
)
[2025-01-10 09:36:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 06:36:04' and `end` < '2025-01-10 09:36:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 09:36:09] Production.ERROR: CronJobId end10
[2025-01-10 09:36:09] Production.INFO: ==1741== Releasing lock...
[2025-01-10 09:36:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 09:36:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 09:36:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 09:36:11] Production.INFO: ============== Balance Warning START===========
[2025-01-10 09:36:11] Production.INFO: ============== Balance Warning END===========
[2025-01-10 09:36:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 09:36:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 09:36:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 09:36:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 09:36:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 09:36:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 09:36:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 09:36:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 09:36:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 09:36:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 09:36:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 09:36:12] Production.INFO: call_cost start
[2025-01-10 09:36:12] Production.INFO: call_cost end
[2025-01-10 09:36:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 09:36:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 09:36:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 09:36:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 09:36:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 09:36:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 09:36:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 09:36:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 09:36:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 09:36:13] Production.INFO: ==1737== Releasing lock...
[2025-01-10 09:36:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 09:36:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:36:18] Production.INFO: count ==1389
[2025-01-10 09:36:18] Production.ERROR: pbx CDR StartTime 2025-01-10 06:36:04 - End Time 2025-01-10 09:36:04
[2025-01-10 09:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 09:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216041', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216041', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216041', 'tblTempVendorCDR_20' ) start
[2025-01-10 09:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216041', 'tblTempVendorCDR_20' ) end
[2025-01-10 09:36:18] Production.INFO: ProcessCDR(1,14216041,1,1,2)
[2025-01-10 09:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216041,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:36:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216041,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:36:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216041,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:36:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216041,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:36:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216041', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:36:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216041', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:36:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:36:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:36:23] Production.INFO: ==1745== Releasing lock...
[2025-01-10 09:36:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 09:36:23] Production.INFO: 38.5 MB #Memory Used#
[2025-01-10 14:37:01] Production.INFO: ==1801== Lock acquired, processing the job...
[2025-01-10 14:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 14:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 14:37:01] Production.INFO: neon service started
[2025-01-10 14:37:01] Production.INFO: neon service started
[2025-01-10 14:37:01] Production.INFO: ==1801== Releasing lock...
[2025-01-10 14:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 14:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:37:02] Production.INFO: ==1805== Lock acquired, processing the job...
[2025-01-10 14:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 14:37:02] Production.INFO: ==1805== Releasing lock...
[2025-01-10 14:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 14:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 09:37:02] Production.INFO: ==1803== Lock acquired, processing the job...
[2025-01-10 09:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:37:02] Production.INFO: ==1803== Releasing lock...
[2025-01-10 09:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 09:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 09:37:03] Production.INFO: ==1807== Lock acquired, processing the job...
[2025-01-10 09:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 09:37:03] Production.INFO: ==1809== Lock acquired, processing the job...
[2025-01-10 09:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 09:37:03] Production.INFO: ==1811== Lock acquired, processing the job...
[2025-01-10 09:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 09:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 09:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 09:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 09:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 09:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 09:37:03] Production.INFO: ==1813== Lock acquired, processing the job...
[2025-01-10 09:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 09:37:03] Production.INFO: ==1819== Lock acquired, processing the job...
[2025-01-10 09:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 09:37:03] Production.INFO: Account Balance Start.
[2025-01-10 09:37:03] Production.INFO: CreateAllLog Start
[2025-01-10 09:37:03] Production.INFO: 117
[2025-01-10 09:37:03] Production.INFO: Date 2025-01-08
[2025-01-10 09:37:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:37:03] Production.INFO: Date 2025-01-09
[2025-01-10 09:37:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:37:03] Production.INFO: ==1809== Releasing lock...
[2025-01-10 09:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 09:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 09:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:37:03] Production.INFO: Date 2025-01-10
[2025-01-10 09:37:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:37:03] Production.INFO: ==1817== Lock acquired, processing the job...
[2025-01-10 09:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 09:37:03] Production.INFO: Total Charge 0
[2025-01-10 09:37:03] Production.INFO: count ==21
[2025-01-10 09:37:03] Production.INFO: CreateAllLog End
[2025-01-10 09:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:37:03] Production.INFO: count ==21
[2025-01-10 09:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216045') start
[2025-01-10 09:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216045') end
[2025-01-10 09:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 09:37:04] Production.INFO: 1
[2025-01-10 09:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 09:37:04] Production.INFO: ==1819== Releasing lock...
[2025-01-10 09:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 09:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 09:37:04] Production.ERROR: done
[2025-01-10 09:37:04] Production.INFO: Account Balance End.
[2025-01-10 09:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 09:37:04] Production.ERROR: CronJobId end 12
[2025-01-10 09:37:04] Production.INFO: ==1813== Releasing lock...
[2025-01-10 09:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 09:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 09:37:04] Production.ERROR: done
[2025-01-10 09:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 06:37:05
[end_date_ymd] => 2025-01-10 09:37:05
[RateCDR] => 1
)
[2025-01-10 09:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 06:37:05' and `end` < '2025-01-10 09:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 09:37:11] Production.ERROR: CronJobId end10
[2025-01-10 09:37:11] Production.INFO: ==1811== Releasing lock...
[2025-01-10 09:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 09:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 09:37:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 09:37:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 09:37:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 09:37:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 09:37:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 09:37:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 09:37:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 09:37:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 09:37:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 09:37:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 09:37:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 09:37:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 09:37:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 09:37:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 09:37:12] Production.INFO: call_cost start
[2025-01-10 09:37:12] Production.INFO: call_cost end
[2025-01-10 09:37:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 09:37:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 09:37:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 09:37:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 09:37:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 09:37:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 09:37:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 09:37:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 09:37:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 09:37:13] Production.INFO: ==1807== Releasing lock...
[2025-01-10 09:37:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 09:37:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:37:20] Production.INFO: count ==1412
[2025-01-10 09:37:20] Production.ERROR: pbx CDR StartTime 2025-01-10 06:37:05 - End Time 2025-01-10 09:37:05
[2025-01-10 09:37:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 09:37:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216046', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:37:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216046', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:37:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216046', 'tblTempVendorCDR_20' ) start
[2025-01-10 09:37:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216046', 'tblTempVendorCDR_20' ) end
[2025-01-10 09:37:20] Production.INFO: ProcessCDR(1,14216046,1,1,2)
[2025-01-10 09:37:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216046,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:37:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216046,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:37:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216046,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:37:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216046,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:37:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216046', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:37:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216046', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:37:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:37:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:37:25] Production.INFO: ==1817== Releasing lock...
[2025-01-10 09:37:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 09:37:25] Production.INFO: 38.75 MB #Memory Used#
[2025-01-10 14:38:02] Production.INFO: ==1877== Lock acquired, processing the job...
[2025-01-10 14:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 14:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 14:38:02] Production.INFO: neon service started
[2025-01-10 14:38:02] Production.INFO: neon service started
[2025-01-10 14:38:02] Production.INFO: ==1877== Releasing lock...
[2025-01-10 14:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 14:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:38:02] Production.INFO: ==1881== Lock acquired, processing the job...
[2025-01-10 14:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 14:38:02] Production.INFO: ==1881== Releasing lock...
[2025-01-10 14:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 14:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 09:38:02] Production.INFO: ==1879== Lock acquired, processing the job...
[2025-01-10 09:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:38:03] Production.INFO: ==1879== Releasing lock...
[2025-01-10 09:38:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 09:38:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 09:38:03] Production.INFO: ==1883== Lock acquired, processing the job...
[2025-01-10 09:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 09:38:03] Production.INFO: ==1885== Lock acquired, processing the job...
[2025-01-10 09:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 09:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 09:38:03] Production.INFO: ==1889== Lock acquired, processing the job...
[2025-01-10 09:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 09:38:04] Production.INFO: ==1887== Lock acquired, processing the job...
[2025-01-10 09:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 09:38:04] Production.INFO: Account Balance Start.
[2025-01-10 09:38:04] Production.INFO: CreateAllLog Start
[2025-01-10 09:38:04] Production.INFO: 117
[2025-01-10 09:38:04] Production.INFO: ==1885== Releasing lock...
[2025-01-10 09:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 09:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 09:38:04] Production.INFO: Date 2025-01-08
[2025-01-10 09:38:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:38:04] Production.INFO: Date 2025-01-09
[2025-01-10 09:38:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 09:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 09:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 09:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 09:38:04] Production.INFO: Date 2025-01-10
[2025-01-10 09:38:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:38:04] Production.INFO: ==1892== Lock acquired, processing the job...
[2025-01-10 09:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 09:38:04] Production.INFO: Total Charge 0
[2025-01-10 09:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:38:04] Production.INFO: CreateAllLog End
[2025-01-10 09:38:04] Production.INFO: ==1894== Lock acquired, processing the job...
[2025-01-10 09:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 09:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:38:04] Production.INFO: Account Balance End.
[2025-01-10 09:38:04] Production.INFO: count ==21
[2025-01-10 09:38:04] Production.ERROR: done
[2025-01-10 09:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 09:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:38:04] Production.INFO: count ==21
[2025-01-10 09:38:04] Production.ERROR: CronJobId end 12
[2025-01-10 09:38:04] Production.INFO: ==1889== Releasing lock...
[2025-01-10 09:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 09:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 09:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216050') start
[2025-01-10 09:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216050') end
[2025-01-10 09:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 09:38:04] Production.INFO: 1
[2025-01-10 09:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 09:38:04] Production.ERROR: done
[2025-01-10 09:38:04] Production.INFO: ==1894== Releasing lock...
[2025-01-10 09:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 09:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 09:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 06:38:05
[end_date_ymd] => 2025-01-10 09:38:05
[RateCDR] => 1
)
[2025-01-10 09:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 06:38:05' and `end` < '2025-01-10 09:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 09:38:11] Production.ERROR: CronJobId end10
[2025-01-10 09:38:11] Production.INFO: ==1887== Releasing lock...
[2025-01-10 09:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 09:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 09:38:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 09:38:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 09:38:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 09:38:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 09:38:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 09:38:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 09:38:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 09:38:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 09:38:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 09:38:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 09:38:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 09:38:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 09:38:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 09:38:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 09:38:13] Production.INFO: call_cost start
[2025-01-10 09:38:13] Production.INFO: call_cost end
[2025-01-10 09:38:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 09:38:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 09:38:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 09:38:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 09:38:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 09:38:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 09:38:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 09:38:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 09:38:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 09:38:13] Production.INFO: ==1883== Releasing lock...
[2025-01-10 09:38:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 09:38:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:38:21] Production.INFO: count ==1433
[2025-01-10 09:38:22] Production.ERROR: pbx CDR StartTime 2025-01-10 06:38:05 - End Time 2025-01-10 09:38:05
[2025-01-10 09:38:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 09:38:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216051', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:38:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216051', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:38:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216051', 'tblTempVendorCDR_20' ) start
[2025-01-10 09:38:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216051', 'tblTempVendorCDR_20' ) end
[2025-01-10 09:38:22] Production.INFO: ProcessCDR(1,14216051,1,1,2)
[2025-01-10 09:38:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216051,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:38:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216051,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:38:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216051,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:38:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216051,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:38:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216051', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:38:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216051', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:38:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:38:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:38:26] Production.INFO: ==1892== Releasing lock...
[2025-01-10 09:38:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 09:38:26] Production.INFO: 38.75 MB #Memory Used#
[2025-01-10 14:39:01] Production.INFO: ==1988== Lock acquired, processing the job...
[2025-01-10 14:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 14:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 14:39:01] Production.INFO: neon service started
[2025-01-10 14:39:01] Production.INFO: neon service started
[2025-01-10 14:39:01] Production.INFO: ==1988== Releasing lock...
[2025-01-10 14:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 14:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 09:39:02] Production.INFO: ==1990== Lock acquired, processing the job...
[2025-01-10 09:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 14:39:02] Production.INFO: ==1992== Lock acquired, processing the job...
[2025-01-10 14:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 14:39:02] Production.INFO: ==1992== Releasing lock...
[2025-01-10 14:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 14:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 09:39:02] Production.INFO: ==1990== Releasing lock...
[2025-01-10 09:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 09:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 09:39:03] Production.INFO: ==2000== Lock acquired, processing the job...
[2025-01-10 09:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 09:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 09:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 09:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 09:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 09:39:03] Production.INFO: ==1996== Lock acquired, processing the job...
[2025-01-10 09:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 09:39:03] Production.INFO: ==1998== Lock acquired, processing the job...
[2025-01-10 09:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 09:39:03] Production.INFO: ==2004== Lock acquired, processing the job...
[2025-01-10 09:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 09:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 09:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:39:03] Production.INFO: ==2002== Lock acquired, processing the job...
[2025-01-10 09:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 09:39:03] Production.INFO: ==2006== Lock acquired, processing the job...
[2025-01-10 09:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 09:39:03] Production.INFO: Account Balance Start.
[2025-01-10 09:39:03] Production.INFO: CreateAllLog Start
[2025-01-10 09:39:03] Production.INFO: 117
[2025-01-10 09:39:03] Production.INFO: Date 2025-01-08
[2025-01-10 09:39:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:39:03] Production.INFO: Date 2025-01-09
[2025-01-10 09:39:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:39:03] Production.INFO: Date 2025-01-10
[2025-01-10 09:39:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:39:03] Production.INFO: ==1998== Releasing lock...
[2025-01-10 09:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 09:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 09:39:04] Production.ERROR: done
[2025-01-10 09:39:04] Production.INFO: count ==21
[2025-01-10 09:39:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:39:04] Production.INFO: count ==21
[2025-01-10 09:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 09:39:04] Production.INFO: Total Charge 0
[2025-01-10 09:39:04] Production.INFO: CreateAllLog End
[2025-01-10 09:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216055') start
[2025-01-10 09:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216055') end
[2025-01-10 09:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 09:39:04] Production.INFO: 1
[2025-01-10 09:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 09:39:04] Production.ERROR: done
[2025-01-10 09:39:04] Production.INFO: ==2006== Releasing lock...
[2025-01-10 09:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 09:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 09:39:04] Production.INFO: Account Balance End.
[2025-01-10 09:39:04] Production.ERROR: CronJobId end 12
[2025-01-10 09:39:04] Production.INFO: ==2002== Releasing lock...
[2025-01-10 09:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 09:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 09:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 06:39:05
[end_date_ymd] => 2025-01-10 09:39:05
[RateCDR] => 1
)
[2025-01-10 09:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 06:39:05' and `end` < '2025-01-10 09:39:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 09:39:11] Production.ERROR: CronJobId end10
[2025-01-10 09:39:11] Production.INFO: ==2000== Releasing lock...
[2025-01-10 09:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 09:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 09:39:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 09:39:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 09:39:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 09:39:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 09:39:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 09:39:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 09:39:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 09:39:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 09:39:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 09:39:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 09:39:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 09:39:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 09:39:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 09:39:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 09:39:13] Production.INFO: call_cost start
[2025-01-10 09:39:13] Production.INFO: call_cost end
[2025-01-10 09:39:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 09:39:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 09:39:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 09:39:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 09:39:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 09:39:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 09:39:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 09:39:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 09:39:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 09:39:13] Production.INFO: ==1996== Releasing lock...
[2025-01-10 09:39:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 09:39:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:39:21] Production.INFO: count ==1437
[2025-01-10 09:39:21] Production.ERROR: pbx CDR StartTime 2025-01-10 06:39:05 - End Time 2025-01-10 09:39:05
[2025-01-10 09:39:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 09:39:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216056', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:39:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216056', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:39:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216056', 'tblTempVendorCDR_20' ) start
[2025-01-10 09:39:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216056', 'tblTempVendorCDR_20' ) end
[2025-01-10 09:39:21] Production.INFO: ProcessCDR(1,14216056,1,1,2)
[2025-01-10 09:39:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216056,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:39:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216056,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:39:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216056,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:39:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216056,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:39:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216056', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:39:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216056', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:39:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:39:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:39:26] Production.INFO: ==2004== Releasing lock...
[2025-01-10 09:39:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 09:39:26] Production.INFO: 39 MB #Memory Used#
[2025-01-10 14:40:02] Production.INFO: ==2060== Lock acquired, processing the job...
[2025-01-10 14:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 14:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 14:40:02] Production.INFO: neon service started
[2025-01-10 14:40:02] Production.INFO: neon service started
[2025-01-10 14:40:02] Production.INFO: ==2060== Releasing lock...
[2025-01-10 14:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 14:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 09:40:02] Production.INFO: ==2062== Lock acquired, processing the job...
[2025-01-10 09:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 14:40:02] Production.INFO: ==2064== Lock acquired, processing the job...
[2025-01-10 14:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 14:40:02] Production.INFO: ==2064== Releasing lock...
[2025-01-10 14:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 14:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 09:40:03] Production.INFO: ==2062== Releasing lock...
[2025-01-10 09:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 09:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 09:40:03] Production.INFO: ==2067== Lock acquired, processing the job...
[2025-01-10 09:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 09:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 09:40:04] Production.INFO: ==2077== Lock acquired, processing the job...
[2025-01-10 09:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 09:40:04] Production.INFO: ==2075== Lock acquired, processing the job...
[2025-01-10 09:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 09:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 09:40:04] Production.INFO: ==2067== Releasing lock...
[2025-01-10 09:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 09:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 09:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:40:04] Production.INFO: ==2069== Lock acquired, processing the job...
[2025-01-10 09:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 09:40:04] Production.INFO: ==2079== Lock acquired, processing the job...
[2025-01-10 09:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 09:40:04] Production.INFO: Account Balance Start.
[2025-01-10 09:40:04] Production.INFO: CreateAllLog Start
[2025-01-10 09:40:04] Production.INFO: 117
[2025-01-10 09:40:04] Production.INFO: ==2071== Lock acquired, processing the job...
[2025-01-10 09:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 09:40:04] Production.INFO: Date 2025-01-08
[2025-01-10 09:40:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:40:04] Production.INFO: ==2073== Lock acquired, processing the job...
[2025-01-10 09:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 09:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:40:04] Production.INFO: Date 2025-01-09
[2025-01-10 09:40:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 09:40:04] Production.INFO: ==2081== Lock acquired, processing the job...
[2025-01-10 09:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 09:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 09:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 09:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 09:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 09:40:04] Production.ERROR: done
[2025-01-10 09:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 09:40:04] Production.INFO: Date 2025-01-10
[2025-01-10 09:40:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:40:04] Production.INFO: Total Charge 0
[2025-01-10 09:40:04] Production.INFO: CreateAllLog End
[2025-01-10 09:40:04] Production.ERROR: done
[2025-01-10 09:40:04] Production.INFO: ==2071== Releasing lock...
[2025-01-10 09:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 09:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 09:40:04] Production.ERROR: done
[2025-01-10 09:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 09:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14216062', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 09:40:04] Production.INFO: count ==21
[2025-01-10 09:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:40:04] Production.INFO: count ==21
[2025-01-10 09:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216060') start
[2025-01-10 09:40:04] Production.INFO: Account Balance End.
[2025-01-10 09:40:04] Production.ERROR: CronJobId end 12
[2025-01-10 09:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216060') end
[2025-01-10 09:40:04] Production.INFO: ==2075== Releasing lock...
[2025-01-10 09:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 09:40:04] Production.INFO: 1
[2025-01-10 09:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 09:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 09:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 09:40:05] Production.INFO: ==2081== Releasing lock...
[2025-01-10 09:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 09:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 09:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 06:40:05
[end_date_ymd] => 2025-01-10 09:40:05
[RateCDR] => 1
)
[2025-01-10 09:40:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 06:40:05' and `end` < '2025-01-10 09:40:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 09:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14216062', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 09:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 09:40:08] Production.INFO: ProcessCDR(1,14216062,1,1,2)
[2025-01-10 09:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14216062,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14216062,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:40:09] Production.INFO: ==2079== Releasing lock...
[2025-01-10 09:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 09:40:09] Production.INFO: 26 MB #Memory Used#
[2025-01-10 09:40:13] Production.ERROR: CronJobId end10
[2025-01-10 09:40:13] Production.INFO: ==2073== Releasing lock...
[2025-01-10 09:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 09:40:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 09:40:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 09:40:15] Production.INFO: ============== Balance Warning START===========
[2025-01-10 09:40:15] Production.INFO: ============== Balance Warning END===========
[2025-01-10 09:40:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 09:40:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 09:40:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 09:40:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 09:40:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 09:40:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 09:40:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 09:40:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 09:40:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 09:40:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 09:40:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 09:40:15] Production.INFO: call_cost start
[2025-01-10 09:40:15] Production.INFO: call_cost end
[2025-01-10 09:40:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 09:40:16] Production.INFO: ============== Report Schedule START===========
[2025-01-10 09:40:16] Production.INFO: ============== Report Schedule END===========
[2025-01-10 09:40:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 09:40:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 09:40:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 09:40:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 09:40:16] Production.INFO: ============== Deal alert START===========
[2025-01-10 09:40:16] Production.INFO: ============== Deal alert END===========
[2025-01-10 09:40:16] Production.INFO: ==2069== Releasing lock...
[2025-01-10 09:40:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 09:40:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:40:20] Production.INFO: count ==1458
[2025-01-10 09:40:20] Production.ERROR: pbx CDR StartTime 2025-01-10 06:40:05 - End Time 2025-01-10 09:40:05
[2025-01-10 09:40:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 09:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216061', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216061', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216061', 'tblTempVendorCDR_20' ) start
[2025-01-10 09:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216061', 'tblTempVendorCDR_20' ) end
[2025-01-10 09:40:20] Production.INFO: ProcessCDR(1,14216061,1,1,2)
[2025-01-10 09:40:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216061,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:40:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216061,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:40:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216061,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:40:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216061,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:40:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216061', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:40:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216061', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:40:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:40:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:40:25] Production.INFO: ==2077== Releasing lock...
[2025-01-10 09:40:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 09:40:25] Production.INFO: 39.25 MB #Memory Used#
[2025-01-10 14:41:01] Production.INFO: ==2136== Lock acquired, processing the job...
[2025-01-10 14:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 14:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 14:41:01] Production.INFO: neon service started
[2025-01-10 14:41:01] Production.INFO: neon service started
[2025-01-10 14:41:01] Production.INFO: ==2136== Releasing lock...
[2025-01-10 14:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 14:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:41:01] Production.INFO: ==2140== Lock acquired, processing the job...
[2025-01-10 14:41:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 14:41:01] Production.INFO: ==2140== Releasing lock...
[2025-01-10 14:41:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 14:41:01] Production.INFO: 25 MB #Memory Used#
[2025-01-10 09:41:02] Production.INFO: ==2138== Lock acquired, processing the job...
[2025-01-10 09:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:41:02] Production.INFO: ==2138== Releasing lock...
[2025-01-10 09:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 09:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 09:41:03] Production.INFO: ==2149== Lock acquired, processing the job...
[2025-01-10 09:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 09:41:03] Production.INFO: ==2145== Lock acquired, processing the job...
[2025-01-10 09:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 09:41:03] Production.INFO: ==2155== Lock acquired, processing the job...
[2025-01-10 09:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 09:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 09:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 09:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 09:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 09:41:03] Production.INFO: ==2147== Lock acquired, processing the job...
[2025-01-10 09:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 09:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 09:41:03] Production.INFO: ==2151== Lock acquired, processing the job...
[2025-01-10 09:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 09:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:41:03] Production.INFO: count ==21
[2025-01-10 09:41:03] Production.INFO: ==2153== Lock acquired, processing the job...
[2025-01-10 09:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 09:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:41:03] Production.INFO: count ==21
[2025-01-10 09:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216063') start
[2025-01-10 09:41:03] Production.INFO: Account Balance Start.
[2025-01-10 09:41:03] Production.INFO: CreateAllLog Start
[2025-01-10 09:41:03] Production.INFO: 117
[2025-01-10 09:41:03] Production.INFO: Date 2025-01-08
[2025-01-10 09:41:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216063') end
[2025-01-10 09:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 09:41:03] Production.INFO: 1
[2025-01-10 09:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 09:41:03] Production.INFO: ==2155== Releasing lock...
[2025-01-10 09:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 09:41:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 09:41:03] Production.ERROR: done
[2025-01-10 09:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 09:41:03] Production.INFO: ==2147== Releasing lock...
[2025-01-10 09:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 09:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 09:41:03] Production.INFO: Date 2025-01-09
[2025-01-10 09:41:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:41:03] Production.ERROR: done
[2025-01-10 09:41:04] Production.INFO: Date 2025-01-10
[2025-01-10 09:41:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:41:04] Production.INFO: Total Charge 0
[2025-01-10 09:41:04] Production.INFO: CreateAllLog End
[2025-01-10 09:41:04] Production.INFO: Account Balance End.
[2025-01-10 09:41:04] Production.ERROR: CronJobId end 12
[2025-01-10 09:41:04] Production.INFO: ==2151== Releasing lock...
[2025-01-10 09:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 09:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 09:41:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 06:41:04
[end_date_ymd] => 2025-01-10 09:41:04
[RateCDR] => 1
)
[2025-01-10 09:41:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 06:41:04' and `end` < '2025-01-10 09:41:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 09:41:10] Production.ERROR: CronJobId end10
[2025-01-10 09:41:10] Production.INFO: ==2149== Releasing lock...
[2025-01-10 09:41:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 09:41:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 09:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 09:41:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 09:41:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 09:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 09:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 09:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 09:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 09:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 09:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 09:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 09:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 09:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 09:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 09:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 09:41:13] Production.INFO: call_cost start
[2025-01-10 09:41:13] Production.INFO: call_cost end
[2025-01-10 09:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 09:41:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 09:41:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 09:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 09:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 09:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 09:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 09:41:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 09:41:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 09:41:14] Production.INFO: ==2145== Releasing lock...
[2025-01-10 09:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 09:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:41:18] Production.INFO: count ==1520
[2025-01-10 09:41:18] Production.ERROR: pbx CDR StartTime 2025-01-10 06:41:04 - End Time 2025-01-10 09:41:04
[2025-01-10 09:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 09:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216067', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216067', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216067', 'tblTempVendorCDR_20' ) start
[2025-01-10 09:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216067', 'tblTempVendorCDR_20' ) end
[2025-01-10 09:41:18] Production.INFO: ProcessCDR(1,14216067,1,1,2)
[2025-01-10 09:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216067,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:41:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216067,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:41:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216067,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:41:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216067,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:41:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216067', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:41:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216067', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:41:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:41:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:41:23] Production.INFO: ==2153== Releasing lock...
[2025-01-10 09:41:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 09:41:23] Production.INFO: 39.5 MB #Memory Used#
[2025-01-10 14:42:01] Production.INFO: ==2212== Lock acquired, processing the job...
[2025-01-10 14:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 14:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 14:42:01] Production.INFO: neon service started
[2025-01-10 14:42:01] Production.INFO: neon service started
[2025-01-10 14:42:01] Production.INFO: ==2212== Releasing lock...
[2025-01-10 14:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 14:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:42:02] Production.INFO: ==2216== Lock acquired, processing the job...
[2025-01-10 14:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 14:42:02] Production.INFO: ==2216== Releasing lock...
[2025-01-10 14:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 14:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 09:42:02] Production.INFO: ==2214== Lock acquired, processing the job...
[2025-01-10 09:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:42:02] Production.INFO: ==2214== Releasing lock...
[2025-01-10 09:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 09:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 09:42:03] Production.INFO: ==2221== Lock acquired, processing the job...
[2025-01-10 09:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 09:42:03] Production.INFO: ==2219== Lock acquired, processing the job...
[2025-01-10 09:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 09:42:03] Production.INFO: ==2227== Lock acquired, processing the job...
[2025-01-10 09:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 09:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 09:42:03] Production.INFO: ==2223== Lock acquired, processing the job...
[2025-01-10 09:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 09:42:03] Production.INFO: ==2225== Lock acquired, processing the job...
[2025-01-10 09:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 09:42:03] Production.INFO: ==2221== Releasing lock...
[2025-01-10 09:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 09:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 09:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 09:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 09:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 09:42:03] Production.INFO: ==2229== Lock acquired, processing the job...
[2025-01-10 09:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 09:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 09:42:03] Production.ERROR: done
[2025-01-10 09:42:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 09:42:03] Production.INFO: Account Balance Start.
[2025-01-10 09:42:03] Production.INFO: CreateAllLog Start
[2025-01-10 09:42:03] Production.INFO: 117
[2025-01-10 09:42:03] Production.INFO: Date 2025-01-08
[2025-01-10 09:42:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:42:03] Production.INFO: Date 2025-01-09
[2025-01-10 09:42:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:42:03] Production.INFO: Date 2025-01-10
[2025-01-10 09:42:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:42:04] Production.INFO: Total Charge 0
[2025-01-10 09:42:04] Production.INFO: CreateAllLog End
[2025-01-10 09:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:42:04] Production.INFO: count ==21
[2025-01-10 09:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:42:04] Production.INFO: count ==21
[2025-01-10 09:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216071') start
[2025-01-10 09:42:04] Production.ERROR: done
[2025-01-10 09:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216071') end
[2025-01-10 09:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 09:42:04] Production.INFO: 1
[2025-01-10 09:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 09:42:04] Production.INFO: Account Balance End.
[2025-01-10 09:42:04] Production.INFO: ==2229== Releasing lock...
[2025-01-10 09:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 09:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 09:42:04] Production.ERROR: CronJobId end 12
[2025-01-10 09:42:04] Production.INFO: ==2225== Releasing lock...
[2025-01-10 09:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 09:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 09:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 06:42:05
[end_date_ymd] => 2025-01-10 09:42:05
[RateCDR] => 1
)
[2025-01-10 09:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 06:42:05' and `end` < '2025-01-10 09:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 09:42:10] Production.ERROR: CronJobId end10
[2025-01-10 09:42:10] Production.INFO: ==2223== Releasing lock...
[2025-01-10 09:42:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 09:42:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 09:42:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 09:42:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 09:42:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 09:42:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 09:42:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 09:42:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 09:42:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 09:42:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 09:42:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 09:42:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 09:42:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 09:42:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 09:42:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 09:42:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 09:42:12] Production.INFO: call_cost start
[2025-01-10 09:42:12] Production.INFO: call_cost end
[2025-01-10 09:42:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 09:42:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 09:42:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 09:42:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 09:42:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 09:42:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 09:42:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 09:42:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 09:42:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 09:42:13] Production.INFO: ==2219== Releasing lock...
[2025-01-10 09:42:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 09:42:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:42:19] Production.INFO: count ==1522
[2025-01-10 09:42:19] Production.ERROR: pbx CDR StartTime 2025-01-10 06:42:05 - End Time 2025-01-10 09:42:05
[2025-01-10 09:42:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 09:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216072', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216072', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216072', 'tblTempVendorCDR_20' ) start
[2025-01-10 09:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216072', 'tblTempVendorCDR_20' ) end
[2025-01-10 09:42:19] Production.INFO: ProcessCDR(1,14216072,1,1,2)
[2025-01-10 09:42:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216072,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:42:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216072,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:42:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216072,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:42:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216072,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:42:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216072', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:42:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216072', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:42:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:42:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:42:24] Production.INFO: ==2227== Releasing lock...
[2025-01-10 09:42:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 09:42:24] Production.INFO: 39.5 MB #Memory Used#
[2025-01-10 14:43:01] Production.INFO: ==2281== Lock acquired, processing the job...
[2025-01-10 14:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 14:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 14:43:01] Production.INFO: neon service started
[2025-01-10 14:43:01] Production.INFO: neon service started
[2025-01-10 14:43:01] Production.INFO: ==2281== Releasing lock...
[2025-01-10 14:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 14:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 09:43:01] Production.INFO: ==2283== Lock acquired, processing the job...
[2025-01-10 09:43:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:43:02] Production.INFO: ==2283== Releasing lock...
[2025-01-10 09:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 09:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 14:43:02] Production.INFO: ==2285== Lock acquired, processing the job...
[2025-01-10 14:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 14:43:02] Production.INFO: ==2285== Releasing lock...
[2025-01-10 14:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 14:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 09:43:02] Production.INFO: ==2288== Lock acquired, processing the job...
[2025-01-10 09:43:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 09:43:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 09:43:02] Production.INFO: ==2290== Lock acquired, processing the job...
[2025-01-10 09:43:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 09:43:02] Production.INFO: ==2292== Lock acquired, processing the job...
[2025-01-10 09:43:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 09:43:02] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 09:43:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 09:43:02] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 09:43:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 09:43:03] Production.INFO: ==2294== Lock acquired, processing the job...
[2025-01-10 09:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 09:43:03] Production.INFO: ==2290== Releasing lock...
[2025-01-10 09:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 09:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 09:43:03] Production.INFO: ==2296== Lock acquired, processing the job...
[2025-01-10 09:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 09:43:03] Production.INFO: Account Balance Start.
[2025-01-10 09:43:03] Production.INFO: CreateAllLog Start
[2025-01-10 09:43:03] Production.INFO: 117
[2025-01-10 09:43:03] Production.INFO: Date 2025-01-08
[2025-01-10 09:43:03] Production.INFO: ==2298== Lock acquired, processing the job...
[2025-01-10 09:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 09:43:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:43:03] Production.INFO: Date 2025-01-09
[2025-01-10 09:43:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:43:03] Production.INFO: Date 2025-01-10
[2025-01-10 09:43:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:43:03] Production.INFO: Total Charge 0
[2025-01-10 09:43:03] Production.INFO: CreateAllLog End
[2025-01-10 09:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:43:03] Production.INFO: count ==21
[2025-01-10 09:43:03] Production.ERROR: done
[2025-01-10 09:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 09:43:03] Production.INFO: count ==21
[2025-01-10 09:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216076') start
[2025-01-10 09:43:03] Production.ERROR: done
[2025-01-10 09:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216076') end
[2025-01-10 09:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 09:43:03] Production.INFO: 1
[2025-01-10 09:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 09:43:03] Production.INFO: Account Balance End.
[2025-01-10 09:43:03] Production.ERROR: CronJobId end 12
[2025-01-10 09:43:03] Production.INFO: ==2294== Releasing lock...
[2025-01-10 09:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 09:43:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 09:43:03] Production.INFO: ==2298== Releasing lock...
[2025-01-10 09:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 09:43:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 09:43:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 06:43:04
[end_date_ymd] => 2025-01-10 09:43:04
[RateCDR] => 1
)
[2025-01-10 09:43:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 06:43:04' and `end` < '2025-01-10 09:43:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 09:43:10] Production.ERROR: CronJobId end10
[2025-01-10 09:43:10] Production.INFO: ==2292== Releasing lock...
[2025-01-10 09:43:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 09:43:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 09:43:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 09:43:11] Production.INFO: ============== Balance Warning START===========
[2025-01-10 09:43:11] Production.INFO: ============== Balance Warning END===========
[2025-01-10 09:43:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 09:43:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 09:43:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 09:43:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 09:43:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 09:43:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 09:43:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 09:43:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 09:43:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 09:43:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 09:43:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 09:43:11] Production.INFO: call_cost start
[2025-01-10 09:43:11] Production.INFO: call_cost end
[2025-01-10 09:43:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 09:43:12] Production.INFO: ============== Report Schedule START===========
[2025-01-10 09:43:12] Production.INFO: ============== Report Schedule END===========
[2025-01-10 09:43:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 09:43:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 09:43:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 09:43:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 09:43:12] Production.INFO: ============== Deal alert START===========
[2025-01-10 09:43:12] Production.INFO: ============== Deal alert END===========
[2025-01-10 09:43:12] Production.INFO: ==2288== Releasing lock...
[2025-01-10 09:43:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 09:43:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:43:19] Production.INFO: count ==1537
[2025-01-10 09:43:20] Production.ERROR: pbx CDR StartTime 2025-01-10 06:43:04 - End Time 2025-01-10 09:43:04
[2025-01-10 09:43:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 09:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216077', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216077', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216077', 'tblTempVendorCDR_20' ) start
[2025-01-10 09:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216077', 'tblTempVendorCDR_20' ) end
[2025-01-10 09:43:20] Production.INFO: ProcessCDR(1,14216077,1,1,2)
[2025-01-10 09:43:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216077,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:43:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216077,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:43:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216077,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:43:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216077,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:43:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216077', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:43:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216077', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:43:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:43:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:43:24] Production.INFO: ==2296== Releasing lock...
[2025-01-10 09:43:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 09:43:24] Production.INFO: 39.5 MB #Memory Used#
[2025-01-10 14:44:01] Production.INFO: ==2351== Lock acquired, processing the job...
[2025-01-10 14:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 14:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 14:44:01] Production.INFO: neon service started
[2025-01-10 14:44:01] Production.INFO: neon service started
[2025-01-10 14:44:01] Production.INFO: ==2351== Releasing lock...
[2025-01-10 14:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 14:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 09:44:02] Production.INFO: ==2353== Lock acquired, processing the job...
[2025-01-10 09:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:44:02] Production.INFO: ==2353== Releasing lock...
[2025-01-10 09:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 09:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 14:44:02] Production.INFO: ==2355== Lock acquired, processing the job...
[2025-01-10 14:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 14:44:02] Production.INFO: ==2355== Releasing lock...
[2025-01-10 14:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 14:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 09:44:03] Production.INFO: ==2366== Lock acquired, processing the job...
[2025-01-10 09:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 09:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:44:03] Production.INFO: ==2368== Lock acquired, processing the job...
[2025-01-10 09:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 09:44:03] Production.INFO: ==2358== Lock acquired, processing the job...
[2025-01-10 09:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 09:44:03] Production.INFO: ==2360== Lock acquired, processing the job...
[2025-01-10 09:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 09:44:03] Production.INFO: ==2362== Lock acquired, processing the job...
[2025-01-10 09:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 09:44:03] Production.INFO: ==2364== Lock acquired, processing the job...
[2025-01-10 09:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 09:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 09:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:44:03] Production.INFO: count ==21
[2025-01-10 09:44:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:44:03] Production.INFO: count ==21
[2025-01-10 09:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 09:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 09:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 09:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 09:44:03] Production.ERROR: done
[2025-01-10 09:44:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 09:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216078') start
[2025-01-10 09:44:03] Production.INFO: Account Balance Start.
[2025-01-10 09:44:03] Production.INFO: CreateAllLog Start
[2025-01-10 09:44:03] Production.INFO: 117
[2025-01-10 09:44:03] Production.INFO: Date 2025-01-08
[2025-01-10 09:44:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:44:03] Production.ERROR: done
[2025-01-10 09:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216078') end
[2025-01-10 09:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 09:44:04] Production.INFO: 1
[2025-01-10 09:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 09:44:04] Production.INFO: Date 2025-01-09
[2025-01-10 09:44:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:44:04] Production.INFO: Date 2025-01-10
[2025-01-10 09:44:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:44:04] Production.INFO: ==2368== Releasing lock...
[2025-01-10 09:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 09:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 09:44:04] Production.INFO: ==2360== Releasing lock...
[2025-01-10 09:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 09:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 09:44:04] Production.INFO: Total Charge 0
[2025-01-10 09:44:04] Production.INFO: CreateAllLog End
[2025-01-10 09:44:04] Production.INFO: Account Balance End.
[2025-01-10 09:44:04] Production.ERROR: CronJobId end 12
[2025-01-10 09:44:04] Production.INFO: ==2364== Releasing lock...
[2025-01-10 09:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 09:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 09:44:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 06:44:04
[end_date_ymd] => 2025-01-10 09:44:04
[RateCDR] => 1
)
[2025-01-10 09:44:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 06:44:04' and `end` < '2025-01-10 09:44:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 09:44:10] Production.ERROR: CronJobId end10
[2025-01-10 09:44:10] Production.INFO: ==2362== Releasing lock...
[2025-01-10 09:44:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 09:44:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 09:44:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 09:44:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 09:44:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 09:44:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 09:44:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 09:44:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 09:44:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 09:44:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 09:44:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 09:44:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 09:44:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 09:44:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 09:44:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 09:44:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 09:44:13] Production.INFO: call_cost start
[2025-01-10 09:44:13] Production.INFO: call_cost end
[2025-01-10 09:44:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 09:44:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 09:44:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 09:44:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 09:44:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 09:44:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 09:44:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 09:44:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 09:44:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 09:44:13] Production.INFO: ==2358== Releasing lock...
[2025-01-10 09:44:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 09:44:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:44:18] Production.INFO: count ==1544
[2025-01-10 09:44:19] Production.ERROR: pbx CDR StartTime 2025-01-10 06:44:04 - End Time 2025-01-10 09:44:04
[2025-01-10 09:44:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 09:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216082', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216082', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216082', 'tblTempVendorCDR_20' ) start
[2025-01-10 09:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216082', 'tblTempVendorCDR_20' ) end
[2025-01-10 09:44:19] Production.INFO: ProcessCDR(1,14216082,1,1,2)
[2025-01-10 09:44:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216082,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:44:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216082,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:44:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216082,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:44:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216082,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:44:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216082', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:44:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216082', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:44:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:44:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:44:23] Production.INFO: ==2366== Releasing lock...
[2025-01-10 09:44:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 09:44:23] Production.INFO: 39.75 MB #Memory Used#
[2025-01-10 14:45:02] Production.INFO: ==2424== Lock acquired, processing the job...
[2025-01-10 14:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 14:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 14:45:02] Production.INFO: neon service started
[2025-01-10 14:45:02] Production.INFO: neon service started
[2025-01-10 14:45:02] Production.INFO: ==2424== Releasing lock...
[2025-01-10 14:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 14:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:45:02] Production.INFO: ==2429== Lock acquired, processing the job...
[2025-01-10 14:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 14:45:02] Production.INFO: ==2429== Releasing lock...
[2025-01-10 14:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 14:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 09:45:02] Production.INFO: ==2427== Lock acquired, processing the job...
[2025-01-10 09:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:45:03] Production.INFO: ==2427== Releasing lock...
[2025-01-10 09:45:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 09:45:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 09:45:03] Production.INFO: ==2435== Lock acquired, processing the job...
[2025-01-10 09:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 09:45:04] Production.INFO: ==2431== Lock acquired, processing the job...
[2025-01-10 09:45:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 09:45:04] Production.INFO: ==2439== Lock acquired, processing the job...
[2025-01-10 09:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 09:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 09:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 09:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 09:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 09:45:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 09:45:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:45:04] Production.INFO: ==2433== Lock acquired, processing the job...
[2025-01-10 09:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 09:45:04] Production.INFO: ==2437== Lock acquired, processing the job...
[2025-01-10 09:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 09:45:04] Production.INFO: ==2441== Lock acquired, processing the job...
[2025-01-10 09:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 09:45:04] Production.INFO: Account Balance Start.
[2025-01-10 09:45:04] Production.INFO: CreateAllLog Start
[2025-01-10 09:45:04] Production.INFO: 117
[2025-01-10 09:45:04] Production.ERROR: done
[2025-01-10 09:45:04] Production.INFO: Date 2025-01-08
[2025-01-10 09:45:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 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-01-10 09:45:04] Production.INFO: Date 2025-01-09
[2025-01-10 09:45:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:45:04] Production.INFO: count ==21
[2025-01-10 09:45:04] Production.INFO: Date 2025-01-10
[2025-01-10 09:45:04] Production.INFO: Reseller ==> 0
[2025-01-10 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-01-10 09:45:04] Production.INFO: count ==21
[2025-01-10 09:45:04] Production.INFO: Total Charge 0
[2025-01-10 09:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216086') start
[2025-01-10 09:45:04] Production.INFO: CreateAllLog End
[2025-01-10 09:45:04] Production.INFO: ==2433== Releasing lock...
[2025-01-10 09:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 09:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 09:45:04] Production.ERROR: done
[2025-01-10 09:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216086') end
[2025-01-10 09:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 09:45:04] Production.INFO: 1
[2025-01-10 09:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 09:45:04] Production.INFO: Account Balance End.
[2025-01-10 09:45:04] Production.INFO: ==2441== Releasing lock...
[2025-01-10 09:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 09:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 09:45:04] Production.ERROR: CronJobId end 12
[2025-01-10 09:45:04] Production.INFO: ==2437== Releasing lock...
[2025-01-10 09:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 09:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 09:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 06:45:05
[end_date_ymd] => 2025-01-10 09:45:05
[RateCDR] => 1
)
[2025-01-10 09:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 06:45:05' and `end` < '2025-01-10 09:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 09:45:11] Production.ERROR: CronJobId end10
[2025-01-10 09:45:11] Production.INFO: ==2435== Releasing lock...
[2025-01-10 09:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 09:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 09:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 09:45:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 09:45:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 09:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 09:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 09:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 09:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 09:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 09:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 09:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 09:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 09:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 09:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 09:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 09:45:14] Production.INFO: call_cost start
[2025-01-10 09:45:14] Production.INFO: call_cost end
[2025-01-10 09:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 09:45:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 09:45:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 09:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 09:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 09:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 09:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 09:45:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 09:45:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 09:45:14] Production.INFO: ==2431== Releasing lock...
[2025-01-10 09:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 09:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:45:19] Production.INFO: count ==1575
[2025-01-10 09:45:20] Production.ERROR: pbx CDR StartTime 2025-01-10 06:45:05 - End Time 2025-01-10 09:45:05
[2025-01-10 09:45:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 09:45:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216087', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:45:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216087', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:45:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216087', 'tblTempVendorCDR_20' ) start
[2025-01-10 09:45:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216087', 'tblTempVendorCDR_20' ) end
[2025-01-10 09:45:20] Production.INFO: ProcessCDR(1,14216087,1,1,2)
[2025-01-10 09:45:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216087,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:45:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216087,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:45:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216087,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:45:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216087,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:45:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216087', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:45:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216087', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:45:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:45:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:45:24] Production.INFO: ==2439== Releasing lock...
[2025-01-10 09:45:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 09:45:24] Production.INFO: 39.75 MB #Memory Used#
[2025-01-10 14:46:01] Production.INFO: ==2497== Lock acquired, processing the job...
[2025-01-10 14:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 14:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 14:46:01] Production.INFO: neon service started
[2025-01-10 14:46:01] Production.INFO: neon service started
[2025-01-10 14:46:01] Production.INFO: ==2497== Releasing lock...
[2025-01-10 14:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 14:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:46:02] Production.INFO: ==2501== Lock acquired, processing the job...
[2025-01-10 14:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 14:46:02] Production.INFO: ==2501== Releasing lock...
[2025-01-10 14:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 14:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 09:46:02] Production.INFO: ==2499== Lock acquired, processing the job...
[2025-01-10 09:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:46:02] Production.INFO: ==2499== Releasing lock...
[2025-01-10 09:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 09:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 09:46:03] Production.INFO: ==2505== Lock acquired, processing the job...
[2025-01-10 09:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 09:46:03] Production.INFO: ==2503== Lock acquired, processing the job...
[2025-01-10 09:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 09:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 09:46:03] Production.INFO: ==2509== Lock acquired, processing the job...
[2025-01-10 09:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 09:46:03] Production.INFO: Account Balance Start.
[2025-01-10 09:46:03] Production.INFO: CreateAllLog Start
[2025-01-10 09:46:03] Production.INFO: 117
[2025-01-10 09:46:03] Production.INFO: Date 2025-01-08
[2025-01-10 09:46:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:46:03] Production.INFO: ==2507== Lock acquired, processing the job...
[2025-01-10 09:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 09:46:03] Production.INFO: ==2505== Releasing lock...
[2025-01-10 09:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 09:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 09:46:03] Production.INFO: Date 2025-01-09
[2025-01-10 09:46:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:46:03] Production.INFO: Date 2025-01-10
[2025-01-10 09:46:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 09:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 09:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 09:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 09:46:03] Production.INFO: Total Charge 0
[2025-01-10 09:46:03] Production.INFO: ==2511== Lock acquired, processing the job...
[2025-01-10 09:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 09:46:03] Production.INFO: CreateAllLog End
[2025-01-10 09:46:03] Production.INFO: ==2514== Lock acquired, processing the job...
[2025-01-10 09:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 09:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:46:04] Production.INFO: count ==21
[2025-01-10 09:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:46:04] Production.INFO: count ==21
[2025-01-10 09:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216091') start
[2025-01-10 09:46:04] Production.INFO: Account Balance End.
[2025-01-10 09:46:04] Production.ERROR: done
[2025-01-10 09:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 09:46:04] Production.ERROR: CronJobId end 12
[2025-01-10 09:46:04] Production.INFO: ==2509== Releasing lock...
[2025-01-10 09:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 09:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 09:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216091') end
[2025-01-10 09:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 09:46:04] Production.INFO: 1
[2025-01-10 09:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 09:46:04] Production.INFO: ==2514== Releasing lock...
[2025-01-10 09:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 09:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 09:46:04] Production.ERROR: done
[2025-01-10 09:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 06:46:05
[end_date_ymd] => 2025-01-10 09:46:05
[RateCDR] => 1
)
[2025-01-10 09:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 06:46:05' and `end` < '2025-01-10 09:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 09:46:11] Production.ERROR: CronJobId end10
[2025-01-10 09:46:11] Production.INFO: ==2507== Releasing lock...
[2025-01-10 09:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 09:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 09:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 09:46:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 09:46:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 09:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 09:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 09:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 09:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 09:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 09:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 09:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 09:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 09:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 09:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 09:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 09:46:13] Production.INFO: call_cost start
[2025-01-10 09:46:13] Production.INFO: call_cost end
[2025-01-10 09:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 09:46:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 09:46:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 09:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 09:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 09:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 09:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 09:46:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 09:46:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 09:46:14] Production.INFO: ==2503== Releasing lock...
[2025-01-10 09:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 09:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:46:21] Production.INFO: count ==1593
[2025-01-10 09:46:22] Production.ERROR: pbx CDR StartTime 2025-01-10 06:46:05 - End Time 2025-01-10 09:46:05
[2025-01-10 09:46:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 09:46:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216092', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:46:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216092', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:46:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216092', 'tblTempVendorCDR_20' ) start
[2025-01-10 09:46:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216092', 'tblTempVendorCDR_20' ) end
[2025-01-10 09:46:22] Production.INFO: ProcessCDR(1,14216092,1,1,2)
[2025-01-10 09:46:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216092,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:46:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216092,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:46:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216092,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:46:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216092,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:46:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216092', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:46:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216092', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:46:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:46:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:46:27] Production.INFO: ==2511== Releasing lock...
[2025-01-10 09:46:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 09:46:27] Production.INFO: 40 MB #Memory Used#
[2025-01-10 14:47:02] Production.INFO: ==2569== Lock acquired, processing the job...
[2025-01-10 14:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 14:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 14:47:02] Production.INFO: neon service started
[2025-01-10 14:47:02] Production.INFO: neon service started
[2025-01-10 14:47:02] Production.INFO: ==2569== Releasing lock...
[2025-01-10 14:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 14:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:47:02] Production.INFO: ==2573== Lock acquired, processing the job...
[2025-01-10 14:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 14:47:02] Production.INFO: ==2573== Releasing lock...
[2025-01-10 14:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 14:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 09:47:02] Production.INFO: ==2571== Lock acquired, processing the job...
[2025-01-10 09:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:47:02] Production.INFO: ==2571== Releasing lock...
[2025-01-10 09:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 09:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 09:47:03] Production.INFO: ==2582== Lock acquired, processing the job...
[2025-01-10 09:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 09:47:03] Production.INFO: Account Balance Start.
[2025-01-10 09:47:03] Production.INFO: CreateAllLog Start
[2025-01-10 09:47:03] Production.INFO: 117
[2025-01-10 09:47:03] Production.INFO: Date 2025-01-08
[2025-01-10 09:47:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:47:03] Production.INFO: ==2586== Lock acquired, processing the job...
[2025-01-10 09:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 09:47:03] Production.INFO: ==2575== Lock acquired, processing the job...
[2025-01-10 09:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 09:47:03] Production.INFO: Date 2025-01-09
[2025-01-10 09:47:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:47:03] Production.INFO: Date 2025-01-10
[2025-01-10 09:47:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 09:47:03] Production.INFO: ==2577== Lock acquired, processing the job...
[2025-01-10 09:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 09:47:03] Production.INFO: ==2579== Lock acquired, processing the job...
[2025-01-10 09:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 09:47:03] Production.INFO: Total Charge 0
[2025-01-10 09:47:03] Production.INFO: CreateAllLog End
[2025-01-10 09:47:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:47:03] Production.INFO: count ==21
[2025-01-10 09:47:04] Production.INFO: ==2584== Lock acquired, processing the job...
[2025-01-10 09:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 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-01-10 09:47:04] Production.INFO: count ==21
[2025-01-10 09:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 09:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 09:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 09:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 09:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216095') start
[2025-01-10 09:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:47:04] Production.INFO: Account Balance End.
[2025-01-10 09:47:04] Production.ERROR: CronJobId end 12
[2025-01-10 09:47:04] Production.INFO: ==2582== Releasing lock...
[2025-01-10 09:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 09:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 09:47:04] Production.INFO: ==2577== Releasing lock...
[2025-01-10 09:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 09:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 09:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216095') end
[2025-01-10 09:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 09:47:04] Production.INFO: 1
[2025-01-10 09:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 09:47:04] Production.INFO: ==2586== Releasing lock...
[2025-01-10 09:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 09:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 09:47:04] Production.ERROR: done
[2025-01-10 09:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 09:47:04] Production.ERROR: done
[2025-01-10 09:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 06:47:05
[end_date_ymd] => 2025-01-10 09:47:05
[RateCDR] => 1
)
[2025-01-10 09:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 06:47:05' and `end` < '2025-01-10 09:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 09:47:11] Production.ERROR: CronJobId end10
[2025-01-10 09:47:11] Production.INFO: ==2579== Releasing lock...
[2025-01-10 09:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 09:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 09:47:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 09:47:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 09:47:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 09:47:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 09:47:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 09:47:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 09:47:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 09:47:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 09:47:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 09:47:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 09:47:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 09:47:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 09:47:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 09:47:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 09:47:13] Production.INFO: call_cost start
[2025-01-10 09:47:13] Production.INFO: call_cost end
[2025-01-10 09:47:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 09:47:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 09:47:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 09:47:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 09:47:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 09:47:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 09:47:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 09:47:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 09:47:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 09:47:13] Production.INFO: ==2575== Releasing lock...
[2025-01-10 09:47:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 09:47:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:47:20] Production.INFO: count ==1600
[2025-01-10 09:47:21] Production.ERROR: pbx CDR StartTime 2025-01-10 06:47:05 - End Time 2025-01-10 09:47:05
[2025-01-10 09:47:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 09:47:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216097', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:47:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216097', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:47:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216097', 'tblTempVendorCDR_20' ) start
[2025-01-10 09:47:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216097', 'tblTempVendorCDR_20' ) end
[2025-01-10 09:47:21] Production.INFO: ProcessCDR(1,14216097,1,1,2)
[2025-01-10 09:47:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216097,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:47:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216097,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:47:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216097,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:47:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216097,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:47:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216097', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:47:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216097', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:47:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:47:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:47:25] Production.INFO: ==2584== Releasing lock...
[2025-01-10 09:47:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 09:47:25] Production.INFO: 40.25 MB #Memory Used#
[2025-01-10 14:48:01] Production.INFO: ==2639== Lock acquired, processing the job...
[2025-01-10 14:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 14:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 14:48:01] Production.INFO: neon service started
[2025-01-10 14:48:01] Production.INFO: neon service started
[2025-01-10 14:48:01] Production.INFO: ==2639== Releasing lock...
[2025-01-10 14:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 14:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:48:01] Production.INFO: ==2643== Lock acquired, processing the job...
[2025-01-10 14:48:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 14:48:01] Production.INFO: ==2643== Releasing lock...
[2025-01-10 14:48:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 14:48:01] Production.INFO: 25 MB #Memory Used#
[2025-01-10 09:48:02] Production.INFO: ==2641== Lock acquired, processing the job...
[2025-01-10 09:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:48:02] Production.INFO: ==2641== Releasing lock...
[2025-01-10 09:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 09:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 09:48:03] Production.INFO: ==2645== Lock acquired, processing the job...
[2025-01-10 09:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 09:48:03] Production.INFO: ==2647== Lock acquired, processing the job...
[2025-01-10 09:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 09:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 09:48:03] Production.INFO: ==2651== Lock acquired, processing the job...
[2025-01-10 09:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 09:48:03] Production.INFO: ==2656== Lock acquired, processing the job...
[2025-01-10 09:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 09:48:03] Production.INFO: Account Balance Start.
[2025-01-10 09:48:03] Production.INFO: CreateAllLog Start
[2025-01-10 09:48:03] Production.INFO: 117
[2025-01-10 09:48:03] Production.INFO: Date 2025-01-08
[2025-01-10 09:48:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:48:03] Production.INFO: ==2647== Releasing lock...
[2025-01-10 09:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 09:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 09:48:03] Production.INFO: ==2649== Lock acquired, processing the job...
[2025-01-10 09:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 09:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:48:03] Production.INFO: Date 2025-01-09
[2025-01-10 09:48:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:48:03] Production.INFO: count ==21
[2025-01-10 09:48:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:48:03] Production.INFO: Date 2025-01-10
[2025-01-10 09:48:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:48:03] Production.INFO: count ==21
[2025-01-10 09:48:03] Production.INFO: ==2654== Lock acquired, processing the job...
[2025-01-10 09:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 09:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216101') start
[2025-01-10 09:48:03] Production.INFO: Total Charge 0
[2025-01-10 09:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:48:03] Production.INFO: CreateAllLog End
[2025-01-10 09:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216101') end
[2025-01-10 09:48:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 09:48:03] Production.INFO: 1
[2025-01-10 09:48:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 09:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 09:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 09:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 09:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 09:48:03] Production.INFO: ==2656== Releasing lock...
[2025-01-10 09:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 09:48:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 09:48:03] Production.INFO: Account Balance End.
[2025-01-10 09:48:03] Production.ERROR: done
[2025-01-10 09:48:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 09:48:03] Production.ERROR: CronJobId end 12
[2025-01-10 09:48:03] Production.INFO: ==2651== Releasing lock...
[2025-01-10 09:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 09:48:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 09:48:04] Production.ERROR: done
[2025-01-10 09:48:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 06:48:04
[end_date_ymd] => 2025-01-10 09:48:04
[RateCDR] => 1
)
[2025-01-10 09:48:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 06:48:04' and `end` < '2025-01-10 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-01-10 09:48:11] Production.ERROR: CronJobId end10
[2025-01-10 09:48:11] Production.INFO: ==2649== Releasing lock...
[2025-01-10 09:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 09:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 09:48:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 09:48:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 09:48:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 09:48:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 09:48:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 09:48:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 09:48:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 09:48:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 09:48:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 09:48:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 09:48:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 09:48:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 09:48:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 09:48:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 09:48:12] Production.INFO: call_cost start
[2025-01-10 09:48:12] Production.INFO: call_cost end
[2025-01-10 09:48:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 09:48:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 09:48:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 09:48:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 09:48:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 09:48:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 09:48:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 09:48:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 09:48:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 09:48:13] Production.INFO: ==2645== Releasing lock...
[2025-01-10 09:48:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 09:48:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:48:18] Production.INFO: count ==1611
[2025-01-10 09:48:18] Production.ERROR: pbx CDR StartTime 2025-01-10 06:48:04 - End Time 2025-01-10 09:48:04
[2025-01-10 09:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 09:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216102', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216102', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216102', 'tblTempVendorCDR_20' ) start
[2025-01-10 09:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216102', 'tblTempVendorCDR_20' ) end
[2025-01-10 09:48:18] Production.INFO: ProcessCDR(1,14216102,1,1,2)
[2025-01-10 09:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216102,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:48:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216102,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:48:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216102,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:48:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216102,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:48:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216102', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:48:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216102', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:48:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:48:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:48:23] Production.INFO: ==2654== Releasing lock...
[2025-01-10 09:48:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 09:48:23] Production.INFO: 40.25 MB #Memory Used#
[2025-01-10 14:49:02] Production.INFO: ==2710== Lock acquired, processing the job...
[2025-01-10 14:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 14:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 14:49:02] Production.INFO: neon service started
[2025-01-10 14:49:02] Production.INFO: neon service started
[2025-01-10 14:49:02] Production.INFO: ==2710== Releasing lock...
[2025-01-10 14:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 14:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:49:02] Production.INFO: ==2715== Lock acquired, processing the job...
[2025-01-10 14:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 14:49:02] Production.INFO: ==2715== Releasing lock...
[2025-01-10 14:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 14:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 09:49:02] Production.INFO: ==2713== Lock acquired, processing the job...
[2025-01-10 09:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:49:03] Production.INFO: ==2713== Releasing lock...
[2025-01-10 09:49:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 09:49:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 09:49:04] Production.INFO: ==2723== Lock acquired, processing the job...
[2025-01-10 09:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 09:49:04] Production.INFO: ==2727== Lock acquired, processing the job...
[2025-01-10 09:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 09:49:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:49:04] Production.INFO: Account Balance Start.
[2025-01-10 09:49:04] Production.INFO: CreateAllLog Start
[2025-01-10 09:49:04] Production.INFO: count ==21
[2025-01-10 09:49:04] Production.INFO: 117
[2025-01-10 09:49:04] Production.INFO: ==2717== Lock acquired, processing the job...
[2025-01-10 09:49:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 09:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:49:04] Production.INFO: ==2721== Lock acquired, processing the job...
[2025-01-10 09:49:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 09:49:04] Production.INFO: count ==21
[2025-01-10 09:49:04] Production.INFO: ==2719== Lock acquired, processing the job...
[2025-01-10 09:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 09:49:04] Production.INFO: Date 2025-01-08
[2025-01-10 09:49:04] Production.INFO: ==2725== Lock acquired, processing the job...
[2025-01-10 09:49:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 09:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216104') start
[2025-01-10 09:49:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:49:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 09:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 09:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 09:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 09:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 09:49:04] Production.INFO: Date 2025-01-09
[2025-01-10 09:49:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:49:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216104') end
[2025-01-10 09:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 09:49:04] Production.INFO: 1
[2025-01-10 09:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 09:49:04] Production.INFO: Date 2025-01-10
[2025-01-10 09:49:04] Production.INFO: ==2727== Releasing lock...
[2025-01-10 09:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 09:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 09:49:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:49:04] Production.INFO: Total Charge 0
[2025-01-10 09:49:04] Production.INFO: CreateAllLog End
[2025-01-10 09:49:04] Production.ERROR: done
[2025-01-10 09:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 09:49:05] Production.INFO: ==2719== Releasing lock...
[2025-01-10 09:49:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 09:49:05] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 09:49:05] Production.ERROR: done
[2025-01-10 09:49:05] Production.INFO: Account Balance End.
[2025-01-10 09:49:05] Production.ERROR: CronJobId end 12
[2025-01-10 09:49:05] Production.INFO: ==2723== Releasing lock...
[2025-01-10 09:49:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 09:49:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 09:49:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 06:49:06
[end_date_ymd] => 2025-01-10 09:49:06
[RateCDR] => 1
)
[2025-01-10 09:49:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 06:49:06' and `end` < '2025-01-10 09:49:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 09:49:12] Production.ERROR: CronJobId end10
[2025-01-10 09:49:12] Production.INFO: ==2721== Releasing lock...
[2025-01-10 09:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 09:49:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 09:49:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 09:49:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 09:49:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 09:49:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 09:49:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 09:49:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 09:49:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 09:49:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 09:49:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 09:49:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 09:49:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 09:49:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 09:49:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 09:49:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 09:49:15] Production.INFO: call_cost start
[2025-01-10 09:49:15] Production.INFO: call_cost end
[2025-01-10 09:49:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 09:49:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 09:49:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 09:49:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 09:49:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 09:49:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 09:49:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 09:49:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 09:49:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 09:49:15] Production.INFO: ==2717== Releasing lock...
[2025-01-10 09:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 09:49:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:49:20] Production.INFO: count ==1615
[2025-01-10 09:49:20] Production.ERROR: pbx CDR StartTime 2025-01-10 06:49:06 - End Time 2025-01-10 09:49:06
[2025-01-10 09:49:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 09:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216107', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216107', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216107', 'tblTempVendorCDR_20' ) start
[2025-01-10 09:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216107', 'tblTempVendorCDR_20' ) end
[2025-01-10 09:49:20] Production.INFO: ProcessCDR(1,14216107,1,1,2)
[2025-01-10 09:49:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216107,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:49:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216107,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:49:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216107,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:49:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216107,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:49:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216107', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:49:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216107', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:49:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:49:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:49:25] Production.INFO: ==2725== Releasing lock...
[2025-01-10 09:49:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 09:49:25] Production.INFO: 40.25 MB #Memory Used#
[2025-01-10 14:50:01] Production.INFO: ==2781== Lock acquired, processing the job...
[2025-01-10 14:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 14:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 14:50:01] Production.INFO: neon service started
[2025-01-10 14:50:01] Production.INFO: neon service started
[2025-01-10 14:50:01] Production.INFO: ==2781== Releasing lock...
[2025-01-10 14:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 14:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:50:02] Production.INFO: ==2785== Lock acquired, processing the job...
[2025-01-10 14:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 14:50:02] Production.INFO: ==2785== Releasing lock...
[2025-01-10 14:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 14:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 09:50:02] Production.INFO: ==2783== Lock acquired, processing the job...
[2025-01-10 09:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:50:02] Production.INFO: ==2783== Releasing lock...
[2025-01-10 09:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 09:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 09:50:03] Production.INFO: ==2788== Lock acquired, processing the job...
[2025-01-10 09:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 09:50:03] Production.INFO: ==2790== Lock acquired, processing the job...
[2025-01-10 09:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 09:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 09:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 09:50:03] Production.ERROR: CronJob PID - 2790
[2025-01-10 09:50:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-10 09:50:03] Production.ERROR: CronJob ID - 5
[2025-01-10 09:50:03] Production.ERROR: CronJob Last Run Time 2025-01-10 09:50:00
[2025-01-10 09:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 09:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 09:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 09:50:03] Production.INFO: ==2788== Releasing lock...
[2025-01-10 09:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 09:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 09:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 09:50:04] Production.INFO: ==2796== Lock acquired, processing the job...
[2025-01-10 09:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 09:50:04] Production.INFO: ==2800== Lock acquired, processing the job...
[2025-01-10 09:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 09:50:04] Production.INFO: Account Balance Start.
[2025-01-10 09:50:04] Production.INFO: CreateAllLog Start
[2025-01-10 09:50:04] Production.INFO: 117
[2025-01-10 09:50:04] Production.INFO: Date 2025-01-08
[2025-01-10 09:50:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:50:04] Production.INFO: ==2792== Lock acquired, processing the job...
[2025-01-10 09:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 09:50:04] Production.INFO: ==2794== Lock acquired, processing the job...
[2025-01-10 09:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 09:50:04] Production.INFO: Date 2025-01-09
[2025-01-10 09:50:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:50:04] Production.INFO: Date 2025-01-10
[2025-01-10 09:50:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:50:04] Production.INFO: Total Charge 0
[2025-01-10 09:50:04] Production.INFO: CreateAllLog End
[2025-01-10 09:50:04] Production.INFO: ==2798== Lock acquired, processing the job...
[2025-01-10 09:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 09:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 09:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 09:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 09:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 09:50:04] Production.INFO: ==2802== Lock acquired, processing the job...
[2025-01-10 09:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 09:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:50:04] Production.ERROR: done
[2025-01-10 09:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:50:04] Production.INFO: Account Balance End.
[2025-01-10 09:50:04] Production.ERROR: CronJobId end 12
[2025-01-10 09:50:04] Production.INFO: ==2796== Releasing lock...
[2025-01-10 09:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 09:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 09:50:04] Production.INFO: count ==21
[2025-01-10 09:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 09:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14216112', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 09:50:04] Production.INFO: count ==21
[2025-01-10 09:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216111') start
[2025-01-10 09:50:04] Production.ERROR: done
[2025-01-10 09:50:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 09:50:05] Production.INFO: ==2792== Releasing lock...
[2025-01-10 09:50:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 09:50:05] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 09:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14216111') end
[2025-01-10 09:50:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 09:50:05] Production.INFO: 1
[2025-01-10 09:50:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 09:50:05] Production.INFO: ==2802== Releasing lock...
[2025-01-10 09:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 09:50:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 09:50:05] Production.ERROR: done
[2025-01-10 09:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 06:50:06
[end_date_ymd] => 2025-01-10 09:50:06
[RateCDR] => 1
)
[2025-01-10 09:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 06:50:06' and `end` < '2025-01-10 09:50:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 09:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14216112', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 09:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 09:50:09] Production.INFO: ProcessCDR(1,14216112,1,1,2)
[2025-01-10 09:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14216112,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14216112,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:50:09] Production.INFO: ==2800== Releasing lock...
[2025-01-10 09:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 09:50:09] Production.INFO: 26 MB #Memory Used#
[2025-01-10 09:50:13] Production.ERROR: CronJobId end10
[2025-01-10 09:50:13] Production.INFO: ==2794== Releasing lock...
[2025-01-10 09:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 09:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 09:50:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 09:50:15] Production.INFO: ============== Balance Warning START===========
[2025-01-10 09:50:15] Production.INFO: ============== Balance Warning END===========
[2025-01-10 09:50:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 09:50:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 09:50:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 09:50:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 09:50:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 09:50:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 09:50:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 09:50:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 09:50:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 09:50:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 09:50:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 09:50:15] Production.INFO: call_cost start
[2025-01-10 09:50:15] Production.INFO: call_cost end
[2025-01-10 09:50:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 09:50:16] Production.INFO: ============== Report Schedule START===========
[2025-01-10 09:50:16] Production.INFO: ============== Report Schedule END===========
[2025-01-10 09:50:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 09:50:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 09:50:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 09:50:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 09:50:16] Production.INFO: ============== Deal alert START===========
[2025-01-10 09:50:16] Production.INFO: ============== Deal alert END===========
[2025-01-10 09:50:16] Production.INFO: ==2790== Releasing lock...
[2025-01-10 09:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 09:50:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:50:23] Production.INFO: count ==1625
[2025-01-10 09:50:24] Production.ERROR: pbx CDR StartTime 2025-01-10 06:50:06 - End Time 2025-01-10 09:50:06
[2025-01-10 09:50:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 09:50:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216113', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:50:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216113', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:50:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216113', 'tblTempVendorCDR_20' ) start
[2025-01-10 09:50:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216113', 'tblTempVendorCDR_20' ) end
[2025-01-10 09:50:24] Production.INFO: ProcessCDR(1,14216113,1,1,2)
[2025-01-10 09:50:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216113,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:50:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216113,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:50:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216113,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:50:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216113,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:50:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216113', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:50:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216113', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:50:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:50:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:50:28] Production.INFO: ==2798== Releasing lock...
[2025-01-10 09:50:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 09:50:28] Production.INFO: 40.25 MB #Memory Used#
[2025-01-10 14:51:01] Production.INFO: ==2856== Lock acquired, processing the job...
[2025-01-10 14:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 14:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 14:51:01] Production.INFO: neon service started
[2025-01-10 14:51:01] Production.INFO: neon service started
[2025-01-10 14:51:01] Production.INFO: ==2856== Releasing lock...
[2025-01-10 14:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 14:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 09:51:01] Production.INFO: ==2858== Lock acquired, processing the job...
[2025-01-10 09:51:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:51:02] Production.INFO: ==2858== Releasing lock...
[2025-01-10 09:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 09:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 14:51:02] Production.INFO: ==2860== Lock acquired, processing the job...
[2025-01-10 14:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 14:51:02] Production.INFO: ==2860== Releasing lock...
[2025-01-10 14:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 14:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 09:51:02] Production.INFO: ==2862== Lock acquired, processing the job...
[2025-01-10 09:51:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 09:51:02] Production.INFO: ==2864== Lock acquired, processing the job...
[2025-01-10 09:51:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 09:51:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 09:51:02] Production.INFO: ==2870== Lock acquired, processing the job...
[2025-01-10 09:51:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 09:51:02] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:51:03] Production.ERROR: done
[2025-01-10 09:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 09:51:03] Production.INFO: ==2864== Releasing lock...
[2025-01-10 09:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 09:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 09:51:03] Production.INFO: ==2868== Lock acquired, processing the job...
[2025-01-10 09:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 09:51:03] Production.INFO: ==2866== Lock acquired, processing the job...
[2025-01-10 09:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 09:51:03] Production.INFO: ==2872== Lock acquired, processing the job...
[2025-01-10 09:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 09:51:03] Production.ERROR: done
[2025-01-10 09:51:03] Production.INFO: Account Balance Start.
[2025-01-10 09:51:03] Production.INFO: CreateAllLog Start
[2025-01-10 09:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 09:51:03] Production.INFO: 117
[2025-01-10 09:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 09:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 09:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 09:51:03] Production.INFO: Date 2025-01-08
[2025-01-10 09:51:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:51:03] Production.INFO: Date 2025-01-09
[2025-01-10 09:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:51:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:51:03] Production.INFO: Date 2025-01-10
[2025-01-10 09:51:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:51:03] Production.INFO: Total Charge 0
[2025-01-10 09:51:03] Production.INFO: count ==21
[2025-01-10 09:51:03] Production.INFO: CreateAllLog End
[2025-01-10 09:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:51:03] Production.INFO: count ==21
[2025-01-10 09:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216118') start
[2025-01-10 09:51:03] Production.INFO: Account Balance End.
[2025-01-10 09:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216118') end
[2025-01-10 09:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 09:51:03] Production.INFO: 1
[2025-01-10 09:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 09:51:03] Production.ERROR: CronJobId end 12
[2025-01-10 09:51:03] Production.INFO: ==2868== Releasing lock...
[2025-01-10 09:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 09:51:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 09:51:03] Production.INFO: ==2872== Releasing lock...
[2025-01-10 09:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 09:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 09:51:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 06:51:04
[end_date_ymd] => 2025-01-10 09:51:04
[RateCDR] => 1
)
[2025-01-10 09:51:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 06:51:04' and `end` < '2025-01-10 09:51:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 09:51:10] Production.ERROR: CronJobId end10
[2025-01-10 09:51:10] Production.INFO: ==2866== Releasing lock...
[2025-01-10 09:51:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 09:51:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 09:51:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 09:51:11] Production.INFO: ============== Balance Warning START===========
[2025-01-10 09:51:11] Production.INFO: ============== Balance Warning END===========
[2025-01-10 09:51:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 09:51:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 09:51:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 09:51:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 09:51:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 09:51:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 09:51:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 09:51:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 09:51:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 09:51:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 09:51:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 09:51:12] Production.INFO: call_cost start
[2025-01-10 09:51:12] Production.INFO: call_cost end
[2025-01-10 09:51:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 09:51:12] Production.INFO: ============== Report Schedule START===========
[2025-01-10 09:51:12] Production.INFO: ============== Report Schedule END===========
[2025-01-10 09:51:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 09:51:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 09:51:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 09:51:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 09:51:12] Production.INFO: ============== Deal alert START===========
[2025-01-10 09:51:12] Production.INFO: ============== Deal alert END===========
[2025-01-10 09:51:12] Production.INFO: ==2862== Releasing lock...
[2025-01-10 09:51:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 09:51:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:51:18] Production.INFO: count ==1684
[2025-01-10 09:51:18] Production.ERROR: pbx CDR StartTime 2025-01-10 06:51:04 - End Time 2025-01-10 09:51:04
[2025-01-10 09:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 09:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216117', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216117', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216117', 'tblTempVendorCDR_20' ) start
[2025-01-10 09:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216117', 'tblTempVendorCDR_20' ) end
[2025-01-10 09:51:18] Production.INFO: ProcessCDR(1,14216117,1,1,2)
[2025-01-10 09:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216117,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:51:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216117,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:51:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216117,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:51:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216117,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:51:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216117', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:51:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216117', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:51:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:51:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:51:23] Production.INFO: ==2870== Releasing lock...
[2025-01-10 09:51:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 09:51:23] Production.INFO: 41.25 MB #Memory Used#
[2025-01-10 14:52:01] Production.INFO: ==2927== Lock acquired, processing the job...
[2025-01-10 14:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 14:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 14:52:01] Production.INFO: neon service started
[2025-01-10 14:52:01] Production.INFO: neon service started
[2025-01-10 14:52:01] Production.INFO: ==2927== Releasing lock...
[2025-01-10 14:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 14:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 09:52:02] Production.INFO: ==2929== Lock acquired, processing the job...
[2025-01-10 09:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:52:02] Production.INFO: ==2929== Releasing lock...
[2025-01-10 09:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 09:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 14:52:02] Production.INFO: ==2931== Lock acquired, processing the job...
[2025-01-10 14:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 14:52:02] Production.INFO: ==2931== Releasing lock...
[2025-01-10 14:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 14:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 09:52:03] Production.INFO: ==2935== Lock acquired, processing the job...
[2025-01-10 09:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 09:52:03] Production.INFO: ==2933== Lock acquired, processing the job...
[2025-01-10 09:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 09:52:03] Production.INFO: ==2941== Lock acquired, processing the job...
[2025-01-10 09:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 09:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 09:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:52:03] Production.INFO: ==2937== Lock acquired, processing the job...
[2025-01-10 09:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 09:52:03] Production.INFO: ==2939== Lock acquired, processing the job...
[2025-01-10 09:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 09:52:03] Production.INFO: ==2943== Lock acquired, processing the job...
[2025-01-10 09:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 09:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 09:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 09:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 09:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 09:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:52:03] Production.INFO: Account Balance Start.
[2025-01-10 09:52:03] Production.INFO: CreateAllLog Start
[2025-01-10 09:52:03] Production.INFO: 117
[2025-01-10 09:52:03] Production.INFO: count ==21
[2025-01-10 09:52:03] Production.INFO: Date 2025-01-08
[2025-01-10 09:52:03] Production.ERROR: done
[2025-01-10 09:52:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 09:52:03] Production.INFO: ==2935== Releasing lock...
[2025-01-10 09:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 09:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 09:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:52:03] Production.INFO: count ==21
[2025-01-10 09:52:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216121') start
[2025-01-10 09:52:03] Production.INFO: Date 2025-01-09
[2025-01-10 09:52:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:52:03] Production.INFO: Date 2025-01-10
[2025-01-10 09:52:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:52:03] Production.ERROR: done
[2025-01-10 09:52:03] Production.INFO: Total Charge 0
[2025-01-10 09:52:04] Production.INFO: CreateAllLog End
[2025-01-10 09:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216121') end
[2025-01-10 09:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 09:52:04] Production.INFO: 1
[2025-01-10 09:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 09:52:04] Production.INFO: ==2943== Releasing lock...
[2025-01-10 09:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 09:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 09:52:04] Production.INFO: Account Balance End.
[2025-01-10 09:52:04] Production.ERROR: CronJobId end 12
[2025-01-10 09:52:04] Production.INFO: ==2939== Releasing lock...
[2025-01-10 09:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 09:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 09:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 06:52:05
[end_date_ymd] => 2025-01-10 09:52:05
[RateCDR] => 1
)
[2025-01-10 09:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 06:52:05' and `end` < '2025-01-10 09:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 09:52:11] Production.ERROR: CronJobId end10
[2025-01-10 09:52:11] Production.INFO: ==2937== Releasing lock...
[2025-01-10 09:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 09:52:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 09:52:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 09:52:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 09:52:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 09:52:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 09:52:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 09:52:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 09:52:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 09:52:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 09:52:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 09:52:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 09:52:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 09:52:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 09:52:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 09:52:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 09:52:13] Production.INFO: call_cost start
[2025-01-10 09:52:13] Production.INFO: call_cost end
[2025-01-10 09:52:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 09:52:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 09:52:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 09:52:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 09:52:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 09:52:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 09:52:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 09:52:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 09:52:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 09:52:13] Production.INFO: ==2933== Releasing lock...
[2025-01-10 09:52:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 09:52:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:52:24] Production.INFO: count ==1697
[2025-01-10 09:52:25] Production.ERROR: pbx CDR StartTime 2025-01-10 06:52:05 - End Time 2025-01-10 09:52:05
[2025-01-10 09:52:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 09:52:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216123', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:52:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216123', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:52:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216123', 'tblTempVendorCDR_20' ) start
[2025-01-10 09:52:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216123', 'tblTempVendorCDR_20' ) end
[2025-01-10 09:52:25] Production.INFO: ProcessCDR(1,14216123,1,1,2)
[2025-01-10 09:52:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216123,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:52:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216123,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:52:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216123,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:52:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216123,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:52:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216123', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:52:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216123', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:52:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:52:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:52:30] Production.INFO: ==2941== Releasing lock...
[2025-01-10 09:52:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 09:52:30] Production.INFO: 40.75 MB #Memory Used#
[2025-01-10 14:53:02] Production.INFO: ==2999== Lock acquired, processing the job...
[2025-01-10 14:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 14:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 14:53:02] Production.INFO: neon service started
[2025-01-10 14:53:02] Production.INFO: neon service started
[2025-01-10 14:53:02] Production.INFO: ==2999== Releasing lock...
[2025-01-10 14:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 14:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:53:02] Production.INFO: ==3003== Lock acquired, processing the job...
[2025-01-10 14:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 14:53:02] Production.INFO: ==3003== Releasing lock...
[2025-01-10 14:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 14:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 09:53:02] Production.INFO: ==3001== Lock acquired, processing the job...
[2025-01-10 09:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:53:02] Production.INFO: ==3001== Releasing lock...
[2025-01-10 09:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 09:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 09:53:03] Production.INFO: ==3006== Lock acquired, processing the job...
[2025-01-10 09:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 09:53:03] Production.INFO: ==3010== Lock acquired, processing the job...
[2025-01-10 09:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 09:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 09:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 09:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 09:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 09:53:03] Production.INFO: ==3012== Lock acquired, processing the job...
[2025-01-10 09:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 09:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 09:53:03] Production.INFO: ==3008== Lock acquired, processing the job...
[2025-01-10 09:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 09:53:03] Production.INFO: Account Balance Start.
[2025-01-10 09:53:03] Production.INFO: CreateAllLog Start
[2025-01-10 09:53:03] Production.INFO: 117
[2025-01-10 09:53:03] Production.INFO: Date 2025-01-08
[2025-01-10 09:53:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:53:04] Production.INFO: Date 2025-01-09
[2025-01-10 09:53:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:53:04] Production.INFO: ==3014== Lock acquired, processing the job...
[2025-01-10 09:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 09:53:04] Production.INFO: Date 2025-01-10
[2025-01-10 09:53:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:53:04] Production.INFO: Total Charge 0
[2025-01-10 09:53:04] Production.INFO: CreateAllLog End
[2025-01-10 09:53:04] Production.INFO: ==3016== Lock acquired, processing the job...
[2025-01-10 09:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 09:53:04] Production.INFO: ==3008== Releasing lock...
[2025-01-10 09:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 09:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 09:53:04] Production.INFO: Account Balance End.
[2025-01-10 09:53:04] Production.ERROR: done
[2025-01-10 09:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 09:53:04] Production.ERROR: CronJobId end 12
[2025-01-10 09:53:04] Production.INFO: ==3012== Releasing lock...
[2025-01-10 09:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 09:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 09:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:53:04] Production.INFO: count ==21
[2025-01-10 09:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:53:04] Production.INFO: count ==21
[2025-01-10 09:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216127') start
[2025-01-10 09:53:04] Production.ERROR: done
[2025-01-10 09:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216127') end
[2025-01-10 09:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 09:53:04] Production.INFO: 1
[2025-01-10 09:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 09:53:04] Production.INFO: ==3016== Releasing lock...
[2025-01-10 09:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 09:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 09:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 06:53:05
[end_date_ymd] => 2025-01-10 09:53:05
[RateCDR] => 1
)
[2025-01-10 09:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 06:53:05' and `end` < '2025-01-10 09:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 09:53:11] Production.ERROR: CronJobId end10
[2025-01-10 09:53:11] Production.INFO: ==3010== Releasing lock...
[2025-01-10 09:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 09:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 09:53:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 09:53:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 09:53:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 09:53:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 09:53:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 09:53:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 09:53:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 09:53:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 09:53:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 09:53:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 09:53:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 09:53:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 09:53:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 09:53:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 09:53:12] Production.INFO: call_cost start
[2025-01-10 09:53:12] Production.INFO: call_cost end
[2025-01-10 09:53:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 09:53:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 09:53:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 09:53:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 09:53:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 09:53:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 09:53:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 09:53:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 09:53:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 09:53:13] Production.INFO: ==3006== Releasing lock...
[2025-01-10 09:53:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 09:53:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:53:21] Production.INFO: count ==1709
[2025-01-10 09:53:21] Production.ERROR: pbx CDR StartTime 2025-01-10 06:53:05 - End Time 2025-01-10 09:53:05
[2025-01-10 09:53:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 09:53:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216128', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:53:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216128', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:53:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216128', 'tblTempVendorCDR_20' ) start
[2025-01-10 09:53:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216128', 'tblTempVendorCDR_20' ) end
[2025-01-10 09:53:21] Production.INFO: ProcessCDR(1,14216128,1,1,2)
[2025-01-10 09:53:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216128,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:53:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216128,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:53:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216128,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:53:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216128,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:53:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216128', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:53:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216128', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:53:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:53:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:53:26] Production.INFO: ==3014== Releasing lock...
[2025-01-10 09:53:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 09:53:26] Production.INFO: 41 MB #Memory Used#
[2025-01-10 14:54:01] Production.INFO: ==3112== Lock acquired, processing the job...
[2025-01-10 14:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 14:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 14:54:01] Production.INFO: neon service started
[2025-01-10 14:54:01] Production.INFO: neon service started
[2025-01-10 14:54:01] Production.INFO: ==3112== Releasing lock...
[2025-01-10 14:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 14:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 09:54:02] Production.INFO: ==3114== Lock acquired, processing the job...
[2025-01-10 09:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 14:54:02] Production.INFO: ==3116== Lock acquired, processing the job...
[2025-01-10 14:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 14:54:02] Production.INFO: ==3116== Releasing lock...
[2025-01-10 14:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 14:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 09:54:02] Production.INFO: ==3114== Releasing lock...
[2025-01-10 09:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 09:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 09:54:03] Production.INFO: ==3121== Lock acquired, processing the job...
[2025-01-10 09:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 09:54:03] Production.INFO: ==3123== Lock acquired, processing the job...
[2025-01-10 09:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 09:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 09:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 09:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 09:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 09:54:03] Production.INFO: ==3127== Lock acquired, processing the job...
[2025-01-10 09:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 09:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:54:03] Production.INFO: ==3121== Releasing lock...
[2025-01-10 09:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 09:54:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 09:54:03] Production.INFO: ==3119== Lock acquired, processing the job...
[2025-01-10 09:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 09:54:03] Production.INFO: ==3125== Lock acquired, processing the job...
[2025-01-10 09:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 09:54:03] Production.INFO: ==3129== Lock acquired, processing the job...
[2025-01-10 09:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 09:54:03] Production.INFO: Account Balance Start.
[2025-01-10 09:54:03] Production.INFO: CreateAllLog Start
[2025-01-10 09:54:03] Production.INFO: 117
[2025-01-10 09:54:03] Production.INFO: Date 2025-01-08
[2025-01-10 09:54:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:54:03] Production.INFO: Date 2025-01-09
[2025-01-10 09:54:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 09:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:54:04] Production.INFO: count ==21
[2025-01-10 09:54:04] Production.ERROR: done
[2025-01-10 09:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:54:04] Production.INFO: count ==21
[2025-01-10 09:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 09:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216131') start
[2025-01-10 09:54:04] Production.INFO: Date 2025-01-10
[2025-01-10 09:54:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:54:04] Production.INFO: Total Charge 0
[2025-01-10 09:54:04] Production.INFO: CreateAllLog End
[2025-01-10 09:54:04] Production.ERROR: done
[2025-01-10 09:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216131') end
[2025-01-10 09:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 09:54:04] Production.INFO: 1
[2025-01-10 09:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 09:54:04] Production.INFO: ==3129== Releasing lock...
[2025-01-10 09:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 09:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 09:54:04] Production.INFO: Account Balance End.
[2025-01-10 09:54:04] Production.ERROR: CronJobId end 12
[2025-01-10 09:54:04] Production.INFO: ==3125== Releasing lock...
[2025-01-10 09:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 09:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 09:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 06:54:05
[end_date_ymd] => 2025-01-10 09:54:05
[RateCDR] => 1
)
[2025-01-10 09:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 06:54:05' and `end` < '2025-01-10 09:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 09:54:10] Production.ERROR: CronJobId end10
[2025-01-10 09:54:10] Production.INFO: ==3123== Releasing lock...
[2025-01-10 09:54:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 09:54:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 09:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 09:54:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 09:54:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 09:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 09:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 09:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 09:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 09:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 09:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 09:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 09:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 09:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 09:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 09:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 09:54:13] Production.INFO: call_cost start
[2025-01-10 09:54:13] Production.INFO: call_cost end
[2025-01-10 09:54:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 09:54:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 09:54:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 09:54:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 09:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 09:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 09:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 09:54:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 09:54:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 09:54:14] Production.INFO: ==3119== Releasing lock...
[2025-01-10 09:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 09:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:54:18] Production.INFO: count ==1716
[2025-01-10 09:54:19] Production.ERROR: pbx CDR StartTime 2025-01-10 06:54:05 - End Time 2025-01-10 09:54:05
[2025-01-10 09:54:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 09:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216133', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216133', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216133', 'tblTempVendorCDR_20' ) start
[2025-01-10 09:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216133', 'tblTempVendorCDR_20' ) end
[2025-01-10 09:54:19] Production.INFO: ProcessCDR(1,14216133,1,1,2)
[2025-01-10 09:54:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216133,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:54:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216133,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:54:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216133,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:54:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216133,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:54:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216133', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:54:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216133', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:54:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:54:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:54:24] Production.INFO: ==3127== Releasing lock...
[2025-01-10 09:54:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 09:54:24] Production.INFO: 41 MB #Memory Used#
[2025-01-10 14:55:02] Production.INFO: ==3184== Lock acquired, processing the job...
[2025-01-10 14:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 14:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 14:55:02] Production.INFO: neon service started
[2025-01-10 14:55:02] Production.INFO: neon service started
[2025-01-10 14:55:02] Production.INFO: ==3184== Releasing lock...
[2025-01-10 14:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 14:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:55:02] Production.INFO: ==3188== Lock acquired, processing the job...
[2025-01-10 14:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 14:55:02] Production.INFO: ==3188== Releasing lock...
[2025-01-10 14:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 14:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 09:55:02] Production.INFO: ==3186== Lock acquired, processing the job...
[2025-01-10 09:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:55:03] Production.INFO: ==3186== Releasing lock...
[2025-01-10 09:55:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 09:55:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 09:55:03] Production.INFO: ==3191== Lock acquired, processing the job...
[2025-01-10 09:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 09:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 09:55:03] Production.INFO: ==3195== Lock acquired, processing the job...
[2025-01-10 09:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 09:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 09:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 09:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 09:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 09:55:04] Production.INFO: ==3197== Lock acquired, processing the job...
[2025-01-10 09:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 09:55:04] Production.INFO: Account Balance Start.
[2025-01-10 09:55:04] Production.INFO: CreateAllLog Start
[2025-01-10 09:55:04] Production.INFO: 117
[2025-01-10 09:55:04] Production.INFO: Date 2025-01-08
[2025-01-10 09:55:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:55:04] Production.INFO: ==3193== Lock acquired, processing the job...
[2025-01-10 09:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 09:55:04] Production.INFO: Date 2025-01-09
[2025-01-10 09:55:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:55:04] Production.INFO: Date 2025-01-10
[2025-01-10 09:55:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:55:04] Production.INFO: Total Charge 0
[2025-01-10 09:55:04] Production.INFO: CreateAllLog End
[2025-01-10 09:55:04] Production.INFO: ==3199== Lock acquired, processing the job...
[2025-01-10 09:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 09:55:04] Production.INFO: ==3201== Lock acquired, processing the job...
[2025-01-10 09:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 09:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:55:04] Production.INFO: count ==21
[2025-01-10 09:55:04] Production.INFO: ==3193== Releasing lock...
[2025-01-10 09:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 09:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 09:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:55:04] Production.INFO: Account Balance End.
[2025-01-10 09:55:04] Production.INFO: count ==21
[2025-01-10 09:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216137') start
[2025-01-10 09:55:04] Production.ERROR: CronJobId end 12
[2025-01-10 09:55:04] Production.INFO: ==3197== Releasing lock...
[2025-01-10 09:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 09:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 09:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216137') end
[2025-01-10 09:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 09:55:04] Production.INFO: 1
[2025-01-10 09:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 09:55:04] Production.ERROR: done
[2025-01-10 09:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 09:55:05] Production.INFO: ==3201== Releasing lock...
[2025-01-10 09:55:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 09:55:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 09:55:05] Production.ERROR: done
[2025-01-10 09:55:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 06:55:06
[end_date_ymd] => 2025-01-10 09:55:06
[RateCDR] => 1
)
[2025-01-10 09:55:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 06:55:06' and `end` < '2025-01-10 09:55:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 09:55:12] Production.ERROR: CronJobId end10
[2025-01-10 09:55:12] Production.INFO: ==3195== Releasing lock...
[2025-01-10 09:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 09:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 09:55:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 09:55:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 09:55:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 09:55:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 09:55:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 09:55:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 09:55:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 09:55:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 09:55:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 09:55:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 09:55:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 09:55:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 09:55:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 09:55:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 09:55:14] Production.INFO: call_cost start
[2025-01-10 09:55:14] Production.INFO: call_cost end
[2025-01-10 09:55:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 09:55:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 09:55:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 09:55:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 09:55:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 09:55:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 09:55:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 09:55:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 09:55:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 09:55:15] Production.INFO: ==3191== Releasing lock...
[2025-01-10 09:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 09:55:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:55:22] Production.INFO: count ==1726
[2025-01-10 09:55:23] Production.ERROR: pbx CDR StartTime 2025-01-10 06:55:06 - End Time 2025-01-10 09:55:06
[2025-01-10 09:55:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 09:55:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216138', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:55:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216138', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:55:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216138', 'tblTempVendorCDR_20' ) start
[2025-01-10 09:55:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216138', 'tblTempVendorCDR_20' ) end
[2025-01-10 09:55:23] Production.INFO: ProcessCDR(1,14216138,1,1,2)
[2025-01-10 09:55:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216138,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:55:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216138,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:55:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216138,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:55:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216138,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:55:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216138', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:55:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216138', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:55:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:55:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:55:28] Production.INFO: ==3199== Releasing lock...
[2025-01-10 09:55:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 09:55:28] Production.INFO: 41.25 MB #Memory Used#
[2025-01-10 14:56:01] Production.INFO: ==3253== Lock acquired, processing the job...
[2025-01-10 14:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 14:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 14:56:01] Production.INFO: neon service started
[2025-01-10 14:56:01] Production.INFO: neon service started
[2025-01-10 14:56:01] Production.INFO: ==3253== Releasing lock...
[2025-01-10 14:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 14:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:56:02] Production.INFO: ==3257== Lock acquired, processing the job...
[2025-01-10 14:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 14:56:02] Production.INFO: ==3257== Releasing lock...
[2025-01-10 14:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 14:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 09:56:02] Production.INFO: ==3255== Lock acquired, processing the job...
[2025-01-10 09:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:56:02] Production.INFO: ==3255== Releasing lock...
[2025-01-10 09:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 09:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 09:56:03] Production.INFO: ==3264== Lock acquired, processing the job...
[2025-01-10 09:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 09:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 09:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 09:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 09:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 09:56:03] Production.INFO: ==3270== Lock acquired, processing the job...
[2025-01-10 09:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 09:56:03] Production.INFO: ==3260== Lock acquired, processing the job...
[2025-01-10 09:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 09:56:03] Production.INFO: ==3262== Lock acquired, processing the job...
[2025-01-10 09:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 09:56:03] Production.INFO: ==3266== Lock acquired, processing the job...
[2025-01-10 09:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 09:56:03] Production.INFO: ==3268== Lock acquired, processing the job...
[2025-01-10 09:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 09:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 09:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:56:03] Production.INFO: count ==21
[2025-01-10 09:56:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:56:03] Production.INFO: count ==21
[2025-01-10 09:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216139') start
[2025-01-10 09:56:03] Production.INFO: Account Balance Start.
[2025-01-10 09:56:03] Production.INFO: CreateAllLog Start
[2025-01-10 09:56:03] Production.INFO: 117
[2025-01-10 09:56:03] Production.INFO: Date 2025-01-08
[2025-01-10 09:56:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216139') end
[2025-01-10 09:56:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 09:56:03] Production.INFO: 1
[2025-01-10 09:56:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 09:56:03] Production.ERROR: done
[2025-01-10 09:56:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 09:56:03] Production.INFO: ==3270== Releasing lock...
[2025-01-10 09:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 09:56:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 09:56:03] Production.INFO: Date 2025-01-09
[2025-01-10 09:56:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:56:03] Production.INFO: Date 2025-01-10
[2025-01-10 09:56:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:56:03] Production.INFO: Total Charge 0
[2025-01-10 09:56:03] Production.INFO: CreateAllLog End
[2025-01-10 09:56:04] Production.ERROR: done
[2025-01-10 09:56:04] Production.INFO: ==3262== Releasing lock...
[2025-01-10 09:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 09:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 09:56:04] Production.INFO: Account Balance End.
[2025-01-10 09:56:04] Production.ERROR: CronJobId end 12
[2025-01-10 09:56:04] Production.INFO: ==3266== Releasing lock...
[2025-01-10 09:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 09:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 09:56:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 06:56:04
[end_date_ymd] => 2025-01-10 09:56:04
[RateCDR] => 1
)
[2025-01-10 09:56:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 06:56:04' and `end` < '2025-01-10 09:56:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 09:56:10] Production.ERROR: CronJobId end10
[2025-01-10 09:56:10] Production.INFO: ==3264== Releasing lock...
[2025-01-10 09:56:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 09:56:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 09:56:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 09:56:11] Production.INFO: ============== Balance Warning START===========
[2025-01-10 09:56:11] Production.INFO: ============== Balance Warning END===========
[2025-01-10 09:56:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 09:56:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 09:56:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 09:56:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 09:56:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 09:56:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 09:56:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 09:56:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 09:56:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 09:56:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 09:56:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 09:56:12] Production.INFO: call_cost start
[2025-01-10 09:56:12] Production.INFO: call_cost end
[2025-01-10 09:56:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 09:56:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 09:56:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 09:56:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 09:56:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 09:56:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 09:56:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 09:56:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 09:56:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 09:56:13] Production.INFO: ==3260== Releasing lock...
[2025-01-10 09:56:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 09:56:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:56:21] Production.INFO: count ==1752
[2025-01-10 09:56:22] Production.ERROR: pbx CDR StartTime 2025-01-10 06:56:04 - End Time 2025-01-10 09:56:04
[2025-01-10 09:56:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 09:56:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216143', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:56:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216143', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:56:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216143', 'tblTempVendorCDR_20' ) start
[2025-01-10 09:56:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216143', 'tblTempVendorCDR_20' ) end
[2025-01-10 09:56:22] Production.INFO: ProcessCDR(1,14216143,1,1,2)
[2025-01-10 09:56:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216143,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:56:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216143,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:56:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216143,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:56:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216143,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:56:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216143', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:56:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216143', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:56:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:56:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:56:26] Production.INFO: ==3268== Releasing lock...
[2025-01-10 09:56:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 09:56:26] Production.INFO: 41.5 MB #Memory Used#
[2025-01-10 14:57:02] Production.INFO: ==3323== Lock acquired, processing the job...
[2025-01-10 14:57:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 14:57:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 14:57:02] Production.INFO: neon service started
[2025-01-10 14:57:02] Production.INFO: neon service started
[2025-01-10 14:57:02] Production.INFO: ==3323== Releasing lock...
[2025-01-10 14:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 14:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 09:57:02] Production.INFO: ==3325== Lock acquired, processing the job...
[2025-01-10 09:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 14:57:02] Production.INFO: ==3327== Lock acquired, processing the job...
[2025-01-10 14:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 14:57:02] Production.INFO: ==3327== Releasing lock...
[2025-01-10 14:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 14:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 09:57:02] Production.INFO: ==3325== Releasing lock...
[2025-01-10 09:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 09:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 09:57:03] Production.INFO: ==3334== Lock acquired, processing the job...
[2025-01-10 09:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 09:57:03] Production.INFO: ==3338== Lock acquired, processing the job...
[2025-01-10 09:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 09:57:03] Production.INFO: ==3330== Lock acquired, processing the job...
[2025-01-10 09:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 09:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 09:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 09:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 09:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 09:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:57:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 09:57:04] Production.INFO: ==3332== Lock acquired, processing the job...
[2025-01-10 09:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 09:57:04] Production.INFO: ==3336== Lock acquired, processing the job...
[2025-01-10 09:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 09:57:04] Production.INFO: ==3340== Lock acquired, processing the job...
[2025-01-10 09:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 09:57:04] Production.INFO: Account Balance Start.
[2025-01-10 09:57:04] Production.INFO: CreateAllLog Start
[2025-01-10 09:57:04] Production.INFO: 117
[2025-01-10 09:57:04] Production.INFO: Date 2025-01-08
[2025-01-10 09:57:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:57:04] Production.INFO: Date 2025-01-09
[2025-01-10 09:57:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:57:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:57:04] Production.INFO: count ==21
[2025-01-10 09:57:04] Production.ERROR: done
[2025-01-10 09:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 09:57:04] Production.INFO: Date 2025-01-10
[2025-01-10 09:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:57:04] Production.INFO: count ==21
[2025-01-10 09:57:04] Production.INFO: Reseller ==> 0
[2025-01-10 09:57:04] Production.INFO: Total Charge 0
[2025-01-10 09:57:04] Production.INFO: CreateAllLog End
[2025-01-10 09:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216147') start
[2025-01-10 09:57:04] Production.ERROR: done
[2025-01-10 09:57:04] Production.INFO: ==3332== Releasing lock...
[2025-01-10 09:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 09:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 09:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216147') end
[2025-01-10 09:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 09:57:04] Production.INFO: 1
[2025-01-10 09:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 09:57:04] Production.INFO: Account Balance End.
[2025-01-10 09:57:04] Production.INFO: ==3340== Releasing lock...
[2025-01-10 09:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 09:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 09:57:04] Production.ERROR: CronJobId end 12
[2025-01-10 09:57:04] Production.INFO: ==3336== Releasing lock...
[2025-01-10 09:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 09:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 09:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 06:57:05
[end_date_ymd] => 2025-01-10 09:57:05
[RateCDR] => 1
)
[2025-01-10 09:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 06:57:05' and `end` < '2025-01-10 09:57:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 09:57:11] Production.ERROR: CronJobId end10
[2025-01-10 09:57:11] Production.INFO: ==3334== Releasing lock...
[2025-01-10 09:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 09:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 09:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 09:57:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 09:57:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 09:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 09:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 09:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 09:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 09:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 09:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 09:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 09:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 09:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 09:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 09:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 09:57:13] Production.INFO: call_cost start
[2025-01-10 09:57:13] Production.INFO: call_cost end
[2025-01-10 09:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 09:57:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 09:57:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 09:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 09:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 09:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 09:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 09:57:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 09:57:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 09:57:14] Production.INFO: ==3330== Releasing lock...
[2025-01-10 09:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 09:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:57:18] Production.INFO: count ==1754
[2025-01-10 09:57:19] Production.ERROR: pbx CDR StartTime 2025-01-10 06:57:05 - End Time 2025-01-10 09:57:05
[2025-01-10 09:57:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 09:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216148', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216148', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216148', 'tblTempVendorCDR_20' ) start
[2025-01-10 09:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216148', 'tblTempVendorCDR_20' ) end
[2025-01-10 09:57:19] Production.INFO: ProcessCDR(1,14216148,1,1,2)
[2025-01-10 09:57:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216148,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:57:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216148,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:57:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216148,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:57:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216148,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:57:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216148', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:57:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216148', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:57:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:57:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:57:24] Production.INFO: ==3338== Releasing lock...
[2025-01-10 09:57:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 09:57:24] Production.INFO: 41.25 MB #Memory Used#
[2025-01-10 14:58:01] Production.INFO: ==3393== Lock acquired, processing the job...
[2025-01-10 14:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 14:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 14:58:01] Production.INFO: neon service started
[2025-01-10 14:58:01] Production.INFO: neon service started
[2025-01-10 14:58:01] Production.INFO: ==3393== Releasing lock...
[2025-01-10 14:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 14:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 09:58:01] Production.INFO: ==3395== Lock acquired, processing the job...
[2025-01-10 09:58:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:58:02] Production.INFO: ==3395== Releasing lock...
[2025-01-10 09:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 09:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 14:58:02] Production.INFO: ==3397== Lock acquired, processing the job...
[2025-01-10 14:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 14:58:02] Production.INFO: ==3397== Releasing lock...
[2025-01-10 14:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 14:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 09:58:02] Production.INFO: ==3400== Lock acquired, processing the job...
[2025-01-10 09:58:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 09:58:03] Production.INFO: ==3402== Lock acquired, processing the job...
[2025-01-10 09:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 09:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 09:58:03] Production.INFO: ==3406== Lock acquired, processing the job...
[2025-01-10 09:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 09:58:03] Production.INFO: Account Balance Start.
[2025-01-10 09:58:03] Production.INFO: CreateAllLog Start
[2025-01-10 09:58:03] Production.INFO: 117
[2025-01-10 09:58:03] Production.INFO: ==3402== Releasing lock...
[2025-01-10 09:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 09:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 09:58:03] Production.INFO: Date 2025-01-08
[2025-01-10 09:58:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:58:03] Production.INFO: Date 2025-01-09
[2025-01-10 09:58:03] Production.INFO: ==3404== Lock acquired, processing the job...
[2025-01-10 09:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 09:58:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:58:03] Production.INFO: ==3408== Lock acquired, processing the job...
[2025-01-10 09:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 09:58:03] Production.INFO: Date 2025-01-10
[2025-01-10 09:58:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:58:03] Production.INFO: ==3410== Lock acquired, processing the job...
[2025-01-10 09:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 09:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 09:58:03] Production.INFO: Total Charge 0
[2025-01-10 09:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 09:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 09:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 09:58:03] Production.INFO: CreateAllLog End
[2025-01-10 09:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:58:03] Production.INFO: count ==21
[2025-01-10 09:58:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:58:03] Production.INFO: count ==21
[2025-01-10 09:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216152') start
[2025-01-10 09:58:03] Production.INFO: Account Balance End.
[2025-01-10 09:58:03] Production.ERROR: done
[2025-01-10 09:58:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 09:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216152') end
[2025-01-10 09:58:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 09:58:03] Production.INFO: 1
[2025-01-10 09:58:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 09:58:03] Production.ERROR: CronJobId end 12
[2025-01-10 09:58:03] Production.INFO: ==3406== Releasing lock...
[2025-01-10 09:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 09:58:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 09:58:03] Production.INFO: ==3410== Releasing lock...
[2025-01-10 09:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 09:58:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 09:58:04] Production.ERROR: done
[2025-01-10 09:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 06:58:05
[end_date_ymd] => 2025-01-10 09:58:05
[RateCDR] => 1
)
[2025-01-10 09:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 06:58:05' and `end` < '2025-01-10 09:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 09:58:10] Production.ERROR: CronJobId end10
[2025-01-10 09:58:10] Production.INFO: ==3404== Releasing lock...
[2025-01-10 09:58:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 09:58:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 09:58:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 09:58:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 09:58:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 09:58:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 09:58:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 09:58:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 09:58:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 09:58:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 09:58:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 09:58:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 09:58:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 09:58:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 09:58:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 09:58:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 09:58:12] Production.INFO: call_cost start
[2025-01-10 09:58:12] Production.INFO: call_cost end
[2025-01-10 09:58:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 09:58:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 09:58:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 09:58:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 09:58:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 09:58:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 09:58:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 09:58:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 09:58:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 09:58:13] Production.INFO: ==3400== Releasing lock...
[2025-01-10 09:58:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 09:58:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:58:20] Production.INFO: count ==1772
[2025-01-10 09:58:21] Production.ERROR: pbx CDR StartTime 2025-01-10 06:58:05 - End Time 2025-01-10 09:58:05
[2025-01-10 09:58:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 09:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216153', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216153', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216153', 'tblTempVendorCDR_20' ) start
[2025-01-10 09:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216153', 'tblTempVendorCDR_20' ) end
[2025-01-10 09:58:21] Production.INFO: ProcessCDR(1,14216153,1,1,2)
[2025-01-10 09:58:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216153,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:58:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216153,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:58:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216153,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:58:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216153,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:58:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216153', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:58:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216153', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:58:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:58:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:58:26] Production.INFO: ==3408== Releasing lock...
[2025-01-10 09:58:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 09:58:26] Production.INFO: 41.5 MB #Memory Used#
[2025-01-10 14:59:01] Production.INFO: ==3464== Lock acquired, processing the job...
[2025-01-10 14:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 14:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 14:59:01] Production.INFO: neon service started
[2025-01-10 14:59:01] Production.INFO: neon service started
[2025-01-10 14:59:01] Production.INFO: ==3464== Releasing lock...
[2025-01-10 14:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 14:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 09:59:02] Production.INFO: ==3466== Lock acquired, processing the job...
[2025-01-10 09:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 09:59:02] Production.INFO: ==3466== Releasing lock...
[2025-01-10 09:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 09:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 14:59:02] Production.INFO: ==3468== Lock acquired, processing the job...
[2025-01-10 14:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 14:59:02] Production.INFO: ==3468== Releasing lock...
[2025-01-10 14:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 14:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 09:59:03] Production.INFO: ==3470== Lock acquired, processing the job...
[2025-01-10 09:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 09:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 09:59:03] Production.INFO: ==3472== Lock acquired, processing the job...
[2025-01-10 09:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 09:59:03] Production.INFO: ==3476== Lock acquired, processing the job...
[2025-01-10 09:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 09:59:03] Production.INFO: Account Balance Start.
[2025-01-10 09:59:03] Production.INFO: CreateAllLog Start
[2025-01-10 09:59:03] Production.INFO: 117
[2025-01-10 09:59:03] Production.INFO: ==3474== Lock acquired, processing the job...
[2025-01-10 09:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 09:59:03] Production.INFO: Date 2025-01-08
[2025-01-10 09:59:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:59:03] Production.INFO: Date 2025-01-09
[2025-01-10 09:59:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 09:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 09:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 09:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 09:59:03] Production.INFO: Date 2025-01-10
[2025-01-10 09:59:03] Production.INFO: ==3481== Lock acquired, processing the job...
[2025-01-10 09:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 09:59:03] Production.INFO: Reseller ==> 0
[2025-01-10 09:59:03] Production.INFO: ==3479== Lock acquired, processing the job...
[2025-01-10 09:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 09:59:03] Production.INFO: ==3472== Releasing lock...
[2025-01-10 09:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 09:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 09:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 09:59:03] Production.INFO: Total Charge 0
[2025-01-10 09:59:03] Production.INFO: CreateAllLog End
[2025-01-10 09:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:59:03] Production.INFO: count ==21
[2025-01-10 09:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 09:59:04] Production.INFO: count ==21
[2025-01-10 09:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216157') start
[2025-01-10 09:59:04] Production.ERROR: done
[2025-01-10 09:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 09:59:04] Production.INFO: Account Balance End.
[2025-01-10 09:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216157') end
[2025-01-10 09:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 09:59:04] Production.INFO: 1
[2025-01-10 09:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 09:59:04] Production.ERROR: CronJobId end 12
[2025-01-10 09:59:04] Production.INFO: ==3476== Releasing lock...
[2025-01-10 09:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 09:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 09:59:04] Production.INFO: ==3481== Releasing lock...
[2025-01-10 09:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 09:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 09:59:04] Production.ERROR: done
[2025-01-10 09:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 06:59:05
[end_date_ymd] => 2025-01-10 09:59:05
[RateCDR] => 1
)
[2025-01-10 09:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 06:59:05' and `end` < '2025-01-10 09:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 09:59:10] Production.ERROR: CronJobId end10
[2025-01-10 09:59:10] Production.INFO: ==3474== Releasing lock...
[2025-01-10 09:59:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 09:59:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 09:59:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 09:59:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 09:59:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 09:59:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 09:59:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 09:59:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 09:59:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 09:59:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 09:59:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 09:59:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 09:59:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 09:59:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 09:59:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 09:59:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 09:59:13] Production.INFO: call_cost start
[2025-01-10 09:59:13] Production.INFO: call_cost end
[2025-01-10 09:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 09:59:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 09:59:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 09:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 09:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 09:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 09:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 09:59:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 09:59:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 09:59:14] Production.INFO: ==3470== Releasing lock...
[2025-01-10 09:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 09:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 09:59:18] Production.INFO: count ==1777
[2025-01-10 09:59:19] Production.ERROR: pbx CDR StartTime 2025-01-10 06:59:05 - End Time 2025-01-10 09:59:05
[2025-01-10 09:59:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 09:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216158', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216158', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216158', 'tblTempVendorCDR_20' ) start
[2025-01-10 09:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216158', 'tblTempVendorCDR_20' ) end
[2025-01-10 09:59:19] Production.INFO: ProcessCDR(1,14216158,1,1,2)
[2025-01-10 09:59:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216158,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:59:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216158,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 09:59:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216158,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:59:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216158,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 09:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216158', 'tblTempUsageDetail_20' ) start
[2025-01-10 09:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216158', 'tblTempUsageDetail_20' ) end
[2025-01-10 09:59:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 09:59:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 09:59:22] Production.INFO: ==3479== Releasing lock...
[2025-01-10 09:59:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 09:59:22] Production.INFO: 41.5 MB #Memory Used#
[2025-01-10 15:00:01] Production.INFO: ==3538== Lock acquired, processing the job...
[2025-01-10 15:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 15:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 15:00:01] Production.INFO: neon service started
[2025-01-10 15:00:01] Production.INFO: neon service started
[2025-01-10 15:00:01] Production.INFO: ==3538== Releasing lock...
[2025-01-10 15:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 15:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 15:00:01] Production.INFO: ==3542== Lock acquired, processing the job...
[2025-01-10 15:00:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:00:01] Production.INFO: ==3542== Releasing lock...
[2025-01-10 15:00:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 15:00:01] Production.INFO: 25 MB #Memory Used#
[2025-01-10 10:00:01] Production.INFO: ==3540== Lock acquired, processing the job...
[2025-01-10 10:00:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 10:00:02] Production.INFO: ==3540== Releasing lock...
[2025-01-10 10:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 10:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:00:03] Production.INFO: ==3544== Lock acquired, processing the job...
[2025-01-10 10:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 10:00:03] Production.INFO: ==3546== Lock acquired, processing the job...
[2025-01-10 10:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 10:00:03] Production.INFO: ==3548== Lock acquired, processing the job...
[2025-01-10 10:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 10:00:03] Production.INFO: ==3550== Lock acquired, processing the job...
[2025-01-10 10:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 10:00:03] Production.INFO: ==3552== Lock acquired, processing the job...
[2025-01-10 10:00:03] Production.INFO: bulkautopaymentcapture-command-bulkautopaymentcapture-companyid-1-cronjobid-11 #Starts#
[2025-01-10 10:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 10:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 10:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 10:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 10:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 10:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 10:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 10:00:03] Production.ERROR: CronJob PID - 3546
[2025-01-10 10:00:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-10 10:00:03] Production.ERROR: CronJob ID - 5
[2025-01-10 10:00:03] Production.ERROR: CronJob Last Run Time 2025-01-10 10:00:00
[2025-01-10 10:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 10:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 10:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 10:00:03] Production.ERROR: CronJob PID - 3548
[2025-01-10 10:00:03] Production.ERROR: CronJob Title - Account Block
[2025-01-10 10:00:03] Production.ERROR: CronJob ID - 7
[2025-01-10 10:00:03] Production.ERROR: CronJob Last Run Time 2025-01-10 10:00:00
[2025-01-10 10:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 10:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 10:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 10:00:03] Production.ERROR: CronJob PID - 3550
[2025-01-10 10:00:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-10 10:00:03] Production.ERROR: CronJob ID - 10
[2025-01-10 10:00:03] Production.ERROR: CronJob Last Run Time 2025-01-10 10:00:00
[2025-01-10 10:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 10:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 10:00:03] Production.INFO: ==3554== Lock acquired, processing the job...
[2025-01-10 10:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 10:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 10:00:03] Production.INFO: ==3544== Releasing lock...
[2025-01-10 10:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 10:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 10:00:03] Production.INFO: ==3559== Lock acquired, processing the job...
[2025-01-10 10:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 10:00:03] Production.INFO: ==3556== Lock acquired, processing the job...
[2025-01-10 10:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 10:00:03] Production.INFO: Account Balance Start.
[2025-01-10 10:00:03] Production.INFO: CreateAllLog Start
[2025-01-10 10:00:03] Production.INFO: 117
[2025-01-10 10:00:03] Production.INFO: Date 2025-01-08
[2025-01-10 10:00:03] Production.INFO: ==3561== Lock acquired, processing the job...
[2025-01-10 10:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 10:00:03] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:00:03] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '5', '0', '1' )
[2025-01-10 10:00:03] Production.INFO: PaymentPendingInvoice Count - 1
[2025-01-10 10:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:00:03] Production.INFO: Outstanding Amount 43.92
[2025-01-10 10:00:03] Production.INFO: Invoice Full Number INV11342
[2025-01-10 10:00:03] Production.INFO: Transaction start
[2025-01-10 10:00:03] Production.INFO: Date 2025-01-09
[2025-01-10 10:00:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:00:03] Production.INFO: Date 2025-01-10
[2025-01-10 10:00:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:00:04] Production.INFO: Total Charge 0
[2025-01-10 10:00:04] Production.INFO: CreateAllLog End
[2025-01-10 10:00:04] Production.INFO: ==3548== Releasing lock...
[2025-01-10 10:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 10:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 10:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:00:04] Production.INFO: count ==21
[2025-01-10 10:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:00:04] Production.INFO: count ==21
[2025-01-10 10:00:04] Production.ERROR: done
[2025-01-10 10:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 10:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216162') start
[2025-01-10 10:00:04] Production.ERROR: done
[2025-01-10 10:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 10:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14216163', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 10:00:04] Production.ERROR: done
[2025-01-10 10:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216162') end
[2025-01-10 10:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 10:00:04] Production.INFO: 1
[2025-01-10 10:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 10:00:04] Production.INFO: ==3561== Releasing lock...
[2025-01-10 10:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 10:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 10:00:04] Production.INFO: Account Balance End.
[2025-01-10 10:00:04] Production.ERROR: CronJobId end 12
[2025-01-10 10:00:04] Production.INFO: ==3554== Releasing lock...
[2025-01-10 10:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 10:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 10:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 07:00:05
[end_date_ymd] => 2025-01-10 10:00:05
[RateCDR] => 1
)
[2025-01-10 10:00:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 07:00:05' and `end` < '2025-01-10 10:00:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 10:00:05] Production.INFO: Transaction end
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '7', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '8', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '13', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '14', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '17', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '19', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '21', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '25', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '26', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '20', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '32', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '33', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '37', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '41', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '43', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '45', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '49', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '47', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '52', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '53', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '54', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '57', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '58', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '34', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '59', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '63', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '65', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '67', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '73', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '74', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '70', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '82', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '83', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '84', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '85', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '93', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '95', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '92', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '86', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '78', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '87', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '88', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 3
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '90', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '98', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '99', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '97', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '100', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '101', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '102', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '104', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '106', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '107', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '110', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '111', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '113', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '114', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '115', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '119', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '121', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '123', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '124', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '127', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '131', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '130', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 4
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '134', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '137', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '138', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '136', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '139', '0', '1' )
[2025-01-10 10:00:07] Production.INFO: PaymentPendingInvoice Count - 1
[2025-01-10 10:00:07] Production.INFO: Outstanding Amount 281.62
[2025-01-10 10:00:07] Production.INFO: Invoice Full Number INV11344
[2025-01-10 10:00:07] Production.INFO: Transaction start
[2025-01-10 10:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14216163', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 10:00:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 10:00:08] Production.INFO: ProcessCDR(1,14216163,1,1,2)
[2025-01-10 10:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14216163,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14216163,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:00:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:00:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:00:08] Production.INFO: ==3559== Releasing lock...
[2025-01-10 10:00:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 10:00:08] Production.INFO: 26 MB #Memory Used#
[2025-01-10 10:00:09] Production.INFO: Transaction end
[2025-01-10 10:00:10] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '140', '0', '1' )
[2025-01-10 10:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:10] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '146', '0', '1' )
[2025-01-10 10:00:10] Production.INFO: PaymentPendingInvoice Count - 4
[2025-01-10 10:00:10] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '147', '0', '1' )
[2025-01-10 10:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:10] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '151', '0', '1' )
[2025-01-10 10:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:10] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '153', '0', '1' )
[2025-01-10 10:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:10] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '154', '0', '1' )
[2025-01-10 10:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:10] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '155', '0', '1' )
[2025-01-10 10:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:10] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '157', '0', '1' )
[2025-01-10 10:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:10] Production.INFO: PaymentMethod - 0
[2025-01-10 10:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '149', '0', '1' )
[2025-01-10 10:00:10] Production.INFO: PaymentPendingInvoice Count - 1
[2025-01-10 10:00:10] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '160', '0', '1' )
[2025-01-10 10:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:10] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '152', '0', '1' )
[2025-01-10 10:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:10] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '161', '0', '1' )
[2025-01-10 10:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:10] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '165', '0', '1' )
[2025-01-10 10:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:10] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '166', '0', '1' )
[2025-01-10 10:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:10] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '183', '0', '1' )
[2025-01-10 10:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:10] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '184', '0', '1' )
[2025-01-10 10:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:10] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '185', '0', '1' )
[2025-01-10 10:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:10] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '187', '0', '1' )
[2025-01-10 10:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:10] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '195', '0', '1' )
[2025-01-10 10:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:10] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '190', '0', '1' )
[2025-01-10 10:00:10] Production.INFO: PaymentPendingInvoice Count - 1
[2025-01-10 10:00:10] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '192', '0', '1' )
[2025-01-10 10:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:10] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '193', '0', '1' )
[2025-01-10 10:00:10] Production.INFO: PaymentPendingInvoice Count - 2
[2025-01-10 10:00:10] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '205', '0', '1' )
[2025-01-10 10:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:10] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '208', '0', '1' )
[2025-01-10 10:00:10] Production.INFO: PaymentPendingInvoice Count - 1
[2025-01-10 10:00:10] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '207', '0', '1' )
[2025-01-10 10:00:10] Production.INFO: PaymentPendingInvoice Count - 20
[2025-01-10 10:00:10] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '206', '0', '1' )
[2025-01-10 10:00:10] Production.INFO: PaymentPendingInvoice Count - 17
[2025-01-10 10:00:10] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '182', '0', '1' )
[2025-01-10 10:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:10] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '211', '0', '1' )
[2025-01-10 10:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:10] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '188', '0', '1' )
[2025-01-10 10:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:10] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '226', '0', '1' )
[2025-01-10 10:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:10] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '227', '0', '1' )
[2025-01-10 10:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:10] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '189', '0', '1' )
[2025-01-10 10:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:10] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '229', '0', '1' )
[2025-01-10 10:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:10] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '230', '0', '1' )
[2025-01-10 10:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:10] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '232', '0', '1' )
[2025-01-10 10:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:10] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '236', '0', '1' )
[2025-01-10 10:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:10] Production.INFO: PaymentMethod - 0
[2025-01-10 10:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '239', '0', '1' )
[2025-01-10 10:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:10] Production.INFO: PaymentMethod - 1
[2025-01-10 10:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '241', '0', '1' )
[2025-01-10 10:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-10 10:00:11] Production.ERROR: CronJobId end11
[2025-01-10 10:00:11] Production.INFO: ==3552== Releasing lock...
[2025-01-10 10:00:11] Production.INFO: bulkautopaymentcapture-command-bulkautopaymentcapture-companyid-1-cronjobid-11 #Stops#
[2025-01-10 10:00:11] Production.INFO: 34 MB #Memory Used#
[2025-01-10 10:00:13] Production.ERROR: CronJobId end10
[2025-01-10 10:00:13] Production.INFO: ==3550== Releasing lock...
[2025-01-10 10:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 10:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 10:00:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 10:00:15] Production.INFO: ============== Balance Warning START===========
[2025-01-10 10:00:15] Production.INFO: ============== Balance Warning END===========
[2025-01-10 10:00:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 10:00:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 10:00:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 10:00:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 10:00:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 10:00:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 10:00:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 10:00:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 10:00:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 10:00:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 10:00:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 10:00:15] Production.INFO: call_cost start
[2025-01-10 10:00:15] Production.INFO: call_cost end
[2025-01-10 10:00:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 10:00:16] Production.INFO: ============== Report Schedule START===========
[2025-01-10 10:00:16] Production.INFO: ============== Report Schedule END===========
[2025-01-10 10:00:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 10:00:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 10:00:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 10:00:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 10:00:16] Production.INFO: ============== Deal alert START===========
[2025-01-10 10:00:16] Production.INFO: ============== Deal alert END===========
[2025-01-10 10:00:16] Production.INFO: ==3546== Releasing lock...
[2025-01-10 10:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 10:00:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 10:00:19] Production.INFO: count ==1791
[2025-01-10 10:00:19] Production.ERROR: pbx CDR StartTime 2025-01-10 07:00:05 - End Time 2025-01-10 10:00:05
[2025-01-10 10:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 10:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216164', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216164', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216164', 'tblTempVendorCDR_20' ) start
[2025-01-10 10:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216164', 'tblTempVendorCDR_20' ) end
[2025-01-10 10:00:19] Production.INFO: ProcessCDR(1,14216164,1,1,2)
[2025-01-10 10:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216164,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:00:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216164,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:00:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216164,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:00:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216164,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216164', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216164', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:00:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:00:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:00:24] Production.INFO: ==3556== Releasing lock...
[2025-01-10 10:00:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 10:00:24] Production.INFO: 41.75 MB #Memory Used#
[2025-01-10 15:01:01] Production.INFO: ==3619== Lock acquired, processing the job...
[2025-01-10 15:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 15:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 15:01:01] Production.INFO: neon service started
[2025-01-10 15:01:01] Production.INFO: neon service started
[2025-01-10 15:01:01] Production.INFO: ==3619== Releasing lock...
[2025-01-10 15:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 15:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 10:01:02] Production.INFO: ==3632== Lock acquired, processing the job...
[2025-01-10 10:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 10:01:02] Production.INFO: ==3632== Releasing lock...
[2025-01-10 10:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 10:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:01:02] Production.INFO: ==3634== Lock acquired, processing the job...
[2025-01-10 15:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:01:02] Production.INFO: ==3634== Releasing lock...
[2025-01-10 15:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 15:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 10:01:03] Production.INFO: ==3641== Lock acquired, processing the job...
[2025-01-10 10:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 10:01:03] Production.INFO: ==3639== Lock acquired, processing the job...
[2025-01-10 10:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 10:01:03] Production.INFO: ==3645== Lock acquired, processing the job...
[2025-01-10 10:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 10:01:03] Production.INFO: ==3637== Lock acquired, processing the job...
[2025-01-10 10:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 10:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 10:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 10:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 10:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 10:01:03] Production.INFO: ==3643== Lock acquired, processing the job...
[2025-01-10 10:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 10:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 10:01:03] Production.INFO: ==3647== Lock acquired, processing the job...
[2025-01-10 10:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 10:01:03] Production.INFO: Account Balance Start.
[2025-01-10 10:01:03] Production.INFO: CreateAllLog Start
[2025-01-10 10:01:03] Production.INFO: 117
[2025-01-10 10:01:03] Production.INFO: Date 2025-01-08
[2025-01-10 10:01:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:01:03] Production.ERROR: done
[2025-01-10 10:01:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 10:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:01:03] Production.INFO: Date 2025-01-09
[2025-01-10 10:01:03] Production.INFO: count ==21
[2025-01-10 10:01:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:01:03] Production.INFO: ==3639== Releasing lock...
[2025-01-10 10:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 10:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 10:01:03] Production.INFO: count ==21
[2025-01-10 10:01:04] Production.ERROR: done
[2025-01-10 10:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216168') start
[2025-01-10 10:01:04] Production.INFO: Date 2025-01-10
[2025-01-10 10:01:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:01:04] Production.INFO: Total Charge 0
[2025-01-10 10:01:04] Production.INFO: CreateAllLog End
[2025-01-10 10:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216168') end
[2025-01-10 10:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 10:01:04] Production.INFO: 1
[2025-01-10 10:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 10:01:04] Production.INFO: ==3647== Releasing lock...
[2025-01-10 10:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 10:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 10:01:04] Production.INFO: Account Balance End.
[2025-01-10 10:01:04] Production.ERROR: CronJobId end 12
[2025-01-10 10:01:04] Production.INFO: ==3643== Releasing lock...
[2025-01-10 10:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 10:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 10:01:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 07:01:04
[end_date_ymd] => 2025-01-10 10:01:04
[RateCDR] => 1
)
[2025-01-10 10:01:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 07:01:04' and `end` < '2025-01-10 10:01:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 10:01:12] Production.ERROR: CronJobId end10
[2025-01-10 10:01:12] Production.INFO: ==3641== Releasing lock...
[2025-01-10 10:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 10:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 10:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 10:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 10:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 10:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 10:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 10:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 10:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 10:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 10:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 10:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 10:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 10:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 10:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 10:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 10:01:13] Production.INFO: call_cost start
[2025-01-10 10:01:13] Production.INFO: call_cost end
[2025-01-10 10:01:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 10:01:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 10:01:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 10:01:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 10:01:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 10:01:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 10:01:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 10:01:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 10:01:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 10:01:14] Production.INFO: ==3637== Releasing lock...
[2025-01-10 10:01:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 10:01:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 10:01:20] Production.INFO: count ==1869
[2025-01-10 10:01:21] Production.ERROR: pbx CDR StartTime 2025-01-10 07:01:04 - End Time 2025-01-10 10:01:04
[2025-01-10 10:01:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 10:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216169', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216169', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216169', 'tblTempVendorCDR_20' ) start
[2025-01-10 10:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216169', 'tblTempVendorCDR_20' ) end
[2025-01-10 10:01:21] Production.INFO: ProcessCDR(1,14216169,1,1,2)
[2025-01-10 10:01:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216169,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:01:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216169,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:01:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216169,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:01:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216169,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:01:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216169', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:01:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216169', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:01:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:01:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:01:26] Production.INFO: ==3645== Releasing lock...
[2025-01-10 10:01:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 10:01:26] Production.INFO: 42 MB #Memory Used#
[2025-01-10 15:02:02] Production.INFO: ==3701== Lock acquired, processing the job...
[2025-01-10 15:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 15:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 15:02:02] Production.INFO: neon service started
[2025-01-10 15:02:02] Production.INFO: neon service started
[2025-01-10 15:02:02] Production.INFO: ==3701== Releasing lock...
[2025-01-10 15:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 15:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 10:02:02] Production.INFO: ==3703== Lock acquired, processing the job...
[2025-01-10 10:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 10:02:02] Production.INFO: ==3703== Releasing lock...
[2025-01-10 10:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 10:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:02:02] Production.INFO: ==3705== Lock acquired, processing the job...
[2025-01-10 15:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:02:03] Production.INFO: ==3705== Releasing lock...
[2025-01-10 15:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 15:02:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 10:02:03] Production.INFO: ==3715== Lock acquired, processing the job...
[2025-01-10 10:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 10:02:03] Production.INFO: ==3717== Lock acquired, processing the job...
[2025-01-10 10:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 10:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:02:03] Production.INFO: ==3709== Lock acquired, processing the job...
[2025-01-10 10:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 10:02:03] Production.INFO: ==3707== Lock acquired, processing the job...
[2025-01-10 10:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 10:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:02:03] Production.INFO: ==3711== Lock acquired, processing the job...
[2025-01-10 10:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 10:02:03] Production.INFO: ==3713== Lock acquired, processing the job...
[2025-01-10 10:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 10:02:03] Production.INFO: count ==21
[2025-01-10 10:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 10:02:03] Production.INFO: count ==21
[2025-01-10 10:02:04] Production.INFO: Account Balance Start.
[2025-01-10 10:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216170') start
[2025-01-10 10:02:04] Production.INFO: CreateAllLog Start
[2025-01-10 10:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 10:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 10:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 10:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 10:02:04] Production.INFO: 117
[2025-01-10 10:02:04] Production.INFO: Date 2025-01-08
[2025-01-10 10:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216170') end
[2025-01-10 10:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 10:02:04] Production.INFO: 1
[2025-01-10 10:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 10:02:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:02:04] Production.INFO: ==3717== Releasing lock...
[2025-01-10 10:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 10:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 10:02:04] Production.INFO: Date 2025-01-09
[2025-01-10 10:02:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:02:04] Production.ERROR: done
[2025-01-10 10:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 10:02:04] Production.INFO: Date 2025-01-10
[2025-01-10 10:02:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:02:04] Production.INFO: Total Charge 0
[2025-01-10 10:02:04] Production.INFO: CreateAllLog End
[2025-01-10 10:02:04] Production.INFO: ==3709== Releasing lock...
[2025-01-10 10:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 10:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 10:02:04] Production.ERROR: done
[2025-01-10 10:02:04] Production.INFO: Account Balance End.
[2025-01-10 10:02:04] Production.ERROR: CronJobId end 12
[2025-01-10 10:02:04] Production.INFO: ==3713== Releasing lock...
[2025-01-10 10:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 10:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 10:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 07:02:05
[end_date_ymd] => 2025-01-10 10:02:05
[RateCDR] => 1
)
[2025-01-10 10:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 07:02:05' and `end` < '2025-01-10 10:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 10:02:11] Production.ERROR: CronJobId end10
[2025-01-10 10:02:11] Production.INFO: ==3711== Releasing lock...
[2025-01-10 10:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 10:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 10:02:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 10:02:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 10:02:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 10:02:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 10:02:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 10:02:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 10:02:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 10:02:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 10:02:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 10:02:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 10:02:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 10:02:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 10:02:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 10:02:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 10:02:12] Production.INFO: call_cost start
[2025-01-10 10:02:12] Production.INFO: call_cost end
[2025-01-10 10:02:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 10:02:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 10:02:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 10:02:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 10:02:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 10:02:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 10:02:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 10:02:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 10:02:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 10:02:13] Production.INFO: ==3707== Releasing lock...
[2025-01-10 10:02:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 10:02:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 10:02:23] Production.INFO: count ==1885
[2025-01-10 10:02:23] Production.ERROR: pbx CDR StartTime 2025-01-10 07:02:05 - End Time 2025-01-10 10:02:05
[2025-01-10 10:02:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 10:02:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216174', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:02:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216174', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:02:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216174', 'tblTempVendorCDR_20' ) start
[2025-01-10 10:02:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216174', 'tblTempVendorCDR_20' ) end
[2025-01-10 10:02:23] Production.INFO: ProcessCDR(1,14216174,1,1,2)
[2025-01-10 10:02:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216174,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:02:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216174,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:02:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216174,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:02:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216174,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:02:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216174', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:02:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216174', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:02:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:02:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:02:28] Production.INFO: ==3715== Releasing lock...
[2025-01-10 10:02:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 10:02:28] Production.INFO: 42.25 MB #Memory Used#
[2025-01-10 15:03:01] Production.INFO: ==3773== Lock acquired, processing the job...
[2025-01-10 15:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 15:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 15:03:01] Production.INFO: neon service started
[2025-01-10 15:03:01] Production.INFO: neon service started
[2025-01-10 15:03:01] Production.INFO: ==3773== Releasing lock...
[2025-01-10 15:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 15:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 10:03:02] Production.INFO: ==3775== Lock acquired, processing the job...
[2025-01-10 10:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 10:03:02] Production.INFO: ==3775== Releasing lock...
[2025-01-10 10:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 10:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:03:02] Production.INFO: ==3777== Lock acquired, processing the job...
[2025-01-10 15:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:03:02] Production.INFO: ==3777== Releasing lock...
[2025-01-10 15:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 15:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 10:03:03] Production.INFO: ==3783== Lock acquired, processing the job...
[2025-01-10 10:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 10:03:03] Production.INFO: ==3787== Lock acquired, processing the job...
[2025-01-10 10:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 10:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:03:03] Production.INFO: ==3779== Lock acquired, processing the job...
[2025-01-10 10:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 10:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 10:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 10:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 10:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 10:03:03] Production.INFO: ==3781== Lock acquired, processing the job...
[2025-01-10 10:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 10:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 10:03:03] Production.INFO: ==3785== Lock acquired, processing the job...
[2025-01-10 10:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 10:03:03] Production.INFO: ==3790== Lock acquired, processing the job...
[2025-01-10 10:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 10:03:03] Production.ERROR: done
[2025-01-10 10:03:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 10:03:03] Production.INFO: Account Balance Start.
[2025-01-10 10:03:03] Production.INFO: CreateAllLog Start
[2025-01-10 10:03:03] Production.INFO: 117
[2025-01-10 10:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:03:03] Production.INFO: Date 2025-01-08
[2025-01-10 10:03:03] Production.INFO: count ==21
[2025-01-10 10:03:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:03:03] Production.ERROR: done
[2025-01-10 10:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:03:03] Production.INFO: count ==21
[2025-01-10 10:03:03] Production.INFO: Date 2025-01-09
[2025-01-10 10:03:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216178') start
[2025-01-10 10:03:03] Production.INFO: Date 2025-01-10
[2025-01-10 10:03:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:03:03] Production.INFO: Total Charge 0
[2025-01-10 10:03:03] Production.INFO: CreateAllLog End
[2025-01-10 10:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216178') end
[2025-01-10 10:03:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 10:03:03] Production.INFO: 1
[2025-01-10 10:03:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 10:03:04] Production.INFO: ==3781== Releasing lock...
[2025-01-10 10:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 10:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 10:03:04] Production.INFO: ==3790== Releasing lock...
[2025-01-10 10:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 10:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 10:03:04] Production.INFO: Account Balance End.
[2025-01-10 10:03:04] Production.ERROR: CronJobId end 12
[2025-01-10 10:03:04] Production.INFO: ==3785== Releasing lock...
[2025-01-10 10:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 10:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 10:03:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 07:03:04
[end_date_ymd] => 2025-01-10 10:03:04
[RateCDR] => 1
)
[2025-01-10 10:03:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 07:03:04' and `end` < '2025-01-10 10:03:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 10:03:11] Production.ERROR: CronJobId end10
[2025-01-10 10:03:11] Production.INFO: ==3783== Releasing lock...
[2025-01-10 10:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 10:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 10:03:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 10:03:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 10:03:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 10:03:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 10:03:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 10:03:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 10:03:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 10:03:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 10:03:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 10:03:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 10:03:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 10:03:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 10:03:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 10:03:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 10:03:12] Production.INFO: call_cost start
[2025-01-10 10:03:12] Production.INFO: call_cost end
[2025-01-10 10:03:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 10:03:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 10:03:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 10:03:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 10:03:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 10:03:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 10:03:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 10:03:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 10:03:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 10:03:13] Production.INFO: ==3779== Releasing lock...
[2025-01-10 10:03:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 10:03:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 10:03:20] Production.INFO: count ==1905
[2025-01-10 10:03:21] Production.ERROR: pbx CDR StartTime 2025-01-10 07:03:04 - End Time 2025-01-10 10:03:04
[2025-01-10 10:03:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 10:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216179', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216179', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216179', 'tblTempVendorCDR_20' ) start
[2025-01-10 10:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216179', 'tblTempVendorCDR_20' ) end
[2025-01-10 10:03:21] Production.INFO: ProcessCDR(1,14216179,1,1,2)
[2025-01-10 10:03:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216179,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:03:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216179,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:03:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216179,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:03:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216179,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:03:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216179', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:03:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216179', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:03:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:03:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:03:25] Production.INFO: ==3787== Releasing lock...
[2025-01-10 10:03:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 10:03:25] Production.INFO: 42.25 MB #Memory Used#
[2025-01-10 15:04:02] Production.INFO: ==3843== Lock acquired, processing the job...
[2025-01-10 15:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 15:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 15:04:02] Production.INFO: neon service started
[2025-01-10 15:04:02] Production.INFO: neon service started
[2025-01-10 15:04:02] Production.INFO: ==3843== Releasing lock...
[2025-01-10 15:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 15:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 10:04:02] Production.INFO: ==3845== Lock acquired, processing the job...
[2025-01-10 10:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 15:04:02] Production.INFO: ==3847== Lock acquired, processing the job...
[2025-01-10 15:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:04:02] Production.INFO: ==3847== Releasing lock...
[2025-01-10 15:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 15:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 10:04:03] Production.INFO: ==3845== Releasing lock...
[2025-01-10 10:04:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 10:04:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:04:03] Production.INFO: ==3850== Lock acquired, processing the job...
[2025-01-10 10:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 10:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 10:04:03] Production.INFO: ==3854== Lock acquired, processing the job...
[2025-01-10 10:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 10:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 10:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 10:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 10:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 10:04:03] Production.INFO: ==3856== Lock acquired, processing the job...
[2025-01-10 10:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 10:04:04] Production.INFO: Account Balance Start.
[2025-01-10 10:04:04] Production.INFO: CreateAllLog Start
[2025-01-10 10:04:04] Production.INFO: 117
[2025-01-10 10:04:04] Production.INFO: Date 2025-01-08
[2025-01-10 10:04:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:04:04] Production.INFO: ==3852== Lock acquired, processing the job...
[2025-01-10 10:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 10:04:04] Production.INFO: Date 2025-01-09
[2025-01-10 10:04:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:04:04] Production.INFO: Date 2025-01-10
[2025-01-10 10:04:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:04:04] Production.INFO: Total Charge 0
[2025-01-10 10:04:04] Production.INFO: CreateAllLog End
[2025-01-10 10:04:04] Production.INFO: ==3858== Lock acquired, processing the job...
[2025-01-10 10:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 10:04:04] Production.INFO: ==3860== Lock acquired, processing the job...
[2025-01-10 10:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 10:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:04:04] Production.INFO: Account Balance End.
[2025-01-10 10:04:04] Production.ERROR: CronJobId end 12
[2025-01-10 10:04:04] Production.INFO: ==3856== Releasing lock...
[2025-01-10 10:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 10:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 10:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:04:04] Production.INFO: count ==21
[2025-01-10 10:04:04] Production.INFO: ==3852== Releasing lock...
[2025-01-10 10:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 10:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 10:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:04:04] Production.INFO: count ==21
[2025-01-10 10:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216183') start
[2025-01-10 10:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216183') end
[2025-01-10 10:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 10:04:04] Production.INFO: 1
[2025-01-10 10:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 10:04:04] Production.ERROR: done
[2025-01-10 10:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 10:04:04] Production.INFO: ==3860== Releasing lock...
[2025-01-10 10:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 10:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 10:04:04] Production.ERROR: done
[2025-01-10 10:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 07:04:05
[end_date_ymd] => 2025-01-10 10:04:05
[RateCDR] => 1
)
[2025-01-10 10:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 07:04:05' and `end` < '2025-01-10 10:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 10:04:11] Production.ERROR: CronJobId end10
[2025-01-10 10:04:11] Production.INFO: ==3854== Releasing lock...
[2025-01-10 10:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 10:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 10:04:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 10:04:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 10:04:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 10:04:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 10:04:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 10:04:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 10:04:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 10:04:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 10:04:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 10:04:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 10:04:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 10:04:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 10:04:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 10:04:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 10:04:13] Production.INFO: call_cost start
[2025-01-10 10:04:13] Production.INFO: call_cost end
[2025-01-10 10:04:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 10:04:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 10:04:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 10:04:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 10:04:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 10:04:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 10:04:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 10:04:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 10:04:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 10:04:14] Production.INFO: ==3850== Releasing lock...
[2025-01-10 10:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 10:04:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 10:04:23] Production.INFO: count ==1917
[2025-01-10 10:04:24] Production.ERROR: pbx CDR StartTime 2025-01-10 07:04:05 - End Time 2025-01-10 10:04:05
[2025-01-10 10:04:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 10:04:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216184', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:04:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216184', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:04:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216184', 'tblTempVendorCDR_20' ) start
[2025-01-10 10:04:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216184', 'tblTempVendorCDR_20' ) end
[2025-01-10 10:04:24] Production.INFO: ProcessCDR(1,14216184,1,1,2)
[2025-01-10 10:04:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216184,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:04:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216184,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:04:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216184,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:04:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216184,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:04:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216184', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:04:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216184', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:04:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:04:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:04:29] Production.INFO: ==3858== Releasing lock...
[2025-01-10 10:04:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 10:04:29] Production.INFO: 42.75 MB #Memory Used#
[2025-01-10 15:05:01] Production.INFO: ==3914== Lock acquired, processing the job...
[2025-01-10 15:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 15:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 15:05:01] Production.INFO: neon service started
[2025-01-10 15:05:01] Production.INFO: neon service started
[2025-01-10 15:05:01] Production.INFO: ==3914== Releasing lock...
[2025-01-10 15:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 15:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 10:05:02] Production.INFO: ==3916== Lock acquired, processing the job...
[2025-01-10 10:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 10:05:02] Production.INFO: ==3916== Releasing lock...
[2025-01-10 10:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 10:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:05:02] Production.INFO: ==3918== Lock acquired, processing the job...
[2025-01-10 15:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:05:02] Production.INFO: ==3918== Releasing lock...
[2025-01-10 15:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 15:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 10:05:03] Production.INFO: ==3920== Lock acquired, processing the job...
[2025-01-10 10:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 10:05:03] Production.INFO: ==3922== Lock acquired, processing the job...
[2025-01-10 10:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 10:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 10:05:03] Production.INFO: ==3924== Lock acquired, processing the job...
[2025-01-10 10:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 10:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 10:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 10:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 10:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 10:05:03] Production.INFO: ==3922== Releasing lock...
[2025-01-10 10:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 10:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 10:05:03] Production.INFO: ==3927== Lock acquired, processing the job...
[2025-01-10 10:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 10:05:03] Production.INFO: ==3929== Lock acquired, processing the job...
[2025-01-10 10:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 10:05:03] Production.INFO: Account Balance Start.
[2025-01-10 10:05:03] Production.INFO: CreateAllLog Start
[2025-01-10 10:05:03] Production.INFO: 117
[2025-01-10 10:05:03] Production.INFO: Date 2025-01-08
[2025-01-10 10:05:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:05:03] Production.INFO: Date 2025-01-09
[2025-01-10 10:05:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:05:03] Production.INFO: Date 2025-01-10
[2025-01-10 10:05:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:05:03] Production.INFO: Total Charge 0
[2025-01-10 10:05:03] Production.INFO: CreateAllLog End
[2025-01-10 10:05:03] Production.INFO: ==3931== Lock acquired, processing the job...
[2025-01-10 10:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 10:05:04] Production.INFO: Account Balance End.
[2025-01-10 10:05:04] Production.ERROR: done
[2025-01-10 10:05:04] Production.ERROR: CronJobId end 12
[2025-01-10 10:05:04] Production.INFO: ==3927== Releasing lock...
[2025-01-10 10:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 10:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 10:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 10:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:05:04] Production.INFO: count ==21
[2025-01-10 10:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:05:04] Production.INFO: count ==21
[2025-01-10 10:05:04] Production.ERROR: done
[2025-01-10 10:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216188') start
[2025-01-10 10:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216188') end
[2025-01-10 10:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 10:05:04] Production.INFO: 1
[2025-01-10 10:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 10:05:04] Production.INFO: ==3931== Releasing lock...
[2025-01-10 10:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 10:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 10:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 07:05:05
[end_date_ymd] => 2025-01-10 10:05:05
[RateCDR] => 1
)
[2025-01-10 10:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 07:05:05' and `end` < '2025-01-10 10:05:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 10:05:10] Production.ERROR: CronJobId end10
[2025-01-10 10:05:10] Production.INFO: ==3924== Releasing lock...
[2025-01-10 10:05:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 10:05:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 10:05:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 10:05:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 10:05:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 10:05:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 10:05:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 10:05:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 10:05:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 10:05:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 10:05:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 10:05:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 10:05:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 10:05:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 10:05:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 10:05:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 10:05:12] Production.INFO: call_cost start
[2025-01-10 10:05:12] Production.INFO: call_cost end
[2025-01-10 10:05:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 10:05:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 10:05:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 10:05:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 10:05:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 10:05:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 10:05:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 10:05:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 10:05:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 10:05:13] Production.INFO: ==3920== Releasing lock...
[2025-01-10 10:05:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 10:05:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 10:05:23] Production.INFO: count ==1948
[2025-01-10 10:05:23] Production.ERROR: pbx CDR StartTime 2025-01-10 07:05:05 - End Time 2025-01-10 10:05:05
[2025-01-10 10:05:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 10:05:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216189', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:05:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216189', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:05:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216189', 'tblTempVendorCDR_20' ) start
[2025-01-10 10:05:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216189', 'tblTempVendorCDR_20' ) end
[2025-01-10 10:05:23] Production.INFO: ProcessCDR(1,14216189,1,1,2)
[2025-01-10 10:05:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216189,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:05:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216189,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:05:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216189,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:05:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216189,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:05:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216189', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:05:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216189', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:05:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:05:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:05:28] Production.INFO: ==3929== Releasing lock...
[2025-01-10 10:05:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 10:05:28] Production.INFO: 42.75 MB #Memory Used#
[2025-01-10 15:06:02] Production.INFO: ==3985== Lock acquired, processing the job...
[2025-01-10 15:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 15:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 15:06:02] Production.INFO: neon service started
[2025-01-10 15:06:02] Production.INFO: neon service started
[2025-01-10 15:06:02] Production.INFO: ==3985== Releasing lock...
[2025-01-10 15:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 15:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 10:06:02] Production.INFO: ==3987== Lock acquired, processing the job...
[2025-01-10 10:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 10:06:02] Production.INFO: ==3987== Releasing lock...
[2025-01-10 10:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 10:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:06:03] Production.INFO: ==3989== Lock acquired, processing the job...
[2025-01-10 15:06:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:06:03] Production.INFO: ==3989== Releasing lock...
[2025-01-10 15:06:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 15:06:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 10:06:03] Production.INFO: ==3994== Lock acquired, processing the job...
[2025-01-10 10:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 10:06:03] Production.INFO: ==3996== Lock acquired, processing the job...
[2025-01-10 10:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 10:06:03] Production.INFO: ==4000== Lock acquired, processing the job...
[2025-01-10 10:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 10:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 10:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 10:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 10:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 10:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:06:03] Production.INFO: ==4002== Lock acquired, processing the job...
[2025-01-10 10:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 10:06:04] Production.INFO: ==3992== Lock acquired, processing the job...
[2025-01-10 10:06:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 10:06:04] Production.INFO: ==3998== Lock acquired, processing the job...
[2025-01-10 10:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 10:06:04] Production.ERROR: done
[2025-01-10 10:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 10:06:04] Production.INFO: ==3994== Releasing lock...
[2025-01-10 10:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 10:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 10:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:06:04] Production.INFO: Account Balance Start.
[2025-01-10 10:06:04] Production.INFO: CreateAllLog Start
[2025-01-10 10:06:04] Production.INFO: 117
[2025-01-10 10:06:04] Production.INFO: Date 2025-01-08
[2025-01-10 10:06:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:06:04] Production.INFO: count ==21
[2025-01-10 10:06:04] Production.INFO: Date 2025-01-09
[2025-01-10 10:06:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:06:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 10:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:06:04] Production.INFO: count ==21
[2025-01-10 10:06:04] Production.ERROR: done
[2025-01-10 10:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216191') start
[2025-01-10 10:06:04] Production.INFO: Date 2025-01-10
[2025-01-10 10:06:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:06:04] Production.INFO: Total Charge 0
[2025-01-10 10:06:04] Production.INFO: CreateAllLog End
[2025-01-10 10:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216191') end
[2025-01-10 10:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 10:06:04] Production.INFO: 1
[2025-01-10 10:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 10:06:04] Production.INFO: Account Balance End.
[2025-01-10 10:06:04] Production.INFO: ==4002== Releasing lock...
[2025-01-10 10:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 10:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 10:06:04] Production.ERROR: CronJobId end 12
[2025-01-10 10:06:04] Production.INFO: ==3998== Releasing lock...
[2025-01-10 10:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 10:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 10:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 07:06:05
[end_date_ymd] => 2025-01-10 10:06:05
[RateCDR] => 1
)
[2025-01-10 10:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 07:06:05' and `end` < '2025-01-10 10:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 10:06:11] Production.ERROR: CronJobId end10
[2025-01-10 10:06:11] Production.INFO: ==3996== Releasing lock...
[2025-01-10 10:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 10:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 10:06:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 10:06:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 10:06:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 10:06:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 10:06:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 10:06:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 10:06:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 10:06:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 10:06:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 10:06:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 10:06:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 10:06:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 10:06:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 10:06:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 10:06:12] Production.INFO: call_cost start
[2025-01-10 10:06:12] Production.INFO: call_cost end
[2025-01-10 10:06:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 10:06:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 10:06:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 10:06:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 10:06:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 10:06:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 10:06:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 10:06:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 10:06:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 10:06:13] Production.INFO: ==3992== Releasing lock...
[2025-01-10 10:06:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 10:06:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 10:06:27] Production.INFO: count ==1972
[2025-01-10 10:06:28] Production.ERROR: pbx CDR StartTime 2025-01-10 07:06:05 - End Time 2025-01-10 10:06:05
[2025-01-10 10:06:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 10:06:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216194', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:06:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216194', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:06:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216194', 'tblTempVendorCDR_20' ) start
[2025-01-10 10:06:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216194', 'tblTempVendorCDR_20' ) end
[2025-01-10 10:06:28] Production.INFO: ProcessCDR(1,14216194,1,1,2)
[2025-01-10 10:06:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216194,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:06:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216194,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:06:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216194,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:06:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216194,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:06:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216194', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:06:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216194', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:06:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:06:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:06:32] Production.INFO: ==4000== Releasing lock...
[2025-01-10 10:06:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 10:06:32] Production.INFO: 42.75 MB #Memory Used#
[2025-01-10 15:07:01] Production.INFO: ==4062== Lock acquired, processing the job...
[2025-01-10 15:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 15:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 15:07:01] Production.INFO: neon service started
[2025-01-10 15:07:01] Production.INFO: neon service started
[2025-01-10 15:07:01] Production.INFO: ==4062== Releasing lock...
[2025-01-10 15:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 15:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 10:07:01] Production.INFO: ==4064== Lock acquired, processing the job...
[2025-01-10 10:07:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 10:07:02] Production.INFO: ==4064== Releasing lock...
[2025-01-10 10:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 10:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:07:02] Production.INFO: ==4066== Lock acquired, processing the job...
[2025-01-10 15:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:07:02] Production.INFO: ==4066== Releasing lock...
[2025-01-10 15:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 15:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 10:07:03] Production.INFO: ==4072== Lock acquired, processing the job...
[2025-01-10 10:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 10:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 10:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 10:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 10:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 10:07:03] Production.INFO: ==4078== Lock acquired, processing the job...
[2025-01-10 10:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 10:07:03] Production.INFO: ==4070== Lock acquired, processing the job...
[2025-01-10 10:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 10:07:03] Production.INFO: ==4068== Lock acquired, processing the job...
[2025-01-10 10:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 10:07:03] Production.INFO: ==4074== Lock acquired, processing the job...
[2025-01-10 10:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 10:07:03] Production.INFO: ==4076== Lock acquired, processing the job...
[2025-01-10 10:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 10:07:03] Production.INFO: Account Balance Start.
[2025-01-10 10:07:03] Production.INFO: CreateAllLog Start
[2025-01-10 10:07:03] Production.INFO: 117
[2025-01-10 10:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:07:03] Production.INFO: Date 2025-01-08
[2025-01-10 10:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 10:07:03] Production.INFO: count ==21
[2025-01-10 10:07:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:07:03] Production.INFO: count ==21
[2025-01-10 10:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216196') start
[2025-01-10 10:07:03] Production.INFO: ==4070== Releasing lock...
[2025-01-10 10:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 10:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 10:07:03] Production.INFO: Date 2025-01-09
[2025-01-10 10:07:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216196') end
[2025-01-10 10:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 10:07:03] Production.INFO: 1
[2025-01-10 10:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 10:07:03] Production.ERROR: done
[2025-01-10 10:07:03] Production.INFO: Date 2025-01-10
[2025-01-10 10:07:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 10:07:03] Production.INFO: ==4078== Releasing lock...
[2025-01-10 10:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 10:07:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 10:07:03] Production.INFO: Total Charge 0
[2025-01-10 10:07:03] Production.INFO: CreateAllLog End
[2025-01-10 10:07:03] Production.ERROR: done
[2025-01-10 10:07:03] Production.INFO: Account Balance End.
[2025-01-10 10:07:03] Production.ERROR: CronJobId end 12
[2025-01-10 10:07:03] Production.INFO: ==4074== Releasing lock...
[2025-01-10 10:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 10:07:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 10:07:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 07:07:04
[end_date_ymd] => 2025-01-10 10:07:04
[RateCDR] => 1
)
[2025-01-10 10:07:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 07:07:04' and `end` < '2025-01-10 10:07:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 10:07:10] Production.ERROR: CronJobId end10
[2025-01-10 10:07:10] Production.INFO: ==4072== Releasing lock...
[2025-01-10 10:07:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 10:07:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 10:07:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 10:07:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 10:07:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 10:07:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 10:07:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 10:07:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 10:07:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 10:07:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 10:07:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 10:07:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 10:07:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 10:07:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 10:07:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 10:07:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 10:07:12] Production.INFO: call_cost start
[2025-01-10 10:07:12] Production.INFO: call_cost end
[2025-01-10 10:07:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 10:07:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 10:07:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 10:07:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 10:07:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 10:07:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 10:07:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 10:07:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 10:07:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 10:07:13] Production.INFO: ==4068== Releasing lock...
[2025-01-10 10:07:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 10:07:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 10:07:26] Production.INFO: count ==1993
[2025-01-10 10:07:27] Production.ERROR: pbx CDR StartTime 2025-01-10 07:07:04 - End Time 2025-01-10 10:07:04
[2025-01-10 10:07:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 10:07:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216199', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:07:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216199', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:07:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216199', 'tblTempVendorCDR_20' ) start
[2025-01-10 10:07:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216199', 'tblTempVendorCDR_20' ) end
[2025-01-10 10:07:27] Production.INFO: ProcessCDR(1,14216199,1,1,2)
[2025-01-10 10:07:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216199,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:07:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216199,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:07:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216199,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:07:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216199,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:07:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216199', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:07:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216199', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:07:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:07:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:07:32] Production.INFO: ==4076== Releasing lock...
[2025-01-10 10:07:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 10:07:32] Production.INFO: 43 MB #Memory Used#
[2025-01-10 15:08:02] Production.INFO: ==4133== Lock acquired, processing the job...
[2025-01-10 15:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 15:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 15:08:02] Production.INFO: neon service started
[2025-01-10 15:08:02] Production.INFO: neon service started
[2025-01-10 15:08:02] Production.INFO: ==4133== Releasing lock...
[2025-01-10 15:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 15:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 15:08:02] Production.INFO: ==4137== Lock acquired, processing the job...
[2025-01-10 15:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:08:02] Production.INFO: ==4137== Releasing lock...
[2025-01-10 15:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 15:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 10:08:02] Production.INFO: ==4135== Lock acquired, processing the job...
[2025-01-10 10:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 10:08:02] Production.INFO: ==4135== Releasing lock...
[2025-01-10 10:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 10:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:08:03] Production.INFO: ==4139== Lock acquired, processing the job...
[2025-01-10 10:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 10:08:03] Production.INFO: ==4141== Lock acquired, processing the job...
[2025-01-10 10:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 10:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 10:08:03] Production.INFO: ==4145== Lock acquired, processing the job...
[2025-01-10 10:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 10:08:03] Production.INFO: ==4143== Lock acquired, processing the job...
[2025-01-10 10:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 10:08:03] Production.INFO: Account Balance Start.
[2025-01-10 10:08:03] Production.INFO: CreateAllLog Start
[2025-01-10 10:08:03] Production.INFO: 117
[2025-01-10 10:08:03] Production.INFO: Date 2025-01-08
[2025-01-10 10:08:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 10:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 10:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 10:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 10:08:03] Production.INFO: ==4147== Lock acquired, processing the job...
[2025-01-10 10:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 10:08:03] Production.INFO: ==4149== Lock acquired, processing the job...
[2025-01-10 10:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 10:08:03] Production.INFO: ==4141== Releasing lock...
[2025-01-10 10:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 10:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 10:08:03] Production.INFO: Date 2025-01-09
[2025-01-10 10:08:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:08:04] Production.INFO: Date 2025-01-10
[2025-01-10 10:08:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:08:04] Production.INFO: Total Charge 0
[2025-01-10 10:08:04] Production.INFO: CreateAllLog End
[2025-01-10 10:08:04] Production.INFO: count ==21
[2025-01-10 10:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:08:04] Production.INFO: count ==21
[2025-01-10 10:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216203') start
[2025-01-10 10:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216203') end
[2025-01-10 10:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 10:08:04] Production.INFO: 1
[2025-01-10 10:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 10:08:04] Production.INFO: ==4149== Releasing lock...
[2025-01-10 10:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 10:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 10:08:04] Production.ERROR: done
[2025-01-10 10:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 10:08:04] Production.INFO: Account Balance End.
[2025-01-10 10:08:04] Production.ERROR: done
[2025-01-10 10:08:04] Production.ERROR: CronJobId end 12
[2025-01-10 10:08:04] Production.INFO: ==4145== Releasing lock...
[2025-01-10 10:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 10:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 10:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 07:08:05
[end_date_ymd] => 2025-01-10 10:08:05
[RateCDR] => 1
)
[2025-01-10 10:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 07:08:05' and `end` < '2025-01-10 10:08:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 10:08:11] Production.ERROR: CronJobId end10
[2025-01-10 10:08:11] Production.INFO: ==4143== Releasing lock...
[2025-01-10 10:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 10:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 10:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 10:08:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 10:08:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 10:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 10:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 10:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 10:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 10:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 10:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 10:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 10:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 10:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 10:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 10:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 10:08:13] Production.INFO: call_cost start
[2025-01-10 10:08:13] Production.INFO: call_cost end
[2025-01-10 10:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 10:08:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 10:08:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 10:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 10:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 10:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 10:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 10:08:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 10:08:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 10:08:14] Production.INFO: ==4139== Releasing lock...
[2025-01-10 10:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 10:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 10:08:22] Production.INFO: count ==2002
[2025-01-10 10:08:23] Production.ERROR: pbx CDR StartTime 2025-01-10 07:08:05 - End Time 2025-01-10 10:08:05
[2025-01-10 10:08:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 10:08:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216204', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:08:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216204', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:08:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216204', 'tblTempVendorCDR_20' ) start
[2025-01-10 10:08:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216204', 'tblTempVendorCDR_20' ) end
[2025-01-10 10:08:23] Production.INFO: ProcessCDR(1,14216204,1,1,2)
[2025-01-10 10:08:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216204,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:08:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216204,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:08:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216204,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:08:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216204,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:08:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216204', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:08:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216204', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:08:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:08:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:08:27] Production.INFO: ==4147== Releasing lock...
[2025-01-10 10:08:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 10:08:27] Production.INFO: 43 MB #Memory Used#
[2025-01-10 15:09:01] Production.INFO: ==4225== Lock acquired, processing the job...
[2025-01-10 15:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 15:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 15:09:01] Production.INFO: neon service started
[2025-01-10 15:09:01] Production.INFO: neon service started
[2025-01-10 15:09:01] Production.INFO: ==4225== Releasing lock...
[2025-01-10 15:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 15:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 15:09:01] Production.INFO: ==4229== Lock acquired, processing the job...
[2025-01-10 15:09:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:09:01] Production.INFO: ==4229== Releasing lock...
[2025-01-10 15:09:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 15:09:01] Production.INFO: 25 MB #Memory Used#
[2025-01-10 10:09:01] Production.INFO: ==4227== Lock acquired, processing the job...
[2025-01-10 10:09:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 10:09:02] Production.INFO: ==4227== Releasing lock...
[2025-01-10 10:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 10:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:09:02] Production.INFO: ==4234== Lock acquired, processing the job...
[2025-01-10 10:09:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 10:09:03] Production.INFO: ==4232== Lock acquired, processing the job...
[2025-01-10 10:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 10:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 10:09:03] Production.INFO: ==4242== Lock acquired, processing the job...
[2025-01-10 10:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 10:09:03] Production.INFO: ==4236== Lock acquired, processing the job...
[2025-01-10 10:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 10:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 10:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 10:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 10:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 10:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:09:03] Production.INFO: ==4234== Releasing lock...
[2025-01-10 10:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 10:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 10:09:03] Production.INFO: ==4240== Lock acquired, processing the job...
[2025-01-10 10:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 10:09:03] Production.INFO: count ==21
[2025-01-10 10:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:09:03] Production.INFO: ==4238== Lock acquired, processing the job...
[2025-01-10 10:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 10:09:03] Production.INFO: count ==21
[2025-01-10 10:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216207') start
[2025-01-10 10:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:09:03] Production.INFO: Account Balance Start.
[2025-01-10 10:09:03] Production.INFO: CreateAllLog Start
[2025-01-10 10:09:03] Production.INFO: 117
[2025-01-10 10:09:03] Production.INFO: Date 2025-01-08
[2025-01-10 10:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216207') end
[2025-01-10 10:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 10:09:03] Production.INFO: 1
[2025-01-10 10:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 10:09:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:09:03] Production.INFO: ==4242== Releasing lock...
[2025-01-10 10:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 10:09:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 10:09:03] Production.INFO: Date 2025-01-09
[2025-01-10 10:09:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:09:03] Production.ERROR: done
[2025-01-10 10:09:03] Production.INFO: Date 2025-01-10
[2025-01-10 10:09:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:09:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 10:09:03] Production.INFO: Total Charge 0
[2025-01-10 10:09:03] Production.INFO: CreateAllLog End
[2025-01-10 10:09:03] Production.ERROR: done
[2025-01-10 10:09:04] Production.INFO: Account Balance End.
[2025-01-10 10:09:04] Production.ERROR: CronJobId end 12
[2025-01-10 10:09:04] Production.INFO: ==4238== Releasing lock...
[2025-01-10 10:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 10:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 10:09:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 07:09:04
[end_date_ymd] => 2025-01-10 10:09:04
[RateCDR] => 1
)
[2025-01-10 10:09:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 07:09:04' and `end` < '2025-01-10 10:09:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 10:09:11] Production.ERROR: CronJobId end10
[2025-01-10 10:09:11] Production.INFO: ==4236== Releasing lock...
[2025-01-10 10:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 10:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 10:09:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 10:09:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 10:09:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 10:09:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 10:09:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 10:09:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 10:09:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 10:09:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 10:09:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 10:09:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 10:09:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 10:09:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 10:09:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 10:09:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 10:09:13] Production.INFO: call_cost start
[2025-01-10 10:09:13] Production.INFO: call_cost end
[2025-01-10 10:09:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 10:09:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 10:09:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 10:09:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 10:09:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 10:09:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 10:09:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 10:09:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 10:09:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 10:09:13] Production.INFO: ==4232== Releasing lock...
[2025-01-10 10:09:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 10:09:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 10:09:22] Production.INFO: count ==2013
[2025-01-10 10:09:23] Production.ERROR: pbx CDR StartTime 2025-01-10 07:09:04 - End Time 2025-01-10 10:09:04
[2025-01-10 10:09:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 10:09:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216209', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:09:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216209', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:09:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216209', 'tblTempVendorCDR_20' ) start
[2025-01-10 10:09:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216209', 'tblTempVendorCDR_20' ) end
[2025-01-10 10:09:23] Production.INFO: ProcessCDR(1,14216209,1,1,2)
[2025-01-10 10:09:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216209,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:09:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216209,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:09:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216209,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:09:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216209,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:09:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216209', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:09:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216209', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:09:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:09:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:09:28] Production.INFO: ==4240== Releasing lock...
[2025-01-10 10:09:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 10:09:28] Production.INFO: 43.25 MB #Memory Used#
[2025-01-10 15:10:01] Production.INFO: ==4398== Lock acquired, processing the job...
[2025-01-10 15:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 15:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 15:10:01] Production.INFO: neon service started
[2025-01-10 15:10:01] Production.INFO: neon service started
[2025-01-10 15:10:01] Production.INFO: ==4398== Releasing lock...
[2025-01-10 15:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 15:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 10:10:02] Production.INFO: ==4400== Lock acquired, processing the job...
[2025-01-10 10:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 15:10:02] Production.INFO: ==4402== Lock acquired, processing the job...
[2025-01-10 15:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:10:02] Production.INFO: ==4402== Releasing lock...
[2025-01-10 15:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 15:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 10:10:02] Production.INFO: ==4400== Releasing lock...
[2025-01-10 10:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 10:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:10:03] Production.INFO: ==4405== Lock acquired, processing the job...
[2025-01-10 10:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 10:10:03] Production.INFO: ==4409== Lock acquired, processing the job...
[2025-01-10 10:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 10:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 10:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 10:10:03] Production.INFO: ==4405== Releasing lock...
[2025-01-10 10:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 10:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 10:10:03] Production.INFO: ==4407== Lock acquired, processing the job...
[2025-01-10 10:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 10:10:03] Production.INFO: ==4411== Lock acquired, processing the job...
[2025-01-10 10:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 10:10:03] Production.INFO: ==4419== Lock acquired, processing the job...
[2025-01-10 10:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 10:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 10:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 10:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 10:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 10:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 10:10:04] Production.INFO: ==4414== Lock acquired, processing the job...
[2025-01-10 10:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 10:10:04] Production.INFO: ==4417== Lock acquired, processing the job...
[2025-01-10 10:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 10:10:04] Production.INFO: ==4409== Releasing lock...
[2025-01-10 10:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 10:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 10:10:04] Production.INFO: Account Balance Start.
[2025-01-10 10:10:04] Production.INFO: CreateAllLog Start
[2025-01-10 10:10:04] Production.INFO: 117
[2025-01-10 10:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:10:04] Production.INFO: Date 2025-01-08
[2025-01-10 10:10:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:10:04] Production.INFO: Date 2025-01-09
[2025-01-10 10:10:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:10:04] Production.INFO: ==4421== Lock acquired, processing the job...
[2025-01-10 10:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 10:10:04] Production.INFO: Date 2025-01-10
[2025-01-10 10:10:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:10:04] Production.INFO: Total Charge 0
[2025-01-10 10:10:04] Production.ERROR: done
[2025-01-10 10:10:04] Production.INFO: CreateAllLog End
[2025-01-10 10:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 10:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14216214', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 10:10:04] Production.INFO: count ==21
[2025-01-10 10:10:04] Production.ERROR: done
[2025-01-10 10:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 10:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:10:04] Production.INFO: count ==21
[2025-01-10 10:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216213') start
[2025-01-10 10:10:04] Production.ERROR: done
[2025-01-10 10:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216213') end
[2025-01-10 10:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 10:10:04] Production.INFO: 1
[2025-01-10 10:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 10:10:05] Production.INFO: ==4421== Releasing lock...
[2025-01-10 10:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 10:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 10:10:05] Production.INFO: Account Balance End.
[2025-01-10 10:10:05] Production.ERROR: CronJobId end 12
[2025-01-10 10:10:05] Production.INFO: ==4414== Releasing lock...
[2025-01-10 10:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 10:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 10:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 07:10:06
[end_date_ymd] => 2025-01-10 10:10:06
[RateCDR] => 1
)
[2025-01-10 10:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 07:10:06' and `end` < '2025-01-10 10:10:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 10:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14216214', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 10:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 10:10:08] Production.INFO: ProcessCDR(1,14216214,1,1,2)
[2025-01-10 10:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14216214,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14216214,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:10:08] Production.INFO: ==4419== Releasing lock...
[2025-01-10 10:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 10:10:08] Production.INFO: 26 MB #Memory Used#
[2025-01-10 10:10:13] Production.ERROR: CronJobId end10
[2025-01-10 10:10:13] Production.INFO: ==4411== Releasing lock...
[2025-01-10 10:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 10:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 10:10:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 10:10:15] Production.INFO: ============== Balance Warning START===========
[2025-01-10 10:10:15] Production.INFO: ============== Balance Warning END===========
[2025-01-10 10:10:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 10:10:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 10:10:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 10:10:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 10:10:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 10:10:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 10:10:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 10:10:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 10:10:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 10:10:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 10:10:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 10:10:15] Production.INFO: call_cost start
[2025-01-10 10:10:15] Production.INFO: call_cost end
[2025-01-10 10:10:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 10:10:16] Production.INFO: ============== Report Schedule START===========
[2025-01-10 10:10:16] Production.INFO: ============== Report Schedule END===========
[2025-01-10 10:10:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 10:10:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 10:10:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 10:10:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 10:10:16] Production.INFO: ============== Deal alert START===========
[2025-01-10 10:10:16] Production.INFO: ============== Deal alert END===========
[2025-01-10 10:10:16] Production.INFO: ==4407== Releasing lock...
[2025-01-10 10:10:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 10:10:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 10:10:30] Production.INFO: count ==2042
[2025-01-10 10:10:30] Production.ERROR: pbx CDR StartTime 2025-01-10 07:10:06 - End Time 2025-01-10 10:10:06
[2025-01-10 10:10:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 10:10:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216215', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:10:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216215', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:10:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216215', 'tblTempVendorCDR_20' ) start
[2025-01-10 10:10:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216215', 'tblTempVendorCDR_20' ) end
[2025-01-10 10:10:30] Production.INFO: ProcessCDR(1,14216215,1,1,2)
[2025-01-10 10:10:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216215,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:10:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216215,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:10:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216215,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:10:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216215,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:10:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216215', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:10:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216215', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:10:35] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:10:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:10:35] Production.INFO: ==4417== Releasing lock...
[2025-01-10 10:10:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 10:10:35] Production.INFO: 43.25 MB #Memory Used#
[2025-01-10 15:11:02] Production.INFO: ==4511== Lock acquired, processing the job...
[2025-01-10 15:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 15:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 15:11:02] Production.INFO: neon service started
[2025-01-10 15:11:02] Production.INFO: neon service started
[2025-01-10 15:11:02] Production.INFO: ==4511== Releasing lock...
[2025-01-10 15:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 15:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 10:11:02] Production.INFO: ==4513== Lock acquired, processing the job...
[2025-01-10 10:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 10:11:02] Production.INFO: ==4513== Releasing lock...
[2025-01-10 10:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 10:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:11:03] Production.INFO: ==4515== Lock acquired, processing the job...
[2025-01-10 15:11:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:11:03] Production.INFO: ==4515== Releasing lock...
[2025-01-10 15:11:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 15:11:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 10:11:03] Production.INFO: ==4519== Lock acquired, processing the job...
[2025-01-10 10:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 10:11:03] Production.INFO: ==4526== Lock acquired, processing the job...
[2025-01-10 10:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 10:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:11:03] Production.INFO: ==4517== Lock acquired, processing the job...
[2025-01-10 10:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 10:11:03] Production.INFO: ==4519== Releasing lock...
[2025-01-10 10:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 10:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 10:11:04] Production.INFO: ==4522== Lock acquired, processing the job...
[2025-01-10 10:11:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 10:11:04] Production.INFO: ==4524== Lock acquired, processing the job...
[2025-01-10 10:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 10:11:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 10:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 10:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 10:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 10:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 10:11:04] Production.INFO: ==4528== Lock acquired, processing the job...
[2025-01-10 10:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 10:11:04] Production.INFO: Account Balance Start.
[2025-01-10 10:11:04] Production.INFO: CreateAllLog Start
[2025-01-10 10:11:04] Production.INFO: 117
[2025-01-10 10:11:04] Production.ERROR: done
[2025-01-10 10:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 10:11:04] Production.INFO: Date 2025-01-08
[2025-01-10 10:11:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:11:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:11:04] Production.INFO: count ==21
[2025-01-10 10:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:11:04] Production.INFO: count ==21
[2025-01-10 10:11:04] Production.INFO: Date 2025-01-09
[2025-01-10 10:11:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216219') start
[2025-01-10 10:11:04] Production.ERROR: done
[2025-01-10 10:11:04] Production.INFO: Date 2025-01-10
[2025-01-10 10:11:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216219') end
[2025-01-10 10:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 10:11:04] Production.INFO: 1
[2025-01-10 10:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 10:11:04] Production.INFO: Total Charge 0
[2025-01-10 10:11:04] Production.INFO: CreateAllLog End
[2025-01-10 10:11:04] Production.INFO: ==4528== Releasing lock...
[2025-01-10 10:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 10:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 10:11:04] Production.INFO: Account Balance End.
[2025-01-10 10:11:04] Production.ERROR: CronJobId end 12
[2025-01-10 10:11:04] Production.INFO: ==4524== Releasing lock...
[2025-01-10 10:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 10:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 10:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 07:11:05
[end_date_ymd] => 2025-01-10 10:11:05
[RateCDR] => 1
)
[2025-01-10 10:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 07:11:05' and `end` < '2025-01-10 10:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 10:11:11] Production.ERROR: CronJobId end10
[2025-01-10 10:11:11] Production.INFO: ==4522== Releasing lock...
[2025-01-10 10:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 10:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 10:11:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 10:11:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 10:11:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 10:11:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 10:11:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 10:11:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 10:11:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 10:11:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 10:11:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 10:11:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 10:11:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 10:11:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 10:11:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 10:11:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 10:11:13] Production.INFO: call_cost start
[2025-01-10 10:11:13] Production.INFO: call_cost end
[2025-01-10 10:11:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 10:11:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 10:11:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 10:11:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 10:11:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 10:11:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 10:11:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 10:11:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 10:11:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 10:11:13] Production.INFO: ==4517== Releasing lock...
[2025-01-10 10:11:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 10:11:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 10:11:20] Production.INFO: count ==2124
[2025-01-10 10:11:21] Production.ERROR: pbx CDR StartTime 2025-01-10 07:11:05 - End Time 2025-01-10 10:11:05
[2025-01-10 10:11:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 10:11:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216220', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:11:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216220', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:11:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216220', 'tblTempVendorCDR_20' ) start
[2025-01-10 10:11:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216220', 'tblTempVendorCDR_20' ) end
[2025-01-10 10:11:21] Production.INFO: ProcessCDR(1,14216220,1,1,2)
[2025-01-10 10:11:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216220,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:11:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216220,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:11:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216220,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:11:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216220,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:11:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216220', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:11:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216220', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:11:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:11:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:11:25] Production.INFO: ==4526== Releasing lock...
[2025-01-10 10:11:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 10:11:25] Production.INFO: 44.25 MB #Memory Used#
[2025-01-10 15:12:01] Production.INFO: ==4623== Lock acquired, processing the job...
[2025-01-10 15:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 15:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 15:12:01] Production.INFO: neon service started
[2025-01-10 15:12:01] Production.INFO: neon service started
[2025-01-10 15:12:01] Production.INFO: ==4623== Releasing lock...
[2025-01-10 15:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 15:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 15:12:02] Production.INFO: ==4627== Lock acquired, processing the job...
[2025-01-10 15:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:12:02] Production.INFO: ==4627== Releasing lock...
[2025-01-10 15:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 15:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 10:12:02] Production.INFO: ==4625== Lock acquired, processing the job...
[2025-01-10 10:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 10:12:02] Production.INFO: ==4625== Releasing lock...
[2025-01-10 10:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 10:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:12:03] Production.INFO: ==4639== Lock acquired, processing the job...
[2025-01-10 10:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 10:12:03] Production.INFO: ==4642== Lock acquired, processing the job...
[2025-01-10 10:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 10:12:03] Production.INFO: ==4630== Lock acquired, processing the job...
[2025-01-10 10:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 10:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:12:03] Production.INFO: ==4633== Lock acquired, processing the job...
[2025-01-10 10:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 10:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 10:12:03] Production.INFO: ==4637== Lock acquired, processing the job...
[2025-01-10 10:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 10:12:03] Production.INFO: ==4635== Lock acquired, processing the job...
[2025-01-10 10:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 10:12:03] Production.INFO: count ==21
[2025-01-10 10:12:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:12:03] Production.INFO: count ==21
[2025-01-10 10:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216221') start
[2025-01-10 10:12:03] Production.INFO: Account Balance Start.
[2025-01-10 10:12:03] Production.INFO: CreateAllLog Start
[2025-01-10 10:12:03] Production.INFO: 117
[2025-01-10 10:12:03] Production.INFO: Date 2025-01-08
[2025-01-10 10:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 10:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 10:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 10:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 10:12:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216221') end
[2025-01-10 10:12:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 10:12:03] Production.INFO: 1
[2025-01-10 10:12:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 10:12:03] Production.INFO: Date 2025-01-09
[2025-01-10 10:12:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:12:03] Production.INFO: ==4642== Releasing lock...
[2025-01-10 10:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 10:12:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 10:12:03] Production.ERROR: done
[2025-01-10 10:12:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 10:12:03] Production.INFO: Date 2025-01-10
[2025-01-10 10:12:03] Production.INFO: ==4633== Releasing lock...
[2025-01-10 10:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 10:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 10:12:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:12:03] Production.INFO: Total Charge 0
[2025-01-10 10:12:04] Production.INFO: CreateAllLog End
[2025-01-10 10:12:04] Production.ERROR: done
[2025-01-10 10:12:04] Production.INFO: Account Balance End.
[2025-01-10 10:12:04] Production.ERROR: CronJobId end 12
[2025-01-10 10:12:04] Production.INFO: ==4637== Releasing lock...
[2025-01-10 10:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 10:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 10:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 07:12:04
[end_date_ymd] => 2025-01-10 10:12:04
[RateCDR] => 1
)
[2025-01-10 10:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 07:12:04' and `end` < '2025-01-10 10:12:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 10:12:10] Production.ERROR: CronJobId end10
[2025-01-10 10:12:10] Production.INFO: ==4635== Releasing lock...
[2025-01-10 10:12:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 10:12:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 10:12:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 10:12:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 10:12:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 10:12:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 10:12:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 10:12:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 10:12:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 10:12:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 10:12:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 10:12:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 10:12:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 10:12:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 10:12:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 10:12:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 10:12:12] Production.INFO: call_cost start
[2025-01-10 10:12:12] Production.INFO: call_cost end
[2025-01-10 10:12:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 10:12:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 10:12:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 10:12:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 10:12:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 10:12:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 10:12:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 10:12:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 10:12:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 10:12:13] Production.INFO: ==4630== Releasing lock...
[2025-01-10 10:12:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 10:12:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 10:12:18] Production.INFO: count ==2168
[2025-01-10 10:12:19] Production.ERROR: pbx CDR StartTime 2025-01-10 07:12:04 - End Time 2025-01-10 10:12:04
[2025-01-10 10:12:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 10:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216225', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216225', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216225', 'tblTempVendorCDR_20' ) start
[2025-01-10 10:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216225', 'tblTempVendorCDR_20' ) end
[2025-01-10 10:12:19] Production.INFO: ProcessCDR(1,14216225,1,1,2)
[2025-01-10 10:12:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216225,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:12:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216225,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:12:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216225,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:12:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216225,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:12:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216225', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:12:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216225', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:12:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:12:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:12:24] Production.INFO: ==4639== Releasing lock...
[2025-01-10 10:12:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 10:12:24] Production.INFO: 44.25 MB #Memory Used#
[2025-01-10 15:13:02] Production.INFO: ==4737== Lock acquired, processing the job...
[2025-01-10 15:13:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 15:13:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 15:13:02] Production.INFO: neon service started
[2025-01-10 15:13:02] Production.INFO: neon service started
[2025-01-10 15:13:02] Production.INFO: ==4737== Releasing lock...
[2025-01-10 15:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 15:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 15:13:02] Production.INFO: ==4741== Lock acquired, processing the job...
[2025-01-10 15:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:13:02] Production.INFO: ==4741== Releasing lock...
[2025-01-10 15:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 15:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 10:13:02] Production.INFO: ==4739== Lock acquired, processing the job...
[2025-01-10 10:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 10:13:03] Production.INFO: ==4739== Releasing lock...
[2025-01-10 10:13:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 10:13:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:13:03] Production.INFO: ==4750== Lock acquired, processing the job...
[2025-01-10 10:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 10:13:03] Production.INFO: ==4744== Lock acquired, processing the job...
[2025-01-10 10:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 10:13:03] Production.INFO: Account Balance Start.
[2025-01-10 10:13:03] Production.INFO: CreateAllLog Start
[2025-01-10 10:13:03] Production.INFO: 117
[2025-01-10 10:13:03] Production.INFO: Date 2025-01-08
[2025-01-10 10:13:03] Production.INFO: ==4754== Lock acquired, processing the job...
[2025-01-10 10:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 10:13:03] Production.INFO: ==4746== Lock acquired, processing the job...
[2025-01-10 10:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 10:13:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:13:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 10:13:04] Production.INFO: ==4748== Lock acquired, processing the job...
[2025-01-10 10:13:04] Production.INFO: Date 2025-01-09
[2025-01-10 10:13:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 10:13:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:13:04] Production.INFO: Date 2025-01-10
[2025-01-10 10:13:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:13:04] Production.INFO: ==4756== Lock acquired, processing the job...
[2025-01-10 10:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 10:13:04] Production.INFO: Total Charge 0
[2025-01-10 10:13:04] Production.INFO: CreateAllLog End
[2025-01-10 10:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 10:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 10:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 10:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 10:13:04] Production.INFO: ==4746== Releasing lock...
[2025-01-10 10:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 10:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 10:13:04] Production.ERROR: done
[2025-01-10 10:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 10:13:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:13:04] Production.INFO: count ==21
[2025-01-10 10:13:04] Production.ERROR: done
[2025-01-10 10:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:13:04] Production.INFO: count ==21
[2025-01-10 10:13:04] Production.INFO: Account Balance End.
[2025-01-10 10:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216229') start
[2025-01-10 10:13:04] Production.ERROR: CronJobId end 12
[2025-01-10 10:13:04] Production.INFO: ==4750== Releasing lock...
[2025-01-10 10:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 10:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 10:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216229') end
[2025-01-10 10:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 10:13:04] Production.INFO: 1
[2025-01-10 10:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 10:13:04] Production.INFO: ==4756== Releasing lock...
[2025-01-10 10:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 10:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 10:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 07:13:05
[end_date_ymd] => 2025-01-10 10:13:05
[RateCDR] => 1
)
[2025-01-10 10:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 07:13:05' and `end` < '2025-01-10 10:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 10:13:12] Production.ERROR: CronJobId end10
[2025-01-10 10:13:12] Production.INFO: ==4748== Releasing lock...
[2025-01-10 10:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 10:13:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 10:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 10:13:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 10:13:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 10:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 10:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 10:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 10:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 10:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 10:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 10:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 10:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 10:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 10:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 10:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 10:13:14] Production.INFO: call_cost start
[2025-01-10 10:13:14] Production.INFO: call_cost end
[2025-01-10 10:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 10:13:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 10:13:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 10:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 10:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 10:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 10:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 10:13:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 10:13:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 10:13:15] Production.INFO: ==4744== Releasing lock...
[2025-01-10 10:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 10:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 10:13:20] Production.INFO: count ==2180
[2025-01-10 10:13:21] Production.ERROR: pbx CDR StartTime 2025-01-10 07:13:05 - End Time 2025-01-10 10:13:05
[2025-01-10 10:13:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 10:13:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216230', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:13:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216230', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:13:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216230', 'tblTempVendorCDR_20' ) start
[2025-01-10 10:13:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216230', 'tblTempVendorCDR_20' ) end
[2025-01-10 10:13:21] Production.INFO: ProcessCDR(1,14216230,1,1,2)
[2025-01-10 10:13:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216230,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:13:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216230,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:13:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216230,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:13:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216230,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:13:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216230', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:13:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216230', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:13:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:13:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:13:26] Production.INFO: ==4754== Releasing lock...
[2025-01-10 10:13:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 10:13:26] Production.INFO: 44.5 MB #Memory Used#
[2025-01-10 15:14:01] Production.INFO: ==4834== Lock acquired, processing the job...
[2025-01-10 15:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 15:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 15:14:01] Production.INFO: neon service started
[2025-01-10 15:14:01] Production.INFO: neon service started
[2025-01-10 15:14:01] Production.INFO: ==4834== Releasing lock...
[2025-01-10 15:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 15:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 10:14:02] Production.INFO: ==4836== Lock acquired, processing the job...
[2025-01-10 10:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 15:14:02] Production.INFO: ==4838== Lock acquired, processing the job...
[2025-01-10 15:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:14:02] Production.INFO: ==4838== Releasing lock...
[2025-01-10 15:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 15:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 10:14:02] Production.INFO: ==4836== Releasing lock...
[2025-01-10 10:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 10:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:14:03] Production.INFO: ==4847== Lock acquired, processing the job...
[2025-01-10 10:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 10:14:03] Production.INFO: ==4849== Lock acquired, processing the job...
[2025-01-10 10:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 10:14:03] Production.INFO: Account Balance Start.
[2025-01-10 10:14:03] Production.INFO: CreateAllLog Start
[2025-01-10 10:14:03] Production.INFO: 117
[2025-01-10 10:14:03] Production.INFO: Date 2025-01-08
[2025-01-10 10:14:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:14:03] Production.INFO: Date 2025-01-09
[2025-01-10 10:14:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:14:03] Production.INFO: Date 2025-01-10
[2025-01-10 10:14:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:14:03] Production.INFO: Total Charge 0
[2025-01-10 10:14:03] Production.INFO: ==4841== Lock acquired, processing the job...
[2025-01-10 10:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 10:14:03] Production.INFO: CreateAllLog End
[2025-01-10 10:14:03] Production.INFO: ==4843== Lock acquired, processing the job...
[2025-01-10 10:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 10:14:03] Production.INFO: ==4845== Lock acquired, processing the job...
[2025-01-10 10:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 10:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 10:14:03] Production.INFO: ==4851== Lock acquired, processing the job...
[2025-01-10 10:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 10:14:03] Production.INFO: Account Balance End.
[2025-01-10 10:14:03] Production.ERROR: done
[2025-01-10 10:14:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 10:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 10:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 10:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 10:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 10:14:03] Production.ERROR: CronJobId end 12
[2025-01-10 10:14:03] Production.INFO: ==4847== Releasing lock...
[2025-01-10 10:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 10:14:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 10:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:14:04] Production.INFO: count ==21
[2025-01-10 10:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:14:04] Production.INFO: count ==21
[2025-01-10 10:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216233') start
[2025-01-10 10:14:04] Production.ERROR: done
[2025-01-10 10:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216233') end
[2025-01-10 10:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 10:14:04] Production.INFO: 1
[2025-01-10 10:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 10:14:04] Production.INFO: ==4843== Releasing lock...
[2025-01-10 10:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 10:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 10:14:04] Production.INFO: ==4851== Releasing lock...
[2025-01-10 10:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 10:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 10:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 07:14:05
[end_date_ymd] => 2025-01-10 10:14:05
[RateCDR] => 1
)
[2025-01-10 10:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 07:14:05' and `end` < '2025-01-10 10:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 10:14:11] Production.ERROR: CronJobId end10
[2025-01-10 10:14:11] Production.INFO: ==4845== Releasing lock...
[2025-01-10 10:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 10:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 10:14:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 10:14:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 10:14:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 10:14:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 10:14:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 10:14:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 10:14:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 10:14:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 10:14:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 10:14:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 10:14:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 10:14:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 10:14:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 10:14:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 10:14:13] Production.INFO: call_cost start
[2025-01-10 10:14:13] Production.INFO: call_cost end
[2025-01-10 10:14:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 10:14:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 10:14:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 10:14:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 10:14:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 10:14:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 10:14:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 10:14:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 10:14:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 10:14:13] Production.INFO: ==4841== Releasing lock...
[2025-01-10 10:14:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 10:14:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 10:14:20] Production.INFO: count ==2188
[2025-01-10 10:14:21] Production.ERROR: pbx CDR StartTime 2025-01-10 07:14:05 - End Time 2025-01-10 10:14:05
[2025-01-10 10:14:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 10:14:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216235', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:14:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216235', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:14:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216235', 'tblTempVendorCDR_20' ) start
[2025-01-10 10:14:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216235', 'tblTempVendorCDR_20' ) end
[2025-01-10 10:14:21] Production.INFO: ProcessCDR(1,14216235,1,1,2)
[2025-01-10 10:14:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216235,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:14:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216235,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:14:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216235,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:14:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216235,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:14:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216235', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:14:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216235', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:14:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:14:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:14:26] Production.INFO: ==4849== Releasing lock...
[2025-01-10 10:14:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 10:14:26] Production.INFO: 44.5 MB #Memory Used#
[2025-01-10 15:15:02] Production.INFO: ==4905== Lock acquired, processing the job...
[2025-01-10 15:15:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 15:15:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 15:15:02] Production.INFO: neon service started
[2025-01-10 15:15:02] Production.INFO: neon service started
[2025-01-10 15:15:02] Production.INFO: ==4905== Releasing lock...
[2025-01-10 15:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 15:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 10:15:02] Production.INFO: ==4907== Lock acquired, processing the job...
[2025-01-10 10:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 15:15:02] Production.INFO: ==4909== Lock acquired, processing the job...
[2025-01-10 15:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:15:02] Production.INFO: ==4909== Releasing lock...
[2025-01-10 15:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 15:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 10:15:03] Production.INFO: ==4907== Releasing lock...
[2025-01-10 10:15:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 10:15:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:15:03] Production.INFO: ==4918== Lock acquired, processing the job...
[2025-01-10 10:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 10:15:03] Production.INFO: ==4922== Lock acquired, processing the job...
[2025-01-10 10:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 10:15:03] Production.INFO: Account Balance Start.
[2025-01-10 10:15:03] Production.INFO: CreateAllLog Start
[2025-01-10 10:15:03] Production.INFO: 117
[2025-01-10 10:15:03] Production.INFO: Date 2025-01-08
[2025-01-10 10:15:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:15:04] Production.INFO: Date 2025-01-09
[2025-01-10 10:15:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:15:04] Production.INFO: Date 2025-01-10
[2025-01-10 10:15:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:15:04] Production.INFO: ==4912== Lock acquired, processing the job...
[2025-01-10 10:15:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 10:15:04] Production.INFO: ==4914== Lock acquired, processing the job...
[2025-01-10 10:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 10:15:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:15:04] Production.INFO: ==4916== Lock acquired, processing the job...
[2025-01-10 10:15:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 10:15:04] Production.INFO: Total Charge 0
[2025-01-10 10:15:04] Production.INFO: count ==21
[2025-01-10 10:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:15:04] Production.INFO: count ==21
[2025-01-10 10:15:04] Production.INFO: CreateAllLog End
[2025-01-10 10:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216237') start
[2025-01-10 10:15:04] Production.INFO: ==4920== Lock acquired, processing the job...
[2025-01-10 10:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 10:15:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 10:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 10:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 10:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 10:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 10:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216237') end
[2025-01-10 10:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 10:15:04] Production.INFO: 1
[2025-01-10 10:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 10:15:04] Production.INFO: Account Balance End.
[2025-01-10 10:15:04] Production.ERROR: CronJobId end 12
[2025-01-10 10:15:04] Production.INFO: ==4918== Releasing lock...
[2025-01-10 10:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 10:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 10:15:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:15:04] Production.INFO: ==4922== Releasing lock...
[2025-01-10 10:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 10:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 10:15:04] Production.INFO: ==4914== Releasing lock...
[2025-01-10 10:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 10:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 10:15:04] Production.ERROR: done
[2025-01-10 10:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 10:15:04] Production.ERROR: done
[2025-01-10 10:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 07:15:05
[end_date_ymd] => 2025-01-10 10:15:05
[RateCDR] => 1
)
[2025-01-10 10:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 07:15:05' and `end` < '2025-01-10 10:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 10:15:11] Production.ERROR: CronJobId end10
[2025-01-10 10:15:11] Production.INFO: ==4916== Releasing lock...
[2025-01-10 10:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 10:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 10:15:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 10:15:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 10:15:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 10:15:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 10:15:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 10:15:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 10:15:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 10:15:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 10:15:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 10:15:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 10:15:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 10:15:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 10:15:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 10:15:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 10:15:13] Production.INFO: call_cost start
[2025-01-10 10:15:13] Production.INFO: call_cost end
[2025-01-10 10:15:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 10:15:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 10:15:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 10:15:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 10:15:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 10:15:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 10:15:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 10:15:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 10:15:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 10:15:13] Production.INFO: ==4912== Releasing lock...
[2025-01-10 10:15:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 10:15:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 10:15:19] Production.INFO: count ==2198
[2025-01-10 10:15:20] Production.ERROR: pbx CDR StartTime 2025-01-10 07:15:05 - End Time 2025-01-10 10:15:05
[2025-01-10 10:15:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 10:15:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216240', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:15:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216240', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:15:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216240', 'tblTempVendorCDR_20' ) start
[2025-01-10 10:15:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216240', 'tblTempVendorCDR_20' ) end
[2025-01-10 10:15:20] Production.INFO: ProcessCDR(1,14216240,1,1,2)
[2025-01-10 10:15:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216240,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:15:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216240,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:15:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216240,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:15:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216240,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:15:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216240', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:15:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216240', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:15:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:15:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:15:24] Production.INFO: ==4920== Releasing lock...
[2025-01-10 10:15:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 10:15:24] Production.INFO: 44.5 MB #Memory Used#
[2025-01-10 15:16:01] Production.INFO: ==4975== Lock acquired, processing the job...
[2025-01-10 15:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 15:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 15:16:01] Production.INFO: neon service started
[2025-01-10 15:16:01] Production.INFO: neon service started
[2025-01-10 15:16:01] Production.INFO: ==4975== Releasing lock...
[2025-01-10 15:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 15:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 15:16:01] Production.INFO: ==4980== Lock acquired, processing the job...
[2025-01-10 15:16:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:16:01] Production.INFO: ==4980== Releasing lock...
[2025-01-10 15:16:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 15:16:01] Production.INFO: 25 MB #Memory Used#
[2025-01-10 10:16:02] Production.INFO: ==4978== Lock acquired, processing the job...
[2025-01-10 10:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 10:16:02] Production.INFO: ==4978== Releasing lock...
[2025-01-10 10:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 10:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:16:03] Production.INFO: ==4986== Lock acquired, processing the job...
[2025-01-10 10:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 10:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 10:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 10:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 10:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 10:16:03] Production.INFO: ==4990== Lock acquired, processing the job...
[2025-01-10 10:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 10:16:03] Production.INFO: ==4982== Lock acquired, processing the job...
[2025-01-10 10:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 10:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:16:03] Production.INFO: ==4984== Lock acquired, processing the job...
[2025-01-10 10:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 10:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 10:16:03] Production.INFO: ==4988== Lock acquired, processing the job...
[2025-01-10 10:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 10:16:03] Production.INFO: ==4992== Lock acquired, processing the job...
[2025-01-10 10:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 10:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:16:03] Production.INFO: count ==21
[2025-01-10 10:16:03] Production.INFO: Account Balance Start.
[2025-01-10 10:16:03] Production.INFO: CreateAllLog Start
[2025-01-10 10:16:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:16:03] Production.INFO: 117
[2025-01-10 10:16:03] Production.INFO: count ==21
[2025-01-10 10:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216244') start
[2025-01-10 10:16:03] Production.INFO: Date 2025-01-08
[2025-01-10 10:16:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:16:03] Production.ERROR: done
[2025-01-10 10:16:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 10:16:03] Production.INFO: ==4984== Releasing lock...
[2025-01-10 10:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 10:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 10:16:03] Production.INFO: Date 2025-01-09
[2025-01-10 10:16:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:16:03] Production.ERROR: done
[2025-01-10 10:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216244') end
[2025-01-10 10:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 10:16:04] Production.INFO: 1
[2025-01-10 10:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 10:16:04] Production.INFO: Date 2025-01-10
[2025-01-10 10:16:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:16:04] Production.INFO: Total Charge 0
[2025-01-10 10:16:04] Production.INFO: ==4992== Releasing lock...
[2025-01-10 10:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 10:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 10:16:04] Production.INFO: CreateAllLog End
[2025-01-10 10:16:04] Production.INFO: Account Balance End.
[2025-01-10 10:16:04] Production.ERROR: CronJobId end 12
[2025-01-10 10:16:04] Production.INFO: ==4988== Releasing lock...
[2025-01-10 10:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 10:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 10:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 07:16:05
[end_date_ymd] => 2025-01-10 10:16:05
[RateCDR] => 1
)
[2025-01-10 10:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 07:16:05' and `end` < '2025-01-10 10:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 10:16:11] Production.ERROR: CronJobId end10
[2025-01-10 10:16:11] Production.INFO: ==4986== Releasing lock...
[2025-01-10 10:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 10:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 10:16:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 10:16:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 10:16:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 10:16:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 10:16:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 10:16:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 10:16:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 10:16:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 10:16:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 10:16:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 10:16:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 10:16:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 10:16:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 10:16:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 10:16:13] Production.INFO: call_cost start
[2025-01-10 10:16:13] Production.INFO: call_cost end
[2025-01-10 10:16:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 10:16:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 10:16:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 10:16:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 10:16:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 10:16:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 10:16:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 10:16:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 10:16:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 10:16:13] Production.INFO: ==4982== Releasing lock...
[2025-01-10 10:16:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 10:16:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 10:16:32] Production.INFO: count ==2229
[2025-01-10 10:16:33] Production.ERROR: pbx CDR StartTime 2025-01-10 07:16:05 - End Time 2025-01-10 10:16:05
[2025-01-10 10:16:33] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 10:16:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216245', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:16:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216245', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:16:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216245', 'tblTempVendorCDR_20' ) start
[2025-01-10 10:16:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216245', 'tblTempVendorCDR_20' ) end
[2025-01-10 10:16:33] Production.INFO: ProcessCDR(1,14216245,1,1,2)
[2025-01-10 10:16:33] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216245,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:16:35] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216245,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:16:35] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216245,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:16:38] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216245,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:16:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216245', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:16:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216245', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:16:38] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:16:38] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:16:38] Production.INFO: ==4990== Releasing lock...
[2025-01-10 10:16:38] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 10:16:38] Production.INFO: 44.75 MB #Memory Used#
[2025-01-10 15:17:01] Production.INFO: ==5048== Lock acquired, processing the job...
[2025-01-10 15:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 15:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 15:17:01] Production.INFO: neon service started
[2025-01-10 15:17:01] Production.INFO: neon service started
[2025-01-10 15:17:01] Production.INFO: ==5048== Releasing lock...
[2025-01-10 15:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 15:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 10:17:02] Production.INFO: ==5050== Lock acquired, processing the job...
[2025-01-10 10:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 15:17:02] Production.INFO: ==5052== Lock acquired, processing the job...
[2025-01-10 15:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:17:02] Production.INFO: ==5052== Releasing lock...
[2025-01-10 15:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 15:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 10:17:02] Production.INFO: ==5050== Releasing lock...
[2025-01-10 10:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 10:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:17:03] Production.INFO: ==5055== Lock acquired, processing the job...
[2025-01-10 10:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 10:17:03] Production.INFO: ==5057== Lock acquired, processing the job...
[2025-01-10 10:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 10:17:03] Production.INFO: ==5059== Lock acquired, processing the job...
[2025-01-10 10:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 10:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 10:17:03] Production.INFO: ==5061== Lock acquired, processing the job...
[2025-01-10 10:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 10:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 10:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 10:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 10:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 10:17:03] Production.INFO: ==5063== Lock acquired, processing the job...
[2025-01-10 10:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 10:17:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:17:04] Production.INFO: Account Balance Start.
[2025-01-10 10:17:04] Production.INFO: CreateAllLog Start
[2025-01-10 10:17:04] Production.INFO: 117
[2025-01-10 10:17:04] Production.INFO: Date 2025-01-08
[2025-01-10 10:17:04] Production.INFO: ==5065== Lock acquired, processing the job...
[2025-01-10 10:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 10:17:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:17:04] Production.INFO: ==5057== Releasing lock...
[2025-01-10 10:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 10:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 10:17:04] Production.INFO: Date 2025-01-09
[2025-01-10 10:17:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:17:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:17:04] Production.INFO: count ==21
[2025-01-10 10:17:04] Production.ERROR: done
[2025-01-10 10:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 10:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:17:04] Production.INFO: count ==21
[2025-01-10 10:17:04] Production.INFO: Date 2025-01-10
[2025-01-10 10:17:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216249') start
[2025-01-10 10:17:04] Production.INFO: Total Charge 0
[2025-01-10 10:17:04] Production.INFO: CreateAllLog End
[2025-01-10 10:17:04] Production.ERROR: done
[2025-01-10 10:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216249') end
[2025-01-10 10:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 10:17:04] Production.INFO: 1
[2025-01-10 10:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 10:17:04] Production.INFO: Account Balance End.
[2025-01-10 10:17:04] Production.INFO: ==5065== Releasing lock...
[2025-01-10 10:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 10:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 10:17:04] Production.ERROR: CronJobId end 12
[2025-01-10 10:17:04] Production.INFO: ==5061== Releasing lock...
[2025-01-10 10:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 10:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 10:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 07:17:05
[end_date_ymd] => 2025-01-10 10:17:05
[RateCDR] => 1
)
[2025-01-10 10:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 07:17:05' and `end` < '2025-01-10 10:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 10:17:11] Production.ERROR: CronJobId end10
[2025-01-10 10:17:11] Production.INFO: ==5059== Releasing lock...
[2025-01-10 10:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 10:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 10:17:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 10:17:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 10:17:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 10:17:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 10:17:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 10:17:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 10:17:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 10:17:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 10:17:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 10:17:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 10:17:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 10:17:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 10:17:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 10:17:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 10:17:14] Production.INFO: call_cost start
[2025-01-10 10:17:14] Production.INFO: call_cost end
[2025-01-10 10:17:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 10:17:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 10:17:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 10:17:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 10:17:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 10:17:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 10:17:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 10:17:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 10:17:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 10:17:15] Production.INFO: ==5055== Releasing lock...
[2025-01-10 10:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 10:17:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 10:17:27] Production.INFO: count ==2309
[2025-01-10 10:17:28] Production.ERROR: pbx CDR StartTime 2025-01-10 07:17:05 - End Time 2025-01-10 10:17:05
[2025-01-10 10:17:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 10:17:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216250', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:17:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216250', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:17:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216250', 'tblTempVendorCDR_20' ) start
[2025-01-10 10:17:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216250', 'tblTempVendorCDR_20' ) end
[2025-01-10 10:17:28] Production.INFO: ProcessCDR(1,14216250,1,1,2)
[2025-01-10 10:17:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216250,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:17:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216250,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:17:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216250,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:17:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216250,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:17:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216250', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:17:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216250', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:17:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:17:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:17:33] Production.INFO: ==5063== Releasing lock...
[2025-01-10 10:17:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 10:17:33] Production.INFO: 45.5 MB #Memory Used#
[2025-01-10 15:18:01] Production.INFO: ==5120== Lock acquired, processing the job...
[2025-01-10 15:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 15:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 15:18:01] Production.INFO: neon service started
[2025-01-10 15:18:01] Production.INFO: neon service started
[2025-01-10 15:18:01] Production.INFO: ==5120== Releasing lock...
[2025-01-10 15:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 15:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 10:18:01] Production.INFO: ==5122== Lock acquired, processing the job...
[2025-01-10 10:18:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 10:18:01] Production.INFO: ==5122== Releasing lock...
[2025-01-10 10:18:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 10:18:01] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:18:02] Production.INFO: ==5124== Lock acquired, processing the job...
[2025-01-10 15:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:18:02] Production.INFO: ==5124== Releasing lock...
[2025-01-10 15:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 15:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 10:18:02] Production.INFO: ==5126== Lock acquired, processing the job...
[2025-01-10 10:18:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 10:18:02] Production.INFO: ==5136== Lock acquired, processing the job...
[2025-01-10 10:18:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 10:18:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 10:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:18:03] Production.INFO: ==5128== Lock acquired, processing the job...
[2025-01-10 10:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 10:18:03] Production.INFO: count ==21
[2025-01-10 10:18:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:18:03] Production.INFO: count ==21
[2025-01-10 10:18:03] Production.INFO: ==5130== Lock acquired, processing the job...
[2025-01-10 10:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 10:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216252') start
[2025-01-10 10:18:03] Production.INFO: ==5132== Lock acquired, processing the job...
[2025-01-10 10:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 10:18:03] Production.INFO: Account Balance Start.
[2025-01-10 10:18:03] Production.INFO: CreateAllLog Start
[2025-01-10 10:18:03] Production.INFO: 117
[2025-01-10 10:18:03] Production.INFO: Date 2025-01-08
[2025-01-10 10:18:03] Production.INFO: ==5134== Lock acquired, processing the job...
[2025-01-10 10:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 10:18:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216252') end
[2025-01-10 10:18:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 10:18:03] Production.INFO: 1
[2025-01-10 10:18:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 10:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:18:03] Production.INFO: ==5136== Releasing lock...
[2025-01-10 10:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 10:18:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 10:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 10:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 10:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 10:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 10:18:03] Production.INFO: Date 2025-01-09
[2025-01-10 10:18:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:18:03] Production.INFO: Date 2025-01-10
[2025-01-10 10:18:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:18:03] Production.INFO: Total Charge 0
[2025-01-10 10:18:03] Production.INFO: CreateAllLog End
[2025-01-10 10:18:03] Production.ERROR: done
[2025-01-10 10:18:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 10:18:03] Production.INFO: ==5128== Releasing lock...
[2025-01-10 10:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 10:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 10:18:03] Production.ERROR: done
[2025-01-10 10:18:03] Production.INFO: Account Balance End.
[2025-01-10 10:18:03] Production.ERROR: CronJobId end 12
[2025-01-10 10:18:03] Production.INFO: ==5132== Releasing lock...
[2025-01-10 10:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 10:18:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 10:18:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 07:18:04
[end_date_ymd] => 2025-01-10 10:18:04
[RateCDR] => 1
)
[2025-01-10 10:18:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 07:18:04' and `end` < '2025-01-10 10:18:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 10:18:10] Production.ERROR: CronJobId end10
[2025-01-10 10:18:10] Production.INFO: ==5130== Releasing lock...
[2025-01-10 10:18:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 10:18:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 10:18:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 10:18:11] Production.INFO: ============== Balance Warning START===========
[2025-01-10 10:18:11] Production.INFO: ============== Balance Warning END===========
[2025-01-10 10:18:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 10:18:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 10:18:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 10:18:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 10:18:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 10:18:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 10:18:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 10:18:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 10:18:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 10:18:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 10:18:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 10:18:11] Production.INFO: call_cost start
[2025-01-10 10:18:11] Production.INFO: call_cost end
[2025-01-10 10:18:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 10:18:12] Production.INFO: ============== Report Schedule START===========
[2025-01-10 10:18:12] Production.INFO: ============== Report Schedule END===========
[2025-01-10 10:18:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 10:18:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 10:18:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 10:18:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 10:18:12] Production.INFO: ============== Deal alert START===========
[2025-01-10 10:18:12] Production.INFO: ============== Deal alert END===========
[2025-01-10 10:18:12] Production.INFO: ==5126== Releasing lock...
[2025-01-10 10:18:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 10:18:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 10:18:32] Production.INFO: count ==2339
[2025-01-10 10:18:33] Production.ERROR: pbx CDR StartTime 2025-01-10 07:18:04 - End Time 2025-01-10 10:18:04
[2025-01-10 10:18:33] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 10:18:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216255', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:18:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216255', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:18:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216255', 'tblTempVendorCDR_20' ) start
[2025-01-10 10:18:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216255', 'tblTempVendorCDR_20' ) end
[2025-01-10 10:18:33] Production.INFO: ProcessCDR(1,14216255,1,1,2)
[2025-01-10 10:18:33] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216255,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:18:35] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216255,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:18:35] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216255,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:18:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216255,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:18:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216255', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:18:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216255', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:18:37] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:18:37] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:18:37] Production.INFO: ==5134== Releasing lock...
[2025-01-10 10:18:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 10:18:37] Production.INFO: 45.75 MB #Memory Used#
[2025-01-10 15:19:01] Production.INFO: ==5191== Lock acquired, processing the job...
[2025-01-10 15:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 15:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 15:19:01] Production.INFO: neon service started
[2025-01-10 15:19:01] Production.INFO: neon service started
[2025-01-10 15:19:01] Production.INFO: ==5191== Releasing lock...
[2025-01-10 15:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 15:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 10:19:02] Production.INFO: ==5193== Lock acquired, processing the job...
[2025-01-10 10:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 10:19:02] Production.INFO: ==5193== Releasing lock...
[2025-01-10 10:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 10:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:19:02] Production.INFO: ==5195== Lock acquired, processing the job...
[2025-01-10 15:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:19:02] Production.INFO: ==5195== Releasing lock...
[2025-01-10 15:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 15:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 10:19:03] Production.INFO: ==5207== Lock acquired, processing the job...
[2025-01-10 10:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 10:19:03] Production.INFO: ==5205== Lock acquired, processing the job...
[2025-01-10 10:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 10:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:19:03] Production.INFO: count ==21
[2025-01-10 10:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:19:03] Production.INFO: count ==21
[2025-01-10 10:19:03] Production.INFO: ==5197== Lock acquired, processing the job...
[2025-01-10 10:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 10:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216256') start
[2025-01-10 10:19:03] Production.INFO: ==5199== Lock acquired, processing the job...
[2025-01-10 10:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 10:19:03] Production.INFO: ==5201== Lock acquired, processing the job...
[2025-01-10 10:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 10:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 10:19:03] Production.INFO: ==5203== Lock acquired, processing the job...
[2025-01-10 10:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 10:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216256') end
[2025-01-10 10:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 10:19:03] Production.INFO: 1
[2025-01-10 10:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 10:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 10:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 10:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 10:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 10:19:03] Production.INFO: ==5207== Releasing lock...
[2025-01-10 10:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 10:19:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 10:19:03] Production.ERROR: done
[2025-01-10 10:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 10:19:03] Production.INFO: Account Balance Start.
[2025-01-10 10:19:03] Production.INFO: CreateAllLog Start
[2025-01-10 10:19:03] Production.INFO: 117
[2025-01-10 10:19:03] Production.INFO: Date 2025-01-08
[2025-01-10 10:19:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:19:03] Production.INFO: ==5199== Releasing lock...
[2025-01-10 10:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 10:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 10:19:03] Production.ERROR: done
[2025-01-10 10:19:03] Production.INFO: Date 2025-01-09
[2025-01-10 10:19:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:19:04] Production.INFO: Date 2025-01-10
[2025-01-10 10:19:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:19:04] Production.INFO: Total Charge 0
[2025-01-10 10:19:04] Production.INFO: CreateAllLog End
[2025-01-10 10:19:04] Production.INFO: Account Balance End.
[2025-01-10 10:19:04] Production.ERROR: CronJobId end 12
[2025-01-10 10:19:04] Production.INFO: ==5203== Releasing lock...
[2025-01-10 10:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 10:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 10:19:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 07:19:04
[end_date_ymd] => 2025-01-10 10:19:04
[RateCDR] => 1
)
[2025-01-10 10:19:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 07:19:04' and `end` < '2025-01-10 10:19:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 10:19:10] Production.ERROR: CronJobId end10
[2025-01-10 10:19:10] Production.INFO: ==5201== Releasing lock...
[2025-01-10 10:19:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 10:19:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 10:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 10:19:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 10:19:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 10:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 10:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 10:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 10:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 10:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 10:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 10:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 10:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 10:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 10:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 10:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 10:19:13] Production.INFO: call_cost start
[2025-01-10 10:19:13] Production.INFO: call_cost end
[2025-01-10 10:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 10:19:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 10:19:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 10:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 10:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 10:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 10:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 10:19:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 10:19:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 10:19:14] Production.INFO: ==5197== Releasing lock...
[2025-01-10 10:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 10:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 10:19:26] Production.INFO: count ==2351
[2025-01-10 10:19:27] Production.ERROR: pbx CDR StartTime 2025-01-10 07:19:04 - End Time 2025-01-10 10:19:04
[2025-01-10 10:19:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 10:19:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216260', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:19:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216260', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:19:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216260', 'tblTempVendorCDR_20' ) start
[2025-01-10 10:19:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216260', 'tblTempVendorCDR_20' ) end
[2025-01-10 10:19:28] Production.INFO: ProcessCDR(1,14216260,1,1,2)
[2025-01-10 10:19:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216260,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:19:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216260,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:19:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216260,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:19:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216260,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:19:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216260', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:19:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216260', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:19:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:19:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:19:33] Production.INFO: ==5205== Releasing lock...
[2025-01-10 10:19:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 10:19:33] Production.INFO: 45.75 MB #Memory Used#
[2025-01-10 15:20:02] Production.INFO: ==5264== Lock acquired, processing the job...
[2025-01-10 15:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 15:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 15:20:02] Production.INFO: neon service started
[2025-01-10 15:20:02] Production.INFO: neon service started
[2025-01-10 15:20:02] Production.INFO: ==5264== Releasing lock...
[2025-01-10 15:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 15:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 10:20:02] Production.INFO: ==5266== Lock acquired, processing the job...
[2025-01-10 10:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 15:20:02] Production.INFO: ==5268== Lock acquired, processing the job...
[2025-01-10 15:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:20:02] Production.INFO: ==5268== Releasing lock...
[2025-01-10 15:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 15:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 10:20:03] Production.INFO: ==5266== Releasing lock...
[2025-01-10 10:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 10:20:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:20:03] Production.INFO: ==5270== Lock acquired, processing the job...
[2025-01-10 10:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 10:20:04] Production.INFO: ==5272== Lock acquired, processing the job...
[2025-01-10 10:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 10:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 10:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 10:20:04] Production.INFO: ==5270== Releasing lock...
[2025-01-10 10:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 10:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 10:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 10:20:04] Production.INFO: ==5278== Lock acquired, processing the job...
[2025-01-10 10:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 10:20:04] Production.INFO: ==5274== Lock acquired, processing the job...
[2025-01-10 10:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 10:20:04] Production.INFO: Account Balance Start.
[2025-01-10 10:20:04] Production.INFO: CreateAllLog Start
[2025-01-10 10:20:04] Production.INFO: 117
[2025-01-10 10:20:04] Production.INFO: Date 2025-01-08
[2025-01-10 10:20:04] Production.INFO: ==5285== Lock acquired, processing the job...
[2025-01-10 10:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 10:20:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:20:04] Production.INFO: ==5276== Lock acquired, processing the job...
[2025-01-10 10:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 10:20:04] Production.INFO: Date 2025-01-09
[2025-01-10 10:20:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:20:04] Production.INFO: Date 2025-01-10
[2025-01-10 10:20:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:20:04] Production.INFO: count ==21
[2025-01-10 10:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:20:04] Production.INFO: count ==21
[2025-01-10 10:20:04] Production.INFO: ==5280== Lock acquired, processing the job...
[2025-01-10 10:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 10:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 10:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 10:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 10:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 10:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216264') start
[2025-01-10 10:20:04] Production.INFO: ==5282== Lock acquired, processing the job...
[2025-01-10 10:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 10:20:04] Production.INFO: ==5274== Releasing lock...
[2025-01-10 10:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 10:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 10:20:04] Production.INFO: Total Charge 0
[2025-01-10 10:20:04] Production.INFO: CreateAllLog End
[2025-01-10 10:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216264') end
[2025-01-10 10:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 10:20:04] Production.INFO: 1
[2025-01-10 10:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 10:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:20:04] Production.INFO: ==5285== Releasing lock...
[2025-01-10 10:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 10:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 10:20:04] Production.INFO: Account Balance End.
[2025-01-10 10:20:05] Production.ERROR: CronJobId end 12
[2025-01-10 10:20:05] Production.INFO: ==5278== Releasing lock...
[2025-01-10 10:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 10:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 10:20:05] Production.ERROR: done
[2025-01-10 10:20:05] Production.ERROR: done
[2025-01-10 10:20:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 10:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 10:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14216265', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 10:20:05] Production.ERROR: done
[2025-01-10 10:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 07:20:06
[end_date_ymd] => 2025-01-10 10:20:06
[RateCDR] => 1
)
[2025-01-10 10:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 07:20:06' and `end` < '2025-01-10 10:20:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 10:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14216265', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 10:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 10:20:09] Production.INFO: ProcessCDR(1,14216265,1,1,2)
[2025-01-10 10:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14216265,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14216265,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:20:09] Production.INFO: ==5282== Releasing lock...
[2025-01-10 10:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 10:20:09] Production.INFO: 26 MB #Memory Used#
[2025-01-10 10:20:14] Production.ERROR: CronJobId end10
[2025-01-10 10:20:14] Production.INFO: ==5276== Releasing lock...
[2025-01-10 10:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 10:20:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 10:20:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 10:20:15] Production.INFO: ============== Balance Warning START===========
[2025-01-10 10:20:15] Production.INFO: ============== Balance Warning END===========
[2025-01-10 10:20:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 10:20:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 10:20:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 10:20:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 10:20:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 10:20:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 10:20:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 10:20:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 10:20:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 10:20:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 10:20:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 10:20:15] Production.INFO: call_cost start
[2025-01-10 10:20:15] Production.INFO: call_cost end
[2025-01-10 10:20:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 10:20:16] Production.INFO: ============== Report Schedule START===========
[2025-01-10 10:20:16] Production.INFO: ============== Report Schedule END===========
[2025-01-10 10:20:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 10:20:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 10:20:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 10:20:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 10:20:16] Production.INFO: ============== Deal alert START===========
[2025-01-10 10:20:16] Production.INFO: ============== Deal alert END===========
[2025-01-10 10:20:16] Production.INFO: ==5272== Releasing lock...
[2025-01-10 10:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 10:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 10:20:33] Production.INFO: count ==2390
[2025-01-10 10:20:34] Production.ERROR: pbx CDR StartTime 2025-01-10 07:20:06 - End Time 2025-01-10 10:20:06
[2025-01-10 10:20:34] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 10:20:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216266', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:20:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216266', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:20:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216266', 'tblTempVendorCDR_20' ) start
[2025-01-10 10:20:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216266', 'tblTempVendorCDR_20' ) end
[2025-01-10 10:20:34] Production.INFO: ProcessCDR(1,14216266,1,1,2)
[2025-01-10 10:20:34] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216266,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:20:36] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216266,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:20:36] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216266,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:20:39] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216266,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:20:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216266', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:20:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216266', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:20:39] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:20:39] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:20:39] Production.INFO: ==5280== Releasing lock...
[2025-01-10 10:20:39] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 10:20:39] Production.INFO: 46 MB #Memory Used#
[2025-01-10 15:21:01] Production.INFO: ==5339== Lock acquired, processing the job...
[2025-01-10 15:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 15:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 15:21:01] Production.INFO: neon service started
[2025-01-10 15:21:01] Production.INFO: neon service started
[2025-01-10 15:21:01] Production.INFO: ==5339== Releasing lock...
[2025-01-10 15:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 15:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 10:21:02] Production.INFO: ==5341== Lock acquired, processing the job...
[2025-01-10 10:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 15:21:02] Production.INFO: ==5343== Lock acquired, processing the job...
[2025-01-10 15:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:21:02] Production.INFO: ==5343== Releasing lock...
[2025-01-10 15:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 15:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 10:21:02] Production.INFO: ==5341== Releasing lock...
[2025-01-10 10:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 10:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:21:03] Production.INFO: ==5346== Lock acquired, processing the job...
[2025-01-10 10:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 10:21:03] Production.INFO: ==5348== Lock acquired, processing the job...
[2025-01-10 10:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 10:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 10:21:03] Production.INFO: ==5350== Lock acquired, processing the job...
[2025-01-10 10:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 10:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 10:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 10:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 10:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 10:21:03] Production.INFO: ==5352== Lock acquired, processing the job...
[2025-01-10 10:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 10:21:03] Production.INFO: ==5348== Releasing lock...
[2025-01-10 10:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 10:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 10:21:03] Production.INFO: ==5354== Lock acquired, processing the job...
[2025-01-10 10:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 10:21:03] Production.INFO: ==5356== Lock acquired, processing the job...
[2025-01-10 10:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 10:21:03] Production.INFO: Account Balance Start.
[2025-01-10 10:21:03] Production.INFO: CreateAllLog Start
[2025-01-10 10:21:03] Production.INFO: 117
[2025-01-10 10:21:03] Production.INFO: Date 2025-01-08
[2025-01-10 10:21:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:21:03] Production.INFO: Date 2025-01-09
[2025-01-10 10:21:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:21:03] Production.INFO: Date 2025-01-10
[2025-01-10 10:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:21:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:21:03] Production.INFO: count ==21
[2025-01-10 10:21:03] Production.INFO: Total Charge 0
[2025-01-10 10:21:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:21:04] Production.INFO: CreateAllLog End
[2025-01-10 10:21:04] Production.INFO: count ==21
[2025-01-10 10:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216270') start
[2025-01-10 10:21:04] Production.ERROR: done
[2025-01-10 10:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 10:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216270') end
[2025-01-10 10:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 10:21:04] Production.INFO: 1
[2025-01-10 10:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 10:21:04] Production.INFO: ==5356== Releasing lock...
[2025-01-10 10:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 10:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 10:21:04] Production.ERROR: done
[2025-01-10 10:21:04] Production.INFO: Account Balance End.
[2025-01-10 10:21:04] Production.ERROR: CronJobId end 12
[2025-01-10 10:21:04] Production.INFO: ==5352== Releasing lock...
[2025-01-10 10:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 10:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 10:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 07:21:05
[end_date_ymd] => 2025-01-10 10:21:05
[RateCDR] => 1
)
[2025-01-10 10:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 07:21:05' and `end` < '2025-01-10 10:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 10:21:10] Production.ERROR: CronJobId end10
[2025-01-10 10:21:10] Production.INFO: ==5350== Releasing lock...
[2025-01-10 10:21:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 10:21:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 10:21:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 10:21:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 10:21:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 10:21:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 10:21:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 10:21:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 10:21:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 10:21:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 10:21:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 10:21:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 10:21:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 10:21:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 10:21:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 10:21:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 10:21:12] Production.INFO: call_cost start
[2025-01-10 10:21:12] Production.INFO: call_cost end
[2025-01-10 10:21:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 10:21:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 10:21:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 10:21:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 10:21:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 10:21:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 10:21:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 10:21:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 10:21:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 10:21:13] Production.INFO: ==5346== Releasing lock...
[2025-01-10 10:21:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 10:21:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 10:21:26] Production.INFO: count ==2524
[2025-01-10 10:21:27] Production.ERROR: pbx CDR StartTime 2025-01-10 07:21:05 - End Time 2025-01-10 10:21:05
[2025-01-10 10:21:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 10:21:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216271', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:21:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216271', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:21:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216271', 'tblTempVendorCDR_20' ) start
[2025-01-10 10:21:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216271', 'tblTempVendorCDR_20' ) end
[2025-01-10 10:21:28] Production.INFO: ProcessCDR(1,14216271,1,1,2)
[2025-01-10 10:21:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216271,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:21:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216271,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:21:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216271,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:21:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216271,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:21:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216271', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:21:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216271', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:21:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:21:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:21:32] Production.INFO: ==5354== Releasing lock...
[2025-01-10 10:21:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 10:21:32] Production.INFO: 47 MB #Memory Used#
[2025-01-10 15:22:02] Production.INFO: ==5416== Lock acquired, processing the job...
[2025-01-10 15:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 15:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 15:22:02] Production.INFO: neon service started
[2025-01-10 15:22:02] Production.INFO: neon service started
[2025-01-10 15:22:02] Production.INFO: ==5416== Releasing lock...
[2025-01-10 15:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 15:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 10:22:02] Production.INFO: ==5418== Lock acquired, processing the job...
[2025-01-10 10:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 15:22:02] Production.INFO: ==5420== Lock acquired, processing the job...
[2025-01-10 15:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:22:02] Production.INFO: ==5420== Releasing lock...
[2025-01-10 15:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 15:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 10:22:03] Production.INFO: ==5418== Releasing lock...
[2025-01-10 10:22:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 10:22:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:22:03] Production.INFO: ==5423== Lock acquired, processing the job...
[2025-01-10 10:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 10:22:03] Production.INFO: ==5425== Lock acquired, processing the job...
[2025-01-10 10:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 10:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 10:22:03] Production.INFO: ==5431== Lock acquired, processing the job...
[2025-01-10 10:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 10:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:22:04] Production.INFO: ==5427== Lock acquired, processing the job...
[2025-01-10 10:22:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 10:22:04] Production.INFO: ==5425== Releasing lock...
[2025-01-10 10:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 10:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 10:22:04] Production.INFO: ==5429== Lock acquired, processing the job...
[2025-01-10 10:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 10:22:04] Production.INFO: ==5433== Lock acquired, processing the job...
[2025-01-10 10:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 10:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 10:22:04] Production.INFO: Account Balance Start.
[2025-01-10 10:22:04] Production.INFO: CreateAllLog Start
[2025-01-10 10:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 10:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 10:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 10:22:04] Production.INFO: 117
[2025-01-10 10:22:04] Production.INFO: Date 2025-01-08
[2025-01-10 10:22:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:22:04] Production.INFO: Date 2025-01-09
[2025-01-10 10:22:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:22:04] Production.ERROR: done
[2025-01-10 10:22:04] Production.INFO: Date 2025-01-10
[2025-01-10 10:22:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 10:22:04] Production.INFO: count ==21
[2025-01-10 10:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:22:04] Production.INFO: count ==21
[2025-01-10 10:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216275') start
[2025-01-10 10:22:04] Production.INFO: Total Charge 0
[2025-01-10 10:22:04] Production.INFO: CreateAllLog End
[2025-01-10 10:22:04] Production.ERROR: done
[2025-01-10 10:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216275') end
[2025-01-10 10:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 10:22:04] Production.INFO: 1
[2025-01-10 10:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 10:22:04] Production.INFO: Account Balance End.
[2025-01-10 10:22:04] Production.INFO: ==5433== Releasing lock...
[2025-01-10 10:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 10:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 10:22:04] Production.ERROR: CronJobId end 12
[2025-01-10 10:22:04] Production.INFO: ==5429== Releasing lock...
[2025-01-10 10:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 10:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 10:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 07:22:05
[end_date_ymd] => 2025-01-10 10:22:05
[RateCDR] => 1
)
[2025-01-10 10:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 07:22:05' and `end` < '2025-01-10 10:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 10:22:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 10:22:11] Production.INFO: ============== Balance Warning START===========
[2025-01-10 10:22:11] Production.INFO: ============== Balance Warning END===========
[2025-01-10 10:22:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 10:22:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 10:22:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 10:22:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 10:22:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 10:22:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 10:22:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 10:22:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 10:22:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 10:22:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 10:22:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 10:22:12] Production.INFO: call_cost start
[2025-01-10 10:22:12] Production.ERROR: CronJobId end10
[2025-01-10 10:22:12] Production.INFO: ==5427== Releasing lock...
[2025-01-10 10:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 10:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 10:22:12] Production.INFO: call_cost end
[2025-01-10 10:22:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 10:22:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 10:22:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 10:22:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 10:22:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 10:22:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 10:22:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 10:22:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 10:22:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 10:22:13] Production.INFO: ==5423== Releasing lock...
[2025-01-10 10:22:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 10:22:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 10:22:26] Production.INFO: count ==2534
[2025-01-10 10:22:27] Production.ERROR: pbx CDR StartTime 2025-01-10 07:22:05 - End Time 2025-01-10 10:22:05
[2025-01-10 10:22:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 10:22:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216276', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:22:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216276', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:22:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216276', 'tblTempVendorCDR_20' ) start
[2025-01-10 10:22:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216276', 'tblTempVendorCDR_20' ) end
[2025-01-10 10:22:27] Production.INFO: ProcessCDR(1,14216276,1,1,2)
[2025-01-10 10:22:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216276,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:22:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216276,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:22:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216276,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:22:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216276,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:22:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216276', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:22:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216276', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:22:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:22:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:22:31] Production.INFO: ==5431== Releasing lock...
[2025-01-10 10:22:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 10:22:31] Production.INFO: 47 MB #Memory Used#
[2025-01-10 15:23:01] Production.INFO: ==5489== Lock acquired, processing the job...
[2025-01-10 15:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 15:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 15:23:01] Production.INFO: neon service started
[2025-01-10 15:23:01] Production.INFO: neon service started
[2025-01-10 15:23:01] Production.INFO: ==5489== Releasing lock...
[2025-01-10 15:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 15:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 10:23:01] Production.INFO: ==5491== Lock acquired, processing the job...
[2025-01-10 10:23:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 10:23:02] Production.INFO: ==5491== Releasing lock...
[2025-01-10 10:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 10:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:23:02] Production.INFO: ==5493== Lock acquired, processing the job...
[2025-01-10 15:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:23:02] Production.INFO: ==5493== Releasing lock...
[2025-01-10 15:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 15:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 10:23:02] Production.INFO: ==5495== Lock acquired, processing the job...
[2025-01-10 10:23:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 10:23:02] Production.INFO: ==5497== Lock acquired, processing the job...
[2025-01-10 10:23:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 10:23:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 10:23:02] Production.INFO: ==5499== Lock acquired, processing the job...
[2025-01-10 10:23:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 10:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 10:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 10:23:03] Production.INFO: ==5503== Lock acquired, processing the job...
[2025-01-10 10:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 10:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 10:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 10:23:03] Production.INFO: ==5501== Lock acquired, processing the job...
[2025-01-10 10:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 10:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:23:03] Production.INFO: ==5497== Releasing lock...
[2025-01-10 10:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 10:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 10:23:03] Production.INFO: Account Balance Start.
[2025-01-10 10:23:03] Production.INFO: CreateAllLog Start
[2025-01-10 10:23:03] Production.INFO: 117
[2025-01-10 10:23:03] Production.INFO: Date 2025-01-08
[2025-01-10 10:23:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:23:03] Production.INFO: ==5505== Lock acquired, processing the job...
[2025-01-10 10:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 10:23:03] Production.ERROR: done
[2025-01-10 10:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 10:23:03] Production.INFO: Date 2025-01-09
[2025-01-10 10:23:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:23:03] Production.INFO: Date 2025-01-10
[2025-01-10 10:23:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:23:03] Production.ERROR: done
[2025-01-10 10:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:23:03] Production.INFO: Total Charge 0
[2025-01-10 10:23:03] Production.INFO: CreateAllLog End
[2025-01-10 10:23:03] Production.INFO: count ==21
[2025-01-10 10:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:23:03] Production.INFO: count ==21
[2025-01-10 10:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216280') start
[2025-01-10 10:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216280') end
[2025-01-10 10:23:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 10:23:03] Production.INFO: 1
[2025-01-10 10:23:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 10:23:03] Production.INFO: Account Balance End.
[2025-01-10 10:23:03] Production.INFO: ==5505== Releasing lock...
[2025-01-10 10:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 10:23:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 10:23:03] Production.ERROR: CronJobId end 12
[2025-01-10 10:23:03] Production.INFO: ==5501== Releasing lock...
[2025-01-10 10:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 10:23:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 10:23:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 07:23:04
[end_date_ymd] => 2025-01-10 10:23:04
[RateCDR] => 1
)
[2025-01-10 10:23:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 07:23:04' and `end` < '2025-01-10 10:23:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 10:23:10] Production.ERROR: CronJobId end10
[2025-01-10 10:23:10] Production.INFO: ==5499== Releasing lock...
[2025-01-10 10:23:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 10:23:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 10:23:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 10:23:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 10:23:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 10:23:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 10:23:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 10:23:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 10:23:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 10:23:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 10:23:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 10:23:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 10:23:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 10:23:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 10:23:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 10:23:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 10:23:12] Production.INFO: call_cost start
[2025-01-10 10:23:12] Production.INFO: call_cost end
[2025-01-10 10:23:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 10:23:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 10:23:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 10:23:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 10:23:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 10:23:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 10:23:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 10:23:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 10:23:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 10:23:13] Production.INFO: ==5495== Releasing lock...
[2025-01-10 10:23:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 10:23:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 10:23:23] Production.INFO: count ==2561
[2025-01-10 10:23:24] Production.ERROR: pbx CDR StartTime 2025-01-10 07:23:04 - End Time 2025-01-10 10:23:04
[2025-01-10 10:23:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 10:23:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216281', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:23:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216281', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:23:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216281', 'tblTempVendorCDR_20' ) start
[2025-01-10 10:23:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216281', 'tblTempVendorCDR_20' ) end
[2025-01-10 10:23:24] Production.INFO: ProcessCDR(1,14216281,1,1,2)
[2025-01-10 10:23:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216281,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:23:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216281,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:23:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216281,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:23:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216281,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:23:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216281', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:23:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216281', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:23:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:23:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:23:29] Production.INFO: ==5503== Releasing lock...
[2025-01-10 10:23:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 10:23:29] Production.INFO: 47.25 MB #Memory Used#
[2025-01-10 15:24:01] Production.INFO: ==5563== Lock acquired, processing the job...
[2025-01-10 15:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 15:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 15:24:01] Production.INFO: neon service started
[2025-01-10 15:24:01] Production.INFO: neon service started
[2025-01-10 15:24:01] Production.INFO: ==5563== Releasing lock...
[2025-01-10 15:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 15:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 10:24:02] Production.INFO: ==5565== Lock acquired, processing the job...
[2025-01-10 10:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 10:24:02] Production.INFO: ==5565== Releasing lock...
[2025-01-10 10:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 10:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:24:02] Production.INFO: ==5567== Lock acquired, processing the job...
[2025-01-10 15:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:24:02] Production.INFO: ==5567== Releasing lock...
[2025-01-10 15:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 15:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 10:24:03] Production.INFO: ==5569== Lock acquired, processing the job...
[2025-01-10 10:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 10:24:03] Production.INFO: ==5571== Lock acquired, processing the job...
[2025-01-10 10:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 10:24:03] Production.INFO: ==5573== Lock acquired, processing the job...
[2025-01-10 10:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 10:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 10:24:03] Production.INFO: ==5577== Lock acquired, processing the job...
[2025-01-10 10:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 10:24:03] Production.INFO: ==5579== Lock acquired, processing the job...
[2025-01-10 10:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 10:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 10:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 10:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 10:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 10:24:03] Production.INFO: ==5575== Lock acquired, processing the job...
[2025-01-10 10:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 10:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:24:03] Production.INFO: Account Balance Start.
[2025-01-10 10:24:03] Production.INFO: CreateAllLog Start
[2025-01-10 10:24:03] Production.INFO: 117
[2025-01-10 10:24:03] Production.INFO: Date 2025-01-08
[2025-01-10 10:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:24:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:24:04] Production.INFO: count ==21
[2025-01-10 10:24:04] Production.INFO: Date 2025-01-09
[2025-01-10 10:24:04] Production.INFO: ==5571== Releasing lock...
[2025-01-10 10:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 10:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 10:24:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:24:04] Production.INFO: count ==21
[2025-01-10 10:24:04] Production.INFO: Date 2025-01-10
[2025-01-10 10:24:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216284') start
[2025-01-10 10:24:04] Production.INFO: Total Charge 0
[2025-01-10 10:24:04] Production.INFO: CreateAllLog End
[2025-01-10 10:24:04] Production.ERROR: done
[2025-01-10 10:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 10:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216284') end
[2025-01-10 10:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 10:24:04] Production.INFO: 1
[2025-01-10 10:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 10:24:04] Production.INFO: ==5579== Releasing lock...
[2025-01-10 10:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 10:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 10:24:04] Production.ERROR: done
[2025-01-10 10:24:04] Production.INFO: Account Balance End.
[2025-01-10 10:24:04] Production.ERROR: CronJobId end 12
[2025-01-10 10:24:04] Production.INFO: ==5575== Releasing lock...
[2025-01-10 10:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 10:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 10:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 07:24:05
[end_date_ymd] => 2025-01-10 10:24:05
[RateCDR] => 1
)
[2025-01-10 10:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 07:24:05' and `end` < '2025-01-10 10:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 10:24:11] Production.ERROR: CronJobId end10
[2025-01-10 10:24:11] Production.INFO: ==5573== Releasing lock...
[2025-01-10 10:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 10:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 10:24:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 10:24:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 10:24:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 10:24:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 10:24:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 10:24:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 10:24:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 10:24:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 10:24:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 10:24:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 10:24:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 10:24:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 10:24:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 10:24:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 10:24:13] Production.INFO: call_cost start
[2025-01-10 10:24:13] Production.INFO: call_cost end
[2025-01-10 10:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 10:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 10:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 10:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 10:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 10:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 10:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 10:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 10:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 10:24:14] Production.INFO: ==5569== Releasing lock...
[2025-01-10 10:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 10:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 10:24:25] Production.INFO: count ==2575
[2025-01-10 10:24:26] Production.ERROR: pbx CDR StartTime 2025-01-10 07:24:05 - End Time 2025-01-10 10:24:05
[2025-01-10 10:24:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 10:24:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216286', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:24:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216286', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:24:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216286', 'tblTempVendorCDR_20' ) start
[2025-01-10 10:24:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216286', 'tblTempVendorCDR_20' ) end
[2025-01-10 10:24:26] Production.INFO: ProcessCDR(1,14216286,1,1,2)
[2025-01-10 10:24:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216286,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:24:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216286,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:24:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216286,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:24:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216286,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:24:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216286', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:24:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216286', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:24:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:24:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:24:30] Production.INFO: ==5577== Releasing lock...
[2025-01-10 10:24:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 10:24:30] Production.INFO: 47.5 MB #Memory Used#
[2025-01-10 15:25:02] Production.INFO: ==5677== Lock acquired, processing the job...
[2025-01-10 15:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 15:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 15:25:02] Production.INFO: neon service started
[2025-01-10 15:25:02] Production.INFO: neon service started
[2025-01-10 15:25:02] Production.INFO: ==5677== Releasing lock...
[2025-01-10 15:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 15:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 10:25:02] Production.INFO: ==5679== Lock acquired, processing the job...
[2025-01-10 10:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 15:25:02] Production.INFO: ==5681== Lock acquired, processing the job...
[2025-01-10 15:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:25:02] Production.INFO: ==5681== Releasing lock...
[2025-01-10 15:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 15:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 10:25:03] Production.INFO: ==5679== Releasing lock...
[2025-01-10 10:25:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 10:25:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:25:03] Production.INFO: ==5688== Lock acquired, processing the job...
[2025-01-10 10:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 10:25:04] Production.INFO: ==5694== Lock acquired, processing the job...
[2025-01-10 10:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 10:25:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 10:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 10:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 10:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 10:25:04] Production.INFO: ==5684== Lock acquired, processing the job...
[2025-01-10 10:25:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 10:25:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:25:04] Production.INFO: ==5686== Lock acquired, processing the job...
[2025-01-10 10:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 10:25:04] Production.INFO: count ==21
[2025-01-10 10:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:25:04] Production.INFO: count ==21
[2025-01-10 10:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216287') start
[2025-01-10 10:25:04] Production.INFO: ==5690== Lock acquired, processing the job...
[2025-01-10 10:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 10:25:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 10:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216287') end
[2025-01-10 10:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 10:25:04] Production.INFO: 1
[2025-01-10 10:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 10:25:04] Production.INFO: ==5692== Lock acquired, processing the job...
[2025-01-10 10:25:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 10:25:04] Production.INFO: ==5694== Releasing lock...
[2025-01-10 10:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 10:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 10:25:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:25:04] Production.INFO: Account Balance Start.
[2025-01-10 10:25:04] Production.INFO: CreateAllLog Start
[2025-01-10 10:25:04] Production.INFO: 117
[2025-01-10 10:25:04] Production.INFO: Date 2025-01-08
[2025-01-10 10:25:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:25:04] Production.INFO: ==5686== Releasing lock...
[2025-01-10 10:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 10:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 10:25:04] Production.INFO: Date 2025-01-09
[2025-01-10 10:25:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:25:04] Production.INFO: Date 2025-01-10
[2025-01-10 10:25:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:25:04] Production.INFO: Total Charge 0
[2025-01-10 10:25:04] Production.INFO: CreateAllLog End
[2025-01-10 10:25:04] Production.ERROR: done
[2025-01-10 10:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 10:25:04] Production.ERROR: done
[2025-01-10 10:25:05] Production.INFO: Account Balance End.
[2025-01-10 10:25:05] Production.ERROR: CronJobId end 12
[2025-01-10 10:25:05] Production.INFO: ==5690== Releasing lock...
[2025-01-10 10:25:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 10:25:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 10:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 07:25:05
[end_date_ymd] => 2025-01-10 10:25:05
[RateCDR] => 1
)
[2025-01-10 10:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 07:25:05' and `end` < '2025-01-10 10:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 10:25:12] Production.ERROR: CronJobId end10
[2025-01-10 10:25:12] Production.INFO: ==5688== Releasing lock...
[2025-01-10 10:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 10:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 10:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 10:25:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 10:25:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 10:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 10:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 10:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 10:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 10:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 10:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 10:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 10:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 10:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 10:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 10:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 10:25:13] Production.INFO: call_cost start
[2025-01-10 10:25:13] Production.INFO: call_cost end
[2025-01-10 10:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 10:25:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 10:25:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 10:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 10:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 10:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 10:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 10:25:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 10:25:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 10:25:14] Production.INFO: ==5684== Releasing lock...
[2025-01-10 10:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 10:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 10:25:25] Production.INFO: count ==2589
[2025-01-10 10:25:26] Production.ERROR: pbx CDR StartTime 2025-01-10 07:25:05 - End Time 2025-01-10 10:25:05
[2025-01-10 10:25:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 10:25:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216291', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:25:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216291', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:25:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216291', 'tblTempVendorCDR_20' ) start
[2025-01-10 10:25:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216291', 'tblTempVendorCDR_20' ) end
[2025-01-10 10:25:26] Production.INFO: ProcessCDR(1,14216291,1,1,2)
[2025-01-10 10:25:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216291,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:25:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216291,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:25:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216291,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:25:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216291,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:25:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216291', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:25:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216291', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:25:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:25:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:25:30] Production.INFO: ==5692== Releasing lock...
[2025-01-10 10:25:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 10:25:30] Production.INFO: 47.5 MB #Memory Used#
[2025-01-10 15:26:01] Production.INFO: ==5751== Lock acquired, processing the job...
[2025-01-10 15:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 15:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 15:26:01] Production.INFO: neon service started
[2025-01-10 15:26:01] Production.INFO: neon service started
[2025-01-10 15:26:01] Production.INFO: ==5751== Releasing lock...
[2025-01-10 15:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 15:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 10:26:02] Production.INFO: ==5754== Lock acquired, processing the job...
[2025-01-10 10:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 10:26:02] Production.INFO: ==5754== Releasing lock...
[2025-01-10 10:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 10:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:26:02] Production.INFO: ==5756== Lock acquired, processing the job...
[2025-01-10 15:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:26:02] Production.INFO: ==5756== Releasing lock...
[2025-01-10 15:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 15:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 10:26:03] Production.INFO: ==5762== Lock acquired, processing the job...
[2025-01-10 10:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 10:26:03] Production.INFO: ==5768== Lock acquired, processing the job...
[2025-01-10 10:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 10:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 10:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 10:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 10:26:03] Production.INFO: ==5758== Lock acquired, processing the job...
[2025-01-10 10:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 10:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 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-01-10 10:26:03] Production.INFO: count ==21
[2025-01-10 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-01-10 10:26:03] Production.INFO: ==5760== Lock acquired, processing the job...
[2025-01-10 10:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 10:26:03] Production.INFO: count ==21
[2025-01-10 10:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 10:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216292') start
[2025-01-10 10:26:03] Production.INFO: ==5764== Lock acquired, processing the job...
[2025-01-10 10:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 10:26:03] Production.INFO: ==5766== Lock acquired, processing the job...
[2025-01-10 10:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 10:26:03] Production.INFO: Account Balance Start.
[2025-01-10 10:26:03] Production.INFO: CreateAllLog Start
[2025-01-10 10:26:03] Production.INFO: 117
[2025-01-10 10:26:03] Production.INFO: Date 2025-01-08
[2025-01-10 10:26:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216292') end
[2025-01-10 10:26:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 10:26:03] Production.INFO: 1
[2025-01-10 10:26:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 10:26:03] Production.INFO: ==5768== Releasing lock...
[2025-01-10 10:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 10:26:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 10:26:03] Production.INFO: Date 2025-01-09
[2025-01-10 10:26:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:26:03] Production.INFO: Date 2025-01-10
[2025-01-10 10:26:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:26:03] Production.INFO: Total Charge 0
[2025-01-10 10:26:03] Production.INFO: CreateAllLog End
[2025-01-10 10:26:03] Production.INFO: ==5760== Releasing lock...
[2025-01-10 10:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 10:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 10:26:04] Production.INFO: Account Balance End.
[2025-01-10 10:26:04] Production.ERROR: done
[2025-01-10 10:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 10:26:04] Production.ERROR: CronJobId end 12
[2025-01-10 10:26:04] Production.INFO: ==5764== Releasing lock...
[2025-01-10 10:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 10:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 10:26:04] Production.ERROR: done
[2025-01-10 10:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 07:26:05
[end_date_ymd] => 2025-01-10 10:26:05
[RateCDR] => 1
)
[2025-01-10 10:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 07:26:05' and `end` < '2025-01-10 10:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 10:26:11] Production.ERROR: CronJobId end10
[2025-01-10 10:26:11] Production.INFO: ==5762== Releasing lock...
[2025-01-10 10:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 10:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 10:26:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 10:26:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 10:26:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 10:26:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 10:26:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 10:26:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 10:26:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 10:26:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 10:26:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 10:26:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 10:26:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 10:26:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 10:26:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 10:26:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 10:26:12] Production.INFO: call_cost start
[2025-01-10 10:26:12] Production.INFO: call_cost end
[2025-01-10 10:26:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 10:26:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 10:26:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 10:26:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 10:26:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 10:26:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 10:26:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 10:26:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 10:26:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 10:26:13] Production.INFO: ==5758== Releasing lock...
[2025-01-10 10:26:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 10:26:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 10:26:28] Production.INFO: count ==2620
[2025-01-10 10:26:29] Production.ERROR: pbx CDR StartTime 2025-01-10 07:26:05 - End Time 2025-01-10 10:26:05
[2025-01-10 10:26:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 10:26:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216296', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:26:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216296', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:26:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216296', 'tblTempVendorCDR_20' ) start
[2025-01-10 10:26:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216296', 'tblTempVendorCDR_20' ) end
[2025-01-10 10:26:29] Production.INFO: ProcessCDR(1,14216296,1,1,2)
[2025-01-10 10:26:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216296,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:26:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216296,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:26:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216296,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:26:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216296,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:26:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216296', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:26:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216296', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:26:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:26:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:26:33] Production.INFO: ==5766== Releasing lock...
[2025-01-10 10:26:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 10:26:33] Production.INFO: 47.75 MB #Memory Used#
[2025-01-10 15:27:02] Production.INFO: ==5821== Lock acquired, processing the job...
[2025-01-10 15:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 15:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 15:27:02] Production.INFO: neon service started
[2025-01-10 15:27:02] Production.INFO: neon service started
[2025-01-10 15:27:02] Production.INFO: ==5821== Releasing lock...
[2025-01-10 15:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 15:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 10:27:02] Production.INFO: ==5823== Lock acquired, processing the job...
[2025-01-10 10:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 10:27:02] Production.INFO: ==5823== Releasing lock...
[2025-01-10 10:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 10:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:27:02] Production.INFO: ==5825== Lock acquired, processing the job...
[2025-01-10 15:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:27:02] Production.INFO: ==5825== Releasing lock...
[2025-01-10 15:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 15:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 10:27:03] Production.INFO: ==5832== Lock acquired, processing the job...
[2025-01-10 10:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 10:27:03] Production.INFO: ==5838== Lock acquired, processing the job...
[2025-01-10 10:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 10:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 10:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 10:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 10:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 10:27:03] Production.INFO: ==5830== Lock acquired, processing the job...
[2025-01-10 10:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 10:27:03] Production.INFO: ==5828== Lock acquired, processing the job...
[2025-01-10 10:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 10:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:27:03] Production.INFO: count ==21
[2025-01-10 10:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:27:03] Production.INFO: count ==21
[2025-01-10 10:27:03] Production.INFO: ==5834== Lock acquired, processing the job...
[2025-01-10 10:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 10:27:03] Production.INFO: ==5836== Lock acquired, processing the job...
[2025-01-10 10:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 10:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216297') start
[2025-01-10 10:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:27:03] Production.INFO: Account Balance Start.
[2025-01-10 10:27:03] Production.INFO: CreateAllLog Start
[2025-01-10 10:27:03] Production.INFO: 117
[2025-01-10 10:27:03] Production.INFO: Date 2025-01-08
[2025-01-10 10:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216297') end
[2025-01-10 10:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 10:27:03] Production.INFO: 1
[2025-01-10 10:27:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 10:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 10:27:03] Production.INFO: Date 2025-01-09
[2025-01-10 10:27:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:27:03] Production.INFO: Date 2025-01-10
[2025-01-10 10:27:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:27:04] Production.INFO: ==5838== Releasing lock...
[2025-01-10 10:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 10:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 10:27:04] Production.INFO: Total Charge 0
[2025-01-10 10:27:04] Production.INFO: CreateAllLog End
[2025-01-10 10:27:04] Production.INFO: ==5830== Releasing lock...
[2025-01-10 10:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 10:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 10:27:04] Production.ERROR: done
[2025-01-10 10:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 10:27:04] Production.ERROR: done
[2025-01-10 10:27:04] Production.INFO: Account Balance End.
[2025-01-10 10:27:04] Production.ERROR: CronJobId end 12
[2025-01-10 10:27:04] Production.INFO: ==5834== Releasing lock...
[2025-01-10 10:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 10:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 10:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 07:27:05
[end_date_ymd] => 2025-01-10 10:27:05
[RateCDR] => 1
)
[2025-01-10 10:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 07:27:05' and `end` < '2025-01-10 10:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 10:27:10] Production.ERROR: CronJobId end10
[2025-01-10 10:27:10] Production.INFO: ==5832== Releasing lock...
[2025-01-10 10:27:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 10:27:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 10:27:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 10:27:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 10:27:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 10:27:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 10:27:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 10:27:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 10:27:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 10:27:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 10:27:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 10:27:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 10:27:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 10:27:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 10:27:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 10:27:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 10:27:12] Production.INFO: call_cost start
[2025-01-10 10:27:12] Production.INFO: call_cost end
[2025-01-10 10:27:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 10:27:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 10:27:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 10:27:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 10:27:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 10:27:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 10:27:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 10:27:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 10:27:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 10:27:13] Production.INFO: ==5828== Releasing lock...
[2025-01-10 10:27:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 10:27:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 10:27:24] Production.INFO: count ==2641
[2025-01-10 10:27:25] Production.ERROR: pbx CDR StartTime 2025-01-10 07:27:05 - End Time 2025-01-10 10:27:05
[2025-01-10 10:27:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 10:27:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216301', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:27:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216301', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:27:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216301', 'tblTempVendorCDR_20' ) start
[2025-01-10 10:27:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216301', 'tblTempVendorCDR_20' ) end
[2025-01-10 10:27:25] Production.INFO: ProcessCDR(1,14216301,1,1,2)
[2025-01-10 10:27:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216301,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:27:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216301,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:27:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216301,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:27:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216301,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:27:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216301', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:27:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216301', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:27:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:27:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:27:29] Production.INFO: ==5836== Releasing lock...
[2025-01-10 10:27:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 10:27:29] Production.INFO: 48 MB #Memory Used#
[2025-01-10 15:28:01] Production.INFO: ==5892== Lock acquired, processing the job...
[2025-01-10 15:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 15:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 15:28:01] Production.INFO: neon service started
[2025-01-10 15:28:01] Production.INFO: neon service started
[2025-01-10 15:28:01] Production.INFO: ==5892== Releasing lock...
[2025-01-10 15:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 15:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 10:28:01] Production.INFO: ==5895== Lock acquired, processing the job...
[2025-01-10 10:28:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 10:28:02] Production.INFO: ==5895== Releasing lock...
[2025-01-10 10:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 10:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:28:02] Production.INFO: ==5897== Lock acquired, processing the job...
[2025-01-10 15:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:28:02] Production.INFO: ==5897== Releasing lock...
[2025-01-10 15:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 15:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 10:28:03] Production.INFO: ==5899== Lock acquired, processing the job...
[2025-01-10 10:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 10:28:03] Production.INFO: ==5909== Lock acquired, processing the job...
[2025-01-10 10:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 10:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 10:28:03] Production.INFO: ==5901== Lock acquired, processing the job...
[2025-01-10 10:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 10:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:28:03] Production.INFO: count ==21
[2025-01-10 10:28:03] Production.INFO: ==5903== Lock acquired, processing the job...
[2025-01-10 10:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 10:28:03] Production.INFO: ==5907== Lock acquired, processing the job...
[2025-01-10 10:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 10:28:03] Production.INFO: ==5905== Lock acquired, processing the job...
[2025-01-10 10:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 10:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:28:03] Production.INFO: count ==21
[2025-01-10 10:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216303') start
[2025-01-10 10:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 10:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 10:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 10:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 10:28:03] Production.INFO: Account Balance Start.
[2025-01-10 10:28:03] Production.INFO: CreateAllLog Start
[2025-01-10 10:28:03] Production.INFO: 117
[2025-01-10 10:28:03] Production.INFO: Date 2025-01-08
[2025-01-10 10:28:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:28:03] Production.INFO: Date 2025-01-09
[2025-01-10 10:28:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216303') end
[2025-01-10 10:28:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 10:28:03] Production.INFO: 1
[2025-01-10 10:28:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 10:28:03] Production.INFO: Date 2025-01-10
[2025-01-10 10:28:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:28:03] Production.INFO: Total Charge 0
[2025-01-10 10:28:03] Production.INFO: CreateAllLog End
[2025-01-10 10:28:03] Production.INFO: ==5909== Releasing lock...
[2025-01-10 10:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 10:28:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 10:28:03] Production.INFO: ==5901== Releasing lock...
[2025-01-10 10:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 10:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 10:28:03] Production.INFO: Account Balance End.
[2025-01-10 10:28:03] Production.ERROR: CronJobId end 12
[2025-01-10 10:28:03] Production.INFO: ==5905== Releasing lock...
[2025-01-10 10:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 10:28:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 10:28:03] Production.ERROR: done
[2025-01-10 10:28:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 10:28:03] Production.ERROR: done
[2025-01-10 10:28:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 07:28:04
[end_date_ymd] => 2025-01-10 10:28:04
[RateCDR] => 1
)
[2025-01-10 10:28:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 07:28:04' and `end` < '2025-01-10 10:28:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 10:28:11] Production.ERROR: CronJobId end10
[2025-01-10 10:28:11] Production.INFO: ==5903== Releasing lock...
[2025-01-10 10:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 10:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 10:28:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 10:28:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 10:28:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 10:28:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 10:28:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 10:28:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 10:28:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 10:28:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 10:28:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 10:28:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 10:28:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 10:28:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 10:28:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 10:28:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 10:28:13] Production.INFO: call_cost start
[2025-01-10 10:28:13] Production.INFO: call_cost end
[2025-01-10 10:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 10:28:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 10:28:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 10:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 10:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 10:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 10:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 10:28:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 10:28:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 10:28:14] Production.INFO: ==5899== Releasing lock...
[2025-01-10 10:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 10:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 10:28:26] Production.INFO: count ==2660
[2025-01-10 10:28:27] Production.ERROR: pbx CDR StartTime 2025-01-10 07:28:04 - End Time 2025-01-10 10:28:04
[2025-01-10 10:28:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 10:28:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216306', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:28:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216306', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:28:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216306', 'tblTempVendorCDR_20' ) start
[2025-01-10 10:28:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216306', 'tblTempVendorCDR_20' ) end
[2025-01-10 10:28:27] Production.INFO: ProcessCDR(1,14216306,1,1,2)
[2025-01-10 10:28:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216306,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:28:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216306,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:28:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216306,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:28:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216306,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:28:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216306', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:28:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216306', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:28:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:28:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:28:32] Production.INFO: ==5907== Releasing lock...
[2025-01-10 10:28:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 10:28:32] Production.INFO: 48.25 MB #Memory Used#
[2025-01-10 15:29:02] Production.INFO: ==5963== Lock acquired, processing the job...
[2025-01-10 15:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 15:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 15:29:02] Production.INFO: neon service started
[2025-01-10 15:29:02] Production.INFO: neon service started
[2025-01-10 15:29:02] Production.INFO: ==5963== Releasing lock...
[2025-01-10 15:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 15:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 10:29:02] Production.INFO: ==5965== Lock acquired, processing the job...
[2025-01-10 10:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 10:29:02] Production.INFO: ==5965== Releasing lock...
[2025-01-10 10:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 10:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:29:02] Production.INFO: ==5967== Lock acquired, processing the job...
[2025-01-10 15:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:29:02] Production.INFO: ==5967== Releasing lock...
[2025-01-10 15:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 15:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 10:29:03] Production.INFO: ==5969== Lock acquired, processing the job...
[2025-01-10 10:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 10:29:03] Production.INFO: ==5976== Lock acquired, processing the job...
[2025-01-10 10:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 10:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 10:29:03] Production.INFO: ==5974== Lock acquired, processing the job...
[2025-01-10 10:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 10:29:03] Production.INFO: ==5971== Lock acquired, processing the job...
[2025-01-10 10:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 10:29:03] Production.INFO: Account Balance Start.
[2025-01-10 10:29:03] Production.INFO: CreateAllLog Start
[2025-01-10 10:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 10:29:03] Production.INFO: 117
[2025-01-10 10:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 10:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 10:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 10:29:03] Production.INFO: Date 2025-01-08
[2025-01-10 10:29:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:29:03] Production.INFO: Date 2025-01-09
[2025-01-10 10:29:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:29:03] Production.INFO: Date 2025-01-10
[2025-01-10 10:29:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:29:03] Production.INFO: ==5978== Lock acquired, processing the job...
[2025-01-10 10:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 10:29:03] Production.INFO: ==5980== Lock acquired, processing the job...
[2025-01-10 10:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 10:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:29:03] Production.INFO: Total Charge 0
[2025-01-10 10:29:03] Production.INFO: CreateAllLog End
[2025-01-10 10:29:04] Production.INFO: ==5971== Releasing lock...
[2025-01-10 10:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 10:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 10:29:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:29:04] Production.INFO: count ==21
[2025-01-10 10:29:04] Production.ERROR: done
[2025-01-10 10:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:29:04] Production.INFO: count ==21
[2025-01-10 10:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 10:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216310') start
[2025-01-10 10:29:04] Production.INFO: Account Balance End.
[2025-01-10 10:29:04] Production.ERROR: CronJobId end 12
[2025-01-10 10:29:04] Production.INFO: ==5976== Releasing lock...
[2025-01-10 10:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 10:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 10:29:04] Production.ERROR: done
[2025-01-10 10:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216310') end
[2025-01-10 10:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 10:29:04] Production.INFO: 1
[2025-01-10 10:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 10:29:04] Production.INFO: ==5980== Releasing lock...
[2025-01-10 10:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 10:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 10:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 07:29:05
[end_date_ymd] => 2025-01-10 10:29:05
[RateCDR] => 1
)
[2025-01-10 10:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 07:29:05' and `end` < '2025-01-10 10:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 10:29:11] Production.ERROR: CronJobId end10
[2025-01-10 10:29:11] Production.INFO: ==5974== Releasing lock...
[2025-01-10 10:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 10:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 10:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 10:29:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 10:29:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 10:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 10:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 10:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 10:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 10:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 10:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 10:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 10:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 10:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 10:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 10:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 10:29:13] Production.INFO: call_cost start
[2025-01-10 10:29:13] Production.INFO: call_cost end
[2025-01-10 10:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 10:29:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 10:29:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 10:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 10:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 10:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 10:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 10:29:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 10:29:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 10:29:14] Production.INFO: ==5969== Releasing lock...
[2025-01-10 10:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 10:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 10:29:25] Production.INFO: count ==2684
[2025-01-10 10:29:26] Production.ERROR: pbx CDR StartTime 2025-01-10 07:29:05 - End Time 2025-01-10 10:29:05
[2025-01-10 10:29:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 10:29:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216311', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:29:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216311', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:29:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216311', 'tblTempVendorCDR_20' ) start
[2025-01-10 10:29:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216311', 'tblTempVendorCDR_20' ) end
[2025-01-10 10:29:27] Production.INFO: ProcessCDR(1,14216311,1,1,2)
[2025-01-10 10:29:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216311,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:29:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216311,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:29:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216311,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:29:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216311,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:29:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216311', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:29:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216311', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:29:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:29:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:29:31] Production.INFO: ==5978== Releasing lock...
[2025-01-10 10:29:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 10:29:31] Production.INFO: 49.25 MB #Memory Used#
[2025-01-10 15:30:01] Production.INFO: ==6033== Lock acquired, processing the job...
[2025-01-10 15:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 15:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 15:30:01] Production.INFO: neon service started
[2025-01-10 15:30:01] Production.INFO: neon service started
[2025-01-10 15:30:01] Production.INFO: ==6033== Releasing lock...
[2025-01-10 15:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 15:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 10:30:01] Production.INFO: ==6035== Lock acquired, processing the job...
[2025-01-10 10:30:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 10:30:02] Production.INFO: ==6035== Releasing lock...
[2025-01-10 10:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 10:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:30:02] Production.INFO: ==6037== Lock acquired, processing the job...
[2025-01-10 15:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:30:02] Production.INFO: ==6037== Releasing lock...
[2025-01-10 15:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 15:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 10:30:03] Production.INFO: ==6047== Lock acquired, processing the job...
[2025-01-10 10:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 10:30:03] Production.INFO: ==6049== Lock acquired, processing the job...
[2025-01-10 10:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 10:30:03] Production.INFO: ==6039== Lock acquired, processing the job...
[2025-01-10 10:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 10:30:03] Production.INFO: Account Balance Start.
[2025-01-10 10:30:03] Production.INFO: CreateAllLog Start
[2025-01-10 10:30:03] Production.INFO: 117
[2025-01-10 10:30:03] Production.INFO: Date 2025-01-08
[2025-01-10 10:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:30:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:30:03] Production.INFO: ==6041== Lock acquired, processing the job...
[2025-01-10 10:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 10:30:03] Production.INFO: ==6053== Lock acquired, processing the job...
[2025-01-10 10:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 10:30:03] Production.INFO: Date 2025-01-09
[2025-01-10 10:30:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:30:03] Production.INFO: Date 2025-01-10
[2025-01-10 10:30:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:30:03] Production.INFO: ==6043== Lock acquired, processing the job...
[2025-01-10 10:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 10:30:03] Production.INFO: Total Charge 0
[2025-01-10 10:30:03] Production.INFO: ==6045== Lock acquired, processing the job...
[2025-01-10 10:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 10:30:03] Production.INFO: CreateAllLog End
[2025-01-10 10:30:03] Production.INFO: ==6051== Lock acquired, processing the job...
[2025-01-10 10:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 10:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 10:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 10:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 10:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 10:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 10:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 10:30:03] Production.ERROR: CronJob PID - 6041
[2025-01-10 10:30:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-10 10:30:03] Production.ERROR: CronJob ID - 5
[2025-01-10 10:30:03] Production.ERROR: CronJob Last Run Time 2025-01-10 10:30:00
[2025-01-10 10:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 10:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 10:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 10:30:03] Production.ERROR: CronJob PID - 6043
[2025-01-10 10:30:03] Production.ERROR: CronJob Title - Account Block
[2025-01-10 10:30:03] Production.ERROR: CronJob ID - 7
[2025-01-10 10:30:03] Production.ERROR: CronJob Last Run Time 2025-01-10 10:30:00
[2025-01-10 10:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 10:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 10:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 10:30:03] Production.ERROR: CronJob PID - 6045
[2025-01-10 10:30:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-10 10:30:03] Production.ERROR: CronJob ID - 10
[2025-01-10 10:30:03] Production.ERROR: CronJob Last Run Time 2025-01-10 10:30:00
[2025-01-10 10:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 10:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 10:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 10:30:03] Production.ERROR: CronJob PID - 6047
[2025-01-10 10:30:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-10 10:30:03] Production.ERROR: CronJob ID - 12
[2025-01-10 10:30:03] Production.ERROR: CronJob Last Run Time 2025-01-10 10:30:00
[2025-01-10 10:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 10:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 10:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 10:30:03] Production.ERROR: CronJob PID - 6049
[2025-01-10 10:30:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-10 10:30:03] Production.ERROR: CronJob ID - 16
[2025-01-10 10:30:03] Production.ERROR: CronJob Last Run Time 2025-01-10 10:30:00
[2025-01-10 10:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 10:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 10:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 10:30:03] Production.ERROR: CronJob PID - 6051
[2025-01-10 10:30:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-10 10:30:03] Production.ERROR: CronJob ID - 17
[2025-01-10 10:30:03] Production.ERROR: CronJob Last Run Time 2025-01-10 10:30:00
[2025-01-10 10:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 10:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 10:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 10:30:03] Production.ERROR: CronJob PID - 6053
[2025-01-10 10:30:03] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-10 10:30:03] Production.ERROR: CronJob ID - 19
[2025-01-10 10:30:03] Production.ERROR: CronJob Last Run Time 2025-01-10 10:30:00
[2025-01-10 10:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 10:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 10:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 10:30:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:30:03] Production.INFO: count ==21
[2025-01-10 10:30:03] Production.INFO: Account Balance End.
[2025-01-10 10:30:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:30:03] Production.INFO: count ==21
[2025-01-10 10:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 10:30:03] Production.INFO: ==6039== Releasing lock...
[2025-01-10 10:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 10:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 10:30:03] Production.ERROR: CronJobId end 12
[2025-01-10 10:30:03] Production.INFO: ==6047== Releasing lock...
[2025-01-10 10:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 10:30:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 10:30:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216313') start
[2025-01-10 10:30:03] Production.ERROR: done
[2025-01-10 10:30:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 10:30:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216313') end
[2025-01-10 10:30:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 10:30:03] Production.INFO: 1
[2025-01-10 10:30:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 10:30:03] Production.INFO: ==6043== Releasing lock...
[2025-01-10 10:30:03] Production.INFO: ==6053== Releasing lock...
[2025-01-10 10:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 10:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 10:30:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 10:30:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 10:30:03] Production.ERROR: done
[2025-01-10 10:30:03] Production.ERROR: done
[2025-01-10 10:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 10:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14216317', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 10:30:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 07:30:04
[end_date_ymd] => 2025-01-10 10:30:04
[RateCDR] => 1
)
[2025-01-10 10:30:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 07:30:04' and `end` < '2025-01-10 10:30:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 10:30:07] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14216317', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 10:30:07] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 10:30:07] Production.INFO: ProcessCDR(1,14216317,1,1,2)
[2025-01-10 10:30:07] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14216317,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:30:07] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14216317,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:30:07] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:30:07] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:30:07] Production.INFO: ==6051== Releasing lock...
[2025-01-10 10:30:07] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 10:30:07] Production.INFO: 26 MB #Memory Used#
[2025-01-10 10:30:11] Production.ERROR: CronJobId end10
[2025-01-10 10:30:11] Production.INFO: ==6045== Releasing lock...
[2025-01-10 10:30:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 10:30:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 10:30:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 10:30:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 10:30:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 10:30:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 10:30:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 10:30:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 10:30:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 10:30:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 10:30:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 10:30:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 10:30:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 10:30:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 10:30:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 10:30:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 10:30:13] Production.INFO: call_cost start
[2025-01-10 10:30:13] Production.INFO: call_cost end
[2025-01-10 10:30:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 10:30:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 10:30:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 10:30:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 10:30:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 10:30:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 10:30:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 10:30:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 10:30:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 10:30:14] Production.INFO: ==6041== Releasing lock...
[2025-01-10 10:30:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 10:30:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 10:30:27] Production.INFO: count ==2704
[2025-01-10 10:30:28] Production.ERROR: pbx CDR StartTime 2025-01-10 07:30:04 - End Time 2025-01-10 10:30:04
[2025-01-10 10:30:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 10:30:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216316', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:30:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216316', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:30:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216316', 'tblTempVendorCDR_20' ) start
[2025-01-10 10:30:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216316', 'tblTempVendorCDR_20' ) end
[2025-01-10 10:30:28] Production.INFO: ProcessCDR(1,14216316,1,1,2)
[2025-01-10 10:30:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216316,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:30:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216316,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:30:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216316,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:30:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216316,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:30:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216316', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:30:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216316', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:30:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:30:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:30:32] Production.INFO: ==6049== Releasing lock...
[2025-01-10 10:30:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 10:30:32] Production.INFO: 49.25 MB #Memory Used#
[2025-01-10 15:31:01] Production.INFO: ==6107== Lock acquired, processing the job...
[2025-01-10 15:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 15:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 15:31:01] Production.INFO: neon service started
[2025-01-10 15:31:01] Production.INFO: neon service started
[2025-01-10 15:31:01] Production.INFO: ==6107== Releasing lock...
[2025-01-10 15:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 15:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 10:31:02] Production.INFO: ==6109== Lock acquired, processing the job...
[2025-01-10 10:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 10:31:02] Production.INFO: ==6109== Releasing lock...
[2025-01-10 10:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 10:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:31:02] Production.INFO: ==6111== Lock acquired, processing the job...
[2025-01-10 15:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:31:02] Production.INFO: ==6111== Releasing lock...
[2025-01-10 15:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 15:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 10:31:03] Production.INFO: ==6116== Lock acquired, processing the job...
[2025-01-10 10:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 10:31:03] Production.INFO: ==6114== Lock acquired, processing the job...
[2025-01-10 10:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 10:31:03] Production.INFO: ==6124== Lock acquired, processing the job...
[2025-01-10 10:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 10:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 10:31:03] Production.INFO: ==6118== Lock acquired, processing the job...
[2025-01-10 10:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 10:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:31:03] Production.INFO: ==6120== Lock acquired, processing the job...
[2025-01-10 10:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 10:31:03] Production.INFO: ==6116== Releasing lock...
[2025-01-10 10:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 10:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 10:31:03] Production.INFO: ==6122== Lock acquired, processing the job...
[2025-01-10 10:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 10:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 10:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 10:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 10:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 10:31:03] Production.INFO: count ==21
[2025-01-10 10:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:31:03] Production.INFO: count ==21
[2025-01-10 10:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216320') start
[2025-01-10 10:31:03] Production.INFO: Account Balance Start.
[2025-01-10 10:31:03] Production.INFO: CreateAllLog Start
[2025-01-10 10:31:03] Production.INFO: 117
[2025-01-10 10:31:03] Production.INFO: Date 2025-01-08
[2025-01-10 10:31:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216320') end
[2025-01-10 10:31:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 10:31:03] Production.INFO: 1
[2025-01-10 10:31:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 10:31:03] Production.INFO: Date 2025-01-09
[2025-01-10 10:31:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:31:03] Production.ERROR: done
[2025-01-10 10:31:03] Production.INFO: ==6124== Releasing lock...
[2025-01-10 10:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 10:31:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 10:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 10:31:03] Production.INFO: Date 2025-01-10
[2025-01-10 10:31:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:31:04] Production.INFO: Total Charge 0
[2025-01-10 10:31:04] Production.INFO: CreateAllLog End
[2025-01-10 10:31:04] Production.ERROR: done
[2025-01-10 10:31:04] Production.INFO: Account Balance End.
[2025-01-10 10:31:04] Production.ERROR: CronJobId end 12
[2025-01-10 10:31:04] Production.INFO: ==6120== Releasing lock...
[2025-01-10 10:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 10:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 10:31:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 07:31:04
[end_date_ymd] => 2025-01-10 10:31:04
[RateCDR] => 1
)
[2025-01-10 10:31:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 07:31:04' and `end` < '2025-01-10 10:31:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 10:31:11] Production.ERROR: CronJobId end10
[2025-01-10 10:31:11] Production.INFO: ==6118== Releasing lock...
[2025-01-10 10:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 10:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 10:31:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 10:31:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 10:31:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 10:31:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 10:31:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 10:31:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 10:31:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 10:31:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 10:31:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 10:31:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 10:31:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 10:31:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 10:31:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 10:31:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 10:31:13] Production.INFO: call_cost start
[2025-01-10 10:31:13] Production.INFO: call_cost end
[2025-01-10 10:31:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 10:31:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 10:31:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 10:31:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 10:31:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 10:31:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 10:31:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 10:31:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 10:31:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 10:31:13] Production.INFO: ==6114== Releasing lock...
[2025-01-10 10:31:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 10:31:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 10:31:30] Production.INFO: count ==2812
[2025-01-10 10:31:31] Production.ERROR: pbx CDR StartTime 2025-01-10 07:31:04 - End Time 2025-01-10 10:31:04
[2025-01-10 10:31:31] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 10:31:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216322', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:31:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216322', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:31:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216322', 'tblTempVendorCDR_20' ) start
[2025-01-10 10:31:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216322', 'tblTempVendorCDR_20' ) end
[2025-01-10 10:31:32] Production.INFO: ProcessCDR(1,14216322,1,1,2)
[2025-01-10 10:31:32] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216322,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:31:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216322,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:31:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216322,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:31:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216322,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:31:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216322', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:31:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216322', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:31:36] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:31:36] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:31:36] Production.INFO: ==6122== Releasing lock...
[2025-01-10 10:31:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 10:31:36] Production.INFO: 50 MB #Memory Used#
[2025-01-10 15:32:02] Production.INFO: ==6180== Lock acquired, processing the job...
[2025-01-10 15:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 15:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 15:32:02] Production.INFO: neon service started
[2025-01-10 15:32:02] Production.INFO: neon service started
[2025-01-10 15:32:02] Production.INFO: ==6180== Releasing lock...
[2025-01-10 15:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 15:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 15:32:02] Production.INFO: ==6184== Lock acquired, processing the job...
[2025-01-10 15:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:32:02] Production.INFO: ==6184== Releasing lock...
[2025-01-10 15:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 15:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 10:32:02] Production.INFO: ==6182== Lock acquired, processing the job...
[2025-01-10 10:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 10:32:03] Production.INFO: ==6182== Releasing lock...
[2025-01-10 10:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 10:32:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:32:03] Production.INFO: ==6188== Lock acquired, processing the job...
[2025-01-10 10:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 10:32:03] Production.INFO: ==6186== Lock acquired, processing the job...
[2025-01-10 10:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 10:32:03] Production.INFO: ==6192== Lock acquired, processing the job...
[2025-01-10 10:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 10:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 10:32:03] Production.INFO: Account Balance Start.
[2025-01-10 10:32:03] Production.INFO: CreateAllLog Start
[2025-01-10 10:32:03] Production.INFO: 117
[2025-01-10 10:32:04] Production.INFO: Date 2025-01-08
[2025-01-10 10:32:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:32:04] Production.INFO: ==6188== Releasing lock...
[2025-01-10 10:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 10:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 10:32:04] Production.INFO: Date 2025-01-09
[2025-01-10 10:32:04] Production.INFO: ==6190== Lock acquired, processing the job...
[2025-01-10 10:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 10:32:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:32:04] Production.INFO: Date 2025-01-10
[2025-01-10 10:32:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:32:04] Production.INFO: Total Charge 0
[2025-01-10 10:32:04] Production.INFO: ==6194== Lock acquired, processing the job...
[2025-01-10 10:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 10:32:04] Production.INFO: CreateAllLog End
[2025-01-10 10:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 10:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 10:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 10:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 10:32:04] Production.INFO: ==6196== Lock acquired, processing the job...
[2025-01-10 10:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 10:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:32:04] Production.INFO: Account Balance End.
[2025-01-10 10:32:04] Production.ERROR: CronJobId end 12
[2025-01-10 10:32:04] Production.INFO: ==6192== Releasing lock...
[2025-01-10 10:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 10:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 10:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:32:04] Production.INFO: count ==21
[2025-01-10 10:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:32:04] Production.INFO: count ==21
[2025-01-10 10:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216326') start
[2025-01-10 10:32:04] Production.ERROR: done
[2025-01-10 10:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 10:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216326') end
[2025-01-10 10:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 10:32:04] Production.INFO: 1
[2025-01-10 10:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 10:32:04] Production.ERROR: done
[2025-01-10 10:32:04] Production.INFO: ==6196== Releasing lock...
[2025-01-10 10:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 10:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 10:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 07:32:05
[end_date_ymd] => 2025-01-10 10:32:05
[RateCDR] => 1
)
[2025-01-10 10:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 07:32:05' and `end` < '2025-01-10 10:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 10:32:11] Production.ERROR: CronJobId end10
[2025-01-10 10:32:11] Production.INFO: ==6190== Releasing lock...
[2025-01-10 10:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 10:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 10:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 10:32:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 10:32:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 10:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 10:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 10:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 10:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 10:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 10:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 10:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 10:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 10:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 10:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 10:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 10:32:14] Production.INFO: call_cost start
[2025-01-10 10:32:14] Production.INFO: call_cost end
[2025-01-10 10:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 10:32:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 10:32:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 10:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 10:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 10:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 10:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 10:32:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 10:32:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 10:32:14] Production.INFO: ==6186== Releasing lock...
[2025-01-10 10:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 10:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 10:32:22] Production.INFO: count ==2824
[2025-01-10 10:32:23] Production.ERROR: pbx CDR StartTime 2025-01-10 07:32:05 - End Time 2025-01-10 10:32:05
[2025-01-10 10:32:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 10:32:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216327', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:32:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216327', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:32:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216327', 'tblTempVendorCDR_20' ) start
[2025-01-10 10:32:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216327', 'tblTempVendorCDR_20' ) end
[2025-01-10 10:32:23] Production.INFO: ProcessCDR(1,14216327,1,1,2)
[2025-01-10 10:32:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216327,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:32:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216327,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:32:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216327,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:32:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216327,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:32:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216327', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:32:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216327', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:32:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:32:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:32:27] Production.INFO: ==6194== Releasing lock...
[2025-01-10 10:32:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 10:32:27] Production.INFO: 49.25 MB #Memory Used#
[2025-01-10 15:33:01] Production.INFO: ==6253== Lock acquired, processing the job...
[2025-01-10 15:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 15:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 15:33:01] Production.INFO: neon service started
[2025-01-10 15:33:01] Production.INFO: neon service started
[2025-01-10 15:33:01] Production.INFO: ==6253== Releasing lock...
[2025-01-10 15:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 15:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 15:33:02] Production.INFO: ==6257== Lock acquired, processing the job...
[2025-01-10 15:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:33:02] Production.INFO: ==6257== Releasing lock...
[2025-01-10 15:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 15:33:02] Production.INFO: 26 MB #Memory Used#
[2025-01-10 10:33:02] Production.INFO: ==6255== Lock acquired, processing the job...
[2025-01-10 10:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 10:33:02] Production.INFO: ==6255== Releasing lock...
[2025-01-10 10:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 10:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:33:03] Production.INFO: ==6259== Lock acquired, processing the job...
[2025-01-10 10:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 10:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 10:33:03] Production.INFO: ==6263== Lock acquired, processing the job...
[2025-01-10 10:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 10:33:03] Production.INFO: ==6267== Lock acquired, processing the job...
[2025-01-10 10:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 10:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 10:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 10:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 10:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 10:33:03] Production.INFO: ==6261== Lock acquired, processing the job...
[2025-01-10 10:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 10:33:03] Production.INFO: ==6265== Lock acquired, processing the job...
[2025-01-10 10:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 10:33:03] Production.INFO: ==6270== Lock acquired, processing the job...
[2025-01-10 10:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 10:33:03] Production.ERROR: done
[2025-01-10 10:33:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 10:33:03] Production.INFO: Account Balance Start.
[2025-01-10 10:33:03] Production.INFO: CreateAllLog Start
[2025-01-10 10:33:03] Production.INFO: 117
[2025-01-10 10:33:03] Production.INFO: Date 2025-01-08
[2025-01-10 10:33:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:33:03] Production.INFO: Date 2025-01-09
[2025-01-10 10:33:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:33:03] Production.INFO: count ==21
[2025-01-10 10:33:03] Production.INFO: Date 2025-01-10
[2025-01-10 10:33:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:33:03] Production.INFO: count ==21
[2025-01-10 10:33:03] Production.INFO: Total Charge 0
[2025-01-10 10:33:03] Production.INFO: ==6261== Releasing lock...
[2025-01-10 10:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 10:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 10:33:03] Production.INFO: CreateAllLog End
[2025-01-10 10:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216331') start
[2025-01-10 10:33:03] Production.ERROR: done
[2025-01-10 10:33:04] Production.INFO: Account Balance End.
[2025-01-10 10:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216331') end
[2025-01-10 10:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 10:33:04] Production.INFO: 1
[2025-01-10 10:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 10:33:04] Production.ERROR: CronJobId end 12
[2025-01-10 10:33:04] Production.INFO: ==6265== Releasing lock...
[2025-01-10 10:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 10:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 10:33:04] Production.INFO: ==6270== Releasing lock...
[2025-01-10 10:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 10:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 10:33:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 07:33:04
[end_date_ymd] => 2025-01-10 10:33:04
[RateCDR] => 1
)
[2025-01-10 10:33:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 07:33:04' and `end` < '2025-01-10 10:33:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 10:33:11] Production.ERROR: CronJobId end10
[2025-01-10 10:33:11] Production.INFO: ==6263== Releasing lock...
[2025-01-10 10:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 10:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 10:33:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 10:33:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 10:33:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 10:33:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 10:33:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 10:33:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 10:33:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 10:33:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 10:33:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 10:33:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 10:33:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 10:33:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 10:33:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 10:33:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 10:33:12] Production.INFO: call_cost start
[2025-01-10 10:33:12] Production.INFO: call_cost end
[2025-01-10 10:33:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 10:33:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 10:33:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 10:33:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 10:33:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 10:33:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 10:33:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 10:33:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 10:33:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 10:33:13] Production.INFO: ==6259== Releasing lock...
[2025-01-10 10:33:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 10:33:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 10:33:23] Production.INFO: count ==2850
[2025-01-10 10:33:24] Production.ERROR: pbx CDR StartTime 2025-01-10 07:33:04 - End Time 2025-01-10 10:33:04
[2025-01-10 10:33:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 10:33:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216332', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:33:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216332', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:33:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216332', 'tblTempVendorCDR_20' ) start
[2025-01-10 10:33:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216332', 'tblTempVendorCDR_20' ) end
[2025-01-10 10:33:24] Production.INFO: ProcessCDR(1,14216332,1,1,2)
[2025-01-10 10:33:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216332,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:33:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216332,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:33:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216332,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:33:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216332,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:33:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216332', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:33:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216332', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:33:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:33:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:33:29] Production.INFO: ==6267== Releasing lock...
[2025-01-10 10:33:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 10:33:29] Production.INFO: 50.75 MB #Memory Used#
[2025-01-10 15:34:02] Production.INFO: ==6323== Lock acquired, processing the job...
[2025-01-10 15:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 15:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 15:34:02] Production.INFO: neon service started
[2025-01-10 15:34:02] Production.INFO: neon service started
[2025-01-10 15:34:02] Production.INFO: ==6323== Releasing lock...
[2025-01-10 15:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 15:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 15:34:02] Production.INFO: ==6327== Lock acquired, processing the job...
[2025-01-10 15:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:34:02] Production.INFO: ==6327== Releasing lock...
[2025-01-10 15:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 15:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 10:34:02] Production.INFO: ==6325== Lock acquired, processing the job...
[2025-01-10 10:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 10:34:02] Production.INFO: ==6325== Releasing lock...
[2025-01-10 10:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 10:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:34:03] Production.INFO: ==6331== Lock acquired, processing the job...
[2025-01-10 10:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 10:34:03] Production.INFO: ==6338== Lock acquired, processing the job...
[2025-01-10 10:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 10:34:03] Production.INFO: ==6329== Lock acquired, processing the job...
[2025-01-10 10:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 10:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:34:03] Production.INFO: ==6331== Releasing lock...
[2025-01-10 10:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 10:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 10:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 10:34:03] Production.INFO: ==6334== Lock acquired, processing the job...
[2025-01-10 10:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 10:34:03] Production.INFO: ==6336== Lock acquired, processing the job...
[2025-01-10 10:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 10:34:04] Production.INFO: ==6340== Lock acquired, processing the job...
[2025-01-10 10:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 10:34:04] Production.INFO: Account Balance Start.
[2025-01-10 10:34:04] Production.INFO: CreateAllLog Start
[2025-01-10 10:34:04] Production.INFO: 117
[2025-01-10 10:34:04] Production.INFO: Date 2025-01-08
[2025-01-10 10:34:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 10:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 10:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 10:34:04] Production.INFO: Date 2025-01-09
[2025-01-10 10:34:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 10:34:04] Production.INFO: Date 2025-01-10
[2025-01-10 10:34:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:34:04] Production.INFO: Total Charge 0
[2025-01-10 10:34:04] Production.INFO: CreateAllLog End
[2025-01-10 10:34:04] Production.ERROR: done
[2025-01-10 10:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 10:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:34:04] Production.INFO: count ==21
[2025-01-10 10:34:04] Production.ERROR: done
[2025-01-10 10:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:34:04] Production.INFO: count ==21
[2025-01-10 10:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216336') start
[2025-01-10 10:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216336') end
[2025-01-10 10:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 10:34:04] Production.INFO: 1
[2025-01-10 10:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 10:34:04] Production.INFO: Account Balance End.
[2025-01-10 10:34:04] Production.INFO: ==6340== Releasing lock...
[2025-01-10 10:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 10:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 10:34:04] Production.ERROR: CronJobId end 12
[2025-01-10 10:34:04] Production.INFO: ==6336== Releasing lock...
[2025-01-10 10:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 10:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 10:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 07:34:05
[end_date_ymd] => 2025-01-10 10:34:05
[RateCDR] => 1
)
[2025-01-10 10:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 07:34:05' and `end` < '2025-01-10 10:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 10:34:10] Production.ERROR: CronJobId end10
[2025-01-10 10:34:10] Production.INFO: ==6334== Releasing lock...
[2025-01-10 10:34:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 10:34:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 10:34:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 10:34:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 10:34:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 10:34:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 10:34:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 10:34:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 10:34:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 10:34:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 10:34:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 10:34:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 10:34:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 10:34:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 10:34:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 10:34:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 10:34:13] Production.INFO: call_cost start
[2025-01-10 10:34:13] Production.INFO: call_cost end
[2025-01-10 10:34:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 10:34:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 10:34:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 10:34:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 10:34:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 10:34:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 10:34:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 10:34:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 10:34:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 10:34:13] Production.INFO: ==6329== Releasing lock...
[2025-01-10 10:34:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 10:34:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 10:34:33] Production.INFO: count ==2867
[2025-01-10 10:34:34] Production.ERROR: pbx CDR StartTime 2025-01-10 07:34:05 - End Time 2025-01-10 10:34:05
[2025-01-10 10:34:34] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 10:34:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216337', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:34:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216337', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:34:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216337', 'tblTempVendorCDR_20' ) start
[2025-01-10 10:34:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216337', 'tblTempVendorCDR_20' ) end
[2025-01-10 10:34:34] Production.INFO: ProcessCDR(1,14216337,1,1,2)
[2025-01-10 10:34:34] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216337,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:34:36] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216337,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:34:36] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216337,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:34:38] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216337,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:34:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216337', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:34:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216337', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:34:38] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:34:38] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:34:38] Production.INFO: ==6338== Releasing lock...
[2025-01-10 10:34:38] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 10:34:38] Production.INFO: 50 MB #Memory Used#
[2025-01-10 15:35:01] Production.INFO: ==6395== Lock acquired, processing the job...
[2025-01-10 15:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 15:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 15:35:01] Production.INFO: neon service started
[2025-01-10 15:35:01] Production.INFO: neon service started
[2025-01-10 15:35:01] Production.INFO: ==6395== Releasing lock...
[2025-01-10 15:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 15:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 10:35:01] Production.INFO: ==6397== Lock acquired, processing the job...
[2025-01-10 10:35:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 15:35:02] Production.INFO: ==6399== Lock acquired, processing the job...
[2025-01-10 15:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:35:02] Production.INFO: ==6399== Releasing lock...
[2025-01-10 15:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 15:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 10:35:02] Production.INFO: ==6397== Releasing lock...
[2025-01-10 10:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 10:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:35:02] Production.INFO: ==6407== Lock acquired, processing the job...
[2025-01-10 10:35:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 10:35:02] Production.INFO: ==6409== Lock acquired, processing the job...
[2025-01-10 10:35:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 10:35:02] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:35:03] Production.INFO: ==6401== Lock acquired, processing the job...
[2025-01-10 10:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 10:35:03] Production.INFO: ==6403== Lock acquired, processing the job...
[2025-01-10 10:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 10:35:03] Production.INFO: ==6405== Lock acquired, processing the job...
[2025-01-10 10:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 10:35:03] Production.INFO: Account Balance Start.
[2025-01-10 10:35:03] Production.INFO: CreateAllLog Start
[2025-01-10 10:35:03] Production.INFO: 117
[2025-01-10 10:35:03] Production.INFO: ==6412== Lock acquired, processing the job...
[2025-01-10 10:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 10:35:03] Production.INFO: Date 2025-01-08
[2025-01-10 10:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 10:35:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 10:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 10:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 10:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 10:35:03] Production.INFO: Date 2025-01-09
[2025-01-10 10:35:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:35:03] Production.ERROR: done
[2025-01-10 10:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 10:35:03] Production.INFO: Date 2025-01-10
[2025-01-10 10:35:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:35:03] Production.INFO: Total Charge 0
[2025-01-10 10:35:03] Production.INFO: ==6403== Releasing lock...
[2025-01-10 10:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 10:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 10:35:03] Production.INFO: count ==21
[2025-01-10 10:35:03] Production.INFO: CreateAllLog End
[2025-01-10 10:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:35:03] Production.INFO: count ==21
[2025-01-10 10:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216341') start
[2025-01-10 10:35:03] Production.INFO: Account Balance End.
[2025-01-10 10:35:03] Production.ERROR: done
[2025-01-10 10:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216341') end
[2025-01-10 10:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 10:35:03] Production.INFO: 1
[2025-01-10 10:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 10:35:03] Production.ERROR: CronJobId end 12
[2025-01-10 10:35:03] Production.INFO: ==6407== Releasing lock...
[2025-01-10 10:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 10:35:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 10:35:03] Production.INFO: ==6412== Releasing lock...
[2025-01-10 10:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 10:35:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 10:35:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 07:35:04
[end_date_ymd] => 2025-01-10 10:35:04
[RateCDR] => 1
)
[2025-01-10 10:35:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 07:35:04' and `end` < '2025-01-10 10:35:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 10:35:10] Production.ERROR: CronJobId end10
[2025-01-10 10:35:10] Production.INFO: ==6405== Releasing lock...
[2025-01-10 10:35:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 10:35:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 10:35:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 10:35:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 10:35:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 10:35:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 10:35:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 10:35:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 10:35:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 10:35:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 10:35:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 10:35:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 10:35:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 10:35:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 10:35:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 10:35:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 10:35:12] Production.INFO: call_cost start
[2025-01-10 10:35:12] Production.INFO: call_cost end
[2025-01-10 10:35:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 10:35:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 10:35:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 10:35:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 10:35:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 10:35:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 10:35:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 10:35:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 10:35:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 10:35:13] Production.INFO: ==6401== Releasing lock...
[2025-01-10 10:35:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 10:35:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 10:35:24] Production.INFO: count ==2880
[2025-01-10 10:35:25] Production.ERROR: pbx CDR StartTime 2025-01-10 07:35:04 - End Time 2025-01-10 10:35:04
[2025-01-10 10:35:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 10:35:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216342', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:35:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216342', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:35:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216342', 'tblTempVendorCDR_20' ) start
[2025-01-10 10:35:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216342', 'tblTempVendorCDR_20' ) end
[2025-01-10 10:35:25] Production.INFO: ProcessCDR(1,14216342,1,1,2)
[2025-01-10 10:35:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216342,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:35:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216342,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:35:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216342,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:35:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216342,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:35:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216342', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:35:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216342', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:35:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:35:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:35:30] Production.INFO: ==6409== Releasing lock...
[2025-01-10 10:35:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 10:35:30] Production.INFO: 51.25 MB #Memory Used#
[2025-01-10 15:36:01] Production.INFO: ==6466== Lock acquired, processing the job...
[2025-01-10 15:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 15:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 15:36:01] Production.INFO: neon service started
[2025-01-10 15:36:01] Production.INFO: neon service started
[2025-01-10 15:36:01] Production.INFO: ==6466== Releasing lock...
[2025-01-10 15:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 15:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 15:36:02] Production.INFO: ==6470== Lock acquired, processing the job...
[2025-01-10 15:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:36:02] Production.INFO: ==6470== Releasing lock...
[2025-01-10 15:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 15:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 10:36:02] Production.INFO: ==6468== Lock acquired, processing the job...
[2025-01-10 10:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 10:36:02] Production.INFO: ==6468== Releasing lock...
[2025-01-10 10:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 10:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:36:03] Production.INFO: ==6473== Lock acquired, processing the job...
[2025-01-10 10:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 10:36:03] Production.INFO: ==6477== Lock acquired, processing the job...
[2025-01-10 10:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 10:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 10:36:03] Production.INFO: ==6479== Lock acquired, processing the job...
[2025-01-10 10:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 10:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 10:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 10:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 10:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 10:36:03] Production.INFO: ==6475== Lock acquired, processing the job...
[2025-01-10 10:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 10:36:03] Production.INFO: Account Balance Start.
[2025-01-10 10:36:03] Production.INFO: CreateAllLog Start
[2025-01-10 10:36:03] Production.INFO: 117
[2025-01-10 10:36:03] Production.INFO: Date 2025-01-08
[2025-01-10 10:36:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:36:03] Production.INFO: Date 2025-01-09
[2025-01-10 10:36:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:36:03] Production.INFO: Date 2025-01-10
[2025-01-10 10:36:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:36:03] Production.INFO: Total Charge 0
[2025-01-10 10:36:03] Production.INFO: CreateAllLog End
[2025-01-10 10:36:03] Production.INFO: ==6481== Lock acquired, processing the job...
[2025-01-10 10:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 10:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:36:03] Production.INFO: ==6483== Lock acquired, processing the job...
[2025-01-10 10:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 10:36:04] Production.INFO: Account Balance End.
[2025-01-10 10:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:36:04] Production.ERROR: CronJobId end 12
[2025-01-10 10:36:04] Production.INFO: ==6479== Releasing lock...
[2025-01-10 10:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 10:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 10:36:04] Production.INFO: ==6475== Releasing lock...
[2025-01-10 10:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 10:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 10:36:04] Production.INFO: count ==21
[2025-01-10 10:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:36:04] Production.INFO: count ==21
[2025-01-10 10:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216346') start
[2025-01-10 10:36:04] Production.ERROR: done
[2025-01-10 10:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 10:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216346') end
[2025-01-10 10:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 10:36:04] Production.INFO: 1
[2025-01-10 10:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 10:36:04] Production.ERROR: done
[2025-01-10 10:36:04] Production.INFO: ==6483== Releasing lock...
[2025-01-10 10:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 10:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 10:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 07:36:05
[end_date_ymd] => 2025-01-10 10:36:05
[RateCDR] => 1
)
[2025-01-10 10:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 07:36:05' and `end` < '2025-01-10 10:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 10:36:11] Production.ERROR: CronJobId end10
[2025-01-10 10:36:11] Production.INFO: ==6477== Releasing lock...
[2025-01-10 10:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 10:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 10:36:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 10:36:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 10:36:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 10:36:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 10:36:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 10:36:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 10:36:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 10:36:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 10:36:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 10:36:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 10:36:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 10:36:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 10:36:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 10:36:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 10:36:13] Production.INFO: call_cost start
[2025-01-10 10:36:13] Production.INFO: call_cost end
[2025-01-10 10:36:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 10:36:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 10:36:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 10:36:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 10:36:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 10:36:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 10:36:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 10:36:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 10:36:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 10:36:13] Production.INFO: ==6473== Releasing lock...
[2025-01-10 10:36:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 10:36:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 10:36:25] Production.INFO: count ==2948
[2025-01-10 10:36:26] Production.ERROR: pbx CDR StartTime 2025-01-10 07:36:05 - End Time 2025-01-10 10:36:05
[2025-01-10 10:36:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 10:36:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216347', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:36:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216347', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:36:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216347', 'tblTempVendorCDR_20' ) start
[2025-01-10 10:36:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216347', 'tblTempVendorCDR_20' ) end
[2025-01-10 10:36:26] Production.INFO: ProcessCDR(1,14216347,1,1,2)
[2025-01-10 10:36:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216347,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:36:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216347,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:36:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216347,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:36:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216347,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:36:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216347', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:36:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216347', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:36:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:36:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:36:31] Production.INFO: ==6481== Releasing lock...
[2025-01-10 10:36:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 10:36:31] Production.INFO: 50.5 MB #Memory Used#
[2025-01-10 15:37:02] Production.INFO: ==6535== Lock acquired, processing the job...
[2025-01-10 15:37:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 15:37:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 15:37:02] Production.INFO: neon service started
[2025-01-10 15:37:02] Production.INFO: neon service started
[2025-01-10 15:37:02] Production.INFO: ==6535== Releasing lock...
[2025-01-10 15:37:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 15:37:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 10:37:02] Production.INFO: ==6538== Lock acquired, processing the job...
[2025-01-10 10:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 15:37:02] Production.INFO: ==6540== Lock acquired, processing the job...
[2025-01-10 15:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:37:02] Production.INFO: ==6540== Releasing lock...
[2025-01-10 15:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 15:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 10:37:03] Production.INFO: ==6538== Releasing lock...
[2025-01-10 10:37:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 10:37:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:37:03] Production.INFO: ==6544== Lock acquired, processing the job...
[2025-01-10 10:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 10:37:04] Production.INFO: ==6552== Lock acquired, processing the job...
[2025-01-10 10:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 10:37:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:37:04] Production.INFO: ==6542== Lock acquired, processing the job...
[2025-01-10 10:37:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 10:37:04] Production.INFO: count ==21
[2025-01-10 10:37:04] Production.INFO: ==6544== Releasing lock...
[2025-01-10 10:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 10:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 10:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:37:04] Production.INFO: count ==21
[2025-01-10 10:37:04] Production.INFO: ==6546== Lock acquired, processing the job...
[2025-01-10 10:37:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 10:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216349') start
[2025-01-10 10:37:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 10:37:04] Production.INFO: ==6548== Lock acquired, processing the job...
[2025-01-10 10:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 10:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216349') end
[2025-01-10 10:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 10:37:04] Production.INFO: 1
[2025-01-10 10:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 10:37:04] Production.INFO: ==6550== Lock acquired, processing the job...
[2025-01-10 10:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 10:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 10:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 10:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 10:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 10:37:04] Production.INFO: ==6552== Releasing lock...
[2025-01-10 10:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 10:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 10:37:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:37:04] Production.INFO: Account Balance Start.
[2025-01-10 10:37:04] Production.INFO: CreateAllLog Start
[2025-01-10 10:37:04] Production.INFO: 117
[2025-01-10 10:37:04] Production.INFO: Date 2025-01-08
[2025-01-10 10:37:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:37:04] Production.INFO: Date 2025-01-09
[2025-01-10 10:37:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:37:04] Production.INFO: Date 2025-01-10
[2025-01-10 10:37:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:37:04] Production.INFO: Total Charge 0
[2025-01-10 10:37:04] Production.INFO: CreateAllLog End
[2025-01-10 10:37:04] Production.ERROR: done
[2025-01-10 10:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 10:37:04] Production.ERROR: done
[2025-01-10 10:37:04] Production.INFO: Account Balance End.
[2025-01-10 10:37:05] Production.ERROR: CronJobId end 12
[2025-01-10 10:37:05] Production.INFO: ==6548== Releasing lock...
[2025-01-10 10:37:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 10:37:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 10:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 07:37:05
[end_date_ymd] => 2025-01-10 10:37:05
[RateCDR] => 1
)
[2025-01-10 10:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 07:37:05' and `end` < '2025-01-10 10:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 10:37:11] Production.ERROR: CronJobId end10
[2025-01-10 10:37:11] Production.INFO: ==6546== Releasing lock...
[2025-01-10 10:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 10:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 10:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 10:37:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 10:37:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 10:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 10:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 10:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 10:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 10:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 10:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 10:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 10:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 10:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 10:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 10:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 10:37:13] Production.INFO: call_cost start
[2025-01-10 10:37:13] Production.INFO: call_cost end
[2025-01-10 10:37:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 10:37:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 10:37:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 10:37:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 10:37:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 10:37:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 10:37:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 10:37:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 10:37:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 10:37:14] Production.INFO: ==6542== Releasing lock...
[2025-01-10 10:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 10:37:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 10:37:25] Production.INFO: count ==2951
[2025-01-10 10:37:26] Production.ERROR: pbx CDR StartTime 2025-01-10 07:37:05 - End Time 2025-01-10 10:37:05
[2025-01-10 10:37:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 10:37:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216352', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:37:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216352', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:37:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216352', 'tblTempVendorCDR_20' ) start
[2025-01-10 10:37:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216352', 'tblTempVendorCDR_20' ) end
[2025-01-10 10:37:26] Production.INFO: ProcessCDR(1,14216352,1,1,2)
[2025-01-10 10:37:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216352,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:37:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216352,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:37:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216352,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:37:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216352,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:37:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216352', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:37:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216352', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:37:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:37:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:37:29] Production.INFO: ==6550== Releasing lock...
[2025-01-10 10:37:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 10:37:29] Production.INFO: 50.5 MB #Memory Used#
[2025-01-10 15:38:01] Production.INFO: ==6607== Lock acquired, processing the job...
[2025-01-10 15:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 15:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 15:38:01] Production.INFO: neon service started
[2025-01-10 15:38:01] Production.INFO: neon service started
[2025-01-10 15:38:01] Production.INFO: ==6607== Releasing lock...
[2025-01-10 15:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 15:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 10:38:02] Production.INFO: ==6609== Lock acquired, processing the job...
[2025-01-10 10:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 10:38:02] Production.INFO: ==6609== Releasing lock...
[2025-01-10 10:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 10:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:38:02] Production.INFO: ==6611== Lock acquired, processing the job...
[2025-01-10 15:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:38:02] Production.INFO: ==6611== Releasing lock...
[2025-01-10 15:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 15:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 10:38:03] Production.INFO: ==6619== Lock acquired, processing the job...
[2025-01-10 10:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 10:38:03] Production.INFO: ==6623== Lock acquired, processing the job...
[2025-01-10 10:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 10:38:03] Production.INFO: Account Balance Start.
[2025-01-10 10:38:03] Production.INFO: CreateAllLog Start
[2025-01-10 10:38:03] Production.INFO: 117
[2025-01-10 10:38:03] Production.INFO: Date 2025-01-08
[2025-01-10 10:38:03] Production.INFO: ==6613== Lock acquired, processing the job...
[2025-01-10 10:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 10:38:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:38:03] Production.INFO: ==6615== Lock acquired, processing the job...
[2025-01-10 10:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 10:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:38:03] Production.INFO: count ==21
[2025-01-10 10:38:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:38:03] Production.INFO: count ==21
[2025-01-10 10:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216354') start
[2025-01-10 10:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 10:38:03] Production.INFO: Date 2025-01-09
[2025-01-10 10:38:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:38:03] Production.INFO: ==6617== Lock acquired, processing the job...
[2025-01-10 10:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 10:38:03] Production.INFO: ==6621== Lock acquired, processing the job...
[2025-01-10 10:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 10:38:03] Production.INFO: Date 2025-01-10
[2025-01-10 10:38:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216354') end
[2025-01-10 10:38:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 10:38:03] Production.INFO: 1
[2025-01-10 10:38:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 10:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:38:03] Production.INFO: ==6623== Releasing lock...
[2025-01-10 10:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 10:38:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 10:38:03] Production.INFO: Total Charge 0
[2025-01-10 10:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 10:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 10:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 10:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 10:38:03] Production.INFO: CreateAllLog End
[2025-01-10 10:38:03] Production.INFO: ==6615== Releasing lock...
[2025-01-10 10:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 10:38:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 10:38:03] Production.INFO: Account Balance End.
[2025-01-10 10:38:03] Production.ERROR: CronJobId end 12
[2025-01-10 10:38:03] Production.INFO: ==6619== Releasing lock...
[2025-01-10 10:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 10:38:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 10:38:03] Production.ERROR: done
[2025-01-10 10:38:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 10:38:04] Production.ERROR: done
[2025-01-10 10:38:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 07:38:04
[end_date_ymd] => 2025-01-10 10:38:04
[RateCDR] => 1
)
[2025-01-10 10:38:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 07:38:04' and `end` < '2025-01-10 10:38:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 10:38:11] Production.ERROR: CronJobId end10
[2025-01-10 10:38:11] Production.INFO: ==6617== Releasing lock...
[2025-01-10 10:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 10:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 10:38:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 10:38:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 10:38:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 10:38:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 10:38:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 10:38:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 10:38:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 10:38:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 10:38:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 10:38:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 10:38:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 10:38:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 10:38:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 10:38:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 10:38:12] Production.INFO: call_cost start
[2025-01-10 10:38:12] Production.INFO: call_cost end
[2025-01-10 10:38:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 10:38:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 10:38:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 10:38:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 10:38:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 10:38:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 10:38:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 10:38:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 10:38:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 10:38:13] Production.INFO: ==6613== Releasing lock...
[2025-01-10 10:38:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 10:38:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 10:38:31] Production.INFO: count ==2970
[2025-01-10 10:38:32] Production.ERROR: pbx CDR StartTime 2025-01-10 07:38:04 - End Time 2025-01-10 10:38:04
[2025-01-10 10:38:32] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 10:38:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216357', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:38:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216357', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:38:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216357', 'tblTempVendorCDR_20' ) start
[2025-01-10 10:38:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216357', 'tblTempVendorCDR_20' ) end
[2025-01-10 10:38:32] Production.INFO: ProcessCDR(1,14216357,1,1,2)
[2025-01-10 10:38:32] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216357,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:38:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216357,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:38:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216357,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:38:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216357,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:38:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216357', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:38:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216357', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:38:37] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:38:37] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:38:37] Production.INFO: ==6621== Releasing lock...
[2025-01-10 10:38:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 10:38:37] Production.INFO: 50.25 MB #Memory Used#
[2025-01-10 15:39:02] Production.INFO: ==6680== Lock acquired, processing the job...
[2025-01-10 15:39:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 15:39:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 15:39:02] Production.INFO: neon service started
[2025-01-10 15:39:02] Production.INFO: neon service started
[2025-01-10 15:39:02] Production.INFO: ==6680== Releasing lock...
[2025-01-10 15:39:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 15:39:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 10:39:02] Production.INFO: ==6682== Lock acquired, processing the job...
[2025-01-10 10:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 15:39:02] Production.INFO: ==6684== Lock acquired, processing the job...
[2025-01-10 15:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:39:02] Production.INFO: ==6684== Releasing lock...
[2025-01-10 15:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 15:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 10:39:03] Production.INFO: ==6682== Releasing lock...
[2025-01-10 10:39:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 10:39:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:39:03] Production.INFO: ==6687== Lock acquired, processing the job...
[2025-01-10 10:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 10:39:03] Production.INFO: ==6691== Lock acquired, processing the job...
[2025-01-10 10:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 10:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 10:39:03] Production.INFO: ==6695== Lock acquired, processing the job...
[2025-01-10 10:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 10:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 10:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 10:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 10:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 10:39:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:39:04] Production.INFO: ==6689== Lock acquired, processing the job...
[2025-01-10 10:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 10:39:04] Production.INFO: ==6693== Lock acquired, processing the job...
[2025-01-10 10:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 10:39:04] Production.INFO: ==6697== Lock acquired, processing the job...
[2025-01-10 10:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 10:39:04] Production.INFO: Account Balance Start.
[2025-01-10 10:39:04] Production.INFO: CreateAllLog Start
[2025-01-10 10:39:04] Production.INFO: 117
[2025-01-10 10:39:04] Production.INFO: Date 2025-01-08
[2025-01-10 10:39:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:39:04] Production.ERROR: done
[2025-01-10 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-01-10 10:39:04] Production.INFO: Date 2025-01-09
[2025-01-10 10:39:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:39:04] Production.INFO: count ==21
[2025-01-10 10:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 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-01-10 10:39:04] Production.INFO: count ==21
[2025-01-10 10:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216361') start
[2025-01-10 10:39:04] Production.INFO: Date 2025-01-10
[2025-01-10 10:39:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:39:04] Production.INFO: Total Charge 0
[2025-01-10 10:39:04] Production.ERROR: done
[2025-01-10 10:39:04] Production.INFO: CreateAllLog End
[2025-01-10 10:39:04] Production.INFO: ==6689== Releasing lock...
[2025-01-10 10:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 10:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 10:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216361') end
[2025-01-10 10:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 10:39:04] Production.INFO: 1
[2025-01-10 10:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 10:39:04] Production.INFO: ==6697== Releasing lock...
[2025-01-10 10:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 10:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 10:39:04] Production.INFO: Account Balance End.
[2025-01-10 10:39:04] Production.ERROR: CronJobId end 12
[2025-01-10 10:39:04] Production.INFO: ==6693== Releasing lock...
[2025-01-10 10:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 10:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 10:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 07:39:05
[end_date_ymd] => 2025-01-10 10:39:05
[RateCDR] => 1
)
[2025-01-10 10:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 07:39:05' and `end` < '2025-01-10 10:39:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 10:39:10] Production.ERROR: CronJobId end10
[2025-01-10 10:39:10] Production.INFO: ==6691== Releasing lock...
[2025-01-10 10:39:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 10:39:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 10:39:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 10:39:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 10:39:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 10:39:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 10:39:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 10:39:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 10:39:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 10:39:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 10:39:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 10:39:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 10:39:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 10:39:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 10:39:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 10:39:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 10:39:13] Production.INFO: call_cost start
[2025-01-10 10:39:13] Production.INFO: call_cost end
[2025-01-10 10:39:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 10:39:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 10:39:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 10:39:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 10:39:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 10:39:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 10:39:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 10:39:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 10:39:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 10:39:13] Production.INFO: ==6687== Releasing lock...
[2025-01-10 10:39:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 10:39:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 10:39:31] Production.INFO: count ==2984
[2025-01-10 10:39:33] Production.ERROR: pbx CDR StartTime 2025-01-10 07:39:05 - End Time 2025-01-10 10:39:05
[2025-01-10 10:39:33] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 10:39:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216362', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:39:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216362', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:39:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216362', 'tblTempVendorCDR_20' ) start
[2025-01-10 10:39:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216362', 'tblTempVendorCDR_20' ) end
[2025-01-10 10:39:33] Production.INFO: ProcessCDR(1,14216362,1,1,2)
[2025-01-10 10:39:33] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216362,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:39:35] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216362,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:39:35] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216362,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:39:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216362,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:39:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216362', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:39:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216362', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:39:38] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:39:38] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:39:38] Production.INFO: ==6695== Releasing lock...
[2025-01-10 10:39:38] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 10:39:38] Production.INFO: 50.75 MB #Memory Used#
[2025-01-10 15:40:01] Production.INFO: ==6749== Lock acquired, processing the job...
[2025-01-10 15:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 15:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 15:40:01] Production.INFO: neon service started
[2025-01-10 15:40:01] Production.INFO: neon service started
[2025-01-10 15:40:01] Production.INFO: ==6749== Releasing lock...
[2025-01-10 15:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 15:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 10:40:01] Production.INFO: ==6751== Lock acquired, processing the job...
[2025-01-10 10:40:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 15:40:02] Production.INFO: ==6753== Lock acquired, processing the job...
[2025-01-10 15:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 10:40:02] Production.INFO: ==6751== Releasing lock...
[2025-01-10 10:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 10:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:40:02] Production.INFO: ==6753== Releasing lock...
[2025-01-10 15:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 15:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 10:40:03] Production.INFO: ==6755== Lock acquired, processing the job...
[2025-01-10 10:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 10:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 10:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 10:40:03] Production.INFO: ==6755== Releasing lock...
[2025-01-10 10:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 10:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 10:40:03] Production.INFO: ==6757== Lock acquired, processing the job...
[2025-01-10 10:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 10:40:03] Production.INFO: ==6759== Lock acquired, processing the job...
[2025-01-10 10:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 10:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 10:40:03] Production.INFO: ==6761== Lock acquired, processing the job...
[2025-01-10 10:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 10:40:03] Production.INFO: ==6763== Lock acquired, processing the job...
[2025-01-10 10:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 10:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 10:40:03] Production.INFO: ==6765== Lock acquired, processing the job...
[2025-01-10 10:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 10:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 10:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 10:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 10:40:03] Production.INFO: ==6767== Lock acquired, processing the job...
[2025-01-10 10:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 10:40:03] Production.INFO: Account Balance Start.
[2025-01-10 10:40:03] Production.INFO: CreateAllLog Start
[2025-01-10 10:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:40:03] Production.INFO: 117
[2025-01-10 10:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:40:03] Production.INFO: Date 2025-01-08
[2025-01-10 10:40:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:40:03] Production.INFO: ==6759== Releasing lock...
[2025-01-10 10:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 10:40:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 10:40:03] Production.INFO: ==6769== Lock acquired, processing the job...
[2025-01-10 10:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 10:40:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:40:03] Production.INFO: Date 2025-01-09
[2025-01-10 10:40:03] Production.INFO: count ==21
[2025-01-10 10:40:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:40:03] Production.ERROR: done
[2025-01-10 10:40:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:40:04] Production.INFO: count ==21
[2025-01-10 10:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 10:40:04] Production.ERROR: done
[2025-01-10 10:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216366') start
[2025-01-10 10:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 10:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14216367', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 10:40:04] Production.INFO: Date 2025-01-10
[2025-01-10 10:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216366') end
[2025-01-10 10:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 10:40:04] Production.INFO: 1
[2025-01-10 10:40:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 10:40:04] Production.ERROR: done
[2025-01-10 10:40:04] Production.INFO: Total Charge 0
[2025-01-10 10:40:04] Production.INFO: ==6769== Releasing lock...
[2025-01-10 10:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 10:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 10:40:04] Production.INFO: CreateAllLog End
[2025-01-10 10:40:04] Production.INFO: Account Balance End.
[2025-01-10 10:40:04] Production.ERROR: CronJobId end 12
[2025-01-10 10:40:04] Production.INFO: ==6763== Releasing lock...
[2025-01-10 10:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 10:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 10:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 07:40:05
[end_date_ymd] => 2025-01-10 10:40:05
[RateCDR] => 1
)
[2025-01-10 10:40:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 07:40:05' and `end` < '2025-01-10 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-01-10 10:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14216367', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 10:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 10:40:08] Production.INFO: ProcessCDR(1,14216367,1,1,2)
[2025-01-10 10:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14216367,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14216367,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:40:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:40:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:40:08] Production.INFO: ==6767== Releasing lock...
[2025-01-10 10:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 10:40:08] Production.INFO: 26 MB #Memory Used#
[2025-01-10 10:40:11] Production.ERROR: CronJobId end10
[2025-01-10 10:40:11] Production.INFO: ==6761== Releasing lock...
[2025-01-10 10:40:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 10:40:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 10:40:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 10:40:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 10:40:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 10:40:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 10:40:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 10:40:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 10:40:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 10:40:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 10:40:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 10:40:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 10:40:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 10:40:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 10:40:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 10:40:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 10:40:13] Production.INFO: call_cost start
[2025-01-10 10:40:13] Production.INFO: call_cost end
[2025-01-10 10:40:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 10:40:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 10:40:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 10:40:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 10:40:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 10:40:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 10:40:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 10:40:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 10:40:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 10:40:14] Production.INFO: ==6757== Releasing lock...
[2025-01-10 10:40:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 10:40:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 10:40:35] Production.INFO: count ==3014
[2025-01-10 10:40:37] Production.ERROR: pbx CDR StartTime 2025-01-10 07:40:05 - End Time 2025-01-10 10:40:05
[2025-01-10 10:40:37] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 10:40:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216368', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:40:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216368', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:40:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216368', 'tblTempVendorCDR_20' ) start
[2025-01-10 10:40:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216368', 'tblTempVendorCDR_20' ) end
[2025-01-10 10:40:37] Production.INFO: ProcessCDR(1,14216368,1,1,2)
[2025-01-10 10:40:37] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216368,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:40:39] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216368,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:40:39] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216368,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:40:41] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216368,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:40:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216368', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:40:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216368', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:40:41] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:40:41] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:40:41] Production.INFO: ==6765== Releasing lock...
[2025-01-10 10:40:41] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 10:40:41] Production.INFO: 51 MB #Memory Used#
[2025-01-10 15:41:01] Production.INFO: ==6866== Lock acquired, processing the job...
[2025-01-10 15:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 15:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 15:41:01] Production.INFO: neon service started
[2025-01-10 15:41:01] Production.INFO: neon service started
[2025-01-10 15:41:01] Production.INFO: ==6866== Releasing lock...
[2025-01-10 15:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 15:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 10:41:02] Production.INFO: ==6868== Lock acquired, processing the job...
[2025-01-10 10:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 15:41:02] Production.INFO: ==6870== Lock acquired, processing the job...
[2025-01-10 15:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 10:41:02] Production.INFO: ==6868== Releasing lock...
[2025-01-10 10:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 10:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:41:02] Production.INFO: ==6870== Releasing lock...
[2025-01-10 15:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 15:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 10:41:03] Production.INFO: ==6872== Lock acquired, processing the job...
[2025-01-10 10:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 10:41:03] Production.INFO: ==6876== Lock acquired, processing the job...
[2025-01-10 10:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 10:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 10:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 10:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 10:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 10:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 10:41:03] Production.INFO: ==6880== Lock acquired, processing the job...
[2025-01-10 10:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 10:41:03] Production.INFO: ==6874== Lock acquired, processing the job...
[2025-01-10 10:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 10:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:41:03] Production.INFO: ==6878== Lock acquired, processing the job...
[2025-01-10 10:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 10:41:03] Production.INFO: ==6883== Lock acquired, processing the job...
[2025-01-10 10:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 10:41:03] Production.INFO: Account Balance Start.
[2025-01-10 10:41:03] Production.INFO: CreateAllLog Start
[2025-01-10 10:41:03] Production.INFO: 117
[2025-01-10 10:41:03] Production.INFO: Date 2025-01-08
[2025-01-10 10:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:41:03] Production.INFO: count ==21
[2025-01-10 10:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:41:03] Production.INFO: count ==21
[2025-01-10 10:41:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216372') start
[2025-01-10 10:41:03] Production.ERROR: done
[2025-01-10 10:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 10:41:03] Production.INFO: Date 2025-01-09
[2025-01-10 10:41:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:41:04] Production.INFO: Date 2025-01-10
[2025-01-10 10:41:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:41:04] Production.INFO: Total Charge 0
[2025-01-10 10:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216372') end
[2025-01-10 10:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 10:41:04] Production.INFO: 1
[2025-01-10 10:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 10:41:04] Production.ERROR: done
[2025-01-10 10:41:04] Production.INFO: CreateAllLog End
[2025-01-10 10:41:04] Production.INFO: ==6883== Releasing lock...
[2025-01-10 10:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 10:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 10:41:04] Production.INFO: ==6874== Releasing lock...
[2025-01-10 10:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 10:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 10:41:04] Production.INFO: Account Balance End.
[2025-01-10 10:41:04] Production.ERROR: CronJobId end 12
[2025-01-10 10:41:04] Production.INFO: ==6878== Releasing lock...
[2025-01-10 10:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 10:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 10:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 07:41:05
[end_date_ymd] => 2025-01-10 10:41:05
[RateCDR] => 1
)
[2025-01-10 10:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 07:41:05' and `end` < '2025-01-10 10:41:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 10:41:10] Production.ERROR: CronJobId end10
[2025-01-10 10:41:10] Production.INFO: ==6876== Releasing lock...
[2025-01-10 10:41:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 10:41:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 10:41:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 10:41:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 10:41:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 10:41:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 10:41:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 10:41:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 10:41:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 10:41:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 10:41:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 10:41:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 10:41:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 10:41:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 10:41:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 10:41:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 10:41:12] Production.INFO: call_cost start
[2025-01-10 10:41:12] Production.INFO: call_cost end
[2025-01-10 10:41:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 10:41:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 10:41:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 10:41:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 10:41:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 10:41:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 10:41:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 10:41:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 10:41:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 10:41:13] Production.INFO: ==6872== Releasing lock...
[2025-01-10 10:41:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 10:41:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 10:41:29] Production.INFO: count ==3101
[2025-01-10 10:41:31] Production.ERROR: pbx CDR StartTime 2025-01-10 07:41:05 - End Time 2025-01-10 10:41:05
[2025-01-10 10:41:31] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 10:41:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216373', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:41:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216373', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:41:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216373', 'tblTempVendorCDR_20' ) start
[2025-01-10 10:41:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216373', 'tblTempVendorCDR_20' ) end
[2025-01-10 10:41:31] Production.INFO: ProcessCDR(1,14216373,1,1,2)
[2025-01-10 10:41:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216373,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:41:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216373,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:41:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216373,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:41:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216373,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:41:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216373', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:41:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216373', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:41:35] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:41:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:41:35] Production.INFO: ==6880== Releasing lock...
[2025-01-10 10:41:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 10:41:35] Production.INFO: 51.5 MB #Memory Used#
[2025-01-10 15:42:01] Production.INFO: ==6935== Lock acquired, processing the job...
[2025-01-10 15:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 15:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 15:42:01] Production.INFO: neon service started
[2025-01-10 15:42:01] Production.INFO: neon service started
[2025-01-10 15:42:01] Production.INFO: ==6935== Releasing lock...
[2025-01-10 15:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 15:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 10:42:01] Production.INFO: ==6938== Lock acquired, processing the job...
[2025-01-10 10:42:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 15:42:01] Production.INFO: ==6940== Lock acquired, processing the job...
[2025-01-10 15:42:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:42:02] Production.INFO: ==6940== Releasing lock...
[2025-01-10 15:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 15:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 10:42:02] Production.INFO: ==6938== Releasing lock...
[2025-01-10 10:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 10:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:42:02] Production.INFO: ==6944== Lock acquired, processing the job...
[2025-01-10 10:42:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 10:42:03] Production.INFO: ==6952== Lock acquired, processing the job...
[2025-01-10 10:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 10:42:03] Production.INFO: ==6942== Lock acquired, processing the job...
[2025-01-10 10:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 10:42:03] Production.INFO: ==6946== Lock acquired, processing the job...
[2025-01-10 10:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 10:42:03] Production.INFO: ==6948== Lock acquired, processing the job...
[2025-01-10 10:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 10:42:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:42:03] Production.INFO: ==6950== Lock acquired, processing the job...
[2025-01-10 10:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 10:42:03] Production.INFO: count ==21
[2025-01-10 10:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 10:42:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:42:03] Production.INFO: count ==21
[2025-01-10 10:42:03] Production.INFO: ==6944== Releasing lock...
[2025-01-10 10:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 10:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 10:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216375') start
[2025-01-10 10:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 10:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 10:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 10:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 10:42:03] Production.INFO: Account Balance Start.
[2025-01-10 10:42:03] Production.INFO: CreateAllLog Start
[2025-01-10 10:42:03] Production.INFO: 117
[2025-01-10 10:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:42:03] Production.INFO: Date 2025-01-08
[2025-01-10 10:42:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216375') end
[2025-01-10 10:42:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 10:42:03] Production.INFO: 1
[2025-01-10 10:42:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 10:42:03] Production.INFO: Date 2025-01-09
[2025-01-10 10:42:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:42:03] Production.INFO: Date 2025-01-10
[2025-01-10 10:42:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:42:03] Production.INFO: ==6952== Releasing lock...
[2025-01-10 10:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 10:42:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 10:42:03] Production.INFO: Total Charge 0
[2025-01-10 10:42:03] Production.INFO: CreateAllLog End
[2025-01-10 10:42:03] Production.ERROR: done
[2025-01-10 10:42:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 10:42:03] Production.ERROR: done
[2025-01-10 10:42:04] Production.INFO: Account Balance End.
[2025-01-10 10:42:04] Production.ERROR: CronJobId end 12
[2025-01-10 10:42:04] Production.INFO: ==6948== Releasing lock...
[2025-01-10 10:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 10:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 10:42:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 07:42:04
[end_date_ymd] => 2025-01-10 10:42:04
[RateCDR] => 1
)
[2025-01-10 10:42:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 07:42:04' and `end` < '2025-01-10 10:42:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 10:42:09] Production.ERROR: CronJobId end10
[2025-01-10 10:42:09] Production.INFO: ==6946== Releasing lock...
[2025-01-10 10:42:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 10:42:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 10:42:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 10:42:11] Production.INFO: ============== Balance Warning START===========
[2025-01-10 10:42:11] Production.INFO: ============== Balance Warning END===========
[2025-01-10 10:42:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 10:42:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 10:42:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 10:42:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 10:42:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 10:42:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 10:42:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 10:42:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 10:42:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 10:42:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 10:42:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 10:42:12] Production.INFO: call_cost start
[2025-01-10 10:42:12] Production.INFO: call_cost end
[2025-01-10 10:42:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 10:42:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 10:42:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 10:42:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 10:42:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 10:42:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 10:42:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 10:42:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 10:42:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 10:42:13] Production.INFO: ==6942== Releasing lock...
[2025-01-10 10:42:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 10:42:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 10:42:25] Production.INFO: count ==3126
[2025-01-10 10:42:26] Production.ERROR: pbx CDR StartTime 2025-01-10 07:42:04 - End Time 2025-01-10 10:42:04
[2025-01-10 10:42:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 10:42:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216378', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:42:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216378', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:42:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216378', 'tblTempVendorCDR_20' ) start
[2025-01-10 10:42:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216378', 'tblTempVendorCDR_20' ) end
[2025-01-10 10:42:26] Production.INFO: ProcessCDR(1,14216378,1,1,2)
[2025-01-10 10:42:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216378,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:42:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216378,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:42:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216378,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:42:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216378,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:42:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216378', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:42:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216378', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:42:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:42:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:42:29] Production.INFO: ==6950== Releasing lock...
[2025-01-10 10:42:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 10:42:29] Production.INFO: 51.25 MB #Memory Used#
[2025-01-10 15:43:01] Production.INFO: ==7006== Lock acquired, processing the job...
[2025-01-10 15:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 15:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 15:43:01] Production.INFO: neon service started
[2025-01-10 15:43:01] Production.INFO: neon service started
[2025-01-10 15:43:01] Production.INFO: ==7006== Releasing lock...
[2025-01-10 15:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 15:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 15:43:02] Production.INFO: ==7010== Lock acquired, processing the job...
[2025-01-10 15:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:43:02] Production.INFO: ==7010== Releasing lock...
[2025-01-10 15:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 15:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 10:43:02] Production.INFO: ==7008== Lock acquired, processing the job...
[2025-01-10 10:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 10:43:02] Production.INFO: ==7008== Releasing lock...
[2025-01-10 10:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 10:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:43:03] Production.INFO: ==7017== Lock acquired, processing the job...
[2025-01-10 10:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 10:43:03] Production.INFO: ==7015== Lock acquired, processing the job...
[2025-01-10 10:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 10:43:03] Production.INFO: ==7013== Lock acquired, processing the job...
[2025-01-10 10:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 10:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 10:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 10:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 10:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 10:43:03] Production.INFO: ==7015== Releasing lock...
[2025-01-10 10:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 10:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 10:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 10:43:03] Production.INFO: ==7019== Lock acquired, processing the job...
[2025-01-10 10:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 10:43:03] Production.INFO: ==7021== Lock acquired, processing the job...
[2025-01-10 10:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 10:43:03] Production.INFO: Account Balance Start.
[2025-01-10 10:43:03] Production.INFO: CreateAllLog Start
[2025-01-10 10:43:03] Production.INFO: 117
[2025-01-10 10:43:03] Production.INFO: Date 2025-01-08
[2025-01-10 10:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:43:03] Production.INFO: ==7023== Lock acquired, processing the job...
[2025-01-10 10:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 10:43:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:43:03] Production.INFO: Date 2025-01-09
[2025-01-10 10:43:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:43:03] Production.INFO: Date 2025-01-10
[2025-01-10 10:43:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:43:03] Production.INFO: count ==21
[2025-01-10 10:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:43:03] Production.INFO: count ==21
[2025-01-10 10:43:04] Production.ERROR: done
[2025-01-10 10:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 10:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216382') start
[2025-01-10 10:43:04] Production.INFO: Total Charge 0
[2025-01-10 10:43:04] Production.INFO: CreateAllLog End
[2025-01-10 10:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216382') end
[2025-01-10 10:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 10:43:04] Production.INFO: 1
[2025-01-10 10:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 10:43:04] Production.ERROR: done
[2025-01-10 10:43:04] Production.INFO: Account Balance End.
[2025-01-10 10:43:04] Production.INFO: ==7023== Releasing lock...
[2025-01-10 10:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 10:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 10:43:04] Production.ERROR: CronJobId end 12
[2025-01-10 10:43:04] Production.INFO: ==7019== Releasing lock...
[2025-01-10 10:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 10:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 10:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 07:43:05
[end_date_ymd] => 2025-01-10 10:43:05
[RateCDR] => 1
)
[2025-01-10 10:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 07:43:05' and `end` < '2025-01-10 10:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 10:43:10] Production.ERROR: CronJobId end10
[2025-01-10 10:43:10] Production.INFO: ==7017== Releasing lock...
[2025-01-10 10:43:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 10:43:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 10:43:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 10:43:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 10:43:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 10:43:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 10:43:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 10:43:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 10:43:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 10:43:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 10:43:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 10:43:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 10:43:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 10:43:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 10:43:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 10:43:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 10:43:12] Production.INFO: call_cost start
[2025-01-10 10:43:12] Production.INFO: call_cost end
[2025-01-10 10:43:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 10:43:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 10:43:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 10:43:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 10:43:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 10:43:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 10:43:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 10:43:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 10:43:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 10:43:13] Production.INFO: ==7013== Releasing lock...
[2025-01-10 10:43:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 10:43:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 10:43:19] Production.INFO: count ==3135
[2025-01-10 10:43:20] Production.ERROR: pbx CDR StartTime 2025-01-10 07:43:05 - End Time 2025-01-10 10:43:05
[2025-01-10 10:43:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 10:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216383', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:43:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216383', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:43:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216383', 'tblTempVendorCDR_20' ) start
[2025-01-10 10:43:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216383', 'tblTempVendorCDR_20' ) end
[2025-01-10 10:43:21] Production.INFO: ProcessCDR(1,14216383,1,1,2)
[2025-01-10 10:43:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216383,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:43:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216383,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:43:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216383,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:43:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216383,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:43:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216383', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:43:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216383', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:43:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:43:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:43:25] Production.INFO: ==7021== Releasing lock...
[2025-01-10 10:43:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 10:43:25] Production.INFO: 51.5 MB #Memory Used#
[2025-01-10 15:44:02] Production.INFO: ==7084== Lock acquired, processing the job...
[2025-01-10 15:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 15:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 15:44:02] Production.INFO: neon service started
[2025-01-10 15:44:02] Production.INFO: neon service started
[2025-01-10 15:44:02] Production.INFO: ==7084== Releasing lock...
[2025-01-10 15:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 15:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 10:44:02] Production.INFO: ==7086== Lock acquired, processing the job...
[2025-01-10 10:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 10:44:02] Production.INFO: ==7086== Releasing lock...
[2025-01-10 10:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 10:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:44:02] Production.INFO: ==7088== Lock acquired, processing the job...
[2025-01-10 15:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:44:02] Production.INFO: ==7088== Releasing lock...
[2025-01-10 15:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 15:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 10:44:03] Production.INFO: ==7090== Lock acquired, processing the job...
[2025-01-10 10:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 10:44:03] Production.INFO: ==7092== Lock acquired, processing the job...
[2025-01-10 10:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 10:44:03] Production.INFO: ==7094== Lock acquired, processing the job...
[2025-01-10 10:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 10:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 10:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 10:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 10:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 10:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 10:44:03] Production.INFO: ==7096== Lock acquired, processing the job...
[2025-01-10 10:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 10:44:03] Production.INFO: ==7098== Lock acquired, processing the job...
[2025-01-10 10:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 10:44:03] Production.INFO: Account Balance Start.
[2025-01-10 10:44:03] Production.INFO: CreateAllLog Start
[2025-01-10 10:44:03] Production.INFO: 117
[2025-01-10 10:44:03] Production.INFO: Date 2025-01-08
[2025-01-10 10:44:03] Production.INFO: ==7092== Releasing lock...
[2025-01-10 10:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 10:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 10:44:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:44:03] Production.INFO: Date 2025-01-09
[2025-01-10 10:44:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:44:04] Production.INFO: Date 2025-01-10
[2025-01-10 10:44:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:44:04] Production.INFO: ==7100== Lock acquired, processing the job...
[2025-01-10 10:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 10:44:04] Production.INFO: Total Charge 0
[2025-01-10 10:44:04] Production.INFO: CreateAllLog End
[2025-01-10 10:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:44:04] Production.ERROR: done
[2025-01-10 10:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 10:44:04] Production.INFO: count ==21
[2025-01-10 10:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:44:04] Production.INFO: count ==21
[2025-01-10 10:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216387') start
[2025-01-10 10:44:04] Production.INFO: Account Balance End.
[2025-01-10 10:44:04] Production.ERROR: done
[2025-01-10 10:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216387') end
[2025-01-10 10:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 10:44:04] Production.INFO: 1
[2025-01-10 10:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 10:44:04] Production.ERROR: CronJobId end 12
[2025-01-10 10:44:04] Production.INFO: ==7096== Releasing lock...
[2025-01-10 10:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 10:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 10:44:04] Production.INFO: ==7100== Releasing lock...
[2025-01-10 10:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 10:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 10:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 07:44:05
[end_date_ymd] => 2025-01-10 10:44:05
[RateCDR] => 1
)
[2025-01-10 10:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 07:44:05' and `end` < '2025-01-10 10:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 10:44:11] Production.ERROR: CronJobId end10
[2025-01-10 10:44:11] Production.INFO: ==7094== Releasing lock...
[2025-01-10 10:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 10:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 10:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 10:44:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 10:44:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 10:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 10:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 10:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 10:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 10:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 10:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 10:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 10:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 10:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 10:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 10:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 10:44:13] Production.INFO: call_cost start
[2025-01-10 10:44:13] Production.INFO: call_cost end
[2025-01-10 10:44:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 10:44:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 10:44:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 10:44:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 10:44:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 10:44:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 10:44:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 10:44:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 10:44:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 10:44:14] Production.INFO: ==7090== Releasing lock...
[2025-01-10 10:44:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 10:44:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 10:44:31] Production.INFO: count ==3179
[2025-01-10 10:44:32] Production.ERROR: pbx CDR StartTime 2025-01-10 07:44:05 - End Time 2025-01-10 10:44:05
[2025-01-10 10:44:32] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 10:44:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216388', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:44:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216388', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:44:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216388', 'tblTempVendorCDR_20' ) start
[2025-01-10 10:44:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216388', 'tblTempVendorCDR_20' ) end
[2025-01-10 10:44:32] Production.INFO: ProcessCDR(1,14216388,1,1,2)
[2025-01-10 10:44:32] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216388,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:44:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216388,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:44:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216388,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:44:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216388,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:44:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216388', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:44:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216388', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:44:37] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:44:37] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:44:37] Production.INFO: ==7098== Releasing lock...
[2025-01-10 10:44:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 10:44:37] Production.INFO: 52.25 MB #Memory Used#
[2025-01-10 15:45:01] Production.INFO: ==7158== Lock acquired, processing the job...
[2025-01-10 15:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 15:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 15:45:01] Production.INFO: neon service started
[2025-01-10 15:45:01] Production.INFO: neon service started
[2025-01-10 15:45:01] Production.INFO: ==7158== Releasing lock...
[2025-01-10 15:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 15:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 10:45:01] Production.INFO: ==7160== Lock acquired, processing the job...
[2025-01-10 10:45:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 10:45:02] Production.INFO: ==7160== Releasing lock...
[2025-01-10 10:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 10:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:45:02] Production.INFO: ==7162== Lock acquired, processing the job...
[2025-01-10 15:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:45:02] Production.INFO: ==7162== Releasing lock...
[2025-01-10 15:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 15:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 10:45:03] Production.INFO: ==7169== Lock acquired, processing the job...
[2025-01-10 10:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 10:45:03] Production.INFO: ==7167== Lock acquired, processing the job...
[2025-01-10 10:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 10:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 10:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 10:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 10:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 10:45:03] Production.INFO: ==7165== Lock acquired, processing the job...
[2025-01-10 10:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 10:45:03] Production.INFO: ==7173== Lock acquired, processing the job...
[2025-01-10 10:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 10:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 10:45:03] Production.INFO: ==7171== Lock acquired, processing the job...
[2025-01-10 10:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 10:45:03] Production.INFO: ==7175== Lock acquired, processing the job...
[2025-01-10 10:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 10:45:03] Production.INFO: Account Balance Start.
[2025-01-10 10:45:03] Production.INFO: CreateAllLog Start
[2025-01-10 10:45:03] Production.INFO: 117
[2025-01-10 10:45:03] Production.INFO: Date 2025-01-08
[2025-01-10 10:45:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:45:03] Production.ERROR: done
[2025-01-10 10:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 10:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:45:03] Production.INFO: ==7167== Releasing lock...
[2025-01-10 10:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 10:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 10:45:03] Production.INFO: Date 2025-01-09
[2025-01-10 10:45:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:45:03] Production.INFO: count ==21
[2025-01-10 10:45:03] Production.INFO: Date 2025-01-10
[2025-01-10 10:45:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:45:03] Production.ERROR: done
[2025-01-10 10:45:03] Production.INFO: Total Charge 0
[2025-01-10 10:45:03] Production.INFO: count ==21
[2025-01-10 10:45:03] Production.INFO: CreateAllLog End
[2025-01-10 10:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216392') start
[2025-01-10 10:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216392') end
[2025-01-10 10:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 10:45:03] Production.INFO: 1
[2025-01-10 10:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 10:45:03] Production.INFO: Account Balance End.
[2025-01-10 10:45:03] Production.ERROR: CronJobId end 12
[2025-01-10 10:45:03] Production.INFO: ==7171== Releasing lock...
[2025-01-10 10:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 10:45:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 10:45:04] Production.INFO: ==7175== Releasing lock...
[2025-01-10 10:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 10:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 10:45:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 07:45:04
[end_date_ymd] => 2025-01-10 10:45:04
[RateCDR] => 1
)
[2025-01-10 10:45:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 07:45:04' and `end` < '2025-01-10 10:45:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 10:45:10] Production.ERROR: CronJobId end10
[2025-01-10 10:45:10] Production.INFO: ==7169== Releasing lock...
[2025-01-10 10:45:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 10:45:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 10:45:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 10:45:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 10:45:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 10:45:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 10:45:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 10:45:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 10:45:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 10:45:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 10:45:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 10:45:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 10:45:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 10:45:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 10:45:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 10:45:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 10:45:12] Production.INFO: call_cost start
[2025-01-10 10:45:12] Production.INFO: call_cost end
[2025-01-10 10:45:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 10:45:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 10:45:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 10:45:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 10:45:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 10:45:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 10:45:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 10:45:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 10:45:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 10:45:13] Production.INFO: ==7165== Releasing lock...
[2025-01-10 10:45:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 10:45:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 10:45:24] Production.INFO: count ==3184
[2025-01-10 10:45:25] Production.ERROR: pbx CDR StartTime 2025-01-10 07:45:04 - End Time 2025-01-10 10:45:04
[2025-01-10 10:45:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 10:45:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216393', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:45:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216393', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:45:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216393', 'tblTempVendorCDR_20' ) start
[2025-01-10 10:45:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216393', 'tblTempVendorCDR_20' ) end
[2025-01-10 10:45:25] Production.INFO: ProcessCDR(1,14216393,1,1,2)
[2025-01-10 10:45:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216393,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:45:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216393,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:45:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216393,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:45:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216393,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:45:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216393', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:45:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216393', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:45:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:45:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:45:30] Production.INFO: ==7173== Releasing lock...
[2025-01-10 10:45:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 10:45:30] Production.INFO: 52.25 MB #Memory Used#
[2025-01-10 15:46:01] Production.INFO: ==7231== Lock acquired, processing the job...
[2025-01-10 15:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 15:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 15:46:02] Production.INFO: neon service started
[2025-01-10 15:46:02] Production.INFO: neon service started
[2025-01-10 15:46:02] Production.INFO: ==7231== Releasing lock...
[2025-01-10 15:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 15:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 10:46:02] Production.INFO: ==7233== Lock acquired, processing the job...
[2025-01-10 10:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 10:46:02] Production.INFO: ==7233== Releasing lock...
[2025-01-10 10:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 10:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:46:02] Production.INFO: ==7235== Lock acquired, processing the job...
[2025-01-10 15:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:46:02] Production.INFO: ==7235== Releasing lock...
[2025-01-10 15:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 15:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 10:46:03] Production.INFO: ==7243== Lock acquired, processing the job...
[2025-01-10 10:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 10:46:03] Production.INFO: Account Balance Start.
[2025-01-10 10:46:03] Production.INFO: CreateAllLog Start
[2025-01-10 10:46:03] Production.INFO: 117
[2025-01-10 10:46:03] Production.INFO: ==7237== Lock acquired, processing the job...
[2025-01-10 10:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 10:46:03] Production.INFO: Date 2025-01-08
[2025-01-10 10:46:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:46:03] Production.INFO: ==7247== Lock acquired, processing the job...
[2025-01-10 10:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 10:46:03] Production.INFO: ==7239== Lock acquired, processing the job...
[2025-01-10 10:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 10:46:03] Production.INFO: Date 2025-01-09
[2025-01-10 10:46:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 10:46:03] Production.INFO: ==7241== Lock acquired, processing the job...
[2025-01-10 10:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 10:46:03] Production.INFO: Date 2025-01-10
[2025-01-10 10:46:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 10:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 10:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 10:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 10:46:03] Production.INFO: Total Charge 0
[2025-01-10 10:46:03] Production.INFO: ==7245== Lock acquired, processing the job...
[2025-01-10 10:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 10:46:03] Production.INFO: CreateAllLog End
[2025-01-10 10:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:46:03] Production.INFO: count ==21
[2025-01-10 10:46:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:46:03] Production.INFO: count ==21
[2025-01-10 10:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216397') start
[2025-01-10 10:46:04] Production.INFO: ==7239== Releasing lock...
[2025-01-10 10:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 10:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 10:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216397') end
[2025-01-10 10:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 10:46:04] Production.INFO: 1
[2025-01-10 10:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 10:46:04] Production.INFO: Account Balance End.
[2025-01-10 10:46:04] Production.ERROR: done
[2025-01-10 10:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 10:46:04] Production.INFO: ==7247== Releasing lock...
[2025-01-10 10:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 10:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 10:46:04] Production.ERROR: CronJobId end 12
[2025-01-10 10:46:04] Production.INFO: ==7243== Releasing lock...
[2025-01-10 10:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 10:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 10:46:04] Production.ERROR: done
[2025-01-10 10:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 07:46:05
[end_date_ymd] => 2025-01-10 10:46:05
[RateCDR] => 1
)
[2025-01-10 10:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 07:46:05' and `end` < '2025-01-10 10:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 10:46:11] Production.ERROR: CronJobId end10
[2025-01-10 10:46:11] Production.INFO: ==7241== Releasing lock...
[2025-01-10 10:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 10:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 10:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 10:46:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 10:46:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 10:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 10:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 10:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 10:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 10:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 10:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 10:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 10:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 10:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 10:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 10:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 10:46:13] Production.INFO: call_cost start
[2025-01-10 10:46:13] Production.INFO: call_cost end
[2025-01-10 10:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 10:46:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 10:46:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 10:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 10:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 10:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 10:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 10:46:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 10:46:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 10:46:14] Production.INFO: ==7237== Releasing lock...
[2025-01-10 10:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 10:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 10:46:19] Production.INFO: count ==3202
[2025-01-10 10:46:20] Production.ERROR: pbx CDR StartTime 2025-01-10 07:46:05 - End Time 2025-01-10 10:46:05
[2025-01-10 10:46:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 10:46:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216398', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:46:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216398', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:46:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216398', 'tblTempVendorCDR_20' ) start
[2025-01-10 10:46:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216398', 'tblTempVendorCDR_20' ) end
[2025-01-10 10:46:20] Production.INFO: ProcessCDR(1,14216398,1,1,2)
[2025-01-10 10:46:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216398,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:46:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216398,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:46:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216398,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:46:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216398,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:46:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216398', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:46:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216398', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:46:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:46:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:46:24] Production.INFO: ==7245== Releasing lock...
[2025-01-10 10:46:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 10:46:24] Production.INFO: 52.25 MB #Memory Used#
[2025-01-10 15:47:01] Production.INFO: ==7302== Lock acquired, processing the job...
[2025-01-10 15:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 15:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 15:47:01] Production.INFO: neon service started
[2025-01-10 15:47:01] Production.INFO: neon service started
[2025-01-10 15:47:01] Production.INFO: ==7302== Releasing lock...
[2025-01-10 15:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 15:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 10:47:01] Production.INFO: ==7304== Lock acquired, processing the job...
[2025-01-10 10:47:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 15:47:02] Production.INFO: ==7306== Lock acquired, processing the job...
[2025-01-10 15:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:47:02] Production.INFO: ==7306== Releasing lock...
[2025-01-10 15:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 15:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 10:47:02] Production.INFO: ==7304== Releasing lock...
[2025-01-10 10:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 10:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:47:03] Production.INFO: ==7311== Lock acquired, processing the job...
[2025-01-10 10:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 10:47:03] Production.INFO: ==7309== Lock acquired, processing the job...
[2025-01-10 10:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 10:47:03] Production.INFO: ==7317== Lock acquired, processing the job...
[2025-01-10 10:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 10:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 10:47:03] Production.INFO: ==7313== Lock acquired, processing the job...
[2025-01-10 10:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 10:47:03] Production.INFO: ==7315== Lock acquired, processing the job...
[2025-01-10 10:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 10:47:03] Production.INFO: ==7319== Lock acquired, processing the job...
[2025-01-10 10:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 10:47:03] Production.INFO: Account Balance Start.
[2025-01-10 10:47:03] Production.INFO: CreateAllLog Start
[2025-01-10 10:47:03] Production.INFO: 117
[2025-01-10 10:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 10:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 10:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 10:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 10:47:03] Production.INFO: ==7311== Releasing lock...
[2025-01-10 10:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 10:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 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-01-10 10:47:03] Production.INFO: Date 2025-01-08
[2025-01-10 10:47:03] Production.INFO: count ==21
[2025-01-10 10:47:03] Production.ERROR: done
[2025-01-10 10:47:03] Production.INFO: Reseller ==> 0
[2025-01-10 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-01-10 10:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 10:47:03] Production.INFO: count ==21
[2025-01-10 10:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216402') start
[2025-01-10 10:47:03] Production.INFO: Date 2025-01-09
[2025-01-10 10:47:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:47:03] Production.INFO: Date 2025-01-10
[2025-01-10 10:47:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:47:03] Production.ERROR: done
[2025-01-10 10:47:03] Production.INFO: Total Charge 0
[2025-01-10 10:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216402') end
[2025-01-10 10:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 10:47:03] Production.INFO: 1
[2025-01-10 10:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 10:47:03] Production.INFO: CreateAllLog End
[2025-01-10 10:47:03] Production.INFO: ==7319== Releasing lock...
[2025-01-10 10:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 10:47:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 10:47:04] Production.INFO: Account Balance End.
[2025-01-10 10:47:04] Production.ERROR: CronJobId end 12
[2025-01-10 10:47:04] Production.INFO: ==7315== Releasing lock...
[2025-01-10 10:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 10:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 10:47:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 07:47:04
[end_date_ymd] => 2025-01-10 10:47:04
[RateCDR] => 1
)
[2025-01-10 10:47:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 07:47:04' and `end` < '2025-01-10 10:47:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 10:47:10] Production.ERROR: CronJobId end10
[2025-01-10 10:47:10] Production.INFO: ==7313== Releasing lock...
[2025-01-10 10:47:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 10:47:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 10:47:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 10:47:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 10:47:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 10:47:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 10:47:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 10:47:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 10:47:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 10:47:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 10:47:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 10:47:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 10:47:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 10:47:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 10:47:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 10:47:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 10:47:12] Production.INFO: call_cost start
[2025-01-10 10:47:12] Production.INFO: call_cost end
[2025-01-10 10:47:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 10:47:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 10:47:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 10:47:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 10:47:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 10:47:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 10:47:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 10:47:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 10:47:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 10:47:13] Production.INFO: ==7309== Releasing lock...
[2025-01-10 10:47:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 10:47:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 10:47:27] Production.INFO: count ==3219
[2025-01-10 10:47:28] Production.ERROR: pbx CDR StartTime 2025-01-10 07:47:04 - End Time 2025-01-10 10:47:04
[2025-01-10 10:47:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 10:47:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216403', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:47:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216403', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:47:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216403', 'tblTempVendorCDR_20' ) start
[2025-01-10 10:47:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216403', 'tblTempVendorCDR_20' ) end
[2025-01-10 10:47:28] Production.INFO: ProcessCDR(1,14216403,1,1,2)
[2025-01-10 10:47:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216403,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:47:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216403,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:47:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216403,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:47:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216403,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:47:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216403', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:47:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216403', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:47:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:47:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:47:33] Production.INFO: ==7317== Releasing lock...
[2025-01-10 10:47:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 10:47:33] Production.INFO: 52.5 MB #Memory Used#
[2025-01-10 15:48:01] Production.INFO: ==7372== Lock acquired, processing the job...
[2025-01-10 15:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 15:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 15:48:01] Production.INFO: neon service started
[2025-01-10 15:48:01] Production.INFO: neon service started
[2025-01-10 15:48:01] Production.INFO: ==7372== Releasing lock...
[2025-01-10 15:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 15:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 15:48:02] Production.INFO: ==7376== Lock acquired, processing the job...
[2025-01-10 15:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:48:02] Production.INFO: ==7376== Releasing lock...
[2025-01-10 15:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 15:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 10:48:02] Production.INFO: ==7374== Lock acquired, processing the job...
[2025-01-10 10:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 10:48:02] Production.INFO: ==7374== Releasing lock...
[2025-01-10 10:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 10:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:48:03] Production.INFO: ==7379== Lock acquired, processing the job...
[2025-01-10 10:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 10:48:03] Production.INFO: ==7383== Lock acquired, processing the job...
[2025-01-10 10:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 10:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 10:48:03] Production.INFO: ==7385== Lock acquired, processing the job...
[2025-01-10 10:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 10:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 10:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 10:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 10:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 10:48:03] Production.INFO: ==7381== Lock acquired, processing the job...
[2025-01-10 10:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 10:48:03] Production.INFO: Account Balance Start.
[2025-01-10 10:48:03] Production.INFO: CreateAllLog Start
[2025-01-10 10:48:03] Production.INFO: 117
[2025-01-10 10:48:03] Production.INFO: Date 2025-01-08
[2025-01-10 10:48:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:48:03] Production.INFO: Date 2025-01-09
[2025-01-10 10:48:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:48:03] Production.INFO: ==7387== Lock acquired, processing the job...
[2025-01-10 10:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 10:48:03] Production.INFO: Date 2025-01-10
[2025-01-10 10:48:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:48:03] Production.INFO: Total Charge 0
[2025-01-10 10:48:03] Production.INFO: CreateAllLog End
[2025-01-10 10:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:48:03] Production.INFO: ==7389== Lock acquired, processing the job...
[2025-01-10 10:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 10:48:03] Production.INFO: ==7381== Releasing lock...
[2025-01-10 10:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 10:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 10:48:03] Production.INFO: Account Balance End.
[2025-01-10 10:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:48:03] Production.INFO: count ==21
[2025-01-10 10:48:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:48:03] Production.INFO: count ==21
[2025-01-10 10:48:03] Production.ERROR: CronJobId end 12
[2025-01-10 10:48:03] Production.INFO: ==7385== Releasing lock...
[2025-01-10 10:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 10:48:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 10:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216407') start
[2025-01-10 10:48:04] Production.ERROR: done
[2025-01-10 10:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216407') end
[2025-01-10 10:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 10:48:04] Production.INFO: 1
[2025-01-10 10:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 10:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 10:48:04] Production.INFO: ==7389== Releasing lock...
[2025-01-10 10:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 10:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 10:48:04] Production.ERROR: done
[2025-01-10 10:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 07:48:05
[end_date_ymd] => 2025-01-10 10:48:05
[RateCDR] => 1
)
[2025-01-10 10:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 07:48:05' and `end` < '2025-01-10 10:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 10:48:10] Production.ERROR: CronJobId end10
[2025-01-10 10:48:10] Production.INFO: ==7383== Releasing lock...
[2025-01-10 10:48:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 10:48:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 10:48:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 10:48:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 10:48:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 10:48:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 10:48:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 10:48:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 10:48:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 10:48:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 10:48:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 10:48:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 10:48:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 10:48:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 10:48:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 10:48:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 10:48:12] Production.INFO: call_cost start
[2025-01-10 10:48:12] Production.INFO: call_cost end
[2025-01-10 10:48:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 10:48:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 10:48:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 10:48:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 10:48:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 10:48:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 10:48:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 10:48:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 10:48:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 10:48:13] Production.INFO: ==7379== Releasing lock...
[2025-01-10 10:48:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 10:48:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 10:48:22] Production.INFO: count ==3251
[2025-01-10 10:48:24] Production.ERROR: pbx CDR StartTime 2025-01-10 07:48:05 - End Time 2025-01-10 10:48:05
[2025-01-10 10:48:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 10:48:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216408', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:48:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216408', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:48:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216408', 'tblTempVendorCDR_20' ) start
[2025-01-10 10:48:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216408', 'tblTempVendorCDR_20' ) end
[2025-01-10 10:48:24] Production.INFO: ProcessCDR(1,14216408,1,1,2)
[2025-01-10 10:48:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216408,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:48:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216408,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:48:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216408,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:48:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216408,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:48:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216408', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:48:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216408', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:48:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:48:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:48:28] Production.INFO: ==7387== Releasing lock...
[2025-01-10 10:48:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 10:48:28] Production.INFO: 52.75 MB #Memory Used#
[2025-01-10 15:49:02] Production.INFO: ==7443== Lock acquired, processing the job...
[2025-01-10 15:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 15:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 15:49:02] Production.INFO: neon service started
[2025-01-10 15:49:02] Production.INFO: neon service started
[2025-01-10 15:49:02] Production.INFO: ==7443== Releasing lock...
[2025-01-10 15:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 15:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 10:49:02] Production.INFO: ==7445== Lock acquired, processing the job...
[2025-01-10 10:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 15:49:02] Production.INFO: ==7447== Lock acquired, processing the job...
[2025-01-10 15:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:49:02] Production.INFO: ==7447== Releasing lock...
[2025-01-10 15:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 15:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 10:49:03] Production.INFO: ==7445== Releasing lock...
[2025-01-10 10:49:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 10:49:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:49:03] Production.INFO: ==7450== Lock acquired, processing the job...
[2025-01-10 10:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 10:49:03] Production.INFO: ==7452== Lock acquired, processing the job...
[2025-01-10 10:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 10:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 10:49:04] Production.INFO: ==7458== Lock acquired, processing the job...
[2025-01-10 10:49:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 10:49:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:49:04] Production.INFO: ==7454== Lock acquired, processing the job...
[2025-01-10 10:49:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 10:49:04] Production.INFO: ==7452== Releasing lock...
[2025-01-10 10:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 10:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 10:49:04] Production.INFO: ==7456== Lock acquired, processing the job...
[2025-01-10 10:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 10:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 10:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 10:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 10:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 10:49:04] Production.INFO: ==7460== Lock acquired, processing the job...
[2025-01-10 10:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 10:49:04] Production.ERROR: done
[2025-01-10 10:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 10:49:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:49:04] Production.INFO: Account Balance Start.
[2025-01-10 10:49:04] Production.INFO: CreateAllLog Start
[2025-01-10 10:49:04] Production.INFO: 117
[2025-01-10 10:49:04] Production.INFO: count ==21
[2025-01-10 10:49:04] Production.ERROR: done
[2025-01-10 10:49:04] Production.INFO: Date 2025-01-08
[2025-01-10 10:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:49:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:49:04] Production.INFO: count ==21
[2025-01-10 10:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216411') start
[2025-01-10 10:49:04] Production.INFO: Date 2025-01-09
[2025-01-10 10:49:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:49:04] Production.INFO: Date 2025-01-10
[2025-01-10 10:49:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:49:04] Production.INFO: Total Charge 0
[2025-01-10 10:49:04] Production.INFO: CreateAllLog End
[2025-01-10 10:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216411') end
[2025-01-10 10:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 10:49:04] Production.INFO: 1
[2025-01-10 10:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 10:49:04] Production.INFO: ==7460== Releasing lock...
[2025-01-10 10:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 10:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 10:49:04] Production.INFO: Account Balance End.
[2025-01-10 10:49:04] Production.ERROR: CronJobId end 12
[2025-01-10 10:49:04] Production.INFO: ==7456== Releasing lock...
[2025-01-10 10:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 10:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 10:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 07:49:05
[end_date_ymd] => 2025-01-10 10:49:05
[RateCDR] => 1
)
[2025-01-10 10:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 07:49:05' and `end` < '2025-01-10 10:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 10:49:10] Production.ERROR: CronJobId end10
[2025-01-10 10:49:10] Production.INFO: ==7454== Releasing lock...
[2025-01-10 10:49:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 10:49:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 10:49:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 10:49:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 10:49:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 10:49:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 10:49:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 10:49:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 10:49:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 10:49:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 10:49:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 10:49:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 10:49:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 10:49:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 10:49:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 10:49:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 10:49:13] Production.INFO: call_cost start
[2025-01-10 10:49:13] Production.INFO: call_cost end
[2025-01-10 10:49:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 10:49:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 10:49:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 10:49:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 10:49:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 10:49:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 10:49:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 10:49:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 10:49:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 10:49:13] Production.INFO: ==7450== Releasing lock...
[2025-01-10 10:49:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 10:49:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 10:49:21] Production.INFO: count ==3267
[2025-01-10 10:49:23] Production.ERROR: pbx CDR StartTime 2025-01-10 07:49:05 - End Time 2025-01-10 10:49:05
[2025-01-10 10:49:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 10:49:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216413', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:49:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216413', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:49:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216413', 'tblTempVendorCDR_20' ) start
[2025-01-10 10:49:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216413', 'tblTempVendorCDR_20' ) end
[2025-01-10 10:49:23] Production.INFO: ProcessCDR(1,14216413,1,1,2)
[2025-01-10 10:49:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216413,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:49:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216413,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:49:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216413,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:49:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216413,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:49:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216413', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:49:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216413', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:49:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:49:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:49:27] Production.INFO: ==7458== Releasing lock...
[2025-01-10 10:49:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 10:49:27] Production.INFO: 52.25 MB #Memory Used#
[2025-01-10 15:50:01] Production.INFO: ==7518== Lock acquired, processing the job...
[2025-01-10 15:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 15:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 15:50:01] Production.INFO: neon service started
[2025-01-10 15:50:01] Production.INFO: neon service started
[2025-01-10 15:50:01] Production.INFO: ==7518== Releasing lock...
[2025-01-10 15:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 15:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 10:50:01] Production.INFO: ==7520== Lock acquired, processing the job...
[2025-01-10 10:50:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 10:50:02] Production.INFO: ==7520== Releasing lock...
[2025-01-10 10:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 10:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:50:02] Production.INFO: ==7522== Lock acquired, processing the job...
[2025-01-10 15:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:50:02] Production.INFO: ==7522== Releasing lock...
[2025-01-10 15:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 15:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 10:50:03] Production.INFO: ==7524== Lock acquired, processing the job...
[2025-01-10 10:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 10:50:03] Production.INFO: ==7526== Lock acquired, processing the job...
[2025-01-10 10:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 10:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 10:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 10:50:03] Production.ERROR: CronJob PID - 7526
[2025-01-10 10:50:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-10 10:50:03] Production.ERROR: CronJob ID - 5
[2025-01-10 10:50:03] Production.ERROR: CronJob Last Run Time 2025-01-10 10:50:00
[2025-01-10 10:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 10:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 10:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 10:50:03] Production.INFO: ==7524== Releasing lock...
[2025-01-10 10:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 10:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 10:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 10:50:03] Production.INFO: ==7532== Lock acquired, processing the job...
[2025-01-10 10:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 10:50:03] Production.INFO: ==7534== Lock acquired, processing the job...
[2025-01-10 10:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 10:50:03] Production.INFO: ==7528== Lock acquired, processing the job...
[2025-01-10 10:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 10:50:03] Production.INFO: Account Balance Start.
[2025-01-10 10:50:03] Production.INFO: CreateAllLog Start
[2025-01-10 10:50:03] Production.INFO: 117
[2025-01-10 10:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:50:03] Production.INFO: Date 2025-01-08
[2025-01-10 10:50:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:50:03] Production.INFO: Date 2025-01-09
[2025-01-10 10:50:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:50:03] Production.INFO: ==7530== Lock acquired, processing the job...
[2025-01-10 10:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 10:50:03] Production.INFO: Date 2025-01-10
[2025-01-10 10:50:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:50:03] Production.INFO: Total Charge 0
[2025-01-10 10:50:03] Production.INFO: CreateAllLog End
[2025-01-10 10:50:03] Production.INFO: ==7538== Lock acquired, processing the job...
[2025-01-10 10:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 10:50:03] Production.INFO: ==7536== Lock acquired, processing the job...
[2025-01-10 10:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 10:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 10:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 10:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 10:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 10:50:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:50:03] Production.INFO: count ==21
[2025-01-10 10:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:50:04] Production.ERROR: done
[2025-01-10 10:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 10:50:04] Production.INFO: count ==21
[2025-01-10 10:50:04] Production.INFO: ==7528== Releasing lock...
[2025-01-10 10:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 10:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 10:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216417') start
[2025-01-10 10:50:04] Production.INFO: Account Balance End.
[2025-01-10 10:50:04] Production.ERROR: done
[2025-01-10 10:50:04] Production.ERROR: CronJobId end 12
[2025-01-10 10:50:04] Production.INFO: ==7532== Releasing lock...
[2025-01-10 10:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 10:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 10:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216417') end
[2025-01-10 10:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 10:50:04] Production.INFO: 1
[2025-01-10 10:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 10:50:04] Production.INFO: ==7538== Releasing lock...
[2025-01-10 10:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 10:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 10:50:04] Production.ERROR: done
[2025-01-10 10:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 10:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14216419', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 10:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 07:50:05
[end_date_ymd] => 2025-01-10 10:50:05
[RateCDR] => 1
)
[2025-01-10 10:50:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 07:50:05' and `end` < '2025-01-10 10:50:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 10:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14216419', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 10:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 10:50:08] Production.INFO: ProcessCDR(1,14216419,1,1,2)
[2025-01-10 10:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14216419,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14216419,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:50:08] Production.INFO: ==7536== Releasing lock...
[2025-01-10 10:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 10:50:08] Production.INFO: 26 MB #Memory Used#
[2025-01-10 10:50:13] Production.ERROR: CronJobId end10
[2025-01-10 10:50:13] Production.INFO: ==7530== Releasing lock...
[2025-01-10 10:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 10:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 10:50:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 10:50:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 10:50:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 10:50:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 10:50:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 10:50:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 10:50:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 10:50:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 10:50:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 10:50:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 10:50:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 10:50:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 10:50:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 10:50:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 10:50:13] Production.INFO: call_cost start
[2025-01-10 10:50:13] Production.INFO: call_cost end
[2025-01-10 10:50:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 10:50:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 10:50:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 10:50:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 10:50:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 10:50:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 10:50:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 10:50:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 10:50:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 10:50:14] Production.INFO: ==7526== Releasing lock...
[2025-01-10 10:50:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 10:50:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 10:50:26] Production.INFO: count ==3276
[2025-01-10 10:50:27] Production.ERROR: pbx CDR StartTime 2025-01-10 07:50:05 - End Time 2025-01-10 10:50:05
[2025-01-10 10:50:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 10:50:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216418', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:50:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216418', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:50:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216418', 'tblTempVendorCDR_20' ) start
[2025-01-10 10:50:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216418', 'tblTempVendorCDR_20' ) end
[2025-01-10 10:50:28] Production.INFO: ProcessCDR(1,14216418,1,1,2)
[2025-01-10 10:50:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216418,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:50:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216418,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:50:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216418,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:50:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216418,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:50:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216418', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:50:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216418', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:50:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:50:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:50:32] Production.INFO: ==7534== Releasing lock...
[2025-01-10 10:50:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 10:50:32] Production.INFO: 52.5 MB #Memory Used#
[2025-01-10 15:51:01] Production.INFO: ==7595== Lock acquired, processing the job...
[2025-01-10 15:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 15:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 15:51:01] Production.INFO: neon service started
[2025-01-10 15:51:01] Production.INFO: neon service started
[2025-01-10 15:51:01] Production.INFO: ==7595== Releasing lock...
[2025-01-10 15:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 15:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 15:51:02] Production.INFO: ==7599== Lock acquired, processing the job...
[2025-01-10 15:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:51:02] Production.INFO: ==7599== Releasing lock...
[2025-01-10 15:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 15:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 10:51:02] Production.INFO: ==7597== Lock acquired, processing the job...
[2025-01-10 10:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 10:51:02] Production.INFO: ==7597== Releasing lock...
[2025-01-10 10:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 10:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:51:03] Production.INFO: ==7606== Lock acquired, processing the job...
[2025-01-10 10:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 10:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 10:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 10:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 10:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 10:51:03] Production.INFO: ==7610== Lock acquired, processing the job...
[2025-01-10 10:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 10:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:51:03] Production.INFO: ==7602== Lock acquired, processing the job...
[2025-01-10 10:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 10:51:03] Production.INFO: ==7604== Lock acquired, processing the job...
[2025-01-10 10:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 10:51:03] Production.INFO: ==7608== Lock acquired, processing the job...
[2025-01-10 10:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 10:51:03] Production.INFO: ==7612== Lock acquired, processing the job...
[2025-01-10 10:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 10:51:03] Production.ERROR: done
[2025-01-10 10:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 10:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 10:51:04] Production.ERROR: done
[2025-01-10 10:51:04] Production.INFO: Account Balance Start.
[2025-01-10 10:51:04] Production.INFO: CreateAllLog Start
[2025-01-10 10:51:04] Production.INFO: 117
[2025-01-10 10:51:04] Production.INFO: Date 2025-01-08
[2025-01-10 10:51:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:51:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:51:04] Production.INFO: count ==21
[2025-01-10 10:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:51:04] Production.INFO: count ==21
[2025-01-10 10:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216423') start
[2025-01-10 10:51:04] Production.INFO: Date 2025-01-09
[2025-01-10 10:51:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:51:04] Production.INFO: Date 2025-01-10
[2025-01-10 10:51:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:51:04] Production.INFO: Total Charge 0
[2025-01-10 10:51:04] Production.INFO: CreateAllLog End
[2025-01-10 10:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216423') end
[2025-01-10 10:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 10:51:04] Production.INFO: 1
[2025-01-10 10:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 10:51:04] Production.INFO: ==7612== Releasing lock...
[2025-01-10 10:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 10:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 10:51:04] Production.INFO: ==7604== Releasing lock...
[2025-01-10 10:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 10:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 10:51:04] Production.INFO: Account Balance End.
[2025-01-10 10:51:04] Production.ERROR: CronJobId end 12
[2025-01-10 10:51:04] Production.INFO: ==7608== Releasing lock...
[2025-01-10 10:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 10:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 10:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 07:51:05
[end_date_ymd] => 2025-01-10 10:51:05
[RateCDR] => 1
)
[2025-01-10 10:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 07:51:05' and `end` < '2025-01-10 10:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 10:51:11] Production.ERROR: CronJobId end10
[2025-01-10 10:51:11] Production.INFO: ==7606== Releasing lock...
[2025-01-10 10:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 10:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 10:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 10:51:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 10:51:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 10:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 10:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 10:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 10:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 10:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 10:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 10:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 10:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 10:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 10:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 10:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 10:51:13] Production.INFO: call_cost start
[2025-01-10 10:51:13] Production.INFO: call_cost end
[2025-01-10 10:51:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 10:51:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 10:51:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 10:51:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 10:51:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 10:51:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 10:51:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 10:51:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 10:51:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 10:51:14] Production.INFO: ==7602== Releasing lock...
[2025-01-10 10:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 10:51:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 10:51:27] Production.INFO: count ==3335
[2025-01-10 10:51:28] Production.ERROR: pbx CDR StartTime 2025-01-10 07:51:05 - End Time 2025-01-10 10:51:05
[2025-01-10 10:51:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 10:51:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216424', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:51:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216424', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:51:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216424', 'tblTempVendorCDR_20' ) start
[2025-01-10 10:51:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216424', 'tblTempVendorCDR_20' ) end
[2025-01-10 10:51:28] Production.INFO: ProcessCDR(1,14216424,1,1,2)
[2025-01-10 10:51:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216424,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:51:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216424,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:51:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216424,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:51:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216424,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:51:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216424', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:51:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216424', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:51:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:51:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:51:33] Production.INFO: ==7610== Releasing lock...
[2025-01-10 10:51:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 10:51:33] Production.INFO: 53.75 MB #Memory Used#
[2025-01-10 15:52:01] Production.INFO: ==7669== Lock acquired, processing the job...
[2025-01-10 15:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 15:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 15:52:01] Production.INFO: neon service started
[2025-01-10 15:52:01] Production.INFO: neon service started
[2025-01-10 15:52:01] Production.INFO: ==7669== Releasing lock...
[2025-01-10 15:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 15:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 10:52:01] Production.INFO: ==7671== Lock acquired, processing the job...
[2025-01-10 10:52:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 15:52:02] Production.INFO: ==7673== Lock acquired, processing the job...
[2025-01-10 15:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:52:02] Production.INFO: ==7673== Releasing lock...
[2025-01-10 15:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 15:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 10:52:02] Production.INFO: ==7671== Releasing lock...
[2025-01-10 10:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 10:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:52:02] Production.INFO: ==7676== Lock acquired, processing the job...
[2025-01-10 10:52:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 10:52:03] Production.INFO: ==7680== Lock acquired, processing the job...
[2025-01-10 10:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 10:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 10:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 10:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 10:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 10:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 10:52:03] Production.INFO: ==7684== Lock acquired, processing the job...
[2025-01-10 10:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 10:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:52:03] Production.INFO: ==7678== Lock acquired, processing the job...
[2025-01-10 10:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 10:52:03] Production.ERROR: done
[2025-01-10 10:52:03] Production.INFO: ==7682== Lock acquired, processing the job...
[2025-01-10 10:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 10:52:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 10:52:03] Production.INFO: ==7686== Lock acquired, processing the job...
[2025-01-10 10:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 10:52:03] Production.ERROR: done
[2025-01-10 10:52:03] Production.INFO: Account Balance Start.
[2025-01-10 10:52:03] Production.INFO: CreateAllLog Start
[2025-01-10 10:52:03] Production.INFO: 117
[2025-01-10 10:52:03] Production.INFO: Date 2025-01-08
[2025-01-10 10:52:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:52:03] Production.INFO: count ==21
[2025-01-10 10:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:52:03] Production.INFO: count ==21
[2025-01-10 10:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216429') start
[2025-01-10 10:52:03] Production.INFO: Date 2025-01-09
[2025-01-10 10:52:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:52:03] Production.INFO: Date 2025-01-10
[2025-01-10 10:52:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:52:03] Production.INFO: Total Charge 0
[2025-01-10 10:52:03] Production.INFO: CreateAllLog End
[2025-01-10 10:52:03] Production.INFO: ==7678== Releasing lock...
[2025-01-10 10:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 10:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 10:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216429') end
[2025-01-10 10:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 10:52:04] Production.INFO: 1
[2025-01-10 10:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 10:52:04] Production.INFO: Account Balance End.
[2025-01-10 10:52:04] Production.INFO: ==7686== Releasing lock...
[2025-01-10 10:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 10:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 10:52:04] Production.ERROR: CronJobId end 12
[2025-01-10 10:52:04] Production.INFO: ==7682== Releasing lock...
[2025-01-10 10:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 10:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 10:52:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 07:52:04
[end_date_ymd] => 2025-01-10 10:52:04
[RateCDR] => 1
)
[2025-01-10 10:52:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 07:52:04' and `end` < '2025-01-10 10:52:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 10:52:10] Production.ERROR: CronJobId end10
[2025-01-10 10:52:10] Production.INFO: ==7680== Releasing lock...
[2025-01-10 10:52:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 10:52:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 10:52:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 10:52:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 10:52:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 10:52:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 10:52:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 10:52:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 10:52:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 10:52:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 10:52:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 10:52:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 10:52:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 10:52:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 10:52:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 10:52:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 10:52:13] Production.INFO: call_cost start
[2025-01-10 10:52:13] Production.INFO: call_cost end
[2025-01-10 10:52:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 10:52:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 10:52:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 10:52:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 10:52:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 10:52:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 10:52:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 10:52:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 10:52:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 10:52:14] Production.INFO: ==7676== Releasing lock...
[2025-01-10 10:52:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 10:52:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 10:52:24] Production.INFO: count ==3344
[2025-01-10 10:52:26] Production.ERROR: pbx CDR StartTime 2025-01-10 07:52:04 - End Time 2025-01-10 10:52:04
[2025-01-10 10:52:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 10:52:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216428', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:52:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216428', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:52:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216428', 'tblTempVendorCDR_20' ) start
[2025-01-10 10:52:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216428', 'tblTempVendorCDR_20' ) end
[2025-01-10 10:52:26] Production.INFO: ProcessCDR(1,14216428,1,1,2)
[2025-01-10 10:52:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216428,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:52:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216428,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:52:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216428,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:52:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216428,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:52:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216428', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:52:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216428', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:52:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:52:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:52:30] Production.INFO: ==7684== Releasing lock...
[2025-01-10 10:52:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 10:52:30] Production.INFO: 54 MB #Memory Used#
[2025-01-10 15:53:01] Production.INFO: ==7739== Lock acquired, processing the job...
[2025-01-10 15:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 15:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 15:53:01] Production.INFO: neon service started
[2025-01-10 15:53:01] Production.INFO: neon service started
[2025-01-10 15:53:01] Production.INFO: ==7739== Releasing lock...
[2025-01-10 15:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 15:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 10:53:02] Production.INFO: ==7741== Lock acquired, processing the job...
[2025-01-10 10:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 10:53:02] Production.INFO: ==7741== Releasing lock...
[2025-01-10 10:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 10:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:53:02] Production.INFO: ==7743== Lock acquired, processing the job...
[2025-01-10 15:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:53:02] Production.INFO: ==7743== Releasing lock...
[2025-01-10 15:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 15:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 10:53:03] Production.INFO: ==7745== Lock acquired, processing the job...
[2025-01-10 10:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 10:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 10:53:03] Production.INFO: ==7747== Lock acquired, processing the job...
[2025-01-10 10:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 10:53:03] Production.INFO: ==7751== Lock acquired, processing the job...
[2025-01-10 10:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 10:53:03] Production.INFO: ==7749== Lock acquired, processing the job...
[2025-01-10 10:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 10:53:03] Production.INFO: ==7753== Lock acquired, processing the job...
[2025-01-10 10:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 10:53:03] Production.INFO: ==7755== Lock acquired, processing the job...
[2025-01-10 10:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 10:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 10:53:03] Production.INFO: Account Balance Start.
[2025-01-10 10:53:03] Production.INFO: CreateAllLog Start
[2025-01-10 10:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 10:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 10:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 10:53:03] Production.INFO: 117
[2025-01-10 10:53:03] Production.INFO: Date 2025-01-08
[2025-01-10 10:53:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:53:03] Production.INFO: count ==21
[2025-01-10 10:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:53:03] Production.INFO: count ==21
[2025-01-10 10:53:03] Production.INFO: ==7747== Releasing lock...
[2025-01-10 10:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 10:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 10:53:03] Production.INFO: Date 2025-01-09
[2025-01-10 10:53:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216432') start
[2025-01-10 10:53:03] Production.ERROR: done
[2025-01-10 10:53:03] Production.INFO: Date 2025-01-10
[2025-01-10 10:53:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:53:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 10:53:03] Production.INFO: Total Charge 0
[2025-01-10 10:53:03] Production.INFO: CreateAllLog End
[2025-01-10 10:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216432') end
[2025-01-10 10:53:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 10:53:03] Production.INFO: 1
[2025-01-10 10:53:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 10:53:04] Production.INFO: ==7755== Releasing lock...
[2025-01-10 10:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 10:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 10:53:04] Production.ERROR: done
[2025-01-10 10:53:04] Production.INFO: Account Balance End.
[2025-01-10 10:53:04] Production.ERROR: CronJobId end 12
[2025-01-10 10:53:04] Production.INFO: ==7751== Releasing lock...
[2025-01-10 10:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 10:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 10:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 07:53:05
[end_date_ymd] => 2025-01-10 10:53:05
[RateCDR] => 1
)
[2025-01-10 10:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 07:53:05' and `end` < '2025-01-10 10:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 10:53:11] Production.ERROR: CronJobId end10
[2025-01-10 10:53:11] Production.INFO: ==7749== Releasing lock...
[2025-01-10 10:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 10:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 10:53:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 10:53:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 10:53:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 10:53:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 10:53:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 10:53:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 10:53:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 10:53:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 10:53:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 10:53:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 10:53:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 10:53:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 10:53:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 10:53:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 10:53:12] Production.INFO: call_cost start
[2025-01-10 10:53:12] Production.INFO: call_cost end
[2025-01-10 10:53:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 10:53:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 10:53:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 10:53:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 10:53:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 10:53:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 10:53:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 10:53:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 10:53:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 10:53:13] Production.INFO: ==7745== Releasing lock...
[2025-01-10 10:53:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 10:53:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 10:53:22] Production.INFO: count ==3358
[2025-01-10 10:53:23] Production.ERROR: pbx CDR StartTime 2025-01-10 07:53:05 - End Time 2025-01-10 10:53:05
[2025-01-10 10:53:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 10:53:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216434', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:53:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216434', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:53:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216434', 'tblTempVendorCDR_20' ) start
[2025-01-10 10:53:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216434', 'tblTempVendorCDR_20' ) end
[2025-01-10 10:53:23] Production.INFO: ProcessCDR(1,14216434,1,1,2)
[2025-01-10 10:53:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216434,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:53:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216434,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:53:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216434,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:53:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216434,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:53:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216434', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:53:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216434', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:53:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:53:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:53:28] Production.INFO: ==7753== Releasing lock...
[2025-01-10 10:53:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 10:53:28] Production.INFO: 54 MB #Memory Used#
[2025-01-10 15:54:02] Production.INFO: ==7809== Lock acquired, processing the job...
[2025-01-10 15:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 15:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 15:54:02] Production.INFO: neon service started
[2025-01-10 15:54:02] Production.INFO: neon service started
[2025-01-10 15:54:02] Production.INFO: ==7809== Releasing lock...
[2025-01-10 15:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 15:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 10:54:02] Production.INFO: ==7811== Lock acquired, processing the job...
[2025-01-10 10:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 15:54:02] Production.INFO: ==7813== Lock acquired, processing the job...
[2025-01-10 15:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:54:02] Production.INFO: ==7813== Releasing lock...
[2025-01-10 15:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 15:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 10:54:03] Production.INFO: ==7811== Releasing lock...
[2025-01-10 10:54:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 10:54:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:54:03] Production.INFO: ==7816== Lock acquired, processing the job...
[2025-01-10 10:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 10:54:03] Production.INFO: ==7822== Lock acquired, processing the job...
[2025-01-10 10:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 10:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 10:54:04] Production.INFO: ==7826== Lock acquired, processing the job...
[2025-01-10 10:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 10:54:04] Production.INFO: ==7818== Lock acquired, processing the job...
[2025-01-10 10:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 10:54:04] Production.INFO: ==7820== Lock acquired, processing the job...
[2025-01-10 10:54:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 10:54:04] Production.INFO: ==7824== Lock acquired, processing the job...
[2025-01-10 10:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 10:54:04] Production.INFO: Account Balance Start.
[2025-01-10 10:54:04] Production.INFO: CreateAllLog Start
[2025-01-10 10:54:04] Production.INFO: 117
[2025-01-10 10:54:04] Production.INFO: Date 2025-01-08
[2025-01-10 10:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:54:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:54:04] Production.INFO: count ==21
[2025-01-10 10:54:04] Production.INFO: Date 2025-01-09
[2025-01-10 10:54:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:54:04] Production.INFO: count ==21
[2025-01-10 10:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216437') start
[2025-01-10 10:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 10:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 10:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 10:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 10:54:04] Production.INFO: Date 2025-01-10
[2025-01-10 10:54:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:54:04] Production.INFO: Total Charge 0
[2025-01-10 10:54:04] Production.INFO: CreateAllLog End
[2025-01-10 10:54:04] Production.ERROR: done
[2025-01-10 10:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216437') end
[2025-01-10 10:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 10:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 10:54:04] Production.INFO: 1
[2025-01-10 10:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 10:54:04] Production.INFO: ==7826== Releasing lock...
[2025-01-10 10:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 10:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 10:54:04] Production.ERROR: done
[2025-01-10 10:54:04] Production.INFO: ==7818== Releasing lock...
[2025-01-10 10:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 10:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 10:54:04] Production.INFO: Account Balance End.
[2025-01-10 10:54:04] Production.ERROR: CronJobId end 12
[2025-01-10 10:54:04] Production.INFO: ==7822== Releasing lock...
[2025-01-10 10:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 10:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 10:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 07:54:05
[end_date_ymd] => 2025-01-10 10:54:05
[RateCDR] => 1
)
[2025-01-10 10:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 07:54:05' and `end` < '2025-01-10 10:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 10:54:12] Production.ERROR: CronJobId end10
[2025-01-10 10:54:12] Production.INFO: ==7820== Releasing lock...
[2025-01-10 10:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 10:54:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 10:54:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 10:54:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 10:54:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 10:54:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 10:54:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 10:54:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 10:54:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 10:54:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 10:54:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 10:54:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 10:54:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 10:54:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 10:54:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 10:54:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 10:54:13] Production.INFO: call_cost start
[2025-01-10 10:54:13] Production.INFO: call_cost end
[2025-01-10 10:54:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 10:54:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 10:54:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 10:54:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 10:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 10:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 10:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 10:54:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 10:54:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 10:54:14] Production.INFO: ==7816== Releasing lock...
[2025-01-10 10:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 10:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 10:54:20] Production.INFO: count ==3367
[2025-01-10 10:54:21] Production.ERROR: pbx CDR StartTime 2025-01-10 07:54:05 - End Time 2025-01-10 10:54:05
[2025-01-10 10:54:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 10:54:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216439', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:54:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216439', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:54:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216439', 'tblTempVendorCDR_20' ) start
[2025-01-10 10:54:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216439', 'tblTempVendorCDR_20' ) end
[2025-01-10 10:54:22] Production.INFO: ProcessCDR(1,14216439,1,1,2)
[2025-01-10 10:54:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216439,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:54:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216439,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:54:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216439,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:54:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216439,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:54:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216439', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:54:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216439', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:54:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:54:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:54:26] Production.INFO: ==7824== Releasing lock...
[2025-01-10 10:54:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 10:54:26] Production.INFO: 54 MB #Memory Used#
[2025-01-10 15:55:01] Production.INFO: ==7880== Lock acquired, processing the job...
[2025-01-10 15:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 15:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 15:55:01] Production.INFO: neon service started
[2025-01-10 15:55:01] Production.INFO: neon service started
[2025-01-10 15:55:01] Production.INFO: ==7880== Releasing lock...
[2025-01-10 15:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 15:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 10:55:01] Production.INFO: ==7882== Lock acquired, processing the job...
[2025-01-10 10:55:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 10:55:02] Production.INFO: ==7882== Releasing lock...
[2025-01-10 10:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 10:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:55:02] Production.INFO: ==7884== Lock acquired, processing the job...
[2025-01-10 15:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:55:02] Production.INFO: ==7884== Releasing lock...
[2025-01-10 15:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 15:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 10:55:03] Production.INFO: ==7888== Lock acquired, processing the job...
[2025-01-10 10:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 10:55:03] Production.INFO: ==7890== Lock acquired, processing the job...
[2025-01-10 10:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 10:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 10:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 10:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 10:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 10:55:03] Production.INFO: ==7886== Lock acquired, processing the job...
[2025-01-10 10:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 10:55:03] Production.INFO: ==7892== Lock acquired, processing the job...
[2025-01-10 10:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 10:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 10:55:03] Production.INFO: ==7894== Lock acquired, processing the job...
[2025-01-10 10:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 10:55:03] Production.INFO: Account Balance Start.
[2025-01-10 10:55:03] Production.INFO: CreateAllLog Start
[2025-01-10 10:55:03] Production.INFO: 117
[2025-01-10 10:55:03] Production.INFO: ==7888== Releasing lock...
[2025-01-10 10:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 10:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 10:55:03] Production.INFO: Date 2025-01-08
[2025-01-10 10:55:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:55:03] Production.INFO: ==7896== Lock acquired, processing the job...
[2025-01-10 10:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 10:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:55:03] Production.INFO: Date 2025-01-09
[2025-01-10 10:55:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:55:03] Production.INFO: Date 2025-01-10
[2025-01-10 10:55:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:55:03] Production.INFO: Total Charge 0
[2025-01-10 10:55:03] Production.INFO: CreateAllLog End
[2025-01-10 10:55:03] Production.INFO: count ==21
[2025-01-10 10:55:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:55:03] Production.INFO: count ==21
[2025-01-10 10:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216443') start
[2025-01-10 10:55:03] Production.ERROR: done
[2025-01-10 10:55:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 10:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216443') end
[2025-01-10 10:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 10:55:04] Production.INFO: 1
[2025-01-10 10:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 10:55:04] Production.ERROR: done
[2025-01-10 10:55:04] Production.INFO: ==7896== Releasing lock...
[2025-01-10 10:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 10:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 10:55:04] Production.INFO: Account Balance End.
[2025-01-10 10:55:04] Production.ERROR: CronJobId end 12
[2025-01-10 10:55:04] Production.INFO: ==7892== Releasing lock...
[2025-01-10 10:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 10:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 10:55:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 07:55:04
[end_date_ymd] => 2025-01-10 10:55:04
[RateCDR] => 1
)
[2025-01-10 10:55:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 07:55:04' and `end` < '2025-01-10 10:55:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 10:55:11] Production.ERROR: CronJobId end10
[2025-01-10 10:55:11] Production.INFO: ==7890== Releasing lock...
[2025-01-10 10:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 10:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 10:55:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 10:55:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 10:55:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 10:55:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 10:55:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 10:55:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 10:55:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 10:55:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 10:55:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 10:55:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 10:55:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 10:55:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 10:55:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 10:55:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 10:55:13] Production.INFO: call_cost start
[2025-01-10 10:55:13] Production.INFO: call_cost end
[2025-01-10 10:55:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 10:55:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 10:55:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 10:55:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 10:55:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 10:55:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 10:55:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 10:55:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 10:55:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 10:55:13] Production.INFO: ==7886== Releasing lock...
[2025-01-10 10:55:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 10:55:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 10:55:23] Production.INFO: count ==3390
[2025-01-10 10:55:24] Production.ERROR: pbx CDR StartTime 2025-01-10 07:55:04 - End Time 2025-01-10 10:55:04
[2025-01-10 10:55:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 10:55:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216444', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:55:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216444', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:55:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216444', 'tblTempVendorCDR_20' ) start
[2025-01-10 10:55:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216444', 'tblTempVendorCDR_20' ) end
[2025-01-10 10:55:24] Production.INFO: ProcessCDR(1,14216444,1,1,2)
[2025-01-10 10:55:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216444,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:55:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216444,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:55:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216444,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:55:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216444,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:55:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216444', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:55:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216444', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:55:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:55:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:55:29] Production.INFO: ==7894== Releasing lock...
[2025-01-10 10:55:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 10:55:29] Production.INFO: 55 MB #Memory Used#
[2025-01-10 15:56:02] Production.INFO: ==7952== Lock acquired, processing the job...
[2025-01-10 15:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 15:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 15:56:02] Production.INFO: neon service started
[2025-01-10 15:56:02] Production.INFO: neon service started
[2025-01-10 15:56:02] Production.INFO: ==7952== Releasing lock...
[2025-01-10 15:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 15:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 10:56:02] Production.INFO: ==7954== Lock acquired, processing the job...
[2025-01-10 10:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 15:56:02] Production.INFO: ==7957== Lock acquired, processing the job...
[2025-01-10 15:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:56:02] Production.INFO: ==7957== Releasing lock...
[2025-01-10 15:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 15:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 10:56:02] Production.INFO: ==7954== Releasing lock...
[2025-01-10 10:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 10:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:56:03] Production.INFO: ==7961== Lock acquired, processing the job...
[2025-01-10 10:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 10:56:03] Production.INFO: ==7969== Lock acquired, processing the job...
[2025-01-10 10:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 10:56:03] Production.INFO: ==7959== Lock acquired, processing the job...
[2025-01-10 10:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 10:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:56:03] Production.INFO: count ==21
[2025-01-10 10:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 10:56:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:56:03] Production.INFO: ==7963== Lock acquired, processing the job...
[2025-01-10 10:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 10:56:03] Production.INFO: count ==21
[2025-01-10 10:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216446') start
[2025-01-10 10:56:04] Production.INFO: ==7965== Lock acquired, processing the job...
[2025-01-10 10:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 10:56:04] Production.INFO: ==7967== Lock acquired, processing the job...
[2025-01-10 10:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 10:56:04] Production.INFO: ==7961== Releasing lock...
[2025-01-10 10:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 10:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 10:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216446') end
[2025-01-10 10:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 10:56:04] Production.INFO: 1
[2025-01-10 10:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 10:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 10:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 10:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 10:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 10:56:04] Production.INFO: Account Balance Start.
[2025-01-10 10:56:04] Production.INFO: CreateAllLog Start
[2025-01-10 10:56:04] Production.INFO: 117
[2025-01-10 10:56:04] Production.INFO: ==7969== Releasing lock...
[2025-01-10 10:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 10:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 10:56:04] Production.INFO: Date 2025-01-08
[2025-01-10 10:56:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:56:04] Production.ERROR: done
[2025-01-10 10:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 10:56:04] Production.INFO: Date 2025-01-09
[2025-01-10 10:56:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:56:04] Production.ERROR: done
[2025-01-10 10:56:04] Production.INFO: Date 2025-01-10
[2025-01-10 10:56:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:56:04] Production.INFO: Total Charge 0
[2025-01-10 10:56:04] Production.INFO: CreateAllLog End
[2025-01-10 10:56:04] Production.INFO: Account Balance End.
[2025-01-10 10:56:04] Production.ERROR: CronJobId end 12
[2025-01-10 10:56:04] Production.INFO: ==7965== Releasing lock...
[2025-01-10 10:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 10:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 10:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 07:56:05
[end_date_ymd] => 2025-01-10 10:56:05
[RateCDR] => 1
)
[2025-01-10 10:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 07:56:05' and `end` < '2025-01-10 10:56:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 10:56:10] Production.ERROR: CronJobId end10
[2025-01-10 10:56:10] Production.INFO: ==7963== Releasing lock...
[2025-01-10 10:56:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 10:56:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 10:56:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 10:56:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 10:56:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 10:56:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 10:56:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 10:56:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 10:56:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 10:56:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 10:56:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 10:56:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 10:56:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 10:56:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 10:56:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 10:56:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 10:56:13] Production.INFO: call_cost start
[2025-01-10 10:56:13] Production.INFO: call_cost end
[2025-01-10 10:56:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 10:56:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 10:56:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 10:56:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 10:56:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 10:56:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 10:56:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 10:56:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 10:56:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 10:56:14] Production.INFO: ==7959== Releasing lock...
[2025-01-10 10:56:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 10:56:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 10:56:30] Production.INFO: count ==3414
[2025-01-10 10:56:31] Production.ERROR: pbx CDR StartTime 2025-01-10 07:56:05 - End Time 2025-01-10 10:56:05
[2025-01-10 10:56:31] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 10:56:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216449', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:56:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216449', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:56:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216449', 'tblTempVendorCDR_20' ) start
[2025-01-10 10:56:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216449', 'tblTempVendorCDR_20' ) end
[2025-01-10 10:56:31] Production.INFO: ProcessCDR(1,14216449,1,1,2)
[2025-01-10 10:56:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216449,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:56:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216449,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:56:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216449,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:56:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216449,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:56:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216449', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:56:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216449', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:56:36] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:56:36] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:56:36] Production.INFO: ==7967== Releasing lock...
[2025-01-10 10:56:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 10:56:36] Production.INFO: 55.25 MB #Memory Used#
[2025-01-10 15:57:01] Production.INFO: ==8062== Lock acquired, processing the job...
[2025-01-10 15:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 15:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 15:57:01] Production.INFO: neon service started
[2025-01-10 15:57:01] Production.INFO: neon service started
[2025-01-10 15:57:01] Production.INFO: ==8062== Releasing lock...
[2025-01-10 15:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 15:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 10:57:01] Production.INFO: ==8064== Lock acquired, processing the job...
[2025-01-10 10:57:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 10:57:02] Production.INFO: ==8064== Releasing lock...
[2025-01-10 10:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 10:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:57:02] Production.INFO: ==8066== Lock acquired, processing the job...
[2025-01-10 15:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:57:02] Production.INFO: ==8066== Releasing lock...
[2025-01-10 15:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 15:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 10:57:02] Production.INFO: ==8072== Lock acquired, processing the job...
[2025-01-10 10:57:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 10:57:02] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 10:57:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 10:57:02] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 10:57:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 10:57:03] Production.INFO: ==8078== Lock acquired, processing the job...
[2025-01-10 10:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 10:57:03] Production.INFO: ==8068== Lock acquired, processing the job...
[2025-01-10 10:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 10:57:03] Production.INFO: ==8070== Lock acquired, processing the job...
[2025-01-10 10:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 10:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:57:03] Production.INFO: count ==21
[2025-01-10 10:57:03] Production.INFO: ==8074== Lock acquired, processing the job...
[2025-01-10 10:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 10:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 10:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:57:03] Production.INFO: count ==21
[2025-01-10 10:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216450') start
[2025-01-10 10:57:03] Production.INFO: Account Balance Start.
[2025-01-10 10:57:03] Production.INFO: CreateAllLog Start
[2025-01-10 10:57:03] Production.INFO: 117
[2025-01-10 10:57:03] Production.INFO: ==8076== Lock acquired, processing the job...
[2025-01-10 10:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 10:57:03] Production.INFO: Date 2025-01-08
[2025-01-10 10:57:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:57:03] Production.INFO: Date 2025-01-09
[2025-01-10 10:57:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216450') end
[2025-01-10 10:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 10:57:03] Production.INFO: 1
[2025-01-10 10:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 10:57:03] Production.INFO: Date 2025-01-10
[2025-01-10 10:57:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:57:03] Production.INFO: Total Charge 0
[2025-01-10 10:57:03] Production.INFO: ==8070== Releasing lock...
[2025-01-10 10:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 10:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 10:57:03] Production.INFO: CreateAllLog End
[2025-01-10 10:57:03] Production.INFO: ==8078== Releasing lock...
[2025-01-10 10:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 10:57:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 10:57:03] Production.INFO: Account Balance End.
[2025-01-10 10:57:03] Production.ERROR: CronJobId end 12
[2025-01-10 10:57:03] Production.INFO: ==8074== Releasing lock...
[2025-01-10 10:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 10:57:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 10:57:03] Production.ERROR: done
[2025-01-10 10:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 10:57:04] Production.ERROR: done
[2025-01-10 10:57:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 07:57:04
[end_date_ymd] => 2025-01-10 10:57:04
[RateCDR] => 1
)
[2025-01-10 10:57:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 07:57:04' and `end` < '2025-01-10 10:57:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 10:57:09] Production.ERROR: CronJobId end10
[2025-01-10 10:57:09] Production.INFO: ==8072== Releasing lock...
[2025-01-10 10:57:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 10:57:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 10:57:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 10:57:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 10:57:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 10:57:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 10:57:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 10:57:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 10:57:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 10:57:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 10:57:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 10:57:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 10:57:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 10:57:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 10:57:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 10:57:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 10:57:12] Production.INFO: call_cost start
[2025-01-10 10:57:12] Production.INFO: call_cost end
[2025-01-10 10:57:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 10:57:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 10:57:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 10:57:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 10:57:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 10:57:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 10:57:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 10:57:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 10:57:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 10:57:13] Production.INFO: ==8068== Releasing lock...
[2025-01-10 10:57:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 10:57:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 10:57:29] Production.INFO: count ==3423
[2025-01-10 10:57:30] Production.ERROR: pbx CDR StartTime 2025-01-10 07:57:04 - End Time 2025-01-10 10:57:04
[2025-01-10 10:57:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 10:57:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216454', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:57:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216454', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:57:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216454', 'tblTempVendorCDR_20' ) start
[2025-01-10 10:57:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216454', 'tblTempVendorCDR_20' ) end
[2025-01-10 10:57:30] Production.INFO: ProcessCDR(1,14216454,1,1,2)
[2025-01-10 10:57:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216454,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:57:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216454,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:57:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216454,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:57:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216454,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:57:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216454', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:57:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216454', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:57:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:57:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:57:34] Production.INFO: ==8076== Releasing lock...
[2025-01-10 10:57:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 10:57:34] Production.INFO: 55 MB #Memory Used#
[2025-01-10 15:58:01] Production.INFO: ==8132== Lock acquired, processing the job...
[2025-01-10 15:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 15:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 15:58:01] Production.INFO: neon service started
[2025-01-10 15:58:01] Production.INFO: neon service started
[2025-01-10 15:58:01] Production.INFO: ==8132== Releasing lock...
[2025-01-10 15:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 15:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 15:58:02] Production.INFO: ==8136== Lock acquired, processing the job...
[2025-01-10 15:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:58:02] Production.INFO: ==8136== Releasing lock...
[2025-01-10 15:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 15:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 10:58:02] Production.INFO: ==8134== Lock acquired, processing the job...
[2025-01-10 10:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 10:58:02] Production.INFO: ==8134== Releasing lock...
[2025-01-10 10:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 10:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:58:03] Production.INFO: ==8139== Lock acquired, processing the job...
[2025-01-10 10:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 10:58:03] Production.INFO: ==8143== Lock acquired, processing the job...
[2025-01-10 10:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 10:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 10:58:03] Production.INFO: ==8145== Lock acquired, processing the job...
[2025-01-10 10:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 10:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 10:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 10:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 10:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 10:58:03] Production.INFO: ==8141== Lock acquired, processing the job...
[2025-01-10 10:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 10:58:03] Production.INFO: Account Balance Start.
[2025-01-10 10:58:03] Production.INFO: CreateAllLog Start
[2025-01-10 10:58:03] Production.INFO: 117
[2025-01-10 10:58:03] Production.INFO: Date 2025-01-08
[2025-01-10 10:58:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:58:03] Production.INFO: Date 2025-01-09
[2025-01-10 10:58:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:58:03] Production.INFO: Date 2025-01-10
[2025-01-10 10:58:03] Production.INFO: Reseller ==> 0
[2025-01-10 10:58:03] Production.INFO: ==8147== Lock acquired, processing the job...
[2025-01-10 10:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 10:58:03] Production.INFO: Total Charge 0
[2025-01-10 10:58:03] Production.INFO: ==8149== Lock acquired, processing the job...
[2025-01-10 10:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 10:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:58:03] Production.INFO: CreateAllLog End
[2025-01-10 10:58:04] Production.INFO: ==8141== Releasing lock...
[2025-01-10 10:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 10:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 10:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:58:04] Production.INFO: count ==21
[2025-01-10 10:58:04] Production.INFO: Account Balance End.
[2025-01-10 10:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:58:04] Production.INFO: count ==21
[2025-01-10 10:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216458') start
[2025-01-10 10:58:04] Production.ERROR: done
[2025-01-10 10:58:04] Production.ERROR: CronJobId end 12
[2025-01-10 10:58:04] Production.INFO: ==8145== Releasing lock...
[2025-01-10 10:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 10:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 10:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 10:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216458') end
[2025-01-10 10:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 10:58:04] Production.INFO: 1
[2025-01-10 10:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 10:58:04] Production.INFO: ==8149== Releasing lock...
[2025-01-10 10:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 10:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 10:58:04] Production.ERROR: done
[2025-01-10 10:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 07:58:05
[end_date_ymd] => 2025-01-10 10:58:05
[RateCDR] => 1
)
[2025-01-10 10:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 07:58:05' and `end` < '2025-01-10 10:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 10:58:10] Production.ERROR: CronJobId end10
[2025-01-10 10:58:10] Production.INFO: ==8143== Releasing lock...
[2025-01-10 10:58:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 10:58:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 10:58:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 10:58:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 10:58:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 10:58:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 10:58:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 10:58:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 10:58:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 10:58:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 10:58:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 10:58:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 10:58:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 10:58:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 10:58:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 10:58:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 10:58:13] Production.INFO: call_cost start
[2025-01-10 10:58:13] Production.INFO: call_cost end
[2025-01-10 10:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 10:58:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 10:58:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 10:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 10:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 10:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 10:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 10:58:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 10:58:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 10:58:14] Production.INFO: ==8139== Releasing lock...
[2025-01-10 10:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 10:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 10:58:24] Production.INFO: count ==3470
[2025-01-10 10:58:25] Production.ERROR: pbx CDR StartTime 2025-01-10 07:58:05 - End Time 2025-01-10 10:58:05
[2025-01-10 10:58:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 10:58:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216459', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:58:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216459', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:58:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216459', 'tblTempVendorCDR_20' ) start
[2025-01-10 10:58:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216459', 'tblTempVendorCDR_20' ) end
[2025-01-10 10:58:25] Production.INFO: ProcessCDR(1,14216459,1,1,2)
[2025-01-10 10:58:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216459,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:58:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216459,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:58:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216459,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:58:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216459,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:58:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216459', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:58:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216459', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:58:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:58:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:58:30] Production.INFO: ==8147== Releasing lock...
[2025-01-10 10:58:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 10:58:30] Production.INFO: 55.5 MB #Memory Used#
[2025-01-10 15:59:02] Production.INFO: ==8206== Lock acquired, processing the job...
[2025-01-10 15:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 15:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 15:59:02] Production.INFO: neon service started
[2025-01-10 15:59:02] Production.INFO: neon service started
[2025-01-10 15:59:02] Production.INFO: ==8206== Releasing lock...
[2025-01-10 15:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 15:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 10:59:02] Production.INFO: ==8208== Lock acquired, processing the job...
[2025-01-10 10:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 15:59:02] Production.INFO: ==8210== Lock acquired, processing the job...
[2025-01-10 15:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:59:02] Production.INFO: ==8210== Releasing lock...
[2025-01-10 15:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 15:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 10:59:03] Production.INFO: ==8208== Releasing lock...
[2025-01-10 10:59:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 10:59:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 10:59:03] Production.INFO: ==8213== Lock acquired, processing the job...
[2025-01-10 10:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 10:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 10:59:03] Production.INFO: ==8217== Lock acquired, processing the job...
[2025-01-10 10:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 10:59:03] Production.INFO: ==8223== Lock acquired, processing the job...
[2025-01-10 10:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 10:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 10:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 10:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 10:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 10:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:59:04] Production.INFO: count ==21
[2025-01-10 10:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 10:59:04] Production.INFO: count ==21
[2025-01-10 10:59:04] Production.INFO: ==8215== Lock acquired, processing the job...
[2025-01-10 10:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 10:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216461') start
[2025-01-10 10:59:04] Production.INFO: ==8219== Lock acquired, processing the job...
[2025-01-10 10:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 10:59:04] Production.INFO: ==8221== Lock acquired, processing the job...
[2025-01-10 10:59:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 10:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216461') end
[2025-01-10 10:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 10:59:04] Production.INFO: 1
[2025-01-10 10:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 10:59:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 10:59:04] Production.INFO: Account Balance Start.
[2025-01-10 10:59:04] Production.INFO: CreateAllLog Start
[2025-01-10 10:59:04] Production.INFO: 117
[2025-01-10 10:59:04] Production.INFO: ==8223== Releasing lock...
[2025-01-10 10:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 10:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 10:59:04] Production.INFO: Date 2025-01-08
[2025-01-10 10:59:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:59:04] Production.INFO: Date 2025-01-09
[2025-01-10 10:59:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:59:04] Production.INFO: Date 2025-01-10
[2025-01-10 10:59:04] Production.INFO: Reseller ==> 0
[2025-01-10 10:59:04] Production.ERROR: done
[2025-01-10 10:59:04] Production.INFO: Total Charge 0
[2025-01-10 10:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 10:59:04] Production.INFO: ==8215== Releasing lock...
[2025-01-10 10:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 10:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 10:59:04] Production.INFO: CreateAllLog End
[2025-01-10 10:59:04] Production.ERROR: done
[2025-01-10 10:59:04] Production.INFO: Account Balance End.
[2025-01-10 10:59:04] Production.ERROR: CronJobId end 12
[2025-01-10 10:59:04] Production.INFO: ==8219== Releasing lock...
[2025-01-10 10:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 10:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 10:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 07:59:05
[end_date_ymd] => 2025-01-10 10:59:05
[RateCDR] => 1
)
[2025-01-10 10:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 07:59:05' and `end` < '2025-01-10 10:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 10:59:12] Production.ERROR: CronJobId end10
[2025-01-10 10:59:12] Production.INFO: ==8217== Releasing lock...
[2025-01-10 10:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 10:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 10:59:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 10:59:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 10:59:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 10:59:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 10:59:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 10:59:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 10:59:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 10:59:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 10:59:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 10:59:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 10:59:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 10:59:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 10:59:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 10:59:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 10:59:13] Production.INFO: call_cost start
[2025-01-10 10:59:13] Production.INFO: call_cost end
[2025-01-10 10:59:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 10:59:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 10:59:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 10:59:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 10:59:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 10:59:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 10:59:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 10:59:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 10:59:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 10:59:13] Production.INFO: ==8213== Releasing lock...
[2025-01-10 10:59:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 10:59:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 10:59:26] Production.INFO: count ==3495
[2025-01-10 10:59:27] Production.ERROR: pbx CDR StartTime 2025-01-10 07:59:05 - End Time 2025-01-10 10:59:05
[2025-01-10 10:59:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 10:59:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216464', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:59:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216464', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:59:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216464', 'tblTempVendorCDR_20' ) start
[2025-01-10 10:59:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216464', 'tblTempVendorCDR_20' ) end
[2025-01-10 10:59:27] Production.INFO: ProcessCDR(1,14216464,1,1,2)
[2025-01-10 10:59:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216464,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:59:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216464,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 10:59:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216464,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:59:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216464,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 10:59:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216464', 'tblTempUsageDetail_20' ) start
[2025-01-10 10:59:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216464', 'tblTempUsageDetail_20' ) end
[2025-01-10 10:59:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 10:59:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 10:59:32] Production.INFO: ==8221== Releasing lock...
[2025-01-10 10:59:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 10:59:32] Production.INFO: 55.5 MB #Memory Used#
[2025-01-10 16:00:01] Production.INFO: ==8278== Lock acquired, processing the job...
[2025-01-10 16:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 16:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 16:00:01] Production.INFO: neon service started
[2025-01-10 16:00:01] Production.INFO: neon service started
[2025-01-10 16:00:01] Production.INFO: ==8278== Releasing lock...
[2025-01-10 16:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 16:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:00:02] Production.INFO: ==8280== Lock acquired, processing the job...
[2025-01-10 11:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 11:00:02] Production.INFO: ==8280== Releasing lock...
[2025-01-10 11:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 11:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 16:00:02] Production.INFO: ==8282== Lock acquired, processing the job...
[2025-01-10 16:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 16:00:02] Production.INFO: ==8282== Releasing lock...
[2025-01-10 16:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 16:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 11:00:03] Production.INFO: ==8289== Lock acquired, processing the job...
[2025-01-10 11:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 11:00:03] Production.INFO: ==8293== Lock acquired, processing the job...
[2025-01-10 11:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 11:00:03] Production.INFO: Account Balance Start.
[2025-01-10 11:00:03] Production.INFO: CreateAllLog Start
[2025-01-10 11:00:03] Production.INFO: 117
[2025-01-10 11:00:03] Production.INFO: ==8299== Lock acquired, processing the job...
[2025-01-10 11:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 11:00:03] Production.INFO: Date 2025-01-08
[2025-01-10 11:00:03] Production.INFO: ==8287== Lock acquired, processing the job...
[2025-01-10 11:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 11:00:03] Production.INFO: ==8285== Lock acquired, processing the job...
[2025-01-10 11:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 11:00:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:00:03] Production.INFO: Date 2025-01-09
[2025-01-10 11:00:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:00:03] Production.INFO: ==8291== Lock acquired, processing the job...
[2025-01-10 11:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 11:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 11:00:03] Production.INFO: Date 2025-01-10
[2025-01-10 11:00:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 11:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 11:00:03] Production.ERROR: CronJob PID - 8287
[2025-01-10 11:00:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-10 11:00:03] Production.ERROR: CronJob ID - 5
[2025-01-10 11:00:03] Production.ERROR: CronJob Last Run Time 2025-01-10 11:00:00
[2025-01-10 11:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 11:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 11:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 11:00:03] Production.ERROR: CronJob PID - 8291
[2025-01-10 11:00:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-10 11:00:03] Production.ERROR: CronJob ID - 10
[2025-01-10 11:00:03] Production.ERROR: CronJob Last Run Time 2025-01-10 11:00:00
[2025-01-10 11:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 11:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 11:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 11:00:03] Production.ERROR: CronJob PID - 8293
[2025-01-10 11:00:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-10 11:00:03] Production.ERROR: CronJob ID - 12
[2025-01-10 11:00:03] Production.ERROR: CronJob Last Run Time 2025-01-10 11:00:00
[2025-01-10 11:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 11:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 11:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 11:00:03] Production.ERROR: CronJob PID - 8299
[2025-01-10 11:00:03] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-10 11:00:03] Production.ERROR: CronJob ID - 19
[2025-01-10 11:00:03] Production.ERROR: CronJob Last Run Time 2025-01-10 11:00:00
[2025-01-10 11:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 11:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 11:00:03] Production.INFO: ==8289== Releasing lock...
[2025-01-10 11:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 11:00:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 11:00:03] Production.INFO: ==8295== Lock acquired, processing the job...
[2025-01-10 11:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 11:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 11:00:03] Production.INFO: ==8285== Releasing lock...
[2025-01-10 11:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 11:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 11:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 11:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 11:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 11:00:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 11:00:03] Production.INFO: Total Charge 0
[2025-01-10 11:00:03] Production.INFO: CreateAllLog End
[2025-01-10 11:00:03] Production.INFO: count ==21
[2025-01-10 11:00:03] Production.INFO: ==8297== Lock acquired, processing the job...
[2025-01-10 11:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 11:00:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:00:03] Production.INFO: count ==21
[2025-01-10 11:00:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216468') start
[2025-01-10 11:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216468') end
[2025-01-10 11:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 11:00:04] Production.INFO: 1
[2025-01-10 11:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 11:00:04] Production.INFO: ==8299== Releasing lock...
[2025-01-10 11:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 11:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 11:00:04] Production.INFO: Account Balance End.
[2025-01-10 11:00:04] Production.ERROR: CronJobId end 12
[2025-01-10 11:00:04] Production.INFO: ==8293== Releasing lock...
[2025-01-10 11:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 11:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 11:00:04] Production.ERROR: done
[2025-01-10 11:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 11:00:04] Production.ERROR: done
[2025-01-10 11:00:04] Production.ERROR: done
[2025-01-10 11:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 11:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14216469', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 11:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 08:00:05
[end_date_ymd] => 2025-01-10 11:00:05
[RateCDR] => 1
)
[2025-01-10 11:00:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 08:00:05' and `end` < '2025-01-10 11:00:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 11:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14216469', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 11:00:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 11:00:08] Production.INFO: ProcessCDR(1,14216469,1,1,2)
[2025-01-10 11:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14216469,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14216469,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:00:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:00:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:00:08] Production.INFO: ==8297== Releasing lock...
[2025-01-10 11:00:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 11:00:08] Production.INFO: 26 MB #Memory Used#
[2025-01-10 11:00:12] Production.ERROR: CronJobId end10
[2025-01-10 11:00:12] Production.INFO: ==8291== Releasing lock...
[2025-01-10 11:00:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 11:00:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 11:00:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 11:00:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 11:00:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 11:00:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 11:00:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 11:00:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 11:00:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 11:00:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 11:00:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 11:00:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 11:00:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 11:00:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 11:00:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 11:00:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 11:00:14] Production.INFO: call_cost start
[2025-01-10 11:00:14] Production.INFO: call_cost end
[2025-01-10 11:00:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 11:00:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 11:00:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 11:00:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 11:00:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 11:00:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 11:00:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 11:00:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 11:00:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 11:00:15] Production.INFO: ==8287== Releasing lock...
[2025-01-10 11:00:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 11:00:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 11:00:28] Production.INFO: count ==3523
[2025-01-10 11:00:29] Production.ERROR: pbx CDR StartTime 2025-01-10 08:00:05 - End Time 2025-01-10 11:00:05
[2025-01-10 11:00:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 11:00:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216470', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:00:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216470', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:00:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216470', 'tblTempVendorCDR_20' ) start
[2025-01-10 11:00:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216470', 'tblTempVendorCDR_20' ) end
[2025-01-10 11:00:29] Production.INFO: ProcessCDR(1,14216470,1,1,2)
[2025-01-10 11:00:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216470,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:00:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216470,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:00:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216470,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:00:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216470,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:00:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216470', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:00:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216470', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:00:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:00:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:00:34] Production.INFO: ==8295== Releasing lock...
[2025-01-10 11:00:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 11:00:34] Production.INFO: 55.25 MB #Memory Used#
[2025-01-10 16:01:02] Production.INFO: ==8440== Lock acquired, processing the job...
[2025-01-10 16:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 16:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 16:01:02] Production.INFO: neon service started
[2025-01-10 16:01:02] Production.INFO: neon service started
[2025-01-10 16:01:02] Production.INFO: ==8440== Releasing lock...
[2025-01-10 16:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 16:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:01:02] Production.INFO: ==8449== Lock acquired, processing the job...
[2025-01-10 11:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 16:01:02] Production.INFO: ==8451== Lock acquired, processing the job...
[2025-01-10 16:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 16:01:02] Production.INFO: ==8451== Releasing lock...
[2025-01-10 16:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 16:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 11:01:02] Production.INFO: ==8449== Releasing lock...
[2025-01-10 11:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 11:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 11:01:03] Production.INFO: ==8455== Lock acquired, processing the job...
[2025-01-10 11:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 11:01:03] Production.INFO: ==8464== Lock acquired, processing the job...
[2025-01-10 11:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 11:01:03] Production.INFO: ==8453== Lock acquired, processing the job...
[2025-01-10 11:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 11:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 11:01:03] Production.INFO: ==8457== Lock acquired, processing the job...
[2025-01-10 11:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 11:01:03] Production.INFO: ==8455== Releasing lock...
[2025-01-10 11:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 11:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 11:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:01:04] Production.INFO: ==8459== Lock acquired, processing the job...
[2025-01-10 11:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 11:01:04] Production.INFO: ==8462== Lock acquired, processing the job...
[2025-01-10 11:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 11:01:04] Production.INFO: count ==21
[2025-01-10 11:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 11:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 11:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 11:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 11:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:01:04] Production.INFO: count ==21
[2025-01-10 11:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216473') start
[2025-01-10 11:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:01:04] Production.INFO: Account Balance Start.
[2025-01-10 11:01:04] Production.INFO: CreateAllLog Start
[2025-01-10 11:01:04] Production.INFO: 117
[2025-01-10 11:01:04] Production.INFO: Date 2025-01-08
[2025-01-10 11:01:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:01:04] Production.INFO: Date 2025-01-09
[2025-01-10 11:01:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:01:04] Production.INFO: Date 2025-01-10
[2025-01-10 11:01:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216473') end
[2025-01-10 11:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 11:01:04] Production.INFO: 1
[2025-01-10 11:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 11:01:04] Production.INFO: Total Charge 0
[2025-01-10 11:01:04] Production.INFO: ==8464== Releasing lock...
[2025-01-10 11:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 11:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 11:01:04] Production.INFO: CreateAllLog End
[2025-01-10 11:01:04] Production.ERROR: done
[2025-01-10 11:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 11:01:04] Production.INFO: Account Balance End.
[2025-01-10 11:01:04] Production.ERROR: done
[2025-01-10 11:01:04] Production.ERROR: CronJobId end 12
[2025-01-10 11:01:04] Production.INFO: ==8459== Releasing lock...
[2025-01-10 11:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 11:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 11:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 08:01:05
[end_date_ymd] => 2025-01-10 11:01:05
[RateCDR] => 1
)
[2025-01-10 11:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 08:01:05' and `end` < '2025-01-10 11:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 11:01:12] Production.ERROR: CronJobId end10
[2025-01-10 11:01:12] Production.INFO: ==8457== Releasing lock...
[2025-01-10 11:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 11:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 11:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 11:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 11:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 11:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 11:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 11:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 11:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 11:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 11:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 11:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 11:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 11:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 11:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 11:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 11:01:13] Production.INFO: call_cost start
[2025-01-10 11:01:13] Production.INFO: call_cost end
[2025-01-10 11:01:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 11:01:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 11:01:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 11:01:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 11:01:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 11:01:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 11:01:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 11:01:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 11:01:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 11:01:14] Production.INFO: ==8453== Releasing lock...
[2025-01-10 11:01:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 11:01:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 11:01:31] Production.INFO: count ==3633
[2025-01-10 11:01:33] Production.ERROR: pbx CDR StartTime 2025-01-10 08:01:05 - End Time 2025-01-10 11:01:05
[2025-01-10 11:01:33] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 11:01:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216475', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:01:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216475', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:01:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216475', 'tblTempVendorCDR_20' ) start
[2025-01-10 11:01:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216475', 'tblTempVendorCDR_20' ) end
[2025-01-10 11:01:33] Production.INFO: ProcessCDR(1,14216475,1,1,2)
[2025-01-10 11:01:33] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216475,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:01:35] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216475,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:01:35] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216475,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:01:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216475,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:01:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216475', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:01:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216475', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:01:37] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:01:38] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:01:38] Production.INFO: ==8462== Releasing lock...
[2025-01-10 11:01:38] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 11:01:38] Production.INFO: 55 MB #Memory Used#
[2025-01-10 16:02:01] Production.INFO: ==8521== Lock acquired, processing the job...
[2025-01-10 16:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 16:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 16:02:01] Production.INFO: neon service started
[2025-01-10 16:02:01] Production.INFO: neon service started
[2025-01-10 16:02:01] Production.INFO: ==8521== Releasing lock...
[2025-01-10 16:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 16:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:02:02] Production.INFO: ==8523== Lock acquired, processing the job...
[2025-01-10 11:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 11:02:02] Production.INFO: ==8523== Releasing lock...
[2025-01-10 11:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 11:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 16:02:02] Production.INFO: ==8525== Lock acquired, processing the job...
[2025-01-10 16:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 16:02:02] Production.INFO: ==8525== Releasing lock...
[2025-01-10 16:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 16:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 11:02:03] Production.INFO: ==8531== Lock acquired, processing the job...
[2025-01-10 11:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 11:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 11:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 11:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 11:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 11:02:03] Production.INFO: ==8536== Lock acquired, processing the job...
[2025-01-10 11:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 11:02:03] Production.INFO: ==8538== Lock acquired, processing the job...
[2025-01-10 11:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 11:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:02:03] Production.INFO: ==8527== Lock acquired, processing the job...
[2025-01-10 11:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 11:02:03] Production.INFO: count ==21
[2025-01-10 11:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:02:03] Production.INFO: count ==21
[2025-01-10 11:02:03] Production.INFO: ==8529== Lock acquired, processing the job...
[2025-01-10 11:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 11:02:03] Production.INFO: ==8534== Lock acquired, processing the job...
[2025-01-10 11:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 11:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216476') start
[2025-01-10 11:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 11:02:03] Production.ERROR: done
[2025-01-10 11:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216476') end
[2025-01-10 11:02:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 11:02:03] Production.INFO: 1
[2025-01-10 11:02:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 11:02:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 11:02:03] Production.INFO: Account Balance Start.
[2025-01-10 11:02:03] Production.INFO: CreateAllLog Start
[2025-01-10 11:02:03] Production.INFO: 117
[2025-01-10 11:02:03] Production.INFO: Date 2025-01-08
[2025-01-10 11:02:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:02:03] Production.ERROR: done
[2025-01-10 11:02:03] Production.INFO: ==8538== Releasing lock...
[2025-01-10 11:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 11:02:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 11:02:03] Production.INFO: Date 2025-01-09
[2025-01-10 11:02:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:02:03] Production.INFO: Date 2025-01-10
[2025-01-10 11:02:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:02:03] Production.INFO: Total Charge 0
[2025-01-10 11:02:03] Production.INFO: CreateAllLog End
[2025-01-10 11:02:04] Production.INFO: Account Balance End.
[2025-01-10 11:02:04] Production.INFO: ==8529== Releasing lock...
[2025-01-10 11:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 11:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 11:02:04] Production.ERROR: CronJobId end 12
[2025-01-10 11:02:04] Production.INFO: ==8534== Releasing lock...
[2025-01-10 11:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 11:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 11:02:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 08:02:04
[end_date_ymd] => 2025-01-10 11:02:04
[RateCDR] => 1
)
[2025-01-10 11:02:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 08:02:04' and `end` < '2025-01-10 11:02:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 11:02:11] Production.ERROR: CronJobId end10
[2025-01-10 11:02:11] Production.INFO: ==8531== Releasing lock...
[2025-01-10 11:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 11:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 11:02:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 11:02:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 11:02:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 11:02:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 11:02:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 11:02:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 11:02:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 11:02:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 11:02:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 11:02:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 11:02:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 11:02:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 11:02:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 11:02:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 11:02:14] Production.INFO: call_cost start
[2025-01-10 11:02:14] Production.INFO: call_cost end
[2025-01-10 11:02:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 11:02:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 11:02:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 11:02:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 11:02:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 11:02:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 11:02:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 11:02:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 11:02:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 11:02:15] Production.INFO: ==8527== Releasing lock...
[2025-01-10 11:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 11:02:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 11:02:28] Production.INFO: count ==3641
[2025-01-10 11:02:29] Production.ERROR: pbx CDR StartTime 2025-01-10 08:02:04 - End Time 2025-01-10 11:02:04
[2025-01-10 11:02:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 11:02:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216480', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:02:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216480', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:02:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216480', 'tblTempVendorCDR_20' ) start
[2025-01-10 11:02:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216480', 'tblTempVendorCDR_20' ) end
[2025-01-10 11:02:29] Production.INFO: ProcessCDR(1,14216480,1,1,2)
[2025-01-10 11:02:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216480,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:02:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216480,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:02:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216480,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:02:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216480,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:02:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216480', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:02:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216480', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:02:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:02:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:02:34] Production.INFO: ==8536== Releasing lock...
[2025-01-10 11:02:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 11:02:34] Production.INFO: 55.75 MB #Memory Used#
[2025-01-10 16:03:02] Production.INFO: ==8591== Lock acquired, processing the job...
[2025-01-10 16:03:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 16:03:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 16:03:02] Production.INFO: neon service started
[2025-01-10 16:03:02] Production.INFO: neon service started
[2025-01-10 16:03:02] Production.INFO: ==8591== Releasing lock...
[2025-01-10 16:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 16:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:03:02] Production.INFO: ==8593== Lock acquired, processing the job...
[2025-01-10 11:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 16:03:02] Production.INFO: ==8595== Lock acquired, processing the job...
[2025-01-10 16:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 16:03:02] Production.INFO: ==8595== Releasing lock...
[2025-01-10 16:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 16:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 11:03:02] Production.INFO: ==8593== Releasing lock...
[2025-01-10 11:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 11:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 11:03:03] Production.INFO: ==8598== Lock acquired, processing the job...
[2025-01-10 11:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 11:03:03] Production.INFO: ==8602== Lock acquired, processing the job...
[2025-01-10 11:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 11:03:03] Production.INFO: ==8604== Lock acquired, processing the job...
[2025-01-10 11:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 11:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 11:03:03] Production.INFO: ==8600== Lock acquired, processing the job...
[2025-01-10 11:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 11:03:03] Production.INFO: Account Balance Start.
[2025-01-10 11:03:03] Production.INFO: CreateAllLog Start
[2025-01-10 11:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 11:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 11:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 11:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 11:03:03] Production.INFO: 117
[2025-01-10 11:03:03] Production.INFO: Date 2025-01-08
[2025-01-10 11:03:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:03:03] Production.INFO: Date 2025-01-09
[2025-01-10 11:03:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:03:03] Production.INFO: ==8606== Lock acquired, processing the job...
[2025-01-10 11:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 11:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:03:04] Production.INFO: Date 2025-01-10
[2025-01-10 11:03:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:03:04] Production.INFO: ==8608== Lock acquired, processing the job...
[2025-01-10 11:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 11:03:04] Production.INFO: Total Charge 0
[2025-01-10 11:03:04] Production.INFO: CreateAllLog End
[2025-01-10 11:03:04] Production.INFO: ==8600== Releasing lock...
[2025-01-10 11:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 11:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 11:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:03:04] Production.INFO: count ==21
[2025-01-10 11:03:04] Production.ERROR: done
[2025-01-10 11:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:03:04] Production.INFO: count ==21
[2025-01-10 11:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 11:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216484') start
[2025-01-10 11:03:04] Production.INFO: Account Balance End.
[2025-01-10 11:03:04] Production.ERROR: done
[2025-01-10 11:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216484') end
[2025-01-10 11:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 11:03:04] Production.INFO: 1
[2025-01-10 11:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 11:03:04] Production.ERROR: CronJobId end 12
[2025-01-10 11:03:04] Production.INFO: ==8604== Releasing lock...
[2025-01-10 11:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 11:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 11:03:04] Production.INFO: ==8608== Releasing lock...
[2025-01-10 11:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 11:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 11:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 08:03:05
[end_date_ymd] => 2025-01-10 11:03:05
[RateCDR] => 1
)
[2025-01-10 11:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 08:03:05' and `end` < '2025-01-10 11:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 11:03:11] Production.ERROR: CronJobId end10
[2025-01-10 11:03:11] Production.INFO: ==8602== Releasing lock...
[2025-01-10 11:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 11:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 11:03:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 11:03:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 11:03:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 11:03:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 11:03:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 11:03:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 11:03:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 11:03:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 11:03:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 11:03:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 11:03:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 11:03:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 11:03:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 11:03:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 11:03:13] Production.INFO: call_cost start
[2025-01-10 11:03:13] Production.INFO: call_cost end
[2025-01-10 11:03:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 11:03:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 11:03:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 11:03:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 11:03:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 11:03:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 11:03:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 11:03:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 11:03:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 11:03:14] Production.INFO: ==8598== Releasing lock...
[2025-01-10 11:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 11:03:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 11:03:26] Production.INFO: count ==3651
[2025-01-10 11:03:28] Production.ERROR: pbx CDR StartTime 2025-01-10 08:03:05 - End Time 2025-01-10 11:03:05
[2025-01-10 11:03:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 11:03:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216485', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:03:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216485', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:03:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216485', 'tblTempVendorCDR_20' ) start
[2025-01-10 11:03:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216485', 'tblTempVendorCDR_20' ) end
[2025-01-10 11:03:28] Production.INFO: ProcessCDR(1,14216485,1,1,2)
[2025-01-10 11:03:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216485,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:03:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216485,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:03:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216485,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:03:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216485,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:03:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216485', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:03:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216485', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:03:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:03:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:03:33] Production.INFO: ==8606== Releasing lock...
[2025-01-10 11:03:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 11:03:33] Production.INFO: 55.5 MB #Memory Used#
[2025-01-10 16:04:01] Production.INFO: ==8661== Lock acquired, processing the job...
[2025-01-10 16:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 16:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 16:04:01] Production.INFO: neon service started
[2025-01-10 16:04:01] Production.INFO: neon service started
[2025-01-10 16:04:01] Production.INFO: ==8661== Releasing lock...
[2025-01-10 16:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 16:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 16:04:02] Production.INFO: ==8665== Lock acquired, processing the job...
[2025-01-10 16:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 16:04:02] Production.INFO: ==8665== Releasing lock...
[2025-01-10 16:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 16:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 11:04:02] Production.INFO: ==8663== Lock acquired, processing the job...
[2025-01-10 11:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 11:04:02] Production.INFO: ==8663== Releasing lock...
[2025-01-10 11:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 11:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 11:04:03] Production.INFO: ==8667== Lock acquired, processing the job...
[2025-01-10 11:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 11:04:03] Production.INFO: ==8669== Lock acquired, processing the job...
[2025-01-10 11:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 11:04:03] Production.INFO: ==8673== Lock acquired, processing the job...
[2025-01-10 11:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 11:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 11:04:03] Production.INFO: ==8671== Lock acquired, processing the job...
[2025-01-10 11:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 11:04:03] Production.INFO: ==8676== Lock acquired, processing the job...
[2025-01-10 11:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 11:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 11:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 11:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 11:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 11:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:04:03] Production.INFO: ==8678== Lock acquired, processing the job...
[2025-01-10 11:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 11:04:03] Production.INFO: Account Balance Start.
[2025-01-10 11:04:03] Production.INFO: CreateAllLog Start
[2025-01-10 11:04:03] Production.INFO: 117
[2025-01-10 11:04:03] Production.INFO: Date 2025-01-08
[2025-01-10 11:04:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:04:03] Production.INFO: count ==21
[2025-01-10 11:04:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:04:03] Production.INFO: count ==21
[2025-01-10 11:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216489') start
[2025-01-10 11:04:03] Production.INFO: Date 2025-01-09
[2025-01-10 11:04:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:04:04] Production.INFO: ==8669== Releasing lock...
[2025-01-10 11:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 11:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 11:04:04] Production.ERROR: done
[2025-01-10 11:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 11:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216489') end
[2025-01-10 11:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 11:04:04] Production.INFO: 1
[2025-01-10 11:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 11:04:04] Production.INFO: ==8678== Releasing lock...
[2025-01-10 11:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 11:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 11:04:04] Production.INFO: Date 2025-01-10
[2025-01-10 11:04:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:04:04] Production.ERROR: done
[2025-01-10 11:04:04] Production.INFO: Total Charge 0
[2025-01-10 11:04:04] Production.INFO: CreateAllLog End
[2025-01-10 11:04:04] Production.INFO: Account Balance End.
[2025-01-10 11:04:04] Production.ERROR: CronJobId end 12
[2025-01-10 11:04:04] Production.INFO: ==8673== Releasing lock...
[2025-01-10 11:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 11:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 11:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 08:04:05
[end_date_ymd] => 2025-01-10 11:04:05
[RateCDR] => 1
)
[2025-01-10 11:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 08:04:05' and `end` < '2025-01-10 11:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 11:04:10] Production.ERROR: CronJobId end10
[2025-01-10 11:04:10] Production.INFO: ==8671== Releasing lock...
[2025-01-10 11:04:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 11:04:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 11:04:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 11:04:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 11:04:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 11:04:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 11:04:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 11:04:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 11:04:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 11:04:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 11:04:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 11:04:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 11:04:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 11:04:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 11:04:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 11:04:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 11:04:13] Production.INFO: call_cost start
[2025-01-10 11:04:13] Production.INFO: call_cost end
[2025-01-10 11:04:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 11:04:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 11:04:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 11:04:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 11:04:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 11:04:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 11:04:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 11:04:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 11:04:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 11:04:14] Production.INFO: ==8667== Releasing lock...
[2025-01-10 11:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 11:04:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 11:04:24] Production.INFO: count ==3651
[2025-01-10 11:04:26] Production.ERROR: pbx CDR StartTime 2025-01-10 08:04:05 - End Time 2025-01-10 11:04:05
[2025-01-10 11:04:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 11:04:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216490', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:04:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216490', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:04:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216490', 'tblTempVendorCDR_20' ) start
[2025-01-10 11:04:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216490', 'tblTempVendorCDR_20' ) end
[2025-01-10 11:04:26] Production.INFO: ProcessCDR(1,14216490,1,1,2)
[2025-01-10 11:04:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216490,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:04:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216490,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:04:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216490,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:04:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216490,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:04:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216490', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:04:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216490', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:04:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:04:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:04:30] Production.INFO: ==8676== Releasing lock...
[2025-01-10 11:04:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 11:04:30] Production.INFO: 55.25 MB #Memory Used#
[2025-01-10 16:05:02] Production.INFO: ==8811== Lock acquired, processing the job...
[2025-01-10 16:05:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 16:05:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 16:05:02] Production.INFO: neon service started
[2025-01-10 16:05:02] Production.INFO: neon service started
[2025-01-10 16:05:02] Production.INFO: ==8811== Releasing lock...
[2025-01-10 16:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 16:05:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:05:02] Production.INFO: ==8813== Lock acquired, processing the job...
[2025-01-10 11:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 11:05:02] Production.INFO: ==8813== Releasing lock...
[2025-01-10 11:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 11:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 16:05:02] Production.INFO: ==8815== Lock acquired, processing the job...
[2025-01-10 16:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 16:05:02] Production.INFO: ==8815== Releasing lock...
[2025-01-10 16:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 16:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 11:05:03] Production.INFO: ==8822== Lock acquired, processing the job...
[2025-01-10 11:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 11:05:03] Production.INFO: ==8828== Lock acquired, processing the job...
[2025-01-10 11:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 11:05:03] Production.INFO: ==8820== Lock acquired, processing the job...
[2025-01-10 11:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 11:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:05:03] Production.INFO: ==8818== Lock acquired, processing the job...
[2025-01-10 11:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 11:05:03] Production.INFO: count ==21
[2025-01-10 11:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 11:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 11:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 11:05:03] Production.INFO: count ==21
[2025-01-10 11:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 11:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216491') start
[2025-01-10 11:05:03] Production.INFO: ==8824== Lock acquired, processing the job...
[2025-01-10 11:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 11:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 11:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216491') end
[2025-01-10 11:05:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 11:05:03] Production.INFO: 1
[2025-01-10 11:05:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 11:05:03] Production.INFO: ==8826== Lock acquired, processing the job...
[2025-01-10 11:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 11:05:04] Production.INFO: ==8828== Releasing lock...
[2025-01-10 11:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 11:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 11:05:04] Production.INFO: ==8820== Releasing lock...
[2025-01-10 11:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 11:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 11:05:04] Production.INFO: Account Balance Start.
[2025-01-10 11:05:04] Production.INFO: CreateAllLog Start
[2025-01-10 11:05:04] Production.INFO: 117
[2025-01-10 11:05:04] Production.INFO: Date 2025-01-08
[2025-01-10 11:05:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:05:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:05:04] Production.INFO: Date 2025-01-09
[2025-01-10 11:05:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:05:04] Production.INFO: Date 2025-01-10
[2025-01-10 11:05:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:05:04] Production.INFO: Total Charge 0
[2025-01-10 11:05:04] Production.INFO: CreateAllLog End
[2025-01-10 11:05:04] Production.INFO: Account Balance End.
[2025-01-10 11:05:04] Production.ERROR: done
[2025-01-10 11:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 11:05:04] Production.ERROR: CronJobId end 12
[2025-01-10 11:05:04] Production.INFO: ==8824== Releasing lock...
[2025-01-10 11:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 11:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 11:05:04] Production.ERROR: done
[2025-01-10 11:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 08:05:05
[end_date_ymd] => 2025-01-10 11:05:05
[RateCDR] => 1
)
[2025-01-10 11:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 08:05:05' and `end` < '2025-01-10 11:05:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 11:05:11] Production.ERROR: CronJobId end10
[2025-01-10 11:05:11] Production.INFO: ==8822== Releasing lock...
[2025-01-10 11:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 11:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 11:05:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 11:05:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 11:05:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 11:05:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 11:05:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 11:05:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 11:05:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 11:05:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 11:05:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 11:05:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 11:05:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 11:05:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 11:05:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 11:05:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 11:05:13] Production.INFO: call_cost start
[2025-01-10 11:05:13] Production.INFO: call_cost end
[2025-01-10 11:05:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 11:05:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 11:05:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 11:05:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 11:05:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 11:05:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 11:05:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 11:05:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 11:05:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 11:05:14] Production.INFO: ==8818== Releasing lock...
[2025-01-10 11:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 11:05:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 11:05:21] Production.INFO: count ==3669
[2025-01-10 11:05:22] Production.ERROR: pbx CDR StartTime 2025-01-10 08:05:05 - End Time 2025-01-10 11:05:05
[2025-01-10 11:05:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 11:05:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216495', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:05:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216495', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:05:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216495', 'tblTempVendorCDR_20' ) start
[2025-01-10 11:05:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216495', 'tblTempVendorCDR_20' ) end
[2025-01-10 11:05:22] Production.INFO: ProcessCDR(1,14216495,1,1,2)
[2025-01-10 11:05:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216495,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:05:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216495,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:05:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216495,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:05:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216495,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:05:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216495', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:05:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216495', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:05:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:05:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:05:26] Production.INFO: ==8826== Releasing lock...
[2025-01-10 11:05:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 11:05:26] Production.INFO: 55.5 MB #Memory Used#
[2025-01-10 16:06:01] Production.INFO: ==8881== Lock acquired, processing the job...
[2025-01-10 16:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 16:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 16:06:01] Production.INFO: neon service started
[2025-01-10 16:06:01] Production.INFO: neon service started
[2025-01-10 16:06:01] Production.INFO: ==8881== Releasing lock...
[2025-01-10 16:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 16:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:06:01] Production.INFO: ==8883== Lock acquired, processing the job...
[2025-01-10 11:06:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 11:06:02] Production.INFO: ==8883== Releasing lock...
[2025-01-10 11:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 11:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 16:06:02] Production.INFO: ==8885== Lock acquired, processing the job...
[2025-01-10 16:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 16:06:02] Production.INFO: ==8885== Releasing lock...
[2025-01-10 16:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 16:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 11:06:02] Production.INFO: ==8892== Lock acquired, processing the job...
[2025-01-10 11:06:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 11:06:03] Production.INFO: ==8898== Lock acquired, processing the job...
[2025-01-10 11:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 11:06:03] Production.INFO: ==8887== Lock acquired, processing the job...
[2025-01-10 11:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 11:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 11:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 11:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 11:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 11:06:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:06:03] Production.INFO: count ==21
[2025-01-10 11:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 11:06:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:06:03] Production.INFO: count ==21
[2025-01-10 11:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216496') start
[2025-01-10 11:06:03] Production.INFO: ==8889== Lock acquired, processing the job...
[2025-01-10 11:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 11:06:03] Production.INFO: ==8894== Lock acquired, processing the job...
[2025-01-10 11:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 11:06:03] Production.INFO: ==8896== Lock acquired, processing the job...
[2025-01-10 11:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 11:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216496') end
[2025-01-10 11:06:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 11:06:03] Production.INFO: 1
[2025-01-10 11:06:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 11:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:06:03] Production.INFO: Account Balance Start.
[2025-01-10 11:06:03] Production.INFO: CreateAllLog Start
[2025-01-10 11:06:03] Production.INFO: 117
[2025-01-10 11:06:03] Production.INFO: Date 2025-01-08
[2025-01-10 11:06:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:06:03] Production.INFO: Date 2025-01-09
[2025-01-10 11:06:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:06:03] Production.INFO: ==8898== Releasing lock...
[2025-01-10 11:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 11:06:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 11:06:03] Production.INFO: Date 2025-01-10
[2025-01-10 11:06:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:06:03] Production.INFO: Total Charge 0
[2025-01-10 11:06:03] Production.INFO: ==8889== Releasing lock...
[2025-01-10 11:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 11:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 11:06:03] Production.INFO: CreateAllLog End
[2025-01-10 11:06:03] Production.ERROR: done
[2025-01-10 11:06:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 11:06:03] Production.INFO: Account Balance End.
[2025-01-10 11:06:03] Production.ERROR: CronJobId end 12
[2025-01-10 11:06:03] Production.INFO: ==8894== Releasing lock...
[2025-01-10 11:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 11:06:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 11:06:04] Production.ERROR: done
[2025-01-10 11:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 08:06:05
[end_date_ymd] => 2025-01-10 11:06:05
[RateCDR] => 1
)
[2025-01-10 11:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 08:06:05' and `end` < '2025-01-10 11:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 11:06:10] Production.ERROR: CronJobId end10
[2025-01-10 11:06:10] Production.INFO: ==8892== Releasing lock...
[2025-01-10 11:06:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 11:06:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 11:06:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 11:06:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 11:06:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 11:06:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 11:06:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 11:06:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 11:06:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 11:06:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 11:06:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 11:06:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 11:06:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 11:06:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 11:06:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 11:06:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 11:06:12] Production.INFO: call_cost start
[2025-01-10 11:06:12] Production.INFO: call_cost end
[2025-01-10 11:06:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 11:06:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 11:06:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 11:06:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 11:06:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 11:06:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 11:06:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 11:06:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 11:06:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 11:06:13] Production.INFO: ==8887== Releasing lock...
[2025-01-10 11:06:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 11:06:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 11:06:20] Production.INFO: count ==3694
[2025-01-10 11:06:21] Production.ERROR: pbx CDR StartTime 2025-01-10 08:06:05 - End Time 2025-01-10 11:06:05
[2025-01-10 11:06:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 11:06:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216500', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:06:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216500', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:06:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216500', 'tblTempVendorCDR_20' ) start
[2025-01-10 11:06:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216500', 'tblTempVendorCDR_20' ) end
[2025-01-10 11:06:21] Production.INFO: ProcessCDR(1,14216500,1,1,2)
[2025-01-10 11:06:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216500,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:06:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216500,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:06:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216500,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:06:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216500,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:06:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216500', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:06:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216500', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:06:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:06:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:06:26] Production.INFO: ==8896== Releasing lock...
[2025-01-10 11:06:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 11:06:26] Production.INFO: 55.75 MB #Memory Used#
[2025-01-10 16:07:01] Production.INFO: ==8954== Lock acquired, processing the job...
[2025-01-10 16:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 16:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 16:07:01] Production.INFO: neon service started
[2025-01-10 16:07:01] Production.INFO: neon service started
[2025-01-10 16:07:01] Production.INFO: ==8954== Releasing lock...
[2025-01-10 16:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 16:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:07:02] Production.INFO: ==8956== Lock acquired, processing the job...
[2025-01-10 11:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 11:07:02] Production.INFO: ==8956== Releasing lock...
[2025-01-10 11:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 11:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 16:07:02] Production.INFO: ==8958== Lock acquired, processing the job...
[2025-01-10 16:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 16:07:02] Production.INFO: ==8958== Releasing lock...
[2025-01-10 16:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 16:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 11:07:03] Production.INFO: ==8969== Lock acquired, processing the job...
[2025-01-10 11:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 11:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:07:03] Production.INFO: ==8971== Lock acquired, processing the job...
[2025-01-10 11:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 11:07:03] Production.INFO: ==8961== Lock acquired, processing the job...
[2025-01-10 11:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 11:07:03] Production.INFO: ==8965== Lock acquired, processing the job...
[2025-01-10 11:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 11:07:03] Production.INFO: ==8963== Lock acquired, processing the job...
[2025-01-10 11:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 11:07:03] Production.INFO: ==8967== Lock acquired, processing the job...
[2025-01-10 11:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 11:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 11:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 11:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 11:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 11:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 11:07:03] Production.INFO: count ==21
[2025-01-10 11:07:03] Production.INFO: Account Balance Start.
[2025-01-10 11:07:03] Production.INFO: CreateAllLog Start
[2025-01-10 11:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:07:03] Production.INFO: 117
[2025-01-10 11:07:03] Production.ERROR: done
[2025-01-10 11:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 11:07:03] Production.INFO: count ==21
[2025-01-10 11:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216501') start
[2025-01-10 11:07:03] Production.INFO: Date 2025-01-08
[2025-01-10 11:07:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:07:03] Production.ERROR: done
[2025-01-10 11:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216501') end
[2025-01-10 11:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 11:07:03] Production.INFO: 1
[2025-01-10 11:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 11:07:03] Production.INFO: ==8963== Releasing lock...
[2025-01-10 11:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 11:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 11:07:04] Production.INFO: ==8971== Releasing lock...
[2025-01-10 11:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 11:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 11:07:04] Production.INFO: Date 2025-01-09
[2025-01-10 11:07:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:07:04] Production.INFO: Date 2025-01-10
[2025-01-10 11:07:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:07:04] Production.INFO: Total Charge 0
[2025-01-10 11:07:04] Production.INFO: CreateAllLog End
[2025-01-10 11:07:04] Production.INFO: Account Balance End.
[2025-01-10 11:07:04] Production.ERROR: CronJobId end 12
[2025-01-10 11:07:04] Production.INFO: ==8967== Releasing lock...
[2025-01-10 11:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 11:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 11:07:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 08:07:04
[end_date_ymd] => 2025-01-10 11:07:04
[RateCDR] => 1
)
[2025-01-10 11:07:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 08:07:04' and `end` < '2025-01-10 11:07:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 11:07:10] Production.ERROR: CronJobId end10
[2025-01-10 11:07:10] Production.INFO: ==8965== Releasing lock...
[2025-01-10 11:07:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 11:07:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 11:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 11:07:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 11:07:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 11:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 11:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 11:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 11:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 11:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 11:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 11:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 11:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 11:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 11:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 11:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 11:07:13] Production.INFO: call_cost start
[2025-01-10 11:07:13] Production.INFO: call_cost end
[2025-01-10 11:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 11:07:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 11:07:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 11:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 11:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 11:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 11:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 11:07:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 11:07:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 11:07:14] Production.INFO: ==8961== Releasing lock...
[2025-01-10 11:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 11:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 11:07:26] Production.INFO: count ==3691
[2025-01-10 11:07:27] Production.ERROR: pbx CDR StartTime 2025-01-10 08:07:04 - End Time 2025-01-10 11:07:04
[2025-01-10 11:07:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 11:07:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216505', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:07:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216505', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:07:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216505', 'tblTempVendorCDR_20' ) start
[2025-01-10 11:07:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216505', 'tblTempVendorCDR_20' ) end
[2025-01-10 11:07:27] Production.INFO: ProcessCDR(1,14216505,1,1,2)
[2025-01-10 11:07:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216505,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:07:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216505,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:07:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216505,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:07:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216505,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:07:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216505', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:07:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216505', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:07:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:07:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:07:31] Production.INFO: ==8969== Releasing lock...
[2025-01-10 11:07:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 11:07:31] Production.INFO: 56.25 MB #Memory Used#
[2025-01-10 16:08:02] Production.INFO: ==9106== Lock acquired, processing the job...
[2025-01-10 16:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 16:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 16:08:02] Production.INFO: neon service started
[2025-01-10 16:08:02] Production.INFO: neon service started
[2025-01-10 16:08:02] Production.INFO: ==9106== Releasing lock...
[2025-01-10 16:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 16:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:08:02] Production.INFO: ==9108== Lock acquired, processing the job...
[2025-01-10 11:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 16:08:02] Production.INFO: ==9110== Lock acquired, processing the job...
[2025-01-10 16:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 11:08:02] Production.INFO: ==9108== Releasing lock...
[2025-01-10 11:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 11:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 16:08:03] Production.INFO: ==9110== Releasing lock...
[2025-01-10 16:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 16:08:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 11:08:03] Production.INFO: ==9112== Lock acquired, processing the job...
[2025-01-10 11:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 11:08:03] Production.INFO: ==9114== Lock acquired, processing the job...
[2025-01-10 11:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 11:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 11:08:03] Production.INFO: ==9119== Lock acquired, processing the job...
[2025-01-10 11:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 11:08:03] Production.INFO: ==9114== Releasing lock...
[2025-01-10 11:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 11:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 11:08:04] Production.INFO: ==9117== Lock acquired, processing the job...
[2025-01-10 11:08:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 11:08:04] Production.INFO: Account Balance Start.
[2025-01-10 11:08:04] Production.INFO: CreateAllLog Start
[2025-01-10 11:08:04] Production.INFO: 117
[2025-01-10 11:08:04] Production.INFO: Date 2025-01-08
[2025-01-10 11:08:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:08:04] Production.INFO: ==9121== Lock acquired, processing the job...
[2025-01-10 11:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 11:08:04] Production.INFO: Date 2025-01-09
[2025-01-10 11:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 11:08:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 11:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 11:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 11:08:04] Production.INFO: Date 2025-01-10
[2025-01-10 11:08:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:08:04] Production.INFO: ==9123== Lock acquired, processing the job...
[2025-01-10 11:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 11:08:04] Production.INFO: Total Charge 0
[2025-01-10 11:08:04] Production.INFO: CreateAllLog End
[2025-01-10 11:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 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-01-10 11:08:04] Production.INFO: Account Balance End.
[2025-01-10 11:08:04] Production.INFO: count ==21
[2025-01-10 11:08:04] Production.ERROR: CronJobId end 12
[2025-01-10 11:08:04] Production.INFO: ==9119== Releasing lock...
[2025-01-10 11:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 11:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 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-01-10 11:08:04] Production.INFO: count ==21
[2025-01-10 11:08:04] Production.ERROR: done
[2025-01-10 11:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 11:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216509') start
[2025-01-10 11:08:04] Production.ERROR: done
[2025-01-10 11:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216509') end
[2025-01-10 11:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 11:08:04] Production.INFO: 1
[2025-01-10 11:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 11:08:04] Production.INFO: ==9123== Releasing lock...
[2025-01-10 11:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 11:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 11:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 08:08:05
[end_date_ymd] => 2025-01-10 11:08:05
[RateCDR] => 1
)
[2025-01-10 11:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 08:08:05' and `end` < '2025-01-10 11:08:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 11:08:11] Production.ERROR: CronJobId end10
[2025-01-10 11:08:11] Production.INFO: ==9117== Releasing lock...
[2025-01-10 11:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 11:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 11:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 11:08:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 11:08:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 11:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 11:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 11:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 11:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 11:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 11:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 11:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 11:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 11:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 11:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 11:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 11:08:13] Production.INFO: call_cost start
[2025-01-10 11:08:13] Production.INFO: call_cost end
[2025-01-10 11:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 11:08:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 11:08:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 11:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 11:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 11:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 11:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 11:08:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 11:08:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 11:08:14] Production.INFO: ==9112== Releasing lock...
[2025-01-10 11:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 11:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 11:08:24] Production.INFO: count ==3712
[2025-01-10 11:08:25] Production.ERROR: pbx CDR StartTime 2025-01-10 08:08:05 - End Time 2025-01-10 11:08:05
[2025-01-10 11:08:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 11:08:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216510', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:08:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216510', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:08:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216510', 'tblTempVendorCDR_20' ) start
[2025-01-10 11:08:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216510', 'tblTempVendorCDR_20' ) end
[2025-01-10 11:08:25] Production.INFO: ProcessCDR(1,14216510,1,1,2)
[2025-01-10 11:08:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216510,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:08:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216510,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:08:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216510,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:08:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216510,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:08:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216510', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:08:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216510', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:08:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:08:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:08:30] Production.INFO: ==9121== Releasing lock...
[2025-01-10 11:08:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 11:08:30] Production.INFO: 55.75 MB #Memory Used#
[2025-01-10 16:09:01] Production.INFO: ==9176== Lock acquired, processing the job...
[2025-01-10 16:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 16:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 16:09:01] Production.INFO: neon service started
[2025-01-10 16:09:01] Production.INFO: neon service started
[2025-01-10 16:09:01] Production.INFO: ==9176== Releasing lock...
[2025-01-10 16:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 16:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:09:02] Production.INFO: ==9178== Lock acquired, processing the job...
[2025-01-10 11:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 16:09:02] Production.INFO: ==9180== Lock acquired, processing the job...
[2025-01-10 16:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 16:09:02] Production.INFO: ==9180== Releasing lock...
[2025-01-10 16:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 16:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 11:09:02] Production.INFO: ==9178== Releasing lock...
[2025-01-10 11:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 11:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 11:09:03] Production.INFO: ==9183== Lock acquired, processing the job...
[2025-01-10 11:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 11:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 11:09:03] Production.INFO: ==9185== Lock acquired, processing the job...
[2025-01-10 11:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 11:09:03] Production.INFO: ==9189== Lock acquired, processing the job...
[2025-01-10 11:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 11:09:03] Production.INFO: ==9187== Lock acquired, processing the job...
[2025-01-10 11:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 11:09:03] Production.INFO: Account Balance Start.
[2025-01-10 11:09:03] Production.INFO: CreateAllLog Start
[2025-01-10 11:09:03] Production.INFO: 117
[2025-01-10 11:09:03] Production.INFO: Date 2025-01-08
[2025-01-10 11:09:03] Production.INFO: ==9185== Releasing lock...
[2025-01-10 11:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 11:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 11:09:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:09:03] Production.INFO: ==9191== Lock acquired, processing the job...
[2025-01-10 11:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 11:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 11:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 11:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 11:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 11:09:03] Production.INFO: Date 2025-01-09
[2025-01-10 11:09:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:09:03] Production.INFO: Date 2025-01-10
[2025-01-10 11:09:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:09:03] Production.INFO: Total Charge 0
[2025-01-10 11:09:03] Production.INFO: CreateAllLog End
[2025-01-10 11:09:03] Production.INFO: ==9193== Lock acquired, processing the job...
[2025-01-10 11:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 11:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:09:03] Production.INFO: Account Balance End.
[2025-01-10 11:09:03] Production.ERROR: CronJobId end 12
[2025-01-10 11:09:03] Production.INFO: ==9189== Releasing lock...
[2025-01-10 11:09:03] Production.INFO: count ==21
[2025-01-10 11:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 11:09:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 11:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:09:03] Production.INFO: count ==21
[2025-01-10 11:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216514') start
[2025-01-10 11:09:04] Production.ERROR: done
[2025-01-10 11:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 11:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216514') end
[2025-01-10 11:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 11:09:04] Production.INFO: 1
[2025-01-10 11:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 11:09:04] Production.INFO: ==9193== Releasing lock...
[2025-01-10 11:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 11:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 11:09:04] Production.ERROR: done
[2025-01-10 11:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 08:09:05
[end_date_ymd] => 2025-01-10 11:09:05
[RateCDR] => 1
)
[2025-01-10 11:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 08:09:05' and `end` < '2025-01-10 11:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 11:09:10] Production.ERROR: CronJobId end10
[2025-01-10 11:09:10] Production.INFO: ==9187== Releasing lock...
[2025-01-10 11:09:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 11:09:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 11:09:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 11:09:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 11:09:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 11:09:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 11:09:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 11:09:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 11:09:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 11:09:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 11:09:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 11:09:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 11:09:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 11:09:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 11:09:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 11:09:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 11:09:12] Production.INFO: call_cost start
[2025-01-10 11:09:12] Production.INFO: call_cost end
[2025-01-10 11:09:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 11:09:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 11:09:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 11:09:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 11:09:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 11:09:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 11:09:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 11:09:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 11:09:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 11:09:13] Production.INFO: ==9183== Releasing lock...
[2025-01-10 11:09:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 11:09:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 11:09:22] Production.INFO: count ==3721
[2025-01-10 11:09:24] Production.ERROR: pbx CDR StartTime 2025-01-10 08:09:05 - End Time 2025-01-10 11:09:05
[2025-01-10 11:09:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 11:09:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216515', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:09:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216515', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:09:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216515', 'tblTempVendorCDR_20' ) start
[2025-01-10 11:09:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216515', 'tblTempVendorCDR_20' ) end
[2025-01-10 11:09:24] Production.INFO: ProcessCDR(1,14216515,1,1,2)
[2025-01-10 11:09:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216515,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:09:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216515,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:09:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216515,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:09:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216515,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:09:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216515', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:09:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216515', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:09:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:09:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:09:28] Production.INFO: ==9191== Releasing lock...
[2025-01-10 11:09:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 11:09:28] Production.INFO: 55.75 MB #Memory Used#
[2025-01-10 16:10:02] Production.INFO: ==9253== Lock acquired, processing the job...
[2025-01-10 16:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 16:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 16:10:02] Production.INFO: neon service started
[2025-01-10 16:10:02] Production.INFO: neon service started
[2025-01-10 16:10:02] Production.INFO: ==9253== Releasing lock...
[2025-01-10 16:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 16:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 16:10:02] Production.INFO: ==9257== Lock acquired, processing the job...
[2025-01-10 16:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 16:10:02] Production.INFO: ==9257== Releasing lock...
[2025-01-10 16:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 16:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 11:10:02] Production.INFO: ==9255== Lock acquired, processing the job...
[2025-01-10 11:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 11:10:02] Production.INFO: ==9255== Releasing lock...
[2025-01-10 11:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 11:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 11:10:03] Production.INFO: ==9264== Lock acquired, processing the job...
[2025-01-10 11:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 11:10:03] Production.INFO: ==9266== Lock acquired, processing the job...
[2025-01-10 11:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 11:10:03] Production.INFO: ==9268== Lock acquired, processing the job...
[2025-01-10 11:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 11:10:03] Production.INFO: ==9262== Lock acquired, processing the job...
[2025-01-10 11:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 11:10:03] Production.INFO: ==9260== Lock acquired, processing the job...
[2025-01-10 11:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 11:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 11:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 11:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 11:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 11:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 11:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 11:10:04] Production.ERROR: CronJob PID - 9262
[2025-01-10 11:10:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-10 11:10:04] Production.ERROR: CronJob ID - 5
[2025-01-10 11:10:04] Production.ERROR: CronJob Last Run Time 2025-01-10 11:10:00
[2025-01-10 11:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 11:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 11:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 11:10:04] Production.ERROR: CronJob PID - 9266
[2025-01-10 11:10:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-10 11:10:04] Production.ERROR: CronJob ID - 10
[2025-01-10 11:10:04] Production.ERROR: CronJob Last Run Time 2025-01-10 11:10:00
[2025-01-10 11:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 11:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 11:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 11:10:04] Production.ERROR: CronJob PID - 9268
[2025-01-10 11:10:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-10 11:10:04] Production.ERROR: CronJob ID - 12
[2025-01-10 11:10:04] Production.ERROR: CronJob Last Run Time 2025-01-10 11:10:00
[2025-01-10 11:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 11:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 11:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 11:10:04] Production.INFO: Account Balance Start.
[2025-01-10 11:10:04] Production.INFO: CreateAllLog Start
[2025-01-10 11:10:04] Production.INFO: 117
[2025-01-10 11:10:04] Production.INFO: ==9264== Releasing lock...
[2025-01-10 11:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 11:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 11:10:04] Production.INFO: Date 2025-01-08
[2025-01-10 11:10:04] Production.INFO: ==9270== Lock acquired, processing the job...
[2025-01-10 11:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 11:10:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 11:10:04] Production.INFO: ==9260== Releasing lock...
[2025-01-10 11:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 11:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 11:10:04] Production.INFO: Date 2025-01-09
[2025-01-10 11:10:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:10:04] Production.INFO: ==9272== Lock acquired, processing the job...
[2025-01-10 11:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 11:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:10:04] Production.INFO: Date 2025-01-10
[2025-01-10 11:10:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:10:04] Production.INFO: ==9274== Lock acquired, processing the job...
[2025-01-10 11:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 11:10:04] Production.INFO: Total Charge 0
[2025-01-10 11:10:04] Production.INFO: CreateAllLog End
[2025-01-10 11:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:10:04] Production.INFO: count ==21
[2025-01-10 11:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:10:04] Production.INFO: count ==21
[2025-01-10 11:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216519') start
[2025-01-10 11:10:04] Production.ERROR: done
[2025-01-10 11:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 11:10:04] Production.ERROR: done
[2025-01-10 11:10:04] Production.ERROR: done
[2025-01-10 11:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216519') end
[2025-01-10 11:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 11:10:04] Production.INFO: 1
[2025-01-10 11:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 11:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 11:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14216520', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 11:10:04] Production.INFO: Account Balance End.
[2025-01-10 11:10:04] Production.INFO: ==9274== Releasing lock...
[2025-01-10 11:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 11:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 11:10:05] Production.ERROR: CronJobId end 12
[2025-01-10 11:10:05] Production.INFO: ==9268== Releasing lock...
[2025-01-10 11:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 11:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 11:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 08:10:05
[end_date_ymd] => 2025-01-10 11:10:05
[RateCDR] => 1
)
[2025-01-10 11:10:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 08:10:05' and `end` < '2025-01-10 11:10:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 11:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14216520', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 11:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 11:10:09] Production.INFO: ProcessCDR(1,14216520,1,1,2)
[2025-01-10 11:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14216520,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14216520,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:10:09] Production.INFO: ==9272== Releasing lock...
[2025-01-10 11:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 11:10:09] Production.INFO: 26 MB #Memory Used#
[2025-01-10 11:10:13] Production.ERROR: CronJobId end10
[2025-01-10 11:10:13] Production.INFO: ==9266== Releasing lock...
[2025-01-10 11:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 11:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 11:10:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 11:10:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 11:10:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 11:10:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 11:10:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 11:10:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 11:10:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 11:10:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 11:10:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 11:10:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 11:10:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 11:10:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 11:10:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 11:10:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 11:10:15] Production.INFO: call_cost start
[2025-01-10 11:10:15] Production.INFO: call_cost end
[2025-01-10 11:10:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 11:10:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 11:10:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 11:10:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 11:10:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 11:10:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 11:10:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 11:10:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 11:10:16] Production.INFO: ============== Deal alert END===========
[2025-01-10 11:10:16] Production.INFO: ==9262== Releasing lock...
[2025-01-10 11:10:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 11:10:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 11:10:25] Production.INFO: count ==3754
[2025-01-10 11:10:27] Production.ERROR: pbx CDR StartTime 2025-01-10 08:10:05 - End Time 2025-01-10 11:10:05
[2025-01-10 11:10:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 11:10:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216521', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:10:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216521', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:10:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216521', 'tblTempVendorCDR_20' ) start
[2025-01-10 11:10:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216521', 'tblTempVendorCDR_20' ) end
[2025-01-10 11:10:27] Production.INFO: ProcessCDR(1,14216521,1,1,2)
[2025-01-10 11:10:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216521,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:10:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216521,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:10:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216521,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:10:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216521,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:10:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216521', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:10:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216521', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:10:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:10:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:10:31] Production.INFO: ==9270== Releasing lock...
[2025-01-10 11:10:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 11:10:31] Production.INFO: 56.25 MB #Memory Used#
[2025-01-10 16:11:01] Production.INFO: ==9327== Lock acquired, processing the job...
[2025-01-10 16:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 16:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 16:11:01] Production.INFO: neon service started
[2025-01-10 16:11:01] Production.INFO: neon service started
[2025-01-10 16:11:01] Production.INFO: ==9327== Releasing lock...
[2025-01-10 16:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 16:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:11:01] Production.INFO: ==9329== Lock acquired, processing the job...
[2025-01-10 11:11:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 11:11:02] Production.INFO: ==9329== Releasing lock...
[2025-01-10 11:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 11:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 16:11:02] Production.INFO: ==9331== Lock acquired, processing the job...
[2025-01-10 16:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 16:11:02] Production.INFO: ==9331== Releasing lock...
[2025-01-10 16:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 16:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 11:11:02] Production.INFO: ==9335== Lock acquired, processing the job...
[2025-01-10 11:11:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 11:11:03] Production.INFO: ==9343== Lock acquired, processing the job...
[2025-01-10 11:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 11:11:03] Production.INFO: ==9333== Lock acquired, processing the job...
[2025-01-10 11:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 11:11:03] Production.INFO: ==9337== Lock acquired, processing the job...
[2025-01-10 11:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 11:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 11:11:03] Production.INFO: ==9339== Lock acquired, processing the job...
[2025-01-10 11:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 11:11:03] Production.INFO: count ==21
[2025-01-10 11:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:11:03] Production.INFO: count ==21
[2025-01-10 11:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 11:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 11:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 11:11:03] Production.INFO: ==9335== Releasing lock...
[2025-01-10 11:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 11:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 11:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 11:11:03] Production.INFO: ==9341== Lock acquired, processing the job...
[2025-01-10 11:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216523') start
[2025-01-10 11:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 11:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216523') end
[2025-01-10 11:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 11:11:03] Production.INFO: 1
[2025-01-10 11:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 11:11:03] Production.INFO: Account Balance Start.
[2025-01-10 11:11:03] Production.INFO: CreateAllLog Start
[2025-01-10 11:11:03] Production.INFO: 117
[2025-01-10 11:11:03] Production.INFO: Date 2025-01-08
[2025-01-10 11:11:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:11:03] Production.INFO: Date 2025-01-09
[2025-01-10 11:11:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:11:03] Production.INFO: Date 2025-01-10
[2025-01-10 11:11:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:11:03] Production.INFO: ==9343== Releasing lock...
[2025-01-10 11:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 11:11:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 11:11:03] Production.INFO: Total Charge 0
[2025-01-10 11:11:03] Production.INFO: CreateAllLog End
[2025-01-10 11:11:03] Production.INFO: Account Balance End.
[2025-01-10 11:11:03] Production.ERROR: done
[2025-01-10 11:11:03] Production.ERROR: CronJobId end 12
[2025-01-10 11:11:03] Production.INFO: ==9339== Releasing lock...
[2025-01-10 11:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 11:11:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 11:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 11:11:03] Production.ERROR: done
[2025-01-10 11:11:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 08:11:04
[end_date_ymd] => 2025-01-10 11:11:04
[RateCDR] => 1
)
[2025-01-10 11:11:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 08:11:04' and `end` < '2025-01-10 11:11:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 11:11:11] Production.ERROR: CronJobId end10
[2025-01-10 11:11:11] Production.INFO: ==9337== Releasing lock...
[2025-01-10 11:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 11:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 11:11:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 11:11:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 11:11:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 11:11:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 11:11:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 11:11:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 11:11:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 11:11:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 11:11:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 11:11:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 11:11:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 11:11:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 11:11:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 11:11:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 11:11:12] Production.INFO: call_cost start
[2025-01-10 11:11:12] Production.INFO: call_cost end
[2025-01-10 11:11:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 11:11:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 11:11:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 11:11:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 11:11:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 11:11:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 11:11:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 11:11:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 11:11:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 11:11:13] Production.INFO: ==9333== Releasing lock...
[2025-01-10 11:11:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 11:11:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 11:11:35] Production.INFO: count ==3839
[2025-01-10 11:11:37] Production.ERROR: pbx CDR StartTime 2025-01-10 08:11:04 - End Time 2025-01-10 11:11:04
[2025-01-10 11:11:37] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 11:11:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216526', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:11:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216526', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:11:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216526', 'tblTempVendorCDR_20' ) start
[2025-01-10 11:11:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216526', 'tblTempVendorCDR_20' ) end
[2025-01-10 11:11:37] Production.INFO: ProcessCDR(1,14216526,1,1,2)
[2025-01-10 11:11:37] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216526,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:11:39] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216526,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:11:39] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216526,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:11:41] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216526,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:11:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216526', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:11:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216526', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:11:41] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:11:41] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:11:41] Production.INFO: ==9341== Releasing lock...
[2025-01-10 11:11:41] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 11:11:41] Production.INFO: 56.75 MB #Memory Used#
[2025-01-10 16:12:01] Production.INFO: ==9519== Lock acquired, processing the job...
[2025-01-10 16:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 16:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 16:12:01] Production.INFO: neon service started
[2025-01-10 16:12:01] Production.INFO: neon service started
[2025-01-10 16:12:01] Production.INFO: ==9519== Releasing lock...
[2025-01-10 16:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 16:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 16:12:02] Production.INFO: ==9523== Lock acquired, processing the job...
[2025-01-10 16:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 16:12:02] Production.INFO: ==9523== Releasing lock...
[2025-01-10 16:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 16:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 11:12:02] Production.INFO: ==9521== Lock acquired, processing the job...
[2025-01-10 11:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 11:12:02] Production.INFO: ==9521== Releasing lock...
[2025-01-10 11:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 11:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 11:12:03] Production.INFO: ==9529== Lock acquired, processing the job...
[2025-01-10 11:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 11:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 11:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 11:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 11:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 11:12:03] Production.INFO: ==9536== Lock acquired, processing the job...
[2025-01-10 11:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 11:12:03] Production.INFO: ==9525== Lock acquired, processing the job...
[2025-01-10 11:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 11:12:03] Production.INFO: ==9527== Lock acquired, processing the job...
[2025-01-10 11:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 11:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 11:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:12:03] Production.INFO: count ==21
[2025-01-10 11:12:03] Production.INFO: ==9531== Lock acquired, processing the job...
[2025-01-10 11:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 11:12:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:12:03] Production.INFO: count ==21
[2025-01-10 11:12:04] Production.INFO: ==9533== Lock acquired, processing the job...
[2025-01-10 11:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 11:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216528') start
[2025-01-10 11:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:12:04] Production.INFO: Account Balance Start.
[2025-01-10 11:12:04] Production.INFO: CreateAllLog Start
[2025-01-10 11:12:04] Production.INFO: 117
[2025-01-10 11:12:04] Production.INFO: Date 2025-01-08
[2025-01-10 11:12:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:12:04] Production.INFO: Date 2025-01-09
[2025-01-10 11:12:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216528') end
[2025-01-10 11:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 11:12:04] Production.INFO: 1
[2025-01-10 11:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 11:12:04] Production.INFO: ==9527== Releasing lock...
[2025-01-10 11:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 11:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 11:12:04] Production.INFO: Date 2025-01-10
[2025-01-10 11:12:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:12:04] Production.INFO: ==9536== Releasing lock...
[2025-01-10 11:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 11:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 11:12:04] Production.ERROR: done
[2025-01-10 11:12:04] Production.INFO: Total Charge 0
[2025-01-10 11:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 11:12:04] Production.INFO: CreateAllLog End
[2025-01-10 11:12:04] Production.ERROR: done
[2025-01-10 11:12:04] Production.INFO: Account Balance End.
[2025-01-10 11:12:04] Production.ERROR: CronJobId end 12
[2025-01-10 11:12:04] Production.INFO: ==9531== Releasing lock...
[2025-01-10 11:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 11:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 11:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 08:12:05
[end_date_ymd] => 2025-01-10 11:12:05
[RateCDR] => 1
)
[2025-01-10 11:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 08:12:05' and `end` < '2025-01-10 11:12:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 11:12:11] Production.ERROR: CronJobId end10
[2025-01-10 11:12:11] Production.INFO: ==9529== Releasing lock...
[2025-01-10 11:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 11:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 11:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 11:12:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 11:12:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 11:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 11:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 11:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 11:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 11:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 11:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 11:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 11:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 11:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 11:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 11:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 11:12:13] Production.INFO: call_cost start
[2025-01-10 11:12:13] Production.INFO: call_cost end
[2025-01-10 11:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 11:12:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 11:12:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 11:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 11:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 11:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 11:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 11:12:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 11:12:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 11:12:14] Production.INFO: ==9525== Releasing lock...
[2025-01-10 11:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 11:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 11:12:27] Production.INFO: count ==3842
[2025-01-10 11:12:29] Production.ERROR: pbx CDR StartTime 2025-01-10 08:12:05 - End Time 2025-01-10 11:12:05
[2025-01-10 11:12:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 11:12:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216531', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:12:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216531', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:12:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216531', 'tblTempVendorCDR_20' ) start
[2025-01-10 11:12:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216531', 'tblTempVendorCDR_20' ) end
[2025-01-10 11:12:29] Production.INFO: ProcessCDR(1,14216531,1,1,2)
[2025-01-10 11:12:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216531,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:12:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216531,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:12:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216531,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:12:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216531,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:12:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216531', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:12:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216531', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:12:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:12:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:12:34] Production.INFO: ==9533== Releasing lock...
[2025-01-10 11:12:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 11:12:34] Production.INFO: 56.75 MB #Memory Used#
[2025-01-10 16:13:02] Production.INFO: ==9589== Lock acquired, processing the job...
[2025-01-10 16:13:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 16:13:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 16:13:02] Production.INFO: neon service started
[2025-01-10 16:13:02] Production.INFO: neon service started
[2025-01-10 16:13:02] Production.INFO: ==9589== Releasing lock...
[2025-01-10 16:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 16:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:13:02] Production.INFO: ==9591== Lock acquired, processing the job...
[2025-01-10 11:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 16:13:02] Production.INFO: ==9593== Lock acquired, processing the job...
[2025-01-10 16:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 16:13:02] Production.INFO: ==9593== Releasing lock...
[2025-01-10 16:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 16:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 11:13:03] Production.INFO: ==9591== Releasing lock...
[2025-01-10 11:13:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 11:13:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 11:13:03] Production.INFO: ==9604== Lock acquired, processing the job...
[2025-01-10 11:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 11:13:04] Production.INFO: ==9596== Lock acquired, processing the job...
[2025-01-10 11:13:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 11:13:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:13:04] Production.INFO: ==9598== Lock acquired, processing the job...
[2025-01-10 11:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 11:13:04] Production.INFO: ==9606== Lock acquired, processing the job...
[2025-01-10 11:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 11:13:04] Production.INFO: ==9600== Lock acquired, processing the job...
[2025-01-10 11:13:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 11:13:04] Production.INFO: ==9602== Lock acquired, processing the job...
[2025-01-10 11:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 11:13:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 11:13:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:13:04] Production.INFO: count ==21
[2025-01-10 11:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:13:04] Production.INFO: count ==21
[2025-01-10 11:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216532') start
[2025-01-10 11:13:04] Production.ERROR: done
[2025-01-10 11:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 11:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 11:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 11:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 11:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 11:13:04] Production.INFO: Account Balance Start.
[2025-01-10 11:13:04] Production.INFO: CreateAllLog Start
[2025-01-10 11:13:04] Production.INFO: 117
[2025-01-10 11:13:04] Production.INFO: Date 2025-01-08
[2025-01-10 11:13:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216532') end
[2025-01-10 11:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 11:13:04] Production.INFO: 1
[2025-01-10 11:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 11:13:04] Production.ERROR: done
[2025-01-10 11:13:04] Production.INFO: ==9606== Releasing lock...
[2025-01-10 11:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 11:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 11:13:04] Production.INFO: Date 2025-01-09
[2025-01-10 11:13:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:13:04] Production.INFO: Date 2025-01-10
[2025-01-10 11:13:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:13:04] Production.INFO: Total Charge 0
[2025-01-10 11:13:04] Production.INFO: CreateAllLog End
[2025-01-10 11:13:04] Production.INFO: ==9598== Releasing lock...
[2025-01-10 11:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 11:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 11:13:04] Production.INFO: Account Balance End.
[2025-01-10 11:13:04] Production.ERROR: CronJobId end 12
[2025-01-10 11:13:04] Production.INFO: ==9602== Releasing lock...
[2025-01-10 11:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 11:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 11:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 08:13:05
[end_date_ymd] => 2025-01-10 11:13:05
[RateCDR] => 1
)
[2025-01-10 11:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 08:13:05' and `end` < '2025-01-10 11:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 11:13:12] Production.ERROR: CronJobId end10
[2025-01-10 11:13:12] Production.INFO: ==9600== Releasing lock...
[2025-01-10 11:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 11:13:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 11:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 11:13:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 11:13:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 11:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 11:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 11:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 11:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 11:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 11:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 11:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 11:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 11:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 11:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 11:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 11:13:13] Production.INFO: call_cost start
[2025-01-10 11:13:13] Production.INFO: call_cost end
[2025-01-10 11:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 11:13:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 11:13:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 11:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 11:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 11:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 11:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 11:13:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 11:13:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 11:13:14] Production.INFO: ==9596== Releasing lock...
[2025-01-10 11:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 11:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 11:13:28] Production.INFO: count ==3864
[2025-01-10 11:13:30] Production.ERROR: pbx CDR StartTime 2025-01-10 08:13:05 - End Time 2025-01-10 11:13:05
[2025-01-10 11:13:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 11:13:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216536', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:13:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216536', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:13:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216536', 'tblTempVendorCDR_20' ) start
[2025-01-10 11:13:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216536', 'tblTempVendorCDR_20' ) end
[2025-01-10 11:13:30] Production.INFO: ProcessCDR(1,14216536,1,1,2)
[2025-01-10 11:13:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216536,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:13:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216536,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:13:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216536,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:13:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216536,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:13:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216536', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:13:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216536', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:13:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:13:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:13:34] Production.INFO: ==9604== Releasing lock...
[2025-01-10 11:13:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 11:13:34] Production.INFO: 56.75 MB #Memory Used#
[2025-01-10 16:14:01] Production.INFO: ==9660== Lock acquired, processing the job...
[2025-01-10 16:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 16:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 16:14:01] Production.INFO: neon service started
[2025-01-10 16:14:01] Production.INFO: neon service started
[2025-01-10 16:14:01] Production.INFO: ==9660== Releasing lock...
[2025-01-10 16:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 16:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:14:02] Production.INFO: ==9662== Lock acquired, processing the job...
[2025-01-10 11:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 11:14:02] Production.INFO: ==9662== Releasing lock...
[2025-01-10 11:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 11:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 16:14:02] Production.INFO: ==9664== Lock acquired, processing the job...
[2025-01-10 16:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 16:14:02] Production.INFO: ==9664== Releasing lock...
[2025-01-10 16:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 16:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 11:14:03] Production.INFO: ==9669== Lock acquired, processing the job...
[2025-01-10 11:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 11:14:03] Production.INFO: ==9667== Lock acquired, processing the job...
[2025-01-10 11:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 11:14:03] Production.INFO: ==9675== Lock acquired, processing the job...
[2025-01-10 11:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 11:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 11:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:14:03] Production.INFO: ==9671== Lock acquired, processing the job...
[2025-01-10 11:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 11:14:03] Production.INFO: ==9673== Lock acquired, processing the job...
[2025-01-10 11:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 11:14:03] Production.INFO: ==9677== Lock acquired, processing the job...
[2025-01-10 11:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 11:14:03] Production.INFO: Account Balance Start.
[2025-01-10 11:14:03] Production.INFO: CreateAllLog Start
[2025-01-10 11:14:03] Production.INFO: 117
[2025-01-10 11:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 11:14:03] Production.INFO: Date 2025-01-08
[2025-01-10 11:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 11:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 11:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 11:14:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:14:03] Production.ERROR: done
[2025-01-10 11:14:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 11:14:03] Production.INFO: Date 2025-01-09
[2025-01-10 11:14:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:14:03] Production.INFO: Date 2025-01-10
[2025-01-10 11:14:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:14:03] Production.INFO: count ==21
[2025-01-10 11:14:03] Production.ERROR: done
[2025-01-10 11:14:03] Production.INFO: ==9669== Releasing lock...
[2025-01-10 11:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 11:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 11:14:03] Production.INFO: Total Charge 0
[2025-01-10 11:14:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:14:03] Production.INFO: CreateAllLog End
[2025-01-10 11:14:03] Production.INFO: count ==21
[2025-01-10 11:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216540') start
[2025-01-10 11:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216540') end
[2025-01-10 11:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 11:14:04] Production.INFO: 1
[2025-01-10 11:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 11:14:04] Production.INFO: Account Balance End.
[2025-01-10 11:14:04] Production.INFO: ==9677== Releasing lock...
[2025-01-10 11:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 11:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 11:14:04] Production.ERROR: CronJobId end 12
[2025-01-10 11:14:04] Production.INFO: ==9673== Releasing lock...
[2025-01-10 11:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 11:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 11:14:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 08:14:04
[end_date_ymd] => 2025-01-10 11:14:04
[RateCDR] => 1
)
[2025-01-10 11:14:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 08:14:04' and `end` < '2025-01-10 11:14:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 11:14:11] Production.ERROR: CronJobId end10
[2025-01-10 11:14:11] Production.INFO: ==9671== Releasing lock...
[2025-01-10 11:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 11:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 11:14:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 11:14:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 11:14:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 11:14:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 11:14:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 11:14:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 11:14:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 11:14:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 11:14:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 11:14:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 11:14:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 11:14:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 11:14:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 11:14:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 11:14:13] Production.INFO: call_cost start
[2025-01-10 11:14:13] Production.INFO: call_cost end
[2025-01-10 11:14:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 11:14:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 11:14:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 11:14:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 11:14:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 11:14:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 11:14:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 11:14:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 11:14:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 11:14:13] Production.INFO: ==9667== Releasing lock...
[2025-01-10 11:14:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 11:14:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 11:14:25] Production.INFO: count ==3866
[2025-01-10 11:14:26] Production.ERROR: pbx CDR StartTime 2025-01-10 08:14:04 - End Time 2025-01-10 11:14:04
[2025-01-10 11:14:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 11:14:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216541', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:14:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216541', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:14:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216541', 'tblTempVendorCDR_20' ) start
[2025-01-10 11:14:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216541', 'tblTempVendorCDR_20' ) end
[2025-01-10 11:14:27] Production.INFO: ProcessCDR(1,14216541,1,1,2)
[2025-01-10 11:14:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216541,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:14:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216541,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:14:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216541,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:14:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216541,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:14:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216541', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:14:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216541', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:14:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:14:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:14:30] Production.INFO: ==9675== Releasing lock...
[2025-01-10 11:14:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 11:14:30] Production.INFO: 56.75 MB #Memory Used#
[2025-01-10 16:15:02] Production.INFO: ==9809== Lock acquired, processing the job...
[2025-01-10 16:15:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 16:15:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 16:15:02] Production.INFO: neon service started
[2025-01-10 16:15:02] Production.INFO: neon service started
[2025-01-10 16:15:02] Production.INFO: ==9809== Releasing lock...
[2025-01-10 16:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 16:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:15:02] Production.INFO: ==9811== Lock acquired, processing the job...
[2025-01-10 11:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 16:15:02] Production.INFO: ==9813== Lock acquired, processing the job...
[2025-01-10 16:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 16:15:02] Production.INFO: ==9813== Releasing lock...
[2025-01-10 16:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 16:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 11:15:03] Production.INFO: ==9811== Releasing lock...
[2025-01-10 11:15:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 11:15:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 11:15:03] Production.INFO: ==9818== Lock acquired, processing the job...
[2025-01-10 11:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 11:15:03] Production.INFO: ==9816== Lock acquired, processing the job...
[2025-01-10 11:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 11:15:03] Production.INFO: ==9824== Lock acquired, processing the job...
[2025-01-10 11:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 11:15:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 11:15:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:15:04] Production.INFO: ==9820== Lock acquired, processing the job...
[2025-01-10 11:15:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 11:15:04] Production.INFO: ==9818== Releasing lock...
[2025-01-10 11:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 11:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 11:15:04] Production.INFO: ==9822== Lock acquired, processing the job...
[2025-01-10 11:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 11:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 11:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 11:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 11:15:04] Production.INFO: ==9826== Lock acquired, processing the job...
[2025-01-10 11:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 11:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 11:15:04] Production.ERROR: done
[2025-01-10 11:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 11:15:04] Production.INFO: Account Balance Start.
[2025-01-10 11:15:04] Production.INFO: CreateAllLog Start
[2025-01-10 11:15:04] Production.INFO: 117
[2025-01-10 11:15:04] Production.INFO: Date 2025-01-08
[2025-01-10 11:15:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:15:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:15:04] Production.INFO: count ==21
[2025-01-10 11:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:15:04] Production.INFO: count ==21
[2025-01-10 11:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216545') start
[2025-01-10 11:15:04] Production.INFO: Date 2025-01-09
[2025-01-10 11:15:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:15:04] Production.ERROR: done
[2025-01-10 11:15:04] Production.INFO: Date 2025-01-10
[2025-01-10 11:15:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:15:04] Production.INFO: Total Charge 0
[2025-01-10 11:15:04] Production.INFO: CreateAllLog End
[2025-01-10 11:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216545') end
[2025-01-10 11:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 11:15:04] Production.INFO: 1
[2025-01-10 11:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 11:15:04] Production.INFO: ==9826== Releasing lock...
[2025-01-10 11:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 11:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 11:15:04] Production.INFO: Account Balance End.
[2025-01-10 11:15:04] Production.ERROR: CronJobId end 12
[2025-01-10 11:15:04] Production.INFO: ==9822== Releasing lock...
[2025-01-10 11:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 11:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 11:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 08:15:05
[end_date_ymd] => 2025-01-10 11:15:05
[RateCDR] => 1
)
[2025-01-10 11:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 08:15:05' and `end` < '2025-01-10 11:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 11:15:11] Production.ERROR: CronJobId end10
[2025-01-10 11:15:11] Production.INFO: ==9820== Releasing lock...
[2025-01-10 11:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 11:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 11:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 11:15:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 11:15:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 11:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 11:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 11:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 11:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 11:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 11:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 11:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 11:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 11:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 11:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 11:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 11:15:14] Production.INFO: call_cost start
[2025-01-10 11:15:14] Production.INFO: call_cost end
[2025-01-10 11:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 11:15:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 11:15:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 11:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 11:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 11:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 11:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 11:15:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 11:15:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 11:15:14] Production.INFO: ==9816== Releasing lock...
[2025-01-10 11:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 11:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 11:15:30] Production.INFO: count ==3877
[2025-01-10 11:15:31] Production.ERROR: pbx CDR StartTime 2025-01-10 08:15:05 - End Time 2025-01-10 11:15:05
[2025-01-10 11:15:31] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 11:15:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216546', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:15:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216546', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:15:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216546', 'tblTempVendorCDR_20' ) start
[2025-01-10 11:15:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216546', 'tblTempVendorCDR_20' ) end
[2025-01-10 11:15:31] Production.INFO: ProcessCDR(1,14216546,1,1,2)
[2025-01-10 11:15:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216546,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:15:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216546,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:15:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216546,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:15:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216546,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:15:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216546', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:15:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216546', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:15:36] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:15:36] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:15:36] Production.INFO: ==9824== Releasing lock...
[2025-01-10 11:15:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 11:15:36] Production.INFO: 57 MB #Memory Used#
[2025-01-10 16:16:01] Production.INFO: ==9880== Lock acquired, processing the job...
[2025-01-10 16:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 16:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 16:16:01] Production.INFO: neon service started
[2025-01-10 16:16:01] Production.INFO: neon service started
[2025-01-10 16:16:01] Production.INFO: ==9880== Releasing lock...
[2025-01-10 16:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 16:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:16:01] Production.INFO: ==9882== Lock acquired, processing the job...
[2025-01-10 11:16:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 11:16:02] Production.INFO: ==9882== Releasing lock...
[2025-01-10 11:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 11:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 16:16:02] Production.INFO: ==9884== Lock acquired, processing the job...
[2025-01-10 16:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 16:16:02] Production.INFO: ==9884== Releasing lock...
[2025-01-10 16:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 16:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 11:16:03] Production.INFO: ==9889== Lock acquired, processing the job...
[2025-01-10 11:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 11:16:03] Production.INFO: ==9895== Lock acquired, processing the job...
[2025-01-10 11:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 11:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:16:03] Production.INFO: ==9891== Lock acquired, processing the job...
[2025-01-10 11:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 11:16:03] Production.INFO: ==9887== Lock acquired, processing the job...
[2025-01-10 11:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 11:16:03] Production.INFO: ==9893== Lock acquired, processing the job...
[2025-01-10 11:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 11:16:03] Production.INFO: ==9897== Lock acquired, processing the job...
[2025-01-10 11:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 11:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 11:16:03] Production.INFO: Account Balance Start.
[2025-01-10 11:16:03] Production.INFO: CreateAllLog Start
[2025-01-10 11:16:03] Production.INFO: 117
[2025-01-10 11:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 11:16:03] Production.INFO: Date 2025-01-08
[2025-01-10 11:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 11:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 11:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 11:16:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:16:03] Production.INFO: count ==21
[2025-01-10 11:16:03] Production.ERROR: done
[2025-01-10 11:16:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:16:03] Production.INFO: count ==21
[2025-01-10 11:16:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 11:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216550') start
[2025-01-10 11:16:03] Production.INFO: ==9889== Releasing lock...
[2025-01-10 11:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 11:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 11:16:03] Production.ERROR: done
[2025-01-10 11:16:03] Production.INFO: Date 2025-01-09
[2025-01-10 11:16:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:16:03] Production.INFO: Date 2025-01-10
[2025-01-10 11:16:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:16:03] Production.INFO: Total Charge 0
[2025-01-10 11:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216550') end
[2025-01-10 11:16:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 11:16:03] Production.INFO: 1
[2025-01-10 11:16:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 11:16:03] Production.INFO: CreateAllLog End
[2025-01-10 11:16:03] Production.INFO: ==9897== Releasing lock...
[2025-01-10 11:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 11:16:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 11:16:03] Production.INFO: Account Balance End.
[2025-01-10 11:16:04] Production.ERROR: CronJobId end 12
[2025-01-10 11:16:04] Production.INFO: ==9893== Releasing lock...
[2025-01-10 11:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 11:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 11:16:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 08:16:04
[end_date_ymd] => 2025-01-10 11:16:04
[RateCDR] => 1
)
[2025-01-10 11:16:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 08:16:04' and `end` < '2025-01-10 11:16:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 11:16:11] Production.ERROR: CronJobId end10
[2025-01-10 11:16:11] Production.INFO: ==9891== Releasing lock...
[2025-01-10 11:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 11:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 11:16:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 11:16:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 11:16:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 11:16:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 11:16:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 11:16:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 11:16:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 11:16:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 11:16:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 11:16:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 11:16:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 11:16:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 11:16:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 11:16:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 11:16:12] Production.INFO: call_cost start
[2025-01-10 11:16:12] Production.INFO: call_cost end
[2025-01-10 11:16:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 11:16:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 11:16:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 11:16:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 11:16:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 11:16:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 11:16:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 11:16:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 11:16:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 11:16:13] Production.INFO: ==9887== Releasing lock...
[2025-01-10 11:16:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 11:16:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 11:16:24] Production.INFO: count ==3902
[2025-01-10 11:16:26] Production.ERROR: pbx CDR StartTime 2025-01-10 08:16:04 - End Time 2025-01-10 11:16:04
[2025-01-10 11:16:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 11:16:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216551', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:16:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216551', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:16:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216551', 'tblTempVendorCDR_20' ) start
[2025-01-10 11:16:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216551', 'tblTempVendorCDR_20' ) end
[2025-01-10 11:16:26] Production.INFO: ProcessCDR(1,14216551,1,1,2)
[2025-01-10 11:16:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216551,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:16:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216551,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:16:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216551,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:16:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216551,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:16:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216551', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:16:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216551', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:16:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:16:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:16:31] Production.INFO: ==9895== Releasing lock...
[2025-01-10 11:16:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 11:16:31] Production.INFO: 57.25 MB #Memory Used#
[2025-01-10 16:17:01] Production.INFO: ==9951== Lock acquired, processing the job...
[2025-01-10 16:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 16:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 16:17:01] Production.INFO: neon service started
[2025-01-10 16:17:01] Production.INFO: neon service started
[2025-01-10 16:17:01] Production.INFO: ==9951== Releasing lock...
[2025-01-10 16:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 16:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:17:02] Production.INFO: ==9953== Lock acquired, processing the job...
[2025-01-10 11:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 11:17:02] Production.INFO: ==9953== Releasing lock...
[2025-01-10 11:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 11:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 16:17:02] Production.INFO: ==9955== Lock acquired, processing the job...
[2025-01-10 16:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 16:17:02] Production.INFO: ==9955== Releasing lock...
[2025-01-10 16:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 16:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 11:17:03] Production.INFO: ==9957== Lock acquired, processing the job...
[2025-01-10 11:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 11:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 11:17:03] Production.INFO: ==9959== Lock acquired, processing the job...
[2025-01-10 11:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 11:17:03] Production.INFO: ==9963== Lock acquired, processing the job...
[2025-01-10 11:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 11:17:03] Production.INFO: ==9965== Lock acquired, processing the job...
[2025-01-10 11:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 11:17:03] Production.INFO: Account Balance Start.
[2025-01-10 11:17:03] Production.INFO: CreateAllLog Start
[2025-01-10 11:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:17:03] Production.INFO: 117
[2025-01-10 11:17:03] Production.INFO: Date 2025-01-08
[2025-01-10 11:17:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:17:03] Production.INFO: Date 2025-01-09
[2025-01-10 11:17:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:17:03] Production.INFO: ==9961== Lock acquired, processing the job...
[2025-01-10 11:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 11:17:03] Production.INFO: Date 2025-01-10
[2025-01-10 11:17:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:17:03] Production.INFO: Total Charge 0
[2025-01-10 11:17:03] Production.INFO: ==9967== Lock acquired, processing the job...
[2025-01-10 11:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 11:17:03] Production.INFO: CreateAllLog End
[2025-01-10 11:17:03] Production.INFO: ==9959== Releasing lock...
[2025-01-10 11:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 11:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 11:17:03] Production.ERROR: done
[2025-01-10 11:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 11:17:03] Production.INFO: count ==21
[2025-01-10 11:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 11:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 11:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 11:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 11:17:03] Production.INFO: count ==21
[2025-01-10 11:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216555') start
[2025-01-10 11:17:04] Production.INFO: Account Balance End.
[2025-01-10 11:17:04] Production.ERROR: done
[2025-01-10 11:17:04] Production.ERROR: CronJobId end 12
[2025-01-10 11:17:04] Production.INFO: ==9963== Releasing lock...
[2025-01-10 11:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 11:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 11:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216555') end
[2025-01-10 11:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 11:17:04] Production.INFO: 1
[2025-01-10 11:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 11:17:04] Production.INFO: ==9967== Releasing lock...
[2025-01-10 11:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 11:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 11:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 08:17:05
[end_date_ymd] => 2025-01-10 11:17:05
[RateCDR] => 1
)
[2025-01-10 11:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 08:17:05' and `end` < '2025-01-10 11:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 11:17:11] Production.ERROR: CronJobId end10
[2025-01-10 11:17:11] Production.INFO: ==9961== Releasing lock...
[2025-01-10 11:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 11:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 11:17:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 11:17:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 11:17:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 11:17:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 11:17:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 11:17:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 11:17:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 11:17:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 11:17:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 11:17:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 11:17:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 11:17:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 11:17:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 11:17:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 11:17:13] Production.INFO: call_cost start
[2025-01-10 11:17:13] Production.INFO: call_cost end
[2025-01-10 11:17:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 11:17:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 11:17:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 11:17:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 11:17:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 11:17:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 11:17:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 11:17:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 11:17:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 11:17:14] Production.INFO: ==9957== Releasing lock...
[2025-01-10 11:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 11:17:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 11:17:29] Production.INFO: count ==3917
[2025-01-10 11:17:30] Production.ERROR: pbx CDR StartTime 2025-01-10 08:17:05 - End Time 2025-01-10 11:17:05
[2025-01-10 11:17:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 11:17:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216556', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:17:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216556', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:17:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216556', 'tblTempVendorCDR_20' ) start
[2025-01-10 11:17:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216556', 'tblTempVendorCDR_20' ) end
[2025-01-10 11:17:30] Production.INFO: ProcessCDR(1,14216556,1,1,2)
[2025-01-10 11:17:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216556,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:17:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216556,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:17:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216556,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:17:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216556,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:17:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216556', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:17:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216556', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:17:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:17:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:17:35] Production.INFO: ==9965== Releasing lock...
[2025-01-10 11:17:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 11:17:35] Production.INFO: 57.25 MB #Memory Used#
[2025-01-10 16:18:01] Production.INFO: ==10023== Lock acquired, processing the job...
[2025-01-10 16:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 16:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 16:18:01] Production.INFO: neon service started
[2025-01-10 16:18:01] Production.INFO: neon service started
[2025-01-10 16:18:01] Production.INFO: ==10023== Releasing lock...
[2025-01-10 16:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 16:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:18:01] Production.INFO: ==10025== Lock acquired, processing the job...
[2025-01-10 11:18:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 16:18:01] Production.INFO: ==10027== Lock acquired, processing the job...
[2025-01-10 16:18:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 16:18:01] Production.INFO: ==10027== Releasing lock...
[2025-01-10 16:18:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 16:18:01] Production.INFO: 25 MB #Memory Used#
[2025-01-10 11:18:02] Production.INFO: ==10025== Releasing lock...
[2025-01-10 11:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 11:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 11:18:02] Production.INFO: ==10035== Lock acquired, processing the job...
[2025-01-10 11:18:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 11:18:02] Production.INFO: ==10039== Lock acquired, processing the job...
[2025-01-10 11:18:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 11:18:02] Production.INFO: Account Balance Start.
[2025-01-10 11:18:02] Production.INFO: CreateAllLog Start
[2025-01-10 11:18:02] Production.INFO: 117
[2025-01-10 11:18:02] Production.INFO: Date 2025-01-08
[2025-01-10 11:18:02] Production.INFO: Reseller ==> 0
[2025-01-10 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-01-10 11:18:03] Production.INFO: Date 2025-01-09
[2025-01-10 11:18:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:18:03] Production.INFO: Date 2025-01-10
[2025-01-10 11:18:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:18:03] Production.INFO: count ==21
[2025-01-10 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-01-10 11:18:03] Production.INFO: ==10029== Lock acquired, processing the job...
[2025-01-10 11:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 11:18:03] Production.INFO: count ==21
[2025-01-10 11:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216558') start
[2025-01-10 11:18:03] Production.INFO: ==10031== Lock acquired, processing the job...
[2025-01-10 11:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 11:18:03] Production.INFO: Total Charge 0
[2025-01-10 11:18:03] Production.INFO: ==10033== Lock acquired, processing the job...
[2025-01-10 11:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 11:18:03] Production.INFO: CreateAllLog End
[2025-01-10 11:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 11:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216558') end
[2025-01-10 11:18:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 11:18:03] Production.INFO: 1
[2025-01-10 11:18:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 11:18:03] Production.INFO: ==10039== Releasing lock...
[2025-01-10 11:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 11:18:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 11:18:03] Production.INFO: ==10037== Lock acquired, processing the job...
[2025-01-10 11:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 11:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 11:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 11:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 11:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 11:18:03] Production.INFO: Account Balance End.
[2025-01-10 11:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:18:03] Production.ERROR: CronJobId end 12
[2025-01-10 11:18:03] Production.INFO: ==10035== Releasing lock...
[2025-01-10 11:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 11:18:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 11:18:03] Production.INFO: ==10031== Releasing lock...
[2025-01-10 11:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 11:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 11:18:03] Production.ERROR: done
[2025-01-10 11:18:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 11:18:03] Production.ERROR: done
[2025-01-10 11:18:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 08:18:04
[end_date_ymd] => 2025-01-10 11:18:04
[RateCDR] => 1
)
[2025-01-10 11:18:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 08:18:04' and `end` < '2025-01-10 11:18:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 11:18:10] Production.ERROR: CronJobId end10
[2025-01-10 11:18:10] Production.INFO: ==10033== Releasing lock...
[2025-01-10 11:18:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 11:18:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 11:18:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 11:18:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 11:18:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 11:18:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 11:18:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 11:18:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 11:18:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 11:18:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 11:18:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 11:18:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 11:18:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 11:18:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 11:18:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 11:18:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 11:18:12] Production.INFO: call_cost start
[2025-01-10 11:18:12] Production.INFO: call_cost end
[2025-01-10 11:18:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 11:18:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 11:18:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 11:18:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 11:18:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 11:18:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 11:18:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 11:18:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 11:18:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 11:18:13] Production.INFO: ==10029== Releasing lock...
[2025-01-10 11:18:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 11:18:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 11:18:23] Production.INFO: count ==3918
[2025-01-10 11:18:24] Production.ERROR: pbx CDR StartTime 2025-01-10 08:18:04 - End Time 2025-01-10 11:18:04
[2025-01-10 11:18:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 11:18:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216561', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:18:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216561', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:18:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216561', 'tblTempVendorCDR_20' ) start
[2025-01-10 11:18:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216561', 'tblTempVendorCDR_20' ) end
[2025-01-10 11:18:24] Production.INFO: ProcessCDR(1,14216561,1,1,2)
[2025-01-10 11:18:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216561,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:18:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216561,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:18:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216561,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:18:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216561,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:18:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216561', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:18:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216561', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:18:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:18:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:18:29] Production.INFO: ==10037== Releasing lock...
[2025-01-10 11:18:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 11:18:29] Production.INFO: 57.25 MB #Memory Used#
[2025-01-10 16:19:01] Production.INFO: ==10092== Lock acquired, processing the job...
[2025-01-10 16:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 16:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 16:19:01] Production.INFO: neon service started
[2025-01-10 16:19:01] Production.INFO: neon service started
[2025-01-10 16:19:01] Production.INFO: ==10092== Releasing lock...
[2025-01-10 16:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 16:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:19:02] Production.INFO: ==10094== Lock acquired, processing the job...
[2025-01-10 11:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 16:19:02] Production.INFO: ==10097== Lock acquired, processing the job...
[2025-01-10 16:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 16:19:02] Production.INFO: ==10097== Releasing lock...
[2025-01-10 16:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 16:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 11:19:02] Production.INFO: ==10094== Releasing lock...
[2025-01-10 11:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 11:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 11:19:03] Production.INFO: ==10099== Lock acquired, processing the job...
[2025-01-10 11:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 11:19:03] Production.INFO: ==10109== Lock acquired, processing the job...
[2025-01-10 11:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 11:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 11:19:03] Production.INFO: ==10107== Lock acquired, processing the job...
[2025-01-10 11:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 11:19:03] Production.INFO: ==10101== Lock acquired, processing the job...
[2025-01-10 11:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 11:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:19:03] Production.INFO: ==10103== Lock acquired, processing the job...
[2025-01-10 11:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 11:19:03] Production.INFO: ==10105== Lock acquired, processing the job...
[2025-01-10 11:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 11:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:19:03] Production.INFO: count ==21
[2025-01-10 11:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 11:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 11:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 11:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 11:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:19:03] Production.INFO: count ==21
[2025-01-10 11:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216563') start
[2025-01-10 11:19:03] Production.INFO: Account Balance Start.
[2025-01-10 11:19:03] Production.INFO: CreateAllLog Start
[2025-01-10 11:19:03] Production.INFO: 117
[2025-01-10 11:19:03] Production.ERROR: done
[2025-01-10 11:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 11:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216563') end
[2025-01-10 11:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 11:19:03] Production.INFO: 1
[2025-01-10 11:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 11:19:03] Production.INFO: ==10109== Releasing lock...
[2025-01-10 11:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 11:19:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 11:19:03] Production.INFO: ==10101== Releasing lock...
[2025-01-10 11:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 11:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 11:19:03] Production.INFO: Date 2025-01-08
[2025-01-10 11:19:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:19:03] Production.INFO: Date 2025-01-09
[2025-01-10 11:19:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:19:03] Production.INFO: Date 2025-01-10
[2025-01-10 11:19:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:19:03] Production.ERROR: done
[2025-01-10 11:19:03] Production.INFO: Total Charge 0
[2025-01-10 11:19:03] Production.INFO: CreateAllLog End
[2025-01-10 11:19:04] Production.INFO: Account Balance End.
[2025-01-10 11:19:04] Production.ERROR: CronJobId end 12
[2025-01-10 11:19:04] Production.INFO: ==10105== Releasing lock...
[2025-01-10 11:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 11:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 11:19:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 08:19:04
[end_date_ymd] => 2025-01-10 11:19:04
[RateCDR] => 1
)
[2025-01-10 11:19:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 08:19:04' and `end` < '2025-01-10 11:19:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 11:19:11] Production.ERROR: CronJobId end10
[2025-01-10 11:19:11] Production.INFO: ==10103== Releasing lock...
[2025-01-10 11:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 11:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 11:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 11:19:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 11:19:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 11:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 11:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 11:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 11:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 11:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 11:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 11:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 11:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 11:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 11:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 11:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 11:19:13] Production.INFO: call_cost start
[2025-01-10 11:19:13] Production.INFO: call_cost end
[2025-01-10 11:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 11:19:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 11:19:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 11:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 11:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 11:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 11:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 11:19:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 11:19:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 11:19:14] Production.INFO: ==10099== Releasing lock...
[2025-01-10 11:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 11:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 11:19:34] Production.INFO: count ==3919
[2025-01-10 11:19:35] Production.ERROR: pbx CDR StartTime 2025-01-10 08:19:04 - End Time 2025-01-10 11:19:04
[2025-01-10 11:19:35] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 11:19:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216566', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:19:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216566', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:19:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216566', 'tblTempVendorCDR_20' ) start
[2025-01-10 11:19:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216566', 'tblTempVendorCDR_20' ) end
[2025-01-10 11:19:35] Production.INFO: ProcessCDR(1,14216566,1,1,2)
[2025-01-10 11:19:35] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216566,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:19:38] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216566,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:19:38] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216566,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:19:40] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216566,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:19:40] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216566', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:19:40] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216566', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:19:40] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:19:40] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:19:40] Production.INFO: ==10107== Releasing lock...
[2025-01-10 11:19:40] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 11:19:40] Production.INFO: 57.25 MB #Memory Used#
[2025-01-10 16:20:02] Production.INFO: ==10164== Lock acquired, processing the job...
[2025-01-10 16:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 16:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 16:20:02] Production.INFO: neon service started
[2025-01-10 16:20:02] Production.INFO: neon service started
[2025-01-10 16:20:02] Production.INFO: ==10164== Releasing lock...
[2025-01-10 16:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 16:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:20:02] Production.INFO: ==10166== Lock acquired, processing the job...
[2025-01-10 11:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 16:20:02] Production.INFO: ==10168== Lock acquired, processing the job...
[2025-01-10 16:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 16:20:02] Production.INFO: ==10168== Releasing lock...
[2025-01-10 16:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 16:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 11:20:03] Production.INFO: ==10166== Releasing lock...
[2025-01-10 11:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 11:20:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 11:20:04] Production.INFO: ==10175== Lock acquired, processing the job...
[2025-01-10 11:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 11:20:04] Production.INFO: ==10173== Lock acquired, processing the job...
[2025-01-10 11:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 11:20:04] Production.INFO: ==10181== Lock acquired, processing the job...
[2025-01-10 11:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 11:20:04] Production.INFO: ==10185== Lock acquired, processing the job...
[2025-01-10 11:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 11:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:20:04] Production.INFO: ==10171== Lock acquired, processing the job...
[2025-01-10 11:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 11:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:20:04] Production.INFO: ==10179== Lock acquired, processing the job...
[2025-01-10 11:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 11:20:04] Production.INFO: count ==21
[2025-01-10 11:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:20:04] Production.INFO: count ==21
[2025-01-10 11:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 11:20:04] Production.INFO: ==10177== Lock acquired, processing the job...
[2025-01-10 11:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 11:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216568') start
[2025-01-10 11:20:04] Production.INFO: ==10175== Releasing lock...
[2025-01-10 11:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 11:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 11:20:04] Production.INFO: Account Balance Start.
[2025-01-10 11:20:04] Production.INFO: ==10183== Lock acquired, processing the job...
[2025-01-10 11:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 11:20:04] Production.INFO: CreateAllLog Start
[2025-01-10 11:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 11:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 11:20:04] Production.ERROR: CronJob PID - 10173
[2025-01-10 11:20:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-10 11:20:04] Production.ERROR: CronJob ID - 5
[2025-01-10 11:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 11:20:04] Production.ERROR: CronJob Last Run Time 2025-01-10 11:20:00
[2025-01-10 11:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 11:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 11:20:04] Production.INFO: 117
[2025-01-10 11:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 11:20:04] Production.ERROR: CronJob PID - 10177
[2025-01-10 11:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 11:20:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-10 11:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 11:20:04] Production.ERROR: CronJob ID - 10
[2025-01-10 11:20:04] Production.ERROR: CronJob Last Run Time 2025-01-10 11:20:00
[2025-01-10 11:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 11:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 11:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 11:20:04] Production.ERROR: CronJob PID - 10179
[2025-01-10 11:20:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-10 11:20:04] Production.ERROR: CronJob ID - 12
[2025-01-10 11:20:04] Production.ERROR: CronJob Last Run Time 2025-01-10 11:20:00
[2025-01-10 11:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 11:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 11:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 11:20:04] Production.ERROR: CronJob PID - 10181
[2025-01-10 11:20:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-10 11:20:04] Production.ERROR: CronJob ID - 16
[2025-01-10 11:20:04] Production.ERROR: CronJob Last Run Time 2025-01-10 11:20:00
[2025-01-10 11:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 11:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 11:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 11:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 11:20:04] Production.ERROR: CronJob PID - 10185
[2025-01-10 11:20:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-10 11:20:04] Production.ERROR: CronJob ID - 19
[2025-01-10 11:20:04] Production.ERROR: CronJob Last Run Time 2025-01-10 11:20:00
[2025-01-10 11:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 11:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 11:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216568') end
[2025-01-10 11:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 11:20:04] Production.INFO: 1
[2025-01-10 11:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 11:20:04] Production.INFO: Date 2025-01-08
[2025-01-10 11:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 11:20:04] Production.INFO: ==10171== Releasing lock...
[2025-01-10 11:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 11:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 11:20:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:20:04] Production.ERROR: done
[2025-01-10 11:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 11:20:04] Production.INFO: ==10185== Releasing lock...
[2025-01-10 11:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 11:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 11:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:20:04] Production.INFO: Date 2025-01-09
[2025-01-10 11:20:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:20:04] Production.ERROR: done
[2025-01-10 11:20:04] Production.ERROR: done
[2025-01-10 11:20:04] Production.INFO: Date 2025-01-10
[2025-01-10 11:20:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:20:04] Production.INFO: Total Charge 0
[2025-01-10 11:20:05] Production.INFO: CreateAllLog End
[2025-01-10 11:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 11:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14216572', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 11:20:05] Production.INFO: Account Balance End.
[2025-01-10 11:20:05] Production.ERROR: CronJobId end 12
[2025-01-10 11:20:05] Production.INFO: ==10179== Releasing lock...
[2025-01-10 11:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 11:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 11:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 08:20:05
[end_date_ymd] => 2025-01-10 11:20:05
[RateCDR] => 1
)
[2025-01-10 11:20:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 08:20:05' and `end` < '2025-01-10 11:20:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 11:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14216572', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 11:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 11:20:08] Production.INFO: ProcessCDR(1,14216572,1,1,2)
[2025-01-10 11:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14216572,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14216572,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:20:08] Production.INFO: ==10183== Releasing lock...
[2025-01-10 11:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 11:20:08] Production.INFO: 26 MB #Memory Used#
[2025-01-10 11:20:14] Production.ERROR: CronJobId end10
[2025-01-10 11:20:14] Production.INFO: ==10177== Releasing lock...
[2025-01-10 11:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 11:20:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 11:20:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 11:20:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 11:20:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 11:20:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 11:20:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 11:20:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 11:20:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 11:20:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 11:20:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 11:20:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 11:20:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 11:20:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 11:20:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 11:20:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 11:20:14] Production.INFO: call_cost start
[2025-01-10 11:20:14] Production.INFO: call_cost end
[2025-01-10 11:20:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 11:20:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 11:20:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 11:20:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 11:20:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 11:20:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 11:20:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 11:20:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 11:20:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 11:20:15] Production.INFO: ==10173== Releasing lock...
[2025-01-10 11:20:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 11:20:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 11:20:28] Production.INFO: count ==3924
[2025-01-10 11:20:29] Production.ERROR: pbx CDR StartTime 2025-01-10 08:20:05 - End Time 2025-01-10 11:20:05
[2025-01-10 11:20:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 11:20:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216571', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:20:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216571', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:20:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216571', 'tblTempVendorCDR_20' ) start
[2025-01-10 11:20:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216571', 'tblTempVendorCDR_20' ) end
[2025-01-10 11:20:30] Production.INFO: ProcessCDR(1,14216571,1,1,2)
[2025-01-10 11:20:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216571,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:20:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216571,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:20:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216571,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:20:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216571,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:20:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216571', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:20:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216571', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:20:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:20:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:20:34] Production.INFO: ==10181== Releasing lock...
[2025-01-10 11:20:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 11:20:34] Production.INFO: 57.5 MB #Memory Used#
[2025-01-10 16:21:01] Production.INFO: ==10238== Lock acquired, processing the job...
[2025-01-10 16:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 16:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 16:21:01] Production.INFO: neon service started
[2025-01-10 16:21:01] Production.INFO: neon service started
[2025-01-10 16:21:01] Production.INFO: ==10238== Releasing lock...
[2025-01-10 16:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 16:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:21:01] Production.INFO: ==10240== Lock acquired, processing the job...
[2025-01-10 11:21:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 16:21:02] Production.INFO: ==10242== Lock acquired, processing the job...
[2025-01-10 16:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 16:21:02] Production.INFO: ==10242== Releasing lock...
[2025-01-10 16:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 16:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 11:21:02] Production.INFO: ==10240== Releasing lock...
[2025-01-10 11:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 11:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 11:21:03] Production.INFO: ==10246== Lock acquired, processing the job...
[2025-01-10 11:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 11:21:03] Production.INFO: ==10244== Lock acquired, processing the job...
[2025-01-10 11:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 11:21:03] Production.INFO: ==10248== Lock acquired, processing the job...
[2025-01-10 11:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 11:21:03] Production.INFO: ==10250== Lock acquired, processing the job...
[2025-01-10 11:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 11:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 11:21:03] Production.INFO: ==10252== Lock acquired, processing the job...
[2025-01-10 11:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 11:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 11:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 11:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 11:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 11:21:03] Production.INFO: Account Balance Start.
[2025-01-10 11:21:03] Production.INFO: CreateAllLog Start
[2025-01-10 11:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:21:03] Production.INFO: 117
[2025-01-10 11:21:03] Production.INFO: Date 2025-01-08
[2025-01-10 11:21:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:21:03] Production.INFO: ==10254== Lock acquired, processing the job...
[2025-01-10 11:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 11:21:03] Production.INFO: Date 2025-01-09
[2025-01-10 11:21:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:21:03] Production.INFO: Date 2025-01-10
[2025-01-10 11:21:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:21:03] Production.INFO: Total Charge 0
[2025-01-10 11:21:03] Production.INFO: ==10246== Releasing lock...
[2025-01-10 11:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 11:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 11:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:21:03] Production.INFO: CreateAllLog End
[2025-01-10 11:21:03] Production.ERROR: done
[2025-01-10 11:21:03] Production.INFO: count ==21
[2025-01-10 11:21:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 11:21:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:21:03] Production.INFO: count ==21
[2025-01-10 11:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216576') start
[2025-01-10 11:21:04] Production.ERROR: done
[2025-01-10 11:21:04] Production.INFO: Account Balance End.
[2025-01-10 11:21:04] Production.ERROR: CronJobId end 12
[2025-01-10 11:21:04] Production.INFO: ==10250== Releasing lock...
[2025-01-10 11:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 11:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 11:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216576') end
[2025-01-10 11:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 11:21:04] Production.INFO: 1
[2025-01-10 11:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 11:21:04] Production.INFO: ==10254== Releasing lock...
[2025-01-10 11:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 11:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 11:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 08:21:05
[end_date_ymd] => 2025-01-10 11:21:05
[RateCDR] => 1
)
[2025-01-10 11:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 08:21:05' and `end` < '2025-01-10 11:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 11:21:11] Production.ERROR: CronJobId end10
[2025-01-10 11:21:11] Production.INFO: ==10248== Releasing lock...
[2025-01-10 11:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 11:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 11:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 11:21:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 11:21:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 11:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 11:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 11:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 11:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 11:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 11:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 11:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 11:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 11:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 11:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 11:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 11:21:13] Production.INFO: call_cost start
[2025-01-10 11:21:13] Production.INFO: call_cost end
[2025-01-10 11:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 11:21:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 11:21:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 11:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 11:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 11:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 11:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 11:21:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 11:21:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 11:21:14] Production.INFO: ==10244== Releasing lock...
[2025-01-10 11:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 11:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 11:21:24] Production.INFO: count ==4009
[2025-01-10 11:21:26] Production.ERROR: pbx CDR StartTime 2025-01-10 08:21:05 - End Time 2025-01-10 11:21:05
[2025-01-10 11:21:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 11:21:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216577', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:21:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216577', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:21:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216577', 'tblTempVendorCDR_20' ) start
[2025-01-10 11:21:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216577', 'tblTempVendorCDR_20' ) end
[2025-01-10 11:21:26] Production.INFO: ProcessCDR(1,14216577,1,1,2)
[2025-01-10 11:21:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216577,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:21:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216577,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:21:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216577,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:21:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216577,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:21:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216577', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:21:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216577', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:21:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:21:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:21:31] Production.INFO: ==10252== Releasing lock...
[2025-01-10 11:21:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 11:21:31] Production.INFO: 58 MB #Memory Used#
[2025-01-10 16:22:02] Production.INFO: ==10308== Lock acquired, processing the job...
[2025-01-10 16:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 16:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 16:22:02] Production.INFO: neon service started
[2025-01-10 16:22:02] Production.INFO: neon service started
[2025-01-10 16:22:02] Production.INFO: ==10308== Releasing lock...
[2025-01-10 16:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 16:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:22:02] Production.INFO: ==10310== Lock acquired, processing the job...
[2025-01-10 11:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 11:22:02] Production.INFO: ==10310== Releasing lock...
[2025-01-10 11:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 11:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 16:22:02] Production.INFO: ==10312== Lock acquired, processing the job...
[2025-01-10 16:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 16:22:02] Production.INFO: ==10312== Releasing lock...
[2025-01-10 16:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 16:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 11:22:03] Production.INFO: ==10319== Lock acquired, processing the job...
[2025-01-10 11:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 11:22:03] Production.INFO: ==10317== Lock acquired, processing the job...
[2025-01-10 11:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 11:22:03] Production.INFO: ==10315== Lock acquired, processing the job...
[2025-01-10 11:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 11:22:03] Production.INFO: ==10325== Lock acquired, processing the job...
[2025-01-10 11:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 11:22:03] Production.INFO: ==10321== Lock acquired, processing the job...
[2025-01-10 11:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 11:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 11:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 11:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 11:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 11:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 11:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:22:03] Production.INFO: ==10323== Lock acquired, processing the job...
[2025-01-10 11:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 11:22:03] Production.INFO: count ==21
[2025-01-10 11:22:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:22:03] Production.INFO: count ==21
[2025-01-10 11:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216579') start
[2025-01-10 11:22:03] Production.INFO: Account Balance Start.
[2025-01-10 11:22:03] Production.INFO: CreateAllLog Start
[2025-01-10 11:22:03] Production.INFO: 117
[2025-01-10 11:22:04] Production.INFO: Date 2025-01-08
[2025-01-10 11:22:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:22:04] Production.INFO: ==10317== Releasing lock...
[2025-01-10 11:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 11:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 11:22:04] Production.INFO: Date 2025-01-09
[2025-01-10 11:22:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:22:04] Production.INFO: Date 2025-01-10
[2025-01-10 11:22:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216579') end
[2025-01-10 11:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 11:22:04] Production.INFO: 1
[2025-01-10 11:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 11:22:04] Production.INFO: Total Charge 0
[2025-01-10 11:22:04] Production.INFO: CreateAllLog End
[2025-01-10 11:22:04] Production.INFO: ==10325== Releasing lock...
[2025-01-10 11:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 11:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 11:22:04] Production.ERROR: done
[2025-01-10 11:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 11:22:04] Production.INFO: Account Balance End.
[2025-01-10 11:22:04] Production.ERROR: done
[2025-01-10 11:22:04] Production.ERROR: CronJobId end 12
[2025-01-10 11:22:04] Production.INFO: ==10321== Releasing lock...
[2025-01-10 11:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 11:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 11:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 08:22:05
[end_date_ymd] => 2025-01-10 11:22:05
[RateCDR] => 1
)
[2025-01-10 11:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 08:22:05' and `end` < '2025-01-10 11:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 11:22:11] Production.ERROR: CronJobId end10
[2025-01-10 11:22:11] Production.INFO: ==10319== Releasing lock...
[2025-01-10 11:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 11:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 11:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 11:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 11:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 11:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 11:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 11:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 11:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 11:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 11:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 11:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 11:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 11:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 11:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 11:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 11:22:13] Production.INFO: call_cost start
[2025-01-10 11:22:13] Production.INFO: call_cost end
[2025-01-10 11:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 11:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 11:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 11:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 11:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 11:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 11:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 11:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 11:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 11:22:14] Production.INFO: ==10315== Releasing lock...
[2025-01-10 11:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 11:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 11:22:22] Production.INFO: count ==4033
[2025-01-10 11:22:24] Production.ERROR: pbx CDR StartTime 2025-01-10 08:22:05 - End Time 2025-01-10 11:22:05
[2025-01-10 11:22:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 11:22:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216582', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:22:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216582', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:22:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216582', 'tblTempVendorCDR_20' ) start
[2025-01-10 11:22:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216582', 'tblTempVendorCDR_20' ) end
[2025-01-10 11:22:24] Production.INFO: ProcessCDR(1,14216582,1,1,2)
[2025-01-10 11:22:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216582,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:22:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216582,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:22:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216582,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:22:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216582,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:22:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216582', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:22:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216582', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:22:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:22:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:22:28] Production.INFO: ==10323== Releasing lock...
[2025-01-10 11:22:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 11:22:28] Production.INFO: 58 MB #Memory Used#
[2025-01-10 16:23:01] Production.INFO: ==10384== Lock acquired, processing the job...
[2025-01-10 16:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 16:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 16:23:01] Production.INFO: neon service started
[2025-01-10 16:23:01] Production.INFO: neon service started
[2025-01-10 16:23:01] Production.INFO: ==10384== Releasing lock...
[2025-01-10 16:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 16:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 16:23:01] Production.INFO: ==10388== Lock acquired, processing the job...
[2025-01-10 16:23:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 16:23:01] Production.INFO: ==10388== Releasing lock...
[2025-01-10 16:23:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 16:23:01] Production.INFO: 25 MB #Memory Used#
[2025-01-10 11:23:01] Production.INFO: ==10386== Lock acquired, processing the job...
[2025-01-10 11:23:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 11:23:02] Production.INFO: ==10386== Releasing lock...
[2025-01-10 11:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 11:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 11:23:02] Production.INFO: ==10390== Lock acquired, processing the job...
[2025-01-10 11:23:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 11:23:02] Production.INFO: ==10392== Lock acquired, processing the job...
[2025-01-10 11:23:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 11:23:02] Production.INFO: ==10398== Lock acquired, processing the job...
[2025-01-10 11:23:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 11:23:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 11:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:23:03] Production.INFO: ==10392== Releasing lock...
[2025-01-10 11:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 11:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 11:23:03] Production.INFO: ==10394== Lock acquired, processing the job...
[2025-01-10 11:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 11:23:03] Production.INFO: ==10396== Lock acquired, processing the job...
[2025-01-10 11:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 11:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 11:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 11:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 11:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 11:23:03] Production.INFO: ==10400== Lock acquired, processing the job...
[2025-01-10 11:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 11:23:03] Production.INFO: Account Balance Start.
[2025-01-10 11:23:03] Production.INFO: CreateAllLog Start
[2025-01-10 11:23:03] Production.INFO: 117
[2025-01-10 11:23:03] Production.INFO: Date 2025-01-08
[2025-01-10 11:23:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:23:03] Production.INFO: Date 2025-01-09
[2025-01-10 11:23:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:23:03] Production.INFO: Date 2025-01-10
[2025-01-10 11:23:03] Production.ERROR: done
[2025-01-10 11:23:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 11:23:03] Production.INFO: Total Charge 0
[2025-01-10 11:23:03] Production.INFO: count ==21
[2025-01-10 11:23:03] Production.INFO: CreateAllLog End
[2025-01-10 11:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:23:03] Production.INFO: count ==21
[2025-01-10 11:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216586') start
[2025-01-10 11:23:03] Production.INFO: Account Balance End.
[2025-01-10 11:23:03] Production.ERROR: done
[2025-01-10 11:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216586') end
[2025-01-10 11:23:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 11:23:03] Production.INFO: 1
[2025-01-10 11:23:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 11:23:03] Production.ERROR: CronJobId end 12
[2025-01-10 11:23:03] Production.INFO: ==10396== Releasing lock...
[2025-01-10 11:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 11:23:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 11:23:04] Production.INFO: ==10400== Releasing lock...
[2025-01-10 11:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 11:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 11:23:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 08:23:04
[end_date_ymd] => 2025-01-10 11:23:04
[RateCDR] => 1
)
[2025-01-10 11:23:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 08:23:04' and `end` < '2025-01-10 11:23:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 11:23:11] Production.ERROR: CronJobId end10
[2025-01-10 11:23:11] Production.INFO: ==10394== Releasing lock...
[2025-01-10 11:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 11:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 11:23:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 11:23:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 11:23:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 11:23:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 11:23:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 11:23:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 11:23:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 11:23:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 11:23:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 11:23:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 11:23:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 11:23:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 11:23:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 11:23:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 11:23:12] Production.INFO: call_cost start
[2025-01-10 11:23:12] Production.INFO: call_cost end
[2025-01-10 11:23:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 11:23:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 11:23:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 11:23:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 11:23:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 11:23:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 11:23:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 11:23:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 11:23:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 11:23:13] Production.INFO: ==10390== Releasing lock...
[2025-01-10 11:23:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 11:23:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 11:23:18] Production.INFO: count ==4027
[2025-01-10 11:23:19] Production.ERROR: pbx CDR StartTime 2025-01-10 08:23:04 - End Time 2025-01-10 11:23:04
[2025-01-10 11:23:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 11:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216587', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:23:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216587', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:23:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216587', 'tblTempVendorCDR_20' ) start
[2025-01-10 11:23:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216587', 'tblTempVendorCDR_20' ) end
[2025-01-10 11:23:20] Production.INFO: ProcessCDR(1,14216587,1,1,2)
[2025-01-10 11:23:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216587,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:23:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216587,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:23:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216587,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:23:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216587,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216587', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216587', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:23:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:23:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:23:22] Production.INFO: ==10398== Releasing lock...
[2025-01-10 11:23:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 11:23:22] Production.INFO: 58 MB #Memory Used#
[2025-01-10 16:24:01] Production.INFO: ==10460== Lock acquired, processing the job...
[2025-01-10 16:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 16:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 16:24:01] Production.INFO: neon service started
[2025-01-10 16:24:01] Production.INFO: neon service started
[2025-01-10 16:24:01] Production.INFO: ==10460== Releasing lock...
[2025-01-10 16:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 16:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:24:02] Production.INFO: ==10462== Lock acquired, processing the job...
[2025-01-10 11:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 16:24:02] Production.INFO: ==10464== Lock acquired, processing the job...
[2025-01-10 16:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 16:24:02] Production.INFO: ==10464== Releasing lock...
[2025-01-10 16:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 16:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 11:24:03] Production.INFO: ==10462== Releasing lock...
[2025-01-10 11:24:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 11:24:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 11:24:03] Production.INFO: ==10471== Lock acquired, processing the job...
[2025-01-10 11:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 11:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 11:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 11:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 11:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 11:24:03] Production.INFO: ==10467== Lock acquired, processing the job...
[2025-01-10 11:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 11:24:03] Production.INFO: ==10477== Lock acquired, processing the job...
[2025-01-10 11:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 11:24:03] Production.INFO: ==10469== Lock acquired, processing the job...
[2025-01-10 11:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 11:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 11:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:24:04] Production.INFO: count ==21
[2025-01-10 11:24:04] Production.INFO: ==10473== Lock acquired, processing the job...
[2025-01-10 11:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 11:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:24:04] Production.INFO: count ==21
[2025-01-10 11:24:04] Production.INFO: ==10475== Lock acquired, processing the job...
[2025-01-10 11:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 11:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216589') start
[2025-01-10 11:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:24:04] Production.INFO: Account Balance Start.
[2025-01-10 11:24:04] Production.INFO: CreateAllLog Start
[2025-01-10 11:24:04] Production.INFO: 117
[2025-01-10 11:24:04] Production.INFO: Date 2025-01-08
[2025-01-10 11:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216589') end
[2025-01-10 11:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 11:24:04] Production.INFO: 1
[2025-01-10 11:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 11:24:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:24:04] Production.INFO: Date 2025-01-09
[2025-01-10 11:24:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:24:04] Production.INFO: Date 2025-01-10
[2025-01-10 11:24:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:24:04] Production.INFO: Total Charge 0
[2025-01-10 11:24:04] Production.INFO: CreateAllLog End
[2025-01-10 11:24:04] Production.INFO: ==10477== Releasing lock...
[2025-01-10 11:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 11:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 11:24:04] Production.INFO: ==10469== Releasing lock...
[2025-01-10 11:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 11:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 11:24:04] Production.INFO: Account Balance End.
[2025-01-10 11:24:04] Production.ERROR: done
[2025-01-10 11:24:04] Production.ERROR: CronJobId end 12
[2025-01-10 11:24:04] Production.INFO: ==10473== Releasing lock...
[2025-01-10 11:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 11:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 11:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 11:24:04] Production.ERROR: done
[2025-01-10 11:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 08:24:05
[end_date_ymd] => 2025-01-10 11:24:05
[RateCDR] => 1
)
[2025-01-10 11:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 08:24:05' and `end` < '2025-01-10 11:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 11:24:11] Production.ERROR: CronJobId end10
[2025-01-10 11:24:11] Production.INFO: ==10471== Releasing lock...
[2025-01-10 11:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 11:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 11:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 11:24:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 11:24:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 11:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 11:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 11:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 11:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 11:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 11:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 11:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 11:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 11:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 11:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 11:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 11:24:13] Production.INFO: call_cost start
[2025-01-10 11:24:13] Production.INFO: call_cost end
[2025-01-10 11:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 11:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 11:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 11:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 11:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 11:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 11:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 11:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 11:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 11:24:14] Production.INFO: ==10467== Releasing lock...
[2025-01-10 11:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 11:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 11:24:25] Production.INFO: count ==4040
[2025-01-10 11:24:27] Production.ERROR: pbx CDR StartTime 2025-01-10 08:24:05 - End Time 2025-01-10 11:24:05
[2025-01-10 11:24:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 11:24:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216592', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:24:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216592', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:24:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216592', 'tblTempVendorCDR_20' ) start
[2025-01-10 11:24:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216592', 'tblTempVendorCDR_20' ) end
[2025-01-10 11:24:27] Production.INFO: ProcessCDR(1,14216592,1,1,2)
[2025-01-10 11:24:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216592,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:24:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216592,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:24:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216592,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:24:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216592,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:24:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216592', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:24:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216592', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:24:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:24:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:24:32] Production.INFO: ==10475== Releasing lock...
[2025-01-10 11:24:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 11:24:32] Production.INFO: 58.25 MB #Memory Used#
[2025-01-10 16:25:01] Production.INFO: ==10532== Lock acquired, processing the job...
[2025-01-10 16:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 16:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 16:25:01] Production.INFO: neon service started
[2025-01-10 16:25:01] Production.INFO: neon service started
[2025-01-10 16:25:01] Production.INFO: ==10532== Releasing lock...
[2025-01-10 16:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 16:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 16:25:01] Production.INFO: ==10536== Lock acquired, processing the job...
[2025-01-10 16:25:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 16:25:01] Production.INFO: ==10536== Releasing lock...
[2025-01-10 16:25:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 16:25:01] Production.INFO: 25 MB #Memory Used#
[2025-01-10 11:25:01] Production.INFO: ==10534== Lock acquired, processing the job...
[2025-01-10 11:25:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 11:25:02] Production.INFO: ==10534== Releasing lock...
[2025-01-10 11:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 11:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 11:25:02] Production.INFO: ==10540== Lock acquired, processing the job...
[2025-01-10 11:25:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 11:25:02] Production.INFO: ==10544== Lock acquired, processing the job...
[2025-01-10 11:25:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 11:25:02] Production.INFO: ==10546== Lock acquired, processing the job...
[2025-01-10 11:25:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 11:25:02] Production.INFO: Account Balance Start.
[2025-01-10 11:25:02] Production.INFO: CreateAllLog Start
[2025-01-10 11:25:02] Production.INFO: 117
[2025-01-10 11:25:02] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:25:02] Production.INFO: Date 2025-01-08
[2025-01-10 11:25:02] Production.INFO: Reseller ==> 0
[2025-01-10 11:25:03] Production.INFO: Date 2025-01-09
[2025-01-10 11:25:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:25:03] Production.INFO: ==10538== Lock acquired, processing the job...
[2025-01-10 11:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 11:25:03] Production.INFO: ==10549== Lock acquired, processing the job...
[2025-01-10 11:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 11:25:03] Production.INFO: Date 2025-01-10
[2025-01-10 11:25:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:25:03] Production.INFO: ==10542== Lock acquired, processing the job...
[2025-01-10 11:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 11:25:03] Production.INFO: ==10540== Releasing lock...
[2025-01-10 11:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 11:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 11:25:03] Production.INFO: Total Charge 0
[2025-01-10 11:25:03] Production.INFO: CreateAllLog End
[2025-01-10 11:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 11:25:03] Production.INFO: count ==21
[2025-01-10 11:25:03] Production.ERROR: done
[2025-01-10 11:25:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 11:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:25:03] Production.INFO: count ==21
[2025-01-10 11:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216595') start
[2025-01-10 11:25:03] Production.INFO: Account Balance End.
[2025-01-10 11:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 11:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 11:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 11:25:03] Production.ERROR: CronJobId end 12
[2025-01-10 11:25:03] Production.INFO: ==10544== Releasing lock...
[2025-01-10 11:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 11:25:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 11:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 11:25:03] Production.ERROR: done
[2025-01-10 11:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216595') end
[2025-01-10 11:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 11:25:03] Production.INFO: 1
[2025-01-10 11:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 11:25:03] Production.INFO: ==10549== Releasing lock...
[2025-01-10 11:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 11:25:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 11:25:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 08:25:04
[end_date_ymd] => 2025-01-10 11:25:04
[RateCDR] => 1
)
[2025-01-10 11:25:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 08:25:04' and `end` < '2025-01-10 11:25:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 11:25:10] Production.ERROR: CronJobId end10
[2025-01-10 11:25:10] Production.INFO: ==10542== Releasing lock...
[2025-01-10 11:25:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 11:25:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 11:25:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 11:25:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 11:25:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 11:25:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 11:25:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 11:25:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 11:25:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 11:25:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 11:25:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 11:25:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 11:25:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 11:25:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 11:25:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 11:25:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 11:25:12] Production.INFO: call_cost start
[2025-01-10 11:25:12] Production.INFO: call_cost end
[2025-01-10 11:25:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 11:25:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 11:25:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 11:25:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 11:25:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 11:25:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 11:25:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 11:25:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 11:25:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 11:25:13] Production.INFO: ==10538== Releasing lock...
[2025-01-10 11:25:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 11:25:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 11:25:23] Production.INFO: count ==4050
[2025-01-10 11:25:25] Production.ERROR: pbx CDR StartTime 2025-01-10 08:25:04 - End Time 2025-01-10 11:25:04
[2025-01-10 11:25:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 11:25:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216597', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:25:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216597', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:25:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216597', 'tblTempVendorCDR_20' ) start
[2025-01-10 11:25:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216597', 'tblTempVendorCDR_20' ) end
[2025-01-10 11:25:25] Production.INFO: ProcessCDR(1,14216597,1,1,2)
[2025-01-10 11:25:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216597,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:25:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216597,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:25:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216597,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:25:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216597,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:25:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216597', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:25:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216597', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:25:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:25:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:25:30] Production.INFO: ==10546== Releasing lock...
[2025-01-10 11:25:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 11:25:30] Production.INFO: 58.25 MB #Memory Used#
[2025-01-10 16:26:01] Production.INFO: ==10605== Lock acquired, processing the job...
[2025-01-10 16:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 16:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 16:26:01] Production.INFO: neon service started
[2025-01-10 16:26:01] Production.INFO: neon service started
[2025-01-10 16:26:01] Production.INFO: ==10605== Releasing lock...
[2025-01-10 16:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 16:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:26:02] Production.INFO: ==10607== Lock acquired, processing the job...
[2025-01-10 11:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 16:26:02] Production.INFO: ==10609== Lock acquired, processing the job...
[2025-01-10 16:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 11:26:02] Production.INFO: ==10607== Releasing lock...
[2025-01-10 11:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 11:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 16:26:02] Production.INFO: ==10609== Releasing lock...
[2025-01-10 16:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 16:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 11:26:03] Production.INFO: ==10617== Lock acquired, processing the job...
[2025-01-10 11:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 11:26:03] Production.INFO: ==10611== Lock acquired, processing the job...
[2025-01-10 11:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 11:26:03] Production.INFO: ==10619== Lock acquired, processing the job...
[2025-01-10 11:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 11:26:03] Production.INFO: Account Balance Start.
[2025-01-10 11:26:03] Production.INFO: CreateAllLog Start
[2025-01-10 11:26:03] Production.INFO: 117
[2025-01-10 11:26:03] Production.INFO: Date 2025-01-08
[2025-01-10 11:26:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:26:03] Production.INFO: ==10613== Lock acquired, processing the job...
[2025-01-10 11:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 11:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 11:26:03] Production.INFO: ==10615== Lock acquired, processing the job...
[2025-01-10 11:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 11:26:03] Production.INFO: Date 2025-01-09
[2025-01-10 11:26:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:26:03] Production.INFO: ==10621== Lock acquired, processing the job...
[2025-01-10 11:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 11:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 11:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 11:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 11:26:03] Production.INFO: Date 2025-01-10
[2025-01-10 11:26:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 11:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:26:03] Production.INFO: Total Charge 0
[2025-01-10 11:26:03] Production.INFO: count ==21
[2025-01-10 11:26:03] Production.INFO: CreateAllLog End
[2025-01-10 11:26:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:26:03] Production.INFO: count ==21
[2025-01-10 11:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216600') start
[2025-01-10 11:26:03] Production.ERROR: done
[2025-01-10 11:26:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 11:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216600') end
[2025-01-10 11:26:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 11:26:03] Production.INFO: 1
[2025-01-10 11:26:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 11:26:03] Production.ERROR: done
[2025-01-10 11:26:03] Production.INFO: ==10613== Releasing lock...
[2025-01-10 11:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 11:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 11:26:03] Production.INFO: ==10621== Releasing lock...
[2025-01-10 11:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 11:26:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 11:26:04] Production.INFO: Account Balance End.
[2025-01-10 11:26:04] Production.ERROR: CronJobId end 12
[2025-01-10 11:26:04] Production.INFO: ==10617== Releasing lock...
[2025-01-10 11:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 11:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 11:26:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 08:26:04
[end_date_ymd] => 2025-01-10 11:26:04
[RateCDR] => 1
)
[2025-01-10 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-01-10 08:26:04' and `end` < '2025-01-10 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-01-10 11:26:11] Production.ERROR: CronJobId end10
[2025-01-10 11:26:11] Production.INFO: ==10615== Releasing lock...
[2025-01-10 11:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 11:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 11:26:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 11:26:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 11:26:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 11:26:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 11:26:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 11:26:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 11:26:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 11:26:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 11:26:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 11:26:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 11:26:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 11:26:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 11:26:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 11:26:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 11:26:12] Production.INFO: call_cost start
[2025-01-10 11:26:12] Production.INFO: call_cost end
[2025-01-10 11:26:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 11:26:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 11:26:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 11:26:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 11:26:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 11:26:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 11:26:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 11:26:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 11:26:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 11:26:13] Production.INFO: ==10611== Releasing lock...
[2025-01-10 11:26:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 11:26:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 11:26:19] Production.INFO: count ==4065
[2025-01-10 11:26:21] Production.ERROR: pbx CDR StartTime 2025-01-10 08:26:04 - End Time 2025-01-10 11:26:04
[2025-01-10 11:26:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 11:26:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216602', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:26:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216602', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:26:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216602', 'tblTempVendorCDR_20' ) start
[2025-01-10 11:26:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216602', 'tblTempVendorCDR_20' ) end
[2025-01-10 11:26:21] Production.INFO: ProcessCDR(1,14216602,1,1,2)
[2025-01-10 11:26:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216602,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:26:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216602,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:26:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216602,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:26:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216602,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:26:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216602', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:26:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216602', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:26:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:26:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:26:25] Production.INFO: ==10619== Releasing lock...
[2025-01-10 11:26:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 11:26:25] Production.INFO: 58.25 MB #Memory Used#
[2025-01-10 16:27:02] Production.INFO: ==10685== Lock acquired, processing the job...
[2025-01-10 16:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 16:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 16:27:02] Production.INFO: neon service started
[2025-01-10 16:27:02] Production.INFO: neon service started
[2025-01-10 16:27:02] Production.INFO: ==10685== Releasing lock...
[2025-01-10 16:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 16:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 16:27:02] Production.INFO: ==10689== Lock acquired, processing the job...
[2025-01-10 16:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 16:27:02] Production.INFO: ==10689== Releasing lock...
[2025-01-10 16:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 16:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 11:27:02] Production.INFO: ==10687== Lock acquired, processing the job...
[2025-01-10 11:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 11:27:03] Production.INFO: ==10687== Releasing lock...
[2025-01-10 11:27:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 11:27:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 11:27:03] Production.INFO: ==10692== Lock acquired, processing the job...
[2025-01-10 11:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 11:27:03] Production.INFO: ==10696== Lock acquired, processing the job...
[2025-01-10 11:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 11:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 11:27:03] Production.INFO: ==10700== Lock acquired, processing the job...
[2025-01-10 11:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 11:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 11:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 11:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 11:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 11:27:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:27:04] Production.INFO: ==10694== Lock acquired, processing the job...
[2025-01-10 11:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 11:27:04] Production.INFO: ==10702== Lock acquired, processing the job...
[2025-01-10 11:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 11:27:04] Production.INFO: ==10698== Lock acquired, processing the job...
[2025-01-10 11:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 11:27:04] Production.ERROR: done
[2025-01-10 11:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 11:27:04] Production.INFO: Account Balance Start.
[2025-01-10 11:27:04] Production.INFO: CreateAllLog Start
[2025-01-10 11:27:04] Production.INFO: 117
[2025-01-10 11:27:04] Production.INFO: Date 2025-01-08
[2025-01-10 11:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:27:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:27:04] Production.INFO: count ==21
[2025-01-10 11:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:27:04] Production.INFO: count ==21
[2025-01-10 11:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216605') start
[2025-01-10 11:27:04] Production.INFO: Date 2025-01-09
[2025-01-10 11:27:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:27:04] Production.ERROR: done
[2025-01-10 11:27:04] Production.INFO: Date 2025-01-10
[2025-01-10 11:27:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216605') end
[2025-01-10 11:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 11:27:04] Production.INFO: 1
[2025-01-10 11:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 11:27:04] Production.INFO: ==10702== Releasing lock...
[2025-01-10 11:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 11:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 11:27:04] Production.INFO: Total Charge 0
[2025-01-10 11:27:04] Production.INFO: CreateAllLog End
[2025-01-10 11:27:04] Production.INFO: ==10694== Releasing lock...
[2025-01-10 11:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 11:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 11:27:04] Production.INFO: Account Balance End.
[2025-01-10 11:27:04] Production.ERROR: CronJobId end 12
[2025-01-10 11:27:04] Production.INFO: ==10698== Releasing lock...
[2025-01-10 11:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 11:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 11:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 08:27:05
[end_date_ymd] => 2025-01-10 11:27:05
[RateCDR] => 1
)
[2025-01-10 11:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 08:27:05' and `end` < '2025-01-10 11:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 11:27:11] Production.ERROR: CronJobId end10
[2025-01-10 11:27:11] Production.INFO: ==10696== Releasing lock...
[2025-01-10 11:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 11:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 11:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 11:27:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 11:27:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 11:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 11:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 11:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 11:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 11:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 11:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 11:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 11:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 11:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 11:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 11:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 11:27:14] Production.INFO: call_cost start
[2025-01-10 11:27:14] Production.INFO: call_cost end
[2025-01-10 11:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 11:27:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 11:27:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 11:27:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 11:27:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 11:27:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 11:27:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 11:27:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 11:27:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 11:27:15] Production.INFO: ==10692== Releasing lock...
[2025-01-10 11:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 11:27:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 11:27:19] Production.INFO: count ==4054
[2025-01-10 11:27:21] Production.ERROR: pbx CDR StartTime 2025-01-10 08:27:05 - End Time 2025-01-10 11:27:05
[2025-01-10 11:27:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 11:27:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216607', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:27:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216607', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:27:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216607', 'tblTempVendorCDR_20' ) start
[2025-01-10 11:27:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216607', 'tblTempVendorCDR_20' ) end
[2025-01-10 11:27:21] Production.INFO: ProcessCDR(1,14216607,1,1,2)
[2025-01-10 11:27:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216607,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:27:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216607,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:27:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216607,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:27:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216607,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:27:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216607', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:27:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216607', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:27:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:27:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:27:25] Production.INFO: ==10700== Releasing lock...
[2025-01-10 11:27:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 11:27:25] Production.INFO: 58.25 MB #Memory Used#
[2025-01-10 16:28:01] Production.INFO: ==10797== Lock acquired, processing the job...
[2025-01-10 16:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 16:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 16:28:01] Production.INFO: neon service started
[2025-01-10 16:28:01] Production.INFO: neon service started
[2025-01-10 16:28:01] Production.INFO: ==10797== Releasing lock...
[2025-01-10 16:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 16:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:28:02] Production.INFO: ==10800== Lock acquired, processing the job...
[2025-01-10 11:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 11:28:02] Production.INFO: ==10800== Releasing lock...
[2025-01-10 11:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 11:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 16:28:02] Production.INFO: ==10802== Lock acquired, processing the job...
[2025-01-10 16:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 16:28:02] Production.INFO: ==10802== Releasing lock...
[2025-01-10 16:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 16:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 11:28:03] Production.INFO: ==10804== Lock acquired, processing the job...
[2025-01-10 11:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 11:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 11:28:03] Production.INFO: ==10814== Lock acquired, processing the job...
[2025-01-10 11:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 11:28:03] Production.INFO: ==10806== Lock acquired, processing the job...
[2025-01-10 11:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 11:28:03] Production.INFO: ==10808== Lock acquired, processing the job...
[2025-01-10 11:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 11:28:03] Production.INFO: ==10810== Lock acquired, processing the job...
[2025-01-10 11:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 11:28:03] Production.INFO: ==10812== Lock acquired, processing the job...
[2025-01-10 11:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 11:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 11:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 11:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 11:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 11:28:03] Production.INFO: count ==21
[2025-01-10 11:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:28:03] Production.INFO: count ==21
[2025-01-10 11:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216609') start
[2025-01-10 11:28:03] Production.INFO: Account Balance Start.
[2025-01-10 11:28:03] Production.INFO: CreateAllLog Start
[2025-01-10 11:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:28:03] Production.INFO: 117
[2025-01-10 11:28:03] Production.INFO: Date 2025-01-08
[2025-01-10 11:28:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216609') end
[2025-01-10 11:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 11:28:04] Production.INFO: 1
[2025-01-10 11:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 11:28:04] Production.INFO: Date 2025-01-09
[2025-01-10 11:28:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:28:04] Production.INFO: Date 2025-01-10
[2025-01-10 11:28:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:28:04] Production.INFO: Total Charge 0
[2025-01-10 11:28:04] Production.INFO: CreateAllLog End
[2025-01-10 11:28:04] Production.INFO: ==10814== Releasing lock...
[2025-01-10 11:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 11:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 11:28:04] Production.INFO: ==10806== Releasing lock...
[2025-01-10 11:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 11:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 11:28:04] Production.INFO: Account Balance End.
[2025-01-10 11:28:04] Production.ERROR: CronJobId end 12
[2025-01-10 11:28:04] Production.INFO: ==10810== Releasing lock...
[2025-01-10 11:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 11:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 11:28:04] Production.ERROR: done
[2025-01-10 11:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 11:28:04] Production.ERROR: done
[2025-01-10 11:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 08:28:05
[end_date_ymd] => 2025-01-10 11:28:05
[RateCDR] => 1
)
[2025-01-10 11:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 08:28:05' and `end` < '2025-01-10 11:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 11:28:12] Production.ERROR: CronJobId end10
[2025-01-10 11:28:12] Production.INFO: ==10808== Releasing lock...
[2025-01-10 11:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 11:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 11:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 11:28:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 11:28:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 11:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 11:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 11:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 11:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 11:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 11:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 11:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 11:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 11:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 11:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 11:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 11:28:13] Production.INFO: call_cost start
[2025-01-10 11:28:13] Production.INFO: call_cost end
[2025-01-10 11:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 11:28:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 11:28:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 11:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 11:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 11:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 11:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 11:28:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 11:28:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 11:28:14] Production.INFO: ==10804== Releasing lock...
[2025-01-10 11:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 11:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 11:28:22] Production.INFO: count ==4078
[2025-01-10 11:28:23] Production.ERROR: pbx CDR StartTime 2025-01-10 08:28:05 - End Time 2025-01-10 11:28:05
[2025-01-10 11:28:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 11:28:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216612', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:28:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216612', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:28:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216612', 'tblTempVendorCDR_20' ) start
[2025-01-10 11:28:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216612', 'tblTempVendorCDR_20' ) end
[2025-01-10 11:28:24] Production.INFO: ProcessCDR(1,14216612,1,1,2)
[2025-01-10 11:28:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216612,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:28:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216612,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:28:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216612,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:28:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216612,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:28:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216612', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:28:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216612', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:28:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:28:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:28:27] Production.INFO: ==10812== Releasing lock...
[2025-01-10 11:28:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 11:28:27] Production.INFO: 58.5 MB #Memory Used#
[2025-01-10 16:29:01] Production.INFO: ==10877== Lock acquired, processing the job...
[2025-01-10 16:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 16:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 16:29:01] Production.INFO: neon service started
[2025-01-10 16:29:01] Production.INFO: neon service started
[2025-01-10 16:29:01] Production.INFO: ==10877== Releasing lock...
[2025-01-10 16:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 16:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:29:01] Production.INFO: ==10879== Lock acquired, processing the job...
[2025-01-10 11:29:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 11:29:01] Production.INFO: ==10879== Releasing lock...
[2025-01-10 11:29:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 11:29:01] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 16:29:02] Production.INFO: ==10881== Lock acquired, processing the job...
[2025-01-10 16:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 16:29:02] Production.INFO: ==10881== Releasing lock...
[2025-01-10 16:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 16:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 11:29:02] Production.INFO: ==10889== Lock acquired, processing the job...
[2025-01-10 11:29:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 11:29:02] Production.INFO: ==10893== Lock acquired, processing the job...
[2025-01-10 11:29:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 11:29:02] Production.INFO: Account Balance Start.
[2025-01-10 11:29:02] Production.INFO: CreateAllLog Start
[2025-01-10 11:29:02] Production.INFO: 117
[2025-01-10 11:29:02] Production.INFO: Date 2025-01-08
[2025-01-10 11:29:02] Production.INFO: Reseller ==> 0
[2025-01-10 11:29:02] Production.INFO: Date 2025-01-09
[2025-01-10 11:29:02] Production.INFO: Reseller ==> 0
[2025-01-10 11:29:02] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:29:02] Production.INFO: count ==21
[2025-01-10 11:29:02] Production.INFO: Date 2025-01-10
[2025-01-10 11:29:02] Production.INFO: Reseller ==> 0
[2025-01-10 11:29:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:29:03] Production.INFO: count ==21
[2025-01-10 11:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216614') start
[2025-01-10 11:29:03] Production.INFO: Total Charge 0
[2025-01-10 11:29:03] Production.INFO: CreateAllLog End
[2025-01-10 11:29:03] Production.INFO: ==10885== Lock acquired, processing the job...
[2025-01-10 11:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 11:29:03] Production.INFO: ==10883== Lock acquired, processing the job...
[2025-01-10 11:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 11:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216614') end
[2025-01-10 11:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 11:29:03] Production.INFO: 1
[2025-01-10 11:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 11:29:03] Production.INFO: ==10887== Lock acquired, processing the job...
[2025-01-10 11:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 11:29:03] Production.INFO: ==10891== Lock acquired, processing the job...
[2025-01-10 11:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 11:29:03] Production.INFO: ==10893== Releasing lock...
[2025-01-10 11:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 11:29:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 11:29:03] Production.INFO: Account Balance End.
[2025-01-10 11:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:29:03] Production.ERROR: CronJobId end 12
[2025-01-10 11:29:03] Production.INFO: ==10889== Releasing lock...
[2025-01-10 11:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 11:29:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 11:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 11:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 11:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 11:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 11:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 11:29:03] Production.ERROR: done
[2025-01-10 11:29:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 11:29:03] Production.INFO: ==10885== Releasing lock...
[2025-01-10 11:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 11:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 11:29:03] Production.ERROR: done
[2025-01-10 11:29:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 08:29:04
[end_date_ymd] => 2025-01-10 11:29:04
[RateCDR] => 1
)
[2025-01-10 11:29:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 08:29:04' and `end` < '2025-01-10 11:29:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 11:29:11] Production.ERROR: CronJobId end10
[2025-01-10 11:29:11] Production.INFO: ==10887== Releasing lock...
[2025-01-10 11:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 11:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 11:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 11:29:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 11:29:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 11:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 11:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 11:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 11:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 11:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 11:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 11:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 11:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 11:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 11:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 11:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 11:29:13] Production.INFO: call_cost start
[2025-01-10 11:29:13] Production.INFO: call_cost end
[2025-01-10 11:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 11:29:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 11:29:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 11:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 11:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 11:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 11:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 11:29:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 11:29:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 11:29:14] Production.INFO: ==10883== Releasing lock...
[2025-01-10 11:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 11:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 11:29:31] Production.INFO: count ==4109
[2025-01-10 11:29:33] Production.ERROR: pbx CDR StartTime 2025-01-10 08:29:04 - End Time 2025-01-10 11:29:04
[2025-01-10 11:29:33] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 11:29:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216617', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:29:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216617', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:29:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216617', 'tblTempVendorCDR_20' ) start
[2025-01-10 11:29:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216617', 'tblTempVendorCDR_20' ) end
[2025-01-10 11:29:33] Production.INFO: ProcessCDR(1,14216617,1,1,2)
[2025-01-10 11:29:33] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216617,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:29:35] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216617,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:29:35] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216617,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:29:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216617,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:29:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216617', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:29:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216617', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:29:38] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:29:38] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:29:38] Production.INFO: ==10891== Releasing lock...
[2025-01-10 11:29:38] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 11:29:38] Production.INFO: 58.75 MB #Memory Used#
[2025-01-10 16:30:01] Production.INFO: ==10969== Lock acquired, processing the job...
[2025-01-10 16:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 16:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 16:30:01] Production.INFO: neon service started
[2025-01-10 16:30:01] Production.INFO: neon service started
[2025-01-10 16:30:01] Production.INFO: ==10969== Releasing lock...
[2025-01-10 16:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 16:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:30:02] Production.INFO: ==10971== Lock acquired, processing the job...
[2025-01-10 11:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 16:30:02] Production.INFO: ==10973== Lock acquired, processing the job...
[2025-01-10 16:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 11:30:02] Production.INFO: ==10971== Releasing lock...
[2025-01-10 11:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 11:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 16:30:02] Production.INFO: ==10973== Releasing lock...
[2025-01-10 16:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 16:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 11:30:03] Production.INFO: ==10982== Lock acquired, processing the job...
[2025-01-10 11:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 11:30:03] Production.INFO: ==10984== Lock acquired, processing the job...
[2025-01-10 11:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 11:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 11:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 11:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 11:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 11:30:03] Production.INFO: ==10976== Lock acquired, processing the job...
[2025-01-10 11:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 11:30:03] Production.INFO: ==10978== Lock acquired, processing the job...
[2025-01-10 11:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 11:30:03] Production.INFO: ==10990== Lock acquired, processing the job...
[2025-01-10 11:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 11:30:03] Production.INFO: ==10980== Lock acquired, processing the job...
[2025-01-10 11:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 11:30:04] Production.INFO: Account Balance Start.
[2025-01-10 11:30:04] Production.INFO: CreateAllLog Start
[2025-01-10 11:30:04] Production.INFO: 117
[2025-01-10 11:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 11:30:04] Production.INFO: Date 2025-01-08
[2025-01-10 11:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 11:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 11:30:04] Production.ERROR: CronJob PID - 10978
[2025-01-10 11:30:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-10 11:30:04] Production.ERROR: CronJob ID - 5
[2025-01-10 11:30:04] Production.ERROR: CronJob Last Run Time 2025-01-10 11:30:00
[2025-01-10 11:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 11:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 11:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 11:30:04] Production.ERROR: CronJob PID - 10980
[2025-01-10 11:30:04] Production.ERROR: CronJob Title - Account Block
[2025-01-10 11:30:04] Production.ERROR: CronJob ID - 7
[2025-01-10 11:30:04] Production.ERROR: CronJob Last Run Time 2025-01-10 11:30:00
[2025-01-10 11:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 11:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 11:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 11:30:04] Production.ERROR: CronJob PID - 10982
[2025-01-10 11:30:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-10 11:30:04] Production.ERROR: CronJob ID - 10
[2025-01-10 11:30:04] Production.ERROR: CronJob Last Run Time 2025-01-10 11:30:00
[2025-01-10 11:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 11:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 11:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 11:30:04] Production.ERROR: CronJob PID - 10984
[2025-01-10 11:30:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-10 11:30:04] Production.ERROR: CronJob ID - 12
[2025-01-10 11:30:04] Production.ERROR: CronJob Last Run Time 2025-01-10 11:30:00
[2025-01-10 11:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 11:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 11:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 11:30:04] Production.ERROR: CronJob PID - 10990
[2025-01-10 11:30:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-10 11:30:04] Production.ERROR: CronJob ID - 19
[2025-01-10 11:30:04] Production.ERROR: CronJob Last Run Time 2025-01-10 11:30:00
[2025-01-10 11:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 11:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 11:30:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:30:04] Production.INFO: Date 2025-01-09
[2025-01-10 11:30:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:30:04] Production.INFO: ==10986== Lock acquired, processing the job...
[2025-01-10 11:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 11:30:04] Production.INFO: count ==21
[2025-01-10 11:30:04] Production.INFO: ==10988== Lock acquired, processing the job...
[2025-01-10 11:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 11:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 11:30:04] Production.INFO: ==10976== Releasing lock...
[2025-01-10 11:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 11:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 11:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:30:04] Production.INFO: count ==21
[2025-01-10 11:30:04] Production.INFO: Date 2025-01-10
[2025-01-10 11:30:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216619') start
[2025-01-10 11:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:30:04] Production.INFO: Total Charge 0
[2025-01-10 11:30:04] Production.INFO: CreateAllLog End
[2025-01-10 11:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216619') end
[2025-01-10 11:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 11:30:04] Production.INFO: 1
[2025-01-10 11:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 11:30:04] Production.INFO: ==10990== Releasing lock...
[2025-01-10 11:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 11:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 11:30:04] Production.INFO: ==10980== Releasing lock...
[2025-01-10 11:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 11:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 11:30:04] Production.INFO: Account Balance End.
[2025-01-10 11:30:04] Production.ERROR: done
[2025-01-10 11:30:04] Production.ERROR: done
[2025-01-10 11:30:04] Production.ERROR: CronJobId end 12
[2025-01-10 11:30:04] Production.INFO: ==10984== Releasing lock...
[2025-01-10 11:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 11:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 11:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 11:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 11:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14216622', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 11:30:04] Production.ERROR: done
[2025-01-10 11:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 08:30:05
[end_date_ymd] => 2025-01-10 11:30:05
[RateCDR] => 1
)
[2025-01-10 11:30:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 08:30:05' and `end` < '2025-01-10 11:30:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 11:30:07] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14216622', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 11:30:07] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 11:30:07] Production.INFO: ProcessCDR(1,14216622,1,1,2)
[2025-01-10 11:30:07] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14216622,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14216622,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:30:08] Production.INFO: ==10988== Releasing lock...
[2025-01-10 11:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 11:30:08] Production.INFO: 26 MB #Memory Used#
[2025-01-10 11:30:13] Production.ERROR: CronJobId end10
[2025-01-10 11:30:13] Production.INFO: ==10982== Releasing lock...
[2025-01-10 11:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 11:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 11:30:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 11:30:15] Production.INFO: ============== Balance Warning START===========
[2025-01-10 11:30:15] Production.INFO: ============== Balance Warning END===========
[2025-01-10 11:30:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 11:30:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 11:30:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 11:30:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 11:30:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 11:30:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 11:30:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 11:30:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 11:30:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 11:30:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 11:30:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 11:30:16] Production.INFO: call_cost start
[2025-01-10 11:30:16] Production.INFO: call_cost end
[2025-01-10 11:30:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 11:30:16] Production.INFO: ============== Report Schedule START===========
[2025-01-10 11:30:16] Production.INFO: ============== Report Schedule END===========
[2025-01-10 11:30:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 11:30:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 11:30:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 11:30:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 11:30:16] Production.INFO: ============== Deal alert START===========
[2025-01-10 11:30:16] Production.INFO: ============== Deal alert END===========
[2025-01-10 11:30:16] Production.INFO: ==10978== Releasing lock...
[2025-01-10 11:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 11:30:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 11:30:30] Production.INFO: count ==4114
[2025-01-10 11:30:32] Production.ERROR: pbx CDR StartTime 2025-01-10 08:30:05 - End Time 2025-01-10 11:30:05
[2025-01-10 11:30:32] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 11:30:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216623', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:30:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216623', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:30:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216623', 'tblTempVendorCDR_20' ) start
[2025-01-10 11:30:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216623', 'tblTempVendorCDR_20' ) end
[2025-01-10 11:30:32] Production.INFO: ProcessCDR(1,14216623,1,1,2)
[2025-01-10 11:30:32] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216623,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:30:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216623,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:30:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216623,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:30:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216623,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:30:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216623', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:30:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216623', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:30:37] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:30:37] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:30:37] Production.INFO: ==10986== Releasing lock...
[2025-01-10 11:30:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 11:30:37] Production.INFO: 58.75 MB #Memory Used#
[2025-01-10 16:31:02] Production.INFO: ==11064== Lock acquired, processing the job...
[2025-01-10 16:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 16:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 16:31:02] Production.INFO: neon service started
[2025-01-10 16:31:02] Production.INFO: neon service started
[2025-01-10 16:31:02] Production.INFO: ==11064== Releasing lock...
[2025-01-10 16:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 16:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:31:02] Production.INFO: ==11066== Lock acquired, processing the job...
[2025-01-10 11:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 16:31:02] Production.INFO: ==11068== Lock acquired, processing the job...
[2025-01-10 16:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 16:31:02] Production.INFO: ==11068== Releasing lock...
[2025-01-10 16:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 16:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 11:31:02] Production.INFO: ==11066== Releasing lock...
[2025-01-10 11:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 11:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 11:31:03] Production.INFO: ==11078== Lock acquired, processing the job...
[2025-01-10 11:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 11:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:31:03] Production.INFO: ==11076== Lock acquired, processing the job...
[2025-01-10 11:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 11:31:03] Production.ERROR: done
[2025-01-10 11:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 11:31:03] Production.INFO: ==11070== Lock acquired, processing the job...
[2025-01-10 11:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 11:31:03] Production.INFO: ==11072== Lock acquired, processing the job...
[2025-01-10 11:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 11:31:04] Production.INFO: Account Balance Start.
[2025-01-10 11:31:04] Production.INFO: CreateAllLog Start
[2025-01-10 11:31:04] Production.INFO: 117
[2025-01-10 11:31:04] Production.INFO: Date 2025-01-08
[2025-01-10 11:31:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:31:04] Production.INFO: ==11074== Lock acquired, processing the job...
[2025-01-10 11:31:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 11:31:04] Production.ERROR: done
[2025-01-10 11:31:04] Production.INFO: ==11080== Lock acquired, processing the job...
[2025-01-10 11:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 11:31:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 11:31:04] Production.INFO: Date 2025-01-09
[2025-01-10 11:31:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 11:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 11:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 11:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 11:31:04] Production.INFO: Date 2025-01-10
[2025-01-10 11:31:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:31:04] Production.INFO: Total Charge 0
[2025-01-10 11:31:04] Production.INFO: CreateAllLog End
[2025-01-10 11:31:04] Production.INFO: count ==21
[2025-01-10 11:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:31:04] Production.INFO: count ==21
[2025-01-10 11:31:04] Production.INFO: ==11072== Releasing lock...
[2025-01-10 11:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 11:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 11:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216628') start
[2025-01-10 11:31:04] Production.INFO: Account Balance End.
[2025-01-10 11:31:04] Production.ERROR: CronJobId end 12
[2025-01-10 11:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216628') end
[2025-01-10 11:31:04] Production.INFO: ==11076== Releasing lock...
[2025-01-10 11:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 11:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 11:31:04] Production.INFO: 1
[2025-01-10 11:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 11:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 11:31:04] Production.INFO: ==11080== Releasing lock...
[2025-01-10 11:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 11:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 11:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 08:31:05
[end_date_ymd] => 2025-01-10 11:31:05
[RateCDR] => 1
)
[2025-01-10 11:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 08:31:05' and `end` < '2025-01-10 11:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 11:31:12] Production.ERROR: CronJobId end10
[2025-01-10 11:31:12] Production.INFO: ==11074== Releasing lock...
[2025-01-10 11:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 11:31:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 11:31:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 11:31:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 11:31:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 11:31:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 11:31:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 11:31:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 11:31:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 11:31:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 11:31:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 11:31:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 11:31:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 11:31:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 11:31:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 11:31:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 11:31:14] Production.INFO: call_cost start
[2025-01-10 11:31:14] Production.INFO: call_cost end
[2025-01-10 11:31:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 11:31:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 11:31:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 11:31:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 11:31:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 11:31:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 11:31:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 11:31:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 11:31:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 11:31:15] Production.INFO: ==11070== Releasing lock...
[2025-01-10 11:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 11:31:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 11:31:24] Production.INFO: count ==4178
[2025-01-10 11:31:25] Production.ERROR: pbx CDR StartTime 2025-01-10 08:31:05 - End Time 2025-01-10 11:31:05
[2025-01-10 11:31:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 11:31:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216625', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:31:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216625', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:31:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216625', 'tblTempVendorCDR_20' ) start
[2025-01-10 11:31:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216625', 'tblTempVendorCDR_20' ) end
[2025-01-10 11:31:26] Production.INFO: ProcessCDR(1,14216625,1,1,2)
[2025-01-10 11:31:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216625,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:31:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216625,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:31:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216625,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:31:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216625,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:31:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216625', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:31:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216625', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:31:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:31:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:31:31] Production.INFO: ==11078== Releasing lock...
[2025-01-10 11:31:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 11:31:31] Production.INFO: 59.25 MB #Memory Used#
[2025-01-10 16:32:01] Production.INFO: ==11160== Lock acquired, processing the job...
[2025-01-10 16:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 16:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 16:32:01] Production.INFO: neon service started
[2025-01-10 16:32:01] Production.INFO: neon service started
[2025-01-10 16:32:01] Production.INFO: ==11160== Releasing lock...
[2025-01-10 16:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 16:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 16:32:01] Production.INFO: ==11164== Lock acquired, processing the job...
[2025-01-10 16:32:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 16:32:02] Production.INFO: ==11164== Releasing lock...
[2025-01-10 16:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 16:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 11:32:02] Production.INFO: ==11162== Lock acquired, processing the job...
[2025-01-10 11:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 11:32:02] Production.INFO: ==11162== Releasing lock...
[2025-01-10 11:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 11:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 11:32:03] Production.INFO: ==11169== Lock acquired, processing the job...
[2025-01-10 11:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 11:32:03] Production.INFO: ==11175== Lock acquired, processing the job...
[2025-01-10 11:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 11:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:32:03] Production.INFO: ==11167== Lock acquired, processing the job...
[2025-01-10 11:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 11:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 11:32:03] Production.INFO: ==11171== Lock acquired, processing the job...
[2025-01-10 11:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 11:32:03] Production.INFO: ==11173== Lock acquired, processing the job...
[2025-01-10 11:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 11:32:03] Production.INFO: ==11177== Lock acquired, processing the job...
[2025-01-10 11:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 11:32:03] Production.ERROR: done
[2025-01-10 11:32:03] Production.INFO: Account Balance Start.
[2025-01-10 11:32:03] Production.INFO: CreateAllLog Start
[2025-01-10 11:32:03] Production.INFO: 117
[2025-01-10 11:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 11:32:03] Production.INFO: Date 2025-01-08
[2025-01-10 11:32:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 11:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 11:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 11:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 11:32:03] Production.INFO: ==11169== Releasing lock...
[2025-01-10 11:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 11:32:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 11:32:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:32:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:32:03] Production.INFO: count ==21
[2025-01-10 11:32:03] Production.INFO: Date 2025-01-09
[2025-01-10 11:32:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:32:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:32:03] Production.INFO: count ==21
[2025-01-10 11:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216632') start
[2025-01-10 11:32:03] Production.INFO: Date 2025-01-10
[2025-01-10 11:32:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:32:03] Production.ERROR: done
[2025-01-10 11:32:04] Production.INFO: Total Charge 0
[2025-01-10 11:32:04] Production.INFO: CreateAllLog End
[2025-01-10 11:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216632') end
[2025-01-10 11:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 11:32:04] Production.INFO: 1
[2025-01-10 11:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 11:32:04] Production.INFO: Account Balance End.
[2025-01-10 11:32:04] Production.INFO: ==11177== Releasing lock...
[2025-01-10 11:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 11:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 11:32:04] Production.ERROR: CronJobId end 12
[2025-01-10 11:32:04] Production.INFO: ==11173== Releasing lock...
[2025-01-10 11:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 11:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 11:32:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 08:32:04
[end_date_ymd] => 2025-01-10 11:32:04
[RateCDR] => 1
)
[2025-01-10 11:32:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 08:32:04' and `end` < '2025-01-10 11:32:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 11:32:11] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_update...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#4 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->select()
#5 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::updateAccountUnbilledAmount()
#6 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_updateUnbilledAmount(1,2025-01-10 23:59:59))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#2 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->select()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::updateAccountUnbilledAmount()
#4 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#7 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 {main}
[2025-01-10 11:32:11] Production.ERROR: CronJobId end10
[2025-01-10 11:32:11] Production.INFO: ==11171== Releasing lock...
[2025-01-10 11:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 11:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 11:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 11:32:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 11:32:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 11:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 11:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 11:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 11:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 11:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 11:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 11:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 11:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 11:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 11:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 11:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 11:32:13] Production.INFO: call_cost start
[2025-01-10 11:32:13] Production.INFO: call_cost end
[2025-01-10 11:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 11:32:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 11:32:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 11:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 11:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 11:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 11:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 11:32:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 11:32:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 11:32:14] Production.INFO: ==11167== Releasing lock...
[2025-01-10 11:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 11:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 11:32:24] Production.INFO: count ==4182
[2025-01-10 11:32:26] Production.ERROR: pbx CDR StartTime 2025-01-10 08:32:04 - End Time 2025-01-10 11:32:04
[2025-01-10 11:32:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 11:32:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216633', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:32:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216633', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:32:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216633', 'tblTempVendorCDR_20' ) start
[2025-01-10 11:32:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216633', 'tblTempVendorCDR_20' ) end
[2025-01-10 11:32:26] Production.INFO: ProcessCDR(1,14216633,1,1,2)
[2025-01-10 11:32:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216633,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:32:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216633,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:32:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216633,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:32:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216633,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:32:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216633', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:32:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216633', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:32:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:32:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:32:31] Production.INFO: ==11175== Releasing lock...
[2025-01-10 11:32:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 11:32:31] Production.INFO: 59.5 MB #Memory Used#
[2025-01-10 16:33:02] Production.INFO: ==11254== Lock acquired, processing the job...
[2025-01-10 16:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 16:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 16:33:02] Production.INFO: neon service started
[2025-01-10 16:33:02] Production.INFO: neon service started
[2025-01-10 16:33:02] Production.INFO: ==11254== Releasing lock...
[2025-01-10 16:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 16:33:02] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 11:33:02] Production.INFO: ==11256== Lock acquired, processing the job...
[2025-01-10 11:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 11:33:02] Production.INFO: ==11256== Releasing lock...
[2025-01-10 11:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 11:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 16:33:02] Production.INFO: ==11258== Lock acquired, processing the job...
[2025-01-10 16:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 16:33:02] Production.INFO: ==11258== Releasing lock...
[2025-01-10 16:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 16:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 11:33:03] Production.INFO: ==11267== Lock acquired, processing the job...
[2025-01-10 11:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 11:33:03] Production.INFO: ==11273== Lock acquired, processing the job...
[2025-01-10 11:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 11:33:03] Production.INFO: ==11263== Lock acquired, processing the job...
[2025-01-10 11:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 11:33:03] Production.INFO: ==11265== Lock acquired, processing the job...
[2025-01-10 11:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 11:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 11:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 11:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 11:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 11:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 11:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:33:03] Production.INFO: count ==21
[2025-01-10 11:33:03] Production.INFO: ==11269== Lock acquired, processing the job...
[2025-01-10 11:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 11:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:33:03] Production.INFO: count ==21
[2025-01-10 11:33:03] Production.INFO: ==11271== Lock acquired, processing the job...
[2025-01-10 11:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 11:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216634') start
[2025-01-10 11:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216634') end
[2025-01-10 11:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 11:33:04] Production.INFO: 1
[2025-01-10 11:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 11:33:04] Production.INFO: Account Balance Start.
[2025-01-10 11:33:04] Production.INFO: CreateAllLog Start
[2025-01-10 11:33:04] Production.INFO: 117
[2025-01-10 11:33:04] Production.INFO: Date 2025-01-08
[2025-01-10 11:33:04] Production.INFO: ==11265== Releasing lock...
[2025-01-10 11:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 11:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 11:33:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:33:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:33:04] Production.INFO: ==11273== Releasing lock...
[2025-01-10 11:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 11:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 11:33:04] Production.INFO: Date 2025-01-09
[2025-01-10 11:33:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:33:04] Production.INFO: Date 2025-01-10
[2025-01-10 11:33:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:33:04] Production.INFO: Total Charge 0
[2025-01-10 11:33:04] Production.INFO: CreateAllLog End
[2025-01-10 11:33:04] Production.ERROR: done
[2025-01-10 11:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 11:33:04] Production.ERROR: done
[2025-01-10 11:33:04] Production.INFO: Account Balance End.
[2025-01-10 11:33:04] Production.ERROR: CronJobId end 12
[2025-01-10 11:33:04] Production.INFO: ==11269== Releasing lock...
[2025-01-10 11:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 11:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 11:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 08:33:05
[end_date_ymd] => 2025-01-10 11:33:05
[RateCDR] => 1
)
[2025-01-10 11:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 08:33:05' and `end` < '2025-01-10 11:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 11:33:12] Production.ERROR: CronJobId end10
[2025-01-10 11:33:12] Production.INFO: ==11267== Releasing lock...
[2025-01-10 11:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 11:33:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 11:33:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 11:33:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 11:33:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 11:33:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 11:33:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 11:33:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 11:33:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 11:33:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 11:33:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 11:33:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 11:33:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 11:33:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 11:33:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 11:33:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 11:33:14] Production.INFO: call_cost start
[2025-01-10 11:33:14] Production.INFO: call_cost end
[2025-01-10 11:33:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 11:33:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 11:33:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 11:33:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 11:33:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 11:33:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 11:33:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 11:33:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 11:33:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 11:33:15] Production.INFO: ==11263== Releasing lock...
[2025-01-10 11:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 11:33:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 11:33:19] Production.INFO: count ==4203
[2025-01-10 11:33:21] Production.ERROR: pbx CDR StartTime 2025-01-10 08:33:05 - End Time 2025-01-10 11:33:05
[2025-01-10 11:33:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 11:33:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216638', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:33:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216638', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:33:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216638', 'tblTempVendorCDR_20' ) start
[2025-01-10 11:33:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216638', 'tblTempVendorCDR_20' ) end
[2025-01-10 11:33:21] Production.INFO: ProcessCDR(1,14216638,1,1,2)
[2025-01-10 11:33:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216638,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:33:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216638,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:33:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216638,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:33:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216638,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:33:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216638', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:33:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216638', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:33:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:33:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:33:26] Production.INFO: ==11271== Releasing lock...
[2025-01-10 11:33:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 11:33:26] Production.INFO: 59.5 MB #Memory Used#
[2025-01-10 16:34:01] Production.INFO: ==11349== Lock acquired, processing the job...
[2025-01-10 16:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 16:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 16:34:01] Production.INFO: neon service started
[2025-01-10 16:34:01] Production.INFO: neon service started
[2025-01-10 16:34:01] Production.INFO: ==11349== Releasing lock...
[2025-01-10 16:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 16:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:34:01] Production.INFO: ==11351== Lock acquired, processing the job...
[2025-01-10 11:34:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 11:34:02] Production.INFO: ==11351== Releasing lock...
[2025-01-10 11:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 11:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 16:34:02] Production.INFO: ==11353== Lock acquired, processing the job...
[2025-01-10 16:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 16:34:02] Production.INFO: ==11353== Releasing lock...
[2025-01-10 16:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 16:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 11:34:02] Production.INFO: ==11355== Lock acquired, processing the job...
[2025-01-10 11:34:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 11:34:03] Production.INFO: ==11357== Lock acquired, processing the job...
[2025-01-10 11:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 11:34:03] Production.INFO: ==11365== Lock acquired, processing the job...
[2025-01-10 11:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 11:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 11:34:03] Production.INFO: ==11361== Lock acquired, processing the job...
[2025-01-10 11:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 11:34:03] Production.INFO: ==11359== Lock acquired, processing the job...
[2025-01-10 11:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 11:34:03] Production.INFO: ==11363== Lock acquired, processing the job...
[2025-01-10 11:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 11:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 11:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 11:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 11:34:03] Production.INFO: Account Balance Start.
[2025-01-10 11:34:03] Production.INFO: CreateAllLog Start
[2025-01-10 11:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 11:34:03] Production.INFO: 117
[2025-01-10 11:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:34:03] Production.INFO: Date 2025-01-08
[2025-01-10 11:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:34:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:34:03] Production.INFO: count ==21
[2025-01-10 11:34:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:34:03] Production.INFO: count ==21
[2025-01-10 11:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216641') start
[2025-01-10 11:34:03] Production.INFO: Date 2025-01-09
[2025-01-10 11:34:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216641') end
[2025-01-10 11:34:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 11:34:03] Production.INFO: 1
[2025-01-10 11:34:03] Production.INFO: Date 2025-01-10
[2025-01-10 11:34:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 11:34:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:34:03] Production.INFO: Total Charge 0
[2025-01-10 11:34:03] Production.INFO: CreateAllLog End
[2025-01-10 11:34:03] Production.INFO: ==11357== Releasing lock...
[2025-01-10 11:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 11:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 11:34:03] Production.INFO: ==11365== Releasing lock...
[2025-01-10 11:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 11:34:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 11:34:03] Production.ERROR: done
[2025-01-10 11:34:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 11:34:03] Production.INFO: Account Balance End.
[2025-01-10 11:34:03] Production.ERROR: done
[2025-01-10 11:34:03] Production.ERROR: CronJobId end 12
[2025-01-10 11:34:03] Production.INFO: ==11361== Releasing lock...
[2025-01-10 11:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 11:34:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 11:34:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 08:34:04
[end_date_ymd] => 2025-01-10 11:34:04
[RateCDR] => 1
)
[2025-01-10 11:34:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 08:34:04' and `end` < '2025-01-10 11:34:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 11:34:12] Production.ERROR: CronJobId end10
[2025-01-10 11:34:12] Production.INFO: ==11359== Releasing lock...
[2025-01-10 11:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 11:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 11:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 11:34:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 11:34:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 11:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 11:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 11:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 11:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 11:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 11:34:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 11:34:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 11:34:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 11:34:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 11:34:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 11:34:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 11:34:13] Production.INFO: call_cost start
[2025-01-10 11:34:13] Production.INFO: call_cost end
[2025-01-10 11:34:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 11:34:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 11:34:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 11:34:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 11:34:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 11:34:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 11:34:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 11:34:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 11:34:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 11:34:14] Production.INFO: ==11355== Releasing lock...
[2025-01-10 11:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 11:34:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 11:34:18] Production.INFO: count ==4209
[2025-01-10 11:34:20] Production.ERROR: pbx CDR StartTime 2025-01-10 08:34:04 - End Time 2025-01-10 11:34:04
[2025-01-10 11:34:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 11:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216643', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216643', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216643', 'tblTempVendorCDR_20' ) start
[2025-01-10 11:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216643', 'tblTempVendorCDR_20' ) end
[2025-01-10 11:34:20] Production.INFO: ProcessCDR(1,14216643,1,1,2)
[2025-01-10 11:34:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216643,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:34:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216643,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:34:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216643,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:34:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216643,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:34:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216643', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:34:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216643', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:34:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:34:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:34:25] Production.INFO: ==11363== Releasing lock...
[2025-01-10 11:34:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 11:34:25] Production.INFO: 59.5 MB #Memory Used#
[2025-01-10 16:35:01] Production.INFO: ==11452== Lock acquired, processing the job...
[2025-01-10 16:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 16:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 16:35:01] Production.INFO: neon service started
[2025-01-10 16:35:01] Production.INFO: neon service started
[2025-01-10 16:35:01] Production.INFO: ==11452== Releasing lock...
[2025-01-10 16:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 16:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:35:02] Production.INFO: ==11454== Lock acquired, processing the job...
[2025-01-10 11:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 11:35:02] Production.INFO: ==11454== Releasing lock...
[2025-01-10 11:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 11:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 16:35:02] Production.INFO: ==11456== Lock acquired, processing the job...
[2025-01-10 16:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 16:35:02] Production.INFO: ==11456== Releasing lock...
[2025-01-10 16:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 16:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 11:35:03] Production.INFO: ==11460== Lock acquired, processing the job...
[2025-01-10 11:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 11:35:03] Production.INFO: ==11458== Lock acquired, processing the job...
[2025-01-10 11:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 11:35:03] Production.INFO: ==11462== Lock acquired, processing the job...
[2025-01-10 11:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 11:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 11:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 11:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 11:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 11:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 11:35:03] Production.INFO: ==11460== Releasing lock...
[2025-01-10 11:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 11:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 11:35:03] Production.INFO: ==11467== Lock acquired, processing the job...
[2025-01-10 11:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 11:35:03] Production.INFO: ==11465== Lock acquired, processing the job...
[2025-01-10 11:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 11:35:04] Production.INFO: ==11469== Lock acquired, processing the job...
[2025-01-10 11:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 11:35:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:35:04] Production.INFO: Account Balance Start.
[2025-01-10 11:35:04] Production.INFO: CreateAllLog Start
[2025-01-10 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-01-10 11:35:04] Production.INFO: 117
[2025-01-10 11:35:04] Production.INFO: Date 2025-01-08
[2025-01-10 11:35:04] Production.INFO: count ==21
[2025-01-10 11:35:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:35:04] Production.INFO: count ==21
[2025-01-10 11:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216647') start
[2025-01-10 11:35:04] Production.INFO: Date 2025-01-09
[2025-01-10 11:35:04] Production.ERROR: done
[2025-01-10 11:35:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 11:35:04] Production.INFO: Date 2025-01-10
[2025-01-10 11:35:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216647') end
[2025-01-10 11:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 11:35:04] Production.INFO: 1
[2025-01-10 11:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 11:35:04] Production.INFO: Total Charge 0
[2025-01-10 11:35:04] Production.INFO: CreateAllLog End
[2025-01-10 11:35:04] Production.ERROR: done
[2025-01-10 11:35:04] Production.INFO: ==11469== Releasing lock...
[2025-01-10 11:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 11:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 11:35:04] Production.INFO: Account Balance End.
[2025-01-10 11:35:04] Production.ERROR: CronJobId end 12
[2025-01-10 11:35:04] Production.INFO: ==11465== Releasing lock...
[2025-01-10 11:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 11:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 11:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 08:35:05
[end_date_ymd] => 2025-01-10 11:35:05
[RateCDR] => 1
)
[2025-01-10 11:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 08:35:05' and `end` < '2025-01-10 11:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 11:35:12] Production.ERROR: CronJobId end10
[2025-01-10 11:35:12] Production.INFO: ==11462== Releasing lock...
[2025-01-10 11:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 11:35:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 11:35:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 11:35:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 11:35:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 11:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 11:35:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 11:35:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 11:35:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 11:35:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 11:35:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 11:35:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 11:35:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 11:35:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 11:35:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 11:35:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 11:35:13] Production.INFO: call_cost start
[2025-01-10 11:35:13] Production.INFO: call_cost end
[2025-01-10 11:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 11:35:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 11:35:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 11:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 11:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 11:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 11:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 11:35:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 11:35:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 11:35:14] Production.INFO: ==11458== Releasing lock...
[2025-01-10 11:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 11:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 11:35:21] Production.INFO: count ==4247
[2025-01-10 11:35:22] Production.ERROR: pbx CDR StartTime 2025-01-10 08:35:05 - End Time 2025-01-10 11:35:05
[2025-01-10 11:35:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 11:35:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216648', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:35:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216648', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:35:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216648', 'tblTempVendorCDR_20' ) start
[2025-01-10 11:35:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216648', 'tblTempVendorCDR_20' ) end
[2025-01-10 11:35:22] Production.INFO: ProcessCDR(1,14216648,1,1,2)
[2025-01-10 11:35:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216648,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:35:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216648,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:35:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216648,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:35:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216648,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:35:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216648', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:35:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216648', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:35:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:35:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:35:27] Production.INFO: ==11467== Releasing lock...
[2025-01-10 11:35:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 11:35:27] Production.INFO: 60 MB #Memory Used#
[2025-01-10 16:36:01] Production.INFO: ==11547== Lock acquired, processing the job...
[2025-01-10 16:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 16:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 16:36:01] Production.INFO: neon service started
[2025-01-10 16:36:01] Production.INFO: neon service started
[2025-01-10 16:36:01] Production.INFO: ==11547== Releasing lock...
[2025-01-10 16:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 16:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 16:36:01] Production.INFO: ==11551== Lock acquired, processing the job...
[2025-01-10 16:36:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 16:36:01] Production.INFO: ==11551== Releasing lock...
[2025-01-10 16:36:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 16:36:01] Production.INFO: 25 MB #Memory Used#
[2025-01-10 11:36:01] Production.INFO: ==11549== Lock acquired, processing the job...
[2025-01-10 11:36:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 11:36:02] Production.INFO: ==11549== Releasing lock...
[2025-01-10 11:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 11:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 11:36:02] Production.INFO: ==11557== Lock acquired, processing the job...
[2025-01-10 11:36:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 11:36:02] Production.INFO: ==11555== Lock acquired, processing the job...
[2025-01-10 11:36:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 11:36:02] Production.INFO: ==11559== Lock acquired, processing the job...
[2025-01-10 11:36:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 11:36:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 11:36:03] Production.INFO: ==11561== Lock acquired, processing the job...
[2025-01-10 11:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 11:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 11:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 11:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 11:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 11:36:03] Production.INFO: ==11564== Lock acquired, processing the job...
[2025-01-10 11:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 11:36:03] Production.INFO: Account Balance Start.
[2025-01-10 11:36:03] Production.INFO: CreateAllLog Start
[2025-01-10 11:36:03] Production.INFO: 117
[2025-01-10 11:36:03] Production.INFO: Date 2025-01-08
[2025-01-10 11:36:03] Production.INFO: ==11566== Lock acquired, processing the job...
[2025-01-10 11:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 11:36:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:36:03] Production.INFO: Date 2025-01-09
[2025-01-10 11:36:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:36:03] Production.INFO: ==11557== Releasing lock...
[2025-01-10 11:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 11:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 11:36:03] Production.INFO: Date 2025-01-10
[2025-01-10 11:36:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:36:03] Production.INFO: Total Charge 0
[2025-01-10 11:36:03] Production.INFO: count ==21
[2025-01-10 11:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:36:03] Production.INFO: CreateAllLog End
[2025-01-10 11:36:03] Production.INFO: count ==21
[2025-01-10 11:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216652') start
[2025-01-10 11:36:03] Production.ERROR: done
[2025-01-10 11:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216652') end
[2025-01-10 11:36:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 11:36:03] Production.INFO: 1
[2025-01-10 11:36:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 11:36:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 11:36:03] Production.INFO: Account Balance End.
[2025-01-10 11:36:03] Production.INFO: ==11566== Releasing lock...
[2025-01-10 11:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 11:36:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 11:36:03] Production.ERROR: CronJobId end 12
[2025-01-10 11:36:03] Production.INFO: ==11561== Releasing lock...
[2025-01-10 11:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 11:36:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 11:36:03] Production.ERROR: done
[2025-01-10 11:36:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 08:36:04
[end_date_ymd] => 2025-01-10 11:36:04
[RateCDR] => 1
)
[2025-01-10 11:36:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 08:36:04' and `end` < '2025-01-10 11:36:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 11:36:11] Production.ERROR: CronJobId end10
[2025-01-10 11:36:11] Production.INFO: ==11559== Releasing lock...
[2025-01-10 11:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 11:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 11:36:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 11:36:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 11:36:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 11:36:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 11:36:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 11:36:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 11:36:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 11:36:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 11:36:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 11:36:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 11:36:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 11:36:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 11:36:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 11:36:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 11:36:12] Production.INFO: call_cost start
[2025-01-10 11:36:12] Production.INFO: call_cost end
[2025-01-10 11:36:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 11:36:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 11:36:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 11:36:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 11:36:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 11:36:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 11:36:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 11:36:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 11:36:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 11:36:13] Production.INFO: ==11555== Releasing lock...
[2025-01-10 11:36:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 11:36:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 11:36:30] Production.INFO: count ==4262
[2025-01-10 11:36:32] Production.ERROR: pbx CDR StartTime 2025-01-10 08:36:04 - End Time 2025-01-10 11:36:04
[2025-01-10 11:36:32] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 11:36:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216653', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:36:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216653', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:36:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216653', 'tblTempVendorCDR_20' ) start
[2025-01-10 11:36:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216653', 'tblTempVendorCDR_20' ) end
[2025-01-10 11:36:32] Production.INFO: ProcessCDR(1,14216653,1,1,2)
[2025-01-10 11:36:32] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216653,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:36:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216653,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:36:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216653,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:36:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216653,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:36:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216653', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:36:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216653', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:36:37] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:36:37] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:36:37] Production.INFO: ==11564== Releasing lock...
[2025-01-10 11:36:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 11:36:37] Production.INFO: 59.75 MB #Memory Used#
[2025-01-10 16:37:01] Production.INFO: ==11652== Lock acquired, processing the job...
[2025-01-10 16:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 16:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 16:37:01] Production.INFO: neon service started
[2025-01-10 16:37:01] Production.INFO: neon service started
[2025-01-10 16:37:01] Production.INFO: ==11652== Releasing lock...
[2025-01-10 16:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 16:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:37:02] Production.INFO: ==11654== Lock acquired, processing the job...
[2025-01-10 11:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 16:37:02] Production.INFO: ==11656== Lock acquired, processing the job...
[2025-01-10 16:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 16:37:02] Production.INFO: ==11656== Releasing lock...
[2025-01-10 16:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 16:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 11:37:02] Production.INFO: ==11654== Releasing lock...
[2025-01-10 11:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 11:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 11:37:03] Production.INFO: ==11666== Lock acquired, processing the job...
[2025-01-10 11:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 11:37:03] Production.INFO: ==11658== Lock acquired, processing the job...
[2025-01-10 11:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 11:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:37:03] Production.INFO: ==11669== Lock acquired, processing the job...
[2025-01-10 11:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 11:37:03] Production.INFO: ==11660== Lock acquired, processing the job...
[2025-01-10 11:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 11:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 11:37:03] Production.INFO: ==11662== Lock acquired, processing the job...
[2025-01-10 11:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 11:37:03] Production.INFO: ==11664== Lock acquired, processing the job...
[2025-01-10 11:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 11:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 11:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 11:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 11:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 11:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:37:03] Production.INFO: count ==21
[2025-01-10 11:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:37:03] Production.INFO: count ==21
[2025-01-10 11:37:03] Production.ERROR: done
[2025-01-10 11:37:03] Production.INFO: Account Balance Start.
[2025-01-10 11:37:03] Production.INFO: CreateAllLog Start
[2025-01-10 11:37:03] Production.INFO: 117
[2025-01-10 11:37:03] Production.INFO: Date 2025-01-08
[2025-01-10 11:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 11:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216655') start
[2025-01-10 11:37:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:37:03] Production.INFO: Date 2025-01-09
[2025-01-10 11:37:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:37:03] Production.INFO: Date 2025-01-10
[2025-01-10 11:37:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:37:03] Production.INFO: Total Charge 0
[2025-01-10 11:37:03] Production.INFO: ==11660== Releasing lock...
[2025-01-10 11:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 11:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 11:37:03] Production.INFO: CreateAllLog End
[2025-01-10 11:37:03] Production.ERROR: done
[2025-01-10 11:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216655') end
[2025-01-10 11:37:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 11:37:03] Production.INFO: 1
[2025-01-10 11:37:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 11:37:03] Production.INFO: ==11669== Releasing lock...
[2025-01-10 11:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 11:37:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 11:37:03] Production.INFO: Account Balance End.
[2025-01-10 11:37:03] Production.ERROR: CronJobId end 12
[2025-01-10 11:37:03] Production.INFO: ==11664== Releasing lock...
[2025-01-10 11:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 11:37:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 11:37:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 08:37:04
[end_date_ymd] => 2025-01-10 11:37:04
[RateCDR] => 1
)
[2025-01-10 11:37:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 08:37:04' and `end` < '2025-01-10 11:37:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 11:37:10] Production.ERROR: CronJobId end10
[2025-01-10 11:37:10] Production.INFO: ==11662== Releasing lock...
[2025-01-10 11:37:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 11:37:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 11:37:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 11:37:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 11:37:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 11:37:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 11:37:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 11:37:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 11:37:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 11:37:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 11:37:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 11:37:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 11:37:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 11:37:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 11:37:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 11:37:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 11:37:12] Production.INFO: call_cost start
[2025-01-10 11:37:12] Production.INFO: call_cost end
[2025-01-10 11:37:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 11:37:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 11:37:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 11:37:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 11:37:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 11:37:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 11:37:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 11:37:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 11:37:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 11:37:13] Production.INFO: ==11658== Releasing lock...
[2025-01-10 11:37:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 11:37:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 11:37:24] Production.INFO: count ==4329
[2025-01-10 11:37:25] Production.ERROR: pbx CDR StartTime 2025-01-10 08:37:04 - End Time 2025-01-10 11:37:04
[2025-01-10 11:37:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 11:37:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216658', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:37:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216658', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:37:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216658', 'tblTempVendorCDR_20' ) start
[2025-01-10 11:37:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216658', 'tblTempVendorCDR_20' ) end
[2025-01-10 11:37:26] Production.INFO: ProcessCDR(1,14216658,1,1,2)
[2025-01-10 11:37:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216658,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:37:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216658,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:37:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216658,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:37:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216658,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:37:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216658', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:37:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216658', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:37:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:37:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:37:29] Production.INFO: ==11666== Releasing lock...
[2025-01-10 11:37:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 11:37:29] Production.INFO: 60.25 MB #Memory Used#
[2025-01-10 16:38:02] Production.INFO: ==11747== Lock acquired, processing the job...
[2025-01-10 16:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 16:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 16:38:02] Production.INFO: neon service started
[2025-01-10 16:38:02] Production.INFO: neon service started
[2025-01-10 16:38:02] Production.INFO: ==11747== Releasing lock...
[2025-01-10 16:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 16:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:38:02] Production.INFO: ==11749== Lock acquired, processing the job...
[2025-01-10 11:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 16:38:02] Production.INFO: ==11751== Lock acquired, processing the job...
[2025-01-10 16:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 16:38:02] Production.INFO: ==11751== Releasing lock...
[2025-01-10 16:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 16:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 11:38:03] Production.INFO: ==11749== Releasing lock...
[2025-01-10 11:38:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 11:38:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 11:38:03] Production.INFO: ==11760== Lock acquired, processing the job...
[2025-01-10 11:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 11:38:03] Production.INFO: ==11764== Lock acquired, processing the job...
[2025-01-10 11:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 11:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 11:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 11:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 11:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 11:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:38:04] Production.INFO: ==11756== Lock acquired, processing the job...
[2025-01-10 11:38:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 11:38:04] Production.INFO: ==11758== Lock acquired, processing the job...
[2025-01-10 11:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 11:38:04] Production.INFO: ==11762== Lock acquired, processing the job...
[2025-01-10 11:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 11:38:04] Production.INFO: ==11766== Lock acquired, processing the job...
[2025-01-10 11:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 11:38:04] Production.INFO: Account Balance Start.
[2025-01-10 11:38:04] Production.INFO: CreateAllLog Start
[2025-01-10 11:38:04] Production.INFO: 117
[2025-01-10 11:38:04] Production.INFO: Date 2025-01-08
[2025-01-10 11:38:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:38:04] Production.INFO: Date 2025-01-09
[2025-01-10 11:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 11:38:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:38:04] Production.ERROR: done
[2025-01-10 11:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 11:38:04] Production.INFO: count ==21
[2025-01-10 11:38:04] Production.INFO: Date 2025-01-10
[2025-01-10 11:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:38:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:38:04] Production.INFO: count ==21
[2025-01-10 11:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216662') start
[2025-01-10 11:38:04] Production.INFO: Total Charge 0
[2025-01-10 11:38:04] Production.ERROR: done
[2025-01-10 11:38:04] Production.INFO: CreateAllLog End
[2025-01-10 11:38:04] Production.INFO: ==11758== Releasing lock...
[2025-01-10 11:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 11:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 11:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216662') end
[2025-01-10 11:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 11:38:04] Production.INFO: 1
[2025-01-10 11:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 11:38:04] Production.INFO: ==11766== Releasing lock...
[2025-01-10 11:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 11:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 11:38:04] Production.INFO: Account Balance End.
[2025-01-10 11:38:04] Production.ERROR: CronJobId end 12
[2025-01-10 11:38:04] Production.INFO: ==11762== Releasing lock...
[2025-01-10 11:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 11:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 11:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 08:38:05
[end_date_ymd] => 2025-01-10 11:38:05
[RateCDR] => 1
)
[2025-01-10 11:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 08:38:05' and `end` < '2025-01-10 11:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 11:38:12] Production.ERROR: CronJobId end10
[2025-01-10 11:38:12] Production.INFO: ==11760== Releasing lock...
[2025-01-10 11:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 11:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 11:38:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 11:38:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 11:38:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 11:38:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 11:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 11:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 11:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 11:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 11:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 11:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 11:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 11:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 11:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 11:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 11:38:14] Production.INFO: call_cost start
[2025-01-10 11:38:14] Production.INFO: call_cost end
[2025-01-10 11:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 11:38:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 11:38:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 11:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 11:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 11:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 11:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 11:38:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 11:38:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 11:38:14] Production.INFO: ==11756== Releasing lock...
[2025-01-10 11:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 11:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 11:38:25] Production.INFO: count ==4359
[2025-01-10 11:38:27] Production.ERROR: pbx CDR StartTime 2025-01-10 08:38:05 - End Time 2025-01-10 11:38:05
[2025-01-10 11:38:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 11:38:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216663', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:38:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216663', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:38:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216663', 'tblTempVendorCDR_20' ) start
[2025-01-10 11:38:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216663', 'tblTempVendorCDR_20' ) end
[2025-01-10 11:38:27] Production.INFO: ProcessCDR(1,14216663,1,1,2)
[2025-01-10 11:38:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216663,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:38:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216663,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:38:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216663,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:38:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216663,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:38:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216663', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:38:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216663', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:38:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:38:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:38:32] Production.INFO: ==11764== Releasing lock...
[2025-01-10 11:38:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 11:38:32] Production.INFO: 60.5 MB #Memory Used#
[2025-01-10 16:39:01] Production.INFO: ==11858== Lock acquired, processing the job...
[2025-01-10 16:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 16:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 16:39:01] Production.INFO: neon service started
[2025-01-10 16:39:01] Production.INFO: neon service started
[2025-01-10 16:39:01] Production.INFO: ==11858== Releasing lock...
[2025-01-10 16:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 16:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:39:01] Production.INFO: ==11861== Lock acquired, processing the job...
[2025-01-10 11:39:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 16:39:02] Production.INFO: ==11863== Lock acquired, processing the job...
[2025-01-10 16:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 11:39:02] Production.INFO: ==11861== Releasing lock...
[2025-01-10 11:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 11:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 16:39:02] Production.INFO: ==11863== Releasing lock...
[2025-01-10 16:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 16:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 11:39:03] Production.INFO: ==11873== Lock acquired, processing the job...
[2025-01-10 11:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 11:39:03] Production.INFO: ==11867== Lock acquired, processing the job...
[2025-01-10 11:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 11:39:03] Production.INFO: ==11875== Lock acquired, processing the job...
[2025-01-10 11:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 11:39:03] Production.INFO: Account Balance Start.
[2025-01-10 11:39:03] Production.INFO: CreateAllLog Start
[2025-01-10 11:39:03] Production.INFO: 117
[2025-01-10 11:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 11:39:03] Production.INFO: Date 2025-01-08
[2025-01-10 11:39:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:39:03] Production.INFO: Date 2025-01-09
[2025-01-10 11:39:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:39:03] Production.INFO: ==11869== Lock acquired, processing the job...
[2025-01-10 11:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 11:39:03] Production.INFO: ==11871== Lock acquired, processing the job...
[2025-01-10 11:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 11:39:03] Production.INFO: Date 2025-01-10
[2025-01-10 11:39:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:39:03] Production.INFO: Total Charge 0
[2025-01-10 11:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 11:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 11:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 11:39:03] Production.INFO: CreateAllLog End
[2025-01-10 11:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 11:39:03] Production.INFO: ==11877== Lock acquired, processing the job...
[2025-01-10 11:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 11:39:03] Production.ERROR: done
[2025-01-10 11:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 11:39:03] Production.INFO: ==11869== Releasing lock...
[2025-01-10 11:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 11:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 11:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:39:03] Production.INFO: Account Balance End.
[2025-01-10 11:39:03] Production.INFO: count ==21
[2025-01-10 11:39:03] Production.ERROR: CronJobId end 12
[2025-01-10 11:39:03] Production.INFO: ==11873== Releasing lock...
[2025-01-10 11:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 11:39:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 11:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:39:03] Production.ERROR: done
[2025-01-10 11:39:03] Production.INFO: count ==21
[2025-01-10 11:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216667') start
[2025-01-10 11:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216667') end
[2025-01-10 11:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 11:39:04] Production.INFO: 1
[2025-01-10 11:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 11:39:04] Production.INFO: ==11877== Releasing lock...
[2025-01-10 11:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 11:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 11:39:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 08:39:04
[end_date_ymd] => 2025-01-10 11:39:04
[RateCDR] => 1
)
[2025-01-10 11:39:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 08:39:04' and `end` < '2025-01-10 11:39:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 11:39:12] Production.ERROR: CronJobId end10
[2025-01-10 11:39:12] Production.INFO: ==11871== Releasing lock...
[2025-01-10 11:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 11:39:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 11:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 11:39:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 11:39:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 11:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 11:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 11:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 11:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 11:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 11:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 11:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 11:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 11:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 11:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 11:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 11:39:13] Production.INFO: call_cost start
[2025-01-10 11:39:13] Production.INFO: call_cost end
[2025-01-10 11:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 11:39:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 11:39:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 11:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 11:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 11:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 11:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 11:39:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 11:39:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 11:39:14] Production.INFO: ==11867== Releasing lock...
[2025-01-10 11:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 11:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 11:39:18] Production.INFO: count ==4373
[2025-01-10 11:39:20] Production.ERROR: pbx CDR StartTime 2025-01-10 08:39:04 - End Time 2025-01-10 11:39:04
[2025-01-10 11:39:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 11:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216668', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216668', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216668', 'tblTempVendorCDR_20' ) start
[2025-01-10 11:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216668', 'tblTempVendorCDR_20' ) end
[2025-01-10 11:39:20] Production.INFO: ProcessCDR(1,14216668,1,1,2)
[2025-01-10 11:39:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216668,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:39:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216668,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:39:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216668,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:39:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216668,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:39:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216668', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:39:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216668', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:39:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:39:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:39:25] Production.INFO: ==11875== Releasing lock...
[2025-01-10 11:39:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 11:39:25] Production.INFO: 60.75 MB #Memory Used#
[2025-01-10 16:40:01] Production.INFO: ==11990== Lock acquired, processing the job...
[2025-01-10 16:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 16:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 16:40:01] Production.INFO: neon service started
[2025-01-10 16:40:02] Production.INFO: neon service started
[2025-01-10 16:40:02] Production.INFO: ==11990== Releasing lock...
[2025-01-10 16:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 16:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:40:02] Production.INFO: ==11992== Lock acquired, processing the job...
[2025-01-10 11:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 11:40:02] Production.INFO: ==11992== Releasing lock...
[2025-01-10 11:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 11:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 16:40:02] Production.INFO: ==11994== Lock acquired, processing the job...
[2025-01-10 16:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 16:40:02] Production.INFO: ==11994== Releasing lock...
[2025-01-10 16:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 16:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 11:40:03] Production.INFO: ==12001== Lock acquired, processing the job...
[2025-01-10 11:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 11:40:03] Production.INFO: ==11997== Lock acquired, processing the job...
[2025-01-10 11:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 11:40:03] Production.INFO: ==11999== Lock acquired, processing the job...
[2025-01-10 11:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 11:40:03] Production.INFO: ==12007== Lock acquired, processing the job...
[2025-01-10 11:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 11:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 11:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 11:40:03] Production.ERROR: CronJob PID - 11999
[2025-01-10 11:40:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-10 11:40:03] Production.ERROR: CronJob ID - 5
[2025-01-10 11:40:03] Production.ERROR: CronJob Last Run Time 2025-01-10 11:40:00
[2025-01-10 11:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 11:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 11:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 11:40:03] Production.ERROR: CronJob PID - 12001
[2025-01-10 11:40:03] Production.ERROR: CronJob Title - Account Block
[2025-01-10 11:40:03] Production.ERROR: CronJob ID - 7
[2025-01-10 11:40:03] Production.ERROR: CronJob Last Run Time 2025-01-10 11:40:00
[2025-01-10 11:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 11:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 11:40:03] Production.INFO: ==12013== Lock acquired, processing the job...
[2025-01-10 11:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 11:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 11:40:03] Production.INFO: ==11997== Releasing lock...
[2025-01-10 11:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 11:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 11:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 11:40:03] Production.INFO: ==12003== Lock acquired, processing the job...
[2025-01-10 11:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 11:40:04] Production.INFO: ==12005== Lock acquired, processing the job...
[2025-01-10 11:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 11:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:40:04] Production.INFO: ==12009== Lock acquired, processing the job...
[2025-01-10 11:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 11:40:04] Production.INFO: ==12001== Releasing lock...
[2025-01-10 11:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 11:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 11:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 11:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 11:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 11:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 11:40:04] Production.INFO: count ==21
[2025-01-10 11:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:40:04] Production.INFO: Account Balance Start.
[2025-01-10 11:40:04] Production.INFO: CreateAllLog Start
[2025-01-10 11:40:04] Production.INFO: count ==21
[2025-01-10 11:40:04] Production.INFO: 117
[2025-01-10 11:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216671') start
[2025-01-10 11:40:04] Production.INFO: Date 2025-01-08
[2025-01-10 11:40:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:40:04] Production.INFO: Date 2025-01-09
[2025-01-10 11:40:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:40:04] Production.ERROR: done
[2025-01-10 11:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 11:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216671') end
[2025-01-10 11:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 11:40:04] Production.INFO: 1
[2025-01-10 11:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 11:40:04] Production.INFO: Date 2025-01-10
[2025-01-10 11:40:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:40:04] Production.ERROR: done
[2025-01-10 11:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 11:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14216673', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 11:40:04] Production.INFO: ==12013== Releasing lock...
[2025-01-10 11:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 11:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 11:40:04] Production.ERROR: done
[2025-01-10 11:40:04] Production.INFO: Total Charge 0
[2025-01-10 11:40:04] Production.INFO: CreateAllLog End
[2025-01-10 11:40:04] Production.INFO: Account Balance End.
[2025-01-10 11:40:04] Production.ERROR: CronJobId end 12
[2025-01-10 11:40:04] Production.INFO: ==12005== Releasing lock...
[2025-01-10 11:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 11:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 11:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 08:40:05
[end_date_ymd] => 2025-01-10 11:40:05
[RateCDR] => 1
)
[2025-01-10 11:40:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 08:40:05' and `end` < '2025-01-10 11:40:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 11:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14216673', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 11:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 11:40:08] Production.INFO: ProcessCDR(1,14216673,1,1,2)
[2025-01-10 11:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14216673,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14216673,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:40:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:40:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:40:08] Production.INFO: ==12009== Releasing lock...
[2025-01-10 11:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 11:40:08] Production.INFO: 26 MB #Memory Used#
[2025-01-10 11:40:13] Production.ERROR: CronJobId end10
[2025-01-10 11:40:13] Production.INFO: ==12003== Releasing lock...
[2025-01-10 11:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 11:40:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 11:40:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 11:40:15] Production.INFO: ============== Balance Warning START===========
[2025-01-10 11:40:15] Production.INFO: ============== Balance Warning END===========
[2025-01-10 11:40:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 11:40:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 11:40:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 11:40:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 11:40:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 11:40:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 11:40:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 11:40:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 11:40:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 11:40:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 11:40:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 11:40:15] Production.INFO: call_cost start
[2025-01-10 11:40:15] Production.INFO: call_cost end
[2025-01-10 11:40:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 11:40:16] Production.INFO: ============== Report Schedule START===========
[2025-01-10 11:40:16] Production.INFO: ============== Report Schedule END===========
[2025-01-10 11:40:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 11:40:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 11:40:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 11:40:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 11:40:16] Production.INFO: ============== Deal alert START===========
[2025-01-10 11:40:16] Production.INFO: ============== Deal alert END===========
[2025-01-10 11:40:16] Production.INFO: ==11999== Releasing lock...
[2025-01-10 11:40:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 11:40:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 11:40:34] Production.INFO: count ==4379
[2025-01-10 11:40:36] Production.ERROR: pbx CDR StartTime 2025-01-10 08:40:05 - End Time 2025-01-10 11:40:05
[2025-01-10 11:40:36] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 11:40:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216674', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:40:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216674', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:40:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216674', 'tblTempVendorCDR_20' ) start
[2025-01-10 11:40:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216674', 'tblTempVendorCDR_20' ) end
[2025-01-10 11:40:36] Production.INFO: ProcessCDR(1,14216674,1,1,2)
[2025-01-10 11:40:36] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216674,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:40:39] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216674,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:40:39] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216674,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:40:41] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216674,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:40:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216674', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:40:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216674', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:40:41] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:40:41] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:40:41] Production.INFO: ==12007== Releasing lock...
[2025-01-10 11:40:41] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 11:40:41] Production.INFO: 60.75 MB #Memory Used#
[2025-01-10 16:41:01] Production.INFO: ==12125== Lock acquired, processing the job...
[2025-01-10 16:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 16:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 16:41:01] Production.INFO: neon service started
[2025-01-10 16:41:01] Production.INFO: neon service started
[2025-01-10 16:41:01] Production.INFO: ==12125== Releasing lock...
[2025-01-10 16:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 16:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 16:41:01] Production.INFO: ==12129== Lock acquired, processing the job...
[2025-01-10 16:41:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 16:41:01] Production.INFO: ==12129== Releasing lock...
[2025-01-10 16:41:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 16:41:01] Production.INFO: 25 MB #Memory Used#
[2025-01-10 11:41:01] Production.INFO: ==12127== Lock acquired, processing the job...
[2025-01-10 11:41:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 11:41:02] Production.INFO: ==12127== Releasing lock...
[2025-01-10 11:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 11:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 11:41:02] Production.INFO: ==12131== Lock acquired, processing the job...
[2025-01-10 11:41:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 11:41:02] Production.INFO: ==12133== Lock acquired, processing the job...
[2025-01-10 11:41:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 11:41:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 11:41:02] Production.INFO: ==12137== Lock acquired, processing the job...
[2025-01-10 11:41:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 11:41:03] Production.INFO: Account Balance Start.
[2025-01-10 11:41:03] Production.INFO: CreateAllLog Start
[2025-01-10 11:41:03] Production.INFO: 117
[2025-01-10 11:41:03] Production.INFO: Date 2025-01-08
[2025-01-10 11:41:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:41:03] Production.INFO: Date 2025-01-09
[2025-01-10 11:41:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:41:03] Production.INFO: Date 2025-01-10
[2025-01-10 11:41:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:41:03] Production.INFO: Total Charge 0
[2025-01-10 11:41:03] Production.INFO: CreateAllLog End
[2025-01-10 11:41:03] Production.INFO: ==12133== Releasing lock...
[2025-01-10 11:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 11:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 11:41:03] Production.INFO: Account Balance End.
[2025-01-10 11:41:03] Production.ERROR: CronJobId end 12
[2025-01-10 11:41:03] Production.INFO: ==12137== Releasing lock...
[2025-01-10 11:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 11:41:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 11:41:03] Production.INFO: ==12135== Lock acquired, processing the job...
[2025-01-10 11:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 11:41:03] Production.INFO: ==12139== Lock acquired, processing the job...
[2025-01-10 11:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 11:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 11:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 11:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 11:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 11:41:03] Production.INFO: ==12141== Lock acquired, processing the job...
[2025-01-10 11:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 11:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:41:03] Production.INFO: count ==21
[2025-01-10 11:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:41:03] Production.INFO: count ==21
[2025-01-10 11:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216678') start
[2025-01-10 11:41:03] Production.ERROR: done
[2025-01-10 11:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 11:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216678') end
[2025-01-10 11:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 11:41:03] Production.INFO: 1
[2025-01-10 11:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 11:41:03] Production.ERROR: done
[2025-01-10 11:41:04] Production.INFO: ==12141== Releasing lock...
[2025-01-10 11:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 11:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 11:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 08:41:05
[end_date_ymd] => 2025-01-10 11:41:05
[RateCDR] => 1
)
[2025-01-10 11:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 08:41:05' and `end` < '2025-01-10 11:41:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 11:41:11] Production.ERROR: CronJobId end10
[2025-01-10 11:41:11] Production.INFO: ==12135== Releasing lock...
[2025-01-10 11:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 11:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 11:41:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 11:41:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 11:41:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 11:41:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 11:41:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 11:41:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 11:41:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 11:41:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 11:41:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 11:41:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 11:41:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 11:41:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 11:41:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 11:41:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 11:41:13] Production.INFO: call_cost start
[2025-01-10 11:41:13] Production.INFO: call_cost end
[2025-01-10 11:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 11:41:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 11:41:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 11:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 11:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 11:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 11:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 11:41:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 11:41:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 11:41:14] Production.INFO: ==12131== Releasing lock...
[2025-01-10 11:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 11:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 11:41:23] Production.INFO: count ==4428
[2025-01-10 11:41:24] Production.ERROR: pbx CDR StartTime 2025-01-10 08:41:05 - End Time 2025-01-10 11:41:05
[2025-01-10 11:41:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 11:41:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216679', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:41:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216679', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:41:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216679', 'tblTempVendorCDR_20' ) start
[2025-01-10 11:41:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216679', 'tblTempVendorCDR_20' ) end
[2025-01-10 11:41:25] Production.INFO: ProcessCDR(1,14216679,1,1,2)
[2025-01-10 11:41:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216679,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:41:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216679,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:41:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216679,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:41:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216679,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:41:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216679', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:41:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216679', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:41:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:41:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:41:29] Production.INFO: ==12139== Releasing lock...
[2025-01-10 11:41:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 11:41:29] Production.INFO: 61 MB #Memory Used#
[2025-01-10 16:42:01] Production.INFO: ==12259== Lock acquired, processing the job...
[2025-01-10 16:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 16:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 16:42:01] Production.INFO: neon service started
[2025-01-10 16:42:01] Production.INFO: neon service started
[2025-01-10 16:42:01] Production.INFO: ==12259== Releasing lock...
[2025-01-10 16:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 16:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 16:42:02] Production.INFO: ==12263== Lock acquired, processing the job...
[2025-01-10 16:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 16:42:02] Production.INFO: ==12263== Releasing lock...
[2025-01-10 16:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 16:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 11:42:02] Production.INFO: ==12261== Lock acquired, processing the job...
[2025-01-10 11:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 11:42:02] Production.INFO: ==12261== Releasing lock...
[2025-01-10 11:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 11:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 11:42:03] Production.INFO: ==12268== Lock acquired, processing the job...
[2025-01-10 11:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 11:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 11:42:03] Production.INFO: ==12270== Lock acquired, processing the job...
[2025-01-10 11:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 11:42:03] Production.INFO: ==12272== Lock acquired, processing the job...
[2025-01-10 11:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 11:42:03] Production.INFO: ==12274== Lock acquired, processing the job...
[2025-01-10 11:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 11:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 11:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 11:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 11:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 11:42:03] Production.INFO: ==12278== Lock acquired, processing the job...
[2025-01-10 11:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 11:42:03] Production.INFO: Account Balance Start.
[2025-01-10 11:42:03] Production.INFO: CreateAllLog Start
[2025-01-10 11:42:03] Production.INFO: 117
[2025-01-10 11:42:03] Production.INFO: Date 2025-01-08
[2025-01-10 11:42:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:42:03] Production.INFO: Date 2025-01-09
[2025-01-10 11:42:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:42:04] Production.INFO: ==12276== Lock acquired, processing the job...
[2025-01-10 11:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 11:42:04] Production.INFO: Date 2025-01-10
[2025-01-10 11:42:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:42:04] Production.INFO: ==12270== Releasing lock...
[2025-01-10 11:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 11:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 11:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:42:04] Production.INFO: Total Charge 0
[2025-01-10 11:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:42:04] Production.INFO: count ==21
[2025-01-10 11:42:04] Production.INFO: CreateAllLog End
[2025-01-10 11:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:42:04] Production.INFO: count ==21
[2025-01-10 11:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216683') start
[2025-01-10 11:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216683') end
[2025-01-10 11:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 11:42:04] Production.INFO: 1
[2025-01-10 11:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 11:42:04] Production.INFO: Account Balance End.
[2025-01-10 11:42:04] Production.INFO: ==12278== Releasing lock...
[2025-01-10 11:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 11:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 11:42:04] Production.ERROR: CronJobId end 12
[2025-01-10 11:42:04] Production.INFO: ==12274== Releasing lock...
[2025-01-10 11:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 11:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 11:42:04] Production.ERROR: done
[2025-01-10 11:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 11:42:04] Production.ERROR: done
[2025-01-10 11:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 08:42:05
[end_date_ymd] => 2025-01-10 11:42:05
[RateCDR] => 1
)
[2025-01-10 11:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 08:42:05' and `end` < '2025-01-10 11:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 11:42:12] Production.ERROR: CronJobId end10
[2025-01-10 11:42:12] Production.INFO: ==12272== Releasing lock...
[2025-01-10 11:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 11:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 11:42:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 11:42:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 11:42:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 11:42:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 11:42:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 11:42:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 11:42:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 11:42:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 11:42:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 11:42:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 11:42:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 11:42:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 11:42:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 11:42:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 11:42:14] Production.INFO: call_cost start
[2025-01-10 11:42:14] Production.INFO: call_cost end
[2025-01-10 11:42:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 11:42:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 11:42:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 11:42:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 11:42:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 11:42:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 11:42:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 11:42:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 11:42:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 11:42:15] Production.INFO: ==12268== Releasing lock...
[2025-01-10 11:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 11:42:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 11:42:23] Production.INFO: count ==4429
[2025-01-10 11:42:25] Production.ERROR: pbx CDR StartTime 2025-01-10 08:42:05 - End Time 2025-01-10 11:42:05
[2025-01-10 11:42:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 11:42:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216684', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:42:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216684', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:42:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216684', 'tblTempVendorCDR_20' ) start
[2025-01-10 11:42:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216684', 'tblTempVendorCDR_20' ) end
[2025-01-10 11:42:25] Production.INFO: ProcessCDR(1,14216684,1,1,2)
[2025-01-10 11:42:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216684,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:42:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216684,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:42:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216684,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:42:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216684,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:42:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216684', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:42:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216684', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:42:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:42:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:42:30] Production.INFO: ==12276== Releasing lock...
[2025-01-10 11:42:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 11:42:30] Production.INFO: 61 MB #Memory Used#
[2025-01-10 16:43:02] Production.INFO: ==12430== Lock acquired, processing the job...
[2025-01-10 16:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 16:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 16:43:02] Production.INFO: neon service started
[2025-01-10 16:43:02] Production.INFO: neon service started
[2025-01-10 16:43:02] Production.INFO: ==12430== Releasing lock...
[2025-01-10 16:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 16:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:43:02] Production.INFO: ==12432== Lock acquired, processing the job...
[2025-01-10 11:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 11:43:02] Production.INFO: ==12432== Releasing lock...
[2025-01-10 11:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 11:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 16:43:03] Production.INFO: ==12434== Lock acquired, processing the job...
[2025-01-10 16:43:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 16:43:03] Production.INFO: ==12434== Releasing lock...
[2025-01-10 16:43:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 16:43:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 11:43:03] Production.INFO: ==12443== Lock acquired, processing the job...
[2025-01-10 11:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 11:43:03] Production.INFO: ==12447== Lock acquired, processing the job...
[2025-01-10 11:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 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-01-10 11:43:04] Production.INFO: Account Balance Start.
[2025-01-10 11:43:04] Production.INFO: CreateAllLog Start
[2025-01-10 11:43:04] Production.INFO: 117
[2025-01-10 11:43:04] Production.INFO: ==12438== Lock acquired, processing the job...
[2025-01-10 11:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 11:43:04] Production.INFO: count ==21
[2025-01-10 11:43:04] Production.INFO: ==12441== Lock acquired, processing the job...
[2025-01-10 11:43:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 11:43:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:43:04] Production.INFO: ==12436== Lock acquired, processing the job...
[2025-01-10 11:43:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 11:43:04] Production.INFO: count ==21
[2025-01-10 11:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216686') start
[2025-01-10 11:43:04] Production.INFO: Date 2025-01-08
[2025-01-10 11:43:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:43:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 11:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 11:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 11:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 11:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 11:43:04] Production.INFO: Date 2025-01-09
[2025-01-10 11:43:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:43:04] Production.INFO: ==12445== Lock acquired, processing the job...
[2025-01-10 11:43:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 11:43:04] Production.INFO: Date 2025-01-10
[2025-01-10 11:43:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216686') end
[2025-01-10 11:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 11:43:04] Production.INFO: 1
[2025-01-10 11:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 11:43:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:43:04] Production.INFO: ==12447== Releasing lock...
[2025-01-10 11:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 11:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 11:43:04] Production.INFO: Total Charge 0
[2025-01-10 11:43:04] Production.INFO: CreateAllLog End
[2025-01-10 11:43:04] Production.ERROR: done
[2025-01-10 11:43:04] Production.INFO: ==12438== Releasing lock...
[2025-01-10 11:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 11:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 11:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 11:43:04] Production.INFO: Account Balance End.
[2025-01-10 11:43:04] Production.ERROR: CronJobId end 12
[2025-01-10 11:43:04] Production.INFO: ==12443== Releasing lock...
[2025-01-10 11:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 11:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 11:43:04] Production.ERROR: done
[2025-01-10 11:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 08:43:05
[end_date_ymd] => 2025-01-10 11:43:05
[RateCDR] => 1
)
[2025-01-10 11:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 08:43:05' and `end` < '2025-01-10 11:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 11:43:11] Production.ERROR: CronJobId end10
[2025-01-10 11:43:11] Production.INFO: ==12441== Releasing lock...
[2025-01-10 11:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 11:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 11:43:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 11:43:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 11:43:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 11:43:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 11:43:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 11:43:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 11:43:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 11:43:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 11:43:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 11:43:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 11:43:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 11:43:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 11:43:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 11:43:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 11:43:13] Production.INFO: call_cost start
[2025-01-10 11:43:13] Production.INFO: call_cost end
[2025-01-10 11:43:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 11:43:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 11:43:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 11:43:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 11:43:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 11:43:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 11:43:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 11:43:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 11:43:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 11:43:14] Production.INFO: ==12436== Releasing lock...
[2025-01-10 11:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 11:43:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 11:43:23] Production.INFO: count ==4463
[2025-01-10 11:43:24] Production.ERROR: pbx CDR StartTime 2025-01-10 08:43:05 - End Time 2025-01-10 11:43:05
[2025-01-10 11:43:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 11:43:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216689', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:43:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216689', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:43:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216689', 'tblTempVendorCDR_20' ) start
[2025-01-10 11:43:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216689', 'tblTempVendorCDR_20' ) end
[2025-01-10 11:43:25] Production.INFO: ProcessCDR(1,14216689,1,1,2)
[2025-01-10 11:43:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216689,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:43:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216689,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:43:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216689,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:43:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216689,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:43:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216689', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:43:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216689', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:43:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:43:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:43:29] Production.INFO: ==12445== Releasing lock...
[2025-01-10 11:43:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 11:43:29] Production.INFO: 61.25 MB #Memory Used#
[2025-01-10 16:44:01] Production.INFO: ==12564== Lock acquired, processing the job...
[2025-01-10 16:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 16:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 16:44:01] Production.INFO: neon service started
[2025-01-10 16:44:01] Production.INFO: neon service started
[2025-01-10 16:44:01] Production.INFO: ==12564== Releasing lock...
[2025-01-10 16:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 16:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 16:44:02] Production.INFO: ==12568== Lock acquired, processing the job...
[2025-01-10 16:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 16:44:02] Production.INFO: ==12568== Releasing lock...
[2025-01-10 16:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 16:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 11:44:02] Production.INFO: ==12566== Lock acquired, processing the job...
[2025-01-10 11:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 11:44:02] Production.INFO: ==12566== Releasing lock...
[2025-01-10 11:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 11:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 11:44:03] Production.INFO: ==12577== Lock acquired, processing the job...
[2025-01-10 11:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 11:44:03] Production.INFO: ==12581== Lock acquired, processing the job...
[2025-01-10 11:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 11:44:03] Production.INFO: Account Balance Start.
[2025-01-10 11:44:03] Production.INFO: CreateAllLog Start
[2025-01-10 11:44:03] Production.INFO: 117
[2025-01-10 11:44:03] Production.INFO: Date 2025-01-08
[2025-01-10 11:44:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:44:03] Production.INFO: Date 2025-01-09
[2025-01-10 11:44:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:44:03] Production.INFO: Date 2025-01-10
[2025-01-10 11:44:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:44:03] Production.INFO: ==12571== Lock acquired, processing the job...
[2025-01-10 11:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 11:44:03] Production.INFO: ==12573== Lock acquired, processing the job...
[2025-01-10 11:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 11:44:03] Production.INFO: Total Charge 0
[2025-01-10 11:44:03] Production.INFO: ==12579== Lock acquired, processing the job...
[2025-01-10 11:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 11:44:03] Production.INFO: count ==21
[2025-01-10 11:44:03] Production.INFO: ==12575== Lock acquired, processing the job...
[2025-01-10 11:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 11:44:03] Production.INFO: CreateAllLog End
[2025-01-10 11:44:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:44:03] Production.INFO: count ==21
[2025-01-10 11:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216691') start
[2025-01-10 11:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:44:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 11:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 11:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 11:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 11:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 11:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216691') end
[2025-01-10 11:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 11:44:04] Production.INFO: 1
[2025-01-10 11:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 11:44:04] Production.INFO: ==12581== Releasing lock...
[2025-01-10 11:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 11:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 11:44:04] Production.INFO: Account Balance End.
[2025-01-10 11:44:04] Production.ERROR: done
[2025-01-10 11:44:04] Production.ERROR: CronJobId end 12
[2025-01-10 11:44:04] Production.INFO: ==12577== Releasing lock...
[2025-01-10 11:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 11:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 11:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 11:44:04] Production.INFO: ==12573== Releasing lock...
[2025-01-10 11:44:04] Production.ERROR: done
[2025-01-10 11:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 11:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 11:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 08:44:05
[end_date_ymd] => 2025-01-10 11:44:05
[RateCDR] => 1
)
[2025-01-10 11:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 08:44:05' and `end` < '2025-01-10 11:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 11:44:12] Production.ERROR: CronJobId end10
[2025-01-10 11:44:12] Production.INFO: ==12575== Releasing lock...
[2025-01-10 11:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 11:44:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 11:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 11:44:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 11:44:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 11:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 11:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 11:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 11:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 11:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 11:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 11:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 11:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 11:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 11:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 11:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 11:44:14] Production.INFO: call_cost start
[2025-01-10 11:44:14] Production.INFO: call_cost end
[2025-01-10 11:44:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 11:44:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 11:44:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 11:44:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 11:44:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 11:44:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 11:44:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 11:44:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 11:44:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 11:44:14] Production.INFO: ==12571== Releasing lock...
[2025-01-10 11:44:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 11:44:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 11:44:28] Production.INFO: count ==4451
[2025-01-10 11:44:29] Production.ERROR: pbx CDR StartTime 2025-01-10 08:44:05 - End Time 2025-01-10 11:44:05
[2025-01-10 11:44:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 11:44:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216694', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:44:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216694', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:44:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216694', 'tblTempVendorCDR_20' ) start
[2025-01-10 11:44:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216694', 'tblTempVendorCDR_20' ) end
[2025-01-10 11:44:30] Production.INFO: ProcessCDR(1,14216694,1,1,2)
[2025-01-10 11:44:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216694,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:44:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216694,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:44:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216694,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:44:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216694,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:44:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216694', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:44:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216694', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:44:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:44:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:44:34] Production.INFO: ==12579== Releasing lock...
[2025-01-10 11:44:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 11:44:34] Production.INFO: 61.25 MB #Memory Used#
[2025-01-10 16:45:02] Production.INFO: ==12695== Lock acquired, processing the job...
[2025-01-10 16:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 16:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 16:45:02] Production.INFO: neon service started
[2025-01-10 16:45:02] Production.INFO: neon service started
[2025-01-10 16:45:02] Production.INFO: ==12695== Releasing lock...
[2025-01-10 16:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 16:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:45:02] Production.INFO: ==12698== Lock acquired, processing the job...
[2025-01-10 11:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 11:45:03] Production.INFO: ==12698== Releasing lock...
[2025-01-10 11:45:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 11:45:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 16:45:03] Production.INFO: ==12700== Lock acquired, processing the job...
[2025-01-10 16:45:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 16:45:03] Production.INFO: ==12700== Releasing lock...
[2025-01-10 16:45:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 16:45:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 11:45:03] Production.INFO: ==12704== Lock acquired, processing the job...
[2025-01-10 11:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 11:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 11:45:03] Production.INFO: ==12706== Lock acquired, processing the job...
[2025-01-10 11:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 11:45:03] Production.INFO: ==12710== Lock acquired, processing the job...
[2025-01-10 11:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 11:45:04] Production.INFO: ==12708== Lock acquired, processing the job...
[2025-01-10 11:45:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 11:45:04] Production.INFO: Account Balance Start.
[2025-01-10 11:45:04] Production.INFO: CreateAllLog Start
[2025-01-10 11:45:04] Production.INFO: 117
[2025-01-10 11:45:04] Production.INFO: ==12714== Lock acquired, processing the job...
[2025-01-10 11:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 11:45:04] Production.INFO: Date 2025-01-08
[2025-01-10 11:45:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:45:04] Production.INFO: ==12712== Lock acquired, processing the job...
[2025-01-10 11:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 11:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 11:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 11:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 11:45:04] Production.INFO: ==12706== Releasing lock...
[2025-01-10 11:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 11:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 11:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 11:45:04] Production.INFO: Date 2025-01-09
[2025-01-10 11:45:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:45:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:45:04] Production.INFO: Date 2025-01-10
[2025-01-10 11:45:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:45:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:45:04] Production.INFO: Total Charge 0
[2025-01-10 11:45:04] Production.INFO: CreateAllLog End
[2025-01-10 11:45:04] Production.INFO: count ==21
[2025-01-10 11:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:45:04] Production.INFO: count ==21
[2025-01-10 11:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216698') start
[2025-01-10 11:45:04] Production.INFO: Account Balance End.
[2025-01-10 11:45:04] Production.ERROR: done
[2025-01-10 11:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 11:45:04] Production.ERROR: CronJobId end 12
[2025-01-10 11:45:04] Production.INFO: ==12710== Releasing lock...
[2025-01-10 11:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 11:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 11:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216698') end
[2025-01-10 11:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 11:45:04] Production.INFO: 1
[2025-01-10 11:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 11:45:04] Production.ERROR: done
[2025-01-10 11:45:04] Production.INFO: ==12714== Releasing lock...
[2025-01-10 11:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 11:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 11:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 08:45:05
[end_date_ymd] => 2025-01-10 11:45:05
[RateCDR] => 1
)
[2025-01-10 11:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 08:45:05' and `end` < '2025-01-10 11:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 11:45:12] Production.ERROR: CronJobId end10
[2025-01-10 11:45:12] Production.INFO: ==12708== Releasing lock...
[2025-01-10 11:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 11:45:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 11:45:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 11:45:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 11:45:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 11:45:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 11:45:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 11:45:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 11:45:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 11:45:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 11:45:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 11:45:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 11:45:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 11:45:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 11:45:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 11:45:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 11:45:14] Production.INFO: call_cost start
[2025-01-10 11:45:14] Production.INFO: call_cost end
[2025-01-10 11:45:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 11:45:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 11:45:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 11:45:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 11:45:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 11:45:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 11:45:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 11:45:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 11:45:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 11:45:15] Production.INFO: ==12704== Releasing lock...
[2025-01-10 11:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 11:45:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 11:45:30] Production.INFO: count ==4464
[2025-01-10 11:45:31] Production.ERROR: pbx CDR StartTime 2025-01-10 08:45:05 - End Time 2025-01-10 11:45:05
[2025-01-10 11:45:31] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 11:45:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216699', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:45:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216699', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:45:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216699', 'tblTempVendorCDR_20' ) start
[2025-01-10 11:45:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216699', 'tblTempVendorCDR_20' ) end
[2025-01-10 11:45:32] Production.INFO: ProcessCDR(1,14216699,1,1,2)
[2025-01-10 11:45:32] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216699,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:45:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216699,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:45:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216699,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:45:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216699,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:45:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216699', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:45:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216699', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:45:36] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:45:36] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:45:36] Production.INFO: ==12712== Releasing lock...
[2025-01-10 11:45:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 11:45:36] Production.INFO: 61.25 MB #Memory Used#
[2025-01-10 16:46:01] Production.INFO: ==12823== Lock acquired, processing the job...
[2025-01-10 16:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 16:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 16:46:01] Production.INFO: neon service started
[2025-01-10 16:46:01] Production.INFO: neon service started
[2025-01-10 16:46:01] Production.INFO: ==12823== Releasing lock...
[2025-01-10 16:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 16:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:46:02] Production.INFO: ==12826== Lock acquired, processing the job...
[2025-01-10 11:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 11:46:02] Production.INFO: ==12826== Releasing lock...
[2025-01-10 11:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 11:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 16:46:02] Production.INFO: ==12828== Lock acquired, processing the job...
[2025-01-10 16:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 16:46:02] Production.INFO: ==12828== Releasing lock...
[2025-01-10 16:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 16:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 11:46:03] Production.INFO: ==12840== Lock acquired, processing the job...
[2025-01-10 11:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 11:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:46:03] Production.INFO: ==12830== Lock acquired, processing the job...
[2025-01-10 11:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 11:46:03] Production.INFO: ==12842== Lock acquired, processing the job...
[2025-01-10 11:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 11:46:03] Production.INFO: ==12832== Lock acquired, processing the job...
[2025-01-10 11:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 11:46:03] Production.INFO: ==12834== Lock acquired, processing the job...
[2025-01-10 11:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 11:46:03] Production.INFO: ==12837== Lock acquired, processing the job...
[2025-01-10 11:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 11:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 11:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:46:03] Production.INFO: Account Balance Start.
[2025-01-10 11:46:03] Production.INFO: CreateAllLog Start
[2025-01-10 11:46:03] Production.INFO: 117
[2025-01-10 11:46:03] Production.INFO: count ==21
[2025-01-10 11:46:03] Production.INFO: Date 2025-01-08
[2025-01-10 11:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 11:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 11:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 11:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 11:46:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:46:03] Production.INFO: count ==21
[2025-01-10 11:46:03] Production.ERROR: done
[2025-01-10 11:46:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:46:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 11:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216700') start
[2025-01-10 11:46:03] Production.INFO: Date 2025-01-09
[2025-01-10 11:46:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:46:03] Production.ERROR: done
[2025-01-10 11:46:03] Production.INFO: Date 2025-01-10
[2025-01-10 11:46:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:46:03] Production.INFO: ==12832== Releasing lock...
[2025-01-10 11:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 11:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 11:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216700') end
[2025-01-10 11:46:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 11:46:03] Production.INFO: 1
[2025-01-10 11:46:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 11:46:03] Production.INFO: Total Charge 0
[2025-01-10 11:46:04] Production.INFO: ==12842== Releasing lock...
[2025-01-10 11:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 11:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 11:46:04] Production.INFO: CreateAllLog End
[2025-01-10 11:46:04] Production.INFO: Account Balance End.
[2025-01-10 11:46:04] Production.ERROR: CronJobId end 12
[2025-01-10 11:46:04] Production.INFO: ==12837== Releasing lock...
[2025-01-10 11:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 11:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 11:46:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 08:46:04
[end_date_ymd] => 2025-01-10 11:46:04
[RateCDR] => 1
)
[2025-01-10 11:46:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 08:46:04' and `end` < '2025-01-10 11:46:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 11:46:12] Production.ERROR: CronJobId end10
[2025-01-10 11:46:12] Production.INFO: ==12834== Releasing lock...
[2025-01-10 11:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 11:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 11:46:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 11:46:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 11:46:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 11:46:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 11:46:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 11:46:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 11:46:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 11:46:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 11:46:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 11:46:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 11:46:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 11:46:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 11:46:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 11:46:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 11:46:14] Production.INFO: call_cost start
[2025-01-10 11:46:14] Production.INFO: call_cost end
[2025-01-10 11:46:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 11:46:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 11:46:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 11:46:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 11:46:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 11:46:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 11:46:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 11:46:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 11:46:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 11:46:15] Production.INFO: ==12830== Releasing lock...
[2025-01-10 11:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 11:46:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 11:46:18] Production.INFO: count ==4455
[2025-01-10 11:46:20] Production.ERROR: pbx CDR StartTime 2025-01-10 08:46:04 - End Time 2025-01-10 11:46:04
[2025-01-10 11:46:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 11:46:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216704', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:46:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216704', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:46:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216704', 'tblTempVendorCDR_20' ) start
[2025-01-10 11:46:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216704', 'tblTempVendorCDR_20' ) end
[2025-01-10 11:46:20] Production.INFO: ProcessCDR(1,14216704,1,1,2)
[2025-01-10 11:46:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216704,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:46:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216704,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:46:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216704,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:46:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216704,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:46:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216704', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:46:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216704', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:46:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:46:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:46:25] Production.INFO: ==12840== Releasing lock...
[2025-01-10 11:46:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 11:46:25] Production.INFO: 61.25 MB #Memory Used#
[2025-01-10 16:47:02] Production.INFO: ==12952== Lock acquired, processing the job...
[2025-01-10 16:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 16:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 16:47:02] Production.INFO: neon service started
[2025-01-10 16:47:02] Production.INFO: neon service started
[2025-01-10 16:47:02] Production.INFO: ==12952== Releasing lock...
[2025-01-10 16:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 16:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:47:02] Production.INFO: ==12954== Lock acquired, processing the job...
[2025-01-10 11:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 16:47:02] Production.INFO: ==12956== Lock acquired, processing the job...
[2025-01-10 16:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 11:47:02] Production.INFO: ==12954== Releasing lock...
[2025-01-10 11:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 11:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 16:47:02] Production.INFO: ==12956== Releasing lock...
[2025-01-10 16:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 16:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 11:47:03] Production.INFO: ==12958== Lock acquired, processing the job...
[2025-01-10 11:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 11:47:03] Production.INFO: ==12960== Lock acquired, processing the job...
[2025-01-10 11:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 11:47:03] Production.INFO: ==12962== Lock acquired, processing the job...
[2025-01-10 11:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 11:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 11:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 11:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 11:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 11:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 11:47:03] Production.INFO: ==12964== Lock acquired, processing the job...
[2025-01-10 11:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 11:47:03] Production.INFO: ==12966== Lock acquired, processing the job...
[2025-01-10 11:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 11:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:47:04] Production.INFO: ==12960== Releasing lock...
[2025-01-10 11:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 11:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 11:47:04] Production.INFO: Account Balance Start.
[2025-01-10 11:47:04] Production.INFO: CreateAllLog Start
[2025-01-10 11:47:04] Production.INFO: ==12968== Lock acquired, processing the job...
[2025-01-10 11:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 11:47:04] Production.INFO: 117
[2025-01-10 11:47:04] Production.INFO: Date 2025-01-08
[2025-01-10 11:47:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:47:04] Production.INFO: Date 2025-01-09
[2025-01-10 11:47:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:47:04] Production.INFO: Date 2025-01-10
[2025-01-10 11:47:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:47:04] Production.INFO: Total Charge 0
[2025-01-10 11:47:04] Production.INFO: CreateAllLog End
[2025-01-10 11:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:47:04] Production.ERROR: done
[2025-01-10 11:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 11:47:04] Production.INFO: count ==21
[2025-01-10 11:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:47:04] Production.INFO: count ==21
[2025-01-10 11:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216708') start
[2025-01-10 11:47:04] Production.INFO: Account Balance End.
[2025-01-10 11:47:04] Production.ERROR: done
[2025-01-10 11:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216708') end
[2025-01-10 11:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 11:47:04] Production.INFO: 1
[2025-01-10 11:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 11:47:04] Production.ERROR: CronJobId end 12
[2025-01-10 11:47:04] Production.INFO: ==12964== Releasing lock...
[2025-01-10 11:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 11:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 11:47:04] Production.INFO: ==12968== Releasing lock...
[2025-01-10 11:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 11:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 11:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 08:47:05
[end_date_ymd] => 2025-01-10 11:47:05
[RateCDR] => 1
)
[2025-01-10 11:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 08:47:05' and `end` < '2025-01-10 11:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 11:47:11] Production.ERROR: CronJobId end10
[2025-01-10 11:47:11] Production.INFO: ==12962== Releasing lock...
[2025-01-10 11:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 11:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 11:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 11:47:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 11:47:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 11:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 11:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 11:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 11:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 11:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 11:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 11:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 11:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 11:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 11:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 11:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 11:47:13] Production.INFO: call_cost start
[2025-01-10 11:47:13] Production.INFO: call_cost end
[2025-01-10 11:47:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 11:47:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 11:47:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 11:47:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 11:47:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 11:47:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 11:47:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 11:47:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 11:47:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 11:47:14] Production.INFO: ==12958== Releasing lock...
[2025-01-10 11:47:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 11:47:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 11:47:20] Production.INFO: count ==4453
[2025-01-10 11:47:22] Production.ERROR: pbx CDR StartTime 2025-01-10 08:47:05 - End Time 2025-01-10 11:47:05
[2025-01-10 11:47:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 11:47:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216709', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:47:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216709', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:47:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216709', 'tblTempVendorCDR_20' ) start
[2025-01-10 11:47:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216709', 'tblTempVendorCDR_20' ) end
[2025-01-10 11:47:22] Production.INFO: ProcessCDR(1,14216709,1,1,2)
[2025-01-10 11:47:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216709,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:47:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216709,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:47:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216709,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:47:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216709,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:47:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216709', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:47:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216709', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:47:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:47:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:47:26] Production.INFO: ==12966== Releasing lock...
[2025-01-10 11:47:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 11:47:26] Production.INFO: 61.25 MB #Memory Used#
[2025-01-10 16:48:01] Production.INFO: ==13079== Lock acquired, processing the job...
[2025-01-10 16:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 16:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 16:48:01] Production.INFO: neon service started
[2025-01-10 16:48:01] Production.INFO: neon service started
[2025-01-10 16:48:01] Production.INFO: ==13079== Releasing lock...
[2025-01-10 16:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 16:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:48:02] Production.INFO: ==13081== Lock acquired, processing the job...
[2025-01-10 11:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 16:48:02] Production.INFO: ==13083== Lock acquired, processing the job...
[2025-01-10 16:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 16:48:02] Production.INFO: ==13083== Releasing lock...
[2025-01-10 16:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 16:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 11:48:02] Production.INFO: ==13081== Releasing lock...
[2025-01-10 11:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 11:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 11:48:03] Production.INFO: ==13087== Lock acquired, processing the job...
[2025-01-10 11:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 11:48:03] Production.INFO: ==13085== Lock acquired, processing the job...
[2025-01-10 11:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 11:48:03] Production.INFO: ==13089== Lock acquired, processing the job...
[2025-01-10 11:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 11:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 11:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 11:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 11:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 11:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 11:48:03] Production.INFO: ==13087== Releasing lock...
[2025-01-10 11:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 11:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 11:48:03] Production.INFO: ==13092== Lock acquired, processing the job...
[2025-01-10 11:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 11:48:03] Production.INFO: ==13094== Lock acquired, processing the job...
[2025-01-10 11:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 11:48:03] Production.INFO: Account Balance Start.
[2025-01-10 11:48:03] Production.INFO: CreateAllLog Start
[2025-01-10 11:48:03] Production.INFO: 117
[2025-01-10 11:48:03] Production.INFO: Date 2025-01-08
[2025-01-10 11:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:48:03] Production.INFO: ==13096== Lock acquired, processing the job...
[2025-01-10 11:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 11:48:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:48:03] Production.INFO: Date 2025-01-09
[2025-01-10 11:48:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:48:03] Production.INFO: Date 2025-01-10
[2025-01-10 11:48:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:48:03] Production.INFO: Total Charge 0
[2025-01-10 11:48:03] Production.INFO: CreateAllLog End
[2025-01-10 11:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:48:04] Production.INFO: count ==21
[2025-01-10 11:48:04] Production.ERROR: done
[2025-01-10 11:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 11:48:04] Production.INFO: count ==21
[2025-01-10 11:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216713') start
[2025-01-10 11:48:04] Production.INFO: Account Balance End.
[2025-01-10 11:48:04] Production.ERROR: done
[2025-01-10 11:48:04] Production.ERROR: CronJobId end 12
[2025-01-10 11:48:04] Production.INFO: ==13092== Releasing lock...
[2025-01-10 11:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 11:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 11:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216713') end
[2025-01-10 11:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 11:48:04] Production.INFO: 1
[2025-01-10 11:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 11:48:04] Production.INFO: ==13096== Releasing lock...
[2025-01-10 11:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 11:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 11:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 08:48:05
[end_date_ymd] => 2025-01-10 11:48:05
[RateCDR] => 1
)
[2025-01-10 11:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 08:48:05' and `end` < '2025-01-10 11:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 11:48:11] Production.ERROR: CronJobId end10
[2025-01-10 11:48:11] Production.INFO: ==13089== Releasing lock...
[2025-01-10 11:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 11:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 11:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 11:48:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 11:48:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 11:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 11:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 11:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 11:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 11:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 11:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 11:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 11:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 11:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 11:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 11:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 11:48:13] Production.INFO: call_cost start
[2025-01-10 11:48:13] Production.INFO: call_cost end
[2025-01-10 11:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 11:48:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 11:48:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 11:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 11:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 11:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 11:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 11:48:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 11:48:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 11:48:14] Production.INFO: ==13085== Releasing lock...
[2025-01-10 11:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 11:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 11:48:21] Production.INFO: count ==4459
[2025-01-10 11:48:23] Production.ERROR: pbx CDR StartTime 2025-01-10 08:48:05 - End Time 2025-01-10 11:48:05
[2025-01-10 11:48:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 11:48:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216714', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:48:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216714', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:48:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216714', 'tblTempVendorCDR_20' ) start
[2025-01-10 11:48:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216714', 'tblTempVendorCDR_20' ) end
[2025-01-10 11:48:23] Production.INFO: ProcessCDR(1,14216714,1,1,2)
[2025-01-10 11:48:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216714,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:48:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216714,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:48:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216714,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:48:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216714,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:48:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216714', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:48:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216714', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:48:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:48:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:48:28] Production.INFO: ==13094== Releasing lock...
[2025-01-10 11:48:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 11:48:28] Production.INFO: 61.25 MB #Memory Used#
[2025-01-10 16:49:02] Production.INFO: ==13206== Lock acquired, processing the job...
[2025-01-10 16:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 16:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 16:49:02] Production.INFO: neon service started
[2025-01-10 16:49:02] Production.INFO: neon service started
[2025-01-10 16:49:02] Production.INFO: ==13206== Releasing lock...
[2025-01-10 16:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 16:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:49:02] Production.INFO: ==13208== Lock acquired, processing the job...
[2025-01-10 11:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 11:49:02] Production.INFO: ==13208== Releasing lock...
[2025-01-10 11:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 11:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 16:49:02] Production.INFO: ==13210== Lock acquired, processing the job...
[2025-01-10 16:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 16:49:03] Production.INFO: ==13210== Releasing lock...
[2025-01-10 16:49:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 16:49:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 11:49:03] Production.INFO: ==13219== Lock acquired, processing the job...
[2025-01-10 11:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 11:49:03] Production.INFO: ==13221== Lock acquired, processing the job...
[2025-01-10 11:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 11:49:03] Production.INFO: ==13213== Lock acquired, processing the job...
[2025-01-10 11:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 11:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:49:03] Production.INFO: Account Balance Start.
[2025-01-10 11:49:03] Production.INFO: CreateAllLog Start
[2025-01-10 11:49:03] Production.INFO: 117
[2025-01-10 11:49:03] Production.INFO: Date 2025-01-08
[2025-01-10 11:49:03] Production.INFO: ==13217== Lock acquired, processing the job...
[2025-01-10 11:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 11:49:03] Production.INFO: ==13215== Lock acquired, processing the job...
[2025-01-10 11:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 11:49:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:49:04] Production.INFO: Date 2025-01-09
[2025-01-10 11:49:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:49:04] Production.INFO: Date 2025-01-10
[2025-01-10 11:49:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:49:04] Production.INFO: ==13223== Lock acquired, processing the job...
[2025-01-10 11:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 11:49:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 11:49:04] Production.INFO: Total Charge 0
[2025-01-10 11:49:04] Production.INFO: CreateAllLog End
[2025-01-10 11:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 11:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 11:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 11:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 11:49:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:49:04] Production.ERROR: done
[2025-01-10 11:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 11:49:04] Production.INFO: count ==21
[2025-01-10 11:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:49:04] Production.INFO: count ==21
[2025-01-10 11:49:04] Production.INFO: Account Balance End.
[2025-01-10 11:49:04] Production.INFO: ==13215== Releasing lock...
[2025-01-10 11:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 11:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 11:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216718') start
[2025-01-10 11:49:04] Production.ERROR: CronJobId end 12
[2025-01-10 11:49:04] Production.INFO: ==13219== Releasing lock...
[2025-01-10 11:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 11:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 11:49:04] Production.ERROR: done
[2025-01-10 11:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216718') end
[2025-01-10 11:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 11:49:04] Production.INFO: 1
[2025-01-10 11:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 11:49:04] Production.INFO: ==13223== Releasing lock...
[2025-01-10 11:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 11:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 11:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 08:49:05
[end_date_ymd] => 2025-01-10 11:49:05
[RateCDR] => 1
)
[2025-01-10 11:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 08:49:05' and `end` < '2025-01-10 11:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 11:49:12] Production.ERROR: CronJobId end10
[2025-01-10 11:49:12] Production.INFO: ==13217== Releasing lock...
[2025-01-10 11:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 11:49:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 11:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 11:49:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 11:49:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 11:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 11:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 11:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 11:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 11:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 11:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 11:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 11:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 11:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 11:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 11:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 11:49:14] Production.INFO: call_cost start
[2025-01-10 11:49:14] Production.INFO: call_cost end
[2025-01-10 11:49:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 11:49:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 11:49:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 11:49:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 11:49:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 11:49:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 11:49:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 11:49:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 11:49:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 11:49:15] Production.INFO: ==13213== Releasing lock...
[2025-01-10 11:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 11:49:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 11:49:22] Production.INFO: count ==4464
[2025-01-10 11:49:24] Production.ERROR: pbx CDR StartTime 2025-01-10 08:49:05 - End Time 2025-01-10 11:49:05
[2025-01-10 11:49:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 11:49:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216719', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:49:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216719', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:49:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216719', 'tblTempVendorCDR_20' ) start
[2025-01-10 11:49:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216719', 'tblTempVendorCDR_20' ) end
[2025-01-10 11:49:24] Production.INFO: ProcessCDR(1,14216719,1,1,2)
[2025-01-10 11:49:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216719,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:49:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216719,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:49:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216719,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:49:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216719,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:49:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216719', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:49:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216719', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:49:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:49:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:49:29] Production.INFO: ==13221== Releasing lock...
[2025-01-10 11:49:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 11:49:29] Production.INFO: 61.5 MB #Memory Used#
[2025-01-10 16:50:01] Production.INFO: ==13337== Lock acquired, processing the job...
[2025-01-10 16:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 16:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 16:50:01] Production.INFO: neon service started
[2025-01-10 16:50:01] Production.INFO: neon service started
[2025-01-10 16:50:01] Production.INFO: ==13337== Releasing lock...
[2025-01-10 16:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 16:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:50:02] Production.INFO: ==13339== Lock acquired, processing the job...
[2025-01-10 11:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 16:50:02] Production.INFO: ==13341== Lock acquired, processing the job...
[2025-01-10 16:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 16:50:02] Production.INFO: ==13341== Releasing lock...
[2025-01-10 16:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 16:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 11:50:02] Production.INFO: ==13339== Releasing lock...
[2025-01-10 11:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 11:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 11:50:03] Production.INFO: ==13344== Lock acquired, processing the job...
[2025-01-10 11:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 11:50:03] Production.INFO: ==13352== Lock acquired, processing the job...
[2025-01-10 11:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 11:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 11:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 11:50:03] Production.ERROR: CronJob PID - 13352
[2025-01-10 11:50:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-10 11:50:03] Production.ERROR: CronJob ID - 12
[2025-01-10 11:50:03] Production.ERROR: CronJob Last Run Time 2025-01-10 11:50:00
[2025-01-10 11:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 11:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 11:50:03] Production.INFO: ==13354== Lock acquired, processing the job...
[2025-01-10 11:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 11:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 11:50:03] Production.INFO: ==13344== Releasing lock...
[2025-01-10 11:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 11:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 11:50:03] Production.INFO: ==13356== Lock acquired, processing the job...
[2025-01-10 11:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 11:50:03] Production.INFO: Account Balance Start.
[2025-01-10 11:50:03] Production.INFO: CreateAllLog Start
[2025-01-10 11:50:03] Production.INFO: 117
[2025-01-10 11:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:50:03] Production.INFO: Date 2025-01-08
[2025-01-10 11:50:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:50:03] Production.INFO: ==13348== Lock acquired, processing the job...
[2025-01-10 11:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 11:50:03] Production.INFO: ==13346== Lock acquired, processing the job...
[2025-01-10 11:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 11:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:50:03] Production.INFO: ==13350== Lock acquired, processing the job...
[2025-01-10 11:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 11:50:03] Production.INFO: Date 2025-01-09
[2025-01-10 11:50:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:50:03] Production.INFO: ==13359== Lock acquired, processing the job...
[2025-01-10 11:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 11:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 11:50:04] Production.INFO: Date 2025-01-10
[2025-01-10 11:50:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:50:04] Production.INFO: Total Charge 0
[2025-01-10 11:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:50:04] Production.INFO: CreateAllLog End
[2025-01-10 11:50:04] Production.INFO: count ==21
[2025-01-10 11:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 11:50:04] Production.ERROR: done
[2025-01-10 11:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 11:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 11:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 11:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:50:04] Production.INFO: count ==21
[2025-01-10 11:50:04] Production.ERROR: done
[2025-01-10 11:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 11:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216723') start
[2025-01-10 11:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 11:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14216724', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 11:50:04] Production.INFO: ==13348== Releasing lock...
[2025-01-10 11:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 11:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 11:50:04] Production.ERROR: done
[2025-01-10 11:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216723') end
[2025-01-10 11:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 11:50:04] Production.INFO: 1
[2025-01-10 11:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 11:50:04] Production.INFO: Account Balance End.
[2025-01-10 11:50:04] Production.INFO: ==13359== Releasing lock...
[2025-01-10 11:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 11:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 11:50:04] Production.ERROR: CronJobId end 12
[2025-01-10 11:50:04] Production.INFO: ==13352== Releasing lock...
[2025-01-10 11:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 11:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 11:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 08:50:05
[end_date_ymd] => 2025-01-10 11:50:05
[RateCDR] => 1
)
[2025-01-10 11:50:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 08:50:05' and `end` < '2025-01-10 11:50:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 11:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14216724', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 11:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 11:50:09] Production.INFO: ProcessCDR(1,14216724,1,1,2)
[2025-01-10 11:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14216724,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14216724,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:50:09] Production.INFO: ==13356== Releasing lock...
[2025-01-10 11:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 11:50:09] Production.INFO: 26 MB #Memory Used#
[2025-01-10 11:50:14] Production.ERROR: CronJobId end10
[2025-01-10 11:50:14] Production.INFO: ==13350== Releasing lock...
[2025-01-10 11:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 11:50:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 11:50:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 11:50:16] Production.INFO: ============== Balance Warning START===========
[2025-01-10 11:50:16] Production.INFO: ============== Balance Warning END===========
[2025-01-10 11:50:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 11:50:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 11:50:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 11:50:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 11:50:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 11:50:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 11:50:16] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 11:50:16] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 11:50:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 11:50:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 11:50:16] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 11:50:16] Production.INFO: call_cost start
[2025-01-10 11:50:16] Production.INFO: call_cost end
[2025-01-10 11:50:17] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 11:50:17] Production.INFO: ============== Report Schedule START===========
[2025-01-10 11:50:17] Production.INFO: ============== Report Schedule END===========
[2025-01-10 11:50:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 11:50:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 11:50:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 11:50:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 11:50:17] Production.INFO: ============== Deal alert START===========
[2025-01-10 11:50:17] Production.INFO: ============== Deal alert END===========
[2025-01-10 11:50:17] Production.INFO: ==13346== Releasing lock...
[2025-01-10 11:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 11:50:17] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 11:50:26] Production.INFO: count ==4468
[2025-01-10 11:50:28] Production.ERROR: pbx CDR StartTime 2025-01-10 08:50:05 - End Time 2025-01-10 11:50:05
[2025-01-10 11:50:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 11:50:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216725', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:50:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216725', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:50:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216725', 'tblTempVendorCDR_20' ) start
[2025-01-10 11:50:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216725', 'tblTempVendorCDR_20' ) end
[2025-01-10 11:50:28] Production.INFO: ProcessCDR(1,14216725,1,1,2)
[2025-01-10 11:50:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216725,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:50:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216725,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:50:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216725,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:50:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216725,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:50:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216725', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:50:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216725', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:50:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:50:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:50:31] Production.INFO: ==13354== Releasing lock...
[2025-01-10 11:50:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 11:50:31] Production.INFO: 61.5 MB #Memory Used#
[2025-01-10 16:51:02] Production.INFO: ==13476== Lock acquired, processing the job...
[2025-01-10 16:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 16:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 16:51:02] Production.INFO: neon service started
[2025-01-10 16:51:02] Production.INFO: neon service started
[2025-01-10 16:51:02] Production.INFO: ==13476== Releasing lock...
[2025-01-10 16:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 16:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:51:02] Production.INFO: ==13478== Lock acquired, processing the job...
[2025-01-10 11:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 16:51:02] Production.INFO: ==13480== Lock acquired, processing the job...
[2025-01-10 16:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 16:51:02] Production.INFO: ==13480== Releasing lock...
[2025-01-10 16:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 16:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 11:51:02] Production.INFO: ==13478== Releasing lock...
[2025-01-10 11:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 11:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 11:51:03] Production.INFO: ==13486== Lock acquired, processing the job...
[2025-01-10 11:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 11:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 11:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 11:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 11:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 11:51:03] Production.INFO: ==13492== Lock acquired, processing the job...
[2025-01-10 11:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 11:51:03] Production.INFO: ==13482== Lock acquired, processing the job...
[2025-01-10 11:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 11:51:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:51:04] Production.INFO: count ==21
[2025-01-10 11:51:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 11:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:51:04] Production.INFO: ==13484== Lock acquired, processing the job...
[2025-01-10 11:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 11:51:04] Production.INFO: count ==21
[2025-01-10 11:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216726') start
[2025-01-10 11:51:04] Production.INFO: ==13488== Lock acquired, processing the job...
[2025-01-10 11:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 11:51:04] Production.INFO: ==13490== Lock acquired, processing the job...
[2025-01-10 11:51:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 11:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216726') end
[2025-01-10 11:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 11:51:04] Production.INFO: 1
[2025-01-10 11:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 11:51:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:51:04] Production.INFO: ==13492== Releasing lock...
[2025-01-10 11:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 11:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 11:51:04] Production.INFO: Account Balance Start.
[2025-01-10 11:51:04] Production.INFO: CreateAllLog Start
[2025-01-10 11:51:04] Production.INFO: 117
[2025-01-10 11:51:04] Production.INFO: ==13484== Releasing lock...
[2025-01-10 11:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 11:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 11:51:04] Production.INFO: Date 2025-01-08
[2025-01-10 11:51:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:51:04] Production.INFO: Date 2025-01-09
[2025-01-10 11:51:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:51:04] Production.ERROR: done
[2025-01-10 11:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 11:51:04] Production.INFO: Date 2025-01-10
[2025-01-10 11:51:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:51:04] Production.INFO: Total Charge 0
[2025-01-10 11:51:04] Production.INFO: CreateAllLog End
[2025-01-10 11:51:05] Production.ERROR: done
[2025-01-10 11:51:05] Production.INFO: Account Balance End.
[2025-01-10 11:51:05] Production.ERROR: CronJobId end 12
[2025-01-10 11:51:05] Production.INFO: ==13488== Releasing lock...
[2025-01-10 11:51:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 11:51:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 11:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 08:51:05
[end_date_ymd] => 2025-01-10 11:51:05
[RateCDR] => 1
)
[2025-01-10 11:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 08:51:05' and `end` < '2025-01-10 11:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 11:51:13] Production.ERROR: CronJobId end10
[2025-01-10 11:51:13] Production.INFO: ==13486== Releasing lock...
[2025-01-10 11:51:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 11:51:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 11:51:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 11:51:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 11:51:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 11:51:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 11:51:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 11:51:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 11:51:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 11:51:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 11:51:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 11:51:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 11:51:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 11:51:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 11:51:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 11:51:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 11:51:15] Production.INFO: call_cost start
[2025-01-10 11:51:15] Production.INFO: call_cost end
[2025-01-10 11:51:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 11:51:16] Production.INFO: ============== Report Schedule START===========
[2025-01-10 11:51:16] Production.INFO: ============== Report Schedule END===========
[2025-01-10 11:51:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 11:51:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 11:51:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 11:51:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 11:51:16] Production.INFO: ============== Deal alert START===========
[2025-01-10 11:51:16] Production.INFO: ============== Deal alert END===========
[2025-01-10 11:51:16] Production.INFO: ==13482== Releasing lock...
[2025-01-10 11:51:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 11:51:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 11:51:25] Production.INFO: count ==4567
[2025-01-10 11:51:27] Production.ERROR: pbx CDR StartTime 2025-01-10 08:51:05 - End Time 2025-01-10 11:51:05
[2025-01-10 11:51:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 11:51:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216730', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:51:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216730', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:51:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216730', 'tblTempVendorCDR_20' ) start
[2025-01-10 11:51:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216730', 'tblTempVendorCDR_20' ) end
[2025-01-10 11:51:27] Production.INFO: ProcessCDR(1,14216730,1,1,2)
[2025-01-10 11:51:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216730,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:51:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216730,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:51:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216730,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:51:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216730,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:51:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216730', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:51:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216730', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:51:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:51:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:51:32] Production.INFO: ==13490== Releasing lock...
[2025-01-10 11:51:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 11:51:32] Production.INFO: 62.25 MB #Memory Used#
[2025-01-10 16:52:01] Production.INFO: ==13595== Lock acquired, processing the job...
[2025-01-10 16:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 16:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 16:52:01] Production.INFO: neon service started
[2025-01-10 16:52:01] Production.INFO: neon service started
[2025-01-10 16:52:01] Production.INFO: ==13595== Releasing lock...
[2025-01-10 16:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 16:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 16:52:02] Production.INFO: ==13599== Lock acquired, processing the job...
[2025-01-10 16:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 16:52:02] Production.INFO: ==13599== Releasing lock...
[2025-01-10 16:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 16:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 11:52:02] Production.INFO: ==13597== Lock acquired, processing the job...
[2025-01-10 11:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 11:52:02] Production.INFO: ==13597== Releasing lock...
[2025-01-10 11:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 11:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 11:52:03] Production.INFO: ==13606== Lock acquired, processing the job...
[2025-01-10 11:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 11:52:03] Production.INFO: ==13608== Lock acquired, processing the job...
[2025-01-10 11:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 11:52:03] Production.INFO: ==13602== Lock acquired, processing the job...
[2025-01-10 11:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 11:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 11:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 11:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 11:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 11:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 11:52:03] Production.INFO: Account Balance Start.
[2025-01-10 11:52:03] Production.INFO: CreateAllLog Start
[2025-01-10 11:52:03] Production.INFO: ==13604== Lock acquired, processing the job...
[2025-01-10 11:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 11:52:03] Production.INFO: 117
[2025-01-10 11:52:03] Production.INFO: Date 2025-01-08
[2025-01-10 11:52:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:52:03] Production.INFO: Date 2025-01-09
[2025-01-10 11:52:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:52:03] Production.INFO: ==13610== Lock acquired, processing the job...
[2025-01-10 11:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 11:52:03] Production.INFO: ==13613== Lock acquired, processing the job...
[2025-01-10 11:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 11:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:52:03] Production.INFO: Date 2025-01-10
[2025-01-10 11:52:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:52:03] Production.INFO: Total Charge 0
[2025-01-10 11:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:52:03] Production.INFO: CreateAllLog End
[2025-01-10 11:52:03] Production.INFO: count ==21
[2025-01-10 11:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:52:03] Production.INFO: count ==21
[2025-01-10 11:52:03] Production.INFO: ==13604== Releasing lock...
[2025-01-10 11:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 11:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 11:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216734') start
[2025-01-10 11:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216734') end
[2025-01-10 11:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 11:52:04] Production.INFO: 1
[2025-01-10 11:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 11:52:04] Production.INFO: ==13613== Releasing lock...
[2025-01-10 11:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 11:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 11:52:04] Production.ERROR: done
[2025-01-10 11:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 11:52:04] Production.ERROR: done
[2025-01-10 11:52:04] Production.INFO: Account Balance End.
[2025-01-10 11:52:04] Production.ERROR: CronJobId end 12
[2025-01-10 11:52:04] Production.INFO: ==13608== Releasing lock...
[2025-01-10 11:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 11:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 11:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 08:52:05
[end_date_ymd] => 2025-01-10 11:52:05
[RateCDR] => 1
)
[2025-01-10 11:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 08:52:05' and `end` < '2025-01-10 11:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 11:52:13] Production.ERROR: CronJobId end10
[2025-01-10 11:52:13] Production.INFO: ==13606== Releasing lock...
[2025-01-10 11:52:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 11:52:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 11:52:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 11:52:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 11:52:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 11:52:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 11:52:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 11:52:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 11:52:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 11:52:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 11:52:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 11:52:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 11:52:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 11:52:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 11:52:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 11:52:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 11:52:14] Production.INFO: call_cost start
[2025-01-10 11:52:14] Production.INFO: call_cost end
[2025-01-10 11:52:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 11:52:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 11:52:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 11:52:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 11:52:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 11:52:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 11:52:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 11:52:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 11:52:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 11:52:14] Production.INFO: ==13602== Releasing lock...
[2025-01-10 11:52:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 11:52:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 11:52:29] Production.INFO: count ==4595
[2025-01-10 11:52:31] Production.ERROR: pbx CDR StartTime 2025-01-10 08:52:05 - End Time 2025-01-10 11:52:05
[2025-01-10 11:52:31] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 11:52:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216735', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:52:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216735', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:52:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216735', 'tblTempVendorCDR_20' ) start
[2025-01-10 11:52:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216735', 'tblTempVendorCDR_20' ) end
[2025-01-10 11:52:31] Production.INFO: ProcessCDR(1,14216735,1,1,2)
[2025-01-10 11:52:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216735,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:52:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216735,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:52:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216735,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:52:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216735,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:52:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216735', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:52:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216735', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:52:36] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:52:36] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:52:36] Production.INFO: ==13610== Releasing lock...
[2025-01-10 11:52:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 11:52:36] Production.INFO: 62.25 MB #Memory Used#
[2025-01-10 16:53:02] Production.INFO: ==13703== Lock acquired, processing the job...
[2025-01-10 16:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 16:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 16:53:02] Production.INFO: neon service started
[2025-01-10 16:53:02] Production.INFO: neon service started
[2025-01-10 16:53:02] Production.INFO: ==13703== Releasing lock...
[2025-01-10 16:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 16:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:53:02] Production.INFO: ==13705== Lock acquired, processing the job...
[2025-01-10 11:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 11:53:02] Production.INFO: ==13705== Releasing lock...
[2025-01-10 11:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 11:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 16:53:03] Production.INFO: ==13707== Lock acquired, processing the job...
[2025-01-10 16:53:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 16:53:03] Production.INFO: ==13707== Releasing lock...
[2025-01-10 16:53:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 16:53:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 11:53:03] Production.INFO: ==13710== Lock acquired, processing the job...
[2025-01-10 11:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 11:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 11:53:03] Production.INFO: ==13712== Lock acquired, processing the job...
[2025-01-10 11:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 11:53:03] Production.INFO: ==13718== Lock acquired, processing the job...
[2025-01-10 11:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 11:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:53:03] Production.INFO: ==13712== Releasing lock...
[2025-01-10 11:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 11:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 11:53:03] Production.INFO: ==13714== Lock acquired, processing the job...
[2025-01-10 11:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 11:53:03] Production.INFO: ==13716== Lock acquired, processing the job...
[2025-01-10 11:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 11:53:04] Production.ERROR: done
[2025-01-10 11:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 11:53:04] Production.INFO: ==13720== Lock acquired, processing the job...
[2025-01-10 11:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 11:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 11:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 11:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 11:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 11:53:04] Production.INFO: Account Balance Start.
[2025-01-10 11:53:04] Production.INFO: CreateAllLog Start
[2025-01-10 11:53:04] Production.INFO: 117
[2025-01-10 11:53:04] Production.INFO: Date 2025-01-08
[2025-01-10 11:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:53:04] Production.ERROR: done
[2025-01-10 11:53:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:53:04] Production.INFO: count ==21
[2025-01-10 11:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:53:04] Production.INFO: count ==21
[2025-01-10 11:53:04] Production.INFO: Date 2025-01-09
[2025-01-10 11:53:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216738') start
[2025-01-10 11:53:04] Production.INFO: Date 2025-01-10
[2025-01-10 11:53:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:53:04] Production.INFO: Total Charge 0
[2025-01-10 11:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216738') end
[2025-01-10 11:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 11:53:04] Production.INFO: 1
[2025-01-10 11:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 11:53:04] Production.INFO: CreateAllLog End
[2025-01-10 11:53:04] Production.INFO: ==13720== Releasing lock...
[2025-01-10 11:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 11:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 11:53:04] Production.INFO: Account Balance End.
[2025-01-10 11:53:04] Production.ERROR: CronJobId end 12
[2025-01-10 11:53:04] Production.INFO: ==13716== Releasing lock...
[2025-01-10 11:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 11:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 11:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 08:53:05
[end_date_ymd] => 2025-01-10 11:53:05
[RateCDR] => 1
)
[2025-01-10 11:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 08:53:05' and `end` < '2025-01-10 11:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 11:53:12] Production.ERROR: CronJobId end10
[2025-01-10 11:53:12] Production.INFO: ==13714== Releasing lock...
[2025-01-10 11:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 11:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 11:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 11:53:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 11:53:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 11:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 11:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 11:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 11:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 11:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 11:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 11:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 11:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 11:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 11:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 11:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 11:53:13] Production.INFO: call_cost start
[2025-01-10 11:53:13] Production.INFO: call_cost end
[2025-01-10 11:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 11:53:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 11:53:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 11:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 11:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 11:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 11:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 11:53:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 11:53:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 11:53:14] Production.INFO: ==13710== Releasing lock...
[2025-01-10 11:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 11:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 11:53:23] Production.INFO: count ==4597
[2025-01-10 11:53:25] Production.ERROR: pbx CDR StartTime 2025-01-10 08:53:05 - End Time 2025-01-10 11:53:05
[2025-01-10 11:53:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 11:53:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216740', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:53:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216740', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:53:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216740', 'tblTempVendorCDR_20' ) start
[2025-01-10 11:53:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216740', 'tblTempVendorCDR_20' ) end
[2025-01-10 11:53:25] Production.INFO: ProcessCDR(1,14216740,1,1,2)
[2025-01-10 11:53:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216740,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:53:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216740,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:53:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216740,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:53:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216740,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:53:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216740', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:53:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216740', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:53:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:53:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:53:30] Production.INFO: ==13718== Releasing lock...
[2025-01-10 11:53:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 11:53:30] Production.INFO: 62.25 MB #Memory Used#
[2025-01-10 16:54:01] Production.INFO: ==13784== Lock acquired, processing the job...
[2025-01-10 16:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 16:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 16:54:01] Production.INFO: neon service started
[2025-01-10 16:54:01] Production.INFO: neon service started
[2025-01-10 16:54:01] Production.INFO: ==13784== Releasing lock...
[2025-01-10 16:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 16:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:54:02] Production.INFO: ==13787== Lock acquired, processing the job...
[2025-01-10 11:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 16:54:02] Production.INFO: ==13789== Lock acquired, processing the job...
[2025-01-10 16:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 16:54:02] Production.INFO: ==13789== Releasing lock...
[2025-01-10 16:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 16:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 11:54:02] Production.INFO: ==13787== Releasing lock...
[2025-01-10 11:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 11:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 11:54:03] Production.INFO: ==13791== Lock acquired, processing the job...
[2025-01-10 11:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 11:54:03] Production.INFO: ==13793== Lock acquired, processing the job...
[2025-01-10 11:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 11:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 11:54:03] Production.INFO: ==13799== Lock acquired, processing the job...
[2025-01-10 11:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 11:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:54:03] Production.INFO: ==13793== Releasing lock...
[2025-01-10 11:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 11:54:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 11:54:03] Production.INFO: ==13795== Lock acquired, processing the job...
[2025-01-10 11:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 11:54:03] Production.INFO: ==13797== Lock acquired, processing the job...
[2025-01-10 11:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 11:54:03] Production.ERROR: done
[2025-01-10 11:54:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 11:54:03] Production.INFO: ==13801== Lock acquired, processing the job...
[2025-01-10 11:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 11:54:03] Production.INFO: Account Balance Start.
[2025-01-10 11:54:03] Production.INFO: CreateAllLog Start
[2025-01-10 11:54:03] Production.INFO: 117
[2025-01-10 11:54:03] Production.INFO: Date 2025-01-08
[2025-01-10 11:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 11:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 11:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 11:54:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 11:54:03] Production.INFO: Date 2025-01-09
[2025-01-10 11:54:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:54:03] Production.ERROR: done
[2025-01-10 11:54:04] Production.INFO: Date 2025-01-10
[2025-01-10 11:54:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:54:04] Production.INFO: Total Charge 0
[2025-01-10 11:54:04] Production.INFO: count ==21
[2025-01-10 11:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:54:04] Production.INFO: count ==21
[2025-01-10 11:54:04] Production.INFO: CreateAllLog End
[2025-01-10 11:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216744') start
[2025-01-10 11:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216744') end
[2025-01-10 11:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 11:54:04] Production.INFO: 1
[2025-01-10 11:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 11:54:04] Production.INFO: Account Balance End.
[2025-01-10 11:54:04] Production.INFO: ==13801== Releasing lock...
[2025-01-10 11:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 11:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 11:54:04] Production.ERROR: CronJobId end 12
[2025-01-10 11:54:04] Production.INFO: ==13797== Releasing lock...
[2025-01-10 11:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 11:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 11:54:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 08:54:04
[end_date_ymd] => 2025-01-10 11:54:04
[RateCDR] => 1
)
[2025-01-10 11:54:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 08:54:04' and `end` < '2025-01-10 11:54:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 11:54:11] Production.ERROR: CronJobId end10
[2025-01-10 11:54:11] Production.INFO: ==13795== Releasing lock...
[2025-01-10 11:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 11:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 11:54:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 11:54:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 11:54:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 11:54:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 11:54:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 11:54:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 11:54:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 11:54:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 11:54:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 11:54:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 11:54:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 11:54:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 11:54:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 11:54:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 11:54:13] Production.INFO: call_cost start
[2025-01-10 11:54:13] Production.INFO: call_cost end
[2025-01-10 11:54:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 11:54:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 11:54:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 11:54:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 11:54:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 11:54:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 11:54:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 11:54:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 11:54:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 11:54:13] Production.INFO: ==13791== Releasing lock...
[2025-01-10 11:54:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 11:54:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 11:54:23] Production.INFO: count ==4586
[2025-01-10 11:54:25] Production.ERROR: pbx CDR StartTime 2025-01-10 08:54:04 - End Time 2025-01-10 11:54:04
[2025-01-10 11:54:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 11:54:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216745', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:54:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216745', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:54:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216745', 'tblTempVendorCDR_20' ) start
[2025-01-10 11:54:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216745', 'tblTempVendorCDR_20' ) end
[2025-01-10 11:54:25] Production.INFO: ProcessCDR(1,14216745,1,1,2)
[2025-01-10 11:54:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216745,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:54:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216745,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:54:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216745,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:54:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216745,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:54:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216745', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:54:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216745', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:54:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:54:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:54:30] Production.INFO: ==13799== Releasing lock...
[2025-01-10 11:54:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 11:54:30] Production.INFO: 62.25 MB #Memory Used#
[2025-01-10 16:55:02] Production.INFO: ==13859== Lock acquired, processing the job...
[2025-01-10 16:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 16:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 16:55:02] Production.INFO: neon service started
[2025-01-10 16:55:02] Production.INFO: neon service started
[2025-01-10 16:55:02] Production.INFO: ==13859== Releasing lock...
[2025-01-10 16:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 16:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:55:02] Production.INFO: ==13861== Lock acquired, processing the job...
[2025-01-10 11:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 16:55:02] Production.INFO: ==13863== Lock acquired, processing the job...
[2025-01-10 16:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 16:55:02] Production.INFO: ==13863== Releasing lock...
[2025-01-10 16:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 16:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 11:55:03] Production.INFO: ==13861== Releasing lock...
[2025-01-10 11:55:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 11:55:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 11:55:03] Production.INFO: ==13866== Lock acquired, processing the job...
[2025-01-10 11:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 11:55:03] Production.INFO: ==13870== Lock acquired, processing the job...
[2025-01-10 11:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 11:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 11:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 11:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 11:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 11:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 11:55:03] Production.INFO: ==13874== Lock acquired, processing the job...
[2025-01-10 11:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 11:55:04] Production.INFO: ==13868== Lock acquired, processing the job...
[2025-01-10 11:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 11:55:04] Production.INFO: ==13876== Lock acquired, processing the job...
[2025-01-10 11:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 11:55:04] Production.INFO: ==13872== Lock acquired, processing the job...
[2025-01-10 11:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 11:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:55:04] Production.INFO: count ==21
[2025-01-10 11:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:55:04] Production.INFO: count ==21
[2025-01-10 11:55:04] Production.INFO: Account Balance Start.
[2025-01-10 11:55:04] Production.INFO: CreateAllLog Start
[2025-01-10 11:55:04] Production.INFO: 117
[2025-01-10 11:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216747') start
[2025-01-10 11:55:04] Production.INFO: Date 2025-01-08
[2025-01-10 11:55:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:55:04] Production.INFO: Date 2025-01-09
[2025-01-10 11:55:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:55:04] Production.INFO: Date 2025-01-10
[2025-01-10 11:55:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:55:04] Production.INFO: Total Charge 0
[2025-01-10 11:55:04] Production.ERROR: done
[2025-01-10 11:55:04] Production.INFO: CreateAllLog End
[2025-01-10 11:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 11:55:04] Production.INFO: ==13868== Releasing lock...
[2025-01-10 11:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 11:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 11:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216747') end
[2025-01-10 11:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 11:55:04] Production.INFO: 1
[2025-01-10 11:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 11:55:04] Production.INFO: ==13876== Releasing lock...
[2025-01-10 11:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 11:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 11:55:04] Production.ERROR: done
[2025-01-10 11:55:04] Production.INFO: Account Balance End.
[2025-01-10 11:55:04] Production.ERROR: CronJobId end 12
[2025-01-10 11:55:04] Production.INFO: ==13872== Releasing lock...
[2025-01-10 11:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 11:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 11:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 08:55:05
[end_date_ymd] => 2025-01-10 11:55:05
[RateCDR] => 1
)
[2025-01-10 11:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 08:55:05' and `end` < '2025-01-10 11:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 11:55:12] Production.ERROR: CronJobId end10
[2025-01-10 11:55:12] Production.INFO: ==13870== Releasing lock...
[2025-01-10 11:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 11:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 11:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 11:55:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 11:55:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 11:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 11:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 11:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 11:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 11:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 11:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 11:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 11:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 11:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 11:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 11:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 11:55:14] Production.INFO: call_cost start
[2025-01-10 11:55:14] Production.INFO: call_cost end
[2025-01-10 11:55:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 11:55:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 11:55:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 11:55:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 11:55:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 11:55:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 11:55:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 11:55:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 11:55:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 11:55:14] Production.INFO: ==13866== Releasing lock...
[2025-01-10 11:55:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 11:55:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 11:55:19] Production.INFO: count ==4554
[2025-01-10 11:55:21] Production.ERROR: pbx CDR StartTime 2025-01-10 08:55:05 - End Time 2025-01-10 11:55:05
[2025-01-10 11:55:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 11:55:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216750', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:55:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216750', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:55:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216750', 'tblTempVendorCDR_20' ) start
[2025-01-10 11:55:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216750', 'tblTempVendorCDR_20' ) end
[2025-01-10 11:55:21] Production.INFO: ProcessCDR(1,14216750,1,1,2)
[2025-01-10 11:55:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216750,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:55:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216750,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:55:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216750,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:55:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216750,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:55:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216750', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:55:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216750', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:55:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:55:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:55:25] Production.INFO: ==13874== Releasing lock...
[2025-01-10 11:55:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 11:55:25] Production.INFO: 62 MB #Memory Used#
[2025-01-10 16:56:01] Production.INFO: ==13934== Lock acquired, processing the job...
[2025-01-10 16:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 16:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 16:56:01] Production.INFO: neon service started
[2025-01-10 16:56:01] Production.INFO: neon service started
[2025-01-10 16:56:01] Production.INFO: ==13934== Releasing lock...
[2025-01-10 16:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 16:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:56:01] Production.INFO: ==13936== Lock acquired, processing the job...
[2025-01-10 11:56:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 11:56:02] Production.INFO: ==13936== Releasing lock...
[2025-01-10 11:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 11:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 16:56:02] Production.INFO: ==13938== Lock acquired, processing the job...
[2025-01-10 16:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 16:56:02] Production.INFO: ==13938== Releasing lock...
[2025-01-10 16:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 16:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 11:56:03] Production.INFO: ==13945== Lock acquired, processing the job...
[2025-01-10 11:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 11:56:03] Production.INFO: ==13941== Lock acquired, processing the job...
[2025-01-10 11:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 11:56:03] Production.INFO: ==13951== Lock acquired, processing the job...
[2025-01-10 11:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 11:56:03] Production.INFO: ==13943== Lock acquired, processing the job...
[2025-01-10 11:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 11:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 11:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 11:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 11:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 11:56:03] Production.INFO: ==13947== Lock acquired, processing the job...
[2025-01-10 11:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 11:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 11:56:03] Production.INFO: ==13949== Lock acquired, processing the job...
[2025-01-10 11:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 11:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:56:03] Production.INFO: count ==21
[2025-01-10 11:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:56:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:56:03] Production.INFO: Account Balance Start.
[2025-01-10 11:56:03] Production.INFO: CreateAllLog Start
[2025-01-10 11:56:03] Production.INFO: 117
[2025-01-10 11:56:03] Production.INFO: count ==21
[2025-01-10 11:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216752') start
[2025-01-10 11:56:03] Production.INFO: Date 2025-01-08
[2025-01-10 11:56:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216752') end
[2025-01-10 11:56:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 11:56:03] Production.INFO: 1
[2025-01-10 11:56:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 11:56:03] Production.INFO: Date 2025-01-09
[2025-01-10 11:56:03] Production.INFO: ==13951== Releasing lock...
[2025-01-10 11:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 11:56:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 11:56:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:56:03] Production.INFO: ==13943== Releasing lock...
[2025-01-10 11:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 11:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 11:56:03] Production.INFO: Date 2025-01-10
[2025-01-10 11:56:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:56:03] Production.INFO: Total Charge 0
[2025-01-10 11:56:03] Production.INFO: CreateAllLog End
[2025-01-10 11:56:03] Production.ERROR: done
[2025-01-10 11:56:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 11:56:03] Production.INFO: Account Balance End.
[2025-01-10 11:56:03] Production.ERROR: CronJobId end 12
[2025-01-10 11:56:03] Production.INFO: ==13947== Releasing lock...
[2025-01-10 11:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 11:56:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 11:56:03] Production.ERROR: done
[2025-01-10 11:56:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 08:56:04
[end_date_ymd] => 2025-01-10 11:56:04
[RateCDR] => 1
)
[2025-01-10 11:56:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 08:56:04' and `end` < '2025-01-10 11:56:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 11:56:11] Production.ERROR: CronJobId end10
[2025-01-10 11:56:11] Production.INFO: ==13945== Releasing lock...
[2025-01-10 11:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 11:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 11:56:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 11:56:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 11:56:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 11:56:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 11:56:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 11:56:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 11:56:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 11:56:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 11:56:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 11:56:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 11:56:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 11:56:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 11:56:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 11:56:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 11:56:13] Production.INFO: call_cost start
[2025-01-10 11:56:13] Production.INFO: call_cost end
[2025-01-10 11:56:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 11:56:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 11:56:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 11:56:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 11:56:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 11:56:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 11:56:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 11:56:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 11:56:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 11:56:13] Production.INFO: ==13941== Releasing lock...
[2025-01-10 11:56:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 11:56:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 11:56:25] Production.INFO: count ==4526
[2025-01-10 11:56:26] Production.ERROR: pbx CDR StartTime 2025-01-10 08:56:04 - End Time 2025-01-10 11:56:04
[2025-01-10 11:56:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 11:56:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216755', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:56:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216755', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:56:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216755', 'tblTempVendorCDR_20' ) start
[2025-01-10 11:56:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216755', 'tblTempVendorCDR_20' ) end
[2025-01-10 11:56:27] Production.INFO: ProcessCDR(1,14216755,1,1,2)
[2025-01-10 11:56:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216755,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:56:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216755,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:56:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216755,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:56:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216755,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:56:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216755', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:56:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216755', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:56:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:56:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:56:31] Production.INFO: ==13949== Releasing lock...
[2025-01-10 11:56:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 11:56:31] Production.INFO: 61.75 MB #Memory Used#
[2025-01-10 16:57:01] Production.INFO: ==14013== Lock acquired, processing the job...
[2025-01-10 16:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 16:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 16:57:01] Production.INFO: neon service started
[2025-01-10 16:57:01] Production.INFO: neon service started
[2025-01-10 16:57:01] Production.INFO: ==14013== Releasing lock...
[2025-01-10 16:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 16:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:57:02] Production.INFO: ==14015== Lock acquired, processing the job...
[2025-01-10 11:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 11:57:02] Production.INFO: ==14015== Releasing lock...
[2025-01-10 11:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 11:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 16:57:02] Production.INFO: ==14017== Lock acquired, processing the job...
[2025-01-10 16:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 16:57:02] Production.INFO: ==14017== Releasing lock...
[2025-01-10 16:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 16:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 11:57:03] Production.INFO: ==14023== Lock acquired, processing the job...
[2025-01-10 11:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 11:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 11:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 11:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 11:57:03] Production.INFO: ==14019== Lock acquired, processing the job...
[2025-01-10 11:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 11:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 11:57:03] Production.INFO: ==14027== Lock acquired, processing the job...
[2025-01-10 11:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 11:57:03] Production.INFO: ==14021== Lock acquired, processing the job...
[2025-01-10 11:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 11:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:57:03] Production.INFO: ==14025== Lock acquired, processing the job...
[2025-01-10 11:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 11:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 11:57:03] Production.INFO: ==14029== Lock acquired, processing the job...
[2025-01-10 11:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 11:57:03] Production.INFO: Account Balance Start.
[2025-01-10 11:57:03] Production.INFO: CreateAllLog Start
[2025-01-10 11:57:03] Production.INFO: 117
[2025-01-10 11:57:03] Production.INFO: Date 2025-01-08
[2025-01-10 11:57:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:57:03] Production.ERROR: done
[2025-01-10 11:57:03] Production.INFO: Date 2025-01-09
[2025-01-10 11:57:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 11:57:03] Production.INFO: ==14021== Releasing lock...
[2025-01-10 11:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 11:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 11:57:03] Production.INFO: Date 2025-01-10
[2025-01-10 11:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:57:03] Production.INFO: Reseller ==> 0
[2025-01-10 11:57:03] Production.INFO: Total Charge 0
[2025-01-10 11:57:03] Production.INFO: count ==21
[2025-01-10 11:57:03] Production.INFO: CreateAllLog End
[2025-01-10 11:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:57:04] Production.ERROR: done
[2025-01-10 11:57:04] Production.INFO: count ==21
[2025-01-10 11:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216759') start
[2025-01-10 11:57:04] Production.INFO: Account Balance End.
[2025-01-10 11:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216759') end
[2025-01-10 11:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 11:57:04] Production.INFO: 1
[2025-01-10 11:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 11:57:04] Production.ERROR: CronJobId end 12
[2025-01-10 11:57:04] Production.INFO: ==14025== Releasing lock...
[2025-01-10 11:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 11:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 11:57:04] Production.INFO: ==14029== Releasing lock...
[2025-01-10 11:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 11:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 11:57:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 08:57:04
[end_date_ymd] => 2025-01-10 11:57:04
[RateCDR] => 1
)
[2025-01-10 11:57:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 08:57:04' and `end` < '2025-01-10 11:57:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 11:57: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-01-10 11:57:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 11:57:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 11:57:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 11:57:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 11:57:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 11:57:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 11:57:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 11:57:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 11:57:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 11:57:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 11:57:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 11:57:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 11:57:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 11:57:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 11:57:12] Production.INFO: call_cost start
[2025-01-10 11:57:12] Production.INFO: call_cost end
[2025-01-10 11:57:13] Production.ERROR: CronJobId end10
[2025-01-10 11:57:13] Production.INFO: ==14023== Releasing lock...
[2025-01-10 11:57:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 11:57:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 11:57:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 11:57:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 11:57:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 11:57:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 11:57:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 11:57:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 11:57:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 11:57:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 11:57:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 11:57:13] Production.INFO: ==14019== Releasing lock...
[2025-01-10 11:57:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 11:57:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 11:57:21] Production.INFO: count ==4536
[2025-01-10 11:57:23] Production.ERROR: pbx CDR StartTime 2025-01-10 08:57:04 - End Time 2025-01-10 11:57:04
[2025-01-10 11:57:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 11:57:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216760', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:57:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216760', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:57:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216760', 'tblTempVendorCDR_20' ) start
[2025-01-10 11:57:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216760', 'tblTempVendorCDR_20' ) end
[2025-01-10 11:57:24] Production.INFO: ProcessCDR(1,14216760,1,1,2)
[2025-01-10 11:57:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216760,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:57:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216760,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:57:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216760,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:57:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216760,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:57:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216760', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:57:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216760', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:57:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:57:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:57:28] Production.INFO: ==14027== Releasing lock...
[2025-01-10 11:57:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 11:57:28] Production.INFO: 62 MB #Memory Used#
[2025-01-10 16:58:02] Production.INFO: ==14091== Lock acquired, processing the job...
[2025-01-10 16:58:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 16:58:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 16:58:02] Production.INFO: neon service started
[2025-01-10 16:58:02] Production.INFO: neon service started
[2025-01-10 16:58:02] Production.INFO: ==14091== Releasing lock...
[2025-01-10 16:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 16:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:58:02] Production.INFO: ==14094== Lock acquired, processing the job...
[2025-01-10 11:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 11:58:03] Production.INFO: ==14094== Releasing lock...
[2025-01-10 11:58:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 11:58:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 16:58:03] Production.INFO: ==14096== Lock acquired, processing the job...
[2025-01-10 16:58:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 16:58:03] Production.INFO: ==14096== Releasing lock...
[2025-01-10 16:58:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 16:58:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 11:58:03] Production.INFO: ==14098== Lock acquired, processing the job...
[2025-01-10 11:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 11:58:03] Production.INFO: ==14104== Lock acquired, processing the job...
[2025-01-10 11:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 11:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 11:58:04] Production.INFO: Account Balance Start.
[2025-01-10 11:58:04] Production.INFO: CreateAllLog Start
[2025-01-10 11:58:04] Production.INFO: ==14108== Lock acquired, processing the job...
[2025-01-10 11:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 11:58:04] Production.INFO: 117
[2025-01-10 11:58:04] Production.INFO: Date 2025-01-08
[2025-01-10 11:58:04] Production.INFO: ==14102== Lock acquired, processing the job...
[2025-01-10 11:58:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 11:58:04] Production.INFO: ==14100== Lock acquired, processing the job...
[2025-01-10 11:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 11:58:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:58:04] Production.INFO: Date 2025-01-09
[2025-01-10 11:58:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:58:04] Production.INFO: ==14106== Lock acquired, processing the job...
[2025-01-10 11:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 11:58:04] Production.INFO: Date 2025-01-10
[2025-01-10 11:58:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:58:04] Production.INFO: Total Charge 0
[2025-01-10 11:58:04] Production.INFO: CreateAllLog End
[2025-01-10 11:58:04] Production.INFO: count ==21
[2025-01-10 11:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 11:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 11:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 11:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 11:58:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:58:04] Production.INFO: count ==21
[2025-01-10 11:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216763') start
[2025-01-10 11:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216763') end
[2025-01-10 11:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 11:58:04] Production.INFO: 1
[2025-01-10 11:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 11:58:04] Production.INFO: Account Balance End.
[2025-01-10 11:58:04] Production.INFO: ==14108== Releasing lock...
[2025-01-10 11:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 11:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 11:58:04] Production.ERROR: done
[2025-01-10 11:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 11:58:04] Production.ERROR: CronJobId end 12
[2025-01-10 11:58:04] Production.INFO: ==14104== Releasing lock...
[2025-01-10 11:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 11:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 11:58:04] Production.INFO: ==14100== Releasing lock...
[2025-01-10 11:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 11:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 11:58:04] Production.ERROR: done
[2025-01-10 11:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 08:58:05
[end_date_ymd] => 2025-01-10 11:58:05
[RateCDR] => 1
)
[2025-01-10 11:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 08:58:05' and `end` < '2025-01-10 11:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 11:58:12] Production.ERROR: CronJobId end10
[2025-01-10 11:58:12] Production.INFO: ==14102== Releasing lock...
[2025-01-10 11:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 11:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 11:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 11:58:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 11:58:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 11:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 11:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 11:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 11:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 11:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 11:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 11:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 11:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 11:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 11:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 11:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 11:58:13] Production.INFO: call_cost start
[2025-01-10 11:58:13] Production.INFO: call_cost end
[2025-01-10 11:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 11:58:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 11:58:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 11:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 11:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 11:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 11:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 11:58:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 11:58:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 11:58:14] Production.INFO: ==14098== Releasing lock...
[2025-01-10 11:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 11:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 11:58:19] Production.INFO: count ==4542
[2025-01-10 11:58:21] Production.ERROR: pbx CDR StartTime 2025-01-10 08:58:05 - End Time 2025-01-10 11:58:05
[2025-01-10 11:58:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 11:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216765', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216765', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216765', 'tblTempVendorCDR_20' ) start
[2025-01-10 11:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216765', 'tblTempVendorCDR_20' ) end
[2025-01-10 11:58:21] Production.INFO: ProcessCDR(1,14216765,1,1,2)
[2025-01-10 11:58:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216765,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:58:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216765,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:58:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216765,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:58:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216765,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:58:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216765', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:58:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216765', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:58:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:58:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:58:25] Production.INFO: ==14106== Releasing lock...
[2025-01-10 11:58:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 11:58:25] Production.INFO: 62 MB #Memory Used#
[2025-01-10 16:59:01] Production.INFO: ==14210== Lock acquired, processing the job...
[2025-01-10 16:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 16:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 16:59:01] Production.INFO: neon service started
[2025-01-10 16:59:01] Production.INFO: neon service started
[2025-01-10 16:59:01] Production.INFO: ==14210== Releasing lock...
[2025-01-10 16:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 16:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 11:59:02] Production.INFO: ==14212== Lock acquired, processing the job...
[2025-01-10 11:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 16:59:02] Production.INFO: ==14214== Lock acquired, processing the job...
[2025-01-10 16:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 16:59:02] Production.INFO: ==14214== Releasing lock...
[2025-01-10 16:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 16:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 11:59:02] Production.INFO: ==14212== Releasing lock...
[2025-01-10 11:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 11:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 11:59:03] Production.INFO: ==14217== Lock acquired, processing the job...
[2025-01-10 11:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 11:59:03] Production.INFO: ==14219== Lock acquired, processing the job...
[2025-01-10 11:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 11:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 11:59:03] Production.INFO: ==14227== Lock acquired, processing the job...
[2025-01-10 11:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 11:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:59:03] Production.INFO: ==14219== Releasing lock...
[2025-01-10 11:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 11:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 11:59:03] Production.INFO: count ==21
[2025-01-10 11:59:03] Production.INFO: ==14221== Lock acquired, processing the job...
[2025-01-10 11:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 11:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 11:59:03] Production.INFO: count ==21
[2025-01-10 11:59:03] Production.INFO: ==14223== Lock acquired, processing the job...
[2025-01-10 11:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 11:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216768') start
[2025-01-10 11:59:03] Production.INFO: ==14225== Lock acquired, processing the job...
[2025-01-10 11:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 11:59:03] Production.INFO: Account Balance Start.
[2025-01-10 11:59:03] Production.INFO: CreateAllLog Start
[2025-01-10 11:59:03] Production.INFO: 117
[2025-01-10 11:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216768') end
[2025-01-10 11:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 11:59:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 11:59:03] Production.INFO: 1
[2025-01-10 11:59:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 11:59:03] Production.INFO: ==14227== Releasing lock...
[2025-01-10 11:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 11:59:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 11:59:03] Production.INFO: Date 2025-01-08
[2025-01-10 11:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 11:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 11:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 11:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 11:59:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:59:04] Production.INFO: Date 2025-01-09
[2025-01-10 11:59:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:59:04] Production.INFO: Date 2025-01-10
[2025-01-10 11:59:04] Production.INFO: Reseller ==> 0
[2025-01-10 11:59:04] Production.INFO: Total Charge 0
[2025-01-10 11:59:04] Production.INFO: CreateAllLog End
[2025-01-10 11:59:04] Production.ERROR: done
[2025-01-10 11:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 11:59:04] Production.ERROR: done
[2025-01-10 11:59:04] Production.INFO: Account Balance End.
[2025-01-10 11:59:04] Production.ERROR: CronJobId end 12
[2025-01-10 11:59:04] Production.INFO: ==14223== Releasing lock...
[2025-01-10 11:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 11:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 11:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 08:59:05
[end_date_ymd] => 2025-01-10 11:59:05
[RateCDR] => 1
)
[2025-01-10 11:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 08:59:05' and `end` < '2025-01-10 11:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 11:59:11] Production.ERROR: CronJobId end10
[2025-01-10 11:59:11] Production.INFO: ==14221== Releasing lock...
[2025-01-10 11:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 11:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 11:59:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 11:59:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 11:59:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 11:59:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 11:59:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 11:59:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 11:59:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 11:59:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 11:59:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 11:59:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 11:59:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 11:59:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 11:59:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 11:59:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 11:59:12] Production.INFO: call_cost start
[2025-01-10 11:59:12] Production.INFO: call_cost end
[2025-01-10 11:59:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 11:59:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 11:59:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 11:59:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 11:59:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 11:59:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 11:59:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 11:59:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 11:59:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 11:59:13] Production.INFO: ==14217== Releasing lock...
[2025-01-10 11:59:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 11:59:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 11:59:20] Production.INFO: count ==4539
[2025-01-10 11:59:22] Production.ERROR: pbx CDR StartTime 2025-01-10 08:59:05 - End Time 2025-01-10 11:59:05
[2025-01-10 11:59:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 11:59:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216770', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:59:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216770', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:59:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216770', 'tblTempVendorCDR_20' ) start
[2025-01-10 11:59:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216770', 'tblTempVendorCDR_20' ) end
[2025-01-10 11:59:22] Production.INFO: ProcessCDR(1,14216770,1,1,2)
[2025-01-10 11:59:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216770,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:59:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216770,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 11:59:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216770,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:59:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216770,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 11:59:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216770', 'tblTempUsageDetail_20' ) start
[2025-01-10 11:59:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216770', 'tblTempUsageDetail_20' ) end
[2025-01-10 11:59:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 11:59:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 11:59:26] Production.INFO: ==14225== Releasing lock...
[2025-01-10 11:59:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 11:59:26] Production.INFO: 62 MB #Memory Used#
[2025-01-10 17:00:02] Production.INFO: ==14286== Lock acquired, processing the job...
[2025-01-10 17:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 17:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 17:00:02] Production.INFO: neon service started
[2025-01-10 17:00:02] Production.INFO: neon service started
[2025-01-10 17:00:02] Production.INFO: ==14286== Releasing lock...
[2025-01-10 17:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 17:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 12:00:02] Production.INFO: ==14288== Lock acquired, processing the job...
[2025-01-10 12:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 17:00:02] Production.INFO: ==14290== Lock acquired, processing the job...
[2025-01-10 17:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 17:00:02] Production.INFO: ==14290== Releasing lock...
[2025-01-10 17:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 17:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 12:00:03] Production.INFO: ==14288== Releasing lock...
[2025-01-10 12:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 12:00:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 12:00:03] Production.INFO: ==14297== Lock acquired, processing the job...
[2025-01-10 12:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 12:00:04] Production.INFO: ==14293== Lock acquired, processing the job...
[2025-01-10 12:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 12:00:04] Production.INFO: ==14303== Lock acquired, processing the job...
[2025-01-10 12:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 12:00:04] Production.INFO: ==14295== Lock acquired, processing the job...
[2025-01-10 12:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 12:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 12:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 12:00:04] Production.ERROR: CronJob PID - 14295
[2025-01-10 12:00:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-10 12:00:04] Production.ERROR: CronJob ID - 5
[2025-01-10 12:00:04] Production.ERROR: CronJob Last Run Time 2025-01-10 12:00:00
[2025-01-10 12:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 12:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 12:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 12:00:04] Production.ERROR: CronJob PID - 14297
[2025-01-10 12:00:04] Production.ERROR: CronJob Title - Account Block
[2025-01-10 12:00:04] Production.ERROR: CronJob ID - 7
[2025-01-10 12:00:04] Production.ERROR: CronJob Last Run Time 2025-01-10 12:00:00
[2025-01-10 12:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 12:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 12:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 12:00:04] Production.ERROR: CronJob PID - 14303
[2025-01-10 12:00:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-10 12:00:04] Production.ERROR: CronJob ID - 16
[2025-01-10 12:00:04] Production.ERROR: CronJob Last Run Time 2025-01-10 12:00:00
[2025-01-10 12:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 12:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 12:00:04] Production.INFO: ==14299== Lock acquired, processing the job...
[2025-01-10 12:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 12:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 12:00:04] Production.INFO: ==14301== Lock acquired, processing the job...
[2025-01-10 12:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 12:00:04] Production.INFO: ==14297== Releasing lock...
[2025-01-10 12:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 12:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 12:00:04] Production.INFO: ==14307== Lock acquired, processing the job...
[2025-01-10 12:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 12:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 12:00:04] Production.INFO: ==14293== Releasing lock...
[2025-01-10 12:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 12:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 12:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 12:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 12:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 12:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 12:00:04] Production.INFO: ==14305== Lock acquired, processing the job...
[2025-01-10 12:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 12:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:00:04] Production.INFO: Account Balance Start.
[2025-01-10 12:00:04] Production.INFO: CreateAllLog Start
[2025-01-10 12:00:04] Production.INFO: 117
[2025-01-10 12:00:04] Production.INFO: Date 2025-01-08
[2025-01-10 12:00:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:00:04] Production.INFO: Date 2025-01-09
[2025-01-10 12:00:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:00:04] Production.INFO: Date 2025-01-10
[2025-01-10 12:00:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:00:04] Production.INFO: count ==21
[2025-01-10 12:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:00:04] Production.INFO: count ==21
[2025-01-10 12:00:04] Production.ERROR: done
[2025-01-10 12:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 12:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216774') start
[2025-01-10 12:00:04] Production.INFO: Total Charge 0
[2025-01-10 12:00:04] Production.INFO: CreateAllLog End
[2025-01-10 12:00:04] Production.ERROR: done
[2025-01-10 12:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216774') end
[2025-01-10 12:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 12:00:04] Production.INFO: 1
[2025-01-10 12:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 12:00:04] Production.ERROR: done
[2025-01-10 12:00:04] Production.INFO: ==14307== Releasing lock...
[2025-01-10 12:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 12:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 12:00:04] Production.INFO: Account Balance End.
[2025-01-10 12:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 12:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14216776', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 12:00:05] Production.ERROR: CronJobId end 12
[2025-01-10 12:00:05] Production.INFO: ==14301== Releasing lock...
[2025-01-10 12:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 12:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 12:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 09:00:06
[end_date_ymd] => 2025-01-10 12:00:06
[RateCDR] => 1
)
[2025-01-10 12:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 09:00:06' and `end` < '2025-01-10 12:00:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 12:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14216776', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 12:00:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 12:00:08] Production.INFO: ProcessCDR(1,14216776,1,1,2)
[2025-01-10 12:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14216776,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14216776,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:00:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:00:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:00:09] Production.INFO: ==14305== Releasing lock...
[2025-01-10 12:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 12:00:09] Production.INFO: 26 MB #Memory Used#
[2025-01-10 12:00:13] Production.ERROR: CronJobId end10
[2025-01-10 12:00:13] Production.INFO: ==14299== Releasing lock...
[2025-01-10 12:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 12:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 12:00:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 12:00:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 12:00:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 12:00:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 12:00:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 12:00:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 12:00:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 12:00:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 12:00:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 12:00:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 12:00:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 12:00:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 12:00:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 12:00:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 12:00:15] Production.INFO: call_cost start
[2025-01-10 12:00:15] Production.INFO: call_cost end
[2025-01-10 12:00:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 12:00:16] Production.INFO: ============== Report Schedule START===========
[2025-01-10 12:00:16] Production.INFO: ============== Report Schedule END===========
[2025-01-10 12:00:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 12:00:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 12:00:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 12:00:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 12:00:16] Production.INFO: ============== Deal alert START===========
[2025-01-10 12:00:16] Production.INFO: ============== Deal alert END===========
[2025-01-10 12:00:16] Production.INFO: ==14295== Releasing lock...
[2025-01-10 12:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 12:00:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:00:24] Production.INFO: count ==4550
[2025-01-10 12:00:26] Production.ERROR: pbx CDR StartTime 2025-01-10 09:00:06 - End Time 2025-01-10 12:00:06
[2025-01-10 12:00:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 12:00:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216775', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:00:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216775', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:00:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216775', 'tblTempVendorCDR_20' ) start
[2025-01-10 12:00:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216775', 'tblTempVendorCDR_20' ) end
[2025-01-10 12:00:26] Production.INFO: ProcessCDR(1,14216775,1,1,2)
[2025-01-10 12:00:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216775,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:00:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216775,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:00:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216775,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:00:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216775,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:00:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216775', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:00:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216775', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:00:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:00:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:00:31] Production.INFO: ==14303== Releasing lock...
[2025-01-10 12:00:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 12:00:31] Production.INFO: 62 MB #Memory Used#
[2025-01-10 17:01:01] Production.INFO: ==14364== Lock acquired, processing the job...
[2025-01-10 17:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 17:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 17:01:01] Production.INFO: neon service started
[2025-01-10 17:01:01] Production.INFO: neon service started
[2025-01-10 17:01:01] Production.INFO: ==14364== Releasing lock...
[2025-01-10 17:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 17:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 12:01:02] Production.INFO: ==14377== Lock acquired, processing the job...
[2025-01-10 12:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 17:01:02] Production.INFO: ==14379== Lock acquired, processing the job...
[2025-01-10 17:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 17:01:02] Production.INFO: ==14379== Releasing lock...
[2025-01-10 17:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 17:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 12:01:02] Production.INFO: ==14377== Releasing lock...
[2025-01-10 12:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 12:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 12:01:03] Production.INFO: ==14382== Lock acquired, processing the job...
[2025-01-10 12:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 12:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 12:01:03] Production.INFO: ==14384== Lock acquired, processing the job...
[2025-01-10 12:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 12:01:03] Production.INFO: ==14392== Lock acquired, processing the job...
[2025-01-10 12:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 12:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:01:03] Production.INFO: count ==21
[2025-01-10 12:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:01:03] Production.INFO: count ==21
[2025-01-10 12:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216779') start
[2025-01-10 12:01:03] Production.INFO: ==14386== Lock acquired, processing the job...
[2025-01-10 12:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 12:01:03] Production.INFO: ==14384== Releasing lock...
[2025-01-10 12:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 12:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 12:01:03] Production.INFO: ==14388== Lock acquired, processing the job...
[2025-01-10 12:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 12:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216779') end
[2025-01-10 12:01:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 12:01:03] Production.INFO: 1
[2025-01-10 12:01:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 12:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 12:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 12:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 12:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 12:01:03] Production.INFO: ==14390== Lock acquired, processing the job...
[2025-01-10 12:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 12:01:03] Production.INFO: ==14392== Releasing lock...
[2025-01-10 12:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 12:01:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 12:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:01:03] Production.INFO: Account Balance Start.
[2025-01-10 12:01:03] Production.INFO: CreateAllLog Start
[2025-01-10 12:01:03] Production.INFO: 117
[2025-01-10 12:01:04] Production.INFO: Date 2025-01-08
[2025-01-10 12:01:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:01:04] Production.ERROR: done
[2025-01-10 12:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 12:01:04] Production.INFO: Date 2025-01-09
[2025-01-10 12:01:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:01:04] Production.ERROR: done
[2025-01-10 12:01:04] Production.INFO: Date 2025-01-10
[2025-01-10 12:01:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:01:04] Production.INFO: Total Charge 0
[2025-01-10 12:01:04] Production.INFO: CreateAllLog End
[2025-01-10 12:01:04] Production.INFO: Account Balance End.
[2025-01-10 12:01:04] Production.ERROR: CronJobId end 12
[2025-01-10 12:01:04] Production.INFO: ==14388== Releasing lock...
[2025-01-10 12:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 12:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 12:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 09:01:05
[end_date_ymd] => 2025-01-10 12:01:05
[RateCDR] => 1
)
[2025-01-10 12:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 09:01:05' and `end` < '2025-01-10 12:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 12:01:11] Production.ERROR: CronJobId end10
[2025-01-10 12:01:11] Production.INFO: ==14386== Releasing lock...
[2025-01-10 12:01:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 12:01:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 12:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 12:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 12:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 12:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 12:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 12:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 12:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 12:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 12:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 12:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 12:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 12:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 12:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 12:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 12:01:13] Production.INFO: call_cost start
[2025-01-10 12:01:13] Production.INFO: call_cost end
[2025-01-10 12:01:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 12:01:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 12:01:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 12:01:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 12:01:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 12:01:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 12:01:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 12:01:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 12:01:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 12:01:14] Production.INFO: ==14382== Releasing lock...
[2025-01-10 12:01:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 12:01:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:01:35] Production.INFO: count ==4638
[2025-01-10 12:01:36] Production.ERROR: pbx CDR StartTime 2025-01-10 09:01:05 - End Time 2025-01-10 12:01:05
[2025-01-10 12:01:36] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 12:01:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216781', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:01:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216781', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:01:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216781', 'tblTempVendorCDR_20' ) start
[2025-01-10 12:01:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216781', 'tblTempVendorCDR_20' ) end
[2025-01-10 12:01:37] Production.INFO: ProcessCDR(1,14216781,1,1,2)
[2025-01-10 12:01:37] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216781,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:01:39] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216781,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:01:39] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216781,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:01:41] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216781,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:01:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216781', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:01:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216781', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:01:41] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:01:41] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:01:41] Production.INFO: ==14390== Releasing lock...
[2025-01-10 12:01:41] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 12:01:41] Production.INFO: 62.75 MB #Memory Used#
[2025-01-10 17:02:02] Production.INFO: ==14445== Lock acquired, processing the job...
[2025-01-10 17:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 17:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 17:02:02] Production.INFO: neon service started
[2025-01-10 17:02:02] Production.INFO: neon service started
[2025-01-10 17:02:02] Production.INFO: ==14445== Releasing lock...
[2025-01-10 17:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 17:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 12:02:02] Production.INFO: ==14447== Lock acquired, processing the job...
[2025-01-10 12:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:02:02] Production.INFO: ==14447== Releasing lock...
[2025-01-10 12:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 12:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 17:02:02] Production.INFO: ==14449== Lock acquired, processing the job...
[2025-01-10 17:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 17:02:03] Production.INFO: ==14449== Releasing lock...
[2025-01-10 17:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 17:02:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 12:02:03] Production.INFO: ==14456== Lock acquired, processing the job...
[2025-01-10 12:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 12:02:03] Production.INFO: ==14460== Lock acquired, processing the job...
[2025-01-10 12:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 12:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:02:03] Production.INFO: ==14452== Lock acquired, processing the job...
[2025-01-10 12:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 12:02:03] Production.INFO: ==14454== Lock acquired, processing the job...
[2025-01-10 12:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 12:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 12:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 12:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 12:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 12:02:04] Production.INFO: ==14458== Lock acquired, processing the job...
[2025-01-10 12:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 12:02:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 12:02:04] Production.INFO: ==14462== Lock acquired, processing the job...
[2025-01-10 12:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 12:02:04] Production.ERROR: done
[2025-01-10 12:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 12:02:04] Production.INFO: Account Balance Start.
[2025-01-10 12:02:04] Production.INFO: CreateAllLog Start
[2025-01-10 12:02:04] Production.INFO: 117
[2025-01-10 12:02:04] Production.INFO: Date 2025-01-08
[2025-01-10 12:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:02:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:02:04] Production.INFO: count ==21
[2025-01-10 12:02:04] Production.INFO: Date 2025-01-09
[2025-01-10 12:02:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:02:04] Production.INFO: count ==21
[2025-01-10 12:02:04] Production.INFO: ==14454== Releasing lock...
[2025-01-10 12:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 12:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 12:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216785') start
[2025-01-10 12:02:04] Production.ERROR: done
[2025-01-10 12:02:04] Production.INFO: Date 2025-01-10
[2025-01-10 12:02:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:02:04] Production.INFO: Total Charge 0
[2025-01-10 12:02:04] Production.INFO: CreateAllLog End
[2025-01-10 12:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216785') end
[2025-01-10 12:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 12:02:04] Production.INFO: 1
[2025-01-10 12:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 12:02:04] Production.INFO: Account Balance End.
[2025-01-10 12:02:04] Production.INFO: ==14462== Releasing lock...
[2025-01-10 12:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 12:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 12:02:04] Production.ERROR: CronJobId end 12
[2025-01-10 12:02:04] Production.INFO: ==14458== Releasing lock...
[2025-01-10 12:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 12:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 12:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 09:02:05
[end_date_ymd] => 2025-01-10 12:02:05
[RateCDR] => 1
)
[2025-01-10 12:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 09:02:05' and `end` < '2025-01-10 12:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 12:02:11] Production.ERROR: CronJobId end10
[2025-01-10 12:02:11] Production.INFO: ==14456== Releasing lock...
[2025-01-10 12:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 12:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 12:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 12:02:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 12:02:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 12:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 12:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 12:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 12:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 12:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 12:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 12:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 12:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 12:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 12:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 12:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 12:02:13] Production.INFO: call_cost start
[2025-01-10 12:02:13] Production.INFO: call_cost end
[2025-01-10 12:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 12:02:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 12:02:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 12:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 12:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 12:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 12:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 12:02:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 12:02:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 12:02:14] Production.INFO: ==14452== Releasing lock...
[2025-01-10 12:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 12:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:02:30] Production.INFO: count ==4653
[2025-01-10 12:02:32] Production.ERROR: pbx CDR StartTime 2025-01-10 09:02:05 - End Time 2025-01-10 12:02:05
[2025-01-10 12:02:32] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 12:02:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216786', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:02:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216786', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:02:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216786', 'tblTempVendorCDR_20' ) start
[2025-01-10 12:02:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216786', 'tblTempVendorCDR_20' ) end
[2025-01-10 12:02:32] Production.INFO: ProcessCDR(1,14216786,1,1,2)
[2025-01-10 12:02:32] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216786,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:02:35] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216786,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:02:35] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216786,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:02:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216786,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:02:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216786', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:02:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216786', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:02:37] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:02:37] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:02:37] Production.INFO: ==14460== Releasing lock...
[2025-01-10 12:02:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 12:02:37] Production.INFO: 62.75 MB #Memory Used#
[2025-01-10 17:03:01] Production.INFO: ==14519== Lock acquired, processing the job...
[2025-01-10 17:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 17:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 17:03:01] Production.INFO: neon service started
[2025-01-10 17:03:01] Production.INFO: neon service started
[2025-01-10 17:03:01] Production.INFO: ==14519== Releasing lock...
[2025-01-10 17:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 17:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 12:03:02] Production.INFO: ==14521== Lock acquired, processing the job...
[2025-01-10 12:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:03:02] Production.INFO: ==14521== Releasing lock...
[2025-01-10 12:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 12:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 17:03:02] Production.INFO: ==14523== Lock acquired, processing the job...
[2025-01-10 17:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 17:03:02] Production.INFO: ==14523== Releasing lock...
[2025-01-10 17:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 17:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 12:03:03] Production.INFO: ==14525== Lock acquired, processing the job...
[2025-01-10 12:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 12:03:03] Production.INFO: ==14527== Lock acquired, processing the job...
[2025-01-10 12:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 12:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 12:03:03] Production.INFO: ==14529== Lock acquired, processing the job...
[2025-01-10 12:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 12:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 12:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 12:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 12:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 12:03:03] Production.INFO: ==14527== Releasing lock...
[2025-01-10 12:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 12:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 12:03:03] Production.INFO: ==14531== Lock acquired, processing the job...
[2025-01-10 12:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 12:03:03] Production.INFO: ==14534== Lock acquired, processing the job...
[2025-01-10 12:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 12:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:03:03] Production.INFO: ==14536== Lock acquired, processing the job...
[2025-01-10 12:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 12:03:03] Production.INFO: Account Balance Start.
[2025-01-10 12:03:03] Production.INFO: CreateAllLog Start
[2025-01-10 12:03:03] Production.INFO: 117
[2025-01-10 12:03:03] Production.INFO: Date 2025-01-08
[2025-01-10 12:03:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:03:03] Production.INFO: Date 2025-01-09
[2025-01-10 12:03:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:03:03] Production.INFO: count ==21
[2025-01-10 12:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:03:03] Production.INFO: count ==21
[2025-01-10 12:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216790') start
[2025-01-10 12:03:03] Production.ERROR: done
[2025-01-10 12:03:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 12:03:03] Production.INFO: Date 2025-01-10
[2025-01-10 12:03:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:03:04] Production.ERROR: done
[2025-01-10 12:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216790') end
[2025-01-10 12:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 12:03:04] Production.INFO: 1
[2025-01-10 12:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 12:03:04] Production.INFO: Total Charge 0
[2025-01-10 12:03:04] Production.INFO: CreateAllLog End
[2025-01-10 12:03:04] Production.INFO: ==14536== Releasing lock...
[2025-01-10 12:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 12:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 12:03:04] Production.INFO: Account Balance End.
[2025-01-10 12:03:04] Production.ERROR: CronJobId end 12
[2025-01-10 12:03:04] Production.INFO: ==14531== Releasing lock...
[2025-01-10 12:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 12:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 12:03:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 09:03:04
[end_date_ymd] => 2025-01-10 12:03:04
[RateCDR] => 1
)
[2025-01-10 12:03:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 09:03:04' and `end` < '2025-01-10 12:03:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 12:03:12] Production.ERROR: CronJobId end10
[2025-01-10 12:03:12] Production.INFO: ==14529== Releasing lock...
[2025-01-10 12:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 12:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 12:03:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 12:03:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 12:03:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 12:03:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 12:03:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 12:03:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 12:03:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 12:03:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 12:03:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 12:03:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 12:03:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 12:03:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 12:03:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 12:03:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 12:03:13] Production.INFO: call_cost start
[2025-01-10 12:03:13] Production.INFO: call_cost end
[2025-01-10 12:03:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 12:03:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 12:03:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 12:03:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 12:03:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 12:03:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 12:03:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 12:03:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 12:03:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 12:03:14] Production.INFO: ==14525== Releasing lock...
[2025-01-10 12:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 12:03:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:03:26] Production.INFO: count ==4673
[2025-01-10 12:03:28] Production.ERROR: pbx CDR StartTime 2025-01-10 09:03:04 - End Time 2025-01-10 12:03:04
[2025-01-10 12:03:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 12:03:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216791', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:03:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216791', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:03:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216791', 'tblTempVendorCDR_20' ) start
[2025-01-10 12:03:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216791', 'tblTempVendorCDR_20' ) end
[2025-01-10 12:03:28] Production.INFO: ProcessCDR(1,14216791,1,1,2)
[2025-01-10 12:03:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216791,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:03:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216791,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:03:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216791,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:03:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216791,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:03:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216791', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:03:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216791', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:03:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:03:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:03:33] Production.INFO: ==14534== Releasing lock...
[2025-01-10 12:03:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 12:03:33] Production.INFO: 63 MB #Memory Used#
[2025-01-10 17:04:02] Production.INFO: ==14595== Lock acquired, processing the job...
[2025-01-10 17:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 17:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 17:04:02] Production.INFO: neon service started
[2025-01-10 17:04:02] Production.INFO: neon service started
[2025-01-10 17:04:02] Production.INFO: ==14595== Releasing lock...
[2025-01-10 17:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 17:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 12:04:02] Production.INFO: ==14597== Lock acquired, processing the job...
[2025-01-10 12:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:04:02] Production.INFO: ==14597== Releasing lock...
[2025-01-10 12:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 12:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 17:04:02] Production.INFO: ==14599== Lock acquired, processing the job...
[2025-01-10 17:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 17:04:02] Production.INFO: ==14599== Releasing lock...
[2025-01-10 17:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 17:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 12:04:03] Production.INFO: ==14605== Lock acquired, processing the job...
[2025-01-10 12:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 12:04:03] Production.INFO: ==14611== Lock acquired, processing the job...
[2025-01-10 12:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 12:04:03] Production.INFO: ==14601== Lock acquired, processing the job...
[2025-01-10 12:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 12:04:03] Production.INFO: ==14603== Lock acquired, processing the job...
[2025-01-10 12:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 12:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 12:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 12:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 12:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 12:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 12:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:04:03] Production.INFO: ==14607== Lock acquired, processing the job...
[2025-01-10 12:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 12:04:03] Production.INFO: count ==21
[2025-01-10 12:04:03] Production.INFO: ==14609== Lock acquired, processing the job...
[2025-01-10 12:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 12:04:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:04:04] Production.INFO: count ==21
[2025-01-10 12:04:04] Production.INFO: Account Balance Start.
[2025-01-10 12:04:04] Production.INFO: CreateAllLog Start
[2025-01-10 12:04:04] Production.INFO: 117
[2025-01-10 12:04:04] Production.INFO: Date 2025-01-08
[2025-01-10 12:04:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:04:04] Production.INFO: Date 2025-01-09
[2025-01-10 12:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216792') start
[2025-01-10 12:04:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:04:04] Production.INFO: Date 2025-01-10
[2025-01-10 12:04:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:04:04] Production.INFO: Total Charge 0
[2025-01-10 12:04:04] Production.INFO: CreateAllLog End
[2025-01-10 12:04:04] Production.INFO: ==14603== Releasing lock...
[2025-01-10 12:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 12:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 12:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216792') end
[2025-01-10 12:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 12:04:04] Production.INFO: 1
[2025-01-10 12:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 12:04:04] Production.INFO: ==14611== Releasing lock...
[2025-01-10 12:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 12:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 12:04:04] Production.INFO: Account Balance End.
[2025-01-10 12:04:04] Production.ERROR: done
[2025-01-10 12:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 12:04:04] Production.ERROR: CronJobId end 12
[2025-01-10 12:04:04] Production.INFO: ==14607== Releasing lock...
[2025-01-10 12:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 12:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 12:04:04] Production.ERROR: done
[2025-01-10 12:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 09:04:05
[end_date_ymd] => 2025-01-10 12:04:05
[RateCDR] => 1
)
[2025-01-10 12:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 09:04:05' and `end` < '2025-01-10 12:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 12:04:11] Production.ERROR: CronJobId end10
[2025-01-10 12:04:11] Production.INFO: ==14605== Releasing lock...
[2025-01-10 12:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 12:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 12:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 12:04:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 12:04:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 12:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 12:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 12:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 12:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 12:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 12:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 12:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 12:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 12:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 12:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 12:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 12:04:13] Production.INFO: call_cost start
[2025-01-10 12:04:13] Production.INFO: call_cost end
[2025-01-10 12:04:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 12:04:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 12:04:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 12:04:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 12:04:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 12:04:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 12:04:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 12:04:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 12:04:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 12:04:14] Production.INFO: ==14601== Releasing lock...
[2025-01-10 12:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 12:04:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:04:26] Production.INFO: count ==4678
[2025-01-10 12:04:28] Production.ERROR: pbx CDR StartTime 2025-01-10 09:04:05 - End Time 2025-01-10 12:04:05
[2025-01-10 12:04:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 12:04:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216796', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:04:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216796', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:04:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216796', 'tblTempVendorCDR_20' ) start
[2025-01-10 12:04:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216796', 'tblTempVendorCDR_20' ) end
[2025-01-10 12:04:28] Production.INFO: ProcessCDR(1,14216796,1,1,2)
[2025-01-10 12:04:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216796,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:04:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216796,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:04:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216796,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:04:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216796,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:04:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216796', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:04:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216796', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:04:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:04:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:04:33] Production.INFO: ==14609== Releasing lock...
[2025-01-10 12:04:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 12:04:33] Production.INFO: 63 MB #Memory Used#
[2025-01-10 17:05:01] Production.INFO: ==14665== Lock acquired, processing the job...
[2025-01-10 17:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 17:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 17:05:01] Production.INFO: neon service started
[2025-01-10 17:05:01] Production.INFO: neon service started
[2025-01-10 17:05:01] Production.INFO: ==14665== Releasing lock...
[2025-01-10 17:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 17:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 12:05:01] Production.INFO: ==14668== Lock acquired, processing the job...
[2025-01-10 12:05:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:05:02] Production.INFO: ==14668== Releasing lock...
[2025-01-10 12:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 12:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 17:05:02] Production.INFO: ==14670== Lock acquired, processing the job...
[2025-01-10 17:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 17:05:02] Production.INFO: ==14670== Releasing lock...
[2025-01-10 17:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 17:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 12:05:02] Production.INFO: ==14678== Lock acquired, processing the job...
[2025-01-10 12:05:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 12:05:03] Production.INFO: Account Balance Start.
[2025-01-10 12:05:03] Production.INFO: CreateAllLog Start
[2025-01-10 12:05:03] Production.INFO: 117
[2025-01-10 12:05:03] Production.INFO: Date 2025-01-08
[2025-01-10 12:05:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:05:03] Production.INFO: Date 2025-01-09
[2025-01-10 12:05:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:05:03] Production.INFO: Date 2025-01-10
[2025-01-10 12:05:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:05:03] Production.INFO: ==14682== Lock acquired, processing the job...
[2025-01-10 12:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 12:05:03] Production.INFO: Total Charge 0
[2025-01-10 12:05:03] Production.INFO: CreateAllLog End
[2025-01-10 12:05:03] Production.INFO: ==14672== Lock acquired, processing the job...
[2025-01-10 12:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 12:05:03] Production.INFO: ==14674== Lock acquired, processing the job...
[2025-01-10 12:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 12:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:05:03] Production.INFO: ==14676== Lock acquired, processing the job...
[2025-01-10 12:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 12:05:03] Production.INFO: Account Balance End.
[2025-01-10 12:05:03] Production.INFO: ==14680== Lock acquired, processing the job...
[2025-01-10 12:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 12:05:03] Production.INFO: count ==21
[2025-01-10 12:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 12:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:05:03] Production.ERROR: CronJobId end 12
[2025-01-10 12:05:03] Production.INFO: ==14678== Releasing lock...
[2025-01-10 12:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 12:05:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 12:05:03] Production.INFO: count ==21
[2025-01-10 12:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216798') start
[2025-01-10 12:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 12:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 12:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 12:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216798') end
[2025-01-10 12:05:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 12:05:03] Production.INFO: 1
[2025-01-10 12:05:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 12:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 12:05:03] Production.INFO: ==14682== Releasing lock...
[2025-01-10 12:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 12:05:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 12:05:03] Production.ERROR: done
[2025-01-10 12:05:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 12:05:03] Production.INFO: ==14674== Releasing lock...
[2025-01-10 12:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 12:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 12:05:03] Production.ERROR: done
[2025-01-10 12:05:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 09:05:04
[end_date_ymd] => 2025-01-10 12:05:04
[RateCDR] => 1
)
[2025-01-10 12:05:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 09:05:04' and `end` < '2025-01-10 12:05:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 12:05:11] Production.ERROR: CronJobId end10
[2025-01-10 12:05:11] Production.INFO: ==14676== Releasing lock...
[2025-01-10 12:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 12:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 12:05:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 12:05:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 12:05:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 12:05:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 12:05:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 12:05:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 12:05:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 12:05:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 12:05:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 12:05:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 12:05:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 12:05:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 12:05:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 12:05:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 12:05:12] Production.INFO: call_cost start
[2025-01-10 12:05:12] Production.INFO: call_cost end
[2025-01-10 12:05:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 12:05:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 12:05:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 12:05:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 12:05:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 12:05:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 12:05:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 12:05:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 12:05:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 12:05:13] Production.INFO: ==14672== Releasing lock...
[2025-01-10 12:05:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 12:05:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:05:19] Production.INFO: count ==4683
[2025-01-10 12:05:20] Production.ERROR: pbx CDR StartTime 2025-01-10 09:05:04 - End Time 2025-01-10 12:05:04
[2025-01-10 12:05:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 12:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216801', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216801', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216801', 'tblTempVendorCDR_20' ) start
[2025-01-10 12:05:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216801', 'tblTempVendorCDR_20' ) end
[2025-01-10 12:05:21] Production.INFO: ProcessCDR(1,14216801,1,1,2)
[2025-01-10 12:05:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216801,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:05:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216801,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:05:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216801,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:05:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216801,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:05:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216801', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:05:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216801', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:05:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:05:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:05:25] Production.INFO: ==14680== Releasing lock...
[2025-01-10 12:05:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 12:05:25] Production.INFO: 63 MB #Memory Used#
[2025-01-10 17:06:01] Production.INFO: ==14735== Lock acquired, processing the job...
[2025-01-10 17:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 17:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 17:06:02] Production.INFO: neon service started
[2025-01-10 17:06:02] Production.INFO: neon service started
[2025-01-10 17:06:02] Production.INFO: ==14735== Releasing lock...
[2025-01-10 17:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 17:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 12:06:02] Production.INFO: ==14737== Lock acquired, processing the job...
[2025-01-10 12:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 17:06:02] Production.INFO: ==14739== Lock acquired, processing the job...
[2025-01-10 17:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 17:06:02] Production.INFO: ==14739== Releasing lock...
[2025-01-10 17:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 17:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 12:06:02] Production.INFO: ==14737== Releasing lock...
[2025-01-10 12:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 12:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 12:06:03] Production.INFO: ==14742== Lock acquired, processing the job...
[2025-01-10 12:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 12:06:03] Production.INFO: ==14744== Lock acquired, processing the job...
[2025-01-10 12:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 12:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 12:06:03] Production.INFO: ==14748== Lock acquired, processing the job...
[2025-01-10 12:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 12:06:03] Production.INFO: ==14746== Lock acquired, processing the job...
[2025-01-10 12:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 12:06:03] Production.INFO: ==14752== Lock acquired, processing the job...
[2025-01-10 12:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 12:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 12:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 12:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 12:06:03] Production.INFO: ==14750== Lock acquired, processing the job...
[2025-01-10 12:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 12:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 12:06:04] Production.INFO: Account Balance Start.
[2025-01-10 12:06:04] Production.INFO: CreateAllLog Start
[2025-01-10 12:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:06:04] Production.INFO: 117
[2025-01-10 12:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:06:04] Production.INFO: Date 2025-01-08
[2025-01-10 12:06:04] Production.INFO: count ==21
[2025-01-10 12:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:06:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:06:04] Production.INFO: count ==21
[2025-01-10 12:06:04] Production.INFO: ==14744== Releasing lock...
[2025-01-10 12:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 12:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 12:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216805') start
[2025-01-10 12:06:04] Production.INFO: Date 2025-01-09
[2025-01-10 12:06:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216805') end
[2025-01-10 12:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 12:06:04] Production.INFO: 1
[2025-01-10 12:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 12:06:04] Production.INFO: Date 2025-01-10
[2025-01-10 12:06:04] Production.ERROR: done
[2025-01-10 12:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 12:06:04] Production.INFO: ==14752== Releasing lock...
[2025-01-10 12:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 12:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 12:06:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:06:04] Production.ERROR: done
[2025-01-10 12:06:04] Production.INFO: Total Charge 0
[2025-01-10 12:06:04] Production.INFO: CreateAllLog End
[2025-01-10 12:06:04] Production.INFO: Account Balance End.
[2025-01-10 12:06:04] Production.ERROR: CronJobId end 12
[2025-01-10 12:06:04] Production.INFO: ==14748== Releasing lock...
[2025-01-10 12:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 12:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 12:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 09:06:05
[end_date_ymd] => 2025-01-10 12:06:05
[RateCDR] => 1
)
[2025-01-10 12:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 09:06:05' and `end` < '2025-01-10 12:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 12:06:12] Production.ERROR: CronJobId end10
[2025-01-10 12:06:12] Production.INFO: ==14746== Releasing lock...
[2025-01-10 12:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 12:06:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 12:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 12:06:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 12:06:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 12:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 12:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 12:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 12:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 12:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 12:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 12:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 12:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 12:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 12:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 12:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 12:06:14] Production.INFO: call_cost start
[2025-01-10 12:06:14] Production.INFO: call_cost end
[2025-01-10 12:06:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 12:06:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 12:06:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 12:06:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 12:06:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 12:06:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 12:06:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 12:06:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 12:06:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 12:06:15] Production.INFO: ==14742== Releasing lock...
[2025-01-10 12:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 12:06:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:06:24] Production.INFO: count ==4691
[2025-01-10 12:06:26] Production.ERROR: pbx CDR StartTime 2025-01-10 09:06:05 - End Time 2025-01-10 12:06:05
[2025-01-10 12:06:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 12:06:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216806', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:06:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216806', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:06:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216806', 'tblTempVendorCDR_20' ) start
[2025-01-10 12:06:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216806', 'tblTempVendorCDR_20' ) end
[2025-01-10 12:06:26] Production.INFO: ProcessCDR(1,14216806,1,1,2)
[2025-01-10 12:06:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216806,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:06:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216806,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:06:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216806,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:06:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216806,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:06:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216806', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:06:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216806', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:06:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:06:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:06:31] Production.INFO: ==14750== Releasing lock...
[2025-01-10 12:06:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 12:06:31] Production.INFO: 63 MB #Memory Used#
[2025-01-10 17:07:01] Production.INFO: ==14805== Lock acquired, processing the job...
[2025-01-10 17:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 17:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 17:07:01] Production.INFO: neon service started
[2025-01-10 17:07:01] Production.INFO: neon service started
[2025-01-10 17:07:01] Production.INFO: ==14805== Releasing lock...
[2025-01-10 17:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 17:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 12:07:01] Production.INFO: ==14807== Lock acquired, processing the job...
[2025-01-10 12:07:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:07:02] Production.INFO: ==14807== Releasing lock...
[2025-01-10 12:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 12:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 17:07:02] Production.INFO: ==14809== Lock acquired, processing the job...
[2025-01-10 17:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 17:07:02] Production.INFO: ==14809== Releasing lock...
[2025-01-10 17:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 17:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 12:07:02] Production.INFO: ==14819== Lock acquired, processing the job...
[2025-01-10 12:07:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 12:07:02] Production.INFO: ==14811== Lock acquired, processing the job...
[2025-01-10 12:07:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 12:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:07:03] Production.INFO: ==14822== Lock acquired, processing the job...
[2025-01-10 12:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 12:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 12:07:03] Production.INFO: ==14813== Lock acquired, processing the job...
[2025-01-10 12:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 12:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:07:03] Production.INFO: count ==21
[2025-01-10 12:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:07:03] Production.INFO: count ==21
[2025-01-10 12:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216808') start
[2025-01-10 12:07:03] Production.INFO: ==14815== Lock acquired, processing the job...
[2025-01-10 12:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 12:07:03] Production.INFO: ==14817== Lock acquired, processing the job...
[2025-01-10 12:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 12:07:03] Production.ERROR: done
[2025-01-10 12:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216808') end
[2025-01-10 12:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 12:07:03] Production.INFO: 1
[2025-01-10 12:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 12:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 12:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 12:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 12:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 12:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 12:07:03] Production.INFO: ==14822== Releasing lock...
[2025-01-10 12:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 12:07:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 12:07:03] Production.INFO: Account Balance Start.
[2025-01-10 12:07:03] Production.INFO: CreateAllLog Start
[2025-01-10 12:07:03] Production.INFO: 117
[2025-01-10 12:07:03] Production.ERROR: done
[2025-01-10 12:07:03] Production.INFO: Date 2025-01-08
[2025-01-10 12:07:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:07:03] Production.INFO: Date 2025-01-09
[2025-01-10 12:07:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:07:03] Production.INFO: Date 2025-01-10
[2025-01-10 12:07:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:07:03] Production.INFO: Total Charge 0
[2025-01-10 12:07:03] Production.INFO: CreateAllLog End
[2025-01-10 12:07:03] Production.INFO: ==14813== Releasing lock...
[2025-01-10 12:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 12:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 12:07:03] Production.INFO: Account Balance End.
[2025-01-10 12:07:03] Production.ERROR: CronJobId end 12
[2025-01-10 12:07:03] Production.INFO: ==14817== Releasing lock...
[2025-01-10 12:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 12:07:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 12:07:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 09:07:04
[end_date_ymd] => 2025-01-10 12:07:04
[RateCDR] => 1
)
[2025-01-10 12:07:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 09:07:04' and `end` < '2025-01-10 12:07:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 12:07:10] Production.ERROR: CronJobId end10
[2025-01-10 12:07:10] Production.INFO: ==14815== Releasing lock...
[2025-01-10 12:07:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 12:07:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 12:07:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 12:07:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 12:07:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 12:07:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 12:07:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 12:07:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 12:07:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 12:07:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 12:07:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 12:07:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 12:07:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 12:07:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 12:07:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 12:07:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 12:07:12] Production.INFO: call_cost start
[2025-01-10 12:07:12] Production.INFO: call_cost end
[2025-01-10 12:07:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 12:07:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 12:07:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 12:07:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 12:07:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 12:07:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 12:07:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 12:07:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 12:07:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 12:07:13] Production.INFO: ==14811== Releasing lock...
[2025-01-10 12:07:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 12:07:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:07:26] Production.INFO: count ==3351
[2025-01-10 12:07:28] Production.ERROR: pbx CDR StartTime 2025-01-10 09:07:04 - End Time 2025-01-10 12:07:04
[2025-01-10 12:07:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 12:07:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216811', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:07:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216811', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:07:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216811', 'tblTempVendorCDR_20' ) start
[2025-01-10 12:07:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216811', 'tblTempVendorCDR_20' ) end
[2025-01-10 12:07:28] Production.INFO: ProcessCDR(1,14216811,1,1,2)
[2025-01-10 12:07:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216811,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:07:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216811,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:07:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216811,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:07:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216811,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:07:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216811', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:07:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216811', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:07:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:07:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:07:33] Production.INFO: ==14819== Releasing lock...
[2025-01-10 12:07:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 12:07:33] Production.INFO: 53 MB #Memory Used#
[2025-01-10 17:08:01] Production.INFO: ==14880== Lock acquired, processing the job...
[2025-01-10 17:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 17:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 17:08:01] Production.INFO: neon service started
[2025-01-10 17:08:01] Production.INFO: neon service started
[2025-01-10 17:08:01] Production.INFO: ==14880== Releasing lock...
[2025-01-10 17:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 17:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 12:08:02] Production.INFO: ==14882== Lock acquired, processing the job...
[2025-01-10 12:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:08:02] Production.INFO: ==14882== Releasing lock...
[2025-01-10 12:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 12:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 17:08:02] Production.INFO: ==14884== Lock acquired, processing the job...
[2025-01-10 17:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 17:08:02] Production.INFO: ==14884== Releasing lock...
[2025-01-10 17:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 17:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 12:08:03] Production.INFO: ==14886== Lock acquired, processing the job...
[2025-01-10 12:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 12:08:03] Production.INFO: ==14888== Lock acquired, processing the job...
[2025-01-10 12:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 12:08:03] Production.INFO: ==14894== Lock acquired, processing the job...
[2025-01-10 12:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 12:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:08:03] Production.INFO: ==14890== Lock acquired, processing the job...
[2025-01-10 12:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 12:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 12:08:03] Production.INFO: ==14896== Lock acquired, processing the job...
[2025-01-10 12:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 12:08:03] Production.INFO: ==14892== Lock acquired, processing the job...
[2025-01-10 12:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 12:08:03] Production.INFO: Account Balance Start.
[2025-01-10 12:08:03] Production.INFO: CreateAllLog Start
[2025-01-10 12:08:03] Production.INFO: 117
[2025-01-10 12:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:08:03] Production.INFO: Date 2025-01-08
[2025-01-10 12:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 12:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 12:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 12:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 12:08:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:08:03] Production.INFO: count ==21
[2025-01-10 12:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:08:03] Production.ERROR: done
[2025-01-10 12:08:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 12:08:03] Production.INFO: ==14888== Releasing lock...
[2025-01-10 12:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 12:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 12:08:03] Production.INFO: count ==21
[2025-01-10 12:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216814') start
[2025-01-10 12:08:03] Production.INFO: Date 2025-01-09
[2025-01-10 12:08:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:08:03] Production.INFO: Date 2025-01-10
[2025-01-10 12:08:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:08:03] Production.INFO: Total Charge 0
[2025-01-10 12:08:03] Production.INFO: CreateAllLog End
[2025-01-10 12:08:03] Production.ERROR: done
[2025-01-10 12:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216814') end
[2025-01-10 12:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 12:08:04] Production.INFO: 1
[2025-01-10 12:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 12:08:04] Production.INFO: Account Balance End.
[2025-01-10 12:08:04] Production.INFO: ==14896== Releasing lock...
[2025-01-10 12:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 12:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 12:08:04] Production.ERROR: CronJobId end 12
[2025-01-10 12:08:04] Production.INFO: ==14892== Releasing lock...
[2025-01-10 12:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 12:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 12:08:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 09:08:04
[end_date_ymd] => 2025-01-10 12:08:04
[RateCDR] => 1
)
[2025-01-10 12:08:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 09:08:04' and `end` < '2025-01-10 12:08:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 12:08:11] Production.ERROR: CronJobId end10
[2025-01-10 12:08:11] Production.INFO: ==14890== Releasing lock...
[2025-01-10 12:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 12:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 12:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 12:08:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 12:08:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 12:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 12:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 12:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 12:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 12:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 12:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 12:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 12:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 12:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 12:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 12:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 12:08:14] Production.INFO: call_cost start
[2025-01-10 12:08:14] Production.INFO: call_cost end
[2025-01-10 12:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 12:08:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 12:08:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 12:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 12:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 12:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 12:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 12:08:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 12:08:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 12:08:14] Production.INFO: ==14886== Releasing lock...
[2025-01-10 12:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 12:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:08:25] Production.INFO: count ==3341
[2025-01-10 12:08:27] Production.ERROR: pbx CDR StartTime 2025-01-10 09:08:04 - End Time 2025-01-10 12:08:04
[2025-01-10 12:08:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 12:08:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216816', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:08:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216816', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:08:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216816', 'tblTempVendorCDR_20' ) start
[2025-01-10 12:08:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216816', 'tblTempVendorCDR_20' ) end
[2025-01-10 12:08:27] Production.INFO: ProcessCDR(1,14216816,1,1,2)
[2025-01-10 12:08:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216816,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:08:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216816,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:08:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216816,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:08:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216816,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:08:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216816', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:08:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216816', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:08:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:08:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:08:32] Production.INFO: ==14894== Releasing lock...
[2025-01-10 12:08:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 12:08:32] Production.INFO: 53 MB #Memory Used#
[2025-01-10 17:09:02] Production.INFO: ==14953== Lock acquired, processing the job...
[2025-01-10 17:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 17:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 17:09:02] Production.INFO: neon service started
[2025-01-10 17:09:02] Production.INFO: neon service started
[2025-01-10 17:09:02] Production.INFO: ==14953== Releasing lock...
[2025-01-10 17:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 17:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 12:09:02] Production.INFO: ==14955== Lock acquired, processing the job...
[2025-01-10 12:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 17:09:02] Production.INFO: ==14957== Lock acquired, processing the job...
[2025-01-10 17:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 17:09:02] Production.INFO: ==14957== Releasing lock...
[2025-01-10 17:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 17:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 12:09:03] Production.INFO: ==14955== Releasing lock...
[2025-01-10 12:09:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 12:09:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 12:09:03] Production.INFO: ==14959== Lock acquired, processing the job...
[2025-01-10 12:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 12:09:03] Production.INFO: ==14962== Lock acquired, processing the job...
[2025-01-10 12:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 12:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 12:09:04] Production.INFO: ==14970== Lock acquired, processing the job...
[2025-01-10 12:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 12:09:04] Production.INFO: ==14962== Releasing lock...
[2025-01-10 12:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 12:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 12:09:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:09:04] Production.INFO: count ==21
[2025-01-10 12:09:04] Production.INFO: ==14964== Lock acquired, processing the job...
[2025-01-10 12:09:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 12:09:04] Production.INFO: ==14966== Lock acquired, processing the job...
[2025-01-10 12:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 12:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:09:04] Production.INFO: count ==21
[2025-01-10 12:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216819') start
[2025-01-10 12:09:04] Production.INFO: ==14968== Lock acquired, processing the job...
[2025-01-10 12:09:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 12:09:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 12:09:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 12:09:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 12:09:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 12:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216819') end
[2025-01-10 12:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 12:09:04] Production.INFO: 1
[2025-01-10 12:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 12:09:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:09:04] Production.INFO: Account Balance Start.
[2025-01-10 12:09:04] Production.INFO: CreateAllLog Start
[2025-01-10 12:09:04] Production.INFO: 117
[2025-01-10 12:09:04] Production.INFO: Date 2025-01-08
[2025-01-10 12:09:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:09:04] Production.INFO: Date 2025-01-09
[2025-01-10 12:09:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:09:04] Production.INFO: Date 2025-01-10
[2025-01-10 12:09:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:09:04] Production.INFO: ==14970== Releasing lock...
[2025-01-10 12:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 12:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 12:09:04] Production.INFO: Total Charge 0
[2025-01-10 12:09:04] Production.INFO: CreateAllLog End
[2025-01-10 12:09:04] Production.ERROR: done
[2025-01-10 12:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 12:09:04] Production.INFO: Account Balance End.
[2025-01-10 12:09:04] Production.ERROR: CronJobId end 12
[2025-01-10 12:09:04] Production.INFO: ==14966== Releasing lock...
[2025-01-10 12:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 12:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 12:09:04] Production.ERROR: done
[2025-01-10 12:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 09:09:05
[end_date_ymd] => 2025-01-10 12:09:05
[RateCDR] => 1
)
[2025-01-10 12:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 09:09:05' and `end` < '2025-01-10 12:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 12:09:12] Production.ERROR: CronJobId end10
[2025-01-10 12:09:12] Production.INFO: ==14964== Releasing lock...
[2025-01-10 12:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 12:09:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 12:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 12:09:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 12:09:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 12:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 12:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 12:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 12:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 12:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 12:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 12:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 12:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 12:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 12:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 12:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 12:09:13] Production.INFO: call_cost start
[2025-01-10 12:09:13] Production.INFO: call_cost end
[2025-01-10 12:09:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 12:09:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 12:09:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 12:09:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 12:09:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 12:09:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 12:09:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 12:09:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 12:09:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 12:09:14] Production.INFO: ==14959== Releasing lock...
[2025-01-10 12:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 12:09:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:09:24] Production.INFO: count ==3350
[2025-01-10 12:09:25] Production.ERROR: pbx CDR StartTime 2025-01-10 09:09:05 - End Time 2025-01-10 12:09:05
[2025-01-10 12:09:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 12:09:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216821', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:09:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216821', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:09:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216821', 'tblTempVendorCDR_20' ) start
[2025-01-10 12:09:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216821', 'tblTempVendorCDR_20' ) end
[2025-01-10 12:09:26] Production.INFO: ProcessCDR(1,14216821,1,1,2)
[2025-01-10 12:09:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216821,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:09:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216821,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:09:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216821,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:09:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216821,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:09:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216821', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:09:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216821', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:09:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:09:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:09:31] Production.INFO: ==14968== Releasing lock...
[2025-01-10 12:09:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 12:09:31] Production.INFO: 53 MB #Memory Used#
[2025-01-10 17:10:01] Production.INFO: ==15025== Lock acquired, processing the job...
[2025-01-10 17:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 17:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 17:10:01] Production.INFO: neon service started
[2025-01-10 17:10:01] Production.INFO: neon service started
[2025-01-10 17:10:01] Production.INFO: ==15025== Releasing lock...
[2025-01-10 17:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 17:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 17:10:02] Production.INFO: ==15029== Lock acquired, processing the job...
[2025-01-10 17:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 17:10:02] Production.INFO: ==15029== Releasing lock...
[2025-01-10 17:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 17:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 12:10:02] Production.INFO: ==15027== Lock acquired, processing the job...
[2025-01-10 12:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:10:02] Production.INFO: ==15027== Releasing lock...
[2025-01-10 12:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 12:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 12:10:03] Production.INFO: ==15037== Lock acquired, processing the job...
[2025-01-10 12:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 12:10:03] Production.INFO: ==15042== Lock acquired, processing the job...
[2025-01-10 12:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 12:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 12:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 12:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 12:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 12:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:10:03] Production.INFO: ==15031== Lock acquired, processing the job...
[2025-01-10 12:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 12:10:03] Production.INFO: ==15046== Lock acquired, processing the job...
[2025-01-10 12:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 12:10:03] Production.INFO: ==15033== Lock acquired, processing the job...
[2025-01-10 12:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 12:10:03] Production.INFO: ==15035== Lock acquired, processing the job...
[2025-01-10 12:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 12:10:03] Production.INFO: ==15039== Lock acquired, processing the job...
[2025-01-10 12:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 12:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 12:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 12:10:04] Production.ERROR: CronJob PID - 15033
[2025-01-10 12:10:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-10 12:10:04] Production.ERROR: CronJob ID - 5
[2025-01-10 12:10:04] Production.ERROR: CronJob Last Run Time 2025-01-10 12:10:00
[2025-01-10 12:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 12:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 12:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 12:10:04] Production.ERROR: CronJob PID - 15035
[2025-01-10 12:10:04] Production.ERROR: CronJob Title - Account Block
[2025-01-10 12:10:04] Production.ERROR: CronJob ID - 7
[2025-01-10 12:10:04] Production.ERROR: CronJob Last Run Time 2025-01-10 12:10:00
[2025-01-10 12:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 12:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 12:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 12:10:04] Production.ERROR: CronJob PID - 15037
[2025-01-10 12:10:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-10 12:10:04] Production.ERROR: CronJob ID - 10
[2025-01-10 12:10:04] Production.ERROR: CronJob Last Run Time 2025-01-10 12:10:00
[2025-01-10 12:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 12:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 12:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 12:10:04] Production.ERROR: CronJob PID - 15042
[2025-01-10 12:10:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-10 12:10:04] Production.ERROR: CronJob ID - 16
[2025-01-10 12:10:04] Production.ERROR: CronJob Last Run Time 2025-01-10 12:10:00
[2025-01-10 12:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 12:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 12:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 12:10:04] Production.ERROR: CronJob PID - 15046
[2025-01-10 12:10:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-10 12:10:04] Production.ERROR: CronJob ID - 19
[2025-01-10 12:10:04] Production.ERROR: CronJob Last Run Time 2025-01-10 12:10:00
[2025-01-10 12:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 12:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 12:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:10:04] Production.INFO: ==15044== Lock acquired, processing the job...
[2025-01-10 12:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 12:10:04] Production.INFO: count ==21
[2025-01-10 12:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 12:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 12:10:04] Production.INFO: ==15031== Releasing lock...
[2025-01-10 12:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 12:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 12:10:04] Production.INFO: count ==21
[2025-01-10 12:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216822') start
[2025-01-10 12:10:04] Production.ERROR: done
[2025-01-10 12:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 12:10:04] Production.INFO: Account Balance Start.
[2025-01-10 12:10:04] Production.INFO: CreateAllLog Start
[2025-01-10 12:10:04] Production.INFO: 117
[2025-01-10 12:10:04] Production.INFO: Date 2025-01-08
[2025-01-10 12:10:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216822') end
[2025-01-10 12:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 12:10:04] Production.INFO: 1
[2025-01-10 12:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 12:10:04] Production.ERROR: done
[2025-01-10 12:10:04] Production.INFO: Date 2025-01-09
[2025-01-10 12:10:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:10:04] Production.INFO: Date 2025-01-10
[2025-01-10 12:10:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:10:04] Production.INFO: ==15046== Releasing lock...
[2025-01-10 12:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 12:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 12:10:04] Production.ERROR: done
[2025-01-10 12:10:04] Production.INFO: Total Charge 0
[2025-01-10 12:10:04] Production.INFO: ==15035== Releasing lock...
[2025-01-10 12:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 12:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 12:10:04] Production.INFO: CreateAllLog End
[2025-01-10 12:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 12:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14216827', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 12:10:04] Production.INFO: Account Balance End.
[2025-01-10 12:10:04] Production.ERROR: CronJobId end 12
[2025-01-10 12:10:04] Production.INFO: ==15039== Releasing lock...
[2025-01-10 12:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 12:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 12:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 09:10:05
[end_date_ymd] => 2025-01-10 12:10:05
[RateCDR] => 1
)
[2025-01-10 12:10:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 09:10:05' and `end` < '2025-01-10 12:10:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 12:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14216827', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 12:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 12:10:08] Production.INFO: ProcessCDR(1,14216827,1,1,2)
[2025-01-10 12:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14216827,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14216827,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:10:08] Production.INFO: ==15044== Releasing lock...
[2025-01-10 12:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 12:10:08] Production.INFO: 26 MB #Memory Used#
[2025-01-10 12:10:13] Production.ERROR: CronJobId end10
[2025-01-10 12:10:13] Production.INFO: ==15037== Releasing lock...
[2025-01-10 12:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 12:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 12:10:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 12:10:15] Production.INFO: ============== Balance Warning START===========
[2025-01-10 12:10:15] Production.INFO: ============== Balance Warning END===========
[2025-01-10 12:10:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 12:10:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 12:10:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 12:10:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 12:10:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 12:10:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 12:10:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 12:10:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 12:10:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 12:10:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 12:10:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 12:10:15] Production.INFO: call_cost start
[2025-01-10 12:10:15] Production.INFO: call_cost end
[2025-01-10 12:10:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 12:10:16] Production.INFO: ============== Report Schedule START===========
[2025-01-10 12:10:16] Production.INFO: ============== Report Schedule END===========
[2025-01-10 12:10:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 12:10:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 12:10:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 12:10:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 12:10:16] Production.INFO: ============== Deal alert START===========
[2025-01-10 12:10:16] Production.INFO: ============== Deal alert END===========
[2025-01-10 12:10:16] Production.INFO: ==15033== Releasing lock...
[2025-01-10 12:10:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 12:10:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:10:25] Production.INFO: count ==3348
[2025-01-10 12:10:27] Production.ERROR: pbx CDR StartTime 2025-01-10 09:10:05 - End Time 2025-01-10 12:10:05
[2025-01-10 12:10:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 12:10:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216826', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:10:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216826', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:10:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216826', 'tblTempVendorCDR_20' ) start
[2025-01-10 12:10:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216826', 'tblTempVendorCDR_20' ) end
[2025-01-10 12:10:28] Production.INFO: ProcessCDR(1,14216826,1,1,2)
[2025-01-10 12:10:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216826,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:10:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216826,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:10:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216826,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:10:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216826,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:10:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216826', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:10:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216826', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:10:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:10:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:10:32] Production.INFO: ==15042== Releasing lock...
[2025-01-10 12:10:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 12:10:32] Production.INFO: 53 MB #Memory Used#
[2025-01-10 17:11:02] Production.INFO: ==15107== Lock acquired, processing the job...
[2025-01-10 17:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 17:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 17:11:02] Production.INFO: neon service started
[2025-01-10 17:11:02] Production.INFO: neon service started
[2025-01-10 17:11:02] Production.INFO: ==15107== Releasing lock...
[2025-01-10 17:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 17:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 12:11:02] Production.INFO: ==15109== Lock acquired, processing the job...
[2025-01-10 12:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:11:02] Production.INFO: ==15109== Releasing lock...
[2025-01-10 12:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 12:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 17:11:02] Production.INFO: ==15111== Lock acquired, processing the job...
[2025-01-10 17:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 17:11:02] Production.INFO: ==15111== Releasing lock...
[2025-01-10 17:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 17:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 12:11:03] Production.INFO: ==15118== Lock acquired, processing the job...
[2025-01-10 12:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 12:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 12:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 12:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 12:11:03] Production.INFO: ==15124== Lock acquired, processing the job...
[2025-01-10 12:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 12:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 12:11:03] Production.INFO: ==15114== Lock acquired, processing the job...
[2025-01-10 12:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 12:11:03] Production.INFO: ==15116== Lock acquired, processing the job...
[2025-01-10 12:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 12:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:11:03] Production.INFO: count ==21
[2025-01-10 12:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:11:03] Production.INFO: count ==21
[2025-01-10 12:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216828') start
[2025-01-10 12:11:03] Production.INFO: ==15120== Lock acquired, processing the job...
[2025-01-10 12:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 12:11:03] Production.INFO: ==15122== Lock acquired, processing the job...
[2025-01-10 12:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 12:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216828') end
[2025-01-10 12:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 12:11:03] Production.INFO: 1
[2025-01-10 12:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 12:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:11:03] Production.INFO: Account Balance Start.
[2025-01-10 12:11:03] Production.INFO: CreateAllLog Start
[2025-01-10 12:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 12:11:03] Production.INFO: 117
[2025-01-10 12:11:03] Production.INFO: ==15124== Releasing lock...
[2025-01-10 12:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 12:11:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 12:11:03] Production.INFO: Date 2025-01-08
[2025-01-10 12:11:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:11:03] Production.INFO: Date 2025-01-09
[2025-01-10 12:11:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:11:04] Production.INFO: Date 2025-01-10
[2025-01-10 12:11:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:11:04] Production.INFO: Total Charge 0
[2025-01-10 12:11:04] Production.INFO: CreateAllLog End
[2025-01-10 12:11:04] Production.ERROR: done
[2025-01-10 12:11:04] Production.INFO: ==15116== Releasing lock...
[2025-01-10 12:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 12:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 12:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 12:11:04] Production.ERROR: done
[2025-01-10 12:11:04] Production.INFO: Account Balance End.
[2025-01-10 12:11:04] Production.ERROR: CronJobId end 12
[2025-01-10 12:11:04] Production.INFO: ==15120== Releasing lock...
[2025-01-10 12:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 12:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 12:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 09:11:05
[end_date_ymd] => 2025-01-10 12:11:05
[RateCDR] => 1
)
[2025-01-10 12:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 09:11:05' and `end` < '2025-01-10 12:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 12:11:12] Production.ERROR: CronJobId end10
[2025-01-10 12:11:12] Production.INFO: ==15118== Releasing lock...
[2025-01-10 12:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 12:11:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 12:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 12:11:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 12:11:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 12:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 12:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 12:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 12:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 12:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 12:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 12:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 12:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 12:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 12:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 12:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 12:11:13] Production.INFO: call_cost start
[2025-01-10 12:11:13] Production.INFO: call_cost end
[2025-01-10 12:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 12:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 12:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 12:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 12:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 12:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 12:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 12:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 12:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 12:11:14] Production.INFO: ==15114== Releasing lock...
[2025-01-10 12:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 12:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:11:20] Production.INFO: count ==3322
[2025-01-10 12:11:22] Production.ERROR: pbx CDR StartTime 2025-01-10 09:11:05 - End Time 2025-01-10 12:11:05
[2025-01-10 12:11:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 12:11:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216832', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:11:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216832', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:11:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216832', 'tblTempVendorCDR_20' ) start
[2025-01-10 12:11:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216832', 'tblTempVendorCDR_20' ) end
[2025-01-10 12:11:22] Production.INFO: ProcessCDR(1,14216832,1,1,2)
[2025-01-10 12:11:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216832,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:11:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216832,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:11:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216832,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:11:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216832,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:11:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216832', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:11:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216832', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:11:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:11:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:11:27] Production.INFO: ==15122== Releasing lock...
[2025-01-10 12:11:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 12:11:27] Production.INFO: 52.75 MB #Memory Used#
[2025-01-10 17:12:01] Production.INFO: ==15179== Lock acquired, processing the job...
[2025-01-10 17:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 17:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 17:12:01] Production.INFO: neon service started
[2025-01-10 17:12:01] Production.INFO: neon service started
[2025-01-10 17:12:01] Production.INFO: ==15179== Releasing lock...
[2025-01-10 17:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 17:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 12:12:01] Production.INFO: ==15181== Lock acquired, processing the job...
[2025-01-10 12:12:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 17:12:02] Production.INFO: ==15183== Lock acquired, processing the job...
[2025-01-10 17:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 12:12:02] Production.INFO: ==15181== Releasing lock...
[2025-01-10 12:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 12:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 17:12:02] Production.INFO: ==15183== Releasing lock...
[2025-01-10 17:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 17:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 12:12:03] Production.INFO: ==15186== Lock acquired, processing the job...
[2025-01-10 12:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 12:12:03] Production.INFO: ==15190== Lock acquired, processing the job...
[2025-01-10 12:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 12:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 12:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 12:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 12:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 12:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 12:12:03] Production.INFO: ==15188== Lock acquired, processing the job...
[2025-01-10 12:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 12:12:03] Production.INFO: ==15196== Lock acquired, processing the job...
[2025-01-10 12:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 12:12:03] Production.INFO: ==15192== Lock acquired, processing the job...
[2025-01-10 12:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 12:12:03] Production.INFO: ==15194== Lock acquired, processing the job...
[2025-01-10 12:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 12:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:12:03] Production.INFO: Account Balance Start.
[2025-01-10 12:12:03] Production.INFO: CreateAllLog Start
[2025-01-10 12:12:03] Production.INFO: count ==21
[2025-01-10 12:12:03] Production.INFO: 117
[2025-01-10 12:12:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:12:03] Production.INFO: count ==21
[2025-01-10 12:12:03] Production.INFO: Date 2025-01-08
[2025-01-10 12:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216834') start
[2025-01-10 12:12:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:12:03] Production.INFO: Date 2025-01-09
[2025-01-10 12:12:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:12:03] Production.INFO: Date 2025-01-10
[2025-01-10 12:12:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:12:03] Production.INFO: Total Charge 0
[2025-01-10 12:12:03] Production.INFO: CreateAllLog End
[2025-01-10 12:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216834') end
[2025-01-10 12:12:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 12:12:03] Production.INFO: 1
[2025-01-10 12:12:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 12:12:03] Production.INFO: Account Balance End.
[2025-01-10 12:12:03] Production.INFO: ==15196== Releasing lock...
[2025-01-10 12:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 12:12:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 12:12:03] Production.ERROR: done
[2025-01-10 12:12:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 12:12:03] Production.INFO: ==15188== Releasing lock...
[2025-01-10 12:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 12:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 12:12:03] Production.ERROR: CronJobId end 12
[2025-01-10 12:12:03] Production.INFO: ==15192== Releasing lock...
[2025-01-10 12:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 12:12:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 12:12:04] Production.ERROR: done
[2025-01-10 12:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 09:12:05
[end_date_ymd] => 2025-01-10 12:12:05
[RateCDR] => 1
)
[2025-01-10 12:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 09:12:05' and `end` < '2025-01-10 12:12:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 12:12:11] Production.ERROR: CronJobId end10
[2025-01-10 12:12:11] Production.INFO: ==15190== Releasing lock...
[2025-01-10 12:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 12:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 12:12:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 12:12:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 12:12:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 12:12:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 12:12:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 12:12:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 12:12:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 12:12:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 12:12:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 12:12:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 12:12:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 12:12:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 12:12:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 12:12:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 12:12:13] Production.INFO: call_cost start
[2025-01-10 12:12:13] Production.INFO: call_cost end
[2025-01-10 12:12:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 12:12:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 12:12:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 12:12:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 12:12:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 12:12:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 12:12:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 12:12:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 12:12:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 12:12:13] Production.INFO: ==15186== Releasing lock...
[2025-01-10 12:12:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 12:12:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:12:22] Production.INFO: count ==3314
[2025-01-10 12:12:24] Production.ERROR: pbx CDR StartTime 2025-01-10 09:12:05 - End Time 2025-01-10 12:12:05
[2025-01-10 12:12:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 12:12:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216837', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:12:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216837', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:12:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216837', 'tblTempVendorCDR_20' ) start
[2025-01-10 12:12:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216837', 'tblTempVendorCDR_20' ) end
[2025-01-10 12:12:24] Production.INFO: ProcessCDR(1,14216837,1,1,2)
[2025-01-10 12:12:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216837,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:12:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216837,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:12:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216837,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:12:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216837,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:12:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216837', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:12:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216837', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:12:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:12:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:12:29] Production.INFO: ==15194== Releasing lock...
[2025-01-10 12:12:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 12:12:29] Production.INFO: 52.75 MB #Memory Used#
[2025-01-10 17:13:01] Production.INFO: ==15250== Lock acquired, processing the job...
[2025-01-10 17:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 17:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 17:13:01] Production.INFO: neon service started
[2025-01-10 17:13:01] Production.INFO: neon service started
[2025-01-10 17:13:01] Production.INFO: ==15250== Releasing lock...
[2025-01-10 17:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 17:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 17:13:02] Production.INFO: ==15254== Lock acquired, processing the job...
[2025-01-10 17:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 17:13:02] Production.INFO: ==15254== Releasing lock...
[2025-01-10 17:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 17:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 12:13:02] Production.INFO: ==15252== Lock acquired, processing the job...
[2025-01-10 12:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:13:02] Production.INFO: ==15252== Releasing lock...
[2025-01-10 12:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 12:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 12:13:03] Production.INFO: ==15257== Lock acquired, processing the job...
[2025-01-10 12:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 12:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 12:13:03] Production.INFO: ==15261== Lock acquired, processing the job...
[2025-01-10 12:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 12:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 12:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 12:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 12:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 12:13:03] Production.INFO: ==15267== Lock acquired, processing the job...
[2025-01-10 12:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 12:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:13:03] Production.INFO: count ==21
[2025-01-10 12:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:13:03] Production.INFO: ==15259== Lock acquired, processing the job...
[2025-01-10 12:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 12:13:03] Production.INFO: count ==21
[2025-01-10 12:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216839') start
[2025-01-10 12:13:03] Production.INFO: ==15263== Lock acquired, processing the job...
[2025-01-10 12:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 12:13:03] Production.INFO: ==15265== Lock acquired, processing the job...
[2025-01-10 12:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 12:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216839') end
[2025-01-10 12:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 12:13:04] Production.INFO: 1
[2025-01-10 12:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 12:13:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:13:04] Production.INFO: Account Balance Start.
[2025-01-10 12:13:04] Production.INFO: ==15267== Releasing lock...
[2025-01-10 12:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 12:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 12:13:04] Production.INFO: CreateAllLog Start
[2025-01-10 12:13:04] Production.INFO: 117
[2025-01-10 12:13:04] Production.INFO: Date 2025-01-08
[2025-01-10 12:13:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:13:04] Production.INFO: Date 2025-01-09
[2025-01-10 12:13:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:13:04] Production.ERROR: done
[2025-01-10 12:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 12:13:04] Production.INFO: ==15259== Releasing lock...
[2025-01-10 12:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 12:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 12:13:04] Production.INFO: Date 2025-01-10
[2025-01-10 12:13:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:13:04] Production.ERROR: done
[2025-01-10 12:13:04] Production.INFO: Total Charge 0
[2025-01-10 12:13:04] Production.INFO: CreateAllLog End
[2025-01-10 12:13:04] Production.INFO: Account Balance End.
[2025-01-10 12:13:04] Production.ERROR: CronJobId end 12
[2025-01-10 12:13:04] Production.INFO: ==15263== Releasing lock...
[2025-01-10 12:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 12:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 12:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 09:13:05
[end_date_ymd] => 2025-01-10 12:13:05
[RateCDR] => 1
)
[2025-01-10 12:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 09:13:05' and `end` < '2025-01-10 12:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 12:13:12] Production.ERROR: CronJobId end10
[2025-01-10 12:13:12] Production.INFO: ==15261== Releasing lock...
[2025-01-10 12:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 12:13:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 12:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 12:13:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 12:13:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 12:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 12:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 12:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 12:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 12:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 12:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 12:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 12:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 12:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 12:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 12:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 12:13:14] Production.INFO: call_cost start
[2025-01-10 12:13:14] Production.INFO: call_cost end
[2025-01-10 12:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 12:13:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 12:13:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 12:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 12:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 12:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 12:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 12:13:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 12:13:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 12:13:14] Production.INFO: ==15257== Releasing lock...
[2025-01-10 12:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 12:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:13:27] Production.INFO: count ==3317
[2025-01-10 12:13:29] Production.ERROR: pbx CDR StartTime 2025-01-10 09:13:05 - End Time 2025-01-10 12:13:05
[2025-01-10 12:13:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 12:13:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216842', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:13:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216842', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:13:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216842', 'tblTempVendorCDR_20' ) start
[2025-01-10 12:13:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216842', 'tblTempVendorCDR_20' ) end
[2025-01-10 12:13:29] Production.INFO: ProcessCDR(1,14216842,1,1,2)
[2025-01-10 12:13:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216842,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:13:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216842,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:13:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216842,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:13:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216842,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:13:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216842', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:13:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216842', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:13:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:13:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:13:34] Production.INFO: ==15265== Releasing lock...
[2025-01-10 12:13:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 12:13:34] Production.INFO: 52.75 MB #Memory Used#
[2025-01-10 17:14:01] Production.INFO: ==15323== Lock acquired, processing the job...
[2025-01-10 17:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 17:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 17:14:01] Production.INFO: neon service started
[2025-01-10 17:14:01] Production.INFO: neon service started
[2025-01-10 17:14:01] Production.INFO: ==15323== Releasing lock...
[2025-01-10 17:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 17:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 12:14:01] Production.INFO: ==15325== Lock acquired, processing the job...
[2025-01-10 12:14:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:14:02] Production.INFO: ==15325== Releasing lock...
[2025-01-10 12:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 12:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 17:14:02] Production.INFO: ==15327== Lock acquired, processing the job...
[2025-01-10 17:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 17:14:02] Production.INFO: ==15327== Releasing lock...
[2025-01-10 17:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 17:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 12:14:03] Production.INFO: ==15332== Lock acquired, processing the job...
[2025-01-10 12:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 12:14:03] Production.INFO: ==15330== Lock acquired, processing the job...
[2025-01-10 12:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 12:14:03] Production.INFO: ==15334== Lock acquired, processing the job...
[2025-01-10 12:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 12:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 12:14:03] Production.INFO: ==15338== Lock acquired, processing the job...
[2025-01-10 12:14:03] Production.INFO: xeropaymentimport-command-xeropaymentimport-companyid-1-cronjobid-14 #Starts#
[2025-01-10 12:14:03] Production.INFO: ==15336== Lock acquired, processing the job...
[2025-01-10 12:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 12:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 12:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 12:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 12:14:03] Production.INFO: ==15342== Lock acquired, processing the job...
[2025-01-10 12:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 12:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 12:14:03] Production.INFO: ==15340== Lock acquired, processing the job...
[2025-01-10 12:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 12:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:14:03] Production.INFO: -- Xero Api Check --
[2025-01-10 12:14:03] Production.INFO: ==15332== Releasing lock...
[2025-01-10 12:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 12:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 12:14:03] Production.INFO: Account Balance Start.
[2025-01-10 12:14:03] Production.INFO: CreateAllLog Start
[2025-01-10 12:14:03] Production.INFO: 117
[2025-01-10 12:14:03] Production.INFO: Date 2025-01-08
[2025-01-10 12:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:14:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:14:03] Production.INFO: count ==21
[2025-01-10 12:14:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:14:03] Production.INFO: count ==21
[2025-01-10 12:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216846') start
[2025-01-10 12:14:03] Production.INFO: Date 2025-01-09
[2025-01-10 12:14:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:14:03] Production.INFO: Date 2025-01-10
[2025-01-10 12:14:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216846') end
[2025-01-10 12:14:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 12:14:03] Production.INFO: 1
[2025-01-10 12:14:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 12:14:03] Production.ERROR: done
[2025-01-10 12:14:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 12:14:03] Production.INFO: ==15342== Releasing lock...
[2025-01-10 12:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 12:14:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 12:14:04] Production.INFO: Total Charge 0
[2025-01-10 12:14:04] Production.INFO: CreateAllLog End
[2025-01-10 12:14:04] Production.ERROR: done
[2025-01-10 12:14:04] Production.INFO: -- curl info --Array
(
[url] => https://identity.xero.com/connect/token
[content_type] => application/json; charset=UTF-8
[http_code] => 200
[header_size] => 856
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0.782679
[namelookup_time] => 0.281818
[connect_time] => 0.29262
[pretransfer_time] => 0.572437
[size_upload] => 82
[size_download] => 2755
[speed_download] => 3519
[speed_upload] => 104
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 0.782622
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.33
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 33584
)
[2025-01-10 12:14:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzY1MjkyNDQsImV4cCI6MTczNjUyOTU0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2NTI5MjQ0LCJhdF9oYXNoIjoianpmRFg1WnVEdDdXdkM3dGE1Tkx6dyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.pdF9ZPQspygKg98UmGWblIH9ocoD5rLcDHUzQGaGhDYWyM2i2MbDELjnPCfE3HRwyhw-t5KYyyL6if6y9dejOGioWmoRCRNMg7tFuljdFcw10Tg-EQ9vHpK2WMUJDDzVYUueaponwZZKFDQjaNuuTBV6r9cpbLyIrFbRbm35Wj3AXAIPmxKmgUPGHuXfCmNspzHM2LF5uCUk4HmpSM6bZKR6l7NnQ-XCSoOMqXu-fwmOx6M_2NPNf0ty7Iv1lmeDOxCEG2m3TEIeKRNspcE70cIrtljl3hUtDAodmGsEcakgwu6jOTjeFbiAB8mCSsixX5QrlQnwUq5dgZwzyagPUA
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzY1MjkyNDQsImV4cCI6MTczNjUzMTA0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.BUaXo3Z_HMrdflCIp_zMx3lJ1j8Cywi18BxBD3NAhMxvgkgqNnk9fKk0OVgskIyotAe3hBxl7UE45GMZPjipDxH8aTpVNCTo3WzkdjHPou5zWkr86m-E54rlFIHww0OGZU3SQ6PFe_dME-R1XOVqFgd4LuhpfqODMll1NLxTjTdFUK6xolWpWFwMXXkYKrLRMn1AvSJa9Jx_lVSmjhQklWzR4dnKq7dHnBrskMWWdWwXJ1eneUijru1ZKHtWhGDQeo15TBu-Dn4DYFoDlkDTiU9BhugdkwmIUm41Yv8trmXwOym5V-rcTKeQN1QdA_gPYSpQYZMCF0QUx1nj8fULKg
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => 9kkcSn9ZBdoeKCnwnf0V_bbF_mQkVyZz_46HvPaU05U
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-10 12:14:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzY1MjkyNDQsImV4cCI6MTczNjUyOTU0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2NTI5MjQ0LCJhdF9oYXNoIjoianpmRFg1WnVEdDdXdkM3dGE1Tkx6dyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.pdF9ZPQspygKg98UmGWblIH9ocoD5rLcDHUzQGaGhDYWyM2i2MbDELjnPCfE3HRwyhw-t5KYyyL6if6y9dejOGioWmoRCRNMg7tFuljdFcw10Tg-EQ9vHpK2WMUJDDzVYUueaponwZZKFDQjaNuuTBV6r9cpbLyIrFbRbm35Wj3AXAIPmxKmgUPGHuXfCmNspzHM2LF5uCUk4HmpSM6bZKR6l7NnQ-XCSoOMqXu-fwmOx6M_2NPNf0ty7Iv1lmeDOxCEG2m3TEIeKRNspcE70cIrtljl3hUtDAodmGsEcakgwu6jOTjeFbiAB8mCSsixX5QrlQnwUq5dgZwzyagPUA
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzY1MjkyNDQsImV4cCI6MTczNjUzMTA0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.BUaXo3Z_HMrdflCIp_zMx3lJ1j8Cywi18BxBD3NAhMxvgkgqNnk9fKk0OVgskIyotAe3hBxl7UE45GMZPjipDxH8aTpVNCTo3WzkdjHPou5zWkr86m-E54rlFIHww0OGZU3SQ6PFe_dME-R1XOVqFgd4LuhpfqODMll1NLxTjTdFUK6xolWpWFwMXXkYKrLRMn1AvSJa9Jx_lVSmjhQklWzR4dnKq7dHnBrskMWWdWwXJ1eneUijru1ZKHtWhGDQeo15TBu-Dn4DYFoDlkDTiU9BhugdkwmIUm41Yv8trmXwOym5V-rcTKeQN1QdA_gPYSpQYZMCF0QUx1nj8fULKg
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => 9kkcSn9ZBdoeKCnwnf0V_bbF_mQkVyZz_46HvPaU05U
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-10 12:14:04] Production.ERROR: Invoice Payment Date 2025-01-09 00:00:00
[2025-01-10 12:14:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Payments?where=Date>=DateTime(2025,01,09)
[2025-01-10 12:14:04] Production.INFO: Account Balance End.
[2025-01-10 12:14:04] Production.ERROR: CronJobId end 12
[2025-01-10 12:14:04] Production.INFO: ==15336== Releasing lock...
[2025-01-10 12:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 12:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 12:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 09:14:05
[end_date_ymd] => 2025-01-10 12:14:05
[RateCDR] => 1
)
[2025-01-10 12:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 09:14:05' and `end` < '2025-01-10 12:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 12:14:07] Production.INFO: Batch insert start
[2025-01-10 12:14:07] Production.INFO: global counter1
[2025-01-10 12:14:07] Production.INFO: insertion start
[2025-01-10 12:14:07] Production.INFO: last batch insert 1
[2025-01-10 12:14:07] Production.INFO: insertion end
[2025-01-10 12:14:07] Production.INFO: CALL prc_importPaymentAccounting ('4af2efa0-cf76-11ef-ac04-0312ba8abfb3') start
[2025-01-10 12:14:07] Production.INFO: CALL prc_importPaymentAccounting ('4af2efa0-cf76-11ef-ac04-0312ba8abfb3') end
[2025-01-10 12:14:07] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
1 =>
array (
'Message' => ' Invalid InvoiceNumber : Expenses - 18 May 2018',
),
)
[2025-01-10 12:14:07] Production.INFO: 2
[2025-01-10 12:14:07] Production.ERROR: CronJobId end14
[2025-01-10 12:14:07] Production.INFO: ==15338== Releasing lock...
[2025-01-10 12:14:07] Production.INFO: xeropaymentimport-command-xeropaymentimport-companyid-1-cronjobid-14 #Stops#
[2025-01-10 12:14:07] Production.INFO: 26 MB #Memory Used#
[2025-01-10 12:14:12] Production.ERROR: CronJobId end10
[2025-01-10 12:14:12] Production.INFO: ==15334== Releasing lock...
[2025-01-10 12:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 12:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 12:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 12:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 12:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 12:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 12:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 12:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 12:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 12:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 12:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 12:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 12:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 12:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 12:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 12:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 12:14:14] Production.INFO: call_cost start
[2025-01-10 12:14:14] Production.INFO: call_cost end
[2025-01-10 12:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 12:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 12:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 12:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 12:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 12:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 12:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 12:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 12:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 12:14:14] Production.INFO: ==15330== Releasing lock...
[2025-01-10 12:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 12:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:14:24] Production.INFO: count ==3310
[2025-01-10 12:14:26] Production.ERROR: pbx CDR StartTime 2025-01-10 09:14:05 - End Time 2025-01-10 12:14:05
[2025-01-10 12:14:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 12:14:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216847', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:14:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216847', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:14:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216847', 'tblTempVendorCDR_20' ) start
[2025-01-10 12:14:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216847', 'tblTempVendorCDR_20' ) end
[2025-01-10 12:14:26] Production.INFO: ProcessCDR(1,14216847,1,1,2)
[2025-01-10 12:14:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216847,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:14:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216847,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:14:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216847,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:14:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216847,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:14:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216847', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:14:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216847', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:14:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:14:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:14:31] Production.INFO: ==15340== Releasing lock...
[2025-01-10 12:14:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 12:14:31] Production.INFO: 54 MB #Memory Used#
[2025-01-10 17:15:01] Production.INFO: ==15438== Lock acquired, processing the job...
[2025-01-10 17:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 17:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 17:15:01] Production.INFO: neon service started
[2025-01-10 17:15:01] Production.INFO: neon service started
[2025-01-10 17:15:01] Production.INFO: ==15438== Releasing lock...
[2025-01-10 17:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 17:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 17:15:02] Production.INFO: ==15443== Lock acquired, processing the job...
[2025-01-10 17:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 17:15:02] Production.INFO: ==15443== Releasing lock...
[2025-01-10 17:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 17:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 12:15:02] Production.INFO: ==15441== Lock acquired, processing the job...
[2025-01-10 12:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:15:02] Production.INFO: ==15441== Releasing lock...
[2025-01-10 12:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 12:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 12:15:03] Production.INFO: ==15445== Lock acquired, processing the job...
[2025-01-10 12:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 12:15:03] Production.INFO: ==15449== Lock acquired, processing the job...
[2025-01-10 12:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 12:15:03] Production.INFO: ==15451== Lock acquired, processing the job...
[2025-01-10 12:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 12:15:03] Production.INFO: ==15447== Lock acquired, processing the job...
[2025-01-10 12:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 12:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 12:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 12:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 12:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 12:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 12:15:03] Production.INFO: Account Balance Start.
[2025-01-10 12:15:03] Production.INFO: CreateAllLog Start
[2025-01-10 12:15:03] Production.INFO: 117
[2025-01-10 12:15:03] Production.INFO: Date 2025-01-08
[2025-01-10 12:15:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:15:03] Production.INFO: Date 2025-01-09
[2025-01-10 12:15:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:15:03] Production.INFO: Date 2025-01-10
[2025-01-10 12:15:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:15:03] Production.INFO: ==15453== Lock acquired, processing the job...
[2025-01-10 12:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 12:15:03] Production.INFO: Total Charge 0
[2025-01-10 12:15:03] Production.INFO: CreateAllLog End
[2025-01-10 12:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:15:03] Production.INFO: ==15455== Lock acquired, processing the job...
[2025-01-10 12:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 12:15:04] Production.INFO: ==15447== Releasing lock...
[2025-01-10 12:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 12:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 12:15:04] Production.INFO: Account Balance End.
[2025-01-10 12:15:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:15:04] Production.INFO: count ==21
[2025-01-10 12:15:04] Production.ERROR: CronJobId end 12
[2025-01-10 12:15:04] Production.INFO: ==15451== Releasing lock...
[2025-01-10 12:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 12:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 12:15:04] Production.ERROR: done
[2025-01-10 12:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 12:15:04] Production.INFO: count ==21
[2025-01-10 12:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216851') start
[2025-01-10 12:15:04] Production.ERROR: done
[2025-01-10 12:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216851') end
[2025-01-10 12:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 12:15:04] Production.INFO: 1
[2025-01-10 12:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 12:15:04] Production.INFO: ==15455== Releasing lock...
[2025-01-10 12:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 12:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 12:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 09:15:05
[end_date_ymd] => 2025-01-10 12:15:05
[RateCDR] => 1
)
[2025-01-10 12:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 09:15:05' and `end` < '2025-01-10 12:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 12:15:12] Production.ERROR: CronJobId end10
[2025-01-10 12:15:12] Production.INFO: ==15449== Releasing lock...
[2025-01-10 12:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 12:15:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 12:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 12:15:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 12:15:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 12:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 12:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 12:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 12:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 12:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 12:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 12:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 12:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 12:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 12:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 12:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 12:15:13] Production.INFO: call_cost start
[2025-01-10 12:15:13] Production.INFO: call_cost end
[2025-01-10 12:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 12:15:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 12:15:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 12:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 12:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 12:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 12:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 12:15:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 12:15:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 12:15:14] Production.INFO: ==15445== Releasing lock...
[2025-01-10 12:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 12:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:15:20] Production.INFO: count ==3305
[2025-01-10 12:15:21] Production.ERROR: pbx CDR StartTime 2025-01-10 09:15:05 - End Time 2025-01-10 12:15:05
[2025-01-10 12:15:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 12:15:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216852', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:15:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216852', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:15:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216852', 'tblTempVendorCDR_20' ) start
[2025-01-10 12:15:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216852', 'tblTempVendorCDR_20' ) end
[2025-01-10 12:15:22] Production.INFO: ProcessCDR(1,14216852,1,1,2)
[2025-01-10 12:15:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216852,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:15:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216852,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:15:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216852,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:15:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216852,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:15:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216852', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:15:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216852', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:15:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:15:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:15:27] Production.INFO: ==15453== Releasing lock...
[2025-01-10 12:15:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 12:15:27] Production.INFO: 52.75 MB #Memory Used#
[2025-01-10 17:16:02] Production.INFO: ==15509== Lock acquired, processing the job...
[2025-01-10 17:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 17:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 17:16:02] Production.INFO: neon service started
[2025-01-10 17:16:02] Production.INFO: neon service started
[2025-01-10 17:16:02] Production.INFO: ==15509== Releasing lock...
[2025-01-10 17:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 17:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 12:16:02] Production.INFO: ==15511== Lock acquired, processing the job...
[2025-01-10 12:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:16:03] Production.INFO: ==15511== Releasing lock...
[2025-01-10 12:16:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 12:16:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 17:16:03] Production.INFO: ==15513== Lock acquired, processing the job...
[2025-01-10 17:16:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 17:16:03] Production.INFO: ==15513== Releasing lock...
[2025-01-10 17:16:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 17:16:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 12:16:03] Production.INFO: ==15516== Lock acquired, processing the job...
[2025-01-10 12:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 12:16:03] Production.INFO: ==15518== Lock acquired, processing the job...
[2025-01-10 12:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 12:16:03] Production.INFO: ==15522== Lock acquired, processing the job...
[2025-01-10 12:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 12:16:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 12:16:04] Production.INFO: Account Balance Start.
[2025-01-10 12:16:04] Production.INFO: CreateAllLog Start
[2025-01-10 12:16:04] Production.INFO: 117
[2025-01-10 12:16:04] Production.INFO: Date 2025-01-08
[2025-01-10 12:16:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:16:04] Production.INFO: ==15520== Lock acquired, processing the job...
[2025-01-10 12:16:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 12:16:04] Production.INFO: Date 2025-01-09
[2025-01-10 12:16:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:16:04] Production.INFO: ==15524== Lock acquired, processing the job...
[2025-01-10 12:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 12:16:04] Production.INFO: Date 2025-01-10
[2025-01-10 12:16:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:16:04] Production.INFO: Total Charge 0
[2025-01-10 12:16:04] Production.INFO: CreateAllLog End
[2025-01-10 12:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:16:04] Production.INFO: ==15526== Lock acquired, processing the job...
[2025-01-10 12:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 12:16:04] Production.INFO: ==15518== Releasing lock...
[2025-01-10 12:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 12:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 12:16:04] Production.INFO: Account Balance End.
[2025-01-10 12:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 12:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 12:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 12:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 12:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:16:04] Production.ERROR: done
[2025-01-10 12:16:04] Production.INFO: count ==21
[2025-01-10 12:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 12:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:16:04] Production.INFO: count ==21
[2025-01-10 12:16:04] Production.ERROR: CronJobId end 12
[2025-01-10 12:16:04] Production.INFO: ==15522== Releasing lock...
[2025-01-10 12:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 12:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 12:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216856') start
[2025-01-10 12:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216856') end
[2025-01-10 12:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 12:16:04] Production.INFO: 1
[2025-01-10 12:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 12:16:04] Production.INFO: ==15526== Releasing lock...
[2025-01-10 12:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 12:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 12:16:04] Production.ERROR: done
[2025-01-10 12:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 09:16:05
[end_date_ymd] => 2025-01-10 12:16:05
[RateCDR] => 1
)
[2025-01-10 12:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 09:16:05' and `end` < '2025-01-10 12:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 12:16:12] Production.ERROR: CronJobId end10
[2025-01-10 12:16:12] Production.INFO: ==15520== Releasing lock...
[2025-01-10 12:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 12:16:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 12:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 12:16:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 12:16:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 12:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 12:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 12:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 12:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 12:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 12:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 12:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 12:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 12:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 12:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 12:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 12:16:14] Production.INFO: call_cost start
[2025-01-10 12:16:14] Production.INFO: call_cost end
[2025-01-10 12:16:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 12:16:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 12:16:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 12:16:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 12:16:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 12:16:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 12:16:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 12:16:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 12:16:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 12:16:15] Production.INFO: ==15516== Releasing lock...
[2025-01-10 12:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 12:16:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:16:30] Production.INFO: count ==3293
[2025-01-10 12:16:32] Production.ERROR: pbx CDR StartTime 2025-01-10 09:16:05 - End Time 2025-01-10 12:16:05
[2025-01-10 12:16:32] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 12:16:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216857', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:16:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216857', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:16:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216857', 'tblTempVendorCDR_20' ) start
[2025-01-10 12:16:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216857', 'tblTempVendorCDR_20' ) end
[2025-01-10 12:16:32] Production.INFO: ProcessCDR(1,14216857,1,1,2)
[2025-01-10 12:16:32] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216857,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:16:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216857,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:16:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216857,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:16:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216857,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:16:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216857', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:16:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216857', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:16:37] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:16:37] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:16:37] Production.INFO: ==15524== Releasing lock...
[2025-01-10 12:16:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 12:16:37] Production.INFO: 52.75 MB #Memory Used#
[2025-01-10 17:17:01] Production.INFO: ==15581== Lock acquired, processing the job...
[2025-01-10 17:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 17:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 17:17:01] Production.INFO: neon service started
[2025-01-10 17:17:01] Production.INFO: neon service started
[2025-01-10 17:17:01] Production.INFO: ==15581== Releasing lock...
[2025-01-10 17:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 17:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 12:17:02] Production.INFO: ==15583== Lock acquired, processing the job...
[2025-01-10 12:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:17:02] Production.INFO: ==15583== Releasing lock...
[2025-01-10 12:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 12:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 17:17:02] Production.INFO: ==15585== Lock acquired, processing the job...
[2025-01-10 17:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 17:17:02] Production.INFO: ==15585== Releasing lock...
[2025-01-10 17:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 17:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 12:17:03] Production.INFO: ==15588== Lock acquired, processing the job...
[2025-01-10 12:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 12:17:03] Production.INFO: ==15590== Lock acquired, processing the job...
[2025-01-10 12:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 12:17:03] Production.INFO: ==15596== Lock acquired, processing the job...
[2025-01-10 12:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 12:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 12:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:17:03] Production.INFO: ==15594== Lock acquired, processing the job...
[2025-01-10 12:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 12:17:03] Production.INFO: ==15592== Lock acquired, processing the job...
[2025-01-10 12:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 12:17:03] Production.INFO: Account Balance Start.
[2025-01-10 12:17:03] Production.INFO: CreateAllLog Start
[2025-01-10 12:17:03] Production.INFO: 117
[2025-01-10 12:17:03] Production.INFO: Date 2025-01-08
[2025-01-10 12:17:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:17:03] Production.INFO: ==15598== Lock acquired, processing the job...
[2025-01-10 12:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 12:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 12:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 12:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 12:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 12:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:17:03] Production.INFO: Date 2025-01-09
[2025-01-10 12:17:03] Production.INFO: count ==21
[2025-01-10 12:17:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:17:03] Production.INFO: count ==21
[2025-01-10 12:17:03] Production.ERROR: done
[2025-01-10 12:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 12:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216861') start
[2025-01-10 12:17:04] Production.INFO: Date 2025-01-10
[2025-01-10 12:17:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:17:04] Production.INFO: ==15590== Releasing lock...
[2025-01-10 12:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 12:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 12:17:04] Production.ERROR: done
[2025-01-10 12:17:04] Production.INFO: Total Charge 0
[2025-01-10 12:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216861') end
[2025-01-10 12:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 12:17:04] Production.INFO: 1
[2025-01-10 12:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 12:17:04] Production.INFO: ==15598== Releasing lock...
[2025-01-10 12:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 12:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 12:17:04] Production.INFO: CreateAllLog End
[2025-01-10 12:17:04] Production.INFO: Account Balance End.
[2025-01-10 12:17:04] Production.ERROR: CronJobId end 12
[2025-01-10 12:17:04] Production.INFO: ==15594== Releasing lock...
[2025-01-10 12:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 12:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 12:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 09:17:05
[end_date_ymd] => 2025-01-10 12:17:05
[RateCDR] => 1
)
[2025-01-10 12:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 09:17:05' and `end` < '2025-01-10 12:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 12:17:12] Production.ERROR: CronJobId end10
[2025-01-10 12:17:12] Production.INFO: ==15592== Releasing lock...
[2025-01-10 12:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 12:17:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 12:17:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 12:17:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 12:17:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 12:17:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 12:17:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 12:17:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 12:17:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 12:17:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 12:17:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 12:17:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 12:17:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 12:17:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 12:17:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 12:17:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 12:17:14] Production.INFO: call_cost start
[2025-01-10 12:17:14] Production.INFO: call_cost end
[2025-01-10 12:17:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 12:17:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 12:17:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 12:17:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 12:17:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 12:17:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 12:17:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 12:17:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 12:17:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 12:17:15] Production.INFO: ==15588== Releasing lock...
[2025-01-10 12:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 12:17:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:17:24] Production.INFO: count ==3309
[2025-01-10 12:17:26] Production.ERROR: pbx CDR StartTime 2025-01-10 09:17:05 - End Time 2025-01-10 12:17:05
[2025-01-10 12:17:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 12:17:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216862', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:17:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216862', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:17:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216862', 'tblTempVendorCDR_20' ) start
[2025-01-10 12:17:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216862', 'tblTempVendorCDR_20' ) end
[2025-01-10 12:17:26] Production.INFO: ProcessCDR(1,14216862,1,1,2)
[2025-01-10 12:17:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216862,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:17:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216862,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:17:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216862,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:17:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216862,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:17:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216862', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:17:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216862', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:17:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:17:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:17:31] Production.INFO: ==15596== Releasing lock...
[2025-01-10 12:17:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 12:17:31] Production.INFO: 52.75 MB #Memory Used#
[2025-01-10 17:18:02] Production.INFO: ==15666== Lock acquired, processing the job...
[2025-01-10 17:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 17:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 17:18:02] Production.INFO: neon service started
[2025-01-10 17:18:02] Production.INFO: neon service started
[2025-01-10 17:18:02] Production.INFO: ==15666== Releasing lock...
[2025-01-10 17:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 17:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 12:18:02] Production.INFO: ==15669== Lock acquired, processing the job...
[2025-01-10 12:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:18:03] Production.INFO: ==15669== Releasing lock...
[2025-01-10 12:18:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 12:18:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 17:18:03] Production.INFO: ==15671== Lock acquired, processing the job...
[2025-01-10 17:18:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 17:18:03] Production.INFO: ==15671== Releasing lock...
[2025-01-10 17:18:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 17:18:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 12:18:03] Production.INFO: ==15675== Lock acquired, processing the job...
[2025-01-10 12:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 12:18:04] Production.INFO: ==15673== Lock acquired, processing the job...
[2025-01-10 12:18:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 12:18:04] Production.INFO: ==15684== Lock acquired, processing the job...
[2025-01-10 12:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 12:18:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 12:18:04] Production.INFO: ==15677== Lock acquired, processing the job...
[2025-01-10 12:18:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 12:18:04] Production.INFO: ==15675== Releasing lock...
[2025-01-10 12:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 12:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 12:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:18:04] Production.INFO: ==15679== Lock acquired, processing the job...
[2025-01-10 12:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 12:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 12:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 12:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 12:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 12:18:04] Production.INFO: count ==21
[2025-01-10 12:18:04] Production.INFO: ==15681== Lock acquired, processing the job...
[2025-01-10 12:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 12:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:18:04] Production.INFO: count ==21
[2025-01-10 12:18:04] Production.INFO: Account Balance Start.
[2025-01-10 12:18:04] Production.INFO: CreateAllLog Start
[2025-01-10 12:18:04] Production.INFO: 117
[2025-01-10 12:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216865') start
[2025-01-10 12:18:04] Production.INFO: Date 2025-01-08
[2025-01-10 12:18:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:18:04] Production.INFO: Date 2025-01-09
[2025-01-10 12:18:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:18:04] Production.INFO: Date 2025-01-10
[2025-01-10 12:18:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:18:04] Production.INFO: Total Charge 0
[2025-01-10 12:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216865') end
[2025-01-10 12:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 12:18:04] Production.INFO: 1
[2025-01-10 12:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 12:18:04] Production.INFO: CreateAllLog End
[2025-01-10 12:18:04] Production.INFO: ==15684== Releasing lock...
[2025-01-10 12:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 12:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 12:18:04] Production.ERROR: done
[2025-01-10 12:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 12:18:04] Production.INFO: Account Balance End.
[2025-01-10 12:18:05] Production.ERROR: CronJobId end 12
[2025-01-10 12:18:05] Production.INFO: ==15679== Releasing lock...
[2025-01-10 12:18:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 12:18:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 12:18:05] Production.ERROR: done
[2025-01-10 12:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 09:18:05
[end_date_ymd] => 2025-01-10 12:18:05
[RateCDR] => 1
)
[2025-01-10 12:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 09:18:05' and `end` < '2025-01-10 12:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 12:18:13] Production.ERROR: CronJobId end10
[2025-01-10 12:18:13] Production.INFO: ==15677== Releasing lock...
[2025-01-10 12:18:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 12:18:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 12:18:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 12:18:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 12:18:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 12:18:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 12:18:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 12:18:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 12:18:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 12:18:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 12:18:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 12:18:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 12:18:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 12:18:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 12:18:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 12:18:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 12:18:14] Production.INFO: call_cost start
[2025-01-10 12:18:14] Production.INFO: call_cost end
[2025-01-10 12:18:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 12:18:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 12:18:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 12:18:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 12:18:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 12:18:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 12:18:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 12:18:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 12:18:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 12:18:15] Production.INFO: ==15673== Releasing lock...
[2025-01-10 12:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 12:18:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:18:28] Production.INFO: count ==3321
[2025-01-10 12:18:30] Production.ERROR: pbx CDR StartTime 2025-01-10 09:18:05 - End Time 2025-01-10 12:18:05
[2025-01-10 12:18:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 12:18:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216867', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:18:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216867', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:18:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216867', 'tblTempVendorCDR_20' ) start
[2025-01-10 12:18:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216867', 'tblTempVendorCDR_20' ) end
[2025-01-10 12:18:30] Production.INFO: ProcessCDR(1,14216867,1,1,2)
[2025-01-10 12:18:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216867,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:18:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216867,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:18:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216867,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:18:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216867,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:18:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216867', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:18:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216867', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:18:35] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:18:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:18:35] Production.INFO: ==15681== Releasing lock...
[2025-01-10 12:18:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 12:18:35] Production.INFO: 53.75 MB #Memory Used#
[2025-01-10 17:19:01] Production.INFO: ==15738== Lock acquired, processing the job...
[2025-01-10 17:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 17:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 17:19:01] Production.INFO: neon service started
[2025-01-10 17:19:01] Production.INFO: neon service started
[2025-01-10 17:19:01] Production.INFO: ==15738== Releasing lock...
[2025-01-10 17:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 17:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 12:19:02] Production.INFO: ==15740== Lock acquired, processing the job...
[2025-01-10 12:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:19:02] Production.INFO: ==15740== Releasing lock...
[2025-01-10 12:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 12:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 17:19:02] Production.INFO: ==15742== Lock acquired, processing the job...
[2025-01-10 17:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 17:19:02] Production.INFO: ==15742== Releasing lock...
[2025-01-10 17:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 17:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 12:19:03] Production.INFO: ==15744== Lock acquired, processing the job...
[2025-01-10 12:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 12:19:03] Production.INFO: ==15746== Lock acquired, processing the job...
[2025-01-10 12:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 12:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 12:19:03] Production.INFO: ==15750== Lock acquired, processing the job...
[2025-01-10 12:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 12:19:03] Production.INFO: Account Balance Start.
[2025-01-10 12:19:03] Production.INFO: CreateAllLog Start
[2025-01-10 12:19:03] Production.INFO: 117
[2025-01-10 12:19:03] Production.INFO: ==15746== Releasing lock...
[2025-01-10 12:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 12:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 12:19:03] Production.INFO: Date 2025-01-08
[2025-01-10 12:19:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:19:03] Production.INFO: ==15748== Lock acquired, processing the job...
[2025-01-10 12:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 12:19:03] Production.INFO: Date 2025-01-09
[2025-01-10 12:19:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:19:03] Production.INFO: ==15755== Lock acquired, processing the job...
[2025-01-10 12:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 12:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 12:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 12:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 12:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 12:19:03] Production.INFO: Date 2025-01-10
[2025-01-10 12:19:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:19:03] Production.INFO: Total Charge 0
[2025-01-10 12:19:03] Production.INFO: ==15753== Lock acquired, processing the job...
[2025-01-10 12:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 12:19:03] Production.INFO: CreateAllLog End
[2025-01-10 12:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:19:03] Production.INFO: count ==21
[2025-01-10 12:19:03] Production.INFO: Account Balance End.
[2025-01-10 12:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:19:03] Production.INFO: count ==21
[2025-01-10 12:19:03] Production.ERROR: CronJobId end 12
[2025-01-10 12:19:03] Production.INFO: ==15750== Releasing lock...
[2025-01-10 12:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 12:19:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 12:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216871') start
[2025-01-10 12:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216871') end
[2025-01-10 12:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 12:19:04] Production.INFO: 1
[2025-01-10 12:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 12:19:04] Production.INFO: ==15755== Releasing lock...
[2025-01-10 12:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 12:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 12:19:04] Production.ERROR: done
[2025-01-10 12:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 12:19:04] Production.ERROR: done
[2025-01-10 12:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 09:19:05
[end_date_ymd] => 2025-01-10 12:19:05
[RateCDR] => 1
)
[2025-01-10 12:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 09:19:05' and `end` < '2025-01-10 12:19:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 12:19:11] Production.ERROR: CronJobId end10
[2025-01-10 12:19:11] Production.INFO: ==15748== Releasing lock...
[2025-01-10 12:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 12:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 12:19:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 12:19:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 12:19:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 12:19:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 12:19:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 12:19:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 12:19:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 12:19:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 12:19:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 12:19:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 12:19:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 12:19:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 12:19:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 12:19:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 12:19:12] Production.INFO: call_cost start
[2025-01-10 12:19:12] Production.INFO: call_cost end
[2025-01-10 12:19:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 12:19:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 12:19:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 12:19:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 12:19:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 12:19:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 12:19:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 12:19:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 12:19:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 12:19:13] Production.INFO: ==15744== Releasing lock...
[2025-01-10 12:19:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 12:19:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:19:23] Production.INFO: count ==3310
[2025-01-10 12:19:25] Production.ERROR: pbx CDR StartTime 2025-01-10 09:19:05 - End Time 2025-01-10 12:19:05
[2025-01-10 12:19:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 12:19:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216872', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:19:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216872', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:19:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216872', 'tblTempVendorCDR_20' ) start
[2025-01-10 12:19:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216872', 'tblTempVendorCDR_20' ) end
[2025-01-10 12:19:25] Production.INFO: ProcessCDR(1,14216872,1,1,2)
[2025-01-10 12:19:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216872,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:19:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216872,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:19:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216872,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:19:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216872,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:19:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216872', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:19:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216872', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:19:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:19:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:19:30] Production.INFO: ==15753== Releasing lock...
[2025-01-10 12:19:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 12:19:30] Production.INFO: 52.75 MB #Memory Used#
[2025-01-10 17:20:02] Production.INFO: ==15809== Lock acquired, processing the job...
[2025-01-10 17:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 17:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 17:20:02] Production.INFO: neon service started
[2025-01-10 17:20:02] Production.INFO: neon service started
[2025-01-10 17:20:02] Production.INFO: ==15809== Releasing lock...
[2025-01-10 17:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 17:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 12:20:02] Production.INFO: ==15811== Lock acquired, processing the job...
[2025-01-10 12:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:20:02] Production.INFO: ==15811== Releasing lock...
[2025-01-10 12:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 12:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 17:20:03] Production.INFO: ==15813== Lock acquired, processing the job...
[2025-01-10 17:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 17:20:03] Production.INFO: ==15813== Releasing lock...
[2025-01-10 17:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 17:20:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 12:20:04] Production.INFO: ==15817== Lock acquired, processing the job...
[2025-01-10 12:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 12:20:04] Production.INFO: ==15825== Lock acquired, processing the job...
[2025-01-10 12:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 12:20:04] Production.INFO: ==15829== Lock acquired, processing the job...
[2025-01-10 12:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 12:20:04] Production.INFO: ==15815== Lock acquired, processing the job...
[2025-01-10 12:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 12:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 12:20:04] Production.INFO: ==15819== Lock acquired, processing the job...
[2025-01-10 12:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 12:20:04] Production.INFO: ==15821== Lock acquired, processing the job...
[2025-01-10 12:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 12:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 12:20:04] Production.INFO: ==15823== Lock acquired, processing the job...
[2025-01-10 12:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 12:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 12:20:04] Production.ERROR: CronJob PID - 15817
[2025-01-10 12:20:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-10 12:20:04] Production.ERROR: CronJob ID - 5
[2025-01-10 12:20:04] Production.ERROR: CronJob Last Run Time 2025-01-10 12:20:00
[2025-01-10 12:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 12:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 12:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 12:20:04] Production.ERROR: CronJob PID - 15825
[2025-01-10 12:20:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-10 12:20:04] Production.ERROR: CronJob ID - 16
[2025-01-10 12:20:04] Production.ERROR: CronJob Last Run Time 2025-01-10 12:20:00
[2025-01-10 12:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 12:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 12:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 12:20:04] Production.ERROR: CronJob PID - 15829
[2025-01-10 12:20:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-10 12:20:04] Production.ERROR: CronJob ID - 19
[2025-01-10 12:20:04] Production.ERROR: CronJob Last Run Time 2025-01-10 12:20:00
[2025-01-10 12:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 12:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 12:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:20:04] Production.INFO: count ==21
[2025-01-10 12:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 12:20:04] Production.INFO: ==15815== Releasing lock...
[2025-01-10 12:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 12:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 12:20:04] Production.INFO: count ==21
[2025-01-10 12:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216873') start
[2025-01-10 12:20:04] Production.INFO: ==15827== Lock acquired, processing the job...
[2025-01-10 12:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 12:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:20:04] Production.INFO: Account Balance Start.
[2025-01-10 12:20:04] Production.INFO: CreateAllLog Start
[2025-01-10 12:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 12:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 12:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 12:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 12:20:04] Production.INFO: 117
[2025-01-10 12:20:04] Production.INFO: Date 2025-01-08
[2025-01-10 12:20:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216873') end
[2025-01-10 12:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 12:20:04] Production.INFO: 1
[2025-01-10 12:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 12:20:04] Production.INFO: Date 2025-01-09
[2025-01-10 12:20:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:20:04] Production.INFO: ==15829== Releasing lock...
[2025-01-10 12:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 12:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 12:20:04] Production.INFO: Date 2025-01-10
[2025-01-10 12:20:04] Production.INFO: ==15819== Releasing lock...
[2025-01-10 12:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 12:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 12:20:04] Production.ERROR: done
[2025-01-10 12:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 12:20:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:20:04] Production.INFO: Total Charge 0
[2025-01-10 12:20:04] Production.INFO: CreateAllLog End
[2025-01-10 12:20:04] Production.ERROR: done
[2025-01-10 12:20:04] Production.ERROR: done
[2025-01-10 12:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 12:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14216877', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 12:20:05] Production.INFO: Account Balance End.
[2025-01-10 12:20:05] Production.ERROR: CronJobId end 12
[2025-01-10 12:20:05] Production.INFO: ==15823== Releasing lock...
[2025-01-10 12:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 12:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 12:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 09:20:05
[end_date_ymd] => 2025-01-10 12:20:05
[RateCDR] => 1
)
[2025-01-10 12:20:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 09:20:05' and `end` < '2025-01-10 12:20:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 12:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14216877', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 12:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 12:20:09] Production.INFO: ProcessCDR(1,14216877,1,1,2)
[2025-01-10 12:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14216877,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14216877,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:20:09] Production.INFO: ==15827== Releasing lock...
[2025-01-10 12:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 12:20:09] Production.INFO: 26 MB #Memory Used#
[2025-01-10 12:20:13] Production.ERROR: CronJobId end10
[2025-01-10 12:20:13] Production.INFO: ==15821== Releasing lock...
[2025-01-10 12:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 12:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 12:20:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 12:20:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 12:20:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 12:20:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 12:20:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 12:20:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 12:20:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 12:20:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 12:20:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 12:20:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 12:20:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 12:20:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 12:20:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 12:20:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 12:20:15] Production.INFO: call_cost start
[2025-01-10 12:20:15] Production.INFO: call_cost end
[2025-01-10 12:20:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 12:20:16] Production.INFO: ============== Report Schedule START===========
[2025-01-10 12:20:16] Production.INFO: ============== Report Schedule END===========
[2025-01-10 12:20:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 12:20:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 12:20:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 12:20:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 12:20:16] Production.INFO: ============== Deal alert START===========
[2025-01-10 12:20:16] Production.INFO: ============== Deal alert END===========
[2025-01-10 12:20:16] Production.INFO: ==15817== Releasing lock...
[2025-01-10 12:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 12:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:20:25] Production.INFO: count ==3310
[2025-01-10 12:20:27] Production.ERROR: pbx CDR StartTime 2025-01-10 09:20:05 - End Time 2025-01-10 12:20:05
[2025-01-10 12:20:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 12:20:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216878', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:20:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216878', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:20:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216878', 'tblTempVendorCDR_20' ) start
[2025-01-10 12:20:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216878', 'tblTempVendorCDR_20' ) end
[2025-01-10 12:20:27] Production.INFO: ProcessCDR(1,14216878,1,1,2)
[2025-01-10 12:20:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216878,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:20:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216878,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:20:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216878,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:20:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216878,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:20:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216878', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:20:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216878', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:20:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:20:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:20:32] Production.INFO: ==15825== Releasing lock...
[2025-01-10 12:20:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 12:20:32] Production.INFO: 52.75 MB #Memory Used#
[2025-01-10 17:21:01] Production.INFO: ==15885== Lock acquired, processing the job...
[2025-01-10 17:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 17:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 17:21:01] Production.INFO: neon service started
[2025-01-10 17:21:01] Production.INFO: neon service started
[2025-01-10 17:21:01] Production.INFO: ==15885== Releasing lock...
[2025-01-10 17:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 17:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 12:21:02] Production.INFO: ==15887== Lock acquired, processing the job...
[2025-01-10 12:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:21:02] Production.INFO: ==15887== Releasing lock...
[2025-01-10 12:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 12:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 17:21:02] Production.INFO: ==15889== Lock acquired, processing the job...
[2025-01-10 17:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 17:21:02] Production.INFO: ==15889== Releasing lock...
[2025-01-10 17:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 17:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 12:21:03] Production.INFO: ==15900== Lock acquired, processing the job...
[2025-01-10 12:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 12:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:21:03] Production.ERROR: done
[2025-01-10 12:21:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 12:21:03] Production.INFO: ==15902== Lock acquired, processing the job...
[2025-01-10 12:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 12:21:03] Production.INFO: ==15892== Lock acquired, processing the job...
[2025-01-10 12:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 12:21:03] Production.INFO: ==15894== Lock acquired, processing the job...
[2025-01-10 12:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 12:21:03] Production.INFO: ==15896== Lock acquired, processing the job...
[2025-01-10 12:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 12:21:03] Production.ERROR: done
[2025-01-10 12:21:03] Production.INFO: ==15898== Lock acquired, processing the job...
[2025-01-10 12:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 12:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 12:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 12:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 12:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 12:21:03] Production.INFO: count ==21
[2025-01-10 12:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 12:21:03] Production.INFO: Account Balance Start.
[2025-01-10 12:21:03] Production.INFO: CreateAllLog Start
[2025-01-10 12:21:03] Production.INFO: 117
[2025-01-10 12:21:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:21:03] Production.INFO: count ==21
[2025-01-10 12:21:03] Production.INFO: Date 2025-01-08
[2025-01-10 12:21:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216879') start
[2025-01-10 12:21:03] Production.INFO: ==15894== Releasing lock...
[2025-01-10 12:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 12:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 12:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216879') end
[2025-01-10 12:21:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 12:21:03] Production.INFO: 1
[2025-01-10 12:21:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 12:21:03] Production.INFO: Date 2025-01-09
[2025-01-10 12:21:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:21:03] Production.INFO: ==15902== Releasing lock...
[2025-01-10 12:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 12:21:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 12:21:03] Production.INFO: Date 2025-01-10
[2025-01-10 12:21:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:21:03] Production.INFO: Total Charge 0
[2025-01-10 12:21:03] Production.INFO: CreateAllLog End
[2025-01-10 12:21:04] Production.INFO: Account Balance End.
[2025-01-10 12:21:04] Production.ERROR: CronJobId end 12
[2025-01-10 12:21:04] Production.INFO: ==15898== Releasing lock...
[2025-01-10 12:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 12:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 12:21:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 09:21:04
[end_date_ymd] => 2025-01-10 12:21:04
[RateCDR] => 1
)
[2025-01-10 12:21:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 09:21:04' and `end` < '2025-01-10 12:21:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 12:21:11] Production.ERROR: CronJobId end10
[2025-01-10 12:21:11] Production.INFO: ==15896== Releasing lock...
[2025-01-10 12:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 12:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 12:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 12:21:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 12:21:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 12:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 12:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 12:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 12:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 12:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 12:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 12:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 12:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 12:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 12:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 12:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 12:21:13] Production.INFO: call_cost start
[2025-01-10 12:21:13] Production.INFO: call_cost end
[2025-01-10 12:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 12:21:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 12:21:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 12:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 12:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 12:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 12:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 12:21:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 12:21:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 12:21:14] Production.INFO: ==15892== Releasing lock...
[2025-01-10 12:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 12:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:21:23] Production.INFO: count ==3386
[2025-01-10 12:21:25] Production.ERROR: pbx CDR StartTime 2025-01-10 09:21:04 - End Time 2025-01-10 12:21:04
[2025-01-10 12:21:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 12:21:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216880', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:21:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216880', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:21:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216880', 'tblTempVendorCDR_20' ) start
[2025-01-10 12:21:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216880', 'tblTempVendorCDR_20' ) end
[2025-01-10 12:21:25] Production.INFO: ProcessCDR(1,14216880,1,1,2)
[2025-01-10 12:21:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216880,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:21:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216880,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:21:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216880,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:21:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216880,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:21:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216880', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:21:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216880', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:21:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:21:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:21:30] Production.INFO: ==15900== Releasing lock...
[2025-01-10 12:21:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 12:21:30] Production.INFO: 53.25 MB #Memory Used#
[2025-01-10 17:22:02] Production.INFO: ==15956== Lock acquired, processing the job...
[2025-01-10 17:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 17:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 17:22:02] Production.INFO: neon service started
[2025-01-10 17:22:02] Production.INFO: neon service started
[2025-01-10 17:22:02] Production.INFO: ==15956== Releasing lock...
[2025-01-10 17:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 17:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 17:22:02] Production.INFO: ==15960== Lock acquired, processing the job...
[2025-01-10 17:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 17:22:02] Production.INFO: ==15960== Releasing lock...
[2025-01-10 17:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 17:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 12:22:02] Production.INFO: ==15958== Lock acquired, processing the job...
[2025-01-10 12:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:22:02] Production.INFO: ==15958== Releasing lock...
[2025-01-10 12:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 12:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 12:22:03] Production.INFO: ==15967== Lock acquired, processing the job...
[2025-01-10 12:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 12:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 12:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 12:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 12:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 12:22:03] Production.INFO: ==15973== Lock acquired, processing the job...
[2025-01-10 12:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 12:22:03] Production.INFO: ==15963== Lock acquired, processing the job...
[2025-01-10 12:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 12:22:03] Production.INFO: ==15965== Lock acquired, processing the job...
[2025-01-10 12:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 12:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 12:22:03] Production.INFO: ==15969== Lock acquired, processing the job...
[2025-01-10 12:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 12:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:22:03] Production.INFO: ==15971== Lock acquired, processing the job...
[2025-01-10 12:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 12:22:03] Production.INFO: count ==21
[2025-01-10 12:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:22:04] Production.INFO: count ==21
[2025-01-10 12:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216884') start
[2025-01-10 12:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:22:04] Production.INFO: Account Balance Start.
[2025-01-10 12:22:04] Production.INFO: CreateAllLog Start
[2025-01-10 12:22:04] Production.INFO: 117
[2025-01-10 12:22:04] Production.INFO: Date 2025-01-08
[2025-01-10 12:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216884') end
[2025-01-10 12:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 12:22:04] Production.INFO: 1
[2025-01-10 12:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 12:22:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:22:04] Production.INFO: Date 2025-01-09
[2025-01-10 12:22:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:22:04] Production.INFO: ==15965== Releasing lock...
[2025-01-10 12:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 12:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 12:22:04] Production.INFO: Date 2025-01-10
[2025-01-10 12:22:04] Production.INFO: ==15973== Releasing lock...
[2025-01-10 12:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 12:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 12:22:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:22:04] Production.INFO: Total Charge 0
[2025-01-10 12:22:04] Production.INFO: CreateAllLog End
[2025-01-10 12:22:04] Production.ERROR: done
[2025-01-10 12:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 12:22:04] Production.ERROR: done
[2025-01-10 12:22:04] Production.INFO: Account Balance End.
[2025-01-10 12:22:04] Production.ERROR: CronJobId end 12
[2025-01-10 12:22:04] Production.INFO: ==15969== Releasing lock...
[2025-01-10 12:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 12:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 12:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 09:22:05
[end_date_ymd] => 2025-01-10 12:22:05
[RateCDR] => 1
)
[2025-01-10 12:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 09:22:05' and `end` < '2025-01-10 12:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 12:22:11] Production.ERROR: CronJobId end10
[2025-01-10 12:22:11] Production.INFO: ==15967== Releasing lock...
[2025-01-10 12:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 12:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 12:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 12:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 12:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 12:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 12:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 12:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 12:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 12:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 12:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 12:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 12:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 12:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 12:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 12:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 12:22:13] Production.INFO: call_cost start
[2025-01-10 12:22:13] Production.INFO: call_cost end
[2025-01-10 12:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 12:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 12:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 12:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 12:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 12:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 12:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 12:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 12:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 12:22:14] Production.INFO: ==15963== Releasing lock...
[2025-01-10 12:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 12:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:22:29] Production.INFO: count ==3381
[2025-01-10 12:22:30] Production.ERROR: pbx CDR StartTime 2025-01-10 09:22:05 - End Time 2025-01-10 12:22:05
[2025-01-10 12:22:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 12:22:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216888', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:22:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216888', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:22:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216888', 'tblTempVendorCDR_20' ) start
[2025-01-10 12:22:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216888', 'tblTempVendorCDR_20' ) end
[2025-01-10 12:22:31] Production.INFO: ProcessCDR(1,14216888,1,1,2)
[2025-01-10 12:22:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216888,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:22:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216888,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:22:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216888,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:22:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216888,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:22:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216888', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:22:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216888', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:22:35] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:22:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:22:35] Production.INFO: ==15971== Releasing lock...
[2025-01-10 12:22:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 12:22:35] Production.INFO: 53.25 MB #Memory Used#
[2025-01-10 17:23:01] Production.INFO: ==16028== Lock acquired, processing the job...
[2025-01-10 17:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 17:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 17:23:01] Production.INFO: neon service started
[2025-01-10 17:23:01] Production.INFO: neon service started
[2025-01-10 17:23:01] Production.INFO: ==16028== Releasing lock...
[2025-01-10 17:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 17:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 12:23:01] Production.INFO: ==16030== Lock acquired, processing the job...
[2025-01-10 12:23:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:23:02] Production.INFO: ==16030== Releasing lock...
[2025-01-10 12:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 12:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 17:23:02] Production.INFO: ==16032== Lock acquired, processing the job...
[2025-01-10 17:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 17:23:02] Production.INFO: ==16032== Releasing lock...
[2025-01-10 17:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 17:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 12:23:02] Production.INFO: ==16038== Lock acquired, processing the job...
[2025-01-10 12:23:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 12:23:03] Production.INFO: ==16045== Lock acquired, processing the job...
[2025-01-10 12:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 12:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 12:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 12:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 12:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 12:23:03] Production.INFO: ==16034== Lock acquired, processing the job...
[2025-01-10 12:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 12:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:23:03] Production.INFO: ==16036== Lock acquired, processing the job...
[2025-01-10 12:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 12:23:03] Production.INFO: count ==21
[2025-01-10 12:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 12:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:23:03] Production.INFO: count ==21
[2025-01-10 12:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216889') start
[2025-01-10 12:23:03] Production.INFO: ==16043== Lock acquired, processing the job...
[2025-01-10 12:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 12:23:03] Production.INFO: ==16040== Lock acquired, processing the job...
[2025-01-10 12:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 12:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216889') end
[2025-01-10 12:23:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 12:23:03] Production.INFO: 1
[2025-01-10 12:23:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 12:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:23:03] Production.INFO: Account Balance Start.
[2025-01-10 12:23:03] Production.INFO: CreateAllLog Start
[2025-01-10 12:23:03] Production.INFO: 117
[2025-01-10 12:23:03] Production.INFO: Date 2025-01-08
[2025-01-10 12:23:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:23:03] Production.INFO: ==16045== Releasing lock...
[2025-01-10 12:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 12:23:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 12:23:03] Production.INFO: Date 2025-01-09
[2025-01-10 12:23:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:23:03] Production.INFO: ==16036== Releasing lock...
[2025-01-10 12:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 12:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 12:23:03] Production.INFO: Date 2025-01-10
[2025-01-10 12:23:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:23:03] Production.ERROR: done
[2025-01-10 12:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 12:23:03] Production.INFO: Total Charge 0
[2025-01-10 12:23:03] Production.INFO: CreateAllLog End
[2025-01-10 12:23:03] Production.ERROR: done
[2025-01-10 12:23:03] Production.INFO: Account Balance End.
[2025-01-10 12:23:03] Production.ERROR: CronJobId end 12
[2025-01-10 12:23:03] Production.INFO: ==16040== Releasing lock...
[2025-01-10 12:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 12:23:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 12:23:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 09:23:04
[end_date_ymd] => 2025-01-10 12:23:04
[RateCDR] => 1
)
[2025-01-10 12:23:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 09:23:04' and `end` < '2025-01-10 12:23:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 12:23:11] Production.ERROR: CronJobId end10
[2025-01-10 12:23:11] Production.INFO: ==16038== Releasing lock...
[2025-01-10 12:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 12:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 12:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 12:23:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 12:23:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 12:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 12:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 12:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 12:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 12:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 12:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 12:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 12:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 12:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 12:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 12:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 12:23:13] Production.INFO: call_cost start
[2025-01-10 12:23:13] Production.INFO: call_cost end
[2025-01-10 12:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 12:23:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 12:23:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 12:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 12:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 12:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 12:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 12:23:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 12:23:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 12:23:14] Production.INFO: ==16034== Releasing lock...
[2025-01-10 12:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 12:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:23:23] Production.INFO: count ==3390
[2025-01-10 12:23:25] Production.ERROR: pbx CDR StartTime 2025-01-10 09:23:04 - End Time 2025-01-10 12:23:04
[2025-01-10 12:23:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 12:23:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216893', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:23:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216893', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:23:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216893', 'tblTempVendorCDR_20' ) start
[2025-01-10 12:23:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216893', 'tblTempVendorCDR_20' ) end
[2025-01-10 12:23:25] Production.INFO: ProcessCDR(1,14216893,1,1,2)
[2025-01-10 12:23:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216893,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:23:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216893,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:23:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216893,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:23:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216893,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:23:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216893', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:23:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216893', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:23:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:23:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:23:29] Production.INFO: ==16043== Releasing lock...
[2025-01-10 12:23:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 12:23:29] Production.INFO: 53.25 MB #Memory Used#
[2025-01-10 17:24:01] Production.INFO: ==16101== Lock acquired, processing the job...
[2025-01-10 17:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 17:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 17:24:01] Production.INFO: neon service started
[2025-01-10 17:24:01] Production.INFO: neon service started
[2025-01-10 17:24:01] Production.INFO: ==16101== Releasing lock...
[2025-01-10 17:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 17:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 12:24:02] Production.INFO: ==16103== Lock acquired, processing the job...
[2025-01-10 12:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 17:24:02] Production.INFO: ==16105== Lock acquired, processing the job...
[2025-01-10 17:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 17:24:02] Production.INFO: ==16105== Releasing lock...
[2025-01-10 17:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 17:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 12:24:02] Production.INFO: ==16103== Releasing lock...
[2025-01-10 12:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 12:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 12:24:03] Production.INFO: ==16107== Lock acquired, processing the job...
[2025-01-10 12:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 12:24:03] Production.INFO: ==16116== Lock acquired, processing the job...
[2025-01-10 12:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 12:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 12:24:03] Production.INFO: ==16118== Lock acquired, processing the job...
[2025-01-10 12:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 12:24:03] Production.INFO: ==16109== Lock acquired, processing the job...
[2025-01-10 12:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 12:24:03] Production.INFO: ==16111== Lock acquired, processing the job...
[2025-01-10 12:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 12:24:03] Production.INFO: ==16113== Lock acquired, processing the job...
[2025-01-10 12:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 12:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:24:03] Production.INFO: count ==21
[2025-01-10 12:24:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 12:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 12:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 12:24:03] Production.INFO: count ==21
[2025-01-10 12:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 12:24:03] Production.ERROR: done
[2025-01-10 12:24:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 12:24:03] Production.INFO: Account Balance Start.
[2025-01-10 12:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216895') start
[2025-01-10 12:24:03] Production.INFO: CreateAllLog Start
[2025-01-10 12:24:03] Production.INFO: 117
[2025-01-10 12:24:03] Production.INFO: Date 2025-01-08
[2025-01-10 12:24:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:24:03] Production.INFO: ==16109== Releasing lock...
[2025-01-10 12:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 12:24:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 12:24:03] Production.ERROR: done
[2025-01-10 12:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216895') end
[2025-01-10 12:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 12:24:04] Production.INFO: 1
[2025-01-10 12:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 12:24:04] Production.INFO: ==16118== Releasing lock...
[2025-01-10 12:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 12:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 12:24:04] Production.INFO: Date 2025-01-09
[2025-01-10 12:24:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:24:04] Production.INFO: Date 2025-01-10
[2025-01-10 12:24:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:24:04] Production.INFO: Total Charge 0
[2025-01-10 12:24:04] Production.INFO: CreateAllLog End
[2025-01-10 12:24:04] Production.INFO: Account Balance End.
[2025-01-10 12:24:04] Production.ERROR: CronJobId end 12
[2025-01-10 12:24:04] Production.INFO: ==16113== Releasing lock...
[2025-01-10 12:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 12:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 12:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 09:24:05
[end_date_ymd] => 2025-01-10 12:24:05
[RateCDR] => 1
)
[2025-01-10 12:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 09:24:05' and `end` < '2025-01-10 12:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 12:24:11] Production.ERROR: CronJobId end10
[2025-01-10 12:24:11] Production.INFO: ==16111== Releasing lock...
[2025-01-10 12:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 12:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 12:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 12:24:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 12:24:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 12:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 12:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 12:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 12:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 12:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 12:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 12:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 12:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 12:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 12:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 12:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 12:24:13] Production.INFO: call_cost start
[2025-01-10 12:24:13] Production.INFO: call_cost end
[2025-01-10 12:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 12:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 12:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 12:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 12:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 12:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 12:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 12:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 12:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 12:24:14] Production.INFO: ==16107== Releasing lock...
[2025-01-10 12:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 12:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:24:35] Production.INFO: count ==3404
[2025-01-10 12:24:36] Production.ERROR: pbx CDR StartTime 2025-01-10 09:24:05 - End Time 2025-01-10 12:24:05
[2025-01-10 12:24:36] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 12:24:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216898', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:24:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216898', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:24:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216898', 'tblTempVendorCDR_20' ) start
[2025-01-10 12:24:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216898', 'tblTempVendorCDR_20' ) end
[2025-01-10 12:24:37] Production.INFO: ProcessCDR(1,14216898,1,1,2)
[2025-01-10 12:24:37] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216898,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:24:39] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216898,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:24:39] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216898,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:24:41] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216898,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:24:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216898', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:24:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216898', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:24:41] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:24:41] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:24:41] Production.INFO: ==16116== Releasing lock...
[2025-01-10 12:24:41] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 12:24:41] Production.INFO: 53.5 MB #Memory Used#
[2025-01-10 17:25:02] Production.INFO: ==16185== Lock acquired, processing the job...
[2025-01-10 17:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 17:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 17:25:02] Production.INFO: neon service started
[2025-01-10 17:25:02] Production.INFO: neon service started
[2025-01-10 17:25:02] Production.INFO: ==16185== Releasing lock...
[2025-01-10 17:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 17:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 12:25:02] Production.INFO: ==16187== Lock acquired, processing the job...
[2025-01-10 12:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:25:02] Production.INFO: ==16187== Releasing lock...
[2025-01-10 12:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 12:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 17:25:03] Production.INFO: ==16189== Lock acquired, processing the job...
[2025-01-10 17:25:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 17:25:03] Production.INFO: ==16189== Releasing lock...
[2025-01-10 17:25:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 17:25:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 12:25:03] Production.INFO: ==16200== Lock acquired, processing the job...
[2025-01-10 12:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 12:25:03] Production.INFO: ==16202== Lock acquired, processing the job...
[2025-01-10 12:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 12:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:25:03] Production.INFO: count ==21
[2025-01-10 12:25:04] Production.INFO: ==16192== Lock acquired, processing the job...
[2025-01-10 12:25:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 12:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:25:04] Production.INFO: count ==21
[2025-01-10 12:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216899') start
[2025-01-10 12:25:04] Production.INFO: ==16196== Lock acquired, processing the job...
[2025-01-10 12:25:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 12:25:04] Production.INFO: ==16194== Lock acquired, processing the job...
[2025-01-10 12:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 12:25:04] Production.INFO: ==16198== Lock acquired, processing the job...
[2025-01-10 12:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 12:25:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 12:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216899') end
[2025-01-10 12:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 12:25:04] Production.INFO: 1
[2025-01-10 12:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 12:25:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 12:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 12:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 12:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 12:25:04] Production.INFO: Account Balance Start.
[2025-01-10 12:25:04] Production.INFO: CreateAllLog Start
[2025-01-10 12:25:04] Production.INFO: 117
[2025-01-10 12:25:04] Production.ERROR: done
[2025-01-10 12:25:04] Production.INFO: Date 2025-01-08
[2025-01-10 12:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 12:25:04] Production.INFO: ==16202== Releasing lock...
[2025-01-10 12:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 12:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 12:25:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:25:04] Production.INFO: Date 2025-01-09
[2025-01-10 12:25:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:25:04] Production.ERROR: done
[2025-01-10 12:25:04] Production.INFO: ==16194== Releasing lock...
[2025-01-10 12:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 12:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 12:25:04] Production.INFO: Date 2025-01-10
[2025-01-10 12:25:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:25:04] Production.INFO: Total Charge 0
[2025-01-10 12:25:04] Production.INFO: CreateAllLog End
[2025-01-10 12:25:04] Production.INFO: Account Balance End.
[2025-01-10 12:25:04] Production.ERROR: CronJobId end 12
[2025-01-10 12:25:04] Production.INFO: ==16198== Releasing lock...
[2025-01-10 12:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 12:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 12:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 09:25:05
[end_date_ymd] => 2025-01-10 12:25:05
[RateCDR] => 1
)
[2025-01-10 12:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 09:25:05' and `end` < '2025-01-10 12:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 12:25:11] Production.ERROR: CronJobId end10
[2025-01-10 12:25:11] Production.INFO: ==16196== Releasing lock...
[2025-01-10 12:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 12:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 12:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 12:25:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 12:25:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 12:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 12:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 12:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 12:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 12:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 12:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 12:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 12:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 12:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 12:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 12:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 12:25:13] Production.INFO: call_cost start
[2025-01-10 12:25:13] Production.INFO: call_cost end
[2025-01-10 12:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 12:25:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 12:25:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 12:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 12:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 12:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 12:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 12:25:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 12:25:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 12:25:14] Production.INFO: ==16192== Releasing lock...
[2025-01-10 12:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 12:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:25:34] Production.INFO: count ==3413
[2025-01-10 12:25:36] Production.ERROR: pbx CDR StartTime 2025-01-10 09:25:05 - End Time 2025-01-10 12:25:05
[2025-01-10 12:25:36] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 12:25:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216903', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:25:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216903', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:25:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216903', 'tblTempVendorCDR_20' ) start
[2025-01-10 12:25:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216903', 'tblTempVendorCDR_20' ) end
[2025-01-10 12:25:36] Production.INFO: ProcessCDR(1,14216903,1,1,2)
[2025-01-10 12:25:36] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216903,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:25:39] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216903,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:25:39] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216903,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:25:41] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216903,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:25:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216903', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:25:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216903', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:25:41] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:25:41] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:25:41] Production.INFO: ==16200== Releasing lock...
[2025-01-10 12:25:41] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 12:25:41] Production.INFO: 53.5 MB #Memory Used#
[2025-01-10 17:26:01] Production.INFO: ==16285== Lock acquired, processing the job...
[2025-01-10 17:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 17:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 17:26:01] Production.INFO: neon service started
[2025-01-10 17:26:01] Production.INFO: neon service started
[2025-01-10 17:26:01] Production.INFO: ==16285== Releasing lock...
[2025-01-10 17:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 17:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 12:26:02] Production.INFO: ==16287== Lock acquired, processing the job...
[2025-01-10 12:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 17:26:02] Production.INFO: ==16289== Lock acquired, processing the job...
[2025-01-10 17:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 17:26:02] Production.INFO: ==16289== Releasing lock...
[2025-01-10 17:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 17:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 12:26:02] Production.INFO: ==16287== Releasing lock...
[2025-01-10 12:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 12:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 12:26:03] Production.INFO: ==16300== Lock acquired, processing the job...
[2025-01-10 12:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 12:26:03] Production.INFO: ==16302== Lock acquired, processing the job...
[2025-01-10 12:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 12:26:03] Production.INFO: Account Balance Start.
[2025-01-10 12:26:03] Production.INFO: CreateAllLog Start
[2025-01-10 12:26:03] Production.INFO: 117
[2025-01-10 12:26:03] Production.INFO: Date 2025-01-08
[2025-01-10 12:26:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:26:03] Production.INFO: Date 2025-01-09
[2025-01-10 12:26:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:26:03] Production.INFO: ==16294== Lock acquired, processing the job...
[2025-01-10 12:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 12:26:03] Production.INFO: Date 2025-01-10
[2025-01-10 12:26:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:26:03] Production.INFO: ==16296== Lock acquired, processing the job...
[2025-01-10 12:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 12:26:03] Production.INFO: ==16298== Lock acquired, processing the job...
[2025-01-10 12:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 12:26:03] Production.INFO: Total Charge 0
[2025-01-10 12:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 12:26:03] Production.INFO: ==16304== Lock acquired, processing the job...
[2025-01-10 12:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 12:26:03] Production.INFO: CreateAllLog End
[2025-01-10 12:26:03] Production.ERROR: done
[2025-01-10 12:26:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 12:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:26:03] Production.INFO: count ==21
[2025-01-10 12:26:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:26:03] Production.INFO: count ==21
[2025-01-10 12:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216906') start
[2025-01-10 12:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 12:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 12:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 12:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 12:26:03] Production.ERROR: done
[2025-01-10 12:26:03] Production.INFO: Account Balance End.
[2025-01-10 12:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216906') end
[2025-01-10 12:26:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 12:26:03] Production.INFO: 1
[2025-01-10 12:26:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 12:26:04] Production.INFO: ==16296== Releasing lock...
[2025-01-10 12:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 12:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 12:26:04] Production.ERROR: CronJobId end 12
[2025-01-10 12:26:04] Production.INFO: ==16300== Releasing lock...
[2025-01-10 12:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 12:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 12:26:04] Production.INFO: ==16304== Releasing lock...
[2025-01-10 12:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 12:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 12:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 09:26:05
[end_date_ymd] => 2025-01-10 12:26:05
[RateCDR] => 1
)
[2025-01-10 12:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 09:26:05' and `end` < '2025-01-10 12:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 12:26:11] Production.ERROR: CronJobId end10
[2025-01-10 12:26:11] Production.INFO: ==16298== Releasing lock...
[2025-01-10 12:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 12:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 12:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 12:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 12:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 12:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 12:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 12:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 12:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 12:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 12:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 12:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 12:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 12:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 12:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 12:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 12:26:13] Production.INFO: call_cost start
[2025-01-10 12:26:13] Production.INFO: call_cost end
[2025-01-10 12:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 12:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 12:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 12:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 12:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 12:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 12:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 12:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 12:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 12:26:14] Production.INFO: ==16294== Releasing lock...
[2025-01-10 12:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 12:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:26:24] Production.INFO: count ==3391
[2025-01-10 12:26:26] Production.ERROR: pbx CDR StartTime 2025-01-10 09:26:05 - End Time 2025-01-10 12:26:05
[2025-01-10 12:26:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 12:26:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216908', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:26:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216908', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:26:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216908', 'tblTempVendorCDR_20' ) start
[2025-01-10 12:26:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216908', 'tblTempVendorCDR_20' ) end
[2025-01-10 12:26:26] Production.INFO: ProcessCDR(1,14216908,1,1,2)
[2025-01-10 12:26:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216908,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:26:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216908,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:26:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216908,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:26:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216908,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:26:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216908', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:26:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216908', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:26:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:26:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:26:31] Production.INFO: ==16302== Releasing lock...
[2025-01-10 12:26:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 12:26:31] Production.INFO: 53.25 MB #Memory Used#
[2025-01-10 17:27:02] Production.INFO: ==16391== Lock acquired, processing the job...
[2025-01-10 17:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 17:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 17:27:02] Production.INFO: neon service started
[2025-01-10 17:27:02] Production.INFO: neon service started
[2025-01-10 17:27:02] Production.INFO: ==16391== Releasing lock...
[2025-01-10 17:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 17:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 17:27:02] Production.INFO: ==16395== Lock acquired, processing the job...
[2025-01-10 17:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 17:27:02] Production.INFO: ==16395== Releasing lock...
[2025-01-10 17:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 17:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 12:27:02] Production.INFO: ==16393== Lock acquired, processing the job...
[2025-01-10 12:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:27:02] Production.INFO: ==16393== Releasing lock...
[2025-01-10 12:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 12:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 12:27:03] Production.INFO: ==16401== Lock acquired, processing the job...
[2025-01-10 12:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 12:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 12:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 12:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 12:27:03] Production.INFO: ==16397== Lock acquired, processing the job...
[2025-01-10 12:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 12:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 12:27:03] Production.INFO: ==16408== Lock acquired, processing the job...
[2025-01-10 12:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 12:27:03] Production.INFO: ==16399== Lock acquired, processing the job...
[2025-01-10 12:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 12:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 12:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:27:03] Production.INFO: ==16404== Lock acquired, processing the job...
[2025-01-10 12:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 12:27:04] Production.INFO: count ==21
[2025-01-10 12:27:04] Production.INFO: ==16406== Lock acquired, processing the job...
[2025-01-10 12:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 12:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:27:04] Production.INFO: count ==21
[2025-01-10 12:27:04] Production.INFO: Account Balance Start.
[2025-01-10 12:27:04] Production.INFO: CreateAllLog Start
[2025-01-10 12:27:04] Production.INFO: 117
[2025-01-10 12:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216910') start
[2025-01-10 12:27:04] Production.INFO: Date 2025-01-08
[2025-01-10 12:27:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:27:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:27:04] Production.INFO: Date 2025-01-09
[2025-01-10 12:27:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216910') end
[2025-01-10 12:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 12:27:04] Production.INFO: 1
[2025-01-10 12:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 12:27:04] Production.INFO: Date 2025-01-10
[2025-01-10 12:27:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:27:04] Production.INFO: ==16408== Releasing lock...
[2025-01-10 12:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 12:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 12:27:04] Production.ERROR: done
[2025-01-10 12:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 12:27:04] Production.INFO: Total Charge 0
[2025-01-10 12:27:04] Production.INFO: ==16399== Releasing lock...
[2025-01-10 12:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 12:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 12:27:04] Production.INFO: CreateAllLog End
[2025-01-10 12:27:04] Production.ERROR: done
[2025-01-10 12:27:04] Production.INFO: Account Balance End.
[2025-01-10 12:27:04] Production.ERROR: CronJobId end 12
[2025-01-10 12:27:04] Production.INFO: ==16404== Releasing lock...
[2025-01-10 12:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 12:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 12:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 09:27:05
[end_date_ymd] => 2025-01-10 12:27:05
[RateCDR] => 1
)
[2025-01-10 12:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 09:27:05' and `end` < '2025-01-10 12:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 12:27:12] Production.ERROR: CronJobId end10
[2025-01-10 12:27:12] Production.INFO: ==16401== Releasing lock...
[2025-01-10 12:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 12:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 12:27:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 12:27:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 12:27:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 12:27:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 12:27:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 12:27:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 12:27:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 12:27:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 12:27:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 12:27:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 12:27:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 12:27:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 12:27:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 12:27:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 12:27:14] Production.INFO: call_cost start
[2025-01-10 12:27:14] Production.INFO: call_cost end
[2025-01-10 12:27:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 12:27:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 12:27:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 12:27:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 12:27:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 12:27:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 12:27:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 12:27:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 12:27:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 12:27:15] Production.INFO: ==16397== Releasing lock...
[2025-01-10 12:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 12:27:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:27:26] Production.INFO: count ==3381
[2025-01-10 12:27:27] Production.ERROR: pbx CDR StartTime 2025-01-10 09:27:05 - End Time 2025-01-10 12:27:05
[2025-01-10 12:27:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 12:27:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216913', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:27:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216913', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:27:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216913', 'tblTempVendorCDR_20' ) start
[2025-01-10 12:27:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216913', 'tblTempVendorCDR_20' ) end
[2025-01-10 12:27:28] Production.INFO: ProcessCDR(1,14216913,1,1,2)
[2025-01-10 12:27:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216913,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:27:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216913,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:27:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216913,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:27:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216913,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:27:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216913', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:27:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216913', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:27:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:27:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:27:32] Production.INFO: ==16406== Releasing lock...
[2025-01-10 12:27:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 12:27:32] Production.INFO: 54 MB #Memory Used#
[2025-01-10 17:28:01] Production.INFO: ==16493== Lock acquired, processing the job...
[2025-01-10 17:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 17:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 17:28:01] Production.INFO: neon service started
[2025-01-10 17:28:01] Production.INFO: neon service started
[2025-01-10 17:28:01] Production.INFO: ==16493== Releasing lock...
[2025-01-10 17:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 17:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 17:28:01] Production.INFO: ==16497== Lock acquired, processing the job...
[2025-01-10 17:28:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 17:28:01] Production.INFO: ==16497== Releasing lock...
[2025-01-10 17:28:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 17:28:01] Production.INFO: 25 MB #Memory Used#
[2025-01-10 12:28:02] Production.INFO: ==16495== Lock acquired, processing the job...
[2025-01-10 12:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:28:02] Production.INFO: ==16495== Releasing lock...
[2025-01-10 12:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 12:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 12:28:03] Production.INFO: ==16500== Lock acquired, processing the job...
[2025-01-10 12:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 12:28:03] Production.INFO: ==16506== Lock acquired, processing the job...
[2025-01-10 12:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 12:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 12:28:03] Production.INFO: ==16510== Lock acquired, processing the job...
[2025-01-10 12:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 12:28:03] Production.INFO: Account Balance Start.
[2025-01-10 12:28:03] Production.INFO: CreateAllLog Start
[2025-01-10 12:28:03] Production.INFO: 117
[2025-01-10 12:28:03] Production.INFO: Date 2025-01-08
[2025-01-10 12:28:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:28:03] Production.INFO: Date 2025-01-09
[2025-01-10 12:28:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:28:03] Production.INFO: count ==21
[2025-01-10 12:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:28:03] Production.INFO: count ==21
[2025-01-10 12:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216916') start
[2025-01-10 12:28:03] Production.INFO: Date 2025-01-10
[2025-01-10 12:28:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:28:03] Production.INFO: ==16502== Lock acquired, processing the job...
[2025-01-10 12:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 12:28:03] Production.INFO: Total Charge 0
[2025-01-10 12:28:03] Production.INFO: CreateAllLog End
[2025-01-10 12:28:03] Production.INFO: ==16504== Lock acquired, processing the job...
[2025-01-10 12:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 12:28:03] Production.INFO: ==16508== Lock acquired, processing the job...
[2025-01-10 12:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 12:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216916') end
[2025-01-10 12:28:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 12:28:03] Production.INFO: 1
[2025-01-10 12:28:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 12:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 12:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 12:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 12:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 12:28:03] Production.INFO: ==16510== Releasing lock...
[2025-01-10 12:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 12:28:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 12:28:03] Production.INFO: Account Balance End.
[2025-01-10 12:28:03] Production.ERROR: CronJobId end 12
[2025-01-10 12:28:03] Production.INFO: ==16506== Releasing lock...
[2025-01-10 12:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 12:28:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 12:28:04] Production.INFO: ==16502== Releasing lock...
[2025-01-10 12:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 12:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 12:28:04] Production.ERROR: done
[2025-01-10 12:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 12:28:04] Production.ERROR: done
[2025-01-10 12:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 09:28:05
[end_date_ymd] => 2025-01-10 12:28:05
[RateCDR] => 1
)
[2025-01-10 12:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 09:28:05' and `end` < '2025-01-10 12:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 12:28:12] Production.ERROR: CronJobId end10
[2025-01-10 12:28:12] Production.INFO: ==16504== Releasing lock...
[2025-01-10 12:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 12:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 12:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 12:28:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 12:28:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 12:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 12:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 12:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 12:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 12:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 12:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 12:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 12:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 12:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 12:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 12:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 12:28:13] Production.INFO: call_cost start
[2025-01-10 12:28:13] Production.INFO: call_cost end
[2025-01-10 12:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 12:28:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 12:28:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 12:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 12:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 12:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 12:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 12:28:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 12:28:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 12:28:14] Production.INFO: ==16500== Releasing lock...
[2025-01-10 12:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 12:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:28:37] Production.INFO: count ==3392
[2025-01-10 12:28:39] Production.ERROR: pbx CDR StartTime 2025-01-10 09:28:05 - End Time 2025-01-10 12:28:05
[2025-01-10 12:28:39] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 12:28:39] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216918', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:28:39] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216918', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:28:39] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216918', 'tblTempVendorCDR_20' ) start
[2025-01-10 12:28:39] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216918', 'tblTempVendorCDR_20' ) end
[2025-01-10 12:28:39] Production.INFO: ProcessCDR(1,14216918,1,1,2)
[2025-01-10 12:28:39] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216918,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:28:42] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216918,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:28:42] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216918,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:28:44] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216918,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:28:44] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216918', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:28:44] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216918', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:28:44] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:28:44] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:28:44] Production.INFO: ==16508== Releasing lock...
[2025-01-10 12:28:44] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 12:28:44] Production.INFO: 53.75 MB #Memory Used#
[2025-01-10 17:29:01] Production.INFO: ==16595== Lock acquired, processing the job...
[2025-01-10 17:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 17:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 17:29:02] Production.INFO: neon service started
[2025-01-10 17:29:02] Production.INFO: neon service started
[2025-01-10 17:29:02] Production.INFO: ==16595== Releasing lock...
[2025-01-10 17:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 17:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 12:29:02] Production.INFO: ==16597== Lock acquired, processing the job...
[2025-01-10 12:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:29:02] Production.INFO: ==16597== Releasing lock...
[2025-01-10 12:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 12:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 17:29:02] Production.INFO: ==16599== Lock acquired, processing the job...
[2025-01-10 17:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 17:29:02] Production.INFO: ==16599== Releasing lock...
[2025-01-10 17:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 17:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 12:29:03] Production.INFO: ==16605== Lock acquired, processing the job...
[2025-01-10 12:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 12:29:03] Production.INFO: ==16601== Lock acquired, processing the job...
[2025-01-10 12:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 12:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 12:29:03] Production.INFO: ==16603== Lock acquired, processing the job...
[2025-01-10 12:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 12:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 12:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 12:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 12:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 12:29:03] Production.INFO: ==16607== Lock acquired, processing the job...
[2025-01-10 12:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 12:29:03] Production.INFO: ==16609== Lock acquired, processing the job...
[2025-01-10 12:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 12:29:03] Production.INFO: ==16611== Lock acquired, processing the job...
[2025-01-10 12:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 12:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:29:03] Production.INFO: Account Balance Start.
[2025-01-10 12:29:03] Production.INFO: CreateAllLog Start
[2025-01-10 12:29:03] Production.INFO: 117
[2025-01-10 12:29:03] Production.INFO: Date 2025-01-08
[2025-01-10 12:29:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:29:03] Production.INFO: Date 2025-01-09
[2025-01-10 12:29:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:29:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:29:04] Production.INFO: Date 2025-01-10
[2025-01-10 12:29:04] Production.INFO: count ==21
[2025-01-10 12:29:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:29:04] Production.INFO: Total Charge 0
[2025-01-10 12:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:29:04] Production.INFO: count ==21
[2025-01-10 12:29:04] Production.INFO: CreateAllLog End
[2025-01-10 12:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216922') start
[2025-01-10 12:29:04] Production.ERROR: done
[2025-01-10 12:29:04] Production.INFO: ==16603== Releasing lock...
[2025-01-10 12:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 12:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 12:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 12:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216922') end
[2025-01-10 12:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 12:29:04] Production.INFO: 1
[2025-01-10 12:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 12:29:04] Production.ERROR: done
[2025-01-10 12:29:04] Production.INFO: ==16611== Releasing lock...
[2025-01-10 12:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 12:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 12:29:04] Production.INFO: Account Balance End.
[2025-01-10 12:29:04] Production.ERROR: CronJobId end 12
[2025-01-10 12:29:04] Production.INFO: ==16607== Releasing lock...
[2025-01-10 12:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 12:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 12:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 09:29:05
[end_date_ymd] => 2025-01-10 12:29:05
[RateCDR] => 1
)
[2025-01-10 12:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 09:29:05' and `end` < '2025-01-10 12:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 12:29:11] Production.ERROR: CronJobId end10
[2025-01-10 12:29:11] Production.INFO: ==16605== Releasing lock...
[2025-01-10 12:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 12:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 12:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 12:29:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 12:29:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 12:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 12:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 12:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 12:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 12:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 12:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 12:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 12:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 12:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 12:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 12:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 12:29:13] Production.INFO: call_cost start
[2025-01-10 12:29:13] Production.INFO: call_cost end
[2025-01-10 12:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 12:29:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 12:29:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 12:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 12:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 12:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 12:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 12:29:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 12:29:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 12:29:14] Production.INFO: ==16601== Releasing lock...
[2025-01-10 12:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 12:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:29:27] Production.INFO: count ==3392
[2025-01-10 12:29:29] Production.ERROR: pbx CDR StartTime 2025-01-10 09:29:05 - End Time 2025-01-10 12:29:05
[2025-01-10 12:29:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 12:29:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216923', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:29:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216923', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:29:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216923', 'tblTempVendorCDR_20' ) start
[2025-01-10 12:29:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216923', 'tblTempVendorCDR_20' ) end
[2025-01-10 12:29:29] Production.INFO: ProcessCDR(1,14216923,1,1,2)
[2025-01-10 12:29:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216923,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:29:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216923,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:29:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216923,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:29:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216923,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:29:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216923', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:29:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216923', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:29:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:29:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:29:33] Production.INFO: ==16609== Releasing lock...
[2025-01-10 12:29:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 12:29:33] Production.INFO: 53.25 MB #Memory Used#
[2025-01-10 17:30:01] Production.INFO: ==16736== Lock acquired, processing the job...
[2025-01-10 17:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 17:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 17:30:01] Production.INFO: neon service started
[2025-01-10 17:30:01] Production.INFO: neon service started
[2025-01-10 17:30:01] Production.INFO: ==16736== Releasing lock...
[2025-01-10 17:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 17:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 17:30:01] Production.INFO: ==16740== Lock acquired, processing the job...
[2025-01-10 17:30:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 17:30:01] Production.INFO: ==16740== Releasing lock...
[2025-01-10 17:30:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 17:30:01] Production.INFO: 25 MB #Memory Used#
[2025-01-10 12:30:02] Production.INFO: ==16738== Lock acquired, processing the job...
[2025-01-10 12:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:30:02] Production.INFO: ==16738== Releasing lock...
[2025-01-10 12:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 12:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 12:30:03] Production.INFO: ==16747== Lock acquired, processing the job...
[2025-01-10 12:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 12:30:03] Production.INFO: ==16745== Lock acquired, processing the job...
[2025-01-10 12:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 12:30:03] Production.INFO: ==16743== Lock acquired, processing the job...
[2025-01-10 12:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 12:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 12:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 12:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 12:30:03] Production.ERROR: CronJob PID - 16745
[2025-01-10 12:30:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-10 12:30:03] Production.ERROR: CronJob ID - 5
[2025-01-10 12:30:03] Production.ERROR: CronJob Last Run Time 2025-01-10 12:30:00
[2025-01-10 12:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 12:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 12:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 12:30:03] Production.ERROR: CronJob PID - 16747
[2025-01-10 12:30:03] Production.ERROR: CronJob Title - Account Block
[2025-01-10 12:30:03] Production.ERROR: CronJob ID - 7
[2025-01-10 12:30:03] Production.ERROR: CronJob Last Run Time 2025-01-10 12:30:00
[2025-01-10 12:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 12:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 12:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 12:30:03] Production.INFO: ==16743== Releasing lock...
[2025-01-10 12:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 12:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 12:30:03] Production.INFO: ==16755== Lock acquired, processing the job...
[2025-01-10 12:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 12:30:03] Production.INFO: ==16749== Lock acquired, processing the job...
[2025-01-10 12:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 12:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:30:03] Production.INFO: ==16747== Releasing lock...
[2025-01-10 12:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 12:30:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 12:30:03] Production.INFO: ==16751== Lock acquired, processing the job...
[2025-01-10 12:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 12:30:03] Production.INFO: ==16753== Lock acquired, processing the job...
[2025-01-10 12:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 12:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 12:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 12:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 12:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 12:30:03] Production.INFO: ==16757== Lock acquired, processing the job...
[2025-01-10 12:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 12:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:30:03] Production.INFO: Account Balance Start.
[2025-01-10 12:30:03] Production.INFO: CreateAllLog Start
[2025-01-10 12:30:03] Production.INFO: 117
[2025-01-10 12:30:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:30:03] Production.INFO: Date 2025-01-08
[2025-01-10 12:30:03] Production.ERROR: done
[2025-01-10 12:30:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:30:04] Production.INFO: count ==21
[2025-01-10 12:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:30:04] Production.INFO: count ==21
[2025-01-10 12:30:04] Production.INFO: Date 2025-01-09
[2025-01-10 12:30:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216927') start
[2025-01-10 12:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 12:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14216928', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 12:30:04] Production.INFO: Date 2025-01-10
[2025-01-10 12:30:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:30:04] Production.INFO: Total Charge 0
[2025-01-10 12:30:04] Production.INFO: CreateAllLog End
[2025-01-10 12:30:04] Production.ERROR: done
[2025-01-10 12:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 12:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216927') end
[2025-01-10 12:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 12:30:04] Production.INFO: 1
[2025-01-10 12:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 12:30:04] Production.INFO: ==16757== Releasing lock...
[2025-01-10 12:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 12:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 12:30:04] Production.ERROR: done
[2025-01-10 12:30:04] Production.INFO: Account Balance End.
[2025-01-10 12:30:04] Production.ERROR: CronJobId end 12
[2025-01-10 12:30:04] Production.INFO: ==16751== Releasing lock...
[2025-01-10 12:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 12:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 12:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 09:30:05
[end_date_ymd] => 2025-01-10 12:30:05
[RateCDR] => 1
)
[2025-01-10 12:30:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 09:30:05' and `end` < '2025-01-10 12:30:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 12:30:07] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14216928', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 12:30:07] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 12:30:07] Production.INFO: ProcessCDR(1,14216928,1,1,2)
[2025-01-10 12:30:07] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14216928,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:30:07] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14216928,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:30:07] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:30:07] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:30:07] Production.INFO: ==16755== Releasing lock...
[2025-01-10 12:30:07] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 12:30:07] Production.INFO: 26 MB #Memory Used#
[2025-01-10 12:30:13] Production.ERROR: CronJobId end10
[2025-01-10 12:30:13] Production.INFO: ==16749== Releasing lock...
[2025-01-10 12:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 12:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 12:30:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 12:30:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 12:30:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 12:30:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 12:30:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 12:30:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 12:30:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 12:30:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 12:30:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 12:30:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 12:30:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 12:30:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 12:30:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 12:30:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 12:30:14] Production.INFO: call_cost start
[2025-01-10 12:30:14] Production.INFO: call_cost end
[2025-01-10 12:30:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 12:30:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 12:30:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 12:30:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 12:30:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 12:30:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 12:30:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 12:30:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 12:30:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 12:30:15] Production.INFO: ==16745== Releasing lock...
[2025-01-10 12:30:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 12:30:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:30:32] Production.INFO: count ==3415
[2025-01-10 12:30:34] Production.ERROR: pbx CDR StartTime 2025-01-10 09:30:05 - End Time 2025-01-10 12:30:05
[2025-01-10 12:30:34] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 12:30:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216929', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:30:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216929', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:30:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216929', 'tblTempVendorCDR_20' ) start
[2025-01-10 12:30:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216929', 'tblTempVendorCDR_20' ) end
[2025-01-10 12:30:34] Production.INFO: ProcessCDR(1,14216929,1,1,2)
[2025-01-10 12:30:34] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216929,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:30:37] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216929,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:30:37] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216929,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:30:39] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216929,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:30:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216929', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:30:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216929', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:30:39] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:30:39] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:30:39] Production.INFO: ==16753== Releasing lock...
[2025-01-10 12:30:39] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 12:30:39] Production.INFO: 53.5 MB #Memory Used#
[2025-01-10 17:31:01] Production.INFO: ==16843== Lock acquired, processing the job...
[2025-01-10 17:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 17:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 17:31:01] Production.INFO: neon service started
[2025-01-10 17:31:01] Production.INFO: neon service started
[2025-01-10 17:31:01] Production.INFO: ==16843== Releasing lock...
[2025-01-10 17:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 17:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 17:31:02] Production.INFO: ==16847== Lock acquired, processing the job...
[2025-01-10 17:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 17:31:02] Production.INFO: ==16847== Releasing lock...
[2025-01-10 17:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 17:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 12:31:02] Production.INFO: ==16845== Lock acquired, processing the job...
[2025-01-10 12:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:31:02] Production.INFO: ==16845== Releasing lock...
[2025-01-10 12:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 12:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 12:31:03] Production.INFO: ==16853== Lock acquired, processing the job...
[2025-01-10 12:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 12:31:03] Production.INFO: ==16857== Lock acquired, processing the job...
[2025-01-10 12:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 12:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:31:03] Production.INFO: ==16849== Lock acquired, processing the job...
[2025-01-10 12:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 12:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 12:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 12:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 12:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 12:31:03] Production.INFO: ==16851== Lock acquired, processing the job...
[2025-01-10 12:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 12:31:03] Production.INFO: ==16855== Lock acquired, processing the job...
[2025-01-10 12:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 12:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 12:31:03] Production.INFO: ==16859== Lock acquired, processing the job...
[2025-01-10 12:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 12:31:04] Production.ERROR: done
[2025-01-10 12:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 12:31:04] Production.INFO: Account Balance Start.
[2025-01-10 12:31:04] Production.INFO: CreateAllLog Start
[2025-01-10 12:31:04] Production.INFO: 117
[2025-01-10 12:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:31:04] Production.INFO: Date 2025-01-08
[2025-01-10 12:31:04] Production.ERROR: done
[2025-01-10 12:31:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:31:04] Production.INFO: count ==21
[2025-01-10 12:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:31:04] Production.INFO: count ==21
[2025-01-10 12:31:04] Production.INFO: Date 2025-01-09
[2025-01-10 12:31:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:31:04] Production.INFO: ==16851== Releasing lock...
[2025-01-10 12:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 12:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 12:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216933') start
[2025-01-10 12:31:04] Production.INFO: Date 2025-01-10
[2025-01-10 12:31:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:31:04] Production.INFO: Total Charge 0
[2025-01-10 12:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216933') end
[2025-01-10 12:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 12:31:04] Production.INFO: 1
[2025-01-10 12:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 12:31:04] Production.INFO: CreateAllLog End
[2025-01-10 12:31:04] Production.INFO: ==16859== Releasing lock...
[2025-01-10 12:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 12:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 12:31:04] Production.INFO: Account Balance End.
[2025-01-10 12:31:04] Production.ERROR: CronJobId end 12
[2025-01-10 12:31:04] Production.INFO: ==16855== Releasing lock...
[2025-01-10 12:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 12:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 12:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 09:31:05
[end_date_ymd] => 2025-01-10 12:31:05
[RateCDR] => 1
)
[2025-01-10 12:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 09:31:05' and `end` < '2025-01-10 12:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 12:31:12] Production.ERROR: CronJobId end10
[2025-01-10 12:31:12] Production.INFO: ==16853== Releasing lock...
[2025-01-10 12:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 12:31:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 12:31:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 12:31:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 12:31:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 12:31:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 12:31:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 12:31:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 12:31:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 12:31:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 12:31:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 12:31:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 12:31:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 12:31:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 12:31:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 12:31:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 12:31:15] Production.INFO: call_cost start
[2025-01-10 12:31:15] Production.INFO: call_cost end
[2025-01-10 12:31:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 12:31:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 12:31:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 12:31:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 12:31:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 12:31:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 12:31:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 12:31:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 12:31:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 12:31:15] Production.INFO: ==16849== Releasing lock...
[2025-01-10 12:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 12:31:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:31:27] Production.INFO: count ==3516
[2025-01-10 12:31:29] Production.ERROR: pbx CDR StartTime 2025-01-10 09:31:05 - End Time 2025-01-10 12:31:05
[2025-01-10 12:31:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 12:31:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216934', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:31:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216934', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:31:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216934', 'tblTempVendorCDR_20' ) start
[2025-01-10 12:31:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216934', 'tblTempVendorCDR_20' ) end
[2025-01-10 12:31:29] Production.INFO: ProcessCDR(1,14216934,1,1,2)
[2025-01-10 12:31:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216934,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:31:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216934,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:31:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216934,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:31:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216934,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:31:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216934', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:31:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216934', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:31:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:31:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:31:34] Production.INFO: ==16857== Releasing lock...
[2025-01-10 12:31:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 12:31:34] Production.INFO: 54.25 MB #Memory Used#
[2025-01-10 17:32:02] Production.INFO: ==16946== Lock acquired, processing the job...
[2025-01-10 17:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 17:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 17:32:02] Production.INFO: neon service started
[2025-01-10 17:32:02] Production.INFO: neon service started
[2025-01-10 17:32:02] Production.INFO: ==16946== Releasing lock...
[2025-01-10 17:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 17:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 12:32:02] Production.INFO: ==16950== Lock acquired, processing the job...
[2025-01-10 12:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 17:32:02] Production.INFO: ==16953== Lock acquired, processing the job...
[2025-01-10 17:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 17:32:02] Production.INFO: ==16953== Releasing lock...
[2025-01-10 17:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 17:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 12:32:03] Production.INFO: ==16950== Releasing lock...
[2025-01-10 12:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 12:32:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 12:32:03] Production.INFO: ==16955== Lock acquired, processing the job...
[2025-01-10 12:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 12:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 12:32:03] Production.INFO: ==16965== Lock acquired, processing the job...
[2025-01-10 12:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 12:32:03] Production.INFO: ==16959== Lock acquired, processing the job...
[2025-01-10 12:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 12:32:04] Production.INFO: ==16957== Lock acquired, processing the job...
[2025-01-10 12:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 12:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:32:04] Production.INFO: count ==21
[2025-01-10 12:32:04] Production.INFO: ==16961== Lock acquired, processing the job...
[2025-01-10 12:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 12:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:32:04] Production.INFO: count ==21
[2025-01-10 12:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 12:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 12:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 12:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 12:32:04] Production.INFO: ==16963== Lock acquired, processing the job...
[2025-01-10 12:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 12:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216936') start
[2025-01-10 12:32:04] Production.INFO: Account Balance Start.
[2025-01-10 12:32:04] Production.INFO: CreateAllLog Start
[2025-01-10 12:32:04] Production.INFO: 117
[2025-01-10 12:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:32:04] Production.INFO: Date 2025-01-08
[2025-01-10 12:32:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216936') end
[2025-01-10 12:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 12:32:04] Production.INFO: 1
[2025-01-10 12:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 12:32:04] Production.INFO: Date 2025-01-09
[2025-01-10 12:32:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:32:04] Production.INFO: ==16965== Releasing lock...
[2025-01-10 12:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 12:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 12:32:04] Production.INFO: Date 2025-01-10
[2025-01-10 12:32:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:32:04] Production.INFO: Total Charge 0
[2025-01-10 12:32:04] Production.INFO: CreateAllLog End
[2025-01-10 12:32:04] Production.ERROR: done
[2025-01-10 12:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 12:32:04] Production.INFO: ==16957== Releasing lock...
[2025-01-10 12:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 12:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 12:32:04] Production.ERROR: done
[2025-01-10 12:32:04] Production.INFO: Account Balance End.
[2025-01-10 12:32:04] Production.ERROR: CronJobId end 12
[2025-01-10 12:32:04] Production.INFO: ==16961== Releasing lock...
[2025-01-10 12:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 12:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 12:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 09:32:05
[end_date_ymd] => 2025-01-10 12:32:05
[RateCDR] => 1
)
[2025-01-10 12:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 09:32:05' and `end` < '2025-01-10 12:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 12:32:12] Production.ERROR: CronJobId end10
[2025-01-10 12:32:12] Production.INFO: ==16959== Releasing lock...
[2025-01-10 12:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 12:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 12:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 12:32:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 12:32:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 12:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 12:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 12:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 12:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 12:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 12:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 12:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 12:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 12:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 12:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 12:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 12:32:13] Production.INFO: call_cost start
[2025-01-10 12:32:13] Production.INFO: call_cost end
[2025-01-10 12:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 12:32:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 12:32:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 12:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 12:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 12:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 12:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 12:32:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 12:32:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 12:32:14] Production.INFO: ==16955== Releasing lock...
[2025-01-10 12:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 12:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:32:29] Production.INFO: count ==3500
[2025-01-10 12:32:30] Production.ERROR: pbx CDR StartTime 2025-01-10 09:32:05 - End Time 2025-01-10 12:32:05
[2025-01-10 12:32:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 12:32:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216939', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:32:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216939', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:32:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216939', 'tblTempVendorCDR_20' ) start
[2025-01-10 12:32:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216939', 'tblTempVendorCDR_20' ) end
[2025-01-10 12:32:31] Production.INFO: ProcessCDR(1,14216939,1,1,2)
[2025-01-10 12:32:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216939,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:32:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216939,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:32:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216939,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:32:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216939,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:32:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216939', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:32:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216939', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:32:36] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:32:36] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:32:36] Production.INFO: ==16963== Releasing lock...
[2025-01-10 12:32:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 12:32:36] Production.INFO: 54.25 MB #Memory Used#
[2025-01-10 17:33:01] Production.INFO: ==17050== Lock acquired, processing the job...
[2025-01-10 17:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 17:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 17:33:01] Production.INFO: neon service started
[2025-01-10 17:33:01] Production.INFO: neon service started
[2025-01-10 17:33:01] Production.INFO: ==17050== Releasing lock...
[2025-01-10 17:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 17:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 12:33:02] Production.INFO: ==17052== Lock acquired, processing the job...
[2025-01-10 12:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:33:02] Production.INFO: ==17052== Releasing lock...
[2025-01-10 12:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 12:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 17:33:02] Production.INFO: ==17054== Lock acquired, processing the job...
[2025-01-10 17:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 17:33:02] Production.INFO: ==17054== Releasing lock...
[2025-01-10 17:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 17:33:02] Production.INFO: 26 MB #Memory Used#
[2025-01-10 12:33:03] Production.INFO: ==17056== Lock acquired, processing the job...
[2025-01-10 12:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 12:33:03] Production.INFO: ==17064== Lock acquired, processing the job...
[2025-01-10 12:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 12:33:03] Production.INFO: ==17058== Lock acquired, processing the job...
[2025-01-10 12:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 12:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:33:03] Production.INFO: ==17060== Lock acquired, processing the job...
[2025-01-10 12:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 12:33:03] Production.INFO: ==17066== Lock acquired, processing the job...
[2025-01-10 12:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 12:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 12:33:03] Production.INFO: ==17062== Lock acquired, processing the job...
[2025-01-10 12:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 12:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 12:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 12:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 12:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 12:33:03] Production.INFO: Account Balance Start.
[2025-01-10 12:33:03] Production.INFO: CreateAllLog Start
[2025-01-10 12:33:03] Production.INFO: 117
[2025-01-10 12:33:03] Production.INFO: Date 2025-01-08
[2025-01-10 12:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:33:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:33:03] Production.INFO: count ==21
[2025-01-10 12:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:33:03] Production.INFO: count ==21
[2025-01-10 12:33:03] Production.INFO: Date 2025-01-09
[2025-01-10 12:33:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216943') start
[2025-01-10 12:33:03] Production.INFO: ==17058== Releasing lock...
[2025-01-10 12:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 12:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 12:33:03] Production.INFO: Date 2025-01-10
[2025-01-10 12:33:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:33:03] Production.ERROR: done
[2025-01-10 12:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216943') end
[2025-01-10 12:33:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 12:33:03] Production.INFO: 1
[2025-01-10 12:33:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 12:33:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 12:33:03] Production.INFO: Total Charge 0
[2025-01-10 12:33:04] Production.INFO: CreateAllLog End
[2025-01-10 12:33:04] Production.INFO: ==17066== Releasing lock...
[2025-01-10 12:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 12:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 12:33:04] Production.ERROR: done
[2025-01-10 12:33:04] Production.INFO: Account Balance End.
[2025-01-10 12:33:04] Production.ERROR: CronJobId end 12
[2025-01-10 12:33:04] Production.INFO: ==17062== Releasing lock...
[2025-01-10 12:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 12:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 12:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 09:33:05
[end_date_ymd] => 2025-01-10 12:33:05
[RateCDR] => 1
)
[2025-01-10 12:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 09:33:05' and `end` < '2025-01-10 12:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 12:33:12] Production.ERROR: CronJobId end10
[2025-01-10 12:33:12] Production.INFO: ==17060== Releasing lock...
[2025-01-10 12:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 12:33:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 12:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 12:33:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 12:33:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 12:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 12:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 12:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 12:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 12:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 12:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 12:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 12:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 12:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 12:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 12:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 12:33:14] Production.INFO: call_cost start
[2025-01-10 12:33:14] Production.INFO: call_cost end
[2025-01-10 12:33:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 12:33:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 12:33:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 12:33:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 12:33:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 12:33:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 12:33:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 12:33:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 12:33:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 12:33:14] Production.INFO: ==17056== Releasing lock...
[2025-01-10 12:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 12:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:33:37] Production.INFO: count ==3507
[2025-01-10 12:33:38] Production.ERROR: pbx CDR StartTime 2025-01-10 09:33:05 - End Time 2025-01-10 12:33:05
[2025-01-10 12:33:38] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 12:33:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216944', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:33:39] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216944', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:33:39] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216944', 'tblTempVendorCDR_20' ) start
[2025-01-10 12:33:39] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216944', 'tblTempVendorCDR_20' ) end
[2025-01-10 12:33:39] Production.INFO: ProcessCDR(1,14216944,1,1,2)
[2025-01-10 12:33:39] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216944,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:33:41] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216944,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:33:41] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216944,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:33:43] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216944,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:33:43] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216944', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:33:43] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216944', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:33:43] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:33:44] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:33:44] Production.INFO: ==17064== Releasing lock...
[2025-01-10 12:33:44] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 12:33:44] Production.INFO: 55 MB #Memory Used#
[2025-01-10 17:34:02] Production.INFO: ==17153== Lock acquired, processing the job...
[2025-01-10 17:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 17:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 17:34:02] Production.INFO: neon service started
[2025-01-10 17:34:02] Production.INFO: neon service started
[2025-01-10 17:34:02] Production.INFO: ==17153== Releasing lock...
[2025-01-10 17:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 17:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 17:34:02] Production.INFO: ==17157== Lock acquired, processing the job...
[2025-01-10 17:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 17:34:02] Production.INFO: ==17157== Releasing lock...
[2025-01-10 17:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 17:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 12:34:02] Production.INFO: ==17155== Lock acquired, processing the job...
[2025-01-10 12:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:34:02] Production.INFO: ==17155== Releasing lock...
[2025-01-10 12:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 12:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 12:34:03] Production.INFO: ==17164== Lock acquired, processing the job...
[2025-01-10 12:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 12:34:03] Production.INFO: ==17166== Lock acquired, processing the job...
[2025-01-10 12:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 12:34:03] Production.INFO: Account Balance Start.
[2025-01-10 12:34:03] Production.INFO: CreateAllLog Start
[2025-01-10 12:34:03] Production.INFO: 117
[2025-01-10 12:34:03] Production.INFO: Date 2025-01-08
[2025-01-10 12:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 12:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 12:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 12:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 12:34:03] Production.INFO: ==17160== Lock acquired, processing the job...
[2025-01-10 12:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 12:34:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:34:04] Production.INFO: Date 2025-01-09
[2025-01-10 12:34:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:34:04] Production.INFO: ==17162== Lock acquired, processing the job...
[2025-01-10 12:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 12:34:04] Production.INFO: Date 2025-01-10
[2025-01-10 12:34:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:34:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 12:34:04] Production.INFO: Total Charge 0
[2025-01-10 12:34:04] Production.INFO: ==17168== Lock acquired, processing the job...
[2025-01-10 12:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 12:34:04] Production.INFO: CreateAllLog End
[2025-01-10 12:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:34:04] Production.INFO: ==17170== Lock acquired, processing the job...
[2025-01-10 12:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 12:34:04] Production.INFO: Account Balance End.
[2025-01-10 12:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:34:04] Production.INFO: count ==21
[2025-01-10 12:34:04] Production.ERROR: CronJobId end 12
[2025-01-10 12:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:34:04] Production.INFO: ==17166== Releasing lock...
[2025-01-10 12:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 12:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 12:34:04] Production.INFO: count ==21
[2025-01-10 12:34:04] Production.INFO: ==17162== Releasing lock...
[2025-01-10 12:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 12:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 12:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216948') start
[2025-01-10 12:34:04] Production.ERROR: done
[2025-01-10 12:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 12:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216948') end
[2025-01-10 12:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 12:34:04] Production.INFO: 1
[2025-01-10 12:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 12:34:04] Production.INFO: ==17170== Releasing lock...
[2025-01-10 12:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 12:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 12:34:04] Production.ERROR: done
[2025-01-10 12:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 09:34:05
[end_date_ymd] => 2025-01-10 12:34:05
[RateCDR] => 1
)
[2025-01-10 12:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 09:34:05' and `end` < '2025-01-10 12:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 12:34:12] Production.ERROR: CronJobId end10
[2025-01-10 12:34:12] Production.INFO: ==17164== Releasing lock...
[2025-01-10 12:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 12:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 12:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 12:34:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 12:34:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 12:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 12:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 12:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 12:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 12:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 12:34:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 12:34:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 12:34:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 12:34:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 12:34:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 12:34:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 12:34:13] Production.INFO: call_cost start
[2025-01-10 12:34:13] Production.INFO: call_cost end
[2025-01-10 12:34:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 12:34:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 12:34:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 12:34:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 12:34:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 12:34:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 12:34:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 12:34:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 12:34:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 12:34:14] Production.INFO: ==17160== Releasing lock...
[2025-01-10 12:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 12:34:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:34:25] Production.INFO: count ==3498
[2025-01-10 12:34:27] Production.ERROR: pbx CDR StartTime 2025-01-10 09:34:05 - End Time 2025-01-10 12:34:05
[2025-01-10 12:34:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 12:34:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216949', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:34:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216949', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:34:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216949', 'tblTempVendorCDR_20' ) start
[2025-01-10 12:34:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216949', 'tblTempVendorCDR_20' ) end
[2025-01-10 12:34:27] Production.INFO: ProcessCDR(1,14216949,1,1,2)
[2025-01-10 12:34:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216949,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:34:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216949,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:34:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216949,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:34:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216949,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:34:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216949', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:34:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216949', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:34:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:34:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:34:32] Production.INFO: ==17168== Releasing lock...
[2025-01-10 12:34:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 12:34:32] Production.INFO: 55.25 MB #Memory Used#
[2025-01-10 17:35:01] Production.INFO: ==17257== Lock acquired, processing the job...
[2025-01-10 17:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 17:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 17:35:01] Production.INFO: neon service started
[2025-01-10 17:35:01] Production.INFO: neon service started
[2025-01-10 17:35:01] Production.INFO: ==17257== Releasing lock...
[2025-01-10 17:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 17:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 12:35:01] Production.INFO: ==17259== Lock acquired, processing the job...
[2025-01-10 12:35:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 17:35:02] Production.INFO: ==17261== Lock acquired, processing the job...
[2025-01-10 17:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 17:35:02] Production.INFO: ==17261== Releasing lock...
[2025-01-10 17:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 17:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 12:35:02] Production.INFO: ==17259== Releasing lock...
[2025-01-10 12:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 12:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 12:35:03] Production.INFO: ==17267== Lock acquired, processing the job...
[2025-01-10 12:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 12:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 12:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 12:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 12:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 12:35:03] Production.INFO: ==17274== Lock acquired, processing the job...
[2025-01-10 12:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 12:35:03] Production.INFO: ==17263== Lock acquired, processing the job...
[2025-01-10 12:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 12:35:03] Production.INFO: ==17265== Lock acquired, processing the job...
[2025-01-10 12:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 12:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:35:03] Production.INFO: ==17270== Lock acquired, processing the job...
[2025-01-10 12:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 12:35:03] Production.INFO: ==17272== Lock acquired, processing the job...
[2025-01-10 12:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 12:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 12:35:03] Production.INFO: count ==21
[2025-01-10 12:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:35:03] Production.INFO: count ==21
[2025-01-10 12:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216950') start
[2025-01-10 12:35:03] Production.INFO: Account Balance Start.
[2025-01-10 12:35:03] Production.INFO: CreateAllLog Start
[2025-01-10 12:35:03] Production.INFO: 117
[2025-01-10 12:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:35:03] Production.INFO: Date 2025-01-08
[2025-01-10 12:35:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:35:03] Production.INFO: Date 2025-01-09
[2025-01-10 12:35:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:35:03] Production.INFO: Date 2025-01-10
[2025-01-10 12:35:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:35:03] Production.INFO: Total Charge 0
[2025-01-10 12:35:03] Production.INFO: CreateAllLog End
[2025-01-10 12:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216950') end
[2025-01-10 12:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 12:35:03] Production.INFO: 1
[2025-01-10 12:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 12:35:03] Production.INFO: ==17265== Releasing lock...
[2025-01-10 12:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 12:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 12:35:03] Production.INFO: ==17274== Releasing lock...
[2025-01-10 12:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 12:35:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 12:35:03] Production.ERROR: done
[2025-01-10 12:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 12:35:04] Production.INFO: Account Balance End.
[2025-01-10 12:35:04] Production.ERROR: CronJobId end 12
[2025-01-10 12:35:04] Production.INFO: ==17270== Releasing lock...
[2025-01-10 12:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 12:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 12:35:04] Production.ERROR: done
[2025-01-10 12:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 09:35:05
[end_date_ymd] => 2025-01-10 12:35:05
[RateCDR] => 1
)
[2025-01-10 12:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 09:35:05' and `end` < '2025-01-10 12:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 12:35:11] Production.ERROR: CronJobId end10
[2025-01-10 12:35:11] Production.INFO: ==17267== Releasing lock...
[2025-01-10 12:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 12:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 12:35:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 12:35:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 12:35:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 12:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 12:35:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 12:35:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 12:35:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 12:35:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 12:35:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 12:35:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 12:35:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 12:35:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 12:35:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 12:35:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 12:35:13] Production.INFO: call_cost start
[2025-01-10 12:35:13] Production.INFO: call_cost end
[2025-01-10 12:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 12:35:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 12:35:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 12:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 12:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 12:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 12:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 12:35:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 12:35:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 12:35:14] Production.INFO: ==17263== Releasing lock...
[2025-01-10 12:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 12:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:35:19] Production.INFO: count ==3513
[2025-01-10 12:35:20] Production.ERROR: pbx CDR StartTime 2025-01-10 09:35:05 - End Time 2025-01-10 12:35:05
[2025-01-10 12:35:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 12:35:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216954', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:35:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216954', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:35:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216954', 'tblTempVendorCDR_20' ) start
[2025-01-10 12:35:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216954', 'tblTempVendorCDR_20' ) end
[2025-01-10 12:35:21] Production.INFO: ProcessCDR(1,14216954,1,1,2)
[2025-01-10 12:35:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216954,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:35:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216954,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:35:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216954,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:35:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216954,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:35:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216954', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:35:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216954', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:35:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:35:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:35:25] Production.INFO: ==17272== Releasing lock...
[2025-01-10 12:35:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 12:35:25] Production.INFO: 54.75 MB #Memory Used#
[2025-01-10 17:36:02] Production.INFO: ==17362== Lock acquired, processing the job...
[2025-01-10 17:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 17:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 17:36:02] Production.INFO: neon service started
[2025-01-10 17:36:02] Production.INFO: neon service started
[2025-01-10 17:36:02] Production.INFO: ==17362== Releasing lock...
[2025-01-10 17:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 17:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 12:36:02] Production.INFO: ==17364== Lock acquired, processing the job...
[2025-01-10 12:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 17:36:02] Production.INFO: ==17366== Lock acquired, processing the job...
[2025-01-10 17:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 17:36:02] Production.INFO: ==17366== Releasing lock...
[2025-01-10 17:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 17:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 12:36:03] Production.INFO: ==17364== Releasing lock...
[2025-01-10 12:36:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 12:36:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 12:36:03] Production.INFO: ==17371== Lock acquired, processing the job...
[2025-01-10 12:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 12:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 12:36:03] Production.INFO: ==17375== Lock acquired, processing the job...
[2025-01-10 12:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 12:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 12:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 12:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 12:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 12:36:04] Production.INFO: ==17377== Lock acquired, processing the job...
[2025-01-10 12:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 12:36:04] Production.INFO: ==17381== Lock acquired, processing the job...
[2025-01-10 12:36:04] Production.INFO: ==17379== Lock acquired, processing the job...
[2025-01-10 12:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 12:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 12:36:04] Production.INFO: ==17373== Lock acquired, processing the job...
[2025-01-10 12:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 12:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:36:04] Production.INFO: Account Balance Start.
[2025-01-10 12:36:04] Production.INFO: CreateAllLog Start
[2025-01-10 12:36:04] Production.INFO: 117
[2025-01-10 12:36:04] Production.INFO: Date 2025-01-08
[2025-01-10 12:36:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:36:04] Production.INFO: count ==21
[2025-01-10 12:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:36:04] Production.INFO: count ==21
[2025-01-10 12:36:04] Production.INFO: Date 2025-01-09
[2025-01-10 12:36:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216958') start
[2025-01-10 12:36:04] Production.INFO: Date 2025-01-10
[2025-01-10 12:36:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:36:04] Production.INFO: Total Charge 0
[2025-01-10 12:36:04] Production.ERROR: done
[2025-01-10 12:36:04] Production.INFO: CreateAllLog End
[2025-01-10 12:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 12:36:04] Production.INFO: ==17373== Releasing lock...
[2025-01-10 12:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 12:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 12:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216958') end
[2025-01-10 12:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 12:36:04] Production.INFO: 1
[2025-01-10 12:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 12:36:04] Production.INFO: ==17381== Releasing lock...
[2025-01-10 12:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 12:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 12:36:04] Production.ERROR: done
[2025-01-10 12:36:05] Production.INFO: Account Balance End.
[2025-01-10 12:36:05] Production.ERROR: CronJobId end 12
[2025-01-10 12:36:05] Production.INFO: ==17377== Releasing lock...
[2025-01-10 12:36:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 12:36:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 12:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 09:36:05
[end_date_ymd] => 2025-01-10 12:36:05
[RateCDR] => 1
)
[2025-01-10 12:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 09:36:05' and `end` < '2025-01-10 12:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 12:36:12] Production.ERROR: CronJobId end10
[2025-01-10 12:36:12] Production.INFO: ==17375== Releasing lock...
[2025-01-10 12:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 12:36:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 12:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 12:36:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 12:36:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 12:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 12:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 12:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 12:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 12:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 12:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 12:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 12:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 12:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 12:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 12:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 12:36:14] Production.INFO: call_cost start
[2025-01-10 12:36:14] Production.INFO: call_cost end
[2025-01-10 12:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 12:36:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 12:36:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 12:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 12:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 12:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 12:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 12:36:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 12:36:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 12:36:14] Production.INFO: ==17371== Releasing lock...
[2025-01-10 12:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 12:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:36:20] Production.INFO: count ==3521
[2025-01-10 12:36:22] Production.ERROR: pbx CDR StartTime 2025-01-10 09:36:05 - End Time 2025-01-10 12:36:05
[2025-01-10 12:36:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 12:36:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216959', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:36:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216959', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:36:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216959', 'tblTempVendorCDR_20' ) start
[2025-01-10 12:36:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216959', 'tblTempVendorCDR_20' ) end
[2025-01-10 12:36:22] Production.INFO: ProcessCDR(1,14216959,1,1,2)
[2025-01-10 12:36:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216959,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:36:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216959,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:36:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216959,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:36:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216959,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:36:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216959', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:36:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216959', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:36:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:36:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:36:27] Production.INFO: ==17379== Releasing lock...
[2025-01-10 12:36:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 12:36:27] Production.INFO: 54.25 MB #Memory Used#
[2025-01-10 17:37:01] Production.INFO: ==17471== Lock acquired, processing the job...
[2025-01-10 17:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 17:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 17:37:01] Production.INFO: neon service started
[2025-01-10 17:37:01] Production.INFO: neon service started
[2025-01-10 17:37:01] Production.INFO: ==17471== Releasing lock...
[2025-01-10 17:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 17:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 12:37:01] Production.INFO: ==17473== Lock acquired, processing the job...
[2025-01-10 12:37:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:37:02] Production.INFO: ==17473== Releasing lock...
[2025-01-10 12:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 12:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 17:37:02] Production.INFO: ==17475== Lock acquired, processing the job...
[2025-01-10 17:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 17:37:02] Production.INFO: ==17475== Releasing lock...
[2025-01-10 17:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 17:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 12:37:03] Production.INFO: ==17480== Lock acquired, processing the job...
[2025-01-10 12:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 12:37:03] Production.INFO: ==17488== Lock acquired, processing the job...
[2025-01-10 12:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 12:37:03] Production.INFO: ==17478== Lock acquired, processing the job...
[2025-01-10 12:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 12:37:03] Production.INFO: ==17480== Releasing lock...
[2025-01-10 12:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 12:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 12:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:37:03] Production.INFO: ==17482== Lock acquired, processing the job...
[2025-01-10 12:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 12:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 12:37:03] Production.INFO: count ==21
[2025-01-10 12:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:37:03] Production.INFO: count ==21
[2025-01-10 12:37:03] Production.INFO: ==17484== Lock acquired, processing the job...
[2025-01-10 12:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 12:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216961') start
[2025-01-10 12:37:03] Production.INFO: ==17486== Lock acquired, processing the job...
[2025-01-10 12:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 12:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 12:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 12:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 12:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 12:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216961') end
[2025-01-10 12:37:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 12:37:03] Production.INFO: 1
[2025-01-10 12:37:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 12:37:03] Production.INFO: Account Balance Start.
[2025-01-10 12:37:03] Production.INFO: CreateAllLog Start
[2025-01-10 12:37:03] Production.INFO: 117
[2025-01-10 12:37:03] Production.INFO: Date 2025-01-08
[2025-01-10 12:37:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:37:03] Production.INFO: Date 2025-01-09
[2025-01-10 12:37:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:37:03] Production.INFO: Date 2025-01-10
[2025-01-10 12:37:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:37:03] Production.INFO: ==17488== Releasing lock...
[2025-01-10 12:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 12:37:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 12:37:03] Production.INFO: Total Charge 0
[2025-01-10 12:37:03] Production.INFO: CreateAllLog End
[2025-01-10 12:37:03] Production.ERROR: done
[2025-01-10 12:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 12:37:03] Production.INFO: Account Balance End.
[2025-01-10 12:37:03] Production.ERROR: CronJobId end 12
[2025-01-10 12:37:03] Production.INFO: ==17484== Releasing lock...
[2025-01-10 12:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 12:37:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 12:37:04] Production.ERROR: done
[2025-01-10 12:37:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 09:37:04
[end_date_ymd] => 2025-01-10 12:37:04
[RateCDR] => 1
)
[2025-01-10 12:37:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 09:37:04' and `end` < '2025-01-10 12:37:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 12:37:12] Production.ERROR: CronJobId end10
[2025-01-10 12:37:12] Production.INFO: ==17482== Releasing lock...
[2025-01-10 12:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 12:37:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 12:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 12:37:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 12:37:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 12:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 12:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 12:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 12:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 12:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 12:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 12:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 12:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 12:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 12:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 12:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 12:37:13] Production.INFO: call_cost start
[2025-01-10 12:37:13] Production.INFO: call_cost end
[2025-01-10 12:37:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 12:37:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 12:37:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 12:37:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 12:37:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 12:37:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 12:37:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 12:37:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 12:37:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 12:37:14] Production.INFO: ==17478== Releasing lock...
[2025-01-10 12:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 12:37:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:37:19] Production.INFO: count ==3522
[2025-01-10 12:37:21] Production.ERROR: pbx CDR StartTime 2025-01-10 09:37:04 - End Time 2025-01-10 12:37:04
[2025-01-10 12:37:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 12:37:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216964', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:37:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216964', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:37:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216964', 'tblTempVendorCDR_20' ) start
[2025-01-10 12:37:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216964', 'tblTempVendorCDR_20' ) end
[2025-01-10 12:37:21] Production.INFO: ProcessCDR(1,14216964,1,1,2)
[2025-01-10 12:37:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216964,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:37:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216964,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:37:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216964,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:37:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216964,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:37:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216964', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:37:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216964', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:37:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:37:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:37:25] Production.INFO: ==17486== Releasing lock...
[2025-01-10 12:37:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 12:37:25] Production.INFO: 55.25 MB #Memory Used#
[2025-01-10 17:38:01] Production.INFO: ==17573== Lock acquired, processing the job...
[2025-01-10 17:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 17:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 17:38:02] Production.INFO: neon service started
[2025-01-10 17:38:02] Production.INFO: neon service started
[2025-01-10 17:38:02] Production.INFO: ==17573== Releasing lock...
[2025-01-10 17:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 17:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 17:38:02] Production.INFO: ==17577== Lock acquired, processing the job...
[2025-01-10 17:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 17:38:02] Production.INFO: ==17577== Releasing lock...
[2025-01-10 17:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 17:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 12:38:02] Production.INFO: ==17575== Lock acquired, processing the job...
[2025-01-10 12:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:38:02] Production.INFO: ==17575== Releasing lock...
[2025-01-10 12:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 12:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 12:38:03] Production.INFO: ==17588== Lock acquired, processing the job...
[2025-01-10 12:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 12:38:03] Production.INFO: ==17582== Lock acquired, processing the job...
[2025-01-10 12:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 12:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:38:03] Production.INFO: ==17580== Lock acquired, processing the job...
[2025-01-10 12:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 12:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 12:38:03] Production.INFO: ==17584== Lock acquired, processing the job...
[2025-01-10 12:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 12:38:03] Production.INFO: ==17586== Lock acquired, processing the job...
[2025-01-10 12:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 12:38:03] Production.INFO: ==17582== Releasing lock...
[2025-01-10 12:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 12:38:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 12:38:03] Production.INFO: ==17590== Lock acquired, processing the job...
[2025-01-10 12:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 12:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 12:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 12:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 12:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 12:38:03] Production.INFO: Account Balance Start.
[2025-01-10 12:38:03] Production.INFO: CreateAllLog Start
[2025-01-10 12:38:03] Production.INFO: 117
[2025-01-10 12:38:04] Production.ERROR: done
[2025-01-10 12:38:04] Production.INFO: Date 2025-01-08
[2025-01-10 12:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 12:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:38:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:38:04] Production.INFO: Date 2025-01-09
[2025-01-10 12:38:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:38:04] Production.INFO: Date 2025-01-10
[2025-01-10 12:38:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:38:04] Production.INFO: Total Charge 0
[2025-01-10 12:38:04] Production.INFO: CreateAllLog End
[2025-01-10 12:38:04] Production.INFO: count ==21
[2025-01-10 12:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:38:04] Production.INFO: count ==21
[2025-01-10 12:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216967') start
[2025-01-10 12:38:04] Production.ERROR: done
[2025-01-10 12:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216967') end
[2025-01-10 12:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 12:38:04] Production.INFO: 1
[2025-01-10 12:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 12:38:04] Production.INFO: Account Balance End.
[2025-01-10 12:38:04] Production.ERROR: CronJobId end 12
[2025-01-10 12:38:04] Production.INFO: ==17586== Releasing lock...
[2025-01-10 12:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 12:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 12:38:04] Production.INFO: ==17590== Releasing lock...
[2025-01-10 12:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 12:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 12:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 09:38:05
[end_date_ymd] => 2025-01-10 12:38:05
[RateCDR] => 1
)
[2025-01-10 12:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 09:38:05' and `end` < '2025-01-10 12:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 12:38:11] Production.ERROR: CronJobId end10
[2025-01-10 12:38:11] Production.INFO: ==17584== Releasing lock...
[2025-01-10 12:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 12:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 12:38:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 12:38:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 12:38:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 12:38:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 12:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 12:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 12:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 12:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 12:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 12:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 12:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 12:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 12:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 12:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 12:38:14] Production.INFO: call_cost start
[2025-01-10 12:38:14] Production.INFO: call_cost end
[2025-01-10 12:38:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 12:38:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 12:38:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 12:38:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 12:38:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 12:38:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 12:38:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 12:38:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 12:38:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 12:38:15] Production.INFO: ==17580== Releasing lock...
[2025-01-10 12:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 12:38:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:38:22] Production.INFO: count ==3533
[2025-01-10 12:38:24] Production.ERROR: pbx CDR StartTime 2025-01-10 09:38:05 - End Time 2025-01-10 12:38:05
[2025-01-10 12:38:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 12:38:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216969', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:38:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216969', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:38:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216969', 'tblTempVendorCDR_20' ) start
[2025-01-10 12:38:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216969', 'tblTempVendorCDR_20' ) end
[2025-01-10 12:38:24] Production.INFO: ProcessCDR(1,14216969,1,1,2)
[2025-01-10 12:38:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216969,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:38:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216969,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:38:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216969,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:38:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216969,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:38:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216969', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:38:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216969', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:38:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:38:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:38:28] Production.INFO: ==17588== Releasing lock...
[2025-01-10 12:38:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 12:38:28] Production.INFO: 54.5 MB #Memory Used#
[2025-01-10 17:39:01] Production.INFO: ==17674== Lock acquired, processing the job...
[2025-01-10 17:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 17:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 17:39:01] Production.INFO: neon service started
[2025-01-10 17:39:01] Production.INFO: neon service started
[2025-01-10 17:39:01] Production.INFO: ==17674== Releasing lock...
[2025-01-10 17:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 17:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 12:39:02] Production.INFO: ==17678== Lock acquired, processing the job...
[2025-01-10 12:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 17:39:02] Production.INFO: ==17680== Lock acquired, processing the job...
[2025-01-10 17:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 17:39:02] Production.INFO: ==17680== Releasing lock...
[2025-01-10 17:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 17:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 12:39:02] Production.INFO: ==17678== Releasing lock...
[2025-01-10 12:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 12:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 12:39:03] Production.INFO: ==17683== Lock acquired, processing the job...
[2025-01-10 12:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 12:39:03] Production.INFO: ==17685== Lock acquired, processing the job...
[2025-01-10 12:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 12:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 12:39:03] Production.INFO: ==17691== Lock acquired, processing the job...
[2025-01-10 12:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 12:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:39:03] Production.INFO: ==17687== Lock acquired, processing the job...
[2025-01-10 12:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 12:39:03] Production.INFO: ==17689== Lock acquired, processing the job...
[2025-01-10 12:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 12:39:03] Production.INFO: ==17693== Lock acquired, processing the job...
[2025-01-10 12:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 12:39:03] Production.INFO: ==17685== Releasing lock...
[2025-01-10 12:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 12:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 12:39:03] Production.INFO: Account Balance Start.
[2025-01-10 12:39:03] Production.INFO: CreateAllLog Start
[2025-01-10 12:39:03] Production.INFO: 117
[2025-01-10 12:39:03] Production.INFO: Date 2025-01-08
[2025-01-10 12:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 12:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 12:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 12:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 12:39:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:39:03] Production.ERROR: done
[2025-01-10 12:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:39:03] Production.INFO: Date 2025-01-09
[2025-01-10 12:39:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:39:03] Production.INFO: count ==21
[2025-01-10 12:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 12:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:39:03] Production.INFO: count ==21
[2025-01-10 12:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216973') start
[2025-01-10 12:39:03] Production.INFO: Date 2025-01-10
[2025-01-10 12:39:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:39:03] Production.INFO: Total Charge 0
[2025-01-10 12:39:03] Production.INFO: CreateAllLog End
[2025-01-10 12:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216973') end
[2025-01-10 12:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 12:39:03] Production.INFO: 1
[2025-01-10 12:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 12:39:03] Production.ERROR: done
[2025-01-10 12:39:03] Production.INFO: ==17693== Releasing lock...
[2025-01-10 12:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 12:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 12:39:03] Production.INFO: Account Balance End.
[2025-01-10 12:39:03] Production.ERROR: CronJobId end 12
[2025-01-10 12:39:03] Production.INFO: ==17689== Releasing lock...
[2025-01-10 12:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 12:39:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 12:39:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 09:39:04
[end_date_ymd] => 2025-01-10 12:39:04
[RateCDR] => 1
)
[2025-01-10 12:39:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 09:39:04' and `end` < '2025-01-10 12:39:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 12:39:11] Production.ERROR: CronJobId end10
[2025-01-10 12:39:11] Production.INFO: ==17687== Releasing lock...
[2025-01-10 12:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 12:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 12:39:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 12:39:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 12:39:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 12:39:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 12:39:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 12:39:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 12:39:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 12:39:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 12:39:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 12:39:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 12:39:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 12:39:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 12:39:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 12:39:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 12:39:12] Production.INFO: call_cost start
[2025-01-10 12:39:12] Production.INFO: call_cost end
[2025-01-10 12:39:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 12:39:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 12:39:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 12:39:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 12:39:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 12:39:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 12:39:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 12:39:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 12:39:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 12:39:13] Production.INFO: ==17683== Releasing lock...
[2025-01-10 12:39:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 12:39:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:39:19] Production.INFO: count ==3536
[2025-01-10 12:39:21] Production.ERROR: pbx CDR StartTime 2025-01-10 09:39:04 - End Time 2025-01-10 12:39:04
[2025-01-10 12:39:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 12:39:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216974', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:39:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216974', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:39:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216974', 'tblTempVendorCDR_20' ) start
[2025-01-10 12:39:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216974', 'tblTempVendorCDR_20' ) end
[2025-01-10 12:39:21] Production.INFO: ProcessCDR(1,14216974,1,1,2)
[2025-01-10 12:39:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216974,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:39:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216974,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:39:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216974,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:39:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216974,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:39:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216974', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:39:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216974', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:39:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:39:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:39:26] Production.INFO: ==17691== Releasing lock...
[2025-01-10 12:39:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 12:39:26] Production.INFO: 54.5 MB #Memory Used#
[2025-01-10 17:40:01] Production.INFO: ==17779== Lock acquired, processing the job...
[2025-01-10 17:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 17:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 17:40:01] Production.INFO: neon service started
[2025-01-10 17:40:01] Production.INFO: neon service started
[2025-01-10 17:40:01] Production.INFO: ==17779== Releasing lock...
[2025-01-10 17:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 17:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 12:40:02] Production.INFO: ==17781== Lock acquired, processing the job...
[2025-01-10 12:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 17:40:02] Production.INFO: ==17783== Lock acquired, processing the job...
[2025-01-10 17:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 17:40:02] Production.INFO: ==17783== Releasing lock...
[2025-01-10 17:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 17:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 12:40:02] Production.INFO: ==17781== Releasing lock...
[2025-01-10 12:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 12:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 12:40:03] Production.INFO: ==17785== Lock acquired, processing the job...
[2025-01-10 12:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 12:40:03] Production.INFO: ==17789== Lock acquired, processing the job...
[2025-01-10 12:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 12:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 12:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 12:40:03] Production.ERROR: CronJob PID - 17789
[2025-01-10 12:40:03] Production.ERROR: CronJob Title - Account Block
[2025-01-10 12:40:03] Production.ERROR: CronJob ID - 7
[2025-01-10 12:40:03] Production.ERROR: CronJob Last Run Time 2025-01-10 12:40:00
[2025-01-10 12:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 12:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 12:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 12:40:03] Production.INFO: ==17785== Releasing lock...
[2025-01-10 12:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 12:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 12:40:03] Production.INFO: ==17795== Lock acquired, processing the job...
[2025-01-10 12:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 12:40:03] Production.INFO: ==17787== Lock acquired, processing the job...
[2025-01-10 12:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 12:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 12:40:03] Production.INFO: ==17791== Lock acquired, processing the job...
[2025-01-10 12:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 12:40:03] Production.INFO: ==17793== Lock acquired, processing the job...
[2025-01-10 12:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 12:40:03] Production.INFO: ==17797== Lock acquired, processing the job...
[2025-01-10 12:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 12:40:03] Production.INFO: ==17800== Lock acquired, processing the job...
[2025-01-10 12:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 12:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:40:03] Production.INFO: ==17789== Releasing lock...
[2025-01-10 12:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 12:40:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 12:40:04] Production.INFO: Account Balance Start.
[2025-01-10 12:40:04] Production.INFO: CreateAllLog Start
[2025-01-10 12:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 12:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 12:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 12:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 12:40:04] Production.INFO: 117
[2025-01-10 12:40:04] Production.INFO: Date 2025-01-08
[2025-01-10 12:40:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:40:04] Production.ERROR: done
[2025-01-10 12:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 12:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:40:04] Production.INFO: Date 2025-01-09
[2025-01-10 12:40:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:40:04] Production.INFO: Date 2025-01-10
[2025-01-10 12:40:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:40:04] Production.INFO: count ==21
[2025-01-10 12:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:40:04] Production.INFO: count ==21
[2025-01-10 12:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216978') start
[2025-01-10 12:40:04] Production.INFO: Total Charge 0
[2025-01-10 12:40:04] Production.ERROR: done
[2025-01-10 12:40:04] Production.ERROR: done
[2025-01-10 12:40:04] Production.INFO: CreateAllLog End
[2025-01-10 12:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216978') end
[2025-01-10 12:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 12:40:04] Production.INFO: 1
[2025-01-10 12:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 12:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 12:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14216979', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 12:40:04] Production.INFO: ==17800== Releasing lock...
[2025-01-10 12:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 12:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 12:40:04] Production.INFO: Account Balance End.
[2025-01-10 12:40:04] Production.ERROR: CronJobId end 12
[2025-01-10 12:40:04] Production.INFO: ==17793== Releasing lock...
[2025-01-10 12:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 12:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 12:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 09:40:05
[end_date_ymd] => 2025-01-10 12:40:05
[RateCDR] => 1
)
[2025-01-10 12:40:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 09:40:05' and `end` < '2025-01-10 12:40:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 12:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14216979', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 12:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 12:40:08] Production.INFO: ProcessCDR(1,14216979,1,1,2)
[2025-01-10 12:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14216979,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14216979,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:40:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:40:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:40:08] Production.INFO: ==17797== Releasing lock...
[2025-01-10 12:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 12:40:08] Production.INFO: 26 MB #Memory Used#
[2025-01-10 12:40:13] Production.ERROR: CronJobId end10
[2025-01-10 12:40:13] Production.INFO: ==17791== Releasing lock...
[2025-01-10 12:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 12:40:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 12:40:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 12:40:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 12:40:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 12:40:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 12:40:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 12:40:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 12:40:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 12:40:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 12:40:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 12:40:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 12:40:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 12:40:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 12:40:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 12:40:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 12:40:15] Production.INFO: call_cost start
[2025-01-10 12:40:15] Production.INFO: call_cost end
[2025-01-10 12:40:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 12:40:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 12:40:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 12:40:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 12:40:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 12:40:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 12:40:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 12:40:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 12:40:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 12:40:15] Production.INFO: ==17787== Releasing lock...
[2025-01-10 12:40:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 12:40:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:40:28] Production.INFO: count ==3546
[2025-01-10 12:40:29] Production.ERROR: pbx CDR StartTime 2025-01-10 09:40:05 - End Time 2025-01-10 12:40:05
[2025-01-10 12:40:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 12:40:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216980', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:40:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216980', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:40:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216980', 'tblTempVendorCDR_20' ) start
[2025-01-10 12:40:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216980', 'tblTempVendorCDR_20' ) end
[2025-01-10 12:40:30] Production.INFO: ProcessCDR(1,14216980,1,1,2)
[2025-01-10 12:40:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216980,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:40:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216980,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:40:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216980,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:40:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216980,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:40:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216980', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:40:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216980', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:40:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:40:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:40:34] Production.INFO: ==17795== Releasing lock...
[2025-01-10 12:40:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 12:40:34] Production.INFO: 54.5 MB #Memory Used#
[2025-01-10 17:41:02] Production.INFO: ==17887== Lock acquired, processing the job...
[2025-01-10 17:41:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 17:41:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 17:41:02] Production.INFO: neon service started
[2025-01-10 17:41:02] Production.INFO: neon service started
[2025-01-10 17:41:02] Production.INFO: ==17887== Releasing lock...
[2025-01-10 17:41:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 17:41:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 12:41:02] Production.INFO: ==17889== Lock acquired, processing the job...
[2025-01-10 12:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:41:02] Production.INFO: ==17889== Releasing lock...
[2025-01-10 12:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 12:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 17:41:02] Production.INFO: ==17891== Lock acquired, processing the job...
[2025-01-10 17:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 17:41:03] Production.INFO: ==17891== Releasing lock...
[2025-01-10 17:41:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 17:41:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 12:41:03] Production.INFO: ==17902== Lock acquired, processing the job...
[2025-01-10 12:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 12:41:03] Production.INFO: ==17906== Lock acquired, processing the job...
[2025-01-10 12:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 12:41:03] Production.INFO: Account Balance Start.
[2025-01-10 12:41:03] Production.INFO: CreateAllLog Start
[2025-01-10 12:41:03] Production.INFO: 117
[2025-01-10 12:41:03] Production.INFO: Date 2025-01-08
[2025-01-10 12:41:03] Production.INFO: ==17896== Lock acquired, processing the job...
[2025-01-10 12:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 12:41:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:41:03] Production.INFO: ==17898== Lock acquired, processing the job...
[2025-01-10 12:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 12:41:03] Production.INFO: Date 2025-01-09
[2025-01-10 12:41:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 12:41:03] Production.INFO: Date 2025-01-10
[2025-01-10 12:41:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:41:04] Production.INFO: count ==21
[2025-01-10 12:41:04] Production.INFO: Total Charge 0
[2025-01-10 12:41:04] Production.INFO: ==17900== Lock acquired, processing the job...
[2025-01-10 12:41:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 12:41:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:41:04] Production.INFO: CreateAllLog End
[2025-01-10 12:41:04] Production.INFO: count ==21
[2025-01-10 12:41:04] Production.INFO: ==17904== Lock acquired, processing the job...
[2025-01-10 12:41:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 12:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216982') start
[2025-01-10 12:41:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:41:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 12:41:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 12:41:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 12:41:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 12:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216982') end
[2025-01-10 12:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 12:41:04] Production.INFO: 1
[2025-01-10 12:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 12:41:04] Production.INFO: ==17898== Releasing lock...
[2025-01-10 12:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 12:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 12:41:04] Production.INFO: Account Balance End.
[2025-01-10 12:41:04] Production.ERROR: done
[2025-01-10 12:41:04] Production.INFO: ==17906== Releasing lock...
[2025-01-10 12:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 12:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 12:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 12:41:04] Production.ERROR: CronJobId end 12
[2025-01-10 12:41:04] Production.INFO: ==17902== Releasing lock...
[2025-01-10 12:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 12:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 12:41:04] Production.ERROR: done
[2025-01-10 12:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 09:41:05
[end_date_ymd] => 2025-01-10 12:41:05
[RateCDR] => 1
)
[2025-01-10 12:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 09:41:05' and `end` < '2025-01-10 12:41:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 12:41:12] Production.ERROR: CronJobId end10
[2025-01-10 12:41:12] Production.INFO: ==17900== Releasing lock...
[2025-01-10 12:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 12:41:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 12:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 12:41:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 12:41:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 12:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 12:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 12:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 12:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 12:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 12:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 12:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 12:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 12:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 12:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 12:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 12:41:13] Production.INFO: call_cost start
[2025-01-10 12:41:13] Production.INFO: call_cost end
[2025-01-10 12:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 12:41:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 12:41:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 12:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 12:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 12:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 12:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 12:41:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 12:41:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 12:41:14] Production.INFO: ==17896== Releasing lock...
[2025-01-10 12:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 12:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:41:25] Production.INFO: count ==3667
[2025-01-10 12:41:27] Production.ERROR: pbx CDR StartTime 2025-01-10 09:41:05 - End Time 2025-01-10 12:41:05
[2025-01-10 12:41:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 12:41:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216985', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:41:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216985', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:41:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216985', 'tblTempVendorCDR_20' ) start
[2025-01-10 12:41:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216985', 'tblTempVendorCDR_20' ) end
[2025-01-10 12:41:27] Production.INFO: ProcessCDR(1,14216985,1,1,2)
[2025-01-10 12:41:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216985,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:41:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216985,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:41:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216985,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:41:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216985,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:41:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216985', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:41:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216985', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:41:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:41:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:41:31] Production.INFO: ==17904== Releasing lock...
[2025-01-10 12:41:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 12:41:31] Production.INFO: 55.5 MB #Memory Used#
[2025-01-10 17:42:01] Production.INFO: ==17990== Lock acquired, processing the job...
[2025-01-10 17:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 17:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 17:42:01] Production.INFO: neon service started
[2025-01-10 17:42:01] Production.INFO: neon service started
[2025-01-10 17:42:01] Production.INFO: ==17990== Releasing lock...
[2025-01-10 17:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 17:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 17:42:02] Production.INFO: ==17996== Lock acquired, processing the job...
[2025-01-10 17:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 17:42:02] Production.INFO: ==17996== Releasing lock...
[2025-01-10 17:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 17:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 12:42:02] Production.INFO: ==17993== Lock acquired, processing the job...
[2025-01-10 12:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:42:02] Production.INFO: ==17993== Releasing lock...
[2025-01-10 12:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 12:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 12:42:03] Production.INFO: ==18005== Lock acquired, processing the job...
[2025-01-10 12:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 12:42:03] Production.INFO: ==17999== Lock acquired, processing the job...
[2025-01-10 12:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 12:42:03] Production.INFO: ==18001== Lock acquired, processing the job...
[2025-01-10 12:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 12:42:03] Production.INFO: Account Balance Start.
[2025-01-10 12:42:03] Production.INFO: CreateAllLog Start
[2025-01-10 12:42:03] Production.INFO: ==18009== Lock acquired, processing the job...
[2025-01-10 12:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 12:42:03] Production.INFO: 117
[2025-01-10 12:42:03] Production.INFO: Date 2025-01-08
[2025-01-10 12:42:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:42:03] Production.INFO: ==18003== Lock acquired, processing the job...
[2025-01-10 12:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 12:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 12:42:03] Production.INFO: Date 2025-01-09
[2025-01-10 12:42:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:42:03] Production.INFO: Date 2025-01-10
[2025-01-10 12:42:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:42:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:42:03] Production.INFO: Total Charge 0
[2025-01-10 12:42:03] Production.INFO: count ==21
[2025-01-10 12:42:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:42:03] Production.INFO: count ==21
[2025-01-10 12:42:03] Production.INFO: ==18007== Lock acquired, processing the job...
[2025-01-10 12:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 12:42:03] Production.INFO: CreateAllLog End
[2025-01-10 12:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216988') start
[2025-01-10 12:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 12:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 12:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 12:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 12:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216988') end
[2025-01-10 12:42:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 12:42:03] Production.INFO: 1
[2025-01-10 12:42:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 12:42:03] Production.INFO: ==18009== Releasing lock...
[2025-01-10 12:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 12:42:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 12:42:03] Production.INFO: Account Balance End.
[2025-01-10 12:42:03] Production.INFO: ==18001== Releasing lock...
[2025-01-10 12:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 12:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 12:42:03] Production.ERROR: CronJobId end 12
[2025-01-10 12:42:03] Production.INFO: ==18005== Releasing lock...
[2025-01-10 12:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 12:42:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 12:42:04] Production.ERROR: done
[2025-01-10 12:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 12:42:04] Production.ERROR: done
[2025-01-10 12:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 09:42:05
[end_date_ymd] => 2025-01-10 12:42:05
[RateCDR] => 1
)
[2025-01-10 12:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 09:42:05' and `end` < '2025-01-10 12:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 12:42:11] Production.ERROR: CronJobId end10
[2025-01-10 12:42:11] Production.INFO: ==18003== Releasing lock...
[2025-01-10 12:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 12:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 12:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 12:42:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 12:42:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 12:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 12:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 12:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 12:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 12:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 12:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 12:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 12:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 12:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 12:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 12:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 12:42:14] Production.INFO: call_cost start
[2025-01-10 12:42:14] Production.INFO: call_cost end
[2025-01-10 12:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 12:42:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 12:42:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 12:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 12:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 12:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 12:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 12:42:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 12:42:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 12:42:14] Production.INFO: ==17999== Releasing lock...
[2025-01-10 12:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 12:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:42:24] Production.INFO: count ==3681
[2025-01-10 12:42:26] Production.ERROR: pbx CDR StartTime 2025-01-10 09:42:05 - End Time 2025-01-10 12:42:05
[2025-01-10 12:42:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 12:42:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216990', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:42:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216990', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:42:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216990', 'tblTempVendorCDR_20' ) start
[2025-01-10 12:42:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216990', 'tblTempVendorCDR_20' ) end
[2025-01-10 12:42:26] Production.INFO: ProcessCDR(1,14216990,1,1,2)
[2025-01-10 12:42:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216990,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:42:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216990,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:42:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216990,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:42:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216990,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:42:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216990', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:42:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216990', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:42:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:42:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:42:31] Production.INFO: ==18007== Releasing lock...
[2025-01-10 12:42:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 12:42:31] Production.INFO: 55.75 MB #Memory Used#
[2025-01-10 17:43:02] Production.INFO: ==18096== Lock acquired, processing the job...
[2025-01-10 17:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 17:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 17:43:02] Production.INFO: neon service started
[2025-01-10 17:43:02] Production.INFO: neon service started
[2025-01-10 17:43:02] Production.INFO: ==18096== Releasing lock...
[2025-01-10 17:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 17:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 12:43:02] Production.INFO: ==18098== Lock acquired, processing the job...
[2025-01-10 12:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:43:02] Production.INFO: ==18098== Releasing lock...
[2025-01-10 12:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 12:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 17:43:02] Production.INFO: ==18100== Lock acquired, processing the job...
[2025-01-10 17:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 17:43:02] Production.INFO: ==18100== Releasing lock...
[2025-01-10 17:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 17:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 12:43:03] Production.INFO: ==18102== Lock acquired, processing the job...
[2025-01-10 12:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 12:43:03] Production.INFO: ==18106== Lock acquired, processing the job...
[2025-01-10 12:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 12:43:03] Production.INFO: ==18108== Lock acquired, processing the job...
[2025-01-10 12:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 12:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 12:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 12:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 12:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 12:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 12:43:03] Production.INFO: ==18104== Lock acquired, processing the job...
[2025-01-10 12:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 12:43:03] Production.INFO: Account Balance Start.
[2025-01-10 12:43:03] Production.INFO: CreateAllLog Start
[2025-01-10 12:43:03] Production.INFO: 117
[2025-01-10 12:43:03] Production.INFO: Date 2025-01-08
[2025-01-10 12:43:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:43:03] Production.INFO: Date 2025-01-09
[2025-01-10 12:43:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:43:03] Production.INFO: ==18110== Lock acquired, processing the job...
[2025-01-10 12:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 12:43:03] Production.INFO: Date 2025-01-10
[2025-01-10 12:43:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:43:03] Production.INFO: ==18112== Lock acquired, processing the job...
[2025-01-10 12:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 12:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:43:03] Production.INFO: Total Charge 0
[2025-01-10 12:43:04] Production.INFO: CreateAllLog End
[2025-01-10 12:43:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:43:04] Production.INFO: count ==21
[2025-01-10 12:43:04] Production.ERROR: done
[2025-01-10 12:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 12:43:04] Production.INFO: ==18104== Releasing lock...
[2025-01-10 12:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 12:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 12:43:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:43:04] Production.INFO: count ==21
[2025-01-10 12:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216994') start
[2025-01-10 12:43:04] Production.ERROR: done
[2025-01-10 12:43:04] Production.INFO: Account Balance End.
[2025-01-10 12:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14216994') end
[2025-01-10 12:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 12:43:04] Production.INFO: 1
[2025-01-10 12:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 12:43:04] Production.ERROR: CronJobId end 12
[2025-01-10 12:43:04] Production.INFO: ==18108== Releasing lock...
[2025-01-10 12:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 12:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 12:43:04] Production.INFO: ==18112== Releasing lock...
[2025-01-10 12:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 12:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 12:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 09:43:05
[end_date_ymd] => 2025-01-10 12:43:05
[RateCDR] => 1
)
[2025-01-10 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-01-10 09:43:05' and `end` < '2025-01-10 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-01-10 12:43:13] Production.ERROR: CronJobId end10
[2025-01-10 12:43:13] Production.INFO: ==18106== Releasing lock...
[2025-01-10 12:43:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 12:43:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 12:43:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 12:43:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 12:43:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 12:43:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 12:43:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 12:43:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 12:43:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 12:43:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 12:43:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 12:43:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 12:43:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 12:43:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 12:43:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 12:43:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 12:43:14] Production.INFO: call_cost start
[2025-01-10 12:43:14] Production.INFO: call_cost end
[2025-01-10 12:43:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 12:43:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 12:43:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 12:43:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 12:43:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 12:43:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 12:43:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 12:43:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 12:43:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 12:43:15] Production.INFO: ==18102== Releasing lock...
[2025-01-10 12:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 12:43:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:43:20] Production.INFO: count ==3687
[2025-01-10 12:43:22] Production.ERROR: pbx CDR StartTime 2025-01-10 09:43:05 - End Time 2025-01-10 12:43:05
[2025-01-10 12:43:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 12:43:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216995', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:43:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14216995', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:43:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216995', 'tblTempVendorCDR_20' ) start
[2025-01-10 12:43:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14216995', 'tblTempVendorCDR_20' ) end
[2025-01-10 12:43:22] Production.INFO: ProcessCDR(1,14216995,1,1,2)
[2025-01-10 12:43:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14216995,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:43:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14216995,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:43:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14216995,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:43:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14216995,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:43:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216995', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:43:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14216995', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:43:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:43:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:43:26] Production.INFO: ==18110== Releasing lock...
[2025-01-10 12:43:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 12:43:26] Production.INFO: 55.5 MB #Memory Used#
[2025-01-10 17:44:01] Production.INFO: ==18197== Lock acquired, processing the job...
[2025-01-10 17:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 17:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 17:44:01] Production.INFO: neon service started
[2025-01-10 17:44:01] Production.INFO: neon service started
[2025-01-10 17:44:01] Production.INFO: ==18197== Releasing lock...
[2025-01-10 17:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 17:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 12:44:02] Production.INFO: ==18199== Lock acquired, processing the job...
[2025-01-10 12:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:44:02] Production.INFO: ==18199== Releasing lock...
[2025-01-10 12:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 12:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 17:44:02] Production.INFO: ==18201== Lock acquired, processing the job...
[2025-01-10 17:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 17:44:02] Production.INFO: ==18201== Releasing lock...
[2025-01-10 17:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 17:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 12:44:03] Production.INFO: ==18205== Lock acquired, processing the job...
[2025-01-10 12:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 12:44:03] Production.INFO: ==18213== Lock acquired, processing the job...
[2025-01-10 12:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 12:44:03] Production.INFO: ==18203== Lock acquired, processing the job...
[2025-01-10 12:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 12:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:44:03] Production.INFO: count ==21
[2025-01-10 12:44:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:44:03] Production.INFO: ==18207== Lock acquired, processing the job...
[2025-01-10 12:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 12:44:03] Production.INFO: count ==21
[2025-01-10 12:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 12:44:03] Production.INFO: ==18205== Releasing lock...
[2025-01-10 12:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 12:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 12:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216997') start
[2025-01-10 12:44:03] Production.INFO: ==18209== Lock acquired, processing the job...
[2025-01-10 12:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 12:44:03] Production.INFO: ==18211== Lock acquired, processing the job...
[2025-01-10 12:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 12:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 12:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 12:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 12:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 12:44:03] Production.INFO: Account Balance Start.
[2025-01-10 12:44:03] Production.INFO: CreateAllLog Start
[2025-01-10 12:44:03] Production.INFO: 117
[2025-01-10 12:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:44:03] Production.INFO: Date 2025-01-08
[2025-01-10 12:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14216997') end
[2025-01-10 12:44:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 12:44:03] Production.INFO: 1
[2025-01-10 12:44:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 12:44:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:44:03] Production.INFO: Date 2025-01-09
[2025-01-10 12:44:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:44:03] Production.INFO: Date 2025-01-10
[2025-01-10 12:44:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:44:03] Production.INFO: ==18213== Releasing lock...
[2025-01-10 12:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 12:44:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 12:44:03] Production.INFO: Total Charge 0
[2025-01-10 12:44:03] Production.INFO: CreateAllLog End
[2025-01-10 12:44:03] Production.ERROR: done
[2025-01-10 12:44:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 12:44:04] Production.INFO: Account Balance End.
[2025-01-10 12:44:04] Production.ERROR: CronJobId end 12
[2025-01-10 12:44:04] Production.INFO: ==18209== Releasing lock...
[2025-01-10 12:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 12:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 12:44:04] Production.ERROR: done
[2025-01-10 12:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 09:44:05
[end_date_ymd] => 2025-01-10 12:44:05
[RateCDR] => 1
)
[2025-01-10 12:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 09:44:05' and `end` < '2025-01-10 12:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 12:44:12] Production.ERROR: CronJobId end10
[2025-01-10 12:44:12] Production.INFO: ==18207== Releasing lock...
[2025-01-10 12:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 12:44:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 12:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 12:44:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 12:44:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 12:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 12:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 12:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 12:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 12:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 12:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 12:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 12:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 12:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 12:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 12:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 12:44:13] Production.INFO: call_cost start
[2025-01-10 12:44:13] Production.INFO: call_cost end
[2025-01-10 12:44:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 12:44:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 12:44:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 12:44:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 12:44:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 12:44:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 12:44:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 12:44:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 12:44:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 12:44:14] Production.INFO: ==18203== Releasing lock...
[2025-01-10 12:44:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 12:44:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:44:26] Production.INFO: count ==3677
[2025-01-10 12:44:27] Production.ERROR: pbx CDR StartTime 2025-01-10 09:44:05 - End Time 2025-01-10 12:44:05
[2025-01-10 12:44:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 12:44:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217000', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:44:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217000', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:44:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217000', 'tblTempVendorCDR_20' ) start
[2025-01-10 12:44:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217000', 'tblTempVendorCDR_20' ) end
[2025-01-10 12:44:28] Production.INFO: ProcessCDR(1,14217000,1,1,2)
[2025-01-10 12:44:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217000,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:44:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217000,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:44:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217000,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:44:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217000,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:44:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217000', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:44:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217000', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:44:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:44:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:44:33] Production.INFO: ==18211== Releasing lock...
[2025-01-10 12:44:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 12:44:33] Production.INFO: 55.5 MB #Memory Used#
[2025-01-10 17:45:01] Production.INFO: ==18299== Lock acquired, processing the job...
[2025-01-10 17:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 17:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 17:45:01] Production.INFO: neon service started
[2025-01-10 17:45:01] Production.INFO: neon service started
[2025-01-10 17:45:01] Production.INFO: ==18299== Releasing lock...
[2025-01-10 17:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 17:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 12:45:02] Production.INFO: ==18301== Lock acquired, processing the job...
[2025-01-10 12:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:45:02] Production.INFO: ==18301== Releasing lock...
[2025-01-10 12:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 12:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 17:45:02] Production.INFO: ==18303== Lock acquired, processing the job...
[2025-01-10 17:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 17:45:02] Production.INFO: ==18303== Releasing lock...
[2025-01-10 17:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 17:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 12:45:03] Production.INFO: ==18308== Lock acquired, processing the job...
[2025-01-10 12:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 12:45:03] Production.INFO: ==18314== Lock acquired, processing the job...
[2025-01-10 12:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 12:45:03] Production.INFO: ==18306== Lock acquired, processing the job...
[2025-01-10 12:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 12:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:45:03] Production.INFO: ==18310== Lock acquired, processing the job...
[2025-01-10 12:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 12:45:03] Production.INFO: ==18312== Lock acquired, processing the job...
[2025-01-10 12:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 12:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 12:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 12:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 12:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 12:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 12:45:03] Production.ERROR: done
[2025-01-10 12:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 12:45:03] Production.INFO: ==18316== Lock acquired, processing the job...
[2025-01-10 12:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 12:45:03] Production.INFO: Account Balance Start.
[2025-01-10 12:45:03] Production.INFO: CreateAllLog Start
[2025-01-10 12:45:03] Production.INFO: 117
[2025-01-10 12:45:03] Production.INFO: Date 2025-01-08
[2025-01-10 12:45:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:45:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:45:04] Production.INFO: Date 2025-01-09
[2025-01-10 12:45:04] Production.INFO: ==18308== Releasing lock...
[2025-01-10 12:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 12:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 12:45:04] Production.INFO: count ==21
[2025-01-10 12:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:45:04] Production.INFO: count ==21
[2025-01-10 12:45:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:45:04] Production.ERROR: done
[2025-01-10 12:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217004') start
[2025-01-10 12:45:04] Production.INFO: Date 2025-01-10
[2025-01-10 12:45:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:45:04] Production.INFO: Total Charge 0
[2025-01-10 12:45:04] Production.INFO: CreateAllLog End
[2025-01-10 12:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217004') end
[2025-01-10 12:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 12:45:04] Production.INFO: 1
[2025-01-10 12:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 12:45:04] Production.INFO: ==18316== Releasing lock...
[2025-01-10 12:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 12:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 12:45:04] Production.INFO: Account Balance End.
[2025-01-10 12:45:04] Production.ERROR: CronJobId end 12
[2025-01-10 12:45:04] Production.INFO: ==18312== Releasing lock...
[2025-01-10 12:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 12:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 12:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 09:45:05
[end_date_ymd] => 2025-01-10 12:45:05
[RateCDR] => 1
)
[2025-01-10 12:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 09:45:05' and `end` < '2025-01-10 12:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 12:45:11] Production.ERROR: CronJobId end10
[2025-01-10 12:45:11] Production.INFO: ==18310== Releasing lock...
[2025-01-10 12:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 12:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 12:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 12:45:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 12:45:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 12:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 12:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 12:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 12:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 12:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 12:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 12:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 12:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 12:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 12:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 12:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 12:45:14] Production.INFO: call_cost start
[2025-01-10 12:45:14] Production.INFO: call_cost end
[2025-01-10 12:45:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 12:45:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 12:45:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 12:45:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 12:45:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 12:45:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 12:45:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 12:45:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 12:45:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 12:45:15] Production.INFO: ==18306== Releasing lock...
[2025-01-10 12:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 12:45:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:45:20] Production.INFO: count ==3658
[2025-01-10 12:45:22] Production.ERROR: pbx CDR StartTime 2025-01-10 09:45:05 - End Time 2025-01-10 12:45:05
[2025-01-10 12:45:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 12:45:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217005', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:45:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217005', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:45:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217005', 'tblTempVendorCDR_20' ) start
[2025-01-10 12:45:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217005', 'tblTempVendorCDR_20' ) end
[2025-01-10 12:45:22] Production.INFO: ProcessCDR(1,14217005,1,1,2)
[2025-01-10 12:45:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217005,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:45:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217005,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:45:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217005,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:45:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217005,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:45:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217005', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:45:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217005', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:45:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:45:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:45:27] Production.INFO: ==18314== Releasing lock...
[2025-01-10 12:45:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 12:45:27] Production.INFO: 55.25 MB #Memory Used#
[2025-01-10 17:46:01] Production.INFO: ==18443== Lock acquired, processing the job...
[2025-01-10 17:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 17:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 17:46:01] Production.INFO: neon service started
[2025-01-10 17:46:01] Production.INFO: neon service started
[2025-01-10 17:46:01] Production.INFO: ==18443== Releasing lock...
[2025-01-10 17:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 17:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 12:46:01] Production.INFO: ==18445== Lock acquired, processing the job...
[2025-01-10 12:46:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:46:02] Production.INFO: ==18445== Releasing lock...
[2025-01-10 12:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 12:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 17:46:02] Production.INFO: ==18447== Lock acquired, processing the job...
[2025-01-10 17:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 17:46:02] Production.INFO: ==18447== Releasing lock...
[2025-01-10 17:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 17:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 12:46:02] Production.INFO: ==18450== Lock acquired, processing the job...
[2025-01-10 12:46:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 12:46:03] Production.INFO: ==18460== Lock acquired, processing the job...
[2025-01-10 12:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 12:46:03] Production.INFO: ==18458== Lock acquired, processing the job...
[2025-01-10 12:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 12:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 12:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:46:03] Production.INFO: ==18456== Lock acquired, processing the job...
[2025-01-10 12:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 12:46:03] Production.INFO: ==18452== Lock acquired, processing the job...
[2025-01-10 12:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 12:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:46:03] Production.INFO: ==18454== Lock acquired, processing the job...
[2025-01-10 12:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 12:46:03] Production.INFO: count ==21
[2025-01-10 12:46:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:46:03] Production.INFO: count ==21
[2025-01-10 12:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217007') start
[2025-01-10 12:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 12:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 12:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 12:46:03] Production.INFO: Account Balance Start.
[2025-01-10 12:46:03] Production.INFO: CreateAllLog Start
[2025-01-10 12:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 12:46:03] Production.INFO: 117
[2025-01-10 12:46:03] Production.ERROR: done
[2025-01-10 12:46:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 12:46:03] Production.INFO: Date 2025-01-08
[2025-01-10 12:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217007') end
[2025-01-10 12:46:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 12:46:03] Production.INFO: 1
[2025-01-10 12:46:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 12:46:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:46:03] Production.INFO: Date 2025-01-09
[2025-01-10 12:46:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:46:03] Production.INFO: Date 2025-01-10
[2025-01-10 12:46:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:46:03] Production.INFO: ==18460== Releasing lock...
[2025-01-10 12:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 12:46:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 12:46:03] Production.ERROR: done
[2025-01-10 12:46:03] Production.INFO: Total Charge 0
[2025-01-10 12:46:03] Production.INFO: CreateAllLog End
[2025-01-10 12:46:03] Production.INFO: ==18452== Releasing lock...
[2025-01-10 12:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 12:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 12:46:03] Production.INFO: Account Balance End.
[2025-01-10 12:46:03] Production.ERROR: CronJobId end 12
[2025-01-10 12:46:03] Production.INFO: ==18456== Releasing lock...
[2025-01-10 12:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 12:46:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 12:46:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 09:46:04
[end_date_ymd] => 2025-01-10 12:46:04
[RateCDR] => 1
)
[2025-01-10 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-01-10 09:46:04' and `end` < '2025-01-10 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-01-10 12:46:12] Production.ERROR: CronJobId end10
[2025-01-10 12:46:12] Production.INFO: ==18454== Releasing lock...
[2025-01-10 12:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 12:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 12:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 12:46:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 12:46:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 12:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 12:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 12:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 12:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 12:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 12:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 12:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 12:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 12:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 12:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 12:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 12:46:14] Production.INFO: call_cost start
[2025-01-10 12:46:14] Production.INFO: call_cost end
[2025-01-10 12:46:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 12:46:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 12:46:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 12:46:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 12:46:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 12:46:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 12:46:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 12:46:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 12:46:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 12:46:15] Production.INFO: ==18450== Releasing lock...
[2025-01-10 12:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 12:46:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:46:19] Production.INFO: count ==3671
[2025-01-10 12:46:21] Production.ERROR: pbx CDR StartTime 2025-01-10 09:46:04 - End Time 2025-01-10 12:46:04
[2025-01-10 12:46:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 12:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217010', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217010', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217010', 'tblTempVendorCDR_20' ) start
[2025-01-10 12:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217010', 'tblTempVendorCDR_20' ) end
[2025-01-10 12:46:21] Production.INFO: ProcessCDR(1,14217010,1,1,2)
[2025-01-10 12:46:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217010,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:46:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217010,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:46:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217010,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:46:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217010,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:46:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217010', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:46:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217010', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:46:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:46:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:46:26] Production.INFO: ==18458== Releasing lock...
[2025-01-10 12:46:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 12:46:26] Production.INFO: 55.75 MB #Memory Used#
[2025-01-10 17:47:01] Production.INFO: ==18555== Lock acquired, processing the job...
[2025-01-10 17:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 17:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 17:47:01] Production.INFO: neon service started
[2025-01-10 17:47:01] Production.INFO: neon service started
[2025-01-10 17:47:01] Production.INFO: ==18555== Releasing lock...
[2025-01-10 17:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 17:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 12:47:02] Production.INFO: ==18557== Lock acquired, processing the job...
[2025-01-10 12:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:47:02] Production.INFO: ==18557== Releasing lock...
[2025-01-10 12:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 12:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 17:47:02] Production.INFO: ==18559== Lock acquired, processing the job...
[2025-01-10 17:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 17:47:02] Production.INFO: ==18559== Releasing lock...
[2025-01-10 17:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 17:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 12:47:03] Production.INFO: ==18561== Lock acquired, processing the job...
[2025-01-10 12:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 12:47:03] Production.INFO: ==18566== Lock acquired, processing the job...
[2025-01-10 12:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 12:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 12:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 12:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 12:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 12:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 12:47:03] Production.INFO: ==18570== Lock acquired, processing the job...
[2025-01-10 12:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 12:47:03] Production.INFO: ==18564== Lock acquired, processing the job...
[2025-01-10 12:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 12:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:47:03] Production.INFO: ==18568== Lock acquired, processing the job...
[2025-01-10 12:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 12:47:03] Production.INFO: ==18574== Lock acquired, processing the job...
[2025-01-10 12:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 12:47:03] Production.INFO: Account Balance Start.
[2025-01-10 12:47:03] Production.INFO: CreateAllLog Start
[2025-01-10 12:47:03] Production.INFO: 117
[2025-01-10 12:47:03] Production.INFO: Date 2025-01-08
[2025-01-10 12:47:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:47:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:47:03] Production.INFO: count ==21
[2025-01-10 12:47:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:47:03] Production.INFO: count ==21
[2025-01-10 12:47:03] Production.ERROR: done
[2025-01-10 12:47:03] Production.INFO: ==18564== Releasing lock...
[2025-01-10 12:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 12:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 12:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 12:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217014') start
[2025-01-10 12:47:03] Production.INFO: Date 2025-01-09
[2025-01-10 12:47:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217014') end
[2025-01-10 12:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 12:47:03] Production.INFO: 1
[2025-01-10 12:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 12:47:04] Production.INFO: Date 2025-01-10
[2025-01-10 12:47:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:47:04] Production.ERROR: done
[2025-01-10 12:47:04] Production.INFO: Total Charge 0
[2025-01-10 12:47:04] Production.INFO: CreateAllLog End
[2025-01-10 12:47:04] Production.INFO: ==18574== Releasing lock...
[2025-01-10 12:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 12:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 12:47:04] Production.INFO: Account Balance End.
[2025-01-10 12:47:04] Production.ERROR: CronJobId end 12
[2025-01-10 12:47:04] Production.INFO: ==18568== Releasing lock...
[2025-01-10 12:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 12:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 12:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 09:47:05
[end_date_ymd] => 2025-01-10 12:47:05
[RateCDR] => 1
)
[2025-01-10 12:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 09:47:05' and `end` < '2025-01-10 12:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 12:47:13] Production.ERROR: CronJobId end10
[2025-01-10 12:47:13] Production.INFO: ==18566== Releasing lock...
[2025-01-10 12:47:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 12:47:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 12:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 12:47:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 12:47:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 12:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 12:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 12:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 12:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 12:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 12:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 12:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 12:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 12:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 12:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 12:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 12:47:14] Production.INFO: call_cost start
[2025-01-10 12:47:14] Production.INFO: call_cost end
[2025-01-10 12:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 12:47:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 12:47:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 12:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 12:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 12:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 12:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 12:47:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 12:47:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 12:47:15] Production.INFO: ==18561== Releasing lock...
[2025-01-10 12:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 12:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:47:28] Production.INFO: count ==3689
[2025-01-10 12:47:30] Production.ERROR: pbx CDR StartTime 2025-01-10 09:47:05 - End Time 2025-01-10 12:47:05
[2025-01-10 12:47:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 12:47:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217015', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:47:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217015', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:47:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217015', 'tblTempVendorCDR_20' ) start
[2025-01-10 12:47:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217015', 'tblTempVendorCDR_20' ) end
[2025-01-10 12:47:30] Production.INFO: ProcessCDR(1,14217015,1,1,2)
[2025-01-10 12:47:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217015,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:47:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217015,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:47:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217015,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:47:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217015,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:47:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217015', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:47:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217015', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:47:35] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:47:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:47:35] Production.INFO: ==18570== Releasing lock...
[2025-01-10 12:47:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 12:47:35] Production.INFO: 55.5 MB #Memory Used#
[2025-01-10 17:48:02] Production.INFO: ==18711== Lock acquired, processing the job...
[2025-01-10 17:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 17:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 17:48:02] Production.INFO: neon service started
[2025-01-10 17:48:02] Production.INFO: neon service started
[2025-01-10 17:48:02] Production.INFO: ==18711== Releasing lock...
[2025-01-10 17:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 17:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 12:48:02] Production.INFO: ==18717== Lock acquired, processing the job...
[2025-01-10 12:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:48:02] Production.INFO: ==18717== Releasing lock...
[2025-01-10 12:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 12:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 17:48:02] Production.INFO: ==18719== Lock acquired, processing the job...
[2025-01-10 17:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 17:48:03] Production.INFO: ==18719== Releasing lock...
[2025-01-10 17:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 17:48:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 12:48:03] Production.INFO: ==18721== Lock acquired, processing the job...
[2025-01-10 12:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 12:48:03] Production.INFO: ==18723== Lock acquired, processing the job...
[2025-01-10 12:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 12:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 12:48:03] Production.INFO: ==18731== Lock acquired, processing the job...
[2025-01-10 12:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 12:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:48:04] Production.INFO: count ==21
[2025-01-10 12:48:04] Production.INFO: ==18725== Lock acquired, processing the job...
[2025-01-10 12:48:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 12:48:04] Production.INFO: ==18727== Lock acquired, processing the job...
[2025-01-10 12:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 12:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:48:04] Production.INFO: count ==21
[2025-01-10 12:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217018') start
[2025-01-10 12:48:04] Production.INFO: ==18729== Lock acquired, processing the job...
[2025-01-10 12:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 12:48:04] Production.INFO: ==18723== Releasing lock...
[2025-01-10 12:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 12:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 12:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 12:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 12:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 12:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 12:48:04] Production.INFO: Account Balance Start.
[2025-01-10 12:48:04] Production.INFO: CreateAllLog Start
[2025-01-10 12:48:04] Production.INFO: 117
[2025-01-10 12:48:04] Production.INFO: Date 2025-01-08
[2025-01-10 12:48:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217018') end
[2025-01-10 12:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 12:48:04] Production.INFO: 1
[2025-01-10 12:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 12:48:04] Production.INFO: Date 2025-01-09
[2025-01-10 12:48:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:48:04] Production.INFO: Date 2025-01-10
[2025-01-10 12:48:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:48:04] Production.INFO: Total Charge 0
[2025-01-10 12:48:04] Production.INFO: CreateAllLog End
[2025-01-10 12:48:04] Production.INFO: ==18731== Releasing lock...
[2025-01-10 12:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 12:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 12:48:04] Production.ERROR: done
[2025-01-10 12:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 12:48:04] Production.INFO: Account Balance End.
[2025-01-10 12:48:04] Production.ERROR: CronJobId end 12
[2025-01-10 12:48:04] Production.INFO: ==18727== Releasing lock...
[2025-01-10 12:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 12:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 12:48:04] Production.ERROR: done
[2025-01-10 12:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 09:48:05
[end_date_ymd] => 2025-01-10 12:48:05
[RateCDR] => 1
)
[2025-01-10 12:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 09:48:05' and `end` < '2025-01-10 12:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 12:48:13] Production.ERROR: CronJobId end10
[2025-01-10 12:48:13] Production.INFO: ==18725== Releasing lock...
[2025-01-10 12:48:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 12:48:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 12:48:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 12:48:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 12:48:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 12:48:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 12:48:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 12:48:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 12:48:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 12:48:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 12:48:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 12:48:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 12:48:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 12:48:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 12:48:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 12:48:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 12:48:15] Production.INFO: call_cost start
[2025-01-10 12:48:15] Production.INFO: call_cost end
[2025-01-10 12:48:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 12:48:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 12:48:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 12:48:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 12:48:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 12:48:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 12:48:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 12:48:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 12:48:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 12:48:15] Production.INFO: ==18721== Releasing lock...
[2025-01-10 12:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 12:48:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:48:25] Production.INFO: count ==3706
[2025-01-10 12:48:27] Production.ERROR: pbx CDR StartTime 2025-01-10 09:48:05 - End Time 2025-01-10 12:48:05
[2025-01-10 12:48:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 12:48:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217020', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:48:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217020', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:48:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217020', 'tblTempVendorCDR_20' ) start
[2025-01-10 12:48:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217020', 'tblTempVendorCDR_20' ) end
[2025-01-10 12:48:27] Production.INFO: ProcessCDR(1,14217020,1,1,2)
[2025-01-10 12:48:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217020,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:48:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217020,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:48:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217020,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:48:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217020,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:48:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217020', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:48:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217020', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:48:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:48:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:48:32] Production.INFO: ==18729== Releasing lock...
[2025-01-10 12:48:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 12:48:32] Production.INFO: 55.75 MB #Memory Used#
[2025-01-10 17:49:01] Production.INFO: ==18839== Lock acquired, processing the job...
[2025-01-10 17:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 17:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 17:49:01] Production.INFO: neon service started
[2025-01-10 17:49:01] Production.INFO: neon service started
[2025-01-10 17:49:01] Production.INFO: ==18839== Releasing lock...
[2025-01-10 17:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 17:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 17:49:02] Production.INFO: ==18843== Lock acquired, processing the job...
[2025-01-10 17:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 17:49:02] Production.INFO: ==18843== Releasing lock...
[2025-01-10 17:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 17:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 12:49:02] Production.INFO: ==18841== Lock acquired, processing the job...
[2025-01-10 12:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:49:02] Production.INFO: ==18841== Releasing lock...
[2025-01-10 12:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 12:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 12:49:03] Production.INFO: ==18846== Lock acquired, processing the job...
[2025-01-10 12:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 12:49:03] Production.INFO: ==18848== Lock acquired, processing the job...
[2025-01-10 12:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 12:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 12:49:03] Production.INFO: ==18852== Lock acquired, processing the job...
[2025-01-10 12:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 12:49:03] Production.INFO: ==18850== Lock acquired, processing the job...
[2025-01-10 12:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 12:49:03] Production.INFO: ==18854== Lock acquired, processing the job...
[2025-01-10 12:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 12:49:03] Production.INFO: ==18856== Lock acquired, processing the job...
[2025-01-10 12:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 12:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:49:03] Production.INFO: Account Balance Start.
[2025-01-10 12:49:03] Production.INFO: CreateAllLog Start
[2025-01-10 12:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 12:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 12:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 12:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 12:49:03] Production.INFO: 117
[2025-01-10 12:49:03] Production.INFO: count ==21
[2025-01-10 12:49:03] Production.INFO: Date 2025-01-08
[2025-01-10 12:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:49:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:49:03] Production.INFO: count ==21
[2025-01-10 12:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217024') start
[2025-01-10 12:49:03] Production.INFO: Date 2025-01-09
[2025-01-10 12:49:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:49:03] Production.INFO: ==18848== Releasing lock...
[2025-01-10 12:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 12:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 12:49:03] Production.INFO: Date 2025-01-10
[2025-01-10 12:49:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:49:03] Production.ERROR: done
[2025-01-10 12:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 12:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217024') end
[2025-01-10 12:49:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 12:49:03] Production.INFO: 1
[2025-01-10 12:49:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 12:49:03] Production.INFO: Total Charge 0
[2025-01-10 12:49:03] Production.INFO: ==18856== Releasing lock...
[2025-01-10 12:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 12:49:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 12:49:03] Production.INFO: CreateAllLog End
[2025-01-10 12:49:04] Production.ERROR: done
[2025-01-10 12:49:04] Production.INFO: Account Balance End.
[2025-01-10 12:49:04] Production.ERROR: CronJobId end 12
[2025-01-10 12:49:04] Production.INFO: ==18852== Releasing lock...
[2025-01-10 12:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 12:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 12:49:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 09:49:04
[end_date_ymd] => 2025-01-10 12:49:04
[RateCDR] => 1
)
[2025-01-10 12:49:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 09:49:04' and `end` < '2025-01-10 12:49:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 12:49:12] Production.ERROR: CronJobId end10
[2025-01-10 12:49:12] Production.INFO: ==18850== Releasing lock...
[2025-01-10 12:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 12:49:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 12:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 12:49:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 12:49:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 12:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 12:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 12:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 12:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 12:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 12:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 12:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 12:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 12:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 12:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 12:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 12:49:13] Production.INFO: call_cost start
[2025-01-10 12:49:13] Production.INFO: call_cost end
[2025-01-10 12:49:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 12:49:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 12:49:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 12:49:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 12:49:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 12:49:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 12:49:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 12:49:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 12:49:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 12:49:14] Production.INFO: ==18846== Releasing lock...
[2025-01-10 12:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 12:49:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:49:18] Production.INFO: count ==3721
[2025-01-10 12:49:20] Production.ERROR: pbx CDR StartTime 2025-01-10 09:49:04 - End Time 2025-01-10 12:49:04
[2025-01-10 12:49:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 12:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217025', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217025', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217025', 'tblTempVendorCDR_20' ) start
[2025-01-10 12:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217025', 'tblTempVendorCDR_20' ) end
[2025-01-10 12:49:20] Production.INFO: ProcessCDR(1,14217025,1,1,2)
[2025-01-10 12:49:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217025,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:49:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217025,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:49:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217025,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:49:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217025,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:49:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217025', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:49:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217025', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:49:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:49:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:49:25] Production.INFO: ==18854== Releasing lock...
[2025-01-10 12:49:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 12:49:25] Production.INFO: 55.75 MB #Memory Used#
[2025-01-10 17:50:02] Production.INFO: ==18943== Lock acquired, processing the job...
[2025-01-10 17:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 17:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 17:50:02] Production.INFO: neon service started
[2025-01-10 17:50:02] Production.INFO: neon service started
[2025-01-10 17:50:02] Production.INFO: ==18943== Releasing lock...
[2025-01-10 17:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 17:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 12:50:02] Production.INFO: ==18945== Lock acquired, processing the job...
[2025-01-10 12:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 17:50:02] Production.INFO: ==18947== Lock acquired, processing the job...
[2025-01-10 17:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 17:50:02] Production.INFO: ==18947== Releasing lock...
[2025-01-10 17:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 17:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 12:50:03] Production.INFO: ==18945== Releasing lock...
[2025-01-10 12:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 12:50:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 12:50:03] Production.INFO: ==18954== Lock acquired, processing the job...
[2025-01-10 12:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 12:50:04] Production.INFO: ==18960== Lock acquired, processing the job...
[2025-01-10 12:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 12:50:04] Production.INFO: ==18950== Lock acquired, processing the job...
[2025-01-10 12:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 12:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:50:04] Production.INFO: ==18964== Lock acquired, processing the job...
[2025-01-10 12:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 12:50:04] Production.INFO: ==18952== Lock acquired, processing the job...
[2025-01-10 12:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 12:50:04] Production.INFO: ==18956== Lock acquired, processing the job...
[2025-01-10 12:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 12:50:04] Production.INFO: ==18958== Lock acquired, processing the job...
[2025-01-10 12:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 12:50:04] Production.INFO: ==18954== Releasing lock...
[2025-01-10 12:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 12:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 12:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 12:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 12:50:04] Production.ERROR: CronJob PID - 18952
[2025-01-10 12:50:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-10 12:50:04] Production.ERROR: CronJob ID - 5
[2025-01-10 12:50:04] Production.ERROR: CronJob Last Run Time 2025-01-10 12:50:00
[2025-01-10 12:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 12:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 12:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 12:50:04] Production.ERROR: CronJob PID - 18960
[2025-01-10 12:50:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-10 12:50:04] Production.ERROR: CronJob ID - 16
[2025-01-10 12:50:04] Production.ERROR: CronJob Last Run Time 2025-01-10 12:50:00
[2025-01-10 12:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 12:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 12:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 12:50:04] Production.ERROR: CronJob PID - 18964
[2025-01-10 12:50:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-10 12:50:04] Production.ERROR: CronJob ID - 19
[2025-01-10 12:50:04] Production.ERROR: CronJob Last Run Time 2025-01-10 12:50:00
[2025-01-10 12:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 12:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 12:50:04] Production.INFO: ==18962== Lock acquired, processing the job...
[2025-01-10 12:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 12:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 12:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 12:50:04] Production.INFO: ==18950== Releasing lock...
[2025-01-10 12:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 12:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 12:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 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-01-10 12:50:04] Production.INFO: Account Balance Start.
[2025-01-10 12:50:04] Production.INFO: CreateAllLog Start
[2025-01-10 12:50:04] Production.INFO: 117
[2025-01-10 12:50:04] Production.INFO: count ==21
[2025-01-10 12:50:04] Production.ERROR: done
[2025-01-10 12:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 12:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:50:04] Production.INFO: Date 2025-01-08
[2025-01-10 12:50:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:50:04] Production.INFO: count ==21
[2025-01-10 12:50:04] Production.INFO: Date 2025-01-09
[2025-01-10 12:50:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217027') start
[2025-01-10 12:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 12:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 12:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 12:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 12:50:04] Production.INFO: Date 2025-01-10
[2025-01-10 12:50:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:50:04] Production.ERROR: done
[2025-01-10 12:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217027') end
[2025-01-10 12:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 12:50:04] Production.INFO: 1
[2025-01-10 12:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 12:50:04] Production.INFO: ==18964== Releasing lock...
[2025-01-10 12:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 12:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 12:50:04] Production.INFO: Total Charge 0
[2025-01-10 12:50:05] Production.INFO: CreateAllLog End
[2025-01-10 12:50:05] Production.ERROR: done
[2025-01-10 12:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 12:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14217031', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 12:50:05] Production.INFO: Account Balance End.
[2025-01-10 12:50:05] Production.ERROR: CronJobId end 12
[2025-01-10 12:50:05] Production.INFO: ==18958== Releasing lock...
[2025-01-10 12:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 12:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 12:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 09:50:06
[end_date_ymd] => 2025-01-10 12:50:06
[RateCDR] => 1
)
[2025-01-10 12:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 09:50:06' and `end` < '2025-01-10 12:50:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 12:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14217031', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 12:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 12:50:09] Production.INFO: ProcessCDR(1,14217031,1,1,2)
[2025-01-10 12:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14217031,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14217031,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:50:09] Production.INFO: ==18962== Releasing lock...
[2025-01-10 12:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 12:50:09] Production.INFO: 26 MB #Memory Used#
[2025-01-10 12:50:14] Production.ERROR: CronJobId end10
[2025-01-10 12:50:14] Production.INFO: ==18956== Releasing lock...
[2025-01-10 12:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 12:50:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 12:50:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 12:50:16] Production.INFO: ============== Balance Warning START===========
[2025-01-10 12:50:16] Production.INFO: ============== Balance Warning END===========
[2025-01-10 12:50:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 12:50:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 12:50:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 12:50:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 12:50:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 12:50:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 12:50:16] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 12:50:16] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 12:50:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 12:50:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 12:50:16] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 12:50:16] Production.INFO: call_cost start
[2025-01-10 12:50:16] Production.INFO: call_cost end
[2025-01-10 12:50:17] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 12:50:17] Production.INFO: ============== Report Schedule START===========
[2025-01-10 12:50:17] Production.INFO: ============== Report Schedule END===========
[2025-01-10 12:50:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 12:50:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 12:50:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 12:50:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 12:50:17] Production.INFO: ============== Deal alert START===========
[2025-01-10 12:50:17] Production.INFO: ============== Deal alert END===========
[2025-01-10 12:50:17] Production.INFO: ==18952== Releasing lock...
[2025-01-10 12:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 12:50:17] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:50:30] Production.INFO: count ==3757
[2025-01-10 12:50:32] Production.ERROR: pbx CDR StartTime 2025-01-10 09:50:06 - End Time 2025-01-10 12:50:06
[2025-01-10 12:50:32] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 12:50:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217030', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:50:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217030', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:50:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217030', 'tblTempVendorCDR_20' ) start
[2025-01-10 12:50:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217030', 'tblTempVendorCDR_20' ) end
[2025-01-10 12:50:32] Production.INFO: ProcessCDR(1,14217030,1,1,2)
[2025-01-10 12:50:32] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217030,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:50:35] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217030,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:50:35] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217030,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:50:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217030,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:50:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217030', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:50:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217030', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:50:37] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:50:37] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:50:37] Production.INFO: ==18960== Releasing lock...
[2025-01-10 12:50:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 12:50:37] Production.INFO: 56 MB #Memory Used#
[2025-01-10 17:51:01] Production.INFO: ==19047== Lock acquired, processing the job...
[2025-01-10 17:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 17:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 17:51:01] Production.INFO: neon service started
[2025-01-10 17:51:01] Production.INFO: neon service started
[2025-01-10 17:51:01] Production.INFO: ==19047== Releasing lock...
[2025-01-10 17:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 17:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 12:51:01] Production.INFO: ==19049== Lock acquired, processing the job...
[2025-01-10 12:51:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 17:51:02] Production.INFO: ==19051== Lock acquired, processing the job...
[2025-01-10 17:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 12:51:02] Production.INFO: ==19049== Releasing lock...
[2025-01-10 12:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 12:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 17:51:02] Production.INFO: ==19051== Releasing lock...
[2025-01-10 17:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 17:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 12:51:03] Production.INFO: ==19059== Lock acquired, processing the job...
[2025-01-10 12:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 12:51:03] Production.INFO: ==19055== Lock acquired, processing the job...
[2025-01-10 12:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 12:51:03] Production.INFO: ==19066== Lock acquired, processing the job...
[2025-01-10 12:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 12:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 12:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 12:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 12:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 12:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 12:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:51:03] Production.INFO: ==19057== Lock acquired, processing the job...
[2025-01-10 12:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 12:51:03] Production.INFO: count ==21
[2025-01-10 12:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:51:03] Production.INFO: count ==21
[2025-01-10 12:51:03] Production.INFO: ==19064== Lock acquired, processing the job...
[2025-01-10 12:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 12:51:03] Production.INFO: ==19062== Lock acquired, processing the job...
[2025-01-10 12:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 12:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217032') start
[2025-01-10 12:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:51:03] Production.INFO: Account Balance Start.
[2025-01-10 12:51:03] Production.INFO: CreateAllLog Start
[2025-01-10 12:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217032') end
[2025-01-10 12:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 12:51:03] Production.INFO: 1
[2025-01-10 12:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 12:51:03] Production.INFO: 117
[2025-01-10 12:51:03] Production.INFO: Date 2025-01-08
[2025-01-10 12:51:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:51:03] Production.INFO: Date 2025-01-09
[2025-01-10 12:51:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:51:03] Production.INFO: Date 2025-01-10
[2025-01-10 12:51:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:51:03] Production.INFO: Total Charge 0
[2025-01-10 12:51:03] Production.INFO: ==19066== Releasing lock...
[2025-01-10 12:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 12:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 12:51:03] Production.INFO: CreateAllLog End
[2025-01-10 12:51:03] Production.INFO: ==19057== Releasing lock...
[2025-01-10 12:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 12:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 12:51:03] Production.INFO: Account Balance End.
[2025-01-10 12:51:03] Production.ERROR: done
[2025-01-10 12:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 12:51:03] Production.ERROR: CronJobId end 12
[2025-01-10 12:51:03] Production.INFO: ==19062== Releasing lock...
[2025-01-10 12:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 12:51:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 12:51:04] Production.ERROR: done
[2025-01-10 12:51:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 09:51:04
[end_date_ymd] => 2025-01-10 12:51:04
[RateCDR] => 1
)
[2025-01-10 12:51:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 09:51:04' and `end` < '2025-01-10 12:51:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 12:51:11] Production.ERROR: CronJobId end10
[2025-01-10 12:51:11] Production.INFO: ==19059== Releasing lock...
[2025-01-10 12:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 12:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 12:51:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 12:51:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 12:51:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 12:51:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 12:51:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 12:51:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 12:51:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 12:51:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 12:51:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 12:51:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 12:51:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 12:51:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 12:51:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 12:51:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 12:51:13] Production.INFO: call_cost start
[2025-01-10 12:51:13] Production.INFO: call_cost end
[2025-01-10 12:51:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 12:51:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 12:51:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 12:51:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 12:51:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 12:51:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 12:51:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 12:51:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 12:51:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 12:51:14] Production.INFO: ==19055== Releasing lock...
[2025-01-10 12:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 12:51:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:51:26] Production.INFO: count ==3849
[2025-01-10 12:51:28] Production.ERROR: pbx CDR StartTime 2025-01-10 09:51:04 - End Time 2025-01-10 12:51:04
[2025-01-10 12:51:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 12:51:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217036', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:51:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217036', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:51:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217036', 'tblTempVendorCDR_20' ) start
[2025-01-10 12:51:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217036', 'tblTempVendorCDR_20' ) end
[2025-01-10 12:51:28] Production.INFO: ProcessCDR(1,14217036,1,1,2)
[2025-01-10 12:51:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217036,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:51:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217036,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:51:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217036,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:51:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217036,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:51:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217036', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:51:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217036', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:51:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:51:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:51:33] Production.INFO: ==19064== Releasing lock...
[2025-01-10 12:51:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 12:51:33] Production.INFO: 56.75 MB #Memory Used#
[2025-01-10 17:52:02] Production.INFO: ==19152== Lock acquired, processing the job...
[2025-01-10 17:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 17:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 17:52:02] Production.INFO: neon service started
[2025-01-10 17:52:02] Production.INFO: neon service started
[2025-01-10 17:52:02] Production.INFO: ==19152== Releasing lock...
[2025-01-10 17:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 17:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 12:52:02] Production.INFO: ==19154== Lock acquired, processing the job...
[2025-01-10 12:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:52:02] Production.INFO: ==19154== Releasing lock...
[2025-01-10 12:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 12:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 17:52:02] Production.INFO: ==19157== Lock acquired, processing the job...
[2025-01-10 17:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 17:52:02] Production.INFO: ==19157== Releasing lock...
[2025-01-10 17:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 17:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 12:52:03] Production.INFO: ==19159== Lock acquired, processing the job...
[2025-01-10 12:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 12:52:03] Production.INFO: ==19161== Lock acquired, processing the job...
[2025-01-10 12:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 12:52:03] Production.INFO: ==19165== Lock acquired, processing the job...
[2025-01-10 12:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 12:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 12:52:03] Production.INFO: Account Balance Start.
[2025-01-10 12:52:03] Production.INFO: CreateAllLog Start
[2025-01-10 12:52:03] Production.INFO: 117
[2025-01-10 12:52:03] Production.INFO: Date 2025-01-08
[2025-01-10 12:52:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:52:03] Production.INFO: Date 2025-01-09
[2025-01-10 12:52:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:52:03] Production.INFO: ==19163== Lock acquired, processing the job...
[2025-01-10 12:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 12:52:04] Production.INFO: Date 2025-01-10
[2025-01-10 12:52:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:52:04] Production.INFO: ==19167== Lock acquired, processing the job...
[2025-01-10 12:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 12:52:04] Production.INFO: Total Charge 0
[2025-01-10 12:52:04] Production.INFO: CreateAllLog End
[2025-01-10 12:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:52:04] Production.INFO: ==19161== Releasing lock...
[2025-01-10 12:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 12:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 12:52:04] Production.INFO: ==19169== Lock acquired, processing the job...
[2025-01-10 12:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 12:52:04] Production.INFO: Account Balance End.
[2025-01-10 12:52:04] Production.ERROR: CronJobId end 12
[2025-01-10 12:52:04] Production.INFO: ==19165== Releasing lock...
[2025-01-10 12:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 12:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 12:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 12:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 12:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 12:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 12:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:52:04] Production.INFO: count ==21
[2025-01-10 12:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:52:04] Production.INFO: count ==21
[2025-01-10 12:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217040') start
[2025-01-10 12:52:04] Production.ERROR: done
[2025-01-10 12:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217040') end
[2025-01-10 12:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 12:52:04] Production.INFO: 1
[2025-01-10 12:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 12:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 12:52:04] Production.INFO: ==19169== Releasing lock...
[2025-01-10 12:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 12:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 12:52:04] Production.ERROR: done
[2025-01-10 12:52:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 09:52:06
[end_date_ymd] => 2025-01-10 12:52:06
[RateCDR] => 1
)
[2025-01-10 12:52:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 09:52:06' and `end` < '2025-01-10 12:52:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 12:52:12] Production.ERROR: CronJobId end10
[2025-01-10 12:52:12] Production.INFO: ==19163== Releasing lock...
[2025-01-10 12:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 12:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 12:52:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 12:52:15] Production.INFO: ============== Balance Warning START===========
[2025-01-10 12:52:15] Production.INFO: ============== Balance Warning END===========
[2025-01-10 12:52:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 12:52:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 12:52:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 12:52:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 12:52:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 12:52:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 12:52:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 12:52:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 12:52:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 12:52:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 12:52:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 12:52:15] Production.INFO: call_cost start
[2025-01-10 12:52:15] Production.INFO: call_cost end
[2025-01-10 12:52:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 12:52:16] Production.INFO: ============== Report Schedule START===========
[2025-01-10 12:52:16] Production.INFO: ============== Report Schedule END===========
[2025-01-10 12:52:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 12:52:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 12:52:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 12:52:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 12:52:16] Production.INFO: ============== Deal alert START===========
[2025-01-10 12:52:16] Production.INFO: ============== Deal alert END===========
[2025-01-10 12:52:16] Production.INFO: ==19159== Releasing lock...
[2025-01-10 12:52:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 12:52:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:52:24] Production.INFO: count ==3847
[2025-01-10 12:52:26] Production.ERROR: pbx CDR StartTime 2025-01-10 09:52:06 - End Time 2025-01-10 12:52:06
[2025-01-10 12:52:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 12:52:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217041', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:52:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217041', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:52:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217041', 'tblTempVendorCDR_20' ) start
[2025-01-10 12:52:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217041', 'tblTempVendorCDR_20' ) end
[2025-01-10 12:52:26] Production.INFO: ProcessCDR(1,14217041,1,1,2)
[2025-01-10 12:52:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217041,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:52:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217041,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:52:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217041,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:52:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217041,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:52:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217041', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:52:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217041', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:52:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:52:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:52:32] Production.INFO: ==19167== Releasing lock...
[2025-01-10 12:52:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 12:52:32] Production.INFO: 56.75 MB #Memory Used#
[2025-01-10 17:53:01] Production.INFO: ==19254== Lock acquired, processing the job...
[2025-01-10 17:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 17:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 17:53:01] Production.INFO: neon service started
[2025-01-10 17:53:01] Production.INFO: neon service started
[2025-01-10 17:53:01] Production.INFO: ==19254== Releasing lock...
[2025-01-10 17:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 17:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 17:53:02] Production.INFO: ==19258== Lock acquired, processing the job...
[2025-01-10 17:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 17:53:02] Production.INFO: ==19258== Releasing lock...
[2025-01-10 17:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 17:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 12:53:02] Production.INFO: ==19256== Lock acquired, processing the job...
[2025-01-10 12:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:53:02] Production.INFO: ==19256== Releasing lock...
[2025-01-10 12:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 12:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 12:53:03] Production.INFO: ==19261== Lock acquired, processing the job...
[2025-01-10 12:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 12:53:03] Production.INFO: ==19263== Lock acquired, processing the job...
[2025-01-10 12:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 12:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 12:53:03] Production.INFO: ==19265== Lock acquired, processing the job...
[2025-01-10 12:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 12:53:03] Production.INFO: ==19269== Lock acquired, processing the job...
[2025-01-10 12:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 12:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 12:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 12:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 12:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 12:53:03] Production.INFO: ==19271== Lock acquired, processing the job...
[2025-01-10 12:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 12:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:53:04] Production.INFO: ==19267== Lock acquired, processing the job...
[2025-01-10 12:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 12:53:04] Production.INFO: ==19263== Releasing lock...
[2025-01-10 12:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 12:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 12:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:53:04] Production.INFO: Account Balance Start.
[2025-01-10 12:53:04] Production.INFO: CreateAllLog Start
[2025-01-10 12:53:04] Production.INFO: 117
[2025-01-10 12:53:04] Production.INFO: Date 2025-01-08
[2025-01-10 12:53:04] Production.INFO: count ==21
[2025-01-10 12:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:53:04] Production.INFO: count ==21
[2025-01-10 12:53:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217044') start
[2025-01-10 12:53:04] Production.INFO: Date 2025-01-09
[2025-01-10 12:53:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:53:04] Production.ERROR: done
[2025-01-10 12:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217044') end
[2025-01-10 12:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 12:53:04] Production.INFO: 1
[2025-01-10 12:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 12:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 12:53:04] Production.INFO: Date 2025-01-10
[2025-01-10 12:53:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:53:04] Production.INFO: Total Charge 0
[2025-01-10 12:53:04] Production.INFO: CreateAllLog End
[2025-01-10 12:53:04] Production.ERROR: done
[2025-01-10 12:53:04] Production.INFO: ==19271== Releasing lock...
[2025-01-10 12:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 12:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 12:53:05] Production.INFO: Account Balance End.
[2025-01-10 12:53:05] Production.ERROR: CronJobId end 12
[2025-01-10 12:53:05] Production.INFO: ==19267== Releasing lock...
[2025-01-10 12:53:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 12:53:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 12:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 09:53:05
[end_date_ymd] => 2025-01-10 12:53:05
[RateCDR] => 1
)
[2025-01-10 12:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 09:53:05' and `end` < '2025-01-10 12:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 12:53:13] Production.ERROR: CronJobId end10
[2025-01-10 12:53:13] Production.INFO: ==19265== Releasing lock...
[2025-01-10 12:53:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 12:53:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 12:53:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 12:53:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 12:53:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 12:53:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 12:53:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 12:53:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 12:53:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 12:53:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 12:53:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 12:53:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 12:53:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 12:53:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 12:53:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 12:53:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 12:53:15] Production.INFO: call_cost start
[2025-01-10 12:53:15] Production.INFO: call_cost end
[2025-01-10 12:53:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 12:53:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 12:53:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 12:53:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 12:53:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 12:53:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 12:53:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 12:53:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 12:53:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 12:53:15] Production.INFO: ==19261== Releasing lock...
[2025-01-10 12:53:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 12:53:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:53:25] Production.INFO: count ==3860
[2025-01-10 12:53:27] Production.ERROR: pbx CDR StartTime 2025-01-10 09:53:05 - End Time 2025-01-10 12:53:05
[2025-01-10 12:53:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 12:53:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217046', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:53:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217046', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:53:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217046', 'tblTempVendorCDR_20' ) start
[2025-01-10 12:53:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217046', 'tblTempVendorCDR_20' ) end
[2025-01-10 12:53:27] Production.INFO: ProcessCDR(1,14217046,1,1,2)
[2025-01-10 12:53:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217046,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:53:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217046,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:53:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217046,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:53:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217046,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:53:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217046', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:53:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217046', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:53:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:53:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:53:32] Production.INFO: ==19269== Releasing lock...
[2025-01-10 12:53:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 12:53:32] Production.INFO: 57 MB #Memory Used#
[2025-01-10 17:54:02] Production.INFO: ==19372== Lock acquired, processing the job...
[2025-01-10 17:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 17:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 17:54:02] Production.INFO: neon service started
[2025-01-10 17:54:02] Production.INFO: neon service started
[2025-01-10 17:54:02] Production.INFO: ==19372== Releasing lock...
[2025-01-10 17:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 17:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 17:54:02] Production.INFO: ==19377== Lock acquired, processing the job...
[2025-01-10 17:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 17:54:02] Production.INFO: ==19377== Releasing lock...
[2025-01-10 17:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 17:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 12:54:02] Production.INFO: ==19375== Lock acquired, processing the job...
[2025-01-10 12:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:54:03] Production.INFO: ==19375== Releasing lock...
[2025-01-10 12:54:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 12:54:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 12:54:03] Production.INFO: ==19381== Lock acquired, processing the job...
[2025-01-10 12:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 12:54:03] Production.INFO: ==19383== Lock acquired, processing the job...
[2025-01-10 12:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 12:54:03] Production.INFO: ==19387== Lock acquired, processing the job...
[2025-01-10 12:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 12:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 12:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 12:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 12:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 12:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:54:04] Production.INFO: ==19379== Lock acquired, processing the job...
[2025-01-10 12:54:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 12:54:04] Production.INFO: ==19385== Lock acquired, processing the job...
[2025-01-10 12:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 12:54:04] Production.INFO: ==19381== Releasing lock...
[2025-01-10 12:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 12:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 12:54:04] Production.INFO: ==19389== Lock acquired, processing the job...
[2025-01-10 12:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 12:54:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 12:54:04] Production.INFO: Account Balance Start.
[2025-01-10 12:54:04] Production.INFO: CreateAllLog Start
[2025-01-10 12:54:04] Production.INFO: 117
[2025-01-10 12:54:04] Production.INFO: Date 2025-01-08
[2025-01-10 12:54:04] Production.ERROR: done
[2025-01-10 12:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 12:54:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:54:04] Production.INFO: Date 2025-01-09
[2025-01-10 12:54:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:54:04] Production.INFO: count ==21
[2025-01-10 12:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:54:04] Production.INFO: count ==21
[2025-01-10 12:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217050') start
[2025-01-10 12:54:04] Production.ERROR: done
[2025-01-10 12:54:04] Production.INFO: Date 2025-01-10
[2025-01-10 12:54:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:54:04] Production.INFO: Total Charge 0
[2025-01-10 12:54:04] Production.INFO: CreateAllLog End
[2025-01-10 12:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217050') end
[2025-01-10 12:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 12:54:04] Production.INFO: 1
[2025-01-10 12:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 12:54:04] Production.INFO: ==19389== Releasing lock...
[2025-01-10 12:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 12:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 12:54:05] Production.INFO: Account Balance End.
[2025-01-10 12:54:05] Production.ERROR: CronJobId end 12
[2025-01-10 12:54:05] Production.INFO: ==19385== Releasing lock...
[2025-01-10 12:54:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 12:54:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 12:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 09:54:05
[end_date_ymd] => 2025-01-10 12:54:05
[RateCDR] => 1
)
[2025-01-10 12:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 09:54:05' and `end` < '2025-01-10 12:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 12:54:14] Production.ERROR: CronJobId end10
[2025-01-10 12:54:14] Production.INFO: ==19383== Releasing lock...
[2025-01-10 12:54:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 12:54:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 12:54:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 12:54:15] Production.INFO: ============== Balance Warning START===========
[2025-01-10 12:54:15] Production.INFO: ============== Balance Warning END===========
[2025-01-10 12:54:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 12:54:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 12:54:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 12:54:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 12:54:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 12:54:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 12:54:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 12:54:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 12:54:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 12:54:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 12:54:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 12:54:16] Production.INFO: call_cost start
[2025-01-10 12:54:16] Production.INFO: call_cost end
[2025-01-10 12:54:17] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 12:54:17] Production.INFO: ============== Report Schedule START===========
[2025-01-10 12:54:17] Production.INFO: ============== Report Schedule END===========
[2025-01-10 12:54:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 12:54:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 12:54:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 12:54:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 12:54:17] Production.INFO: ============== Deal alert START===========
[2025-01-10 12:54:17] Production.INFO: ============== Deal alert END===========
[2025-01-10 12:54:17] Production.INFO: ==19379== Releasing lock...
[2025-01-10 12:54:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 12:54:17] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:54:29] Production.INFO: count ==3877
[2025-01-10 12:54:31] Production.ERROR: pbx CDR StartTime 2025-01-10 09:54:05 - End Time 2025-01-10 12:54:05
[2025-01-10 12:54:31] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 12:54:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217051', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:54:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217051', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:54:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217051', 'tblTempVendorCDR_20' ) start
[2025-01-10 12:54:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217051', 'tblTempVendorCDR_20' ) end
[2025-01-10 12:54:32] Production.INFO: ProcessCDR(1,14217051,1,1,2)
[2025-01-10 12:54:32] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217051,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:54:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217051,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:54:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217051,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:54:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217051,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:54:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217051', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:54:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217051', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:54:37] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:54:37] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:54:37] Production.INFO: ==19387== Releasing lock...
[2025-01-10 12:54:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 12:54:37] Production.INFO: 57 MB #Memory Used#
[2025-01-10 17:55:01] Production.INFO: ==19482== Lock acquired, processing the job...
[2025-01-10 17:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 17:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 17:55:01] Production.INFO: neon service started
[2025-01-10 17:55:01] Production.INFO: neon service started
[2025-01-10 17:55:01] Production.INFO: ==19482== Releasing lock...
[2025-01-10 17:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 17:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 12:55:02] Production.INFO: ==19484== Lock acquired, processing the job...
[2025-01-10 12:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 17:55:02] Production.INFO: ==19486== Lock acquired, processing the job...
[2025-01-10 17:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 17:55:02] Production.INFO: ==19486== Releasing lock...
[2025-01-10 17:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 17:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 12:55:02] Production.INFO: ==19484== Releasing lock...
[2025-01-10 12:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 12:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 12:55:03] Production.INFO: ==19489== Lock acquired, processing the job...
[2025-01-10 12:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 12:55:03] Production.INFO: ==19491== Lock acquired, processing the job...
[2025-01-10 12:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 12:55:03] Production.INFO: ==19497== Lock acquired, processing the job...
[2025-01-10 12:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 12:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 12:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:55:03] Production.INFO: ==19491== Releasing lock...
[2025-01-10 12:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 12:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 12:55:03] Production.INFO: ==19493== Lock acquired, processing the job...
[2025-01-10 12:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 12:55:03] Production.INFO: ==19495== Lock acquired, processing the job...
[2025-01-10 12:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 12:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 12:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 12:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 12:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 12:55:03] Production.INFO: ==19499== Lock acquired, processing the job...
[2025-01-10 12:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 12:55:03] Production.ERROR: done
[2025-01-10 12:55:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 12:55:03] Production.INFO: Account Balance Start.
[2025-01-10 12:55:03] Production.INFO: CreateAllLog Start
[2025-01-10 12:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:55:03] Production.INFO: 117
[2025-01-10 12:55:04] Production.INFO: Date 2025-01-08
[2025-01-10 12:55:04] Production.INFO: count ==21
[2025-01-10 12:55:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:55:04] Production.INFO: count ==21
[2025-01-10 12:55:04] Production.ERROR: done
[2025-01-10 12:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217054') start
[2025-01-10 12:55:04] Production.INFO: Date 2025-01-09
[2025-01-10 12:55:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:55:04] Production.INFO: Date 2025-01-10
[2025-01-10 12:55:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:55:04] Production.INFO: Total Charge 0
[2025-01-10 12:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217054') end
[2025-01-10 12:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 12:55:04] Production.INFO: 1
[2025-01-10 12:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 12:55:04] Production.INFO: CreateAllLog End
[2025-01-10 12:55:04] Production.INFO: ==19499== Releasing lock...
[2025-01-10 12:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 12:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 12:55:04] Production.INFO: Account Balance End.
[2025-01-10 12:55:04] Production.ERROR: CronJobId end 12
[2025-01-10 12:55:04] Production.INFO: ==19495== Releasing lock...
[2025-01-10 12:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 12:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 12:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 09:55:05
[end_date_ymd] => 2025-01-10 12:55:05
[RateCDR] => 1
)
[2025-01-10 12:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 09:55:05' and `end` < '2025-01-10 12:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 12:55:11] Production.ERROR: CronJobId end10
[2025-01-10 12:55:11] Production.INFO: ==19493== Releasing lock...
[2025-01-10 12:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 12:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 12:55:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 12:55:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 12:55:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 12:55:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 12:55:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 12:55:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 12:55:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 12:55:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 12:55:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 12:55:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 12:55:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 12:55:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 12:55:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 12:55:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 12:55:12] Production.INFO: call_cost start
[2025-01-10 12:55:12] Production.INFO: call_cost end
[2025-01-10 12:55:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 12:55:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 12:55:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 12:55:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 12:55:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 12:55:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 12:55:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 12:55:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 12:55:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 12:55:13] Production.INFO: ==19489== Releasing lock...
[2025-01-10 12:55:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 12:55:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:55:24] Production.INFO: count ==3871
[2025-01-10 12:55:26] Production.ERROR: pbx CDR StartTime 2025-01-10 09:55:05 - End Time 2025-01-10 12:55:05
[2025-01-10 12:55:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 12:55:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217056', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:55:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217056', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:55:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217056', 'tblTempVendorCDR_20' ) start
[2025-01-10 12:55:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217056', 'tblTempVendorCDR_20' ) end
[2025-01-10 12:55:26] Production.INFO: ProcessCDR(1,14217056,1,1,2)
[2025-01-10 12:55:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217056,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:55:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217056,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:55:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217056,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:55:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217056,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:55:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217056', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:55:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217056', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:55:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:55:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:55:31] Production.INFO: ==19497== Releasing lock...
[2025-01-10 12:55:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 12:55:31] Production.INFO: 57.25 MB #Memory Used#
[2025-01-10 17:56:02] Production.INFO: ==19599== Lock acquired, processing the job...
[2025-01-10 17:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 17:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 17:56:02] Production.INFO: neon service started
[2025-01-10 17:56:02] Production.INFO: neon service started
[2025-01-10 17:56:02] Production.INFO: ==19599== Releasing lock...
[2025-01-10 17:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 17:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 12:56:02] Production.INFO: ==19601== Lock acquired, processing the job...
[2025-01-10 12:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 17:56:02] Production.INFO: ==19603== Lock acquired, processing the job...
[2025-01-10 17:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 12:56:02] Production.INFO: ==19601== Releasing lock...
[2025-01-10 12:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 12:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 17:56:02] Production.INFO: ==19603== Releasing lock...
[2025-01-10 17:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 17:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 12:56:03] Production.INFO: ==19612== Lock acquired, processing the job...
[2025-01-10 12:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 12:56:03] Production.INFO: Account Balance Start.
[2025-01-10 12:56:03] Production.INFO: CreateAllLog Start
[2025-01-10 12:56:03] Production.INFO: 117
[2025-01-10 12:56:03] Production.INFO: Date 2025-01-08
[2025-01-10 12:56:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:56:03] Production.INFO: Date 2025-01-09
[2025-01-10 12:56:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:56:03] Production.INFO: Date 2025-01-10
[2025-01-10 12:56:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:56:03] Production.INFO: Total Charge 0
[2025-01-10 12:56:03] Production.INFO: CreateAllLog End
[2025-01-10 12:56:03] Production.INFO: Account Balance End.
[2025-01-10 12:56:03] Production.ERROR: CronJobId end 12
[2025-01-10 12:56:03] Production.INFO: ==19612== Releasing lock...
[2025-01-10 12:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 12:56:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 12:56:03] Production.INFO: ==19606== Lock acquired, processing the job...
[2025-01-10 12:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 12:56:03] Production.INFO: ==19608== Lock acquired, processing the job...
[2025-01-10 12:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 12:56:04] Production.INFO: ==19614== Lock acquired, processing the job...
[2025-01-10 12:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 12:56:04] Production.INFO: ==19610== Lock acquired, processing the job...
[2025-01-10 12:56:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 12:56:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 12:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:56:04] Production.INFO: ==19616== Lock acquired, processing the job...
[2025-01-10 12:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 12:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 12:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 12:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 12:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 12:56:04] Production.ERROR: done
[2025-01-10 12:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 12:56:04] Production.INFO: count ==21
[2025-01-10 12:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:56:04] Production.INFO: count ==21
[2025-01-10 12:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217060') start
[2025-01-10 12:56:04] Production.ERROR: done
[2025-01-10 12:56:04] Production.INFO: ==19608== Releasing lock...
[2025-01-10 12:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 12:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 12:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217060') end
[2025-01-10 12:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 12:56:04] Production.INFO: 1
[2025-01-10 12:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 12:56:04] Production.INFO: ==19616== Releasing lock...
[2025-01-10 12:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 12:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 12:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 09:56:05
[end_date_ymd] => 2025-01-10 12:56:05
[RateCDR] => 1
)
[2025-01-10 12:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 09:56:05' and `end` < '2025-01-10 12:56:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 12:56:11] Production.ERROR: CronJobId end10
[2025-01-10 12:56:11] Production.INFO: ==19610== Releasing lock...
[2025-01-10 12:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 12:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 12:56:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 12:56:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 12:56:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 12:56:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 12:56:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 12:56:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 12:56:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 12:56:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 12:56:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 12:56:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 12:56:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 12:56:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 12:56:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 12:56:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 12:56:13] Production.INFO: call_cost start
[2025-01-10 12:56:13] Production.INFO: call_cost end
[2025-01-10 12:56:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 12:56:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 12:56:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 12:56:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 12:56:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 12:56:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 12:56:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 12:56:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 12:56:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 12:56:14] Production.INFO: ==19606== Releasing lock...
[2025-01-10 12:56:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 12:56:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:56:19] Production.INFO: count ==3872
[2025-01-10 12:56:21] Production.ERROR: pbx CDR StartTime 2025-01-10 09:56:05 - End Time 2025-01-10 12:56:05
[2025-01-10 12:56:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 12:56:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217061', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:56:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217061', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:56:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217061', 'tblTempVendorCDR_20' ) start
[2025-01-10 12:56:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217061', 'tblTempVendorCDR_20' ) end
[2025-01-10 12:56:21] Production.INFO: ProcessCDR(1,14217061,1,1,2)
[2025-01-10 12:56:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217061,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:56:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217061,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:56:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217061,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:56:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217061,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:56:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217061', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:56:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217061', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:56:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:56:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:56:25] Production.INFO: ==19614== Releasing lock...
[2025-01-10 12:56:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 12:56:25] Production.INFO: 57.25 MB #Memory Used#
[2025-01-10 17:57:01] Production.INFO: ==19701== Lock acquired, processing the job...
[2025-01-10 17:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 17:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 17:57:01] Production.INFO: neon service started
[2025-01-10 17:57:01] Production.INFO: neon service started
[2025-01-10 17:57:01] Production.INFO: ==19701== Releasing lock...
[2025-01-10 17:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 17:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 17:57:02] Production.INFO: ==19705== Lock acquired, processing the job...
[2025-01-10 17:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 17:57:02] Production.INFO: ==19705== Releasing lock...
[2025-01-10 17:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 17:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 12:57:02] Production.INFO: ==19703== Lock acquired, processing the job...
[2025-01-10 12:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:57:02] Production.INFO: ==19703== Releasing lock...
[2025-01-10 12:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 12:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 12:57:03] Production.INFO: ==19709== Lock acquired, processing the job...
[2025-01-10 12:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 12:57:03] Production.INFO: ==19713== Lock acquired, processing the job...
[2025-01-10 12:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 12:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 12:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 12:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 12:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 12:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 12:57:03] Production.INFO: ==19711== Lock acquired, processing the job...
[2025-01-10 12:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 12:57:03] Production.INFO: ==19715== Lock acquired, processing the job...
[2025-01-10 12:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 12:57:03] Production.INFO: ==19717== Lock acquired, processing the job...
[2025-01-10 12:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 12:57:03] Production.INFO: ==19719== Lock acquired, processing the job...
[2025-01-10 12:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 12:57:03] Production.INFO: Account Balance Start.
[2025-01-10 12:57:03] Production.INFO: CreateAllLog Start
[2025-01-10 12:57:03] Production.INFO: 117
[2025-01-10 12:57:03] Production.INFO: Date 2025-01-08
[2025-01-10 12:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:57:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:57:03] Production.INFO: Date 2025-01-09
[2025-01-10 12:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:57:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:57:03] Production.INFO: Date 2025-01-10
[2025-01-10 12:57:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:57:03] Production.INFO: count ==21
[2025-01-10 12:57:03] Production.INFO: Total Charge 0
[2025-01-10 12:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:57:03] Production.INFO: CreateAllLog End
[2025-01-10 12:57:03] Production.INFO: count ==21
[2025-01-10 12:57:03] Production.INFO: ==19711== Releasing lock...
[2025-01-10 12:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 12:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 12:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217065') start
[2025-01-10 12:57:03] Production.ERROR: done
[2025-01-10 12:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 12:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217065') end
[2025-01-10 12:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 12:57:04] Production.INFO: 1
[2025-01-10 12:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 12:57:04] Production.ERROR: done
[2025-01-10 12:57:04] Production.INFO: Account Balance End.
[2025-01-10 12:57:04] Production.ERROR: CronJobId end 12
[2025-01-10 12:57:04] Production.INFO: ==19715== Releasing lock...
[2025-01-10 12:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 12:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 12:57:04] Production.INFO: ==19719== Releasing lock...
[2025-01-10 12:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 12:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 12:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 09:57:05
[end_date_ymd] => 2025-01-10 12:57:05
[RateCDR] => 1
)
[2025-01-10 12:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 09:57:05' and `end` < '2025-01-10 12:57:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 12:57:12] Production.ERROR: CronJobId end10
[2025-01-10 12:57:12] Production.INFO: ==19713== Releasing lock...
[2025-01-10 12:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 12:57:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 12:57:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 12:57:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 12:57:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 12:57:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 12:57:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 12:57:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 12:57:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 12:57:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 12:57:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 12:57:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 12:57:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 12:57:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 12:57:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 12:57:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 12:57:14] Production.INFO: call_cost start
[2025-01-10 12:57:14] Production.INFO: call_cost end
[2025-01-10 12:57:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 12:57:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 12:57:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 12:57:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 12:57:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 12:57:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 12:57:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 12:57:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 12:57:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 12:57:15] Production.INFO: ==19709== Releasing lock...
[2025-01-10 12:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 12:57:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:57:20] Production.INFO: count ==3888
[2025-01-10 12:57:21] Production.ERROR: pbx CDR StartTime 2025-01-10 09:57:05 - End Time 2025-01-10 12:57:05
[2025-01-10 12:57:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 12:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217066', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:57:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217066', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:57:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217066', 'tblTempVendorCDR_20' ) start
[2025-01-10 12:57:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217066', 'tblTempVendorCDR_20' ) end
[2025-01-10 12:57:22] Production.INFO: ProcessCDR(1,14217066,1,1,2)
[2025-01-10 12:57:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217066,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:57:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217066,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:57:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217066,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:57:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217066,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:57:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217066', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:57:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217066', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:57:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:57:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:57:26] Production.INFO: ==19717== Releasing lock...
[2025-01-10 12:57:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 12:57:26] Production.INFO: 57.25 MB #Memory Used#
[2025-01-10 17:58:02] Production.INFO: ==19812== Lock acquired, processing the job...
[2025-01-10 17:58:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 17:58:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 17:58:02] Production.INFO: neon service started
[2025-01-10 17:58:02] Production.INFO: neon service started
[2025-01-10 17:58:02] Production.INFO: ==19812== Releasing lock...
[2025-01-10 17:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 17:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 17:58:02] Production.INFO: ==19816== Lock acquired, processing the job...
[2025-01-10 17:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 17:58:02] Production.INFO: ==19816== Releasing lock...
[2025-01-10 17:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 17:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 12:58:02] Production.INFO: ==19814== Lock acquired, processing the job...
[2025-01-10 12:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:58:02] Production.INFO: ==19814== Releasing lock...
[2025-01-10 12:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 12:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 12:58:03] Production.INFO: ==19823== Lock acquired, processing the job...
[2025-01-10 12:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 12:58:03] Production.INFO: ==19828== Lock acquired, processing the job...
[2025-01-10 12:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 12:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 12:58:03] Production.INFO: ==19819== Lock acquired, processing the job...
[2025-01-10 12:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 12:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 12:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 12:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 12:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:58:04] Production.INFO: ==19821== Lock acquired, processing the job...
[2025-01-10 12:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 12:58:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 12:58:04] Production.INFO: ==19830== Lock acquired, processing the job...
[2025-01-10 12:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 12:58:04] Production.INFO: ==19826== Lock acquired, processing the job...
[2025-01-10 12:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 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-01-10 12:58:04] Production.INFO: count ==21
[2025-01-10 12:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:58:04] Production.INFO: Account Balance Start.
[2025-01-10 12:58:04] Production.INFO: CreateAllLog Start
[2025-01-10 12:58:04] Production.INFO: 117
[2025-01-10 12:58:04] Production.INFO: count ==21
[2025-01-10 12:58:04] Production.ERROR: done
[2025-01-10 12:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 12:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217069') start
[2025-01-10 12:58:04] Production.INFO: Date 2025-01-08
[2025-01-10 12:58:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:58:04] Production.INFO: ==19821== Releasing lock...
[2025-01-10 12:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 12:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 12:58:04] Production.INFO: Date 2025-01-09
[2025-01-10 12:58:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:58:04] Production.INFO: Date 2025-01-10
[2025-01-10 12:58:04] Production.INFO: Reseller ==> 0
[2025-01-10 12:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217069') end
[2025-01-10 12:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 12:58:04] Production.INFO: 1
[2025-01-10 12:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 12:58:04] Production.ERROR: done
[2025-01-10 12:58:04] Production.INFO: Total Charge 0
[2025-01-10 12:58:04] Production.INFO: CreateAllLog End
[2025-01-10 12:58:04] Production.INFO: ==19830== Releasing lock...
[2025-01-10 12:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 12:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 12:58:04] Production.INFO: Account Balance End.
[2025-01-10 12:58:04] Production.ERROR: CronJobId end 12
[2025-01-10 12:58:04] Production.INFO: ==19826== Releasing lock...
[2025-01-10 12:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 12:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 12:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 09:58:05
[end_date_ymd] => 2025-01-10 12:58:05
[RateCDR] => 1
)
[2025-01-10 12:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 09:58:05' and `end` < '2025-01-10 12:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 12:58:12] Production.ERROR: CronJobId end10
[2025-01-10 12:58:12] Production.INFO: ==19823== Releasing lock...
[2025-01-10 12:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 12:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 12:58:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 12:58:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 12:58:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 12:58:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 12:58:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 12:58:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 12:58:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 12:58:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 12:58:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 12:58:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 12:58:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 12:58:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 12:58:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 12:58:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 12:58:14] Production.INFO: call_cost start
[2025-01-10 12:58:14] Production.INFO: call_cost end
[2025-01-10 12:58:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 12:58:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 12:58:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 12:58:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 12:58:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 12:58:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 12:58:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 12:58:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 12:58:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 12:58:15] Production.INFO: ==19819== Releasing lock...
[2025-01-10 12:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 12:58:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:58:26] Production.INFO: count ==3868
[2025-01-10 12:58:28] Production.ERROR: pbx CDR StartTime 2025-01-10 09:58:05 - End Time 2025-01-10 12:58:05
[2025-01-10 12:58:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 12:58:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217071', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:58:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217071', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:58:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217071', 'tblTempVendorCDR_20' ) start
[2025-01-10 12:58:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217071', 'tblTempVendorCDR_20' ) end
[2025-01-10 12:58:28] Production.INFO: ProcessCDR(1,14217071,1,1,2)
[2025-01-10 12:58:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217071,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:58:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217071,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:58:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217071,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:58:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217071,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:58:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217071', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:58:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217071', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:58:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:58:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:58:32] Production.INFO: ==19828== Releasing lock...
[2025-01-10 12:58:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 12:58:32] Production.INFO: 57 MB #Memory Used#
[2025-01-10 17:59:01] Production.INFO: ==19922== Lock acquired, processing the job...
[2025-01-10 17:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 17:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 17:59:01] Production.INFO: neon service started
[2025-01-10 17:59:01] Production.INFO: neon service started
[2025-01-10 17:59:01] Production.INFO: ==19922== Releasing lock...
[2025-01-10 17:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 17:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 12:59:01] Production.INFO: ==19924== Lock acquired, processing the job...
[2025-01-10 12:59:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 12:59:02] Production.INFO: ==19924== Releasing lock...
[2025-01-10 12:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 12:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 17:59:02] Production.INFO: ==19926== Lock acquired, processing the job...
[2025-01-10 17:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 17:59:02] Production.INFO: ==19926== Releasing lock...
[2025-01-10 17:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 17:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 12:59:03] Production.INFO: ==19934== Lock acquired, processing the job...
[2025-01-10 12:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 12:59:03] Production.INFO: ==19928== Lock acquired, processing the job...
[2025-01-10 12:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 12:59:03] Production.INFO: ==19930== Lock acquired, processing the job...
[2025-01-10 12:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 12:59:03] Production.INFO: ==19938== Lock acquired, processing the job...
[2025-01-10 12:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 12:59:03] Production.INFO: Account Balance Start.
[2025-01-10 12:59:03] Production.INFO: CreateAllLog Start
[2025-01-10 12:59:03] Production.INFO: 117
[2025-01-10 12:59:03] Production.INFO: Date 2025-01-08
[2025-01-10 12:59:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 12:59:03] Production.INFO: ==19932== Lock acquired, processing the job...
[2025-01-10 12:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 12:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:59:03] Production.INFO: Date 2025-01-09
[2025-01-10 12:59:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:59:03] Production.INFO: count ==21
[2025-01-10 12:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 12:59:03] Production.INFO: count ==21
[2025-01-10 12:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217074') start
[2025-01-10 12:59:03] Production.INFO: Date 2025-01-10
[2025-01-10 12:59:03] Production.INFO: Reseller ==> 0
[2025-01-10 12:59:03] Production.INFO: Total Charge 0
[2025-01-10 12:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 12:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 12:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 12:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 12:59:03] Production.INFO: CreateAllLog End
[2025-01-10 12:59:03] Production.INFO: ==19936== Lock acquired, processing the job...
[2025-01-10 12:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 12:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217074') end
[2025-01-10 12:59:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 12:59:03] Production.INFO: 1
[2025-01-10 12:59:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 12:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 12:59:03] Production.INFO: ==19938== Releasing lock...
[2025-01-10 12:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 12:59:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 12:59:03] Production.INFO: Account Balance End.
[2025-01-10 12:59:03] Production.ERROR: CronJobId end 12
[2025-01-10 12:59:03] Production.INFO: ==19934== Releasing lock...
[2025-01-10 12:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 12:59:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 12:59:03] Production.INFO: ==19930== Releasing lock...
[2025-01-10 12:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 12:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 12:59:03] Production.ERROR: done
[2025-01-10 12:59:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 12:59:04] Production.ERROR: done
[2025-01-10 12:59:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 09:59:04
[end_date_ymd] => 2025-01-10 12:59:04
[RateCDR] => 1
)
[2025-01-10 12:59:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 09:59:04' and `end` < '2025-01-10 12:59:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 12:59:11] Production.ERROR: CronJobId end10
[2025-01-10 12:59:11] Production.INFO: ==19932== Releasing lock...
[2025-01-10 12:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 12:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 12:59:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 12:59:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 12:59:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 12:59:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 12:59:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 12:59:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 12:59:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 12:59:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 12:59:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 12:59:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 12:59:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 12:59:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 12:59:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 12:59:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 12:59:13] Production.INFO: call_cost start
[2025-01-10 12:59:13] Production.INFO: call_cost end
[2025-01-10 12:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 12:59:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 12:59:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 12:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 12:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 12:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 12:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 12:59:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 12:59:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 12:59:14] Production.INFO: ==19928== Releasing lock...
[2025-01-10 12:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 12:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 12:59:35] Production.INFO: count ==3863
[2025-01-10 12:59:37] Production.ERROR: pbx CDR StartTime 2025-01-10 09:59:04 - End Time 2025-01-10 12:59:04
[2025-01-10 12:59:37] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 12:59:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217076', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:59:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217076', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:59:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217076', 'tblTempVendorCDR_20' ) start
[2025-01-10 12:59:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217076', 'tblTempVendorCDR_20' ) end
[2025-01-10 12:59:37] Production.INFO: ProcessCDR(1,14217076,1,1,2)
[2025-01-10 12:59:37] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217076,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:59:39] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217076,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 12:59:39] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217076,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:59:42] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217076,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 12:59:42] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217076', 'tblTempUsageDetail_20' ) start
[2025-01-10 12:59:42] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217076', 'tblTempUsageDetail_20' ) end
[2025-01-10 12:59:42] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 12:59:42] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 12:59:42] Production.INFO: ==19936== Releasing lock...
[2025-01-10 12:59:42] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 12:59:42] Production.INFO: 57.25 MB #Memory Used#
[2025-01-10 18:00:02] Production.INFO: ==20027== Lock acquired, processing the job...
[2025-01-10 18:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 18:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 18:00:02] Production.INFO: neon service started
[2025-01-10 18:00:02] Production.INFO: neon service started
[2025-01-10 18:00:02] Production.INFO: ==20027== Releasing lock...
[2025-01-10 18:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 18:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 13:00:02] Production.INFO: ==20029== Lock acquired, processing the job...
[2025-01-10 13:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 13:00:02] Production.INFO: ==20029== Releasing lock...
[2025-01-10 13:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 13:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 18:00:02] Production.INFO: ==20031== Lock acquired, processing the job...
[2025-01-10 18:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 18:00:03] Production.INFO: ==20031== Releasing lock...
[2025-01-10 18:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 18:00:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 13:00:03] Production.INFO: ==20041== Lock acquired, processing the job...
[2025-01-10 13:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 13:00:04] Production.INFO: ==20046== Lock acquired, processing the job...
[2025-01-10 13:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 13:00:04] Production.INFO: ==20048== Lock acquired, processing the job...
[2025-01-10 13:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 13:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:00:04] Production.INFO: Account Balance Start.
[2025-01-10 13:00:04] Production.INFO: CreateAllLog Start
[2025-01-10 13:00:04] Production.INFO: ==20033== Lock acquired, processing the job...
[2025-01-10 13:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 13:00:04] Production.INFO: 117
[2025-01-10 13:00:04] Production.INFO: Date 2025-01-08
[2025-01-10 13:00:04] Production.INFO: ==20035== Lock acquired, processing the job...
[2025-01-10 13:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 13:00:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:00:04] Production.INFO: ==20039== Lock acquired, processing the job...
[2025-01-10 13:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 13:00:04] Production.INFO: ==20037== Lock acquired, processing the job...
[2025-01-10 13:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 13:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 13:00:04] Production.INFO: Date 2025-01-09
[2025-01-10 13:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 13:00:04] Production.ERROR: CronJob PID - 20035
[2025-01-10 13:00:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-10 13:00:04] Production.ERROR: CronJob ID - 5
[2025-01-10 13:00:04] Production.ERROR: CronJob Last Run Time 2025-01-10 13:00:00
[2025-01-10 13:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 13:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 13:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 13:00:04] Production.ERROR: CronJob PID - 20039
[2025-01-10 13:00:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-10 13:00:04] Production.ERROR: CronJob ID - 10
[2025-01-10 13:00:04] Production.ERROR: CronJob Last Run Time 2025-01-10 13:00:00
[2025-01-10 13:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 13:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 13:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 13:00:04] Production.ERROR: CronJob PID - 20041
[2025-01-10 13:00:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-10 13:00:04] Production.ERROR: CronJob ID - 12
[2025-01-10 13:00:04] Production.ERROR: CronJob Last Run Time 2025-01-10 13:00:00
[2025-01-10 13:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 13:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 13:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 13:00:04] Production.ERROR: CronJob PID - 20046
[2025-01-10 13:00:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-10 13:00:04] Production.ERROR: CronJob ID - 17
[2025-01-10 13:00:04] Production.ERROR: CronJob Last Run Time 2025-01-10 13:00:00
[2025-01-10 13:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 13:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 13:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 13:00:04] Production.ERROR: CronJob PID - 20048
[2025-01-10 13:00:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-10 13:00:04] Production.ERROR: CronJob ID - 19
[2025-01-10 13:00:04] Production.ERROR: CronJob Last Run Time 2025-01-10 13:00:00
[2025-01-10 13:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 13:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 13:00:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:00:04] Production.INFO: ==20043== Lock acquired, processing the job...
[2025-01-10 13:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 13:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 13:00:04] Production.INFO: Date 2025-01-10
[2025-01-10 13:00:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 13:00:04] Production.INFO: ==20033== Releasing lock...
[2025-01-10 13:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 13:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 13:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 13:00:04] Production.INFO: Total Charge 0
[2025-01-10 13:00:04] Production.INFO: count ==21
[2025-01-10 13:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 13:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 13:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 13:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:00:04] Production.INFO: CreateAllLog End
[2025-01-10 13:00:04] Production.INFO: count ==21
[2025-01-10 13:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217078') start
[2025-01-10 13:00:04] Production.ERROR: done
[2025-01-10 13:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 13:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14217081', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 13:00:04] Production.INFO: Account Balance End.
[2025-01-10 13:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217078') end
[2025-01-10 13:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 13:00:04] Production.INFO: 1
[2025-01-10 13:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 13:00:04] Production.ERROR: CronJobId end 12
[2025-01-10 13:00:04] Production.INFO: ==20041== Releasing lock...
[2025-01-10 13:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 13:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 13:00:04] Production.INFO: ==20037== Releasing lock...
[2025-01-10 13:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 13:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 13:00:04] Production.INFO: ==20048== Releasing lock...
[2025-01-10 13:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 13:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 13:00:04] Production.ERROR: done
[2025-01-10 13:00:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 13:00:05] Production.ERROR: done
[2025-01-10 13:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 10:00:06
[end_date_ymd] => 2025-01-10 13:00:06
[RateCDR] => 1
)
[2025-01-10 13:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 10:00:06' and `end` < '2025-01-10 13:00:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 13:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14217081', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 13:00:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 13:00:08] Production.INFO: ProcessCDR(1,14217081,1,1,2)
[2025-01-10 13:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14217081,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14217081,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:00:09] Production.INFO: ==20046== Releasing lock...
[2025-01-10 13:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 13:00:09] Production.INFO: 26 MB #Memory Used#
[2025-01-10 13:00:14] Production.ERROR: CronJobId end10
[2025-01-10 13:00:14] Production.INFO: ==20039== Releasing lock...
[2025-01-10 13:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 13:00:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 13:00:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 13:00:15] Production.INFO: ============== Balance Warning START===========
[2025-01-10 13:00:15] Production.INFO: ============== Balance Warning END===========
[2025-01-10 13:00:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 13:00:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 13:00:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 13:00:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 13:00:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 13:00:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 13:00:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 13:00:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 13:00:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 13:00:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 13:00:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 13:00:15] Production.INFO: call_cost start
[2025-01-10 13:00:15] Production.INFO: call_cost end
[2025-01-10 13:00:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 13:00:16] Production.INFO: ============== Report Schedule START===========
[2025-01-10 13:00:16] Production.INFO: ============== Report Schedule END===========
[2025-01-10 13:00:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 13:00:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 13:00:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 13:00:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 13:00:16] Production.INFO: ============== Deal alert START===========
[2025-01-10 13:00:16] Production.INFO: ============== Deal alert END===========
[2025-01-10 13:00:16] Production.INFO: ==20035== Releasing lock...
[2025-01-10 13:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 13:00:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 13:00:29] Production.INFO: count ==3857
[2025-01-10 13:00:31] Production.ERROR: pbx CDR StartTime 2025-01-10 10:00:06 - End Time 2025-01-10 13:00:06
[2025-01-10 13:00:31] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 13:00:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217082', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:00:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217082', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:00:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217082', 'tblTempVendorCDR_20' ) start
[2025-01-10 13:00:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217082', 'tblTempVendorCDR_20' ) end
[2025-01-10 13:00:31] Production.INFO: ProcessCDR(1,14217082,1,1,2)
[2025-01-10 13:00:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217082,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:00:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217082,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:00:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217082,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:00:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217082,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:00:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217082', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:00:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217082', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:00:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:00:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:00:34] Production.INFO: ==20043== Releasing lock...
[2025-01-10 13:00:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 13:00:34] Production.INFO: 56.75 MB #Memory Used#
[2025-01-10 18:01:01] Production.INFO: ==20146== Lock acquired, processing the job...
[2025-01-10 18:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 18:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 18:01:01] Production.INFO: neon service started
[2025-01-10 18:01:01] Production.INFO: neon service started
[2025-01-10 18:01:01] Production.INFO: ==20146== Releasing lock...
[2025-01-10 18:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 18:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 13:01:02] Production.INFO: ==20150== Lock acquired, processing the job...
[2025-01-10 13:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 13:01:02] Production.INFO: ==20150== Releasing lock...
[2025-01-10 13:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 13:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 18:01:02] Production.INFO: ==20152== Lock acquired, processing the job...
[2025-01-10 18:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 18:01:02] Production.INFO: ==20152== Releasing lock...
[2025-01-10 18:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 18:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 13:01:03] Production.INFO: ==20165== Lock acquired, processing the job...
[2025-01-10 13:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 13:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:01:03] Production.INFO: ==20167== Lock acquired, processing the job...
[2025-01-10 13:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 13:01:03] Production.INFO: ==20156== Lock acquired, processing the job...
[2025-01-10 13:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 13:01:03] Production.INFO: ==20158== Lock acquired, processing the job...
[2025-01-10 13:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 13:01:03] Production.INFO: ==20160== Lock acquired, processing the job...
[2025-01-10 13:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 13:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 13:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:01:03] Production.INFO: ==20163== Lock acquired, processing the job...
[2025-01-10 13:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 13:01:03] Production.INFO: count ==21
[2025-01-10 13:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:01:03] Production.INFO: count ==21
[2025-01-10 13:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217083') start
[2025-01-10 13:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 13:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 13:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 13:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 13:01:03] Production.ERROR: done
[2025-01-10 13:01:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 13:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217083') end
[2025-01-10 13:01:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 13:01:03] Production.INFO: 1
[2025-01-10 13:01:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 13:01:03] Production.INFO: Account Balance Start.
[2025-01-10 13:01:03] Production.INFO: CreateAllLog Start
[2025-01-10 13:01:03] Production.INFO: 117
[2025-01-10 13:01:03] Production.ERROR: done
[2025-01-10 13:01:03] Production.INFO: Date 2025-01-08
[2025-01-10 13:01:03] Production.INFO: ==20167== Releasing lock...
[2025-01-10 13:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 13:01:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 13:01:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:01:03] Production.INFO: ==20158== Releasing lock...
[2025-01-10 13:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 13:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 13:01:03] Production.INFO: Date 2025-01-09
[2025-01-10 13:01:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:01:04] Production.INFO: Date 2025-01-10
[2025-01-10 13:01:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:01:04] Production.INFO: Total Charge 0
[2025-01-10 13:01:04] Production.INFO: CreateAllLog End
[2025-01-10 13:01:04] Production.INFO: Account Balance End.
[2025-01-10 13:01:04] Production.ERROR: CronJobId end 12
[2025-01-10 13:01:04] Production.INFO: ==20163== Releasing lock...
[2025-01-10 13:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 13:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 13:01:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 10:01:04
[end_date_ymd] => 2025-01-10 13:01:04
[RateCDR] => 1
)
[2025-01-10 13:01:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 10:01:04' and `end` < '2025-01-10 13:01:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 13:01:12] Production.ERROR: CronJobId end10
[2025-01-10 13:01:12] Production.INFO: ==20160== Releasing lock...
[2025-01-10 13:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 13:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 13:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 13:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 13:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 13:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 13:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 13:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 13:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 13:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 13:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 13:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 13:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 13:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 13:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 13:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 13:01:14] Production.INFO: call_cost start
[2025-01-10 13:01:14] Production.INFO: call_cost end
[2025-01-10 13:01:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 13:01:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 13:01:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 13:01:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 13:01:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 13:01:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 13:01:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 13:01:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 13:01:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 13:01:15] Production.INFO: ==20156== Releasing lock...
[2025-01-10 13:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 13:01:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 13:01:26] Production.INFO: count ==3973
[2025-01-10 13:01:28] Production.ERROR: pbx CDR StartTime 2025-01-10 10:01:04 - End Time 2025-01-10 13:01:04
[2025-01-10 13:01:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 13:01:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217087', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:01:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217087', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:01:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217087', 'tblTempVendorCDR_20' ) start
[2025-01-10 13:01:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217087', 'tblTempVendorCDR_20' ) end
[2025-01-10 13:01:28] Production.INFO: ProcessCDR(1,14217087,1,1,2)
[2025-01-10 13:01:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217087,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:01:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217087,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:01:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217087,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:01:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217087,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:01:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217087', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:01:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217087', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:01:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:01:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:01:33] Production.INFO: ==20165== Releasing lock...
[2025-01-10 13:01:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 13:01:33] Production.INFO: 57.75 MB #Memory Used#
[2025-01-10 18:02:02] Production.INFO: ==20270== Lock acquired, processing the job...
[2025-01-10 18:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 18:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 18:02:02] Production.INFO: neon service started
[2025-01-10 18:02:02] Production.INFO: neon service started
[2025-01-10 18:02:02] Production.INFO: ==20270== Releasing lock...
[2025-01-10 18:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 18:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 18:02:02] Production.INFO: ==20274== Lock acquired, processing the job...
[2025-01-10 18:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 18:02:02] Production.INFO: ==20274== Releasing lock...
[2025-01-10 18:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 18:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 13:02:02] Production.INFO: ==20272== Lock acquired, processing the job...
[2025-01-10 13:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 13:02:02] Production.INFO: ==20272== Releasing lock...
[2025-01-10 13:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 13:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 13:02:03] Production.INFO: ==20285== Lock acquired, processing the job...
[2025-01-10 13:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 13:02:03] Production.INFO: ==20280== Lock acquired, processing the job...
[2025-01-10 13:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 13:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:02:03] Production.INFO: ==20276== Lock acquired, processing the job...
[2025-01-10 13:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 13:02:03] Production.INFO: ==20278== Lock acquired, processing the job...
[2025-01-10 13:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 13:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 13:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 13:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 13:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 13:02:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 13:02:04] Production.INFO: ==20283== Lock acquired, processing the job...
[2025-01-10 13:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 13:02:04] Production.ERROR: done
[2025-01-10 13:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 13:02:04] Production.INFO: ==20287== Lock acquired, processing the job...
[2025-01-10 13:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 13:02:04] Production.ERROR: done
[2025-01-10 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-01-10 13:02:04] Production.INFO: Account Balance Start.
[2025-01-10 13:02:04] Production.INFO: CreateAllLog Start
[2025-01-10 13:02:04] Production.INFO: 117
[2025-01-10 13:02:04] Production.INFO: count ==21
[2025-01-10 13:02:04] Production.INFO: Date 2025-01-08
[2025-01-10 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-01-10 13:02:04] Production.INFO: count ==21
[2025-01-10 13:02:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217090') start
[2025-01-10 13:02:04] Production.INFO: Date 2025-01-09
[2025-01-10 13:02:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:02:04] Production.INFO: Date 2025-01-10
[2025-01-10 13:02:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217090') end
[2025-01-10 13:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 13:02:04] Production.INFO: 1
[2025-01-10 13:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 13:02:04] Production.INFO: Total Charge 0
[2025-01-10 13:02:04] Production.INFO: ==20278== Releasing lock...
[2025-01-10 13:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 13:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 13:02:04] Production.INFO: ==20287== Releasing lock...
[2025-01-10 13:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 13:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 13:02:04] Production.INFO: CreateAllLog End
[2025-01-10 13:02:04] Production.INFO: Account Balance End.
[2025-01-10 13:02:04] Production.ERROR: CronJobId end 12
[2025-01-10 13:02:04] Production.INFO: ==20283== Releasing lock...
[2025-01-10 13:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 13:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 13:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 10:02:05
[end_date_ymd] => 2025-01-10 13:02:05
[RateCDR] => 1
)
[2025-01-10 13:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 10:02:05' and `end` < '2025-01-10 13:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 13:02:11] Production.ERROR: CronJobId end10
[2025-01-10 13:02:11] Production.INFO: ==20280== Releasing lock...
[2025-01-10 13:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 13:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 13:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 13:02:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 13:02:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 13:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 13:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 13:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 13:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 13:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 13:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 13:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 13:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 13:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 13:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 13:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 13:02:13] Production.INFO: call_cost start
[2025-01-10 13:02:13] Production.INFO: call_cost end
[2025-01-10 13:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 13:02:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 13:02:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 13:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 13:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 13:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 13:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 13:02:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 13:02:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 13:02:14] Production.INFO: ==20276== Releasing lock...
[2025-01-10 13:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 13:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 13:02:32] Production.INFO: count ==3956
[2025-01-10 13:02:34] Production.ERROR: pbx CDR StartTime 2025-01-10 10:02:05 - End Time 2025-01-10 13:02:05
[2025-01-10 13:02:34] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 13:02:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217091', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:02:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217091', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:02:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217091', 'tblTempVendorCDR_20' ) start
[2025-01-10 13:02:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217091', 'tblTempVendorCDR_20' ) end
[2025-01-10 13:02:35] Production.INFO: ProcessCDR(1,14217091,1,1,2)
[2025-01-10 13:02:35] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217091,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:02:37] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217091,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:02:37] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217091,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:02:40] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217091,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:02:40] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217091', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:02:40] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217091', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:02:40] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:02:40] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:02:40] Production.INFO: ==20285== Releasing lock...
[2025-01-10 13:02:40] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 13:02:40] Production.INFO: 57.5 MB #Memory Used#
[2025-01-10 18:03:01] Production.INFO: ==20349== Lock acquired, processing the job...
[2025-01-10 18:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 18:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 18:03:01] Production.INFO: neon service started
[2025-01-10 18:03:01] Production.INFO: neon service started
[2025-01-10 18:03:01] Production.INFO: ==20349== Releasing lock...
[2025-01-10 18:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 18:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 13:03:02] Production.INFO: ==20351== Lock acquired, processing the job...
[2025-01-10 13:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 18:03:02] Production.INFO: ==20353== Lock acquired, processing the job...
[2025-01-10 18:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 18:03:02] Production.INFO: ==20353== Releasing lock...
[2025-01-10 18:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 18:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 13:03:02] Production.INFO: ==20351== Releasing lock...
[2025-01-10 13:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 13:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 13:03:03] Production.INFO: ==20356== Lock acquired, processing the job...
[2025-01-10 13:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 13:03:03] Production.INFO: ==20358== Lock acquired, processing the job...
[2025-01-10 13:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 13:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 13:03:03] Production.INFO: ==20364== Lock acquired, processing the job...
[2025-01-10 13:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 13:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:03:03] Production.INFO: ==20360== Lock acquired, processing the job...
[2025-01-10 13:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 13:03:03] Production.INFO: ==20362== Lock acquired, processing the job...
[2025-01-10 13:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 13:03:03] Production.INFO: ==20366== Lock acquired, processing the job...
[2025-01-10 13:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 13:03:03] Production.INFO: ==20358== Releasing lock...
[2025-01-10 13:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 13:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 13:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 13:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 13:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 13:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 13:03:03] Production.ERROR: done
[2025-01-10 13:03:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 13:03:03] Production.INFO: Account Balance Start.
[2025-01-10 13:03:03] Production.INFO: CreateAllLog Start
[2025-01-10 13:03:03] Production.INFO: 117
[2025-01-10 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-01-10 13:03:03] Production.INFO: Date 2025-01-08
[2025-01-10 13:03:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:03:03] Production.INFO: count ==21
[2025-01-10 13:03:03] Production.ERROR: done
[2025-01-10 13:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:03:04] Production.INFO: count ==21
[2025-01-10 13:03:04] Production.INFO: Date 2025-01-09
[2025-01-10 13:03:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217096') start
[2025-01-10 13:03:04] Production.INFO: Date 2025-01-10
[2025-01-10 13:03:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:03:04] Production.INFO: Total Charge 0
[2025-01-10 13:03:04] Production.INFO: CreateAllLog End
[2025-01-10 13:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217096') end
[2025-01-10 13:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 13:03:04] Production.INFO: 1
[2025-01-10 13:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 13:03:04] Production.INFO: ==20366== Releasing lock...
[2025-01-10 13:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 13:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 13:03:04] Production.INFO: Account Balance End.
[2025-01-10 13:03:04] Production.ERROR: CronJobId end 12
[2025-01-10 13:03:04] Production.INFO: ==20362== Releasing lock...
[2025-01-10 13:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 13:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 13:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 10:03:05
[end_date_ymd] => 2025-01-10 13:03:05
[RateCDR] => 1
)
[2025-01-10 13:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 10:03:05' and `end` < '2025-01-10 13:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 13:03:11] Production.ERROR: CronJobId end10
[2025-01-10 13:03:11] Production.INFO: ==20360== Releasing lock...
[2025-01-10 13:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 13:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 13:03:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 13:03:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 13:03:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 13:03:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 13:03:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 13:03:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 13:03:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 13:03:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 13:03:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 13:03:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 13:03:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 13:03:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 13:03:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 13:03:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 13:03:12] Production.INFO: call_cost start
[2025-01-10 13:03:12] Production.INFO: call_cost end
[2025-01-10 13:03:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 13:03:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 13:03:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 13:03:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 13:03:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 13:03:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 13:03:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 13:03:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 13:03:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 13:03:13] Production.INFO: ==20356== Releasing lock...
[2025-01-10 13:03:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 13:03:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 13:03:25] Production.INFO: count ==3957
[2025-01-10 13:03:27] Production.ERROR: pbx CDR StartTime 2025-01-10 10:03:05 - End Time 2025-01-10 13:03:05
[2025-01-10 13:03:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 13:03:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217097', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:03:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217097', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:03:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217097', 'tblTempVendorCDR_20' ) start
[2025-01-10 13:03:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217097', 'tblTempVendorCDR_20' ) end
[2025-01-10 13:03:27] Production.INFO: ProcessCDR(1,14217097,1,1,2)
[2025-01-10 13:03:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217097,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:03:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217097,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:03:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217097,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:03:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217097,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:03:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217097', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:03:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217097', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:03:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:03:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:03:30] Production.INFO: ==20364== Releasing lock...
[2025-01-10 13:03:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 13:03:30] Production.INFO: 57.5 MB #Memory Used#
[2025-01-10 18:04:01] Production.INFO: ==20420== Lock acquired, processing the job...
[2025-01-10 18:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 18:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 18:04:01] Production.INFO: neon service started
[2025-01-10 18:04:01] Production.INFO: neon service started
[2025-01-10 18:04:01] Production.INFO: ==20420== Releasing lock...
[2025-01-10 18:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 18:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 13:04:02] Production.INFO: ==20422== Lock acquired, processing the job...
[2025-01-10 13:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 18:04:02] Production.INFO: ==20424== Lock acquired, processing the job...
[2025-01-10 18:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 18:04:02] Production.INFO: ==20424== Releasing lock...
[2025-01-10 18:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 18:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 13:04:02] Production.INFO: ==20422== Releasing lock...
[2025-01-10 13:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 13:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 13:04:03] Production.INFO: ==20427== Lock acquired, processing the job...
[2025-01-10 13:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 13:04:03] Production.INFO: ==20431== Lock acquired, processing the job...
[2025-01-10 13:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 13:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 13:04:03] Production.INFO: ==20435== Lock acquired, processing the job...
[2025-01-10 13:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 13:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 13:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 13:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 13:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 13:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:04:03] Production.INFO: ==20429== Lock acquired, processing the job...
[2025-01-10 13:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 13:04:03] Production.INFO: ==20433== Lock acquired, processing the job...
[2025-01-10 13:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 13:04:04] Production.INFO: ==20437== Lock acquired, processing the job...
[2025-01-10 13:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 13:04:04] Production.ERROR: done
[2025-01-10 13:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 13:04:04] Production.INFO: Account Balance Start.
[2025-01-10 13:04:04] Production.INFO: CreateAllLog Start
[2025-01-10 13:04:04] Production.INFO: 117
[2025-01-10 13:04:04] Production.INFO: Date 2025-01-08
[2025-01-10 13:04:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:04:04] Production.INFO: Date 2025-01-09
[2025-01-10 13:04:04] Production.ERROR: done
[2025-01-10 13:04:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:04:04] Production.INFO: Date 2025-01-10
[2025-01-10 13:04:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:04:04] Production.INFO: Total Charge 0
[2025-01-10 13:04:04] Production.INFO: CreateAllLog End
[2025-01-10 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-01-10 13:04:04] Production.INFO: ==20429== Releasing lock...
[2025-01-10 13:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 13:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 13:04:04] Production.INFO: count ==21
[2025-01-10 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-01-10 13:04:04] Production.INFO: count ==21
[2025-01-10 13:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217101') start
[2025-01-10 13:04:04] Production.INFO: Account Balance End.
[2025-01-10 13:04:04] Production.ERROR: CronJobId end 12
[2025-01-10 13:04:04] Production.INFO: ==20433== Releasing lock...
[2025-01-10 13:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 13:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 13:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217101') end
[2025-01-10 13:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 13:04:04] Production.INFO: 1
[2025-01-10 13:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 13:04:04] Production.INFO: ==20437== Releasing lock...
[2025-01-10 13:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 13:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 13:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 10:04:05
[end_date_ymd] => 2025-01-10 13:04:05
[RateCDR] => 1
)
[2025-01-10 13:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 10:04:05' and `end` < '2025-01-10 13:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 13:04:12] Production.ERROR: CronJobId end10
[2025-01-10 13:04:12] Production.INFO: ==20431== Releasing lock...
[2025-01-10 13:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 13:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 13:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 13:04:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 13:04:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 13:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 13:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 13:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 13:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 13:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 13:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 13:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 13:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 13:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 13:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 13:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 13:04:13] Production.INFO: call_cost start
[2025-01-10 13:04:13] Production.INFO: call_cost end
[2025-01-10 13:04:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 13:04:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 13:04:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 13:04:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 13:04:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 13:04:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 13:04:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 13:04:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 13:04:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 13:04:14] Production.INFO: ==20427== Releasing lock...
[2025-01-10 13:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 13:04:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 13:04:22] Production.INFO: count ==3961
[2025-01-10 13:04:24] Production.ERROR: pbx CDR StartTime 2025-01-10 10:04:05 - End Time 2025-01-10 13:04:05
[2025-01-10 13:04:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 13:04:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217102', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:04:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217102', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:04:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217102', 'tblTempVendorCDR_20' ) start
[2025-01-10 13:04:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217102', 'tblTempVendorCDR_20' ) end
[2025-01-10 13:04:24] Production.INFO: ProcessCDR(1,14217102,1,1,2)
[2025-01-10 13:04:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217102,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:04:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217102,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:04:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217102,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:04:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217102,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:04:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217102', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:04:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217102', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:04:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:04:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:04:29] Production.INFO: ==20435== Releasing lock...
[2025-01-10 13:04:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 13:04:29] Production.INFO: 57.75 MB #Memory Used#
[2025-01-10 18:05:01] Production.INFO: ==20501== Lock acquired, processing the job...
[2025-01-10 18:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 18:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 18:05:01] Production.INFO: neon service started
[2025-01-10 18:05:01] Production.INFO: neon service started
[2025-01-10 18:05:01] Production.INFO: ==20501== Releasing lock...
[2025-01-10 18:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 18:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 13:05:02] Production.INFO: ==20503== Lock acquired, processing the job...
[2025-01-10 13:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 18:05:02] Production.INFO: ==20505== Lock acquired, processing the job...
[2025-01-10 18:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 18:05:02] Production.INFO: ==20505== Releasing lock...
[2025-01-10 18:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 18:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 13:05:02] Production.INFO: ==20503== Releasing lock...
[2025-01-10 13:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 13:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 13:05:03] Production.INFO: ==20508== Lock acquired, processing the job...
[2025-01-10 13:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 13:05:03] Production.INFO: ==20512== Lock acquired, processing the job...
[2025-01-10 13:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 13:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 13:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 13:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 13:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 13:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 13:05:03] Production.INFO: ==20516== Lock acquired, processing the job...
[2025-01-10 13:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 13:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:05:03] Production.INFO: ==20510== Lock acquired, processing the job...
[2025-01-10 13:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 13:05:03] Production.INFO: ==20518== Lock acquired, processing the job...
[2025-01-10 13:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 13:05:03] Production.INFO: ==20514== Lock acquired, processing the job...
[2025-01-10 13:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 13:05:03] Production.ERROR: done
[2025-01-10 13:05:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 13:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:05:03] Production.INFO: Account Balance Start.
[2025-01-10 13:05:03] Production.INFO: CreateAllLog Start
[2025-01-10 13:05:03] Production.INFO: 117
[2025-01-10 13:05:03] Production.INFO: count ==21
[2025-01-10 13:05:03] Production.ERROR: done
[2025-01-10 13:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:05:03] Production.INFO: count ==21
[2025-01-10 13:05:03] Production.INFO: Date 2025-01-08
[2025-01-10 13:05:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217106') start
[2025-01-10 13:05:03] Production.INFO: Date 2025-01-09
[2025-01-10 13:05:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:05:03] Production.INFO: Date 2025-01-10
[2025-01-10 13:05:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:05:04] Production.INFO: Total Charge 0
[2025-01-10 13:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217106') end
[2025-01-10 13:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 13:05:04] Production.INFO: 1
[2025-01-10 13:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 13:05:04] Production.INFO: CreateAllLog End
[2025-01-10 13:05:04] Production.INFO: ==20510== Releasing lock...
[2025-01-10 13:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 13:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 13:05:04] Production.INFO: ==20518== Releasing lock...
[2025-01-10 13:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 13:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 13:05:04] Production.INFO: Account Balance End.
[2025-01-10 13:05:04] Production.ERROR: CronJobId end 12
[2025-01-10 13:05:04] Production.INFO: ==20514== Releasing lock...
[2025-01-10 13:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 13:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 13:05:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 10:05:04
[end_date_ymd] => 2025-01-10 13:05:04
[RateCDR] => 1
)
[2025-01-10 13:05:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 10:05:04' and `end` < '2025-01-10 13:05:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 13:05:11] Production.ERROR: CronJobId end10
[2025-01-10 13:05:11] Production.INFO: ==20512== Releasing lock...
[2025-01-10 13:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 13:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 13:05:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 13:05:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 13:05:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 13:05:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 13:05:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 13:05:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 13:05:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 13:05:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 13:05:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 13:05:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 13:05:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 13:05:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 13:05:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 13:05:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 13:05:13] Production.INFO: call_cost start
[2025-01-10 13:05:13] Production.INFO: call_cost end
[2025-01-10 13:05:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 13:05:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 13:05:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 13:05:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 13:05:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 13:05:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 13:05:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 13:05:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 13:05:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 13:05:13] Production.INFO: ==20508== Releasing lock...
[2025-01-10 13:05:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 13:05:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 13:05:24] Production.INFO: count ==3976
[2025-01-10 13:05:26] Production.ERROR: pbx CDR StartTime 2025-01-10 10:05:04 - End Time 2025-01-10 13:05:04
[2025-01-10 13:05:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 13:05:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217107', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:05:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217107', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:05:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217107', 'tblTempVendorCDR_20' ) start
[2025-01-10 13:05:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217107', 'tblTempVendorCDR_20' ) end
[2025-01-10 13:05:26] Production.INFO: ProcessCDR(1,14217107,1,1,2)
[2025-01-10 13:05:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217107,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:05:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217107,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:05:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217107,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:05:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217107,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:05:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217107', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:05:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217107', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:05:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:05:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:05:31] Production.INFO: ==20516== Releasing lock...
[2025-01-10 13:05:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 13:05:31] Production.INFO: 57.75 MB #Memory Used#
[2025-01-10 18:06:02] Production.INFO: ==20580== Lock acquired, processing the job...
[2025-01-10 18:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 18:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 18:06:02] Production.INFO: neon service started
[2025-01-10 18:06:02] Production.INFO: neon service started
[2025-01-10 18:06:02] Production.INFO: ==20580== Releasing lock...
[2025-01-10 18:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 18:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 13:06:02] Production.INFO: ==20582== Lock acquired, processing the job...
[2025-01-10 13:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 13:06:02] Production.INFO: ==20582== Releasing lock...
[2025-01-10 13:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 13:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 18:06:02] Production.INFO: ==20584== Lock acquired, processing the job...
[2025-01-10 18:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 18:06:02] Production.INFO: ==20584== Releasing lock...
[2025-01-10 18:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 18:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 13:06:03] Production.INFO: ==20594== Lock acquired, processing the job...
[2025-01-10 13:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 13:06:03] Production.INFO: ==20592== Lock acquired, processing the job...
[2025-01-10 13:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 13:06:03] Production.INFO: ==20586== Lock acquired, processing the job...
[2025-01-10 13:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 13:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:06:03] Production.INFO: ==20588== Lock acquired, processing the job...
[2025-01-10 13:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 13:06:03] Production.INFO: ==20590== Lock acquired, processing the job...
[2025-01-10 13:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 13:06:03] Production.INFO: Account Balance Start.
[2025-01-10 13:06:03] Production.INFO: CreateAllLog Start
[2025-01-10 13:06:03] Production.INFO: 117
[2025-01-10 13:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 13:06:03] Production.INFO: Date 2025-01-08
[2025-01-10 13:06:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:06:03] Production.INFO: ==20596== Lock acquired, processing the job...
[2025-01-10 13:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 13:06:03] Production.INFO: Date 2025-01-09
[2025-01-10 13:06:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 13:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 13:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 13:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 13:06:03] Production.INFO: Date 2025-01-10
[2025-01-10 13:06:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:06:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:06:03] Production.ERROR: done
[2025-01-10 13:06:03] Production.INFO: count ==21
[2025-01-10 13:06:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 13:06:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:06:03] Production.INFO: Total Charge 0
[2025-01-10 13:06:03] Production.INFO: count ==21
[2025-01-10 13:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217110') start
[2025-01-10 13:06:04] Production.INFO: CreateAllLog End
[2025-01-10 13:06:04] Production.ERROR: done
[2025-01-10 13:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217110') end
[2025-01-10 13:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 13:06:04] Production.INFO: 1
[2025-01-10 13:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 13:06:04] Production.INFO: ==20588== Releasing lock...
[2025-01-10 13:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 13:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 13:06:04] Production.INFO: ==20596== Releasing lock...
[2025-01-10 13:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 13:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 13:06:04] Production.INFO: Account Balance End.
[2025-01-10 13:06:04] Production.ERROR: CronJobId end 12
[2025-01-10 13:06:04] Production.INFO: ==20592== Releasing lock...
[2025-01-10 13:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 13:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 13:06:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 10:06:04
[end_date_ymd] => 2025-01-10 13:06:04
[RateCDR] => 1
)
[2025-01-10 13:06:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 10:06:04' and `end` < '2025-01-10 13:06:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 13:06:10] Production.ERROR: CronJobId end10
[2025-01-10 13:06:10] Production.INFO: ==20590== Releasing lock...
[2025-01-10 13:06:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 13:06:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 13:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 13:06:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 13:06:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 13:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 13:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 13:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 13:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 13:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 13:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 13:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 13:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 13:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 13:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 13:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 13:06:13] Production.INFO: call_cost start
[2025-01-10 13:06:13] Production.INFO: call_cost end
[2025-01-10 13:06:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 13:06:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 13:06:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 13:06:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 13:06:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 13:06:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 13:06:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 13:06:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 13:06:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 13:06:14] Production.INFO: ==20586== Releasing lock...
[2025-01-10 13:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 13:06:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 13:06:23] Production.INFO: count ==3995
[2025-01-10 13:06:25] Production.ERROR: pbx CDR StartTime 2025-01-10 10:06:04 - End Time 2025-01-10 13:06:04
[2025-01-10 13:06:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 13:06:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217112', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:06:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217112', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:06:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217112', 'tblTempVendorCDR_20' ) start
[2025-01-10 13:06:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217112', 'tblTempVendorCDR_20' ) end
[2025-01-10 13:06:25] Production.INFO: ProcessCDR(1,14217112,1,1,2)
[2025-01-10 13:06:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217112,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:06:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217112,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:06:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217112,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:06:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217112,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:06:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217112', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:06:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217112', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:06:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:06:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:06:30] Production.INFO: ==20594== Releasing lock...
[2025-01-10 13:06:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 13:06:30] Production.INFO: 58 MB #Memory Used#
[2025-01-10 18:07:01] Production.INFO: ==20660== Lock acquired, processing the job...
[2025-01-10 18:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 18:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 18:07:01] Production.INFO: neon service started
[2025-01-10 18:07:01] Production.INFO: neon service started
[2025-01-10 18:07:01] Production.INFO: ==20660== Releasing lock...
[2025-01-10 18:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 18:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 13:07:01] Production.INFO: ==20665== Lock acquired, processing the job...
[2025-01-10 13:07:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 13:07:02] Production.INFO: ==20665== Releasing lock...
[2025-01-10 13:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 13:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 18:07:02] Production.INFO: ==20667== Lock acquired, processing the job...
[2025-01-10 18:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 18:07:02] Production.INFO: ==20667== Releasing lock...
[2025-01-10 18:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 18:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 13:07:03] Production.INFO: ==20673== Lock acquired, processing the job...
[2025-01-10 13:07:03] Production.INFO: ==20669== Lock acquired, processing the job...
[2025-01-10 13:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 13:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 13:07:03] Production.INFO: ==20679== Lock acquired, processing the job...
[2025-01-10 13:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 13:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 13:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 13:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 13:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 13:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 13:07:03] Production.INFO: ==20671== Lock acquired, processing the job...
[2025-01-10 13:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 13:07:03] Production.INFO: ==20675== Lock acquired, processing the job...
[2025-01-10 13:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 13:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:07:03] Production.INFO: count ==21
[2025-01-10 13:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:07:03] Production.INFO: ==20677== Lock acquired, processing the job...
[2025-01-10 13:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 13:07:03] Production.INFO: count ==21
[2025-01-10 13:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217114') start
[2025-01-10 13:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:07:03] Production.INFO: Account Balance Start.
[2025-01-10 13:07:03] Production.INFO: CreateAllLog Start
[2025-01-10 13:07:03] Production.INFO: 117
[2025-01-10 13:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217114') end
[2025-01-10 13:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 13:07:03] Production.INFO: 1
[2025-01-10 13:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 13:07:03] Production.INFO: Date 2025-01-08
[2025-01-10 13:07:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:07:03] Production.INFO: ==20679== Releasing lock...
[2025-01-10 13:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 13:07:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 13:07:03] Production.INFO: ==20671== Releasing lock...
[2025-01-10 13:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 13:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 13:07:03] Production.INFO: Date 2025-01-09
[2025-01-10 13:07:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:07:03] Production.INFO: Date 2025-01-10
[2025-01-10 13:07:03] Production.ERROR: done
[2025-01-10 13:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 13:07:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:07:03] Production.INFO: Total Charge 0
[2025-01-10 13:07:03] Production.INFO: CreateAllLog End
[2025-01-10 13:07:04] Production.ERROR: done
[2025-01-10 13:07:04] Production.INFO: Account Balance End.
[2025-01-10 13:07:04] Production.ERROR: CronJobId end 12
[2025-01-10 13:07:04] Production.INFO: ==20675== Releasing lock...
[2025-01-10 13:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 13:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 13:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 10:07:05
[end_date_ymd] => 2025-01-10 13:07:05
[RateCDR] => 1
)
[2025-01-10 13:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 10:07:05' and `end` < '2025-01-10 13:07:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 13:07:10] Production.ERROR: CronJobId end10
[2025-01-10 13:07:10] Production.INFO: ==20673== Releasing lock...
[2025-01-10 13:07:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 13:07:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 13:07:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 13:07:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 13:07:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 13:07:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 13:07:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 13:07:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 13:07:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 13:07:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 13:07:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 13:07:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 13:07:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 13:07:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 13:07:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 13:07:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 13:07:12] Production.INFO: call_cost start
[2025-01-10 13:07:12] Production.INFO: call_cost end
[2025-01-10 13:07:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 13:07:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 13:07:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 13:07:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 13:07:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 13:07:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 13:07:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 13:07:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 13:07:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 13:07:13] Production.INFO: ==20669== Releasing lock...
[2025-01-10 13:07:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 13:07:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 13:07:26] Production.INFO: count ==3970
[2025-01-10 13:07:28] Production.ERROR: pbx CDR StartTime 2025-01-10 10:07:05 - End Time 2025-01-10 13:07:05
[2025-01-10 13:07:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 13:07:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217117', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:07:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217117', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:07:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217117', 'tblTempVendorCDR_20' ) start
[2025-01-10 13:07:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217117', 'tblTempVendorCDR_20' ) end
[2025-01-10 13:07:28] Production.INFO: ProcessCDR(1,14217117,1,1,2)
[2025-01-10 13:07:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217117,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:07:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217117,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:07:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217117,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:07:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217117,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:07:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217117', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:07:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217117', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:07:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:07:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:07:33] Production.INFO: ==20677== Releasing lock...
[2025-01-10 13:07:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 13:07:33] Production.INFO: 58 MB #Memory Used#
[2025-01-10 18:08:02] Production.INFO: ==20741== Lock acquired, processing the job...
[2025-01-10 18:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 18:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 18:08:02] Production.INFO: neon service started
[2025-01-10 18:08:02] Production.INFO: neon service started
[2025-01-10 18:08:02] Production.INFO: ==20741== Releasing lock...
[2025-01-10 18:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 18:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 13:08:02] Production.INFO: ==20744== Lock acquired, processing the job...
[2025-01-10 13:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 18:08:02] Production.INFO: ==20746== Lock acquired, processing the job...
[2025-01-10 18:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 18:08:02] Production.INFO: ==20746== Releasing lock...
[2025-01-10 18:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 18:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 13:08:03] Production.INFO: ==20744== Releasing lock...
[2025-01-10 13:08:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 13:08:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 13:08:04] Production.INFO: ==20752== Lock acquired, processing the job...
[2025-01-10 13:08:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 13:08:04] Production.INFO: ==20748== Lock acquired, processing the job...
[2025-01-10 13:08:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 13:08:04] Production.INFO: ==20758== Lock acquired, processing the job...
[2025-01-10 13:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 13:08:04] Production.INFO: ==20750== Lock acquired, processing the job...
[2025-01-10 13:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 13:08:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 13:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 13:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 13:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 13:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 13:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:08:04] Production.INFO: ==20754== Lock acquired, processing the job...
[2025-01-10 13:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 13:08:04] Production.INFO: count ==21
[2025-01-10 13:08:04] Production.INFO: ==20756== Lock acquired, processing the job...
[2025-01-10 13:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 13:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:08:04] Production.INFO: count ==21
[2025-01-10 13:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217119') start
[2025-01-10 13:08:04] Production.INFO: Account Balance Start.
[2025-01-10 13:08:04] Production.INFO: CreateAllLog Start
[2025-01-10 13:08:04] Production.INFO: 117
[2025-01-10 13:08:04] Production.INFO: Date 2025-01-08
[2025-01-10 13:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:08:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217119') end
[2025-01-10 13:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 13:08:04] Production.INFO: 1
[2025-01-10 13:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 13:08:04] Production.INFO: Date 2025-01-09
[2025-01-10 13:08:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:08:04] Production.INFO: Date 2025-01-10
[2025-01-10 13:08:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:08:04] Production.INFO: ==20758== Releasing lock...
[2025-01-10 13:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 13:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 13:08:04] Production.INFO: Total Charge 0
[2025-01-10 13:08:04] Production.INFO: CreateAllLog End
[2025-01-10 13:08:04] Production.ERROR: done
[2025-01-10 13:08:04] Production.INFO: ==20750== Releasing lock...
[2025-01-10 13:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 13:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 13:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 13:08:04] Production.ERROR: done
[2025-01-10 13:08:04] Production.INFO: Account Balance End.
[2025-01-10 13:08:04] Production.ERROR: CronJobId end 12
[2025-01-10 13:08:04] Production.INFO: ==20754== Releasing lock...
[2025-01-10 13:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 13:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 13:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 10:08:05
[end_date_ymd] => 2025-01-10 13:08:05
[RateCDR] => 1
)
[2025-01-10 13:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 10:08:05' and `end` < '2025-01-10 13:08:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 13:08:12] Production.ERROR: CronJobId end10
[2025-01-10 13:08:12] Production.INFO: ==20752== Releasing lock...
[2025-01-10 13:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 13:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 13:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 13:08:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 13:08:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 13:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 13:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 13:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 13:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 13:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 13:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 13:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 13:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 13:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 13:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 13:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 13:08:14] Production.INFO: call_cost start
[2025-01-10 13:08:14] Production.INFO: call_cost end
[2025-01-10 13:08:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 13:08:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 13:08:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 13:08:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 13:08:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 13:08:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 13:08:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 13:08:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 13:08:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 13:08:15] Production.INFO: ==20748== Releasing lock...
[2025-01-10 13:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 13:08:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 13:08:23] Production.INFO: count ==3951
[2025-01-10 13:08:25] Production.ERROR: pbx CDR StartTime 2025-01-10 10:08:05 - End Time 2025-01-10 13:08:05
[2025-01-10 13:08:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 13:08:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217122', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:08:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217122', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:08:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217122', 'tblTempVendorCDR_20' ) start
[2025-01-10 13:08:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217122', 'tblTempVendorCDR_20' ) end
[2025-01-10 13:08:25] Production.INFO: ProcessCDR(1,14217122,1,1,2)
[2025-01-10 13:08:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217122,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:08:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217122,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:08:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217122,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:08:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217122,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:08:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217122', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:08:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217122', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:08:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:08:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:08:29] Production.INFO: ==20756== Releasing lock...
[2025-01-10 13:08:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 13:08:29] Production.INFO: 57.5 MB #Memory Used#
[2025-01-10 18:09:01] Production.INFO: ==20818== Lock acquired, processing the job...
[2025-01-10 18:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 18:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 18:09:01] Production.INFO: neon service started
[2025-01-10 18:09:01] Production.INFO: neon service started
[2025-01-10 18:09:01] Production.INFO: ==20818== Releasing lock...
[2025-01-10 18:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 18:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 13:09:01] Production.INFO: ==20820== Lock acquired, processing the job...
[2025-01-10 13:09:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 13:09:02] Production.INFO: ==20820== Releasing lock...
[2025-01-10 13:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 13:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 18:09:02] Production.INFO: ==20822== Lock acquired, processing the job...
[2025-01-10 18:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 18:09:02] Production.INFO: ==20822== Releasing lock...
[2025-01-10 18:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 18:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 13:09:03] Production.INFO: ==20833== Lock acquired, processing the job...
[2025-01-10 13:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 13:09:03] Production.INFO: ==20835== Lock acquired, processing the job...
[2025-01-10 13:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 13:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:09:03] Production.INFO: ==20825== Lock acquired, processing the job...
[2025-01-10 13:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 13:09:03] Production.INFO: ==20827== Lock acquired, processing the job...
[2025-01-10 13:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 13:09:03] Production.INFO: ==20829== Lock acquired, processing the job...
[2025-01-10 13:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 13:09:03] Production.INFO: ==20831== Lock acquired, processing the job...
[2025-01-10 13:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 13:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 13:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:09:03] Production.INFO: count ==21
[2025-01-10 13:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:09:03] Production.INFO: count ==21
[2025-01-10 13:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217123') start
[2025-01-10 13:09:03] Production.ERROR: done
[2025-01-10 13:09:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 13:09:03] Production.INFO: Account Balance Start.
[2025-01-10 13:09:03] Production.INFO: CreateAllLog Start
[2025-01-10 13:09:03] Production.INFO: 117
[2025-01-10 13:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 13:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 13:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 13:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 13:09:03] Production.INFO: Date 2025-01-08
[2025-01-10 13:09:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:09:03] Production.ERROR: done
[2025-01-10 13:09:03] Production.INFO: Date 2025-01-09
[2025-01-10 13:09:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217123') end
[2025-01-10 13:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 13:09:03] Production.INFO: 1
[2025-01-10 13:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 13:09:03] Production.INFO: ==20835== Releasing lock...
[2025-01-10 13:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 13:09:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 13:09:03] Production.INFO: Date 2025-01-10
[2025-01-10 13:09:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:09:03] Production.INFO: Total Charge 0
[2025-01-10 13:09:03] Production.INFO: ==20827== Releasing lock...
[2025-01-10 13:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 13:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 13:09:03] Production.INFO: CreateAllLog End
[2025-01-10 13:09:03] Production.INFO: Account Balance End.
[2025-01-10 13:09:04] Production.ERROR: CronJobId end 12
[2025-01-10 13:09:04] Production.INFO: ==20831== Releasing lock...
[2025-01-10 13:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 13:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 13:09:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 10:09:04
[end_date_ymd] => 2025-01-10 13:09:04
[RateCDR] => 1
)
[2025-01-10 13:09:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 10:09:04' and `end` < '2025-01-10 13:09:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 13:09:11] Production.ERROR: CronJobId end10
[2025-01-10 13:09:11] Production.INFO: ==20829== Releasing lock...
[2025-01-10 13:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 13:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 13:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 13:09:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 13:09:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 13:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 13:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 13:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 13:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 13:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 13:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 13:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 13:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 13:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 13:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 13:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 13:09:13] Production.INFO: call_cost start
[2025-01-10 13:09:13] Production.INFO: call_cost end
[2025-01-10 13:09:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 13:09:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 13:09:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 13:09:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 13:09:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 13:09:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 13:09:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 13:09:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 13:09:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 13:09:14] Production.INFO: ==20825== Releasing lock...
[2025-01-10 13:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 13:09:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 13:09:18] Production.INFO: count ==3941
[2025-01-10 13:09:20] Production.ERROR: pbx CDR StartTime 2025-01-10 10:09:04 - End Time 2025-01-10 13:09:04
[2025-01-10 13:09:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 13:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217127', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217127', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217127', 'tblTempVendorCDR_20' ) start
[2025-01-10 13:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217127', 'tblTempVendorCDR_20' ) end
[2025-01-10 13:09:20] Production.INFO: ProcessCDR(1,14217127,1,1,2)
[2025-01-10 13:09:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217127,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:09:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217127,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:09:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217127,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:09:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217127,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:09:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217127', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:09:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217127', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:09:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:09:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:09:25] Production.INFO: ==20833== Releasing lock...
[2025-01-10 13:09:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 13:09:25] Production.INFO: 57.75 MB #Memory Used#
[2025-01-10 18:10:02] Production.INFO: ==20894== Lock acquired, processing the job...
[2025-01-10 18:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 18:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 18:10:02] Production.INFO: neon service started
[2025-01-10 18:10:02] Production.INFO: neon service started
[2025-01-10 18:10:02] Production.INFO: ==20894== Releasing lock...
[2025-01-10 18:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 18:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 18:10:02] Production.INFO: ==20898== Lock acquired, processing the job...
[2025-01-10 18:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 18:10:02] Production.INFO: ==20898== Releasing lock...
[2025-01-10 18:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 18:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 13:10:02] Production.INFO: ==20896== Lock acquired, processing the job...
[2025-01-10 13:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 13:10:02] Production.INFO: ==20896== Releasing lock...
[2025-01-10 13:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 13:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 13:10:03] Production.INFO: ==20904== Lock acquired, processing the job...
[2025-01-10 13:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 13:10:03] Production.INFO: ==20909== Lock acquired, processing the job...
[2025-01-10 13:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 13:10:04] Production.INFO: ==20902== Lock acquired, processing the job...
[2025-01-10 13:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 13:10:04] Production.INFO: ==20900== Lock acquired, processing the job...
[2025-01-10 13:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 13:10:04] Production.INFO: Account Balance Start.
[2025-01-10 13:10:04] Production.INFO: CreateAllLog Start
[2025-01-10 13:10:04] Production.INFO: 117
[2025-01-10 13:10:04] Production.INFO: Date 2025-01-08
[2025-01-10 13:10:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:10:04] Production.INFO: Date 2025-01-09
[2025-01-10 13:10:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 13:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 13:10:04] Production.ERROR: CronJob PID - 20902
[2025-01-10 13:10:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-10 13:10:04] Production.ERROR: CronJob ID - 5
[2025-01-10 13:10:04] Production.ERROR: CronJob Last Run Time 2025-01-10 13:10:00
[2025-01-10 13:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 13:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 13:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 13:10:04] Production.ERROR: CronJob PID - 20904
[2025-01-10 13:10:04] Production.ERROR: CronJob Title - Account Block
[2025-01-10 13:10:04] Production.ERROR: CronJob ID - 7
[2025-01-10 13:10:04] Production.ERROR: CronJob Last Run Time 2025-01-10 13:10:00
[2025-01-10 13:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 13:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 13:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 13:10:04] Production.ERROR: CronJob PID - 20909
[2025-01-10 13:10:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-10 13:10:04] Production.ERROR: CronJob ID - 12
[2025-01-10 13:10:04] Production.ERROR: CronJob Last Run Time 2025-01-10 13:10:00
[2025-01-10 13:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 13:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 13:10:04] Production.INFO: ==20917== Lock acquired, processing the job...
[2025-01-10 13:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 13:10:04] Production.INFO: Date 2025-01-10
[2025-01-10 13:10:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 13:10:04] Production.INFO: ==20900== Releasing lock...
[2025-01-10 13:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 13:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 13:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 13:10:04] Production.INFO: ==20904== Releasing lock...
[2025-01-10 13:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 13:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 13:10:04] Production.INFO: ==20907== Lock acquired, processing the job...
[2025-01-10 13:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 13:10:04] Production.INFO: Total Charge 0
[2025-01-10 13:10:04] Production.INFO: CreateAllLog End
[2025-01-10 13:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 13:10:04] Production.INFO: count ==21
[2025-01-10 13:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 13:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 13:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 13:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:10:04] Production.INFO: ==20911== Lock acquired, processing the job...
[2025-01-10 13:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 13:10:04] Production.INFO: count ==21
[2025-01-10 13:10:04] Production.INFO: Account Balance End.
[2025-01-10 13:10:04] Production.INFO: ==20914== Lock acquired, processing the job...
[2025-01-10 13:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 13:10:04] Production.ERROR: CronJobId end 12
[2025-01-10 13:10:04] Production.INFO: ==20909== Releasing lock...
[2025-01-10 13:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 13:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 13:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217131') start
[2025-01-10 13:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217131') end
[2025-01-10 13:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 13:10:04] Production.INFO: 1
[2025-01-10 13:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 13:10:04] Production.INFO: ==20917== Releasing lock...
[2025-01-10 13:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 13:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 13:10:04] Production.ERROR: done
[2025-01-10 13:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 13:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14217132', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 13:10:05] Production.ERROR: done
[2025-01-10 13:10:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 13:10:05] Production.ERROR: done
[2025-01-10 13:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 10:10:06
[end_date_ymd] => 2025-01-10 13:10:06
[RateCDR] => 1
)
[2025-01-10 13:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 10:10:06' and `end` < '2025-01-10 13:10:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 13:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14217132', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 13:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 13:10:09] Production.INFO: ProcessCDR(1,14217132,1,1,2)
[2025-01-10 13:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14217132,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14217132,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:10:09] Production.INFO: ==20914== Releasing lock...
[2025-01-10 13:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 13:10:09] Production.INFO: 26 MB #Memory Used#
[2025-01-10 13:10:13] Production.ERROR: CronJobId end10
[2025-01-10 13:10:13] Production.INFO: ==20907== Releasing lock...
[2025-01-10 13:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 13:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 13:10:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 13:10:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 13:10:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 13:10:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 13:10:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 13:10:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 13:10:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 13:10:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 13:10:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 13:10:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 13:10:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 13:10:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 13:10:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 13:10:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 13:10:15] Production.INFO: call_cost start
[2025-01-10 13:10:15] Production.INFO: call_cost end
[2025-01-10 13:10:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 13:10:16] Production.INFO: ============== Report Schedule START===========
[2025-01-10 13:10:16] Production.INFO: ============== Report Schedule END===========
[2025-01-10 13:10:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 13:10:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 13:10:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 13:10:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 13:10:16] Production.INFO: ============== Deal alert START===========
[2025-01-10 13:10:16] Production.INFO: ============== Deal alert END===========
[2025-01-10 13:10:16] Production.INFO: ==20902== Releasing lock...
[2025-01-10 13:10:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 13:10:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 13:10:21] Production.INFO: count ==3936
[2025-01-10 13:10:23] Production.ERROR: pbx CDR StartTime 2025-01-10 10:10:06 - End Time 2025-01-10 13:10:06
[2025-01-10 13:10:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 13:10:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217133', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:10:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217133', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:10:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217133', 'tblTempVendorCDR_20' ) start
[2025-01-10 13:10:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217133', 'tblTempVendorCDR_20' ) end
[2025-01-10 13:10:24] Production.INFO: ProcessCDR(1,14217133,1,1,2)
[2025-01-10 13:10:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217133,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:10:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217133,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:10:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217133,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:10:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217133,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:10:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217133', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:10:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217133', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:10:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:10:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:10:28] Production.INFO: ==20911== Releasing lock...
[2025-01-10 13:10:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 13:10:28] Production.INFO: 57.5 MB #Memory Used#
[2025-01-10 18:11:01] Production.INFO: ==20978== Lock acquired, processing the job...
[2025-01-10 18:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 18:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 18:11:01] Production.INFO: neon service started
[2025-01-10 18:11:01] Production.INFO: neon service started
[2025-01-10 18:11:01] Production.INFO: ==20978== Releasing lock...
[2025-01-10 18:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 18:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 13:11:01] Production.INFO: ==20980== Lock acquired, processing the job...
[2025-01-10 13:11:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 13:11:02] Production.INFO: ==20980== Releasing lock...
[2025-01-10 13:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 13:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 18:11:02] Production.INFO: ==20982== Lock acquired, processing the job...
[2025-01-10 18:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 18:11:02] Production.INFO: ==20982== Releasing lock...
[2025-01-10 18:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 18:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 13:11:02] Production.INFO: ==20992== Lock acquired, processing the job...
[2025-01-10 13:11:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 13:11:03] Production.INFO: ==20994== Lock acquired, processing the job...
[2025-01-10 13:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 13:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:11:03] Production.INFO: count ==21
[2025-01-10 13:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:11:03] Production.INFO: count ==21
[2025-01-10 13:11:03] Production.INFO: ==20984== Lock acquired, processing the job...
[2025-01-10 13:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 13:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217134') start
[2025-01-10 13:11:03] Production.INFO: ==20986== Lock acquired, processing the job...
[2025-01-10 13:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 13:11:03] Production.INFO: ==20988== Lock acquired, processing the job...
[2025-01-10 13:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 13:11:03] Production.INFO: ==20990== Lock acquired, processing the job...
[2025-01-10 13:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 13:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 13:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217134') end
[2025-01-10 13:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 13:11:03] Production.INFO: 1
[2025-01-10 13:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 13:11:03] Production.INFO: Account Balance Start.
[2025-01-10 13:11:03] Production.INFO: CreateAllLog Start
[2025-01-10 13:11:03] Production.INFO: 117
[2025-01-10 13:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 13:11:03] Production.INFO: Date 2025-01-08
[2025-01-10 13:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 13:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 13:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 13:11:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:11:03] Production.INFO: Date 2025-01-09
[2025-01-10 13:11:03] Production.INFO: ==20994== Releasing lock...
[2025-01-10 13:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 13:11:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 13:11:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:11:03] Production.ERROR: done
[2025-01-10 13:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 13:11:03] Production.INFO: Date 2025-01-10
[2025-01-10 13:11:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:11:03] Production.INFO: Total Charge 0
[2025-01-10 13:11:03] Production.INFO: CreateAllLog End
[2025-01-10 13:11:03] Production.INFO: ==20986== Releasing lock...
[2025-01-10 13:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 13:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 13:11:03] Production.ERROR: done
[2025-01-10 13:11:03] Production.INFO: Account Balance End.
[2025-01-10 13:11:03] Production.ERROR: CronJobId end 12
[2025-01-10 13:11:03] Production.INFO: ==20990== Releasing lock...
[2025-01-10 13:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 13:11:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 13:11:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 10:11:04
[end_date_ymd] => 2025-01-10 13:11:04
[RateCDR] => 1
)
[2025-01-10 13:11:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 10:11:04' and `end` < '2025-01-10 13:11:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 13:11:12] Production.ERROR: CronJobId end10
[2025-01-10 13:11:12] Production.INFO: ==20988== Releasing lock...
[2025-01-10 13:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 13:11:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 13:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 13:11:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 13:11:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 13:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 13:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 13:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 13:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 13:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 13:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 13:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 13:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 13:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 13:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 13:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 13:11:13] Production.INFO: call_cost start
[2025-01-10 13:11:13] Production.INFO: call_cost end
[2025-01-10 13:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 13:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 13:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 13:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 13:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 13:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 13:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 13:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 13:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 13:11:14] Production.INFO: ==20984== Releasing lock...
[2025-01-10 13:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 13:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 13:11:22] Production.INFO: count ==4050
[2025-01-10 13:11:24] Production.ERROR: pbx CDR StartTime 2025-01-10 10:11:04 - End Time 2025-01-10 13:11:04
[2025-01-10 13:11:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 13:11:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217138', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:11:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217138', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:11:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217138', 'tblTempVendorCDR_20' ) start
[2025-01-10 13:11:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217138', 'tblTempVendorCDR_20' ) end
[2025-01-10 13:11:24] Production.INFO: ProcessCDR(1,14217138,1,1,2)
[2025-01-10 13:11:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217138,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:11:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217138,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:11:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217138,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:11:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217138,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:11:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217138', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:11:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217138', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:11:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:11:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:11:29] Production.INFO: ==20992== Releasing lock...
[2025-01-10 13:11:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 13:11:29] Production.INFO: 58.25 MB #Memory Used#
[2025-01-10 18:12:02] Production.INFO: ==21052== Lock acquired, processing the job...
[2025-01-10 18:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 18:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 18:12:02] Production.INFO: neon service started
[2025-01-10 18:12:02] Production.INFO: neon service started
[2025-01-10 18:12:02] Production.INFO: ==21052== Releasing lock...
[2025-01-10 18:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 18:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 13:12:02] Production.INFO: ==21054== Lock acquired, processing the job...
[2025-01-10 13:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 13:12:02] Production.INFO: ==21054== Releasing lock...
[2025-01-10 13:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 13:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 18:12:02] Production.INFO: ==21056== Lock acquired, processing the job...
[2025-01-10 18:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 18:12:02] Production.INFO: ==21056== Releasing lock...
[2025-01-10 18:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 18:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 13:12:03] Production.INFO: ==21067== Lock acquired, processing the job...
[2025-01-10 13:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 13:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:12:03] Production.INFO: ==21059== Lock acquired, processing the job...
[2025-01-10 13:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 13:12:03] Production.INFO: ==21069== Lock acquired, processing the job...
[2025-01-10 13:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 13:12:03] Production.INFO: ==21061== Lock acquired, processing the job...
[2025-01-10 13:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 13:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 13:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:12:03] Production.INFO: ==21063== Lock acquired, processing the job...
[2025-01-10 13:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 13:12:03] Production.INFO: count ==21
[2025-01-10 13:12:03] Production.INFO: ==21065== Lock acquired, processing the job...
[2025-01-10 13:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 13:12:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:12:03] Production.INFO: count ==21
[2025-01-10 13:12:04] Production.ERROR: done
[2025-01-10 13:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217140') start
[2025-01-10 13:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 13:12:04] Production.INFO: Account Balance Start.
[2025-01-10 13:12:04] Production.INFO: CreateAllLog Start
[2025-01-10 13:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 13:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 13:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 13:12:04] Production.INFO: 117
[2025-01-10 13:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 13:12:04] Production.INFO: Date 2025-01-08
[2025-01-10 13:12:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:12:04] Production.ERROR: done
[2025-01-10 13:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217140') end
[2025-01-10 13:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 13:12:04] Production.INFO: 1
[2025-01-10 13:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 13:12:04] Production.INFO: Date 2025-01-09
[2025-01-10 13:12:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:12:04] Production.INFO: ==21069== Releasing lock...
[2025-01-10 13:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 13:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 13:12:04] Production.INFO: Date 2025-01-10
[2025-01-10 13:12:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:12:04] Production.INFO: Total Charge 0
[2025-01-10 13:12:04] Production.INFO: CreateAllLog End
[2025-01-10 13:12:04] Production.INFO: ==21061== Releasing lock...
[2025-01-10 13:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 13:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 13:12:04] Production.INFO: Account Balance End.
[2025-01-10 13:12:04] Production.ERROR: CronJobId end 12
[2025-01-10 13:12:04] Production.INFO: ==21065== Releasing lock...
[2025-01-10 13:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 13:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 13:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 10:12:05
[end_date_ymd] => 2025-01-10 13:12:05
[RateCDR] => 1
)
[2025-01-10 13:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 10:12:05' and `end` < '2025-01-10 13:12:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 13:12:13] Production.ERROR: CronJobId end10
[2025-01-10 13:12:13] Production.INFO: ==21063== Releasing lock...
[2025-01-10 13:12:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 13:12:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 13:12:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 13:12:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 13:12:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 13:12:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 13:12:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 13:12:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 13:12:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 13:12:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 13:12:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 13:12:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 13:12:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 13:12:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 13:12:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 13:12:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 13:12:14] Production.INFO: call_cost start
[2025-01-10 13:12:14] Production.INFO: call_cost end
[2025-01-10 13:12:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 13:12:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 13:12:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 13:12:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 13:12:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 13:12:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 13:12:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 13:12:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 13:12:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 13:12:15] Production.INFO: ==21059== Releasing lock...
[2025-01-10 13:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 13:12:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 13:12:21] Production.INFO: count ==4049
[2025-01-10 13:12:23] Production.ERROR: pbx CDR StartTime 2025-01-10 10:12:05 - End Time 2025-01-10 13:12:05
[2025-01-10 13:12:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 13:12:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217143', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:12:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217143', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:12:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217143', 'tblTempVendorCDR_20' ) start
[2025-01-10 13:12:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217143', 'tblTempVendorCDR_20' ) end
[2025-01-10 13:12:23] Production.INFO: ProcessCDR(1,14217143,1,1,2)
[2025-01-10 13:12:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217143,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:12:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217143,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:12:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217143,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:12:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217143,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:12:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217143', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:12:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217143', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:12:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:12:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:12:28] Production.INFO: ==21067== Releasing lock...
[2025-01-10 13:12:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 13:12:28] Production.INFO: 58.25 MB #Memory Used#
[2025-01-10 18:13:01] Production.INFO: ==21127== Lock acquired, processing the job...
[2025-01-10 18:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 18:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 18:13:01] Production.INFO: neon service started
[2025-01-10 18:13:01] Production.INFO: neon service started
[2025-01-10 18:13:01] Production.INFO: ==21127== Releasing lock...
[2025-01-10 18:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 18:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 13:13:02] Production.INFO: ==21129== Lock acquired, processing the job...
[2025-01-10 13:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 18:13:02] Production.INFO: ==21131== Lock acquired, processing the job...
[2025-01-10 18:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 18:13:02] Production.INFO: ==21131== Releasing lock...
[2025-01-10 18:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 18:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 13:13:02] Production.INFO: ==21129== Releasing lock...
[2025-01-10 13:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 13:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 13:13:03] Production.INFO: ==21133== Lock acquired, processing the job...
[2025-01-10 13:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 13:13:03] Production.INFO: ==21140== Lock acquired, processing the job...
[2025-01-10 13:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 13:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 13:13:03] Production.INFO: Account Balance Start.
[2025-01-10 13:13:03] Production.INFO: CreateAllLog Start
[2025-01-10 13:13:03] Production.INFO: 117
[2025-01-10 13:13:03] Production.INFO: Date 2025-01-08
[2025-01-10 13:13:03] Production.INFO: ==21144== Lock acquired, processing the job...
[2025-01-10 13:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 13:13:03] Production.INFO: ==21135== Lock acquired, processing the job...
[2025-01-10 13:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 13:13:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:13:03] Production.INFO: Date 2025-01-09
[2025-01-10 13:13:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:13:03] Production.INFO: Date 2025-01-10
[2025-01-10 13:13:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:13:03] Production.INFO: ==21138== Lock acquired, processing the job...
[2025-01-10 13:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 13:13:03] Production.INFO: Total Charge 0
[2025-01-10 13:13:03] Production.INFO: CreateAllLog End
[2025-01-10 13:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:13:03] Production.INFO: ==21142== Lock acquired, processing the job...
[2025-01-10 13:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 13:13:03] Production.INFO: count ==21
[2025-01-10 13:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:13:03] Production.INFO: count ==21
[2025-01-10 13:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217146') start
[2025-01-10 13:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 13:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 13:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 13:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 13:13:03] Production.INFO: Account Balance End.
[2025-01-10 13:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217146') end
[2025-01-10 13:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 13:13:03] Production.INFO: 1
[2025-01-10 13:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 13:13:03] Production.ERROR: CronJobId end 12
[2025-01-10 13:13:03] Production.INFO: ==21140== Releasing lock...
[2025-01-10 13:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 13:13:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 13:13:03] Production.INFO: ==21135== Releasing lock...
[2025-01-10 13:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 13:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 13:13:03] Production.INFO: ==21144== Releasing lock...
[2025-01-10 13:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 13:13:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 13:13:04] Production.ERROR: done
[2025-01-10 13:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 13:13:04] Production.ERROR: done
[2025-01-10 13:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 10:13:05
[end_date_ymd] => 2025-01-10 13:13:05
[RateCDR] => 1
)
[2025-01-10 13:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 10:13:05' and `end` < '2025-01-10 13:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 13:13:11] Production.ERROR: CronJobId end10
[2025-01-10 13:13:11] Production.INFO: ==21138== Releasing lock...
[2025-01-10 13:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 13:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 13:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 13:13:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 13:13:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 13:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 13:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 13:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 13:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 13:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 13:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 13:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 13:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 13:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 13:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 13:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 13:13:13] Production.INFO: call_cost start
[2025-01-10 13:13:13] Production.INFO: call_cost end
[2025-01-10 13:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 13:13:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 13:13:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 13:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 13:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 13:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 13:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 13:13:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 13:13:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 13:13:14] Production.INFO: ==21133== Releasing lock...
[2025-01-10 13:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 13:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 13:13:23] Production.INFO: count ==4033
[2025-01-10 13:13:24] Production.ERROR: pbx CDR StartTime 2025-01-10 10:13:05 - End Time 2025-01-10 13:13:05
[2025-01-10 13:13:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 13:13:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217148', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:13:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217148', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:13:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217148', 'tblTempVendorCDR_20' ) start
[2025-01-10 13:13:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217148', 'tblTempVendorCDR_20' ) end
[2025-01-10 13:13:25] Production.INFO: ProcessCDR(1,14217148,1,1,2)
[2025-01-10 13:13:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217148,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:13:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217148,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:13:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217148,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:13:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217148,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:13:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217148', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:13:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217148', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:13:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:13:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:13:29] Production.INFO: ==21142== Releasing lock...
[2025-01-10 13:13:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 13:13:29] Production.INFO: 58.25 MB #Memory Used#
[2025-01-10 18:14:01] Production.INFO: ==21202== Lock acquired, processing the job...
[2025-01-10 18:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 18:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 18:14:01] Production.INFO: neon service started
[2025-01-10 18:14:02] Production.INFO: neon service started
[2025-01-10 18:14:02] Production.INFO: ==21202== Releasing lock...
[2025-01-10 18:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 18:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 13:14:02] Production.INFO: ==21204== Lock acquired, processing the job...
[2025-01-10 13:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 13:14:02] Production.INFO: ==21204== Releasing lock...
[2025-01-10 13:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 13:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 18:14:02] Production.INFO: ==21206== Lock acquired, processing the job...
[2025-01-10 18:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 18:14:02] Production.INFO: ==21206== Releasing lock...
[2025-01-10 18:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 18:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 13:14:03] Production.INFO: ==21209== Lock acquired, processing the job...
[2025-01-10 13:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 13:14:03] Production.INFO: ==21211== Lock acquired, processing the job...
[2025-01-10 13:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 13:14:03] Production.INFO: ==21219== Lock acquired, processing the job...
[2025-01-10 13:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 13:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 13:14:03] Production.INFO: ==21213== Lock acquired, processing the job...
[2025-01-10 13:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 13:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 13:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 13:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 13:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 13:14:03] Production.INFO: ==21215== Lock acquired, processing the job...
[2025-01-10 13:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 13:14:03] Production.INFO: count ==21
[2025-01-10 13:14:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:14:03] Production.INFO: count ==21
[2025-01-10 13:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217151') start
[2025-01-10 13:14:03] Production.INFO: ==21217== Lock acquired, processing the job...
[2025-01-10 13:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 13:14:03] Production.INFO: ==21211== Releasing lock...
[2025-01-10 13:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 13:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 13:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:14:03] Production.INFO: Account Balance Start.
[2025-01-10 13:14:03] Production.INFO: CreateAllLog Start
[2025-01-10 13:14:03] Production.INFO: 117
[2025-01-10 13:14:04] Production.INFO: Date 2025-01-08
[2025-01-10 13:14:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217151') end
[2025-01-10 13:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 13:14:04] Production.INFO: 1
[2025-01-10 13:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 13:14:04] Production.INFO: Date 2025-01-09
[2025-01-10 13:14:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:14:04] Production.INFO: ==21219== Releasing lock...
[2025-01-10 13:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 13:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 13:14:04] Production.INFO: Date 2025-01-10
[2025-01-10 13:14:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:14:04] Production.ERROR: done
[2025-01-10 13:14:04] Production.INFO: Total Charge 0
[2025-01-10 13:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 13:14:04] Production.INFO: CreateAllLog End
[2025-01-10 13:14:04] Production.ERROR: done
[2025-01-10 13:14:04] Production.INFO: Account Balance End.
[2025-01-10 13:14:04] Production.ERROR: CronJobId end 12
[2025-01-10 13:14:04] Production.INFO: ==21215== Releasing lock...
[2025-01-10 13:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 13:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 13:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 10:14:05
[end_date_ymd] => 2025-01-10 13:14:05
[RateCDR] => 1
)
[2025-01-10 13:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 10:14:05' and `end` < '2025-01-10 13:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 13:14:12] Production.ERROR: CronJobId end10
[2025-01-10 13:14:12] Production.INFO: ==21213== Releasing lock...
[2025-01-10 13:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 13:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 13:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 13:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 13:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 13:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 13:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 13:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 13:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 13:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 13:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 13:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 13:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 13:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 13:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 13:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 13:14:14] Production.INFO: call_cost start
[2025-01-10 13:14:14] Production.INFO: call_cost end
[2025-01-10 13:14:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 13:14:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 13:14:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 13:14:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 13:14:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 13:14:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 13:14:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 13:14:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 13:14:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 13:14:15] Production.INFO: ==21209== Releasing lock...
[2025-01-10 13:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 13:14:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 13:14:25] Production.INFO: count ==4030
[2025-01-10 13:14:27] Production.ERROR: pbx CDR StartTime 2025-01-10 10:14:05 - End Time 2025-01-10 13:14:05
[2025-01-10 13:14:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 13:14:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217153', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:14:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217153', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:14:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217153', 'tblTempVendorCDR_20' ) start
[2025-01-10 13:14:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217153', 'tblTempVendorCDR_20' ) end
[2025-01-10 13:14:27] Production.INFO: ProcessCDR(1,14217153,1,1,2)
[2025-01-10 13:14:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217153,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:14:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217153,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:14:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217153,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:14:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217153,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:14:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217153', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:14:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217153', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:14:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:14:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:14:32] Production.INFO: ==21217== Releasing lock...
[2025-01-10 13:14:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 13:14:32] Production.INFO: 58.5 MB #Memory Used#
[2025-01-10 18:15:01] Production.INFO: ==21280== Lock acquired, processing the job...
[2025-01-10 18:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 18:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 18:15:01] Production.INFO: neon service started
[2025-01-10 18:15:01] Production.INFO: neon service started
[2025-01-10 18:15:01] Production.INFO: ==21280== Releasing lock...
[2025-01-10 18:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 18:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 13:15:02] Production.INFO: ==21282== Lock acquired, processing the job...
[2025-01-10 13:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 18:15:02] Production.INFO: ==21284== Lock acquired, processing the job...
[2025-01-10 18:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 18:15:02] Production.INFO: ==21284== Releasing lock...
[2025-01-10 18:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 18:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 13:15:02] Production.INFO: ==21282== Releasing lock...
[2025-01-10 13:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 13:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 13:15:03] Production.INFO: ==21287== Lock acquired, processing the job...
[2025-01-10 13:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 13:15:03] Production.INFO: ==21289== Lock acquired, processing the job...
[2025-01-10 13:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 13:15:03] Production.INFO: ==21291== Lock acquired, processing the job...
[2025-01-10 13:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 13:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 13:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 13:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 13:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 13:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 13:15:03] Production.INFO: ==21293== Lock acquired, processing the job...
[2025-01-10 13:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 13:15:03] Production.INFO: ==21295== Lock acquired, processing the job...
[2025-01-10 13:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 13:15:03] Production.INFO: Account Balance Start.
[2025-01-10 13:15:03] Production.INFO: CreateAllLog Start
[2025-01-10 13:15:03] Production.INFO: 117
[2025-01-10 13:15:03] Production.INFO: ==21297== Lock acquired, processing the job...
[2025-01-10 13:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 13:15:03] Production.INFO: Date 2025-01-08
[2025-01-10 13:15:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:15:03] Production.INFO: Date 2025-01-09
[2025-01-10 13:15:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:15:03] Production.INFO: Date 2025-01-10
[2025-01-10 13:15:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:15:03] Production.INFO: Total Charge 0
[2025-01-10 13:15:03] Production.INFO: count ==21
[2025-01-10 13:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:15:03] Production.INFO: CreateAllLog End
[2025-01-10 13:15:03] Production.INFO: count ==21
[2025-01-10 13:15:03] Production.INFO: ==21289== Releasing lock...
[2025-01-10 13:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 13:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 13:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217157') start
[2025-01-10 13:15:04] Production.ERROR: done
[2025-01-10 13:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 13:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217157') end
[2025-01-10 13:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 13:15:04] Production.INFO: 1
[2025-01-10 13:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 13:15:04] Production.ERROR: done
[2025-01-10 13:15:04] Production.INFO: ==21297== Releasing lock...
[2025-01-10 13:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 13:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 13:15:04] Production.INFO: Account Balance End.
[2025-01-10 13:15:04] Production.ERROR: CronJobId end 12
[2025-01-10 13:15:04] Production.INFO: ==21293== Releasing lock...
[2025-01-10 13:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 13:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 13:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 10:15:05
[end_date_ymd] => 2025-01-10 13:15:05
[RateCDR] => 1
)
[2025-01-10 13:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 10:15:05' and `end` < '2025-01-10 13:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 13:15:11] Production.ERROR: CronJobId end10
[2025-01-10 13:15:11] Production.INFO: ==21291== Releasing lock...
[2025-01-10 13:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 13:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 13:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 13:15:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 13:15:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 13:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 13:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 13:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 13:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 13:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 13:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 13:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 13:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 13:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 13:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 13:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 13:15:13] Production.INFO: call_cost start
[2025-01-10 13:15:13] Production.INFO: call_cost end
[2025-01-10 13:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 13:15:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 13:15:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 13:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 13:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 13:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 13:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 13:15:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 13:15:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 13:15:14] Production.INFO: ==21287== Releasing lock...
[2025-01-10 13:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 13:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 13:15:25] Production.INFO: count ==4018
[2025-01-10 13:15:27] Production.ERROR: pbx CDR StartTime 2025-01-10 10:15:05 - End Time 2025-01-10 13:15:05
[2025-01-10 13:15:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 13:15:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217158', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:15:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217158', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:15:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217158', 'tblTempVendorCDR_20' ) start
[2025-01-10 13:15:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217158', 'tblTempVendorCDR_20' ) end
[2025-01-10 13:15:27] Production.INFO: ProcessCDR(1,14217158,1,1,2)
[2025-01-10 13:15:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217158,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:15:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217158,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:15:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217158,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:15:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217158,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:15:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217158', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:15:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217158', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:15:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:15:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:15:32] Production.INFO: ==21295== Releasing lock...
[2025-01-10 13:15:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 13:15:32] Production.INFO: 58 MB #Memory Used#
[2025-01-10 18:16:01] Production.INFO: ==21361== Lock acquired, processing the job...
[2025-01-10 18:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 18:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 18:16:01] Production.INFO: neon service started
[2025-01-10 18:16:01] Production.INFO: neon service started
[2025-01-10 18:16:01] Production.INFO: ==21361== Releasing lock...
[2025-01-10 18:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 18:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 13:16:02] Production.INFO: ==21363== Lock acquired, processing the job...
[2025-01-10 13:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 18:16:02] Production.INFO: ==21365== Lock acquired, processing the job...
[2025-01-10 18:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 18:16:02] Production.INFO: ==21365== Releasing lock...
[2025-01-10 18:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 18:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 13:16:02] Production.INFO: ==21363== Releasing lock...
[2025-01-10 13:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 13:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 13:16:03] Production.INFO: ==21376== Lock acquired, processing the job...
[2025-01-10 13:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 13:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:16:03] Production.INFO: ==21374== Lock acquired, processing the job...
[2025-01-10 13:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 13:16:03] Production.INFO: Account Balance Start.
[2025-01-10 13:16:03] Production.INFO: CreateAllLog Start
[2025-01-10 13:16:03] Production.INFO: 117
[2025-01-10 13:16:03] Production.INFO: Date 2025-01-08
[2025-01-10 13:16:03] Production.INFO: ==21367== Lock acquired, processing the job...
[2025-01-10 13:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 13:16:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:16:03] Production.INFO: Date 2025-01-09
[2025-01-10 13:16:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:16:03] Production.INFO: Date 2025-01-10
[2025-01-10 13:16:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:16:03] Production.INFO: Total Charge 0
[2025-01-10 13:16:03] Production.INFO: ==21369== Lock acquired, processing the job...
[2025-01-10 13:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 13:16:03] Production.INFO: CreateAllLog End
[2025-01-10 13:16:03] Production.INFO: ==21372== Lock acquired, processing the job...
[2025-01-10 13:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 13:16:03] Production.ERROR: done
[2025-01-10 13:16:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 13:16:04] Production.INFO: ==21378== Lock acquired, processing the job...
[2025-01-10 13:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 13:16:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 13:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 13:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 13:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 13:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 13:16:04] Production.INFO: Account Balance End.
[2025-01-10 13:16:04] Production.ERROR: done
[2025-01-10 13:16:04] Production.ERROR: CronJobId end 12
[2025-01-10 13:16:04] Production.INFO: ==21374== Releasing lock...
[2025-01-10 13:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 13:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 13:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:16:04] Production.INFO: count ==21
[2025-01-10 13:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:16:04] Production.INFO: count ==21
[2025-01-10 13:16:04] Production.INFO: ==21369== Releasing lock...
[2025-01-10 13:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 13:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 13:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217162') start
[2025-01-10 13:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217162') end
[2025-01-10 13:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 13:16:04] Production.INFO: 1
[2025-01-10 13:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 13:16:04] Production.INFO: ==21378== Releasing lock...
[2025-01-10 13:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 13:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 13:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 10:16:05
[end_date_ymd] => 2025-01-10 13:16:05
[RateCDR] => 1
)
[2025-01-10 13:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 10:16:05' and `end` < '2025-01-10 13:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 13:16:12] Production.ERROR: CronJobId end10
[2025-01-10 13:16:12] Production.INFO: ==21372== Releasing lock...
[2025-01-10 13:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 13:16:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 13:16:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 13:16:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 13:16:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 13:16:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 13:16:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 13:16:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 13:16:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 13:16:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 13:16:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 13:16:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 13:16:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 13:16:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 13:16:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 13:16:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 13:16:15] Production.INFO: call_cost start
[2025-01-10 13:16:15] Production.INFO: call_cost end
[2025-01-10 13:16:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 13:16:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 13:16:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 13:16:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 13:16:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 13:16:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 13:16:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 13:16:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 13:16:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 13:16:15] Production.INFO: ==21367== Releasing lock...
[2025-01-10 13:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 13:16:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 13:16:25] Production.INFO: count ==4007
[2025-01-10 13:16:27] Production.ERROR: pbx CDR StartTime 2025-01-10 10:16:05 - End Time 2025-01-10 13:16:05
[2025-01-10 13:16:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 13:16:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217163', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:16:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217163', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:16:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217163', 'tblTempVendorCDR_20' ) start
[2025-01-10 13:16:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217163', 'tblTempVendorCDR_20' ) end
[2025-01-10 13:16:27] Production.INFO: ProcessCDR(1,14217163,1,1,2)
[2025-01-10 13:16:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217163,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:16:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217163,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:16:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217163,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:16:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217163,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:16:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217163', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:16:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217163', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:16:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:16:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:16:32] Production.INFO: ==21376== Releasing lock...
[2025-01-10 13:16:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 13:16:32] Production.INFO: 58.25 MB #Memory Used#
[2025-01-10 18:17:01] Production.INFO: ==21473== Lock acquired, processing the job...
[2025-01-10 18:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 18:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 18:17:01] Production.INFO: neon service started
[2025-01-10 18:17:01] Production.INFO: neon service started
[2025-01-10 18:17:01] Production.INFO: ==21473== Releasing lock...
[2025-01-10 18:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 18:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 13:17:02] Production.INFO: ==21475== Lock acquired, processing the job...
[2025-01-10 13:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 18:17:02] Production.INFO: ==21477== Lock acquired, processing the job...
[2025-01-10 18:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 18:17:02] Production.INFO: ==21477== Releasing lock...
[2025-01-10 18:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 18:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 13:17:02] Production.INFO: ==21475== Releasing lock...
[2025-01-10 13:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 13:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 13:17:03] Production.INFO: ==21480== Lock acquired, processing the job...
[2025-01-10 13:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 13:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 13:17:03] Production.INFO: ==21486== Lock acquired, processing the job...
[2025-01-10 13:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 13:17:03] Production.INFO: ==21488== Lock acquired, processing the job...
[2025-01-10 13:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 13:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:17:03] Production.INFO: Account Balance Start.
[2025-01-10 13:17:03] Production.INFO: CreateAllLog Start
[2025-01-10 13:17:03] Production.INFO: 117
[2025-01-10 13:17:03] Production.INFO: Date 2025-01-08
[2025-01-10 13:17:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:17:03] Production.INFO: Date 2025-01-09
[2025-01-10 13:17:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:17:03] Production.INFO: Date 2025-01-10
[2025-01-10 13:17:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:17:03] Production.INFO: ==21482== Lock acquired, processing the job...
[2025-01-10 13:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 13:17:03] Production.INFO: Total Charge 0
[2025-01-10 13:17:03] Production.INFO: ==21484== Lock acquired, processing the job...
[2025-01-10 13:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 13:17:03] Production.INFO: ==21490== Lock acquired, processing the job...
[2025-01-10 13:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 13:17:03] Production.INFO: CreateAllLog End
[2025-01-10 13:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 13:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 13:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 13:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 13:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:17:03] Production.INFO: count ==21
[2025-01-10 13:17:03] Production.ERROR: done
[2025-01-10 13:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 13:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:17:03] Production.INFO: count ==21
[2025-01-10 13:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217167') start
[2025-01-10 13:17:03] Production.INFO: Account Balance End.
[2025-01-10 13:17:03] Production.ERROR: CronJobId end 12
[2025-01-10 13:17:03] Production.INFO: ==21486== Releasing lock...
[2025-01-10 13:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 13:17:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 13:17:03] Production.ERROR: done
[2025-01-10 13:17:03] Production.INFO: ==21482== Releasing lock...
[2025-01-10 13:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 13:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 13:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217167') end
[2025-01-10 13:17:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 13:17:03] Production.INFO: 1
[2025-01-10 13:17:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 13:17:04] Production.INFO: ==21490== Releasing lock...
[2025-01-10 13:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 13:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 13:17:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 10:17:04
[end_date_ymd] => 2025-01-10 13:17:04
[RateCDR] => 1
)
[2025-01-10 13:17:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 10:17:04' and `end` < '2025-01-10 13:17:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 13:17:11] Production.ERROR: CronJobId end10
[2025-01-10 13:17:11] Production.INFO: ==21484== Releasing lock...
[2025-01-10 13:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 13:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 13:17:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 13:17:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 13:17:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 13:17:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 13:17:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 13:17:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 13:17:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 13:17:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 13:17:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 13:17:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 13:17:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 13:17:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 13:17:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 13:17:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 13:17:13] Production.INFO: call_cost start
[2025-01-10 13:17:13] Production.INFO: call_cost end
[2025-01-10 13:17:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 13:17:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 13:17:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 13:17:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 13:17:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 13:17:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 13:17:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 13:17:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 13:17:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 13:17:14] Production.INFO: ==21480== Releasing lock...
[2025-01-10 13:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 13:17:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 13:17:22] Production.INFO: count ==3986
[2025-01-10 13:17:24] Production.ERROR: pbx CDR StartTime 2025-01-10 10:17:04 - End Time 2025-01-10 13:17:04
[2025-01-10 13:17:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 13:17:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217168', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:17:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217168', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:17:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217168', 'tblTempVendorCDR_20' ) start
[2025-01-10 13:17:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217168', 'tblTempVendorCDR_20' ) end
[2025-01-10 13:17:24] Production.INFO: ProcessCDR(1,14217168,1,1,2)
[2025-01-10 13:17:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217168,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:17:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217168,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:17:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217168,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:17:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217168,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:17:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217168', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:17:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217168', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:17:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:17:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:17:27] Production.INFO: ==21488== Releasing lock...
[2025-01-10 13:17:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 13:17:27] Production.INFO: 57.75 MB #Memory Used#
[2025-01-10 18:18:01] Production.INFO: ==21553== Lock acquired, processing the job...
[2025-01-10 18:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 18:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 18:18:01] Production.INFO: neon service started
[2025-01-10 18:18:01] Production.INFO: neon service started
[2025-01-10 18:18:01] Production.INFO: ==21553== Releasing lock...
[2025-01-10 18:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 18:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 13:18:02] Production.INFO: ==21555== Lock acquired, processing the job...
[2025-01-10 13:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 18:18:02] Production.INFO: ==21557== Lock acquired, processing the job...
[2025-01-10 18:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 13:18:02] Production.INFO: ==21555== Releasing lock...
[2025-01-10 13:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 13:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 18:18:02] Production.INFO: ==21557== Releasing lock...
[2025-01-10 18:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 18:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 13:18:03] Production.INFO: ==21560== Lock acquired, processing the job...
[2025-01-10 13:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 13:18:03] Production.INFO: ==21564== Lock acquired, processing the job...
[2025-01-10 13:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 13:18:03] Production.INFO: ==21570== Lock acquired, processing the job...
[2025-01-10 13:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 13:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 13:18:03] Production.INFO: ==21562== Lock acquired, processing the job...
[2025-01-10 13:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 13:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 13:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 13:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 13:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 13:18:03] Production.INFO: ==21566== Lock acquired, processing the job...
[2025-01-10 13:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 13:18:03] Production.INFO: ==21568== Lock acquired, processing the job...
[2025-01-10 13:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 13:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:18:03] Production.INFO: count ==21
[2025-01-10 13:18:03] Production.INFO: Account Balance Start.
[2025-01-10 13:18:03] Production.INFO: CreateAllLog Start
[2025-01-10 13:18:03] Production.INFO: 117
[2025-01-10 13:18:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:18:03] Production.INFO: count ==21
[2025-01-10 13:18:03] Production.INFO: Date 2025-01-08
[2025-01-10 13:18:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217171') start
[2025-01-10 13:18:03] Production.INFO: ==21562== Releasing lock...
[2025-01-10 13:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 13:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 13:18:03] Production.INFO: Date 2025-01-09
[2025-01-10 13:18:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:18:03] Production.INFO: Date 2025-01-10
[2025-01-10 13:18:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217171') end
[2025-01-10 13:18:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 13:18:03] Production.INFO: 1
[2025-01-10 13:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 13:18:04] Production.ERROR: done
[2025-01-10 13:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 13:18:04] Production.INFO: Total Charge 0
[2025-01-10 13:18:04] Production.INFO: ==21570== Releasing lock...
[2025-01-10 13:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 13:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 13:18:04] Production.INFO: CreateAllLog End
[2025-01-10 13:18:04] Production.ERROR: done
[2025-01-10 13:18:04] Production.INFO: Account Balance End.
[2025-01-10 13:18:04] Production.ERROR: CronJobId end 12
[2025-01-10 13:18:04] Production.INFO: ==21566== Releasing lock...
[2025-01-10 13:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 13:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 13:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 10:18:05
[end_date_ymd] => 2025-01-10 13:18:05
[RateCDR] => 1
)
[2025-01-10 13:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 10:18:05' and `end` < '2025-01-10 13:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 13:18:11] Production.ERROR: CronJobId end10
[2025-01-10 13:18:11] Production.INFO: ==21564== Releasing lock...
[2025-01-10 13:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 13:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 13:18:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 13:18:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 13:18:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 13:18:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 13:18:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 13:18:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 13:18:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 13:18:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 13:18:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 13:18:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 13:18:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 13:18:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 13:18:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 13:18:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 13:18:13] Production.INFO: call_cost start
[2025-01-10 13:18:13] Production.INFO: call_cost end
[2025-01-10 13:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 13:18:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 13:18:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 13:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 13:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 13:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 13:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 13:18:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 13:18:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 13:18:14] Production.INFO: ==21560== Releasing lock...
[2025-01-10 13:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 13:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 13:18:27] Production.INFO: count ==4008
[2025-01-10 13:18:29] Production.ERROR: pbx CDR StartTime 2025-01-10 10:18:05 - End Time 2025-01-10 13:18:05
[2025-01-10 13:18:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 13:18:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217173', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:18:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217173', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:18:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217173', 'tblTempVendorCDR_20' ) start
[2025-01-10 13:18:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217173', 'tblTempVendorCDR_20' ) end
[2025-01-10 13:18:29] Production.INFO: ProcessCDR(1,14217173,1,1,2)
[2025-01-10 13:18:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217173,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:18:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217173,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:18:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217173,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:18:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217173,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:18:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217173', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:18:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217173', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:18:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:18:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:18:34] Production.INFO: ==21568== Releasing lock...
[2025-01-10 13:18:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 13:18:34] Production.INFO: 58 MB #Memory Used#
[2025-01-10 18:19:02] Production.INFO: ==21635== Lock acquired, processing the job...
[2025-01-10 18:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 18:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 18:19:02] Production.INFO: neon service started
[2025-01-10 18:19:02] Production.INFO: neon service started
[2025-01-10 18:19:02] Production.INFO: ==21635== Releasing lock...
[2025-01-10 18:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 18:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 13:19:02] Production.INFO: ==21637== Lock acquired, processing the job...
[2025-01-10 13:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 13:19:02] Production.INFO: ==21637== Releasing lock...
[2025-01-10 13:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 13:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 18:19:03] Production.INFO: ==21639== Lock acquired, processing the job...
[2025-01-10 18:19:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 18:19:03] Production.INFO: ==21639== Releasing lock...
[2025-01-10 18:19:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 18:19:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 13:19:03] Production.INFO: ==21641== Lock acquired, processing the job...
[2025-01-10 13:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 13:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 13:19:03] Production.INFO: ==21643== Lock acquired, processing the job...
[2025-01-10 13:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 13:19:03] Production.INFO: ==21647== Lock acquired, processing the job...
[2025-01-10 13:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 13:19:03] Production.INFO: Account Balance Start.
[2025-01-10 13:19:03] Production.INFO: CreateAllLog Start
[2025-01-10 13:19:03] Production.INFO: 117
[2025-01-10 13:19:03] Production.INFO: ==21643== Releasing lock...
[2025-01-10 13:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 13:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 13:19:03] Production.INFO: Date 2025-01-08
[2025-01-10 13:19:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:19:03] Production.INFO: Date 2025-01-09
[2025-01-10 13:19:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:19:03] Production.INFO: Date 2025-01-10
[2025-01-10 13:19:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:19:04] Production.INFO: Total Charge 0
[2025-01-10 13:19:04] Production.INFO: ==21645== Lock acquired, processing the job...
[2025-01-10 13:19:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 13:19:04] Production.INFO: CreateAllLog End
[2025-01-10 13:19:04] Production.INFO: ==21651== Lock acquired, processing the job...
[2025-01-10 13:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 13:19:04] Production.INFO: ==21649== Lock acquired, processing the job...
[2025-01-10 13:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 13:19:04] Production.INFO: Account Balance End.
[2025-01-10 13:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 13:19:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 13:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 13:19:04] Production.ERROR: CronJobId end 12
[2025-01-10 13:19:04] Production.INFO: ==21647== Releasing lock...
[2025-01-10 13:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 13:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 13:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 13:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:19:04] Production.INFO: count ==21
[2025-01-10 13:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:19:04] Production.INFO: count ==21
[2025-01-10 13:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217177') start
[2025-01-10 13:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217177') end
[2025-01-10 13:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 13:19:04] Production.INFO: 1
[2025-01-10 13:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 13:19:04] Production.ERROR: done
[2025-01-10 13:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 13:19:04] Production.INFO: ==21651== Releasing lock...
[2025-01-10 13:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 13:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 13:19:04] Production.ERROR: done
[2025-01-10 13:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 10:19:05
[end_date_ymd] => 2025-01-10 13:19:05
[RateCDR] => 1
)
[2025-01-10 13:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 10:19:05' and `end` < '2025-01-10 13:19:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 13:19:12] Production.ERROR: CronJobId end10
[2025-01-10 13:19:12] Production.INFO: ==21645== Releasing lock...
[2025-01-10 13:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 13:19:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 13:19:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 13:19:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 13:19:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 13:19:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 13:19:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 13:19:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 13:19:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 13:19:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 13:19:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 13:19:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 13:19:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 13:19:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 13:19:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 13:19:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 13:19:14] Production.INFO: call_cost start
[2025-01-10 13:19:14] Production.INFO: call_cost end
[2025-01-10 13:19:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 13:19:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 13:19:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 13:19:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 13:19:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 13:19:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 13:19:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 13:19:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 13:19:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 13:19:15] Production.INFO: ==21641== Releasing lock...
[2025-01-10 13:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 13:19:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 13:19:25] Production.INFO: count ==4006
[2025-01-10 13:19:27] Production.ERROR: pbx CDR StartTime 2025-01-10 10:19:05 - End Time 2025-01-10 13:19:05
[2025-01-10 13:19:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 13:19:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217178', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:19:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217178', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:19:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217178', 'tblTempVendorCDR_20' ) start
[2025-01-10 13:19:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217178', 'tblTempVendorCDR_20' ) end
[2025-01-10 13:19:27] Production.INFO: ProcessCDR(1,14217178,1,1,2)
[2025-01-10 13:19:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217178,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:19:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217178,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:19:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217178,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:19:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217178,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:19:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217178', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:19:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217178', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:19:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:19:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:19:32] Production.INFO: ==21649== Releasing lock...
[2025-01-10 13:19:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 13:19:32] Production.INFO: 58.5 MB #Memory Used#
[2025-01-10 18:20:01] Production.INFO: ==21715== Lock acquired, processing the job...
[2025-01-10 18:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 18:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 18:20:01] Production.INFO: neon service started
[2025-01-10 18:20:01] Production.INFO: neon service started
[2025-01-10 18:20:01] Production.INFO: ==21715== Releasing lock...
[2025-01-10 18:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 18:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 13:20:02] Production.INFO: ==21717== Lock acquired, processing the job...
[2025-01-10 13:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 18:20:02] Production.INFO: ==21719== Lock acquired, processing the job...
[2025-01-10 18:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 13:20:02] Production.INFO: ==21717== Releasing lock...
[2025-01-10 13:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 13:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 18:20:02] Production.INFO: ==21719== Releasing lock...
[2025-01-10 18:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 18:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 13:20:03] Production.INFO: ==21729== Lock acquired, processing the job...
[2025-01-10 13:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 13:20:03] Production.INFO: ==21736== Lock acquired, processing the job...
[2025-01-10 13:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 13:20:03] Production.INFO: ==21734== Lock acquired, processing the job...
[2025-01-10 13:20:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 13:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:20:03] Production.INFO: Account Balance Start.
[2025-01-10 13:20:03] Production.INFO: CreateAllLog Start
[2025-01-10 13:20:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:20:03] Production.INFO: 117
[2025-01-10 13:20:03] Production.INFO: Date 2025-01-08
[2025-01-10 13:20:03] Production.INFO: ==21721== Lock acquired, processing the job...
[2025-01-10 13:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 13:20:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:20:03] Production.INFO: count ==21
[2025-01-10 13:20:03] Production.INFO: ==21723== Lock acquired, processing the job...
[2025-01-10 13:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 13:20:03] Production.INFO: Date 2025-01-09
[2025-01-10 13:20:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:20:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:20:03] Production.INFO: count ==21
[2025-01-10 13:20:03] Production.INFO: ==21725== Lock acquired, processing the job...
[2025-01-10 13:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 13:20:03] Production.INFO: ==21727== Lock acquired, processing the job...
[2025-01-10 13:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 13:20:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217180') start
[2025-01-10 13:20:03] Production.INFO: Date 2025-01-10
[2025-01-10 13:20:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 13:20:03] Production.INFO: ==21732== Lock acquired, processing the job...
[2025-01-10 13:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 13:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 13:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 13:20:03] Production.ERROR: CronJob PID - 21723
[2025-01-10 13:20:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-10 13:20:03] Production.ERROR: CronJob ID - 5
[2025-01-10 13:20:03] Production.ERROR: CronJob Last Run Time 2025-01-10 13:20:00
[2025-01-10 13:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 13:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 13:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 13:20:03] Production.ERROR: CronJob PID - 21725
[2025-01-10 13:20:03] Production.ERROR: CronJob Title - Account Block
[2025-01-10 13:20:03] Production.ERROR: CronJob ID - 7
[2025-01-10 13:20:03] Production.ERROR: CronJob Last Run Time 2025-01-10 13:20:00
[2025-01-10 13:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 13:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 13:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 13:20:03] Production.ERROR: CronJob PID - 21727
[2025-01-10 13:20:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-10 13:20:03] Production.ERROR: CronJob ID - 10
[2025-01-10 13:20:03] Production.ERROR: CronJob Last Run Time 2025-01-10 13:20:00
[2025-01-10 13:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 13:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 13:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 13:20:03] Production.ERROR: CronJob PID - 21729
[2025-01-10 13:20:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-10 13:20:03] Production.ERROR: CronJob ID - 12
[2025-01-10 13:20:03] Production.ERROR: CronJob Last Run Time 2025-01-10 13:20:00
[2025-01-10 13:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 13:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 13:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 13:20:03] Production.ERROR: CronJob PID - 21734
[2025-01-10 13:20:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-10 13:20:03] Production.ERROR: CronJob ID - 17
[2025-01-10 13:20:03] Production.ERROR: CronJob Last Run Time 2025-01-10 13:20:00
[2025-01-10 13:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 13:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 13:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 13:20:03] Production.ERROR: CronJob PID - 21736
[2025-01-10 13:20:03] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-10 13:20:03] Production.ERROR: CronJob ID - 19
[2025-01-10 13:20:03] Production.ERROR: CronJob Last Run Time 2025-01-10 13:20:00
[2025-01-10 13:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 13:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 13:20:03] Production.INFO: Total Charge 0
[2025-01-10 13:20:03] Production.INFO: CreateAllLog End
[2025-01-10 13:20:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217180') end
[2025-01-10 13:20:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 13:20:03] Production.INFO: 1
[2025-01-10 13:20:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 13:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 13:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 13:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 13:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 13:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 13:20:04] Production.INFO: ==21721== Releasing lock...
[2025-01-10 13:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 13:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 13:20:04] Production.INFO: ==21736== Releasing lock...
[2025-01-10 13:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 13:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 13:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:20:04] Production.ERROR: done
[2025-01-10 13:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 13:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14217183', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 13:20:04] Production.INFO: Account Balance End.
[2025-01-10 13:20:04] Production.ERROR: CronJobId end 12
[2025-01-10 13:20:04] Production.INFO: ==21729== Releasing lock...
[2025-01-10 13:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 13:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 13:20:04] Production.INFO: ==21725== Releasing lock...
[2025-01-10 13:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 13:20:04] Production.ERROR: done
[2025-01-10 13:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 13:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 13:20:04] Production.ERROR: done
[2025-01-10 13:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 10:20:05
[end_date_ymd] => 2025-01-10 13:20:05
[RateCDR] => 1
)
[2025-01-10 13:20:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 10:20:05' and `end` < '2025-01-10 13:20:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 13:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14217183', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 13:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 13:20:08] Production.INFO: ProcessCDR(1,14217183,1,1,2)
[2025-01-10 13:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14217183,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14217183,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:20:08] Production.INFO: ==21734== Releasing lock...
[2025-01-10 13:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 13:20:08] Production.INFO: 26 MB #Memory Used#
[2025-01-10 13:20:13] Production.ERROR: CronJobId end10
[2025-01-10 13:20:13] Production.INFO: ==21727== Releasing lock...
[2025-01-10 13:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 13:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 13:20:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 13:20:15] Production.INFO: ============== Balance Warning START===========
[2025-01-10 13:20:15] Production.INFO: ============== Balance Warning END===========
[2025-01-10 13:20:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 13:20:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 13:20:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 13:20:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 13:20:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 13:20:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 13:20:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 13:20:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 13:20:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 13:20:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 13:20:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 13:20:15] Production.INFO: call_cost start
[2025-01-10 13:20:15] Production.INFO: call_cost end
[2025-01-10 13:20:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 13:20:16] Production.INFO: ============== Report Schedule START===========
[2025-01-10 13:20:16] Production.INFO: ============== Report Schedule END===========
[2025-01-10 13:20:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 13:20:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 13:20:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 13:20:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 13:20:16] Production.INFO: ============== Deal alert START===========
[2025-01-10 13:20:16] Production.INFO: ============== Deal alert END===========
[2025-01-10 13:20:16] Production.INFO: ==21723== Releasing lock...
[2025-01-10 13:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 13:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 13:20:34] Production.INFO: count ==4004
[2025-01-10 13:20:36] Production.ERROR: pbx CDR StartTime 2025-01-10 10:20:05 - End Time 2025-01-10 13:20:05
[2025-01-10 13:20:36] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 13:20:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217184', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:20:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217184', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:20:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217184', 'tblTempVendorCDR_20' ) start
[2025-01-10 13:20:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217184', 'tblTempVendorCDR_20' ) end
[2025-01-10 13:20:36] Production.INFO: ProcessCDR(1,14217184,1,1,2)
[2025-01-10 13:20:36] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217184,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:20:39] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217184,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:20:39] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217184,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:20:41] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217184,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:20:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217184', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:20:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217184', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:20:41] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:20:41] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:20:41] Production.INFO: ==21732== Releasing lock...
[2025-01-10 13:20:41] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 13:20:41] Production.INFO: 58 MB #Memory Used#
[2025-01-10 18:21:02] Production.INFO: ==21801== Lock acquired, processing the job...
[2025-01-10 18:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 18:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 18:21:02] Production.INFO: neon service started
[2025-01-10 18:21:02] Production.INFO: neon service started
[2025-01-10 18:21:02] Production.INFO: ==21801== Releasing lock...
[2025-01-10 18:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 18:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 13:21:02] Production.INFO: ==21803== Lock acquired, processing the job...
[2025-01-10 13:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 13:21:02] Production.INFO: ==21803== Releasing lock...
[2025-01-10 13:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 13:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 18:21:02] Production.INFO: ==21805== Lock acquired, processing the job...
[2025-01-10 18:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 18:21:02] Production.INFO: ==21805== Releasing lock...
[2025-01-10 18:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 18:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 13:21:03] Production.INFO: ==21810== Lock acquired, processing the job...
[2025-01-10 13:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 13:21:03] Production.INFO: ==21816== Lock acquired, processing the job...
[2025-01-10 13:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 13:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:21:03] Production.INFO: ==21808== Lock acquired, processing the job...
[2025-01-10 13:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 13:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 13:21:03] Production.INFO: ==21812== Lock acquired, processing the job...
[2025-01-10 13:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 13:21:03] Production.INFO: ==21810== Releasing lock...
[2025-01-10 13:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 13:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 13:21:03] Production.INFO: ==21814== Lock acquired, processing the job...
[2025-01-10 13:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 13:21:03] Production.INFO: ==21818== Lock acquired, processing the job...
[2025-01-10 13:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 13:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 13:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 13:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 13:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 13:21:03] Production.INFO: Account Balance Start.
[2025-01-10 13:21:03] Production.INFO: CreateAllLog Start
[2025-01-10 13:21:03] Production.INFO: 117
[2025-01-10 13:21:04] Production.ERROR: done
[2025-01-10 13:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 13:21:04] Production.INFO: Date 2025-01-08
[2025-01-10 13:21:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:21:04] Production.INFO: Date 2025-01-09
[2025-01-10 13:21:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:21:04] Production.INFO: count ==21
[2025-01-10 13:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:21:04] Production.INFO: count ==21
[2025-01-10 13:21:04] Production.INFO: Date 2025-01-10
[2025-01-10 13:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217188') start
[2025-01-10 13:21:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:21:04] Production.ERROR: done
[2025-01-10 13:21:04] Production.INFO: Total Charge 0
[2025-01-10 13:21:04] Production.INFO: CreateAllLog End
[2025-01-10 13:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217188') end
[2025-01-10 13:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 13:21:04] Production.INFO: 1
[2025-01-10 13:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 13:21:04] Production.INFO: ==21818== Releasing lock...
[2025-01-10 13:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 13:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 13:21:04] Production.INFO: Account Balance End.
[2025-01-10 13:21:04] Production.ERROR: CronJobId end 12
[2025-01-10 13:21:04] Production.INFO: ==21814== Releasing lock...
[2025-01-10 13:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 13:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 13:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 10:21:05
[end_date_ymd] => 2025-01-10 13:21:05
[RateCDR] => 1
)
[2025-01-10 13:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 10:21:05' and `end` < '2025-01-10 13:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 13: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,10))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#2 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#6 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#7 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#8 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#9 [internal function]: App\Console\Commands\NeonAlerts->fire()
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 {main}
[2025-01-10 13:21:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 13:21:11] Production.INFO: ============== Balance Warning START===========
[2025-01-10 13:21:11] Production.INFO: ============== Balance Warning END===========
[2025-01-10 13:21:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 13:21:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 13:21:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 13:21:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 13:21:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 13:21:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 13:21:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 13:21:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 13:21:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 13:21:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 13:21:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 13:21:11] Production.INFO: call_cost start
[2025-01-10 13:21:11] Production.INFO: call_cost end
[2025-01-10 13:21:11] Production.ERROR: CronJobId end10
[2025-01-10 13:21:11] Production.INFO: ==21812== Releasing lock...
[2025-01-10 13:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 13:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 13:21:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 13:21:12] Production.INFO: ============== Report Schedule START===========
[2025-01-10 13:21:12] Production.INFO: ============== Report Schedule END===========
[2025-01-10 13:21:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 13:21:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 13:21:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 13:21:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 13:21:12] Production.INFO: ============== Deal alert START===========
[2025-01-10 13:21:12] Production.INFO: ============== Deal alert END===========
[2025-01-10 13:21:12] Production.INFO: ==21808== Releasing lock...
[2025-01-10 13:21:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 13:21:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 13:21:25] Production.INFO: count ==4077
[2025-01-10 13:21:27] Production.ERROR: pbx CDR StartTime 2025-01-10 10:21:05 - End Time 2025-01-10 13:21:05
[2025-01-10 13:21:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 13:21:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217189', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:21:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217189', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:21:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217189', 'tblTempVendorCDR_20' ) start
[2025-01-10 13:21:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217189', 'tblTempVendorCDR_20' ) end
[2025-01-10 13:21:27] Production.INFO: ProcessCDR(1,14217189,1,1,2)
[2025-01-10 13:21:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217189,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:21:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217189,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:21:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217189,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:21:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217189,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:21:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217189', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:21:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217189', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:21:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:21:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:21:32] Production.INFO: ==21816== Releasing lock...
[2025-01-10 13:21:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 13:21:32] Production.INFO: 58.5 MB #Memory Used#
[2025-01-10 18:22:01] Production.INFO: ==21880== Lock acquired, processing the job...
[2025-01-10 18:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 18:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 18:22:01] Production.INFO: neon service started
[2025-01-10 18:22:01] Production.INFO: neon service started
[2025-01-10 18:22:01] Production.INFO: ==21880== Releasing lock...
[2025-01-10 18:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 18:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 13:22:01] Production.INFO: ==21882== Lock acquired, processing the job...
[2025-01-10 13:22:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 13:22:02] Production.INFO: ==21882== Releasing lock...
[2025-01-10 13:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 13:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 18:22:02] Production.INFO: ==21884== Lock acquired, processing the job...
[2025-01-10 18:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 18:22:02] Production.INFO: ==21884== Releasing lock...
[2025-01-10 18:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 18:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 13:22:02] Production.INFO: ==21894== Lock acquired, processing the job...
[2025-01-10 13:22:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 13:22:02] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:22:03] Production.INFO: ==21886== Lock acquired, processing the job...
[2025-01-10 13:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 13:22:03] Production.ERROR: done
[2025-01-10 13:22:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 13:22:03] Production.INFO: ==21888== Lock acquired, processing the job...
[2025-01-10 13:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 13:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 13:22:03] Production.INFO: ==21892== Lock acquired, processing the job...
[2025-01-10 13:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 13:22:03] Production.INFO: ==21890== Lock acquired, processing the job...
[2025-01-10 13:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 13:22:03] Production.INFO: ==21896== Lock acquired, processing the job...
[2025-01-10 13:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 13:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 13:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 13:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 13:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 13:22:03] Production.ERROR: done
[2025-01-10 13:22:03] Production.INFO: Account Balance Start.
[2025-01-10 13:22:03] Production.INFO: CreateAllLog Start
[2025-01-10 13:22:03] Production.INFO: 117
[2025-01-10 13:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:22:03] Production.INFO: Date 2025-01-08
[2025-01-10 13:22:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:22:03] Production.INFO: count ==21
[2025-01-10 13:22:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:22:03] Production.INFO: count ==21
[2025-01-10 13:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217192') start
[2025-01-10 13:22:03] Production.INFO: ==21888== Releasing lock...
[2025-01-10 13:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 13:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 13:22:03] Production.INFO: Date 2025-01-09
[2025-01-10 13:22:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:22:04] Production.INFO: Date 2025-01-10
[2025-01-10 13:22:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217192') end
[2025-01-10 13:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 13:22:04] Production.INFO: 1
[2025-01-10 13:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 13:22:04] Production.INFO: Total Charge 0
[2025-01-10 13:22:04] Production.INFO: ==21896== Releasing lock...
[2025-01-10 13:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 13:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 13:22:04] Production.INFO: CreateAllLog End
[2025-01-10 13:22:04] Production.INFO: Account Balance End.
[2025-01-10 13:22:04] Production.ERROR: CronJobId end 12
[2025-01-10 13:22:04] Production.INFO: ==21892== Releasing lock...
[2025-01-10 13:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 13:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 13:22:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 10:22:04
[end_date_ymd] => 2025-01-10 13:22:04
[RateCDR] => 1
)
[2025-01-10 13:22:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 10:22:04' and `end` < '2025-01-10 13:22:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 13:22:11] Production.ERROR: CronJobId end10
[2025-01-10 13:22:11] Production.INFO: ==21890== Releasing lock...
[2025-01-10 13:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 13:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 13:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 13:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 13:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 13:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 13:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 13:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 13:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 13:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 13:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 13:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 13:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 13:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 13:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 13:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 13:22:13] Production.INFO: call_cost start
[2025-01-10 13:22:13] Production.INFO: call_cost end
[2025-01-10 13:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 13:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 13:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 13:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 13:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 13:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 13:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 13:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 13:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 13:22:14] Production.INFO: ==21886== Releasing lock...
[2025-01-10 13:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 13:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 13:22:19] Production.INFO: count ==4085
[2025-01-10 13:22:21] Production.ERROR: pbx CDR StartTime 2025-01-10 10:22:04 - End Time 2025-01-10 13:22:04
[2025-01-10 13:22:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 13:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217194', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217194', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217194', 'tblTempVendorCDR_20' ) start
[2025-01-10 13:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217194', 'tblTempVendorCDR_20' ) end
[2025-01-10 13:22:21] Production.INFO: ProcessCDR(1,14217194,1,1,2)
[2025-01-10 13:22:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217194,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:22:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217194,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:22:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217194,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:22:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217194,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:22:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217194', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:22:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217194', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:22:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:22:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:22:26] Production.INFO: ==21894== Releasing lock...
[2025-01-10 13:22:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 13:22:26] Production.INFO: 58.75 MB #Memory Used#
[2025-01-10 18:23:02] Production.INFO: ==21955== Lock acquired, processing the job...
[2025-01-10 18:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 18:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 18:23:02] Production.INFO: neon service started
[2025-01-10 18:23:02] Production.INFO: neon service started
[2025-01-10 18:23:02] Production.INFO: ==21955== Releasing lock...
[2025-01-10 18:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 18:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 13:23:02] Production.INFO: ==21957== Lock acquired, processing the job...
[2025-01-10 13:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 13:23:02] Production.INFO: ==21957== Releasing lock...
[2025-01-10 13:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 13:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 18:23:02] Production.INFO: ==21960== Lock acquired, processing the job...
[2025-01-10 18:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 18:23:02] Production.INFO: ==21960== Releasing lock...
[2025-01-10 18:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 18:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 13:23:03] Production.INFO: ==21962== Lock acquired, processing the job...
[2025-01-10 13:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 13:23:03] Production.INFO: ==21968== Lock acquired, processing the job...
[2025-01-10 13:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 13:23:03] Production.INFO: ==21964== Lock acquired, processing the job...
[2025-01-10 13:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 13:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 13:23:03] Production.INFO: Account Balance Start.
[2025-01-10 13:23:03] Production.INFO: CreateAllLog Start
[2025-01-10 13:23:03] Production.INFO: 117
[2025-01-10 13:23:03] Production.INFO: ==21966== Lock acquired, processing the job...
[2025-01-10 13:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 13:23:03] Production.INFO: Date 2025-01-08
[2025-01-10 13:23:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:23:03] Production.INFO: Date 2025-01-09
[2025-01-10 13:23:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:23:03] Production.INFO: Date 2025-01-10
[2025-01-10 13:23:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:23:03] Production.INFO: ==21970== Lock acquired, processing the job...
[2025-01-10 13:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 13:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 13:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 13:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 13:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 13:23:04] Production.INFO: ==21972== Lock acquired, processing the job...
[2025-01-10 13:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 13:23:04] Production.INFO: Total Charge 0
[2025-01-10 13:23:04] Production.INFO: CreateAllLog End
[2025-01-10 13:23:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:23:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:23:04] Production.INFO: count ==21
[2025-01-10 13:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:23:04] Production.INFO: ==21964== Releasing lock...
[2025-01-10 13:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 13:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 13:23:04] Production.INFO: count ==21
[2025-01-10 13:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217198') start
[2025-01-10 13:23:04] Production.ERROR: done
[2025-01-10 13:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217198') end
[2025-01-10 13:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 13:23:04] Production.INFO: 1
[2025-01-10 13:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 13:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 13:23:04] Production.INFO: Account Balance End.
[2025-01-10 13:23:04] Production.ERROR: CronJobId end 12
[2025-01-10 13:23:04] Production.INFO: ==21968== Releasing lock...
[2025-01-10 13:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 13:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 13:23:04] Production.INFO: ==21972== Releasing lock...
[2025-01-10 13:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 13:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 13:23:04] Production.ERROR: done
[2025-01-10 13:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 10:23:05
[end_date_ymd] => 2025-01-10 13:23:05
[RateCDR] => 1
)
[2025-01-10 13:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 10:23:05' and `end` < '2025-01-10 13:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 13:23:12] Production.ERROR: CronJobId end10
[2025-01-10 13:23:12] Production.INFO: ==21966== Releasing lock...
[2025-01-10 13:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 13:23:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 13:23:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 13:23:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 13:23:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 13:23:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 13:23:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 13:23:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 13:23:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 13:23:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 13:23:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 13:23:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 13:23:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 13:23:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 13:23:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 13:23:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 13:23:14] Production.INFO: call_cost start
[2025-01-10 13:23:14] Production.INFO: call_cost end
[2025-01-10 13:23:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 13:23:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 13:23:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 13:23:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 13:23:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 13:23:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 13:23:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 13:23:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 13:23:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 13:23:15] Production.INFO: ==21962== Releasing lock...
[2025-01-10 13:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 13:23:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 13:23:30] Production.INFO: count ==4073
[2025-01-10 13:23:31] Production.ERROR: pbx CDR StartTime 2025-01-10 10:23:05 - End Time 2025-01-10 13:23:05
[2025-01-10 13:23:31] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 13:23:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217199', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:23:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217199', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:23:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217199', 'tblTempVendorCDR_20' ) start
[2025-01-10 13:23:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217199', 'tblTempVendorCDR_20' ) end
[2025-01-10 13:23:32] Production.INFO: ProcessCDR(1,14217199,1,1,2)
[2025-01-10 13:23:32] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217199,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:23:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217199,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:23:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217199,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:23:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217199,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:23:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217199', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:23:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217199', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:23:36] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:23:36] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:23:36] Production.INFO: ==21970== Releasing lock...
[2025-01-10 13:23:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 13:23:36] Production.INFO: 58.75 MB #Memory Used#
[2025-01-10 18:24:01] Production.INFO: ==22035== Lock acquired, processing the job...
[2025-01-10 18:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 18:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 18:24:01] Production.INFO: neon service started
[2025-01-10 18:24:01] Production.INFO: neon service started
[2025-01-10 18:24:01] Production.INFO: ==22035== Releasing lock...
[2025-01-10 18:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 18:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 13:24:02] Production.INFO: ==22037== Lock acquired, processing the job...
[2025-01-10 13:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 18:24:02] Production.INFO: ==22039== Lock acquired, processing the job...
[2025-01-10 18:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 18:24:02] Production.INFO: ==22039== Releasing lock...
[2025-01-10 18:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 18:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 13:24:02] Production.INFO: ==22037== Releasing lock...
[2025-01-10 13:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 13:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 13:24:03] Production.INFO: ==22042== Lock acquired, processing the job...
[2025-01-10 13:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 13:24:03] Production.INFO: ==22046== Lock acquired, processing the job...
[2025-01-10 13:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 13:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 13:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 13:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 13:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 13:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 13:24:03] Production.INFO: ==22044== Lock acquired, processing the job...
[2025-01-10 13:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 13:24:03] Production.INFO: ==22053== Lock acquired, processing the job...
[2025-01-10 13:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 13:24:03] Production.INFO: ==22048== Lock acquired, processing the job...
[2025-01-10 13:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 13:24:03] Production.INFO: ==22050== Lock acquired, processing the job...
[2025-01-10 13:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 13:24:03] Production.INFO: Account Balance Start.
[2025-01-10 13:24:03] Production.INFO: CreateAllLog Start
[2025-01-10 13:24:03] Production.INFO: 117
[2025-01-10 13:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:24:03] Production.INFO: Date 2025-01-08
[2025-01-10 13:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:24:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:24:03] Production.INFO: ==22044== Releasing lock...
[2025-01-10 13:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 13:24:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 13:24:03] Production.INFO: count ==21
[2025-01-10 13:24:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:24:03] Production.INFO: count ==21
[2025-01-10 13:24:03] Production.INFO: Date 2025-01-09
[2025-01-10 13:24:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217202') start
[2025-01-10 13:24:03] Production.INFO: Date 2025-01-10
[2025-01-10 13:24:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217202') end
[2025-01-10 13:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 13:24:04] Production.INFO: 1
[2025-01-10 13:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 13:24:04] Production.INFO: Total Charge 0
[2025-01-10 13:24:04] Production.INFO: CreateAllLog End
[2025-01-10 13:24:04] Production.INFO: ==22053== Releasing lock...
[2025-01-10 13:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 13:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 13:24:04] Production.ERROR: done
[2025-01-10 13:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 13:24:04] Production.INFO: Account Balance End.
[2025-01-10 13:24:04] Production.ERROR: done
[2025-01-10 13:24:04] Production.ERROR: CronJobId end 12
[2025-01-10 13:24:04] Production.INFO: ==22048== Releasing lock...
[2025-01-10 13:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 13:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 13:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 10:24:05
[end_date_ymd] => 2025-01-10 13:24:05
[RateCDR] => 1
)
[2025-01-10 13:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 10:24:05' and `end` < '2025-01-10 13:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 13:24:11] Production.ERROR: CronJobId end10
[2025-01-10 13:24:11] Production.INFO: ==22046== Releasing lock...
[2025-01-10 13:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 13:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 13:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 13:24:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 13:24:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 13:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 13:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 13:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 13:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 13:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 13:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 13:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 13:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 13:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 13:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 13:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 13:24:13] Production.INFO: call_cost start
[2025-01-10 13:24:13] Production.INFO: call_cost end
[2025-01-10 13:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 13:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 13:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 13:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 13:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 13:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 13:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 13:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 13:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 13:24:14] Production.INFO: ==22042== Releasing lock...
[2025-01-10 13:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 13:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 13:24:19] Production.INFO: count ==4054
[2025-01-10 13:24:21] Production.ERROR: pbx CDR StartTime 2025-01-10 10:24:05 - End Time 2025-01-10 13:24:05
[2025-01-10 13:24:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 13:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217204', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217204', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217204', 'tblTempVendorCDR_20' ) start
[2025-01-10 13:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217204', 'tblTempVendorCDR_20' ) end
[2025-01-10 13:24:21] Production.INFO: ProcessCDR(1,14217204,1,1,2)
[2025-01-10 13:24:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217204,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:24:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217204,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:24:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217204,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:24:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217204,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:24:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217204', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:24:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217204', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:24:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:24:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:24:26] Production.INFO: ==22050== Releasing lock...
[2025-01-10 13:24:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 13:24:26] Production.INFO: 58.25 MB #Memory Used#
[2025-01-10 18:25:01] Production.INFO: ==22114== Lock acquired, processing the job...
[2025-01-10 18:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 18:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 18:25:01] Production.INFO: neon service started
[2025-01-10 18:25:01] Production.INFO: neon service started
[2025-01-10 18:25:01] Production.INFO: ==22114== Releasing lock...
[2025-01-10 18:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 18:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 13:25:02] Production.INFO: ==22116== Lock acquired, processing the job...
[2025-01-10 13:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 13:25:02] Production.INFO: ==22116== Releasing lock...
[2025-01-10 13:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 13:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 18:25:02] Production.INFO: ==22118== Lock acquired, processing the job...
[2025-01-10 18:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 18:25:02] Production.INFO: ==22118== Releasing lock...
[2025-01-10 18:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 18:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 13:25:03] Production.INFO: ==22123== Lock acquired, processing the job...
[2025-01-10 13:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 13:25:03] Production.INFO: ==22121== Lock acquired, processing the job...
[2025-01-10 13:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 13:25:03] Production.INFO: ==22131== Lock acquired, processing the job...
[2025-01-10 13:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 13:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:25:03] Production.INFO: count ==21
[2025-01-10 13:25:03] Production.INFO: ==22125== Lock acquired, processing the job...
[2025-01-10 13:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 13:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:25:03] Production.INFO: count ==21
[2025-01-10 13:25:03] Production.INFO: ==22123== Releasing lock...
[2025-01-10 13:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 13:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 13:25:03] Production.INFO: ==22127== Lock acquired, processing the job...
[2025-01-10 13:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 13:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 13:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217206') start
[2025-01-10 13:25:03] Production.INFO: ==22129== Lock acquired, processing the job...
[2025-01-10 13:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 13:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 13:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 13:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 13:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 13:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217206') end
[2025-01-10 13:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 13:25:03] Production.INFO: 1
[2025-01-10 13:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 13:25:03] Production.INFO: Account Balance Start.
[2025-01-10 13:25:03] Production.INFO: CreateAllLog Start
[2025-01-10 13:25:03] Production.INFO: 117
[2025-01-10 13:25:03] Production.INFO: Date 2025-01-08
[2025-01-10 13:25:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:25:03] Production.INFO: Date 2025-01-09
[2025-01-10 13:25:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:25:04] Production.INFO: ==22131== Releasing lock...
[2025-01-10 13:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 13:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 13:25:04] Production.INFO: Date 2025-01-10
[2025-01-10 13:25:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:25:04] Production.INFO: Total Charge 0
[2025-01-10 13:25:04] Production.INFO: CreateAllLog End
[2025-01-10 13:25:04] Production.ERROR: done
[2025-01-10 13:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 13:25:04] Production.INFO: Account Balance End.
[2025-01-10 13:25:04] Production.ERROR: CronJobId end 12
[2025-01-10 13:25:04] Production.INFO: ==22127== Releasing lock...
[2025-01-10 13:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 13:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 13:25:04] Production.ERROR: done
[2025-01-10 13:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 10:25:05
[end_date_ymd] => 2025-01-10 13:25:05
[RateCDR] => 1
)
[2025-01-10 13:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 10:25:05' and `end` < '2025-01-10 13:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 13:25:11] Production.ERROR: CronJobId end10
[2025-01-10 13:25:11] Production.INFO: ==22125== Releasing lock...
[2025-01-10 13:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 13:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 13:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 13:25:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 13:25:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 13:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 13:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 13:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 13:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 13:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 13:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 13:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 13:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 13:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 13:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 13:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 13:25:13] Production.INFO: call_cost start
[2025-01-10 13:25:13] Production.INFO: call_cost end
[2025-01-10 13:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 13:25:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 13:25:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 13:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 13:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 13:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 13:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 13:25:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 13:25:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 13:25:14] Production.INFO: ==22121== Releasing lock...
[2025-01-10 13:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 13:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 13:25:26] Production.INFO: count ==4039
[2025-01-10 13:25:28] Production.ERROR: pbx CDR StartTime 2025-01-10 10:25:05 - End Time 2025-01-10 13:25:05
[2025-01-10 13:25:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 13:25:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217209', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:25:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217209', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:25:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217209', 'tblTempVendorCDR_20' ) start
[2025-01-10 13:25:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217209', 'tblTempVendorCDR_20' ) end
[2025-01-10 13:25:28] Production.INFO: ProcessCDR(1,14217209,1,1,2)
[2025-01-10 13:25:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217209,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:25:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217209,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:25:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217209,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:25:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217209,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:25:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217209', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:25:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217209', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:25:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:25:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:25:32] Production.INFO: ==22129== Releasing lock...
[2025-01-10 13:25:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 13:25:32] Production.INFO: 58.25 MB #Memory Used#
[2025-01-10 18:26:02] Production.INFO: ==22192== Lock acquired, processing the job...
[2025-01-10 18:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 18:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 18:26:02] Production.INFO: neon service started
[2025-01-10 18:26:02] Production.INFO: neon service started
[2025-01-10 18:26:02] Production.INFO: ==22192== Releasing lock...
[2025-01-10 18:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 18:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 13:26:02] Production.INFO: ==22195== Lock acquired, processing the job...
[2025-01-10 13:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 13:26:02] Production.INFO: ==22195== Releasing lock...
[2025-01-10 13:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 13:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 18:26:03] Production.INFO: ==22197== Lock acquired, processing the job...
[2025-01-10 18:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 18:26:03] Production.INFO: ==22197== Releasing lock...
[2025-01-10 18:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 18:26:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 13:26:03] Production.INFO: ==22199== Lock acquired, processing the job...
[2025-01-10 13:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 13:26:03] Production.INFO: ==22203== Lock acquired, processing the job...
[2025-01-10 13:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 13:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 13:26:03] Production.INFO: ==22205== Lock acquired, processing the job...
[2025-01-10 13:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 13:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 13:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 13:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 13:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 13:26:03] Production.INFO: ==22201== Lock acquired, processing the job...
[2025-01-10 13:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 13:26:03] Production.INFO: Account Balance Start.
[2025-01-10 13:26:03] Production.INFO: CreateAllLog Start
[2025-01-10 13:26:03] Production.INFO: 117
[2025-01-10 13:26:04] Production.INFO: Date 2025-01-08
[2025-01-10 13:26:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:26:04] Production.INFO: ==22207== Lock acquired, processing the job...
[2025-01-10 13:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 13:26:04] Production.INFO: Date 2025-01-09
[2025-01-10 13:26:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:26:04] Production.INFO: Date 2025-01-10
[2025-01-10 13:26:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:26:04] Production.INFO: Total Charge 0
[2025-01-10 13:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:26:04] Production.INFO: CreateAllLog End
[2025-01-10 13:26:04] Production.INFO: ==22209== Lock acquired, processing the job...
[2025-01-10 13:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 13:26:04] Production.INFO: ==22201== Releasing lock...
[2025-01-10 13:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 13:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 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-01-10 13:26:04] Production.INFO: count ==21
[2025-01-10 13:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:26:04] Production.INFO: count ==21
[2025-01-10 13:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217213') start
[2025-01-10 13:26:04] Production.ERROR: done
[2025-01-10 13:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 13:26:04] Production.INFO: Account Balance End.
[2025-01-10 13:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217213') end
[2025-01-10 13:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 13:26:04] Production.INFO: 1
[2025-01-10 13:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 13:26:04] Production.INFO: ==22209== Releasing lock...
[2025-01-10 13:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 13:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 13:26:04] Production.ERROR: CronJobId end 12
[2025-01-10 13:26:04] Production.INFO: ==22205== Releasing lock...
[2025-01-10 13:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 13:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 13:26:04] Production.ERROR: done
[2025-01-10 13:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 10:26:05
[end_date_ymd] => 2025-01-10 13:26:05
[RateCDR] => 1
)
[2025-01-10 13:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 10:26:05' and `end` < '2025-01-10 13:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 13:26:11] Production.ERROR: CronJobId end10
[2025-01-10 13:26:11] Production.INFO: ==22203== Releasing lock...
[2025-01-10 13:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 13:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 13:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 13:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 13:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 13:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 13:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 13:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 13:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 13:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 13:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 13:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 13:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 13:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 13:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 13:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 13:26:14] Production.INFO: call_cost start
[2025-01-10 13:26:14] Production.INFO: call_cost end
[2025-01-10 13:26:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 13:26:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 13:26:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 13:26:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 13:26:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 13:26:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 13:26:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 13:26:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 13:26:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 13:26:15] Production.INFO: ==22199== Releasing lock...
[2025-01-10 13:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 13:26:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 13:26:29] Production.INFO: count ==4005
[2025-01-10 13:26:31] Production.ERROR: pbx CDR StartTime 2025-01-10 10:26:05 - End Time 2025-01-10 13:26:05
[2025-01-10 13:26:31] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 13:26:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217214', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:26:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217214', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:26:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217214', 'tblTempVendorCDR_20' ) start
[2025-01-10 13:26:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217214', 'tblTempVendorCDR_20' ) end
[2025-01-10 13:26:31] Production.INFO: ProcessCDR(1,14217214,1,1,2)
[2025-01-10 13:26:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217214,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:26:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217214,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:26:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217214,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:26:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217214,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:26:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217214', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:26:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217214', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:26:35] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:26:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:26:35] Production.INFO: ==22207== Releasing lock...
[2025-01-10 13:26:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 13:26:35] Production.INFO: 58 MB #Memory Used#
[2025-01-10 18:27:01] Production.INFO: ==22274== Lock acquired, processing the job...
[2025-01-10 18:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 18:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 18:27:01] Production.INFO: neon service started
[2025-01-10 18:27:01] Production.INFO: neon service started
[2025-01-10 18:27:01] Production.INFO: ==22274== Releasing lock...
[2025-01-10 18:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 18:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 18:27:02] Production.INFO: ==22280== Lock acquired, processing the job...
[2025-01-10 18:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 18:27:02] Production.INFO: ==22280== Releasing lock...
[2025-01-10 18:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 18:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 13:27:02] Production.INFO: ==22278== Lock acquired, processing the job...
[2025-01-10 13:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 13:27:02] Production.INFO: ==22278== Releasing lock...
[2025-01-10 13:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 13:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 13:27:03] Production.INFO: ==22283== Lock acquired, processing the job...
[2025-01-10 13:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 13:27:03] Production.INFO: ==22285== Lock acquired, processing the job...
[2025-01-10 13:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 13:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 13:27:03] Production.INFO: ==22291== Lock acquired, processing the job...
[2025-01-10 13:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 13:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:27:03] Production.INFO: ==22287== Lock acquired, processing the job...
[2025-01-10 13:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 13:27:03] Production.INFO: ==22289== Lock acquired, processing the job...
[2025-01-10 13:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 13:27:03] Production.INFO: ==22285== Releasing lock...
[2025-01-10 13:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 13:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 13:27:03] Production.INFO: ==22293== Lock acquired, processing the job...
[2025-01-10 13:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 13:27:03] Production.INFO: Account Balance Start.
[2025-01-10 13:27:03] Production.INFO: CreateAllLog Start
[2025-01-10 13:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 13:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 13:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 13:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 13:27:03] Production.INFO: 117
[2025-01-10 13:27:03] Production.INFO: Date 2025-01-08
[2025-01-10 13:27:03] Production.ERROR: done
[2025-01-10 13:27:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 13:27:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:27:03] Production.INFO: Date 2025-01-09
[2025-01-10 13:27:03] Production.INFO: Reseller ==> 0
[2025-01-10 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-01-10 13:27:03] Production.ERROR: done
[2025-01-10 13:27:03] Production.INFO: count ==21
[2025-01-10 13:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:27:03] Production.INFO: count ==21
[2025-01-10 13:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217218') start
[2025-01-10 13:27:03] Production.INFO: Date 2025-01-10
[2025-01-10 13:27:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:27:03] Production.INFO: Total Charge 0
[2025-01-10 13:27:03] Production.INFO: CreateAllLog End
[2025-01-10 13:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217218') end
[2025-01-10 13:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 13:27:04] Production.INFO: 1
[2025-01-10 13:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 13:27:04] Production.INFO: ==22293== Releasing lock...
[2025-01-10 13:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 13:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 13:27:04] Production.INFO: Account Balance End.
[2025-01-10 13:27:04] Production.ERROR: CronJobId end 12
[2025-01-10 13:27:04] Production.INFO: ==22289== Releasing lock...
[2025-01-10 13:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 13:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 13:27:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 10:27:04
[end_date_ymd] => 2025-01-10 13:27:04
[RateCDR] => 1
)
[2025-01-10 13:27:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 10:27:04' and `end` < '2025-01-10 13:27:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 13:27:12] Production.ERROR: CronJobId end10
[2025-01-10 13:27:12] Production.INFO: ==22287== Releasing lock...
[2025-01-10 13:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 13:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 13:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 13:27:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 13:27:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 13:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 13:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 13:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 13:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 13:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 13:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 13:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 13:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 13:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 13:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 13:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 13:27:13] Production.INFO: call_cost start
[2025-01-10 13:27:13] Production.INFO: call_cost end
[2025-01-10 13:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 13:27:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 13:27:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 13:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 13:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 13:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 13:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 13:27:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 13:27:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 13:27:14] Production.INFO: ==22283== Releasing lock...
[2025-01-10 13:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 13:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 13:27:25] Production.INFO: count ==4016
[2025-01-10 13:27:27] Production.ERROR: pbx CDR StartTime 2025-01-10 10:27:04 - End Time 2025-01-10 13:27:04
[2025-01-10 13:27:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 13:27:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217219', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:27:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217219', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:27:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217219', 'tblTempVendorCDR_20' ) start
[2025-01-10 13:27:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217219', 'tblTempVendorCDR_20' ) end
[2025-01-10 13:27:27] Production.INFO: ProcessCDR(1,14217219,1,1,2)
[2025-01-10 13:27:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217219,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:27:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217219,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:27:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217219,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:27:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217219,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:27:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217219', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:27:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217219', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:27:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:27:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:27:32] Production.INFO: ==22291== Releasing lock...
[2025-01-10 13:27:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 13:27:32] Production.INFO: 58 MB #Memory Used#
[2025-01-10 18:28:02] Production.INFO: ==22358== Lock acquired, processing the job...
[2025-01-10 18:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 18:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 18:28:02] Production.INFO: neon service started
[2025-01-10 18:28:02] Production.INFO: neon service started
[2025-01-10 18:28:02] Production.INFO: ==22358== Releasing lock...
[2025-01-10 18:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 18:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 13:28:02] Production.INFO: ==22360== Lock acquired, processing the job...
[2025-01-10 13:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 13:28:02] Production.INFO: ==22360== Releasing lock...
[2025-01-10 13:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 13:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 18:28:02] Production.INFO: ==22362== Lock acquired, processing the job...
[2025-01-10 18:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 18:28:02] Production.INFO: ==22362== Releasing lock...
[2025-01-10 18:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 18:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 13:28:03] Production.INFO: ==22365== Lock acquired, processing the job...
[2025-01-10 13:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 13:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 13:28:03] Production.INFO: ==22367== Lock acquired, processing the job...
[2025-01-10 13:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 13:28:03] Production.INFO: ==22373== Lock acquired, processing the job...
[2025-01-10 13:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 13:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:28:03] Production.INFO: ==22369== Lock acquired, processing the job...
[2025-01-10 13:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 13:28:03] Production.INFO: ==22367== Releasing lock...
[2025-01-10 13:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 13:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 13:28:03] Production.INFO: ==22371== Lock acquired, processing the job...
[2025-01-10 13:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 13:28:04] Production.INFO: ==22375== Lock acquired, processing the job...
[2025-01-10 13:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 13:28:04] Production.ERROR: done
[2025-01-10 13:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 13:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 13:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 13:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 13:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 13:28:04] Production.INFO: Account Balance Start.
[2025-01-10 13:28:04] Production.INFO: CreateAllLog Start
[2025-01-10 13:28:04] Production.INFO: 117
[2025-01-10 13:28:04] Production.INFO: Date 2025-01-08
[2025-01-10 13:28:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:28:04] Production.INFO: Date 2025-01-09
[2025-01-10 13:28:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:28:04] Production.ERROR: done
[2025-01-10 13:28:04] Production.INFO: Date 2025-01-10
[2025-01-10 13:28:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:28:04] Production.INFO: Total Charge 0
[2025-01-10 13:28:04] Production.INFO: CreateAllLog End
[2025-01-10 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-01-10 13:28:04] Production.INFO: Account Balance End.
[2025-01-10 13:28:04] Production.INFO: count ==21
[2025-01-10 13:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:28:04] Production.INFO: count ==21
[2025-01-10 13:28:04] Production.ERROR: CronJobId end 12
[2025-01-10 13:28:04] Production.INFO: ==22371== Releasing lock...
[2025-01-10 13:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 13:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 13:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217224') start
[2025-01-10 13:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217224') end
[2025-01-10 13:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 13:28:04] Production.INFO: 1
[2025-01-10 13:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 13:28:04] Production.INFO: ==22375== Releasing lock...
[2025-01-10 13:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 13:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 13:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 10:28:05
[end_date_ymd] => 2025-01-10 13:28:05
[RateCDR] => 1
)
[2025-01-10 13:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 10:28:05' and `end` < '2025-01-10 13:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 13:28:12] Production.ERROR: CronJobId end10
[2025-01-10 13:28:12] Production.INFO: ==22369== Releasing lock...
[2025-01-10 13:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 13:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 13:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 13:28:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 13:28:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 13:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 13:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 13:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 13:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 13:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 13:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 13:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 13:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 13:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 13:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 13:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 13:28:13] Production.INFO: call_cost start
[2025-01-10 13:28:13] Production.INFO: call_cost end
[2025-01-10 13:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 13:28:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 13:28:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 13:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 13:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 13:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 13:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 13:28:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 13:28:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 13:28:14] Production.INFO: ==22365== Releasing lock...
[2025-01-10 13:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 13:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 13:28:22] Production.INFO: count ==4007
[2025-01-10 13:28:24] Production.ERROR: pbx CDR StartTime 2025-01-10 10:28:05 - End Time 2025-01-10 13:28:05
[2025-01-10 13:28:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 13:28:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217223', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:28:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217223', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:28:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217223', 'tblTempVendorCDR_20' ) start
[2025-01-10 13:28:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217223', 'tblTempVendorCDR_20' ) end
[2025-01-10 13:28:24] Production.INFO: ProcessCDR(1,14217223,1,1,2)
[2025-01-10 13:28:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217223,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:28:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217223,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:28:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217223,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:28:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217223,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:28:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217223', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:28:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217223', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:28:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:28:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:28:27] Production.INFO: ==22373== Releasing lock...
[2025-01-10 13:28:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 13:28:27] Production.INFO: 58.25 MB #Memory Used#
[2025-01-10 18:29:01] Production.INFO: ==22447== Lock acquired, processing the job...
[2025-01-10 18:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 18:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 18:29:01] Production.INFO: neon service started
[2025-01-10 18:29:01] Production.INFO: neon service started
[2025-01-10 18:29:01] Production.INFO: ==22447== Releasing lock...
[2025-01-10 18:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 18:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 18:29:01] Production.INFO: ==22451== Lock acquired, processing the job...
[2025-01-10 18:29:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 18:29:01] Production.INFO: ==22451== Releasing lock...
[2025-01-10 18:29:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 18:29:01] Production.INFO: 25 MB #Memory Used#
[2025-01-10 13:29:02] Production.INFO: ==22449== Lock acquired, processing the job...
[2025-01-10 13:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 13:29:02] Production.INFO: ==22449== Releasing lock...
[2025-01-10 13:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 13:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 13:29:02] Production.INFO: ==22454== Lock acquired, processing the job...
[2025-01-10 13:29:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 13:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 13:29:03] Production.INFO: ==22456== Lock acquired, processing the job...
[2025-01-10 13:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 13:29:03] Production.INFO: ==22464== Lock acquired, processing the job...
[2025-01-10 13:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 13:29:03] Production.INFO: ==22456== Releasing lock...
[2025-01-10 13:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 13:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 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-01-10 13:29:03] Production.INFO: ==22458== Lock acquired, processing the job...
[2025-01-10 13:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 13:29:03] Production.INFO: count ==21
[2025-01-10 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-01-10 13:29:03] Production.INFO: count ==21
[2025-01-10 13:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 13:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 13:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 13:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 13:29:03] Production.INFO: ==22460== Lock acquired, processing the job...
[2025-01-10 13:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 13:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217227') start
[2025-01-10 13:29:03] Production.INFO: ==22462== Lock acquired, processing the job...
[2025-01-10 13:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 13:29:03] Production.INFO: Account Balance Start.
[2025-01-10 13:29:03] Production.INFO: CreateAllLog Start
[2025-01-10 13:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217227') end
[2025-01-10 13:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 13:29:03] Production.INFO: 1
[2025-01-10 13:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 13:29:03] Production.INFO: 117
[2025-01-10 13:29:03] Production.INFO: Date 2025-01-08
[2025-01-10 13:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:29:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:29:03] Production.INFO: ==22464== Releasing lock...
[2025-01-10 13:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 13:29:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 13:29:03] Production.INFO: Date 2025-01-09
[2025-01-10 13:29:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:29:03] Production.INFO: Date 2025-01-10
[2025-01-10 13:29:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:29:03] Production.INFO: Total Charge 0
[2025-01-10 13:29:03] Production.INFO: CreateAllLog End
[2025-01-10 13:29:04] Production.ERROR: done
[2025-01-10 13:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 13:29:04] Production.INFO: Account Balance End.
[2025-01-10 13:29:04] Production.ERROR: CronJobId end 12
[2025-01-10 13:29:04] Production.INFO: ==22460== Releasing lock...
[2025-01-10 13:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 13:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 13:29:04] Production.ERROR: done
[2025-01-10 13:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 10:29:05
[end_date_ymd] => 2025-01-10 13:29:05
[RateCDR] => 1
)
[2025-01-10 13:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 10:29:05' and `end` < '2025-01-10 13:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 13:29:11] Production.ERROR: CronJobId end10
[2025-01-10 13:29:11] Production.INFO: ==22458== Releasing lock...
[2025-01-10 13:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 13:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 13:29:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 13:29:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 13:29:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 13:29:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 13:29:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 13:29:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 13:29:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 13:29:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 13:29:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 13:29:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 13:29:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 13:29:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 13:29:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 13:29:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 13:29:13] Production.INFO: call_cost start
[2025-01-10 13:29:13] Production.INFO: call_cost end
[2025-01-10 13:29:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 13:29:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 13:29:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 13:29:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 13:29:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 13:29:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 13:29:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 13:29:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 13:29:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 13:29:13] Production.INFO: ==22454== Releasing lock...
[2025-01-10 13:29:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 13:29:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 13:29:26] Production.INFO: count ==4008
[2025-01-10 13:29:28] Production.ERROR: pbx CDR StartTime 2025-01-10 10:29:05 - End Time 2025-01-10 13:29:05
[2025-01-10 13:29:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 13:29:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217229', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:29:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217229', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:29:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217229', 'tblTempVendorCDR_20' ) start
[2025-01-10 13:29:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217229', 'tblTempVendorCDR_20' ) end
[2025-01-10 13:29:28] Production.INFO: ProcessCDR(1,14217229,1,1,2)
[2025-01-10 13:29:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217229,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:29:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217229,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:29:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217229,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:29:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217229,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:29:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217229', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:29:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217229', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:29:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:29:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:29:33] Production.INFO: ==22462== Releasing lock...
[2025-01-10 13:29:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 13:29:33] Production.INFO: 58 MB #Memory Used#
[2025-01-10 18:30:01] Production.INFO: ==22534== Lock acquired, processing the job...
[2025-01-10 18:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 18:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 18:30:01] Production.INFO: neon service started
[2025-01-10 18:30:02] Production.INFO: neon service started
[2025-01-10 18:30:02] Production.INFO: ==22534== Releasing lock...
[2025-01-10 18:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 18:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 13:30:02] Production.INFO: ==22537== Lock acquired, processing the job...
[2025-01-10 13:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 13:30:02] Production.INFO: ==22537== Releasing lock...
[2025-01-10 13:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 13:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 18:30:02] Production.INFO: ==22539== Lock acquired, processing the job...
[2025-01-10 18:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 18:30:02] Production.INFO: ==22539== Releasing lock...
[2025-01-10 18:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 18:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 13:30:03] Production.INFO: ==22541== Lock acquired, processing the job...
[2025-01-10 13:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 13:30:03] Production.INFO: ==22543== Lock acquired, processing the job...
[2025-01-10 13:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 13:30:03] Production.INFO: ==22547== Lock acquired, processing the job...
[2025-01-10 13:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 13:30:03] Production.INFO: ==22551== Lock acquired, processing the job...
[2025-01-10 13:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 13:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 13:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 13:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 13:30:03] Production.ERROR: CronJob PID - 22543
[2025-01-10 13:30:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-10 13:30:03] Production.ERROR: CronJob ID - 5
[2025-01-10 13:30:03] Production.ERROR: CronJob Last Run Time 2025-01-10 13:30:00
[2025-01-10 13:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 13:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 13:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 13:30:03] Production.ERROR: CronJob PID - 22547
[2025-01-10 13:30:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-10 13:30:03] Production.ERROR: CronJob ID - 10
[2025-01-10 13:30:03] Production.ERROR: CronJob Last Run Time 2025-01-10 13:30:00
[2025-01-10 13:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 13:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 13:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 13:30:03] Production.ERROR: CronJob PID - 22551
[2025-01-10 13:30:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-10 13:30:03] Production.ERROR: CronJob ID - 16
[2025-01-10 13:30:03] Production.ERROR: CronJob Last Run Time 2025-01-10 13:30:00
[2025-01-10 13:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 13:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 13:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 13:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 13:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 13:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 13:30:03] Production.INFO: ==22545== Lock acquired, processing the job...
[2025-01-10 13:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 13:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 13:30:03] Production.INFO: ==22541== Releasing lock...
[2025-01-10 13:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 13:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 13:30:03] Production.INFO: ==22549== Lock acquired, processing the job...
[2025-01-10 13:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 13:30:03] Production.INFO: ==22553== Lock acquired, processing the job...
[2025-01-10 13:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 13:30:04] Production.INFO: Account Balance Start.
[2025-01-10 13:30:04] Production.INFO: CreateAllLog Start
[2025-01-10 13:30:04] Production.INFO: 117
[2025-01-10 13:30:04] Production.INFO: Date 2025-01-08
[2025-01-10 13:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:30:04] Production.INFO: ==22555== Lock acquired, processing the job...
[2025-01-10 13:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 13:30:04] Production.ERROR: done
[2025-01-10 13:30:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 13:30:04] Production.ERROR: done
[2025-01-10 13:30:04] Production.INFO: Date 2025-01-09
[2025-01-10 13:30:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:30:04] Production.INFO: Date 2025-01-10
[2025-01-10 13:30:04] Production.INFO: ==22545== Releasing lock...
[2025-01-10 13:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 13:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 13:30:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:30:04] Production.ERROR: done
[2025-01-10 13:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:30:04] Production.INFO: Total Charge 0
[2025-01-10 13:30:04] Production.INFO: count ==21
[2025-01-10 13:30:04] Production.INFO: CreateAllLog End
[2025-01-10 13:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:30:04] Production.INFO: count ==21
[2025-01-10 13:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217234') start
[2025-01-10 13:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 13:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14217235', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 13:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217234') end
[2025-01-10 13:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 13:30:04] Production.INFO: 1
[2025-01-10 13:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 13:30:04] Production.INFO: Account Balance End.
[2025-01-10 13:30:04] Production.ERROR: CronJobId end 12
[2025-01-10 13:30:04] Production.INFO: ==22549== Releasing lock...
[2025-01-10 13:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 13:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 13:30:04] Production.INFO: ==22555== Releasing lock...
[2025-01-10 13:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 13:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 13:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 10:30:05
[end_date_ymd] => 2025-01-10 13:30:05
[RateCDR] => 1
)
[2025-01-10 13:30:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 10:30:05' and `end` < '2025-01-10 13:30:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 13:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14217235', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 13:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 13:30:08] Production.INFO: ProcessCDR(1,14217235,1,1,2)
[2025-01-10 13:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14217235,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14217235,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:30:08] Production.INFO: ==22553== Releasing lock...
[2025-01-10 13:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 13:30:08] Production.INFO: 26 MB #Memory Used#
[2025-01-10 13:30:13] Production.ERROR: CronJobId end10
[2025-01-10 13:30:13] Production.INFO: ==22547== Releasing lock...
[2025-01-10 13:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 13:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 13:30:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 13:30:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 13:30:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 13:30:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 13:30:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 13:30:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 13:30:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 13:30:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 13:30:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 13:30:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 13:30:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 13:30:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 13:30:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 13:30:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 13:30:15] Production.INFO: call_cost start
[2025-01-10 13:30:15] Production.INFO: call_cost end
[2025-01-10 13:30:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 13:30:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 13:30:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 13:30:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 13:30:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 13:30:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 13:30:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 13:30:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 13:30:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 13:30:15] Production.INFO: ==22543== Releasing lock...
[2025-01-10 13:30:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 13:30:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 13:30:27] Production.INFO: count ==3978
[2025-01-10 13:30:29] Production.ERROR: pbx CDR StartTime 2025-01-10 10:30:05 - End Time 2025-01-10 13:30:05
[2025-01-10 13:30:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 13:30:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217233', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:30:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217233', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:30:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217233', 'tblTempVendorCDR_20' ) start
[2025-01-10 13:30:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217233', 'tblTempVendorCDR_20' ) end
[2025-01-10 13:30:29] Production.INFO: ProcessCDR(1,14217233,1,1,2)
[2025-01-10 13:30:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217233,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:30:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217233,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:30:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217233,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:30:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217233,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:30:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217233', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:30:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217233', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:30:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:30:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:30:33] Production.INFO: ==22551== Releasing lock...
[2025-01-10 13:30:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 13:30:33] Production.INFO: 57.75 MB #Memory Used#
[2025-01-10 18:31:01] Production.INFO: ==22622== Lock acquired, processing the job...
[2025-01-10 18:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 18:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 18:31:01] Production.INFO: neon service started
[2025-01-10 18:31:01] Production.INFO: neon service started
[2025-01-10 18:31:01] Production.INFO: ==22622== Releasing lock...
[2025-01-10 18:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 18:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 13:31:01] Production.INFO: ==22624== Lock acquired, processing the job...
[2025-01-10 13:31:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 13:31:02] Production.INFO: ==22624== Releasing lock...
[2025-01-10 13:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 13:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 18:31:02] Production.INFO: ==22626== Lock acquired, processing the job...
[2025-01-10 18:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 18:31:02] Production.INFO: ==22626== Releasing lock...
[2025-01-10 18:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 18:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 13:31:02] Production.INFO: ==22631== Lock acquired, processing the job...
[2025-01-10 13:31:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 13:31:02] Production.INFO: ==22629== Lock acquired, processing the job...
[2025-01-10 13:31:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 13:31:02] Production.INFO: ==22637== Lock acquired, processing the job...
[2025-01-10 13:31:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 13:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 13:31:03] Production.INFO: ==22633== Lock acquired, processing the job...
[2025-01-10 13:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 13:31:03] Production.INFO: ==22635== Lock acquired, processing the job...
[2025-01-10 13:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 13:31:03] Production.INFO: ==22639== Lock acquired, processing the job...
[2025-01-10 13:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 13:31:03] Production.INFO: Account Balance Start.
[2025-01-10 13:31:03] Production.INFO: CreateAllLog Start
[2025-01-10 13:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 13:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 13:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 13:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 13:31:03] Production.INFO: 117
[2025-01-10 13:31:03] Production.INFO: Date 2025-01-08
[2025-01-10 13:31:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:31:03] Production.ERROR: done
[2025-01-10 13:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 13:31:03] Production.INFO: Date 2025-01-09
[2025-01-10 13:31:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:31:03] Production.INFO: Date 2025-01-10
[2025-01-10 13:31:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:31:03] Production.INFO: ==22631== Releasing lock...
[2025-01-10 13:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 13:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 13:31:03] Production.INFO: count ==21
[2025-01-10 13:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:31:03] Production.INFO: count ==21
[2025-01-10 13:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217239') start
[2025-01-10 13:31:03] Production.INFO: Total Charge 0
[2025-01-10 13:31:03] Production.INFO: CreateAllLog End
[2025-01-10 13:31:03] Production.ERROR: done
[2025-01-10 13:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217239') end
[2025-01-10 13:31:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 13:31:03] Production.INFO: 1
[2025-01-10 13:31:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 13:31:03] Production.INFO: ==22639== Releasing lock...
[2025-01-10 13:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 13:31:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 13:31:03] Production.INFO: Account Balance End.
[2025-01-10 13:31:03] Production.ERROR: CronJobId end 12
[2025-01-10 13:31:03] Production.INFO: ==22635== Releasing lock...
[2025-01-10 13:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 13:31:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 13:31:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 10:31:04
[end_date_ymd] => 2025-01-10 13:31:04
[RateCDR] => 1
)
[2025-01-10 13:31:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 10:31:04' and `end` < '2025-01-10 13:31:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 13:31:10] Production.ERROR: CronJobId end10
[2025-01-10 13:31:10] Production.INFO: ==22633== Releasing lock...
[2025-01-10 13:31:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 13:31:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 13:31:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 13:31:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 13:31:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 13:31:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 13:31:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 13:31:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 13:31:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 13:31:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 13:31:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 13:31:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 13:31:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 13:31:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 13:31:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 13:31:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 13:31:13] Production.INFO: call_cost start
[2025-01-10 13:31:13] Production.INFO: call_cost end
[2025-01-10 13:31:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 13:31:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 13:31:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 13:31:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 13:31:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 13:31:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 13:31:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 13:31:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 13:31:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 13:31:13] Production.INFO: ==22629== Releasing lock...
[2025-01-10 13:31:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 13:31:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 13:31:29] Production.INFO: count ==4065
[2025-01-10 13:31:31] Production.ERROR: pbx CDR StartTime 2025-01-10 10:31:04 - End Time 2025-01-10 13:31:04
[2025-01-10 13:31:31] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 13:31:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217240', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:31:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217240', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:31:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217240', 'tblTempVendorCDR_20' ) start
[2025-01-10 13:31:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217240', 'tblTempVendorCDR_20' ) end
[2025-01-10 13:31:31] Production.INFO: ProcessCDR(1,14217240,1,1,2)
[2025-01-10 13:31:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217240,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:31:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217240,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:31:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217240,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:31:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217240,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:31:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217240', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:31:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217240', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:31:36] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:31:36] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:31:36] Production.INFO: ==22637== Releasing lock...
[2025-01-10 13:31:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 13:31:36] Production.INFO: 58.5 MB #Memory Used#
[2025-01-10 18:32:01] Production.INFO: ==22702== Lock acquired, processing the job...
[2025-01-10 18:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 18:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 18:32:01] Production.INFO: neon service started
[2025-01-10 18:32:01] Production.INFO: neon service started
[2025-01-10 18:32:01] Production.INFO: ==22702== Releasing lock...
[2025-01-10 18:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 18:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 13:32:02] Production.INFO: ==22707== Lock acquired, processing the job...
[2025-01-10 13:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 13:32:02] Production.INFO: ==22707== Releasing lock...
[2025-01-10 13:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 13:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 18:32:02] Production.INFO: ==22709== Lock acquired, processing the job...
[2025-01-10 18:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 18:32:02] Production.INFO: ==22709== Releasing lock...
[2025-01-10 18:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 18:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 13:32:03] Production.INFO: ==22721== Lock acquired, processing the job...
[2025-01-10 13:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 13:32:03] Production.INFO: ==22719== Lock acquired, processing the job...
[2025-01-10 13:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 13:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:32:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:32:03] Production.INFO: count ==21
[2025-01-10 13:32:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:32:03] Production.INFO: ==22711== Lock acquired, processing the job...
[2025-01-10 13:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 13:32:03] Production.INFO: count ==21
[2025-01-10 13:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217241') start
[2025-01-10 13:32:03] Production.INFO: ==22713== Lock acquired, processing the job...
[2025-01-10 13:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 13:32:03] Production.INFO: ==22715== Lock acquired, processing the job...
[2025-01-10 13:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 13:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217241') end
[2025-01-10 13:32:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 13:32:03] Production.INFO: 1
[2025-01-10 13:32:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 13:32:03] Production.INFO: ==22717== Lock acquired, processing the job...
[2025-01-10 13:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 13:32:03] Production.ERROR: done
[2025-01-10 13:32:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 13:32:03] Production.INFO: ==22721== Releasing lock...
[2025-01-10 13:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 13:32:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 13:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 13:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 13:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 13:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 13:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 13:32:04] Production.ERROR: done
[2025-01-10 13:32:04] Production.INFO: Account Balance Start.
[2025-01-10 13:32:04] Production.INFO: CreateAllLog Start
[2025-01-10 13:32:04] Production.INFO: 117
[2025-01-10 13:32:04] Production.INFO: Date 2025-01-08
[2025-01-10 13:32:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:32:04] Production.INFO: Date 2025-01-09
[2025-01-10 13:32:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:32:04] Production.INFO: Date 2025-01-10
[2025-01-10 13:32:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:32:04] Production.INFO: Total Charge 0
[2025-01-10 13:32:04] Production.INFO: CreateAllLog End
[2025-01-10 13:32:04] Production.INFO: ==22713== Releasing lock...
[2025-01-10 13:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 13:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 13:32:04] Production.INFO: Account Balance End.
[2025-01-10 13:32:04] Production.ERROR: CronJobId end 12
[2025-01-10 13:32:04] Production.INFO: ==22717== Releasing lock...
[2025-01-10 13:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 13:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 13:32:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 10:32:04
[end_date_ymd] => 2025-01-10 13:32:04
[RateCDR] => 1
)
[2025-01-10 13:32:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 10:32:04' and `end` < '2025-01-10 13:32:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 13:32:11] Production.ERROR: CronJobId end10
[2025-01-10 13:32:11] Production.INFO: ==22715== Releasing lock...
[2025-01-10 13:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 13:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 13:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 13:32:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 13:32:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 13:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 13:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 13:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 13:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 13:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 13:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 13:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 13:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 13:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 13:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 13:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 13:32:13] Production.INFO: call_cost start
[2025-01-10 13:32:13] Production.INFO: call_cost end
[2025-01-10 13:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 13:32:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 13:32:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 13:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 13:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 13:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 13:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 13:32:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 13:32:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 13:32:14] Production.INFO: ==22711== Releasing lock...
[2025-01-10 13:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 13:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 13:32:25] Production.INFO: count ==4049
[2025-01-10 13:32:27] Production.ERROR: pbx CDR StartTime 2025-01-10 10:32:04 - End Time 2025-01-10 13:32:04
[2025-01-10 13:32:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 13:32:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217245', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:32:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217245', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:32:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217245', 'tblTempVendorCDR_20' ) start
[2025-01-10 13:32:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217245', 'tblTempVendorCDR_20' ) end
[2025-01-10 13:32:27] Production.INFO: ProcessCDR(1,14217245,1,1,2)
[2025-01-10 13:32:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217245,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:32:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217245,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:32:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217245,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:32:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217245,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:32:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217245', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:32:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217245', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:32:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:32:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:32:32] Production.INFO: ==22719== Releasing lock...
[2025-01-10 13:32:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 13:32:32] Production.INFO: 58.25 MB #Memory Used#
[2025-01-10 18:33:01] Production.INFO: ==22825== Lock acquired, processing the job...
[2025-01-10 18:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 18:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 18:33:01] Production.INFO: neon service started
[2025-01-10 18:33:01] Production.INFO: neon service started
[2025-01-10 18:33:01] Production.INFO: ==22825== Releasing lock...
[2025-01-10 18:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 18:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 18:33:01] Production.INFO: ==22829== Lock acquired, processing the job...
[2025-01-10 18:33:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 18:33:01] Production.INFO: ==22829== Releasing lock...
[2025-01-10 18:33:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 18:33:01] Production.INFO: 25 MB #Memory Used#
[2025-01-10 13:33:01] Production.INFO: ==22827== Lock acquired, processing the job...
[2025-01-10 13:33:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 13:33:02] Production.INFO: ==22827== Releasing lock...
[2025-01-10 13:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 13:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 13:33:02] Production.INFO: ==22833== Lock acquired, processing the job...
[2025-01-10 13:33:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 13:33:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 13:33:02] Production.INFO: ==22835== Lock acquired, processing the job...
[2025-01-10 13:33:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 13:33:03] Production.INFO: ==22841== Lock acquired, processing the job...
[2025-01-10 13:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 13:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:33:03] Production.INFO: ==22835== Releasing lock...
[2025-01-10 13:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 13:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 13:33:03] Production.INFO: ==22837== Lock acquired, processing the job...
[2025-01-10 13:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 13:33:03] Production.INFO: ==22839== Lock acquired, processing the job...
[2025-01-10 13:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 13:33:03] Production.INFO: ==22843== Lock acquired, processing the job...
[2025-01-10 13:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 13:33:03] Production.INFO: Account Balance Start.
[2025-01-10 13:33:03] Production.INFO: CreateAllLog Start
[2025-01-10 13:33:03] Production.INFO: 117
[2025-01-10 13:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 13:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 13:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 13:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 13:33:03] Production.ERROR: done
[2025-01-10 13:33:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 13:33:03] Production.INFO: Date 2025-01-08
[2025-01-10 13:33:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:33:03] Production.INFO: Date 2025-01-09
[2025-01-10 13:33:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:33:03] Production.INFO: Date 2025-01-10
[2025-01-10 13:33:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:33:03] Production.ERROR: done
[2025-01-10 13:33:03] Production.INFO: Total Charge 0
[2025-01-10 13:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:33:03] Production.INFO: CreateAllLog End
[2025-01-10 13:33:03] Production.INFO: count ==21
[2025-01-10 13:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:33:03] Production.INFO: count ==21
[2025-01-10 13:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217249') start
[2025-01-10 13:33:03] Production.INFO: Account Balance End.
[2025-01-10 13:33:03] Production.ERROR: CronJobId end 12
[2025-01-10 13:33:03] Production.INFO: ==22839== Releasing lock...
[2025-01-10 13:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 13:33:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 13:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217249') end
[2025-01-10 13:33:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 13:33:03] Production.INFO: 1
[2025-01-10 13:33:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 13:33:03] Production.INFO: ==22843== Releasing lock...
[2025-01-10 13:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 13:33:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 13:33:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 10:33:04
[end_date_ymd] => 2025-01-10 13:33:04
[RateCDR] => 1
)
[2025-01-10 13:33:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 10:33:04' and `end` < '2025-01-10 13:33:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 13:33:10] Production.ERROR: CronJobId end10
[2025-01-10 13:33:10] Production.INFO: ==22837== Releasing lock...
[2025-01-10 13:33:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 13:33:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 13:33:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 13:33:11] Production.INFO: ============== Balance Warning START===========
[2025-01-10 13:33:11] Production.INFO: ============== Balance Warning END===========
[2025-01-10 13:33:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 13:33:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 13:33:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 13:33:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 13:33:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 13:33:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 13:33:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 13:33:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 13:33:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 13:33:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 13:33:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 13:33:12] Production.INFO: call_cost start
[2025-01-10 13:33:12] Production.INFO: call_cost end
[2025-01-10 13:33:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 13:33:12] Production.INFO: ============== Report Schedule START===========
[2025-01-10 13:33:12] Production.INFO: ============== Report Schedule END===========
[2025-01-10 13:33:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 13:33:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 13:33:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 13:33:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 13:33:12] Production.INFO: ============== Deal alert START===========
[2025-01-10 13:33:12] Production.INFO: ============== Deal alert END===========
[2025-01-10 13:33:12] Production.INFO: ==22833== Releasing lock...
[2025-01-10 13:33:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 13:33:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 13:33:23] Production.INFO: count ==4051
[2025-01-10 13:33:25] Production.ERROR: pbx CDR StartTime 2025-01-10 10:33:04 - End Time 2025-01-10 13:33:04
[2025-01-10 13:33:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 13:33:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217250', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:33:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217250', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:33:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217250', 'tblTempVendorCDR_20' ) start
[2025-01-10 13:33:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217250', 'tblTempVendorCDR_20' ) end
[2025-01-10 13:33:25] Production.INFO: ProcessCDR(1,14217250,1,1,2)
[2025-01-10 13:33:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217250,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:33:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217250,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:33:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217250,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:33:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217250,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:33:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217250', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:33:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217250', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:33:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:33:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:33:29] Production.INFO: ==22841== Releasing lock...
[2025-01-10 13:33:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 13:33:29] Production.INFO: 58.5 MB #Memory Used#
[2025-01-10 18:34:01] Production.INFO: ==22917== Lock acquired, processing the job...
[2025-01-10 18:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 18:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 18:34:01] Production.INFO: neon service started
[2025-01-10 18:34:01] Production.INFO: neon service started
[2025-01-10 18:34:01] Production.INFO: ==22917== Releasing lock...
[2025-01-10 18:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 18:34:01] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 13:34:02] Production.INFO: ==22919== Lock acquired, processing the job...
[2025-01-10 13:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 13:34:02] Production.INFO: ==22919== Releasing lock...
[2025-01-10 13:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 13:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 18:34:02] Production.INFO: ==22921== Lock acquired, processing the job...
[2025-01-10 18:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 18:34:02] Production.INFO: ==22921== Releasing lock...
[2025-01-10 18:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 18:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 13:34:03] Production.INFO: ==22932== Lock acquired, processing the job...
[2025-01-10 13:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 13:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:34:03] Production.INFO: ==22934== Lock acquired, processing the job...
[2025-01-10 13:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 13:34:03] Production.ERROR: done
[2025-01-10 13:34:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 13:34:03] Production.INFO: ==22924== Lock acquired, processing the job...
[2025-01-10 13:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 13:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:34:03] Production.INFO: ==22926== Lock acquired, processing the job...
[2025-01-10 13:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 13:34:03] Production.INFO: count ==21
[2025-01-10 13:34:03] Production.INFO: ==22928== Lock acquired, processing the job...
[2025-01-10 13:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 13:34:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:34:03] Production.INFO: count ==21
[2025-01-10 13:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217251') start
[2025-01-10 13:34:03] Production.ERROR: done
[2025-01-10 13:34:03] Production.INFO: ==22930== Lock acquired, processing the job...
[2025-01-10 13:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 13:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 13:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 13:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 13:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 13:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 13:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217251') end
[2025-01-10 13:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 13:34:04] Production.INFO: 1
[2025-01-10 13:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 13:34:04] Production.INFO: Account Balance Start.
[2025-01-10 13:34:04] Production.INFO: CreateAllLog Start
[2025-01-10 13:34:04] Production.INFO: 117
[2025-01-10 13:34:04] Production.INFO: ==22934== Releasing lock...
[2025-01-10 13:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 13:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 13:34:04] Production.INFO: Date 2025-01-08
[2025-01-10 13:34:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:34:04] Production.INFO: ==22926== Releasing lock...
[2025-01-10 13:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 13:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 13:34:04] Production.INFO: Date 2025-01-09
[2025-01-10 13:34:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:34:04] Production.INFO: Date 2025-01-10
[2025-01-10 13:34:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:34:04] Production.INFO: Total Charge 0
[2025-01-10 13:34:04] Production.INFO: CreateAllLog End
[2025-01-10 13:34:04] Production.INFO: Account Balance End.
[2025-01-10 13:34:04] Production.ERROR: CronJobId end 12
[2025-01-10 13:34:04] Production.INFO: ==22930== Releasing lock...
[2025-01-10 13:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 13:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 13:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 10:34:05
[end_date_ymd] => 2025-01-10 13:34:05
[RateCDR] => 1
)
[2025-01-10 13:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 10:34:05' and `end` < '2025-01-10 13:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 13:34:12] Production.ERROR: CronJobId end10
[2025-01-10 13:34:12] Production.INFO: ==22928== Releasing lock...
[2025-01-10 13:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 13:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 13:34:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 13:34:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 13:34:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 13:34:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 13:34:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 13:34:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 13:34:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 13:34:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 13:34:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 13:34:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 13:34:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 13:34:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 13:34:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 13:34:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 13:34:12] Production.INFO: call_cost start
[2025-01-10 13:34:12] Production.INFO: call_cost end
[2025-01-10 13:34:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 13:34:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 13:34:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 13:34:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 13:34:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 13:34:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 13:34:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 13:34:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 13:34:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 13:34:13] Production.INFO: ==22924== Releasing lock...
[2025-01-10 13:34:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 13:34:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 13:34:19] Production.INFO: count ==4045
[2025-01-10 13:34:21] Production.ERROR: pbx CDR StartTime 2025-01-10 10:34:05 - End Time 2025-01-10 13:34:05
[2025-01-10 13:34:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 13:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217252', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217252', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217252', 'tblTempVendorCDR_20' ) start
[2025-01-10 13:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217252', 'tblTempVendorCDR_20' ) end
[2025-01-10 13:34:21] Production.INFO: ProcessCDR(1,14217252,1,1,2)
[2025-01-10 13:34:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217252,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:34:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217252,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:34:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217252,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:34:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217252,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:34:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217252', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:34:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217252', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:34:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:34:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:34:26] Production.INFO: ==22932== Releasing lock...
[2025-01-10 13:34:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 13:34:26] Production.INFO: 58.25 MB #Memory Used#
[2025-01-10 18:35:01] Production.INFO: ==23008== Lock acquired, processing the job...
[2025-01-10 18:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 18:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 18:35:01] Production.INFO: neon service started
[2025-01-10 18:35:01] Production.INFO: neon service started
[2025-01-10 18:35:01] Production.INFO: ==23008== Releasing lock...
[2025-01-10 18:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 18:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 13:35:02] Production.INFO: ==23010== Lock acquired, processing the job...
[2025-01-10 13:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 18:35:02] Production.INFO: ==23012== Lock acquired, processing the job...
[2025-01-10 18:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 18:35:02] Production.INFO: ==23012== Releasing lock...
[2025-01-10 18:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 18:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 13:35:02] Production.INFO: ==23010== Releasing lock...
[2025-01-10 13:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 13:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 13:35:03] Production.INFO: ==23021== Lock acquired, processing the job...
[2025-01-10 13:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 13:35:03] Production.INFO: ==23015== Lock acquired, processing the job...
[2025-01-10 13:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 13:35:03] Production.INFO: ==23023== Lock acquired, processing the job...
[2025-01-10 13:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 13:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:35:03] Production.INFO: ==23017== Lock acquired, processing the job...
[2025-01-10 13:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 13:35:03] Production.INFO: Account Balance Start.
[2025-01-10 13:35:03] Production.INFO: CreateAllLog Start
[2025-01-10 13:35:03] Production.INFO: 117
[2025-01-10 13:35:03] Production.INFO: ==23019== Lock acquired, processing the job...
[2025-01-10 13:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 13:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 13:35:03] Production.INFO: Date 2025-01-08
[2025-01-10 13:35:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:35:03] Production.INFO: Date 2025-01-09
[2025-01-10 13:35:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:35:03] Production.INFO: Date 2025-01-10
[2025-01-10 13:35:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:35:03] Production.INFO: ==23025== Lock acquired, processing the job...
[2025-01-10 13:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 13:35:03] Production.INFO: Total Charge 0
[2025-01-10 13:35:03] Production.INFO: CreateAllLog End
[2025-01-10 13:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 13:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 13:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 13:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 13:35:03] Production.ERROR: done
[2025-01-10 13:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 13:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:35:03] Production.INFO: count ==21
[2025-01-10 13:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:35:03] Production.INFO: count ==21
[2025-01-10 13:35:03] Production.INFO: Account Balance End.
[2025-01-10 13:35:03] Production.ERROR: done
[2025-01-10 13:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217259') start
[2025-01-10 13:35:03] Production.ERROR: CronJobId end 12
[2025-01-10 13:35:03] Production.INFO: ==23021== Releasing lock...
[2025-01-10 13:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 13:35:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 13:35:03] Production.INFO: ==23017== Releasing lock...
[2025-01-10 13:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 13:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 13:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217259') end
[2025-01-10 13:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 13:35:04] Production.INFO: 1
[2025-01-10 13:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 13:35:04] Production.INFO: ==23025== Releasing lock...
[2025-01-10 13:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 13:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 13:35:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 10:35:04
[end_date_ymd] => 2025-01-10 13:35:04
[RateCDR] => 1
)
[2025-01-10 13:35:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 10:35:04' and `end` < '2025-01-10 13:35:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 13:35:11] Production.ERROR: CronJobId end10
[2025-01-10 13:35:11] Production.INFO: ==23019== Releasing lock...
[2025-01-10 13:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 13:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 13:35:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 13:35:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 13:35:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 13:35:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 13:35:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 13:35:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 13:35:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 13:35:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 13:35:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 13:35:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 13:35:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 13:35:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 13:35:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 13:35:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 13:35:12] Production.INFO: call_cost start
[2025-01-10 13:35:12] Production.INFO: call_cost end
[2025-01-10 13:35:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 13:35:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 13:35:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 13:35:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 13:35:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 13:35:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 13:35:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 13:35:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 13:35:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 13:35:13] Production.INFO: ==23015== Releasing lock...
[2025-01-10 13:35:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 13:35:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 13:35:30] Production.INFO: count ==4083
[2025-01-10 13:35:32] Production.ERROR: pbx CDR StartTime 2025-01-10 10:35:04 - End Time 2025-01-10 13:35:04
[2025-01-10 13:35:32] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 13:35:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217260', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:35:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217260', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:35:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217260', 'tblTempVendorCDR_20' ) start
[2025-01-10 13:35:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217260', 'tblTempVendorCDR_20' ) end
[2025-01-10 13:35:32] Production.INFO: ProcessCDR(1,14217260,1,1,2)
[2025-01-10 13:35:33] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217260,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:35:35] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217260,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:35:35] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217260,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:35:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217260,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:35:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217260', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:35:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217260', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:35:37] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:35:37] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:35:37] Production.INFO: ==23023== Releasing lock...
[2025-01-10 13:35:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 13:35:37] Production.INFO: 58.75 MB #Memory Used#
[2025-01-10 18:36:01] Production.INFO: ==23099== Lock acquired, processing the job...
[2025-01-10 18:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 18:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 18:36:01] Production.INFO: neon service started
[2025-01-10 18:36:01] Production.INFO: neon service started
[2025-01-10 18:36:01] Production.INFO: ==23099== Releasing lock...
[2025-01-10 18:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 18:36:01] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 13:36:02] Production.INFO: ==23101== Lock acquired, processing the job...
[2025-01-10 13:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 13:36:02] Production.INFO: ==23101== Releasing lock...
[2025-01-10 13:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 13:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 18:36:02] Production.INFO: ==23103== Lock acquired, processing the job...
[2025-01-10 18:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 18:36:02] Production.INFO: ==23103== Releasing lock...
[2025-01-10 18:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 18:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 13:36:03] Production.INFO: ==23110== Lock acquired, processing the job...
[2025-01-10 13:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 13:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 13:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 13:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 13:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 13:36:03] Production.INFO: ==23116== Lock acquired, processing the job...
[2025-01-10 13:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 13:36:03] Production.INFO: ==23106== Lock acquired, processing the job...
[2025-01-10 13:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 13:36:03] Production.INFO: ==23108== Lock acquired, processing the job...
[2025-01-10 13:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 13:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:36:03] Production.INFO: count ==21
[2025-01-10 13:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 13:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:36:03] Production.INFO: ==23112== Lock acquired, processing the job...
[2025-01-10 13:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 13:36:03] Production.INFO: count ==21
[2025-01-10 13:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217261') start
[2025-01-10 13:36:03] Production.INFO: ==23114== Lock acquired, processing the job...
[2025-01-10 13:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 13:36:03] Production.INFO: Account Balance Start.
[2025-01-10 13:36:03] Production.INFO: CreateAllLog Start
[2025-01-10 13:36:03] Production.INFO: 117
[2025-01-10 13:36:03] Production.INFO: Date 2025-01-08
[2025-01-10 13:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:36:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217261') end
[2025-01-10 13:36:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 13:36:03] Production.INFO: 1
[2025-01-10 13:36:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 13:36:03] Production.INFO: Date 2025-01-09
[2025-01-10 13:36:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:36:03] Production.INFO: Date 2025-01-10
[2025-01-10 13:36:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:36:03] Production.INFO: Total Charge 0
[2025-01-10 13:36:03] Production.INFO: CreateAllLog End
[2025-01-10 13:36:03] Production.INFO: ==23116== Releasing lock...
[2025-01-10 13:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 13:36:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 13:36:04] Production.INFO: ==23108== Releasing lock...
[2025-01-10 13:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 13:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 13:36:04] Production.INFO: Account Balance End.
[2025-01-10 13:36:04] Production.ERROR: done
[2025-01-10 13:36:04] Production.ERROR: CronJobId end 12
[2025-01-10 13:36:04] Production.INFO: ==23112== Releasing lock...
[2025-01-10 13:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 13:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 13:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 13:36:04] Production.ERROR: done
[2025-01-10 13:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 10:36:05
[end_date_ymd] => 2025-01-10 13:36:05
[RateCDR] => 1
)
[2025-01-10 13:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 10:36:05' and `end` < '2025-01-10 13:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 13:36:10] Production.ERROR: CronJobId end10
[2025-01-10 13:36:10] Production.INFO: ==23110== Releasing lock...
[2025-01-10 13:36:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 13:36:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 13:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 13:36:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 13:36:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 13:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 13:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 13:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 13:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 13:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 13:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 13:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 13:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 13:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 13:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 13:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 13:36:13] Production.INFO: call_cost start
[2025-01-10 13:36:13] Production.INFO: call_cost end
[2025-01-10 13:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 13:36:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 13:36:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 13:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 13:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 13:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 13:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 13:36:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 13:36:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 13:36:14] Production.INFO: ==23106== Releasing lock...
[2025-01-10 13:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 13:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 13:36:26] Production.INFO: count ==4080
[2025-01-10 13:36:28] Production.ERROR: pbx CDR StartTime 2025-01-10 10:36:05 - End Time 2025-01-10 13:36:05
[2025-01-10 13:36:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 13:36:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217265', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:36:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217265', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:36:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217265', 'tblTempVendorCDR_20' ) start
[2025-01-10 13:36:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217265', 'tblTempVendorCDR_20' ) end
[2025-01-10 13:36:28] Production.INFO: ProcessCDR(1,14217265,1,1,2)
[2025-01-10 13:36:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217265,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:36:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217265,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:36:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217265,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:36:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217265,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:36:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217265', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:36:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217265', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:36:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:36:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:36:33] Production.INFO: ==23114== Releasing lock...
[2025-01-10 13:36:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 13:36:33] Production.INFO: 58.5 MB #Memory Used#
[2025-01-10 18:37:02] Production.INFO: ==23180== Lock acquired, processing the job...
[2025-01-10 18:37:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 18:37:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 18:37:02] Production.INFO: neon service started
[2025-01-10 18:37:02] Production.INFO: neon service started
[2025-01-10 18:37:02] Production.INFO: ==23180== Releasing lock...
[2025-01-10 18:37:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 18:37:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 18:37:02] Production.INFO: ==23184== Lock acquired, processing the job...
[2025-01-10 18:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 18:37:02] Production.INFO: ==23184== Releasing lock...
[2025-01-10 18:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 18:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 13:37:02] Production.INFO: ==23182== Lock acquired, processing the job...
[2025-01-10 13:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 13:37:03] Production.INFO: ==23182== Releasing lock...
[2025-01-10 13:37:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 13:37:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 13:37:03] Production.INFO: ==23187== Lock acquired, processing the job...
[2025-01-10 13:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 13:37:03] Production.INFO: ==23189== Lock acquired, processing the job...
[2025-01-10 13:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 13:37:03] Production.INFO: ==23191== Lock acquired, processing the job...
[2025-01-10 13:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 13:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 13:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 13:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 13:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 13:37:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 13:37:04] Production.INFO: ==23193== Lock acquired, processing the job...
[2025-01-10 13:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 13:37:04] Production.INFO: ==23195== Lock acquired, processing the job...
[2025-01-10 13:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 13:37:04] Production.INFO: ==23197== Lock acquired, processing the job...
[2025-01-10 13:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 13:37:04] Production.INFO: Account Balance Start.
[2025-01-10 13:37:04] Production.INFO: CreateAllLog Start
[2025-01-10 13:37:04] Production.INFO: 117
[2025-01-10 13:37:04] Production.INFO: Date 2025-01-08
[2025-01-10 13:37:04] Production.INFO: Reseller ==> 0
[2025-01-10 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-01-10 13:37:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:37:04] Production.INFO: ==23189== Releasing lock...
[2025-01-10 13:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 13:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 13:37:04] Production.INFO: count ==21
[2025-01-10 13:37:04] Production.INFO: Date 2025-01-09
[2025-01-10 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-01-10 13:37:04] Production.INFO: count ==21
[2025-01-10 13:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217269') start
[2025-01-10 13:37:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217269') end
[2025-01-10 13:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 13:37:04] Production.INFO: 1
[2025-01-10 13:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 13:37:04] Production.INFO: Date 2025-01-10
[2025-01-10 13:37:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:37:04] Production.INFO: ==23197== Releasing lock...
[2025-01-10 13:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 13:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 13:37:04] Production.ERROR: done
[2025-01-10 13:37:04] Production.INFO: Total Charge 0
[2025-01-10 13:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 13:37:04] Production.INFO: CreateAllLog End
[2025-01-10 13:37:05] Production.ERROR: done
[2025-01-10 13:37:05] Production.INFO: Account Balance End.
[2025-01-10 13:37:05] Production.ERROR: CronJobId end 12
[2025-01-10 13:37:05] Production.INFO: ==23193== Releasing lock...
[2025-01-10 13:37:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 13:37:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 13:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 10:37:05
[end_date_ymd] => 2025-01-10 13:37:05
[RateCDR] => 1
)
[2025-01-10 13:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 10:37:05' and `end` < '2025-01-10 13:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 13:37:11] Production.ERROR: CronJobId end10
[2025-01-10 13:37:11] Production.INFO: ==23191== Releasing lock...
[2025-01-10 13:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 13:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 13:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 13:37:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 13:37:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 13:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 13:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 13:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 13:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 13:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 13:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 13:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 13:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 13:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 13:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 13:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 13:37:13] Production.INFO: call_cost start
[2025-01-10 13:37:13] Production.INFO: call_cost end
[2025-01-10 13:37:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 13:37:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 13:37:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 13:37:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 13:37:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 13:37:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 13:37:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 13:37:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 13:37:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 13:37:14] Production.INFO: ==23187== Releasing lock...
[2025-01-10 13:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 13:37:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 13:37:27] Production.INFO: count ==4090
[2025-01-10 13:37:28] Production.ERROR: pbx CDR StartTime 2025-01-10 10:37:05 - End Time 2025-01-10 13:37:05
[2025-01-10 13:37:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 13:37:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217270', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:37:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217270', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:37:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217270', 'tblTempVendorCDR_20' ) start
[2025-01-10 13:37:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217270', 'tblTempVendorCDR_20' ) end
[2025-01-10 13:37:29] Production.INFO: ProcessCDR(1,14217270,1,1,2)
[2025-01-10 13:37:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217270,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:37:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217270,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:37:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217270,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:37:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217270,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:37:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217270', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:37:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217270', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:37:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:37:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:37:33] Production.INFO: ==23195== Releasing lock...
[2025-01-10 13:37:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 13:37:33] Production.INFO: 58.5 MB #Memory Used#
[2025-01-10 18:38:01] Production.INFO: ==23261== Lock acquired, processing the job...
[2025-01-10 18:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 18:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 18:38:01] Production.INFO: neon service started
[2025-01-10 18:38:01] Production.INFO: neon service started
[2025-01-10 18:38:01] Production.INFO: ==23261== Releasing lock...
[2025-01-10 18:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 18:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 13:38:02] Production.INFO: ==23263== Lock acquired, processing the job...
[2025-01-10 13:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 18:38:02] Production.INFO: ==23265== Lock acquired, processing the job...
[2025-01-10 18:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 18:38:02] Production.INFO: ==23265== Releasing lock...
[2025-01-10 18:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 18:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 13:38:02] Production.INFO: ==23263== Releasing lock...
[2025-01-10 13:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 13:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 13:38:03] Production.INFO: ==23268== Lock acquired, processing the job...
[2025-01-10 13:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 13:38:03] Production.INFO: ==23276== Lock acquired, processing the job...
[2025-01-10 13:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 13:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 13:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:38:03] Production.INFO: ==23270== Lock acquired, processing the job...
[2025-01-10 13:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 13:38:03] Production.INFO: ==23272== Lock acquired, processing the job...
[2025-01-10 13:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 13:38:03] Production.INFO: ==23274== Lock acquired, processing the job...
[2025-01-10 13:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 13:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 13:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 13:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 13:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 13:38:03] Production.INFO: ==23278== Lock acquired, processing the job...
[2025-01-10 13:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 13:38:03] Production.ERROR: done
[2025-01-10 13:38:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 13:38:03] Production.INFO: Account Balance Start.
[2025-01-10 13:38:03] Production.INFO: CreateAllLog Start
[2025-01-10 13:38:03] Production.INFO: 117
[2025-01-10 13:38:03] Production.INFO: Date 2025-01-08
[2025-01-10 13:38:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:38:03] Production.ERROR: done
[2025-01-10 13:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:38:03] Production.INFO: Date 2025-01-09
[2025-01-10 13:38:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:38:03] Production.INFO: count ==21
[2025-01-10 13:38:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:38:03] Production.INFO: count ==21
[2025-01-10 13:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217274') start
[2025-01-10 13:38:04] Production.INFO: Date 2025-01-10
[2025-01-10 13:38:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:38:04] Production.INFO: Total Charge 0
[2025-01-10 13:38:04] Production.INFO: CreateAllLog End
[2025-01-10 13:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217274') end
[2025-01-10 13:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 13:38:04] Production.INFO: 1
[2025-01-10 13:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 13:38:04] Production.INFO: ==23270== Releasing lock...
[2025-01-10 13:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 13:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 13:38:04] Production.INFO: ==23278== Releasing lock...
[2025-01-10 13:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 13:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 13:38:04] Production.INFO: Account Balance End.
[2025-01-10 13:38:04] Production.ERROR: CronJobId end 12
[2025-01-10 13:38:04] Production.INFO: ==23274== Releasing lock...
[2025-01-10 13:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 13:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 13:38:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 10:38:04
[end_date_ymd] => 2025-01-10 13:38:04
[RateCDR] => 1
)
[2025-01-10 13:38:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 10:38:04' and `end` < '2025-01-10 13:38:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 13:38:11] Production.ERROR: CronJobId end10
[2025-01-10 13:38:11] Production.INFO: ==23272== Releasing lock...
[2025-01-10 13:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 13:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 13:38:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 13:38:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 13:38:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 13:38:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 13:38:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 13:38:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 13:38:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 13:38:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 13:38:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 13:38:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 13:38:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 13:38:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 13:38:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 13:38:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 13:38:12] Production.INFO: call_cost start
[2025-01-10 13:38:12] Production.INFO: call_cost end
[2025-01-10 13:38:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 13:38:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 13:38:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 13:38:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 13:38:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 13:38:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 13:38:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 13:38:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 13:38:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 13:38:13] Production.INFO: ==23268== Releasing lock...
[2025-01-10 13:38:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 13:38:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 13:38:18] Production.INFO: count ==4117
[2025-01-10 13:38:20] Production.ERROR: pbx CDR StartTime 2025-01-10 10:38:04 - End Time 2025-01-10 13:38:04
[2025-01-10 13:38:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 13:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217275', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217275', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217275', 'tblTempVendorCDR_20' ) start
[2025-01-10 13:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217275', 'tblTempVendorCDR_20' ) end
[2025-01-10 13:38:20] Production.INFO: ProcessCDR(1,14217275,1,1,2)
[2025-01-10 13:38:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217275,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:38:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217275,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:38:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217275,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:38:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217275,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:38:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217275', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:38:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217275', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:38:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:38:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:38:25] Production.INFO: ==23276== Releasing lock...
[2025-01-10 13:38:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 13:38:25] Production.INFO: 58.75 MB #Memory Used#
[2025-01-10 18:39:02] Production.INFO: ==23336== Lock acquired, processing the job...
[2025-01-10 18:39:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 18:39:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 18:39:02] Production.INFO: neon service started
[2025-01-10 18:39:02] Production.INFO: neon service started
[2025-01-10 18:39:02] Production.INFO: ==23336== Releasing lock...
[2025-01-10 18:39:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 18:39:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 13:39:02] Production.INFO: ==23339== Lock acquired, processing the job...
[2025-01-10 13:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 13:39:02] Production.INFO: ==23339== Releasing lock...
[2025-01-10 13:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 13:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 18:39:02] Production.INFO: ==23341== Lock acquired, processing the job...
[2025-01-10 18:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 18:39:02] Production.INFO: ==23341== Releasing lock...
[2025-01-10 18:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 18:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 13:39:03] Production.INFO: ==23349== Lock acquired, processing the job...
[2025-01-10 13:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 13:39:03] Production.INFO: Account Balance Start.
[2025-01-10 13:39:03] Production.INFO: CreateAllLog Start
[2025-01-10 13:39:03] Production.INFO: 117
[2025-01-10 13:39:03] Production.INFO: Date 2025-01-08
[2025-01-10 13:39:03] Production.INFO: ==23343== Lock acquired, processing the job...
[2025-01-10 13:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 13:39:03] Production.INFO: ==23353== Lock acquired, processing the job...
[2025-01-10 13:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 13:39:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:39:03] Production.INFO: ==23345== Lock acquired, processing the job...
[2025-01-10 13:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 13:39:03] Production.INFO: Date 2025-01-09
[2025-01-10 13:39:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:39:03] Production.INFO: Date 2025-01-10
[2025-01-10 13:39:03] Production.INFO: ==23347== Lock acquired, processing the job...
[2025-01-10 13:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 13:39:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 13:39:03] Production.INFO: Total Charge 0
[2025-01-10 13:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:39:03] Production.INFO: CreateAllLog End
[2025-01-10 13:39:03] Production.INFO: ==23351== Lock acquired, processing the job...
[2025-01-10 13:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 13:39:03] Production.INFO: count ==21
[2025-01-10 13:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:39:03] Production.INFO: count ==21
[2025-01-10 13:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217277') start
[2025-01-10 13:39:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 13:39:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 13:39:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 13:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 13:39:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:39:04] Production.INFO: Account Balance End.
[2025-01-10 13:39:04] Production.ERROR: CronJobId end 12
[2025-01-10 13:39:04] Production.INFO: ==23349== Releasing lock...
[2025-01-10 13:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 13:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 13:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217277') end
[2025-01-10 13:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 13:39:04] Production.INFO: 1
[2025-01-10 13:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 13:39:04] Production.INFO: ==23345== Releasing lock...
[2025-01-10 13:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 13:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 13:39:04] Production.INFO: ==23353== Releasing lock...
[2025-01-10 13:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 13:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 13:39:04] Production.ERROR: done
[2025-01-10 13:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 13:39:04] Production.ERROR: done
[2025-01-10 13:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 10:39:05
[end_date_ymd] => 2025-01-10 13:39:05
[RateCDR] => 1
)
[2025-01-10 13:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 10:39:05' and `end` < '2025-01-10 13:39:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 13:39:11] Production.ERROR: CronJobId end10
[2025-01-10 13:39:11] Production.INFO: ==23347== Releasing lock...
[2025-01-10 13:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 13:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 13:39:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 13:39:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 13:39:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 13:39:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 13:39:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 13:39:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 13:39:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 13:39:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 13:39:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 13:39:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 13:39:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 13:39:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 13:39:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 13:39:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 13:39:13] Production.INFO: call_cost start
[2025-01-10 13:39:13] Production.INFO: call_cost end
[2025-01-10 13:39:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 13:39:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 13:39:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 13:39:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 13:39:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 13:39:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 13:39:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 13:39:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 13:39:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 13:39:14] Production.INFO: ==23343== Releasing lock...
[2025-01-10 13:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 13:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 13:39:23] Production.INFO: count ==4094
[2025-01-10 13:39:25] Production.ERROR: pbx CDR StartTime 2025-01-10 10:39:05 - End Time 2025-01-10 13:39:05
[2025-01-10 13:39:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 13:39:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217280', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:39:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217280', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:39:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217280', 'tblTempVendorCDR_20' ) start
[2025-01-10 13:39:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217280', 'tblTempVendorCDR_20' ) end
[2025-01-10 13:39:25] Production.INFO: ProcessCDR(1,14217280,1,1,2)
[2025-01-10 13:39:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217280,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:39:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217280,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:39:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217280,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:39:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217280,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:39:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217280', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:39:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217280', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:39:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:39:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:39:30] Production.INFO: ==23351== Releasing lock...
[2025-01-10 13:39:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 13:39:30] Production.INFO: 58.5 MB #Memory Used#
[2025-01-10 18:40:01] Production.INFO: ==23413== Lock acquired, processing the job...
[2025-01-10 18:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 18:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 18:40:01] Production.INFO: neon service started
[2025-01-10 18:40:01] Production.INFO: neon service started
[2025-01-10 18:40:01] Production.INFO: ==23413== Releasing lock...
[2025-01-10 18:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 18:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 13:40:02] Production.INFO: ==23415== Lock acquired, processing the job...
[2025-01-10 13:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 18:40:02] Production.INFO: ==23417== Lock acquired, processing the job...
[2025-01-10 18:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 18:40:02] Production.INFO: ==23417== Releasing lock...
[2025-01-10 18:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 18:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 13:40:02] Production.INFO: ==23415== Releasing lock...
[2025-01-10 13:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 13:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 13:40:03] Production.INFO: ==23420== Lock acquired, processing the job...
[2025-01-10 13:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 13:40:03] Production.INFO: ==23424== Lock acquired, processing the job...
[2025-01-10 13:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 13:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 13:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 13:40:03] Production.INFO: ==23420== Releasing lock...
[2025-01-10 13:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 13:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 13:40:03] Production.INFO: ==23428== Lock acquired, processing the job...
[2025-01-10 13:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 13:40:03] Production.INFO: ==23432== Lock acquired, processing the job...
[2025-01-10 13:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 13:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:40:03] Production.INFO: Account Balance Start.
[2025-01-10 13:40:03] Production.INFO: CreateAllLog Start
[2025-01-10 13:40:03] Production.INFO: 117
[2025-01-10 13:40:03] Production.INFO: Date 2025-01-08
[2025-01-10 13:40:03] Production.INFO: ==23422== Lock acquired, processing the job...
[2025-01-10 13:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 13:40:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:40:03] Production.INFO: ==23426== Lock acquired, processing the job...
[2025-01-10 13:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 13:40:03] Production.INFO: Date 2025-01-09
[2025-01-10 13:40:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:40:03] Production.INFO: ==23430== Lock acquired, processing the job...
[2025-01-10 13:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 13:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 13:40:03] Production.INFO: ==23434== Lock acquired, processing the job...
[2025-01-10 13:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 13:40:03] Production.INFO: Date 2025-01-10
[2025-01-10 13:40:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:40:03] Production.INFO: ==23424== Releasing lock...
[2025-01-10 13:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 13:40:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 13:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:40:03] Production.ERROR: done
[2025-01-10 13:40:03] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 13:40:03] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14217284', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 13:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 13:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 13:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 13:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 13:40:04] Production.INFO: Total Charge 0
[2025-01-10 13:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:40:04] Production.INFO: CreateAllLog End
[2025-01-10 13:40:04] Production.INFO: count ==21
[2025-01-10 13:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:40:04] Production.INFO: count ==21
[2025-01-10 13:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217285') start
[2025-01-10 13:40:04] Production.ERROR: done
[2025-01-10 13:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 13:40:04] Production.ERROR: done
[2025-01-10 13:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217285') end
[2025-01-10 13:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 13:40:04] Production.INFO: 1
[2025-01-10 13:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 13:40:04] Production.INFO: Account Balance End.
[2025-01-10 13:40:04] Production.ERROR: CronJobId end 12
[2025-01-10 13:40:04] Production.INFO: ==23428== Releasing lock...
[2025-01-10 13:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 13:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 13:40:04] Production.INFO: ==23434== Releasing lock...
[2025-01-10 13:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 13:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 13:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 10:40:05
[end_date_ymd] => 2025-01-10 13:40:05
[RateCDR] => 1
)
[2025-01-10 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-01-10 10:40:05' and `end` < '2025-01-10 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-01-10 13:40:07] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14217284', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 13:40:07] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 13:40:07] Production.INFO: ProcessCDR(1,14217284,1,1,2)
[2025-01-10 13:40:07] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14217284,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:40:07] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14217284,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:40:07] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:40:07] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:40:07] Production.INFO: ==23432== Releasing lock...
[2025-01-10 13:40:07] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 13:40:07] Production.INFO: 26 MB #Memory Used#
[2025-01-10 13:40:13] Production.ERROR: CronJobId end10
[2025-01-10 13:40:13] Production.INFO: ==23426== Releasing lock...
[2025-01-10 13:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 13:40:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 13:40:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 13:40:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 13:40:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 13:40:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 13:40:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 13:40:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 13:40:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 13:40:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 13:40:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 13:40:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 13:40:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 13:40:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 13:40:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 13:40:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 13:40:15] Production.INFO: call_cost start
[2025-01-10 13:40:15] Production.INFO: call_cost end
[2025-01-10 13:40:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 13:40:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 13:40:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 13:40:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 13:40:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 13:40:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 13:40:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 13:40:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 13:40:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 13:40:15] Production.INFO: ==23422== Releasing lock...
[2025-01-10 13:40:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 13:40:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 13:40:20] Production.INFO: count ==4093
[2025-01-10 13:40:22] Production.ERROR: pbx CDR StartTime 2025-01-10 10:40:05 - End Time 2025-01-10 13:40:05
[2025-01-10 13:40:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 13:40:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217286', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:40:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217286', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:40:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217286', 'tblTempVendorCDR_20' ) start
[2025-01-10 13:40:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217286', 'tblTempVendorCDR_20' ) end
[2025-01-10 13:40:22] Production.INFO: ProcessCDR(1,14217286,1,1,2)
[2025-01-10 13:40:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217286,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:40:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217286,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:40:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217286,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:40:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217286,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:40:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217286', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:40:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217286', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:40:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:40:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:40:25] Production.INFO: ==23430== Releasing lock...
[2025-01-10 13:40:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 13:40:25] Production.INFO: 58.5 MB #Memory Used#
[2025-01-10 18:41:01] Production.INFO: ==23494== Lock acquired, processing the job...
[2025-01-10 18:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 18:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 18:41:01] Production.INFO: neon service started
[2025-01-10 18:41:01] Production.INFO: neon service started
[2025-01-10 18:41:01] Production.INFO: ==23494== Releasing lock...
[2025-01-10 18:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 18:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 13:41:02] Production.INFO: ==23496== Lock acquired, processing the job...
[2025-01-10 13:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 13:41:02] Production.INFO: ==23496== Releasing lock...
[2025-01-10 13:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 13:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 18:41:02] Production.INFO: ==23498== Lock acquired, processing the job...
[2025-01-10 18:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 18:41:02] Production.INFO: ==23498== Releasing lock...
[2025-01-10 18:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 18:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 13:41:03] Production.INFO: ==23513== Lock acquired, processing the job...
[2025-01-10 13:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 13:41:03] Production.INFO: ==23503== Lock acquired, processing the job...
[2025-01-10 13:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 13:41:03] Production.INFO: ==23511== Lock acquired, processing the job...
[2025-01-10 13:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 13:41:03] Production.INFO: ==23505== Lock acquired, processing the job...
[2025-01-10 13:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 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-01-10 13:41:03] Production.INFO: ==23507== Lock acquired, processing the job...
[2025-01-10 13:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 13:41:03] Production.INFO: count ==21
[2025-01-10 13:41:03] Production.INFO: ==23509== Lock acquired, processing the job...
[2025-01-10 13:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 13:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 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-01-10 13:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:41:03] Production.INFO: count ==21
[2025-01-10 13:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217287') start
[2025-01-10 13:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 13:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 13:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 13:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 13:41:03] Production.INFO: Account Balance Start.
[2025-01-10 13:41:03] Production.INFO: CreateAllLog Start
[2025-01-10 13:41:03] Production.INFO: 117
[2025-01-10 13:41:03] Production.INFO: Date 2025-01-08
[2025-01-10 13:41:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:41:03] Production.INFO: Date 2025-01-09
[2025-01-10 13:41:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217287') end
[2025-01-10 13:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 13:41:03] Production.INFO: 1
[2025-01-10 13:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 13:41:03] Production.INFO: Date 2025-01-10
[2025-01-10 13:41:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:41:03] Production.INFO: Total Charge 0
[2025-01-10 13:41:03] Production.INFO: CreateAllLog End
[2025-01-10 13:41:03] Production.INFO: ==23513== Releasing lock...
[2025-01-10 13:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 13:41:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 13:41:03] Production.INFO: ==23505== Releasing lock...
[2025-01-10 13:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 13:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 13:41:04] Production.ERROR: done
[2025-01-10 13:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 13:41:04] Production.ERROR: done
[2025-01-10 13:41:04] Production.INFO: Account Balance End.
[2025-01-10 13:41:04] Production.ERROR: CronJobId end 12
[2025-01-10 13:41:04] Production.INFO: ==23509== Releasing lock...
[2025-01-10 13:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 13:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 13:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 10:41:05
[end_date_ymd] => 2025-01-10 13:41:05
[RateCDR] => 1
)
[2025-01-10 13:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 10:41:05' and `end` < '2025-01-10 13:41:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 13:41:11] Production.ERROR: CronJobId end10
[2025-01-10 13:41:11] Production.INFO: ==23507== Releasing lock...
[2025-01-10 13:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 13:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 13:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 13:41:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 13:41:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 13:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 13:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 13:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 13:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 13:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 13:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 13:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 13:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 13:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 13:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 13:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 13:41:13] Production.INFO: call_cost start
[2025-01-10 13:41:13] Production.INFO: call_cost end
[2025-01-10 13:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 13:41:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 13:41:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 13:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 13:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 13:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 13:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 13:41:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 13:41:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 13:41:14] Production.INFO: ==23503== Releasing lock...
[2025-01-10 13:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 13:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 13:41:19] Production.INFO: count ==4132
[2025-01-10 13:41:21] Production.ERROR: pbx CDR StartTime 2025-01-10 10:41:05 - End Time 2025-01-10 13:41:05
[2025-01-10 13:41:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 13:41:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217291', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:41:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217291', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:41:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217291', 'tblTempVendorCDR_20' ) start
[2025-01-10 13:41:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217291', 'tblTempVendorCDR_20' ) end
[2025-01-10 13:41:21] Production.INFO: ProcessCDR(1,14217291,1,1,2)
[2025-01-10 13:41:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217291,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:41:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217291,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:41:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217291,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:41:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217291,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:41:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217291', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:41:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217291', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:41:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:41:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:41:25] Production.INFO: ==23511== Releasing lock...
[2025-01-10 13:41:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 13:41:25] Production.INFO: 59 MB #Memory Used#
[2025-01-10 18:42:02] Production.INFO: ==23577== Lock acquired, processing the job...
[2025-01-10 18:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 18:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 18:42:02] Production.INFO: neon service started
[2025-01-10 18:42:02] Production.INFO: neon service started
[2025-01-10 18:42:02] Production.INFO: ==23577== Releasing lock...
[2025-01-10 18:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 18:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 13:42:02] Production.INFO: ==23580== Lock acquired, processing the job...
[2025-01-10 13:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 18:42:02] Production.INFO: ==23582== Lock acquired, processing the job...
[2025-01-10 18:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 18:42:03] Production.INFO: ==23582== Releasing lock...
[2025-01-10 18:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 18:42:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 13:42:03] Production.INFO: ==23580== Releasing lock...
[2025-01-10 13:42:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 13:42:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 13:42:04] Production.INFO: ==23586== Lock acquired, processing the job...
[2025-01-10 13:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 13:42:04] Production.INFO: ==23594== Lock acquired, processing the job...
[2025-01-10 13:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 13:42:04] Production.INFO: ==23584== Lock acquired, processing the job...
[2025-01-10 13:42:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 13:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:42:04] Production.INFO: count ==21
[2025-01-10 13:42:04] Production.INFO: ==23588== Lock acquired, processing the job...
[2025-01-10 13:42:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 13:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:42:04] Production.INFO: count ==21
[2025-01-10 13:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217293') start
[2025-01-10 13:42:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 13:42:04] Production.INFO: ==23590== Lock acquired, processing the job...
[2025-01-10 13:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 13:42:04] Production.INFO: ==23586== Releasing lock...
[2025-01-10 13:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 13:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 13:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 13:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 13:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 13:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 13:42:04] Production.INFO: ==23592== Lock acquired, processing the job...
[2025-01-10 13:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 13:42:04] Production.INFO: Account Balance Start.
[2025-01-10 13:42:04] Production.INFO: CreateAllLog Start
[2025-01-10 13:42:04] Production.INFO: 117
[2025-01-10 13:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217293') end
[2025-01-10 13:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 13:42:04] Production.INFO: 1
[2025-01-10 13:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 13:42:04] Production.INFO: Date 2025-01-08
[2025-01-10 13:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:42:04] Production.INFO: ==23594== Releasing lock...
[2025-01-10 13:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 13:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 13:42:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:42:04] Production.INFO: Date 2025-01-09
[2025-01-10 13:42:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:42:04] Production.INFO: Date 2025-01-10
[2025-01-10 13:42:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:42:04] Production.INFO: Total Charge 0
[2025-01-10 13:42:04] Production.INFO: CreateAllLog End
[2025-01-10 13:42:04] Production.ERROR: done
[2025-01-10 13:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 13:42:05] Production.ERROR: done
[2025-01-10 13:42:05] Production.INFO: Account Balance End.
[2025-01-10 13:42:05] Production.ERROR: CronJobId end 12
[2025-01-10 13:42:05] Production.INFO: ==23590== Releasing lock...
[2025-01-10 13:42:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 13:42:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 13:42:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 10:42:06
[end_date_ymd] => 2025-01-10 13:42:06
[RateCDR] => 1
)
[2025-01-10 13:42:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 10:42:06' and `end` < '2025-01-10 13:42:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 13:42:11] Production.ERROR: CronJobId end10
[2025-01-10 13:42:11] Production.INFO: ==23588== Releasing lock...
[2025-01-10 13:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 13:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 13:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 13:42:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 13:42:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 13:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 13:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 13:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 13:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 13:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 13:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 13:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 13:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 13:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 13:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 13:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 13:42:14] Production.INFO: call_cost start
[2025-01-10 13:42:14] Production.INFO: call_cost end
[2025-01-10 13:42:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 13:42:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 13:42:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 13:42:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 13:42:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 13:42:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 13:42:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 13:42:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 13:42:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 13:42:15] Production.INFO: ==23584== Releasing lock...
[2025-01-10 13:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 13:42:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 13:42:20] Production.INFO: count ==4143
[2025-01-10 13:42:22] Production.ERROR: pbx CDR StartTime 2025-01-10 10:42:06 - End Time 2025-01-10 13:42:06
[2025-01-10 13:42:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 13:42:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217296', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:42:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217296', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:42:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217296', 'tblTempVendorCDR_20' ) start
[2025-01-10 13:42:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217296', 'tblTempVendorCDR_20' ) end
[2025-01-10 13:42:22] Production.INFO: ProcessCDR(1,14217296,1,1,2)
[2025-01-10 13:42:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217296,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:42:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217296,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:42:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217296,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:42:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217296,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:42:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217296', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:42:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217296', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:42:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:42:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:42:27] Production.INFO: ==23592== Releasing lock...
[2025-01-10 13:42:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 13:42:27] Production.INFO: 59 MB #Memory Used#
[2025-01-10 18:43:01] Production.INFO: ==23655== Lock acquired, processing the job...
[2025-01-10 18:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 18:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 18:43:01] Production.INFO: neon service started
[2025-01-10 18:43:01] Production.INFO: neon service started
[2025-01-10 18:43:01] Production.INFO: ==23655== Releasing lock...
[2025-01-10 18:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 18:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 13:43:02] Production.INFO: ==23657== Lock acquired, processing the job...
[2025-01-10 13:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 18:43:02] Production.INFO: ==23659== Lock acquired, processing the job...
[2025-01-10 18:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 18:43:02] Production.INFO: ==23659== Releasing lock...
[2025-01-10 18:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 18:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 13:43:02] Production.INFO: ==23657== Releasing lock...
[2025-01-10 13:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 13:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 13:43:03] Production.INFO: ==23664== Lock acquired, processing the job...
[2025-01-10 13:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 13:43:03] Production.INFO: ==23662== Lock acquired, processing the job...
[2025-01-10 13:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 13:43:03] Production.INFO: ==23672== Lock acquired, processing the job...
[2025-01-10 13:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 13:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 13:43:03] Production.INFO: ==23666== Lock acquired, processing the job...
[2025-01-10 13:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 13:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:43:03] Production.INFO: ==23668== Lock acquired, processing the job...
[2025-01-10 13:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 13:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 13:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 13:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 13:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 13:43:03] Production.INFO: ==23670== Lock acquired, processing the job...
[2025-01-10 13:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 13:43:03] Production.INFO: count ==21
[2025-01-10 13:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:43:03] Production.INFO: count ==21
[2025-01-10 13:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217299') start
[2025-01-10 13:43:03] Production.INFO: ==23664== Releasing lock...
[2025-01-10 13:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 13:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 13:43:03] Production.INFO: Account Balance Start.
[2025-01-10 13:43:03] Production.INFO: CreateAllLog Start
[2025-01-10 13:43:03] Production.INFO: 117
[2025-01-10 13:43:03] Production.INFO: Date 2025-01-08
[2025-01-10 13:43:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217299') end
[2025-01-10 13:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 13:43:04] Production.INFO: 1
[2025-01-10 13:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 13:43:04] Production.INFO: Date 2025-01-09
[2025-01-10 13:43:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:43:04] Production.INFO: ==23672== Releasing lock...
[2025-01-10 13:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 13:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 13:43:04] Production.INFO: Date 2025-01-10
[2025-01-10 13:43:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:43:04] Production.INFO: Total Charge 0
[2025-01-10 13:43:04] Production.INFO: CreateAllLog End
[2025-01-10 13:43:04] Production.ERROR: done
[2025-01-10 13:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 13:43:04] Production.ERROR: done
[2025-01-10 13:43:04] Production.INFO: Account Balance End.
[2025-01-10 13:43:04] Production.ERROR: CronJobId end 12
[2025-01-10 13:43:04] Production.INFO: ==23668== Releasing lock...
[2025-01-10 13:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 13:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 13:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 10:43:05
[end_date_ymd] => 2025-01-10 13:43:05
[RateCDR] => 1
)
[2025-01-10 13:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 10:43:05' and `end` < '2025-01-10 13:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 13:43:12] Production.ERROR: CronJobId end10
[2025-01-10 13:43:12] Production.INFO: ==23666== Releasing lock...
[2025-01-10 13:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 13:43:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 13:43:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 13:43:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 13:43:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 13:43:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 13:43:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 13:43:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 13:43:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 13:43:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 13:43:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 13:43:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 13:43:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 13:43:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 13:43:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 13:43:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 13:43:14] Production.INFO: call_cost start
[2025-01-10 13:43:14] Production.INFO: call_cost end
[2025-01-10 13:43:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 13:43:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 13:43:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 13:43:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 13:43:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 13:43:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 13:43:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 13:43:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 13:43:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 13:43:14] Production.INFO: ==23662== Releasing lock...
[2025-01-10 13:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 13:43:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 13:43:21] Production.INFO: count ==4141
[2025-01-10 13:43:23] Production.ERROR: pbx CDR StartTime 2025-01-10 10:43:05 - End Time 2025-01-10 13:43:05
[2025-01-10 13:43:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 13:43:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217301', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:43:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217301', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:43:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217301', 'tblTempVendorCDR_20' ) start
[2025-01-10 13:43:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217301', 'tblTempVendorCDR_20' ) end
[2025-01-10 13:43:23] Production.INFO: ProcessCDR(1,14217301,1,1,2)
[2025-01-10 13:43:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217301,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:43:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217301,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:43:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217301,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:43:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217301,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:43:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217301', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:43:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217301', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:43:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:43:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:43:28] Production.INFO: ==23670== Releasing lock...
[2025-01-10 13:43:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 13:43:28] Production.INFO: 59 MB #Memory Used#
[2025-01-10 18:44:02] Production.INFO: ==23737== Lock acquired, processing the job...
[2025-01-10 18:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 18:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 18:44:02] Production.INFO: neon service started
[2025-01-10 18:44:02] Production.INFO: neon service started
[2025-01-10 18:44:02] Production.INFO: ==23737== Releasing lock...
[2025-01-10 18:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 18:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 13:44:02] Production.INFO: ==23739== Lock acquired, processing the job...
[2025-01-10 13:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 13:44:02] Production.INFO: ==23739== Releasing lock...
[2025-01-10 13:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 13:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 18:44:02] Production.INFO: ==23741== Lock acquired, processing the job...
[2025-01-10 18:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 18:44:02] Production.INFO: ==23741== Releasing lock...
[2025-01-10 18:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 18:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 13:44:03] Production.INFO: ==23749== Lock acquired, processing the job...
[2025-01-10 13:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 13:44:03] Production.INFO: ==23751== Lock acquired, processing the job...
[2025-01-10 13:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 13:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:44:03] Production.INFO: Account Balance Start.
[2025-01-10 13:44:03] Production.INFO: CreateAllLog Start
[2025-01-10 13:44:03] Production.INFO: 117
[2025-01-10 13:44:03] Production.INFO: Date 2025-01-08
[2025-01-10 13:44:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:44:03] Production.INFO: ==23743== Lock acquired, processing the job...
[2025-01-10 13:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 13:44:03] Production.INFO: ==23745== Lock acquired, processing the job...
[2025-01-10 13:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 13:44:03] Production.INFO: ==23747== Lock acquired, processing the job...
[2025-01-10 13:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 13:44:03] Production.INFO: Date 2025-01-09
[2025-01-10 13:44:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:44:03] Production.INFO: Date 2025-01-10
[2025-01-10 13:44:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:44:03] Production.INFO: ==23753== Lock acquired, processing the job...
[2025-01-10 13:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 13:44:03] Production.INFO: Total Charge 0
[2025-01-10 13:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 13:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 13:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 13:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 13:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 13:44:03] Production.INFO: CreateAllLog End
[2025-01-10 13:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:44:04] Production.ERROR: done
[2025-01-10 13:44:04] Production.INFO: count ==21
[2025-01-10 13:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 13:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:44:04] Production.INFO: count ==21
[2025-01-10 13:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217303') start
[2025-01-10 13:44:04] Production.INFO: Account Balance End.
[2025-01-10 13:44:04] Production.ERROR: done
[2025-01-10 13:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217303') end
[2025-01-10 13:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 13:44:04] Production.INFO: 1
[2025-01-10 13:44:04] Production.ERROR: CronJobId end 12
[2025-01-10 13:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 13:44:04] Production.INFO: ==23749== Releasing lock...
[2025-01-10 13:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 13:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 13:44:04] Production.INFO: ==23753== Releasing lock...
[2025-01-10 13:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 13:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 13:44:04] Production.INFO: ==23745== Releasing lock...
[2025-01-10 13:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 13:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 13:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 10:44:05
[end_date_ymd] => 2025-01-10 13:44:05
[RateCDR] => 1
)
[2025-01-10 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-01-10 10:44:05' and `end` < '2025-01-10 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-01-10 13:44:12] Production.ERROR: CronJobId end10
[2025-01-10 13:44:12] Production.INFO: ==23747== Releasing lock...
[2025-01-10 13:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 13:44:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 13:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 13:44:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 13:44:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 13:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 13:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 13:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 13:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 13:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 13:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 13:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 13:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 13:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 13:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 13:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 13:44:13] Production.INFO: call_cost start
[2025-01-10 13:44:13] Production.INFO: call_cost end
[2025-01-10 13:44:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 13:44:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 13:44:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 13:44:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 13:44:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 13:44:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 13:44:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 13:44:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 13:44:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 13:44:14] Production.INFO: ==23743== Releasing lock...
[2025-01-10 13:44:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 13:44:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 13:44:22] Production.INFO: count ==4159
[2025-01-10 13:44:24] Production.ERROR: pbx CDR StartTime 2025-01-10 10:44:05 - End Time 2025-01-10 13:44:05
[2025-01-10 13:44:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 13:44:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217306', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:44:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217306', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:44:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217306', 'tblTempVendorCDR_20' ) start
[2025-01-10 13:44:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217306', 'tblTempVendorCDR_20' ) end
[2025-01-10 13:44:24] Production.INFO: ProcessCDR(1,14217306,1,1,2)
[2025-01-10 13:44:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217306,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:44:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217306,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:44:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217306,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:44:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217306,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:44:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217306', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:44:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217306', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:44:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:44:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:44:29] Production.INFO: ==23751== Releasing lock...
[2025-01-10 13:44:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 13:44:29] Production.INFO: 59.25 MB #Memory Used#
[2025-01-10 18:45:01] Production.INFO: ==23816== Lock acquired, processing the job...
[2025-01-10 18:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 18:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 18:45:01] Production.INFO: neon service started
[2025-01-10 18:45:01] Production.INFO: neon service started
[2025-01-10 18:45:01] Production.INFO: ==23816== Releasing lock...
[2025-01-10 18:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 18:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 13:45:02] Production.INFO: ==23818== Lock acquired, processing the job...
[2025-01-10 13:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 18:45:02] Production.INFO: ==23820== Lock acquired, processing the job...
[2025-01-10 18:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 18:45:02] Production.INFO: ==23820== Releasing lock...
[2025-01-10 18:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 18:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 13:45:02] Production.INFO: ==23818== Releasing lock...
[2025-01-10 13:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 13:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 13:45:03] Production.INFO: ==23823== Lock acquired, processing the job...
[2025-01-10 13:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 13:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 13:45:03] Production.INFO: ==23827== Lock acquired, processing the job...
[2025-01-10 13:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 13:45:03] Production.INFO: ==23833== Lock acquired, processing the job...
[2025-01-10 13:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 13:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 13:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 13:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 13:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 13:45:03] Production.INFO: ==23825== Lock acquired, processing the job...
[2025-01-10 13:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 13:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:45:03] Production.INFO: count ==21
[2025-01-10 13:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:45:03] Production.INFO: count ==21
[2025-01-10 13:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217308') start
[2025-01-10 13:45:03] Production.INFO: ==23829== Lock acquired, processing the job...
[2025-01-10 13:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 13:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217308') end
[2025-01-10 13:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 13:45:03] Production.INFO: 1
[2025-01-10 13:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 13:45:03] Production.INFO: ==23831== Lock acquired, processing the job...
[2025-01-10 13:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 13:45:03] Production.INFO: ==23833== Releasing lock...
[2025-01-10 13:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 13:45:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 13:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:45:03] Production.INFO: ==23825== Releasing lock...
[2025-01-10 13:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 13:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 13:45:03] Production.INFO: Account Balance Start.
[2025-01-10 13:45:03] Production.INFO: CreateAllLog Start
[2025-01-10 13:45:04] Production.INFO: 117
[2025-01-10 13:45:04] Production.INFO: Date 2025-01-08
[2025-01-10 13:45:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:45:04] Production.INFO: Date 2025-01-09
[2025-01-10 13:45:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:45:04] Production.ERROR: done
[2025-01-10 13:45:04] Production.INFO: Date 2025-01-10
[2025-01-10 13:45:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 13:45:04] Production.INFO: Total Charge 0
[2025-01-10 13:45:04] Production.INFO: CreateAllLog End
[2025-01-10 13:45:04] Production.ERROR: done
[2025-01-10 13:45:04] Production.INFO: Account Balance End.
[2025-01-10 13:45:04] Production.ERROR: CronJobId end 12
[2025-01-10 13:45:04] Production.INFO: ==23829== Releasing lock...
[2025-01-10 13:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 13:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 13:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 10:45:05
[end_date_ymd] => 2025-01-10 13:45:05
[RateCDR] => 1
)
[2025-01-10 13:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 10:45:05' and `end` < '2025-01-10 13:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 13:45:10] Production.ERROR: CronJobId end10
[2025-01-10 13:45:10] Production.INFO: ==23827== Releasing lock...
[2025-01-10 13:45:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 13:45:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 13:45:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 13:45:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 13:45:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 13:45:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 13:45:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 13:45:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 13:45:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 13:45:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 13:45:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 13:45:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 13:45:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 13:45:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 13:45:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 13:45:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 13:45:12] Production.INFO: call_cost start
[2025-01-10 13:45:12] Production.INFO: call_cost end
[2025-01-10 13:45:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 13:45:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 13:45:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 13:45:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 13:45:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 13:45:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 13:45:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 13:45:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 13:45:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 13:45:13] Production.INFO: ==23823== Releasing lock...
[2025-01-10 13:45:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 13:45:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 13:45:24] Production.INFO: count ==4157
[2025-01-10 13:45:26] Production.ERROR: pbx CDR StartTime 2025-01-10 10:45:05 - End Time 2025-01-10 13:45:05
[2025-01-10 13:45:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 13:45:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217311', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:45:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217311', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:45:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217311', 'tblTempVendorCDR_20' ) start
[2025-01-10 13:45:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217311', 'tblTempVendorCDR_20' ) end
[2025-01-10 13:45:26] Production.INFO: ProcessCDR(1,14217311,1,1,2)
[2025-01-10 13:45:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217311,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:45:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217311,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:45:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217311,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:45:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217311,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:45:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217311', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:45:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217311', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:45:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:45:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:45:31] Production.INFO: ==23831== Releasing lock...
[2025-01-10 13:45:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 13:45:31] Production.INFO: 59.25 MB #Memory Used#
[2025-01-10 18:46:02] Production.INFO: ==23890== Lock acquired, processing the job...
[2025-01-10 18:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 18:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 18:46:02] Production.INFO: neon service started
[2025-01-10 18:46:02] Production.INFO: neon service started
[2025-01-10 18:46:02] Production.INFO: ==23890== Releasing lock...
[2025-01-10 18:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 18:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 13:46:02] Production.INFO: ==23893== Lock acquired, processing the job...
[2025-01-10 13:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 13:46:02] Production.INFO: ==23893== Releasing lock...
[2025-01-10 13:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 13:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 18:46:02] Production.INFO: ==23895== Lock acquired, processing the job...
[2025-01-10 18:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 18:46:02] Production.INFO: ==23895== Releasing lock...
[2025-01-10 18:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 18:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 13:46:03] Production.INFO: ==23903== Lock acquired, processing the job...
[2025-01-10 13:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 13:46:03] Production.INFO: ==23907== Lock acquired, processing the job...
[2025-01-10 13:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 13:46:03] Production.INFO: ==23897== Lock acquired, processing the job...
[2025-01-10 13:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 13:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:46:03] Production.INFO: ==23899== Lock acquired, processing the job...
[2025-01-10 13:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 13:46:03] Production.INFO: Account Balance Start.
[2025-01-10 13:46:03] Production.INFO: count ==21
[2025-01-10 13:46:03] Production.INFO: CreateAllLog Start
[2025-01-10 13:46:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:46:03] Production.INFO: 117
[2025-01-10 13:46:03] Production.INFO: count ==21
[2025-01-10 13:46:03] Production.INFO: Date 2025-01-08
[2025-01-10 13:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217312') start
[2025-01-10 13:46:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 13:46:03] Production.INFO: Date 2025-01-09
[2025-01-10 13:46:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:46:03] Production.INFO: ==23901== Lock acquired, processing the job...
[2025-01-10 13:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 13:46:03] Production.INFO: Date 2025-01-10
[2025-01-10 13:46:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:46:04] Production.INFO: Total Charge 0
[2025-01-10 13:46:04] Production.INFO: ==23905== Lock acquired, processing the job...
[2025-01-10 13:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 13:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217312') end
[2025-01-10 13:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 13:46:04] Production.INFO: 1
[2025-01-10 13:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 13:46:04] Production.INFO: CreateAllLog End
[2025-01-10 13:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:46:04] Production.INFO: ==23907== Releasing lock...
[2025-01-10 13:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 13:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 13:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 13:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 13:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 13:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 13:46:04] Production.INFO: ==23899== Releasing lock...
[2025-01-10 13:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 13:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 13:46:04] Production.INFO: Account Balance End.
[2025-01-10 13:46:04] Production.ERROR: CronJobId end 12
[2025-01-10 13:46:04] Production.INFO: ==23903== Releasing lock...
[2025-01-10 13:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 13:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 13:46:04] Production.ERROR: done
[2025-01-10 13:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 13:46:04] Production.ERROR: done
[2025-01-10 13:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 10:46:05
[end_date_ymd] => 2025-01-10 13:46:05
[RateCDR] => 1
)
[2025-01-10 13:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 10:46:05' and `end` < '2025-01-10 13:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 13:46:12] Production.ERROR: CronJobId end10
[2025-01-10 13:46:12] Production.INFO: ==23901== Releasing lock...
[2025-01-10 13:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 13:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 13:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 13:46:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 13:46:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 13:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 13:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 13:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 13:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 13:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 13:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 13:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 13:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 13:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 13:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 13:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 13:46:14] Production.INFO: call_cost start
[2025-01-10 13:46:14] Production.INFO: call_cost end
[2025-01-10 13:46:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 13:46:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 13:46:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 13:46:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 13:46:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 13:46:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 13:46:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 13:46:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 13:46:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 13:46:15] Production.INFO: ==23897== Releasing lock...
[2025-01-10 13:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 13:46:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 13:46:28] Production.INFO: count ==4169
[2025-01-10 13:46:30] Production.ERROR: pbx CDR StartTime 2025-01-10 10:46:05 - End Time 2025-01-10 13:46:05
[2025-01-10 13:46:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 13:46:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217316', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:46:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217316', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:46:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217316', 'tblTempVendorCDR_20' ) start
[2025-01-10 13:46:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217316', 'tblTempVendorCDR_20' ) end
[2025-01-10 13:46:30] Production.INFO: ProcessCDR(1,14217316,1,1,2)
[2025-01-10 13:46:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217316,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:46:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217316,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:46:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217316,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:46:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217316,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:46:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217316', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:46:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217316', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:46:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:46:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:46:34] Production.INFO: ==23905== Releasing lock...
[2025-01-10 13:46:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 13:46:34] Production.INFO: 59.25 MB #Memory Used#
[2025-01-10 18:47:01] Production.INFO: ==23985== Lock acquired, processing the job...
[2025-01-10 18:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 18:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 18:47:01] Production.INFO: neon service started
[2025-01-10 18:47:01] Production.INFO: neon service started
[2025-01-10 18:47:01] Production.INFO: ==23985== Releasing lock...
[2025-01-10 18:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 18:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 13:47:01] Production.INFO: ==23987== Lock acquired, processing the job...
[2025-01-10 13:47:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 13:47:02] Production.INFO: ==23987== Releasing lock...
[2025-01-10 13:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 13:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 18:47:02] Production.INFO: ==23989== Lock acquired, processing the job...
[2025-01-10 18:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 18:47:02] Production.INFO: ==23989== Releasing lock...
[2025-01-10 18:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 18:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 13:47:02] Production.INFO: ==23998== Lock acquired, processing the job...
[2025-01-10 13:47:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 13:47:02] Production.INFO: Account Balance Start.
[2025-01-10 13:47:02] Production.INFO: CreateAllLog Start
[2025-01-10 13:47:02] Production.INFO: 117
[2025-01-10 13:47:02] Production.INFO: Date 2025-01-08
[2025-01-10 13:47:02] Production.INFO: Reseller ==> 0
[2025-01-10 13:47:03] Production.INFO: Date 2025-01-09
[2025-01-10 13:47:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:47:03] Production.INFO: Date 2025-01-10
[2025-01-10 13:47:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:47:03] Production.INFO: Total Charge 0
[2025-01-10 13:47:03] Production.INFO: CreateAllLog End
[2025-01-10 13:47:03] Production.INFO: ==24002== Lock acquired, processing the job...
[2025-01-10 13:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 13:47:03] Production.INFO: ==23992== Lock acquired, processing the job...
[2025-01-10 13:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 13:47:03] Production.INFO: ==23994== Lock acquired, processing the job...
[2025-01-10 13:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 13:47:03] Production.INFO: Account Balance End.
[2025-01-10 13:47:03] Production.ERROR: CronJobId end 12
[2025-01-10 13:47:03] Production.INFO: ==23998== Releasing lock...
[2025-01-10 13:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 13:47:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 13:47:03] Production.INFO: ==24000== Lock acquired, processing the job...
[2025-01-10 13:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 13:47:03] Production.INFO: ==23996== Lock acquired, processing the job...
[2025-01-10 13:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 13:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 13:47:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:47:03] Production.INFO: count ==21
[2025-01-10 13:47:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:47:03] Production.INFO: count ==21
[2025-01-10 13:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217318') start
[2025-01-10 13:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 13:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 13:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 13:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 13:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217318') end
[2025-01-10 13:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 13:47:03] Production.INFO: 1
[2025-01-10 13:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 13:47:03] Production.INFO: ==23994== Releasing lock...
[2025-01-10 13:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 13:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 13:47:03] Production.ERROR: done
[2025-01-10 13:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 13:47:03] Production.INFO: ==24002== Releasing lock...
[2025-01-10 13:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 13:47:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 13:47:03] Production.ERROR: done
[2025-01-10 13:47:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 10:47:04
[end_date_ymd] => 2025-01-10 13:47:04
[RateCDR] => 1
)
[2025-01-10 13:47:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 10:47:04' and `end` < '2025-01-10 13:47:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 13:47:11] Production.ERROR: CronJobId end10
[2025-01-10 13:47:11] Production.INFO: ==23996== Releasing lock...
[2025-01-10 13:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 13:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 13:47:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 13:47:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 13:47:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 13:47:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 13:47:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 13:47:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 13:47:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 13:47:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 13:47:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 13:47:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 13:47:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 13:47:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 13:47:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 13:47:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 13:47:13] Production.INFO: call_cost start
[2025-01-10 13:47:13] Production.INFO: call_cost end
[2025-01-10 13:47:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 13:47:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 13:47:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 13:47:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 13:47:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 13:47:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 13:47:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 13:47:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 13:47:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 13:47:13] Production.INFO: ==23992== Releasing lock...
[2025-01-10 13:47:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 13:47:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 13:47:23] Production.INFO: count ==4164
[2025-01-10 13:47:25] Production.ERROR: pbx CDR StartTime 2025-01-10 10:47:04 - End Time 2025-01-10 13:47:04
[2025-01-10 13:47:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 13:47:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217321', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:47:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217321', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:47:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217321', 'tblTempVendorCDR_20' ) start
[2025-01-10 13:47:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217321', 'tblTempVendorCDR_20' ) end
[2025-01-10 13:47:25] Production.INFO: ProcessCDR(1,14217321,1,1,2)
[2025-01-10 13:47:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217321,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:47:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217321,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:47:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217321,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:47:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217321,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:47:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217321', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:47:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217321', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:47:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:47:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:47:30] Production.INFO: ==24000== Releasing lock...
[2025-01-10 13:47:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 13:47:30] Production.INFO: 59.25 MB #Memory Used#
[2025-01-10 18:48:01] Production.INFO: ==24111== Lock acquired, processing the job...
[2025-01-10 18:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 18:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 18:48:01] Production.INFO: neon service started
[2025-01-10 18:48:02] Production.INFO: neon service started
[2025-01-10 18:48:02] Production.INFO: ==24111== Releasing lock...
[2025-01-10 18:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 18:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 13:48:02] Production.INFO: ==24113== Lock acquired, processing the job...
[2025-01-10 13:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 13:48:02] Production.INFO: ==24113== Releasing lock...
[2025-01-10 13:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 13:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 18:48:02] Production.INFO: ==24115== Lock acquired, processing the job...
[2025-01-10 18:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 18:48:02] Production.INFO: ==24115== Releasing lock...
[2025-01-10 18:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 18:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 13:48:03] Production.INFO: ==24118== Lock acquired, processing the job...
[2025-01-10 13:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 13:48:03] Production.INFO: ==24120== Lock acquired, processing the job...
[2025-01-10 13:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 13:48:03] Production.INFO: ==24122== Lock acquired, processing the job...
[2025-01-10 13:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 13:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 13:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 13:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 13:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 13:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 13:48:03] Production.INFO: ==24124== Lock acquired, processing the job...
[2025-01-10 13:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 13:48:03] Production.INFO: ==24127== Lock acquired, processing the job...
[2025-01-10 13:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 13:48:03] Production.INFO: ==24130== Lock acquired, processing the job...
[2025-01-10 13:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 13:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:48:03] Production.INFO: Account Balance Start.
[2025-01-10 13:48:03] Production.INFO: CreateAllLog Start
[2025-01-10 13:48:03] Production.INFO: 117
[2025-01-10 13:48:03] Production.INFO: Date 2025-01-08
[2025-01-10 13:48:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:48:04] Production.INFO: ==24120== Releasing lock...
[2025-01-10 13:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 13:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 13:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:48:04] Production.INFO: Date 2025-01-09
[2025-01-10 13:48:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:48:04] Production.INFO: count ==21
[2025-01-10 13:48:04] Production.INFO: Date 2025-01-10
[2025-01-10 13:48:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:48:04] Production.INFO: count ==21
[2025-01-10 13:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217325') start
[2025-01-10 13:48:04] Production.INFO: Total Charge 0
[2025-01-10 13:48:04] Production.INFO: CreateAllLog End
[2025-01-10 13:48:04] Production.ERROR: done
[2025-01-10 13:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 13:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217325') end
[2025-01-10 13:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 13:48:04] Production.INFO: 1
[2025-01-10 13:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 13:48:04] Production.INFO: ==24130== Releasing lock...
[2025-01-10 13:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 13:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 13:48:04] Production.ERROR: done
[2025-01-10 13:48:04] Production.INFO: Account Balance End.
[2025-01-10 13:48:04] Production.ERROR: CronJobId end 12
[2025-01-10 13:48:04] Production.INFO: ==24124== Releasing lock...
[2025-01-10 13:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 13:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 13:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 10:48:05
[end_date_ymd] => 2025-01-10 13:48:05
[RateCDR] => 1
)
[2025-01-10 13:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 10:48:05' and `end` < '2025-01-10 13:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 13:48:12] Production.ERROR: CronJobId end10
[2025-01-10 13:48:12] Production.INFO: ==24122== Releasing lock...
[2025-01-10 13:48:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 13:48:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 13:48:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 13:48:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 13:48:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 13:48:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 13:48:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 13:48:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 13:48:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 13:48:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 13:48:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 13:48:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 13:48:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 13:48:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 13:48:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 13:48:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 13:48:13] Production.INFO: call_cost start
[2025-01-10 13:48:13] Production.INFO: call_cost end
[2025-01-10 13:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 13:48:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 13:48:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 13:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 13:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 13:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 13:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 13:48:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 13:48:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 13:48:14] Production.INFO: ==24118== Releasing lock...
[2025-01-10 13:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 13:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 13:48:25] Production.INFO: count ==4160
[2025-01-10 13:48:27] Production.ERROR: pbx CDR StartTime 2025-01-10 10:48:05 - End Time 2025-01-10 13:48:05
[2025-01-10 13:48:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 13:48:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217326', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:48:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217326', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:48:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217326', 'tblTempVendorCDR_20' ) start
[2025-01-10 13:48:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217326', 'tblTempVendorCDR_20' ) end
[2025-01-10 13:48:27] Production.INFO: ProcessCDR(1,14217326,1,1,2)
[2025-01-10 13:48:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217326,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:48:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217326,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:48:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217326,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:48:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217326,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:48:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217326', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:48:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217326', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:48:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:48:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:48:31] Production.INFO: ==24127== Releasing lock...
[2025-01-10 13:48:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 13:48:31] Production.INFO: 59.25 MB #Memory Used#
[2025-01-10 18:49:01] Production.INFO: ==24193== Lock acquired, processing the job...
[2025-01-10 18:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 18:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 18:49:01] Production.INFO: neon service started
[2025-01-10 18:49:01] Production.INFO: neon service started
[2025-01-10 18:49:01] Production.INFO: ==24193== Releasing lock...
[2025-01-10 18:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 18:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 18:49:01] Production.INFO: ==24197== Lock acquired, processing the job...
[2025-01-10 18:49:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 18:49:01] Production.INFO: ==24197== Releasing lock...
[2025-01-10 18:49:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 18:49:01] Production.INFO: 25 MB #Memory Used#
[2025-01-10 13:49:01] Production.INFO: ==24195== Lock acquired, processing the job...
[2025-01-10 13:49:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 13:49:02] Production.INFO: ==24195== Releasing lock...
[2025-01-10 13:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 13:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 13:49:02] Production.INFO: ==24202== Lock acquired, processing the job...
[2025-01-10 13:49:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 13:49:03] Production.INFO: ==24210== Lock acquired, processing the job...
[2025-01-10 13:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 13:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:49:03] Production.INFO: ==24200== Lock acquired, processing the job...
[2025-01-10 13:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 13:49:03] Production.INFO: count ==21
[2025-01-10 13:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:49:03] Production.INFO: ==24204== Lock acquired, processing the job...
[2025-01-10 13:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 13:49:03] Production.INFO: count ==21
[2025-01-10 13:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217328') start
[2025-01-10 13:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 13:49:03] Production.INFO: ==24206== Lock acquired, processing the job...
[2025-01-10 13:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 13:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217328') end
[2025-01-10 13:49:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 13:49:03] Production.INFO: 1
[2025-01-10 13:49:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 13:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 13:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 13:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 13:49:03] Production.INFO: ==24208== Lock acquired, processing the job...
[2025-01-10 13:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 13:49:03] Production.INFO: ==24202== Releasing lock...
[2025-01-10 13:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 13:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 13:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 13:49:03] Production.INFO: Account Balance Start.
[2025-01-10 13:49:03] Production.INFO: CreateAllLog Start
[2025-01-10 13:49:03] Production.INFO: 117
[2025-01-10 13:49:03] Production.INFO: Date 2025-01-08
[2025-01-10 13:49:03] Production.INFO: ==24210== Releasing lock...
[2025-01-10 13:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 13:49:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 13:49:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:49:03] Production.INFO: Date 2025-01-09
[2025-01-10 13:49:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:49:03] Production.ERROR: done
[2025-01-10 13:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 13:49:03] Production.INFO: Date 2025-01-10
[2025-01-10 13:49:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:49:03] Production.ERROR: done
[2025-01-10 13:49:03] Production.INFO: Total Charge 0
[2025-01-10 13:49:03] Production.INFO: CreateAllLog End
[2025-01-10 13:49:04] Production.INFO: Account Balance End.
[2025-01-10 13:49:04] Production.ERROR: CronJobId end 12
[2025-01-10 13:49:04] Production.INFO: ==24206== Releasing lock...
[2025-01-10 13:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 13:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 13:49:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 10:49:04
[end_date_ymd] => 2025-01-10 13:49:04
[RateCDR] => 1
)
[2025-01-10 13:49:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 10:49:04' and `end` < '2025-01-10 13:49:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 13:49:11] Production.ERROR: CronJobId end10
[2025-01-10 13:49:11] Production.INFO: ==24204== Releasing lock...
[2025-01-10 13:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 13:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 13:49:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 13:49:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 13:49:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 13:49:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 13:49:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 13:49:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 13:49:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 13:49:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 13:49:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 13:49:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 13:49:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 13:49:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 13:49:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 13:49:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 13:49:12] Production.INFO: call_cost start
[2025-01-10 13:49:12] Production.INFO: call_cost end
[2025-01-10 13:49:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 13:49:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 13:49:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 13:49:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 13:49:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 13:49:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 13:49:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 13:49:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 13:49:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 13:49:13] Production.INFO: ==24200== Releasing lock...
[2025-01-10 13:49:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 13:49:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 13:49:26] Production.INFO: count ==4158
[2025-01-10 13:49:27] Production.ERROR: pbx CDR StartTime 2025-01-10 10:49:04 - End Time 2025-01-10 13:49:04
[2025-01-10 13:49:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 13:49:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217331', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:49:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217331', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:49:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217331', 'tblTempVendorCDR_20' ) start
[2025-01-10 13:49:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217331', 'tblTempVendorCDR_20' ) end
[2025-01-10 13:49:28] Production.INFO: ProcessCDR(1,14217331,1,1,2)
[2025-01-10 13:49:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217331,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:49:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217331,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:49:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217331,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:49:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217331,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:49:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217331', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:49:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217331', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:49:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:49:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:49:32] Production.INFO: ==24208== Releasing lock...
[2025-01-10 13:49:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 13:49:32] Production.INFO: 59.25 MB #Memory Used#
[2025-01-10 18:50:01] Production.INFO: ==24276== Lock acquired, processing the job...
[2025-01-10 18:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 18:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 18:50:01] Production.INFO: neon service started
[2025-01-10 18:50:01] Production.INFO: neon service started
[2025-01-10 18:50:01] Production.INFO: ==24276== Releasing lock...
[2025-01-10 18:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 18:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 13:50:02] Production.INFO: ==24278== Lock acquired, processing the job...
[2025-01-10 13:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 13:50:02] Production.INFO: ==24278== Releasing lock...
[2025-01-10 13:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 13:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 18:50:02] Production.INFO: ==24280== Lock acquired, processing the job...
[2025-01-10 18:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 18:50:02] Production.INFO: ==24280== Releasing lock...
[2025-01-10 18:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 18:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 13:50:03] Production.INFO: ==24283== Lock acquired, processing the job...
[2025-01-10 13:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 13:50:03] Production.INFO: ==24285== Lock acquired, processing the job...
[2025-01-10 13:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 13:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 13:50:03] Production.INFO: ==24287== Lock acquired, processing the job...
[2025-01-10 13:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 13:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 13:50:03] Production.INFO: ==24283== Releasing lock...
[2025-01-10 13:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 13:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 13:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 13:50:03] Production.INFO: ==24297== Lock acquired, processing the job...
[2025-01-10 13:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 13:50:03] Production.INFO: ==24289== Lock acquired, processing the job...
[2025-01-10 13:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 13:50:03] Production.INFO: ==24287== Releasing lock...
[2025-01-10 13:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 13:50:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 13:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 13:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 13:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 13:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 13:50:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:50:03] Production.INFO: ==24291== Lock acquired, processing the job...
[2025-01-10 13:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 13:50:03] Production.INFO: ==24293== Lock acquired, processing the job...
[2025-01-10 13:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 13:50:03] Production.INFO: ==24295== Lock acquired, processing the job...
[2025-01-10 13:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 13:50:03] Production.INFO: count ==21
[2025-01-10 13:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:50:04] Production.INFO: count ==21
[2025-01-10 13:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217334') start
[2025-01-10 13:50:04] Production.INFO: Account Balance Start.
[2025-01-10 13:50:04] Production.INFO: CreateAllLog Start
[2025-01-10 13:50:04] Production.INFO: 117
[2025-01-10 13:50:04] Production.INFO: Date 2025-01-08
[2025-01-10 13:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217334') end
[2025-01-10 13:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 13:50:04] Production.INFO: 1
[2025-01-10 13:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 13:50:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:50:04] Production.INFO: Date 2025-01-09
[2025-01-10 13:50:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:50:04] Production.INFO: ==24297== Releasing lock...
[2025-01-10 13:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 13:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 13:50:04] Production.INFO: Date 2025-01-10
[2025-01-10 13:50:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:50:04] Production.INFO: Total Charge 0
[2025-01-10 13:50:04] Production.INFO: CreateAllLog End
[2025-01-10 13:50:04] Production.ERROR: done
[2025-01-10 13:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 13:50:04] Production.ERROR: done
[2025-01-10 13:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 13:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14217336', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 13:50:04] Production.ERROR: done
[2025-01-10 13:50:04] Production.INFO: Account Balance End.
[2025-01-10 13:50:04] Production.ERROR: CronJobId end 12
[2025-01-10 13:50:04] Production.INFO: ==24291== Releasing lock...
[2025-01-10 13:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 13:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 13:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 10:50:05
[end_date_ymd] => 2025-01-10 13:50:05
[RateCDR] => 1
)
[2025-01-10 13:50:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 10:50:05' and `end` < '2025-01-10 13:50:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 13:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14217336', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 13:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 13:50:08] Production.INFO: ProcessCDR(1,14217336,1,1,2)
[2025-01-10 13:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14217336,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14217336,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:50:08] Production.INFO: ==24295== Releasing lock...
[2025-01-10 13:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 13:50:08] Production.INFO: 26 MB #Memory Used#
[2025-01-10 13:50:13] Production.ERROR: CronJobId end10
[2025-01-10 13:50:13] Production.INFO: ==24289== Releasing lock...
[2025-01-10 13:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 13:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 13:50:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 13:50:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 13:50:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 13:50:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 13:50:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 13:50:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 13:50:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 13:50:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 13:50:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 13:50:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 13:50:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 13:50:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 13:50:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 13:50:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 13:50:14] Production.INFO: call_cost start
[2025-01-10 13:50:14] Production.INFO: call_cost end
[2025-01-10 13:50:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 13:50:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 13:50:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 13:50:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 13:50:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 13:50:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 13:50:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 13:50:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 13:50:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 13:50:15] Production.INFO: ==24285== Releasing lock...
[2025-01-10 13:50:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 13:50:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 13:50:29] Production.INFO: count ==4158
[2025-01-10 13:50:31] Production.ERROR: pbx CDR StartTime 2025-01-10 10:50:05 - End Time 2025-01-10 13:50:05
[2025-01-10 13:50:31] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 13:50:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217337', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:50:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217337', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:50:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217337', 'tblTempVendorCDR_20' ) start
[2025-01-10 13:50:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217337', 'tblTempVendorCDR_20' ) end
[2025-01-10 13:50:31] Production.INFO: ProcessCDR(1,14217337,1,1,2)
[2025-01-10 13:50:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217337,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:50:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217337,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:50:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217337,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:50:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217337,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:50:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217337', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:50:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217337', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:50:35] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:50:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:50:35] Production.INFO: ==24293== Releasing lock...
[2025-01-10 13:50:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 13:50:35] Production.INFO: 59.25 MB #Memory Used#
[2025-01-10 18:51:02] Production.INFO: ==24363== Lock acquired, processing the job...
[2025-01-10 18:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 18:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 18:51:02] Production.INFO: neon service started
[2025-01-10 18:51:02] Production.INFO: neon service started
[2025-01-10 18:51:02] Production.INFO: ==24363== Releasing lock...
[2025-01-10 18:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 18:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 13:51:02] Production.INFO: ==24365== Lock acquired, processing the job...
[2025-01-10 13:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 18:51:02] Production.INFO: ==24367== Lock acquired, processing the job...
[2025-01-10 18:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 18:51:02] Production.INFO: ==24367== Releasing lock...
[2025-01-10 18:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 18:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 13:51:03] Production.INFO: ==24365== Releasing lock...
[2025-01-10 13:51:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 13:51:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 13:51:03] Production.INFO: ==24370== Lock acquired, processing the job...
[2025-01-10 13:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 13:51:03] Production.INFO: ==24372== Lock acquired, processing the job...
[2025-01-10 13:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 13:51:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 13:51:04] Production.INFO: ==24376== Lock acquired, processing the job...
[2025-01-10 13:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 13:51:04] Production.INFO: Account Balance Start.
[2025-01-10 13:51:04] Production.INFO: CreateAllLog Start
[2025-01-10 13:51:04] Production.INFO: 117
[2025-01-10 13:51:04] Production.INFO: Date 2025-01-08
[2025-01-10 13:51:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:51:04] Production.INFO: ==24372== Releasing lock...
[2025-01-10 13:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 13:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 13:51:04] Production.INFO: Date 2025-01-09
[2025-01-10 13:51:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:51:04] Production.INFO: ==24374== Lock acquired, processing the job...
[2025-01-10 13:51:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 13:51:04] Production.INFO: Date 2025-01-10
[2025-01-10 13:51:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:51:04] Production.INFO: Total Charge 0
[2025-01-10 13:51:04] Production.INFO: CreateAllLog End
[2025-01-10 13:51:04] Production.INFO: ==24378== Lock acquired, processing the job...
[2025-01-10 13:51:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 13:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 13:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 13:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 13:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 13:51:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:51:04] Production.INFO: ==24380== Lock acquired, processing the job...
[2025-01-10 13:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 13:51:04] Production.INFO: Account Balance End.
[2025-01-10 13:51:04] Production.ERROR: CronJobId end 12
[2025-01-10 13:51:04] Production.INFO: ==24376== Releasing lock...
[2025-01-10 13:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 13:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 13:51:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:51:04] Production.INFO: count ==21
[2025-01-10 13:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:51:04] Production.INFO: count ==21
[2025-01-10 13:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217341') start
[2025-01-10 13:51:04] Production.ERROR: done
[2025-01-10 13:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 13:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217341') end
[2025-01-10 13:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 13:51:04] Production.INFO: 1
[2025-01-10 13:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 13:51:05] Production.INFO: ==24380== Releasing lock...
[2025-01-10 13:51:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 13:51:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 13:51:05] Production.ERROR: done
[2025-01-10 13:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 10:51:05
[end_date_ymd] => 2025-01-10 13:51:05
[RateCDR] => 1
)
[2025-01-10 13:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 10:51:05' and `end` < '2025-01-10 13:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 13:51:13] Production.ERROR: CronJobId end10
[2025-01-10 13:51:13] Production.INFO: ==24374== Releasing lock...
[2025-01-10 13:51:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 13:51:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 13:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 13:51:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 13:51:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 13:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 13:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 13:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 13:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 13:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 13:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 13:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 13:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 13:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 13:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 13:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 13:51:14] Production.INFO: call_cost start
[2025-01-10 13:51:14] Production.INFO: call_cost end
[2025-01-10 13:51:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 13:51:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 13:51:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 13:51:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 13:51:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 13:51:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 13:51:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 13:51:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 13:51:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 13:51:14] Production.INFO: ==24370== Releasing lock...
[2025-01-10 13:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 13:51:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 13:51:22] Production.INFO: count ==4213
[2025-01-10 13:51:24] Production.ERROR: pbx CDR StartTime 2025-01-10 10:51:05 - End Time 2025-01-10 13:51:05
[2025-01-10 13:51:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 13:51:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217342', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:51:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217342', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:51:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217342', 'tblTempVendorCDR_20' ) start
[2025-01-10 13:51:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217342', 'tblTempVendorCDR_20' ) end
[2025-01-10 13:51:24] Production.INFO: ProcessCDR(1,14217342,1,1,2)
[2025-01-10 13:51:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217342,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:51:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217342,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:51:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217342,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:51:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217342,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:51:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217342', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:51:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217342', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:51:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:51:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:51:28] Production.INFO: ==24378== Releasing lock...
[2025-01-10 13:51:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 13:51:28] Production.INFO: 59.5 MB #Memory Used#
[2025-01-10 18:52:01] Production.INFO: ==24443== Lock acquired, processing the job...
[2025-01-10 18:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 18:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 18:52:01] Production.INFO: neon service started
[2025-01-10 18:52:01] Production.INFO: neon service started
[2025-01-10 18:52:01] Production.INFO: ==24443== Releasing lock...
[2025-01-10 18:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 18:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 18:52:02] Production.INFO: ==24447== Lock acquired, processing the job...
[2025-01-10 18:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 18:52:02] Production.INFO: ==24447== Releasing lock...
[2025-01-10 18:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 18:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 13:52:02] Production.INFO: ==24445== Lock acquired, processing the job...
[2025-01-10 13:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 13:52:02] Production.INFO: ==24445== Releasing lock...
[2025-01-10 13:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 13:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 13:52:03] Production.INFO: ==24452== Lock acquired, processing the job...
[2025-01-10 13:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 13:52:03] Production.INFO: ==24450== Lock acquired, processing the job...
[2025-01-10 13:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 13:52:03] Production.INFO: ==24460== Lock acquired, processing the job...
[2025-01-10 13:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 13:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 13:52:03] Production.INFO: ==24456== Lock acquired, processing the job...
[2025-01-10 13:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 13:52:03] Production.INFO: ==24454== Lock acquired, processing the job...
[2025-01-10 13:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 13:52:03] Production.INFO: ==24458== Lock acquired, processing the job...
[2025-01-10 13:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 13:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:52:03] Production.INFO: ==24452== Releasing lock...
[2025-01-10 13:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 13:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 13:52:03] Production.INFO: Account Balance Start.
[2025-01-10 13:52:03] Production.INFO: CreateAllLog Start
[2025-01-10 13:52:03] Production.INFO: 117
[2025-01-10 13:52:03] Production.INFO: count ==21
[2025-01-10 13:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:52:03] Production.INFO: count ==21
[2025-01-10 13:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 13:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 13:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 13:52:03] Production.INFO: Date 2025-01-08
[2025-01-10 13:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217344') start
[2025-01-10 13:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 13:52:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:52:03] Production.INFO: Date 2025-01-09
[2025-01-10 13:52:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:52:03] Production.INFO: Date 2025-01-10
[2025-01-10 13:52:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:52:03] Production.INFO: Total Charge 0
[2025-01-10 13:52:03] Production.INFO: CreateAllLog End
[2025-01-10 13:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217344') end
[2025-01-10 13:52:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 13:52:03] Production.INFO: 1
[2025-01-10 13:52:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 13:52:03] Production.INFO: ==24460== Releasing lock...
[2025-01-10 13:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 13:52:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 13:52:03] Production.ERROR: done
[2025-01-10 13:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 13:52:04] Production.INFO: Account Balance End.
[2025-01-10 13:52:04] Production.ERROR: CronJobId end 12
[2025-01-10 13:52:04] Production.INFO: ==24456== Releasing lock...
[2025-01-10 13:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 13:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 13:52:04] Production.ERROR: done
[2025-01-10 13:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 10:52:05
[end_date_ymd] => 2025-01-10 13:52:05
[RateCDR] => 1
)
[2025-01-10 13:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 10:52:05' and `end` < '2025-01-10 13:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 13:52:12] Production.ERROR: CronJobId end10
[2025-01-10 13:52:12] Production.INFO: ==24454== Releasing lock...
[2025-01-10 13:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 13:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 13:52:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 13:52:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 13:52:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 13:52:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 13:52:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 13:52:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 13:52:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 13:52:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 13:52:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 13:52:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 13:52:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 13:52:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 13:52:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 13:52:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 13:52:13] Production.INFO: call_cost start
[2025-01-10 13:52:13] Production.INFO: call_cost end
[2025-01-10 13:52:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 13:52:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 13:52:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 13:52:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 13:52:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 13:52:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 13:52:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 13:52:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 13:52:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 13:52:14] Production.INFO: ==24450== Releasing lock...
[2025-01-10 13:52:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 13:52:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 13:52:24] Production.INFO: count ==4218
[2025-01-10 13:52:26] Production.ERROR: pbx CDR StartTime 2025-01-10 10:52:05 - End Time 2025-01-10 13:52:05
[2025-01-10 13:52:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 13:52:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217347', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:52:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217347', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:52:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217347', 'tblTempVendorCDR_20' ) start
[2025-01-10 13:52:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217347', 'tblTempVendorCDR_20' ) end
[2025-01-10 13:52:26] Production.INFO: ProcessCDR(1,14217347,1,1,2)
[2025-01-10 13:52:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217347,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:52:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217347,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:52:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217347,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:52:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217347,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:52:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217347', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:52:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217347', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:52:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:52:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:52:31] Production.INFO: ==24458== Releasing lock...
[2025-01-10 13:52:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 13:52:31] Production.INFO: 59.5 MB #Memory Used#
[2025-01-10 18:53:02] Production.INFO: ==24524== Lock acquired, processing the job...
[2025-01-10 18:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 18:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 18:53:02] Production.INFO: neon service started
[2025-01-10 18:53:02] Production.INFO: neon service started
[2025-01-10 18:53:02] Production.INFO: ==24524== Releasing lock...
[2025-01-10 18:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 18:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 18:53:02] Production.INFO: ==24528== Lock acquired, processing the job...
[2025-01-10 18:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 18:53:02] Production.INFO: ==24528== Releasing lock...
[2025-01-10 18:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 18:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 13:53:02] Production.INFO: ==24526== Lock acquired, processing the job...
[2025-01-10 13:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 13:53:03] Production.INFO: ==24526== Releasing lock...
[2025-01-10 13:53:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 13:53:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 13:53:03] Production.INFO: ==24535== Lock acquired, processing the job...
[2025-01-10 13:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 13:53:03] Production.INFO: ==24539== Lock acquired, processing the job...
[2025-01-10 13:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 13:53:03] Production.INFO: ==24531== Lock acquired, processing the job...
[2025-01-10 13:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 13:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:53:03] Production.INFO: ==24533== Lock acquired, processing the job...
[2025-01-10 13:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 13:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 13:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 13:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 13:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 13:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 13:53:04] Production.INFO: ==24537== Lock acquired, processing the job...
[2025-01-10 13:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 13:53:04] Production.INFO: ==24541== Lock acquired, processing the job...
[2025-01-10 13:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 13:53:04] Production.INFO: Account Balance Start.
[2025-01-10 13:53:04] Production.INFO: CreateAllLog Start
[2025-01-10 13:53:04] Production.INFO: 117
[2025-01-10 13:53:04] Production.ERROR: done
[2025-01-10 13:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 13:53:04] Production.INFO: Date 2025-01-08
[2025-01-10 13:53:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:53:04] Production.INFO: Date 2025-01-09
[2025-01-10 13:53:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:53:04] Production.INFO: count ==21
[2025-01-10 13:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:53:04] Production.INFO: count ==21
[2025-01-10 13:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217351') start
[2025-01-10 13:53:04] Production.INFO: Date 2025-01-10
[2025-01-10 13:53:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:53:04] Production.INFO: Total Charge 0
[2025-01-10 13:53:04] Production.ERROR: done
[2025-01-10 13:53:04] Production.INFO: CreateAllLog End
[2025-01-10 13:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217351') end
[2025-01-10 13:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 13:53:04] Production.INFO: 1
[2025-01-10 13:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 13:53:04] Production.INFO: ==24533== Releasing lock...
[2025-01-10 13:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 13:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 13:53:04] Production.INFO: ==24541== Releasing lock...
[2025-01-10 13:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 13:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 13:53:04] Production.INFO: Account Balance End.
[2025-01-10 13:53:04] Production.ERROR: CronJobId end 12
[2025-01-10 13:53:04] Production.INFO: ==24537== Releasing lock...
[2025-01-10 13:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 13:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 13:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 10:53:05
[end_date_ymd] => 2025-01-10 13:53:05
[RateCDR] => 1
)
[2025-01-10 13:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 10:53:05' and `end` < '2025-01-10 13:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 13:53:11] Production.ERROR: CronJobId end10
[2025-01-10 13:53:11] Production.INFO: ==24535== Releasing lock...
[2025-01-10 13:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 13:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 13:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 13:53:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 13:53:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 13:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 13:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 13:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 13:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 13:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 13:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 13:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 13:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 13:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 13:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 13:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 13:53:14] Production.INFO: call_cost start
[2025-01-10 13:53:14] Production.INFO: call_cost end
[2025-01-10 13:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 13:53:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 13:53:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 13:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 13:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 13:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 13:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 13:53:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 13:53:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 13:53:14] Production.INFO: ==24531== Releasing lock...
[2025-01-10 13:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 13:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 13:53:27] Production.INFO: count ==4204
[2025-01-10 13:53:28] Production.ERROR: pbx CDR StartTime 2025-01-10 10:53:05 - End Time 2025-01-10 13:53:05
[2025-01-10 13:53:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 13:53:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217352', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:53:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217352', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:53:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217352', 'tblTempVendorCDR_20' ) start
[2025-01-10 13:53:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217352', 'tblTempVendorCDR_20' ) end
[2025-01-10 13:53:29] Production.INFO: ProcessCDR(1,14217352,1,1,2)
[2025-01-10 13:53:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217352,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:53:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217352,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:53:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217352,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:53:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217352,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:53:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217352', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:53:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217352', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:53:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:53:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:53:33] Production.INFO: ==24539== Releasing lock...
[2025-01-10 13:53:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 13:53:33] Production.INFO: 59.5 MB #Memory Used#
[2025-01-10 18:54:01] Production.INFO: ==24594== Lock acquired, processing the job...
[2025-01-10 18:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 18:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 18:54:01] Production.INFO: neon service started
[2025-01-10 18:54:01] Production.INFO: neon service started
[2025-01-10 18:54:01] Production.INFO: ==24594== Releasing lock...
[2025-01-10 18:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 18:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 18:54:02] Production.INFO: ==24598== Lock acquired, processing the job...
[2025-01-10 18:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 18:54:02] Production.INFO: ==24598== Releasing lock...
[2025-01-10 18:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 18:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 13:54:02] Production.INFO: ==24596== Lock acquired, processing the job...
[2025-01-10 13:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 13:54:02] Production.INFO: ==24596== Releasing lock...
[2025-01-10 13:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 13:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 13:54:03] Production.INFO: ==24603== Lock acquired, processing the job...
[2025-01-10 13:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 13:54:03] Production.INFO: ==24601== Lock acquired, processing the job...
[2025-01-10 13:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 13:54:03] Production.INFO: ==24605== Lock acquired, processing the job...
[2025-01-10 13:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 13:54:03] Production.INFO: ==24611== Lock acquired, processing the job...
[2025-01-10 13:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 13:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 13:54:03] Production.INFO: ==24607== Lock acquired, processing the job...
[2025-01-10 13:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 13:54:03] Production.INFO: ==24609== Lock acquired, processing the job...
[2025-01-10 13:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 13:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 13:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 13:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 13:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 13:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:54:03] Production.INFO: count ==21
[2025-01-10 13:54:03] Production.INFO: ==24603== Releasing lock...
[2025-01-10 13:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 13:54:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 13:54:03] Production.INFO: Account Balance Start.
[2025-01-10 13:54:03] Production.INFO: CreateAllLog Start
[2025-01-10 13:54:03] Production.INFO: 117
[2025-01-10 13:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:54:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:54:03] Production.INFO: Date 2025-01-08
[2025-01-10 13:54:03] Production.INFO: count ==21
[2025-01-10 13:54:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217355') start
[2025-01-10 13:54:03] Production.INFO: Date 2025-01-09
[2025-01-10 13:54:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217355') end
[2025-01-10 13:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 13:54:04] Production.INFO: 1
[2025-01-10 13:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 13:54:04] Production.INFO: Date 2025-01-10
[2025-01-10 13:54:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:54:04] Production.INFO: Total Charge 0
[2025-01-10 13:54:04] Production.INFO: CreateAllLog End
[2025-01-10 13:54:04] Production.INFO: ==24611== Releasing lock...
[2025-01-10 13:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 13:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 13:54:04] Production.ERROR: done
[2025-01-10 13:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 13:54:04] Production.ERROR: done
[2025-01-10 13:54:04] Production.INFO: Account Balance End.
[2025-01-10 13:54:04] Production.ERROR: CronJobId end 12
[2025-01-10 13:54:04] Production.INFO: ==24607== Releasing lock...
[2025-01-10 13:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 13:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 13:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 10:54:05
[end_date_ymd] => 2025-01-10 13:54:05
[RateCDR] => 1
)
[2025-01-10 13:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 10:54:05' and `end` < '2025-01-10 13:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 13:54:11] Production.ERROR: CronJobId end10
[2025-01-10 13:54:11] Production.INFO: ==24605== Releasing lock...
[2025-01-10 13:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 13:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 13:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 13:54:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 13:54:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 13:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 13:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 13:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 13:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 13:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 13:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 13:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 13:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 13:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 13:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 13:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 13:54:13] Production.INFO: call_cost start
[2025-01-10 13:54:13] Production.INFO: call_cost end
[2025-01-10 13:54:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 13:54:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 13:54:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 13:54:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 13:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 13:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 13:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 13:54:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 13:54:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 13:54:14] Production.INFO: ==24601== Releasing lock...
[2025-01-10 13:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 13:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 13:54:19] Production.INFO: count ==4214
[2025-01-10 13:54:21] Production.ERROR: pbx CDR StartTime 2025-01-10 10:54:05 - End Time 2025-01-10 13:54:05
[2025-01-10 13:54:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 13:54:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217357', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:54:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217357', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:54:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217357', 'tblTempVendorCDR_20' ) start
[2025-01-10 13:54:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217357', 'tblTempVendorCDR_20' ) end
[2025-01-10 13:54:21] Production.INFO: ProcessCDR(1,14217357,1,1,2)
[2025-01-10 13:54:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217357,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:54:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217357,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:54:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217357,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:54:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217357,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:54:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217357', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:54:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217357', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:54:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:54:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:54:25] Production.INFO: ==24609== Releasing lock...
[2025-01-10 13:54:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 13:54:25] Production.INFO: 59.5 MB #Memory Used#
[2025-01-10 18:55:02] Production.INFO: ==24664== Lock acquired, processing the job...
[2025-01-10 18:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 18:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 18:55:02] Production.INFO: neon service started
[2025-01-10 18:55:02] Production.INFO: neon service started
[2025-01-10 18:55:02] Production.INFO: ==24664== Releasing lock...
[2025-01-10 18:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 18:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 13:55:02] Production.INFO: ==24666== Lock acquired, processing the job...
[2025-01-10 13:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 18:55:02] Production.INFO: ==24668== Lock acquired, processing the job...
[2025-01-10 18:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 18:55:02] Production.INFO: ==24668== Releasing lock...
[2025-01-10 18:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 18:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 13:55:03] Production.INFO: ==24666== Releasing lock...
[2025-01-10 13:55:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 13:55:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 13:55:03] Production.INFO: ==24675== Lock acquired, processing the job...
[2025-01-10 13:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 13:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 13:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 13:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 13:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 13:55:03] Production.INFO: ==24671== Lock acquired, processing the job...
[2025-01-10 13:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 13:55:03] Production.INFO: ==24679== Lock acquired, processing the job...
[2025-01-10 13:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 13:55:03] Production.INFO: ==24673== Lock acquired, processing the job...
[2025-01-10 13:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 13:55:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 13:55:04] Production.INFO: ==24677== Lock acquired, processing the job...
[2025-01-10 13:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 13:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:55:04] Production.INFO: Account Balance Start.
[2025-01-10 13:55:04] Production.INFO: CreateAllLog Start
[2025-01-10 13:55:04] Production.INFO: 117
[2025-01-10 13:55:04] Production.INFO: Date 2025-01-08
[2025-01-10 13:55:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:55:04] Production.INFO: ==24681== Lock acquired, processing the job...
[2025-01-10 13:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 13:55:04] Production.INFO: ==24673== Releasing lock...
[2025-01-10 13:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 13:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 13:55:04] Production.INFO: Date 2025-01-09
[2025-01-10 13:55:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:55:04] Production.ERROR: done
[2025-01-10 13:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 13:55:04] Production.INFO: Date 2025-01-10
[2025-01-10 13:55:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:55:04] Production.INFO: Total Charge 0
[2025-01-10 13:55:04] Production.INFO: CreateAllLog End
[2025-01-10 13:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:55:04] Production.INFO: count ==21
[2025-01-10 13:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:55:04] Production.ERROR: done
[2025-01-10 13:55:04] Production.INFO: count ==21
[2025-01-10 13:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217361') start
[2025-01-10 13:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217361') end
[2025-01-10 13:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 13:55:04] Production.INFO: 1
[2025-01-10 13:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 13:55:04] Production.INFO: Account Balance End.
[2025-01-10 13:55:04] Production.ERROR: CronJobId end 12
[2025-01-10 13:55:04] Production.INFO: ==24681== Releasing lock...
[2025-01-10 13:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 13:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 13:55:04] Production.INFO: ==24677== Releasing lock...
[2025-01-10 13:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 13:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 13:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 10:55:05
[end_date_ymd] => 2025-01-10 13:55:05
[RateCDR] => 1
)
[2025-01-10 13:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 10:55:05' and `end` < '2025-01-10 13:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 13:55:11] Production.ERROR: CronJobId end10
[2025-01-10 13:55:11] Production.INFO: ==24675== Releasing lock...
[2025-01-10 13:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 13:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 13:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 13:55:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 13:55:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 13:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 13:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 13:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 13:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 13:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 13:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 13:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 13:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 13:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 13:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 13:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 13:55:13] Production.INFO: call_cost start
[2025-01-10 13:55:13] Production.INFO: call_cost end
[2025-01-10 13:55:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 13:55:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 13:55:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 13:55:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 13:55:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 13:55:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 13:55:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 13:55:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 13:55:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 13:55:14] Production.INFO: ==24671== Releasing lock...
[2025-01-10 13:55:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 13:55:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 13:55:24] Production.INFO: count ==4188
[2025-01-10 13:55:26] Production.ERROR: pbx CDR StartTime 2025-01-10 10:55:05 - End Time 2025-01-10 13:55:05
[2025-01-10 13:55:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 13:55:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217362', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:55:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217362', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:55:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217362', 'tblTempVendorCDR_20' ) start
[2025-01-10 13:55:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217362', 'tblTempVendorCDR_20' ) end
[2025-01-10 13:55:26] Production.INFO: ProcessCDR(1,14217362,1,1,2)
[2025-01-10 13:55:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217362,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:55:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217362,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:55:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217362,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:55:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217362,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:55:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217362', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:55:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217362', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:55:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:55:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:55:30] Production.INFO: ==24679== Releasing lock...
[2025-01-10 13:55:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 13:55:30] Production.INFO: 59.5 MB #Memory Used#
[2025-01-10 18:56:01] Production.INFO: ==24735== Lock acquired, processing the job...
[2025-01-10 18:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 18:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 18:56:01] Production.INFO: neon service started
[2025-01-10 18:56:01] Production.INFO: neon service started
[2025-01-10 18:56:01] Production.INFO: ==24735== Releasing lock...
[2025-01-10 18:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 18:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 18:56:01] Production.INFO: ==24739== Lock acquired, processing the job...
[2025-01-10 18:56:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 18:56:01] Production.INFO: ==24739== Releasing lock...
[2025-01-10 18:56:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 18:56:01] Production.INFO: 25 MB #Memory Used#
[2025-01-10 13:56:02] Production.INFO: ==24737== Lock acquired, processing the job...
[2025-01-10 13:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 13:56:02] Production.INFO: ==24737== Releasing lock...
[2025-01-10 13:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 13:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 13:56:03] Production.INFO: ==24741== Lock acquired, processing the job...
[2025-01-10 13:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 13:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 13:56:03] Production.INFO: ==24743== Lock acquired, processing the job...
[2025-01-10 13:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 13:56:03] Production.INFO: ==24750== Lock acquired, processing the job...
[2025-01-10 13:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 13:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:56:03] Production.INFO: ==24746== Lock acquired, processing the job...
[2025-01-10 13:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 13:56:03] Production.INFO: ==24748== Lock acquired, processing the job...
[2025-01-10 13:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 13:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 13:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 13:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 13:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 13:56:03] Production.INFO: ==24752== Lock acquired, processing the job...
[2025-01-10 13:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 13:56:03] Production.INFO: ==24743== Releasing lock...
[2025-01-10 13:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 13:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 13:56:03] Production.ERROR: done
[2025-01-10 13:56:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 13:56:03] Production.INFO: Account Balance Start.
[2025-01-10 13:56:03] Production.INFO: CreateAllLog Start
[2025-01-10 13:56:03] Production.INFO: 117
[2025-01-10 13:56:03] Production.INFO: Date 2025-01-08
[2025-01-10 13:56:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:56:04] Production.ERROR: done
[2025-01-10 13:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:56:04] Production.INFO: Date 2025-01-09
[2025-01-10 13:56:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:56:04] Production.INFO: count ==21
[2025-01-10 13:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:56:04] Production.INFO: Date 2025-01-10
[2025-01-10 13:56:04] Production.INFO: count ==21
[2025-01-10 13:56:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217366') start
[2025-01-10 13:56:04] Production.INFO: Total Charge 0
[2025-01-10 13:56:04] Production.INFO: CreateAllLog End
[2025-01-10 13:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217366') end
[2025-01-10 13:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 13:56:04] Production.INFO: 1
[2025-01-10 13:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 13:56:04] Production.INFO: Account Balance End.
[2025-01-10 13:56:04] Production.INFO: ==24752== Releasing lock...
[2025-01-10 13:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 13:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 13:56:04] Production.ERROR: CronJobId end 12
[2025-01-10 13:56:04] Production.INFO: ==24748== Releasing lock...
[2025-01-10 13:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 13:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 13:56:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 10:56:04
[end_date_ymd] => 2025-01-10 13:56:04
[RateCDR] => 1
)
[2025-01-10 13:56:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 10:56:04' and `end` < '2025-01-10 13:56:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 13:56:12] Production.ERROR: CronJobId end10
[2025-01-10 13:56:12] Production.INFO: ==24746== Releasing lock...
[2025-01-10 13:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 13:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 13:56:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 13:56:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 13:56:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 13:56:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 13:56:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 13:56:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 13:56:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 13:56:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 13:56:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 13:56:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 13:56:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 13:56:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 13:56:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 13:56:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 13:56:13] Production.INFO: call_cost start
[2025-01-10 13:56:13] Production.INFO: call_cost end
[2025-01-10 13:56:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 13:56:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 13:56:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 13:56:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 13:56:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 13:56:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 13:56:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 13:56:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 13:56:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 13:56:13] Production.INFO: ==24741== Releasing lock...
[2025-01-10 13:56:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 13:56:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 13:56:18] Production.INFO: count ==4171
[2025-01-10 13:56:20] Production.ERROR: pbx CDR StartTime 2025-01-10 10:56:04 - End Time 2025-01-10 13:56:04
[2025-01-10 13:56:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 13:56:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217367', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:56:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217367', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:56:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217367', 'tblTempVendorCDR_20' ) start
[2025-01-10 13:56:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217367', 'tblTempVendorCDR_20' ) end
[2025-01-10 13:56:20] Production.INFO: ProcessCDR(1,14217367,1,1,2)
[2025-01-10 13:56:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217367,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:56:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217367,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:56:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217367,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:56:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217367,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:56:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217367', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:56:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217367', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:56:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:56:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:56:23] Production.INFO: ==24750== Releasing lock...
[2025-01-10 13:56:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 13:56:23] Production.INFO: 59.25 MB #Memory Used#
[2025-01-10 18:57:01] Production.INFO: ==24808== Lock acquired, processing the job...
[2025-01-10 18:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 18:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 18:57:02] Production.INFO: neon service started
[2025-01-10 18:57:02] Production.INFO: neon service started
[2025-01-10 18:57:02] Production.INFO: ==24808== Releasing lock...
[2025-01-10 18:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 18:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 18:57:02] Production.INFO: ==24812== Lock acquired, processing the job...
[2025-01-10 18:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 18:57:02] Production.INFO: ==24812== Releasing lock...
[2025-01-10 18:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 18:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 13:57:02] Production.INFO: ==24810== Lock acquired, processing the job...
[2025-01-10 13:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 13:57:02] Production.INFO: ==24810== Releasing lock...
[2025-01-10 13:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 13:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 13:57:03] Production.INFO: ==24816== Lock acquired, processing the job...
[2025-01-10 13:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 13:57:03] Production.INFO: ==24822== Lock acquired, processing the job...
[2025-01-10 13:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 13:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:57:03] Production.INFO: ==24814== Lock acquired, processing the job...
[2025-01-10 13:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 13:57:03] Production.INFO: ==24816== Releasing lock...
[2025-01-10 13:57:03] Production.INFO: ==24820== Lock acquired, processing the job...
[2025-01-10 13:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 13:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 13:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 13:57:03] Production.INFO: ==24818== Lock acquired, processing the job...
[2025-01-10 13:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 13:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 13:57:04] Production.INFO: ==24825== Lock acquired, processing the job...
[2025-01-10 13:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 13:57:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 13:57:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 13:57:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 13:57:04] Production.ERROR: done
[2025-01-10 13:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 13:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 13:57:04] Production.INFO: Account Balance Start.
[2025-01-10 13:57:04] Production.ERROR: done
[2025-01-10 13:57:04] Production.INFO: CreateAllLog Start
[2025-01-10 13:57:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:57:04] Production.INFO: 117
[2025-01-10 13:57:04] Production.INFO: Date 2025-01-08
[2025-01-10 13:57:04] Production.INFO: count ==21
[2025-01-10 13:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:57:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:57:04] Production.INFO: count ==21
[2025-01-10 13:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217371') start
[2025-01-10 13:57:04] Production.INFO: Date 2025-01-09
[2025-01-10 13:57:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:57:04] Production.INFO: Date 2025-01-10
[2025-01-10 13:57:04] Production.INFO: Reseller ==> 0
[2025-01-10 13:57:04] Production.INFO: Total Charge 0
[2025-01-10 13:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217371') end
[2025-01-10 13:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 13:57:04] Production.INFO: 1
[2025-01-10 13:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 13:57:04] Production.INFO: CreateAllLog End
[2025-01-10 13:57:04] Production.INFO: ==24825== Releasing lock...
[2025-01-10 13:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 13:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 13:57:04] Production.INFO: Account Balance End.
[2025-01-10 13:57:04] Production.ERROR: CronJobId end 12
[2025-01-10 13:57:04] Production.INFO: ==24820== Releasing lock...
[2025-01-10 13:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 13:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 13:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 10:57:05
[end_date_ymd] => 2025-01-10 13:57:05
[RateCDR] => 1
)
[2025-01-10 13:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 10:57:05' and `end` < '2025-01-10 13:57:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 13:57:11] Production.ERROR: CronJobId end10
[2025-01-10 13:57:11] Production.INFO: ==24818== Releasing lock...
[2025-01-10 13:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 13:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 13:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 13:57:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 13:57:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 13:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 13:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 13:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 13:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 13:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 13:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 13:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 13:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 13:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 13:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 13:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 13:57:13] Production.INFO: call_cost start
[2025-01-10 13:57:13] Production.INFO: call_cost end
[2025-01-10 13:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 13:57:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 13:57:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 13:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 13:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 13:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 13:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 13:57:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 13:57:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 13:57:14] Production.INFO: ==24814== Releasing lock...
[2025-01-10 13:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 13:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 13:57:19] Production.INFO: count ==4153
[2025-01-10 13:57:21] Production.ERROR: pbx CDR StartTime 2025-01-10 10:57:05 - End Time 2025-01-10 13:57:05
[2025-01-10 13:57:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 13:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217372', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217372', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217372', 'tblTempVendorCDR_20' ) start
[2025-01-10 13:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217372', 'tblTempVendorCDR_20' ) end
[2025-01-10 13:57:21] Production.INFO: ProcessCDR(1,14217372,1,1,2)
[2025-01-10 13:57:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217372,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:57:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217372,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:57:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217372,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:57:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217372,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:57:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217372', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:57:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217372', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:57:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:57:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:57:25] Production.INFO: ==24822== Releasing lock...
[2025-01-10 13:57:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 13:57:25] Production.INFO: 59 MB #Memory Used#
[2025-01-10 18:58:01] Production.INFO: ==24879== Lock acquired, processing the job...
[2025-01-10 18:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 18:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 18:58:01] Production.INFO: neon service started
[2025-01-10 18:58:01] Production.INFO: neon service started
[2025-01-10 18:58:01] Production.INFO: ==24879== Releasing lock...
[2025-01-10 18:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 18:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 18:58:02] Production.INFO: ==24883== Lock acquired, processing the job...
[2025-01-10 18:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 13:58:02] Production.INFO: ==24881== Lock acquired, processing the job...
[2025-01-10 13:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 18:58:02] Production.INFO: ==24883== Releasing lock...
[2025-01-10 18:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 18:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 13:58:02] Production.INFO: ==24881== Releasing lock...
[2025-01-10 13:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 13:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 13:58:03] Production.INFO: ==24886== Lock acquired, processing the job...
[2025-01-10 13:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 13:58:03] Production.INFO: ==24888== Lock acquired, processing the job...
[2025-01-10 13:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 13:58:03] Production.INFO: ==24894== Lock acquired, processing the job...
[2025-01-10 13:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 13:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 13:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:58:03] Production.INFO: ==24890== Lock acquired, processing the job...
[2025-01-10 13:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 13:58:03] Production.INFO: ==24888== Releasing lock...
[2025-01-10 13:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 13:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 13:58:03] Production.INFO: ==24892== Lock acquired, processing the job...
[2025-01-10 13:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 13:58:03] Production.ERROR: done
[2025-01-10 13:58:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 13:58:03] Production.INFO: ==24896== Lock acquired, processing the job...
[2025-01-10 13:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 13:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 13:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 13:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 13:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 13:58:03] Production.ERROR: done
[2025-01-10 13:58:03] Production.INFO: Account Balance Start.
[2025-01-10 13:58:03] Production.INFO: CreateAllLog Start
[2025-01-10 13:58:03] Production.INFO: 117
[2025-01-10 13:58:03] Production.INFO: Date 2025-01-08
[2025-01-10 13:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:58:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:58:03] Production.INFO: count ==21
[2025-01-10 13:58:03] Production.INFO: Date 2025-01-09
[2025-01-10 13:58:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:58:03] Production.INFO: Date 2025-01-10
[2025-01-10 13:58:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:58:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:58:03] Production.INFO: count ==21
[2025-01-10 13:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217377') start
[2025-01-10 13:58:03] Production.INFO: Total Charge 0
[2025-01-10 13:58:03] Production.INFO: CreateAllLog End
[2025-01-10 13:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217377') end
[2025-01-10 13:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 13:58:04] Production.INFO: 1
[2025-01-10 13:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 13:58:04] Production.INFO: Account Balance End.
[2025-01-10 13:58:04] Production.INFO: ==24896== Releasing lock...
[2025-01-10 13:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 13:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 13:58:04] Production.ERROR: CronJobId end 12
[2025-01-10 13:58:04] Production.INFO: ==24892== Releasing lock...
[2025-01-10 13:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 13:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 13:58:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 10:58:04
[end_date_ymd] => 2025-01-10 13:58:04
[RateCDR] => 1
)
[2025-01-10 13:58:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 10:58:04' and `end` < '2025-01-10 13:58:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 13:58:11] Production.ERROR: CronJobId end10
[2025-01-10 13:58:11] Production.INFO: ==24890== Releasing lock...
[2025-01-10 13:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 13:58:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 13:58:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 13:58:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 13:58:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 13:58:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 13:58:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 13:58:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 13:58:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 13:58:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 13:58:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 13:58:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 13:58:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 13:58:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 13:58:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 13:58:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 13:58:12] Production.INFO: call_cost start
[2025-01-10 13:58:12] Production.INFO: call_cost end
[2025-01-10 13:58:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 13:58:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 13:58:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 13:58:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 13:58:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 13:58:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 13:58:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 13:58:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 13:58:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 13:58:13] Production.INFO: ==24886== Releasing lock...
[2025-01-10 13:58:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 13:58:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 13:58:18] Production.INFO: count ==4150
[2025-01-10 13:58:20] Production.ERROR: pbx CDR StartTime 2025-01-10 10:58:04 - End Time 2025-01-10 13:58:04
[2025-01-10 13:58:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 13:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217376', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217376', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217376', 'tblTempVendorCDR_20' ) start
[2025-01-10 13:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217376', 'tblTempVendorCDR_20' ) end
[2025-01-10 13:58:20] Production.INFO: ProcessCDR(1,14217376,1,1,2)
[2025-01-10 13:58:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217376,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:58:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217376,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:58:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217376,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:58:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217376,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:58:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217376', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:58:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217376', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:58:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:58:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:58:25] Production.INFO: ==24894== Releasing lock...
[2025-01-10 13:58:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 13:58:25] Production.INFO: 59.25 MB #Memory Used#
[2025-01-10 18:59:01] Production.INFO: ==24951== Lock acquired, processing the job...
[2025-01-10 18:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 18:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 18:59:01] Production.INFO: neon service started
[2025-01-10 18:59:01] Production.INFO: neon service started
[2025-01-10 18:59:01] Production.INFO: ==24951== Releasing lock...
[2025-01-10 18:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 18:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 18:59:02] Production.INFO: ==24955== Lock acquired, processing the job...
[2025-01-10 18:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 18:59:02] Production.INFO: ==24955== Releasing lock...
[2025-01-10 18:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 18:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 13:59:02] Production.INFO: ==24953== Lock acquired, processing the job...
[2025-01-10 13:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 13:59:02] Production.INFO: ==24953== Releasing lock...
[2025-01-10 13:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 13:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 13:59:03] Production.INFO: ==24961== Lock acquired, processing the job...
[2025-01-10 13:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 13:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 13:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 13:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 13:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 13:59:03] Production.INFO: ==24957== Lock acquired, processing the job...
[2025-01-10 13:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 13:59:03] Production.INFO: ==24968== Lock acquired, processing the job...
[2025-01-10 13:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 13:59:03] Production.INFO: ==24959== Lock acquired, processing the job...
[2025-01-10 13:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 13:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 13:59:03] Production.INFO: ==24964== Lock acquired, processing the job...
[2025-01-10 13:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 13:59:03] Production.INFO: ==24966== Lock acquired, processing the job...
[2025-01-10 13:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 13:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:59:03] Production.INFO: Account Balance Start.
[2025-01-10 13:59:03] Production.INFO: CreateAllLog Start
[2025-01-10 13:59:03] Production.INFO: 117
[2025-01-10 13:59:03] Production.INFO: Date 2025-01-08
[2025-01-10 13:59:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 13:59:03] Production.INFO: count ==21
[2025-01-10 13:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 13:59:03] Production.INFO: count ==21
[2025-01-10 13:59:03] Production.INFO: Date 2025-01-09
[2025-01-10 13:59:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217379') start
[2025-01-10 13:59:03] Production.INFO: Date 2025-01-10
[2025-01-10 13:59:03] Production.INFO: Reseller ==> 0
[2025-01-10 13:59:04] Production.INFO: Total Charge 0
[2025-01-10 13:59:04] Production.INFO: CreateAllLog End
[2025-01-10 13:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217379') end
[2025-01-10 13:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 13:59:04] Production.INFO: 1
[2025-01-10 13:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 13:59:04] Production.INFO: ==24968== Releasing lock...
[2025-01-10 13:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 13:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 13:59:04] Production.INFO: ==24959== Releasing lock...
[2025-01-10 13:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 13:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 13:59:04] Production.ERROR: done
[2025-01-10 13:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 13:59:04] Production.INFO: Account Balance End.
[2025-01-10 13:59:04] Production.ERROR: CronJobId end 12
[2025-01-10 13:59:04] Production.INFO: ==24964== Releasing lock...
[2025-01-10 13:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 13:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 13:59:04] Production.ERROR: done
[2025-01-10 13:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 10:59:05
[end_date_ymd] => 2025-01-10 13:59:05
[RateCDR] => 1
)
[2025-01-10 13:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 10:59:05' and `end` < '2025-01-10 13:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 13:59:11] Production.ERROR: CronJobId end10
[2025-01-10 13:59:11] Production.INFO: ==24961== Releasing lock...
[2025-01-10 13:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 13:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 13:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 13:59:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 13:59:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 13:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 13:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 13:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 13:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 13:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 13:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 13:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 13:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 13:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 13:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 13:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 13:59:13] Production.INFO: call_cost start
[2025-01-10 13:59:13] Production.INFO: call_cost end
[2025-01-10 13:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 13:59:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 13:59:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 13:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 13:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 13:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 13:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 13:59:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 13:59:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 13:59:14] Production.INFO: ==24957== Releasing lock...
[2025-01-10 13:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 13:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 13:59:21] Production.INFO: count ==4132
[2025-01-10 13:59:23] Production.ERROR: pbx CDR StartTime 2025-01-10 10:59:05 - End Time 2025-01-10 13:59:05
[2025-01-10 13:59:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 13:59:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217382', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:59:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217382', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:59:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217382', 'tblTempVendorCDR_20' ) start
[2025-01-10 13:59:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217382', 'tblTempVendorCDR_20' ) end
[2025-01-10 13:59:23] Production.INFO: ProcessCDR(1,14217382,1,1,2)
[2025-01-10 13:59:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217382,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:59:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217382,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 13:59:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217382,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:59:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217382,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 13:59:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217382', 'tblTempUsageDetail_20' ) start
[2025-01-10 13:59:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217382', 'tblTempUsageDetail_20' ) end
[2025-01-10 13:59:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 13:59:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 13:59:28] Production.INFO: ==24966== Releasing lock...
[2025-01-10 13:59:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 13:59:28] Production.INFO: 59 MB #Memory Used#
[2025-01-10 19:00:02] Production.INFO: ==25028== Lock acquired, processing the job...
[2025-01-10 19:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 19:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 19:00:02] Production.INFO: neon service started
[2025-01-10 19:00:02] Production.INFO: neon service started
[2025-01-10 19:00:02] Production.INFO: ==25028== Releasing lock...
[2025-01-10 19:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 19:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:00:02] Production.INFO: ==25031== Lock acquired, processing the job...
[2025-01-10 14:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 14:00:03] Production.INFO: ==25031== Releasing lock...
[2025-01-10 14:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 14:00:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 19:00:03] Production.INFO: ==25033== Lock acquired, processing the job...
[2025-01-10 19:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 19:00:03] Production.INFO: ==25033== Releasing lock...
[2025-01-10 19:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 19:00:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 14:00:03] Production.INFO: ==25035== Lock acquired, processing the job...
[2025-01-10 14:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 14:00:04] Production.INFO: ==25039== Lock acquired, processing the job...
[2025-01-10 14:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 14:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 14:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 14:00:04] Production.INFO: ==25035== Releasing lock...
[2025-01-10 14:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 14:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 14:00:04] Production.INFO: ==25041== Lock acquired, processing the job...
[2025-01-10 14:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 14:00:04] Production.INFO: ==25043== Lock acquired, processing the job...
[2025-01-10 14:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 14:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 14:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 14:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 14:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 14:00:04] Production.INFO: Account Balance Start.
[2025-01-10 14:00:04] Production.INFO: CreateAllLog Start
[2025-01-10 14:00:04] Production.INFO: 117
[2025-01-10 14:00:04] Production.INFO: Date 2025-01-08
[2025-01-10 14:00:04] Production.INFO: ==25037== Lock acquired, processing the job...
[2025-01-10 14:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 14:00:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:00:04] Production.INFO: Date 2025-01-09
[2025-01-10 14:00:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:00:04] Production.INFO: ==25039== Releasing lock...
[2025-01-10 14:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 14:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 14:00:04] Production.INFO: Date 2025-01-10
[2025-01-10 14:00:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:00:04] Production.INFO: Total Charge 0
[2025-01-10 14:00:04] Production.INFO: CreateAllLog End
[2025-01-10 14:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 14:00:04] Production.INFO: ==25045== Lock acquired, processing the job...
[2025-01-10 14:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 14:00:04] Production.INFO: Account Balance End.
[2025-01-10 14:00:04] Production.INFO: ==25047== Lock acquired, processing the job...
[2025-01-10 14:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 14:00:04] Production.ERROR: CronJobId end 12
[2025-01-10 14:00:04] Production.INFO: ==25043== Releasing lock...
[2025-01-10 14:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 14:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 14:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:00:04] Production.INFO: ==25049== Lock acquired, processing the job...
[2025-01-10 14:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 14:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:00:04] Production.ERROR: done
[2025-01-10 14:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 14:00:04] Production.INFO: count ==21
[2025-01-10 14:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:00:04] Production.INFO: count ==21
[2025-01-10 14:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217386') start
[2025-01-10 14:00:05] Production.ERROR: done
[2025-01-10 14:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14217386') end
[2025-01-10 14:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 14:00:05] Production.INFO: 1
[2025-01-10 14:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 14:00:05] Production.ERROR: done
[2025-01-10 14:00:05] Production.INFO: ==25049== Releasing lock...
[2025-01-10 14:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 14:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 14:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 14:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14217387', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 14:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 11:00:06
[end_date_ymd] => 2025-01-10 14:00:06
[RateCDR] => 1
)
[2025-01-10 14:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 11:00:06' and `end` < '2025-01-10 14:00:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 14:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14217387', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 14:00:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 14:00:08] Production.INFO: ProcessCDR(1,14217387,1,1,2)
[2025-01-10 14:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14217387,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14217387,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:00:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:00:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:00:08] Production.INFO: ==25047== Releasing lock...
[2025-01-10 14:00:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 14:00:08] Production.INFO: 26 MB #Memory Used#
[2025-01-10 14:00:12] Production.ERROR: CronJobId end10
[2025-01-10 14:00:12] Production.INFO: ==25041== Releasing lock...
[2025-01-10 14:00:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 14:00:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 14:00:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 14:00:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 14:00:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 14:00:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 14:00:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 14:00:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 14:00:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 14:00:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 14:00:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 14:00:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 14:00:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 14:00:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 14:00:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 14:00:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 14:00:15] Production.INFO: call_cost start
[2025-01-10 14:00:15] Production.INFO: call_cost end
[2025-01-10 14:00:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 14:00:16] Production.INFO: ============== Report Schedule START===========
[2025-01-10 14:00:16] Production.INFO: ============== Report Schedule END===========
[2025-01-10 14:00:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 14:00:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 14:00:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 14:00:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 14:00:16] Production.INFO: ============== Deal alert START===========
[2025-01-10 14:00:16] Production.INFO: ============== Deal alert END===========
[2025-01-10 14:00:16] Production.INFO: ==25037== Releasing lock...
[2025-01-10 14:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 14:00:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 14:00:31] Production.INFO: count ==4127
[2025-01-10 14:00:32] Production.ERROR: pbx CDR StartTime 2025-01-10 11:00:06 - End Time 2025-01-10 14:00:06
[2025-01-10 14:00:32] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 14:00:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217388', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:00:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217388', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:00:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217388', 'tblTempVendorCDR_20' ) start
[2025-01-10 14:00:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217388', 'tblTempVendorCDR_20' ) end
[2025-01-10 14:00:32] Production.INFO: ProcessCDR(1,14217388,1,1,2)
[2025-01-10 14:00:32] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217388,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:00:35] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217388,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:00:35] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217388,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:00:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217388,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:00:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217388', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:00:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217388', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:00:37] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:00:37] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:00:37] Production.INFO: ==25045== Releasing lock...
[2025-01-10 14:00:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 14:00:37] Production.INFO: 59 MB #Memory Used#
[2025-01-10 19:01:01] Production.INFO: ==25105== Lock acquired, processing the job...
[2025-01-10 19:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 19:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 19:01:01] Production.INFO: neon service started
[2025-01-10 19:01:01] Production.INFO: neon service started
[2025-01-10 19:01:01] Production.INFO: ==25105== Releasing lock...
[2025-01-10 19:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 19:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:01:02] Production.INFO: ==25117== Lock acquired, processing the job...
[2025-01-10 14:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 19:01:02] Production.INFO: ==25119== Lock acquired, processing the job...
[2025-01-10 19:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 19:01:02] Production.INFO: ==25119== Releasing lock...
[2025-01-10 19:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 19:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 14:01:02] Production.INFO: ==25117== Releasing lock...
[2025-01-10 14:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 14:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 14:01:03] Production.INFO: ==25128== Lock acquired, processing the job...
[2025-01-10 14:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 14:01:03] Production.INFO: ==25122== Lock acquired, processing the job...
[2025-01-10 14:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 14:01:03] Production.INFO: ==25132== Lock acquired, processing the job...
[2025-01-10 14:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 14:01:03] Production.INFO: Account Balance Start.
[2025-01-10 14:01:03] Production.INFO: CreateAllLog Start
[2025-01-10 14:01:03] Production.INFO: 117
[2025-01-10 14:01:03] Production.INFO: Date 2025-01-08
[2025-01-10 14:01:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:01:03] Production.INFO: Date 2025-01-09
[2025-01-10 14:01:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:01:03] Production.INFO: ==25124== Lock acquired, processing the job...
[2025-01-10 14:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 14:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 14:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:01:03] Production.INFO: Date 2025-01-10
[2025-01-10 14:01:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:01:03] Production.INFO: count ==21
[2025-01-10 14:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:01:03] Production.INFO: count ==21
[2025-01-10 14:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217390') start
[2025-01-10 14:01:03] Production.INFO: ==25126== Lock acquired, processing the job...
[2025-01-10 14:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 14:01:03] Production.INFO: Total Charge 0
[2025-01-10 14:01:03] Production.INFO: CreateAllLog End
[2025-01-10 14:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 14:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 14:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 14:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 14:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217390') end
[2025-01-10 14:01:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 14:01:03] Production.INFO: 1
[2025-01-10 14:01:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 14:01:03] Production.INFO: ==25130== Lock acquired, processing the job...
[2025-01-10 14:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 14:01:03] Production.INFO: ==25132== Releasing lock...
[2025-01-10 14:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 14:01:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 14:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:01:04] Production.INFO: Account Balance End.
[2025-01-10 14:01:04] Production.ERROR: CronJobId end 12
[2025-01-10 14:01:04] Production.INFO: ==25128== Releasing lock...
[2025-01-10 14:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 14:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 14:01:04] Production.INFO: ==25124== Releasing lock...
[2025-01-10 14:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 14:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 14:01:04] Production.ERROR: done
[2025-01-10 14:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 14:01:04] Production.ERROR: done
[2025-01-10 14:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 11:01:05
[end_date_ymd] => 2025-01-10 14:01:05
[RateCDR] => 1
)
[2025-01-10 14:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 11:01:05' and `end` < '2025-01-10 14:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 14:01:11] Production.ERROR: CronJobId end10
[2025-01-10 14:01:11] Production.INFO: ==25126== Releasing lock...
[2025-01-10 14:01:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 14:01:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 14:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 14:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 14:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 14:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 14:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 14:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 14:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 14:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 14:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 14:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 14:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 14:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 14:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 14:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 14:01:13] Production.INFO: call_cost start
[2025-01-10 14:01:13] Production.INFO: call_cost end
[2025-01-10 14:01:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 14:01:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 14:01:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 14:01:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 14:01:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 14:01:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 14:01:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 14:01:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 14:01:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 14:01:14] Production.INFO: ==25122== Releasing lock...
[2025-01-10 14:01:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 14:01:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 14:01:21] Production.INFO: count ==4177
[2025-01-10 14:01:22] Production.ERROR: pbx CDR StartTime 2025-01-10 11:01:05 - End Time 2025-01-10 14:01:05
[2025-01-10 14:01:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 14:01:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217393', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:01:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217393', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:01:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217393', 'tblTempVendorCDR_20' ) start
[2025-01-10 14:01:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217393', 'tblTempVendorCDR_20' ) end
[2025-01-10 14:01:23] Production.INFO: ProcessCDR(1,14217393,1,1,2)
[2025-01-10 14:01:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217393,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:01:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217393,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:01:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217393,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:01:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217393,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:01:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217393', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:01:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217393', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:01:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:01:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:01:27] Production.INFO: ==25130== Releasing lock...
[2025-01-10 14:01:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 14:01:27] Production.INFO: 59.25 MB #Memory Used#
[2025-01-10 19:02:02] Production.INFO: ==25185== Lock acquired, processing the job...
[2025-01-10 19:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 19:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 19:02:02] Production.INFO: neon service started
[2025-01-10 19:02:02] Production.INFO: neon service started
[2025-01-10 19:02:02] Production.INFO: ==25185== Releasing lock...
[2025-01-10 19:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 19:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 19:02:02] Production.INFO: ==25189== Lock acquired, processing the job...
[2025-01-10 19:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 19:02:02] Production.INFO: ==25189== Releasing lock...
[2025-01-10 19:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 19:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 14:02:02] Production.INFO: ==25187== Lock acquired, processing the job...
[2025-01-10 14:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 14:02:03] Production.INFO: ==25187== Releasing lock...
[2025-01-10 14:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 14:02:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 14:02:03] Production.INFO: ==25197== Lock acquired, processing the job...
[2025-01-10 14:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 14:02:03] Production.INFO: ==25201== Lock acquired, processing the job...
[2025-01-10 14:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 14:02:03] Production.INFO: ==25191== Lock acquired, processing the job...
[2025-01-10 14:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 14:02:04] Production.INFO: ==25193== Lock acquired, processing the job...
[2025-01-10 14:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 14:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:02:04] Production.INFO: Account Balance Start.
[2025-01-10 14:02:04] Production.INFO: CreateAllLog Start
[2025-01-10 14:02:04] Production.INFO: 117
[2025-01-10 14:02:04] Production.INFO: ==25195== Lock acquired, processing the job...
[2025-01-10 14:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 14:02:04] Production.INFO: count ==21
[2025-01-10 14:02:04] Production.INFO: Date 2025-01-08
[2025-01-10 14:02:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 14:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:02:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:02:04] Production.INFO: ==25199== Lock acquired, processing the job...
[2025-01-10 14:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 14:02:04] Production.INFO: count ==21
[2025-01-10 14:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217395') start
[2025-01-10 14:02:04] Production.INFO: Date 2025-01-09
[2025-01-10 14:02:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 14:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 14:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 14:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 14:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:02:04] Production.INFO: Date 2025-01-10
[2025-01-10 14:02:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:02:04] Production.INFO: Total Charge 0
[2025-01-10 14:02:04] Production.INFO: CreateAllLog End
[2025-01-10 14:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217395') end
[2025-01-10 14:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 14:02:04] Production.INFO: 1
[2025-01-10 14:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 14:02:04] Production.INFO: ==25193== Releasing lock...
[2025-01-10 14:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 14:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 14:02:04] Production.INFO: ==25201== Releasing lock...
[2025-01-10 14:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 14:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 14:02:04] Production.ERROR: done
[2025-01-10 14:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 14:02:04] Production.INFO: Account Balance End.
[2025-01-10 14:02:04] Production.ERROR: CronJobId end 12
[2025-01-10 14:02:04] Production.INFO: ==25197== Releasing lock...
[2025-01-10 14:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 14:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 14:02:04] Production.ERROR: done
[2025-01-10 14:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 11:02:05
[end_date_ymd] => 2025-01-10 14:02:05
[RateCDR] => 1
)
[2025-01-10 14:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 11:02:05' and `end` < '2025-01-10 14:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 14:02:11] Production.ERROR: CronJobId end10
[2025-01-10 14:02:11] Production.INFO: ==25195== Releasing lock...
[2025-01-10 14:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 14:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 14:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 14:02:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 14:02:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 14:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 14:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 14:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 14:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 14:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 14:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 14:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 14:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 14:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 14:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 14:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 14:02:13] Production.INFO: call_cost start
[2025-01-10 14:02:13] Production.INFO: call_cost end
[2025-01-10 14:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 14:02:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 14:02:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 14:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 14:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 14:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 14:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 14:02:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 14:02:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 14:02:14] Production.INFO: ==25191== Releasing lock...
[2025-01-10 14:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 14:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 14:02:37] Production.INFO: count ==4199
[2025-01-10 14:02:39] Production.ERROR: pbx CDR StartTime 2025-01-10 11:02:05 - End Time 2025-01-10 14:02:05
[2025-01-10 14:02:39] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 14:02:39] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217398', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:02:39] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217398', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:02:39] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217398', 'tblTempVendorCDR_20' ) start
[2025-01-10 14:02:39] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217398', 'tblTempVendorCDR_20' ) end
[2025-01-10 14:02:39] Production.INFO: ProcessCDR(1,14217398,1,1,2)
[2025-01-10 14:02:39] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217398,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:02:42] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217398,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:02:42] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217398,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:02:44] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217398,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:02:44] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217398', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:02:44] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217398', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:02:44] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:02:44] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:02:44] Production.INFO: ==25199== Releasing lock...
[2025-01-10 14:02:44] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 14:02:44] Production.INFO: 59.5 MB #Memory Used#
[2025-01-10 19:03:01] Production.INFO: ==25255== Lock acquired, processing the job...
[2025-01-10 19:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 19:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 19:03:01] Production.INFO: neon service started
[2025-01-10 19:03:01] Production.INFO: neon service started
[2025-01-10 19:03:01] Production.INFO: ==25255== Releasing lock...
[2025-01-10 19:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 19:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:03:02] Production.INFO: ==25257== Lock acquired, processing the job...
[2025-01-10 14:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 19:03:02] Production.INFO: ==25259== Lock acquired, processing the job...
[2025-01-10 19:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 19:03:02] Production.INFO: ==25259== Releasing lock...
[2025-01-10 19:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 19:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 14:03:02] Production.INFO: ==25257== Releasing lock...
[2025-01-10 14:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 14:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 14:03:03] Production.INFO: ==25262== Lock acquired, processing the job...
[2025-01-10 14:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 14:03:03] Production.INFO: ==25266== Lock acquired, processing the job...
[2025-01-10 14:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 14:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 14:03:03] Production.INFO: ==25270== Lock acquired, processing the job...
[2025-01-10 14:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 14:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 14:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 14:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 14:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 14:03:03] Production.INFO: ==25264== Lock acquired, processing the job...
[2025-01-10 14:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 14:03:03] Production.INFO: ==25268== Lock acquired, processing the job...
[2025-01-10 14:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 14:03:03] Production.INFO: Account Balance Start.
[2025-01-10 14:03:03] Production.INFO: CreateAllLog Start
[2025-01-10 14:03:03] Production.INFO: 117
[2025-01-10 14:03:03] Production.INFO: ==25272== Lock acquired, processing the job...
[2025-01-10 14:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 14:03:03] Production.INFO: Date 2025-01-08
[2025-01-10 14:03:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:03:03] Production.ERROR: done
[2025-01-10 14:03:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 14:03:03] Production.INFO: Date 2025-01-09
[2025-01-10 14:03:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:03:03] Production.INFO: Date 2025-01-10
[2025-01-10 14:03:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:03:03] Production.INFO: Total Charge 0
[2025-01-10 14:03:03] Production.INFO: CreateAllLog End
[2025-01-10 14:03:03] Production.ERROR: done
[2025-01-10 14:03:03] Production.INFO: ==25264== Releasing lock...
[2025-01-10 14:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 14:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 14:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:03:04] Production.INFO: Account Balance End.
[2025-01-10 14:03:04] Production.INFO: count ==21
[2025-01-10 14:03:04] Production.ERROR: CronJobId end 12
[2025-01-10 14:03:04] Production.INFO: ==25268== Releasing lock...
[2025-01-10 14:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 14:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 14:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:03:04] Production.INFO: count ==21
[2025-01-10 14:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217402') start
[2025-01-10 14:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217402') end
[2025-01-10 14:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 14:03:04] Production.INFO: 1
[2025-01-10 14:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 14:03:04] Production.INFO: ==25272== Releasing lock...
[2025-01-10 14:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 14:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 14:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 11:03:05
[end_date_ymd] => 2025-01-10 14:03:05
[RateCDR] => 1
)
[2025-01-10 14:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 11:03:05' and `end` < '2025-01-10 14:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 14:03:11] Production.ERROR: CronJobId end10
[2025-01-10 14:03:11] Production.INFO: ==25266== Releasing lock...
[2025-01-10 14:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 14:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 14:03:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 14:03:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 14:03:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 14:03:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 14:03:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 14:03:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 14:03:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 14:03:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 14:03:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 14:03:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 14:03:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 14:03:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 14:03:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 14:03:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 14:03:13] Production.INFO: call_cost start
[2025-01-10 14:03:13] Production.INFO: call_cost end
[2025-01-10 14:03:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 14:03:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 14:03:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 14:03:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 14:03:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 14:03:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 14:03:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 14:03:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 14:03:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 14:03:13] Production.INFO: ==25262== Releasing lock...
[2025-01-10 14:03:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 14:03:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 14:03:33] Production.INFO: count ==4200
[2025-01-10 14:03:35] Production.ERROR: pbx CDR StartTime 2025-01-10 11:03:05 - End Time 2025-01-10 14:03:05
[2025-01-10 14:03:35] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 14:03:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217403', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:03:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217403', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:03:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217403', 'tblTempVendorCDR_20' ) start
[2025-01-10 14:03:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217403', 'tblTempVendorCDR_20' ) end
[2025-01-10 14:03:35] Production.INFO: ProcessCDR(1,14217403,1,1,2)
[2025-01-10 14:03:35] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217403,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:03:37] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217403,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:03:37] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217403,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:03:39] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217403,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:03:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217403', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:03:40] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217403', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:03:40] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:03:40] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:03:40] Production.INFO: ==25270== Releasing lock...
[2025-01-10 14:03:40] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 14:03:40] Production.INFO: 59.5 MB #Memory Used#
[2025-01-10 19:04:02] Production.INFO: ==25366== Lock acquired, processing the job...
[2025-01-10 19:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 19:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 19:04:02] Production.INFO: neon service started
[2025-01-10 19:04:02] Production.INFO: neon service started
[2025-01-10 19:04:02] Production.INFO: ==25366== Releasing lock...
[2025-01-10 19:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 19:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:04:02] Production.INFO: ==25368== Lock acquired, processing the job...
[2025-01-10 14:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 19:04:02] Production.INFO: ==25370== Lock acquired, processing the job...
[2025-01-10 19:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 19:04:02] Production.INFO: ==25370== Releasing lock...
[2025-01-10 19:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 19:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 14:04:03] Production.INFO: ==25368== Releasing lock...
[2025-01-10 14:04:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 14:04:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 14:04:03] Production.INFO: ==25379== Lock acquired, processing the job...
[2025-01-10 14:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 14:04:03] Production.INFO: Account Balance Start.
[2025-01-10 14:04:03] Production.INFO: CreateAllLog Start
[2025-01-10 14:04:03] Production.INFO: 117
[2025-01-10 14:04:03] Production.INFO: ==25373== Lock acquired, processing the job...
[2025-01-10 14:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 14:04:03] Production.INFO: Date 2025-01-08
[2025-01-10 14:04:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:04:03] Production.INFO: ==25383== Lock acquired, processing the job...
[2025-01-10 14:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 14:04:04] Production.INFO: Date 2025-01-09
[2025-01-10 14:04:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 14:04:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:04:04] Production.INFO: Date 2025-01-10
[2025-01-10 14:04:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:04:04] Production.INFO: Total Charge 0
[2025-01-10 14:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:04:04] Production.INFO: CreateAllLog End
[2025-01-10 14:04:04] Production.INFO: ==25375== Lock acquired, processing the job...
[2025-01-10 14:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 14:04:04] Production.INFO: count ==21
[2025-01-10 14:04:04] Production.INFO: ==25377== Lock acquired, processing the job...
[2025-01-10 14:04:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 14:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:04:04] Production.INFO: count ==21
[2025-01-10 14:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217406') start
[2025-01-10 14:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 14:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 14:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 14:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 14:04:04] Production.INFO: ==25381== Lock acquired, processing the job...
[2025-01-10 14:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 14:04:04] Production.INFO: Account Balance End.
[2025-01-10 14:04:04] Production.ERROR: CronJobId end 12
[2025-01-10 14:04:04] Production.INFO: ==25379== Releasing lock...
[2025-01-10 14:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 14:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 14:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217406') end
[2025-01-10 14:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 14:04:04] Production.INFO: 1
[2025-01-10 14:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 14:04:04] Production.INFO: ==25383== Releasing lock...
[2025-01-10 14:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 14:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 14:04:04] Production.INFO: ==25375== Releasing lock...
[2025-01-10 14:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 14:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 14:04:04] Production.ERROR: done
[2025-01-10 14:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 14:04:04] Production.ERROR: done
[2025-01-10 14:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 11:04:05
[end_date_ymd] => 2025-01-10 14:04:05
[RateCDR] => 1
)
[2025-01-10 14:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 11:04:05' and `end` < '2025-01-10 14:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 14:04:11] Production.ERROR: CronJobId end10
[2025-01-10 14:04:11] Production.INFO: ==25377== Releasing lock...
[2025-01-10 14:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 14:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 14:04:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 14:04:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 14:04:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 14:04:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 14:04:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 14:04:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 14:04:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 14:04:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 14:04:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 14:04:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 14:04:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 14:04:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 14:04:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 14:04:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 14:04:13] Production.INFO: call_cost start
[2025-01-10 14:04:13] Production.INFO: call_cost end
[2025-01-10 14:04:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 14:04:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 14:04:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 14:04:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 14:04:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 14:04:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 14:04:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 14:04:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 14:04:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 14:04:13] Production.INFO: ==25373== Releasing lock...
[2025-01-10 14:04:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 14:04:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 14:04:29] Production.INFO: count ==4208
[2025-01-10 14:04:30] Production.ERROR: pbx CDR StartTime 2025-01-10 11:04:05 - End Time 2025-01-10 14:04:05
[2025-01-10 14:04:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 14:04:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217408', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:04:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217408', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:04:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217408', 'tblTempVendorCDR_20' ) start
[2025-01-10 14:04:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217408', 'tblTempVendorCDR_20' ) end
[2025-01-10 14:04:30] Production.INFO: ProcessCDR(1,14217408,1,1,2)
[2025-01-10 14:04:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217408,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:04:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217408,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:04:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217408,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:04:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217408,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:04:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217408', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:04:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217408', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:04:35] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:04:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:04:36] Production.INFO: ==25381== Releasing lock...
[2025-01-10 14:04:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 14:04:36] Production.INFO: 59.5 MB #Memory Used#
[2025-01-10 19:05:01] Production.INFO: ==25437== Lock acquired, processing the job...
[2025-01-10 19:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 19:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 19:05:01] Production.INFO: neon service started
[2025-01-10 19:05:01] Production.INFO: neon service started
[2025-01-10 19:05:01] Production.INFO: ==25437== Releasing lock...
[2025-01-10 19:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 19:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:05:02] Production.INFO: ==25439== Lock acquired, processing the job...
[2025-01-10 14:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 14:05:02] Production.INFO: ==25439== Releasing lock...
[2025-01-10 14:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 14:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 19:05:02] Production.INFO: ==25441== Lock acquired, processing the job...
[2025-01-10 19:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 19:05:02] Production.INFO: ==25441== Releasing lock...
[2025-01-10 19:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 19:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 14:05:02] Production.INFO: ==25444== Lock acquired, processing the job...
[2025-01-10 14:05:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 14:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 14:05:03] Production.INFO: ==25446== Lock acquired, processing the job...
[2025-01-10 14:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 14:05:03] Production.INFO: ==25450== Lock acquired, processing the job...
[2025-01-10 14:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 14:05:03] Production.INFO: Account Balance Start.
[2025-01-10 14:05:03] Production.INFO: CreateAllLog Start
[2025-01-10 14:05:03] Production.INFO: 117
[2025-01-10 14:05:03] Production.INFO: ==25446== Releasing lock...
[2025-01-10 14:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 14:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 14:05:03] Production.INFO: Date 2025-01-08
[2025-01-10 14:05:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:05:03] Production.INFO: ==25448== Lock acquired, processing the job...
[2025-01-10 14:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 14:05:03] Production.INFO: Date 2025-01-09
[2025-01-10 14:05:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:05:03] Production.INFO: ==25452== Lock acquired, processing the job...
[2025-01-10 14:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 14:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 14:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 14:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 14:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 14:05:03] Production.INFO: Date 2025-01-10
[2025-01-10 14:05:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:05:03] Production.INFO: ==25454== Lock acquired, processing the job...
[2025-01-10 14:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 14:05:03] Production.INFO: Total Charge 0
[2025-01-10 14:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:05:03] Production.INFO: CreateAllLog End
[2025-01-10 14:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:05:03] Production.INFO: count ==21
[2025-01-10 14:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:05:03] Production.INFO: count ==21
[2025-01-10 14:05:03] Production.INFO: Account Balance End.
[2025-01-10 14:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217412') start
[2025-01-10 14:05:03] Production.ERROR: CronJobId end 12
[2025-01-10 14:05:03] Production.INFO: ==25450== Releasing lock...
[2025-01-10 14:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 14:05:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 14:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217412') end
[2025-01-10 14:05:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 14:05:03] Production.INFO: 1
[2025-01-10 14:05:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 14:05:04] Production.ERROR: done
[2025-01-10 14:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 14:05:04] Production.INFO: ==25454== Releasing lock...
[2025-01-10 14:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 14:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 14:05:04] Production.ERROR: done
[2025-01-10 14:05:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 11:05:04
[end_date_ymd] => 2025-01-10 14:05:04
[RateCDR] => 1
)
[2025-01-10 14:05:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 11:05:04' and `end` < '2025-01-10 14:05:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 14:05:11] Production.ERROR: CronJobId end10
[2025-01-10 14:05:11] Production.INFO: ==25448== Releasing lock...
[2025-01-10 14:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 14:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 14:05:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 14:05:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 14:05:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 14:05:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 14:05:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 14:05:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 14:05:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 14:05:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 14:05:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 14:05:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 14:05:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 14:05:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 14:05:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 14:05:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 14:05:13] Production.INFO: call_cost start
[2025-01-10 14:05:13] Production.INFO: call_cost end
[2025-01-10 14:05:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 14:05:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 14:05:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 14:05:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 14:05:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 14:05:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 14:05:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 14:05:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 14:05:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 14:05:14] Production.INFO: ==25444== Releasing lock...
[2025-01-10 14:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 14:05:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 14:05:24] Production.INFO: count ==4194
[2025-01-10 14:05:25] Production.ERROR: pbx CDR StartTime 2025-01-10 11:05:04 - End Time 2025-01-10 14:05:04
[2025-01-10 14:05:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 14:05:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217413', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:05:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217413', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:05:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217413', 'tblTempVendorCDR_20' ) start
[2025-01-10 14:05:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217413', 'tblTempVendorCDR_20' ) end
[2025-01-10 14:05:26] Production.INFO: ProcessCDR(1,14217413,1,1,2)
[2025-01-10 14:05:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217413,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:05:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217413,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:05:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217413,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:05:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217413,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:05:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217413', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:05:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217413', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:05:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:05:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:05:29] Production.INFO: ==25452== Releasing lock...
[2025-01-10 14:05:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 14:05:29] Production.INFO: 59.5 MB #Memory Used#
[2025-01-10 19:06:02] Production.INFO: ==25509== Lock acquired, processing the job...
[2025-01-10 19:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 19:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 19:06:02] Production.INFO: neon service started
[2025-01-10 19:06:02] Production.INFO: neon service started
[2025-01-10 19:06:02] Production.INFO: ==25509== Releasing lock...
[2025-01-10 19:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 19:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:06:02] Production.INFO: ==25511== Lock acquired, processing the job...
[2025-01-10 14:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 14:06:02] Production.INFO: ==25511== Releasing lock...
[2025-01-10 14:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 14:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 19:06:02] Production.INFO: ==25513== Lock acquired, processing the job...
[2025-01-10 19:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 19:06:02] Production.INFO: ==25513== Releasing lock...
[2025-01-10 19:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 19:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 14:06:03] Production.INFO: ==25516== Lock acquired, processing the job...
[2025-01-10 14:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 14:06:03] Production.INFO: ==25520== Lock acquired, processing the job...
[2025-01-10 14:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 14:06:03] Production.INFO: ==25524== Lock acquired, processing the job...
[2025-01-10 14:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 14:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 14:06:03] Production.INFO: ==25518== Lock acquired, processing the job...
[2025-01-10 14:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 14:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 14:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 14:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 14:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 14:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:06:03] Production.INFO: ==25526== Lock acquired, processing the job...
[2025-01-10 14:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 14:06:03] Production.INFO: ==25522== Lock acquired, processing the job...
[2025-01-10 14:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 14:06:04] Production.INFO: Account Balance Start.
[2025-01-10 14:06:04] Production.INFO: CreateAllLog Start
[2025-01-10 14:06:04] Production.INFO: 117
[2025-01-10 14:06:04] Production.INFO: Date 2025-01-08
[2025-01-10 14:06:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:06:04] Production.INFO: count ==21
[2025-01-10 14:06:04] Production.INFO: ==25518== Releasing lock...
[2025-01-10 14:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 14:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 14:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:06:04] Production.INFO: count ==21
[2025-01-10 14:06:04] Production.ERROR: done
[2025-01-10 14:06:04] Production.INFO: Date 2025-01-09
[2025-01-10 14:06:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217416') start
[2025-01-10 14:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 14:06:04] Production.INFO: Date 2025-01-10
[2025-01-10 14:06:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217416') end
[2025-01-10 14:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 14:06:04] Production.INFO: 1
[2025-01-10 14:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 14:06:04] Production.ERROR: done
[2025-01-10 14:06:04] Production.INFO: ==25526== Releasing lock...
[2025-01-10 14:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 14:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 14:06:04] Production.INFO: Total Charge 0
[2025-01-10 14:06:04] Production.INFO: CreateAllLog End
[2025-01-10 14:06:04] Production.INFO: Account Balance End.
[2025-01-10 14:06:04] Production.ERROR: CronJobId end 12
[2025-01-10 14:06:04] Production.INFO: ==25522== Releasing lock...
[2025-01-10 14:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 14:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 14:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 11:06:05
[end_date_ymd] => 2025-01-10 14:06:05
[RateCDR] => 1
)
[2025-01-10 14:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 11:06:05' and `end` < '2025-01-10 14:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 14:06:11] Production.ERROR: CronJobId end10
[2025-01-10 14:06:11] Production.INFO: ==25520== Releasing lock...
[2025-01-10 14:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 14:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 14:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 14:06:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 14:06:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 14:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 14:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 14:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 14:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 14:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 14:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 14:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 14:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 14:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 14:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 14:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 14:06:13] Production.INFO: call_cost start
[2025-01-10 14:06:13] Production.INFO: call_cost end
[2025-01-10 14:06:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 14:06:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 14:06:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 14:06:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 14:06:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 14:06:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 14:06:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 14:06:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 14:06:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 14:06:14] Production.INFO: ==25516== Releasing lock...
[2025-01-10 14:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 14:06:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 14:06:19] Production.INFO: count ==4170
[2025-01-10 14:06:21] Production.ERROR: pbx CDR StartTime 2025-01-10 11:06:05 - End Time 2025-01-10 14:06:05
[2025-01-10 14:06:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 14:06:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217418', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:06:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217418', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:06:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217418', 'tblTempVendorCDR_20' ) start
[2025-01-10 14:06:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217418', 'tblTempVendorCDR_20' ) end
[2025-01-10 14:06:21] Production.INFO: ProcessCDR(1,14217418,1,1,2)
[2025-01-10 14:06:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217418,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:06:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217418,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:06:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217418,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:06:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217418,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:06:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217418', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:06:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217418', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:06:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:06:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:06:24] Production.INFO: ==25524== Releasing lock...
[2025-01-10 14:06:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 14:06:24] Production.INFO: 59.25 MB #Memory Used#
[2025-01-10 19:07:01] Production.INFO: ==25579== Lock acquired, processing the job...
[2025-01-10 19:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 19:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 19:07:01] Production.INFO: neon service started
[2025-01-10 19:07:01] Production.INFO: neon service started
[2025-01-10 19:07:01] Production.INFO: ==25579== Releasing lock...
[2025-01-10 19:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 19:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:07:02] Production.INFO: ==25581== Lock acquired, processing the job...
[2025-01-10 14:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 19:07:02] Production.INFO: ==25583== Lock acquired, processing the job...
[2025-01-10 19:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 19:07:02] Production.INFO: ==25583== Releasing lock...
[2025-01-10 19:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 19:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 14:07:02] Production.INFO: ==25581== Releasing lock...
[2025-01-10 14:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 14:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 14:07:03] Production.INFO: ==25590== Lock acquired, processing the job...
[2025-01-10 14:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 14:07:03] Production.INFO: ==25588== Lock acquired, processing the job...
[2025-01-10 14:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 14:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 14:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 14:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 14:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 14:07:03] Production.INFO: ==25594== Lock acquired, processing the job...
[2025-01-10 14:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 14:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:07:03] Production.INFO: ==25588== Releasing lock...
[2025-01-10 14:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 14:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 14:07:03] Production.INFO: ==25586== Lock acquired, processing the job...
[2025-01-10 14:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 14:07:03] Production.INFO: ==25592== Lock acquired, processing the job...
[2025-01-10 14:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 14:07:03] Production.ERROR: done
[2025-01-10 14:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 14:07:03] Production.INFO: ==25596== Lock acquired, processing the job...
[2025-01-10 14:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 14:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 14:07:03] Production.INFO: Account Balance Start.
[2025-01-10 14:07:03] Production.INFO: CreateAllLog Start
[2025-01-10 14:07:03] Production.INFO: 117
[2025-01-10 14:07:03] Production.INFO: Date 2025-01-08
[2025-01-10 14:07:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:07:03] Production.ERROR: done
[2025-01-10 14:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:07:03] Production.INFO: Date 2025-01-09
[2025-01-10 14:07:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:07:03] Production.INFO: count ==21
[2025-01-10 14:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:07:03] Production.INFO: count ==21
[2025-01-10 14:07:03] Production.INFO: Date 2025-01-10
[2025-01-10 14:07:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:07:03] Production.INFO: Total Charge 0
[2025-01-10 14:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217422') start
[2025-01-10 14:07:03] Production.INFO: CreateAllLog End
[2025-01-10 14:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217422') end
[2025-01-10 14:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 14:07:04] Production.INFO: 1
[2025-01-10 14:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 14:07:04] Production.INFO: Account Balance End.
[2025-01-10 14:07:04] Production.INFO: ==25596== Releasing lock...
[2025-01-10 14:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 14:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 14:07:04] Production.ERROR: CronJobId end 12
[2025-01-10 14:07:04] Production.INFO: ==25592== Releasing lock...
[2025-01-10 14:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 14:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 14:07:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 11:07:04
[end_date_ymd] => 2025-01-10 14:07:04
[RateCDR] => 1
)
[2025-01-10 14:07:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 11:07:04' and `end` < '2025-01-10 14:07:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 14:07:11] Production.ERROR: CronJobId end10
[2025-01-10 14:07:11] Production.INFO: ==25590== Releasing lock...
[2025-01-10 14:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 14:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 14:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 14:07:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 14:07:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 14:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 14:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 14:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 14:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 14:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 14:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 14:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 14:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 14:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 14:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 14:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 14:07:14] Production.INFO: call_cost start
[2025-01-10 14:07:14] Production.INFO: call_cost end
[2025-01-10 14:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 14:07:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 14:07:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 14:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 14:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 14:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 14:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 14:07:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 14:07:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 14:07:14] Production.INFO: ==25586== Releasing lock...
[2025-01-10 14:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 14:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 14:07:24] Production.INFO: count ==4152
[2025-01-10 14:07:26] Production.ERROR: pbx CDR StartTime 2025-01-10 11:07:04 - End Time 2025-01-10 14:07:04
[2025-01-10 14:07:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 14:07:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217423', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:07:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217423', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:07:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217423', 'tblTempVendorCDR_20' ) start
[2025-01-10 14:07:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217423', 'tblTempVendorCDR_20' ) end
[2025-01-10 14:07:26] Production.INFO: ProcessCDR(1,14217423,1,1,2)
[2025-01-10 14:07:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217423,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:07:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217423,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:07:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217423,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:07:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217423,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:07:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217423', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:07:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217423', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:07:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:07:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:07:31] Production.INFO: ==25594== Releasing lock...
[2025-01-10 14:07:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 14:07:31] Production.INFO: 59 MB #Memory Used#
[2025-01-10 19:08:01] Production.INFO: ==25651== Lock acquired, processing the job...
[2025-01-10 19:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 19:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 19:08:01] Production.INFO: neon service started
[2025-01-10 19:08:01] Production.INFO: neon service started
[2025-01-10 19:08:01] Production.INFO: ==25651== Releasing lock...
[2025-01-10 19:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 19:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 19:08:02] Production.INFO: ==25655== Lock acquired, processing the job...
[2025-01-10 19:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 19:08:02] Production.INFO: ==25655== Releasing lock...
[2025-01-10 19:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 19:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 14:08:02] Production.INFO: ==25653== Lock acquired, processing the job...
[2025-01-10 14:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 14:08:02] Production.INFO: ==25653== Releasing lock...
[2025-01-10 14:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 14:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 14:08:03] Production.INFO: ==25664== Lock acquired, processing the job...
[2025-01-10 14:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 14:08:03] Production.INFO: ==25668== Lock acquired, processing the job...
[2025-01-10 14:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 14:08:03] Production.INFO: Account Balance Start.
[2025-01-10 14:08:03] Production.INFO: CreateAllLog Start
[2025-01-10 14:08:03] Production.INFO: 117
[2025-01-10 14:08:03] Production.INFO: Date 2025-01-08
[2025-01-10 14:08:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:08:03] Production.INFO: count ==21
[2025-01-10 14:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:08:03] Production.INFO: count ==21
[2025-01-10 14:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217425') start
[2025-01-10 14:08:03] Production.INFO: Date 2025-01-09
[2025-01-10 14:08:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:08:03] Production.INFO: Date 2025-01-10
[2025-01-10 14:08:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:08:03] Production.INFO: Total Charge 0
[2025-01-10 14:08:03] Production.INFO: ==25658== Lock acquired, processing the job...
[2025-01-10 14:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 14:08:03] Production.INFO: ==25660== Lock acquired, processing the job...
[2025-01-10 14:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 14:08:03] Production.INFO: CreateAllLog End
[2025-01-10 14:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217425') end
[2025-01-10 14:08:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 14:08:03] Production.INFO: 1
[2025-01-10 14:08:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 14:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 14:08:03] Production.INFO: ==25662== Lock acquired, processing the job...
[2025-01-10 14:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 14:08:03] Production.INFO: ==25666== Lock acquired, processing the job...
[2025-01-10 14:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 14:08:03] Production.INFO: ==25668== Releasing lock...
[2025-01-10 14:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 14:08:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 14:08:03] Production.INFO: Account Balance End.
[2025-01-10 14:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:08:03] Production.ERROR: CronJobId end 12
[2025-01-10 14:08:03] Production.INFO: ==25664== Releasing lock...
[2025-01-10 14:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 14:08:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 14:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 14:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 14:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 14:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 14:08:04] Production.INFO: ==25660== Releasing lock...
[2025-01-10 14:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 14:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 14:08:04] Production.ERROR: done
[2025-01-10 14:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 14:08:04] Production.ERROR: done
[2025-01-10 14:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 11:08:05
[end_date_ymd] => 2025-01-10 14:08:05
[RateCDR] => 1
)
[2025-01-10 14:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 11:08:05' and `end` < '2025-01-10 14:08:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 14:08:12] Production.ERROR: CronJobId end10
[2025-01-10 14:08:12] Production.INFO: ==25662== Releasing lock...
[2025-01-10 14:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 14:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 14:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 14:08:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 14:08:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 14:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 14:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 14:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 14:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 14:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 14:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 14:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 14:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 14:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 14:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 14:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 14:08:13] Production.INFO: call_cost start
[2025-01-10 14:08:13] Production.INFO: call_cost end
[2025-01-10 14:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 14:08:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 14:08:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 14:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 14:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 14:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 14:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 14:08:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 14:08:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 14:08:14] Production.INFO: ==25658== Releasing lock...
[2025-01-10 14:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 14:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 14:08:22] Production.INFO: count ==4132
[2025-01-10 14:08:24] Production.ERROR: pbx CDR StartTime 2025-01-10 11:08:05 - End Time 2025-01-10 14:08:05
[2025-01-10 14:08:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 14:08:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217428', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:08:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217428', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:08:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217428', 'tblTempVendorCDR_20' ) start
[2025-01-10 14:08:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217428', 'tblTempVendorCDR_20' ) end
[2025-01-10 14:08:24] Production.INFO: ProcessCDR(1,14217428,1,1,2)
[2025-01-10 14:08:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217428,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:08:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217428,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:08:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217428,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:08:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217428,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:08:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217428', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:08:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217428', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:08:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:08:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:08:29] Production.INFO: ==25666== Releasing lock...
[2025-01-10 14:08:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 14:08:29] Production.INFO: 59 MB #Memory Used#
[2025-01-10 19:09:02] Production.INFO: ==25721== Lock acquired, processing the job...
[2025-01-10 19:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 19:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 19:09:02] Production.INFO: neon service started
[2025-01-10 19:09:02] Production.INFO: neon service started
[2025-01-10 19:09:02] Production.INFO: ==25721== Releasing lock...
[2025-01-10 19:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 19:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:09:02] Production.INFO: ==25724== Lock acquired, processing the job...
[2025-01-10 14:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 19:09:02] Production.INFO: ==25726== Lock acquired, processing the job...
[2025-01-10 19:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 19:09:03] Production.INFO: ==25726== Releasing lock...
[2025-01-10 19:09:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 19:09:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 14:09:03] Production.INFO: ==25724== Releasing lock...
[2025-01-10 14:09:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 14:09:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 14:09:04] Production.INFO: ==25732== Lock acquired, processing the job...
[2025-01-10 14:09:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 14:09:04] Production.INFO: ==25728== Lock acquired, processing the job...
[2025-01-10 14:09:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 14:09:04] Production.INFO: ==25730== Lock acquired, processing the job...
[2025-01-10 14:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 14:09:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 14:09:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 14:09:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 14:09:04] Production.INFO: ==25738== Lock acquired, processing the job...
[2025-01-10 14:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 14:09:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 14:09:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 14:09:04] Production.INFO: ==25736== Lock acquired, processing the job...
[2025-01-10 14:09:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 14:09:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:09:04] Production.INFO: ==25734== Lock acquired, processing the job...
[2025-01-10 14:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 14:09:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:09:04] Production.INFO: count ==21
[2025-01-10 14:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:09:04] Production.INFO: count ==21
[2025-01-10 14:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217431') start
[2025-01-10 14:09:04] Production.INFO: Account Balance Start.
[2025-01-10 14:09:04] Production.INFO: CreateAllLog Start
[2025-01-10 14:09:04] Production.INFO: 117
[2025-01-10 14:09:04] Production.INFO: Date 2025-01-08
[2025-01-10 14:09:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:09:04] Production.INFO: Date 2025-01-09
[2025-01-10 14:09:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:09:04] Production.INFO: Date 2025-01-10
[2025-01-10 14:09:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:09:04] Production.ERROR: done
[2025-01-10 14:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 14:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217431') end
[2025-01-10 14:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 14:09:04] Production.INFO: 1
[2025-01-10 14:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 14:09:04] Production.INFO: Total Charge 0
[2025-01-10 14:09:04] Production.INFO: ==25738== Releasing lock...
[2025-01-10 14:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 14:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 14:09:04] Production.ERROR: done
[2025-01-10 14:09:04] Production.INFO: ==25730== Releasing lock...
[2025-01-10 14:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 14:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 14:09:04] Production.INFO: CreateAllLog End
[2025-01-10 14:09:05] Production.INFO: Account Balance End.
[2025-01-10 14:09:05] Production.ERROR: CronJobId end 12
[2025-01-10 14:09:05] Production.INFO: ==25734== Releasing lock...
[2025-01-10 14:09:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 14:09:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 14:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 11:09:05
[end_date_ymd] => 2025-01-10 14:09:05
[RateCDR] => 1
)
[2025-01-10 14:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 11:09:05' and `end` < '2025-01-10 14:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 14:09:12] Production.ERROR: CronJobId end10
[2025-01-10 14:09:12] Production.INFO: ==25732== Releasing lock...
[2025-01-10 14:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 14:09:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 14:09:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 14:09:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 14:09:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 14:09:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 14:09:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 14:09:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 14:09:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 14:09:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 14:09:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 14:09:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 14:09:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 14:09:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 14:09:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 14:09:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 14:09:14] Production.INFO: call_cost start
[2025-01-10 14:09:14] Production.INFO: call_cost end
[2025-01-10 14:09:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 14:09:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 14:09:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 14:09:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 14:09:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 14:09:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 14:09:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 14:09:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 14:09:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 14:09:15] Production.INFO: ==25728== Releasing lock...
[2025-01-10 14:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 14:09:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 14:09:29] Production.INFO: count ==4120
[2025-01-10 14:09:31] Production.ERROR: pbx CDR StartTime 2025-01-10 11:09:05 - End Time 2025-01-10 14:09:05
[2025-01-10 14:09:31] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 14:09:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217433', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:09:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217433', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:09:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217433', 'tblTempVendorCDR_20' ) start
[2025-01-10 14:09:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217433', 'tblTempVendorCDR_20' ) end
[2025-01-10 14:09:31] Production.INFO: ProcessCDR(1,14217433,1,1,2)
[2025-01-10 14:09:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217433,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:09:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217433,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:09:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217433,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:09:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217433,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:09:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217433', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:09:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217433', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:09:36] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:09:36] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:09:36] Production.INFO: ==25736== Releasing lock...
[2025-01-10 14:09:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 14:09:36] Production.INFO: 59 MB #Memory Used#
[2025-01-10 19:10:01] Production.INFO: ==25791== Lock acquired, processing the job...
[2025-01-10 19:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 19:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 19:10:01] Production.INFO: neon service started
[2025-01-10 19:10:01] Production.INFO: neon service started
[2025-01-10 19:10:01] Production.INFO: ==25791== Releasing lock...
[2025-01-10 19:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 19:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:10:02] Production.INFO: ==25793== Lock acquired, processing the job...
[2025-01-10 14:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 19:10:02] Production.INFO: ==25795== Lock acquired, processing the job...
[2025-01-10 19:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 14:10:02] Production.INFO: ==25793== Releasing lock...
[2025-01-10 14:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 14:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 19:10:02] Production.INFO: ==25795== Releasing lock...
[2025-01-10 19:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 19:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 14:10:03] Production.INFO: ==25806== Lock acquired, processing the job...
[2025-01-10 14:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 14:10:03] Production.INFO: ==25798== Lock acquired, processing the job...
[2025-01-10 14:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 14:10:03] Production.INFO: ==25800== Lock acquired, processing the job...
[2025-01-10 14:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 14:10:03] Production.INFO: Account Balance Start.
[2025-01-10 14:10:03] Production.INFO: CreateAllLog Start
[2025-01-10 14:10:03] Production.INFO: ==25802== Lock acquired, processing the job...
[2025-01-10 14:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 14:10:03] Production.INFO: 117
[2025-01-10 14:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 14:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 14:10:03] Production.ERROR: CronJob PID - 25806
[2025-01-10 14:10:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-10 14:10:03] Production.ERROR: CronJob ID - 12
[2025-01-10 14:10:03] Production.ERROR: CronJob Last Run Time 2025-01-10 14:10:00
[2025-01-10 14:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 14:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 14:10:03] Production.INFO: Date 2025-01-08
[2025-01-10 14:10:03] Production.INFO: ==25810== Lock acquired, processing the job...
[2025-01-10 14:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 14:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 14:10:03] Production.INFO: ==25798== Releasing lock...
[2025-01-10 14:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 14:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 14:10:03] Production.INFO: ==25804== Lock acquired, processing the job...
[2025-01-10 14:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 14:10:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:10:03] Production.INFO: ==25812== Lock acquired, processing the job...
[2025-01-10 14:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 14:10:03] Production.INFO: Date 2025-01-09
[2025-01-10 14:10:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 14:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:10:03] Production.INFO: Date 2025-01-10
[2025-01-10 14:10:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:10:03] Production.INFO: Total Charge 0
[2025-01-10 14:10:03] Production.INFO: ==25808== Lock acquired, processing the job...
[2025-01-10 14:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 14:10:03] Production.INFO: CreateAllLog End
[2025-01-10 14:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 14:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 14:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 14:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 14:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:10:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:10:04] Production.INFO: count ==21
[2025-01-10 14:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:10:04] Production.INFO: count ==21
[2025-01-10 14:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217437') start
[2025-01-10 14:10:04] Production.ERROR: done
[2025-01-10 14:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 14:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14217438', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 14:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217437') end
[2025-01-10 14:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 14:10:04] Production.INFO: 1
[2025-01-10 14:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 14:10:04] Production.INFO: Account Balance End.
[2025-01-10 14:10:04] Production.ERROR: CronJobId end 12
[2025-01-10 14:10:04] Production.INFO: ==25806== Releasing lock...
[2025-01-10 14:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 14:10:04] Production.INFO: ==25812== Releasing lock...
[2025-01-10 14:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 14:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 14:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 14:10:04] Production.INFO: ==25802== Releasing lock...
[2025-01-10 14:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 14:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 14:10:04] Production.ERROR: done
[2025-01-10 14:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 14:10:04] Production.ERROR: done
[2025-01-10 14:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 11:10:05
[end_date_ymd] => 2025-01-10 14:10:05
[RateCDR] => 1
)
[2025-01-10 14:10:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 11:10:05' and `end` < '2025-01-10 14:10:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 14:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14217438', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 14:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 14:10:08] Production.INFO: ProcessCDR(1,14217438,1,1,2)
[2025-01-10 14:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14217438,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14217438,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:10:08] Production.INFO: ==25810== Releasing lock...
[2025-01-10 14:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 14:10:08] Production.INFO: 26 MB #Memory Used#
[2025-01-10 14:10:12] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#11 [internal function]: App\Console\Commands\NeonAlerts->fire()
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,11))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#2 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#6 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#7 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#8 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#9 [internal function]: App\Console\Commands\NeonAlerts->fire()
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 {main}
[2025-01-10 14:10:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 14:10:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 14:10:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 14:10:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 14:10:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 14:10:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 14:10:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 14:10:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 14:10:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 14:10:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 14:10:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 14:10:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 14:10:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 14:10:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 14:10:12] Production.INFO: call_cost start
[2025-01-10 14:10:12] Production.INFO: call_cost end
[2025-01-10 14:10:13] Production.ERROR: CronJobId end10
[2025-01-10 14:10:13] Production.INFO: ==25804== Releasing lock...
[2025-01-10 14:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 14:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 14:10:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 14:10:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 14:10:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 14:10:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 14:10:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 14:10:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 14:10:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 14:10:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 14:10:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 14:10:13] Production.INFO: ==25800== Releasing lock...
[2025-01-10 14:10:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 14:10:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 14:10:24] Production.INFO: count ==4143
[2025-01-10 14:10:26] Production.ERROR: pbx CDR StartTime 2025-01-10 11:10:05 - End Time 2025-01-10 14:10:05
[2025-01-10 14:10:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 14:10:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217439', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:10:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217439', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:10:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217439', 'tblTempVendorCDR_20' ) start
[2025-01-10 14:10:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217439', 'tblTempVendorCDR_20' ) end
[2025-01-10 14:10:26] Production.INFO: ProcessCDR(1,14217439,1,1,2)
[2025-01-10 14:10:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217439,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:10:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217439,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:10:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217439,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:10:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217439,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:10:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217439', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:10:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217439', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:10:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:10:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:10:31] Production.INFO: ==25808== Releasing lock...
[2025-01-10 14:10:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 14:10:31] Production.INFO: 59 MB #Memory Used#
[2025-01-10 19:11:02] Production.INFO: ==25865== Lock acquired, processing the job...
[2025-01-10 19:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 19:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 19:11:02] Production.INFO: neon service started
[2025-01-10 19:11:02] Production.INFO: neon service started
[2025-01-10 19:11:02] Production.INFO: ==25865== Releasing lock...
[2025-01-10 19:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 19:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:11:02] Production.INFO: ==25867== Lock acquired, processing the job...
[2025-01-10 14:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 14:11:02] Production.INFO: ==25867== Releasing lock...
[2025-01-10 14:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 14:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 19:11:02] Production.INFO: ==25869== Lock acquired, processing the job...
[2025-01-10 19:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 19:11:02] Production.INFO: ==25869== Releasing lock...
[2025-01-10 19:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 19:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 14:11:03] Production.INFO: ==25877== Lock acquired, processing the job...
[2025-01-10 14:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 14:11:03] Production.INFO: Account Balance Start.
[2025-01-10 14:11:03] Production.INFO: CreateAllLog Start
[2025-01-10 14:11:03] Production.INFO: 117
[2025-01-10 14:11:03] Production.INFO: Date 2025-01-08
[2025-01-10 14:11:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:11:03] Production.INFO: Date 2025-01-09
[2025-01-10 14:11:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:11:03] Production.INFO: Date 2025-01-10
[2025-01-10 14:11:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:11:03] Production.INFO: Total Charge 0
[2025-01-10 14:11:03] Production.INFO: CreateAllLog End
[2025-01-10 14:11:03] Production.INFO: Account Balance End.
[2025-01-10 14:11:03] Production.ERROR: CronJobId end 12
[2025-01-10 14:11:03] Production.INFO: ==25877== Releasing lock...
[2025-01-10 14:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 14:11:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 14:11:03] Production.INFO: ==25871== Lock acquired, processing the job...
[2025-01-10 14:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 14:11:03] Production.INFO: ==25873== Lock acquired, processing the job...
[2025-01-10 14:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 14:11:03] Production.INFO: ==25875== Lock acquired, processing the job...
[2025-01-10 14:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 14:11:03] Production.INFO: ==25879== Lock acquired, processing the job...
[2025-01-10 14:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 14:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 14:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:11:03] Production.INFO: ==25881== Lock acquired, processing the job...
[2025-01-10 14:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 14:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 14:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 14:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 14:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 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-01-10 14:11:04] Production.INFO: count ==21
[2025-01-10 14:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:11:04] Production.INFO: count ==21
[2025-01-10 14:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217443') start
[2025-01-10 14:11:04] Production.ERROR: done
[2025-01-10 14:11:04] Production.INFO: ==25873== Releasing lock...
[2025-01-10 14:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 14:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 14:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217443') end
[2025-01-10 14:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 14:11:04] Production.INFO: 1
[2025-01-10 14:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 14:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 14:11:04] Production.INFO: ==25881== Releasing lock...
[2025-01-10 14:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 14:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 14:11:04] Production.ERROR: done
[2025-01-10 14:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 11:11:05
[end_date_ymd] => 2025-01-10 14:11:05
[RateCDR] => 1
)
[2025-01-10 14:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 11:11:05' and `end` < '2025-01-10 14:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 14:11:12] Production.ERROR: CronJobId end10
[2025-01-10 14:11:12] Production.INFO: ==25875== Releasing lock...
[2025-01-10 14:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 14:11:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 14:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 14:11:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 14:11:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 14:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 14:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 14:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 14:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 14:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 14:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 14:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 14:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 14:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 14:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 14:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 14:11:13] Production.INFO: call_cost start
[2025-01-10 14:11:13] Production.INFO: call_cost end
[2025-01-10 14:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 14:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 14:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 14:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 14:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 14:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 14:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 14:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 14:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 14:11:14] Production.INFO: ==25871== Releasing lock...
[2025-01-10 14:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 14:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 14:11:24] Production.INFO: count ==4228
[2025-01-10 14:11:25] Production.ERROR: pbx CDR StartTime 2025-01-10 11:11:05 - End Time 2025-01-10 14:11:05
[2025-01-10 14:11:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 14:11:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217444', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:11:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217444', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:11:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217444', 'tblTempVendorCDR_20' ) start
[2025-01-10 14:11:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217444', 'tblTempVendorCDR_20' ) end
[2025-01-10 14:11:26] Production.INFO: ProcessCDR(1,14217444,1,1,2)
[2025-01-10 14:11:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217444,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:11:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217444,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:11:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217444,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:11:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217444,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:11:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217444', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:11:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217444', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:11:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:11:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:11:29] Production.INFO: ==25879== Releasing lock...
[2025-01-10 14:11:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 14:11:29] Production.INFO: 59.75 MB #Memory Used#
[2025-01-10 19:12:01] Production.INFO: ==25935== Lock acquired, processing the job...
[2025-01-10 19:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 19:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 19:12:01] Production.INFO: neon service started
[2025-01-10 19:12:01] Production.INFO: neon service started
[2025-01-10 19:12:01] Production.INFO: ==25935== Releasing lock...
[2025-01-10 19:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 19:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:12:01] Production.INFO: ==25937== Lock acquired, processing the job...
[2025-01-10 14:12:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 14:12:02] Production.INFO: ==25937== Releasing lock...
[2025-01-10 14:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 14:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 19:12:02] Production.INFO: ==25939== Lock acquired, processing the job...
[2025-01-10 19:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 19:12:02] Production.INFO: ==25939== Releasing lock...
[2025-01-10 19:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 19:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 14:12:03] Production.INFO: ==25945== Lock acquired, processing the job...
[2025-01-10 14:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 14:12:03] Production.INFO: ==25949== Lock acquired, processing the job...
[2025-01-10 14:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 14:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 14:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 14:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 14:12:03] Production.INFO: ==25941== Lock acquired, processing the job...
[2025-01-10 14:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 14:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 14:12:03] Production.INFO: ==25943== Lock acquired, processing the job...
[2025-01-10 14:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 14:12:03] Production.INFO: ==25947== Lock acquired, processing the job...
[2025-01-10 14:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 14:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 14:12:03] Production.INFO: ==25951== Lock acquired, processing the job...
[2025-01-10 14:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 14:12:03] Production.INFO: Account Balance Start.
[2025-01-10 14:12:03] Production.INFO: CreateAllLog Start
[2025-01-10 14:12:03] Production.INFO: 117
[2025-01-10 14:12:03] Production.INFO: Date 2025-01-08
[2025-01-10 14:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:12:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:12:03] Production.INFO: count ==21
[2025-01-10 14:12:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:12:03] Production.INFO: count ==21
[2025-01-10 14:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217448') start
[2025-01-10 14:12:03] Production.ERROR: done
[2025-01-10 14:12:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 14:12:03] Production.INFO: Date 2025-01-09
[2025-01-10 14:12:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:12:03] Production.INFO: ==25943== Releasing lock...
[2025-01-10 14:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 14:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 14:12:03] Production.INFO: Date 2025-01-10
[2025-01-10 14:12:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217448') end
[2025-01-10 14:12:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 14:12:03] Production.INFO: 1
[2025-01-10 14:12:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 14:12:03] Production.INFO: Total Charge 0
[2025-01-10 14:12:03] Production.ERROR: done
[2025-01-10 14:12:03] Production.INFO: CreateAllLog End
[2025-01-10 14:12:03] Production.INFO: ==25951== Releasing lock...
[2025-01-10 14:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 14:12:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 14:12:03] Production.INFO: Account Balance End.
[2025-01-10 14:12:04] Production.ERROR: CronJobId end 12
[2025-01-10 14:12:04] Production.INFO: ==25947== Releasing lock...
[2025-01-10 14:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 14:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 14:12:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 11:12:04
[end_date_ymd] => 2025-01-10 14:12:04
[RateCDR] => 1
)
[2025-01-10 14:12:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 11:12:04' and `end` < '2025-01-10 14:12:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 14:12:12] Production.ERROR: CronJobId end10
[2025-01-10 14:12:12] Production.INFO: ==25945== Releasing lock...
[2025-01-10 14:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 14:12:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 14:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 14:12:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 14:12:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 14:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 14:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 14:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 14:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 14:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 14:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 14:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 14:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 14:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 14:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 14:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 14:12:13] Production.INFO: call_cost start
[2025-01-10 14:12:13] Production.INFO: call_cost end
[2025-01-10 14:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 14:12:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 14:12:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 14:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 14:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 14:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 14:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 14:12:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 14:12:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 14:12:14] Production.INFO: ==25941== Releasing lock...
[2025-01-10 14:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 14:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 14:12:18] Production.INFO: count ==4207
[2025-01-10 14:12:20] Production.ERROR: pbx CDR StartTime 2025-01-10 11:12:04 - End Time 2025-01-10 14:12:04
[2025-01-10 14:12:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 14:12:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217449', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:12:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217449', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:12:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217449', 'tblTempVendorCDR_20' ) start
[2025-01-10 14:12:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217449', 'tblTempVendorCDR_20' ) end
[2025-01-10 14:12:20] Production.INFO: ProcessCDR(1,14217449,1,1,2)
[2025-01-10 14:12:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217449,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:12:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217449,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:12:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217449,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:12:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217449,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:12:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217449', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:12:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217449', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:12:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:12:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:12:25] Production.INFO: ==25949== Releasing lock...
[2025-01-10 14:12:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 14:12:25] Production.INFO: 59.75 MB #Memory Used#
[2025-01-10 19:13:01] Production.INFO: ==26009== Lock acquired, processing the job...
[2025-01-10 19:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 19:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 19:13:01] Production.INFO: neon service started
[2025-01-10 19:13:02] Production.INFO: neon service started
[2025-01-10 19:13:02] Production.INFO: ==26009== Releasing lock...
[2025-01-10 19:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 19:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:13:02] Production.INFO: ==26013== Lock acquired, processing the job...
[2025-01-10 14:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 19:13:02] Production.INFO: ==26015== Lock acquired, processing the job...
[2025-01-10 19:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 19:13:02] Production.INFO: ==26015== Releasing lock...
[2025-01-10 19:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 19:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 14:13:02] Production.INFO: ==26013== Releasing lock...
[2025-01-10 14:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 14:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 14:13:03] Production.INFO: ==26018== Lock acquired, processing the job...
[2025-01-10 14:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 14:13:03] Production.INFO: ==26020== Lock acquired, processing the job...
[2025-01-10 14:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 14:13:03] Production.INFO: ==26022== Lock acquired, processing the job...
[2025-01-10 14:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 14:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 14:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 14:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 14:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 14:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 14:13:03] Production.INFO: ==26024== Lock acquired, processing the job...
[2025-01-10 14:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 14:13:04] Production.INFO: ==26026== Lock acquired, processing the job...
[2025-01-10 14:13:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 14:13:04] Production.INFO: ==26020== Releasing lock...
[2025-01-10 14:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 14:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 14:13:04] Production.INFO: ==26028== Lock acquired, processing the job...
[2025-01-10 14:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 14:13:04] Production.INFO: Account Balance Start.
[2025-01-10 14:13:04] Production.INFO: CreateAllLog Start
[2025-01-10 14:13:04] Production.INFO: 117
[2025-01-10 14:13:04] Production.INFO: Date 2025-01-08
[2025-01-10 14:13:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:13:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:13:04] Production.INFO: Date 2025-01-09
[2025-01-10 14:13:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:13:04] Production.INFO: Date 2025-01-10
[2025-01-10 14:13:04] Production.INFO: Reseller ==> 0
[2025-01-10 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-01-10 14:13:04] Production.INFO: Total Charge 0
[2025-01-10 14:13:04] Production.INFO: count ==21
[2025-01-10 14:13:04] Production.INFO: CreateAllLog End
[2025-01-10 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-01-10 14:13:04] Production.INFO: count ==21
[2025-01-10 14:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217453') start
[2025-01-10 14:13:04] Production.ERROR: done
[2025-01-10 14:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 14:13:04] Production.INFO: Account Balance End.
[2025-01-10 14:13:04] Production.ERROR: CronJobId end 12
[2025-01-10 14:13:04] Production.INFO: ==26024== Releasing lock...
[2025-01-10 14:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 14:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 14:13:04] Production.ERROR: done
[2025-01-10 14:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217453') end
[2025-01-10 14:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 14:13:04] Production.INFO: 1
[2025-01-10 14:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 14:13:04] Production.INFO: ==26028== Releasing lock...
[2025-01-10 14:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 14:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 14:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 11:13:05
[end_date_ymd] => 2025-01-10 14:13:05
[RateCDR] => 1
)
[2025-01-10 14:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 11:13:05' and `end` < '2025-01-10 14:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 14:13:12] Production.ERROR: CronJobId end10
[2025-01-10 14:13:12] Production.INFO: ==26022== Releasing lock...
[2025-01-10 14:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 14:13:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 14:13:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 14:13:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 14:13:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 14:13:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 14:13:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 14:13:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 14:13:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 14:13:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 14:13:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 14:13:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 14:13:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 14:13:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 14:13:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 14:13:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 14:13:13] Production.INFO: call_cost start
[2025-01-10 14:13:13] Production.INFO: call_cost end
[2025-01-10 14:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 14:13:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 14:13:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 14:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 14:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 14:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 14:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 14:13:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 14:13:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 14:13:14] Production.INFO: ==26018== Releasing lock...
[2025-01-10 14:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 14:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 14:13:31] Production.INFO: count ==4211
[2025-01-10 14:13:33] Production.ERROR: pbx CDR StartTime 2025-01-10 11:13:05 - End Time 2025-01-10 14:13:05
[2025-01-10 14:13:33] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 14:13:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217454', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:13:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217454', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:13:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217454', 'tblTempVendorCDR_20' ) start
[2025-01-10 14:13:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217454', 'tblTempVendorCDR_20' ) end
[2025-01-10 14:13:33] Production.INFO: ProcessCDR(1,14217454,1,1,2)
[2025-01-10 14:13:33] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217454,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:13:35] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217454,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:13:35] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217454,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:13:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217454,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:13:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217454', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:13:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217454', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:13:38] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:13:38] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:13:38] Production.INFO: ==26026== Releasing lock...
[2025-01-10 14:13:38] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 14:13:38] Production.INFO: 59.5 MB #Memory Used#
[2025-01-10 19:14:01] Production.INFO: ==26081== Lock acquired, processing the job...
[2025-01-10 19:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 19:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 19:14:01] Production.INFO: neon service started
[2025-01-10 19:14:01] Production.INFO: neon service started
[2025-01-10 19:14:01] Production.INFO: ==26081== Releasing lock...
[2025-01-10 19:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 19:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:14:01] Production.INFO: ==26083== Lock acquired, processing the job...
[2025-01-10 14:14:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 14:14:02] Production.INFO: ==26083== Releasing lock...
[2025-01-10 14:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 14:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 19:14:02] Production.INFO: ==26085== Lock acquired, processing the job...
[2025-01-10 19:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 19:14:02] Production.INFO: ==26085== Releasing lock...
[2025-01-10 19:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 19:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 14:14:02] Production.INFO: ==26092== Lock acquired, processing the job...
[2025-01-10 14:14:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 14:14:02] Production.INFO: ==26098== Lock acquired, processing the job...
[2025-01-10 14:14:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 14:14:03] Production.INFO: ==26088== Lock acquired, processing the job...
[2025-01-10 14:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 14:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 14:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 14:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 14:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 14:14:03] Production.INFO: ==26090== Lock acquired, processing the job...
[2025-01-10 14:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 14:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 14:14:03] Production.INFO: count ==21
[2025-01-10 14:14:03] Production.INFO: ==26094== Lock acquired, processing the job...
[2025-01-10 14:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 14:14:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:14:03] Production.INFO: count ==21
[2025-01-10 14:14:03] Production.INFO: ==26096== Lock acquired, processing the job...
[2025-01-10 14:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 14:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217455') start
[2025-01-10 14:14:03] Production.INFO: Account Balance Start.
[2025-01-10 14:14:03] Production.INFO: CreateAllLog Start
[2025-01-10 14:14:03] Production.INFO: 117
[2025-01-10 14:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:14:03] Production.INFO: Date 2025-01-08
[2025-01-10 14:14:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217455') end
[2025-01-10 14:14:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 14:14:03] Production.INFO: 1
[2025-01-10 14:14:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 14:14:03] Production.INFO: Date 2025-01-09
[2025-01-10 14:14:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:14:03] Production.INFO: ==26098== Releasing lock...
[2025-01-10 14:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 14:14:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 14:14:03] Production.INFO: ==26090== Releasing lock...
[2025-01-10 14:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 14:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 14:14:03] Production.INFO: Date 2025-01-10
[2025-01-10 14:14:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:14:03] Production.INFO: Total Charge 0
[2025-01-10 14:14:03] Production.INFO: CreateAllLog End
[2025-01-10 14:14:03] Production.ERROR: done
[2025-01-10 14:14:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 14:14:03] Production.INFO: Account Balance End.
[2025-01-10 14:14:03] Production.ERROR: CronJobId end 12
[2025-01-10 14:14:03] Production.INFO: ==26094== Releasing lock...
[2025-01-10 14:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 14:14:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 14:14:03] Production.ERROR: done
[2025-01-10 14:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 11:14:05
[end_date_ymd] => 2025-01-10 14:14:05
[RateCDR] => 1
)
[2025-01-10 14:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 11:14:05' and `end` < '2025-01-10 14:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 14:14:11] Production.ERROR: CronJobId end10
[2025-01-10 14:14:11] Production.INFO: ==26092== Releasing lock...
[2025-01-10 14:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 14:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 14:14:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 14:14:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 14:14:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 14:14:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 14:14:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 14:14:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 14:14:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 14:14:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 14:14:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 14:14:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 14:14:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 14:14:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 14:14:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 14:14:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 14:14:13] Production.INFO: call_cost start
[2025-01-10 14:14:13] Production.INFO: call_cost end
[2025-01-10 14:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 14:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 14:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 14:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 14:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 14:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 14:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 14:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 14:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 14:14:14] Production.INFO: ==26088== Releasing lock...
[2025-01-10 14:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 14:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 14:14:25] Production.INFO: count ==4190
[2025-01-10 14:14:26] Production.ERROR: pbx CDR StartTime 2025-01-10 11:14:05 - End Time 2025-01-10 14:14:05
[2025-01-10 14:14:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 14:14:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217459', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:14:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217459', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:14:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217459', 'tblTempVendorCDR_20' ) start
[2025-01-10 14:14:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217459', 'tblTempVendorCDR_20' ) end
[2025-01-10 14:14:27] Production.INFO: ProcessCDR(1,14217459,1,1,2)
[2025-01-10 14:14:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217459,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:14:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217459,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:14:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217459,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:14:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217459,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:14:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217459', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:14:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217459', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:14:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:14:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:14:31] Production.INFO: ==26096== Releasing lock...
[2025-01-10 14:14:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 14:14:31] Production.INFO: 59.5 MB #Memory Used#
[2025-01-10 19:15:01] Production.INFO: ==26152== Lock acquired, processing the job...
[2025-01-10 19:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 19:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 19:15:01] Production.INFO: neon service started
[2025-01-10 19:15:01] Production.INFO: neon service started
[2025-01-10 19:15:01] Production.INFO: ==26152== Releasing lock...
[2025-01-10 19:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 19:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 19:15:02] Production.INFO: ==26156== Lock acquired, processing the job...
[2025-01-10 19:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 19:15:02] Production.INFO: ==26156== Releasing lock...
[2025-01-10 19:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 19:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 14:15:02] Production.INFO: ==26154== Lock acquired, processing the job...
[2025-01-10 14:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 14:15:02] Production.INFO: ==26154== Releasing lock...
[2025-01-10 14:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 14:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 14:15:03] Production.INFO: ==26159== Lock acquired, processing the job...
[2025-01-10 14:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 14:15:03] Production.INFO: ==26161== Lock acquired, processing the job...
[2025-01-10 14:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 14:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 14:15:03] Production.INFO: ==26165== Lock acquired, processing the job...
[2025-01-10 14:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 14:15:03] Production.INFO: Account Balance Start.
[2025-01-10 14:15:03] Production.INFO: CreateAllLog Start
[2025-01-10 14:15:03] Production.INFO: 117
[2025-01-10 14:15:03] Production.INFO: Date 2025-01-08
[2025-01-10 14:15:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:15:03] Production.INFO: Date 2025-01-09
[2025-01-10 14:15:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:15:03] Production.INFO: Date 2025-01-10
[2025-01-10 14:15:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:15:03] Production.INFO: ==26163== Lock acquired, processing the job...
[2025-01-10 14:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 14:15:03] Production.INFO: Total Charge 0
[2025-01-10 14:15:03] Production.INFO: ==26161== Releasing lock...
[2025-01-10 14:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 14:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 14:15:03] Production.INFO: CreateAllLog End
[2025-01-10 14:15:03] Production.INFO: ==26167== Lock acquired, processing the job...
[2025-01-10 14:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 14:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:15:03] Production.INFO: ==26169== Lock acquired, processing the job...
[2025-01-10 14:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 14:15:03] Production.INFO: Account Balance End.
[2025-01-10 14:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 14:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 14:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 14:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 14:15:04] Production.ERROR: done
[2025-01-10 14:15:04] Production.ERROR: CronJobId end 12
[2025-01-10 14:15:04] Production.INFO: ==26165== Releasing lock...
[2025-01-10 14:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 14:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 14:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 14:15:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:15:04] Production.INFO: count ==21
[2025-01-10 14:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:15:04] Production.INFO: count ==21
[2025-01-10 14:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217463') start
[2025-01-10 14:15:04] Production.ERROR: done
[2025-01-10 14:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217463') end
[2025-01-10 14:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 14:15:04] Production.INFO: 1
[2025-01-10 14:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 14:15:04] Production.INFO: ==26169== Releasing lock...
[2025-01-10 14:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 14:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 14:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 11:15:05
[end_date_ymd] => 2025-01-10 14:15:05
[RateCDR] => 1
)
[2025-01-10 14:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 11:15:05' and `end` < '2025-01-10 14:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 14:15:12] Production.ERROR: CronJobId end10
[2025-01-10 14:15:12] Production.INFO: ==26163== Releasing lock...
[2025-01-10 14:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 14:15:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 14:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 14:15:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 14:15:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 14:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 14:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 14:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 14:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 14:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 14:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 14:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 14:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 14:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 14:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 14:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 14:15:14] Production.INFO: call_cost start
[2025-01-10 14:15:14] Production.INFO: call_cost end
[2025-01-10 14:15:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 14:15:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 14:15:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 14:15:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 14:15:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 14:15:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 14:15:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 14:15:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 14:15:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 14:15:15] Production.INFO: ==26159== Releasing lock...
[2025-01-10 14:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 14:15:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 14:15:19] Production.INFO: count ==4173
[2025-01-10 14:15:20] Production.ERROR: pbx CDR StartTime 2025-01-10 11:15:05 - End Time 2025-01-10 14:15:05
[2025-01-10 14:15:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 14:15:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217464', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:15:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217464', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:15:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217464', 'tblTempVendorCDR_20' ) start
[2025-01-10 14:15:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217464', 'tblTempVendorCDR_20' ) end
[2025-01-10 14:15:21] Production.INFO: ProcessCDR(1,14217464,1,1,2)
[2025-01-10 14:15:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217464,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:15:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217464,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:15:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217464,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:15:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217464,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:15:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217464', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:15:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217464', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:15:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:15:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:15:25] Production.INFO: ==26167== Releasing lock...
[2025-01-10 14:15:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 14:15:25] Production.INFO: 59.25 MB #Memory Used#
[2025-01-10 19:16:01] Production.INFO: ==26224== Lock acquired, processing the job...
[2025-01-10 19:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 19:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 19:16:01] Production.INFO: neon service started
[2025-01-10 19:16:01] Production.INFO: neon service started
[2025-01-10 19:16:01] Production.INFO: ==26224== Releasing lock...
[2025-01-10 19:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 19:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 19:16:02] Production.INFO: ==26228== Lock acquired, processing the job...
[2025-01-10 19:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 19:16:02] Production.INFO: ==26228== Releasing lock...
[2025-01-10 19:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 19:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 14:16:02] Production.INFO: ==26226== Lock acquired, processing the job...
[2025-01-10 14:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 14:16:02] Production.INFO: ==26226== Releasing lock...
[2025-01-10 14:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 14:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 14:16:03] Production.INFO: ==26233== Lock acquired, processing the job...
[2025-01-10 14:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 14:16:03] Production.INFO: ==26237== Lock acquired, processing the job...
[2025-01-10 14:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 14:16:03] Production.INFO: ==26239== Lock acquired, processing the job...
[2025-01-10 14:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 14:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:16:03] Production.INFO: Account Balance Start.
[2025-01-10 14:16:03] Production.INFO: CreateAllLog Start
[2025-01-10 14:16:03] Production.INFO: 117
[2025-01-10 14:16:03] Production.INFO: Date 2025-01-08
[2025-01-10 14:16:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:16:03] Production.INFO: Date 2025-01-09
[2025-01-10 14:16:03] Production.INFO: ==26233== Releasing lock...
[2025-01-10 14:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 14:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 14:16:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:16:03] Production.INFO: ==26231== Lock acquired, processing the job...
[2025-01-10 14:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 14:16:03] Production.INFO: ==26235== Lock acquired, processing the job...
[2025-01-10 14:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 14:16:03] Production.INFO: Date 2025-01-10
[2025-01-10 14:16:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:16:03] Production.INFO: ==26241== Lock acquired, processing the job...
[2025-01-10 14:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 14:16:03] Production.INFO: Total Charge 0
[2025-01-10 14:16:03] Production.INFO: CreateAllLog End
[2025-01-10 14:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 14:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 14:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 14:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 14:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 14:16:03] Production.ERROR: done
[2025-01-10 14:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:16:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 14:16:04] Production.INFO: Account Balance End.
[2025-01-10 14:16:04] Production.INFO: count ==21
[2025-01-10 14:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:16:04] Production.INFO: count ==21
[2025-01-10 14:16:04] Production.ERROR: CronJobId end 12
[2025-01-10 14:16:04] Production.INFO: ==26237== Releasing lock...
[2025-01-10 14:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 14:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 14:16:04] Production.ERROR: done
[2025-01-10 14:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217467') start
[2025-01-10 14:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217467') end
[2025-01-10 14:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 14:16:04] Production.INFO: 1
[2025-01-10 14:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 14:16:04] Production.INFO: ==26241== Releasing lock...
[2025-01-10 14:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 14:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 14:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 11:16:05
[end_date_ymd] => 2025-01-10 14:16:05
[RateCDR] => 1
)
[2025-01-10 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-01-10 11:16:05' and `end` < '2025-01-10 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-01-10 14:16:10] Production.ERROR: CronJobId end10
[2025-01-10 14:16:10] Production.INFO: ==26235== Releasing lock...
[2025-01-10 14:16:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 14:16:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 14:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 14:16:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 14:16:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 14:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 14:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 14:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 14:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 14:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 14:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 14:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 14:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 14:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 14:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 14:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 14:16:13] Production.INFO: call_cost start
[2025-01-10 14:16:13] Production.INFO: call_cost end
[2025-01-10 14:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 14:16:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 14:16:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 14:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 14:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 14:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 14:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 14:16:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 14:16:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 14:16:14] Production.INFO: ==26231== Releasing lock...
[2025-01-10 14:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 14:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 14:16:28] Production.INFO: count ==4183
[2025-01-10 14:16:30] Production.ERROR: pbx CDR StartTime 2025-01-10 11:16:05 - End Time 2025-01-10 14:16:05
[2025-01-10 14:16:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 14:16:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217469', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:16:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217469', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:16:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217469', 'tblTempVendorCDR_20' ) start
[2025-01-10 14:16:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217469', 'tblTempVendorCDR_20' ) end
[2025-01-10 14:16:30] Production.INFO: ProcessCDR(1,14217469,1,1,2)
[2025-01-10 14:16:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217469,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:16:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217469,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:16:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217469,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:16:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217469,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:16:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217469', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:16:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217469', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:16:35] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:16:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:16:35] Production.INFO: ==26239== Releasing lock...
[2025-01-10 14:16:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 14:16:35] Production.INFO: 59.25 MB #Memory Used#
[2025-01-10 19:17:02] Production.INFO: ==26295== Lock acquired, processing the job...
[2025-01-10 19:17:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 19:17:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 19:17:02] Production.INFO: neon service started
[2025-01-10 19:17:02] Production.INFO: neon service started
[2025-01-10 19:17:02] Production.INFO: ==26295== Releasing lock...
[2025-01-10 19:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 19:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:17:02] Production.INFO: ==26297== Lock acquired, processing the job...
[2025-01-10 14:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 14:17:02] Production.INFO: ==26297== Releasing lock...
[2025-01-10 14:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 14:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 19:17:03] Production.INFO: ==26299== Lock acquired, processing the job...
[2025-01-10 19:17:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 19:17:03] Production.INFO: ==26299== Releasing lock...
[2025-01-10 19:17:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 19:17:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 14:17:03] Production.INFO: ==26302== Lock acquired, processing the job...
[2025-01-10 14:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 14:17:03] Production.INFO: ==26304== Lock acquired, processing the job...
[2025-01-10 14:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 14:17:03] Production.INFO: ==26306== Lock acquired, processing the job...
[2025-01-10 14:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 14:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 14:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 14:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 14:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 14:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 14:17:04] Production.INFO: ==26310== Lock acquired, processing the job...
[2025-01-10 14:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 14:17:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:17:04] Production.INFO: ==26312== Lock acquired, processing the job...
[2025-01-10 14:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 14:17:04] Production.INFO: ==26308== Lock acquired, processing the job...
[2025-01-10 14:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 14:17:04] Production.INFO: ==26304== Releasing lock...
[2025-01-10 14:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 14:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 14:17:04] Production.INFO: Account Balance Start.
[2025-01-10 14:17:04] Production.INFO: CreateAllLog Start
[2025-01-10 14:17:04] Production.INFO: 117
[2025-01-10 14:17:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:17:04] Production.INFO: count ==21
[2025-01-10 14:17:04] Production.INFO: Date 2025-01-08
[2025-01-10 14:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:17:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:17:04] Production.INFO: count ==21
[2025-01-10 14:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217473') start
[2025-01-10 14:17:04] Production.ERROR: done
[2025-01-10 14:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 14:17:04] Production.INFO: Date 2025-01-09
[2025-01-10 14:17:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217473') end
[2025-01-10 14:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 14:17:04] Production.INFO: 1
[2025-01-10 14:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 14:17:04] Production.INFO: ==26312== Releasing lock...
[2025-01-10 14:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 14:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 14:17:04] Production.ERROR: done
[2025-01-10 14:17:04] Production.INFO: Date 2025-01-10
[2025-01-10 14:17:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:17:04] Production.INFO: Total Charge 0
[2025-01-10 14:17:04] Production.INFO: CreateAllLog End
[2025-01-10 14:17:05] Production.INFO: Account Balance End.
[2025-01-10 14:17:05] Production.ERROR: CronJobId end 12
[2025-01-10 14:17:05] Production.INFO: ==26308== Releasing lock...
[2025-01-10 14:17:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 14:17:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 14:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 11:17:05
[end_date_ymd] => 2025-01-10 14:17:05
[RateCDR] => 1
)
[2025-01-10 14:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 11:17:05' and `end` < '2025-01-10 14:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 14:17:12] Production.ERROR: CronJobId end10
[2025-01-10 14:17:12] Production.INFO: ==26306== Releasing lock...
[2025-01-10 14:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 14:17:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 14:17:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 14:17:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 14:17:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 14:17:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 14:17:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 14:17:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 14:17:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 14:17:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 14:17:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 14:17:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 14:17:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 14:17:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 14:17:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 14:17:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 14:17:13] Production.INFO: call_cost start
[2025-01-10 14:17:13] Production.INFO: call_cost end
[2025-01-10 14:17:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 14:17:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 14:17:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 14:17:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 14:17:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 14:17:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 14:17:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 14:17:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 14:17:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 14:17:14] Production.INFO: ==26302== Releasing lock...
[2025-01-10 14:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 14:17:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 14:17:24] Production.INFO: count ==4173
[2025-01-10 14:17:26] Production.ERROR: pbx CDR StartTime 2025-01-10 11:17:05 - End Time 2025-01-10 14:17:05
[2025-01-10 14:17:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 14:17:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217474', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:17:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217474', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:17:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217474', 'tblTempVendorCDR_20' ) start
[2025-01-10 14:17:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217474', 'tblTempVendorCDR_20' ) end
[2025-01-10 14:17:26] Production.INFO: ProcessCDR(1,14217474,1,1,2)
[2025-01-10 14:17:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217474,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:17:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217474,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:17:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217474,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:17:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217474,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:17:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217474', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:17:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217474', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:17:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:17:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:17:31] Production.INFO: ==26310== Releasing lock...
[2025-01-10 14:17:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 14:17:31] Production.INFO: 59.25 MB #Memory Used#
[2025-01-10 19:18:01] Production.INFO: ==26365== Lock acquired, processing the job...
[2025-01-10 19:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 19:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 19:18:01] Production.INFO: neon service started
[2025-01-10 19:18:01] Production.INFO: neon service started
[2025-01-10 19:18:01] Production.INFO: ==26365== Releasing lock...
[2025-01-10 19:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 19:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:18:02] Production.INFO: ==26367== Lock acquired, processing the job...
[2025-01-10 14:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 19:18:02] Production.INFO: ==26369== Lock acquired, processing the job...
[2025-01-10 19:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 19:18:02] Production.INFO: ==26369== Releasing lock...
[2025-01-10 19:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 19:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 14:18:02] Production.INFO: ==26367== Releasing lock...
[2025-01-10 14:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 14:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 14:18:03] Production.INFO: ==26376== Lock acquired, processing the job...
[2025-01-10 14:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 14:18:03] Production.INFO: ==26372== Lock acquired, processing the job...
[2025-01-10 14:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 14:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 14:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 14:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 14:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 14:18:03] Production.INFO: ==26380== Lock acquired, processing the job...
[2025-01-10 14:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 14:18:03] Production.INFO: ==26374== Lock acquired, processing the job...
[2025-01-10 14:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 14:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 14:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:18:03] Production.INFO: ==26378== Lock acquired, processing the job...
[2025-01-10 14:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 14:18:03] Production.INFO: ==26382== Lock acquired, processing the job...
[2025-01-10 14:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 14:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:18:04] Production.INFO: Account Balance Start.
[2025-01-10 14:18:04] Production.INFO: CreateAllLog Start
[2025-01-10 14:18:04] Production.INFO: count ==21
[2025-01-10 14:18:04] Production.INFO: 117
[2025-01-10 14:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:18:04] Production.INFO: count ==21
[2025-01-10 14:18:04] Production.INFO: ==26374== Releasing lock...
[2025-01-10 14:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 14:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 14:18:04] Production.ERROR: done
[2025-01-10 14:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 14:18:04] Production.INFO: Date 2025-01-08
[2025-01-10 14:18:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217478') start
[2025-01-10 14:18:04] Production.INFO: Date 2025-01-09
[2025-01-10 14:18:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:18:04] Production.ERROR: done
[2025-01-10 14:18:04] Production.INFO: Date 2025-01-10
[2025-01-10 14:18:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217478') end
[2025-01-10 14:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 14:18:04] Production.INFO: 1
[2025-01-10 14:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 14:18:04] Production.INFO: ==26382== Releasing lock...
[2025-01-10 14:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 14:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 14:18:04] Production.INFO: Total Charge 0
[2025-01-10 14:18:04] Production.INFO: CreateAllLog End
[2025-01-10 14:18:04] Production.INFO: Account Balance End.
[2025-01-10 14:18:04] Production.ERROR: CronJobId end 12
[2025-01-10 14:18:04] Production.INFO: ==26378== Releasing lock...
[2025-01-10 14:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 14:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 14:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 11:18:05
[end_date_ymd] => 2025-01-10 14:18:05
[RateCDR] => 1
)
[2025-01-10 14:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 11:18:05' and `end` < '2025-01-10 14:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 14:18:11] Production.ERROR: CronJobId end10
[2025-01-10 14:18:11] Production.INFO: ==26376== Releasing lock...
[2025-01-10 14:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 14:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 14:18:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 14:18:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 14:18:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 14:18:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 14:18:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 14:18:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 14:18:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 14:18:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 14:18:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 14:18:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 14:18:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 14:18:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 14:18:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 14:18:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 14:18:12] Production.INFO: call_cost start
[2025-01-10 14:18:12] Production.INFO: call_cost end
[2025-01-10 14:18:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 14:18:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 14:18:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 14:18:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 14:18:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 14:18:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 14:18:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 14:18:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 14:18:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 14:18:13] Production.INFO: ==26372== Releasing lock...
[2025-01-10 14:18:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 14:18:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 14:18:26] Production.INFO: count ==4182
[2025-01-10 14:18:27] Production.ERROR: pbx CDR StartTime 2025-01-10 11:18:05 - End Time 2025-01-10 14:18:05
[2025-01-10 14:18:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 14:18:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217479', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:18:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217479', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:18:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217479', 'tblTempVendorCDR_20' ) start
[2025-01-10 14:18:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217479', 'tblTempVendorCDR_20' ) end
[2025-01-10 14:18:27] Production.INFO: ProcessCDR(1,14217479,1,1,2)
[2025-01-10 14:18:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217479,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:18:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217479,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:18:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217479,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:18:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217479,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:18:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217479', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:18:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217479', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:18:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:18:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:18:32] Production.INFO: ==26380== Releasing lock...
[2025-01-10 14:18:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 14:18:32] Production.INFO: 59.5 MB #Memory Used#
[2025-01-10 19:19:02] Production.INFO: ==26437== Lock acquired, processing the job...
[2025-01-10 19:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 19:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 19:19:02] Production.INFO: neon service started
[2025-01-10 19:19:02] Production.INFO: neon service started
[2025-01-10 19:19:02] Production.INFO: ==26437== Releasing lock...
[2025-01-10 19:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 19:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:19:02] Production.INFO: ==26439== Lock acquired, processing the job...
[2025-01-10 14:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 14:19:02] Production.INFO: ==26439== Releasing lock...
[2025-01-10 14:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 14:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 19:19:02] Production.INFO: ==26441== Lock acquired, processing the job...
[2025-01-10 19:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 19:19:02] Production.INFO: ==26441== Releasing lock...
[2025-01-10 19:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 19:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 14:19:03] Production.INFO: ==26449== Lock acquired, processing the job...
[2025-01-10 14:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 14:19:03] Production.INFO: ==26443== Lock acquired, processing the job...
[2025-01-10 14:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 14:19:03] Production.INFO: ==26453== Lock acquired, processing the job...
[2025-01-10 14:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 14:19:03] Production.INFO: Account Balance Start.
[2025-01-10 14:19:03] Production.INFO: CreateAllLog Start
[2025-01-10 14:19:03] Production.INFO: 117
[2025-01-10 14:19:03] Production.INFO: Date 2025-01-08
[2025-01-10 14:19:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:19:03] Production.INFO: Date 2025-01-09
[2025-01-10 14:19:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 14:19:03] Production.INFO: Date 2025-01-10
[2025-01-10 14:19:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:19:03] Production.INFO: ==26447== Lock acquired, processing the job...
[2025-01-10 14:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 14:19:03] Production.INFO: ==26445== Lock acquired, processing the job...
[2025-01-10 14:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 14:19:03] Production.INFO: Total Charge 0
[2025-01-10 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-01-10 14:19:03] Production.INFO: ==26451== Lock acquired, processing the job...
[2025-01-10 14:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 14:19:03] Production.INFO: CreateAllLog End
[2025-01-10 14:19:03] Production.INFO: count ==21
[2025-01-10 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-01-10 14:19:03] Production.INFO: count ==21
[2025-01-10 14:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217481') start
[2025-01-10 14:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 14:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 14:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 14:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 14:19:04] Production.INFO: Account Balance End.
[2025-01-10 14:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217481') end
[2025-01-10 14:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 14:19:04] Production.INFO: 1
[2025-01-10 14:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 14:19:04] Production.ERROR: CronJobId end 12
[2025-01-10 14:19:04] Production.INFO: ==26449== Releasing lock...
[2025-01-10 14:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 14:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 14:19:04] Production.INFO: ==26453== Releasing lock...
[2025-01-10 14:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 14:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 14:19:04] Production.ERROR: done
[2025-01-10 14:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 14:19:04] Production.INFO: ==26445== Releasing lock...
[2025-01-10 14:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 14:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 14:19:04] Production.ERROR: done
[2025-01-10 14:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 11:19:05
[end_date_ymd] => 2025-01-10 14:19:05
[RateCDR] => 1
)
[2025-01-10 14:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 11:19:05' and `end` < '2025-01-10 14:19:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 14:19:12] Production.ERROR: CronJobId end10
[2025-01-10 14:19:12] Production.INFO: ==26447== Releasing lock...
[2025-01-10 14:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 14:19:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 14:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 14:19:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 14:19:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 14:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 14:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 14:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 14:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 14:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 14:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 14:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 14:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 14:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 14:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 14:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 14:19:13] Production.INFO: call_cost start
[2025-01-10 14:19:13] Production.INFO: call_cost end
[2025-01-10 14:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 14:19:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 14:19:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 14:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 14:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 14:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 14:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 14:19:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 14:19:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 14:19:14] Production.INFO: ==26443== Releasing lock...
[2025-01-10 14:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 14:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 14:19:23] Production.INFO: count ==4188
[2025-01-10 14:19:25] Production.ERROR: pbx CDR StartTime 2025-01-10 11:19:05 - End Time 2025-01-10 14:19:05
[2025-01-10 14:19:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 14:19:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217484', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:19:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217484', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:19:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217484', 'tblTempVendorCDR_20' ) start
[2025-01-10 14:19:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217484', 'tblTempVendorCDR_20' ) end
[2025-01-10 14:19:25] Production.INFO: ProcessCDR(1,14217484,1,1,2)
[2025-01-10 14:19:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217484,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:19:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217484,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:19:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217484,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:19:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217484,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:19:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217484', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:19:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217484', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:19:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:19:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:19:30] Production.INFO: ==26451== Releasing lock...
[2025-01-10 14:19:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 14:19:30] Production.INFO: 59.25 MB #Memory Used#
[2025-01-10 19:20:01] Production.INFO: ==26549== Lock acquired, processing the job...
[2025-01-10 19:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 19:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 19:20:01] Production.INFO: neon service started
[2025-01-10 19:20:01] Production.INFO: neon service started
[2025-01-10 19:20:01] Production.INFO: ==26549== Releasing lock...
[2025-01-10 19:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 19:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:20:02] Production.INFO: ==26551== Lock acquired, processing the job...
[2025-01-10 14:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 19:20:02] Production.INFO: ==26553== Lock acquired, processing the job...
[2025-01-10 19:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 19:20:02] Production.INFO: ==26553== Releasing lock...
[2025-01-10 19:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 19:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 14:20:02] Production.INFO: ==26551== Releasing lock...
[2025-01-10 14:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 14:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 14:20:03] Production.INFO: ==26562== Lock acquired, processing the job...
[2025-01-10 14:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 14:20:03] Production.INFO: ==26556== Lock acquired, processing the job...
[2025-01-10 14:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 14:20:03] Production.INFO: ==26558== Lock acquired, processing the job...
[2025-01-10 14:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 14:20:03] Production.INFO: ==26560== Lock acquired, processing the job...
[2025-01-10 14:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 14:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 14:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 14:20:03] Production.ERROR: CronJob PID - 26562
[2025-01-10 14:20:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-10 14:20:03] Production.ERROR: CronJob ID - 10
[2025-01-10 14:20:03] Production.ERROR: CronJob Last Run Time 2025-01-10 14:20:00
[2025-01-10 14:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 14:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 14:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 14:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 14:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 14:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 14:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 14:20:03] Production.INFO: ==26556== Releasing lock...
[2025-01-10 14:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 14:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 14:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 14:20:03] Production.INFO: ==26566== Lock acquired, processing the job...
[2025-01-10 14:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 14:20:04] Production.INFO: ==26564== Lock acquired, processing the job...
[2025-01-10 14:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 14:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:20:04] Production.INFO: ==26570== Lock acquired, processing the job...
[2025-01-10 14:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 14:20:04] Production.INFO: ==26568== Lock acquired, processing the job...
[2025-01-10 14:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 14:20:04] Production.INFO: Account Balance Start.
[2025-01-10 14:20:04] Production.INFO: CreateAllLog Start
[2025-01-10 14:20:04] Production.INFO: 117
[2025-01-10 14:20:04] Production.INFO: Date 2025-01-08
[2025-01-10 14:20:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:20:04] Production.INFO: ==26560== Releasing lock...
[2025-01-10 14:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 14:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 14:20:04] Production.INFO: Date 2025-01-09
[2025-01-10 14:20:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:20:04] Production.INFO: Date 2025-01-10
[2025-01-10 14:20:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:20:04] Production.INFO: count ==21
[2025-01-10 14:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:20:04] Production.INFO: count ==21
[2025-01-10 14:20:04] Production.INFO: Total Charge 0
[2025-01-10 14:20:04] Production.INFO: CreateAllLog End
[2025-01-10 14:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217488') start
[2025-01-10 14:20:04] Production.ERROR: done
[2025-01-10 14:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 14:20:04] Production.INFO: Account Balance End.
[2025-01-10 14:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217488') end
[2025-01-10 14:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 14:20:04] Production.INFO: 1
[2025-01-10 14:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 14:20:04] Production.ERROR: CronJobId end 12
[2025-01-10 14:20:04] Production.INFO: ==26564== Releasing lock...
[2025-01-10 14:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 14:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 14:20:04] Production.INFO: ==26570== Releasing lock...
[2025-01-10 14:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 14:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 14:20:04] Production.ERROR: done
[2025-01-10 14:20:04] Production.ERROR: done
[2025-01-10 14:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 14:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14217489', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 14:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 11:20:05
[end_date_ymd] => 2025-01-10 14:20:05
[RateCDR] => 1
)
[2025-01-10 14:20:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 11:20:05' and `end` < '2025-01-10 14:20:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 14:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14217489', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 14:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 14:20:09] Production.INFO: ProcessCDR(1,14217489,1,1,2)
[2025-01-10 14:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14217489,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14217489,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:20:09] Production.INFO: ==26568== Releasing lock...
[2025-01-10 14:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 14:20:09] Production.INFO: 26 MB #Memory Used#
[2025-01-10 14:20:14] Production.ERROR: CronJobId end10
[2025-01-10 14:20:14] Production.INFO: ==26562== Releasing lock...
[2025-01-10 14:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 14:20:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 14:20:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 14:20:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 14:20:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 14:20:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 14:20:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 14:20:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 14:20:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 14:20:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 14:20:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 14:20:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 14:20:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 14:20:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 14:20:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 14:20:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 14:20:15] Production.INFO: call_cost start
[2025-01-10 14:20:15] Production.INFO: call_cost end
[2025-01-10 14:20:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 14:20:16] Production.INFO: ============== Report Schedule START===========
[2025-01-10 14:20:16] Production.INFO: ============== Report Schedule END===========
[2025-01-10 14:20:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 14:20:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 14:20:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 14:20:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 14:20:16] Production.INFO: ============== Deal alert START===========
[2025-01-10 14:20:16] Production.INFO: ============== Deal alert END===========
[2025-01-10 14:20:16] Production.INFO: ==26558== Releasing lock...
[2025-01-10 14:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 14:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 14:20:26] Production.INFO: count ==4197
[2025-01-10 14:20:28] Production.ERROR: pbx CDR StartTime 2025-01-10 11:20:05 - End Time 2025-01-10 14:20:05
[2025-01-10 14:20:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 14:20:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217490', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:20:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217490', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:20:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217490', 'tblTempVendorCDR_20' ) start
[2025-01-10 14:20:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217490', 'tblTempVendorCDR_20' ) end
[2025-01-10 14:20:28] Production.INFO: ProcessCDR(1,14217490,1,1,2)
[2025-01-10 14:20:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217490,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:20:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217490,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:20:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217490,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:20:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217490,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:20:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217490', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:20:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217490', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:20:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:20:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:20:33] Production.INFO: ==26566== Releasing lock...
[2025-01-10 14:20:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 14:20:33] Production.INFO: 59.5 MB #Memory Used#
[2025-01-10 19:21:02] Production.INFO: ==26624== Lock acquired, processing the job...
[2025-01-10 19:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 19:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 19:21:02] Production.INFO: neon service started
[2025-01-10 19:21:02] Production.INFO: neon service started
[2025-01-10 19:21:02] Production.INFO: ==26624== Releasing lock...
[2025-01-10 19:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 19:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:21:02] Production.INFO: ==26626== Lock acquired, processing the job...
[2025-01-10 14:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 14:21:02] Production.INFO: ==26626== Releasing lock...
[2025-01-10 14:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 14:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 19:21:02] Production.INFO: ==26628== Lock acquired, processing the job...
[2025-01-10 19:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 19:21:02] Production.INFO: ==26628== Releasing lock...
[2025-01-10 19:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 19:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 14:21:03] Production.INFO: ==26630== Lock acquired, processing the job...
[2025-01-10 14:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 14:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 14:21:03] Production.INFO: ==26641== Lock acquired, processing the job...
[2025-01-10 14:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 14:21:03] Production.INFO: ==26639== Lock acquired, processing the job...
[2025-01-10 14:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 14:21:03] Production.INFO: ==26633== Lock acquired, processing the job...
[2025-01-10 14:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 14:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:21:03] Production.INFO: ==26635== Lock acquired, processing the job...
[2025-01-10 14:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 14:21:03] Production.INFO: ==26637== Lock acquired, processing the job...
[2025-01-10 14:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 14:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:21:03] Production.INFO: count ==21
[2025-01-10 14:21:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:21:03] Production.INFO: count ==21
[2025-01-10 14:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217492') start
[2025-01-10 14:21:03] Production.INFO: Account Balance Start.
[2025-01-10 14:21:03] Production.INFO: CreateAllLog Start
[2025-01-10 14:21:04] Production.INFO: 117
[2025-01-10 14:21:04] Production.INFO: Date 2025-01-08
[2025-01-10 14:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 14:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 14:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 14:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 14:21:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217492') end
[2025-01-10 14:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 14:21:04] Production.INFO: 1
[2025-01-10 14:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 14:21:04] Production.INFO: Date 2025-01-09
[2025-01-10 14:21:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:21:04] Production.ERROR: done
[2025-01-10 14:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 14:21:04] Production.INFO: ==26641== Releasing lock...
[2025-01-10 14:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 14:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 14:21:04] Production.INFO: ==26633== Releasing lock...
[2025-01-10 14:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 14:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 14:21:04] Production.INFO: Date 2025-01-10
[2025-01-10 14:21:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:21:04] Production.INFO: Total Charge 0
[2025-01-10 14:21:04] Production.INFO: CreateAllLog End
[2025-01-10 14:21:04] Production.ERROR: done
[2025-01-10 14:21:04] Production.INFO: Account Balance End.
[2025-01-10 14:21:04] Production.ERROR: CronJobId end 12
[2025-01-10 14:21:04] Production.INFO: ==26637== Releasing lock...
[2025-01-10 14:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 14:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 14:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 11:21:05
[end_date_ymd] => 2025-01-10 14:21:05
[RateCDR] => 1
)
[2025-01-10 14:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 11:21:05' and `end` < '2025-01-10 14:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 14:21:12] Production.ERROR: CronJobId end10
[2025-01-10 14:21:12] Production.INFO: ==26635== Releasing lock...
[2025-01-10 14:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 14:21:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 14:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 14:21:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 14:21:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 14:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 14:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 14:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 14:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 14:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 14:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 14:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 14:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 14:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 14:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 14:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 14:21:13] Production.INFO: call_cost start
[2025-01-10 14:21:13] Production.INFO: call_cost end
[2025-01-10 14:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 14:21:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 14:21:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 14:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 14:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 14:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 14:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 14:21:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 14:21:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 14:21:14] Production.INFO: ==26630== Releasing lock...
[2025-01-10 14:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 14:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 14:21:22] Production.INFO: count ==4267
[2025-01-10 14:21:24] Production.ERROR: pbx CDR StartTime 2025-01-10 11:21:05 - End Time 2025-01-10 14:21:05
[2025-01-10 14:21:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 14:21:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217495', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:21:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217495', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:21:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217495', 'tblTempVendorCDR_20' ) start
[2025-01-10 14:21:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217495', 'tblTempVendorCDR_20' ) end
[2025-01-10 14:21:24] Production.INFO: ProcessCDR(1,14217495,1,1,2)
[2025-01-10 14:21:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217495,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:21:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217495,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:21:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217495,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:21:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217495,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:21:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217495', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:21:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217495', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:21:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:21:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:21:29] Production.INFO: ==26639== Releasing lock...
[2025-01-10 14:21:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 14:21:29] Production.INFO: 60 MB #Memory Used#
[2025-01-10 19:22:01] Production.INFO: ==26693== Lock acquired, processing the job...
[2025-01-10 19:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 19:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 19:22:01] Production.INFO: neon service started
[2025-01-10 19:22:01] Production.INFO: neon service started
[2025-01-10 19:22:01] Production.INFO: ==26693== Releasing lock...
[2025-01-10 19:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 19:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:22:01] Production.INFO: ==26695== Lock acquired, processing the job...
[2025-01-10 14:22:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 14:22:02] Production.INFO: ==26695== Releasing lock...
[2025-01-10 14:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 14:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 19:22:02] Production.INFO: ==26697== Lock acquired, processing the job...
[2025-01-10 19:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 19:22:02] Production.INFO: ==26697== Releasing lock...
[2025-01-10 19:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 19:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 14:22:02] Production.INFO: ==26701== Lock acquired, processing the job...
[2025-01-10 14:22:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 14:22:03] Production.INFO: ==26709== Lock acquired, processing the job...
[2025-01-10 14:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 14:22:03] Production.INFO: ==26699== Lock acquired, processing the job...
[2025-01-10 14:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 14:22:03] Production.INFO: ==26703== Lock acquired, processing the job...
[2025-01-10 14:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 14:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:22:03] Production.INFO: ==26705== Lock acquired, processing the job...
[2025-01-10 14:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 14:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 14:22:03] Production.INFO: count ==21
[2025-01-10 14:22:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:22:03] Production.INFO: count ==21
[2025-01-10 14:22:03] Production.INFO: ==26707== Lock acquired, processing the job...
[2025-01-10 14:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 14:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217497') start
[2025-01-10 14:22:03] Production.INFO: ==26701== Releasing lock...
[2025-01-10 14:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 14:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 14:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 14:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 14:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 14:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 14:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:22:03] Production.INFO: Account Balance Start.
[2025-01-10 14:22:03] Production.INFO: CreateAllLog Start
[2025-01-10 14:22:03] Production.INFO: 117
[2025-01-10 14:22:03] Production.INFO: Date 2025-01-08
[2025-01-10 14:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217497') end
[2025-01-10 14:22:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 14:22:03] Production.INFO: 1
[2025-01-10 14:22:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 14:22:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:22:03] Production.INFO: ==26709== Releasing lock...
[2025-01-10 14:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 14:22:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 14:22:03] Production.INFO: Date 2025-01-09
[2025-01-10 14:22:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:22:03] Production.ERROR: done
[2025-01-10 14:22:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 14:22:03] Production.INFO: Date 2025-01-10
[2025-01-10 14:22:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:22:03] Production.INFO: Total Charge 0
[2025-01-10 14:22:03] Production.INFO: CreateAllLog End
[2025-01-10 14:22:03] Production.ERROR: done
[2025-01-10 14:22:04] Production.INFO: Account Balance End.
[2025-01-10 14:22:04] Production.ERROR: CronJobId end 12
[2025-01-10 14:22:04] Production.INFO: ==26705== Releasing lock...
[2025-01-10 14:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 14:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 14:22:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 11:22:04
[end_date_ymd] => 2025-01-10 14:22:04
[RateCDR] => 1
)
[2025-01-10 14:22:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 11:22:04' and `end` < '2025-01-10 14:22:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 14:22:11] Production.ERROR: CronJobId end10
[2025-01-10 14:22:11] Production.INFO: ==26703== Releasing lock...
[2025-01-10 14:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 14:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 14:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 14:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 14:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 14:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 14:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 14:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 14:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 14:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 14:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 14:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 14:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 14:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 14:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 14:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 14:22:13] Production.INFO: call_cost start
[2025-01-10 14:22:13] Production.INFO: call_cost end
[2025-01-10 14:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 14:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 14:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 14:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 14:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 14:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 14:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 14:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 14:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 14:22:14] Production.INFO: ==26699== Releasing lock...
[2025-01-10 14:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 14:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 14:22:18] Production.INFO: count ==4253
[2025-01-10 14:22:20] Production.ERROR: pbx CDR StartTime 2025-01-10 11:22:04 - End Time 2025-01-10 14:22:04
[2025-01-10 14:22:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 14:22:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217500', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:22:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217500', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:22:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217500', 'tblTempVendorCDR_20' ) start
[2025-01-10 14:22:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217500', 'tblTempVendorCDR_20' ) end
[2025-01-10 14:22:20] Production.INFO: ProcessCDR(1,14217500,1,1,2)
[2025-01-10 14:22:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217500,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:22:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217500,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:22:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217500,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:22:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217500,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:22:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217500', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:22:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217500', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:22:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:22:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:22:24] Production.INFO: ==26707== Releasing lock...
[2025-01-10 14:22:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 14:22:24] Production.INFO: 59.75 MB #Memory Used#
[2025-01-10 19:23:01] Production.INFO: ==26765== Lock acquired, processing the job...
[2025-01-10 19:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 19:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 19:23:01] Production.INFO: neon service started
[2025-01-10 19:23:01] Production.INFO: neon service started
[2025-01-10 19:23:01] Production.INFO: ==26765== Releasing lock...
[2025-01-10 19:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 19:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:23:02] Production.INFO: ==26767== Lock acquired, processing the job...
[2025-01-10 14:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 14:23:02] Production.INFO: ==26767== Releasing lock...
[2025-01-10 14:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 14:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 19:23:02] Production.INFO: ==26769== Lock acquired, processing the job...
[2025-01-10 19:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 19:23:02] Production.INFO: ==26769== Releasing lock...
[2025-01-10 19:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 19:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 14:23:03] Production.INFO: ==26773== Lock acquired, processing the job...
[2025-01-10 14:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 14:23:03] Production.INFO: ==26771== Lock acquired, processing the job...
[2025-01-10 14:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 14:23:03] Production.INFO: ==26779== Lock acquired, processing the job...
[2025-01-10 14:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 14:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 14:23:03] Production.INFO: ==26775== Lock acquired, processing the job...
[2025-01-10 14:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 14:23:03] Production.INFO: ==26773== Releasing lock...
[2025-01-10 14:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 14:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 14:23:03] Production.INFO: ==26777== Lock acquired, processing the job...
[2025-01-10 14:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 14:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 14:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 14:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 14:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 14:23:03] Production.INFO: ==26781== Lock acquired, processing the job...
[2025-01-10 14:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 14:23:03] Production.INFO: Account Balance Start.
[2025-01-10 14:23:03] Production.INFO: CreateAllLog Start
[2025-01-10 14:23:03] Production.INFO: 117
[2025-01-10 14:23:03] Production.INFO: Date 2025-01-08
[2025-01-10 14:23:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:23:03] Production.ERROR: done
[2025-01-10 14:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 14:23:03] Production.INFO: Date 2025-01-09
[2025-01-10 14:23:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:23:03] Production.INFO: Date 2025-01-10
[2025-01-10 14:23:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:23:04] Production.INFO: count ==21
[2025-01-10 14:23:04] Production.ERROR: done
[2025-01-10 14:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:23:04] Production.INFO: count ==21
[2025-01-10 14:23:04] Production.INFO: Total Charge 0
[2025-01-10 14:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217504') start
[2025-01-10 14:23:04] Production.INFO: CreateAllLog End
[2025-01-10 14:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217504') end
[2025-01-10 14:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 14:23:04] Production.INFO: 1
[2025-01-10 14:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 14:23:04] Production.INFO: Account Balance End.
[2025-01-10 14:23:04] Production.ERROR: CronJobId end 12
[2025-01-10 14:23:04] Production.INFO: ==26777== Releasing lock...
[2025-01-10 14:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 14:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 14:23:04] Production.INFO: ==26781== Releasing lock...
[2025-01-10 14:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 14:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 14:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 11:23:05
[end_date_ymd] => 2025-01-10 14:23:05
[RateCDR] => 1
)
[2025-01-10 14:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 11:23:05' and `end` < '2025-01-10 14:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 14:23:11] Production.ERROR: CronJobId end10
[2025-01-10 14:23:11] Production.INFO: ==26775== Releasing lock...
[2025-01-10 14:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 14:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 14:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 14:23:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 14:23:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 14:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 14:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 14:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 14:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 14:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 14:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 14:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 14:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 14:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 14:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 14:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 14:23:13] Production.INFO: call_cost start
[2025-01-10 14:23:13] Production.INFO: call_cost end
[2025-01-10 14:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 14:23:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 14:23:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 14:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 14:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 14:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 14:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 14:23:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 14:23:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 14:23:14] Production.INFO: ==26771== Releasing lock...
[2025-01-10 14:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 14:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 14:23:20] Production.INFO: count ==4265
[2025-01-10 14:23:21] Production.ERROR: pbx CDR StartTime 2025-01-10 11:23:05 - End Time 2025-01-10 14:23:05
[2025-01-10 14:23:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 14:23:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217505', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:23:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217505', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:23:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217505', 'tblTempVendorCDR_20' ) start
[2025-01-10 14:23:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217505', 'tblTempVendorCDR_20' ) end
[2025-01-10 14:23:22] Production.INFO: ProcessCDR(1,14217505,1,1,2)
[2025-01-10 14:23:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217505,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:23:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217505,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:23:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217505,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:23:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217505,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:23:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217505', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:23:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217505', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:23:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:23:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:23:26] Production.INFO: ==26779== Releasing lock...
[2025-01-10 14:23:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 14:23:26] Production.INFO: 60 MB #Memory Used#
[2025-01-10 19:24:02] Production.INFO: ==26836== Lock acquired, processing the job...
[2025-01-10 19:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 19:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 19:24:02] Production.INFO: neon service started
[2025-01-10 19:24:02] Production.INFO: neon service started
[2025-01-10 19:24:02] Production.INFO: ==26836== Releasing lock...
[2025-01-10 19:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 19:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 19:24:02] Production.INFO: ==26840== Lock acquired, processing the job...
[2025-01-10 19:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 19:24:02] Production.INFO: ==26840== Releasing lock...
[2025-01-10 19:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 19:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 14:24:02] Production.INFO: ==26838== Lock acquired, processing the job...
[2025-01-10 14:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 14:24:03] Production.INFO: ==26838== Releasing lock...
[2025-01-10 14:24:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 14:24:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 14:24:03] Production.INFO: ==26842== Lock acquired, processing the job...
[2025-01-10 14:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 14:24:03] Production.INFO: ==26847== Lock acquired, processing the job...
[2025-01-10 14:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 14:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 14:24:04] Production.INFO: ==26849== Lock acquired, processing the job...
[2025-01-10 14:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 14:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 14:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 14:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 14:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 14:24:04] Production.INFO: Account Balance Start.
[2025-01-10 14:24:04] Production.INFO: CreateAllLog Start
[2025-01-10 14:24:04] Production.INFO: 117
[2025-01-10 14:24:04] Production.INFO: Date 2025-01-08
[2025-01-10 14:24:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:24:04] Production.INFO: Date 2025-01-09
[2025-01-10 14:24:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:24:04] Production.INFO: ==26844== Lock acquired, processing the job...
[2025-01-10 14:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 14:24:04] Production.INFO: Date 2025-01-10
[2025-01-10 14:24:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:24:04] Production.INFO: Total Charge 0
[2025-01-10 14:24:04] Production.INFO: CreateAllLog End
[2025-01-10 14:24:04] Production.INFO: ==26851== Lock acquired, processing the job...
[2025-01-10 14:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 14:24:04] Production.INFO: ==26853== Lock acquired, processing the job...
[2025-01-10 14:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 14:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:24:04] Production.INFO: Account Balance End.
[2025-01-10 14:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:24:04] Production.ERROR: CronJobId end 12
[2025-01-10 14:24:04] Production.INFO: ==26849== Releasing lock...
[2025-01-10 14:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 14:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 14:24:04] Production.INFO: count ==21
[2025-01-10 14:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:24:04] Production.INFO: count ==21
[2025-01-10 14:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217509') start
[2025-01-10 14:24:04] Production.INFO: ==26844== Releasing lock...
[2025-01-10 14:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 14:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 14:24:04] Production.ERROR: done
[2025-01-10 14:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217509') end
[2025-01-10 14:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 14:24:04] Production.INFO: 1
[2025-01-10 14:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 14:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 14:24:05] Production.ERROR: done
[2025-01-10 14:24:05] Production.INFO: ==26853== Releasing lock...
[2025-01-10 14:24:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 14:24:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 14:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 11:24:05
[end_date_ymd] => 2025-01-10 14:24:05
[RateCDR] => 1
)
[2025-01-10 14:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 11:24:05' and `end` < '2025-01-10 14:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 14:24:12] Production.ERROR: CronJobId end10
[2025-01-10 14:24:12] Production.INFO: ==26847== Releasing lock...
[2025-01-10 14:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 14:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 14:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 14:24:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 14:24:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 14:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 14:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 14:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 14:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 14:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 14:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 14:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 14:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 14:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 14:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 14:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 14:24:13] Production.INFO: call_cost start
[2025-01-10 14:24:13] Production.INFO: call_cost end
[2025-01-10 14:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 14:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 14:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 14:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 14:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 14:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 14:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 14:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 14:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 14:24:14] Production.INFO: ==26842== Releasing lock...
[2025-01-10 14:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 14:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 14:24:36] Production.INFO: count ==4276
[2025-01-10 14:24:38] Production.ERROR: pbx CDR StartTime 2025-01-10 11:24:05 - End Time 2025-01-10 14:24:05
[2025-01-10 14:24:38] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 14:24:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217510', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:24:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217510', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:24:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217510', 'tblTempVendorCDR_20' ) start
[2025-01-10 14:24:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217510', 'tblTempVendorCDR_20' ) end
[2025-01-10 14:24:38] Production.INFO: ProcessCDR(1,14217510,1,1,2)
[2025-01-10 14:24:38] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217510,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:24:40] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217510,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:24:40] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217510,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:24:43] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217510,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:24:43] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217510', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:24:43] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217510', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:24:43] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:24:43] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:24:43] Production.INFO: ==26851== Releasing lock...
[2025-01-10 14:24:43] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 14:24:43] Production.INFO: 60 MB #Memory Used#
[2025-01-10 19:25:01] Production.INFO: ==26906== Lock acquired, processing the job...
[2025-01-10 19:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 19:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 19:25:01] Production.INFO: neon service started
[2025-01-10 19:25:01] Production.INFO: neon service started
[2025-01-10 19:25:01] Production.INFO: ==26906== Releasing lock...
[2025-01-10 19:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 19:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:25:02] Production.INFO: ==26908== Lock acquired, processing the job...
[2025-01-10 14:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 19:25:02] Production.INFO: ==26910== Lock acquired, processing the job...
[2025-01-10 19:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 19:25:02] Production.INFO: ==26910== Releasing lock...
[2025-01-10 19:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 19:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 14:25:02] Production.INFO: ==26908== Releasing lock...
[2025-01-10 14:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 14:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 14:25:03] Production.INFO: ==26915== Lock acquired, processing the job...
[2025-01-10 14:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 14:25:03] Production.INFO: ==26917== Lock acquired, processing the job...
[2025-01-10 14:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 14:25:03] Production.INFO: ==26919== Lock acquired, processing the job...
[2025-01-10 14:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 14:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 14:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 14:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 14:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 14:25:03] Production.INFO: ==26913== Lock acquired, processing the job...
[2025-01-10 14:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 14:25:03] Production.INFO: ==26915== Releasing lock...
[2025-01-10 14:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 14:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 14:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 14:25:03] Production.INFO: ==26921== Lock acquired, processing the job...
[2025-01-10 14:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 14:25:03] Production.INFO: Account Balance Start.
[2025-01-10 14:25:03] Production.INFO: CreateAllLog Start
[2025-01-10 14:25:03] Production.INFO: 117
[2025-01-10 14:25:03] Production.INFO: Date 2025-01-08
[2025-01-10 14:25:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:25:03] Production.INFO: ==26923== Lock acquired, processing the job...
[2025-01-10 14:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 14:25:03] Production.INFO: Date 2025-01-09
[2025-01-10 14:25:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:25:03] Production.INFO: Date 2025-01-10
[2025-01-10 14:25:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:25:03] Production.INFO: Total Charge 0
[2025-01-10 14:25:03] Production.INFO: CreateAllLog End
[2025-01-10 14:25:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:25:04] Production.INFO: count ==21
[2025-01-10 14:25:04] Production.ERROR: done
[2025-01-10 14:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 14:25:04] Production.INFO: count ==21
[2025-01-10 14:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217514') start
[2025-01-10 14:25:04] Production.INFO: Account Balance End.
[2025-01-10 14:25:04] Production.ERROR: CronJobId end 12
[2025-01-10 14:25:04] Production.INFO: ==26919== Releasing lock...
[2025-01-10 14:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 14:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 14:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217514') end
[2025-01-10 14:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 14:25:04] Production.INFO: 1
[2025-01-10 14:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 14:25:04] Production.ERROR: done
[2025-01-10 14:25:04] Production.INFO: ==26923== Releasing lock...
[2025-01-10 14:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 14:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 14:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 11:25:05
[end_date_ymd] => 2025-01-10 14:25:05
[RateCDR] => 1
)
[2025-01-10 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-01-10 11:25:05' and `end` < '2025-01-10 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-01-10 14:25:10] Production.ERROR: CronJobId end10
[2025-01-10 14:25:10] Production.INFO: ==26917== Releasing lock...
[2025-01-10 14:25:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 14:25:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 14:25:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 14:25:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 14:25:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 14:25:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 14:25:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 14:25:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 14:25:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 14:25:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 14:25:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 14:25:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 14:25:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 14:25:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 14:25:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 14:25:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 14:25:12] Production.INFO: call_cost start
[2025-01-10 14:25:12] Production.INFO: call_cost end
[2025-01-10 14:25:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 14:25:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 14:25:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 14:25:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 14:25:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 14:25:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 14:25:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 14:25:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 14:25:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 14:25:13] Production.INFO: ==26913== Releasing lock...
[2025-01-10 14:25:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 14:25:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 14:25:26] Production.INFO: count ==4274
[2025-01-10 14:25:28] Production.ERROR: pbx CDR StartTime 2025-01-10 11:25:05 - End Time 2025-01-10 14:25:05
[2025-01-10 14:25:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 14:25:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217515', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:25:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217515', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:25:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217515', 'tblTempVendorCDR_20' ) start
[2025-01-10 14:25:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217515', 'tblTempVendorCDR_20' ) end
[2025-01-10 14:25:28] Production.INFO: ProcessCDR(1,14217515,1,1,2)
[2025-01-10 14:25:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217515,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:25:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217515,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:25:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217515,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:25:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217515,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:25:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217515', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:25:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217515', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:25:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:25:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:25:32] Production.INFO: ==26921== Releasing lock...
[2025-01-10 14:25:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 14:25:32] Production.INFO: 60 MB #Memory Used#
[2025-01-10 19:26:02] Production.INFO: ==26981== Lock acquired, processing the job...
[2025-01-10 19:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 19:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 19:26:02] Production.INFO: neon service started
[2025-01-10 19:26:02] Production.INFO: neon service started
[2025-01-10 19:26:02] Production.INFO: ==26981== Releasing lock...
[2025-01-10 19:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 19:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:26:03] Production.INFO: ==26984== Lock acquired, processing the job...
[2025-01-10 14:26:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 19:26:03] Production.INFO: ==26986== Lock acquired, processing the job...
[2025-01-10 19:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 19:26:03] Production.INFO: ==26986== Releasing lock...
[2025-01-10 19:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 19:26:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 14:26:03] Production.INFO: ==26984== Releasing lock...
[2025-01-10 14:26:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 14:26:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 14:26:04] Production.INFO: ==26988== Lock acquired, processing the job...
[2025-01-10 14:26:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 14:26:04] Production.INFO: ==26990== Lock acquired, processing the job...
[2025-01-10 14:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 14:26:04] Production.INFO: ==26996== Lock acquired, processing the job...
[2025-01-10 14:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 14:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:26:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 14:26:04] Production.INFO: ==26992== Lock acquired, processing the job...
[2025-01-10 14:26:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 14:26:04] Production.INFO: ==26994== Lock acquired, processing the job...
[2025-01-10 14:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 14:26:04] Production.INFO: ==26990== Releasing lock...
[2025-01-10 14:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 14:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 14:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 14:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 14:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 14:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 14:26:04] Production.INFO: ==26998== Lock acquired, processing the job...
[2025-01-10 14:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 14:26:04] Production.INFO: Account Balance Start.
[2025-01-10 14:26:04] Production.INFO: CreateAllLog Start
[2025-01-10 14:26:04] Production.INFO: 117
[2025-01-10 14:26:04] Production.INFO: Date 2025-01-08
[2025-01-10 14:26:04] Production.ERROR: done
[2025-01-10 14:26:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 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-01-10 14:26:04] Production.INFO: Date 2025-01-09
[2025-01-10 14:26:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:26:04] Production.INFO: count ==21
[2025-01-10 14:26:04] Production.INFO: Date 2025-01-10
[2025-01-10 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-01-10 14:26:04] Production.INFO: count ==21
[2025-01-10 14:26:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217519') start
[2025-01-10 14:26:04] Production.ERROR: done
[2025-01-10 14:26:04] Production.INFO: Total Charge 0
[2025-01-10 14:26:04] Production.INFO: CreateAllLog End
[2025-01-10 14:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217519') end
[2025-01-10 14:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 14:26:04] Production.INFO: 1
[2025-01-10 14:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 14:26:04] Production.INFO: ==26998== Releasing lock...
[2025-01-10 14:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 14:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 14:26:04] Production.INFO: Account Balance End.
[2025-01-10 14:26:04] Production.ERROR: CronJobId end 12
[2025-01-10 14:26:04] Production.INFO: ==26994== Releasing lock...
[2025-01-10 14:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 14:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 14:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 11:26:05
[end_date_ymd] => 2025-01-10 14:26:05
[RateCDR] => 1
)
[2025-01-10 14:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 11:26:05' and `end` < '2025-01-10 14:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 14:26:12] Production.ERROR: CronJobId end10
[2025-01-10 14:26:12] Production.INFO: ==26992== Releasing lock...
[2025-01-10 14:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 14:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 14:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 14:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 14:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 14:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 14:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 14:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 14:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 14:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 14:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 14:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 14:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 14:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 14:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 14:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 14:26:13] Production.INFO: call_cost start
[2025-01-10 14:26:13] Production.INFO: call_cost end
[2025-01-10 14:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 14:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 14:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 14:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 14:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 14:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 14:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 14:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 14:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 14:26:14] Production.INFO: ==26988== Releasing lock...
[2025-01-10 14:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 14:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 14:26:19] Production.INFO: count ==4238
[2025-01-10 14:26:21] Production.ERROR: pbx CDR StartTime 2025-01-10 11:26:05 - End Time 2025-01-10 14:26:05
[2025-01-10 14:26:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 14:26:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217520', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:26:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217520', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:26:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217520', 'tblTempVendorCDR_20' ) start
[2025-01-10 14:26:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217520', 'tblTempVendorCDR_20' ) end
[2025-01-10 14:26:21] Production.INFO: ProcessCDR(1,14217520,1,1,2)
[2025-01-10 14:26:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217520,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:26:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217520,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:26:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217520,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:26:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217520,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:26:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217520', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:26:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217520', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:26:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:26:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:26:26] Production.INFO: ==26996== Releasing lock...
[2025-01-10 14:26:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 14:26:26] Production.INFO: 59.75 MB #Memory Used#
[2025-01-10 19:27:01] Production.INFO: ==27057== Lock acquired, processing the job...
[2025-01-10 19:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 19:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 19:27:01] Production.INFO: neon service started
[2025-01-10 19:27:01] Production.INFO: neon service started
[2025-01-10 19:27:01] Production.INFO: ==27057== Releasing lock...
[2025-01-10 19:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 19:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:27:02] Production.INFO: ==27059== Lock acquired, processing the job...
[2025-01-10 14:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 19:27:02] Production.INFO: ==27061== Lock acquired, processing the job...
[2025-01-10 19:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 19:27:02] Production.INFO: ==27061== Releasing lock...
[2025-01-10 19:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 19:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 14:27:02] Production.INFO: ==27059== Releasing lock...
[2025-01-10 14:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 14:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 14:27:03] Production.INFO: ==27066== Lock acquired, processing the job...
[2025-01-10 14:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 14:27:03] Production.INFO: ==27074== Lock acquired, processing the job...
[2025-01-10 14:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 14:27:03] Production.INFO: ==27064== Lock acquired, processing the job...
[2025-01-10 14:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 14:27:03] Production.INFO: ==27068== Lock acquired, processing the job...
[2025-01-10 14:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 14:27:03] Production.INFO: ==27070== Lock acquired, processing the job...
[2025-01-10 14:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 14:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 14:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 14:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 14:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 14:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 14:27:03] Production.INFO: count ==21
[2025-01-10 14:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:27:03] Production.INFO: Account Balance Start.
[2025-01-10 14:27:03] Production.INFO: CreateAllLog Start
[2025-01-10 14:27:03] Production.INFO: 117
[2025-01-10 14:27:03] Production.INFO: count ==21
[2025-01-10 14:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217522') start
[2025-01-10 14:27:03] Production.INFO: ==27072== Lock acquired, processing the job...
[2025-01-10 14:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 14:27:03] Production.INFO: Date 2025-01-08
[2025-01-10 14:27:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:27:03] Production.INFO: ==27066== Releasing lock...
[2025-01-10 14:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 14:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 14:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217522') end
[2025-01-10 14:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 14:27:03] Production.INFO: 1
[2025-01-10 14:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 14:27:04] Production.INFO: Date 2025-01-09
[2025-01-10 14:27:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:27:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:27:04] Production.INFO: ==27074== Releasing lock...
[2025-01-10 14:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 14:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 14:27:04] Production.INFO: Date 2025-01-10
[2025-01-10 14:27:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:27:04] Production.INFO: Total Charge 0
[2025-01-10 14:27:04] Production.INFO: CreateAllLog End
[2025-01-10 14:27:04] Production.ERROR: done
[2025-01-10 14:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 14:27:04] Production.ERROR: done
[2025-01-10 14:27:04] Production.INFO: Account Balance End.
[2025-01-10 14:27:04] Production.ERROR: CronJobId end 12
[2025-01-10 14:27:04] Production.INFO: ==27070== Releasing lock...
[2025-01-10 14:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 14:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 14:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 11:27:05
[end_date_ymd] => 2025-01-10 14:27:05
[RateCDR] => 1
)
[2025-01-10 14:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 11:27:05' and `end` < '2025-01-10 14:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 14:27:11] Production.ERROR: CronJobId end10
[2025-01-10 14:27:11] Production.INFO: ==27068== Releasing lock...
[2025-01-10 14:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 14:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 14:27:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 14:27:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 14:27:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 14:27:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 14:27:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 14:27:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 14:27:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 14:27:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 14:27:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 14:27:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 14:27:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 14:27:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 14:27:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 14:27:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 14:27:12] Production.INFO: call_cost start
[2025-01-10 14:27:12] Production.INFO: call_cost end
[2025-01-10 14:27:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 14:27:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 14:27:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 14:27:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 14:27:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 14:27:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 14:27:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 14:27:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 14:27:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 14:27:13] Production.INFO: ==27064== Releasing lock...
[2025-01-10 14:27:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 14:27:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 14:27:19] Production.INFO: count ==4257
[2025-01-10 14:27:21] Production.ERROR: pbx CDR StartTime 2025-01-10 11:27:05 - End Time 2025-01-10 14:27:05
[2025-01-10 14:27:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 14:27:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217525', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:27:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217525', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:27:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217525', 'tblTempVendorCDR_20' ) start
[2025-01-10 14:27:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217525', 'tblTempVendorCDR_20' ) end
[2025-01-10 14:27:21] Production.INFO: ProcessCDR(1,14217525,1,1,2)
[2025-01-10 14:27:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217525,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:27:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217525,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:27:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217525,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:27:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217525,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:27:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217525', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:27:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217525', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:27:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:27:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:27:27] Production.INFO: ==27072== Releasing lock...
[2025-01-10 14:27:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 14:27:27] Production.INFO: 59.75 MB #Memory Used#
[2025-01-10 19:28:02] Production.INFO: ==27128== Lock acquired, processing the job...
[2025-01-10 19:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 19:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 19:28:02] Production.INFO: neon service started
[2025-01-10 19:28:02] Production.INFO: neon service started
[2025-01-10 19:28:02] Production.INFO: ==27128== Releasing lock...
[2025-01-10 19:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 19:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 19:28:02] Production.INFO: ==27132== Lock acquired, processing the job...
[2025-01-10 19:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 19:28:02] Production.INFO: ==27132== Releasing lock...
[2025-01-10 19:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 19:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 14:28:02] Production.INFO: ==27130== Lock acquired, processing the job...
[2025-01-10 14:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 14:28:03] Production.INFO: ==27130== Releasing lock...
[2025-01-10 14:28:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 14:28:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 14:28:03] Production.INFO: ==27139== Lock acquired, processing the job...
[2025-01-10 14:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 14:28:03] Production.INFO: ==27135== Lock acquired, processing the job...
[2025-01-10 14:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 14:28:03] Production.INFO: ==27145== Lock acquired, processing the job...
[2025-01-10 14:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 14:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 14:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 14:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 14:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 14:28:03] Production.INFO: ==27137== Lock acquired, processing the job...
[2025-01-10 14:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 14:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 14:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:28:04] Production.INFO: count ==21
[2025-01-10 14:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:28:04] Production.INFO: count ==21
[2025-01-10 14:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217526') start
[2025-01-10 14:28:04] Production.INFO: ==27141== Lock acquired, processing the job...
[2025-01-10 14:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 14:28:04] Production.INFO: ==27143== Lock acquired, processing the job...
[2025-01-10 14:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 14:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217526') end
[2025-01-10 14:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 14:28:04] Production.INFO: 1
[2025-01-10 14:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 14:28:04] Production.INFO: ==27145== Releasing lock...
[2025-01-10 14:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 14:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 14:28:04] Production.INFO: ==27137== Releasing lock...
[2025-01-10 14:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 14:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 14:28:04] Production.INFO: Account Balance Start.
[2025-01-10 14:28:04] Production.INFO: CreateAllLog Start
[2025-01-10 14:28:04] Production.INFO: 117
[2025-01-10 14:28:04] Production.INFO: Date 2025-01-08
[2025-01-10 14:28:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:28:04] Production.INFO: Date 2025-01-09
[2025-01-10 14:28:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:28:04] Production.ERROR: done
[2025-01-10 14:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 14:28:04] Production.INFO: Date 2025-01-10
[2025-01-10 14:28:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:28:04] Production.INFO: Total Charge 0
[2025-01-10 14:28:04] Production.INFO: CreateAllLog End
[2025-01-10 14:28:04] Production.ERROR: done
[2025-01-10 14:28:04] Production.INFO: Account Balance End.
[2025-01-10 14:28:04] Production.ERROR: CronJobId end 12
[2025-01-10 14:28:04] Production.INFO: ==27141== Releasing lock...
[2025-01-10 14:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 14:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 14:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 11:28:05
[end_date_ymd] => 2025-01-10 14:28:05
[RateCDR] => 1
)
[2025-01-10 14:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 11:28:05' and `end` < '2025-01-10 14:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 14:28:11] Production.ERROR: CronJobId end10
[2025-01-10 14:28:11] Production.INFO: ==27139== Releasing lock...
[2025-01-10 14:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 14:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 14:28:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 14:28:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 14:28:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 14:28:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 14:28:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 14:28:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 14:28:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 14:28:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 14:28:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 14:28:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 14:28:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 14:28:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 14:28:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 14:28:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 14:28:13] Production.INFO: call_cost start
[2025-01-10 14:28:13] Production.INFO: call_cost end
[2025-01-10 14:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 14:28:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 14:28:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 14:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 14:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 14:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 14:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 14:28:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 14:28:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 14:28:14] Production.INFO: ==27135== Releasing lock...
[2025-01-10 14:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 14:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 14:28:24] Production.INFO: count ==4254
[2025-01-10 14:28:26] Production.ERROR: pbx CDR StartTime 2025-01-10 11:28:05 - End Time 2025-01-10 14:28:05
[2025-01-10 14:28:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 14:28:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217530', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:28:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217530', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:28:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217530', 'tblTempVendorCDR_20' ) start
[2025-01-10 14:28:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217530', 'tblTempVendorCDR_20' ) end
[2025-01-10 14:28:26] Production.INFO: ProcessCDR(1,14217530,1,1,2)
[2025-01-10 14:28:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217530,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:28:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217530,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:28:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217530,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:28:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217530,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:28:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217530', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:28:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217530', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:28:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:28:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:28:31] Production.INFO: ==27143== Releasing lock...
[2025-01-10 14:28:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 14:28:31] Production.INFO: 59.75 MB #Memory Used#
[2025-01-10 19:29:01] Production.INFO: ==27198== Lock acquired, processing the job...
[2025-01-10 19:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 19:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 19:29:01] Production.INFO: neon service started
[2025-01-10 19:29:01] Production.INFO: neon service started
[2025-01-10 19:29:01] Production.INFO: ==27198== Releasing lock...
[2025-01-10 19:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 19:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:29:02] Production.INFO: ==27200== Lock acquired, processing the job...
[2025-01-10 14:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 14:29:02] Production.INFO: ==27200== Releasing lock...
[2025-01-10 14:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 14:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 19:29:02] Production.INFO: ==27202== Lock acquired, processing the job...
[2025-01-10 19:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 19:29:02] Production.INFO: ==27202== Releasing lock...
[2025-01-10 19:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 19:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 14:29:03] Production.INFO: ==27204== Lock acquired, processing the job...
[2025-01-10 14:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 14:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 14:29:03] Production.INFO: ==27206== Lock acquired, processing the job...
[2025-01-10 14:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 14:29:03] Production.INFO: ==27208== Lock acquired, processing the job...
[2025-01-10 14:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 14:29:03] Production.INFO: ==27213== Lock acquired, processing the job...
[2025-01-10 14:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 14:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:29:03] Production.INFO: ==27215== Lock acquired, processing the job...
[2025-01-10 14:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 14:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 14:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 14:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 14:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 14:29:03] Production.INFO: ==27210== Lock acquired, processing the job...
[2025-01-10 14:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 14:29:03] Production.INFO: ==27206== Releasing lock...
[2025-01-10 14:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 14:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 14:29:03] Production.INFO: Account Balance Start.
[2025-01-10 14:29:03] Production.INFO: CreateAllLog Start
[2025-01-10 14:29:03] Production.INFO: 117
[2025-01-10 14:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:29:03] Production.INFO: Date 2025-01-08
[2025-01-10 14:29:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:29:03] Production.INFO: count ==21
[2025-01-10 14:29:03] Production.ERROR: done
[2025-01-10 14:29:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:29:03] Production.INFO: count ==21
[2025-01-10 14:29:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 14:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217533') start
[2025-01-10 14:29:03] Production.INFO: Date 2025-01-09
[2025-01-10 14:29:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:29:03] Production.INFO: Date 2025-01-10
[2025-01-10 14:29:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:29:03] Production.ERROR: done
[2025-01-10 14:29:03] Production.INFO: Total Charge 0
[2025-01-10 14:29:03] Production.INFO: CreateAllLog End
[2025-01-10 14:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217533') end
[2025-01-10 14:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 14:29:03] Production.INFO: 1
[2025-01-10 14:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 14:29:03] Production.INFO: Account Balance End.
[2025-01-10 14:29:03] Production.ERROR: CronJobId end 12
[2025-01-10 14:29:03] Production.INFO: ==27210== Releasing lock...
[2025-01-10 14:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 14:29:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 14:29:03] Production.INFO: ==27215== Releasing lock...
[2025-01-10 14:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 14:29:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 14:29:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 11:29:04
[end_date_ymd] => 2025-01-10 14:29:04
[RateCDR] => 1
)
[2025-01-10 14:29:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 11:29:04' and `end` < '2025-01-10 14:29:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 14:29:10] Production.ERROR: CronJobId end10
[2025-01-10 14:29:10] Production.INFO: ==27208== Releasing lock...
[2025-01-10 14:29:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 14:29:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 14:29:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 14:29:11] Production.INFO: ============== Balance Warning START===========
[2025-01-10 14:29:11] Production.INFO: ============== Balance Warning END===========
[2025-01-10 14:29:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 14:29:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 14:29:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 14:29:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 14:29:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 14:29:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 14:29:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 14:29:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 14:29:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 14:29:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 14:29:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 14:29:11] Production.INFO: call_cost start
[2025-01-10 14:29:11] Production.INFO: call_cost end
[2025-01-10 14:29:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 14:29:12] Production.INFO: ============== Report Schedule START===========
[2025-01-10 14:29:12] Production.INFO: ============== Report Schedule END===========
[2025-01-10 14:29:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 14:29:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 14:29:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 14:29:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 14:29:12] Production.INFO: ============== Deal alert START===========
[2025-01-10 14:29:12] Production.INFO: ============== Deal alert END===========
[2025-01-10 14:29:12] Production.INFO: ==27204== Releasing lock...
[2025-01-10 14:29:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 14:29:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 14:29:26] Production.INFO: count ==4263
[2025-01-10 14:29:28] Production.ERROR: pbx CDR StartTime 2025-01-10 11:29:04 - End Time 2025-01-10 14:29:04
[2025-01-10 14:29:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 14:29:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217535', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:29:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217535', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:29:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217535', 'tblTempVendorCDR_20' ) start
[2025-01-10 14:29:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217535', 'tblTempVendorCDR_20' ) end
[2025-01-10 14:29:28] Production.INFO: ProcessCDR(1,14217535,1,1,2)
[2025-01-10 14:29:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217535,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:29:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217535,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:29:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217535,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:29:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217535,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:29:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217535', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:29:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217535', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:29:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:29:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:29:32] Production.INFO: ==27213== Releasing lock...
[2025-01-10 14:29:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 14:29:32] Production.INFO: 60 MB #Memory Used#
[2025-01-10 19:30:02] Production.INFO: ==27269== Lock acquired, processing the job...
[2025-01-10 19:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 19:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 19:30:02] Production.INFO: neon service started
[2025-01-10 19:30:02] Production.INFO: neon service started
[2025-01-10 19:30:02] Production.INFO: ==27269== Releasing lock...
[2025-01-10 19:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 19:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 19:30:02] Production.INFO: ==27273== Lock acquired, processing the job...
[2025-01-10 19:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 19:30:02] Production.INFO: ==27273== Releasing lock...
[2025-01-10 19:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 19:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 14:30:02] Production.INFO: ==27271== Lock acquired, processing the job...
[2025-01-10 14:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 14:30:03] Production.INFO: ==27271== Releasing lock...
[2025-01-10 14:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 14:30:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 14:30:03] Production.INFO: ==27278== Lock acquired, processing the job...
[2025-01-10 14:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 14:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 14:30:04] Production.INFO: ==27284== Lock acquired, processing the job...
[2025-01-10 14:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 14:30:04] Production.INFO: ==27276== Lock acquired, processing the job...
[2025-01-10 14:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 14:30:04] Production.INFO: Account Balance Start.
[2025-01-10 14:30:04] Production.INFO: CreateAllLog Start
[2025-01-10 14:30:04] Production.INFO: 117
[2025-01-10 14:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 14:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 14:30:04] Production.ERROR: CronJob PID - 27278
[2025-01-10 14:30:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-10 14:30:04] Production.ERROR: CronJob ID - 5
[2025-01-10 14:30:04] Production.ERROR: CronJob Last Run Time 2025-01-10 14:30:00
[2025-01-10 14:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 14:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 14:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 14:30:04] Production.ERROR: CronJob PID - 27284
[2025-01-10 14:30:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-10 14:30:04] Production.ERROR: CronJob ID - 12
[2025-01-10 14:30:04] Production.ERROR: CronJob Last Run Time 2025-01-10 14:30:00
[2025-01-10 14:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 14:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 14:30:04] Production.INFO: ==27280== Lock acquired, processing the job...
[2025-01-10 14:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 14:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 14:30:04] Production.INFO: ==27276== Releasing lock...
[2025-01-10 14:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 14:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 14:30:04] Production.INFO: ==27282== Lock acquired, processing the job...
[2025-01-10 14:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 14:30:04] Production.INFO: Date 2025-01-08
[2025-01-10 14:30:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:30:04] Production.INFO: Date 2025-01-09
[2025-01-10 14:30:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 14:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 14:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 14:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 14:30:04] Production.INFO: Date 2025-01-10
[2025-01-10 14:30:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:30:04] Production.INFO: Total Charge 0
[2025-01-10 14:30:04] Production.INFO: ==27290== Lock acquired, processing the job...
[2025-01-10 14:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 14:30:04] Production.INFO: CreateAllLog End
[2025-01-10 14:30:04] Production.INFO: ==27286== Lock acquired, processing the job...
[2025-01-10 14:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 14:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:30:04] Production.INFO: ==27288== Lock acquired, processing the job...
[2025-01-10 14:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 14:30:04] Production.INFO: count ==21
[2025-01-10 14:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:30:04] Production.INFO: ==27280== Releasing lock...
[2025-01-10 14:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 14:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 14:30:04] Production.INFO: count ==21
[2025-01-10 14:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217539') start
[2025-01-10 14:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:30:04] Production.INFO: Account Balance End.
[2025-01-10 14:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217539') end
[2025-01-10 14:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 14:30:04] Production.INFO: 1
[2025-01-10 14:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 14:30:04] Production.ERROR: CronJobId end 12
[2025-01-10 14:30:04] Production.INFO: ==27284== Releasing lock...
[2025-01-10 14:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 14:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 14:30:04] Production.INFO: ==27290== Releasing lock...
[2025-01-10 14:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 14:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 14:30:04] Production.ERROR: done
[2025-01-10 14:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 14:30:05] Production.ERROR: done
[2025-01-10 14:30:05] Production.ERROR: done
[2025-01-10 14:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 14:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14217540', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 14:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 11:30:06
[end_date_ymd] => 2025-01-10 14:30:06
[RateCDR] => 1
)
[2025-01-10 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-01-10 11:30:06' and `end` < '2025-01-10 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-01-10 14:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14217540', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 14:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 14:30:08] Production.INFO: ProcessCDR(1,14217540,1,1,2)
[2025-01-10 14:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14217540,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14217540,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:30:08] Production.INFO: ==27288== Releasing lock...
[2025-01-10 14:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 14:30:08] Production.INFO: 26 MB #Memory Used#
[2025-01-10 14:30:12] Production.ERROR: CronJobId end10
[2025-01-10 14:30:12] Production.INFO: ==27282== Releasing lock...
[2025-01-10 14:30:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 14:30:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 14:30:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 14:30:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 14:30:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 14:30:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 14:30:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 14:30:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 14:30:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 14:30:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 14:30:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 14:30:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 14:30:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 14:30:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 14:30:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 14:30:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 14:30:14] Production.INFO: call_cost start
[2025-01-10 14:30:14] Production.INFO: call_cost end
[2025-01-10 14:30:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 14:30:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 14:30:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 14:30:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 14:30:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 14:30:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 14:30:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 14:30:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 14:30:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 14:30:15] Production.INFO: ==27278== Releasing lock...
[2025-01-10 14:30:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 14:30:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 14:30:27] Production.INFO: count ==4262
[2025-01-10 14:30:29] Production.ERROR: pbx CDR StartTime 2025-01-10 11:30:06 - End Time 2025-01-10 14:30:06
[2025-01-10 14:30:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 14:30:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217541', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:30:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217541', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:30:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217541', 'tblTempVendorCDR_20' ) start
[2025-01-10 14:30:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217541', 'tblTempVendorCDR_20' ) end
[2025-01-10 14:30:29] Production.INFO: ProcessCDR(1,14217541,1,1,2)
[2025-01-10 14:30:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217541,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:30:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217541,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:30:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217541,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:30:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217541,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:30:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217541', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:30:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217541', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:30:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:30:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:30:34] Production.INFO: ==27286== Releasing lock...
[2025-01-10 14:30:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 14:30:34] Production.INFO: 60 MB #Memory Used#
[2025-01-10 19:31:01] Production.INFO: ==27366== Lock acquired, processing the job...
[2025-01-10 19:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 19:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 19:31:01] Production.INFO: neon service started
[2025-01-10 19:31:01] Production.INFO: neon service started
[2025-01-10 19:31:01] Production.INFO: ==27366== Releasing lock...
[2025-01-10 19:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 19:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:31:01] Production.INFO: ==27368== Lock acquired, processing the job...
[2025-01-10 14:31:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 14:31:02] Production.INFO: ==27368== Releasing lock...
[2025-01-10 14:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 14:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 19:31:02] Production.INFO: ==27370== Lock acquired, processing the job...
[2025-01-10 19:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 19:31:02] Production.INFO: ==27370== Releasing lock...
[2025-01-10 19:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 19:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 14:31:03] Production.INFO: ==27382== Lock acquired, processing the job...
[2025-01-10 14:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 14:31:03] Production.INFO: ==27380== Lock acquired, processing the job...
[2025-01-10 14:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 14:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:31:03] Production.INFO: ==27372== Lock acquired, processing the job...
[2025-01-10 14:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 14:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:31:03] Production.INFO: ==27374== Lock acquired, processing the job...
[2025-01-10 14:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 14:31:03] Production.INFO: count ==21
[2025-01-10 14:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:31:03] Production.INFO: count ==21
[2025-01-10 14:31:03] Production.INFO: ==27376== Lock acquired, processing the job...
[2025-01-10 14:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 14:31:03] Production.INFO: ==27378== Lock acquired, processing the job...
[2025-01-10 14:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 14:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217542') start
[2025-01-10 14:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 14:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 14:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 14:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 14:31:03] Production.INFO: Account Balance Start.
[2025-01-10 14:31:03] Production.INFO: CreateAllLog Start
[2025-01-10 14:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 14:31:03] Production.INFO: 117
[2025-01-10 14:31:03] Production.INFO: Date 2025-01-08
[2025-01-10 14:31:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:31:03] Production.ERROR: done
[2025-01-10 14:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 14:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217542') end
[2025-01-10 14:31:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 14:31:03] Production.INFO: 1
[2025-01-10 14:31:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 14:31:03] Production.INFO: Date 2025-01-09
[2025-01-10 14:31:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:31:03] Production.INFO: Date 2025-01-10
[2025-01-10 14:31:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:31:03] Production.INFO: Total Charge 0
[2025-01-10 14:31:03] Production.INFO: ==27382== Releasing lock...
[2025-01-10 14:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 14:31:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 14:31:03] Production.ERROR: done
[2025-01-10 14:31:03] Production.INFO: CreateAllLog End
[2025-01-10 14:31:03] Production.INFO: ==27374== Releasing lock...
[2025-01-10 14:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 14:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 14:31:03] Production.INFO: Account Balance End.
[2025-01-10 14:31:03] Production.ERROR: CronJobId end 12
[2025-01-10 14:31:03] Production.INFO: ==27378== Releasing lock...
[2025-01-10 14:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 14:31:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 14:31:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 11:31:04
[end_date_ymd] => 2025-01-10 14:31:04
[RateCDR] => 1
)
[2025-01-10 14:31:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 11:31:04' and `end` < '2025-01-10 14:31:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 14:31:11] Production.ERROR: CronJobId end10
[2025-01-10 14:31:11] Production.INFO: ==27376== Releasing lock...
[2025-01-10 14:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 14:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 14:31:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 14:31:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 14:31:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 14:31:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 14:31:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 14:31:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 14:31:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 14:31:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 14:31:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 14:31:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 14:31:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 14:31:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 14:31:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 14:31:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 14:31:12] Production.INFO: call_cost start
[2025-01-10 14:31:12] Production.INFO: call_cost end
[2025-01-10 14:31:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 14:31:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 14:31:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 14:31:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 14:31:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 14:31:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 14:31:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 14:31:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 14:31:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 14:31:13] Production.INFO: ==27372== Releasing lock...
[2025-01-10 14:31:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 14:31:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 14:31:22] Production.INFO: count ==4360
[2025-01-10 14:31:24] Production.ERROR: pbx CDR StartTime 2025-01-10 11:31:04 - End Time 2025-01-10 14:31:04
[2025-01-10 14:31:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 14:31:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217546', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:31:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217546', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:31:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217546', 'tblTempVendorCDR_20' ) start
[2025-01-10 14:31:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217546', 'tblTempVendorCDR_20' ) end
[2025-01-10 14:31:24] Production.INFO: ProcessCDR(1,14217546,1,1,2)
[2025-01-10 14:31:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217546,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:31:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217546,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:31:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217546,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:31:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217546,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:31:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217546', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:31:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217546', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:31:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:31:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:31:27] Production.INFO: ==27380== Releasing lock...
[2025-01-10 14:31:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 14:31:27] Production.INFO: 60.75 MB #Memory Used#
[2025-01-10 19:32:02] Production.INFO: ==27437== Lock acquired, processing the job...
[2025-01-10 19:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 19:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 19:32:02] Production.INFO: neon service started
[2025-01-10 19:32:02] Production.INFO: neon service started
[2025-01-10 19:32:02] Production.INFO: ==27437== Releasing lock...
[2025-01-10 19:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 19:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:32:02] Production.INFO: ==27439== Lock acquired, processing the job...
[2025-01-10 14:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 19:32:02] Production.INFO: ==27441== Lock acquired, processing the job...
[2025-01-10 19:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 19:32:02] Production.INFO: ==27441== Releasing lock...
[2025-01-10 19:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 19:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 14:32:03] Production.INFO: ==27439== Releasing lock...
[2025-01-10 14:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 14:32:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 14:32:03] Production.INFO: ==27444== Lock acquired, processing the job...
[2025-01-10 14:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 14:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 14:32:03] Production.INFO: ==27450== Lock acquired, processing the job...
[2025-01-10 14:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 14:32:03] Production.INFO: ==27452== Lock acquired, processing the job...
[2025-01-10 14:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 14:32:03] Production.INFO: Account Balance Start.
[2025-01-10 14:32:03] Production.INFO: CreateAllLog Start
[2025-01-10 14:32:03] Production.INFO: 117
[2025-01-10 14:32:03] Production.INFO: Date 2025-01-08
[2025-01-10 14:32:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:32:04] Production.INFO: Date 2025-01-09
[2025-01-10 14:32:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:32:04] Production.INFO: Date 2025-01-10
[2025-01-10 14:32:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:32:04] Production.INFO: ==27446== Lock acquired, processing the job...
[2025-01-10 14:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 14:32:04] Production.INFO: ==27448== Lock acquired, processing the job...
[2025-01-10 14:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 14:32:04] Production.INFO: Total Charge 0
[2025-01-10 14:32:04] Production.INFO: ==27454== Lock acquired, processing the job...
[2025-01-10 14:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 14:32:04] Production.INFO: CreateAllLog End
[2025-01-10 14:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 14:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 14:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 14:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 14:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:32:04] Production.INFO: count ==21
[2025-01-10 14:32:04] Production.ERROR: done
[2025-01-10 14:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:32:04] Production.INFO: count ==21
[2025-01-10 14:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 14:32:04] Production.INFO: Account Balance End.
[2025-01-10 14:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217549') start
[2025-01-10 14:32:04] Production.ERROR: done
[2025-01-10 14:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217549') end
[2025-01-10 14:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 14:32:04] Production.INFO: 1
[2025-01-10 14:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 14:32:04] Production.ERROR: CronJobId end 12
[2025-01-10 14:32:04] Production.INFO: ==27450== Releasing lock...
[2025-01-10 14:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 14:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 14:32:04] Production.INFO: ==27454== Releasing lock...
[2025-01-10 14:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 14:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 14:32:04] Production.INFO: ==27446== Releasing lock...
[2025-01-10 14:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 14:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 14:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 11:32:05
[end_date_ymd] => 2025-01-10 14:32:05
[RateCDR] => 1
)
[2025-01-10 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-01-10 11:32:05' and `end` < '2025-01-10 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-01-10 14:32:11] Production.ERROR: CronJobId end10
[2025-01-10 14:32:11] Production.INFO: ==27448== Releasing lock...
[2025-01-10 14:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 14:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 14:32:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 14:32:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 14:32:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 14:32:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 14:32:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 14:32:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 14:32:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 14:32:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 14:32:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 14:32:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 14:32:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 14:32:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 14:32:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 14:32:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 14:32:13] Production.INFO: call_cost start
[2025-01-10 14:32:13] Production.INFO: call_cost end
[2025-01-10 14:32:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 14:32:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 14:32:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 14:32:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 14:32:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 14:32:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 14:32:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 14:32:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 14:32:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 14:32:13] Production.INFO: ==27444== Releasing lock...
[2025-01-10 14:32:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 14:32:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 14:32:24] Production.INFO: count ==4359
[2025-01-10 14:32:26] Production.ERROR: pbx CDR StartTime 2025-01-10 11:32:05 - End Time 2025-01-10 14:32:05
[2025-01-10 14:32:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 14:32:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217551', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:32:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217551', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:32:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217551', 'tblTempVendorCDR_20' ) start
[2025-01-10 14:32:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217551', 'tblTempVendorCDR_20' ) end
[2025-01-10 14:32:26] Production.INFO: ProcessCDR(1,14217551,1,1,2)
[2025-01-10 14:32:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217551,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:32:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217551,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:32:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217551,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:32:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217551,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:32:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217551', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:32:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217551', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:32:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:32:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:32:31] Production.INFO: ==27452== Releasing lock...
[2025-01-10 14:32:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 14:32:31] Production.INFO: 60.75 MB #Memory Used#
[2025-01-10 19:33:01] Production.INFO: ==27512== Lock acquired, processing the job...
[2025-01-10 19:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 19:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 19:33:01] Production.INFO: neon service started
[2025-01-10 19:33:01] Production.INFO: neon service started
[2025-01-10 19:33:01] Production.INFO: ==27512== Releasing lock...
[2025-01-10 19:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 19:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:33:01] Production.INFO: ==27514== Lock acquired, processing the job...
[2025-01-10 14:33:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 14:33:02] Production.INFO: ==27514== Releasing lock...
[2025-01-10 14:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 14:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 19:33:02] Production.INFO: ==27516== Lock acquired, processing the job...
[2025-01-10 19:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 19:33:02] Production.INFO: ==27516== Releasing lock...
[2025-01-10 19:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 19:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 14:33:02] Production.INFO: ==27518== Lock acquired, processing the job...
[2025-01-10 14:33:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 14:33:03] Production.INFO: ==27522== Lock acquired, processing the job...
[2025-01-10 14:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 14:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 14:33:03] Production.INFO: ==27520== Lock acquired, processing the job...
[2025-01-10 14:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 14:33:03] Production.INFO: ==27529== Lock acquired, processing the job...
[2025-01-10 14:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 14:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 14:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 14:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 14:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 14:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:33:03] Production.INFO: count ==21
[2025-01-10 14:33:03] Production.INFO: ==27525== Lock acquired, processing the job...
[2025-01-10 14:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 14:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:33:03] Production.INFO: count ==21
[2025-01-10 14:33:03] Production.INFO: ==27527== Lock acquired, processing the job...
[2025-01-10 14:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 14:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217553') start
[2025-01-10 14:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:33:03] Production.INFO: Account Balance Start.
[2025-01-10 14:33:03] Production.INFO: CreateAllLog Start
[2025-01-10 14:33:03] Production.INFO: 117
[2025-01-10 14:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217553') end
[2025-01-10 14:33:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 14:33:03] Production.INFO: 1
[2025-01-10 14:33:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 14:33:03] Production.INFO: Date 2025-01-08
[2025-01-10 14:33:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:33:03] Production.INFO: ==27529== Releasing lock...
[2025-01-10 14:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 14:33:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 14:33:03] Production.INFO: Date 2025-01-09
[2025-01-10 14:33:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:33:03] Production.INFO: ==27520== Releasing lock...
[2025-01-10 14:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 14:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 14:33:03] Production.INFO: Date 2025-01-10
[2025-01-10 14:33:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:33:04] Production.ERROR: done
[2025-01-10 14:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 14:33:04] Production.INFO: Total Charge 0
[2025-01-10 14:33:04] Production.INFO: CreateAllLog End
[2025-01-10 14:33:04] Production.ERROR: done
[2025-01-10 14:33:04] Production.INFO: Account Balance End.
[2025-01-10 14:33:04] Production.ERROR: CronJobId end 12
[2025-01-10 14:33:04] Production.INFO: ==27525== Releasing lock...
[2025-01-10 14:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 14:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 14:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 11:33:05
[end_date_ymd] => 2025-01-10 14:33:05
[RateCDR] => 1
)
[2025-01-10 14:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 11:33:05' and `end` < '2025-01-10 14:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 14:33:10] Production.ERROR: CronJobId end10
[2025-01-10 14:33:10] Production.INFO: ==27522== Releasing lock...
[2025-01-10 14:33:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 14:33:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 14:33:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 14:33:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 14:33:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 14:33:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 14:33:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 14:33:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 14:33:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 14:33:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 14:33:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 14:33:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 14:33:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 14:33:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 14:33:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 14:33:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 14:33:12] Production.INFO: call_cost start
[2025-01-10 14:33:12] Production.INFO: call_cost end
[2025-01-10 14:33:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 14:33:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 14:33:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 14:33:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 14:33:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 14:33:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 14:33:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 14:33:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 14:33:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 14:33:13] Production.INFO: ==27518== Releasing lock...
[2025-01-10 14:33:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 14:33:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 14:33:19] Production.INFO: count ==4320
[2025-01-10 14:33:21] Production.ERROR: pbx CDR StartTime 2025-01-10 11:33:05 - End Time 2025-01-10 14:33:05
[2025-01-10 14:33:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 14:33:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217556', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:33:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217556', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:33:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217556', 'tblTempVendorCDR_20' ) start
[2025-01-10 14:33:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217556', 'tblTempVendorCDR_20' ) end
[2025-01-10 14:33:21] Production.INFO: ProcessCDR(1,14217556,1,1,2)
[2025-01-10 14:33:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217556,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:33:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217556,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:33:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217556,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:33:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217556,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:33:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217556', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:33:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217556', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:33:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:33:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:33:26] Production.INFO: ==27527== Releasing lock...
[2025-01-10 14:33:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 14:33:26] Production.INFO: 60.25 MB #Memory Used#
[2025-01-10 19:34:01] Production.INFO: ==27585== Lock acquired, processing the job...
[2025-01-10 19:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 19:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 19:34:01] Production.INFO: neon service started
[2025-01-10 19:34:01] Production.INFO: neon service started
[2025-01-10 19:34:01] Production.INFO: ==27585== Releasing lock...
[2025-01-10 19:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 19:34:01] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 14:34:02] Production.INFO: ==27587== Lock acquired, processing the job...
[2025-01-10 14:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 14:34:02] Production.INFO: ==27587== Releasing lock...
[2025-01-10 14:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 14:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 19:34:02] Production.INFO: ==27589== Lock acquired, processing the job...
[2025-01-10 19:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 19:34:02] Production.INFO: ==27589== Releasing lock...
[2025-01-10 19:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 19:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 14:34:03] Production.INFO: ==27599== Lock acquired, processing the job...
[2025-01-10 14:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 14:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:34:03] Production.INFO: ==27601== Lock acquired, processing the job...
[2025-01-10 14:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 14:34:03] Production.INFO: ==27591== Lock acquired, processing the job...
[2025-01-10 14:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 14:34:03] Production.INFO: ==27595== Lock acquired, processing the job...
[2025-01-10 14:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 14:34:03] Production.INFO: ==27593== Lock acquired, processing the job...
[2025-01-10 14:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 14:34:03] Production.INFO: ==27597== Lock acquired, processing the job...
[2025-01-10 14:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 14:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 14:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 14:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 14:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 14:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 14:34:03] Production.INFO: count ==21
[2025-01-10 14:34:04] Production.INFO: Account Balance Start.
[2025-01-10 14:34:04] Production.INFO: CreateAllLog Start
[2025-01-10 14:34:04] Production.INFO: 117
[2025-01-10 14:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:34:04] Production.INFO: count ==21
[2025-01-10 14:34:04] Production.INFO: Date 2025-01-08
[2025-01-10 14:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217557') start
[2025-01-10 14:34:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:34:04] Production.ERROR: done
[2025-01-10 14:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 14:34:04] Production.INFO: Date 2025-01-09
[2025-01-10 14:34:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217557') end
[2025-01-10 14:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 14:34:04] Production.INFO: 1
[2025-01-10 14:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 14:34:04] Production.INFO: Date 2025-01-10
[2025-01-10 14:34:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:34:04] Production.INFO: Total Charge 0
[2025-01-10 14:34:04] Production.INFO: ==27601== Releasing lock...
[2025-01-10 14:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 14:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 14:34:04] Production.INFO: CreateAllLog End
[2025-01-10 14:34:04] Production.ERROR: done
[2025-01-10 14:34:04] Production.INFO: ==27593== Releasing lock...
[2025-01-10 14:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 14:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 14:34:04] Production.INFO: Account Balance End.
[2025-01-10 14:34:04] Production.ERROR: CronJobId end 12
[2025-01-10 14:34:04] Production.INFO: ==27597== Releasing lock...
[2025-01-10 14:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 14:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 14:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 11:34:05
[end_date_ymd] => 2025-01-10 14:34:05
[RateCDR] => 1
)
[2025-01-10 14:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 11:34:05' and `end` < '2025-01-10 14:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 14:34:11] Production.ERROR: CronJobId end10
[2025-01-10 14:34:11] Production.INFO: ==27595== Releasing lock...
[2025-01-10 14:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 14:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 14:34:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 14:34:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 14:34:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 14:34:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 14:34:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 14:34:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 14:34:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 14:34:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 14:34:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 14:34:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 14:34:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 14:34:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 14:34:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 14:34:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 14:34:13] Production.INFO: call_cost start
[2025-01-10 14:34:13] Production.INFO: call_cost end
[2025-01-10 14:34:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 14:34:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 14:34:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 14:34:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 14:34:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 14:34:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 14:34:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 14:34:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 14:34:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 14:34:14] Production.INFO: ==27591== Releasing lock...
[2025-01-10 14:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 14:34:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 14:34:22] Production.INFO: count ==4282
[2025-01-10 14:34:24] Production.ERROR: pbx CDR StartTime 2025-01-10 11:34:05 - End Time 2025-01-10 14:34:05
[2025-01-10 14:34:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 14:34:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217561', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:34:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217561', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:34:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217561', 'tblTempVendorCDR_20' ) start
[2025-01-10 14:34:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217561', 'tblTempVendorCDR_20' ) end
[2025-01-10 14:34:24] Production.INFO: ProcessCDR(1,14217561,1,1,2)
[2025-01-10 14:34:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217561,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:34:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217561,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:34:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217561,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:34:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217561,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:34:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217561', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:34:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217561', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:34:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:34:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:34:29] Production.INFO: ==27599== Releasing lock...
[2025-01-10 14:34:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 14:34:29] Production.INFO: 60.25 MB #Memory Used#
[2025-01-10 19:35:02] Production.INFO: ==27705== Lock acquired, processing the job...
[2025-01-10 19:35:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 19:35:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 19:35:02] Production.INFO: neon service started
[2025-01-10 19:35:02] Production.INFO: neon service started
[2025-01-10 19:35:02] Production.INFO: ==27705== Releasing lock...
[2025-01-10 19:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 19:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:35:02] Production.INFO: ==27707== Lock acquired, processing the job...
[2025-01-10 14:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 14:35:02] Production.INFO: ==27707== Releasing lock...
[2025-01-10 14:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 14:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 19:35:03] Production.INFO: ==27709== Lock acquired, processing the job...
[2025-01-10 19:35:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 19:35:03] Production.INFO: ==27709== Releasing lock...
[2025-01-10 19:35:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 19:35:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 14:35:03] Production.INFO: ==27714== Lock acquired, processing the job...
[2025-01-10 14:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 14:35:03] Production.INFO: ==27716== Lock acquired, processing the job...
[2025-01-10 14:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 14:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 14:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 14:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 14:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 14:35:03] Production.INFO: ==27712== Lock acquired, processing the job...
[2025-01-10 14:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 14:35:03] Production.INFO: ==27720== Lock acquired, processing the job...
[2025-01-10 14:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 14:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:35:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 14:35:04] Production.INFO: ==27718== Lock acquired, processing the job...
[2025-01-10 14:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 14:35:04] Production.INFO: ==27722== Lock acquired, processing the job...
[2025-01-10 14:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 14:35:04] Production.INFO: ==27714== Releasing lock...
[2025-01-10 14:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 14:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 14:35:04] Production.INFO: Account Balance Start.
[2025-01-10 14:35:04] Production.INFO: CreateAllLog Start
[2025-01-10 14:35:04] Production.INFO: 117
[2025-01-10 14:35:04] Production.ERROR: done
[2025-01-10 14:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 14:35:04] Production.INFO: Date 2025-01-08
[2025-01-10 14:35:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:35:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:35:04] Production.INFO: count ==21
[2025-01-10 14:35:04] Production.INFO: Date 2025-01-09
[2025-01-10 14:35:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:35:04] Production.INFO: count ==21
[2025-01-10 14:35:04] Production.ERROR: done
[2025-01-10 14:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217565') start
[2025-01-10 14:35:04] Production.INFO: Date 2025-01-10
[2025-01-10 14:35:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:35:04] Production.INFO: Total Charge 0
[2025-01-10 14:35:04] Production.INFO: CreateAllLog End
[2025-01-10 14:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217565') end
[2025-01-10 14:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 14:35:04] Production.INFO: 1
[2025-01-10 14:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 14:35:04] Production.INFO: ==27722== Releasing lock...
[2025-01-10 14:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 14:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 14:35:04] Production.INFO: Account Balance End.
[2025-01-10 14:35:04] Production.ERROR: CronJobId end 12
[2025-01-10 14:35:04] Production.INFO: ==27718== Releasing lock...
[2025-01-10 14:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 14:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 14:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 11:35:05
[end_date_ymd] => 2025-01-10 14:35:05
[RateCDR] => 1
)
[2025-01-10 14:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 11:35:05' and `end` < '2025-01-10 14:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 14:35:11] Production.ERROR: CronJobId end10
[2025-01-10 14:35:11] Production.INFO: ==27716== Releasing lock...
[2025-01-10 14:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 14:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 14:35:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 14:35:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 14:35:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 14:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 14:35:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 14:35:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 14:35:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 14:35:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 14:35:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 14:35:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 14:35:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 14:35:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 14:35:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 14:35:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 14:35:13] Production.INFO: call_cost start
[2025-01-10 14:35:13] Production.INFO: call_cost end
[2025-01-10 14:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 14:35:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 14:35:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 14:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 14:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 14:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 14:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 14:35:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 14:35:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 14:35:14] Production.INFO: ==27712== Releasing lock...
[2025-01-10 14:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 14:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 14:35:24] Production.INFO: count ==4261
[2025-01-10 14:35:26] Production.ERROR: pbx CDR StartTime 2025-01-10 11:35:05 - End Time 2025-01-10 14:35:05
[2025-01-10 14:35:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 14:35:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217566', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:35:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217566', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:35:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217566', 'tblTempVendorCDR_20' ) start
[2025-01-10 14:35:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217566', 'tblTempVendorCDR_20' ) end
[2025-01-10 14:35:26] Production.INFO: ProcessCDR(1,14217566,1,1,2)
[2025-01-10 14:35:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217566,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:35:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217566,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:35:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217566,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:35:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217566,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:35:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217566', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:35:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217566', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:35:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:35:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:35:30] Production.INFO: ==27720== Releasing lock...
[2025-01-10 14:35:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 14:35:30] Production.INFO: 60 MB #Memory Used#
[2025-01-10 19:36:01] Production.INFO: ==27777== Lock acquired, processing the job...
[2025-01-10 19:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 19:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 19:36:01] Production.INFO: neon service started
[2025-01-10 19:36:01] Production.INFO: neon service started
[2025-01-10 19:36:01] Production.INFO: ==27777== Releasing lock...
[2025-01-10 19:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 19:36:01] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 19:36:02] Production.INFO: ==27781== Lock acquired, processing the job...
[2025-01-10 19:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 19:36:02] Production.INFO: ==27781== Releasing lock...
[2025-01-10 19:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 19:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 14:36:02] Production.INFO: ==27779== Lock acquired, processing the job...
[2025-01-10 14:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 14:36:02] Production.INFO: ==27779== Releasing lock...
[2025-01-10 14:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 14:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 14:36:03] Production.INFO: ==27784== Lock acquired, processing the job...
[2025-01-10 14:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 14:36:03] Production.INFO: ==27786== Lock acquired, processing the job...
[2025-01-10 14:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 14:36:03] Production.INFO: ==27794== Lock acquired, processing the job...
[2025-01-10 14:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 14:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 14:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:36:03] Production.INFO: count ==21
[2025-01-10 14:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:36:03] Production.INFO: count ==21
[2025-01-10 14:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217569') start
[2025-01-10 14:36:03] Production.INFO: ==27788== Lock acquired, processing the job...
[2025-01-10 14:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 14:36:03] Production.INFO: ==27786== Releasing lock...
[2025-01-10 14:36:03] Production.INFO: ==27790== Lock acquired, processing the job...
[2025-01-10 14:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 14:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 14:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 14:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217569') end
[2025-01-10 14:36:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 14:36:03] Production.INFO: 1
[2025-01-10 14:36:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 14:36:03] Production.INFO: ==27792== Lock acquired, processing the job...
[2025-01-10 14:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 14:36:03] Production.INFO: ==27794== Releasing lock...
[2025-01-10 14:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 14:36:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 14:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 14:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 14:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 14:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 14:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:36:03] Production.INFO: Account Balance Start.
[2025-01-10 14:36:03] Production.INFO: CreateAllLog Start
[2025-01-10 14:36:03] Production.INFO: 117
[2025-01-10 14:36:03] Production.INFO: Date 2025-01-08
[2025-01-10 14:36:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:36:03] Production.INFO: Date 2025-01-09
[2025-01-10 14:36:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:36:03] Production.INFO: Date 2025-01-10
[2025-01-10 14:36:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:36:04] Production.ERROR: done
[2025-01-10 14:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 14:36:04] Production.INFO: Total Charge 0
[2025-01-10 14:36:04] Production.INFO: CreateAllLog End
[2025-01-10 14:36:04] Production.ERROR: done
[2025-01-10 14:36:04] Production.INFO: Account Balance End.
[2025-01-10 14:36:04] Production.ERROR: CronJobId end 12
[2025-01-10 14:36:04] Production.INFO: ==27790== Releasing lock...
[2025-01-10 14:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 14:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 14:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 11:36:05
[end_date_ymd] => 2025-01-10 14:36:05
[RateCDR] => 1
)
[2025-01-10 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-01-10 11:36:05' and `end` < '2025-01-10 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-01-10 14:36:11] Production.ERROR: CronJobId end10
[2025-01-10 14:36:11] Production.INFO: ==27788== Releasing lock...
[2025-01-10 14:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 14:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 14:36:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 14:36:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 14:36:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 14:36:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 14:36:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 14:36:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 14:36:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 14:36:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 14:36:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 14:36:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 14:36:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 14:36:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 14:36:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 14:36:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 14:36:13] Production.INFO: call_cost start
[2025-01-10 14:36:13] Production.INFO: call_cost end
[2025-01-10 14:36:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 14:36:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 14:36:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 14:36:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 14:36:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 14:36:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 14:36:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 14:36:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 14:36:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 14:36:13] Production.INFO: ==27784== Releasing lock...
[2025-01-10 14:36:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 14:36:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 14:36:27] Production.INFO: count ==4239
[2025-01-10 14:36:29] Production.ERROR: pbx CDR StartTime 2025-01-10 11:36:05 - End Time 2025-01-10 14:36:05
[2025-01-10 14:36:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 14:36:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217571', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:36:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217571', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:36:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217571', 'tblTempVendorCDR_20' ) start
[2025-01-10 14:36:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217571', 'tblTempVendorCDR_20' ) end
[2025-01-10 14:36:29] Production.INFO: ProcessCDR(1,14217571,1,1,2)
[2025-01-10 14:36:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217571,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:36:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217571,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:36:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217571,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:36:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217571,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:36:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217571', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:36:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217571', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:36:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:36:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:36:32] Production.INFO: ==27792== Releasing lock...
[2025-01-10 14:36:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 14:36:32] Production.INFO: 59.75 MB #Memory Used#
[2025-01-10 19:37:02] Production.INFO: ==27848== Lock acquired, processing the job...
[2025-01-10 19:37:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 19:37:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 19:37:02] Production.INFO: neon service started
[2025-01-10 19:37:02] Production.INFO: neon service started
[2025-01-10 19:37:02] Production.INFO: ==27848== Releasing lock...
[2025-01-10 19:37:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 19:37:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:37:02] Production.INFO: ==27850== Lock acquired, processing the job...
[2025-01-10 14:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 19:37:02] Production.INFO: ==27852== Lock acquired, processing the job...
[2025-01-10 19:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 19:37:02] Production.INFO: ==27852== Releasing lock...
[2025-01-10 19:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 19:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 14:37:03] Production.INFO: ==27850== Releasing lock...
[2025-01-10 14:37:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 14:37:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 14:37:03] Production.INFO: ==27855== Lock acquired, processing the job...
[2025-01-10 14:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 14:37:03] Production.INFO: ==27861== Lock acquired, processing the job...
[2025-01-10 14:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 14:37:04] Production.INFO: ==27857== Lock acquired, processing the job...
[2025-01-10 14:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 14:37:04] Production.INFO: ==27859== Lock acquired, processing the job...
[2025-01-10 14:37:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 14:37:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 14:37:04] Production.INFO: Account Balance Start.
[2025-01-10 14:37:04] Production.INFO: CreateAllLog Start
[2025-01-10 14:37:04] Production.INFO: 117
[2025-01-10 14:37:04] Production.INFO: ==27863== Lock acquired, processing the job...
[2025-01-10 14:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 14:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 14:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 14:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 14:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 14:37:04] Production.INFO: Date 2025-01-08
[2025-01-10 14:37:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:37:04] Production.INFO: Date 2025-01-09
[2025-01-10 14:37:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:37:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:37:04] Production.INFO: ==27865== Lock acquired, processing the job...
[2025-01-10 14:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 14:37:04] Production.INFO: Date 2025-01-10
[2025-01-10 14:37:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:37:04] Production.INFO: Total Charge 0
[2025-01-10 14:37:04] Production.INFO: CreateAllLog End
[2025-01-10 14:37:04] Production.INFO: ==27857== Releasing lock...
[2025-01-10 14:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 14:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 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-01-10 14:37:04] Production.INFO: count ==21
[2025-01-10 14:37:04] Production.ERROR: done
[2025-01-10 14:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 14:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:37:04] Production.INFO: count ==21
[2025-01-10 14:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217575') start
[2025-01-10 14:37:04] Production.ERROR: done
[2025-01-10 14:37:04] Production.INFO: Account Balance End.
[2025-01-10 14:37:04] Production.ERROR: CronJobId end 12
[2025-01-10 14:37:04] Production.INFO: ==27861== Releasing lock...
[2025-01-10 14:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 14:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 14:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217575') end
[2025-01-10 14:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 14:37:04] Production.INFO: 1
[2025-01-10 14:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 14:37:04] Production.INFO: ==27865== Releasing lock...
[2025-01-10 14:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 14:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 14:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 11:37:05
[end_date_ymd] => 2025-01-10 14:37:05
[RateCDR] => 1
)
[2025-01-10 14:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 11:37:05' and `end` < '2025-01-10 14:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 14:37:12] Production.ERROR: CronJobId end10
[2025-01-10 14:37:12] Production.INFO: ==27859== Releasing lock...
[2025-01-10 14:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 14:37:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 14:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 14:37:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 14:37:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 14:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 14:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 14:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 14:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 14:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 14:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 14:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 14:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 14:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 14:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 14:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 14:37:13] Production.INFO: call_cost start
[2025-01-10 14:37:13] Production.INFO: call_cost end
[2025-01-10 14:37:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 14:37:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 14:37:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 14:37:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 14:37:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 14:37:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 14:37:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 14:37:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 14:37:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 14:37:14] Production.INFO: ==27855== Releasing lock...
[2025-01-10 14:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 14:37:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 14:37:26] Production.INFO: count ==4222
[2025-01-10 14:37:28] Production.ERROR: pbx CDR StartTime 2025-01-10 11:37:05 - End Time 2025-01-10 14:37:05
[2025-01-10 14:37:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 14:37:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217576', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:37:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217576', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:37:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217576', 'tblTempVendorCDR_20' ) start
[2025-01-10 14:37:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217576', 'tblTempVendorCDR_20' ) end
[2025-01-10 14:37:28] Production.INFO: ProcessCDR(1,14217576,1,1,2)
[2025-01-10 14:37:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217576,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:37:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217576,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:37:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217576,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:37:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217576,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:37:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217576', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:37:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217576', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:37:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:37:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:37:31] Production.INFO: ==27863== Releasing lock...
[2025-01-10 14:37:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 14:37:31] Production.INFO: 59.75 MB #Memory Used#
[2025-01-10 19:38:01] Production.INFO: ==27919== Lock acquired, processing the job...
[2025-01-10 19:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 19:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 19:38:01] Production.INFO: neon service started
[2025-01-10 19:38:01] Production.INFO: neon service started
[2025-01-10 19:38:01] Production.INFO: ==27919== Releasing lock...
[2025-01-10 19:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 19:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:38:02] Production.INFO: ==27921== Lock acquired, processing the job...
[2025-01-10 14:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 14:38:02] Production.INFO: ==27921== Releasing lock...
[2025-01-10 14:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 14:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 19:38:02] Production.INFO: ==27923== Lock acquired, processing the job...
[2025-01-10 19:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 19:38:02] Production.INFO: ==27923== Releasing lock...
[2025-01-10 19:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 19:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 14:38:03] Production.INFO: ==27932== Lock acquired, processing the job...
[2025-01-10 14:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 14:38:03] Production.INFO: Account Balance Start.
[2025-01-10 14:38:03] Production.INFO: CreateAllLog Start
[2025-01-10 14:38:03] Production.INFO: 117
[2025-01-10 14:38:03] Production.INFO: Date 2025-01-08
[2025-01-10 14:38:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:38:03] Production.INFO: Date 2025-01-09
[2025-01-10 14:38:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:38:03] Production.INFO: Date 2025-01-10
[2025-01-10 14:38:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:38:03] Production.INFO: ==27926== Lock acquired, processing the job...
[2025-01-10 14:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 14:38:03] Production.INFO: Total Charge 0
[2025-01-10 14:38:03] Production.INFO: CreateAllLog End
[2025-01-10 14:38:03] Production.INFO: ==27928== Lock acquired, processing the job...
[2025-01-10 14:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 14:38:03] Production.INFO: ==27930== Lock acquired, processing the job...
[2025-01-10 14:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 14:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 14:38:03] Production.INFO: ==27936== Lock acquired, processing the job...
[2025-01-10 14:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 14:38:03] Production.INFO: ==27934== Lock acquired, processing the job...
[2025-01-10 14:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 14:38:03] Production.INFO: Account Balance End.
[2025-01-10 14:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 14:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 14:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 14:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 14:38:03] Production.ERROR: CronJobId end 12
[2025-01-10 14:38:03] Production.INFO: ==27932== Releasing lock...
[2025-01-10 14:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 14:38:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 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-01-10 14:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:38:03] Production.INFO: ==27928== Releasing lock...
[2025-01-10 14:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 14:38:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 14:38:04] Production.INFO: count ==21
[2025-01-10 14:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:38:04] Production.INFO: count ==21
[2025-01-10 14:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217580') start
[2025-01-10 14:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217580') end
[2025-01-10 14:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 14:38:04] Production.INFO: 1
[2025-01-10 14:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 14:38:04] Production.INFO: ==27936== Releasing lock...
[2025-01-10 14:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 14:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 14:38:04] Production.ERROR: done
[2025-01-10 14:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 14:38:04] Production.ERROR: done
[2025-01-10 14:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 11:38:05
[end_date_ymd] => 2025-01-10 14:38:05
[RateCDR] => 1
)
[2025-01-10 14:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 11:38:05' and `end` < '2025-01-10 14:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 14:38:10] Production.ERROR: CronJobId end10
[2025-01-10 14:38:10] Production.INFO: ==27930== Releasing lock...
[2025-01-10 14:38:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 14:38:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 14:38:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 14:38:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 14:38:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 14:38:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 14:38:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 14:38:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 14:38:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 14:38:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 14:38:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 14:38:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 14:38:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 14:38:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 14:38:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 14:38:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 14:38:13] Production.INFO: call_cost start
[2025-01-10 14:38:13] Production.INFO: call_cost end
[2025-01-10 14:38:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 14:38:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 14:38:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 14:38:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 14:38:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 14:38:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 14:38:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 14:38:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 14:38:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 14:38:13] Production.INFO: ==27926== Releasing lock...
[2025-01-10 14:38:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 14:38:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 14:38:22] Production.INFO: count ==4215
[2025-01-10 14:38:23] Production.ERROR: pbx CDR StartTime 2025-01-10 11:38:05 - End Time 2025-01-10 14:38:05
[2025-01-10 14:38:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 14:38:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217581', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:38:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217581', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:38:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217581', 'tblTempVendorCDR_20' ) start
[2025-01-10 14:38:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217581', 'tblTempVendorCDR_20' ) end
[2025-01-10 14:38:24] Production.INFO: ProcessCDR(1,14217581,1,1,2)
[2025-01-10 14:38:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217581,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:38:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217581,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:38:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217581,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:38:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217581,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:38:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217581', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:38:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217581', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:38:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:38:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:38:28] Production.INFO: ==27934== Releasing lock...
[2025-01-10 14:38:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 14:38:28] Production.INFO: 59.5 MB #Memory Used#
[2025-01-10 19:39:02] Production.INFO: ==27994== Lock acquired, processing the job...
[2025-01-10 19:39:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 19:39:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 19:39:02] Production.INFO: neon service started
[2025-01-10 19:39:02] Production.INFO: neon service started
[2025-01-10 19:39:02] Production.INFO: ==27994== Releasing lock...
[2025-01-10 19:39:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 19:39:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:39:02] Production.INFO: ==27996== Lock acquired, processing the job...
[2025-01-10 14:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 19:39:02] Production.INFO: ==27998== Lock acquired, processing the job...
[2025-01-10 19:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 19:39:02] Production.INFO: ==27998== Releasing lock...
[2025-01-10 19:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 19:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 14:39:03] Production.INFO: ==27996== Releasing lock...
[2025-01-10 14:39:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 14:39:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 14:39:03] Production.INFO: ==28001== Lock acquired, processing the job...
[2025-01-10 14:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 14:39:03] Production.INFO: ==28003== Lock acquired, processing the job...
[2025-01-10 14:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 14:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 14:39:03] Production.INFO: ==28007== Lock acquired, processing the job...
[2025-01-10 14:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 14:39:03] Production.INFO: Account Balance Start.
[2025-01-10 14:39:03] Production.INFO: CreateAllLog Start
[2025-01-10 14:39:03] Production.INFO: 117
[2025-01-10 14:39:04] Production.INFO: Date 2025-01-08
[2025-01-10 14:39:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:39:04] Production.INFO: Date 2025-01-09
[2025-01-10 14:39:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:39:04] Production.INFO: Date 2025-01-10
[2025-01-10 14:39:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:39:04] Production.INFO: Total Charge 0
[2025-01-10 14:39:04] Production.INFO: CreateAllLog End
[2025-01-10 14:39:04] Production.INFO: ==28009== Lock acquired, processing the job...
[2025-01-10 14:39:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 14:39:04] Production.INFO: ==28005== Lock acquired, processing the job...
[2025-01-10 14:39:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 14:39:04] Production.INFO: ==28003== Releasing lock...
[2025-01-10 14:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 14:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 14:39:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:39:04] Production.INFO: Account Balance End.
[2025-01-10 14:39:04] Production.INFO: ==28011== Lock acquired, processing the job...
[2025-01-10 14:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 14:39:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 14:39:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 14:39:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 14:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 14:39:04] Production.ERROR: CronJobId end 12
[2025-01-10 14:39:04] Production.INFO: ==28007== Releasing lock...
[2025-01-10 14:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 14:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 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-01-10 14:39:04] Production.INFO: count ==21
[2025-01-10 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-01-10 14:39:04] Production.INFO: count ==21
[2025-01-10 14:39:04] Production.ERROR: done
[2025-01-10 14:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 14:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217585') start
[2025-01-10 14:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217585') end
[2025-01-10 14:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 14:39:04] Production.INFO: 1
[2025-01-10 14:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 14:39:04] Production.INFO: ==28011== Releasing lock...
[2025-01-10 14:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 14:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 14:39:04] Production.ERROR: done
[2025-01-10 14:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 11:39:05
[end_date_ymd] => 2025-01-10 14:39:05
[RateCDR] => 1
)
[2025-01-10 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-01-10 11:39:05' and `end` < '2025-01-10 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-01-10 14:39:12] Production.ERROR: CronJobId end10
[2025-01-10 14:39:12] Production.INFO: ==28005== Releasing lock...
[2025-01-10 14:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 14:39:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 14:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 14:39:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 14:39:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 14:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 14:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 14:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 14:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 14:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 14:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 14:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 14:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 14:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 14:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 14:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 14:39:13] Production.INFO: call_cost start
[2025-01-10 14:39:13] Production.INFO: call_cost end
[2025-01-10 14:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 14:39:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 14:39:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 14:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 14:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 14:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 14:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 14:39:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 14:39:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 14:39:14] Production.INFO: ==28001== Releasing lock...
[2025-01-10 14:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 14:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 14:39:29] Production.INFO: count ==4203
[2025-01-10 14:39:31] Production.ERROR: pbx CDR StartTime 2025-01-10 11:39:05 - End Time 2025-01-10 14:39:05
[2025-01-10 14:39:31] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 14:39:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217586', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:39:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217586', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:39:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217586', 'tblTempVendorCDR_20' ) start
[2025-01-10 14:39:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217586', 'tblTempVendorCDR_20' ) end
[2025-01-10 14:39:31] Production.INFO: ProcessCDR(1,14217586,1,1,2)
[2025-01-10 14:39:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217586,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:39:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217586,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:39:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217586,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:39:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217586,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:39:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217586', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:39:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217586', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:39:36] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:39:36] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:39:36] Production.INFO: ==28009== Releasing lock...
[2025-01-10 14:39:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 14:39:36] Production.INFO: 59.5 MB #Memory Used#
[2025-01-10 19:40:01] Production.INFO: ==28070== Lock acquired, processing the job...
[2025-01-10 19:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 19:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 19:40:01] Production.INFO: neon service started
[2025-01-10 19:40:01] Production.INFO: neon service started
[2025-01-10 19:40:01] Production.INFO: ==28070== Releasing lock...
[2025-01-10 19:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 19:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:40:02] Production.INFO: ==28072== Lock acquired, processing the job...
[2025-01-10 14:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 19:40:02] Production.INFO: ==28074== Lock acquired, processing the job...
[2025-01-10 19:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 19:40:02] Production.INFO: ==28074== Releasing lock...
[2025-01-10 19:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 19:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 14:40:02] Production.INFO: ==28072== Releasing lock...
[2025-01-10 14:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 14:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 14:40:03] Production.INFO: ==28080== Lock acquired, processing the job...
[2025-01-10 14:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 14:40:03] Production.INFO: ==28087== Lock acquired, processing the job...
[2025-01-10 14:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 14:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:40:03] Production.INFO: ==28089== Lock acquired, processing the job...
[2025-01-10 14:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 14:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:40:03] Production.INFO: ==28085== Lock acquired, processing the job...
[2025-01-10 14:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 14:40:03] Production.INFO: ==28080== Releasing lock...
[2025-01-10 14:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 14:40:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 14:40:03] Production.INFO: ==28091== Lock acquired, processing the job...
[2025-01-10 14:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 14:40:03] Production.INFO: Account Balance Start.
[2025-01-10 14:40:03] Production.INFO: CreateAllLog Start
[2025-01-10 14:40:03] Production.INFO: 117
[2025-01-10 14:40:03] Production.INFO: ==28076== Lock acquired, processing the job...
[2025-01-10 14:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 14:40:03] Production.INFO: Date 2025-01-08
[2025-01-10 14:40:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:40:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:40:03] Production.INFO: ==28078== Lock acquired, processing the job...
[2025-01-10 14:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 14:40:03] Production.INFO: ==28083== Lock acquired, processing the job...
[2025-01-10 14:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 14:40:03] Production.ERROR: done
[2025-01-10 14:40:03] Production.ERROR: done
[2025-01-10 14:40:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 14:40:03] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 14:40:03] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14217590', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 14:40:03] Production.INFO: count ==21
[2025-01-10 14:40:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:40:03] Production.INFO: count ==21
[2025-01-10 14:40:04] Production.INFO: Date 2025-01-09
[2025-01-10 14:40:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 14:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217589') start
[2025-01-10 14:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 14:40:04] Production.ERROR: CronJob PID - 28078
[2025-01-10 14:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-10 14:40:04] Production.ERROR: CronJob ID - 5
[2025-01-10 14:40:04] Production.ERROR: CronJob Last Run Time 2025-01-10 14:40:00
[2025-01-10 14:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 14:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 14:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 14:40:04] Production.ERROR: CronJob PID - 28083
[2025-01-10 14:40:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-10 14:40:04] Production.ERROR: CronJob ID - 10
[2025-01-10 14:40:04] Production.ERROR: CronJob Last Run Time 2025-01-10 14:40:00
[2025-01-10 14:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 14:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 14:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 14:40:04] Production.ERROR: CronJob PID - 28085
[2025-01-10 14:40:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-10 14:40:04] Production.ERROR: CronJob ID - 12
[2025-01-10 14:40:04] Production.ERROR: CronJob Last Run Time 2025-01-10 14:40:00
[2025-01-10 14:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 14:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 14:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 14:40:04] Production.ERROR: CronJob PID - 28087
[2025-01-10 14:40:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-10 14:40:04] Production.ERROR: CronJob ID - 16
[2025-01-10 14:40:04] Production.ERROR: CronJob Last Run Time 2025-01-10 14:40:00
[2025-01-10 14:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 14:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 14:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 14:40:04] Production.ERROR: CronJob PID - 28089
[2025-01-10 14:40:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-10 14:40:04] Production.ERROR: CronJob ID - 17
[2025-01-10 14:40:04] Production.ERROR: CronJob Last Run Time 2025-01-10 14:40:00
[2025-01-10 14:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 14:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 14:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 14:40:04] Production.ERROR: CronJob PID - 28091
[2025-01-10 14:40:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-10 14:40:04] Production.ERROR: CronJob ID - 19
[2025-01-10 14:40:04] Production.ERROR: CronJob Last Run Time 2025-01-10 14:40:00
[2025-01-10 14:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 14:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 14:40:04] Production.ERROR: done
[2025-01-10 14:40:04] Production.INFO: Date 2025-01-10
[2025-01-10 14:40:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 14:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 14:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 14:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 14:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217589') end
[2025-01-10 14:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 14:40:04] Production.INFO: 1
[2025-01-10 14:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 14:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 14:40:04] Production.INFO: ==28076== Releasing lock...
[2025-01-10 14:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 14:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 14:40:04] Production.INFO: Total Charge 0
[2025-01-10 14:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 14:40:04] Production.INFO: CreateAllLog End
[2025-01-10 14:40:04] Production.INFO: ==28091== Releasing lock...
[2025-01-10 14:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 14:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 14:40:04] Production.INFO: Account Balance End.
[2025-01-10 14:40:04] Production.ERROR: CronJobId end 12
[2025-01-10 14:40:04] Production.INFO: ==28085== Releasing lock...
[2025-01-10 14:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 14:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 14:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 11:40:05
[end_date_ymd] => 2025-01-10 14:40:05
[RateCDR] => 1
)
[2025-01-10 14:40:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 11:40:05' and `end` < '2025-01-10 14:40:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 14:40:07] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14217590', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 14:40:07] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 14:40:07] Production.INFO: ProcessCDR(1,14217590,1,1,2)
[2025-01-10 14:40:07] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14217590,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14217590,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:40:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:40:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:40:08] Production.INFO: ==28089== Releasing lock...
[2025-01-10 14:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 14:40:08] Production.INFO: 26 MB #Memory Used#
[2025-01-10 14:40:12] Production.ERROR: CronJobId end10
[2025-01-10 14:40:12] Production.INFO: ==28083== Releasing lock...
[2025-01-10 14:40:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 14:40:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 14:40:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 14:40:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 14:40:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 14:40:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 14:40:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 14:40:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 14:40:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 14:40:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 14:40:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 14:40:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 14:40:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 14:40:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 14:40:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 14:40:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 14:40:14] Production.INFO: call_cost start
[2025-01-10 14:40:14] Production.INFO: call_cost end
[2025-01-10 14:40:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 14:40:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 14:40:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 14:40:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 14:40:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 14:40:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 14:40:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 14:40:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 14:40:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 14:40:15] Production.INFO: ==28078== Releasing lock...
[2025-01-10 14:40:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 14:40:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 14:40:28] Production.INFO: count ==4215
[2025-01-10 14:40:29] Production.ERROR: pbx CDR StartTime 2025-01-10 11:40:05 - End Time 2025-01-10 14:40:05
[2025-01-10 14:40:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 14:40:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217592', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:40:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217592', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:40:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217592', 'tblTempVendorCDR_20' ) start
[2025-01-10 14:40:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217592', 'tblTempVendorCDR_20' ) end
[2025-01-10 14:40:30] Production.INFO: ProcessCDR(1,14217592,1,1,2)
[2025-01-10 14:40:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217592,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:40:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217592,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:40:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217592,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:40:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217592,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:40:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217592', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:40:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217592', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:40:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:40:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:40:34] Production.INFO: ==28087== Releasing lock...
[2025-01-10 14:40:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 14:40:34] Production.INFO: 59.5 MB #Memory Used#
[2025-01-10 19:41:02] Production.INFO: ==28145== Lock acquired, processing the job...
[2025-01-10 19:41:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 19:41:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 19:41:02] Production.INFO: neon service started
[2025-01-10 19:41:02] Production.INFO: neon service started
[2025-01-10 19:41:02] Production.INFO: ==28145== Releasing lock...
[2025-01-10 19:41:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 19:41:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:41:02] Production.INFO: ==28147== Lock acquired, processing the job...
[2025-01-10 14:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 14:41:02] Production.INFO: ==28147== Releasing lock...
[2025-01-10 14:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 14:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 19:41:02] Production.INFO: ==28149== Lock acquired, processing the job...
[2025-01-10 19:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 19:41:02] Production.INFO: ==28149== Releasing lock...
[2025-01-10 19:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 19:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 14:41:03] Production.INFO: ==28160== Lock acquired, processing the job...
[2025-01-10 14:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 14:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:41:03] Production.INFO: ==28162== Lock acquired, processing the job...
[2025-01-10 14:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 14:41:03] Production.INFO: ==28152== Lock acquired, processing the job...
[2025-01-10 14:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 14:41:03] Production.INFO: ==28154== Lock acquired, processing the job...
[2025-01-10 14:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 14:41:03] Production.INFO: ==28156== Lock acquired, processing the job...
[2025-01-10 14:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 14:41:03] Production.INFO: ==28158== Lock acquired, processing the job...
[2025-01-10 14:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 14:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:41:03] Production.INFO: count ==21
[2025-01-10 14:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:41:03] Production.INFO: count ==21
[2025-01-10 14:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 14:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217593') start
[2025-01-10 14:41:03] Production.INFO: Account Balance Start.
[2025-01-10 14:41:03] Production.INFO: CreateAllLog Start
[2025-01-10 14:41:03] Production.INFO: 117
[2025-01-10 14:41:03] Production.ERROR: done
[2025-01-10 14:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 14:41:03] Production.INFO: Date 2025-01-08
[2025-01-10 14:41:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 14:41:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 14:41:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 14:41:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 14:41:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:41:04] Production.INFO: Date 2025-01-09
[2025-01-10 14:41:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:41:04] Production.ERROR: done
[2025-01-10 14:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217593') end
[2025-01-10 14:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 14:41:04] Production.INFO: 1
[2025-01-10 14:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 14:41:04] Production.INFO: Date 2025-01-10
[2025-01-10 14:41:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:41:04] Production.INFO: ==28154== Releasing lock...
[2025-01-10 14:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 14:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 14:41:04] Production.INFO: ==28162== Releasing lock...
[2025-01-10 14:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 14:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 14:41:04] Production.INFO: Total Charge 0
[2025-01-10 14:41:04] Production.INFO: CreateAllLog End
[2025-01-10 14:41:04] Production.INFO: Account Balance End.
[2025-01-10 14:41:04] Production.ERROR: CronJobId end 12
[2025-01-10 14:41:04] Production.INFO: ==28158== Releasing lock...
[2025-01-10 14:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 14:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 14:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 11:41:05
[end_date_ymd] => 2025-01-10 14:41:05
[RateCDR] => 1
)
[2025-01-10 14:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 11:41:05' and `end` < '2025-01-10 14:41:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 14:41:12] Production.ERROR: CronJobId end10
[2025-01-10 14:41:12] Production.INFO: ==28156== Releasing lock...
[2025-01-10 14:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 14:41:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 14:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 14:41:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 14:41:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 14:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 14:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 14:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 14:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 14:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 14:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 14:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 14:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 14:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 14:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 14:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 14:41:13] Production.INFO: call_cost start
[2025-01-10 14:41:13] Production.INFO: call_cost end
[2025-01-10 14:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 14:41:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 14:41:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 14:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 14:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 14:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 14:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 14:41:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 14:41:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 14:41:14] Production.INFO: ==28152== Releasing lock...
[2025-01-10 14:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 14:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 14:41:25] Production.INFO: count ==4282
[2025-01-10 14:41:26] Production.ERROR: pbx CDR StartTime 2025-01-10 11:41:05 - End Time 2025-01-10 14:41:05
[2025-01-10 14:41:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 14:41:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217597', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:41:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217597', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:41:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217597', 'tblTempVendorCDR_20' ) start
[2025-01-10 14:41:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217597', 'tblTempVendorCDR_20' ) end
[2025-01-10 14:41:27] Production.INFO: ProcessCDR(1,14217597,1,1,2)
[2025-01-10 14:41:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217597,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:41:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217597,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:41:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217597,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:41:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217597,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:41:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217597', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:41:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217597', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:41:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:41:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:41:31] Production.INFO: ==28160== Releasing lock...
[2025-01-10 14:41:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 14:41:31] Production.INFO: 60 MB #Memory Used#
[2025-01-10 19:42:01] Production.INFO: ==28214== Lock acquired, processing the job...
[2025-01-10 19:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 19:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 19:42:01] Production.INFO: neon service started
[2025-01-10 19:42:01] Production.INFO: neon service started
[2025-01-10 19:42:01] Production.INFO: ==28214== Releasing lock...
[2025-01-10 19:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 19:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:42:02] Production.INFO: ==28216== Lock acquired, processing the job...
[2025-01-10 14:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 19:42:02] Production.INFO: ==28218== Lock acquired, processing the job...
[2025-01-10 19:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 19:42:02] Production.INFO: ==28218== Releasing lock...
[2025-01-10 19:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 19:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 14:42:02] Production.INFO: ==28216== Releasing lock...
[2025-01-10 14:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 14:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 14:42:03] Production.INFO: ==28221== Lock acquired, processing the job...
[2025-01-10 14:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 14:42:03] Production.INFO: ==28223== Lock acquired, processing the job...
[2025-01-10 14:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 14:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 14:42:03] Production.INFO: ==28227== Lock acquired, processing the job...
[2025-01-10 14:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 14:42:03] Production.INFO: ==28223== Releasing lock...
[2025-01-10 14:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 14:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 14:42:03] Production.INFO: Account Balance Start.
[2025-01-10 14:42:03] Production.INFO: CreateAllLog Start
[2025-01-10 14:42:03] Production.INFO: 117
[2025-01-10 14:42:03] Production.INFO: ==28225== Lock acquired, processing the job...
[2025-01-10 14:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 14:42:03] Production.INFO: Date 2025-01-08
[2025-01-10 14:42:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:42:03] Production.INFO: Date 2025-01-09
[2025-01-10 14:42:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:42:03] Production.INFO: Date 2025-01-10
[2025-01-10 14:42:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 14:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 14:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 14:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 14:42:03] Production.INFO: ==28229== Lock acquired, processing the job...
[2025-01-10 14:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 14:42:03] Production.INFO: Total Charge 0
[2025-01-10 14:42:03] Production.INFO: CreateAllLog End
[2025-01-10 14:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:42:03] Production.INFO: ==28231== Lock acquired, processing the job...
[2025-01-10 14:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 14:42:03] Production.INFO: Account Balance End.
[2025-01-10 14:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:42:04] Production.ERROR: CronJobId end 12
[2025-01-10 14:42:04] Production.INFO: ==28227== Releasing lock...
[2025-01-10 14:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 14:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 14:42:04] Production.INFO: count ==21
[2025-01-10 14:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:42:04] Production.INFO: count ==21
[2025-01-10 14:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217601') start
[2025-01-10 14:42:04] Production.ERROR: done
[2025-01-10 14:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217601') end
[2025-01-10 14:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 14:42:04] Production.INFO: 1
[2025-01-10 14:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 14:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 14:42:04] Production.INFO: ==28231== Releasing lock...
[2025-01-10 14:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 14:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 14:42:04] Production.ERROR: done
[2025-01-10 14:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 11:42:05
[end_date_ymd] => 2025-01-10 14:42:05
[RateCDR] => 1
)
[2025-01-10 14:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 11:42:05' and `end` < '2025-01-10 14:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 14:42:10] Production.ERROR: CronJobId end10
[2025-01-10 14:42:10] Production.INFO: ==28225== Releasing lock...
[2025-01-10 14:42:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 14:42:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 14:42:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 14:42:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 14:42:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 14:42:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 14:42:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 14:42:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 14:42:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 14:42:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 14:42:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 14:42:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 14:42:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 14:42:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 14:42:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 14:42:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 14:42:12] Production.INFO: call_cost start
[2025-01-10 14:42:12] Production.INFO: call_cost end
[2025-01-10 14:42:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 14:42:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 14:42:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 14:42:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 14:42:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 14:42:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 14:42:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 14:42:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 14:42:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 14:42:13] Production.INFO: ==28221== Releasing lock...
[2025-01-10 14:42:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 14:42:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 14:42:19] Production.INFO: count ==4279
[2025-01-10 14:42:20] Production.ERROR: pbx CDR StartTime 2025-01-10 11:42:05 - End Time 2025-01-10 14:42:05
[2025-01-10 14:42:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 14:42:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217602', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:42:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217602', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:42:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217602', 'tblTempVendorCDR_20' ) start
[2025-01-10 14:42:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217602', 'tblTempVendorCDR_20' ) end
[2025-01-10 14:42:21] Production.INFO: ProcessCDR(1,14217602,1,1,2)
[2025-01-10 14:42:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217602,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:42:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217602,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:42:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217602,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:42:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217602,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:42:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217602', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:42:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217602', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:42:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:42:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:42:25] Production.INFO: ==28229== Releasing lock...
[2025-01-10 14:42:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 14:42:25] Production.INFO: 60 MB #Memory Used#
[2025-01-10 19:43:01] Production.INFO: ==28285== Lock acquired, processing the job...
[2025-01-10 19:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 19:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 19:43:02] Production.INFO: neon service started
[2025-01-10 19:43:02] Production.INFO: neon service started
[2025-01-10 19:43:02] Production.INFO: ==28285== Releasing lock...
[2025-01-10 19:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 19:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 19:43:02] Production.INFO: ==28289== Lock acquired, processing the job...
[2025-01-10 19:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 19:43:02] Production.INFO: ==28289== Releasing lock...
[2025-01-10 19:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 19:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 14:43:02] Production.INFO: ==28287== Lock acquired, processing the job...
[2025-01-10 14:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 14:43:02] Production.INFO: ==28287== Releasing lock...
[2025-01-10 14:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 14:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 14:43:03] Production.INFO: ==28295== Lock acquired, processing the job...
[2025-01-10 14:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 14:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 14:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 14:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 14:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 14:43:03] Production.INFO: ==28291== Lock acquired, processing the job...
[2025-01-10 14:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 14:43:03] Production.INFO: ==28301== Lock acquired, processing the job...
[2025-01-10 14:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 14:43:03] Production.INFO: ==28293== Lock acquired, processing the job...
[2025-01-10 14:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 14:43:03] Production.INFO: ==28299== Lock acquired, processing the job...
[2025-01-10 14:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 14:43:03] Production.INFO: ==28297== Lock acquired, processing the job...
[2025-01-10 14:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 14:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 14:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:43:03] Production.INFO: Account Balance Start.
[2025-01-10 14:43:03] Production.INFO: CreateAllLog Start
[2025-01-10 14:43:03] Production.INFO: count ==21
[2025-01-10 14:43:03] Production.INFO: 117
[2025-01-10 14:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:43:03] Production.INFO: count ==21
[2025-01-10 14:43:03] Production.INFO: Date 2025-01-08
[2025-01-10 14:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217603') start
[2025-01-10 14:43:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217603') end
[2025-01-10 14:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 14:43:04] Production.INFO: 1
[2025-01-10 14:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 14:43:04] Production.INFO: Date 2025-01-09
[2025-01-10 14:43:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:43:04] Production.INFO: ==28301== Releasing lock...
[2025-01-10 14:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 14:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 14:43:04] Production.ERROR: done
[2025-01-10 14:43:04] Production.INFO: Date 2025-01-10
[2025-01-10 14:43:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 14:43:04] Production.INFO: Total Charge 0
[2025-01-10 14:43:04] Production.INFO: CreateAllLog End
[2025-01-10 14:43:04] Production.INFO: ==28293== Releasing lock...
[2025-01-10 14:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 14:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 14:43:04] Production.ERROR: done
[2025-01-10 14:43:04] Production.INFO: Account Balance End.
[2025-01-10 14:43:04] Production.ERROR: CronJobId end 12
[2025-01-10 14:43:04] Production.INFO: ==28297== Releasing lock...
[2025-01-10 14:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 14:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 14:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 11:43:05
[end_date_ymd] => 2025-01-10 14:43:05
[RateCDR] => 1
)
[2025-01-10 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-01-10 11:43:05' and `end` < '2025-01-10 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-01-10 14:43:10] Production.ERROR: CronJobId end10
[2025-01-10 14:43:10] Production.INFO: ==28295== Releasing lock...
[2025-01-10 14:43:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 14:43:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 14:43:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 14:43:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 14:43:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 14:43:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 14:43:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 14:43:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 14:43:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 14:43:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 14:43:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 14:43:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 14:43:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 14:43:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 14:43:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 14:43:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 14:43:12] Production.INFO: call_cost start
[2025-01-10 14:43:12] Production.INFO: call_cost end
[2025-01-10 14:43:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 14:43:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 14:43:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 14:43:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 14:43:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 14:43:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 14:43:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 14:43:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 14:43:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 14:43:13] Production.INFO: ==28291== Releasing lock...
[2025-01-10 14:43:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 14:43:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 14:43:24] Production.INFO: count ==4301
[2025-01-10 14:43:26] Production.ERROR: pbx CDR StartTime 2025-01-10 11:43:05 - End Time 2025-01-10 14:43:05
[2025-01-10 14:43:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 14:43:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217607', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:43:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217607', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:43:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217607', 'tblTempVendorCDR_20' ) start
[2025-01-10 14:43:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217607', 'tblTempVendorCDR_20' ) end
[2025-01-10 14:43:26] Production.INFO: ProcessCDR(1,14217607,1,1,2)
[2025-01-10 14:43:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217607,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:43:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217607,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:43:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217607,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:43:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217607,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:43:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217607', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:43:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217607', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:43:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:43:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:43:31] Production.INFO: ==28299== Releasing lock...
[2025-01-10 14:43:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 14:43:31] Production.INFO: 60.25 MB #Memory Used#
[2025-01-10 19:44:01] Production.INFO: ==28357== Lock acquired, processing the job...
[2025-01-10 19:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 19:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 19:44:01] Production.INFO: neon service started
[2025-01-10 19:44:01] Production.INFO: neon service started
[2025-01-10 19:44:01] Production.INFO: ==28357== Releasing lock...
[2025-01-10 19:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 19:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:44:01] Production.INFO: ==28359== Lock acquired, processing the job...
[2025-01-10 14:44:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 14:44:02] Production.INFO: ==28359== Releasing lock...
[2025-01-10 14:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 14:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 19:44:02] Production.INFO: ==28361== Lock acquired, processing the job...
[2025-01-10 19:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 19:44:02] Production.INFO: ==28361== Releasing lock...
[2025-01-10 19:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 19:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 14:44:02] Production.INFO: ==28363== Lock acquired, processing the job...
[2025-01-10 14:44:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 14:44:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 14:44:02] Production.INFO: ==28365== Lock acquired, processing the job...
[2025-01-10 14:44:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 14:44:03] Production.INFO: ==28369== Lock acquired, processing the job...
[2025-01-10 14:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 14:44:03] Production.INFO: ==28372== Lock acquired, processing the job...
[2025-01-10 14:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 14:44:03] Production.INFO: Account Balance Start.
[2025-01-10 14:44:03] Production.INFO: CreateAllLog Start
[2025-01-10 14:44:03] Production.INFO: 117
[2025-01-10 14:44:03] Production.INFO: Date 2025-01-08
[2025-01-10 14:44:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:44:03] Production.INFO: ==28374== Lock acquired, processing the job...
[2025-01-10 14:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 14:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:44:03] Production.INFO: ==28367== Lock acquired, processing the job...
[2025-01-10 14:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 14:44:03] Production.INFO: Date 2025-01-09
[2025-01-10 14:44:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 14:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 14:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 14:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 14:44:03] Production.INFO: Date 2025-01-10
[2025-01-10 14:44:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:44:03] Production.INFO: ==28365== Releasing lock...
[2025-01-10 14:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 14:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 14:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:44:03] Production.ERROR: done
[2025-01-10 14:44:03] Production.INFO: count ==21
[2025-01-10 14:44:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:44:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 14:44:03] Production.INFO: count ==21
[2025-01-10 14:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217611') start
[2025-01-10 14:44:03] Production.INFO: Total Charge 0
[2025-01-10 14:44:03] Production.INFO: CreateAllLog End
[2025-01-10 14:44:03] Production.ERROR: done
[2025-01-10 14:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217611') end
[2025-01-10 14:44:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 14:44:03] Production.INFO: 1
[2025-01-10 14:44:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 14:44:03] Production.INFO: ==28374== Releasing lock...
[2025-01-10 14:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 14:44:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 14:44:03] Production.INFO: Account Balance End.
[2025-01-10 14:44:03] Production.ERROR: CronJobId end 12
[2025-01-10 14:44:03] Production.INFO: ==28369== Releasing lock...
[2025-01-10 14:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 14:44:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 14:44:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 11:44:04
[end_date_ymd] => 2025-01-10 14:44:04
[RateCDR] => 1
)
[2025-01-10 14:44:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 11:44:04' and `end` < '2025-01-10 14:44:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 14:44:10] Production.ERROR: CronJobId end10
[2025-01-10 14:44:10] Production.INFO: ==28367== Releasing lock...
[2025-01-10 14:44:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 14:44:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 14:44:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 14:44:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 14:44:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 14:44:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 14:44:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 14:44:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 14:44:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 14:44:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 14:44:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 14:44:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 14:44:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 14:44:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 14:44:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 14:44:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 14:44:12] Production.INFO: call_cost start
[2025-01-10 14:44:12] Production.INFO: call_cost end
[2025-01-10 14:44:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 14:44:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 14:44:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 14:44:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 14:44:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 14:44:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 14:44:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 14:44:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 14:44:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 14:44:13] Production.INFO: ==28363== Releasing lock...
[2025-01-10 14:44:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 14:44:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 14:44:21] Production.INFO: count ==4308
[2025-01-10 14:44:22] Production.ERROR: pbx CDR StartTime 2025-01-10 11:44:04 - End Time 2025-01-10 14:44:04
[2025-01-10 14:44:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 14:44:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217612', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:44:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217612', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:44:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217612', 'tblTempVendorCDR_20' ) start
[2025-01-10 14:44:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217612', 'tblTempVendorCDR_20' ) end
[2025-01-10 14:44:22] Production.INFO: ProcessCDR(1,14217612,1,1,2)
[2025-01-10 14:44:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217612,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:44:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217612,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:44:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217612,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:44:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217612,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:44:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217612', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:44:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217612', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:44:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:44:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:44:27] Production.INFO: ==28372== Releasing lock...
[2025-01-10 14:44:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 14:44:27] Production.INFO: 60.25 MB #Memory Used#
[2025-01-10 19:45:01] Production.INFO: ==28427== Lock acquired, processing the job...
[2025-01-10 19:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 19:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 19:45:01] Production.INFO: neon service started
[2025-01-10 19:45:01] Production.INFO: neon service started
[2025-01-10 19:45:01] Production.INFO: ==28427== Releasing lock...
[2025-01-10 19:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 19:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 19:45:02] Production.INFO: ==28431== Lock acquired, processing the job...
[2025-01-10 19:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 19:45:02] Production.INFO: ==28431== Releasing lock...
[2025-01-10 19:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 19:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 14:45:02] Production.INFO: ==28429== Lock acquired, processing the job...
[2025-01-10 14:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 14:45:02] Production.INFO: ==28429== Releasing lock...
[2025-01-10 14:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 14:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 14:45:03] Production.INFO: ==28434== Lock acquired, processing the job...
[2025-01-10 14:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 14:45:03] Production.INFO: ==28438== Lock acquired, processing the job...
[2025-01-10 14:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 14:45:03] Production.INFO: ==28442== Lock acquired, processing the job...
[2025-01-10 14:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 14:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 14:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 14:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 14:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 14:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 14:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:45:03] Production.INFO: ==28436== Lock acquired, processing the job...
[2025-01-10 14:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 14:45:03] Production.INFO: ==28440== Lock acquired, processing the job...
[2025-01-10 14:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 14:45:03] Production.INFO: ==28444== Lock acquired, processing the job...
[2025-01-10 14:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 14:45:03] Production.INFO: Account Balance Start.
[2025-01-10 14:45:03] Production.INFO: CreateAllLog Start
[2025-01-10 14:45:03] Production.INFO: 117
[2025-01-10 14:45:03] Production.INFO: Date 2025-01-08
[2025-01-10 14:45:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:45:03] Production.ERROR: done
[2025-01-10 14:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 14:45:03] Production.INFO: Date 2025-01-09
[2025-01-10 14:45:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:45:03] Production.INFO: Date 2025-01-10
[2025-01-10 14:45:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:45:03] Production.INFO: Total Charge 0
[2025-01-10 14:45:04] Production.INFO: CreateAllLog End
[2025-01-10 14:45:04] Production.INFO: count ==21
[2025-01-10 14:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:45:04] Production.INFO: count ==21
[2025-01-10 14:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217615') start
[2025-01-10 14:45:04] Production.ERROR: done
[2025-01-10 14:45:04] Production.INFO: ==28436== Releasing lock...
[2025-01-10 14:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 14:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 14:45:04] Production.INFO: Account Balance End.
[2025-01-10 14:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217615') end
[2025-01-10 14:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 14:45:04] Production.INFO: 1
[2025-01-10 14:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 14:45:04] Production.ERROR: CronJobId end 12
[2025-01-10 14:45:04] Production.INFO: ==28440== Releasing lock...
[2025-01-10 14:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 14:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 14:45:04] Production.INFO: ==28444== Releasing lock...
[2025-01-10 14:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 14:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 14:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 11:45:05
[end_date_ymd] => 2025-01-10 14:45:05
[RateCDR] => 1
)
[2025-01-10 14:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 11:45:05' and `end` < '2025-01-10 14:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 14:45:11] Production.ERROR: CronJobId end10
[2025-01-10 14:45:11] Production.INFO: ==28438== Releasing lock...
[2025-01-10 14:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 14:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 14:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 14:45:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 14:45:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 14:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 14:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 14:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 14:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 14:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 14:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 14:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 14:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 14:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 14:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 14:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 14:45:13] Production.INFO: call_cost start
[2025-01-10 14:45:13] Production.INFO: call_cost end
[2025-01-10 14:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 14:45:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 14:45:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 14:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 14:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 14:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 14:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 14:45:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 14:45:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 14:45:14] Production.INFO: ==28434== Releasing lock...
[2025-01-10 14:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 14:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 14:45:26] Production.INFO: count ==4321
[2025-01-10 14:45:27] Production.ERROR: pbx CDR StartTime 2025-01-10 11:45:05 - End Time 2025-01-10 14:45:05
[2025-01-10 14:45:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 14:45:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217617', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:45:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217617', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:45:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217617', 'tblTempVendorCDR_20' ) start
[2025-01-10 14:45:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217617', 'tblTempVendorCDR_20' ) end
[2025-01-10 14:45:27] Production.INFO: ProcessCDR(1,14217617,1,1,2)
[2025-01-10 14:45:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217617,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:45:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217617,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:45:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217617,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:45:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217617,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:45:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217617', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:45:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217617', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:45:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:45:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:45:32] Production.INFO: ==28442== Releasing lock...
[2025-01-10 14:45:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 14:45:32] Production.INFO: 60.25 MB #Memory Used#
[2025-01-10 19:46:02] Production.INFO: ==28499== Lock acquired, processing the job...
[2025-01-10 19:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 19:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 19:46:02] Production.INFO: neon service started
[2025-01-10 19:46:02] Production.INFO: neon service started
[2025-01-10 19:46:02] Production.INFO: ==28499== Releasing lock...
[2025-01-10 19:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 19:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:46:02] Production.INFO: ==28501== Lock acquired, processing the job...
[2025-01-10 14:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 14:46:02] Production.INFO: ==28501== Releasing lock...
[2025-01-10 14:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 14:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 19:46:02] Production.INFO: ==28503== Lock acquired, processing the job...
[2025-01-10 19:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 19:46:03] Production.INFO: ==28503== Releasing lock...
[2025-01-10 19:46:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 19:46:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 14:46:03] Production.INFO: ==28507== Lock acquired, processing the job...
[2025-01-10 14:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 14:46:03] Production.INFO: ==28515== Lock acquired, processing the job...
[2025-01-10 14:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 14:46:03] Production.INFO: ==28505== Lock acquired, processing the job...
[2025-01-10 14:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 14:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:46:04] Production.INFO: ==28509== Lock acquired, processing the job...
[2025-01-10 14:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 14:46:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 14:46:04] Production.INFO: ==28511== Lock acquired, processing the job...
[2025-01-10 14:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 14:46:04] Production.INFO: count ==21
[2025-01-10 14:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:46:04] Production.INFO: count ==21
[2025-01-10 14:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217619') start
[2025-01-10 14:46:04] Production.INFO: ==28507== Releasing lock...
[2025-01-10 14:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 14:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 14:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 14:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 14:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 14:46:04] Production.INFO: ==28513== Lock acquired, processing the job...
[2025-01-10 14:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 14:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 14:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217619') end
[2025-01-10 14:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 14:46:04] Production.INFO: 1
[2025-01-10 14:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 14:46:04] Production.INFO: Account Balance Start.
[2025-01-10 14:46:04] Production.INFO: CreateAllLog Start
[2025-01-10 14:46:04] Production.INFO: 117
[2025-01-10 14:46:04] Production.INFO: ==28515== Releasing lock...
[2025-01-10 14:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 14:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 14:46:04] Production.INFO: Date 2025-01-08
[2025-01-10 14:46:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:46:04] Production.INFO: Date 2025-01-09
[2025-01-10 14:46:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:46:04] Production.INFO: Date 2025-01-10
[2025-01-10 14:46:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:46:04] Production.ERROR: done
[2025-01-10 14:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 14:46:04] Production.INFO: Total Charge 0
[2025-01-10 14:46:04] Production.INFO: CreateAllLog End
[2025-01-10 14:46:04] Production.ERROR: done
[2025-01-10 14:46:04] Production.INFO: Account Balance End.
[2025-01-10 14:46:04] Production.ERROR: CronJobId end 12
[2025-01-10 14:46:04] Production.INFO: ==28511== Releasing lock...
[2025-01-10 14:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 14:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 14:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 11:46:05
[end_date_ymd] => 2025-01-10 14:46:05
[RateCDR] => 1
)
[2025-01-10 14:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 11:46:05' and `end` < '2025-01-10 14:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 14:46:12] Production.ERROR: CronJobId end10
[2025-01-10 14:46:12] Production.INFO: ==28509== Releasing lock...
[2025-01-10 14:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 14:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 14:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 14:46:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 14:46:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 14:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 14:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 14:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 14:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 14:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 14:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 14:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 14:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 14:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 14:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 14:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 14:46:14] Production.INFO: call_cost start
[2025-01-10 14:46:14] Production.INFO: call_cost end
[2025-01-10 14:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 14:46:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 14:46:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 14:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 14:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 14:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 14:46:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 14:46:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 14:46:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 14:46:15] Production.INFO: ==28505== Releasing lock...
[2025-01-10 14:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 14:46:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 14:46:19] Production.INFO: count ==4314
[2025-01-10 14:46:21] Production.ERROR: pbx CDR StartTime 2025-01-10 11:46:05 - End Time 2025-01-10 14:46:05
[2025-01-10 14:46:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 14:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217622', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217622', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217622', 'tblTempVendorCDR_20' ) start
[2025-01-10 14:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217622', 'tblTempVendorCDR_20' ) end
[2025-01-10 14:46:21] Production.INFO: ProcessCDR(1,14217622,1,1,2)
[2025-01-10 14:46:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217622,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:46:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217622,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:46:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217622,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:46:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217622,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:46:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217622', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:46:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217622', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:46:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:46:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:46:25] Production.INFO: ==28513== Releasing lock...
[2025-01-10 14:46:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 14:46:25] Production.INFO: 60.25 MB #Memory Used#
[2025-01-10 19:47:01] Production.INFO: ==28571== Lock acquired, processing the job...
[2025-01-10 19:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 19:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 19:47:01] Production.INFO: neon service started
[2025-01-10 19:47:01] Production.INFO: neon service started
[2025-01-10 19:47:01] Production.INFO: ==28571== Releasing lock...
[2025-01-10 19:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 19:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:47:02] Production.INFO: ==28573== Lock acquired, processing the job...
[2025-01-10 14:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 19:47:02] Production.INFO: ==28575== Lock acquired, processing the job...
[2025-01-10 19:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 19:47:02] Production.INFO: ==28575== Releasing lock...
[2025-01-10 19:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 19:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 14:47:02] Production.INFO: ==28573== Releasing lock...
[2025-01-10 14:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 14:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 14:47:03] Production.INFO: ==28582== Lock acquired, processing the job...
[2025-01-10 14:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 14:47:03] Production.INFO: ==28578== Lock acquired, processing the job...
[2025-01-10 14:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 14:47:03] Production.INFO: ==28580== Lock acquired, processing the job...
[2025-01-10 14:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 14:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 14:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 14:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 14:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 14:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 14:47:03] Production.INFO: ==28584== Lock acquired, processing the job...
[2025-01-10 14:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 14:47:03] Production.INFO: Account Balance Start.
[2025-01-10 14:47:03] Production.INFO: CreateAllLog Start
[2025-01-10 14:47:03] Production.INFO: 117
[2025-01-10 14:47:03] Production.INFO: ==28586== Lock acquired, processing the job...
[2025-01-10 14:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 14:47:03] Production.INFO: Date 2025-01-08
[2025-01-10 14:47:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:47:04] Production.INFO: Date 2025-01-09
[2025-01-10 14:47:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:47:04] Production.INFO: Date 2025-01-10
[2025-01-10 14:47:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:47:04] Production.INFO: ==28588== Lock acquired, processing the job...
[2025-01-10 14:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 14:47:04] Production.INFO: ==28580== Releasing lock...
[2025-01-10 14:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 14:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 14:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:47:04] Production.INFO: Total Charge 0
[2025-01-10 14:47:04] Production.INFO: CreateAllLog End
[2025-01-10 14:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:47:04] Production.INFO: count ==21
[2025-01-10 14:47:04] Production.INFO: Account Balance End.
[2025-01-10 14:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:47:04] Production.INFO: count ==21
[2025-01-10 14:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217626') start
[2025-01-10 14:47:04] Production.ERROR: CronJobId end 12
[2025-01-10 14:47:04] Production.INFO: ==28584== Releasing lock...
[2025-01-10 14:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 14:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 14:47:04] Production.ERROR: done
[2025-01-10 14:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 14:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217626') end
[2025-01-10 14:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 14:47:04] Production.INFO: 1
[2025-01-10 14:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 14:47:04] Production.ERROR: done
[2025-01-10 14:47:04] Production.INFO: ==28588== Releasing lock...
[2025-01-10 14:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 14:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 14:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 11:47:05
[end_date_ymd] => 2025-01-10 14:47:05
[RateCDR] => 1
)
[2025-01-10 14:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 11:47:05' and `end` < '2025-01-10 14:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 14:47:12] Production.ERROR: CronJobId end10
[2025-01-10 14:47:12] Production.INFO: ==28582== Releasing lock...
[2025-01-10 14:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 14:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 14:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 14:47:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 14:47:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 14:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 14:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 14:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 14:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 14:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 14:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 14:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 14:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 14:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 14:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 14:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 14:47:13] Production.INFO: call_cost start
[2025-01-10 14:47:13] Production.INFO: call_cost end
[2025-01-10 14:47:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 14:47:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 14:47:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 14:47:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 14:47:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 14:47:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 14:47:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 14:47:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 14:47:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 14:47:14] Production.INFO: ==28578== Releasing lock...
[2025-01-10 14:47:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 14:47:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 14:47:21] Production.INFO: count ==4316
[2025-01-10 14:47:23] Production.ERROR: pbx CDR StartTime 2025-01-10 11:47:05 - End Time 2025-01-10 14:47:05
[2025-01-10 14:47:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 14:47:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217627', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:47:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217627', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:47:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217627', 'tblTempVendorCDR_20' ) start
[2025-01-10 14:47:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217627', 'tblTempVendorCDR_20' ) end
[2025-01-10 14:47:23] Production.INFO: ProcessCDR(1,14217627,1,1,2)
[2025-01-10 14:47:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217627,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:47:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217627,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:47:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217627,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:47:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217627,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:47:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217627', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:47:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217627', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:47:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:47:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:47:27] Production.INFO: ==28586== Releasing lock...
[2025-01-10 14:47:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 14:47:27] Production.INFO: 60.25 MB #Memory Used#
[2025-01-10 19:48:02] Production.INFO: ==28643== Lock acquired, processing the job...
[2025-01-10 19:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 19:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 19:48:02] Production.INFO: neon service started
[2025-01-10 19:48:02] Production.INFO: neon service started
[2025-01-10 19:48:02] Production.INFO: ==28643== Releasing lock...
[2025-01-10 19:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 19:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:48:02] Production.INFO: ==28645== Lock acquired, processing the job...
[2025-01-10 14:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 19:48:03] Production.INFO: ==28647== Lock acquired, processing the job...
[2025-01-10 19:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 14:48:03] Production.INFO: ==28645== Releasing lock...
[2025-01-10 14:48:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 14:48:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 19:48:03] Production.INFO: ==28647== Releasing lock...
[2025-01-10 19:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 19:48:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 14:48:03] Production.INFO: ==28652== Lock acquired, processing the job...
[2025-01-10 14:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 14:48:03] Production.INFO: ==28658== Lock acquired, processing the job...
[2025-01-10 14:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 14:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:48:04] Production.INFO: ==28650== Lock acquired, processing the job...
[2025-01-10 14:48:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 14:48:04] Production.INFO: ==28654== Lock acquired, processing the job...
[2025-01-10 14:48:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 14:48:04] Production.INFO: ==28656== Lock acquired, processing the job...
[2025-01-10 14:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 14:48:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 14:48:04] Production.ERROR: done
[2025-01-10 14:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 14:48:04] Production.INFO: ==28660== Lock acquired, processing the job...
[2025-01-10 14:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 14:48:04] Production.INFO: Account Balance Start.
[2025-01-10 14:48:04] Production.INFO: CreateAllLog Start
[2025-01-10 14:48:04] Production.INFO: 117
[2025-01-10 14:48:04] Production.INFO: Date 2025-01-08
[2025-01-10 14:48:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:48:04] Production.INFO: Date 2025-01-09
[2025-01-10 14:48:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 14:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 14:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 14:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 14:48:04] Production.INFO: ==28652== Releasing lock...
[2025-01-10 14:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 14:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 14:48:04] Production.INFO: Date 2025-01-10
[2025-01-10 14:48:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:48:04] Production.ERROR: done
[2025-01-10 14:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:48:04] Production.INFO: Total Charge 0
[2025-01-10 14:48:04] Production.INFO: count ==21
[2025-01-10 14:48:04] Production.INFO: CreateAllLog End
[2025-01-10 14:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:48:04] Production.INFO: count ==21
[2025-01-10 14:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217631') start
[2025-01-10 14:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217631') end
[2025-01-10 14:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 14:48:04] Production.INFO: 1
[2025-01-10 14:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 14:48:04] Production.INFO: ==28660== Releasing lock...
[2025-01-10 14:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 14:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 14:48:04] Production.INFO: Account Balance End.
[2025-01-10 14:48:04] Production.ERROR: CronJobId end 12
[2025-01-10 14:48:04] Production.INFO: ==28656== Releasing lock...
[2025-01-10 14:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 14:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 14:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 11:48:05
[end_date_ymd] => 2025-01-10 14:48:05
[RateCDR] => 1
)
[2025-01-10 14:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 11:48:05' and `end` < '2025-01-10 14:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 14:48:12] Production.ERROR: CronJobId end10
[2025-01-10 14:48:12] Production.INFO: ==28654== Releasing lock...
[2025-01-10 14:48:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 14:48:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 14:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 14:48:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 14:48:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 14:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 14:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 14:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 14:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 14:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 14:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 14:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 14:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 14:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 14:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 14:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 14:48:14] Production.INFO: call_cost start
[2025-01-10 14:48:14] Production.INFO: call_cost end
[2025-01-10 14:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 14:48:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 14:48:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 14:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 14:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 14:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 14:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 14:48:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 14:48:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 14:48:14] Production.INFO: ==28650== Releasing lock...
[2025-01-10 14:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 14:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 14:48:21] Production.INFO: count ==4331
[2025-01-10 14:48:23] Production.ERROR: pbx CDR StartTime 2025-01-10 11:48:05 - End Time 2025-01-10 14:48:05
[2025-01-10 14:48:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 14:48:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217632', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:48:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217632', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:48:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217632', 'tblTempVendorCDR_20' ) start
[2025-01-10 14:48:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217632', 'tblTempVendorCDR_20' ) end
[2025-01-10 14:48:23] Production.INFO: ProcessCDR(1,14217632,1,1,2)
[2025-01-10 14:48:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217632,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:48:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217632,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:48:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217632,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:48:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217632,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:48:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217632', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:48:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217632', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:48:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:48:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:48:28] Production.INFO: ==28658== Releasing lock...
[2025-01-10 14:48:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 14:48:28] Production.INFO: 60.5 MB #Memory Used#
[2025-01-10 19:49:01] Production.INFO: ==28714== Lock acquired, processing the job...
[2025-01-10 19:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 19:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 19:49:01] Production.INFO: neon service started
[2025-01-10 19:49:01] Production.INFO: neon service started
[2025-01-10 19:49:01] Production.INFO: ==28714== Releasing lock...
[2025-01-10 19:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 19:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:49:02] Production.INFO: ==28716== Lock acquired, processing the job...
[2025-01-10 14:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 14:49:02] Production.INFO: ==28716== Releasing lock...
[2025-01-10 14:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 14:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 19:49:02] Production.INFO: ==28718== Lock acquired, processing the job...
[2025-01-10 19:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 19:49:02] Production.INFO: ==28718== Releasing lock...
[2025-01-10 19:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 19:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 14:49:03] Production.INFO: ==28721== Lock acquired, processing the job...
[2025-01-10 14:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 14:49:03] Production.INFO: ==28727== Lock acquired, processing the job...
[2025-01-10 14:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 14:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 14:49:03] Production.INFO: ==28729== Lock acquired, processing the job...
[2025-01-10 14:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 14:49:03] Production.INFO: ==28723== Lock acquired, processing the job...
[2025-01-10 14:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 14:49:03] Production.INFO: ==28725== Lock acquired, processing the job...
[2025-01-10 14:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 14:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:49:03] Production.INFO: Account Balance Start.
[2025-01-10 14:49:03] Production.INFO: CreateAllLog Start
[2025-01-10 14:49:03] Production.INFO: 117
[2025-01-10 14:49:03] Production.INFO: Date 2025-01-08
[2025-01-10 14:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 14:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 14:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 14:49:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 14:49:03] Production.INFO: ==28731== Lock acquired, processing the job...
[2025-01-10 14:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 14:49:03] Production.INFO: Date 2025-01-09
[2025-01-10 14:49:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:49:03] Production.INFO: Date 2025-01-10
[2025-01-10 14:49:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:49:03] Production.INFO: count ==21
[2025-01-10 14:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:49:03] Production.INFO: count ==21
[2025-01-10 14:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217636') start
[2025-01-10 14:49:03] Production.INFO: Total Charge 0
[2025-01-10 14:49:03] Production.INFO: CreateAllLog End
[2025-01-10 14:49:03] Production.INFO: ==28723== Releasing lock...
[2025-01-10 14:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 14:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 14:49:03] Production.ERROR: done
[2025-01-10 14:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 14:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217636') end
[2025-01-10 14:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 14:49:04] Production.INFO: 1
[2025-01-10 14:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 14:49:04] Production.INFO: ==28731== Releasing lock...
[2025-01-10 14:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 14:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 14:49:04] Production.ERROR: done
[2025-01-10 14:49:04] Production.INFO: Account Balance End.
[2025-01-10 14:49:04] Production.ERROR: CronJobId end 12
[2025-01-10 14:49:04] Production.INFO: ==28727== Releasing lock...
[2025-01-10 14:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 14:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 14:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 11:49:05
[end_date_ymd] => 2025-01-10 14:49:05
[RateCDR] => 1
)
[2025-01-10 14:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 11:49:05' and `end` < '2025-01-10 14:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 14:49:13] Production.ERROR: CronJobId end10
[2025-01-10 14:49:13] Production.INFO: ==28725== Releasing lock...
[2025-01-10 14:49:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 14:49:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 14:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 14:49:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 14:49:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 14:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 14:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 14:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 14:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 14:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 14:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 14:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 14:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 14:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 14:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 14:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 14:49:14] Production.INFO: call_cost start
[2025-01-10 14:49:14] Production.INFO: call_cost end
[2025-01-10 14:49:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 14:49:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 14:49:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 14:49:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 14:49:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 14:49:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 14:49:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 14:49:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 14:49:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 14:49:14] Production.INFO: ==28721== Releasing lock...
[2025-01-10 14:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 14:49:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 14:49:23] Production.INFO: count ==4342
[2025-01-10 14:49:25] Production.ERROR: pbx CDR StartTime 2025-01-10 11:49:05 - End Time 2025-01-10 14:49:05
[2025-01-10 14:49:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 14:49:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217637', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:49:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217637', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:49:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217637', 'tblTempVendorCDR_20' ) start
[2025-01-10 14:49:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217637', 'tblTempVendorCDR_20' ) end
[2025-01-10 14:49:25] Production.INFO: ProcessCDR(1,14217637,1,1,2)
[2025-01-10 14:49:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217637,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:49:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217637,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:49:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217637,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:49:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217637,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:49:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217637', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:49:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217637', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:49:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:49:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:49:30] Production.INFO: ==28729== Releasing lock...
[2025-01-10 14:49:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 14:49:30] Production.INFO: 60.5 MB #Memory Used#
[2025-01-10 19:50:02] Production.INFO: ==28786== Lock acquired, processing the job...
[2025-01-10 19:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 19:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 19:50:02] Production.INFO: neon service started
[2025-01-10 19:50:02] Production.INFO: neon service started
[2025-01-10 19:50:02] Production.INFO: ==28786== Releasing lock...
[2025-01-10 19:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 19:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:50:02] Production.INFO: ==28788== Lock acquired, processing the job...
[2025-01-10 14:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 19:50:02] Production.INFO: ==28790== Lock acquired, processing the job...
[2025-01-10 19:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 19:50:02] Production.INFO: ==28790== Releasing lock...
[2025-01-10 19:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 19:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 14:50:03] Production.INFO: ==28788== Releasing lock...
[2025-01-10 14:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 14:50:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 14:50:03] Production.INFO: ==28794== Lock acquired, processing the job...
[2025-01-10 14:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 14:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 14:50:04] Production.INFO: ==28801== Lock acquired, processing the job...
[2025-01-10 14:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 14:50:04] Production.INFO: ==28803== Lock acquired, processing the job...
[2025-01-10 14:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 14:50:04] Production.INFO: Account Balance Start.
[2025-01-10 14:50:04] Production.INFO: CreateAllLog Start
[2025-01-10 14:50:04] Production.INFO: 117
[2025-01-10 14:50:04] Production.INFO: Date 2025-01-08
[2025-01-10 14:50:04] Production.INFO: ==28792== Lock acquired, processing the job...
[2025-01-10 14:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 14:50:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:50:04] Production.INFO: Date 2025-01-09
[2025-01-10 14:50:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:50:04] Production.INFO: ==28807== Lock acquired, processing the job...
[2025-01-10 14:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 14:50:04] Production.INFO: Date 2025-01-10
[2025-01-10 14:50:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:50:04] Production.INFO: ==28796== Lock acquired, processing the job...
[2025-01-10 14:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 14:50:04] Production.INFO: ==28798== Lock acquired, processing the job...
[2025-01-10 14:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 14:50:04] Production.INFO: Total Charge 0
[2025-01-10 14:50:04] Production.INFO: CreateAllLog End
[2025-01-10 14:50:04] Production.INFO: ==28805== Lock acquired, processing the job...
[2025-01-10 14:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 14:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 14:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 14:50:04] Production.ERROR: CronJob PID - 28794
[2025-01-10 14:50:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-10 14:50:04] Production.ERROR: CronJob ID - 5
[2025-01-10 14:50:04] Production.ERROR: CronJob Last Run Time 2025-01-10 14:50:00
[2025-01-10 14:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 14:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 14:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 14:50:04] Production.ERROR: CronJob PID - 28796
[2025-01-10 14:50:04] Production.ERROR: CronJob Title - Account Block
[2025-01-10 14:50:04] Production.ERROR: CronJob ID - 7
[2025-01-10 14:50:04] Production.ERROR: CronJob Last Run Time 2025-01-10 14:50:00
[2025-01-10 14:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 14:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 14:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 14:50:04] Production.ERROR: CronJob PID - 28798
[2025-01-10 14:50:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-10 14:50:04] Production.ERROR: CronJob ID - 10
[2025-01-10 14:50:04] Production.ERROR: CronJob Last Run Time 2025-01-10 14:50:00
[2025-01-10 14:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 14:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 14:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 14:50:04] Production.ERROR: CronJob PID - 28801
[2025-01-10 14:50:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-10 14:50:04] Production.ERROR: CronJob ID - 12
[2025-01-10 14:50:04] Production.ERROR: CronJob Last Run Time 2025-01-10 14:50:00
[2025-01-10 14:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 14:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 14:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 14:50:04] Production.ERROR: CronJob PID - 28803
[2025-01-10 14:50:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-10 14:50:04] Production.ERROR: CronJob ID - 16
[2025-01-10 14:50:04] Production.ERROR: CronJob Last Run Time 2025-01-10 14:50:00
[2025-01-10 14:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 14:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 14:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 14:50:04] Production.ERROR: CronJob PID - 28807
[2025-01-10 14:50:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-10 14:50:04] Production.ERROR: CronJob ID - 19
[2025-01-10 14:50:04] Production.ERROR: CronJob Last Run Time 2025-01-10 14:50:00
[2025-01-10 14:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 14:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 14:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 14:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 14:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 14:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 14:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:50:04] Production.INFO: Account Balance End.
[2025-01-10 14:50:04] Production.INFO: count ==21
[2025-01-10 14:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:50:04] Production.ERROR: CronJobId end 12
[2025-01-10 14:50:04] Production.INFO: ==28801== Releasing lock...
[2025-01-10 14:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 14:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 14:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 14:50:04] Production.INFO: ==28792== Releasing lock...
[2025-01-10 14:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 14:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 14:50:04] Production.ERROR: done
[2025-01-10 14:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 14:50:04] Production.INFO: ==28796== Releasing lock...
[2025-01-10 14:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 14:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 14:50:04] Production.INFO: count ==21
[2025-01-10 14:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217640') start
[2025-01-10 14:50:04] Production.ERROR: done
[2025-01-10 14:50:04] Production.ERROR: done
[2025-01-10 14:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217640') end
[2025-01-10 14:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 14:50:04] Production.INFO: 1
[2025-01-10 14:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 14:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 14:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14217643', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 14:50:05] Production.INFO: ==28807== Releasing lock...
[2025-01-10 14:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 14:50:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 14:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 11:50:05
[end_date_ymd] => 2025-01-10 14:50:05
[RateCDR] => 1
)
[2025-01-10 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-01-10 11:50:05' and `end` < '2025-01-10 14:50:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 14:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14217643', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 14:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 14:50:08] Production.INFO: ProcessCDR(1,14217643,1,1,2)
[2025-01-10 14:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14217643,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14217643,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:50:08] Production.INFO: ==28805== Releasing lock...
[2025-01-10 14:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 14:50:08] Production.INFO: 26 MB #Memory Used#
[2025-01-10 14:50:13] Production.ERROR: CronJobId end10
[2025-01-10 14:50:13] Production.INFO: ==28798== Releasing lock...
[2025-01-10 14:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 14:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 14:50:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 14:50:15] Production.INFO: ============== Balance Warning START===========
[2025-01-10 14:50:15] Production.INFO: ============== Balance Warning END===========
[2025-01-10 14:50:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 14:50:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 14:50:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 14:50:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 14:50:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 14:50:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 14:50:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 14:50:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 14:50:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 14:50:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 14:50:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 14:50:15] Production.INFO: call_cost start
[2025-01-10 14:50:15] Production.INFO: call_cost end
[2025-01-10 14:50:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 14:50:16] Production.INFO: ============== Report Schedule START===========
[2025-01-10 14:50:16] Production.INFO: ============== Report Schedule END===========
[2025-01-10 14:50:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 14:50:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 14:50:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 14:50:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 14:50:16] Production.INFO: ============== Deal alert START===========
[2025-01-10 14:50:16] Production.INFO: ============== Deal alert END===========
[2025-01-10 14:50:16] Production.INFO: ==28794== Releasing lock...
[2025-01-10 14:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 14:50:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 14:50:33] Production.INFO: count ==4385
[2025-01-10 14:50:35] Production.ERROR: pbx CDR StartTime 2025-01-10 11:50:05 - End Time 2025-01-10 14:50:05
[2025-01-10 14:50:35] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 14:50:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217642', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:50:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217642', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:50:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217642', 'tblTempVendorCDR_20' ) start
[2025-01-10 14:50:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217642', 'tblTempVendorCDR_20' ) end
[2025-01-10 14:50:35] Production.INFO: ProcessCDR(1,14217642,1,1,2)
[2025-01-10 14:50:35] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217642,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:50:38] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217642,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:50:38] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217642,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:50:40] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217642,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:50:40] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217642', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:50:40] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217642', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:50:40] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:50:40] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:50:40] Production.INFO: ==28803== Releasing lock...
[2025-01-10 14:50:40] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 14:50:40] Production.INFO: 60.75 MB #Memory Used#
[2025-01-10 19:51:01] Production.INFO: ==28899== Lock acquired, processing the job...
[2025-01-10 19:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 19:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 19:51:01] Production.INFO: neon service started
[2025-01-10 19:51:01] Production.INFO: neon service started
[2025-01-10 19:51:01] Production.INFO: ==28899== Releasing lock...
[2025-01-10 19:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 19:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:51:01] Production.INFO: ==28901== Lock acquired, processing the job...
[2025-01-10 14:51:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 14:51:02] Production.INFO: ==28901== Releasing lock...
[2025-01-10 14:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 14:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 19:51:02] Production.INFO: ==28903== Lock acquired, processing the job...
[2025-01-10 19:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 19:51:02] Production.INFO: ==28903== Releasing lock...
[2025-01-10 19:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 19:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 14:51:03] Production.INFO: ==28906== Lock acquired, processing the job...
[2025-01-10 14:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 14:51:03] Production.INFO: ==28908== Lock acquired, processing the job...
[2025-01-10 14:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 14:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 14:51:03] Production.INFO: ==28914== Lock acquired, processing the job...
[2025-01-10 14:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 14:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:51:03] Production.INFO: ==28910== Lock acquired, processing the job...
[2025-01-10 14:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 14:51:03] Production.INFO: ==28912== Lock acquired, processing the job...
[2025-01-10 14:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 14:51:03] Production.INFO: ==28908== Releasing lock...
[2025-01-10 14:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 14:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 14:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 14:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 14:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 14:51:03] Production.INFO: ==28916== Lock acquired, processing the job...
[2025-01-10 14:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 14:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 14:51:03] Production.INFO: Account Balance Start.
[2025-01-10 14:51:03] Production.INFO: CreateAllLog Start
[2025-01-10 14:51:03] Production.INFO: 117
[2025-01-10 14:51:03] Production.INFO: Date 2025-01-08
[2025-01-10 14:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:51:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:51:03] Production.INFO: count ==21
[2025-01-10 14:51:03] Production.ERROR: done
[2025-01-10 14:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 14:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:51:03] Production.INFO: Date 2025-01-09
[2025-01-10 14:51:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:51:03] Production.INFO: Date 2025-01-10
[2025-01-10 14:51:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:51:03] Production.INFO: count ==21
[2025-01-10 14:51:03] Production.INFO: Total Charge 0
[2025-01-10 14:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217646') start
[2025-01-10 14:51:03] Production.INFO: CreateAllLog End
[2025-01-10 14:51:03] Production.ERROR: done
[2025-01-10 14:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217646') end
[2025-01-10 14:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 14:51:03] Production.INFO: 1
[2025-01-10 14:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 14:51:03] Production.INFO: ==28916== Releasing lock...
[2025-01-10 14:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 14:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 14:51:04] Production.INFO: Account Balance End.
[2025-01-10 14:51:04] Production.ERROR: CronJobId end 12
[2025-01-10 14:51:04] Production.INFO: ==28912== Releasing lock...
[2025-01-10 14:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 14:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 14:51:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 11:51:04
[end_date_ymd] => 2025-01-10 14:51:04
[RateCDR] => 1
)
[2025-01-10 14:51:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 11:51:04' and `end` < '2025-01-10 14:51:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 14:51:12] Production.ERROR: CronJobId end10
[2025-01-10 14:51:12] Production.INFO: ==28910== Releasing lock...
[2025-01-10 14:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 14:51:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 14:51:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 14:51:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 14:51:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 14:51:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 14:51:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 14:51:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 14:51:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 14:51:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 14:51:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 14:51:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 14:51:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 14:51:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 14:51:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 14:51:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 14:51:12] Production.INFO: call_cost start
[2025-01-10 14:51:12] Production.INFO: call_cost end
[2025-01-10 14:51:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 14:51:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 14:51:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 14:51:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 14:51:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 14:51:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 14:51:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 14:51:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 14:51:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 14:51:13] Production.INFO: ==28906== Releasing lock...
[2025-01-10 14:51:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 14:51:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 14:51:29] Production.INFO: count ==3057
[2025-01-10 14:51:31] Production.ERROR: pbx CDR StartTime 2025-01-10 11:51:04 - End Time 2025-01-10 14:51:04
[2025-01-10 14:51:31] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 14:51:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217648', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:51:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217648', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:51:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217648', 'tblTempVendorCDR_20' ) start
[2025-01-10 14:51:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217648', 'tblTempVendorCDR_20' ) end
[2025-01-10 14:51:31] Production.INFO: ProcessCDR(1,14217648,1,1,2)
[2025-01-10 14:51:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217648,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:51:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217648,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:51:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217648,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:51:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217648,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:51:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217648', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:51:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217648', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:51:36] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:51:36] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:51:36] Production.INFO: ==28914== Releasing lock...
[2025-01-10 14:51:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 14:51:36] Production.INFO: 51.5 MB #Memory Used#
[2025-01-10 19:52:02] Production.INFO: ==28974== Lock acquired, processing the job...
[2025-01-10 19:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 19:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 19:52:02] Production.INFO: neon service started
[2025-01-10 19:52:02] Production.INFO: neon service started
[2025-01-10 19:52:02] Production.INFO: ==28974== Releasing lock...
[2025-01-10 19:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 19:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 19:52:02] Production.INFO: ==28978== Lock acquired, processing the job...
[2025-01-10 19:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 19:52:02] Production.INFO: ==28978== Releasing lock...
[2025-01-10 19:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 19:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 14:52:02] Production.INFO: ==28976== Lock acquired, processing the job...
[2025-01-10 14:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 14:52:02] Production.INFO: ==28976== Releasing lock...
[2025-01-10 14:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 14:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 14:52:03] Production.INFO: ==28980== Lock acquired, processing the job...
[2025-01-10 14:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 14:52:03] Production.INFO: ==28982== Lock acquired, processing the job...
[2025-01-10 14:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 14:52:03] Production.INFO: ==28984== Lock acquired, processing the job...
[2025-01-10 14:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 14:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 14:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 14:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 14:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 14:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 14:52:03] Production.INFO: ==28987== Lock acquired, processing the job...
[2025-01-10 14:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 14:52:04] Production.INFO: ==28982== Releasing lock...
[2025-01-10 14:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 14:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 14:52:04] Production.INFO: ==28989== Lock acquired, processing the job...
[2025-01-10 14:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 14:52:04] Production.INFO: Account Balance Start.
[2025-01-10 14:52:04] Production.INFO: CreateAllLog Start
[2025-01-10 14:52:04] Production.INFO: 117
[2025-01-10 14:52:04] Production.INFO: Date 2025-01-08
[2025-01-10 14:52:04] Production.INFO: ==28991== Lock acquired, processing the job...
[2025-01-10 14:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 14:52:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:52:04] Production.INFO: Date 2025-01-09
[2025-01-10 14:52:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:52:04] Production.INFO: Date 2025-01-10
[2025-01-10 14:52:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:52:04] Production.INFO: Total Charge 0
[2025-01-10 14:52:04] Production.INFO: CreateAllLog End
[2025-01-10 14:52:04] Production.INFO: count ==21
[2025-01-10 14:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:52:04] Production.INFO: count ==21
[2025-01-10 14:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217652') start
[2025-01-10 14:52:04] Production.ERROR: done
[2025-01-10 14:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 14:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217652') end
[2025-01-10 14:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 14:52:04] Production.INFO: 1
[2025-01-10 14:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 14:52:04] Production.INFO: Account Balance End.
[2025-01-10 14:52:04] Production.INFO: ==28991== Releasing lock...
[2025-01-10 14:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 14:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 14:52:04] Production.ERROR: done
[2025-01-10 14:52:04] Production.ERROR: CronJobId end 12
[2025-01-10 14:52:04] Production.INFO: ==28987== Releasing lock...
[2025-01-10 14:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 14:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 14:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 11:52:05
[end_date_ymd] => 2025-01-10 14:52:05
[RateCDR] => 1
)
[2025-01-10 14:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 11:52:05' and `end` < '2025-01-10 14:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 14:52:12] Production.ERROR: CronJobId end10
[2025-01-10 14:52:12] Production.INFO: ==28984== Releasing lock...
[2025-01-10 14:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 14:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 14:52:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 14:52:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 14:52:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 14:52:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 14:52:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 14:52:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 14:52:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 14:52:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 14:52:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 14:52:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 14:52:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 14:52:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 14:52:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 14:52:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 14:52:14] Production.INFO: call_cost start
[2025-01-10 14:52:14] Production.INFO: call_cost end
[2025-01-10 14:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 14:52:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 14:52:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 14:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 14:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 14:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 14:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 14:52:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 14:52:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 14:52:15] Production.INFO: ==28980== Releasing lock...
[2025-01-10 14:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 14:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 14:52:24] Production.INFO: count ==3059
[2025-01-10 14:52:26] Production.ERROR: pbx CDR StartTime 2025-01-10 11:52:05 - End Time 2025-01-10 14:52:05
[2025-01-10 14:52:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 14:52:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217653', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:52:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217653', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:52:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217653', 'tblTempVendorCDR_20' ) start
[2025-01-10 14:52:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217653', 'tblTempVendorCDR_20' ) end
[2025-01-10 14:52:26] Production.INFO: ProcessCDR(1,14217653,1,1,2)
[2025-01-10 14:52:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217653,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:52:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217653,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:52:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217653,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:52:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217653,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:52:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217653', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:52:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217653', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:52:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:52:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:52:31] Production.INFO: ==28989== Releasing lock...
[2025-01-10 14:52:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 14:52:31] Production.INFO: 51 MB #Memory Used#
[2025-01-10 19:53:01] Production.INFO: ==29049== Lock acquired, processing the job...
[2025-01-10 19:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 19:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 19:53:01] Production.INFO: neon service started
[2025-01-10 19:53:01] Production.INFO: neon service started
[2025-01-10 19:53:01] Production.INFO: ==29049== Releasing lock...
[2025-01-10 19:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 19:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:53:01] Production.INFO: ==29051== Lock acquired, processing the job...
[2025-01-10 14:53:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 19:53:02] Production.INFO: ==29053== Lock acquired, processing the job...
[2025-01-10 19:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 14:53:02] Production.INFO: ==29051== Releasing lock...
[2025-01-10 14:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 14:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 19:53:02] Production.INFO: ==29053== Releasing lock...
[2025-01-10 19:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 19:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 14:53:03] Production.INFO: ==29060== Lock acquired, processing the job...
[2025-01-10 14:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 14:53:03] Production.INFO: ==29062== Lock acquired, processing the job...
[2025-01-10 14:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 14:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 14:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 14:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 14:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 14:53:03] Production.INFO: Account Balance Start.
[2025-01-10 14:53:03] Production.INFO: CreateAllLog Start
[2025-01-10 14:53:03] Production.INFO: 117
[2025-01-10 14:53:03] Production.INFO: Date 2025-01-08
[2025-01-10 14:53:03] Production.INFO: ==29055== Lock acquired, processing the job...
[2025-01-10 14:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 14:53:03] Production.INFO: ==29058== Lock acquired, processing the job...
[2025-01-10 14:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 14:53:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:53:03] Production.INFO: Date 2025-01-09
[2025-01-10 14:53:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:53:03] Production.INFO: ==29064== Lock acquired, processing the job...
[2025-01-10 14:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 14:53:03] Production.INFO: Date 2025-01-10
[2025-01-10 14:53:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 14:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:53:03] Production.INFO: ==29066== Lock acquired, processing the job...
[2025-01-10 14:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 14:53:03] Production.INFO: Total Charge 0
[2025-01-10 14:53:03] Production.INFO: CreateAllLog End
[2025-01-10 14:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:53:03] Production.INFO: count ==21
[2025-01-10 14:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:53:03] Production.INFO: count ==21
[2025-01-10 14:53:03] Production.ERROR: done
[2025-01-10 14:53:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 14:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217657') start
[2025-01-10 14:53:03] Production.INFO: ==29058== Releasing lock...
[2025-01-10 14:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 14:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 14:53:03] Production.ERROR: done
[2025-01-10 14:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217657') end
[2025-01-10 14:53:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 14:53:03] Production.INFO: 1
[2025-01-10 14:53:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 14:53:03] Production.INFO: Account Balance End.
[2025-01-10 14:53:03] Production.ERROR: CronJobId end 12
[2025-01-10 14:53:03] Production.INFO: ==29062== Releasing lock...
[2025-01-10 14:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 14:53:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 14:53:03] Production.INFO: ==29066== Releasing lock...
[2025-01-10 14:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 14:53:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 14:53:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 11:53:04
[end_date_ymd] => 2025-01-10 14:53:04
[RateCDR] => 1
)
[2025-01-10 14:53:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 11:53:04' and `end` < '2025-01-10 14:53:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 14:53:11] Production.ERROR: CronJobId end10
[2025-01-10 14:53:11] Production.INFO: ==29060== Releasing lock...
[2025-01-10 14:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 14:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 14:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 14:53:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 14:53:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 14:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 14:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 14:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 14:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 14:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 14:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 14:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 14:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 14:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 14:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 14:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 14:53:14] Production.INFO: call_cost start
[2025-01-10 14:53:14] Production.INFO: call_cost end
[2025-01-10 14:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 14:53:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 14:53:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 14:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 14:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 14:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 14:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 14:53:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 14:53:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 14:53:14] Production.INFO: ==29055== Releasing lock...
[2025-01-10 14:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 14:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 14:53:23] Production.INFO: count ==3049
[2025-01-10 14:53:25] Production.ERROR: pbx CDR StartTime 2025-01-10 11:53:04 - End Time 2025-01-10 14:53:04
[2025-01-10 14:53:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 14:53:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217658', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:53:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217658', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:53:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217658', 'tblTempVendorCDR_20' ) start
[2025-01-10 14:53:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217658', 'tblTempVendorCDR_20' ) end
[2025-01-10 14:53:25] Production.INFO: ProcessCDR(1,14217658,1,1,2)
[2025-01-10 14:53:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217658,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:53:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217658,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:53:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217658,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:53:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217658,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:53:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217658', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:53:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217658', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:53:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:53:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:53:30] Production.INFO: ==29064== Releasing lock...
[2025-01-10 14:53:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 14:53:30] Production.INFO: 51.25 MB #Memory Used#
[2025-01-10 19:54:01] Production.INFO: ==29121== Lock acquired, processing the job...
[2025-01-10 19:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 19:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 19:54:01] Production.INFO: neon service started
[2025-01-10 19:54:01] Production.INFO: neon service started
[2025-01-10 19:54:01] Production.INFO: ==29121== Releasing lock...
[2025-01-10 19:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 19:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:54:02] Production.INFO: ==29123== Lock acquired, processing the job...
[2025-01-10 14:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 19:54:02] Production.INFO: ==29125== Lock acquired, processing the job...
[2025-01-10 19:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 19:54:02] Production.INFO: ==29125== Releasing lock...
[2025-01-10 19:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 19:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 14:54:02] Production.INFO: ==29123== Releasing lock...
[2025-01-10 14:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 14:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 14:54:03] Production.INFO: ==29128== Lock acquired, processing the job...
[2025-01-10 14:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 14:54:03] Production.INFO: ==29132== Lock acquired, processing the job...
[2025-01-10 14:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 14:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 14:54:03] Production.INFO: ==29130== Lock acquired, processing the job...
[2025-01-10 14:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 14:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 14:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 14:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 14:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 14:54:03] Production.INFO: ==29134== Lock acquired, processing the job...
[2025-01-10 14:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 14:54:04] Production.INFO: Account Balance Start.
[2025-01-10 14:54:04] Production.INFO: CreateAllLog Start
[2025-01-10 14:54:04] Production.INFO: 117
[2025-01-10 14:54:04] Production.INFO: Date 2025-01-08
[2025-01-10 14:54:04] Production.INFO: ==29138== Lock acquired, processing the job...
[2025-01-10 14:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 14:54:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:54:04] Production.INFO: ==29136== Lock acquired, processing the job...
[2025-01-10 14:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 14:54:04] Production.INFO: Date 2025-01-09
[2025-01-10 14:54:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:54:04] Production.INFO: Date 2025-01-10
[2025-01-10 14:54:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:54:04] Production.INFO: Total Charge 0
[2025-01-10 14:54:04] Production.INFO: ==29130== Releasing lock...
[2025-01-10 14:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 14:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 14:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:54:04] Production.INFO: CreateAllLog End
[2025-01-10 14:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:54:04] Production.INFO: count ==21
[2025-01-10 14:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:54:04] Production.INFO: count ==21
[2025-01-10 14:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217662') start
[2025-01-10 14:54:04] Production.INFO: Account Balance End.
[2025-01-10 14:54:04] Production.ERROR: done
[2025-01-10 14:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 14:54:04] Production.ERROR: CronJobId end 12
[2025-01-10 14:54:04] Production.INFO: ==29134== Releasing lock...
[2025-01-10 14:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 14:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 14:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217662') end
[2025-01-10 14:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 14:54:04] Production.INFO: 1
[2025-01-10 14:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 14:54:04] Production.ERROR: done
[2025-01-10 14:54:04] Production.INFO: ==29138== Releasing lock...
[2025-01-10 14:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 14:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 14:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 11:54:05
[end_date_ymd] => 2025-01-10 14:54:05
[RateCDR] => 1
)
[2025-01-10 14:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 11:54:05' and `end` < '2025-01-10 14:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 14:54:11] Production.ERROR: CronJobId end10
[2025-01-10 14:54:11] Production.INFO: ==29132== Releasing lock...
[2025-01-10 14:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 14:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 14:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 14:54:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 14:54:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 14:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 14:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 14:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 14:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 14:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 14:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 14:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 14:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 14:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 14:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 14:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 14:54:13] Production.INFO: call_cost start
[2025-01-10 14:54:13] Production.INFO: call_cost end
[2025-01-10 14:54:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 14:54:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 14:54:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 14:54:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 14:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 14:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 14:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 14:54:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 14:54:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 14:54:14] Production.INFO: ==29128== Releasing lock...
[2025-01-10 14:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 14:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 14:54:22] Production.INFO: count ==3058
[2025-01-10 14:54:24] Production.ERROR: pbx CDR StartTime 2025-01-10 11:54:05 - End Time 2025-01-10 14:54:05
[2025-01-10 14:54:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 14:54:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217663', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:54:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217663', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:54:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217663', 'tblTempVendorCDR_20' ) start
[2025-01-10 14:54:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217663', 'tblTempVendorCDR_20' ) end
[2025-01-10 14:54:24] Production.INFO: ProcessCDR(1,14217663,1,1,2)
[2025-01-10 14:54:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217663,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:54:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217663,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:54:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217663,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:54:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217663,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:54:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217663', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:54:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217663', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:54:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:54:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:54:28] Production.INFO: ==29136== Releasing lock...
[2025-01-10 14:54:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 14:54:28] Production.INFO: 51.5 MB #Memory Used#
[2025-01-10 19:55:01] Production.INFO: ==29194== Lock acquired, processing the job...
[2025-01-10 19:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 19:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 19:55:01] Production.INFO: neon service started
[2025-01-10 19:55:01] Production.INFO: neon service started
[2025-01-10 19:55:01] Production.INFO: ==29194== Releasing lock...
[2025-01-10 19:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 19:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:55:01] Production.INFO: ==29196== Lock acquired, processing the job...
[2025-01-10 14:55:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 14:55:02] Production.INFO: ==29196== Releasing lock...
[2025-01-10 14:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 14:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 19:55:02] Production.INFO: ==29198== Lock acquired, processing the job...
[2025-01-10 19:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 19:55:02] Production.INFO: ==29198== Releasing lock...
[2025-01-10 19:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 19:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 14:55:02] Production.INFO: ==29206== Lock acquired, processing the job...
[2025-01-10 14:55:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 14:55:02] Production.INFO: ==29200== Lock acquired, processing the job...
[2025-01-10 14:55:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 14:55:03] Production.INFO: ==29202== Lock acquired, processing the job...
[2025-01-10 14:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 14:55:03] Production.INFO: ==29204== Lock acquired, processing the job...
[2025-01-10 14:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 14:55:03] Production.INFO: Account Balance Start.
[2025-01-10 14:55:03] Production.INFO: CreateAllLog Start
[2025-01-10 14:55:03] Production.INFO: 117
[2025-01-10 14:55:03] Production.INFO: Date 2025-01-08
[2025-01-10 14:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 14:55:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:55:03] Production.INFO: Date 2025-01-09
[2025-01-10 14:55:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:55:03] Production.INFO: ==29211== Lock acquired, processing the job...
[2025-01-10 14:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 14:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 14:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 14:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 14:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 14:55:03] Production.INFO: Date 2025-01-10
[2025-01-10 14:55:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:55:03] Production.INFO: Total Charge 0
[2025-01-10 14:55:03] Production.INFO: CreateAllLog End
[2025-01-10 14:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:55:03] Production.INFO: count ==21
[2025-01-10 14:55:03] Production.INFO: ==29209== Lock acquired, processing the job...
[2025-01-10 14:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 14:55:03] Production.INFO: ==29202== Releasing lock...
[2025-01-10 14:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 14:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 14:55:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:55:03] Production.INFO: count ==21
[2025-01-10 14:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217667') start
[2025-01-10 14:55:03] Production.INFO: Account Balance End.
[2025-01-10 14:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:55:03] Production.ERROR: CronJobId end 12
[2025-01-10 14:55:03] Production.INFO: ==29206== Releasing lock...
[2025-01-10 14:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 14:55:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 14:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217667') end
[2025-01-10 14:55:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 14:55:03] Production.INFO: 1
[2025-01-10 14:55:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 14:55:03] Production.INFO: ==29211== Releasing lock...
[2025-01-10 14:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 14:55:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 14:55:03] Production.ERROR: done
[2025-01-10 14:55:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 14:55:03] Production.ERROR: done
[2025-01-10 14:55:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 11:55:04
[end_date_ymd] => 2025-01-10 14:55:04
[RateCDR] => 1
)
[2025-01-10 14:55:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 11:55:04' and `end` < '2025-01-10 14:55:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 14:55:10] Production.ERROR: CronJobId end10
[2025-01-10 14:55:10] Production.INFO: ==29204== Releasing lock...
[2025-01-10 14:55:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 14:55:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 14:55:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 14:55:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 14:55:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 14:55:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 14:55:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 14:55:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 14:55:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 14:55:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 14:55:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 14:55:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 14:55:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 14:55:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 14:55:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 14:55:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 14:55:12] Production.INFO: call_cost start
[2025-01-10 14:55:12] Production.INFO: call_cost end
[2025-01-10 14:55:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 14:55:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 14:55:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 14:55:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 14:55:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 14:55:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 14:55:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 14:55:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 14:55:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 14:55:13] Production.INFO: ==29200== Releasing lock...
[2025-01-10 14:55:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 14:55:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 14:55:27] Production.INFO: count ==3051
[2025-01-10 14:55:28] Production.ERROR: pbx CDR StartTime 2025-01-10 11:55:04 - End Time 2025-01-10 14:55:04
[2025-01-10 14:55:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 14:55:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217668', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:55:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217668', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:55:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217668', 'tblTempVendorCDR_20' ) start
[2025-01-10 14:55:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217668', 'tblTempVendorCDR_20' ) end
[2025-01-10 14:55:29] Production.INFO: ProcessCDR(1,14217668,1,1,2)
[2025-01-10 14:55:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217668,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:55:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217668,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:55:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217668,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:55:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217668,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:55:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217668', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:55:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217668', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:55:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:55:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:55:33] Production.INFO: ==29209== Releasing lock...
[2025-01-10 14:55:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 14:55:33] Production.INFO: 51 MB #Memory Used#
[2025-01-10 19:56:01] Production.INFO: ==29265== Lock acquired, processing the job...
[2025-01-10 19:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 19:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 19:56:01] Production.INFO: neon service started
[2025-01-10 19:56:01] Production.INFO: neon service started
[2025-01-10 19:56:01] Production.INFO: ==29265== Releasing lock...
[2025-01-10 19:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 19:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 19:56:02] Production.INFO: ==29269== Lock acquired, processing the job...
[2025-01-10 19:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 19:56:02] Production.INFO: ==29269== Releasing lock...
[2025-01-10 19:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 19:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 14:56:02] Production.INFO: ==29267== Lock acquired, processing the job...
[2025-01-10 14:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 14:56:02] Production.INFO: ==29267== Releasing lock...
[2025-01-10 14:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 14:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 14:56:03] Production.INFO: ==29274== Lock acquired, processing the job...
[2025-01-10 14:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 14:56:03] Production.INFO: ==29276== Lock acquired, processing the job...
[2025-01-10 14:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 14:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 14:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 14:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 14:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 14:56:03] Production.INFO: ==29280== Lock acquired, processing the job...
[2025-01-10 14:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 14:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:56:03] Production.INFO: ==29272== Lock acquired, processing the job...
[2025-01-10 14:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 14:56:03] Production.INFO: ==29274== Releasing lock...
[2025-01-10 14:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 14:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 14:56:03] Production.INFO: ==29278== Lock acquired, processing the job...
[2025-01-10 14:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 14:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 14:56:03] Production.INFO: ==29282== Lock acquired, processing the job...
[2025-01-10 14:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 14:56:03] Production.ERROR: done
[2025-01-10 14:56:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 14:56:03] Production.INFO: Account Balance Start.
[2025-01-10 14:56:03] Production.INFO: CreateAllLog Start
[2025-01-10 14:56:03] Production.INFO: 117
[2025-01-10 14:56:03] Production.INFO: Date 2025-01-08
[2025-01-10 14:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:56:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:56:03] Production.INFO: count ==21
[2025-01-10 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-01-10 14:56:04] Production.INFO: count ==21
[2025-01-10 14:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217672') start
[2025-01-10 14:56:04] Production.ERROR: done
[2025-01-10 14:56:04] Production.INFO: Date 2025-01-09
[2025-01-10 14:56:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:56:04] Production.INFO: Date 2025-01-10
[2025-01-10 14:56:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:56:04] Production.INFO: Total Charge 0
[2025-01-10 14:56:04] Production.INFO: CreateAllLog End
[2025-01-10 14:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217672') end
[2025-01-10 14:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 14:56:04] Production.INFO: 1
[2025-01-10 14:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 14:56:04] Production.INFO: ==29282== Releasing lock...
[2025-01-10 14:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 14:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 14:56:04] Production.INFO: Account Balance End.
[2025-01-10 14:56:04] Production.ERROR: CronJobId end 12
[2025-01-10 14:56:04] Production.INFO: ==29278== Releasing lock...
[2025-01-10 14:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 14:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 14:56:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 11:56:04
[end_date_ymd] => 2025-01-10 14:56:04
[RateCDR] => 1
)
[2025-01-10 14:56:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 11:56:04' and `end` < '2025-01-10 14:56:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 14:56:11] Production.ERROR: CronJobId end10
[2025-01-10 14:56:11] Production.INFO: ==29276== Releasing lock...
[2025-01-10 14:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 14:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 14:56:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 14:56:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 14:56:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 14:56:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 14:56:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 14:56:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 14:56:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 14:56:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 14:56:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 14:56:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 14:56:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 14:56:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 14:56:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 14:56:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 14:56:12] Production.INFO: call_cost start
[2025-01-10 14:56:12] Production.INFO: call_cost end
[2025-01-10 14:56:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 14:56:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 14:56:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 14:56:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 14:56:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 14:56:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 14:56:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 14:56:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 14:56:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 14:56:13] Production.INFO: ==29272== Releasing lock...
[2025-01-10 14:56:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 14:56:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 14:56:26] Production.INFO: count ==3067
[2025-01-10 14:56:28] Production.ERROR: pbx CDR StartTime 2025-01-10 11:56:04 - End Time 2025-01-10 14:56:04
[2025-01-10 14:56:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 14:56:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217673', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:56:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217673', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:56:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217673', 'tblTempVendorCDR_20' ) start
[2025-01-10 14:56:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217673', 'tblTempVendorCDR_20' ) end
[2025-01-10 14:56:28] Production.INFO: ProcessCDR(1,14217673,1,1,2)
[2025-01-10 14:56:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217673,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:56:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217673,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:56:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217673,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:56:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217673,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:56:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217673', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:56:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217673', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:56:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:56:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:56:33] Production.INFO: ==29280== Releasing lock...
[2025-01-10 14:56:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 14:56:33] Production.INFO: 52.25 MB #Memory Used#
[2025-01-10 19:57:02] Production.INFO: ==29338== Lock acquired, processing the job...
[2025-01-10 19:57:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 19:57:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 19:57:02] Production.INFO: neon service started
[2025-01-10 19:57:02] Production.INFO: neon service started
[2025-01-10 19:57:02] Production.INFO: ==29338== Releasing lock...
[2025-01-10 19:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 19:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:57:02] Production.INFO: ==29340== Lock acquired, processing the job...
[2025-01-10 14:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 19:57:02] Production.INFO: ==29342== Lock acquired, processing the job...
[2025-01-10 19:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 19:57:02] Production.INFO: ==29342== Releasing lock...
[2025-01-10 19:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 19:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 14:57:03] Production.INFO: ==29340== Releasing lock...
[2025-01-10 14:57:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 14:57:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 14:57:03] Production.INFO: ==29355== Lock acquired, processing the job...
[2025-01-10 14:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 14:57:03] Production.INFO: ==29349== Lock acquired, processing the job...
[2025-01-10 14:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 14:57:04] Production.INFO: ==29345== Lock acquired, processing the job...
[2025-01-10 14:57:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 14:57:04] Production.INFO: ==29347== Lock acquired, processing the job...
[2025-01-10 14:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 14:57:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 14:57:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 14:57:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 14:57:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 14:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 14:57:04] Production.INFO: ==29351== Lock acquired, processing the job...
[2025-01-10 14:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 14:57:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:57:04] Production.INFO: count ==21
[2025-01-10 14:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:57:04] Production.INFO: ==29353== Lock acquired, processing the job...
[2025-01-10 14:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 14:57:04] Production.INFO: count ==21
[2025-01-10 14:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217674') start
[2025-01-10 14:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:57:04] Production.INFO: ==29347== Releasing lock...
[2025-01-10 14:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 14:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 14:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217674') end
[2025-01-10 14:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 14:57:04] Production.INFO: 1
[2025-01-10 14:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 14:57:04] Production.INFO: Account Balance Start.
[2025-01-10 14:57:04] Production.INFO: CreateAllLog Start
[2025-01-10 14:57:04] Production.INFO: 117
[2025-01-10 14:57:04] Production.ERROR: done
[2025-01-10 14:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 14:57:04] Production.INFO: Date 2025-01-08
[2025-01-10 14:57:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:57:04] Production.INFO: ==29355== Releasing lock...
[2025-01-10 14:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 14:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 14:57:04] Production.ERROR: done
[2025-01-10 14:57:04] Production.INFO: Date 2025-01-09
[2025-01-10 14:57:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:57:04] Production.INFO: Date 2025-01-10
[2025-01-10 14:57:04] Production.INFO: Reseller ==> 0
[2025-01-10 14:57:04] Production.INFO: Total Charge 0
[2025-01-10 14:57:04] Production.INFO: CreateAllLog End
[2025-01-10 14:57:04] Production.INFO: Account Balance End.
[2025-01-10 14:57:04] Production.ERROR: CronJobId end 12
[2025-01-10 14:57:04] Production.INFO: ==29351== Releasing lock...
[2025-01-10 14:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 14:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 14:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 11:57:05
[end_date_ymd] => 2025-01-10 14:57:05
[RateCDR] => 1
)
[2025-01-10 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-01-10 11:57:05' and `end` < '2025-01-10 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-01-10 14:57:11] Production.ERROR: CronJobId end10
[2025-01-10 14:57:11] Production.INFO: ==29349== Releasing lock...
[2025-01-10 14:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 14:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 14:57:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 14:57:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 14:57:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 14:57:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 14:57:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 14:57:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 14:57:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 14:57:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 14:57:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 14:57:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 14:57:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 14:57:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 14:57:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 14:57:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 14:57:13] Production.INFO: call_cost start
[2025-01-10 14:57:13] Production.INFO: call_cost end
[2025-01-10 14:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 14:57:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 14:57:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 14:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 14:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 14:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 14:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 14:57:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 14:57:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 14:57:14] Production.INFO: ==29345== Releasing lock...
[2025-01-10 14:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 14:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 14:57:30] Production.INFO: count ==3065
[2025-01-10 14:57:31] Production.ERROR: pbx CDR StartTime 2025-01-10 11:57:05 - End Time 2025-01-10 14:57:05
[2025-01-10 14:57:31] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 14:57:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217678', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:57:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217678', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:57:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217678', 'tblTempVendorCDR_20' ) start
[2025-01-10 14:57:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217678', 'tblTempVendorCDR_20' ) end
[2025-01-10 14:57:32] Production.INFO: ProcessCDR(1,14217678,1,1,2)
[2025-01-10 14:57:32] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217678,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:57:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217678,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:57:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217678,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:57:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217678,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:57:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217678', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:57:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217678', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:57:36] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:57:36] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:57:36] Production.INFO: ==29353== Releasing lock...
[2025-01-10 14:57:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 14:57:36] Production.INFO: 51.25 MB #Memory Used#
[2025-01-10 19:58:01] Production.INFO: ==29411== Lock acquired, processing the job...
[2025-01-10 19:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 19:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 19:58:01] Production.INFO: neon service started
[2025-01-10 19:58:01] Production.INFO: neon service started
[2025-01-10 19:58:01] Production.INFO: ==29411== Releasing lock...
[2025-01-10 19:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 19:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 19:58:02] Production.INFO: ==29415== Lock acquired, processing the job...
[2025-01-10 19:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 14:58:02] Production.INFO: ==29413== Lock acquired, processing the job...
[2025-01-10 14:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 19:58:02] Production.INFO: ==29415== Releasing lock...
[2025-01-10 19:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 19:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 14:58:02] Production.INFO: ==29413== Releasing lock...
[2025-01-10 14:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 14:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 14:58:03] Production.INFO: ==29417== Lock acquired, processing the job...
[2025-01-10 14:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 14:58:03] Production.INFO: ==29419== Lock acquired, processing the job...
[2025-01-10 14:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 14:58:03] Production.INFO: ==29426== Lock acquired, processing the job...
[2025-01-10 14:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 14:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 14:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:58:03] Production.INFO: ==29421== Lock acquired, processing the job...
[2025-01-10 14:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 14:58:03] Production.INFO: ==29419== Releasing lock...
[2025-01-10 14:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 14:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 14:58:03] Production.INFO: ==29423== Lock acquired, processing the job...
[2025-01-10 14:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 14:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 14:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 14:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 14:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 14:58:03] Production.INFO: ==29428== Lock acquired, processing the job...
[2025-01-10 14:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 14:58:03] Production.ERROR: done
[2025-01-10 14:58:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 14:58:03] Production.INFO: Account Balance Start.
[2025-01-10 14:58:03] Production.INFO: CreateAllLog Start
[2025-01-10 14:58:03] Production.INFO: 117
[2025-01-10 14:58:03] Production.INFO: Date 2025-01-08
[2025-01-10 14:58:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:58:03] Production.INFO: Date 2025-01-09
[2025-01-10 14:58:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:58:03] Production.INFO: count ==21
[2025-01-10 14:58:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:58:03] Production.INFO: count ==21
[2025-01-10 14:58:03] Production.INFO: Date 2025-01-10
[2025-01-10 14:58:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217682') start
[2025-01-10 14:58:03] Production.ERROR: done
[2025-01-10 14:58:03] Production.INFO: Total Charge 0
[2025-01-10 14:58:03] Production.INFO: CreateAllLog End
[2025-01-10 14:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217682') end
[2025-01-10 14:58:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 14:58:03] Production.INFO: 1
[2025-01-10 14:58:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 14:58:03] Production.INFO: ==29428== Releasing lock...
[2025-01-10 14:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 14:58:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 14:58:03] Production.INFO: Account Balance End.
[2025-01-10 14:58:03] Production.ERROR: CronJobId end 12
[2025-01-10 14:58:03] Production.INFO: ==29423== Releasing lock...
[2025-01-10 14:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 14:58:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 14:58:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 11:58:04
[end_date_ymd] => 2025-01-10 14:58:04
[RateCDR] => 1
)
[2025-01-10 14:58:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 11:58:04' and `end` < '2025-01-10 14:58:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 14:58:10] Production.ERROR: CronJobId end10
[2025-01-10 14:58:10] Production.INFO: ==29421== Releasing lock...
[2025-01-10 14:58:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 14:58:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 14:58:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 14:58:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 14:58:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 14:58:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 14:58:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 14:58:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 14:58:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 14:58:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 14:58:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 14:58:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 14:58:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 14:58:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 14:58:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 14:58:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 14:58:12] Production.INFO: call_cost start
[2025-01-10 14:58:12] Production.INFO: call_cost end
[2025-01-10 14:58:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 14:58:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 14:58:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 14:58:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 14:58:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 14:58:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 14:58:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 14:58:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 14:58:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 14:58:13] Production.INFO: ==29417== Releasing lock...
[2025-01-10 14:58:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 14:58:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 14:58:25] Production.INFO: count ==3059
[2025-01-10 14:58:27] Production.ERROR: pbx CDR StartTime 2025-01-10 11:58:04 - End Time 2025-01-10 14:58:04
[2025-01-10 14:58:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 14:58:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217683', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:58:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217683', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:58:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217683', 'tblTempVendorCDR_20' ) start
[2025-01-10 14:58:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217683', 'tblTempVendorCDR_20' ) end
[2025-01-10 14:58:27] Production.INFO: ProcessCDR(1,14217683,1,1,2)
[2025-01-10 14:58:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217683,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:58:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217683,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:58:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217683,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:58:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217683,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:58:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217683', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:58:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217683', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:58:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:58:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:58:31] Production.INFO: ==29426== Releasing lock...
[2025-01-10 14:58:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 14:58:31] Production.INFO: 51.5 MB #Memory Used#
[2025-01-10 19:59:01] Production.INFO: ==29486== Lock acquired, processing the job...
[2025-01-10 19:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 19:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 19:59:01] Production.INFO: neon service started
[2025-01-10 19:59:02] Production.INFO: neon service started
[2025-01-10 19:59:02] Production.INFO: ==29486== Releasing lock...
[2025-01-10 19:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 19:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 14:59:02] Production.INFO: ==29488== Lock acquired, processing the job...
[2025-01-10 14:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 14:59:02] Production.INFO: ==29488== Releasing lock...
[2025-01-10 14:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 14:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 19:59:02] Production.INFO: ==29490== Lock acquired, processing the job...
[2025-01-10 19:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 19:59:02] Production.INFO: ==29490== Releasing lock...
[2025-01-10 19:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 19:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 14:59:03] Production.INFO: ==29492== Lock acquired, processing the job...
[2025-01-10 14:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 14:59:03] Production.INFO: ==29498== Lock acquired, processing the job...
[2025-01-10 14:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 14:59:03] Production.INFO: ==29500== Lock acquired, processing the job...
[2025-01-10 14:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 14:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 14:59:03] Production.INFO: ==29494== Lock acquired, processing the job...
[2025-01-10 14:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 14:59:03] Production.INFO: ==29496== Lock acquired, processing the job...
[2025-01-10 14:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 14:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 14:59:03] Production.INFO: ==29502== Lock acquired, processing the job...
[2025-01-10 14:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 14:59:03] Production.INFO: Account Balance Start.
[2025-01-10 14:59:03] Production.INFO: CreateAllLog Start
[2025-01-10 14:59:03] Production.INFO: 117
[2025-01-10 14:59:03] Production.INFO: Date 2025-01-08
[2025-01-10 14:59:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 14:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 14:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 14:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 14:59:03] Production.ERROR: done
[2025-01-10 14:59:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 14:59:03] Production.INFO: Date 2025-01-09
[2025-01-10 14:59:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:59:03] Production.INFO: Date 2025-01-10
[2025-01-10 14:59:03] Production.INFO: Reseller ==> 0
[2025-01-10 14:59:03] Production.INFO: count ==21
[2025-01-10 14:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 14:59:03] Production.INFO: Total Charge 0
[2025-01-10 14:59:03] Production.INFO: count ==21
[2025-01-10 14:59:03] Production.INFO: CreateAllLog End
[2025-01-10 14:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217687') start
[2025-01-10 14:59:03] Production.ERROR: done
[2025-01-10 14:59:04] Production.INFO: ==29494== Releasing lock...
[2025-01-10 14:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 14:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 14:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217687') end
[2025-01-10 14:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 14:59:04] Production.INFO: 1
[2025-01-10 14:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 14:59:04] Production.INFO: Account Balance End.
[2025-01-10 14:59:04] Production.INFO: ==29502== Releasing lock...
[2025-01-10 14:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 14:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 14:59:04] Production.ERROR: CronJobId end 12
[2025-01-10 14:59:04] Production.INFO: ==29498== Releasing lock...
[2025-01-10 14:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 14:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 14:59:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 11:59:04
[end_date_ymd] => 2025-01-10 14:59:04
[RateCDR] => 1
)
[2025-01-10 14:59:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 11:59:04' and `end` < '2025-01-10 14:59:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 14:59:12] Production.ERROR: CronJobId end10
[2025-01-10 14:59:12] Production.INFO: ==29496== Releasing lock...
[2025-01-10 14:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 14:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 14:59:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 14:59:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 14:59:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 14:59:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 14:59:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 14:59:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 14:59:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 14:59:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 14:59:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 14:59:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 14:59:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 14:59:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 14:59:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 14:59:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 14:59:12] Production.INFO: call_cost start
[2025-01-10 14:59:12] Production.INFO: call_cost end
[2025-01-10 14:59:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 14:59:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 14:59:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 14:59:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 14:59:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 14:59:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 14:59:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 14:59:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 14:59:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 14:59:13] Production.INFO: ==29492== Releasing lock...
[2025-01-10 14:59:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 14:59:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 14:59:25] Production.INFO: count ==3071
[2025-01-10 14:59:27] Production.ERROR: pbx CDR StartTime 2025-01-10 11:59:04 - End Time 2025-01-10 14:59:04
[2025-01-10 14:59:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 14:59:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217688', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:59:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217688', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:59:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217688', 'tblTempVendorCDR_20' ) start
[2025-01-10 14:59:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217688', 'tblTempVendorCDR_20' ) end
[2025-01-10 14:59:27] Production.INFO: ProcessCDR(1,14217688,1,1,2)
[2025-01-10 14:59:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217688,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:59:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217688,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 14:59:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217688,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:59:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217688,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 14:59:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217688', 'tblTempUsageDetail_20' ) start
[2025-01-10 14:59:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217688', 'tblTempUsageDetail_20' ) end
[2025-01-10 14:59:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 14:59:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 14:59:31] Production.INFO: ==29500== Releasing lock...
[2025-01-10 14:59:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 14:59:31] Production.INFO: 51.5 MB #Memory Used#
[2025-01-10 20:00:01] Production.INFO: ==29560== Lock acquired, processing the job...
[2025-01-10 20:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 20:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 20:00:01] Production.INFO: neon service started
[2025-01-10 20:00:01] Production.INFO: neon service started
[2025-01-10 20:00:01] Production.INFO: ==29560== Releasing lock...
[2025-01-10 20:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 20:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 15:00:01] Production.INFO: ==29562== Lock acquired, processing the job...
[2025-01-10 15:00:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 20:00:02] Production.INFO: ==29564== Lock acquired, processing the job...
[2025-01-10 20:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 20:00:02] Production.INFO: ==29564== Releasing lock...
[2025-01-10 20:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 20:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 15:00:02] Production.INFO: ==29562== Releasing lock...
[2025-01-10 15:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 15:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:00:03] Production.INFO: ==29566== Lock acquired, processing the job...
[2025-01-10 15:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 15:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 15:00:03] Production.INFO: ==29572== Lock acquired, processing the job...
[2025-01-10 15:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 15:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 15:00:03] Production.INFO: ==29566== Releasing lock...
[2025-01-10 15:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 15:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 15:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 15:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 15:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 15:00:03] Production.INFO: ==29574== Lock acquired, processing the job...
[2025-01-10 15:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 15:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 15:00:03] Production.INFO: ==29576== Lock acquired, processing the job...
[2025-01-10 15:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 15:00:03] Production.INFO: ==29568== Lock acquired, processing the job...
[2025-01-10 15:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 15:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:00:03] Production.INFO: ==29570== Lock acquired, processing the job...
[2025-01-10 15:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 15:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 15:00:03] Production.INFO: Account Balance Start.
[2025-01-10 15:00:03] Production.INFO: CreateAllLog Start
[2025-01-10 15:00:03] Production.INFO: 117
[2025-01-10 15:00:03] Production.INFO: Date 2025-01-08
[2025-01-10 15:00:03] Production.INFO: ==29579== Lock acquired, processing the job...
[2025-01-10 15:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 15:00:03] Production.INFO: ==29581== Lock acquired, processing the job...
[2025-01-10 15:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 15:00:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:00:03] Production.ERROR: done
[2025-01-10 15:00:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 15:00:03] Production.INFO: Date 2025-01-09
[2025-01-10 15:00:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:00:03] Production.INFO: Date 2025-01-10
[2025-01-10 15:00:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:00:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:00:03] Production.INFO: Total Charge 0
[2025-01-10 15:00:03] Production.INFO: count ==21
[2025-01-10 15:00:04] Production.ERROR: done
[2025-01-10 15:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:00:04] Production.INFO: CreateAllLog End
[2025-01-10 15:00:04] Production.INFO: count ==21
[2025-01-10 15:00:04] Production.ERROR: done
[2025-01-10 15:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217692') start
[2025-01-10 15:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 15:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14217693', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 15:00:04] Production.INFO: ==29570== Releasing lock...
[2025-01-10 15:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 15:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 15:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217692') end
[2025-01-10 15:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 15:00:04] Production.INFO: 1
[2025-01-10 15:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 15:00:04] Production.INFO: Account Balance End.
[2025-01-10 15:00:04] Production.INFO: ==29581== Releasing lock...
[2025-01-10 15:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 15:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 15:00:04] Production.ERROR: CronJobId end 12
[2025-01-10 15:00:04] Production.INFO: ==29574== Releasing lock...
[2025-01-10 15:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 15:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 15:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 12:00:05
[end_date_ymd] => 2025-01-10 15:00:05
[RateCDR] => 1
)
[2025-01-10 15:00:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 12:00:05' and `end` < '2025-01-10 15:00:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 15:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14217693', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 15:00:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 15:00:08] Production.INFO: ProcessCDR(1,14217693,1,1,2)
[2025-01-10 15:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14217693,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14217693,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:00:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:00:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:00:08] Production.INFO: ==29579== Releasing lock...
[2025-01-10 15:00:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 15:00:08] Production.INFO: 26 MB #Memory Used#
[2025-01-10 15:00:12] Production.ERROR: CronJobId end10
[2025-01-10 15:00:12] Production.INFO: ==29572== Releasing lock...
[2025-01-10 15:00:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 15:00:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 15:00:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 15:00:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 15:00:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 15:00:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 15:00:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 15:00:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 15:00:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 15:00:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 15:00:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 15:00:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 15:00:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 15:00:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 15:00:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 15:00:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 15:00:14] Production.INFO: call_cost start
[2025-01-10 15:00:14] Production.INFO: call_cost end
[2025-01-10 15:00:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 15:00:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 15:00:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 15:00:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 15:00:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 15:00:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 15:00:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 15:00:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 15:00:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 15:00:15] Production.INFO: ==29568== Releasing lock...
[2025-01-10 15:00:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 15:00:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 15:00:31] Production.INFO: count ==3069
[2025-01-10 15:00:33] Production.ERROR: pbx CDR StartTime 2025-01-10 12:00:05 - End Time 2025-01-10 15:00:05
[2025-01-10 15:00:33] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 15:00:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217694', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:00:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217694', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:00:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217694', 'tblTempVendorCDR_20' ) start
[2025-01-10 15:00:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217694', 'tblTempVendorCDR_20' ) end
[2025-01-10 15:00:33] Production.INFO: ProcessCDR(1,14217694,1,1,2)
[2025-01-10 15:00:33] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217694,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:00:35] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217694,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:00:35] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217694,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:00:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217694,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:00:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217694', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:00:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217694', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:00:37] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:00:37] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:00:38] Production.INFO: ==29576== Releasing lock...
[2025-01-10 15:00:38] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 15:00:38] Production.INFO: 51.5 MB #Memory Used#
[2025-01-10 20:01:01] Production.INFO: ==29640== Lock acquired, processing the job...
[2025-01-10 20:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 20:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 20:01:01] Production.INFO: neon service started
[2025-01-10 20:01:01] Production.INFO: neon service started
[2025-01-10 20:01:01] Production.INFO: ==29640== Releasing lock...
[2025-01-10 20:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 20:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 15:01:02] Production.INFO: ==29652== Lock acquired, processing the job...
[2025-01-10 15:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 20:01:02] Production.INFO: ==29654== Lock acquired, processing the job...
[2025-01-10 20:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 20:01:02] Production.INFO: ==29654== Releasing lock...
[2025-01-10 20:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 20:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 15:01:02] Production.INFO: ==29652== Releasing lock...
[2025-01-10 15:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 15:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:01:03] Production.INFO: ==29659== Lock acquired, processing the job...
[2025-01-10 15:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 15:01:03] Production.INFO: ==29665== Lock acquired, processing the job...
[2025-01-10 15:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 15:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:01:03] Production.INFO: ==29657== Lock acquired, processing the job...
[2025-01-10 15:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 15:01:03] Production.INFO: ==29661== Lock acquired, processing the job...
[2025-01-10 15:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 15:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 15:01:03] Production.INFO: ==29663== Lock acquired, processing the job...
[2025-01-10 15:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 15:01:03] Production.INFO: ==29659== Releasing lock...
[2025-01-10 15:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 15:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 15:01:03] Production.INFO: ==29667== Lock acquired, processing the job...
[2025-01-10 15:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 15:01:03] Production.INFO: Account Balance Start.
[2025-01-10 15:01:03] Production.INFO: CreateAllLog Start
[2025-01-10 15:01:03] Production.ERROR: done
[2025-01-10 15:01:03] Production.INFO: 117
[2025-01-10 15:01:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 15:01:03] Production.INFO: Date 2025-01-08
[2025-01-10 15:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 15:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 15:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 15:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 15:01:03] Production.INFO: Reseller ==> 0
[2025-01-10 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-01-10 15:01:04] Production.INFO: Date 2025-01-09
[2025-01-10 15:01:04] Production.INFO: count ==21
[2025-01-10 15:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:01:04] Production.INFO: count ==21
[2025-01-10 15:01:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217698') start
[2025-01-10 15:01:04] Production.ERROR: done
[2025-01-10 15:01:04] Production.INFO: Date 2025-01-10
[2025-01-10 15:01:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:01:04] Production.INFO: Total Charge 0
[2025-01-10 15:01:04] Production.INFO: CreateAllLog End
[2025-01-10 15:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217698') end
[2025-01-10 15:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 15:01:04] Production.INFO: 1
[2025-01-10 15:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 15:01:04] Production.INFO: Account Balance End.
[2025-01-10 15:01:04] Production.INFO: ==29667== Releasing lock...
[2025-01-10 15:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 15:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 15:01:04] Production.ERROR: CronJobId end 12
[2025-01-10 15:01:04] Production.INFO: ==29663== Releasing lock...
[2025-01-10 15:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 15:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 15:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 12:01:05
[end_date_ymd] => 2025-01-10 15:01:05
[RateCDR] => 1
)
[2025-01-10 15:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 12:01:05' and `end` < '2025-01-10 15:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 15:01:11] Production.ERROR: CronJobId end10
[2025-01-10 15:01:11] Production.INFO: ==29661== Releasing lock...
[2025-01-10 15:01:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 15:01:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 15:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 15:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 15:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 15:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 15:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 15:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 15:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 15:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 15:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 15:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 15:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 15:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 15:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 15:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 15:01:13] Production.INFO: call_cost start
[2025-01-10 15:01:13] Production.INFO: call_cost end
[2025-01-10 15:01:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 15:01:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 15:01:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 15:01:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 15:01:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 15:01:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 15:01:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 15:01:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 15:01:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 15:01:14] Production.INFO: ==29657== Releasing lock...
[2025-01-10 15:01:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 15:01:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 15:01:35] Production.INFO: count ==3161
[2025-01-10 15:01:37] Production.ERROR: pbx CDR StartTime 2025-01-10 12:01:05 - End Time 2025-01-10 15:01:05
[2025-01-10 15:01:37] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 15:01:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217699', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:01:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217699', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:01:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217699', 'tblTempVendorCDR_20' ) start
[2025-01-10 15:01:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217699', 'tblTempVendorCDR_20' ) end
[2025-01-10 15:01:37] Production.INFO: ProcessCDR(1,14217699,1,1,2)
[2025-01-10 15:01:37] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217699,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:01:39] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217699,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:01:39] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217699,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:01:42] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217699,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:01:42] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217699', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:01:42] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217699', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:01:42] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:01:42] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:01:42] Production.INFO: ==29665== Releasing lock...
[2025-01-10 15:01:42] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 15:01:42] Production.INFO: 52.25 MB #Memory Used#
[2025-01-10 20:02:02] Production.INFO: ==29804== Lock acquired, processing the job...
[2025-01-10 20:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 20:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 20:02:02] Production.INFO: neon service started
[2025-01-10 20:02:02] Production.INFO: neon service started
[2025-01-10 20:02:02] Production.INFO: ==29804== Releasing lock...
[2025-01-10 20:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 20:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 15:02:02] Production.INFO: ==29806== Lock acquired, processing the job...
[2025-01-10 15:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 20:02:02] Production.INFO: ==29808== Lock acquired, processing the job...
[2025-01-10 20:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:02:02] Production.INFO: ==29806== Releasing lock...
[2025-01-10 15:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 15:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 20:02:03] Production.INFO: ==29808== Releasing lock...
[2025-01-10 20:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 20:02:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 15:02:03] Production.INFO: ==29810== Lock acquired, processing the job...
[2025-01-10 15:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 15:02:03] Production.INFO: ==29816== Lock acquired, processing the job...
[2025-01-10 15:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 15:02:03] Production.INFO: ==29812== Lock acquired, processing the job...
[2025-01-10 15:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 15:02:03] Production.INFO: ==29820== Lock acquired, processing the job...
[2025-01-10 15:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 15:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 15:02:03] Production.INFO: Account Balance Start.
[2025-01-10 15:02:03] Production.INFO: CreateAllLog Start
[2025-01-10 15:02:03] Production.INFO: 117
[2025-01-10 15:02:03] Production.INFO: Date 2025-01-08
[2025-01-10 15:02:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:02:03] Production.INFO: ==29814== Lock acquired, processing the job...
[2025-01-10 15:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 15:02:03] Production.INFO: Date 2025-01-09
[2025-01-10 15:02:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:02:03] Production.INFO: Date 2025-01-10
[2025-01-10 15:02:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 15:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 15:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 15:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 15:02:04] Production.INFO: count ==21
[2025-01-10 15:02:04] Production.INFO: ==29818== Lock acquired, processing the job...
[2025-01-10 15:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 15:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:02:04] Production.INFO: count ==21
[2025-01-10 15:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217703') start
[2025-01-10 15:02:04] Production.INFO: Total Charge 0
[2025-01-10 15:02:04] Production.INFO: CreateAllLog End
[2025-01-10 15:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217703') end
[2025-01-10 15:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 15:02:04] Production.INFO: 1
[2025-01-10 15:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 15:02:04] Production.INFO: ==29812== Releasing lock...
[2025-01-10 15:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 15:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 15:02:04] Production.INFO: Account Balance End.
[2025-01-10 15:02:04] Production.INFO: ==29820== Releasing lock...
[2025-01-10 15:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 15:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 15:02:04] Production.ERROR: CronJobId end 12
[2025-01-10 15:02:04] Production.INFO: ==29816== Releasing lock...
[2025-01-10 15:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 15:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 15:02:04] Production.ERROR: done
[2025-01-10 15:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 15:02:04] Production.ERROR: done
[2025-01-10 15:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 12:02:05
[end_date_ymd] => 2025-01-10 15:02:05
[RateCDR] => 1
)
[2025-01-10 15:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 12:02:05' and `end` < '2025-01-10 15:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 15:02:12] Production.ERROR: CronJobId end10
[2025-01-10 15:02:12] Production.INFO: ==29814== Releasing lock...
[2025-01-10 15:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 15:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 15:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 15:02:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 15:02:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 15:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 15:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 15:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 15:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 15:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 15:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 15:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 15:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 15:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 15:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 15:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 15:02:13] Production.INFO: call_cost start
[2025-01-10 15:02:13] Production.INFO: call_cost end
[2025-01-10 15:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 15:02:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 15:02:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 15:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 15:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 15:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 15:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 15:02:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 15:02:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 15:02:14] Production.INFO: ==29810== Releasing lock...
[2025-01-10 15:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 15:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 15:02:37] Production.INFO: count ==3160
[2025-01-10 15:02:39] Production.ERROR: pbx CDR StartTime 2025-01-10 12:02:05 - End Time 2025-01-10 15:02:05
[2025-01-10 15:02:39] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 15:02:39] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217704', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:02:39] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217704', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:02:39] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217704', 'tblTempVendorCDR_20' ) start
[2025-01-10 15:02:39] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217704', 'tblTempVendorCDR_20' ) end
[2025-01-10 15:02:39] Production.INFO: ProcessCDR(1,14217704,1,1,2)
[2025-01-10 15:02:39] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217704,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:02:41] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217704,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:02:41] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217704,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:02:43] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217704,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:02:43] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217704', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:02:44] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217704', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:02:44] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:02:44] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:02:44] Production.INFO: ==29818== Releasing lock...
[2025-01-10 15:02:44] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 15:02:44] Production.INFO: 52 MB #Memory Used#
[2025-01-10 20:03:01] Production.INFO: ==29876== Lock acquired, processing the job...
[2025-01-10 20:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 20:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 20:03:01] Production.INFO: neon service started
[2025-01-10 20:03:01] Production.INFO: neon service started
[2025-01-10 20:03:01] Production.INFO: ==29876== Releasing lock...
[2025-01-10 20:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 20:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 15:03:02] Production.INFO: ==29878== Lock acquired, processing the job...
[2025-01-10 15:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 15:03:02] Production.INFO: ==29878== Releasing lock...
[2025-01-10 15:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 15:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 20:03:02] Production.INFO: ==29880== Lock acquired, processing the job...
[2025-01-10 20:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 20:03:02] Production.INFO: ==29880== Releasing lock...
[2025-01-10 20:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 20:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 15:03:03] Production.INFO: ==29890== Lock acquired, processing the job...
[2025-01-10 15:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 15:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:03:03] Production.INFO: ==29882== Lock acquired, processing the job...
[2025-01-10 15:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 15:03:03] Production.INFO: ==29893== Lock acquired, processing the job...
[2025-01-10 15:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 15:03:03] Production.INFO: ==29884== Lock acquired, processing the job...
[2025-01-10 15:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 15:03:03] Production.INFO: ==29886== Lock acquired, processing the job...
[2025-01-10 15:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 15:03:03] Production.INFO: ==29888== Lock acquired, processing the job...
[2025-01-10 15:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 15:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 15:03:03] Production.ERROR: done
[2025-01-10 15:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:03:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 15:03:03] Production.INFO: Account Balance Start.
[2025-01-10 15:03:03] Production.INFO: CreateAllLog Start
[2025-01-10 15:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 15:03:03] Production.INFO: 117
[2025-01-10 15:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 15:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 15:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 15:03:03] Production.INFO: count ==21
[2025-01-10 15:03:03] Production.INFO: Date 2025-01-08
[2025-01-10 15:03:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:03:03] Production.INFO: count ==21
[2025-01-10 15:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217705') start
[2025-01-10 15:03:03] Production.INFO: Date 2025-01-09
[2025-01-10 15:03:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:03:03] Production.ERROR: done
[2025-01-10 15:03:03] Production.INFO: Date 2025-01-10
[2025-01-10 15:03:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:03:03] Production.INFO: ==29884== Releasing lock...
[2025-01-10 15:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 15:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 15:03:03] Production.INFO: Total Charge 0
[2025-01-10 15:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217705') end
[2025-01-10 15:03:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 15:03:03] Production.INFO: 1
[2025-01-10 15:03:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 15:03:03] Production.INFO: CreateAllLog End
[2025-01-10 15:03:03] Production.INFO: ==29893== Releasing lock...
[2025-01-10 15:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 15:03:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 15:03:04] Production.INFO: Account Balance End.
[2025-01-10 15:03:04] Production.ERROR: CronJobId end 12
[2025-01-10 15:03:04] Production.INFO: ==29888== Releasing lock...
[2025-01-10 15:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 15:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 15:03:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 12:03:04
[end_date_ymd] => 2025-01-10 15:03:04
[RateCDR] => 1
)
[2025-01-10 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-01-10 12:03:04' and `end` < '2025-01-10 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-01-10 15:03:11] Production.ERROR: CronJobId end10
[2025-01-10 15:03:11] Production.INFO: ==29886== Releasing lock...
[2025-01-10 15:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 15:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 15:03:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 15:03:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 15:03:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 15:03:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 15:03:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 15:03:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 15:03:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 15:03:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 15:03:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 15:03:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 15:03:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 15:03:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 15:03:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 15:03:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 15:03:12] Production.INFO: call_cost start
[2025-01-10 15:03:12] Production.INFO: call_cost end
[2025-01-10 15:03:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 15:03:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 15:03:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 15:03:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 15:03:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 15:03:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 15:03:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 15:03:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 15:03:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 15:03:13] Production.INFO: ==29882== Releasing lock...
[2025-01-10 15:03:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 15:03:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 15:03:25] Production.INFO: count ==3165
[2025-01-10 15:03:27] Production.ERROR: pbx CDR StartTime 2025-01-10 12:03:04 - End Time 2025-01-10 15:03:04
[2025-01-10 15:03:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 15:03:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217709', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:03:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217709', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:03:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217709', 'tblTempVendorCDR_20' ) start
[2025-01-10 15:03:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217709', 'tblTempVendorCDR_20' ) end
[2025-01-10 15:03:27] Production.INFO: ProcessCDR(1,14217709,1,1,2)
[2025-01-10 15:03:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217709,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:03:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217709,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:03:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217709,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:03:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217709,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:03:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217709', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:03:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217709', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:03:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:03:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:03:32] Production.INFO: ==29890== Releasing lock...
[2025-01-10 15:03:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 15:03:32] Production.INFO: 51.75 MB #Memory Used#
[2025-01-10 20:04:02] Production.INFO: ==29946== Lock acquired, processing the job...
[2025-01-10 20:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 20:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 20:04:02] Production.INFO: neon service started
[2025-01-10 20:04:02] Production.INFO: neon service started
[2025-01-10 20:04:02] Production.INFO: ==29946== Releasing lock...
[2025-01-10 20:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 20:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 20:04:02] Production.INFO: ==29950== Lock acquired, processing the job...
[2025-01-10 20:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 20:04:02] Production.INFO: ==29950== Releasing lock...
[2025-01-10 20:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 20:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 15:04:02] Production.INFO: ==29948== Lock acquired, processing the job...
[2025-01-10 15:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 15:04:03] Production.INFO: ==29948== Releasing lock...
[2025-01-10 15:04:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 15:04:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:04:03] Production.INFO: ==29952== Lock acquired, processing the job...
[2025-01-10 15:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 15:04:03] Production.INFO: ==29954== Lock acquired, processing the job...
[2025-01-10 15:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 15:04:03] Production.INFO: ==29956== Lock acquired, processing the job...
[2025-01-10 15:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 15:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 15:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 15:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 15:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 15:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 15:04:04] Production.INFO: ==29958== Lock acquired, processing the job...
[2025-01-10 15:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 15:04:04] Production.INFO: ==29954== Releasing lock...
[2025-01-10 15:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 15:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 15:04:04] Production.INFO: Account Balance Start.
[2025-01-10 15:04:04] Production.INFO: CreateAllLog Start
[2025-01-10 15:04:04] Production.INFO: 117
[2025-01-10 15:04:04] Production.INFO: Date 2025-01-08
[2025-01-10 15:04:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:04:04] Production.INFO: ==29960== Lock acquired, processing the job...
[2025-01-10 15:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 15:04:04] Production.INFO: Date 2025-01-09
[2025-01-10 15:04:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:04:04] Production.INFO: ==29962== Lock acquired, processing the job...
[2025-01-10 15:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 15:04:04] Production.INFO: Date 2025-01-10
[2025-01-10 15:04:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:04:04] Production.INFO: Total Charge 0
[2025-01-10 15:04:04] Production.INFO: CreateAllLog End
[2025-01-10 15:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:04:04] Production.INFO: count ==21
[2025-01-10 15:04:04] Production.INFO: Account Balance End.
[2025-01-10 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-01-10 15:04:04] Production.INFO: count ==21
[2025-01-10 15:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217713') start
[2025-01-10 15:04:04] Production.ERROR: CronJobId end 12
[2025-01-10 15:04:04] Production.INFO: ==29958== Releasing lock...
[2025-01-10 15:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 15:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 15:04:04] Production.ERROR: done
[2025-01-10 15:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217713') end
[2025-01-10 15:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 15:04:04] Production.INFO: 1
[2025-01-10 15:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 15:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 15:04:04] Production.INFO: ==29962== Releasing lock...
[2025-01-10 15:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 15:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 15:04:05] Production.ERROR: done
[2025-01-10 15:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 12:04:05
[end_date_ymd] => 2025-01-10 15:04:05
[RateCDR] => 1
)
[2025-01-10 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-01-10 12:04:05' and `end` < '2025-01-10 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-01-10 15:04:11] Production.ERROR: CronJobId end10
[2025-01-10 15:04:11] Production.INFO: ==29956== Releasing lock...
[2025-01-10 15:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 15:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 15:04:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 15:04:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 15:04:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 15:04:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 15:04:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 15:04:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 15:04:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 15:04:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 15:04:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 15:04:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 15:04:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 15:04:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 15:04:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 15:04:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 15:04:12] Production.INFO: call_cost start
[2025-01-10 15:04:12] Production.INFO: call_cost end
[2025-01-10 15:04:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 15:04:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 15:04:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 15:04:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 15:04:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 15:04:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 15:04:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 15:04:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 15:04:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 15:04:13] Production.INFO: ==29952== Releasing lock...
[2025-01-10 15:04:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 15:04:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 15:04:24] Production.INFO: count ==3156
[2025-01-10 15:04:26] Production.ERROR: pbx CDR StartTime 2025-01-10 12:04:05 - End Time 2025-01-10 15:04:05
[2025-01-10 15:04:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 15:04:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217714', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:04:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217714', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:04:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217714', 'tblTempVendorCDR_20' ) start
[2025-01-10 15:04:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217714', 'tblTempVendorCDR_20' ) end
[2025-01-10 15:04:26] Production.INFO: ProcessCDR(1,14217714,1,1,2)
[2025-01-10 15:04:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217714,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:04:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217714,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:04:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217714,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:04:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217714,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:04:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217714', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:04:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217714', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:04:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:04:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:04:30] Production.INFO: ==29960== Releasing lock...
[2025-01-10 15:04:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 15:04:30] Production.INFO: 51.5 MB #Memory Used#
[2025-01-10 20:05:01] Production.INFO: ==30096== Lock acquired, processing the job...
[2025-01-10 20:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 20:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 20:05:01] Production.INFO: neon service started
[2025-01-10 20:05:01] Production.INFO: neon service started
[2025-01-10 20:05:01] Production.INFO: ==30096== Releasing lock...
[2025-01-10 20:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 20:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 20:05:02] Production.INFO: ==30100== Lock acquired, processing the job...
[2025-01-10 20:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:05:02] Production.INFO: ==30098== Lock acquired, processing the job...
[2025-01-10 15:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 20:05:02] Production.INFO: ==30100== Releasing lock...
[2025-01-10 20:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 20:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 15:05:02] Production.INFO: ==30098== Releasing lock...
[2025-01-10 15:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 15:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:05:03] Production.INFO: ==30109== Lock acquired, processing the job...
[2025-01-10 15:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 15:05:03] Production.INFO: ==30111== Lock acquired, processing the job...
[2025-01-10 15:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 15:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 15:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 15:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 15:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 15:05:03] Production.INFO: ==30105== Lock acquired, processing the job...
[2025-01-10 15:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 15:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 15:05:03] Production.INFO: Account Balance Start.
[2025-01-10 15:05:03] Production.INFO: CreateAllLog Start
[2025-01-10 15:05:03] Production.INFO: 117
[2025-01-10 15:05:03] Production.INFO: Date 2025-01-08
[2025-01-10 15:05:03] Production.INFO: ==30107== Lock acquired, processing the job...
[2025-01-10 15:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 15:05:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:05:03] Production.INFO: ==30115== Lock acquired, processing the job...
[2025-01-10 15:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 15:05:03] Production.INFO: Date 2025-01-09
[2025-01-10 15:05:03] Production.INFO: ==30113== Lock acquired, processing the job...
[2025-01-10 15:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 15:05:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:05:03] Production.INFO: Date 2025-01-10
[2025-01-10 15:05:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:05:03] Production.INFO: count ==21
[2025-01-10 15:05:03] Production.INFO: Total Charge 0
[2025-01-10 15:05:03] Production.INFO: CreateAllLog End
[2025-01-10 15:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:05:03] Production.INFO: count ==21
[2025-01-10 15:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217717') start
[2025-01-10 15:05:04] Production.ERROR: done
[2025-01-10 15:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 15:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217717') end
[2025-01-10 15:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 15:05:04] Production.INFO: 1
[2025-01-10 15:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 15:05:04] Production.INFO: ==30107== Releasing lock...
[2025-01-10 15:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 15:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 15:05:04] Production.INFO: ==30115== Releasing lock...
[2025-01-10 15:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 15:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 15:05:04] Production.ERROR: done
[2025-01-10 15:05:04] Production.INFO: Account Balance End.
[2025-01-10 15:05:04] Production.ERROR: CronJobId end 12
[2025-01-10 15:05:04] Production.INFO: ==30111== Releasing lock...
[2025-01-10 15:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 15:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 15:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 12:05:05
[end_date_ymd] => 2025-01-10 15:05:05
[RateCDR] => 1
)
[2025-01-10 15:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 12:05:05' and `end` < '2025-01-10 15:05:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 15:05:11] Production.ERROR: CronJobId end10
[2025-01-10 15:05:11] Production.INFO: ==30109== Releasing lock...
[2025-01-10 15:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 15:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 15:05:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 15:05:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 15:05:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 15:05:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 15:05:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 15:05:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 15:05:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 15:05:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 15:05:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 15:05:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 15:05:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 15:05:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 15:05:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 15:05:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 15:05:13] Production.INFO: call_cost start
[2025-01-10 15:05:13] Production.INFO: call_cost end
[2025-01-10 15:05:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 15:05:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 15:05:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 15:05:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 15:05:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 15:05:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 15:05:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 15:05:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 15:05:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 15:05:14] Production.INFO: ==30105== Releasing lock...
[2025-01-10 15:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 15:05:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 15:05:25] Production.INFO: count ==3141
[2025-01-10 15:05:27] Production.ERROR: pbx CDR StartTime 2025-01-10 12:05:05 - End Time 2025-01-10 15:05:05
[2025-01-10 15:05:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 15:05:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217719', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:05:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217719', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:05:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217719', 'tblTempVendorCDR_20' ) start
[2025-01-10 15:05:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217719', 'tblTempVendorCDR_20' ) end
[2025-01-10 15:05:27] Production.INFO: ProcessCDR(1,14217719,1,1,2)
[2025-01-10 15:05:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217719,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:05:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217719,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:05:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217719,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:05:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217719,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:05:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217719', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:05:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217719', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:05:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:05:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:05:31] Production.INFO: ==30113== Releasing lock...
[2025-01-10 15:05:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 15:05:31] Production.INFO: 51.5 MB #Memory Used#
[2025-01-10 20:06:02] Production.INFO: ==30178== Lock acquired, processing the job...
[2025-01-10 20:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 20:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 20:06:02] Production.INFO: neon service started
[2025-01-10 20:06:02] Production.INFO: neon service started
[2025-01-10 20:06:02] Production.INFO: ==30178== Releasing lock...
[2025-01-10 20:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 20:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 15:06:02] Production.INFO: ==30180== Lock acquired, processing the job...
[2025-01-10 15:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 20:06:02] Production.INFO: ==30182== Lock acquired, processing the job...
[2025-01-10 20:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 20:06:02] Production.INFO: ==30182== Releasing lock...
[2025-01-10 20:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 20:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 15:06:02] Production.INFO: ==30180== Releasing lock...
[2025-01-10 15:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 15:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:06:03] Production.INFO: ==30185== Lock acquired, processing the job...
[2025-01-10 15:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 15:06:03] Production.INFO: ==30191== Lock acquired, processing the job...
[2025-01-10 15:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 15:06:03] Production.INFO: ==30193== Lock acquired, processing the job...
[2025-01-10 15:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 15:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 15:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:06:03] Production.INFO: Account Balance Start.
[2025-01-10 15:06:03] Production.INFO: CreateAllLog Start
[2025-01-10 15:06:03] Production.INFO: 117
[2025-01-10 15:06:03] Production.INFO: Date 2025-01-08
[2025-01-10 15:06:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:06:03] Production.INFO: ==30187== Lock acquired, processing the job...
[2025-01-10 15:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 15:06:03] Production.INFO: ==30189== Lock acquired, processing the job...
[2025-01-10 15:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 15:06:03] Production.INFO: Date 2025-01-09
[2025-01-10 15:06:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:06:03] Production.INFO: ==30195== Lock acquired, processing the job...
[2025-01-10 15:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 15:06:03] Production.INFO: Date 2025-01-10
[2025-01-10 15:06:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:06:03] Production.ERROR: done
[2025-01-10 15:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 15:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 15:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 15:06:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 15:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 15:06:03] Production.INFO: Total Charge 0
[2025-01-10 15:06:03] Production.INFO: CreateAllLog End
[2025-01-10 15:06:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:06:03] Production.INFO: count ==21
[2025-01-10 15:06:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:06:03] Production.INFO: count ==21
[2025-01-10 15:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217723') start
[2025-01-10 15:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217723') end
[2025-01-10 15:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 15:06:04] Production.INFO: 1
[2025-01-10 15:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 15:06:04] Production.ERROR: done
[2025-01-10 15:06:04] Production.INFO: ==30187== Releasing lock...
[2025-01-10 15:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 15:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 15:06:04] Production.INFO: Account Balance End.
[2025-01-10 15:06:04] Production.INFO: ==30195== Releasing lock...
[2025-01-10 15:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 15:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 15:06:04] Production.ERROR: CronJobId end 12
[2025-01-10 15:06:04] Production.INFO: ==30191== Releasing lock...
[2025-01-10 15:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 15:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 15:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 12:06:05
[end_date_ymd] => 2025-01-10 15:06:05
[RateCDR] => 1
)
[2025-01-10 15:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 12:06:05' and `end` < '2025-01-10 15:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 15:06:11] Production.ERROR: CronJobId end10
[2025-01-10 15:06:11] Production.INFO: ==30189== Releasing lock...
[2025-01-10 15:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 15:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 15:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 15:06:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 15:06:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 15:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 15:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 15:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 15:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 15:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 15:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 15:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 15:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 15:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 15:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 15:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 15:06:13] Production.INFO: call_cost start
[2025-01-10 15:06:13] Production.INFO: call_cost end
[2025-01-10 15:06:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 15:06:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 15:06:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 15:06:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 15:06:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 15:06:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 15:06:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 15:06:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 15:06:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 15:06:14] Production.INFO: ==30185== Releasing lock...
[2025-01-10 15:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 15:06:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 15:06:22] Production.INFO: count ==3125
[2025-01-10 15:06:24] Production.ERROR: pbx CDR StartTime 2025-01-10 12:06:05 - End Time 2025-01-10 15:06:05
[2025-01-10 15:06:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 15:06:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217724', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:06:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217724', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:06:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217724', 'tblTempVendorCDR_20' ) start
[2025-01-10 15:06:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217724', 'tblTempVendorCDR_20' ) end
[2025-01-10 15:06:24] Production.INFO: ProcessCDR(1,14217724,1,1,2)
[2025-01-10 15:06:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217724,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:06:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217724,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:06:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217724,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:06:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217724,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:06:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217724', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:06:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217724', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:06:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:06:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:06:29] Production.INFO: ==30193== Releasing lock...
[2025-01-10 15:06:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 15:06:29] Production.INFO: 51.75 MB #Memory Used#
[2025-01-10 20:07:01] Production.INFO: ==30288== Lock acquired, processing the job...
[2025-01-10 20:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 20:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 20:07:01] Production.INFO: neon service started
[2025-01-10 20:07:01] Production.INFO: neon service started
[2025-01-10 20:07:01] Production.INFO: ==30288== Releasing lock...
[2025-01-10 20:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 20:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 20:07:01] Production.INFO: ==30292== Lock acquired, processing the job...
[2025-01-10 20:07:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 20:07:01] Production.INFO: ==30292== Releasing lock...
[2025-01-10 20:07:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 20:07:01] Production.INFO: 25 MB #Memory Used#
[2025-01-10 15:07:01] Production.INFO: ==30290== Lock acquired, processing the job...
[2025-01-10 15:07:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 15:07:02] Production.INFO: ==30290== Releasing lock...
[2025-01-10 15:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 15:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:07:03] Production.INFO: ==30303== Lock acquired, processing the job...
[2025-01-10 15:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 15:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:07:03] Production.INFO: ==30305== Lock acquired, processing the job...
[2025-01-10 15:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 15:07:03] Production.INFO: ==30295== Lock acquired, processing the job...
[2025-01-10 15:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 15:07:03] Production.INFO: ==30297== Lock acquired, processing the job...
[2025-01-10 15:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 15:07:03] Production.INFO: ==30299== Lock acquired, processing the job...
[2025-01-10 15:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 15:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 15:07:03] Production.INFO: ==30301== Lock acquired, processing the job...
[2025-01-10 15:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 15:07:03] Production.ERROR: done
[2025-01-10 15:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 15:07:03] Production.INFO: count ==21
[2025-01-10 15:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:07:03] Production.INFO: count ==21
[2025-01-10 15:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217725') start
[2025-01-10 15:07:03] Production.ERROR: done
[2025-01-10 15:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 15:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 15:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 15:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 15:07:03] Production.INFO: Account Balance Start.
[2025-01-10 15:07:03] Production.INFO: CreateAllLog Start
[2025-01-10 15:07:03] Production.INFO: 117
[2025-01-10 15:07:03] Production.INFO: Date 2025-01-08
[2025-01-10 15:07:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217725') end
[2025-01-10 15:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 15:07:03] Production.INFO: 1
[2025-01-10 15:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 15:07:03] Production.INFO: Date 2025-01-09
[2025-01-10 15:07:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:07:03] Production.INFO: Date 2025-01-10
[2025-01-10 15:07:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:07:03] Production.INFO: ==30297== Releasing lock...
[2025-01-10 15:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 15:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 15:07:03] Production.INFO: ==30305== Releasing lock...
[2025-01-10 15:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 15:07:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 15:07:03] Production.INFO: Total Charge 0
[2025-01-10 15:07:03] Production.INFO: CreateAllLog End
[2025-01-10 15:07:03] Production.INFO: Account Balance End.
[2025-01-10 15:07:03] Production.ERROR: CronJobId end 12
[2025-01-10 15:07:03] Production.INFO: ==30301== Releasing lock...
[2025-01-10 15:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 15:07:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 15:07:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 12:07:04
[end_date_ymd] => 2025-01-10 15:07:04
[RateCDR] => 1
)
[2025-01-10 15:07:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 12:07:04' and `end` < '2025-01-10 15:07:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 15:07:12] Production.ERROR: CronJobId end10
[2025-01-10 15:07:12] Production.INFO: ==30299== Releasing lock...
[2025-01-10 15:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 15:07:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 15:07:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 15:07:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 15:07:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 15:07:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 15:07:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 15:07:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 15:07:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 15:07:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 15:07:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 15:07:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 15:07:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 15:07:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 15:07:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 15:07:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 15:07:13] Production.INFO: call_cost start
[2025-01-10 15:07:13] Production.INFO: call_cost end
[2025-01-10 15:07:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 15:07:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 15:07:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 15:07:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 15:07:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 15:07:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 15:07:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 15:07:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 15:07:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 15:07:13] Production.INFO: ==30295== Releasing lock...
[2025-01-10 15:07:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 15:07:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 15:07:18] Production.INFO: count ==3115
[2025-01-10 15:07:20] Production.ERROR: pbx CDR StartTime 2025-01-10 12:07:04 - End Time 2025-01-10 15:07:04
[2025-01-10 15:07:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 15:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217729', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217729', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217729', 'tblTempVendorCDR_20' ) start
[2025-01-10 15:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217729', 'tblTempVendorCDR_20' ) end
[2025-01-10 15:07:20] Production.INFO: ProcessCDR(1,14217729,1,1,2)
[2025-01-10 15:07:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217729,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:07:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217729,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:07:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217729,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:07:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217729,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:07:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217729', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:07:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217729', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:07:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:07:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:07:24] Production.INFO: ==30303== Releasing lock...
[2025-01-10 15:07:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 15:07:24] Production.INFO: 51.5 MB #Memory Used#
[2025-01-10 20:08:01] Production.INFO: ==30400== Lock acquired, processing the job...
[2025-01-10 20:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 20:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 20:08:01] Production.INFO: neon service started
[2025-01-10 20:08:01] Production.INFO: neon service started
[2025-01-10 20:08:01] Production.INFO: ==30400== Releasing lock...
[2025-01-10 20:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 20:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 15:08:02] Production.INFO: ==30402== Lock acquired, processing the job...
[2025-01-10 15:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 20:08:02] Production.INFO: ==30404== Lock acquired, processing the job...
[2025-01-10 20:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 20:08:02] Production.INFO: ==30404== Releasing lock...
[2025-01-10 20:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 20:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 15:08:02] Production.INFO: ==30402== Releasing lock...
[2025-01-10 15:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 15:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:08:03] Production.INFO: ==30407== Lock acquired, processing the job...
[2025-01-10 15:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 15:08:03] Production.INFO: ==30411== Lock acquired, processing the job...
[2025-01-10 15:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 15:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 15:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 15:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 15:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 15:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 15:08:03] Production.INFO: ==30415== Lock acquired, processing the job...
[2025-01-10 15:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 15:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:08:03] Production.INFO: ==30409== Lock acquired, processing the job...
[2025-01-10 15:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 15:08:04] Production.INFO: ==30413== Lock acquired, processing the job...
[2025-01-10 15:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 15:08:04] Production.INFO: ==30417== Lock acquired, processing the job...
[2025-01-10 15:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 15:08:04] Production.ERROR: done
[2025-01-10 15:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 15:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:08:04] Production.INFO: Account Balance Start.
[2025-01-10 15:08:04] Production.INFO: CreateAllLog Start
[2025-01-10 15:08:04] Production.INFO: 117
[2025-01-10 15:08:04] Production.INFO: count ==21
[2025-01-10 15:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:08:04] Production.INFO: count ==21
[2025-01-10 15:08:04] Production.INFO: Date 2025-01-08
[2025-01-10 15:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217731') start
[2025-01-10 15:08:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:08:04] Production.ERROR: done
[2025-01-10 15:08:04] Production.INFO: Date 2025-01-09
[2025-01-10 15:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217731') end
[2025-01-10 15:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 15:08:04] Production.INFO: 1
[2025-01-10 15:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 15:08:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:08:04] Production.INFO: ==30409== Releasing lock...
[2025-01-10 15:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 15:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 15:08:04] Production.INFO: Date 2025-01-10
[2025-01-10 15:08:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:08:04] Production.INFO: ==30417== Releasing lock...
[2025-01-10 15:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 15:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 15:08:04] Production.INFO: Total Charge 0
[2025-01-10 15:08:04] Production.INFO: CreateAllLog End
[2025-01-10 15:08:04] Production.INFO: Account Balance End.
[2025-01-10 15:08:04] Production.ERROR: CronJobId end 12
[2025-01-10 15:08:04] Production.INFO: ==30413== Releasing lock...
[2025-01-10 15:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 15:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 15:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 12:08:05
[end_date_ymd] => 2025-01-10 15:08:05
[RateCDR] => 1
)
[2025-01-10 15:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 12:08:05' and `end` < '2025-01-10 15:08:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 15:08:12] Production.ERROR: CronJobId end10
[2025-01-10 15:08:12] Production.INFO: ==30411== Releasing lock...
[2025-01-10 15:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 15:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 15:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 15:08:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 15:08:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 15:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 15:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 15:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 15:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 15:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 15:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 15:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 15:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 15:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 15:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 15:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 15:08:13] Production.INFO: call_cost start
[2025-01-10 15:08:13] Production.INFO: call_cost end
[2025-01-10 15:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 15:08:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 15:08:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 15:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 15:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 15:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 15:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 15:08:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 15:08:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 15:08:14] Production.INFO: ==30407== Releasing lock...
[2025-01-10 15:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 15:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 15:08:39] Production.INFO: count ==3147
[2025-01-10 15:08:40] Production.ERROR: pbx CDR StartTime 2025-01-10 12:08:05 - End Time 2025-01-10 15:08:05
[2025-01-10 15:08:40] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 15:08:40] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217734', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:08:41] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217734', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:08:41] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217734', 'tblTempVendorCDR_20' ) start
[2025-01-10 15:08:41] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217734', 'tblTempVendorCDR_20' ) end
[2025-01-10 15:08:41] Production.INFO: ProcessCDR(1,14217734,1,1,2)
[2025-01-10 15:08:41] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217734,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:08:43] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217734,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:08:43] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217734,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:08:45] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217734,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:08:45] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217734', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:08:45] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217734', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:08:45] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:08:45] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:08:45] Production.INFO: ==30415== Releasing lock...
[2025-01-10 15:08:45] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 15:08:45] Production.INFO: 51.75 MB #Memory Used#
[2025-01-10 20:09:02] Production.INFO: ==30512== Lock acquired, processing the job...
[2025-01-10 20:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 20:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 20:09:02] Production.INFO: neon service started
[2025-01-10 20:09:02] Production.INFO: neon service started
[2025-01-10 20:09:02] Production.INFO: ==30512== Releasing lock...
[2025-01-10 20:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 20:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 15:09:02] Production.INFO: ==30514== Lock acquired, processing the job...
[2025-01-10 15:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 20:09:02] Production.INFO: ==30516== Lock acquired, processing the job...
[2025-01-10 20:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 20:09:02] Production.INFO: ==30516== Releasing lock...
[2025-01-10 20:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 20:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 15:09:03] Production.INFO: ==30514== Releasing lock...
[2025-01-10 15:09:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 15:09:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:09:03] Production.INFO: ==30519== Lock acquired, processing the job...
[2025-01-10 15:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 15:09:04] Production.INFO: ==30521== Lock acquired, processing the job...
[2025-01-10 15:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 15:09:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 15:09:04] Production.INFO: ==30525== Lock acquired, processing the job...
[2025-01-10 15:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 15:09:04] Production.INFO: Account Balance Start.
[2025-01-10 15:09:04] Production.INFO: CreateAllLog Start
[2025-01-10 15:09:04] Production.INFO: 117
[2025-01-10 15:09:04] Production.INFO: Date 2025-01-08
[2025-01-10 15:09:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:09:04] Production.INFO: Date 2025-01-09
[2025-01-10 15:09:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:09:04] Production.INFO: Date 2025-01-10
[2025-01-10 15:09:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:09:04] Production.INFO: Total Charge 0
[2025-01-10 15:09:04] Production.INFO: ==30523== Lock acquired, processing the job...
[2025-01-10 15:09:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 15:09:04] Production.INFO: CreateAllLog End
[2025-01-10 15:09:04] Production.INFO: ==30527== Lock acquired, processing the job...
[2025-01-10 15:09:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 15:09:04] Production.INFO: ==30521== Releasing lock...
[2025-01-10 15:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 15:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 15:09:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 15:09:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 15:09:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 15:09:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 15:09:04] Production.INFO: ==30529== Lock acquired, processing the job...
[2025-01-10 15:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 15:09:04] Production.INFO: Account Balance End.
[2025-01-10 15:09:04] Production.ERROR: CronJobId end 12
[2025-01-10 15:09:04] Production.INFO: ==30525== Releasing lock...
[2025-01-10 15:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 15:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 15:09:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 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-01-10 15:09:04] Production.INFO: count ==21
[2025-01-10 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-01-10 15:09:04] Production.INFO: count ==21
[2025-01-10 15:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217738') start
[2025-01-10 15:09:04] Production.ERROR: done
[2025-01-10 15:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 15:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217738') end
[2025-01-10 15:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 15:09:04] Production.INFO: 1
[2025-01-10 15:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 15:09:04] Production.ERROR: done
[2025-01-10 15:09:04] Production.INFO: ==30529== Releasing lock...
[2025-01-10 15:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 15:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 15:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 12:09:05
[end_date_ymd] => 2025-01-10 15:09:05
[RateCDR] => 1
)
[2025-01-10 15:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 12:09:05' and `end` < '2025-01-10 15:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 15:09:12] Production.ERROR: CronJobId end10
[2025-01-10 15:09:12] Production.INFO: ==30523== Releasing lock...
[2025-01-10 15:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 15:09:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 15:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 15:09:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 15:09:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 15:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 15:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 15:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 15:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 15:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 15:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 15:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 15:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 15:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 15:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 15:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 15:09:13] Production.INFO: call_cost start
[2025-01-10 15:09:13] Production.INFO: call_cost end
[2025-01-10 15:09:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 15:09:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 15:09:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 15:09:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 15:09:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 15:09:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 15:09:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 15:09:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 15:09:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 15:09:14] Production.INFO: ==30519== Releasing lock...
[2025-01-10 15:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 15:09:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 15:09:34] Production.INFO: count ==3150
[2025-01-10 15:09:35] Production.ERROR: pbx CDR StartTime 2025-01-10 12:09:05 - End Time 2025-01-10 15:09:05
[2025-01-10 15:09:35] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 15:09:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217739', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:09:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217739', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:09:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217739', 'tblTempVendorCDR_20' ) start
[2025-01-10 15:09:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217739', 'tblTempVendorCDR_20' ) end
[2025-01-10 15:09:36] Production.INFO: ProcessCDR(1,14217739,1,1,2)
[2025-01-10 15:09:36] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217739,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:09:38] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217739,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:09:38] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217739,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:09:40] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217739,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:09:40] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217739', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:09:40] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217739', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:09:40] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:09:40] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:09:40] Production.INFO: ==30527== Releasing lock...
[2025-01-10 15:09:40] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 15:09:40] Production.INFO: 51.5 MB #Memory Used#
[2025-01-10 20:10:01] Production.INFO: ==30587== Lock acquired, processing the job...
[2025-01-10 20:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 20:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 20:10:01] Production.INFO: neon service started
[2025-01-10 20:10:01] Production.INFO: neon service started
[2025-01-10 20:10:01] Production.INFO: ==30587== Releasing lock...
[2025-01-10 20:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 20:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 20:10:02] Production.INFO: ==30591== Lock acquired, processing the job...
[2025-01-10 20:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 20:10:02] Production.INFO: ==30591== Releasing lock...
[2025-01-10 20:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 20:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 15:10:02] Production.INFO: ==30589== Lock acquired, processing the job...
[2025-01-10 15:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 15:10:02] Production.INFO: ==30589== Releasing lock...
[2025-01-10 15:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 15:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:10:03] Production.INFO: ==30594== Lock acquired, processing the job...
[2025-01-10 15:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 15:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 15:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 15:10:03] Production.INFO: ==30594== Releasing lock...
[2025-01-10 15:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 15:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 15:10:03] Production.INFO: ==30598== Lock acquired, processing the job...
[2025-01-10 15:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 15:10:03] Production.INFO: ==30602== Lock acquired, processing the job...
[2025-01-10 15:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 15:10:03] Production.INFO: ==30596== Lock acquired, processing the job...
[2025-01-10 15:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 15:10:03] Production.INFO: ==30604== Lock acquired, processing the job...
[2025-01-10 15:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 15:10:03] Production.INFO: Account Balance Start.
[2025-01-10 15:10:03] Production.INFO: CreateAllLog Start
[2025-01-10 15:10:03] Production.INFO: 117
[2025-01-10 15:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 15:10:03] Production.INFO: Date 2025-01-08
[2025-01-10 15:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:10:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:10:03] Production.INFO: Date 2025-01-09
[2025-01-10 15:10:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:10:03] Production.INFO: ==30600== Lock acquired, processing the job...
[2025-01-10 15:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 15:10:03] Production.INFO: Date 2025-01-10
[2025-01-10 15:10:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:10:03] Production.INFO: ==30606== Lock acquired, processing the job...
[2025-01-10 15:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 15:10:03] Production.INFO: ==30598== Releasing lock...
[2025-01-10 15:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 15:10:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 15:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 15:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 15:10:03] Production.INFO: Total Charge 0
[2025-01-10 15:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 15:10:03] Production.INFO: ==30608== Lock acquired, processing the job...
[2025-01-10 15:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 15:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 15:10:03] Production.INFO: CreateAllLog End
[2025-01-10 15:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:10:04] Production.ERROR: done
[2025-01-10 15:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 15:10:04] Production.INFO: count ==21
[2025-01-10 15:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:10:04] Production.INFO: count ==21
[2025-01-10 15:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217743') start
[2025-01-10 15:10:04] Production.INFO: Account Balance End.
[2025-01-10 15:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217743') end
[2025-01-10 15:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 15:10:04] Production.INFO: 1
[2025-01-10 15:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 15:10:04] Production.ERROR: done
[2025-01-10 15:10:04] Production.ERROR: CronJobId end 12
[2025-01-10 15:10:04] Production.INFO: ==30602== Releasing lock...
[2025-01-10 15:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 15:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 15:10:04] Production.ERROR: done
[2025-01-10 15:10:04] Production.INFO: ==30608== Releasing lock...
[2025-01-10 15:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 15:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 15:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 15:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14217744', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 15:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 12:10:05
[end_date_ymd] => 2025-01-10 15:10:05
[RateCDR] => 1
)
[2025-01-10 15:10:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 12:10:05' and `end` < '2025-01-10 15:10:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 15:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14217744', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 15:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 15:10:08] Production.INFO: ProcessCDR(1,14217744,1,1,2)
[2025-01-10 15:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14217744,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14217744,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:10:08] Production.INFO: ==30606== Releasing lock...
[2025-01-10 15:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 15:10:08] Production.INFO: 26 MB #Memory Used#
[2025-01-10 15:10:13] Production.ERROR: CronJobId end10
[2025-01-10 15:10:13] Production.INFO: ==30600== Releasing lock...
[2025-01-10 15:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 15:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 15:10:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 15:10:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 15:10:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 15:10:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 15:10:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 15:10:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 15:10:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 15:10:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 15:10:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 15:10:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 15:10:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 15:10:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 15:10:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 15:10:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 15:10:14] Production.INFO: call_cost start
[2025-01-10 15:10:14] Production.INFO: call_cost end
[2025-01-10 15:10:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 15:10:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 15:10:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 15:10:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 15:10:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 15:10:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 15:10:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 15:10:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 15:10:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 15:10:15] Production.INFO: ==30596== Releasing lock...
[2025-01-10 15:10:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 15:10:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 15:10:32] Production.INFO: count ==3157
[2025-01-10 15:10:33] Production.ERROR: pbx CDR StartTime 2025-01-10 12:10:05 - End Time 2025-01-10 15:10:05
[2025-01-10 15:10:33] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 15:10:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217745', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:10:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217745', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:10:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217745', 'tblTempVendorCDR_20' ) start
[2025-01-10 15:10:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217745', 'tblTempVendorCDR_20' ) end
[2025-01-10 15:10:33] Production.INFO: ProcessCDR(1,14217745,1,1,2)
[2025-01-10 15:10:33] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217745,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:10:36] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217745,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:10:36] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217745,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:10:38] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217745,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:10:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217745', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:10:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217745', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:10:38] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:10:38] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:10:38] Production.INFO: ==30604== Releasing lock...
[2025-01-10 15:10:38] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 15:10:38] Production.INFO: 51.75 MB #Memory Used#
[2025-01-10 20:11:02] Production.INFO: ==30665== Lock acquired, processing the job...
[2025-01-10 20:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 20:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 20:11:02] Production.INFO: neon service started
[2025-01-10 20:11:02] Production.INFO: neon service started
[2025-01-10 20:11:02] Production.INFO: ==30665== Releasing lock...
[2025-01-10 20:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 20:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 15:11:02] Production.INFO: ==30667== Lock acquired, processing the job...
[2025-01-10 15:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 20:11:02] Production.INFO: ==30669== Lock acquired, processing the job...
[2025-01-10 20:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 20:11:02] Production.INFO: ==30669== Releasing lock...
[2025-01-10 20:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 20:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 15:11:03] Production.INFO: ==30667== Releasing lock...
[2025-01-10 15:11:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 15:11:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:11:03] Production.INFO: ==30678== Lock acquired, processing the job...
[2025-01-10 15:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 15:11:03] Production.INFO: ==30672== Lock acquired, processing the job...
[2025-01-10 15:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 15:11:03] Production.INFO: ==30682== Lock acquired, processing the job...
[2025-01-10 15:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 15:11:04] Production.INFO: Account Balance Start.
[2025-01-10 15:11:04] Production.INFO: CreateAllLog Start
[2025-01-10 15:11:04] Production.INFO: 117
[2025-01-10 15:11:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 15:11:04] Production.INFO: Date 2025-01-08
[2025-01-10 15:11:04] Production.INFO: ==30674== Lock acquired, processing the job...
[2025-01-10 15:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 15:11:04] Production.INFO: Reseller ==> 0
[2025-01-10 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-01-10 15:11:04] Production.INFO: Date 2025-01-09
[2025-01-10 15:11:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:11:04] Production.INFO: ==30676== Lock acquired, processing the job...
[2025-01-10 15:11:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 15:11:04] Production.INFO: count ==21
[2025-01-10 15:11:04] Production.INFO: Date 2025-01-10
[2025-01-10 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-01-10 15:11:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:11:04] Production.INFO: ==30680== Lock acquired, processing the job...
[2025-01-10 15:11:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 15:11:04] Production.INFO: count ==21
[2025-01-10 15:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217748') start
[2025-01-10 15:11:04] Production.INFO: Total Charge 0
[2025-01-10 15:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 15:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 15:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 15:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 15:11:04] Production.INFO: CreateAllLog End
[2025-01-10 15:11:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:11:04] Production.INFO: Account Balance End.
[2025-01-10 15:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217748') end
[2025-01-10 15:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 15:11:04] Production.INFO: 1
[2025-01-10 15:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 15:11:04] Production.INFO: ==30682== Releasing lock...
[2025-01-10 15:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 15:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 15:11:04] Production.ERROR: CronJobId end 12
[2025-01-10 15:11:04] Production.INFO: ==30678== Releasing lock...
[2025-01-10 15:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 15:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 15:11:04] Production.INFO: ==30674== Releasing lock...
[2025-01-10 15:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 15:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 15:11:04] Production.ERROR: done
[2025-01-10 15:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 15:11:04] Production.ERROR: done
[2025-01-10 15:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 12:11:05
[end_date_ymd] => 2025-01-10 15:11:05
[RateCDR] => 1
)
[2025-01-10 15:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 12:11:05' and `end` < '2025-01-10 15:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 15:11:11] Production.ERROR: CronJobId end10
[2025-01-10 15:11:11] Production.INFO: ==30676== Releasing lock...
[2025-01-10 15:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 15:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 15:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 15:11:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 15:11:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 15:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 15:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 15:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 15:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 15:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 15:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 15:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 15:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 15:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 15:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 15:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 15:11:13] Production.INFO: call_cost start
[2025-01-10 15:11:13] Production.INFO: call_cost end
[2025-01-10 15:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 15:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 15:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 15:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 15:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 15:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 15:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 15:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 15:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 15:11:14] Production.INFO: ==30672== Releasing lock...
[2025-01-10 15:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 15:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 15:11:28] Production.INFO: count ==3252
[2025-01-10 15:11:30] Production.ERROR: pbx CDR StartTime 2025-01-10 12:11:05 - End Time 2025-01-10 15:11:05
[2025-01-10 15:11:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 15:11:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217750', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:11:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217750', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:11:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217750', 'tblTempVendorCDR_20' ) start
[2025-01-10 15:11:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217750', 'tblTempVendorCDR_20' ) end
[2025-01-10 15:11:30] Production.INFO: ProcessCDR(1,14217750,1,1,2)
[2025-01-10 15:11:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217750,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:11:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217750,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:11:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217750,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:11:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217750,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:11:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217750', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:11:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217750', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:11:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:11:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:11:35] Production.INFO: ==30680== Releasing lock...
[2025-01-10 15:11:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 15:11:35] Production.INFO: 52.25 MB #Memory Used#
[2025-01-10 20:12:01] Production.INFO: ==30818== Lock acquired, processing the job...
[2025-01-10 20:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 20:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 20:12:01] Production.INFO: neon service started
[2025-01-10 20:12:01] Production.INFO: neon service started
[2025-01-10 20:12:01] Production.INFO: ==30818== Releasing lock...
[2025-01-10 20:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 20:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 20:12:01] Production.INFO: ==30823== Lock acquired, processing the job...
[2025-01-10 20:12:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 20:12:01] Production.INFO: ==30823== Releasing lock...
[2025-01-10 20:12:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 20:12:01] Production.INFO: 25 MB #Memory Used#
[2025-01-10 15:12:02] Production.INFO: ==30821== Lock acquired, processing the job...
[2025-01-10 15:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 15:12:02] Production.INFO: ==30821== Releasing lock...
[2025-01-10 15:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 15:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:12:03] Production.INFO: ==30825== Lock acquired, processing the job...
[2025-01-10 15:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 15:12:03] Production.INFO: ==30836== Lock acquired, processing the job...
[2025-01-10 15:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 15:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 15:12:03] Production.INFO: ==30833== Lock acquired, processing the job...
[2025-01-10 15:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 15:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:12:03] Production.INFO: ==30827== Lock acquired, processing the job...
[2025-01-10 15:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 15:12:03] Production.INFO: count ==21
[2025-01-10 15:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 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-01-10 15:12:03] Production.INFO: ==30829== Lock acquired, processing the job...
[2025-01-10 15:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 15:12:03] Production.INFO: count ==21
[2025-01-10 15:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217752') start
[2025-01-10 15:12:03] Production.INFO: ==30831== Lock acquired, processing the job...
[2025-01-10 15:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 15:12:03] Production.INFO: Account Balance Start.
[2025-01-10 15:12:03] Production.INFO: CreateAllLog Start
[2025-01-10 15:12:03] Production.INFO: 117
[2025-01-10 15:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 15:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217752') end
[2025-01-10 15:12:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 15:12:03] Production.INFO: 1
[2025-01-10 15:12:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 15:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 15:12:03] Production.INFO: Date 2025-01-08
[2025-01-10 15:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 15:12:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 15:12:03] Production.INFO: Date 2025-01-09
[2025-01-10 15:12:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:12:03] Production.INFO: Date 2025-01-10
[2025-01-10 15:12:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:12:03] Production.INFO: Total Charge 0
[2025-01-10 15:12:03] Production.INFO: CreateAllLog End
[2025-01-10 15:12:03] Production.INFO: ==30836== Releasing lock...
[2025-01-10 15:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 15:12:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 15:12:03] Production.ERROR: done
[2025-01-10 15:12:03] Production.INFO: ==30827== Releasing lock...
[2025-01-10 15:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 15:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 15:12:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 15:12:03] Production.INFO: Account Balance End.
[2025-01-10 15:12:04] Production.ERROR: done
[2025-01-10 15:12:04] Production.ERROR: CronJobId end 12
[2025-01-10 15:12:04] Production.INFO: ==30831== Releasing lock...
[2025-01-10 15:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 15:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 15:12:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 12:12:04
[end_date_ymd] => 2025-01-10 15:12:04
[RateCDR] => 1
)
[2025-01-10 15:12:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 12:12:04' and `end` < '2025-01-10 15:12:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 15:12:12] Production.ERROR: CronJobId end10
[2025-01-10 15:12:12] Production.INFO: ==30829== Releasing lock...
[2025-01-10 15:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 15:12:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 15:12:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 15:12:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 15:12:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 15:12:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 15:12:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 15:12:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 15:12:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 15:12:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 15:12:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 15:12:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 15:12:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 15:12:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 15:12:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 15:12:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 15:12:13] Production.INFO: call_cost start
[2025-01-10 15:12:13] Production.INFO: call_cost end
[2025-01-10 15:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 15:12:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 15:12:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 15:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 15:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 15:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 15:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 15:12:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 15:12:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 15:12:14] Production.INFO: ==30825== Releasing lock...
[2025-01-10 15:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 15:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 15:12:32] Production.INFO: count ==3249
[2025-01-10 15:12:34] Production.ERROR: pbx CDR StartTime 2025-01-10 12:12:04 - End Time 2025-01-10 15:12:04
[2025-01-10 15:12:34] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 15:12:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217755', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:12:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217755', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:12:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217755', 'tblTempVendorCDR_20' ) start
[2025-01-10 15:12:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217755', 'tblTempVendorCDR_20' ) end
[2025-01-10 15:12:34] Production.INFO: ProcessCDR(1,14217755,1,1,2)
[2025-01-10 15:12:34] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217755,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:12:37] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217755,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:12:37] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217755,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:12:40] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217755,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:12:40] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217755', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:12:40] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217755', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:12:40] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:12:40] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:12:40] Production.INFO: ==30833== Releasing lock...
[2025-01-10 15:12:40] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 15:12:40] Production.INFO: 52.75 MB #Memory Used#
[2025-01-10 20:13:01] Production.INFO: ==30895== Lock acquired, processing the job...
[2025-01-10 20:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 20:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 20:13:01] Production.INFO: neon service started
[2025-01-10 20:13:01] Production.INFO: neon service started
[2025-01-10 20:13:01] Production.INFO: ==30895== Releasing lock...
[2025-01-10 20:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 20:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 15:13:02] Production.INFO: ==30897== Lock acquired, processing the job...
[2025-01-10 15:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 15:13:02] Production.INFO: ==30897== Releasing lock...
[2025-01-10 15:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 15:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 20:13:02] Production.INFO: ==30899== Lock acquired, processing the job...
[2025-01-10 20:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 20:13:02] Production.INFO: ==30899== Releasing lock...
[2025-01-10 20:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 20:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 15:13:03] Production.INFO: ==30901== Lock acquired, processing the job...
[2025-01-10 15:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 15:13:03] Production.INFO: ==30905== Lock acquired, processing the job...
[2025-01-10 15:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 15:13:03] Production.INFO: ==30911== Lock acquired, processing the job...
[2025-01-10 15:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 15:13:03] Production.INFO: ==30903== Lock acquired, processing the job...
[2025-01-10 15:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 15:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 15:13:03] Production.INFO: ==30907== Lock acquired, processing the job...
[2025-01-10 15:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 15:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 15:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 15:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 15:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 15:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:13:03] Production.INFO: ==30909== Lock acquired, processing the job...
[2025-01-10 15:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 15:13:03] Production.INFO: count ==21
[2025-01-10 15:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:13:03] Production.INFO: count ==21
[2025-01-10 15:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217757') start
[2025-01-10 15:13:03] Production.INFO: Account Balance Start.
[2025-01-10 15:13:03] Production.INFO: CreateAllLog Start
[2025-01-10 15:13:03] Production.INFO: 117
[2025-01-10 15:13:03] Production.INFO: Date 2025-01-08
[2025-01-10 15:13:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217757') end
[2025-01-10 15:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 15:13:03] Production.INFO: 1
[2025-01-10 15:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 15:13:03] Production.INFO: ==30911== Releasing lock...
[2025-01-10 15:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 15:13:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 15:13:04] Production.INFO: Date 2025-01-09
[2025-01-10 15:13:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:13:04] Production.INFO: Date 2025-01-10
[2025-01-10 15:13:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:13:04] Production.ERROR: done
[2025-01-10 15:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 15:13:04] Production.INFO: ==30903== Releasing lock...
[2025-01-10 15:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 15:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 15:13:04] Production.INFO: Total Charge 0
[2025-01-10 15:13:04] Production.INFO: CreateAllLog End
[2025-01-10 15:13:04] Production.ERROR: done
[2025-01-10 15:13:04] Production.INFO: Account Balance End.
[2025-01-10 15:13:04] Production.ERROR: CronJobId end 12
[2025-01-10 15:13:04] Production.INFO: ==30907== Releasing lock...
[2025-01-10 15:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 15:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 15:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 12:13:05
[end_date_ymd] => 2025-01-10 15:13:05
[RateCDR] => 1
)
[2025-01-10 15:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 12:13:05' and `end` < '2025-01-10 15:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 15:13:12] Production.ERROR: CronJobId end10
[2025-01-10 15:13:12] Production.INFO: ==30905== Releasing lock...
[2025-01-10 15:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 15:13:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 15:13:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 15:13:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 15:13:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 15:13:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 15:13:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 15:13:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 15:13:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 15:13:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 15:13:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 15:13:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 15:13:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 15:13:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 15:13:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 15:13:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 15:13:12] Production.INFO: call_cost start
[2025-01-10 15:13:12] Production.INFO: call_cost end
[2025-01-10 15:13:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 15:13:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 15:13:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 15:13:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 15:13:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 15:13:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 15:13:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 15:13:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 15:13:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 15:13:13] Production.INFO: ==30901== Releasing lock...
[2025-01-10 15:13:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 15:13:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 15:13:26] Production.INFO: count ==3260
[2025-01-10 15:13:27] Production.ERROR: pbx CDR StartTime 2025-01-10 12:13:05 - End Time 2025-01-10 15:13:05
[2025-01-10 15:13:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 15:13:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217760', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:13:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217760', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:13:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217760', 'tblTempVendorCDR_20' ) start
[2025-01-10 15:13:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217760', 'tblTempVendorCDR_20' ) end
[2025-01-10 15:13:28] Production.INFO: ProcessCDR(1,14217760,1,1,2)
[2025-01-10 15:13:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217760,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:13:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217760,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:13:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217760,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:13:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217760,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:13:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217760', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:13:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217760', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:13:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:13:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:13:31] Production.INFO: ==30909== Releasing lock...
[2025-01-10 15:13:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 15:13:31] Production.INFO: 53 MB #Memory Used#
[2025-01-10 20:14:01] Production.INFO: ==30969== Lock acquired, processing the job...
[2025-01-10 20:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 20:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 20:14:01] Production.INFO: neon service started
[2025-01-10 20:14:01] Production.INFO: neon service started
[2025-01-10 20:14:01] Production.INFO: ==30969== Releasing lock...
[2025-01-10 20:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 20:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 15:14:01] Production.INFO: ==30971== Lock acquired, processing the job...
[2025-01-10 15:14:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 20:14:02] Production.INFO: ==30973== Lock acquired, processing the job...
[2025-01-10 20:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:14:02] Production.INFO: ==30971== Releasing lock...
[2025-01-10 15:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 15:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 20:14:02] Production.INFO: ==30973== Releasing lock...
[2025-01-10 20:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 20:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 15:14:03] Production.INFO: ==30976== Lock acquired, processing the job...
[2025-01-10 15:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 15:14:03] Production.INFO: ==30978== Lock acquired, processing the job...
[2025-01-10 15:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 15:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 15:14:03] Production.INFO: ==30986== Lock acquired, processing the job...
[2025-01-10 15:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 15:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:14:03] Production.INFO: ==30980== Lock acquired, processing the job...
[2025-01-10 15:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 15:14:03] Production.INFO: ==30978== Releasing lock...
[2025-01-10 15:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 15:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 15:14:03] Production.INFO: count ==21
[2025-01-10 15:14:03] Production.INFO: ==30984== Lock acquired, processing the job...
[2025-01-10 15:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 15:14:03] Production.INFO: ==30982== Lock acquired, processing the job...
[2025-01-10 15:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 15:14:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 15:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 15:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 15:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 15:14:03] Production.INFO: Account Balance Start.
[2025-01-10 15:14:03] Production.INFO: CreateAllLog Start
[2025-01-10 15:14:03] Production.INFO: 117
[2025-01-10 15:14:03] Production.INFO: Date 2025-01-08
[2025-01-10 15:14:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:14:03] Production.INFO: Date 2025-01-09
[2025-01-10 15:14:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:14:03] Production.INFO: Date 2025-01-10
[2025-01-10 15:14:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:14:03] Production.INFO: count ==21
[2025-01-10 15:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217763') start
[2025-01-10 15:14:03] Production.INFO: Total Charge 0
[2025-01-10 15:14:03] Production.INFO: CreateAllLog End
[2025-01-10 15:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217763') end
[2025-01-10 15:14:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 15:14:03] Production.INFO: 1
[2025-01-10 15:14:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 15:14:03] Production.ERROR: done
[2025-01-10 15:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 15:14:04] Production.INFO: ==30986== Releasing lock...
[2025-01-10 15:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 15:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 15:14:04] Production.ERROR: done
[2025-01-10 15:14:04] Production.INFO: Account Balance End.
[2025-01-10 15:14:04] Production.ERROR: CronJobId end 12
[2025-01-10 15:14:04] Production.INFO: ==30982== Releasing lock...
[2025-01-10 15:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 15:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 15:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 12:14:05
[end_date_ymd] => 2025-01-10 15:14:05
[RateCDR] => 1
)
[2025-01-10 15:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 12:14:05' and `end` < '2025-01-10 15:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 15:14:11] Production.ERROR: CronJobId end10
[2025-01-10 15:14:11] Production.INFO: ==30980== Releasing lock...
[2025-01-10 15:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 15:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 15:14:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 15:14:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 15:14:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 15:14:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 15:14:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 15:14:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 15:14:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 15:14:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 15:14:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 15:14:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 15:14:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 15:14:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 15:14:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 15:14:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 15:14:12] Production.INFO: call_cost start
[2025-01-10 15:14:12] Production.INFO: call_cost end
[2025-01-10 15:14:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 15:14:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 15:14:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 15:14:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 15:14:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 15:14:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 15:14:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 15:14:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 15:14:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 15:14:13] Production.INFO: ==30976== Releasing lock...
[2025-01-10 15:14:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 15:14:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 15:14:29] Production.INFO: count ==3267
[2025-01-10 15:14:31] Production.ERROR: pbx CDR StartTime 2025-01-10 12:14:05 - End Time 2025-01-10 15:14:05
[2025-01-10 15:14:31] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 15:14:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217765', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:14:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217765', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:14:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217765', 'tblTempVendorCDR_20' ) start
[2025-01-10 15:14:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217765', 'tblTempVendorCDR_20' ) end
[2025-01-10 15:14:31] Production.INFO: ProcessCDR(1,14217765,1,1,2)
[2025-01-10 15:14:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217765,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:14:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217765,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:14:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217765,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:14:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217765,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:14:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217765', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:14:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217765', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:14:36] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:14:36] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:14:36] Production.INFO: ==30984== Releasing lock...
[2025-01-10 15:14:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 15:14:36] Production.INFO: 53 MB #Memory Used#
[2025-01-10 20:15:02] Production.INFO: ==31121== Lock acquired, processing the job...
[2025-01-10 20:15:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 20:15:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 20:15:02] Production.INFO: neon service started
[2025-01-10 20:15:02] Production.INFO: neon service started
[2025-01-10 20:15:02] Production.INFO: ==31121== Releasing lock...
[2025-01-10 20:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 20:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 15:15:02] Production.INFO: ==31123== Lock acquired, processing the job...
[2025-01-10 15:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 15:15:02] Production.INFO: ==31123== Releasing lock...
[2025-01-10 15:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 15:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 20:15:02] Production.INFO: ==31125== Lock acquired, processing the job...
[2025-01-10 20:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 20:15:02] Production.INFO: ==31125== Releasing lock...
[2025-01-10 20:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 20:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 15:15:03] Production.INFO: ==31127== Lock acquired, processing the job...
[2025-01-10 15:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 15:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 15:15:03] Production.INFO: ==31129== Lock acquired, processing the job...
[2025-01-10 15:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 15:15:03] Production.INFO: ==31135== Lock acquired, processing the job...
[2025-01-10 15:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 15:15:03] Production.INFO: ==31133== Lock acquired, processing the job...
[2025-01-10 15:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 15:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:15:03] Production.INFO: ==31131== Lock acquired, processing the job...
[2025-01-10 15:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 15:15:03] Production.INFO: Account Balance Start.
[2025-01-10 15:15:03] Production.INFO: CreateAllLog Start
[2025-01-10 15:15:03] Production.INFO: 117
[2025-01-10 15:15:03] Production.INFO: Date 2025-01-08
[2025-01-10 15:15:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:15:03] Production.INFO: Date 2025-01-09
[2025-01-10 15:15:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:15:03] Production.INFO: ==31137== Lock acquired, processing the job...
[2025-01-10 15:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 15:15:03] Production.INFO: Date 2025-01-10
[2025-01-10 15:15:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:15:03] Production.INFO: Total Charge 0
[2025-01-10 15:15:03] Production.INFO: CreateAllLog End
[2025-01-10 15:15:03] Production.ERROR: done
[2025-01-10 15:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 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-01-10 15:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 15:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 15:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 15:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 15:15:04] Production.INFO: count ==21
[2025-01-10 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-01-10 15:15:04] Production.INFO: count ==21
[2025-01-10 15:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217769') start
[2025-01-10 15:15:04] Production.INFO: Account Balance End.
[2025-01-10 15:15:04] Production.INFO: ==31129== Releasing lock...
[2025-01-10 15:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 15:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 15:15:04] Production.ERROR: done
[2025-01-10 15:15:04] Production.ERROR: CronJobId end 12
[2025-01-10 15:15:04] Production.INFO: ==31133== Releasing lock...
[2025-01-10 15:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 15:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 15:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217769') end
[2025-01-10 15:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 15:15:04] Production.INFO: 1
[2025-01-10 15:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 15:15:04] Production.INFO: ==31137== Releasing lock...
[2025-01-10 15:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 15:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 15:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 12:15:04
[end_date_ymd] => 2025-01-10 15:15:04
[RateCDR] => 1
)
[2025-01-10 15:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 12:15:04' and `end` < '2025-01-10 15:15:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 15:15:11] Production.ERROR: CronJobId end10
[2025-01-10 15:15:11] Production.INFO: ==31131== Releasing lock...
[2025-01-10 15:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 15:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 15:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 15:15:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 15:15:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 15:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 15:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 15:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 15:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 15:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 15:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 15:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 15:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 15:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 15:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 15:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 15:15:13] Production.INFO: call_cost start
[2025-01-10 15:15:13] Production.INFO: call_cost end
[2025-01-10 15:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 15:15:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 15:15:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 15:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 15:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 15:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 15:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 15:15:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 15:15:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 15:15:14] Production.INFO: ==31127== Releasing lock...
[2025-01-10 15:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 15:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 15:15:29] Production.INFO: count ==3274
[2025-01-10 15:15:30] Production.ERROR: pbx CDR StartTime 2025-01-10 12:15:04 - End Time 2025-01-10 15:15:04
[2025-01-10 15:15:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 15:15:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217770', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:15:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217770', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:15:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217770', 'tblTempVendorCDR_20' ) start
[2025-01-10 15:15:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217770', 'tblTempVendorCDR_20' ) end
[2025-01-10 15:15:30] Production.INFO: ProcessCDR(1,14217770,1,1,2)
[2025-01-10 15:15:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217770,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:15:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217770,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:15:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217770,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:15:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217770,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:15:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217770', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:15:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217770', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:15:35] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:15:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:15:35] Production.INFO: ==31135== Releasing lock...
[2025-01-10 15:15:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 15:15:35] Production.INFO: 52.75 MB #Memory Used#
[2025-01-10 20:16:01] Production.INFO: ==31197== Lock acquired, processing the job...
[2025-01-10 20:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 20:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 20:16:01] Production.INFO: neon service started
[2025-01-10 20:16:01] Production.INFO: neon service started
[2025-01-10 20:16:01] Production.INFO: ==31197== Releasing lock...
[2025-01-10 20:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 20:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 15:16:01] Production.INFO: ==31199== Lock acquired, processing the job...
[2025-01-10 15:16:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 15:16:02] Production.INFO: ==31199== Releasing lock...
[2025-01-10 15:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 15:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 20:16:02] Production.INFO: ==31201== Lock acquired, processing the job...
[2025-01-10 20:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 20:16:02] Production.INFO: ==31201== Releasing lock...
[2025-01-10 20:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 20:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 15:16:03] Production.INFO: ==31204== Lock acquired, processing the job...
[2025-01-10 15:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 15:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 15:16:03] Production.INFO: ==31206== Lock acquired, processing the job...
[2025-01-10 15:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 15:16:03] Production.INFO: ==31208== Lock acquired, processing the job...
[2025-01-10 15:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 15:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 15:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 15:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 15:16:03] Production.INFO: ==31212== Lock acquired, processing the job...
[2025-01-10 15:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 15:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 15:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:16:03] Production.INFO: ==31214== Lock acquired, processing the job...
[2025-01-10 15:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 15:16:03] Production.INFO: ==31210== Lock acquired, processing the job...
[2025-01-10 15:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 15:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:16:03] Production.INFO: count ==21
[2025-01-10 15:16:03] Production.INFO: ==31206== Releasing lock...
[2025-01-10 15:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 15:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 15:16:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:16:03] Production.INFO: count ==21
[2025-01-10 15:16:03] Production.INFO: Account Balance Start.
[2025-01-10 15:16:03] Production.INFO: CreateAllLog Start
[2025-01-10 15:16:03] Production.INFO: 117
[2025-01-10 15:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217773') start
[2025-01-10 15:16:03] Production.INFO: Date 2025-01-08
[2025-01-10 15:16:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:16:03] Production.INFO: Date 2025-01-09
[2025-01-10 15:16:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:16:04] Production.ERROR: done
[2025-01-10 15:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 15:16:04] Production.INFO: Date 2025-01-10
[2025-01-10 15:16:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217773') end
[2025-01-10 15:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 15:16:04] Production.INFO: 1
[2025-01-10 15:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 15:16:04] Production.INFO: Total Charge 0
[2025-01-10 15:16:04] Production.INFO: CreateAllLog End
[2025-01-10 15:16:04] Production.INFO: ==31214== Releasing lock...
[2025-01-10 15:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 15:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 15:16:04] Production.ERROR: done
[2025-01-10 15:16:04] Production.INFO: Account Balance End.
[2025-01-10 15:16:04] Production.ERROR: CronJobId end 12
[2025-01-10 15:16:04] Production.INFO: ==31210== Releasing lock...
[2025-01-10 15:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 15:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 15:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 12:16:05
[end_date_ymd] => 2025-01-10 15:16:05
[RateCDR] => 1
)
[2025-01-10 15:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 12:16:05' and `end` < '2025-01-10 15:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 15:16:12] Production.ERROR: CronJobId end10
[2025-01-10 15:16:12] Production.INFO: ==31208== Releasing lock...
[2025-01-10 15:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 15:16:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 15:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 15:16:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 15:16:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 15:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 15:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 15:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 15:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 15:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 15:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 15:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 15:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 15:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 15:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 15:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 15:16:13] Production.INFO: call_cost start
[2025-01-10 15:16:13] Production.INFO: call_cost end
[2025-01-10 15:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 15:16:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 15:16:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 15:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 15:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 15:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 15:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 15:16:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 15:16:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 15:16:14] Production.INFO: ==31204== Releasing lock...
[2025-01-10 15:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 15:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 15:16:25] Production.INFO: count ==3271
[2025-01-10 15:16:27] Production.ERROR: pbx CDR StartTime 2025-01-10 12:16:05 - End Time 2025-01-10 15:16:05
[2025-01-10 15:16:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 15:16:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217775', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:16:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217775', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:16:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217775', 'tblTempVendorCDR_20' ) start
[2025-01-10 15:16:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217775', 'tblTempVendorCDR_20' ) end
[2025-01-10 15:16:27] Production.INFO: ProcessCDR(1,14217775,1,1,2)
[2025-01-10 15:16:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217775,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:16:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217775,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:16:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217775,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:16:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217775,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:16:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217775', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:16:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217775', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:16:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:16:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:16:32] Production.INFO: ==31212== Releasing lock...
[2025-01-10 15:16:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 15:16:32] Production.INFO: 54 MB #Memory Used#
[2025-01-10 20:17:01] Production.INFO: ==31271== Lock acquired, processing the job...
[2025-01-10 20:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 20:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 20:17:02] Production.INFO: neon service started
[2025-01-10 20:17:02] Production.INFO: neon service started
[2025-01-10 20:17:02] Production.INFO: ==31271== Releasing lock...
[2025-01-10 20:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 20:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 15:17:02] Production.INFO: ==31273== Lock acquired, processing the job...
[2025-01-10 15:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 15:17:02] Production.INFO: ==31273== Releasing lock...
[2025-01-10 15:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 15:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 20:17:02] Production.INFO: ==31275== Lock acquired, processing the job...
[2025-01-10 20:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 20:17:02] Production.INFO: ==31275== Releasing lock...
[2025-01-10 20:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 20:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 15:17:03] Production.INFO: ==31279== Lock acquired, processing the job...
[2025-01-10 15:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 15:17:03] Production.INFO: ==31277== Lock acquired, processing the job...
[2025-01-10 15:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 15:17:03] Production.INFO: ==31285== Lock acquired, processing the job...
[2025-01-10 15:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 15:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 15:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:17:03] Production.INFO: ==31281== Lock acquired, processing the job...
[2025-01-10 15:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 15:17:03] Production.INFO: ==31283== Lock acquired, processing the job...
[2025-01-10 15:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 15:17:03] Production.INFO: ==31287== Lock acquired, processing the job...
[2025-01-10 15:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 15:17:03] Production.INFO: ==31279== Releasing lock...
[2025-01-10 15:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 15:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 15:17:03] Production.INFO: Account Balance Start.
[2025-01-10 15:17:03] Production.INFO: CreateAllLog Start
[2025-01-10 15:17:03] Production.INFO: 117
[2025-01-10 15:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 15:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 15:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 15:17:03] Production.INFO: Date 2025-01-08
[2025-01-10 15:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 15:17:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:17:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:17:04] Production.INFO: count ==21
[2025-01-10 15:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:17:04] Production.INFO: count ==21
[2025-01-10 15:17:04] Production.INFO: Date 2025-01-09
[2025-01-10 15:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217779') start
[2025-01-10 15:17:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:17:04] Production.ERROR: done
[2025-01-10 15:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 15:17:04] Production.INFO: Date 2025-01-10
[2025-01-10 15:17:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:17:04] Production.INFO: Total Charge 0
[2025-01-10 15:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217779') end
[2025-01-10 15:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 15:17:04] Production.INFO: 1
[2025-01-10 15:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 15:17:04] Production.INFO: CreateAllLog End
[2025-01-10 15:17:04] Production.INFO: ==31287== Releasing lock...
[2025-01-10 15:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 15:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 15:17:04] Production.ERROR: done
[2025-01-10 15:17:04] Production.INFO: Account Balance End.
[2025-01-10 15:17:04] Production.ERROR: CronJobId end 12
[2025-01-10 15:17:04] Production.INFO: ==31283== Releasing lock...
[2025-01-10 15:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 15:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 15:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 12:17:05
[end_date_ymd] => 2025-01-10 15:17:05
[RateCDR] => 1
)
[2025-01-10 15:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 12:17:05' and `end` < '2025-01-10 15:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 15:17:11] Production.ERROR: CronJobId end10
[2025-01-10 15:17:11] Production.INFO: ==31281== Releasing lock...
[2025-01-10 15:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 15:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 15:17:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 15:17:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 15:17:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 15:17:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 15:17:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 15:17:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 15:17:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 15:17:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 15:17:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 15:17:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 15:17:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 15:17:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 15:17:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 15:17:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 15:17:13] Production.INFO: call_cost start
[2025-01-10 15:17:13] Production.INFO: call_cost end
[2025-01-10 15:17:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 15:17:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 15:17:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 15:17:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 15:17:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 15:17:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 15:17:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 15:17:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 15:17:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 15:17:14] Production.INFO: ==31277== Releasing lock...
[2025-01-10 15:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 15:17:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 15:17:31] Production.INFO: count ==3297
[2025-01-10 15:17:33] Production.ERROR: pbx CDR StartTime 2025-01-10 12:17:05 - End Time 2025-01-10 15:17:05
[2025-01-10 15:17:33] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 15:17:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217780', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:17:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217780', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:17:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217780', 'tblTempVendorCDR_20' ) start
[2025-01-10 15:17:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217780', 'tblTempVendorCDR_20' ) end
[2025-01-10 15:17:33] Production.INFO: ProcessCDR(1,14217780,1,1,2)
[2025-01-10 15:17:33] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217780,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:17:35] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217780,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:17:35] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217780,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:17:38] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217780,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:17:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217780', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:17:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217780', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:17:38] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:17:38] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:17:38] Production.INFO: ==31285== Releasing lock...
[2025-01-10 15:17:38] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 15:17:38] Production.INFO: 52.75 MB #Memory Used#
[2025-01-10 20:18:01] Production.INFO: ==31348== Lock acquired, processing the job...
[2025-01-10 20:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 20:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 20:18:01] Production.INFO: neon service started
[2025-01-10 20:18:01] Production.INFO: neon service started
[2025-01-10 20:18:01] Production.INFO: ==31348== Releasing lock...
[2025-01-10 20:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 20:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 15:18:02] Production.INFO: ==31351== Lock acquired, processing the job...
[2025-01-10 15:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 15:18:02] Production.INFO: ==31351== Releasing lock...
[2025-01-10 15:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 15:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 20:18:02] Production.INFO: ==31353== Lock acquired, processing the job...
[2025-01-10 20:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 20:18:02] Production.INFO: ==31353== Releasing lock...
[2025-01-10 20:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 20:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 15:18:03] Production.INFO: ==31357== Lock acquired, processing the job...
[2025-01-10 15:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 15:18:03] Production.INFO: ==31365== Lock acquired, processing the job...
[2025-01-10 15:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 15:18:03] Production.INFO: ==31355== Lock acquired, processing the job...
[2025-01-10 15:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 15:18:03] Production.INFO: ==31359== Lock acquired, processing the job...
[2025-01-10 15:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 15:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 15:18:03] Production.INFO: ==31357== Releasing lock...
[2025-01-10 15:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 15:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 15:18:03] Production.INFO: ==31363== Lock acquired, processing the job...
[2025-01-10 15:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 15:18:03] Production.INFO: count ==21
[2025-01-10 15:18:03] Production.INFO: ==31361== Lock acquired, processing the job...
[2025-01-10 15:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 15:18:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:18:03] Production.INFO: count ==21
[2025-01-10 15:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217782') start
[2025-01-10 15:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 15:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 15:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 15:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 15:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217782') end
[2025-01-10 15:18:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 15:18:03] Production.INFO: 1
[2025-01-10 15:18:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 15:18:03] Production.INFO: Account Balance Start.
[2025-01-10 15:18:03] Production.INFO: CreateAllLog Start
[2025-01-10 15:18:03] Production.INFO: 117
[2025-01-10 15:18:03] Production.INFO: ==31365== Releasing lock...
[2025-01-10 15:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 15:18:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 15:18:03] Production.INFO: Date 2025-01-08
[2025-01-10 15:18:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:18:03] Production.INFO: Date 2025-01-09
[2025-01-10 15:18:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:18:03] Production.INFO: Date 2025-01-10
[2025-01-10 15:18:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:18:03] Production.INFO: Total Charge 0
[2025-01-10 15:18:03] Production.INFO: CreateAllLog End
[2025-01-10 15:18:04] Production.ERROR: done
[2025-01-10 15:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 15:18:04] Production.INFO: Account Balance End.
[2025-01-10 15:18:04] Production.ERROR: CronJobId end 12
[2025-01-10 15:18:04] Production.INFO: ==31361== Releasing lock...
[2025-01-10 15:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 15:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 15:18:04] Production.ERROR: done
[2025-01-10 15:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 12:18:05
[end_date_ymd] => 2025-01-10 15:18:05
[RateCDR] => 1
)
[2025-01-10 15:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 12:18:05' and `end` < '2025-01-10 15:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 15:18:12] Production.ERROR: CronJobId end10
[2025-01-10 15:18:12] Production.INFO: ==31359== Releasing lock...
[2025-01-10 15:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 15:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 15:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 15:18:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 15:18:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 15:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 15:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 15:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 15:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 15:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 15:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 15:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 15:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 15:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 15:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 15:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 15:18:14] Production.INFO: call_cost start
[2025-01-10 15:18:14] Production.INFO: call_cost end
[2025-01-10 15:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 15:18:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 15:18:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 15:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 15:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 15:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 15:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 15:18:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 15:18:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 15:18:14] Production.INFO: ==31355== Releasing lock...
[2025-01-10 15:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 15:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 15:18:25] Production.INFO: count ==3283
[2025-01-10 15:18:26] Production.ERROR: pbx CDR StartTime 2025-01-10 12:18:05 - End Time 2025-01-10 15:18:05
[2025-01-10 15:18:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 15:18:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217785', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:18:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217785', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:18:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217785', 'tblTempVendorCDR_20' ) start
[2025-01-10 15:18:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217785', 'tblTempVendorCDR_20' ) end
[2025-01-10 15:18:26] Production.INFO: ProcessCDR(1,14217785,1,1,2)
[2025-01-10 15:18:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217785,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:18:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217785,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:18:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217785,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:18:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217785,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:18:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217785', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:18:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217785', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:18:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:18:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:18:30] Production.INFO: ==31363== Releasing lock...
[2025-01-10 15:18:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 15:18:30] Production.INFO: 52.75 MB #Memory Used#
[2025-01-10 20:19:02] Production.INFO: ==31430== Lock acquired, processing the job...
[2025-01-10 20:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 20:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 20:19:02] Production.INFO: neon service started
[2025-01-10 20:19:02] Production.INFO: neon service started
[2025-01-10 20:19:02] Production.INFO: ==31430== Releasing lock...
[2025-01-10 20:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 20:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 15:19:02] Production.INFO: ==31432== Lock acquired, processing the job...
[2025-01-10 15:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 15:19:02] Production.INFO: ==31432== Releasing lock...
[2025-01-10 15:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 15:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 20:19:03] Production.INFO: ==31434== Lock acquired, processing the job...
[2025-01-10 20:19:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 20:19:03] Production.INFO: ==31434== Releasing lock...
[2025-01-10 20:19:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 20:19:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 15:19:03] Production.INFO: ==31437== Lock acquired, processing the job...
[2025-01-10 15:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 15:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 15:19:03] Production.INFO: ==31441== Lock acquired, processing the job...
[2025-01-10 15:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 15:19:03] Production.INFO: ==31443== Lock acquired, processing the job...
[2025-01-10 15:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 15:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 15:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 15:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 15:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 15:19:03] Production.INFO: Account Balance Start.
[2025-01-10 15:19:03] Production.INFO: CreateAllLog Start
[2025-01-10 15:19:03] Production.INFO: 117
[2025-01-10 15:19:03] Production.INFO: Date 2025-01-08
[2025-01-10 15:19:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:19:03] Production.INFO: Date 2025-01-09
[2025-01-10 15:19:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:19:04] Production.INFO: Date 2025-01-10
[2025-01-10 15:19:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:19:04] Production.INFO: ==31439== Lock acquired, processing the job...
[2025-01-10 15:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 15:19:04] Production.INFO: Total Charge 0
[2025-01-10 15:19:04] Production.INFO: CreateAllLog End
[2025-01-10 15:19:04] Production.INFO: Account Balance End.
[2025-01-10 15:19:04] Production.ERROR: CronJobId end 12
[2025-01-10 15:19:04] Production.INFO: ==31443== Releasing lock...
[2025-01-10 15:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 15:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 15:19:04] Production.INFO: ==31445== Lock acquired, processing the job...
[2025-01-10 15:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 15:19:04] Production.INFO: ==31447== Lock acquired, processing the job...
[2025-01-10 15:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 15:19:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:19:04] Production.INFO: ==31439== Releasing lock...
[2025-01-10 15:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 15:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 15:19:04] Production.INFO: count ==21
[2025-01-10 15:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:19:04] Production.INFO: count ==21
[2025-01-10 15:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217789') start
[2025-01-10 15:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217789') end
[2025-01-10 15:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 15:19:04] Production.INFO: 1
[2025-01-10 15:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 15:19:04] Production.INFO: ==31447== Releasing lock...
[2025-01-10 15:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 15:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 15:19:04] Production.ERROR: done
[2025-01-10 15:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 15:19:04] Production.ERROR: done
[2025-01-10 15:19:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 12:19:06
[end_date_ymd] => 2025-01-10 15:19:06
[RateCDR] => 1
)
[2025-01-10 15:19:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 12:19:06' and `end` < '2025-01-10 15:19:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 15:19:11] Production.ERROR: CronJobId end10
[2025-01-10 15:19:11] Production.INFO: ==31441== Releasing lock...
[2025-01-10 15:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 15:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 15:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 15:19:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 15:19:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 15:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 15:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 15:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 15:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 15:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 15:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 15:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 15:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 15:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 15:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 15:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 15:19:13] Production.INFO: call_cost start
[2025-01-10 15:19:13] Production.INFO: call_cost end
[2025-01-10 15:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 15:19:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 15:19:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 15:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 15:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 15:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 15:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 15:19:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 15:19:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 15:19:14] Production.INFO: ==31437== Releasing lock...
[2025-01-10 15:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 15:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 15:19:25] Production.INFO: count ==3272
[2025-01-10 15:19:27] Production.ERROR: pbx CDR StartTime 2025-01-10 12:19:06 - End Time 2025-01-10 15:19:06
[2025-01-10 15:19:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 15:19:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217790', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:19:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217790', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:19:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217790', 'tblTempVendorCDR_20' ) start
[2025-01-10 15:19:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217790', 'tblTempVendorCDR_20' ) end
[2025-01-10 15:19:27] Production.INFO: ProcessCDR(1,14217790,1,1,2)
[2025-01-10 15:19:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217790,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:19:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217790,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:19:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217790,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:19:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217790,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:19:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217790', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:19:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217790', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:19:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:19:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:19:32] Production.INFO: ==31445== Releasing lock...
[2025-01-10 15:19:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 15:19:32] Production.INFO: 54 MB #Memory Used#
[2025-01-10 20:20:01] Production.INFO: ==31505== Lock acquired, processing the job...
[2025-01-10 20:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 20:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 20:20:01] Production.INFO: neon service started
[2025-01-10 20:20:01] Production.INFO: neon service started
[2025-01-10 20:20:01] Production.INFO: ==31505== Releasing lock...
[2025-01-10 20:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 20:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 20:20:02] Production.INFO: ==31510== Lock acquired, processing the job...
[2025-01-10 20:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 20:20:02] Production.INFO: ==31510== Releasing lock...
[2025-01-10 20:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 20:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 15:20:02] Production.INFO: ==31508== Lock acquired, processing the job...
[2025-01-10 15:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 15:20:02] Production.INFO: ==31508== Releasing lock...
[2025-01-10 15:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 15:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:20:03] Production.INFO: ==31512== Lock acquired, processing the job...
[2025-01-10 15:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 15:20:03] Production.INFO: ==31514== Lock acquired, processing the job...
[2025-01-10 15:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 15:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 15:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 15:20:03] Production.INFO: ==31512== Releasing lock...
[2025-01-10 15:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 15:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 15:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 15:20:03] Production.INFO: ==31520== Lock acquired, processing the job...
[2025-01-10 15:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 15:20:03] Production.INFO: ==31524== Lock acquired, processing the job...
[2025-01-10 15:20:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 15:20:03] Production.INFO: Account Balance Start.
[2025-01-10 15:20:03] Production.INFO: CreateAllLog Start
[2025-01-10 15:20:03] Production.INFO: 117
[2025-01-10 15:20:03] Production.INFO: Date 2025-01-08
[2025-01-10 15:20:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:20:03] Production.INFO: Date 2025-01-09
[2025-01-10 15:20:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:20:03] Production.INFO: Date 2025-01-10
[2025-01-10 15:20:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:20:03] Production.INFO: Total Charge 0
[2025-01-10 15:20:03] Production.INFO: ==31518== Lock acquired, processing the job...
[2025-01-10 15:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 15:20:03] Production.INFO: CreateAllLog End
[2025-01-10 15:20:03] Production.INFO: ==31516== Lock acquired, processing the job...
[2025-01-10 15:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 15:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 15:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 15:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 15:20:03] Production.INFO: ==31526== Lock acquired, processing the job...
[2025-01-10 15:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 15:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 15:20:03] Production.INFO: ==31522== Lock acquired, processing the job...
[2025-01-10 15:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 15:20:04] Production.ERROR: done
[2025-01-10 15:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 15:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14217795', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 15:20:04] Production.INFO: Account Balance End.
[2025-01-10 15:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:20:04] Production.ERROR: CronJobId end 12
[2025-01-10 15:20:04] Production.INFO: ==31520== Releasing lock...
[2025-01-10 15:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 15:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 15:20:04] Production.INFO: count ==21
[2025-01-10 15:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:20:04] Production.INFO: count ==21
[2025-01-10 15:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217794') start
[2025-01-10 15:20:04] Production.INFO: ==31516== Releasing lock...
[2025-01-10 15:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 15:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 15:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217794') end
[2025-01-10 15:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 15:20:04] Production.INFO: 1
[2025-01-10 15:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 15:20:04] Production.ERROR: done
[2025-01-10 15:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 15:20:04] Production.INFO: ==31526== Releasing lock...
[2025-01-10 15:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 15:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 15:20:04] Production.ERROR: done
[2025-01-10 15:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 12:20:06
[end_date_ymd] => 2025-01-10 15:20:06
[RateCDR] => 1
)
[2025-01-10 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-01-10 12:20:06' and `end` < '2025-01-10 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-01-10 15:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14217795', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 15:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 15:20:08] Production.INFO: ProcessCDR(1,14217795,1,1,2)
[2025-01-10 15:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14217795,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14217795,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:20:08] Production.INFO: ==31524== Releasing lock...
[2025-01-10 15:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 15:20:08] Production.INFO: 26 MB #Memory Used#
[2025-01-10 15:20:13] Production.ERROR: CronJobId end10
[2025-01-10 15:20:13] Production.INFO: ==31518== Releasing lock...
[2025-01-10 15:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 15:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 15:20:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 15:20:15] Production.INFO: ============== Balance Warning START===========
[2025-01-10 15:20:15] Production.INFO: ============== Balance Warning END===========
[2025-01-10 15:20:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 15:20:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 15:20:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 15:20:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 15:20:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 15:20:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 15:20:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 15:20:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 15:20:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 15:20:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 15:20:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 15:20:15] Production.INFO: call_cost start
[2025-01-10 15:20:15] Production.INFO: call_cost end
[2025-01-10 15:20:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 15:20:16] Production.INFO: ============== Report Schedule START===========
[2025-01-10 15:20:16] Production.INFO: ============== Report Schedule END===========
[2025-01-10 15:20:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 15:20:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 15:20:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 15:20:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 15:20:16] Production.INFO: ============== Deal alert START===========
[2025-01-10 15:20:16] Production.INFO: ============== Deal alert END===========
[2025-01-10 15:20:16] Production.INFO: ==31514== Releasing lock...
[2025-01-10 15:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 15:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 15:20:23] Production.INFO: count ==3295
[2025-01-10 15:20:24] Production.ERROR: pbx CDR StartTime 2025-01-10 12:20:06 - End Time 2025-01-10 15:20:06
[2025-01-10 15:20:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 15:20:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217796', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:20:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217796', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:20:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217796', 'tblTempVendorCDR_20' ) start
[2025-01-10 15:20:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217796', 'tblTempVendorCDR_20' ) end
[2025-01-10 15:20:25] Production.INFO: ProcessCDR(1,14217796,1,1,2)
[2025-01-10 15:20:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217796,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:20:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217796,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:20:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217796,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:20:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217796,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:20:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217796', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:20:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217796', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:20:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:20:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:20:29] Production.INFO: ==31522== Releasing lock...
[2025-01-10 15:20:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 15:20:29] Production.INFO: 52.75 MB #Memory Used#
[2025-01-10 20:21:02] Production.INFO: ==31591== Lock acquired, processing the job...
[2025-01-10 20:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 20:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 20:21:02] Production.INFO: neon service started
[2025-01-10 20:21:02] Production.INFO: neon service started
[2025-01-10 20:21:02] Production.INFO: ==31591== Releasing lock...
[2025-01-10 20:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 20:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 15:21:02] Production.INFO: ==31594== Lock acquired, processing the job...
[2025-01-10 15:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 15:21:02] Production.INFO: ==31594== Releasing lock...
[2025-01-10 15:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 15:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 20:21:02] Production.INFO: ==31596== Lock acquired, processing the job...
[2025-01-10 20:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 20:21:02] Production.INFO: ==31596== Releasing lock...
[2025-01-10 20:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 20:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 15:21:03] Production.INFO: ==31600== Lock acquired, processing the job...
[2025-01-10 15:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 15:21:03] Production.INFO: ==31608== Lock acquired, processing the job...
[2025-01-10 15:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 15:21:03] Production.INFO: ==31598== Lock acquired, processing the job...
[2025-01-10 15:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 15:21:03] Production.INFO: ==31602== Lock acquired, processing the job...
[2025-01-10 15:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 15:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:21:03] Production.INFO: ==31604== Lock acquired, processing the job...
[2025-01-10 15:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 15:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 15:21:03] Production.INFO: count ==21
[2025-01-10 15:21:03] Production.INFO: ==31606== Lock acquired, processing the job...
[2025-01-10 15:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 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-01-10 15:21:03] Production.INFO: count ==21
[2025-01-10 15:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217798') start
[2025-01-10 15:21:04] Production.INFO: ==31600== Releasing lock...
[2025-01-10 15:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 15:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 15:21:04] Production.INFO: Account Balance Start.
[2025-01-10 15:21:04] Production.INFO: CreateAllLog Start
[2025-01-10 15:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 15:21:04] Production.INFO: 117
[2025-01-10 15:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 15:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 15:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 15:21:04] Production.INFO: Date 2025-01-08
[2025-01-10 15:21:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:21:04] Production.INFO: Date 2025-01-09
[2025-01-10 15:21:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217798') end
[2025-01-10 15:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 15:21:04] Production.INFO: 1
[2025-01-10 15:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 15:21:04] Production.INFO: Date 2025-01-10
[2025-01-10 15:21:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:21:04] Production.INFO: Total Charge 0
[2025-01-10 15:21:04] Production.INFO: CreateAllLog End
[2025-01-10 15:21:04] Production.INFO: ==31608== Releasing lock...
[2025-01-10 15:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 15:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 15:21:04] Production.ERROR: done
[2025-01-10 15:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 15:21:04] Production.INFO: Account Balance End.
[2025-01-10 15:21:04] Production.ERROR: CronJobId end 12
[2025-01-10 15:21:04] Production.INFO: ==31604== Releasing lock...
[2025-01-10 15:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 15:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 15:21:04] Production.ERROR: done
[2025-01-10 15:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 12:21:05
[end_date_ymd] => 2025-01-10 15:21:05
[RateCDR] => 1
)
[2025-01-10 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-01-10 12:21:05' and `end` < '2025-01-10 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-01-10 15:21:11] Production.ERROR: CronJobId end10
[2025-01-10 15:21:11] Production.INFO: ==31602== Releasing lock...
[2025-01-10 15:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 15:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 15:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 15:21:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 15:21:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 15:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 15:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 15:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 15:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 15:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 15:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 15:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 15:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 15:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 15:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 15:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 15:21:13] Production.INFO: call_cost start
[2025-01-10 15:21:13] Production.INFO: call_cost end
[2025-01-10 15:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 15:21:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 15:21:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 15:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 15:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 15:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 15:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 15:21:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 15:21:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 15:21:14] Production.INFO: ==31598== Releasing lock...
[2025-01-10 15:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 15:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 15:21:24] Production.INFO: count ==3346
[2025-01-10 15:21:25] Production.ERROR: pbx CDR StartTime 2025-01-10 12:21:05 - End Time 2025-01-10 15:21:05
[2025-01-10 15:21:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 15:21:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217801', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:21:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217801', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:21:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217801', 'tblTempVendorCDR_20' ) start
[2025-01-10 15:21:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217801', 'tblTempVendorCDR_20' ) end
[2025-01-10 15:21:25] Production.INFO: ProcessCDR(1,14217801,1,1,2)
[2025-01-10 15:21:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217801,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:21:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217801,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:21:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217801,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:21:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217801,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:21:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217801', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:21:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217801', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:21:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:21:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:21:30] Production.INFO: ==31606== Releasing lock...
[2025-01-10 15:21:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 15:21:30] Production.INFO: 53 MB #Memory Used#
[2025-01-10 20:22:01] Production.INFO: ==31703== Lock acquired, processing the job...
[2025-01-10 20:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 20:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 20:22:01] Production.INFO: neon service started
[2025-01-10 20:22:01] Production.INFO: neon service started
[2025-01-10 20:22:01] Production.INFO: ==31703== Releasing lock...
[2025-01-10 20:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 20:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 15:22:01] Production.INFO: ==31705== Lock acquired, processing the job...
[2025-01-10 15:22:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 15:22:02] Production.INFO: ==31705== Releasing lock...
[2025-01-10 15:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 15:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 20:22:02] Production.INFO: ==31707== Lock acquired, processing the job...
[2025-01-10 20:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 20:22:02] Production.INFO: ==31707== Releasing lock...
[2025-01-10 20:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 20:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 15:22:02] Production.INFO: ==31714== Lock acquired, processing the job...
[2025-01-10 15:22:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 15:22:02] Production.INFO: ==31712== Lock acquired, processing the job...
[2025-01-10 15:22:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 15:22:02] Production.INFO: ==31716== Lock acquired, processing the job...
[2025-01-10 15:22:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 15:22:02] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 15:22:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 15:22:02] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 15:22:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 15:22:03] Production.INFO: Account Balance Start.
[2025-01-10 15:22:03] Production.INFO: CreateAllLog Start
[2025-01-10 15:22:03] Production.INFO: 117
[2025-01-10 15:22:03] Production.INFO: Date 2025-01-08
[2025-01-10 15:22:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:22:03] Production.INFO: Date 2025-01-09
[2025-01-10 15:22:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:22:03] Production.INFO: ==31710== Lock acquired, processing the job...
[2025-01-10 15:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 15:22:03] Production.INFO: Date 2025-01-10
[2025-01-10 15:22:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:22:03] Production.INFO: ==31718== Lock acquired, processing the job...
[2025-01-10 15:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 15:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 15:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:22:03] Production.INFO: ==31712== Releasing lock...
[2025-01-10 15:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 15:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 15:22:03] Production.INFO: Total Charge 0
[2025-01-10 15:22:03] Production.INFO: ==31720== Lock acquired, processing the job...
[2025-01-10 15:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 15:22:03] Production.INFO: CreateAllLog End
[2025-01-10 15:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:22:03] Production.INFO: count ==21
[2025-01-10 15:22:03] Production.INFO: Account Balance End.
[2025-01-10 15:22:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:22:03] Production.INFO: count ==21
[2025-01-10 15:22:03] Production.ERROR: done
[2025-01-10 15:22:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 15:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217805') start
[2025-01-10 15:22:03] Production.ERROR: CronJobId end 12
[2025-01-10 15:22:03] Production.INFO: ==31716== Releasing lock...
[2025-01-10 15:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 15:22:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 15:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217805') end
[2025-01-10 15:22:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 15:22:03] Production.INFO: 1
[2025-01-10 15:22:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 15:22:03] Production.ERROR: done
[2025-01-10 15:22:04] Production.INFO: ==31720== Releasing lock...
[2025-01-10 15:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 15:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 15:22:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 12:22:04
[end_date_ymd] => 2025-01-10 15:22:04
[RateCDR] => 1
)
[2025-01-10 15:22:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 12:22:04' and `end` < '2025-01-10 15:22:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 15:22:11] Production.ERROR: CronJobId end10
[2025-01-10 15:22:11] Production.INFO: ==31714== Releasing lock...
[2025-01-10 15:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 15:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 15:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 15:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 15:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 15:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 15:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 15:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 15:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 15:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 15:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 15:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 15:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 15:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 15:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 15:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 15:22:13] Production.INFO: call_cost start
[2025-01-10 15:22:13] Production.INFO: call_cost end
[2025-01-10 15:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 15:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 15:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 15:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 15:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 15:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 15:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 15:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 15:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 15:22:14] Production.INFO: ==31710== Releasing lock...
[2025-01-10 15:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 15:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 15:22:23] Production.INFO: count ==3339
[2025-01-10 15:22:25] Production.ERROR: pbx CDR StartTime 2025-01-10 12:22:04 - End Time 2025-01-10 15:22:04
[2025-01-10 15:22:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 15:22:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217806', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:22:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217806', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:22:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217806', 'tblTempVendorCDR_20' ) start
[2025-01-10 15:22:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217806', 'tblTempVendorCDR_20' ) end
[2025-01-10 15:22:25] Production.INFO: ProcessCDR(1,14217806,1,1,2)
[2025-01-10 15:22:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217806,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:22:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217806,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:22:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217806,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:22:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217806,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:22:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217806', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:22:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217806', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:22:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:22:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:22:29] Production.INFO: ==31718== Releasing lock...
[2025-01-10 15:22:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 15:22:29] Production.INFO: 54.75 MB #Memory Used#
[2025-01-10 20:23:01] Production.INFO: ==31781== Lock acquired, processing the job...
[2025-01-10 20:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 20:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 20:23:01] Production.INFO: neon service started
[2025-01-10 20:23:01] Production.INFO: neon service started
[2025-01-10 20:23:01] Production.INFO: ==31781== Releasing lock...
[2025-01-10 20:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 20:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 15:23:02] Production.INFO: ==31783== Lock acquired, processing the job...
[2025-01-10 15:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 15:23:02] Production.INFO: ==31783== Releasing lock...
[2025-01-10 15:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 15:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 20:23:02] Production.INFO: ==31785== Lock acquired, processing the job...
[2025-01-10 20:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 20:23:02] Production.INFO: ==31785== Releasing lock...
[2025-01-10 20:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 20:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 15:23:03] Production.INFO: ==31789== Lock acquired, processing the job...
[2025-01-10 15:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 15:23:03] Production.INFO: ==31797== Lock acquired, processing the job...
[2025-01-10 15:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 15:23:03] Production.INFO: ==31787== Lock acquired, processing the job...
[2025-01-10 15:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 15:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 15:23:03] Production.INFO: ==31791== Lock acquired, processing the job...
[2025-01-10 15:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 15:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:23:03] Production.INFO: count ==21
[2025-01-10 15:23:03] Production.INFO: ==31793== Lock acquired, processing the job...
[2025-01-10 15:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 15:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:23:03] Production.INFO: count ==21
[2025-01-10 15:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217808') start
[2025-01-10 15:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 15:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 15:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 15:23:03] Production.INFO: ==31795== Lock acquired, processing the job...
[2025-01-10 15:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 15:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 15:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217808') end
[2025-01-10 15:23:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 15:23:03] Production.INFO: 1
[2025-01-10 15:23:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 15:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:23:03] Production.INFO: ==31797== Releasing lock...
[2025-01-10 15:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 15:23:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 15:23:04] Production.INFO: ==31789== Releasing lock...
[2025-01-10 15:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 15:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 15:23:04] Production.INFO: Account Balance Start.
[2025-01-10 15:23:04] Production.INFO: CreateAllLog Start
[2025-01-10 15:23:04] Production.INFO: 117
[2025-01-10 15:23:04] Production.INFO: Date 2025-01-08
[2025-01-10 15:23:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:23:04] Production.INFO: Date 2025-01-09
[2025-01-10 15:23:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:23:04] Production.INFO: Date 2025-01-10
[2025-01-10 15:23:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:23:04] Production.INFO: Total Charge 0
[2025-01-10 15:23:04] Production.INFO: CreateAllLog End
[2025-01-10 15:23:04] Production.ERROR: done
[2025-01-10 15:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 15:23:04] Production.ERROR: done
[2025-01-10 15:23:04] Production.INFO: Account Balance End.
[2025-01-10 15:23:04] Production.ERROR: CronJobId end 12
[2025-01-10 15:23:04] Production.INFO: ==31793== Releasing lock...
[2025-01-10 15:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 15:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 15:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 12:23:05
[end_date_ymd] => 2025-01-10 15:23:05
[RateCDR] => 1
)
[2025-01-10 15:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 12:23:05' and `end` < '2025-01-10 15:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 15:23:12] Production.ERROR: CronJobId end10
[2025-01-10 15:23:12] Production.INFO: ==31791== Releasing lock...
[2025-01-10 15:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 15:23:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 15:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 15:23:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 15:23:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 15:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 15:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 15:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 15:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 15:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 15:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 15:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 15:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 15:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 15:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 15:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 15:23:13] Production.INFO: call_cost start
[2025-01-10 15:23:13] Production.INFO: call_cost end
[2025-01-10 15:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 15:23:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 15:23:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 15:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 15:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 15:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 15:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 15:23:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 15:23:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 15:23:14] Production.INFO: ==31787== Releasing lock...
[2025-01-10 15:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 15:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 15:23:26] Production.INFO: count ==3345
[2025-01-10 15:23:28] Production.ERROR: pbx CDR StartTime 2025-01-10 12:23:05 - End Time 2025-01-10 15:23:05
[2025-01-10 15:23:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 15:23:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217811', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:23:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217811', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:23:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217811', 'tblTempVendorCDR_20' ) start
[2025-01-10 15:23:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217811', 'tblTempVendorCDR_20' ) end
[2025-01-10 15:23:28] Production.INFO: ProcessCDR(1,14217811,1,1,2)
[2025-01-10 15:23:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217811,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:23:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217811,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:23:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217811,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:23:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217811,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:23:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217811', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:23:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217811', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:23:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:23:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:23:33] Production.INFO: ==31795== Releasing lock...
[2025-01-10 15:23:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 15:23:33] Production.INFO: 53.75 MB #Memory Used#
[2025-01-10 20:24:02] Production.INFO: ==31856== Lock acquired, processing the job...
[2025-01-10 20:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 20:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 20:24:02] Production.INFO: neon service started
[2025-01-10 20:24:02] Production.INFO: neon service started
[2025-01-10 20:24:02] Production.INFO: ==31856== Releasing lock...
[2025-01-10 20:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 20:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 15:24:03] Production.INFO: ==31858== Lock acquired, processing the job...
[2025-01-10 15:24:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 20:24:03] Production.INFO: ==31860== Lock acquired, processing the job...
[2025-01-10 20:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 20:24:03] Production.INFO: ==31860== Releasing lock...
[2025-01-10 20:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 20:24:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 15:24:03] Production.INFO: ==31858== Releasing lock...
[2025-01-10 15:24:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 15:24:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:24:04] Production.INFO: ==31863== Lock acquired, processing the job...
[2025-01-10 15:24:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 15:24:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 15:24:04] Production.INFO: ==31873== Lock acquired, processing the job...
[2025-01-10 15:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 15:24:04] Production.INFO: ==31865== Lock acquired, processing the job...
[2025-01-10 15:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 15:24:04] Production.INFO: ==31867== Lock acquired, processing the job...
[2025-01-10 15:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 15:24:04] Production.INFO: ==31869== Lock acquired, processing the job...
[2025-01-10 15:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 15:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 15:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 15:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 15:24:04] Production.INFO: ==31871== Lock acquired, processing the job...
[2025-01-10 15:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 15:24:04] Production.INFO: count ==21
[2025-01-10 15:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 15:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:24:04] Production.INFO: count ==21
[2025-01-10 15:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217813') start
[2025-01-10 15:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:24:04] Production.INFO: Account Balance Start.
[2025-01-10 15:24:04] Production.INFO: CreateAllLog Start
[2025-01-10 15:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217813') end
[2025-01-10 15:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 15:24:04] Production.INFO: 1
[2025-01-10 15:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 15:24:04] Production.INFO: 117
[2025-01-10 15:24:04] Production.INFO: ==31873== Releasing lock...
[2025-01-10 15:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 15:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 15:24:04] Production.INFO: Date 2025-01-08
[2025-01-10 15:24:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:24:04] Production.INFO: Date 2025-01-09
[2025-01-10 15:24:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:24:04] Production.INFO: Date 2025-01-10
[2025-01-10 15:24:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:24:05] Production.INFO: ==31865== Releasing lock...
[2025-01-10 15:24:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 15:24:05] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 15:24:05] Production.INFO: Total Charge 0
[2025-01-10 15:24:05] Production.INFO: CreateAllLog End
[2025-01-10 15:24:05] Production.ERROR: done
[2025-01-10 15:24:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 15:24:05] Production.ERROR: done
[2025-01-10 15:24:05] Production.INFO: Account Balance End.
[2025-01-10 15:24:05] Production.ERROR: CronJobId end 12
[2025-01-10 15:24:05] Production.INFO: ==31869== Releasing lock...
[2025-01-10 15:24:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 15:24:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 15:24:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 12:24:06
[end_date_ymd] => 2025-01-10 15:24:06
[RateCDR] => 1
)
[2025-01-10 15:24:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 12:24:06' and `end` < '2025-01-10 15:24:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 15:24:12] Production.ERROR: CronJobId end10
[2025-01-10 15:24:12] Production.INFO: ==31867== Releasing lock...
[2025-01-10 15:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 15:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 15:24:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 15:24:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 15:24:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 15:24:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 15:24:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 15:24:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 15:24:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 15:24:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 15:24:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 15:24:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 15:24:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 15:24:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 15:24:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 15:24:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 15:24:15] Production.INFO: call_cost start
[2025-01-10 15:24:15] Production.INFO: call_cost end
[2025-01-10 15:24:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 15:24:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 15:24:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 15:24:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 15:24:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 15:24:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 15:24:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 15:24:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 15:24:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 15:24:15] Production.INFO: ==31863== Releasing lock...
[2025-01-10 15:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 15:24:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 15:24:23] Production.INFO: count ==3346
[2025-01-10 15:24:25] Production.ERROR: pbx CDR StartTime 2025-01-10 12:24:06 - End Time 2025-01-10 15:24:06
[2025-01-10 15:24:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 15:24:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217816', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:24:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217816', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:24:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217816', 'tblTempVendorCDR_20' ) start
[2025-01-10 15:24:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217816', 'tblTempVendorCDR_20' ) end
[2025-01-10 15:24:25] Production.INFO: ProcessCDR(1,14217816,1,1,2)
[2025-01-10 15:24:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217816,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:24:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217816,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:24:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217816,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:24:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217816,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:24:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217816', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:24:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217816', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:24:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:24:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:24:30] Production.INFO: ==31871== Releasing lock...
[2025-01-10 15:24:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 15:24:30] Production.INFO: 54 MB #Memory Used#
[2025-01-10 20:25:01] Production.INFO: ==31933== Lock acquired, processing the job...
[2025-01-10 20:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 20:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 20:25:01] Production.INFO: neon service started
[2025-01-10 20:25:01] Production.INFO: neon service started
[2025-01-10 20:25:01] Production.INFO: ==31933== Releasing lock...
[2025-01-10 20:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 20:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 15:25:02] Production.INFO: ==31937== Lock acquired, processing the job...
[2025-01-10 15:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 20:25:02] Production.INFO: ==31939== Lock acquired, processing the job...
[2025-01-10 20:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 20:25:02] Production.INFO: ==31939== Releasing lock...
[2025-01-10 20:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 20:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 15:25:02] Production.INFO: ==31937== Releasing lock...
[2025-01-10 15:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 15:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:25:03] Production.INFO: ==31948== Lock acquired, processing the job...
[2025-01-10 15:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 15:25:03] Production.INFO: ==31952== Lock acquired, processing the job...
[2025-01-10 15:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 15:25:03] Production.INFO: Account Balance Start.
[2025-01-10 15:25:03] Production.INFO: CreateAllLog Start
[2025-01-10 15:25:03] Production.INFO: 117
[2025-01-10 15:25:03] Production.INFO: ==31942== Lock acquired, processing the job...
[2025-01-10 15:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 15:25:03] Production.INFO: Date 2025-01-08
[2025-01-10 15:25:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 15:25:03] Production.INFO: ==31944== Lock acquired, processing the job...
[2025-01-10 15:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 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-01-10 15:25:03] Production.INFO: count ==21
[2025-01-10 15:25:03] Production.INFO: Date 2025-01-09
[2025-01-10 15:25:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:25:03] Production.INFO: ==31946== Lock acquired, processing the job...
[2025-01-10 15:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 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-01-10 15:25:03] Production.INFO: count ==21
[2025-01-10 15:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217818') start
[2025-01-10 15:25:03] Production.INFO: Date 2025-01-10
[2025-01-10 15:25:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:25:03] Production.INFO: ==31950== Lock acquired, processing the job...
[2025-01-10 15:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 15:25:03] Production.INFO: Total Charge 0
[2025-01-10 15:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 15:25:04] Production.INFO: CreateAllLog End
[2025-01-10 15:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 15:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 15:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 15:25:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217818') end
[2025-01-10 15:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 15:25:04] Production.INFO: 1
[2025-01-10 15:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 15:25:04] Production.INFO: Account Balance End.
[2025-01-10 15:25:04] Production.ERROR: CronJobId end 12
[2025-01-10 15:25:04] Production.INFO: ==31948== Releasing lock...
[2025-01-10 15:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 15:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 15:25:04] Production.INFO: ==31952== Releasing lock...
[2025-01-10 15:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 15:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 15:25:04] Production.INFO: ==31944== Releasing lock...
[2025-01-10 15:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 15:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 15:25:04] Production.ERROR: done
[2025-01-10 15:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 15:25:04] Production.ERROR: done
[2025-01-10 15:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 12:25:05
[end_date_ymd] => 2025-01-10 15:25:05
[RateCDR] => 1
)
[2025-01-10 15:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 12:25:05' and `end` < '2025-01-10 15:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 15:25:12] Production.ERROR: CronJobId end10
[2025-01-10 15:25:12] Production.INFO: ==31946== Releasing lock...
[2025-01-10 15:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 15:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 15:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 15:25:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 15:25:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 15:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 15:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 15:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 15:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 15:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 15:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 15:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 15:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 15:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 15:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 15:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 15:25:13] Production.INFO: call_cost start
[2025-01-10 15:25:13] Production.INFO: call_cost end
[2025-01-10 15:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 15:25:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 15:25:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 15:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 15:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 15:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 15:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 15:25:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 15:25:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 15:25:14] Production.INFO: ==31942== Releasing lock...
[2025-01-10 15:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 15:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 15:25:24] Production.INFO: count ==3346
[2025-01-10 15:25:26] Production.ERROR: pbx CDR StartTime 2025-01-10 12:25:05 - End Time 2025-01-10 15:25:05
[2025-01-10 15:25:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 15:25:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217821', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:25:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217821', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:25:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217821', 'tblTempVendorCDR_20' ) start
[2025-01-10 15:25:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217821', 'tblTempVendorCDR_20' ) end
[2025-01-10 15:25:26] Production.INFO: ProcessCDR(1,14217821,1,1,2)
[2025-01-10 15:25:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217821,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:25:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217821,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:25:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217821,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:25:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217821,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:25:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217821', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:25:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217821', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:25:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:25:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:25:31] Production.INFO: ==31950== Releasing lock...
[2025-01-10 15:25:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 15:25:31] Production.INFO: 53.25 MB #Memory Used#
[2025-01-10 20:26:01] Production.INFO: ==32009== Lock acquired, processing the job...
[2025-01-10 20:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 20:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 20:26:01] Production.INFO: neon service started
[2025-01-10 20:26:01] Production.INFO: neon service started
[2025-01-10 20:26:01] Production.INFO: ==32009== Releasing lock...
[2025-01-10 20:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 20:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 20:26:01] Production.INFO: ==32013== Lock acquired, processing the job...
[2025-01-10 20:26:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 20:26:01] Production.INFO: ==32013== Releasing lock...
[2025-01-10 20:26:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 20:26:01] Production.INFO: 25 MB #Memory Used#
[2025-01-10 15:26:01] Production.INFO: ==32011== Lock acquired, processing the job...
[2025-01-10 15:26:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 15:26:02] Production.INFO: ==32011== Releasing lock...
[2025-01-10 15:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 15:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:26:02] Production.INFO: ==32020== Lock acquired, processing the job...
[2025-01-10 15:26:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 15:26:02] Production.INFO: ==32018== Lock acquired, processing the job...
[2025-01-10 15:26:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 15:26:03] Production.INFO: ==32022== Lock acquired, processing the job...
[2025-01-10 15:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 15:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 15:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 15:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 15:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 15:26:03] Production.INFO: Account Balance Start.
[2025-01-10 15:26:03] Production.INFO: CreateAllLog Start
[2025-01-10 15:26:03] Production.INFO: 117
[2025-01-10 15:26:03] Production.INFO: Date 2025-01-08
[2025-01-10 15:26:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:26:03] Production.INFO: ==32018== Releasing lock...
[2025-01-10 15:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 15:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 15:26:03] Production.INFO: Date 2025-01-09
[2025-01-10 15:26:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:26:03] Production.INFO: Date 2025-01-10
[2025-01-10 15:26:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:26:03] Production.INFO: ==32016== Lock acquired, processing the job...
[2025-01-10 15:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 15:26:03] Production.INFO: Total Charge 0
[2025-01-10 15:26:03] Production.INFO: CreateAllLog End
[2025-01-10 15:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 15:26:03] Production.INFO: ==32024== Lock acquired, processing the job...
[2025-01-10 15:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 15:26:03] Production.INFO: ==32027== Lock acquired, processing the job...
[2025-01-10 15:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 15:26:03] Production.INFO: Account Balance End.
[2025-01-10 15:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:26:03] Production.ERROR: CronJobId end 12
[2025-01-10 15:26:03] Production.INFO: ==32022== Releasing lock...
[2025-01-10 15:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 15:26:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 15:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:26:03] Production.INFO: count ==21
[2025-01-10 15:26:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:26:03] Production.INFO: count ==21
[2025-01-10 15:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217825') start
[2025-01-10 15:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217825') end
[2025-01-10 15:26:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 15:26:03] Production.INFO: 1
[2025-01-10 15:26:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 15:26:03] Production.INFO: ==32027== Releasing lock...
[2025-01-10 15:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 15:26:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 15:26:03] Production.ERROR: done
[2025-01-10 15:26:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 15:26:04] Production.ERROR: done
[2025-01-10 15:26:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 12:26:04
[end_date_ymd] => 2025-01-10 15:26:04
[RateCDR] => 1
)
[2025-01-10 15:26:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 12:26:04' and `end` < '2025-01-10 15:26:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 15:26:11] Production.ERROR: CronJobId end10
[2025-01-10 15:26:11] Production.INFO: ==32020== Releasing lock...
[2025-01-10 15:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 15:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 15:26:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 15:26:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 15:26:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 15:26:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 15:26:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 15:26:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 15:26:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 15:26:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 15:26:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 15:26:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 15:26:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 15:26:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 15:26:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 15:26:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 15:26:12] Production.INFO: call_cost start
[2025-01-10 15:26:12] Production.INFO: call_cost end
[2025-01-10 15:26:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 15:26:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 15:26:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 15:26:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 15:26:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 15:26:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 15:26:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 15:26:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 15:26:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 15:26:13] Production.INFO: ==32016== Releasing lock...
[2025-01-10 15:26:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 15:26:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 15:26:18] Production.INFO: count ==3346
[2025-01-10 15:26:20] Production.ERROR: pbx CDR StartTime 2025-01-10 12:26:04 - End Time 2025-01-10 15:26:04
[2025-01-10 15:26:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 15:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217826', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217826', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217826', 'tblTempVendorCDR_20' ) start
[2025-01-10 15:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217826', 'tblTempVendorCDR_20' ) end
[2025-01-10 15:26:20] Production.INFO: ProcessCDR(1,14217826,1,1,2)
[2025-01-10 15:26:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217826,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:26:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217826,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:26:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217826,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:26:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217826,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:26:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217826', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:26:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217826', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:26:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:26:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:26:25] Production.INFO: ==32024== Releasing lock...
[2025-01-10 15:26:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 15:26:25] Production.INFO: 54 MB #Memory Used#
[2025-01-10 20:27:01] Production.INFO: ==32085== Lock acquired, processing the job...
[2025-01-10 20:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 20:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 20:27:01] Production.INFO: neon service started
[2025-01-10 20:27:01] Production.INFO: neon service started
[2025-01-10 20:27:01] Production.INFO: ==32085== Releasing lock...
[2025-01-10 20:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 20:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 15:27:02] Production.INFO: ==32087== Lock acquired, processing the job...
[2025-01-10 15:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 20:27:02] Production.INFO: ==32089== Lock acquired, processing the job...
[2025-01-10 20:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 20:27:02] Production.INFO: ==32089== Releasing lock...
[2025-01-10 20:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 20:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 15:27:02] Production.INFO: ==32087== Releasing lock...
[2025-01-10 15:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 15:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:27:03] Production.INFO: ==32096== Lock acquired, processing the job...
[2025-01-10 15:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 15:27:03] Production.INFO: ==32100== Lock acquired, processing the job...
[2025-01-10 15:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 15:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 15:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 15:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 15:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 15:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:27:03] Production.INFO: ==32092== Lock acquired, processing the job...
[2025-01-10 15:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 15:27:03] Production.INFO: ==32094== Lock acquired, processing the job...
[2025-01-10 15:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 15:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 15:27:03] Production.INFO: ==32098== Lock acquired, processing the job...
[2025-01-10 15:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 15:27:03] Production.INFO: ==32102== Lock acquired, processing the job...
[2025-01-10 15:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 15:27:03] Production.ERROR: done
[2025-01-10 15:27:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 15:27:03] Production.INFO: Account Balance Start.
[2025-01-10 15:27:03] Production.INFO: CreateAllLog Start
[2025-01-10 15:27:03] Production.INFO: 117
[2025-01-10 15:27:03] Production.INFO: Date 2025-01-08
[2025-01-10 15:27:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:27:03] Production.INFO: Date 2025-01-09
[2025-01-10 15:27:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:27:03] Production.ERROR: done
[2025-01-10 15:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:27:03] Production.INFO: ==32094== Releasing lock...
[2025-01-10 15:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 15:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 15:27:04] Production.INFO: count ==21
[2025-01-10 15:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:27:04] Production.INFO: count ==21
[2025-01-10 15:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217830') start
[2025-01-10 15:27:04] Production.INFO: Date 2025-01-10
[2025-01-10 15:27:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:27:04] Production.INFO: Total Charge 0
[2025-01-10 15:27:04] Production.INFO: CreateAllLog End
[2025-01-10 15:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217830') end
[2025-01-10 15:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 15:27:04] Production.INFO: 1
[2025-01-10 15:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 15:27:04] Production.INFO: ==32102== Releasing lock...
[2025-01-10 15:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 15:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 15:27:04] Production.INFO: Account Balance End.
[2025-01-10 15:27:04] Production.ERROR: CronJobId end 12
[2025-01-10 15:27:04] Production.INFO: ==32098== Releasing lock...
[2025-01-10 15:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 15:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 15:27:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 12:27:04
[end_date_ymd] => 2025-01-10 15:27:04
[RateCDR] => 1
)
[2025-01-10 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-01-10 12:27:04' and `end` < '2025-01-10 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-01-10 15:27:11] Production.ERROR: CronJobId end10
[2025-01-10 15:27:11] Production.INFO: ==32096== Releasing lock...
[2025-01-10 15:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 15:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 15:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 15:27:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 15:27:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 15:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 15:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 15:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 15:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 15:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 15:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 15:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 15:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 15:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 15:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 15:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 15:27:13] Production.INFO: call_cost start
[2025-01-10 15:27:13] Production.INFO: call_cost end
[2025-01-10 15:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 15:27:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 15:27:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 15:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 15:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 15:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 15:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 15:27:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 15:27:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 15:27:14] Production.INFO: ==32092== Releasing lock...
[2025-01-10 15:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 15:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 15:27:22] Production.INFO: count ==3349
[2025-01-10 15:27:24] Production.ERROR: pbx CDR StartTime 2025-01-10 12:27:04 - End Time 2025-01-10 15:27:04
[2025-01-10 15:27:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 15:27:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217831', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:27:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217831', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:27:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217831', 'tblTempVendorCDR_20' ) start
[2025-01-10 15:27:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217831', 'tblTempVendorCDR_20' ) end
[2025-01-10 15:27:24] Production.INFO: ProcessCDR(1,14217831,1,1,2)
[2025-01-10 15:27:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217831,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:27:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217831,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:27:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217831,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:27:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217831,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:27:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217831', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:27:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217831', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:27:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:27:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:27:29] Production.INFO: ==32100== Releasing lock...
[2025-01-10 15:27:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 15:27:29] Production.INFO: 53.25 MB #Memory Used#
[2025-01-10 20:28:02] Production.INFO: ==32159== Lock acquired, processing the job...
[2025-01-10 20:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 20:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 20:28:02] Production.INFO: neon service started
[2025-01-10 20:28:02] Production.INFO: neon service started
[2025-01-10 20:28:02] Production.INFO: ==32159== Releasing lock...
[2025-01-10 20:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 20:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 15:28:02] Production.INFO: ==32162== Lock acquired, processing the job...
[2025-01-10 15:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 20:28:03] Production.INFO: ==32164== Lock acquired, processing the job...
[2025-01-10 20:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 20:28:03] Production.INFO: ==32164== Releasing lock...
[2025-01-10 20:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 20:28:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 15:28:03] Production.INFO: ==32162== Releasing lock...
[2025-01-10 15:28:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 15:28:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:28:03] Production.INFO: ==32166== Lock acquired, processing the job...
[2025-01-10 15:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 15:28:03] Production.INFO: ==32172== Lock acquired, processing the job...
[2025-01-10 15:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 15:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 15:28:04] Production.INFO: ==32168== Lock acquired, processing the job...
[2025-01-10 15:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 15:28:04] Production.INFO: Account Balance Start.
[2025-01-10 15:28:04] Production.INFO: CreateAllLog Start
[2025-01-10 15:28:04] Production.INFO: 117
[2025-01-10 15:28:04] Production.INFO: ==32170== Lock acquired, processing the job...
[2025-01-10 15:28:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 15:28:04] Production.INFO: Date 2025-01-08
[2025-01-10 15:28:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:28:04] Production.INFO: Date 2025-01-09
[2025-01-10 15:28:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 15:28:04] Production.INFO: ==32174== Lock acquired, processing the job...
[2025-01-10 15:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 15:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 15:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 15:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 15:28:04] Production.INFO: Date 2025-01-10
[2025-01-10 15:28:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:28:04] Production.INFO: ==32176== Lock acquired, processing the job...
[2025-01-10 15:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 15:28:04] Production.INFO: Total Charge 0
[2025-01-10 15:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:28:04] Production.INFO: CreateAllLog End
[2025-01-10 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-01-10 15:28:04] Production.INFO: count ==21
[2025-01-10 15:28:04] Production.INFO: ==32168== Releasing lock...
[2025-01-10 15:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 15:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 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-01-10 15:28:04] Production.INFO: count ==21
[2025-01-10 15:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217835') start
[2025-01-10 15:28:04] Production.INFO: Account Balance End.
[2025-01-10 15:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217835') end
[2025-01-10 15:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 15:28:04] Production.INFO: 1
[2025-01-10 15:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 15:28:04] Production.ERROR: CronJobId end 12
[2025-01-10 15:28:04] Production.INFO: ==32172== Releasing lock...
[2025-01-10 15:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 15:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 15:28:04] Production.INFO: ==32176== Releasing lock...
[2025-01-10 15:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 15:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 15:28:04] Production.ERROR: done
[2025-01-10 15:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 15:28:04] Production.ERROR: done
[2025-01-10 15:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 12:28:05
[end_date_ymd] => 2025-01-10 15:28:05
[RateCDR] => 1
)
[2025-01-10 15:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 12:28:05' and `end` < '2025-01-10 15:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 15:28:11] Production.ERROR: CronJobId end10
[2025-01-10 15:28:11] Production.INFO: ==32170== Releasing lock...
[2025-01-10 15:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 15:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 15:28:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 15:28:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 15:28:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 15:28:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 15:28:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 15:28:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 15:28:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 15:28:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 15:28:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 15:28:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 15:28:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 15:28:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 15:28:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 15:28:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 15:28:13] Production.INFO: call_cost start
[2025-01-10 15:28:13] Production.INFO: call_cost end
[2025-01-10 15:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 15:28:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 15:28:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 15:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 15:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 15:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 15:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 15:28:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 15:28:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 15:28:14] Production.INFO: ==32166== Releasing lock...
[2025-01-10 15:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 15:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 15:28:30] Production.INFO: count ==3340
[2025-01-10 15:28:32] Production.ERROR: pbx CDR StartTime 2025-01-10 12:28:05 - End Time 2025-01-10 15:28:05
[2025-01-10 15:28:32] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 15:28:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217836', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:28:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217836', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:28:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217836', 'tblTempVendorCDR_20' ) start
[2025-01-10 15:28:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217836', 'tblTempVendorCDR_20' ) end
[2025-01-10 15:28:32] Production.INFO: ProcessCDR(1,14217836,1,1,2)
[2025-01-10 15:28:32] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217836,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:28:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217836,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:28:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217836,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:28:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217836,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:28:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217836', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:28:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217836', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:28:36] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:28:36] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:28:36] Production.INFO: ==32174== Releasing lock...
[2025-01-10 15:28:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 15:28:36] Production.INFO: 53.75 MB #Memory Used#
[2025-01-10 20:29:01] Production.INFO: ==32235== Lock acquired, processing the job...
[2025-01-10 20:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 20:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 20:29:01] Production.INFO: neon service started
[2025-01-10 20:29:01] Production.INFO: neon service started
[2025-01-10 20:29:01] Production.INFO: ==32235== Releasing lock...
[2025-01-10 20:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 20:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 20:29:02] Production.INFO: ==32240== Lock acquired, processing the job...
[2025-01-10 20:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 20:29:02] Production.INFO: ==32240== Releasing lock...
[2025-01-10 20:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 20:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 15:29:02] Production.INFO: ==32238== Lock acquired, processing the job...
[2025-01-10 15:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 15:29:02] Production.INFO: ==32238== Releasing lock...
[2025-01-10 15:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 15:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:29:03] Production.INFO: ==32242== Lock acquired, processing the job...
[2025-01-10 15:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 15:29:03] Production.INFO: ==32244== Lock acquired, processing the job...
[2025-01-10 15:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 15:29:03] Production.INFO: ==32248== Lock acquired, processing the job...
[2025-01-10 15:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 15:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 15:29:03] Production.INFO: Account Balance Start.
[2025-01-10 15:29:03] Production.INFO: CreateAllLog Start
[2025-01-10 15:29:03] Production.INFO: 117
[2025-01-10 15:29:03] Production.INFO: Date 2025-01-08
[2025-01-10 15:29:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:29:03] Production.INFO: Date 2025-01-09
[2025-01-10 15:29:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:29:03] Production.INFO: Date 2025-01-10
[2025-01-10 15:29:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:29:03] Production.INFO: Total Charge 0
[2025-01-10 15:29:03] Production.INFO: ==32244== Releasing lock...
[2025-01-10 15:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 15:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 15:29:03] Production.INFO: CreateAllLog End
[2025-01-10 15:29:03] Production.INFO: ==32246== Lock acquired, processing the job...
[2025-01-10 15:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 15:29:03] Production.INFO: ==32250== Lock acquired, processing the job...
[2025-01-10 15:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 15:29:03] Production.INFO: Account Balance End.
[2025-01-10 15:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 15:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 15:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 15:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 15:29:03] Production.INFO: ==32252== Lock acquired, processing the job...
[2025-01-10 15:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 15:29:03] Production.ERROR: CronJobId end 12
[2025-01-10 15:29:03] Production.INFO: ==32248== Releasing lock...
[2025-01-10 15:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 15:29:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 15:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:29:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:29:04] Production.ERROR: done
[2025-01-10 15:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 15:29:04] Production.INFO: count ==21
[2025-01-10 15:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:29:04] Production.INFO: count ==21
[2025-01-10 15:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217840') start
[2025-01-10 15:29:04] Production.ERROR: done
[2025-01-10 15:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217840') end
[2025-01-10 15:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 15:29:04] Production.INFO: 1
[2025-01-10 15:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 15:29:04] Production.INFO: ==32252== Releasing lock...
[2025-01-10 15:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 15:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 15:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 12:29:05
[end_date_ymd] => 2025-01-10 15:29:05
[RateCDR] => 1
)
[2025-01-10 15:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 12:29:05' and `end` < '2025-01-10 15:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 15:29:11] Production.ERROR: CronJobId end10
[2025-01-10 15:29:11] Production.INFO: ==32246== Releasing lock...
[2025-01-10 15:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 15:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 15:29:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 15:29:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 15:29:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 15:29:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 15:29:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 15:29:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 15:29:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 15:29:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 15:29:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 15:29:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 15:29:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 15:29:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 15:29:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 15:29:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 15:29:12] Production.INFO: call_cost start
[2025-01-10 15:29:12] Production.INFO: call_cost end
[2025-01-10 15:29:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 15:29:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 15:29:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 15:29:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 15:29:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 15:29:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 15:29:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 15:29:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 15:29:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 15:29:13] Production.INFO: ==32242== Releasing lock...
[2025-01-10 15:29:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 15:29:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 15:29:25] Production.INFO: count ==3338
[2025-01-10 15:29:26] Production.ERROR: pbx CDR StartTime 2025-01-10 12:29:05 - End Time 2025-01-10 15:29:05
[2025-01-10 15:29:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 15:29:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217841', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:29:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217841', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:29:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217841', 'tblTempVendorCDR_20' ) start
[2025-01-10 15:29:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217841', 'tblTempVendorCDR_20' ) end
[2025-01-10 15:29:26] Production.INFO: ProcessCDR(1,14217841,1,1,2)
[2025-01-10 15:29:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217841,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:29:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217841,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:29:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217841,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:29:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217841,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:29:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217841', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:29:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217841', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:29:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:29:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:29:31] Production.INFO: ==32250== Releasing lock...
[2025-01-10 15:29:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 15:29:31] Production.INFO: 54.25 MB #Memory Used#
[2025-01-10 20:30:02] Production.INFO: ==32311== Lock acquired, processing the job...
[2025-01-10 20:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 20:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 20:30:02] Production.INFO: neon service started
[2025-01-10 20:30:02] Production.INFO: neon service started
[2025-01-10 20:30:02] Production.INFO: ==32311== Releasing lock...
[2025-01-10 20:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 20:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 15:30:02] Production.INFO: ==32313== Lock acquired, processing the job...
[2025-01-10 15:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 20:30:02] Production.INFO: ==32315== Lock acquired, processing the job...
[2025-01-10 20:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 20:30:02] Production.INFO: ==32315== Releasing lock...
[2025-01-10 20:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 20:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 15:30:03] Production.INFO: ==32313== Releasing lock...
[2025-01-10 15:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 15:30:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:30:04] Production.INFO: ==32320== Lock acquired, processing the job...
[2025-01-10 15:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 15:30:04] Production.INFO: ==32324== Lock acquired, processing the job...
[2025-01-10 15:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 15:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 15:30:04] Production.INFO: ==32318== Lock acquired, processing the job...
[2025-01-10 15:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 15:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 15:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 15:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 15:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 15:30:04] Production.INFO: ==32332== Lock acquired, processing the job...
[2025-01-10 15:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 15:30:04] Production.INFO: ==32322== Lock acquired, processing the job...
[2025-01-10 15:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 15:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 15:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 15:30:04] Production.ERROR: CronJob PID - 32320
[2025-01-10 15:30:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-10 15:30:04] Production.ERROR: CronJob ID - 5
[2025-01-10 15:30:04] Production.ERROR: CronJob Last Run Time 2025-01-10 15:30:00
[2025-01-10 15:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 15:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 15:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 15:30:04] Production.ERROR: CronJob PID - 32324
[2025-01-10 15:30:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-10 15:30:04] Production.ERROR: CronJob ID - 10
[2025-01-10 15:30:04] Production.ERROR: CronJob Last Run Time 2025-01-10 15:30:00
[2025-01-10 15:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 15:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 15:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 15:30:04] Production.ERROR: CronJob PID - 32332
[2025-01-10 15:30:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-10 15:30:04] Production.ERROR: CronJob ID - 19
[2025-01-10 15:30:04] Production.ERROR: CronJob Last Run Time 2025-01-10 15:30:00
[2025-01-10 15:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 15:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 15:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 15:30:04] Production.INFO: ==32318== Releasing lock...
[2025-01-10 15:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 15:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 15:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:30:04] Production.INFO: ==32326== Lock acquired, processing the job...
[2025-01-10 15:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 15:30:04] Production.INFO: count ==21
[2025-01-10 15:30:04] Production.INFO: ==32328== Lock acquired, processing the job...
[2025-01-10 15:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 15:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:30:04] Production.INFO: count ==21
[2025-01-10 15:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217843') start
[2025-01-10 15:30:04] Production.INFO: ==32330== Lock acquired, processing the job...
[2025-01-10 15:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 15:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:30:04] Production.INFO: Account Balance Start.
[2025-01-10 15:30:04] Production.INFO: CreateAllLog Start
[2025-01-10 15:30:04] Production.INFO: 117
[2025-01-10 15:30:04] Production.INFO: Date 2025-01-08
[2025-01-10 15:30:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217843') end
[2025-01-10 15:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 15:30:04] Production.INFO: 1
[2025-01-10 15:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 15:30:04] Production.INFO: Date 2025-01-09
[2025-01-10 15:30:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:30:04] Production.INFO: ==32332== Releasing lock...
[2025-01-10 15:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 15:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 15:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:30:04] Production.INFO: ==32322== Releasing lock...
[2025-01-10 15:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 15:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 15:30:05] Production.INFO: Date 2025-01-10
[2025-01-10 15:30:05] Production.INFO: Reseller ==> 0
[2025-01-10 15:30:05] Production.INFO: Total Charge 0
[2025-01-10 15:30:05] Production.INFO: CreateAllLog End
[2025-01-10 15:30:05] Production.ERROR: done
[2025-01-10 15:30:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 15:30:05] Production.INFO: Account Balance End.
[2025-01-10 15:30:05] Production.ERROR: CronJobId end 12
[2025-01-10 15:30:05] Production.INFO: ==32326== Releasing lock...
[2025-01-10 15:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 15:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 15:30:05] Production.ERROR: done
[2025-01-10 15:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 15:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14217846', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 15:30:05] Production.ERROR: done
[2025-01-10 15:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 12:30:06
[end_date_ymd] => 2025-01-10 15:30:06
[RateCDR] => 1
)
[2025-01-10 15:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 12:30:06' and `end` < '2025-01-10 15:30:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 15:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14217846', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 15:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 15:30:08] Production.INFO: ProcessCDR(1,14217846,1,1,2)
[2025-01-10 15:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14217846,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14217846,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:30:09] Production.INFO: ==32330== Releasing lock...
[2025-01-10 15:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 15:30:09] Production.INFO: 26 MB #Memory Used#
[2025-01-10 15:30:13] Production.ERROR: CronJobId end10
[2025-01-10 15:30:13] Production.INFO: ==32324== Releasing lock...
[2025-01-10 15:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 15:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 15:30:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 15:30:15] Production.INFO: ============== Balance Warning START===========
[2025-01-10 15:30:15] Production.INFO: ============== Balance Warning END===========
[2025-01-10 15:30:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 15:30:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 15:30:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 15:30:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 15:30:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 15:30:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 15:30:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 15:30:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 15:30:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 15:30:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 15:30:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 15:30:15] Production.INFO: call_cost start
[2025-01-10 15:30:15] Production.INFO: call_cost end
[2025-01-10 15:30:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 15:30:16] Production.INFO: ============== Report Schedule START===========
[2025-01-10 15:30:16] Production.INFO: ============== Report Schedule END===========
[2025-01-10 15:30:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 15:30:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 15:30:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 15:30:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 15:30:16] Production.INFO: ============== Deal alert START===========
[2025-01-10 15:30:16] Production.INFO: ============== Deal alert END===========
[2025-01-10 15:30:16] Production.INFO: ==32320== Releasing lock...
[2025-01-10 15:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 15:30:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 15:30:26] Production.INFO: count ==3338
[2025-01-10 15:30:28] Production.ERROR: pbx CDR StartTime 2025-01-10 12:30:06 - End Time 2025-01-10 15:30:06
[2025-01-10 15:30:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 15:30:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217847', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:30:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217847', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:30:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217847', 'tblTempVendorCDR_20' ) start
[2025-01-10 15:30:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217847', 'tblTempVendorCDR_20' ) end
[2025-01-10 15:30:29] Production.INFO: ProcessCDR(1,14217847,1,1,2)
[2025-01-10 15:30:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217847,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:30:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217847,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:30:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217847,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:30:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217847,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:30:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217847', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:30:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217847', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:30:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:30:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:30:33] Production.INFO: ==32328== Releasing lock...
[2025-01-10 15:30:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 15:30:33] Production.INFO: 54.5 MB #Memory Used#
[2025-01-10 20:31:01] Production.INFO: ==32387== Lock acquired, processing the job...
[2025-01-10 20:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 20:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 20:31:01] Production.INFO: neon service started
[2025-01-10 20:31:01] Production.INFO: neon service started
[2025-01-10 20:31:01] Production.INFO: ==32387== Releasing lock...
[2025-01-10 20:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 20:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 20:31:02] Production.INFO: ==32391== Lock acquired, processing the job...
[2025-01-10 20:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 20:31:02] Production.INFO: ==32391== Releasing lock...
[2025-01-10 20:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 20:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 15:31:02] Production.INFO: ==32389== Lock acquired, processing the job...
[2025-01-10 15:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 15:31:02] Production.INFO: ==32389== Releasing lock...
[2025-01-10 15:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 15:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:31:03] Production.INFO: ==32396== Lock acquired, processing the job...
[2025-01-10 15:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 15:31:03] Production.INFO: ==32402== Lock acquired, processing the job...
[2025-01-10 15:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 15:31:03] Production.INFO: ==32394== Lock acquired, processing the job...
[2025-01-10 15:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 15:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:31:03] Production.INFO: ==32398== Lock acquired, processing the job...
[2025-01-10 15:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 15:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 15:31:03] Production.INFO: ==32400== Lock acquired, processing the job...
[2025-01-10 15:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 15:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 15:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 15:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 15:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 15:31:03] Production.INFO: ==32404== Lock acquired, processing the job...
[2025-01-10 15:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 15:31:03] Production.ERROR: done
[2025-01-10 15:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 15:31:03] Production.INFO: ==32396== Releasing lock...
[2025-01-10 15:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 15:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 15:31:03] Production.INFO: Account Balance Start.
[2025-01-10 15:31:03] Production.INFO: CreateAllLog Start
[2025-01-10 15:31:03] Production.INFO: 117
[2025-01-10 15:31:03] Production.INFO: Date 2025-01-08
[2025-01-10 15:31:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:31:03] Production.INFO: count ==21
[2025-01-10 15:31:03] Production.ERROR: done
[2025-01-10 15:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:31:03] Production.INFO: count ==21
[2025-01-10 15:31:03] Production.INFO: Date 2025-01-09
[2025-01-10 15:31:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217851') start
[2025-01-10 15:31:04] Production.INFO: Date 2025-01-10
[2025-01-10 15:31:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217851') end
[2025-01-10 15:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 15:31:04] Production.INFO: 1
[2025-01-10 15:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 15:31:04] Production.INFO: ==32404== Releasing lock...
[2025-01-10 15:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 15:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 15:31:04] Production.INFO: Total Charge 0
[2025-01-10 15:31:04] Production.INFO: CreateAllLog End
[2025-01-10 15:31:04] Production.INFO: Account Balance End.
[2025-01-10 15:31:04] Production.ERROR: CronJobId end 12
[2025-01-10 15:31:04] Production.INFO: ==32400== Releasing lock...
[2025-01-10 15:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 15:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 15:31:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 12:31:04
[end_date_ymd] => 2025-01-10 15:31:04
[RateCDR] => 1
)
[2025-01-10 15:31:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 12:31:04' and `end` < '2025-01-10 15:31:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 15:31:10] Production.ERROR: CronJobId end10
[2025-01-10 15:31:10] Production.INFO: ==32398== Releasing lock...
[2025-01-10 15:31:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 15:31:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 15:31:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 15:31:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 15:31:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 15:31:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 15:31:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 15:31:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 15:31:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 15:31:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 15:31:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 15:31:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 15:31:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 15:31:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 15:31:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 15:31:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 15:31:13] Production.INFO: call_cost start
[2025-01-10 15:31:13] Production.INFO: call_cost end
[2025-01-10 15:31:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 15:31:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 15:31:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 15:31:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 15:31:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 15:31:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 15:31:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 15:31:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 15:31:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 15:31:14] Production.INFO: ==32394== Releasing lock...
[2025-01-10 15:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 15:31:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 15:31:21] Production.INFO: count ==3427
[2025-01-10 15:31:23] Production.ERROR: pbx CDR StartTime 2025-01-10 12:31:04 - End Time 2025-01-10 15:31:04
[2025-01-10 15:31:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 15:31:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217852', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:31:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217852', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:31:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217852', 'tblTempVendorCDR_20' ) start
[2025-01-10 15:31:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217852', 'tblTempVendorCDR_20' ) end
[2025-01-10 15:31:23] Production.INFO: ProcessCDR(1,14217852,1,1,2)
[2025-01-10 15:31:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217852,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:31:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217852,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:31:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217852,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:31:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217852,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:31:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217852', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:31:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217852', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:31:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:31:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:31:28] Production.INFO: ==32402== Releasing lock...
[2025-01-10 15:31:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 15:31:28] Production.INFO: 54 MB #Memory Used#
[2025-01-10 20:32:02] Production.INFO: ==32466== Lock acquired, processing the job...
[2025-01-10 20:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 20:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 20:32:02] Production.INFO: neon service started
[2025-01-10 20:32:02] Production.INFO: neon service started
[2025-01-10 20:32:02] Production.INFO: ==32466== Releasing lock...
[2025-01-10 20:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 20:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 15:32:02] Production.INFO: ==32468== Lock acquired, processing the job...
[2025-01-10 15:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 15:32:03] Production.INFO: ==32468== Releasing lock...
[2025-01-10 15:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 15:32:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 20:32:03] Production.INFO: ==32470== Lock acquired, processing the job...
[2025-01-10 20:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 20:32:03] Production.INFO: ==32470== Releasing lock...
[2025-01-10 20:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 20:32:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 15:32:03] Production.INFO: ==32473== Lock acquired, processing the job...
[2025-01-10 15:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 15:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 15:32:03] Production.INFO: ==32477== Lock acquired, processing the job...
[2025-01-10 15:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 15:32:03] Production.INFO: ==32479== Lock acquired, processing the job...
[2025-01-10 15:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 15:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 15:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 15:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 15:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 15:32:04] Production.INFO: ==32475== Lock acquired, processing the job...
[2025-01-10 15:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 15:32:04] Production.INFO: ==32481== Lock acquired, processing the job...
[2025-01-10 15:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 15:32:04] Production.INFO: ==32483== Lock acquired, processing the job...
[2025-01-10 15:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 15:32:04] Production.INFO: Account Balance Start.
[2025-01-10 15:32:04] Production.INFO: CreateAllLog Start
[2025-01-10 15:32:04] Production.INFO: 117
[2025-01-10 15:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:32:04] Production.INFO: Date 2025-01-08
[2025-01-10 15:32:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:32:04] Production.INFO: Date 2025-01-09
[2025-01-10 15:32:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:32:04] Production.INFO: Date 2025-01-10
[2025-01-10 15:32:04] Production.INFO: Reseller ==> 0
[2025-01-10 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-01-10 15:32:04] Production.INFO: ==32475== Releasing lock...
[2025-01-10 15:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 15:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 15:32:04] Production.INFO: count ==21
[2025-01-10 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-01-10 15:32:04] Production.INFO: count ==21
[2025-01-10 15:32:04] Production.INFO: Total Charge 0
[2025-01-10 15:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217856') start
[2025-01-10 15:32:04] Production.INFO: CreateAllLog End
[2025-01-10 15:32:04] Production.ERROR: done
[2025-01-10 15:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 15:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217856') end
[2025-01-10 15:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 15:32:04] Production.INFO: 1
[2025-01-10 15:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 15:32:04] Production.INFO: ==32483== Releasing lock...
[2025-01-10 15:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 15:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 15:32:04] Production.INFO: Account Balance End.
[2025-01-10 15:32:04] Production.ERROR: done
[2025-01-10 15:32:04] Production.ERROR: CronJobId end 12
[2025-01-10 15:32:04] Production.INFO: ==32479== Releasing lock...
[2025-01-10 15:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 15:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 15:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 12:32:05
[end_date_ymd] => 2025-01-10 15:32:05
[RateCDR] => 1
)
[2025-01-10 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-01-10 12:32:05' and `end` < '2025-01-10 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-01-10 15:32:12] Production.ERROR: CronJobId end10
[2025-01-10 15:32:12] Production.INFO: ==32477== Releasing lock...
[2025-01-10 15:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 15:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 15:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 15:32:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 15:32:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 15:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 15:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 15:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 15:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 15:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 15:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 15:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 15:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 15:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 15:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 15:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 15:32:13] Production.INFO: call_cost start
[2025-01-10 15:32:13] Production.INFO: call_cost end
[2025-01-10 15:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 15:32:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 15:32:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 15:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 15:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 15:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 15:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 15:32:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 15:32:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 15:32:14] Production.INFO: ==32473== Releasing lock...
[2025-01-10 15:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 15:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 15:32:21] Production.INFO: count ==3421
[2025-01-10 15:32:23] Production.ERROR: pbx CDR StartTime 2025-01-10 12:32:05 - End Time 2025-01-10 15:32:05
[2025-01-10 15:32:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 15:32:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217857', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:32:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217857', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:32:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217857', 'tblTempVendorCDR_20' ) start
[2025-01-10 15:32:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217857', 'tblTempVendorCDR_20' ) end
[2025-01-10 15:32:23] Production.INFO: ProcessCDR(1,14217857,1,1,2)
[2025-01-10 15:32:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217857,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:32:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217857,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:32:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217857,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:32:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217857,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:32:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217857', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:32:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217857', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:32:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:32:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:32:28] Production.INFO: ==32481== Releasing lock...
[2025-01-10 15:32:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 15:32:28] Production.INFO: 53.5 MB #Memory Used#
[2025-01-10 20:33:01] Production.INFO: ==32535== Lock acquired, processing the job...
[2025-01-10 20:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 20:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 20:33:01] Production.INFO: neon service started
[2025-01-10 20:33:02] Production.INFO: neon service started
[2025-01-10 20:33:02] Production.INFO: ==32535== Releasing lock...
[2025-01-10 20:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 20:33:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 15:33:02] Production.INFO: ==32537== Lock acquired, processing the job...
[2025-01-10 15:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 15:33:02] Production.INFO: ==32537== Releasing lock...
[2025-01-10 15:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 15:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 20:33:02] Production.INFO: ==32539== Lock acquired, processing the job...
[2025-01-10 20:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 20:33:02] Production.INFO: ==32539== Releasing lock...
[2025-01-10 20:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 20:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 15:33:03] Production.INFO: ==32541== Lock acquired, processing the job...
[2025-01-10 15:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 15:33:03] Production.INFO: ==32548== Lock acquired, processing the job...
[2025-01-10 15:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 15:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 15:33:03] Production.INFO: ==32550== Lock acquired, processing the job...
[2025-01-10 15:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 15:33:03] Production.INFO: ==32543== Lock acquired, processing the job...
[2025-01-10 15:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 15:33:03] Production.INFO: ==32545== Lock acquired, processing the job...
[2025-01-10 15:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 15:33:03] Production.INFO: Account Balance Start.
[2025-01-10 15:33:03] Production.INFO: CreateAllLog Start
[2025-01-10 15:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:33:03] Production.INFO: 117
[2025-01-10 15:33:03] Production.INFO: Date 2025-01-08
[2025-01-10 15:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 15:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 15:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 15:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 15:33:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:33:03] Production.INFO: ==32552== Lock acquired, processing the job...
[2025-01-10 15:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 15:33:03] Production.INFO: Date 2025-01-09
[2025-01-10 15:33:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:33:03] Production.INFO: Date 2025-01-10
[2025-01-10 15:33:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:33:03] Production.INFO: Total Charge 0
[2025-01-10 15:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:33:03] Production.INFO: CreateAllLog End
[2025-01-10 15:33:03] Production.INFO: count ==21
[2025-01-10 15:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:33:03] Production.INFO: count ==21
[2025-01-10 15:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217861') start
[2025-01-10 15:33:04] Production.INFO: ==32543== Releasing lock...
[2025-01-10 15:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 15:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 15:33:04] Production.ERROR: done
[2025-01-10 15:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 15:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217861') end
[2025-01-10 15:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 15:33:04] Production.INFO: 1
[2025-01-10 15:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 15:33:04] Production.INFO: ==32552== Releasing lock...
[2025-01-10 15:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 15:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 15:33:04] Production.ERROR: done
[2025-01-10 15:33:04] Production.INFO: Account Balance End.
[2025-01-10 15:33:04] Production.ERROR: CronJobId end 12
[2025-01-10 15:33:04] Production.INFO: ==32548== Releasing lock...
[2025-01-10 15:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 15:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 15:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 12:33:05
[end_date_ymd] => 2025-01-10 15:33:05
[RateCDR] => 1
)
[2025-01-10 15:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 12:33:05' and `end` < '2025-01-10 15:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 15:33:11] Production.ERROR: CronJobId end10
[2025-01-10 15:33:11] Production.INFO: ==32545== Releasing lock...
[2025-01-10 15:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 15:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 15:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 15:33:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 15:33:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 15:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 15:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 15:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 15:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 15:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 15:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 15:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 15:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 15:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 15:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 15:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 15:33:13] Production.INFO: call_cost start
[2025-01-10 15:33:13] Production.INFO: call_cost end
[2025-01-10 15:33:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 15:33:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 15:33:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 15:33:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 15:33:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 15:33:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 15:33:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 15:33:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 15:33:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 15:33:14] Production.INFO: ==32541== Releasing lock...
[2025-01-10 15:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 15:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 15:33:25] Production.INFO: count ==3419
[2025-01-10 15:33:26] Production.ERROR: pbx CDR StartTime 2025-01-10 12:33:05 - End Time 2025-01-10 15:33:05
[2025-01-10 15:33:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 15:33:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217862', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:33:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217862', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:33:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217862', 'tblTempVendorCDR_20' ) start
[2025-01-10 15:33:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217862', 'tblTempVendorCDR_20' ) end
[2025-01-10 15:33:26] Production.INFO: ProcessCDR(1,14217862,1,1,2)
[2025-01-10 15:33:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217862,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:33:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217862,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:33:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217862,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:33:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217862,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:33:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217862', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:33:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217862', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:33:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:33:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:33:31] Production.INFO: ==32550== Releasing lock...
[2025-01-10 15:33:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 15:33:31] Production.INFO: 53.75 MB #Memory Used#
[2025-01-10 20:34:01] Production.INFO: ==32607== Lock acquired, processing the job...
[2025-01-10 20:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 20:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 20:34:01] Production.INFO: neon service started
[2025-01-10 20:34:01] Production.INFO: neon service started
[2025-01-10 20:34:01] Production.INFO: ==32607== Releasing lock...
[2025-01-10 20:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 20:34:01] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 15:34:02] Production.INFO: ==32609== Lock acquired, processing the job...
[2025-01-10 15:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 20:34:02] Production.INFO: ==32611== Lock acquired, processing the job...
[2025-01-10 20:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 20:34:02] Production.INFO: ==32611== Releasing lock...
[2025-01-10 20:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 20:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 15:34:02] Production.INFO: ==32609== Releasing lock...
[2025-01-10 15:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 15:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:34:03] Production.INFO: ==32620== Lock acquired, processing the job...
[2025-01-10 15:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 15:34:03] Production.INFO: ==32614== Lock acquired, processing the job...
[2025-01-10 15:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 15:34:03] Production.INFO: ==32616== Lock acquired, processing the job...
[2025-01-10 15:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 15:34:03] Production.INFO: ==32618== Lock acquired, processing the job...
[2025-01-10 15:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 15:34:03] Production.INFO: Account Balance Start.
[2025-01-10 15:34:03] Production.INFO: CreateAllLog Start
[2025-01-10 15:34:03] Production.INFO: 117
[2025-01-10 15:34:03] Production.INFO: Date 2025-01-08
[2025-01-10 15:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 15:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 15:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 15:34:03] Production.INFO: ==32624== Lock acquired, processing the job...
[2025-01-10 15:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 15:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 15:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 15:34:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:34:03] Production.INFO: Date 2025-01-09
[2025-01-10 15:34:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:34:03] Production.INFO: ==32622== Lock acquired, processing the job...
[2025-01-10 15:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 15:34:03] Production.INFO: Date 2025-01-10
[2025-01-10 15:34:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:34:03] Production.INFO: Total Charge 0
[2025-01-10 15:34:03] Production.INFO: CreateAllLog End
[2025-01-10 15:34:03] Production.INFO: count ==21
[2025-01-10 15:34:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:34:03] Production.INFO: count ==21
[2025-01-10 15:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217866') start
[2025-01-10 15:34:03] Production.INFO: ==32616== Releasing lock...
[2025-01-10 15:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 15:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 15:34:04] Production.INFO: Account Balance End.
[2025-01-10 15:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217866') end
[2025-01-10 15:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 15:34:04] Production.INFO: 1
[2025-01-10 15:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 15:34:04] Production.ERROR: CronJobId end 12
[2025-01-10 15:34:04] Production.INFO: ==32620== Releasing lock...
[2025-01-10 15:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 15:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 15:34:04] Production.INFO: ==32624== Releasing lock...
[2025-01-10 15:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 15:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 15:34:04] Production.ERROR: done
[2025-01-10 15:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 15:34:04] Production.ERROR: done
[2025-01-10 15:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 12:34:05
[end_date_ymd] => 2025-01-10 15:34:05
[RateCDR] => 1
)
[2025-01-10 15:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 12:34:05' and `end` < '2025-01-10 15:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 15:34:12] Production.ERROR: CronJobId end10
[2025-01-10 15:34:12] Production.INFO: ==32618== Releasing lock...
[2025-01-10 15:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 15:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 15:34:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 15:34:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 15:34:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 15:34:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 15:34:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 15:34:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 15:34:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 15:34:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 15:34:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 15:34:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 15:34:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 15:34:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 15:34:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 15:34:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 15:34:13] Production.INFO: call_cost start
[2025-01-10 15:34:13] Production.INFO: call_cost end
[2025-01-10 15:34:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 15:34:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 15:34:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 15:34:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 15:34:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 15:34:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 15:34:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 15:34:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 15:34:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 15:34:13] Production.INFO: ==32614== Releasing lock...
[2025-01-10 15:34:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 15:34:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 15:34:22] Production.INFO: count ==3420
[2025-01-10 15:34:24] Production.ERROR: pbx CDR StartTime 2025-01-10 12:34:05 - End Time 2025-01-10 15:34:05
[2025-01-10 15:34:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 15:34:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217867', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:34:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217867', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:34:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217867', 'tblTempVendorCDR_20' ) start
[2025-01-10 15:34:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217867', 'tblTempVendorCDR_20' ) end
[2025-01-10 15:34:24] Production.INFO: ProcessCDR(1,14217867,1,1,2)
[2025-01-10 15:34:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217867,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:34:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217867,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:34:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217867,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:34:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217867,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:34:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217867', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:34:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217867', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:34:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:34:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:34:27] Production.INFO: ==32622== Releasing lock...
[2025-01-10 15:34:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 15:34:27] Production.INFO: 53.5 MB #Memory Used#
[2025-01-10 20:35:01] Production.INFO: ==32678== Lock acquired, processing the job...
[2025-01-10 20:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 20:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 20:35:01] Production.INFO: neon service started
[2025-01-10 20:35:01] Production.INFO: neon service started
[2025-01-10 20:35:02] Production.INFO: ==32678== Releasing lock...
[2025-01-10 20:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 20:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 15:35:02] Production.INFO: ==32680== Lock acquired, processing the job...
[2025-01-10 15:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 20:35:02] Production.INFO: ==32682== Lock acquired, processing the job...
[2025-01-10 20:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 20:35:02] Production.INFO: ==32682== Releasing lock...
[2025-01-10 20:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 20:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 15:35:02] Production.INFO: ==32680== Releasing lock...
[2025-01-10 15:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 15:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:35:03] Production.INFO: ==32686== Lock acquired, processing the job...
[2025-01-10 15:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 15:35:03] Production.INFO: ==32692== Lock acquired, processing the job...
[2025-01-10 15:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 15:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:35:03] Production.INFO: ==32684== Lock acquired, processing the job...
[2025-01-10 15:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 15:35:03] Production.INFO: ==32686== Releasing lock...
[2025-01-10 15:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 15:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 15:35:03] Production.INFO: ==32688== Lock acquired, processing the job...
[2025-01-10 15:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 15:35:03] Production.INFO: ==32690== Lock acquired, processing the job...
[2025-01-10 15:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 15:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 15:35:03] Production.INFO: Account Balance Start.
[2025-01-10 15:35:03] Production.INFO: CreateAllLog Start
[2025-01-10 15:35:03] Production.INFO: 117
[2025-01-10 15:35:03] Production.INFO: Date 2025-01-08
[2025-01-10 15:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 15:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 15:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 15:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 15:35:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:35:03] Production.INFO: ==32695== Lock acquired, processing the job...
[2025-01-10 15:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 15:35:03] Production.INFO: Date 2025-01-09
[2025-01-10 15:35:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:35:03] Production.INFO: Date 2025-01-10
[2025-01-10 15:35:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:35:04] Production.ERROR: done
[2025-01-10 15:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 15:35:04] Production.INFO: Total Charge 0
[2025-01-10 15:35:04] Production.INFO: CreateAllLog End
[2025-01-10 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-01-10 15:35:04] Production.ERROR: done
[2025-01-10 15:35:04] Production.INFO: Account Balance End.
[2025-01-10 15:35:04] Production.INFO: count ==21
[2025-01-10 15:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:35:04] Production.ERROR: CronJobId end 12
[2025-01-10 15:35:04] Production.INFO: count ==21
[2025-01-10 15:35:04] Production.INFO: ==32690== Releasing lock...
[2025-01-10 15:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 15:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 15:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217871') start
[2025-01-10 15:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217871') end
[2025-01-10 15:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 15:35:04] Production.INFO: 1
[2025-01-10 15:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 15:35:04] Production.INFO: ==32695== Releasing lock...
[2025-01-10 15:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 15:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 15:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 12:35:05
[end_date_ymd] => 2025-01-10 15:35:05
[RateCDR] => 1
)
[2025-01-10 15:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 12:35:05' and `end` < '2025-01-10 15:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 15:35:11] Production.ERROR: CronJobId end10
[2025-01-10 15:35:11] Production.INFO: ==32688== Releasing lock...
[2025-01-10 15:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 15:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 15:35:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 15:35:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 15:35:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 15:35:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 15:35:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 15:35:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 15:35:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 15:35:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 15:35:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 15:35:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 15:35:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 15:35:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 15:35:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 15:35:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 15:35:13] Production.INFO: call_cost start
[2025-01-10 15:35:13] Production.INFO: call_cost end
[2025-01-10 15:35:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 15:35:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 15:35:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 15:35:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 15:35:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 15:35:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 15:35:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 15:35:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 15:35:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 15:35:13] Production.INFO: ==32684== Releasing lock...
[2025-01-10 15:35:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 15:35:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 15:35:33] Production.INFO: count ==3422
[2025-01-10 15:35:35] Production.ERROR: pbx CDR StartTime 2025-01-10 12:35:05 - End Time 2025-01-10 15:35:05
[2025-01-10 15:35:35] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 15:35:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217872', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:35:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217872', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:35:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217872', 'tblTempVendorCDR_20' ) start
[2025-01-10 15:35:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217872', 'tblTempVendorCDR_20' ) end
[2025-01-10 15:35:35] Production.INFO: ProcessCDR(1,14217872,1,1,2)
[2025-01-10 15:35:35] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217872,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:35:37] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217872,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:35:37] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217872,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:35:39] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217872,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:35:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217872', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:35:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217872', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:35:39] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:35:39] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:35:39] Production.INFO: ==32692== Releasing lock...
[2025-01-10 15:35:39] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 15:35:39] Production.INFO: 53.5 MB #Memory Used#
[2025-01-10 20:36:01] Production.INFO: ==32749== Lock acquired, processing the job...
[2025-01-10 20:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 20:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 20:36:01] Production.INFO: neon service started
[2025-01-10 20:36:01] Production.INFO: neon service started
[2025-01-10 20:36:01] Production.INFO: ==32749== Releasing lock...
[2025-01-10 20:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 20:36:01] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 15:36:01] Production.INFO: ==32751== Lock acquired, processing the job...
[2025-01-10 15:36:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 15:36:02] Production.INFO: ==32751== Releasing lock...
[2025-01-10 15:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 15:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 20:36:02] Production.INFO: ==32753== Lock acquired, processing the job...
[2025-01-10 20:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 20:36:02] Production.INFO: ==32753== Releasing lock...
[2025-01-10 20:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 20:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 15:36:02] Production.INFO: ==32759== Lock acquired, processing the job...
[2025-01-10 15:36:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 15:36:02] Production.INFO: ==32757== Lock acquired, processing the job...
[2025-01-10 15:36:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 15:36:02] Production.INFO: ==32755== Lock acquired, processing the job...
[2025-01-10 15:36:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 15:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 15:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 15:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 15:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 15:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 15:36:03] Production.INFO: ==32761== Lock acquired, processing the job...
[2025-01-10 15:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 15:36:03] Production.INFO: ==32757== Releasing lock...
[2025-01-10 15:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 15:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 15:36:03] Production.INFO: ==32766== Lock acquired, processing the job...
[2025-01-10 15:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 15:36:03] Production.INFO: ==32764== Lock acquired, processing the job...
[2025-01-10 15:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 15:36:03] Production.INFO: Account Balance Start.
[2025-01-10 15:36:03] Production.INFO: CreateAllLog Start
[2025-01-10 15:36:03] Production.INFO: 117
[2025-01-10 15:36:03] Production.INFO: Date 2025-01-08
[2025-01-10 15:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:36:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:36:03] Production.INFO: count ==21
[2025-01-10 15:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:36:03] Production.INFO: Date 2025-01-09
[2025-01-10 15:36:03] Production.INFO: count ==21
[2025-01-10 15:36:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217876') start
[2025-01-10 15:36:03] Production.INFO: Date 2025-01-10
[2025-01-10 15:36:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217876') end
[2025-01-10 15:36:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 15:36:03] Production.INFO: 1
[2025-01-10 15:36:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 15:36:03] Production.INFO: ==32766== Releasing lock...
[2025-01-10 15:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 15:36:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 15:36:03] Production.ERROR: done
[2025-01-10 15:36:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 15:36:03] Production.INFO: Total Charge 0
[2025-01-10 15:36:03] Production.INFO: CreateAllLog End
[2025-01-10 15:36:03] Production.ERROR: done
[2025-01-10 15:36:04] Production.INFO: Account Balance End.
[2025-01-10 15:36:04] Production.ERROR: CronJobId end 12
[2025-01-10 15:36:04] Production.INFO: ==32761== Releasing lock...
[2025-01-10 15:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 15:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 15:36:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 12:36:04
[end_date_ymd] => 2025-01-10 15:36:04
[RateCDR] => 1
)
[2025-01-10 15:36:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 12:36:04' and `end` < '2025-01-10 15:36:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 15:36:10] Production.ERROR: CronJobId end10
[2025-01-10 15:36:10] Production.INFO: ==32759== Releasing lock...
[2025-01-10 15:36:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 15:36:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 15:36:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 15:36:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 15:36:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 15:36:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 15:36:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 15:36:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 15:36:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 15:36:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 15:36:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 15:36:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 15:36:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 15:36:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 15:36:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 15:36:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 15:36:13] Production.INFO: call_cost start
[2025-01-10 15:36:13] Production.INFO: call_cost end
[2025-01-10 15:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 15:36:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 15:36:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 15:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 15:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 15:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 15:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 15:36:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 15:36:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 15:36:14] Production.INFO: ==32755== Releasing lock...
[2025-01-10 15:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 15:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 15:36:25] Production.INFO: count ==3407
[2025-01-10 15:36:27] Production.ERROR: pbx CDR StartTime 2025-01-10 12:36:04 - End Time 2025-01-10 15:36:04
[2025-01-10 15:36:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 15:36:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217877', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:36:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217877', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:36:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217877', 'tblTempVendorCDR_20' ) start
[2025-01-10 15:36:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217877', 'tblTempVendorCDR_20' ) end
[2025-01-10 15:36:27] Production.INFO: ProcessCDR(1,14217877,1,1,2)
[2025-01-10 15:36:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217877,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:36:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217877,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:36:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217877,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:36:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217877,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:36:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217877', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:36:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217877', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:36:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:36:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:36:31] Production.INFO: ==32764== Releasing lock...
[2025-01-10 15:36:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 15:36:31] Production.INFO: 53.75 MB #Memory Used#
[2025-01-10 20:37:01] Production.INFO: ==372== Lock acquired, processing the job...
[2025-01-10 20:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 20:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 20:37:01] Production.INFO: neon service started
[2025-01-10 20:37:01] Production.INFO: neon service started
[2025-01-10 20:37:01] Production.INFO: ==372== Releasing lock...
[2025-01-10 20:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 20:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 20:37:02] Production.INFO: ==376== Lock acquired, processing the job...
[2025-01-10 20:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 20:37:02] Production.INFO: ==376== Releasing lock...
[2025-01-10 20:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 20:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 15:37:02] Production.INFO: ==374== Lock acquired, processing the job...
[2025-01-10 15:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 15:37:02] Production.INFO: ==374== Releasing lock...
[2025-01-10 15:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 15:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:37:03] Production.INFO: ==378== Lock acquired, processing the job...
[2025-01-10 15:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 15:37:03] Production.INFO: ==380== Lock acquired, processing the job...
[2025-01-10 15:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 15:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 15:37:03] Production.INFO: ==387== Lock acquired, processing the job...
[2025-01-10 15:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 15:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:37:03] Production.INFO: ==383== Lock acquired, processing the job...
[2025-01-10 15:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 15:37:03] Production.INFO: ==389== Lock acquired, processing the job...
[2025-01-10 15:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 15:37:03] Production.INFO: ==385== Lock acquired, processing the job...
[2025-01-10 15:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 15:37:03] Production.INFO: ==380== Releasing lock...
[2025-01-10 15:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 15:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 15:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 15:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 15:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 15:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 15:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:37:03] Production.INFO: count ==21
[2025-01-10 15:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:37:04] Production.INFO: count ==21
[2025-01-10 15:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217880') start
[2025-01-10 15:37:04] Production.ERROR: done
[2025-01-10 15:37:04] Production.INFO: Account Balance Start.
[2025-01-10 15:37:04] Production.INFO: CreateAllLog Start
[2025-01-10 15:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 15:37:04] Production.INFO: 117
[2025-01-10 15:37:04] Production.INFO: Date 2025-01-08
[2025-01-10 15:37:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217880') end
[2025-01-10 15:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 15:37:04] Production.INFO: 1
[2025-01-10 15:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 15:37:04] Production.INFO: ==389== Releasing lock...
[2025-01-10 15:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 15:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 15:37:04] Production.INFO: Date 2025-01-09
[2025-01-10 15:37:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:37:04] Production.ERROR: done
[2025-01-10 15:37:04] Production.INFO: Date 2025-01-10
[2025-01-10 15:37:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:37:04] Production.INFO: Total Charge 0
[2025-01-10 15:37:04] Production.INFO: CreateAllLog End
[2025-01-10 15:37:04] Production.INFO: Account Balance End.
[2025-01-10 15:37:04] Production.ERROR: CronJobId end 12
[2025-01-10 15:37:04] Production.INFO: ==385== Releasing lock...
[2025-01-10 15:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 15:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 15:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 12:37:05
[end_date_ymd] => 2025-01-10 15:37:05
[RateCDR] => 1
)
[2025-01-10 15:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 12:37:05' and `end` < '2025-01-10 15:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 15:37:11] Production.ERROR: CronJobId end10
[2025-01-10 15:37:11] Production.INFO: ==383== Releasing lock...
[2025-01-10 15:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 15:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 15:37:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 15:37:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 15:37:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 15:37:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 15:37:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 15:37:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 15:37:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 15:37:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 15:37:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 15:37:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 15:37:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 15:37:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 15:37:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 15:37:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 15:37:13] Production.INFO: call_cost start
[2025-01-10 15:37:13] Production.INFO: call_cost end
[2025-01-10 15:37:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 15:37:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 15:37:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 15:37:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 15:37:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 15:37:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 15:37:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 15:37:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 15:37:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 15:37:14] Production.INFO: ==378== Releasing lock...
[2025-01-10 15:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 15:37:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 15:37:19] Production.INFO: count ==3396
[2025-01-10 15:37:20] Production.ERROR: pbx CDR StartTime 2025-01-10 12:37:05 - End Time 2025-01-10 15:37:05
[2025-01-10 15:37:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 15:37:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217882', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:37:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217882', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:37:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217882', 'tblTempVendorCDR_20' ) start
[2025-01-10 15:37:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217882', 'tblTempVendorCDR_20' ) end
[2025-01-10 15:37:20] Production.INFO: ProcessCDR(1,14217882,1,1,2)
[2025-01-10 15:37:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217882,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:37:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217882,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:37:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217882,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:37:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217882,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:37:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217882', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:37:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217882', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:37:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:37:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:37:25] Production.INFO: ==387== Releasing lock...
[2025-01-10 15:37:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 15:37:25] Production.INFO: 53.75 MB #Memory Used#
[2025-01-10 20:38:02] Production.INFO: ==485== Lock acquired, processing the job...
[2025-01-10 20:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 20:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 20:38:02] Production.INFO: neon service started
[2025-01-10 20:38:02] Production.INFO: neon service started
[2025-01-10 20:38:02] Production.INFO: ==485== Releasing lock...
[2025-01-10 20:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 20:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 15:38:02] Production.INFO: ==487== Lock acquired, processing the job...
[2025-01-10 15:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 15:38:02] Production.INFO: ==487== Releasing lock...
[2025-01-10 15:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 15:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 20:38:02] Production.INFO: ==489== Lock acquired, processing the job...
[2025-01-10 20:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 20:38:03] Production.INFO: ==489== Releasing lock...
[2025-01-10 20:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 20:38:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 15:38:03] Production.INFO: ==492== Lock acquired, processing the job...
[2025-01-10 15:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 15:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 15:38:03] Production.INFO: ==495== Lock acquired, processing the job...
[2025-01-10 15:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 15:38:03] Production.INFO: ==497== Lock acquired, processing the job...
[2025-01-10 15:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 15:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 15:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 15:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 15:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 15:38:03] Production.INFO: ==499== Lock acquired, processing the job...
[2025-01-10 15:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 15:38:04] Production.INFO: ==495== Releasing lock...
[2025-01-10 15:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 15:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 15:38:04] Production.INFO: ==502== Lock acquired, processing the job...
[2025-01-10 15:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 15:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:38:04] Production.INFO: Account Balance Start.
[2025-01-10 15:38:04] Production.INFO: CreateAllLog Start
[2025-01-10 15:38:04] Production.INFO: 117
[2025-01-10 15:38:04] Production.INFO: Date 2025-01-08
[2025-01-10 15:38:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:38:04] Production.INFO: ==504== Lock acquired, processing the job...
[2025-01-10 15:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 15:38:04] Production.INFO: Date 2025-01-09
[2025-01-10 15:38:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:38:04] Production.INFO: Date 2025-01-10
[2025-01-10 15:38:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:38:04] Production.INFO: Total Charge 0
[2025-01-10 15:38:04] Production.INFO: CreateAllLog End
[2025-01-10 15:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:38:04] Production.INFO: count ==21
[2025-01-10 15:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:38:04] Production.INFO: count ==21
[2025-01-10 15:38:04] Production.INFO: Account Balance End.
[2025-01-10 15:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217886') start
[2025-01-10 15:38:04] Production.ERROR: done
[2025-01-10 15:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 15:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217886') end
[2025-01-10 15:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 15:38:04] Production.INFO: 1
[2025-01-10 15:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 15:38:04] Production.ERROR: done
[2025-01-10 15:38:04] Production.ERROR: CronJobId end 12
[2025-01-10 15:38:04] Production.INFO: ==499== Releasing lock...
[2025-01-10 15:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 15:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 15:38:04] Production.INFO: ==504== Releasing lock...
[2025-01-10 15:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 15:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 15:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 12:38:05
[end_date_ymd] => 2025-01-10 15:38:05
[RateCDR] => 1
)
[2025-01-10 15:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 12:38:05' and `end` < '2025-01-10 15:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 15:38:11] Production.ERROR: CronJobId end10
[2025-01-10 15:38:11] Production.INFO: ==497== Releasing lock...
[2025-01-10 15:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 15:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 15:38:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 15:38:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 15:38:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 15:38:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 15:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 15:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 15:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 15:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 15:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 15:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 15:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 15:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 15:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 15:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 15:38:13] Production.INFO: call_cost start
[2025-01-10 15:38:13] Production.INFO: call_cost end
[2025-01-10 15:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 15:38:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 15:38:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 15:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 15:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 15:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 15:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 15:38:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 15:38:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 15:38:14] Production.INFO: ==492== Releasing lock...
[2025-01-10 15:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 15:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 15:38:19] Production.INFO: count ==3421
[2025-01-10 15:38:21] Production.ERROR: pbx CDR StartTime 2025-01-10 12:38:05 - End Time 2025-01-10 15:38:05
[2025-01-10 15:38:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 15:38:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217887', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:38:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217887', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:38:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217887', 'tblTempVendorCDR_20' ) start
[2025-01-10 15:38:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217887', 'tblTempVendorCDR_20' ) end
[2025-01-10 15:38:21] Production.INFO: ProcessCDR(1,14217887,1,1,2)
[2025-01-10 15:38:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217887,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:38:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217887,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:38:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217887,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:38:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217887,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:38:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217887', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:38:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217887', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:38:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:38:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:38:26] Production.INFO: ==502== Releasing lock...
[2025-01-10 15:38:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 15:38:26] Production.INFO: 54.75 MB #Memory Used#
[2025-01-10 20:39:01] Production.INFO: ==559== Lock acquired, processing the job...
[2025-01-10 20:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 20:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 20:39:01] Production.INFO: neon service started
[2025-01-10 20:39:01] Production.INFO: neon service started
[2025-01-10 20:39:01] Production.INFO: ==559== Releasing lock...
[2025-01-10 20:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 20:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 15:39:02] Production.INFO: ==561== Lock acquired, processing the job...
[2025-01-10 15:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 20:39:02] Production.INFO: ==563== Lock acquired, processing the job...
[2025-01-10 20:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 20:39:02] Production.INFO: ==563== Releasing lock...
[2025-01-10 20:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 20:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 15:39:02] Production.INFO: ==561== Releasing lock...
[2025-01-10 15:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 15:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:39:03] Production.INFO: ==566== Lock acquired, processing the job...
[2025-01-10 15:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 15:39:03] Production.INFO: ==571== Lock acquired, processing the job...
[2025-01-10 15:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 15:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 15:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 15:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 15:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 15:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 15:39:03] Production.INFO: ==577== Lock acquired, processing the job...
[2025-01-10 15:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 15:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:39:03] Production.INFO: count ==21
[2025-01-10 15:39:03] Production.INFO: ==569== Lock acquired, processing the job...
[2025-01-10 15:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 15:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:39:03] Production.INFO: count ==21
[2025-01-10 15:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217889') start
[2025-01-10 15:39:03] Production.INFO: ==573== Lock acquired, processing the job...
[2025-01-10 15:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 15:39:03] Production.INFO: Account Balance Start.
[2025-01-10 15:39:03] Production.INFO: CreateAllLog Start
[2025-01-10 15:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217889') end
[2025-01-10 15:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 15:39:03] Production.INFO: 1
[2025-01-10 15:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 15:39:03] Production.INFO: 117
[2025-01-10 15:39:03] Production.INFO: ==575== Lock acquired, processing the job...
[2025-01-10 15:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 15:39:03] Production.INFO: Date 2025-01-08
[2025-01-10 15:39:03] Production.INFO: ==577== Releasing lock...
[2025-01-10 15:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 15:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 15:39:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:39:03] Production.INFO: Date 2025-01-09
[2025-01-10 15:39:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:39:03] Production.INFO: Date 2025-01-10
[2025-01-10 15:39:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:39:03] Production.INFO: Total Charge 0
[2025-01-10 15:39:04] Production.INFO: CreateAllLog End
[2025-01-10 15:39:04] Production.INFO: ==569== Releasing lock...
[2025-01-10 15:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 15:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 15:39:04] Production.INFO: Account Balance End.
[2025-01-10 15:39:04] Production.ERROR: done
[2025-01-10 15:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 15:39:04] Production.ERROR: CronJobId end 12
[2025-01-10 15:39:04] Production.INFO: ==573== Releasing lock...
[2025-01-10 15:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 15:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 15:39:04] Production.ERROR: done
[2025-01-10 15:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 12:39:05
[end_date_ymd] => 2025-01-10 15:39:05
[RateCDR] => 1
)
[2025-01-10 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-01-10 12:39:05' and `end` < '2025-01-10 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-01-10 15:39:12] Production.ERROR: CronJobId end10
[2025-01-10 15:39:12] Production.INFO: ==571== Releasing lock...
[2025-01-10 15:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 15:39:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 15:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 15:39:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 15:39:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 15:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 15:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 15:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 15:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 15:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 15:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 15:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 15:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 15:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 15:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 15:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 15:39:13] Production.INFO: call_cost start
[2025-01-10 15:39:13] Production.INFO: call_cost end
[2025-01-10 15:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 15:39:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 15:39:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 15:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 15:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 15:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 15:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 15:39:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 15:39:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 15:39:14] Production.INFO: ==566== Releasing lock...
[2025-01-10 15:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 15:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 15:39:19] Production.INFO: count ==3443
[2025-01-10 15:39:21] Production.ERROR: pbx CDR StartTime 2025-01-10 12:39:05 - End Time 2025-01-10 15:39:05
[2025-01-10 15:39:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 15:39:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217892', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:39:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217892', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:39:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217892', 'tblTempVendorCDR_20' ) start
[2025-01-10 15:39:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217892', 'tblTempVendorCDR_20' ) end
[2025-01-10 15:39:21] Production.INFO: ProcessCDR(1,14217892,1,1,2)
[2025-01-10 15:39:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217892,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:39:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217892,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:39:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217892,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:39:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217892,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:39:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217892', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:39:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217892', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:39:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:39:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:39:26] Production.INFO: ==575== Releasing lock...
[2025-01-10 15:39:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 15:39:26] Production.INFO: 53.75 MB #Memory Used#
[2025-01-10 20:40:02] Production.INFO: ==641== Lock acquired, processing the job...
[2025-01-10 20:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 20:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 20:40:02] Production.INFO: neon service started
[2025-01-10 20:40:02] Production.INFO: neon service started
[2025-01-10 20:40:02] Production.INFO: ==641== Releasing lock...
[2025-01-10 20:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 20:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 20:40:02] Production.INFO: ==645== Lock acquired, processing the job...
[2025-01-10 20:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 20:40:02] Production.INFO: ==645== Releasing lock...
[2025-01-10 20:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 20:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 15:40:02] Production.INFO: ==643== Lock acquired, processing the job...
[2025-01-10 15:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 15:40:03] Production.INFO: ==643== Releasing lock...
[2025-01-10 15:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 15:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:40:03] Production.INFO: ==651== Lock acquired, processing the job...
[2025-01-10 15:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 15:40:03] Production.INFO: ==649== Lock acquired, processing the job...
[2025-01-10 15:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 15:40:03] Production.INFO: ==647== Lock acquired, processing the job...
[2025-01-10 15:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 15:40:04] Production.INFO: ==665== Lock acquired, processing the job...
[2025-01-10 15:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 15:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 15:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 15:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 15:40:04] Production.ERROR: CronJob PID - 649
[2025-01-10 15:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-10 15:40:04] Production.ERROR: CronJob ID - 5
[2025-01-10 15:40:04] Production.ERROR: CronJob Last Run Time 2025-01-10 15:40:00
[2025-01-10 15:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 15:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 15:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 15:40:04] Production.ERROR: CronJob PID - 651
[2025-01-10 15:40:04] Production.ERROR: CronJob Title - Account Block
[2025-01-10 15:40:04] Production.ERROR: CronJob ID - 7
[2025-01-10 15:40:04] Production.ERROR: CronJob Last Run Time 2025-01-10 15:40:00
[2025-01-10 15:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 15:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 15:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 15:40:04] Production.ERROR: CronJob PID - 665
[2025-01-10 15:40:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-10 15:40:04] Production.ERROR: CronJob ID - 17
[2025-01-10 15:40:04] Production.ERROR: CronJob Last Run Time 2025-01-10 15:40:00
[2025-01-10 15:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 15:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 15:40:04] Production.INFO: ==654== Lock acquired, processing the job...
[2025-01-10 15:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 15:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 15:40:04] Production.INFO: ==647== Releasing lock...
[2025-01-10 15:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 15:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 15:40:04] Production.INFO: ==651== Releasing lock...
[2025-01-10 15:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 15:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 15:40:04] Production.INFO: ==656== Lock acquired, processing the job...
[2025-01-10 15:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 15:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 15:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 15:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 15:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 15:40:04] Production.INFO: ==663== Lock acquired, processing the job...
[2025-01-10 15:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 15:40:04] Production.INFO: Account Balance Start.
[2025-01-10 15:40:04] Production.INFO: CreateAllLog Start
[2025-01-10 15:40:04] Production.INFO: 117
[2025-01-10 15:40:04] Production.INFO: Date 2025-01-08
[2025-01-10 15:40:04] Production.INFO: ==670== Lock acquired, processing the job...
[2025-01-10 15:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 15:40:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:40:04] Production.ERROR: done
[2025-01-10 15:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 15:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14217897', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 15:40:04] Production.INFO: Date 2025-01-09
[2025-01-10 15:40:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:40:04] Production.INFO: Date 2025-01-10
[2025-01-10 15:40:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:40:04] Production.INFO: count ==21
[2025-01-10 15:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:40:04] Production.INFO: count ==21
[2025-01-10 15:40:04] Production.INFO: Total Charge 0
[2025-01-10 15:40:04] Production.INFO: CreateAllLog End
[2025-01-10 15:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217896') start
[2025-01-10 15:40:04] Production.ERROR: done
[2025-01-10 15:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 15:40:05] Production.ERROR: done
[2025-01-10 15:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14217896') end
[2025-01-10 15:40:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 15:40:05] Production.INFO: 1
[2025-01-10 15:40:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 15:40:05] Production.INFO: ==670== Releasing lock...
[2025-01-10 15:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 15:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 15:40:05] Production.INFO: Account Balance End.
[2025-01-10 15:40:05] Production.ERROR: CronJobId end 12
[2025-01-10 15:40:05] Production.INFO: ==656== Releasing lock...
[2025-01-10 15:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 15:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 15:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 12:40:05
[end_date_ymd] => 2025-01-10 15:40:05
[RateCDR] => 1
)
[2025-01-10 15:40:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 12:40:05' and `end` < '2025-01-10 15:40:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 15:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14217897', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 15:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 15:40:08] Production.INFO: ProcessCDR(1,14217897,1,1,2)
[2025-01-10 15:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14217897,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14217897,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:40:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:40:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:40:08] Production.INFO: ==665== Releasing lock...
[2025-01-10 15:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 15:40:08] Production.INFO: 26 MB #Memory Used#
[2025-01-10 15:40:13] Production.ERROR: CronJobId end10
[2025-01-10 15:40:13] Production.INFO: ==654== Releasing lock...
[2025-01-10 15:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 15:40:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 15:40:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 15:40:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 15:40:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 15:40:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 15:40:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 15:40:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 15:40:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 15:40:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 15:40:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 15:40:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 15:40:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 15:40:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 15:40:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 15:40:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 15:40:15] Production.INFO: call_cost start
[2025-01-10 15:40:15] Production.INFO: call_cost end
[2025-01-10 15:40:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 15:40:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 15:40:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 15:40:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 15:40:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 15:40:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 15:40:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 15:40:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 15:40:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 15:40:15] Production.INFO: ==649== Releasing lock...
[2025-01-10 15:40:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 15:40:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 15:40:20] Production.INFO: count ==3445
[2025-01-10 15:40:22] Production.ERROR: pbx CDR StartTime 2025-01-10 12:40:05 - End Time 2025-01-10 15:40:05
[2025-01-10 15:40:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 15:40:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217898', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:40:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217898', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:40:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217898', 'tblTempVendorCDR_20' ) start
[2025-01-10 15:40:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217898', 'tblTempVendorCDR_20' ) end
[2025-01-10 15:40:22] Production.INFO: ProcessCDR(1,14217898,1,1,2)
[2025-01-10 15:40:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217898,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:40:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217898,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:40:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217898,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:40:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217898,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:40:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217898', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:40:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217898', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:40:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:40:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:40:27] Production.INFO: ==663== Releasing lock...
[2025-01-10 15:40:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 15:40:27] Production.INFO: 54 MB #Memory Used#
[2025-01-10 20:41:01] Production.INFO: ==742== Lock acquired, processing the job...
[2025-01-10 20:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 20:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 20:41:01] Production.INFO: neon service started
[2025-01-10 20:41:01] Production.INFO: neon service started
[2025-01-10 20:41:01] Production.INFO: ==742== Releasing lock...
[2025-01-10 20:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 20:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 15:41:02] Production.INFO: ==747== Lock acquired, processing the job...
[2025-01-10 15:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 20:41:02] Production.INFO: ==749== Lock acquired, processing the job...
[2025-01-10 20:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 20:41:02] Production.INFO: ==749== Releasing lock...
[2025-01-10 20:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 20:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 15:41:02] Production.INFO: ==747== Releasing lock...
[2025-01-10 15:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 15:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:41:03] Production.INFO: ==753== Lock acquired, processing the job...
[2025-01-10 15:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 15:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 15:41:03] Production.INFO: ==757== Lock acquired, processing the job...
[2025-01-10 15:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 15:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 15:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 15:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 15:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 15:41:03] Production.INFO: ==763== Lock acquired, processing the job...
[2025-01-10 15:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 15:41:03] Production.INFO: ==755== Lock acquired, processing the job...
[2025-01-10 15:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 15:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:41:03] Production.INFO: ==761== Lock acquired, processing the job...
[2025-01-10 15:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 15:41:03] Production.INFO: ==759== Lock acquired, processing the job...
[2025-01-10 15:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 15:41:03] Production.INFO: count ==21
[2025-01-10 15:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:41:03] Production.INFO: count ==21
[2025-01-10 15:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217900') start
[2025-01-10 15:41:03] Production.INFO: Account Balance Start.
[2025-01-10 15:41:03] Production.INFO: CreateAllLog Start
[2025-01-10 15:41:03] Production.INFO: 117
[2025-01-10 15:41:03] Production.INFO: Date 2025-01-08
[2025-01-10 15:41:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217900') end
[2025-01-10 15:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 15:41:03] Production.INFO: 1
[2025-01-10 15:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 15:41:03] Production.INFO: Date 2025-01-09
[2025-01-10 15:41:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:41:03] Production.INFO: ==763== Releasing lock...
[2025-01-10 15:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 15:41:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 15:41:03] Production.ERROR: done
[2025-01-10 15:41:03] Production.INFO: Date 2025-01-10
[2025-01-10 15:41:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:41:03] Production.INFO: ==755== Releasing lock...
[2025-01-10 15:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 15:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 15:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 15:41:03] Production.INFO: Total Charge 0
[2025-01-10 15:41:04] Production.INFO: CreateAllLog End
[2025-01-10 15:41:04] Production.ERROR: done
[2025-01-10 15:41:04] Production.INFO: Account Balance End.
[2025-01-10 15:41:04] Production.ERROR: CronJobId end 12
[2025-01-10 15:41:04] Production.INFO: ==759== Releasing lock...
[2025-01-10 15:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 15:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 15:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 12:41:05
[end_date_ymd] => 2025-01-10 15:41:05
[RateCDR] => 1
)
[2025-01-10 15:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 12:41:05' and `end` < '2025-01-10 15:41:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 15:41:11] Production.ERROR: CronJobId end10
[2025-01-10 15:41:11] Production.INFO: ==757== Releasing lock...
[2025-01-10 15:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 15:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 15:41:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 15:41:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 15:41:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 15:41:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 15:41:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 15:41:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 15:41:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 15:41:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 15:41:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 15:41:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 15:41:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 15:41:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 15:41:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 15:41:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 15:41:13] Production.INFO: call_cost start
[2025-01-10 15:41:13] Production.INFO: call_cost end
[2025-01-10 15:41:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 15:41:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 15:41:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 15:41:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 15:41:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 15:41:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 15:41:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 15:41:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 15:41:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 15:41:13] Production.INFO: ==753== Releasing lock...
[2025-01-10 15:41:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 15:41:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 15:41:22] Production.INFO: count ==3515
[2025-01-10 15:41:23] Production.ERROR: pbx CDR StartTime 2025-01-10 12:41:05 - End Time 2025-01-10 15:41:05
[2025-01-10 15:41:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 15:41:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217903', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:41:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217903', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:41:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217903', 'tblTempVendorCDR_20' ) start
[2025-01-10 15:41:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217903', 'tblTempVendorCDR_20' ) end
[2025-01-10 15:41:23] Production.INFO: ProcessCDR(1,14217903,1,1,2)
[2025-01-10 15:41:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217903,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:41:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217903,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:41:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217903,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:41:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217903,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:41:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217903', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:41:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217903', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:41:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:41:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:41:28] Production.INFO: ==761== Releasing lock...
[2025-01-10 15:41:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 15:41:28] Production.INFO: 54.75 MB #Memory Used#
[2025-01-10 20:42:01] Production.INFO: ==822== Lock acquired, processing the job...
[2025-01-10 20:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 20:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 20:42:02] Production.INFO: neon service started
[2025-01-10 20:42:02] Production.INFO: neon service started
[2025-01-10 20:42:02] Production.INFO: ==822== Releasing lock...
[2025-01-10 20:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 20:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 15:42:02] Production.INFO: ==824== Lock acquired, processing the job...
[2025-01-10 15:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 20:42:02] Production.INFO: ==826== Lock acquired, processing the job...
[2025-01-10 20:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:42:02] Production.INFO: ==824== Releasing lock...
[2025-01-10 15:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 15:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 20:42:02] Production.INFO: ==826== Releasing lock...
[2025-01-10 20:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 20:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 15:42:03] Production.INFO: ==828== Lock acquired, processing the job...
[2025-01-10 15:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 15:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 15:42:03] Production.INFO: ==836== Lock acquired, processing the job...
[2025-01-10 15:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 15:42:03] Production.INFO: ==830== Lock acquired, processing the job...
[2025-01-10 15:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 15:42:03] Production.INFO: ==832== Lock acquired, processing the job...
[2025-01-10 15:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 15:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:42:03] Production.INFO: ==838== Lock acquired, processing the job...
[2025-01-10 15:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 15:42:03] Production.INFO: ==834== Lock acquired, processing the job...
[2025-01-10 15:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 15:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 15:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 15:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 15:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 15:42:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:42:03] Production.INFO: count ==21
[2025-01-10 15:42:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:42:03] Production.INFO: count ==21
[2025-01-10 15:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217906') start
[2025-01-10 15:42:03] Production.INFO: Account Balance Start.
[2025-01-10 15:42:03] Production.INFO: CreateAllLog Start
[2025-01-10 15:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217906') end
[2025-01-10 15:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 15:42:04] Production.INFO: 1
[2025-01-10 15:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 15:42:04] Production.ERROR: done
[2025-01-10 15:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 15:42:04] Production.INFO: 117
[2025-01-10 15:42:04] Production.INFO: Date 2025-01-08
[2025-01-10 15:42:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:42:04] Production.INFO: ==838== Releasing lock...
[2025-01-10 15:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 15:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 15:42:04] Production.INFO: Date 2025-01-09
[2025-01-10 15:42:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:42:04] Production.INFO: ==830== Releasing lock...
[2025-01-10 15:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 15:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 15:42:04] Production.ERROR: done
[2025-01-10 15:42:04] Production.INFO: Date 2025-01-10
[2025-01-10 15:42:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:42:04] Production.INFO: Total Charge 0
[2025-01-10 15:42:04] Production.INFO: CreateAllLog End
[2025-01-10 15:42:04] Production.INFO: Account Balance End.
[2025-01-10 15:42:04] Production.ERROR: CronJobId end 12
[2025-01-10 15:42:04] Production.INFO: ==834== Releasing lock...
[2025-01-10 15:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 15:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 15:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 12:42:05
[end_date_ymd] => 2025-01-10 15:42:05
[RateCDR] => 1
)
[2025-01-10 15:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 12:42:05' and `end` < '2025-01-10 15:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 15:42:11] Production.ERROR: CronJobId end10
[2025-01-10 15:42:11] Production.INFO: ==832== Releasing lock...
[2025-01-10 15:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 15:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 15:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 15:42:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 15:42:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 15:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 15:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 15:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 15:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 15:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 15:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 15:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 15:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 15:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 15:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 15:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 15:42:13] Production.INFO: call_cost start
[2025-01-10 15:42:13] Production.INFO: call_cost end
[2025-01-10 15:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 15:42:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 15:42:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 15:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 15:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 15:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 15:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 15:42:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 15:42:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 15:42:14] Production.INFO: ==828== Releasing lock...
[2025-01-10 15:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 15:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 15:42:19] Production.INFO: count ==3509
[2025-01-10 15:42:21] Production.ERROR: pbx CDR StartTime 2025-01-10 12:42:05 - End Time 2025-01-10 15:42:05
[2025-01-10 15:42:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 15:42:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217908', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:42:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217908', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:42:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217908', 'tblTempVendorCDR_20' ) start
[2025-01-10 15:42:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217908', 'tblTempVendorCDR_20' ) end
[2025-01-10 15:42:21] Production.INFO: ProcessCDR(1,14217908,1,1,2)
[2025-01-10 15:42:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217908,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:42:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217908,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:42:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217908,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:42:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217908,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:42:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217908', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:42:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217908', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:42:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:42:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:42:26] Production.INFO: ==836== Releasing lock...
[2025-01-10 15:42:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 15:42:26] Production.INFO: 54.25 MB #Memory Used#
[2025-01-10 20:43:01] Production.INFO: ==912== Lock acquired, processing the job...
[2025-01-10 20:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 20:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 20:43:01] Production.INFO: neon service started
[2025-01-10 20:43:01] Production.INFO: neon service started
[2025-01-10 20:43:01] Production.INFO: ==912== Releasing lock...
[2025-01-10 20:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 20:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 15:43:01] Production.INFO: ==914== Lock acquired, processing the job...
[2025-01-10 15:43:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 15:43:02] Production.INFO: ==914== Releasing lock...
[2025-01-10 15:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 15:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 20:43:02] Production.INFO: ==916== Lock acquired, processing the job...
[2025-01-10 20:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 20:43:02] Production.INFO: ==916== Releasing lock...
[2025-01-10 20:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 20:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 15:43:02] Production.INFO: ==920== Lock acquired, processing the job...
[2025-01-10 15:43:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 15:43:02] Production.INFO: ==918== Lock acquired, processing the job...
[2025-01-10 15:43:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 15:43:03] Production.INFO: ==929== Lock acquired, processing the job...
[2025-01-10 15:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 15:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 15:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:43:03] Production.INFO: ==922== Lock acquired, processing the job...
[2025-01-10 15:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 15:43:03] Production.INFO: count ==21
[2025-01-10 15:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:43:03] Production.INFO: count ==21
[2025-01-10 15:43:03] Production.INFO: ==920== Releasing lock...
[2025-01-10 15:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 15:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 15:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217910') start
[2025-01-10 15:43:03] Production.INFO: ==924== Lock acquired, processing the job...
[2025-01-10 15:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 15:43:03] Production.INFO: ==927== Lock acquired, processing the job...
[2025-01-10 15:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 15:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 15:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 15:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 15:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 15:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217910') end
[2025-01-10 15:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 15:43:03] Production.INFO: 1
[2025-01-10 15:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 15:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:43:03] Production.INFO: Account Balance Start.
[2025-01-10 15:43:03] Production.INFO: CreateAllLog Start
[2025-01-10 15:43:03] Production.INFO: 117
[2025-01-10 15:43:03] Production.INFO: ==929== Releasing lock...
[2025-01-10 15:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 15:43:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 15:43:03] Production.INFO: Date 2025-01-08
[2025-01-10 15:43:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:43:03] Production.INFO: Date 2025-01-09
[2025-01-10 15:43:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:43:03] Production.INFO: Date 2025-01-10
[2025-01-10 15:43:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:43:03] Production.ERROR: done
[2025-01-10 15:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 15:43:03] Production.INFO: Total Charge 0
[2025-01-10 15:43:03] Production.INFO: CreateAllLog End
[2025-01-10 15:43:04] Production.ERROR: done
[2025-01-10 15:43:04] Production.INFO: Account Balance End.
[2025-01-10 15:43:04] Production.ERROR: CronJobId end 12
[2025-01-10 15:43:04] Production.INFO: ==924== Releasing lock...
[2025-01-10 15:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 15:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 15:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 12:43:05
[end_date_ymd] => 2025-01-10 15:43:05
[RateCDR] => 1
)
[2025-01-10 15:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 12:43:05' and `end` < '2025-01-10 15:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 15:43:11] Production.ERROR: CronJobId end10
[2025-01-10 15:43:11] Production.INFO: ==922== Releasing lock...
[2025-01-10 15:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 15:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 15:43:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 15:43:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 15:43:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 15:43:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 15:43:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 15:43:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 15:43:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 15:43:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 15:43:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 15:43:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 15:43:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 15:43:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 15:43:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 15:43:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 15:43:13] Production.INFO: call_cost start
[2025-01-10 15:43:13] Production.INFO: call_cost end
[2025-01-10 15:43:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 15:43:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 15:43:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 15:43:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 15:43:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 15:43:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 15:43:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 15:43:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 15:43:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 15:43:14] Production.INFO: ==918== Releasing lock...
[2025-01-10 15:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 15:43:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 15:43:30] Production.INFO: count ==3514
[2025-01-10 15:43:32] Production.ERROR: pbx CDR StartTime 2025-01-10 12:43:05 - End Time 2025-01-10 15:43:05
[2025-01-10 15:43:32] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 15:43:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217913', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:43:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217913', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:43:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217913', 'tblTempVendorCDR_20' ) start
[2025-01-10 15:43:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217913', 'tblTempVendorCDR_20' ) end
[2025-01-10 15:43:32] Production.INFO: ProcessCDR(1,14217913,1,1,2)
[2025-01-10 15:43:32] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217913,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:43:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217913,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:43:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217913,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:43:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217913,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:43:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217913', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:43:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217913', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:43:36] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:43:37] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:43:37] Production.INFO: ==927== Releasing lock...
[2025-01-10 15:43:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 15:43:37] Production.INFO: 55.25 MB #Memory Used#
[2025-01-10 20:44:01] Production.INFO: ==1002== Lock acquired, processing the job...
[2025-01-10 20:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 20:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 20:44:01] Production.INFO: neon service started
[2025-01-10 20:44:01] Production.INFO: neon service started
[2025-01-10 20:44:01] Production.INFO: ==1002== Releasing lock...
[2025-01-10 20:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 20:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 20:44:02] Production.INFO: ==1007== Lock acquired, processing the job...
[2025-01-10 20:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 20:44:02] Production.INFO: ==1007== Releasing lock...
[2025-01-10 20:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 20:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 15:44:02] Production.INFO: ==1005== Lock acquired, processing the job...
[2025-01-10 15:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 15:44:02] Production.INFO: ==1005== Releasing lock...
[2025-01-10 15:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 15:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:44:03] Production.INFO: ==1009== Lock acquired, processing the job...
[2025-01-10 15:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 15:44:03] Production.INFO: ==1019== Lock acquired, processing the job...
[2025-01-10 15:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 15:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 15:44:03] Production.INFO: ==1011== Lock acquired, processing the job...
[2025-01-10 15:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 15:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:44:03] Production.INFO: ==1013== Lock acquired, processing the job...
[2025-01-10 15:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 15:44:03] Production.INFO: count ==21
[2025-01-10 15:44:03] Production.INFO: ==1017== Lock acquired, processing the job...
[2025-01-10 15:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 15:44:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:44:03] Production.INFO: count ==21
[2025-01-10 15:44:03] Production.INFO: ==1015== Lock acquired, processing the job...
[2025-01-10 15:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 15:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217915') start
[2025-01-10 15:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 15:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 15:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 15:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 15:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217915') end
[2025-01-10 15:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 15:44:04] Production.INFO: 1
[2025-01-10 15:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 15:44:04] Production.INFO: Account Balance Start.
[2025-01-10 15:44:04] Production.INFO: CreateAllLog Start
[2025-01-10 15:44:04] Production.INFO: 117
[2025-01-10 15:44:04] Production.INFO: Date 2025-01-08
[2025-01-10 15:44:04] Production.INFO: ==1019== Releasing lock...
[2025-01-10 15:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 15:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 15:44:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:44:04] Production.INFO: Date 2025-01-09
[2025-01-10 15:44:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:44:04] Production.INFO: ==1011== Releasing lock...
[2025-01-10 15:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 15:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 15:44:04] Production.INFO: Date 2025-01-10
[2025-01-10 15:44:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:44:04] Production.ERROR: done
[2025-01-10 15:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 15:44:04] Production.INFO: Total Charge 0
[2025-01-10 15:44:04] Production.INFO: CreateAllLog End
[2025-01-10 15:44:04] Production.ERROR: done
[2025-01-10 15:44:04] Production.INFO: Account Balance End.
[2025-01-10 15:44:04] Production.ERROR: CronJobId end 12
[2025-01-10 15:44:04] Production.INFO: ==1015== Releasing lock...
[2025-01-10 15:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 15:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 15:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 12:44:05
[end_date_ymd] => 2025-01-10 15:44:05
[RateCDR] => 1
)
[2025-01-10 15:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 12:44:05' and `end` < '2025-01-10 15:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 15:44:12] Production.ERROR: CronJobId end10
[2025-01-10 15:44:12] Production.INFO: ==1013== Releasing lock...
[2025-01-10 15:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 15:44:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 15:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 15:44:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 15:44:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 15:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 15:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 15:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 15:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 15:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 15:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 15:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 15:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 15:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 15:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 15:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 15:44:14] Production.INFO: call_cost start
[2025-01-10 15:44:14] Production.INFO: call_cost end
[2025-01-10 15:44:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 15:44:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 15:44:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 15:44:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 15:44:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 15:44:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 15:44:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 15:44:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 15:44:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 15:44:14] Production.INFO: ==1009== Releasing lock...
[2025-01-10 15:44:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 15:44:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 15:44:27] Production.INFO: count ==3534
[2025-01-10 15:44:28] Production.ERROR: pbx CDR StartTime 2025-01-10 12:44:05 - End Time 2025-01-10 15:44:05
[2025-01-10 15:44:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 15:44:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217918', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:44:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217918', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:44:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217918', 'tblTempVendorCDR_20' ) start
[2025-01-10 15:44:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217918', 'tblTempVendorCDR_20' ) end
[2025-01-10 15:44:29] Production.INFO: ProcessCDR(1,14217918,1,1,2)
[2025-01-10 15:44:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217918,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:44:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217918,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:44:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217918,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:44:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217918,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:44:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217918', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:44:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217918', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:44:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:44:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:44:33] Production.INFO: ==1017== Releasing lock...
[2025-01-10 15:44:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 15:44:33] Production.INFO: 54.5 MB #Memory Used#
[2025-01-10 20:45:02] Production.INFO: ==1097== Lock acquired, processing the job...
[2025-01-10 20:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 20:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 20:45:02] Production.INFO: neon service started
[2025-01-10 20:45:02] Production.INFO: neon service started
[2025-01-10 20:45:02] Production.INFO: ==1097== Releasing lock...
[2025-01-10 20:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 20:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 15:45:02] Production.INFO: ==1102== Lock acquired, processing the job...
[2025-01-10 15:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 20:45:02] Production.INFO: ==1104== Lock acquired, processing the job...
[2025-01-10 20:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 20:45:02] Production.INFO: ==1104== Releasing lock...
[2025-01-10 20:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 20:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 15:45:03] Production.INFO: ==1102== Releasing lock...
[2025-01-10 15:45:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 15:45:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:45:04] Production.INFO: ==1112== Lock acquired, processing the job...
[2025-01-10 15:45:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 15:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 15:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 15:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 15:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 15:45:04] Production.INFO: ==1108== Lock acquired, processing the job...
[2025-01-10 15:45:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 15:45:04] Production.INFO: ==1118== Lock acquired, processing the job...
[2025-01-10 15:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 15:45:04] Production.INFO: ==1110== Lock acquired, processing the job...
[2025-01-10 15:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 15:45:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 15:45:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:45:04] Production.INFO: count ==21
[2025-01-10 15:45:04] Production.INFO: ==1114== Lock acquired, processing the job...
[2025-01-10 15:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 15:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:45:04] Production.INFO: count ==21
[2025-01-10 15:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217919') start
[2025-01-10 15:45:04] Production.INFO: ==1116== Lock acquired, processing the job...
[2025-01-10 15:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 15:45:04] Production.INFO: Account Balance Start.
[2025-01-10 15:45:04] Production.INFO: CreateAllLog Start
[2025-01-10 15:45:04] Production.INFO: 117
[2025-01-10 15:45:04] Production.INFO: Date 2025-01-08
[2025-01-10 15:45:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:45:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:45:04] Production.INFO: Date 2025-01-09
[2025-01-10 15:45:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:45:04] Production.INFO: Date 2025-01-10
[2025-01-10 15:45:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217919') end
[2025-01-10 15:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 15:45:04] Production.INFO: 1
[2025-01-10 15:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 15:45:04] Production.INFO: ==1118== Releasing lock...
[2025-01-10 15:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 15:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 15:45:04] Production.INFO: Total Charge 0
[2025-01-10 15:45:04] Production.INFO: CreateAllLog End
[2025-01-10 15:45:04] Production.INFO: ==1110== Releasing lock...
[2025-01-10 15:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 15:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 15:45:04] Production.ERROR: done
[2025-01-10 15:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 15:45:04] Production.INFO: Account Balance End.
[2025-01-10 15:45:04] Production.ERROR: CronJobId end 12
[2025-01-10 15:45:04] Production.INFO: ==1114== Releasing lock...
[2025-01-10 15:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 15:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 15:45:05] Production.ERROR: done
[2025-01-10 15:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 12:45:05
[end_date_ymd] => 2025-01-10 15:45:05
[RateCDR] => 1
)
[2025-01-10 15:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 12:45:05' and `end` < '2025-01-10 15:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 15:45:13] Production.ERROR: CronJobId end10
[2025-01-10 15:45:13] Production.INFO: ==1112== Releasing lock...
[2025-01-10 15:45:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 15:45:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 15:45:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 15:45:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 15:45:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 15:45:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 15:45:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 15:45:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 15:45:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 15:45:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 15:45:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 15:45:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 15:45:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 15:45:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 15:45:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 15:45:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 15:45:14] Production.INFO: call_cost start
[2025-01-10 15:45:14] Production.INFO: call_cost end
[2025-01-10 15:45:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 15:45:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 15:45:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 15:45:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 15:45:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 15:45:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 15:45:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 15:45:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 15:45:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 15:45:15] Production.INFO: ==1108== Releasing lock...
[2025-01-10 15:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 15:45:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 15:45:28] Production.INFO: count ==3546
[2025-01-10 15:45:29] Production.ERROR: pbx CDR StartTime 2025-01-10 12:45:05 - End Time 2025-01-10 15:45:05
[2025-01-10 15:45:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 15:45:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217923', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:45:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217923', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:45:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217923', 'tblTempVendorCDR_20' ) start
[2025-01-10 15:45:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217923', 'tblTempVendorCDR_20' ) end
[2025-01-10 15:45:30] Production.INFO: ProcessCDR(1,14217923,1,1,2)
[2025-01-10 15:45:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217923,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:45:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217923,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:45:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217923,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:45:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217923,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:45:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217923', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:45:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217923', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:45:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:45:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:45:34] Production.INFO: ==1116== Releasing lock...
[2025-01-10 15:45:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 15:45:34] Production.INFO: 54.5 MB #Memory Used#
[2025-01-10 20:46:01] Production.INFO: ==1202== Lock acquired, processing the job...
[2025-01-10 20:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 20:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 20:46:01] Production.INFO: neon service started
[2025-01-10 20:46:01] Production.INFO: neon service started
[2025-01-10 20:46:01] Production.INFO: ==1202== Releasing lock...
[2025-01-10 20:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 20:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 15:46:02] Production.INFO: ==1205== Lock acquired, processing the job...
[2025-01-10 15:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 15:46:02] Production.INFO: ==1205== Releasing lock...
[2025-01-10 15:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 15:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 20:46:02] Production.INFO: ==1207== Lock acquired, processing the job...
[2025-01-10 20:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 20:46:02] Production.INFO: ==1207== Releasing lock...
[2025-01-10 20:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 20:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 15:46:03] Production.INFO: ==1209== Lock acquired, processing the job...
[2025-01-10 15:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 15:46:03] Production.INFO: ==1211== Lock acquired, processing the job...
[2025-01-10 15:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 15:46:03] Production.INFO: ==1213== Lock acquired, processing the job...
[2025-01-10 15:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 15:46:03] Production.INFO: ==1217== Lock acquired, processing the job...
[2025-01-10 15:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 15:46:03] Production.INFO: ==1215== Lock acquired, processing the job...
[2025-01-10 15:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 15:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 15:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 15:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 15:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 15:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 15:46:03] Production.INFO: ==1219== Lock acquired, processing the job...
[2025-01-10 15:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 15:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:46:03] Production.INFO: Account Balance Start.
[2025-01-10 15:46:03] Production.INFO: CreateAllLog Start
[2025-01-10 15:46:03] Production.INFO: 117
[2025-01-10 15:46:03] Production.INFO: Date 2025-01-08
[2025-01-10 15:46:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:46:03] Production.INFO: ==1211== Releasing lock...
[2025-01-10 15:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 15:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 15:46:03] Production.INFO: Date 2025-01-09
[2025-01-10 15:46:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:46:03] Production.INFO: Date 2025-01-10
[2025-01-10 15:46:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:46:03] Production.INFO: Total Charge 0
[2025-01-10 15:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:46:03] Production.INFO: CreateAllLog End
[2025-01-10 15:46:04] Production.INFO: count ==21
[2025-01-10 15:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:46:04] Production.ERROR: done
[2025-01-10 15:46:04] Production.INFO: count ==21
[2025-01-10 15:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 15:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217927') start
[2025-01-10 15:46:04] Production.INFO: Account Balance End.
[2025-01-10 15:46:04] Production.ERROR: done
[2025-01-10 15:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217927') end
[2025-01-10 15:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 15:46:04] Production.INFO: 1
[2025-01-10 15:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 15:46:04] Production.ERROR: CronJobId end 12
[2025-01-10 15:46:04] Production.INFO: ==1219== Releasing lock...
[2025-01-10 15:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 15:46:04] Production.INFO: ==1215== Releasing lock...
[2025-01-10 15:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 15:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 15:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 15:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 12:46:05
[end_date_ymd] => 2025-01-10 15:46:05
[RateCDR] => 1
)
[2025-01-10 15:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 12:46:05' and `end` < '2025-01-10 15:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 15:46:12] Production.ERROR: CronJobId end10
[2025-01-10 15:46:12] Production.INFO: ==1213== Releasing lock...
[2025-01-10 15:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 15:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 15:46:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 15:46:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 15:46:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 15:46:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 15:46:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 15:46:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 15:46:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 15:46:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 15:46:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 15:46:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 15:46:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 15:46:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 15:46:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 15:46:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 15:46:14] Production.INFO: call_cost start
[2025-01-10 15:46:14] Production.INFO: call_cost end
[2025-01-10 15:46:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 15:46:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 15:46:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 15:46:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 15:46:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 15:46:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 15:46:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 15:46:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 15:46:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 15:46:15] Production.INFO: ==1209== Releasing lock...
[2025-01-10 15:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 15:46:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 15:46:23] Production.INFO: count ==3533
[2025-01-10 15:46:25] Production.ERROR: pbx CDR StartTime 2025-01-10 12:46:05 - End Time 2025-01-10 15:46:05
[2025-01-10 15:46:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 15:46:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217928', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:46:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217928', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:46:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217928', 'tblTempVendorCDR_20' ) start
[2025-01-10 15:46:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217928', 'tblTempVendorCDR_20' ) end
[2025-01-10 15:46:25] Production.INFO: ProcessCDR(1,14217928,1,1,2)
[2025-01-10 15:46:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217928,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:46:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217928,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:46:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217928,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:46:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217928,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:46:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217928', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:46:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217928', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:46:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:46:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:46:30] Production.INFO: ==1217== Releasing lock...
[2025-01-10 15:46:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 15:46:30] Production.INFO: 55 MB #Memory Used#
[2025-01-10 20:47:02] Production.INFO: ==1309== Lock acquired, processing the job...
[2025-01-10 20:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 20:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 20:47:02] Production.INFO: neon service started
[2025-01-10 20:47:02] Production.INFO: neon service started
[2025-01-10 20:47:02] Production.INFO: ==1309== Releasing lock...
[2025-01-10 20:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 20:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 15:47:02] Production.INFO: ==1311== Lock acquired, processing the job...
[2025-01-10 15:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 20:47:02] Production.INFO: ==1314== Lock acquired, processing the job...
[2025-01-10 20:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 15:47:02] Production.INFO: ==1311== Releasing lock...
[2025-01-10 15:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 15:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 20:47:03] Production.INFO: ==1314== Releasing lock...
[2025-01-10 20:47:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 20:47:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 15:47:03] Production.INFO: ==1322== Lock acquired, processing the job...
[2025-01-10 15:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 15:47:03] Production.INFO: ==1326== Lock acquired, processing the job...
[2025-01-10 15:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 15:47:03] Production.INFO: ==1318== Lock acquired, processing the job...
[2025-01-10 15:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 15:47:03] Production.INFO: ==1316== Lock acquired, processing the job...
[2025-01-10 15:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 15:47:03] Production.INFO: Account Balance Start.
[2025-01-10 15:47:03] Production.INFO: CreateAllLog Start
[2025-01-10 15:47:03] Production.INFO: ==1320== Lock acquired, processing the job...
[2025-01-10 15:47:03] Production.INFO: 117
[2025-01-10 15:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 15:47:03] Production.INFO: Date 2025-01-08
[2025-01-10 15:47:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:47:04] Production.INFO: Date 2025-01-09
[2025-01-10 15:47:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:47:04] Production.INFO: count ==21
[2025-01-10 15:47:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 15:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:47:04] Production.INFO: count ==21
[2025-01-10 15:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217930') start
[2025-01-10 15:47:04] Production.INFO: Date 2025-01-10
[2025-01-10 15:47:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 15:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 15:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 15:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 15:47:04] Production.INFO: Total Charge 0
[2025-01-10 15:47:04] Production.INFO: ==1324== Lock acquired, processing the job...
[2025-01-10 15:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 15:47:04] Production.INFO: CreateAllLog End
[2025-01-10 15:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217930') end
[2025-01-10 15:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 15:47:04] Production.INFO: 1
[2025-01-10 15:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 15:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:47:04] Production.INFO: ==1326== Releasing lock...
[2025-01-10 15:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 15:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 15:47:04] Production.INFO: ==1318== Releasing lock...
[2025-01-10 15:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 15:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 15:47:04] Production.INFO: Account Balance End.
[2025-01-10 15:47:04] Production.ERROR: CronJobId end 12
[2025-01-10 15:47:04] Production.INFO: ==1322== Releasing lock...
[2025-01-10 15:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 15:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 15:47:04] Production.ERROR: done
[2025-01-10 15:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 15:47:04] Production.ERROR: done
[2025-01-10 15:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 12:47:05
[end_date_ymd] => 2025-01-10 15:47:05
[RateCDR] => 1
)
[2025-01-10 15:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 12:47:05' and `end` < '2025-01-10 15:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 15:47:12] Production.ERROR: CronJobId end10
[2025-01-10 15:47:12] Production.INFO: ==1320== Releasing lock...
[2025-01-10 15:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 15:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 15:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 15:47:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 15:47:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 15:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 15:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 15:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 15:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 15:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 15:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 15:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 15:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 15:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 15:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 15:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 15:47:14] Production.INFO: call_cost start
[2025-01-10 15:47:14] Production.INFO: call_cost end
[2025-01-10 15:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 15:47:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 15:47:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 15:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 15:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 15:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 15:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 15:47:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 15:47:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 15:47:15] Production.INFO: ==1316== Releasing lock...
[2025-01-10 15:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 15:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 15:47:29] Production.INFO: count ==3524
[2025-01-10 15:47:31] Production.ERROR: pbx CDR StartTime 2025-01-10 12:47:05 - End Time 2025-01-10 15:47:05
[2025-01-10 15:47:31] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 15:47:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217933', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:47:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217933', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:47:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217933', 'tblTempVendorCDR_20' ) start
[2025-01-10 15:47:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217933', 'tblTempVendorCDR_20' ) end
[2025-01-10 15:47:31] Production.INFO: ProcessCDR(1,14217933,1,1,2)
[2025-01-10 15:47:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217933,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:47:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217933,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:47:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217933,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:47:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217933,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:47:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217933', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:47:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217933', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:47:36] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:47:36] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:47:36] Production.INFO: ==1324== Releasing lock...
[2025-01-10 15:47:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 15:47:36] Production.INFO: 54.5 MB #Memory Used#
[2025-01-10 20:48:01] Production.INFO: ==1399== Lock acquired, processing the job...
[2025-01-10 20:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 20:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 20:48:01] Production.INFO: neon service started
[2025-01-10 20:48:01] Production.INFO: neon service started
[2025-01-10 20:48:01] Production.INFO: ==1399== Releasing lock...
[2025-01-10 20:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 20:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 20:48:02] Production.INFO: ==1403== Lock acquired, processing the job...
[2025-01-10 20:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 20:48:02] Production.INFO: ==1403== Releasing lock...
[2025-01-10 20:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 20:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 15:48:02] Production.INFO: ==1401== Lock acquired, processing the job...
[2025-01-10 15:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 15:48:02] Production.INFO: ==1401== Releasing lock...
[2025-01-10 15:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 15:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:48:03] Production.INFO: ==1412== Lock acquired, processing the job...
[2025-01-10 15:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 15:48:03] Production.INFO: Account Balance Start.
[2025-01-10 15:48:03] Production.INFO: CreateAllLog Start
[2025-01-10 15:48:03] Production.INFO: 117
[2025-01-10 15:48:03] Production.INFO: Date 2025-01-08
[2025-01-10 15:48:03] Production.INFO: ==1416== Lock acquired, processing the job...
[2025-01-10 15:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 15:48:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:48:03] Production.INFO: ==1406== Lock acquired, processing the job...
[2025-01-10 15:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 15:48:03] Production.INFO: Date 2025-01-09
[2025-01-10 15:48:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:48:03] Production.INFO: Date 2025-01-10
[2025-01-10 15:48:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 15:48:03] Production.INFO: count ==21
[2025-01-10 15:48:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:48:03] Production.INFO: count ==21
[2025-01-10 15:48:03] Production.INFO: Total Charge 0
[2025-01-10 15:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217935') start
[2025-01-10 15:48:03] Production.INFO: ==1408== Lock acquired, processing the job...
[2025-01-10 15:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 15:48:03] Production.INFO: CreateAllLog End
[2025-01-10 15:48:03] Production.INFO: ==1410== Lock acquired, processing the job...
[2025-01-10 15:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 15:48:03] Production.INFO: ==1414== Lock acquired, processing the job...
[2025-01-10 15:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 15:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217935') end
[2025-01-10 15:48:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 15:48:03] Production.INFO: 1
[2025-01-10 15:48:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 15:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 15:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 15:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 15:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 15:48:03] Production.INFO: Account Balance End.
[2025-01-10 15:48:03] Production.INFO: ==1416== Releasing lock...
[2025-01-10 15:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 15:48:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 15:48:03] Production.ERROR: CronJobId end 12
[2025-01-10 15:48:03] Production.INFO: ==1412== Releasing lock...
[2025-01-10 15:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 15:48:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 15:48:04] Production.INFO: ==1408== Releasing lock...
[2025-01-10 15:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 15:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 15:48:04] Production.ERROR: done
[2025-01-10 15:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 15:48:04] Production.ERROR: done
[2025-01-10 15:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 12:48:05
[end_date_ymd] => 2025-01-10 15:48:05
[RateCDR] => 1
)
[2025-01-10 15:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 12:48:05' and `end` < '2025-01-10 15:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 15:48:11] Production.ERROR: CronJobId end10
[2025-01-10 15:48:11] Production.INFO: ==1410== Releasing lock...
[2025-01-10 15:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 15:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 15:48:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 15:48:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 15:48:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 15:48:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 15:48:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 15:48:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 15:48:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 15:48:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 15:48:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 15:48:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 15:48:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 15:48:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 15:48:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 15:48:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 15:48:12] Production.INFO: call_cost start
[2025-01-10 15:48:12] Production.INFO: call_cost end
[2025-01-10 15:48:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 15:48:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 15:48:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 15:48:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 15:48:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 15:48:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 15:48:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 15:48:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 15:48:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 15:48:13] Production.INFO: ==1406== Releasing lock...
[2025-01-10 15:48:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 15:48:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 15:48:24] Production.INFO: count ==3505
[2025-01-10 15:48:26] Production.ERROR: pbx CDR StartTime 2025-01-10 12:48:05 - End Time 2025-01-10 15:48:05
[2025-01-10 15:48:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 15:48:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217938', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:48:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217938', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:48:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217938', 'tblTempVendorCDR_20' ) start
[2025-01-10 15:48:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217938', 'tblTempVendorCDR_20' ) end
[2025-01-10 15:48:26] Production.INFO: ProcessCDR(1,14217938,1,1,2)
[2025-01-10 15:48:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217938,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:48:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217938,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:48:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217938,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:48:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217938,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:48:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217938', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:48:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217938', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:48:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:48:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:48:30] Production.INFO: ==1414== Releasing lock...
[2025-01-10 15:48:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 15:48:30] Production.INFO: 55 MB #Memory Used#
[2025-01-10 20:49:02] Production.INFO: ==1489== Lock acquired, processing the job...
[2025-01-10 20:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 20:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 20:49:02] Production.INFO: neon service started
[2025-01-10 20:49:02] Production.INFO: neon service started
[2025-01-10 20:49:02] Production.INFO: ==1489== Releasing lock...
[2025-01-10 20:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 20:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 20:49:02] Production.INFO: ==1493== Lock acquired, processing the job...
[2025-01-10 20:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 20:49:02] Production.INFO: ==1493== Releasing lock...
[2025-01-10 20:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 20:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 15:49:02] Production.INFO: ==1491== Lock acquired, processing the job...
[2025-01-10 15:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 15:49:02] Production.INFO: ==1491== Releasing lock...
[2025-01-10 15:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 15:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:49:03] Production.INFO: ==1537== Lock acquired, processing the job...
[2025-01-10 15:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 15:49:03] Production.INFO: ==1535== Lock acquired, processing the job...
[2025-01-10 15:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 15:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:49:03] Production.INFO: ==1498== Lock acquired, processing the job...
[2025-01-10 15:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 15:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:49:03] Production.INFO: ==1505== Lock acquired, processing the job...
[2025-01-10 15:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 15:49:03] Production.INFO: ==1496== Lock acquired, processing the job...
[2025-01-10 15:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 15:49:03] Production.INFO: ==1500== Lock acquired, processing the job...
[2025-01-10 15:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 15:49:03] Production.INFO: count ==21
[2025-01-10 15:49:03] Production.INFO: Account Balance Start.
[2025-01-10 15:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:49:03] Production.INFO: CreateAllLog Start
[2025-01-10 15:49:03] Production.INFO: count ==21
[2025-01-10 15:49:03] Production.INFO: 117
[2025-01-10 15:49:03] Production.INFO: Date 2025-01-08
[2025-01-10 15:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 15:49:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217939') start
[2025-01-10 15:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 15:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 15:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 15:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 15:49:04] Production.INFO: Date 2025-01-09
[2025-01-10 15:49:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:49:04] Production.INFO: Date 2025-01-10
[2025-01-10 15:49:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:49:04] Production.ERROR: done
[2025-01-10 15:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 15:49:04] Production.INFO: Total Charge 0
[2025-01-10 15:49:04] Production.INFO: CreateAllLog End
[2025-01-10 15:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217939') end
[2025-01-10 15:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 15:49:04] Production.INFO: 1
[2025-01-10 15:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 15:49:04] Production.ERROR: done
[2025-01-10 15:49:04] Production.INFO: ==1537== Releasing lock...
[2025-01-10 15:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 15:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 15:49:04] Production.INFO: ==1498== Releasing lock...
[2025-01-10 15:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 15:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 15:49:04] Production.INFO: Account Balance End.
[2025-01-10 15:49:04] Production.ERROR: CronJobId end 12
[2025-01-10 15:49:04] Production.INFO: ==1505== Releasing lock...
[2025-01-10 15:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 15:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 15:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 12:49:05
[end_date_ymd] => 2025-01-10 15:49:05
[RateCDR] => 1
)
[2025-01-10 15:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 12:49:05' and `end` < '2025-01-10 15:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 15:49:12] Production.ERROR: CronJobId end10
[2025-01-10 15:49:12] Production.INFO: ==1500== Releasing lock...
[2025-01-10 15:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 15:49:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 15:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 15:49:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 15:49:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 15:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 15:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 15:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 15:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 15:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 15:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 15:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 15:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 15:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 15:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 15:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 15:49:13] Production.INFO: call_cost start
[2025-01-10 15:49:13] Production.INFO: call_cost end
[2025-01-10 15:49:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 15:49:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 15:49:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 15:49:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 15:49:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 15:49:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 15:49:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 15:49:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 15:49:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 15:49:14] Production.INFO: ==1496== Releasing lock...
[2025-01-10 15:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 15:49:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 15:49:24] Production.INFO: count ==3491
[2025-01-10 15:49:26] Production.ERROR: pbx CDR StartTime 2025-01-10 12:49:05 - End Time 2025-01-10 15:49:05
[2025-01-10 15:49:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 15:49:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217943', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:49:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217943', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:49:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217943', 'tblTempVendorCDR_20' ) start
[2025-01-10 15:49:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217943', 'tblTempVendorCDR_20' ) end
[2025-01-10 15:49:26] Production.INFO: ProcessCDR(1,14217943,1,1,2)
[2025-01-10 15:49:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217943,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:49:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217943,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:49:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217943,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:49:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217943,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:49:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217943', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:49:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217943', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:49:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:49:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:49:30] Production.INFO: ==1535== Releasing lock...
[2025-01-10 15:49:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 15:49:30] Production.INFO: 54.5 MB #Memory Used#
[2025-01-10 20:50:01] Production.INFO: ==1623== Lock acquired, processing the job...
[2025-01-10 20:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 20:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 20:50:01] Production.INFO: neon service started
[2025-01-10 20:50:01] Production.INFO: neon service started
[2025-01-10 20:50:01] Production.INFO: ==1623== Releasing lock...
[2025-01-10 20:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 20:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 15:50:01] Production.INFO: ==1625== Lock acquired, processing the job...
[2025-01-10 15:50:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 15:50:02] Production.INFO: ==1625== Releasing lock...
[2025-01-10 15:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 15:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 20:50:02] Production.INFO: ==1627== Lock acquired, processing the job...
[2025-01-10 20:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 20:50:02] Production.INFO: ==1627== Releasing lock...
[2025-01-10 20:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 20:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 15:50:03] Production.INFO: ==1630== Lock acquired, processing the job...
[2025-01-10 15:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 15:50:03] Production.INFO: ==1632== Lock acquired, processing the job...
[2025-01-10 15:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 15:50:03] Production.INFO: ==1634== Lock acquired, processing the job...
[2025-01-10 15:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 15:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 15:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 15:50:03] Production.ERROR: CronJob PID - 1632
[2025-01-10 15:50:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-10 15:50:03] Production.ERROR: CronJob ID - 5
[2025-01-10 15:50:03] Production.ERROR: CronJob Last Run Time 2025-01-10 15:50:00
[2025-01-10 15:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 15:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 15:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 15:50:03] Production.ERROR: CronJob PID - 1634
[2025-01-10 15:50:03] Production.ERROR: CronJob Title - Account Block
[2025-01-10 15:50:03] Production.ERROR: CronJob ID - 7
[2025-01-10 15:50:03] Production.ERROR: CronJob Last Run Time 2025-01-10 15:50:00
[2025-01-10 15:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 15:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 15:50:03] Production.INFO: ==1636== Lock acquired, processing the job...
[2025-01-10 15:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 15:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 15:50:03] Production.INFO: ==1630== Releasing lock...
[2025-01-10 15:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 15:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 15:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 15:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 15:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 15:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 15:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 15:50:03] Production.INFO: ==1634== Releasing lock...
[2025-01-10 15:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 15:50:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 15:50:03] Production.INFO: ==1642== Lock acquired, processing the job...
[2025-01-10 15:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 15:50:03] Production.INFO: ==1638== Lock acquired, processing the job...
[2025-01-10 15:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 15:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:50:03] Production.INFO: ==1640== Lock acquired, processing the job...
[2025-01-10 15:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 15:50:03] Production.INFO: ==1644== Lock acquired, processing the job...
[2025-01-10 15:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 15:50:03] Production.INFO: Account Balance Start.
[2025-01-10 15:50:03] Production.INFO: CreateAllLog Start
[2025-01-10 15:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:50:03] Production.ERROR: done
[2025-01-10 15:50:03] Production.INFO: 117
[2025-01-10 15:50:04] Production.INFO: Date 2025-01-08
[2025-01-10 15:50:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 15:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14217948', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 15:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:50:04] Production.INFO: Date 2025-01-09
[2025-01-10 15:50:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:50:04] Production.INFO: count ==21
[2025-01-10 15:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:50:04] Production.INFO: count ==21
[2025-01-10 15:50:04] Production.INFO: Date 2025-01-10
[2025-01-10 15:50:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217947') start
[2025-01-10 15:50:04] Production.INFO: Total Charge 0
[2025-01-10 15:50:04] Production.INFO: CreateAllLog End
[2025-01-10 15:50:04] Production.ERROR: done
[2025-01-10 15:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 15:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217947') end
[2025-01-10 15:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 15:50:04] Production.INFO: 1
[2025-01-10 15:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 15:50:04] Production.INFO: ==1644== Releasing lock...
[2025-01-10 15:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 15:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 15:50:04] Production.ERROR: done
[2025-01-10 15:50:04] Production.INFO: Account Balance End.
[2025-01-10 15:50:04] Production.ERROR: CronJobId end 12
[2025-01-10 15:50:04] Production.INFO: ==1638== Releasing lock...
[2025-01-10 15:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 15:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 15:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 12:50:05
[end_date_ymd] => 2025-01-10 15:50:05
[RateCDR] => 1
)
[2025-01-10 15:50:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 12:50:05' and `end` < '2025-01-10 15:50:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 15:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14217948', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 15:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 15:50:08] Production.INFO: ProcessCDR(1,14217948,1,1,2)
[2025-01-10 15:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14217948,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14217948,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:50:08] Production.INFO: ==1642== Releasing lock...
[2025-01-10 15:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 15:50:08] Production.INFO: 26 MB #Memory Used#
[2025-01-10 15:50:14] Production.ERROR: CronJobId end10
[2025-01-10 15:50:14] Production.INFO: ==1636== Releasing lock...
[2025-01-10 15:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 15:50:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 15:50:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 15:50:15] Production.INFO: ============== Balance Warning START===========
[2025-01-10 15:50:15] Production.INFO: ============== Balance Warning END===========
[2025-01-10 15:50:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 15:50:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 15:50:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 15:50:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 15:50:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 15:50:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 15:50:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 15:50:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 15:50:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 15:50:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 15:50:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 15:50:15] Production.INFO: call_cost start
[2025-01-10 15:50:15] Production.INFO: call_cost end
[2025-01-10 15:50:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 15:50:16] Production.INFO: ============== Report Schedule START===========
[2025-01-10 15:50:16] Production.INFO: ============== Report Schedule END===========
[2025-01-10 15:50:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 15:50:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 15:50:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 15:50:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 15:50:16] Production.INFO: ============== Deal alert START===========
[2025-01-10 15:50:16] Production.INFO: ============== Deal alert END===========
[2025-01-10 15:50:16] Production.INFO: ==1632== Releasing lock...
[2025-01-10 15:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 15:50:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 15:50:30] Production.INFO: count ==3459
[2025-01-10 15:50:32] Production.ERROR: pbx CDR StartTime 2025-01-10 12:50:05 - End Time 2025-01-10 15:50:05
[2025-01-10 15:50:32] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 15:50:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217949', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:50:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217949', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:50:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217949', 'tblTempVendorCDR_20' ) start
[2025-01-10 15:50:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217949', 'tblTempVendorCDR_20' ) end
[2025-01-10 15:50:32] Production.INFO: ProcessCDR(1,14217949,1,1,2)
[2025-01-10 15:50:32] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217949,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:50:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217949,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:50:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217949,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:50:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217949,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:50:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217949', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:50:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217949', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:50:37] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:50:37] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:50:37] Production.INFO: ==1640== Releasing lock...
[2025-01-10 15:50:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 15:50:37] Production.INFO: 54 MB #Memory Used#
[2025-01-10 20:51:01] Production.INFO: ==1719== Lock acquired, processing the job...
[2025-01-10 20:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 20:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 20:51:01] Production.INFO: neon service started
[2025-01-10 20:51:01] Production.INFO: neon service started
[2025-01-10 20:51:01] Production.INFO: ==1719== Releasing lock...
[2025-01-10 20:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 20:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 15:51:02] Production.INFO: ==1722== Lock acquired, processing the job...
[2025-01-10 15:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 15:51:02] Production.INFO: ==1722== Releasing lock...
[2025-01-10 15:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 15:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 20:51:02] Production.INFO: ==1724== Lock acquired, processing the job...
[2025-01-10 20:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 20:51:02] Production.INFO: ==1724== Releasing lock...
[2025-01-10 20:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 20:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 15:51:03] Production.INFO: ==1732== Lock acquired, processing the job...
[2025-01-10 15:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 15:51:03] Production.INFO: ==1728== Lock acquired, processing the job...
[2025-01-10 15:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 15:51:03] Production.INFO: Account Balance Start.
[2025-01-10 15:51:03] Production.INFO: CreateAllLog Start
[2025-01-10 15:51:03] Production.INFO: 117
[2025-01-10 15:51:03] Production.INFO: ==1736== Lock acquired, processing the job...
[2025-01-10 15:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 15:51:03] Production.INFO: ==1726== Lock acquired, processing the job...
[2025-01-10 15:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 15:51:03] Production.INFO: Date 2025-01-08
[2025-01-10 15:51:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:51:03] Production.INFO: ==1730== Lock acquired, processing the job...
[2025-01-10 15:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 15:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 15:51:03] Production.INFO: ==1734== Lock acquired, processing the job...
[2025-01-10 15:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 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-01-10 15:51:03] Production.INFO: Date 2025-01-09
[2025-01-10 15:51:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:51:03] Production.INFO: count ==21
[2025-01-10 15:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 15:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 15:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 15:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 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-01-10 15:51:03] Production.INFO: count ==21
[2025-01-10 15:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217953') start
[2025-01-10 15:51:03] Production.INFO: Date 2025-01-10
[2025-01-10 15:51:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:51:03] Production.INFO: Total Charge 0
[2025-01-10 15:51:03] Production.INFO: CreateAllLog End
[2025-01-10 15:51:03] Production.INFO: ==1728== Releasing lock...
[2025-01-10 15:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 15:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 15:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217953') end
[2025-01-10 15:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 15:51:03] Production.INFO: 1
[2025-01-10 15:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 15:51:04] Production.ERROR: done
[2025-01-10 15:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 15:51:04] Production.INFO: Account Balance End.
[2025-01-10 15:51:04] Production.INFO: ==1736== Releasing lock...
[2025-01-10 15:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 15:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 15:51:04] Production.ERROR: done
[2025-01-10 15:51:04] Production.ERROR: CronJobId end 12
[2025-01-10 15:51:04] Production.INFO: ==1732== Releasing lock...
[2025-01-10 15:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 15:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 15:51:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 12:51:04
[end_date_ymd] => 2025-01-10 15:51:04
[RateCDR] => 1
)
[2025-01-10 15:51:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 12:51:04' and `end` < '2025-01-10 15:51:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 15:51:11] Production.ERROR: CronJobId end10
[2025-01-10 15:51:11] Production.INFO: ==1730== Releasing lock...
[2025-01-10 15:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 15:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 15:51:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 15:51:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 15:51:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 15:51:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 15:51:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 15:51:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 15:51:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 15:51:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 15:51:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 15:51:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 15:51:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 15:51:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 15:51:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 15:51:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 15:51:12] Production.INFO: call_cost start
[2025-01-10 15:51:12] Production.INFO: call_cost end
[2025-01-10 15:51:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 15:51:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 15:51:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 15:51:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 15:51:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 15:51:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 15:51:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 15:51:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 15:51:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 15:51:13] Production.INFO: ==1726== Releasing lock...
[2025-01-10 15:51:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 15:51:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 15:51:23] Production.INFO: count ==3564
[2025-01-10 15:51:25] Production.ERROR: pbx CDR StartTime 2025-01-10 12:51:04 - End Time 2025-01-10 15:51:04
[2025-01-10 15:51:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 15:51:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217954', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:51:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217954', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:51:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217954', 'tblTempVendorCDR_20' ) start
[2025-01-10 15:51:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217954', 'tblTempVendorCDR_20' ) end
[2025-01-10 15:51:25] Production.INFO: ProcessCDR(1,14217954,1,1,2)
[2025-01-10 15:51:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217954,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:51:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217954,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:51:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217954,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:51:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217954,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:51:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217954', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:51:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217954', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:51:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:51:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:51:30] Production.INFO: ==1734== Releasing lock...
[2025-01-10 15:51:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 15:51:30] Production.INFO: 55.25 MB #Memory Used#
[2025-01-10 20:52:02] Production.INFO: ==1810== Lock acquired, processing the job...
[2025-01-10 20:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 20:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 20:52:02] Production.INFO: neon service started
[2025-01-10 20:52:02] Production.INFO: neon service started
[2025-01-10 20:52:02] Production.INFO: ==1810== Releasing lock...
[2025-01-10 20:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 20:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 20:52:02] Production.INFO: ==1817== Lock acquired, processing the job...
[2025-01-10 20:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 20:52:02] Production.INFO: ==1817== Releasing lock...
[2025-01-10 20:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 20:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 15:52:02] Production.INFO: ==1813== Lock acquired, processing the job...
[2025-01-10 15:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 15:52:03] Production.INFO: ==1813== Releasing lock...
[2025-01-10 15:52:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 15:52:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:52:03] Production.INFO: ==1821== Lock acquired, processing the job...
[2025-01-10 15:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 15:52:04] Production.INFO: ==1832== Lock acquired, processing the job...
[2025-01-10 15:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 15:52:04] Production.INFO: ==1819== Lock acquired, processing the job...
[2025-01-10 15:52:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 15:52:04] Production.INFO: ==1821== Releasing lock...
[2025-01-10 15:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 15:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 15:52:04] Production.INFO: ==1823== Lock acquired, processing the job...
[2025-01-10 15:52:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 15:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:52:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 15:52:04] Production.INFO: ==1828== Lock acquired, processing the job...
[2025-01-10 15:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 15:52:04] Production.INFO: ==1830== Lock acquired, processing the job...
[2025-01-10 15:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 15:52:04] Production.INFO: count ==21
[2025-01-10 15:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:52:04] Production.INFO: count ==21
[2025-01-10 15:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217956') start
[2025-01-10 15:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:52:04] Production.INFO: Account Balance Start.
[2025-01-10 15:52:04] Production.INFO: CreateAllLog Start
[2025-01-10 15:52:04] Production.INFO: 117
[2025-01-10 15:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 15:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 15:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 15:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 15:52:04] Production.INFO: Date 2025-01-08
[2025-01-10 15:52:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:52:04] Production.INFO: Date 2025-01-09
[2025-01-10 15:52:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217956') end
[2025-01-10 15:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 15:52:04] Production.INFO: 1
[2025-01-10 15:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 15:52:04] Production.INFO: Date 2025-01-10
[2025-01-10 15:52:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:52:04] Production.INFO: ==1832== Releasing lock...
[2025-01-10 15:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 15:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 15:52:04] Production.INFO: Total Charge 0
[2025-01-10 15:52:04] Production.INFO: CreateAllLog End
[2025-01-10 15:52:04] Production.ERROR: done
[2025-01-10 15:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 15:52:04] Production.INFO: Account Balance End.
[2025-01-10 15:52:04] Production.ERROR: CronJobId end 12
[2025-01-10 15:52:04] Production.INFO: ==1828== Releasing lock...
[2025-01-10 15:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 15:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 15:52:04] Production.ERROR: done
[2025-01-10 15:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 12:52:05
[end_date_ymd] => 2025-01-10 15:52:05
[RateCDR] => 1
)
[2025-01-10 15:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 12:52:05' and `end` < '2025-01-10 15:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 15:52:11] Production.ERROR: CronJobId end10
[2025-01-10 15:52:11] Production.INFO: ==1823== Releasing lock...
[2025-01-10 15:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 15:52:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 15:52:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 15:52:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 15:52:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 15:52:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 15:52:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 15:52:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 15:52:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 15:52:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 15:52:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 15:52:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 15:52:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 15:52:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 15:52:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 15:52:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 15:52:13] Production.INFO: call_cost start
[2025-01-10 15:52:13] Production.INFO: call_cost end
[2025-01-10 15:52:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 15:52:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 15:52:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 15:52:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 15:52:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 15:52:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 15:52:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 15:52:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 15:52:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 15:52:14] Production.INFO: ==1819== Releasing lock...
[2025-01-10 15:52:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 15:52:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 15:52:19] Production.INFO: count ==3575
[2025-01-10 15:52:21] Production.ERROR: pbx CDR StartTime 2025-01-10 12:52:05 - End Time 2025-01-10 15:52:05
[2025-01-10 15:52:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 15:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217959', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217959', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217959', 'tblTempVendorCDR_20' ) start
[2025-01-10 15:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217959', 'tblTempVendorCDR_20' ) end
[2025-01-10 15:52:21] Production.INFO: ProcessCDR(1,14217959,1,1,2)
[2025-01-10 15:52:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217959,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:52:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217959,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:52:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217959,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:52:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217959,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:52:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217959', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:52:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217959', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:52:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:52:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:52:26] Production.INFO: ==1830== Releasing lock...
[2025-01-10 15:52:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 15:52:26] Production.INFO: 55.5 MB #Memory Used#
[2025-01-10 20:53:01] Production.INFO: ==1942== Lock acquired, processing the job...
[2025-01-10 20:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 20:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 20:53:01] Production.INFO: neon service started
[2025-01-10 20:53:01] Production.INFO: neon service started
[2025-01-10 20:53:01] Production.INFO: ==1942== Releasing lock...
[2025-01-10 20:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 20:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 20:53:02] Production.INFO: ==1946== Lock acquired, processing the job...
[2025-01-10 20:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 20:53:02] Production.INFO: ==1946== Releasing lock...
[2025-01-10 20:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 20:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 15:53:02] Production.INFO: ==1944== Lock acquired, processing the job...
[2025-01-10 15:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 15:53:02] Production.INFO: ==1944== Releasing lock...
[2025-01-10 15:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 15:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:53:03] Production.INFO: ==1949== Lock acquired, processing the job...
[2025-01-10 15:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 15:53:03] Production.INFO: ==1953== Lock acquired, processing the job...
[2025-01-10 15:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 15:53:03] Production.INFO: ==1951== Lock acquired, processing the job...
[2025-01-10 15:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 15:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 15:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 15:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 15:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 15:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 15:53:03] Production.INFO: ==1955== Lock acquired, processing the job...
[2025-01-10 15:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 15:53:03] Production.INFO: ==1958== Lock acquired, processing the job...
[2025-01-10 15:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 15:53:03] Production.INFO: ==1961== Lock acquired, processing the job...
[2025-01-10 15:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 15:53:03] Production.INFO: Account Balance Start.
[2025-01-10 15:53:03] Production.INFO: CreateAllLog Start
[2025-01-10 15:53:03] Production.INFO: 117
[2025-01-10 15:53:03] Production.INFO: Date 2025-01-08
[2025-01-10 15:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:53:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:53:03] Production.INFO: ==1951== Releasing lock...
[2025-01-10 15:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 15:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 15:53:03] Production.INFO: Date 2025-01-09
[2025-01-10 15:53:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:53:04] Production.INFO: Date 2025-01-10
[2025-01-10 15:53:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:53:04] Production.INFO: Total Charge 0
[2025-01-10 15:53:04] Production.INFO: count ==21
[2025-01-10 15:53:04] Production.INFO: CreateAllLog End
[2025-01-10 15:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:53:04] Production.INFO: count ==21
[2025-01-10 15:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217963') start
[2025-01-10 15:53:04] Production.ERROR: done
[2025-01-10 15:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 15:53:04] Production.INFO: Account Balance End.
[2025-01-10 15:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217963') end
[2025-01-10 15:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 15:53:04] Production.INFO: 1
[2025-01-10 15:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 15:53:04] Production.ERROR: CronJobId end 12
[2025-01-10 15:53:04] Production.INFO: ==1955== Releasing lock...
[2025-01-10 15:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 15:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 15:53:04] Production.INFO: ==1961== Releasing lock...
[2025-01-10 15:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 15:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 15:53:04] Production.ERROR: done
[2025-01-10 15:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 12:53:05
[end_date_ymd] => 2025-01-10 15:53:05
[RateCDR] => 1
)
[2025-01-10 15:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 12:53:05' and `end` < '2025-01-10 15:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 15:53:11] Production.ERROR: CronJobId end10
[2025-01-10 15:53:11] Production.INFO: ==1953== Releasing lock...
[2025-01-10 15:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 15:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 15:53:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 15:53:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 15:53:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 15:53:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 15:53:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 15:53:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 15:53:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 15:53:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 15:53:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 15:53:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 15:53:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 15:53:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 15:53:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 15:53:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 15:53:12] Production.INFO: call_cost start
[2025-01-10 15:53:12] Production.INFO: call_cost end
[2025-01-10 15:53:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 15:53:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 15:53:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 15:53:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 15:53:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 15:53:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 15:53:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 15:53:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 15:53:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 15:53:13] Production.INFO: ==1949== Releasing lock...
[2025-01-10 15:53:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 15:53:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 15:53:20] Production.INFO: count ==3539
[2025-01-10 15:53:22] Production.ERROR: pbx CDR StartTime 2025-01-10 12:53:05 - End Time 2025-01-10 15:53:05
[2025-01-10 15:53:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 15:53:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217964', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:53:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217964', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:53:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217964', 'tblTempVendorCDR_20' ) start
[2025-01-10 15:53:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217964', 'tblTempVendorCDR_20' ) end
[2025-01-10 15:53:22] Production.INFO: ProcessCDR(1,14217964,1,1,2)
[2025-01-10 15:53:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217964,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:53:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217964,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:53:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217964,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:53:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217964,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:53:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217964', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:53:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217964', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:53:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:53:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:53:25] Production.INFO: ==1958== Releasing lock...
[2025-01-10 15:53:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 15:53:25] Production.INFO: 55.25 MB #Memory Used#
[2025-01-10 20:54:02] Production.INFO: ==2040== Lock acquired, processing the job...
[2025-01-10 20:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 20:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 20:54:02] Production.INFO: neon service started
[2025-01-10 20:54:02] Production.INFO: neon service started
[2025-01-10 20:54:02] Production.INFO: ==2040== Releasing lock...
[2025-01-10 20:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 20:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 15:54:02] Production.INFO: ==2042== Lock acquired, processing the job...
[2025-01-10 15:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 20:54:02] Production.INFO: ==2044== Lock acquired, processing the job...
[2025-01-10 20:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 20:54:02] Production.INFO: ==2044== Releasing lock...
[2025-01-10 20:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 20:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 15:54:03] Production.INFO: ==2042== Releasing lock...
[2025-01-10 15:54:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 15:54:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:54:03] Production.INFO: ==2047== Lock acquired, processing the job...
[2025-01-10 15:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 15:54:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 15:54:04] Production.INFO: ==2051== Lock acquired, processing the job...
[2025-01-10 15:54:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 15:54:04] Production.INFO: ==2053== Lock acquired, processing the job...
[2025-01-10 15:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 15:54:04] Production.INFO: ==2049== Lock acquired, processing the job...
[2025-01-10 15:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 15:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 15:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 15:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 15:54:04] Production.INFO: Account Balance Start.
[2025-01-10 15:54:04] Production.INFO: CreateAllLog Start
[2025-01-10 15:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 15:54:04] Production.INFO: 117
[2025-01-10 15:54:04] Production.INFO: Date 2025-01-08
[2025-01-10 15:54:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:54:04] Production.INFO: Date 2025-01-09
[2025-01-10 15:54:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:54:04] Production.INFO: Date 2025-01-10
[2025-01-10 15:54:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:54:04] Production.INFO: Total Charge 0
[2025-01-10 15:54:04] Production.INFO: ==2055== Lock acquired, processing the job...
[2025-01-10 15:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 15:54:04] Production.INFO: CreateAllLog End
[2025-01-10 15:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:54:04] Production.INFO: ==2057== Lock acquired, processing the job...
[2025-01-10 15:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 15:54:04] Production.INFO: Account Balance End.
[2025-01-10 15:54:04] Production.ERROR: CronJobId end 12
[2025-01-10 15:54:04] Production.INFO: ==2053== Releasing lock...
[2025-01-10 15:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 15:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 15:54:04] Production.INFO: ==2049== Releasing lock...
[2025-01-10 15:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 15:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 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-01-10 15:54:04] Production.ERROR: done
[2025-01-10 15:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 15:54:04] Production.INFO: count ==21
[2025-01-10 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-01-10 15:54:04] Production.INFO: count ==21
[2025-01-10 15:54:04] Production.ERROR: done
[2025-01-10 15:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217968') start
[2025-01-10 15:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217968') end
[2025-01-10 15:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 15:54:04] Production.INFO: 1
[2025-01-10 15:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 15:54:04] Production.INFO: ==2057== Releasing lock...
[2025-01-10 15:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 15:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 15:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 12:54:05
[end_date_ymd] => 2025-01-10 15:54:05
[RateCDR] => 1
)
[2025-01-10 15:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 12:54:05' and `end` < '2025-01-10 15:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 15:54:12] Production.ERROR: CronJobId end10
[2025-01-10 15:54:12] Production.INFO: ==2051== Releasing lock...
[2025-01-10 15:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 15:54:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 15:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 15:54:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 15:54:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 15:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 15:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 15:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 15:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 15:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 15:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 15:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 15:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 15:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 15:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 15:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 15:54:13] Production.INFO: call_cost start
[2025-01-10 15:54:13] Production.INFO: call_cost end
[2025-01-10 15:54:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 15:54:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 15:54:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 15:54:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 15:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 15:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 15:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 15:54:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 15:54:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 15:54:14] Production.INFO: ==2047== Releasing lock...
[2025-01-10 15:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 15:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 15:54:21] Production.INFO: count ==3526
[2025-01-10 15:54:23] Production.ERROR: pbx CDR StartTime 2025-01-10 12:54:05 - End Time 2025-01-10 15:54:05
[2025-01-10 15:54:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 15:54:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217969', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:54:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217969', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:54:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217969', 'tblTempVendorCDR_20' ) start
[2025-01-10 15:54:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217969', 'tblTempVendorCDR_20' ) end
[2025-01-10 15:54:23] Production.INFO: ProcessCDR(1,14217969,1,1,2)
[2025-01-10 15:54:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217969,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:54:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217969,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:54:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217969,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:54:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217969,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:54:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217969', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:54:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217969', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:54:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:54:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:54:27] Production.INFO: ==2055== Releasing lock...
[2025-01-10 15:54:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 15:54:27] Production.INFO: 55.25 MB #Memory Used#
[2025-01-10 20:55:01] Production.INFO: ==2132== Lock acquired, processing the job...
[2025-01-10 20:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 20:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 20:55:01] Production.INFO: neon service started
[2025-01-10 20:55:01] Production.INFO: neon service started
[2025-01-10 20:55:01] Production.INFO: ==2132== Releasing lock...
[2025-01-10 20:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 20:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 15:55:02] Production.INFO: ==2134== Lock acquired, processing the job...
[2025-01-10 15:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 20:55:02] Production.INFO: ==2136== Lock acquired, processing the job...
[2025-01-10 20:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 20:55:02] Production.INFO: ==2136== Releasing lock...
[2025-01-10 20:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 20:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 15:55:02] Production.INFO: ==2134== Releasing lock...
[2025-01-10 15:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 15:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:55:03] Production.INFO: ==2138== Lock acquired, processing the job...
[2025-01-10 15:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 15:55:03] Production.INFO: ==2140== Lock acquired, processing the job...
[2025-01-10 15:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 15:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 15:55:03] Production.INFO: ==2142== Lock acquired, processing the job...
[2025-01-10 15:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 15:55:03] Production.INFO: ==2146== Lock acquired, processing the job...
[2025-01-10 15:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 15:55:03] Production.INFO: ==2144== Lock acquired, processing the job...
[2025-01-10 15:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 15:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 15:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 15:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 15:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 15:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:55:03] Production.INFO: ==2149== Lock acquired, processing the job...
[2025-01-10 15:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 15:55:03] Production.INFO: Account Balance Start.
[2025-01-10 15:55:03] Production.INFO: CreateAllLog Start
[2025-01-10 15:55:03] Production.INFO: 117
[2025-01-10 15:55:03] Production.INFO: Date 2025-01-08
[2025-01-10 15:55:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:55:03] Production.INFO: Date 2025-01-09
[2025-01-10 15:55:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:55:03] Production.INFO: ==2140== Releasing lock...
[2025-01-10 15:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 15:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 15:55:03] Production.INFO: Date 2025-01-10
[2025-01-10 15:55:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:55:03] Production.INFO: Total Charge 0
[2025-01-10 15:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:55:03] Production.INFO: CreateAllLog End
[2025-01-10 15:55:03] Production.INFO: count ==21
[2025-01-10 15:55:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:55:03] Production.INFO: count ==21
[2025-01-10 15:55:03] Production.ERROR: done
[2025-01-10 15:55:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 15:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217973') start
[2025-01-10 15:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217973') end
[2025-01-10 15:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 15:55:04] Production.INFO: 1
[2025-01-10 15:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 15:55:04] Production.ERROR: done
[2025-01-10 15:55:04] Production.INFO: ==2149== Releasing lock...
[2025-01-10 15:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 15:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 15:55:04] Production.INFO: Account Balance End.
[2025-01-10 15:55:04] Production.ERROR: CronJobId end 12
[2025-01-10 15:55:04] Production.INFO: ==2144== Releasing lock...
[2025-01-10 15:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 15:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 15:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 12:55:05
[end_date_ymd] => 2025-01-10 15:55:05
[RateCDR] => 1
)
[2025-01-10 15:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 12:55:05' and `end` < '2025-01-10 15:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 15:55:12] Production.ERROR: CronJobId end10
[2025-01-10 15:55:12] Production.INFO: ==2142== Releasing lock...
[2025-01-10 15:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 15:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 15:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 15:55:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 15:55:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 15:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 15:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 15:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 15:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 15:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 15:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 15:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 15:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 15:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 15:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 15:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 15:55:13] Production.INFO: call_cost start
[2025-01-10 15:55:13] Production.INFO: call_cost end
[2025-01-10 15:55:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 15:55:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 15:55:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 15:55:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 15:55:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 15:55:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 15:55:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 15:55:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 15:55:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 15:55:14] Production.INFO: ==2138== Releasing lock...
[2025-01-10 15:55:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 15:55:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 15:55:29] Production.INFO: count ==3516
[2025-01-10 15:55:30] Production.ERROR: pbx CDR StartTime 2025-01-10 12:55:05 - End Time 2025-01-10 15:55:05
[2025-01-10 15:55:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 15:55:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217974', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:55:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217974', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:55:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217974', 'tblTempVendorCDR_20' ) start
[2025-01-10 15:55:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217974', 'tblTempVendorCDR_20' ) end
[2025-01-10 15:55:30] Production.INFO: ProcessCDR(1,14217974,1,1,2)
[2025-01-10 15:55:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217974,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:55:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217974,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:55:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217974,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:55:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217974,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:55:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217974', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:55:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217974', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:55:35] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:55:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:55:35] Production.INFO: ==2146== Releasing lock...
[2025-01-10 15:55:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 15:55:35] Production.INFO: 55.5 MB #Memory Used#
[2025-01-10 20:56:02] Production.INFO: ==2222== Lock acquired, processing the job...
[2025-01-10 20:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 20:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 20:56:02] Production.INFO: neon service started
[2025-01-10 20:56:02] Production.INFO: neon service started
[2025-01-10 20:56:02] Production.INFO: ==2222== Releasing lock...
[2025-01-10 20:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 20:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 20:56:02] Production.INFO: ==2227== Lock acquired, processing the job...
[2025-01-10 20:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 20:56:02] Production.INFO: ==2227== Releasing lock...
[2025-01-10 20:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 20:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 15:56:02] Production.INFO: ==2225== Lock acquired, processing the job...
[2025-01-10 15:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 15:56:02] Production.INFO: ==2225== Releasing lock...
[2025-01-10 15:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 15:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:56:03] Production.INFO: ==2229== Lock acquired, processing the job...
[2025-01-10 15:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 15:56:03] Production.INFO: ==2233== Lock acquired, processing the job...
[2025-01-10 15:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 15:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 15:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 15:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 15:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 15:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 15:56:03] Production.INFO: ==2237== Lock acquired, processing the job...
[2025-01-10 15:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 15:56:03] Production.INFO: ==2231== Lock acquired, processing the job...
[2025-01-10 15:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 15:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:56:03] Production.INFO: ==2235== Lock acquired, processing the job...
[2025-01-10 15:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 15:56:03] Production.INFO: ==2239== Lock acquired, processing the job...
[2025-01-10 15:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 15:56:04] Production.INFO: Account Balance Start.
[2025-01-10 15:56:04] Production.INFO: CreateAllLog Start
[2025-01-10 15:56:04] Production.INFO: 117
[2025-01-10 15:56:04] Production.INFO: Date 2025-01-08
[2025-01-10 15:56:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:56:04] Production.INFO: Date 2025-01-09
[2025-01-10 15:56:04] Production.ERROR: done
[2025-01-10 15:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 15:56:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:56:04] Production.INFO: ==2231== Releasing lock...
[2025-01-10 15:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 15:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 15:56:04] Production.INFO: Date 2025-01-10
[2025-01-10 15:56:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:56:04] Production.INFO: count ==21
[2025-01-10 15:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:56:04] Production.INFO: count ==21
[2025-01-10 15:56:04] Production.ERROR: done
[2025-01-10 15:56:04] Production.INFO: Total Charge 0
[2025-01-10 15:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217978') start
[2025-01-10 15:56:04] Production.INFO: CreateAllLog End
[2025-01-10 15:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217978') end
[2025-01-10 15:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 15:56:04] Production.INFO: 1
[2025-01-10 15:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 15:56:04] Production.INFO: ==2239== Releasing lock...
[2025-01-10 15:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 15:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 15:56:04] Production.INFO: Account Balance End.
[2025-01-10 15:56:04] Production.ERROR: CronJobId end 12
[2025-01-10 15:56:04] Production.INFO: ==2235== Releasing lock...
[2025-01-10 15:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 15:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 15:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 12:56:05
[end_date_ymd] => 2025-01-10 15:56:05
[RateCDR] => 1
)
[2025-01-10 15:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 12:56:05' and `end` < '2025-01-10 15:56:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 15:56:13] Production.ERROR: CronJobId end10
[2025-01-10 15:56:13] Production.INFO: ==2233== Releasing lock...
[2025-01-10 15:56:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 15:56:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 15:56:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 15:56:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 15:56:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 15:56:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 15:56:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 15:56:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 15:56:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 15:56:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 15:56:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 15:56:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 15:56:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 15:56:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 15:56:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 15:56:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 15:56:14] Production.INFO: call_cost start
[2025-01-10 15:56:14] Production.INFO: call_cost end
[2025-01-10 15:56:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 15:56:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 15:56:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 15:56:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 15:56:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 15:56:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 15:56:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 15:56:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 15:56:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 15:56:15] Production.INFO: ==2229== Releasing lock...
[2025-01-10 15:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 15:56:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 15:56:27] Production.INFO: count ==3526
[2025-01-10 15:56:28] Production.ERROR: pbx CDR StartTime 2025-01-10 12:56:05 - End Time 2025-01-10 15:56:05
[2025-01-10 15:56:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 15:56:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217979', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:56:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217979', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:56:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217979', 'tblTempVendorCDR_20' ) start
[2025-01-10 15:56:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217979', 'tblTempVendorCDR_20' ) end
[2025-01-10 15:56:28] Production.INFO: ProcessCDR(1,14217979,1,1,2)
[2025-01-10 15:56:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217979,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:56:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217979,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:56:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217979,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:56:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217979,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:56:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217979', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:56:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217979', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:56:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:56:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:56:33] Production.INFO: ==2237== Releasing lock...
[2025-01-10 15:56:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 15:56:33] Production.INFO: 54.75 MB #Memory Used#
[2025-01-10 20:57:01] Production.INFO: ==2320== Lock acquired, processing the job...
[2025-01-10 20:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 20:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 20:57:01] Production.INFO: neon service started
[2025-01-10 20:57:01] Production.INFO: neon service started
[2025-01-10 20:57:01] Production.INFO: ==2320== Releasing lock...
[2025-01-10 20:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 20:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 20:57:02] Production.INFO: ==2324== Lock acquired, processing the job...
[2025-01-10 20:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 20:57:02] Production.INFO: ==2324== Releasing lock...
[2025-01-10 20:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 20:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 15:57:02] Production.INFO: ==2322== Lock acquired, processing the job...
[2025-01-10 15:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 15:57:02] Production.INFO: ==2322== Releasing lock...
[2025-01-10 15:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 15:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 15:57:03] Production.INFO: ==2329== Lock acquired, processing the job...
[2025-01-10 15:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 15:57:03] Production.INFO: ==2337== Lock acquired, processing the job...
[2025-01-10 15:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 15:57:03] Production.INFO: ==2329== Releasing lock...
[2025-01-10 15:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 15:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 15:57:03] Production.INFO: ==2327== Lock acquired, processing the job...
[2025-01-10 15:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 15:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:57:03] Production.INFO: ==2331== Lock acquired, processing the job...
[2025-01-10 15:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 15:57:03] Production.INFO: count ==21
[2025-01-10 15:57:03] Production.INFO: ==2333== Lock acquired, processing the job...
[2025-01-10 15:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 15:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 15:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:57:03] Production.INFO: count ==21
[2025-01-10 15:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217981') start
[2025-01-10 15:57:03] Production.INFO: ==2335== Lock acquired, processing the job...
[2025-01-10 15:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 15:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 15:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 15:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 15:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 15:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217981') end
[2025-01-10 15:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 15:57:03] Production.INFO: 1
[2025-01-10 15:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 15:57:03] Production.INFO: Account Balance Start.
[2025-01-10 15:57:03] Production.INFO: CreateAllLog Start
[2025-01-10 15:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:57:03] Production.INFO: 117
[2025-01-10 15:57:03] Production.INFO: Date 2025-01-08
[2025-01-10 15:57:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:57:03] Production.INFO: Date 2025-01-09
[2025-01-10 15:57:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:57:03] Production.INFO: Date 2025-01-10
[2025-01-10 15:57:03] Production.INFO: Reseller ==> 0
[2025-01-10 15:57:03] Production.INFO: Total Charge 0
[2025-01-10 15:57:03] Production.INFO: CreateAllLog End
[2025-01-10 15:57:03] Production.INFO: ==2337== Releasing lock...
[2025-01-10 15:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 15:57:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 15:57:03] Production.INFO: Account Balance End.
[2025-01-10 15:57:03] Production.ERROR: done
[2025-01-10 15:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 15:57:03] Production.ERROR: CronJobId end 12
[2025-01-10 15:57:03] Production.INFO: ==2333== Releasing lock...
[2025-01-10 15:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 15:57:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 15:57:04] Production.ERROR: done
[2025-01-10 15:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 12:57:05
[end_date_ymd] => 2025-01-10 15:57:05
[RateCDR] => 1
)
[2025-01-10 15:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 12:57:05' and `end` < '2025-01-10 15:57:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 15:57:10] Production.ERROR: CronJobId end10
[2025-01-10 15:57:10] Production.INFO: ==2331== Releasing lock...
[2025-01-10 15:57:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 15:57:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 15:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 15:57:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 15:57:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 15:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 15:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 15:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 15:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 15:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 15:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 15:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 15:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 15:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 15:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 15:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 15:57:13] Production.INFO: call_cost start
[2025-01-10 15:57:13] Production.INFO: call_cost end
[2025-01-10 15:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 15:57:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 15:57:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 15:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 15:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 15:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 15:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 15:57:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 15:57:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 15:57:14] Production.INFO: ==2327== Releasing lock...
[2025-01-10 15:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 15:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 15:57:23] Production.INFO: count ==3532
[2025-01-10 15:57:24] Production.ERROR: pbx CDR StartTime 2025-01-10 12:57:05 - End Time 2025-01-10 15:57:05
[2025-01-10 15:57:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 15:57:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217984', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:57:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217984', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:57:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217984', 'tblTempVendorCDR_20' ) start
[2025-01-10 15:57:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217984', 'tblTempVendorCDR_20' ) end
[2025-01-10 15:57:25] Production.INFO: ProcessCDR(1,14217984,1,1,2)
[2025-01-10 15:57:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217984,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:57:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217984,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:57:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217984,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:57:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217984,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:57:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217984', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:57:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217984', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:57:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:57:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:57:28] Production.INFO: ==2335== Releasing lock...
[2025-01-10 15:57:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 15:57:28] Production.INFO: 55.75 MB #Memory Used#
[2025-01-10 20:58:01] Production.INFO: ==2419== Lock acquired, processing the job...
[2025-01-10 20:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 20:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 20:58:01] Production.INFO: neon service started
[2025-01-10 20:58:01] Production.INFO: neon service started
[2025-01-10 20:58:01] Production.INFO: ==2419== Releasing lock...
[2025-01-10 20:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 20:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 15:58:02] Production.INFO: ==2421== Lock acquired, processing the job...
[2025-01-10 15:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 15:58:02] Production.INFO: ==2421== Releasing lock...
[2025-01-10 15:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 15:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 20:58:02] Production.INFO: ==2423== Lock acquired, processing the job...
[2025-01-10 20:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 20:58:02] Production.INFO: ==2423== Releasing lock...
[2025-01-10 20:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 20:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 15:58:03] Production.INFO: ==2433== Lock acquired, processing the job...
[2025-01-10 15:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 15:58:03] Production.INFO: ==2435== Lock acquired, processing the job...
[2025-01-10 15:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 15:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:58:03] Production.INFO: ==2425== Lock acquired, processing the job...
[2025-01-10 15:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 15:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:58:03] Production.INFO: count ==21
[2025-01-10 15:58:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:58:03] Production.INFO: count ==21
[2025-01-10 15:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217985') start
[2025-01-10 15:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 15:58:03] Production.INFO: ==2429== Lock acquired, processing the job...
[2025-01-10 15:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 15:58:03] Production.INFO: ==2427== Lock acquired, processing the job...
[2025-01-10 15:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 15:58:03] Production.INFO: ==2431== Lock acquired, processing the job...
[2025-01-10 15:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 15:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217985') end
[2025-01-10 15:58:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 15:58:03] Production.INFO: 1
[2025-01-10 15:58:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 15:58:03] Production.INFO: ==2435== Releasing lock...
[2025-01-10 15:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 15:58:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 15:58:03] Production.ERROR: done
[2025-01-10 15:58:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 15:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 15:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 15:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 15:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 15:58:03] Production.INFO: Account Balance Start.
[2025-01-10 15:58:03] Production.INFO: CreateAllLog Start
[2025-01-10 15:58:03] Production.INFO: 117
[2025-01-10 15:58:04] Production.ERROR: done
[2025-01-10 15:58:04] Production.INFO: Date 2025-01-08
[2025-01-10 15:58:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:58:04] Production.INFO: ==2427== Releasing lock...
[2025-01-10 15:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 15:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 15:58:04] Production.INFO: Date 2025-01-09
[2025-01-10 15:58:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:58:04] Production.INFO: Date 2025-01-10
[2025-01-10 15:58:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:58:04] Production.INFO: Total Charge 0
[2025-01-10 15:58:04] Production.INFO: CreateAllLog End
[2025-01-10 15:58:04] Production.INFO: Account Balance End.
[2025-01-10 15:58:04] Production.ERROR: CronJobId end 12
[2025-01-10 15:58:04] Production.INFO: ==2431== Releasing lock...
[2025-01-10 15:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 15:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 15:58:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 12:58:04
[end_date_ymd] => 2025-01-10 15:58:04
[RateCDR] => 1
)
[2025-01-10 15:58:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 12:58:04' and `end` < '2025-01-10 15:58:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 15:58:13] Production.ERROR: CronJobId end10
[2025-01-10 15:58:13] Production.INFO: ==2429== Releasing lock...
[2025-01-10 15:58:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 15:58:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 15:58:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 15:58:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 15:58:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 15:58:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 15:58:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 15:58:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 15:58:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 15:58:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 15:58:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 15:58:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 15:58:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 15:58:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 15:58:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 15:58:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 15:58:14] Production.INFO: call_cost start
[2025-01-10 15:58:14] Production.INFO: call_cost end
[2025-01-10 15:58:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 15:58:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 15:58:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 15:58:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 15:58:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 15:58:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 15:58:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 15:58:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 15:58:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 15:58:15] Production.INFO: ==2425== Releasing lock...
[2025-01-10 15:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 15:58:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 15:58:25] Production.INFO: count ==3551
[2025-01-10 15:58:27] Production.ERROR: pbx CDR StartTime 2025-01-10 12:58:04 - End Time 2025-01-10 15:58:04
[2025-01-10 15:58:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 15:58:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217989', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:58:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217989', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:58:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217989', 'tblTempVendorCDR_20' ) start
[2025-01-10 15:58:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217989', 'tblTempVendorCDR_20' ) end
[2025-01-10 15:58:27] Production.INFO: ProcessCDR(1,14217989,1,1,2)
[2025-01-10 15:58:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217989,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:58:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217989,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:58:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217989,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:58:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217989,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:58:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217989', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:58:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217989', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:58:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:58:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:58:32] Production.INFO: ==2433== Releasing lock...
[2025-01-10 15:58:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 15:58:32] Production.INFO: 55.25 MB #Memory Used#
[2025-01-10 20:59:02] Production.INFO: ==2503== Lock acquired, processing the job...
[2025-01-10 20:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 20:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 20:59:02] Production.INFO: neon service started
[2025-01-10 20:59:02] Production.INFO: neon service started
[2025-01-10 20:59:02] Production.INFO: ==2503== Releasing lock...
[2025-01-10 20:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 20:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 15:59:02] Production.INFO: ==2506== Lock acquired, processing the job...
[2025-01-10 15:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 15:59:02] Production.INFO: ==2506== Releasing lock...
[2025-01-10 15:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 15:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 20:59:02] Production.INFO: ==2508== Lock acquired, processing the job...
[2025-01-10 20:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 20:59:02] Production.INFO: ==2508== Releasing lock...
[2025-01-10 20:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 20:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 15:59:03] Production.INFO: ==2512== Lock acquired, processing the job...
[2025-01-10 15:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 15:59:03] Production.INFO: ==2510== Lock acquired, processing the job...
[2025-01-10 15:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 15:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 15:59:03] Production.INFO: ==2520== Lock acquired, processing the job...
[2025-01-10 15:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 15:59:03] Production.INFO: ==2514== Lock acquired, processing the job...
[2025-01-10 15:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 15:59:03] Production.INFO: ==2512== Releasing lock...
[2025-01-10 15:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 15:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 15:59:03] Production.INFO: ==2518== Lock acquired, processing the job...
[2025-01-10 15:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 15:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:59:03] Production.INFO: ==2516== Lock acquired, processing the job...
[2025-01-10 15:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 15:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 15:59:03] Production.INFO: count ==21
[2025-01-10 15:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 15:59:03] Production.INFO: count ==21
[2025-01-10 15:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14217992') start
[2025-01-10 15:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 15:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 15:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 15:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 15:59:04] Production.INFO: Account Balance Start.
[2025-01-10 15:59:04] Production.INFO: CreateAllLog Start
[2025-01-10 15:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217992') end
[2025-01-10 15:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 15:59:04] Production.INFO: 1
[2025-01-10 15:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 15:59:04] Production.INFO: 117
[2025-01-10 15:59:04] Production.INFO: Date 2025-01-08
[2025-01-10 15:59:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:59:04] Production.INFO: Date 2025-01-09
[2025-01-10 15:59:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:59:04] Production.INFO: ==2520== Releasing lock...
[2025-01-10 15:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 15:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 15:59:04] Production.ERROR: done
[2025-01-10 15:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 15:59:04] Production.INFO: Date 2025-01-10
[2025-01-10 15:59:04] Production.INFO: Reseller ==> 0
[2025-01-10 15:59:04] Production.INFO: Total Charge 0
[2025-01-10 15:59:04] Production.INFO: CreateAllLog End
[2025-01-10 15:59:04] Production.ERROR: done
[2025-01-10 15:59:04] Production.INFO: Account Balance End.
[2025-01-10 15:59:04] Production.ERROR: CronJobId end 12
[2025-01-10 15:59:04] Production.INFO: ==2516== Releasing lock...
[2025-01-10 15:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 15:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 15:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 12:59:05
[end_date_ymd] => 2025-01-10 15:59:05
[RateCDR] => 1
)
[2025-01-10 15:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 12:59:05' and `end` < '2025-01-10 15:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 15:59:11] Production.ERROR: CronJobId end10
[2025-01-10 15:59:11] Production.INFO: ==2514== Releasing lock...
[2025-01-10 15:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 15:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 15:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 15:59:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 15:59:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 15:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 15:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 15:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 15:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 15:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 15:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 15:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 15:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 15:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 15:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 15:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 15:59:13] Production.INFO: call_cost start
[2025-01-10 15:59:13] Production.INFO: call_cost end
[2025-01-10 15:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 15:59:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 15:59:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 15:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 15:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 15:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 15:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 15:59:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 15:59:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 15:59:14] Production.INFO: ==2510== Releasing lock...
[2025-01-10 15:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 15:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 15:59:24] Production.INFO: count ==3561
[2025-01-10 15:59:25] Production.ERROR: pbx CDR StartTime 2025-01-10 12:59:05 - End Time 2025-01-10 15:59:05
[2025-01-10 15:59:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 15:59:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217994', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:59:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14217994', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:59:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217994', 'tblTempVendorCDR_20' ) start
[2025-01-10 15:59:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14217994', 'tblTempVendorCDR_20' ) end
[2025-01-10 15:59:25] Production.INFO: ProcessCDR(1,14217994,1,1,2)
[2025-01-10 15:59:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14217994,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:59:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14217994,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 15:59:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14217994,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:59:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14217994,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 15:59:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217994', 'tblTempUsageDetail_20' ) start
[2025-01-10 15:59:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14217994', 'tblTempUsageDetail_20' ) end
[2025-01-10 15:59:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 15:59:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 15:59:30] Production.INFO: ==2518== Releasing lock...
[2025-01-10 15:59:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 15:59:30] Production.INFO: 55 MB #Memory Used#
[2025-01-10 21:00:01] Production.INFO: ==2582== Lock acquired, processing the job...
[2025-01-10 21:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 21:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 21:00:01] Production.INFO: neon service started
[2025-01-10 21:00:01] Production.INFO: neon service started
[2025-01-10 21:00:01] Production.INFO: ==2582== Releasing lock...
[2025-01-10 21:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 21:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 16:00:02] Production.INFO: ==2584== Lock acquired, processing the job...
[2025-01-10 16:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 21:00:02] Production.INFO: ==2586== Lock acquired, processing the job...
[2025-01-10 21:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 16:00:02] Production.INFO: ==2584== Releasing lock...
[2025-01-10 16:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 16:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 21:00:02] Production.INFO: ==2586== Releasing lock...
[2025-01-10 21:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 21:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 16:00:03] Production.INFO: ==2592== Lock acquired, processing the job...
[2025-01-10 16:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 16:00:03] Production.INFO: ==2588== Lock acquired, processing the job...
[2025-01-10 16:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 16:00:03] Production.INFO: ==2600== Lock acquired, processing the job...
[2025-01-10 16:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 16:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 16:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 16:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 16:00:03] Production.ERROR: CronJob PID - 2592
[2025-01-10 16:00:03] Production.ERROR: CronJob Title - Account Block
[2025-01-10 16:00:03] Production.ERROR: CronJob ID - 7
[2025-01-10 16:00:03] Production.ERROR: CronJob Last Run Time 2025-01-10 16:00:00
[2025-01-10 16:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 16:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 16:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 16:00:03] Production.ERROR: CronJob PID - 2600
[2025-01-10 16:00:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-10 16:00:03] Production.ERROR: CronJob ID - 17
[2025-01-10 16:00:03] Production.ERROR: CronJob Last Run Time 2025-01-10 16:00:00
[2025-01-10 16:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 16:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 16:00:03] Production.INFO: ==2590== Lock acquired, processing the job...
[2025-01-10 16:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 16:00:03] Production.INFO: ==2602== Lock acquired, processing the job...
[2025-01-10 16:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 16:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 16:00:03] Production.INFO: ==2588== Releasing lock...
[2025-01-10 16:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 16:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 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-01-10 16:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 16:00:04] Production.INFO: ==2594== Lock acquired, processing the job...
[2025-01-10 16:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 16:00:04] Production.INFO: count ==21
[2025-01-10 16:00:04] Production.INFO: ==2596== Lock acquired, processing the job...
[2025-01-10 16:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 16:00:04] Production.INFO: ==2598== Lock acquired, processing the job...
[2025-01-10 16:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 16:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:00:04] Production.INFO: ==2592== Releasing lock...
[2025-01-10 16:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 16:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 16:00:04] Production.INFO: count ==21
[2025-01-10 16:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217996') start
[2025-01-10 16:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 16:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 16:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 16:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 16:00:04] Production.ERROR: done
[2025-01-10 16:00:04] Production.INFO: Account Balance Start.
[2025-01-10 16:00:04] Production.INFO: CreateAllLog Start
[2025-01-10 16:00:04] Production.INFO: 117
[2025-01-10 16:00:04] Production.INFO: Date 2025-01-08
[2025-01-10 16:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 16:00:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 16:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14217999', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 16:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14217996') end
[2025-01-10 16:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 16:00:04] Production.INFO: 1
[2025-01-10 16:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 16:00:04] Production.INFO: Date 2025-01-09
[2025-01-10 16:00:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:00:04] Production.INFO: ==2602== Releasing lock...
[2025-01-10 16:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 16:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 16:00:04] Production.ERROR: done
[2025-01-10 16:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 16:00:04] Production.INFO: Date 2025-01-10
[2025-01-10 16:00:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:00:04] Production.INFO: Total Charge 0
[2025-01-10 16:00:04] Production.INFO: CreateAllLog End
[2025-01-10 16:00:04] Production.ERROR: done
[2025-01-10 16:00:04] Production.INFO: Account Balance End.
[2025-01-10 16:00:04] Production.ERROR: CronJobId end 12
[2025-01-10 16:00:04] Production.INFO: ==2596== Releasing lock...
[2025-01-10 16:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 16:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 16:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 13:00:05
[end_date_ymd] => 2025-01-10 16:00:05
[RateCDR] => 1
)
[2025-01-10 16:00:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 13:00:05' and `end` < '2025-01-10 16:00:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 16:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14217999', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 16:00:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 16:00:08] Production.INFO: ProcessCDR(1,14217999,1,1,2)
[2025-01-10 16:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14217999,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14217999,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 16:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 16:00:09] Production.INFO: ==2600== Releasing lock...
[2025-01-10 16:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 16:00:09] Production.INFO: 26 MB #Memory Used#
[2025-01-10 16:00:14] Production.ERROR: CronJobId end10
[2025-01-10 16:00:14] Production.INFO: ==2594== Releasing lock...
[2025-01-10 16:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 16:00:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 16:00:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 16:00:16] Production.INFO: ============== Balance Warning START===========
[2025-01-10 16:00:16] Production.INFO: ============== Balance Warning END===========
[2025-01-10 16:00:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 16:00:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 16:00:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 16:00:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 16:00:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 16:00:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 16:00:16] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 16:00:16] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 16:00:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 16:00:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 16:00:16] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 16:00:16] Production.INFO: call_cost start
[2025-01-10 16:00:16] Production.INFO: call_cost end
[2025-01-10 16:00:17] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 16:00:17] Production.INFO: ============== Report Schedule START===========
[2025-01-10 16:00:17] Production.INFO: ============== Report Schedule END===========
[2025-01-10 16:00:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 16:00:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 16:00:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 16:00:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 16:00:17] Production.INFO: ============== Deal alert START===========
[2025-01-10 16:00:17] Production.INFO: ============== Deal alert END===========
[2025-01-10 16:00:17] Production.INFO: ==2590== Releasing lock...
[2025-01-10 16:00:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 16:00:17] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 16:00:38] Production.INFO: count ==3577
[2025-01-10 16:00:39] Production.ERROR: pbx CDR StartTime 2025-01-10 13:00:05 - End Time 2025-01-10 16:00:05
[2025-01-10 16:00:39] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 16:00:39] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218000', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:00:40] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218000', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:00:40] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218000', 'tblTempVendorCDR_20' ) start
[2025-01-10 16:00:40] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218000', 'tblTempVendorCDR_20' ) end
[2025-01-10 16:00:40] Production.INFO: ProcessCDR(1,14218000,1,1,2)
[2025-01-10 16:00:40] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14218000,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:00:42] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14218000,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:00:42] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14218000,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:00:44] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14218000,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:00:44] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218000', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:00:44] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218000', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:00:44] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 16:00:44] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 16:00:44] Production.INFO: ==2598== Releasing lock...
[2025-01-10 16:00:44] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 16:00:44] Production.INFO: 55 MB #Memory Used#
[2025-01-10 21:01:02] Production.INFO: ==2671== Lock acquired, processing the job...
[2025-01-10 21:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 21:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 21:01:02] Production.INFO: neon service started
[2025-01-10 21:01:02] Production.INFO: neon service started
[2025-01-10 21:01:02] Production.INFO: ==2671== Releasing lock...
[2025-01-10 21:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 21:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 16:01:02] Production.INFO: ==2684== Lock acquired, processing the job...
[2025-01-10 16:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 21:01:02] Production.INFO: ==2686== Lock acquired, processing the job...
[2025-01-10 21:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 21:01:02] Production.INFO: ==2686== Releasing lock...
[2025-01-10 21:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 21:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 16:01:03] Production.INFO: ==2684== Releasing lock...
[2025-01-10 16:01:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 16:01:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 16:01:03] Production.INFO: ==2691== Lock acquired, processing the job...
[2025-01-10 16:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 16:01:03] Production.INFO: ==2699== Lock acquired, processing the job...
[2025-01-10 16:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 16:01:04] Production.INFO: ==2689== Lock acquired, processing the job...
[2025-01-10 16:01:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 16:01:04] Production.INFO: ==2691== Releasing lock...
[2025-01-10 16:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 16:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 16:01:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:01:04] Production.INFO: count ==21
[2025-01-10 16:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:01:04] Production.INFO: count ==21
[2025-01-10 16:01:04] Production.INFO: ==2697== Lock acquired, processing the job...
[2025-01-10 16:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 16:01:04] Production.INFO: ==2695== Lock acquired, processing the job...
[2025-01-10 16:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 16:01:04] Production.INFO: ==2693== Lock acquired, processing the job...
[2025-01-10 16:01:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 16:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14218002') start
[2025-01-10 16:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 16:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 16:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 16:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 16:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 16:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14218002') end
[2025-01-10 16:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 16:01:04] Production.INFO: 1
[2025-01-10 16:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 16:01:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 16:01:04] Production.INFO: ==2699== Releasing lock...
[2025-01-10 16:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 16:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 16:01:04] Production.INFO: Account Balance Start.
[2025-01-10 16:01:04] Production.INFO: CreateAllLog Start
[2025-01-10 16:01:04] Production.INFO: 117
[2025-01-10 16:01:04] Production.INFO: Date 2025-01-08
[2025-01-10 16:01:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:01:04] Production.INFO: Date 2025-01-09
[2025-01-10 16:01:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:01:04] Production.INFO: Date 2025-01-10
[2025-01-10 16:01:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:01:04] Production.INFO: Total Charge 0
[2025-01-10 16:01:04] Production.INFO: CreateAllLog End
[2025-01-10 16:01:04] Production.ERROR: done
[2025-01-10 16:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 16:01:04] Production.INFO: Account Balance End.
[2025-01-10 16:01:04] Production.ERROR: done
[2025-01-10 16:01:04] Production.ERROR: CronJobId end 12
[2025-01-10 16:01:04] Production.INFO: ==2695== Releasing lock...
[2025-01-10 16:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 16:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 16:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 13:01:05
[end_date_ymd] => 2025-01-10 16:01:05
[RateCDR] => 1
)
[2025-01-10 16:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 13:01:05' and `end` < '2025-01-10 16:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 16:01:12] Production.ERROR: CronJobId end10
[2025-01-10 16:01:12] Production.INFO: ==2693== Releasing lock...
[2025-01-10 16:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 16:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 16:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 16:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 16:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 16:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 16:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 16:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 16:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 16:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 16:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 16:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 16:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 16:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 16:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 16:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 16:01:13] Production.INFO: call_cost start
[2025-01-10 16:01:13] Production.INFO: call_cost end
[2025-01-10 16:01:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 16:01:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 16:01:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 16:01:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 16:01:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 16:01:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 16:01:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 16:01:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 16:01:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 16:01:14] Production.INFO: ==2689== Releasing lock...
[2025-01-10 16:01:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 16:01:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 16:01:35] Production.INFO: count ==3689
[2025-01-10 16:01:37] Production.ERROR: pbx CDR StartTime 2025-01-10 13:01:05 - End Time 2025-01-10 16:01:05
[2025-01-10 16:01:37] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 16:01:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218005', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:01:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218005', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:01:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218005', 'tblTempVendorCDR_20' ) start
[2025-01-10 16:01:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218005', 'tblTempVendorCDR_20' ) end
[2025-01-10 16:01:37] Production.INFO: ProcessCDR(1,14218005,1,1,2)
[2025-01-10 16:01:37] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14218005,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:01:40] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14218005,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:01:40] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14218005,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:01:42] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14218005,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:01:42] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218005', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:01:42] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218005', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:01:42] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 16:01:42] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 16:01:42] Production.INFO: ==2697== Releasing lock...
[2025-01-10 16:01:42] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 16:01:42] Production.INFO: 55.75 MB #Memory Used#
[2025-01-10 21:02:01] Production.INFO: ==2758== Lock acquired, processing the job...
[2025-01-10 21:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 21:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 21:02:01] Production.INFO: neon service started
[2025-01-10 21:02:01] Production.INFO: neon service started
[2025-01-10 21:02:01] Production.INFO: ==2758== Releasing lock...
[2025-01-10 21:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 21:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 16:02:01] Production.INFO: ==2760== Lock acquired, processing the job...
[2025-01-10 16:02:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 16:02:02] Production.INFO: ==2760== Releasing lock...
[2025-01-10 16:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 16:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 21:02:02] Production.INFO: ==2762== Lock acquired, processing the job...
[2025-01-10 21:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 21:02:02] Production.INFO: ==2762== Releasing lock...
[2025-01-10 21:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 21:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 16:02:03] Production.INFO: ==2765== Lock acquired, processing the job...
[2025-01-10 16:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 16:02:03] Production.INFO: ==2771== Lock acquired, processing the job...
[2025-01-10 16:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 16:02:03] Production.INFO: ==2767== Lock acquired, processing the job...
[2025-01-10 16:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 16:02:03] Production.INFO: ==2773== Lock acquired, processing the job...
[2025-01-10 16:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 16:02:03] Production.INFO: ==2769== Lock acquired, processing the job...
[2025-01-10 16:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 16:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 16:02:03] Production.INFO: Account Balance Start.
[2025-01-10 16:02:03] Production.INFO: CreateAllLog Start
[2025-01-10 16:02:03] Production.INFO: 117
[2025-01-10 16:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 16:02:03] Production.INFO: Date 2025-01-08
[2025-01-10 16:02:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:02:03] Production.INFO: ==2775== Lock acquired, processing the job...
[2025-01-10 16:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 16:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 16:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 16:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 16:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 16:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:02:03] Production.INFO: Date 2025-01-09
[2025-01-10 16:02:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:02:03] Production.INFO: count ==21
[2025-01-10 16:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:02:03] Production.INFO: count ==21
[2025-01-10 16:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14218009') start
[2025-01-10 16:02:03] Production.ERROR: done
[2025-01-10 16:02:03] Production.INFO: Date 2025-01-10
[2025-01-10 16:02:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:02:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 16:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14218009') end
[2025-01-10 16:02:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 16:02:03] Production.INFO: 1
[2025-01-10 16:02:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 16:02:03] Production.INFO: Total Charge 0
[2025-01-10 16:02:03] Production.INFO: ==2775== Releasing lock...
[2025-01-10 16:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 16:02:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 16:02:03] Production.ERROR: done
[2025-01-10 16:02:03] Production.INFO: ==2767== Releasing lock...
[2025-01-10 16:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 16:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 16:02:03] Production.INFO: CreateAllLog End
[2025-01-10 16:02:04] Production.INFO: Account Balance End.
[2025-01-10 16:02:04] Production.ERROR: CronJobId end 12
[2025-01-10 16:02:04] Production.INFO: ==2771== Releasing lock...
[2025-01-10 16:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 16:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 16:02:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 13:02:04
[end_date_ymd] => 2025-01-10 16:02:04
[RateCDR] => 1
)
[2025-01-10 16:02:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 13:02:04' and `end` < '2025-01-10 16:02:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 16:02:11] Production.ERROR: CronJobId end10
[2025-01-10 16:02:11] Production.INFO: ==2769== Releasing lock...
[2025-01-10 16:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 16:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 16:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 16:02:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 16:02:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 16:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 16:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 16:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 16:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 16:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 16:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 16:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 16:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 16:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 16:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 16:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 16:02:13] Production.INFO: call_cost start
[2025-01-10 16:02:13] Production.INFO: call_cost end
[2025-01-10 16:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 16:02:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 16:02:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 16:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 16:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 16:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 16:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 16:02:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 16:02:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 16:02:14] Production.INFO: ==2765== Releasing lock...
[2025-01-10 16:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 16:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 16:02:33] Production.INFO: count ==3694
[2025-01-10 16:02:34] Production.ERROR: pbx CDR StartTime 2025-01-10 13:02:04 - End Time 2025-01-10 16:02:04
[2025-01-10 16:02:34] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 16:02:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218010', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:02:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218010', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:02:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218010', 'tblTempVendorCDR_20' ) start
[2025-01-10 16:02:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218010', 'tblTempVendorCDR_20' ) end
[2025-01-10 16:02:35] Production.INFO: ProcessCDR(1,14218010,1,1,2)
[2025-01-10 16:02:35] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14218010,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:02:37] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14218010,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:02:37] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14218010,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:02:40] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14218010,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:02:40] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218010', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:02:40] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218010', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:02:40] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 16:02:40] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 16:02:40] Production.INFO: ==2773== Releasing lock...
[2025-01-10 16:02:40] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 16:02:40] Production.INFO: 56.25 MB #Memory Used#
[2025-01-10 21:03:01] Production.INFO: ==2836== Lock acquired, processing the job...
[2025-01-10 21:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 21:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 21:03:01] Production.INFO: neon service started
[2025-01-10 21:03:02] Production.INFO: neon service started
[2025-01-10 21:03:02] Production.INFO: ==2836== Releasing lock...
[2025-01-10 21:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 21:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 16:03:02] Production.INFO: ==2838== Lock acquired, processing the job...
[2025-01-10 16:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 21:03:02] Production.INFO: ==2840== Lock acquired, processing the job...
[2025-01-10 21:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 21:03:02] Production.INFO: ==2840== Releasing lock...
[2025-01-10 21:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 21:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 16:03:02] Production.INFO: ==2838== Releasing lock...
[2025-01-10 16:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 16:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 16:03:03] Production.INFO: ==2847== Lock acquired, processing the job...
[2025-01-10 16:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 16:03:03] Production.INFO: ==2851== Lock acquired, processing the job...
[2025-01-10 16:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 16:03:03] Production.INFO: ==2845== Lock acquired, processing the job...
[2025-01-10 16:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 16:03:03] Production.INFO: Account Balance Start.
[2025-01-10 16:03:03] Production.INFO: CreateAllLog Start
[2025-01-10 16:03:03] Production.INFO: 117
[2025-01-10 16:03:03] Production.INFO: Date 2025-01-08
[2025-01-10 16:03:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 16:03:03] Production.INFO: Date 2025-01-09
[2025-01-10 16:03:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:03:03] Production.INFO: Date 2025-01-10
[2025-01-10 16:03:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:03:03] Production.INFO: Total Charge 0
[2025-01-10 16:03:03] Production.INFO: ==2849== Lock acquired, processing the job...
[2025-01-10 16:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 16:03:03] Production.INFO: CreateAllLog End
[2025-01-10 16:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 16:03:03] Production.INFO: ==2853== Lock acquired, processing the job...
[2025-01-10 16:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 16:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 16:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 16:03:03] Production.INFO: ==2847== Releasing lock...
[2025-01-10 16:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 16:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 16:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 16:03:04] Production.INFO: ==2855== Lock acquired, processing the job...
[2025-01-10 16:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 16:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 16:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:03:04] Production.INFO: Account Balance End.
[2025-01-10 16:03:04] Production.INFO: count ==21
[2025-01-10 16:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:03:04] Production.INFO: count ==21
[2025-01-10 16:03:04] Production.ERROR: CronJobId end 12
[2025-01-10 16:03:04] Production.INFO: ==2851== Releasing lock...
[2025-01-10 16:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 16:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 16:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14218014') start
[2025-01-10 16:03:04] Production.ERROR: done
[2025-01-10 16:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14218014') end
[2025-01-10 16:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 16:03:04] Production.INFO: 1
[2025-01-10 16:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 16:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 16:03:04] Production.INFO: ==2855== Releasing lock...
[2025-01-10 16:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 16:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 16:03:04] Production.ERROR: done
[2025-01-10 16:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 13:03:05
[end_date_ymd] => 2025-01-10 16:03:05
[RateCDR] => 1
)
[2025-01-10 16:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 13:03:05' and `end` < '2025-01-10 16:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 16:03:11] Production.ERROR: CronJobId end10
[2025-01-10 16:03:11] Production.INFO: ==2849== Releasing lock...
[2025-01-10 16:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 16:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 16:03:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 16:03:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 16:03:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 16:03:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 16:03:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 16:03:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 16:03:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 16:03:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 16:03:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 16:03:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 16:03:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 16:03:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 16:03:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 16:03:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 16:03:12] Production.INFO: call_cost start
[2025-01-10 16:03:12] Production.INFO: call_cost end
[2025-01-10 16:03:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 16:03:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 16:03:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 16:03:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 16:03:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 16:03:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 16:03:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 16:03:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 16:03:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 16:03:13] Production.INFO: ==2845== Releasing lock...
[2025-01-10 16:03:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 16:03:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 16:03:32] Production.INFO: count ==3675
[2025-01-10 16:03:34] Production.ERROR: pbx CDR StartTime 2025-01-10 13:03:05 - End Time 2025-01-10 16:03:05
[2025-01-10 16:03:34] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 16:03:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218015', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:03:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218015', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:03:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218015', 'tblTempVendorCDR_20' ) start
[2025-01-10 16:03:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218015', 'tblTempVendorCDR_20' ) end
[2025-01-10 16:03:34] Production.INFO: ProcessCDR(1,14218015,1,1,2)
[2025-01-10 16:03:34] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14218015,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:03:36] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14218015,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:03:36] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14218015,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:03:38] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14218015,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:03:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218015', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:03:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218015', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:03:38] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 16:03:38] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 16:03:39] Production.INFO: ==2853== Releasing lock...
[2025-01-10 16:03:39] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 16:03:39] Production.INFO: 55.5 MB #Memory Used#
[2025-01-10 21:04:01] Production.INFO: ==2918== Lock acquired, processing the job...
[2025-01-10 21:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 21:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 21:04:01] Production.INFO: neon service started
[2025-01-10 21:04:01] Production.INFO: neon service started
[2025-01-10 21:04:01] Production.INFO: ==2918== Releasing lock...
[2025-01-10 21:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 21:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 16:04:01] Production.INFO: ==2920== Lock acquired, processing the job...
[2025-01-10 16:04:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 16:04:02] Production.INFO: ==2920== Releasing lock...
[2025-01-10 16:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 16:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 21:04:02] Production.INFO: ==2922== Lock acquired, processing the job...
[2025-01-10 21:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 21:04:02] Production.INFO: ==2922== Releasing lock...
[2025-01-10 21:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 21:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 16:04:02] Production.INFO: ==2932== Lock acquired, processing the job...
[2025-01-10 16:04:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 16:04:02] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 16:04:03] Production.INFO: ==2924== Lock acquired, processing the job...
[2025-01-10 16:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 16:04:03] Production.INFO: ==2934== Lock acquired, processing the job...
[2025-01-10 16:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 16:04:03] Production.INFO: ==2926== Lock acquired, processing the job...
[2025-01-10 16:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 16:04:03] Production.INFO: ==2928== Lock acquired, processing the job...
[2025-01-10 16:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 16:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 16:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:04:03] Production.INFO: ==2930== Lock acquired, processing the job...
[2025-01-10 16:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 16:04:03] Production.INFO: count ==21
[2025-01-10 16:04:03] Production.ERROR: done
[2025-01-10 16:04:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 16:04:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:04:03] Production.INFO: count ==21
[2025-01-10 16:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14218016') start
[2025-01-10 16:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 16:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 16:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 16:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 16:04:03] Production.INFO: Account Balance Start.
[2025-01-10 16:04:03] Production.INFO: CreateAllLog Start
[2025-01-10 16:04:03] Production.INFO: 117
[2025-01-10 16:04:03] Production.INFO: Date 2025-01-08
[2025-01-10 16:04:03] Production.ERROR: done
[2025-01-10 16:04:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:04:03] Production.INFO: Date 2025-01-09
[2025-01-10 16:04:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:04:03] Production.INFO: Date 2025-01-10
[2025-01-10 16:04:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14218016') end
[2025-01-10 16:04:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 16:04:03] Production.INFO: 1
[2025-01-10 16:04:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 16:04:03] Production.INFO: Total Charge 0
[2025-01-10 16:04:03] Production.INFO: CreateAllLog End
[2025-01-10 16:04:03] Production.INFO: ==2934== Releasing lock...
[2025-01-10 16:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 16:04:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 16:04:03] Production.INFO: ==2926== Releasing lock...
[2025-01-10 16:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 16:04:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 16:04:03] Production.INFO: Account Balance End.
[2025-01-10 16:04:03] Production.ERROR: CronJobId end 12
[2025-01-10 16:04:03] Production.INFO: ==2930== Releasing lock...
[2025-01-10 16:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 16:04:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 16:04:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 13:04:04
[end_date_ymd] => 2025-01-10 16:04:04
[RateCDR] => 1
)
[2025-01-10 16:04:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 13:04:04' and `end` < '2025-01-10 16:04:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 16:04:10] Production.ERROR: CronJobId end10
[2025-01-10 16:04:10] Production.INFO: ==2928== Releasing lock...
[2025-01-10 16:04:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 16:04:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 16:04:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 16:04:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 16:04:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 16:04:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 16:04:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 16:04:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 16:04:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 16:04:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 16:04:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 16:04:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 16:04:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 16:04:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 16:04:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 16:04:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 16:04:12] Production.INFO: call_cost start
[2025-01-10 16:04:12] Production.INFO: call_cost end
[2025-01-10 16:04:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 16:04:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 16:04:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 16:04:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 16:04:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 16:04:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 16:04:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 16:04:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 16:04:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 16:04:13] Production.INFO: ==2924== Releasing lock...
[2025-01-10 16:04:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 16:04:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 16:04:34] Production.INFO: count ==3710
[2025-01-10 16:04:36] Production.ERROR: pbx CDR StartTime 2025-01-10 13:04:04 - End Time 2025-01-10 16:04:04
[2025-01-10 16:04:36] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 16:04:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218020', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:04:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218020', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:04:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218020', 'tblTempVendorCDR_20' ) start
[2025-01-10 16:04:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218020', 'tblTempVendorCDR_20' ) end
[2025-01-10 16:04:36] Production.INFO: ProcessCDR(1,14218020,1,1,2)
[2025-01-10 16:04:36] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14218020,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:04:39] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14218020,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:04:39] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14218020,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:04:41] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14218020,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:04:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218020', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:04:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218020', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:04:41] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 16:04:41] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 16:04:41] Production.INFO: ==2932== Releasing lock...
[2025-01-10 16:04:41] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 16:04:41] Production.INFO: 55.75 MB #Memory Used#
[2025-01-10 21:05:01] Production.INFO: ==2997== Lock acquired, processing the job...
[2025-01-10 21:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 21:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 21:05:01] Production.INFO: neon service started
[2025-01-10 21:05:01] Production.INFO: neon service started
[2025-01-10 21:05:01] Production.INFO: ==2997== Releasing lock...
[2025-01-10 21:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 21:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 16:05:02] Production.INFO: ==2999== Lock acquired, processing the job...
[2025-01-10 16:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 16:05:02] Production.INFO: ==2999== Releasing lock...
[2025-01-10 16:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 16:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 21:05:02] Production.INFO: ==3001== Lock acquired, processing the job...
[2025-01-10 21:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 21:05:02] Production.INFO: ==3001== Releasing lock...
[2025-01-10 21:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 21:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 16:05:03] Production.INFO: ==3011== Lock acquired, processing the job...
[2025-01-10 16:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 16:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 16:05:03] Production.INFO: ==3003== Lock acquired, processing the job...
[2025-01-10 16:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 16:05:03] Production.INFO: ==3013== Lock acquired, processing the job...
[2025-01-10 16:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 16:05:03] Production.INFO: ==3005== Lock acquired, processing the job...
[2025-01-10 16:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 16:05:03] Production.INFO: ==3007== Lock acquired, processing the job...
[2025-01-10 16:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 16:05:03] Production.INFO: ==3009== Lock acquired, processing the job...
[2025-01-10 16:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 16:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 16:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:05:03] Production.INFO: count ==21
[2025-01-10 16:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:05:03] Production.INFO: count ==21
[2025-01-10 16:05:03] Production.ERROR: done
[2025-01-10 16:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14218021') start
[2025-01-10 16:05:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 16:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 16:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 16:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 16:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 16:05:03] Production.INFO: Account Balance Start.
[2025-01-10 16:05:03] Production.INFO: CreateAllLog Start
[2025-01-10 16:05:03] Production.INFO: 117
[2025-01-10 16:05:03] Production.INFO: ==3005== Releasing lock...
[2025-01-10 16:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 16:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 16:05:03] Production.INFO: Date 2025-01-08
[2025-01-10 16:05:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14218021') end
[2025-01-10 16:05:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 16:05:03] Production.INFO: 1
[2025-01-10 16:05:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 16:05:03] Production.INFO: Date 2025-01-09
[2025-01-10 16:05:03] Production.INFO: ==3013== Releasing lock...
[2025-01-10 16:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 16:05:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 16:05:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:05:03] Production.INFO: Date 2025-01-10
[2025-01-10 16:05:03] Production.ERROR: done
[2025-01-10 16:05:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:05:03] Production.INFO: Total Charge 0
[2025-01-10 16:05:03] Production.INFO: CreateAllLog End
[2025-01-10 16:05:04] Production.INFO: Account Balance End.
[2025-01-10 16:05:04] Production.ERROR: CronJobId end 12
[2025-01-10 16:05:04] Production.INFO: ==3009== Releasing lock...
[2025-01-10 16:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 16:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 16:05:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 13:05:04
[end_date_ymd] => 2025-01-10 16:05:04
[RateCDR] => 1
)
[2025-01-10 16:05:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 13:05:04' and `end` < '2025-01-10 16:05:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 16:05:11] Production.ERROR: CronJobId end10
[2025-01-10 16:05:11] Production.INFO: ==3007== Releasing lock...
[2025-01-10 16:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 16:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 16:05:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 16:05:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 16:05:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 16:05:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 16:05:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 16:05:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 16:05:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 16:05:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 16:05:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 16:05:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 16:05:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 16:05:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 16:05:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 16:05:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 16:05:13] Production.INFO: call_cost start
[2025-01-10 16:05:13] Production.INFO: call_cost end
[2025-01-10 16:05:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 16:05:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 16:05:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 16:05:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 16:05:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 16:05:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 16:05:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 16:05:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 16:05:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 16:05:13] Production.INFO: ==3003== Releasing lock...
[2025-01-10 16:05:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 16:05:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 16:05:33] Production.INFO: count ==3711
[2025-01-10 16:05:35] Production.ERROR: pbx CDR StartTime 2025-01-10 13:05:04 - End Time 2025-01-10 16:05:04
[2025-01-10 16:05:35] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 16:05:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218025', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:05:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218025', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:05:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218025', 'tblTempVendorCDR_20' ) start
[2025-01-10 16:05:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218025', 'tblTempVendorCDR_20' ) end
[2025-01-10 16:05:35] Production.INFO: ProcessCDR(1,14218025,1,1,2)
[2025-01-10 16:05:35] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14218025,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:05:37] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14218025,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:05:37] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14218025,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:05:39] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14218025,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:05:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218025', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:05:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218025', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:05:39] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 16:05:39] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 16:05:39] Production.INFO: ==3011== Releasing lock...
[2025-01-10 16:05:39] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 16:05:39] Production.INFO: 55.75 MB #Memory Used#
[2025-01-10 21:06:02] Production.INFO: ==3071== Lock acquired, processing the job...
[2025-01-10 21:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 21:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 21:06:02] Production.INFO: neon service started
[2025-01-10 21:06:02] Production.INFO: neon service started
[2025-01-10 21:06:02] Production.INFO: ==3071== Releasing lock...
[2025-01-10 21:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 21:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 16:06:02] Production.INFO: ==3073== Lock acquired, processing the job...
[2025-01-10 16:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 21:06:02] Production.INFO: ==3075== Lock acquired, processing the job...
[2025-01-10 21:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 21:06:02] Production.INFO: ==3075== Releasing lock...
[2025-01-10 21:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 21:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 16:06:03] Production.INFO: ==3073== Releasing lock...
[2025-01-10 16:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 16:06:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 16:06:04] Production.INFO: ==3084== Lock acquired, processing the job...
[2025-01-10 16:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 16:06:04] Production.INFO: ==3086== Lock acquired, processing the job...
[2025-01-10 16:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 16:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 16:06:04] Production.INFO: ==3078== Lock acquired, processing the job...
[2025-01-10 16:06:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 16:06:04] Production.INFO: ==3080== Lock acquired, processing the job...
[2025-01-10 16:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 16:06:04] Production.INFO: Account Balance Start.
[2025-01-10 16:06:04] Production.INFO: CreateAllLog Start
[2025-01-10 16:06:04] Production.INFO: 117
[2025-01-10 16:06:04] Production.INFO: Date 2025-01-08
[2025-01-10 16:06:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 16:06:04] Production.INFO: ==3082== Lock acquired, processing the job...
[2025-01-10 16:06:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 16:06:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:06:04] Production.INFO: Date 2025-01-09
[2025-01-10 16:06:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:06:04] Production.INFO: ==3088== Lock acquired, processing the job...
[2025-01-10 16:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 16:06:04] Production.ERROR: done
[2025-01-10 16:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 16:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 16:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 16:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 16:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 16:06:04] Production.INFO: Date 2025-01-10
[2025-01-10 16:06:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:06:04] Production.INFO: Total Charge 0
[2025-01-10 16:06:04] Production.INFO: CreateAllLog End
[2025-01-10 16:06:04] Production.ERROR: done
[2025-01-10 16:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:06:04] Production.INFO: ==3080== Releasing lock...
[2025-01-10 16:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 16:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 16:06:04] Production.INFO: count ==21
[2025-01-10 16:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:06:04] Production.INFO: count ==21
[2025-01-10 16:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14218029') start
[2025-01-10 16:06:04] Production.INFO: Account Balance End.
[2025-01-10 16:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14218029') end
[2025-01-10 16:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 16:06:04] Production.INFO: 1
[2025-01-10 16:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 16:06:04] Production.ERROR: CronJobId end 12
[2025-01-10 16:06:04] Production.INFO: ==3084== Releasing lock...
[2025-01-10 16:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 16:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 16:06:04] Production.INFO: ==3088== Releasing lock...
[2025-01-10 16:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 16:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 16:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 13:06:05
[end_date_ymd] => 2025-01-10 16:06:05
[RateCDR] => 1
)
[2025-01-10 16:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 13:06:05' and `end` < '2025-01-10 16:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 16:06:12] Production.ERROR: CronJobId end10
[2025-01-10 16:06:12] Production.INFO: ==3082== Releasing lock...
[2025-01-10 16:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 16:06:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 16:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 16:06:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 16:06:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 16:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 16:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 16:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 16:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 16:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 16:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 16:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 16:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 16:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 16:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 16:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 16:06:13] Production.INFO: call_cost start
[2025-01-10 16:06:13] Production.INFO: call_cost end
[2025-01-10 16:06:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 16:06:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 16:06:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 16:06:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 16:06:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 16:06:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 16:06:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 16:06:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 16:06:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 16:06:14] Production.INFO: ==3078== Releasing lock...
[2025-01-10 16:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 16:06:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 16:06:24] Production.INFO: count ==3678
[2025-01-10 16:06:26] Production.ERROR: pbx CDR StartTime 2025-01-10 13:06:05 - End Time 2025-01-10 16:06:05
[2025-01-10 16:06:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 16:06:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218030', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:06:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218030', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:06:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218030', 'tblTempVendorCDR_20' ) start
[2025-01-10 16:06:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218030', 'tblTempVendorCDR_20' ) end
[2025-01-10 16:06:26] Production.INFO: ProcessCDR(1,14218030,1,1,2)
[2025-01-10 16:06:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14218030,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:06:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14218030,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:06:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14218030,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:06:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14218030,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:06:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218030', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:06:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218030', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:06:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 16:06:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 16:06:31] Production.INFO: ==3086== Releasing lock...
[2025-01-10 16:06:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 16:06:31] Production.INFO: 56.25 MB #Memory Used#
[2025-01-10 21:07:01] Production.INFO: ==3145== Lock acquired, processing the job...
[2025-01-10 21:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 21:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 21:07:01] Production.INFO: neon service started
[2025-01-10 21:07:01] Production.INFO: neon service started
[2025-01-10 21:07:01] Production.INFO: ==3145== Releasing lock...
[2025-01-10 21:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 21:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 21:07:01] Production.INFO: ==3149== Lock acquired, processing the job...
[2025-01-10 21:07:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 21:07:02] Production.INFO: ==3149== Releasing lock...
[2025-01-10 21:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 21:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 16:07:02] Production.INFO: ==3147== Lock acquired, processing the job...
[2025-01-10 16:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 16:07:02] Production.INFO: ==3147== Releasing lock...
[2025-01-10 16:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 16:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 16:07:03] Production.INFO: ==3154== Lock acquired, processing the job...
[2025-01-10 16:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 16:07:03] Production.INFO: ==3158== Lock acquired, processing the job...
[2025-01-10 16:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 16:07:03] Production.INFO: ==3160== Lock acquired, processing the job...
[2025-01-10 16:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 16:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 16:07:03] Production.INFO: Account Balance Start.
[2025-01-10 16:07:03] Production.INFO: CreateAllLog Start
[2025-01-10 16:07:03] Production.INFO: 117
[2025-01-10 16:07:03] Production.INFO: Date 2025-01-08
[2025-01-10 16:07:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:07:03] Production.INFO: ==3154== Releasing lock...
[2025-01-10 16:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 16:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 16:07:03] Production.INFO: Date 2025-01-09
[2025-01-10 16:07:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:07:03] Production.INFO: Date 2025-01-10
[2025-01-10 16:07:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:07:03] Production.INFO: ==3152== Lock acquired, processing the job...
[2025-01-10 16:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 16:07:03] Production.INFO: Total Charge 0
[2025-01-10 16:07:03] Production.INFO: CreateAllLog End
[2025-01-10 16:07:03] Production.INFO: ==3156== Lock acquired, processing the job...
[2025-01-10 16:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 16:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 16:07:03] Production.INFO: ==3162== Lock acquired, processing the job...
[2025-01-10 16:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 16:07:03] Production.INFO: Account Balance End.
[2025-01-10 16:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 16:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 16:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 16:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 16:07:03] Production.ERROR: done
[2025-01-10 16:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 16:07:03] Production.ERROR: CronJobId end 12
[2025-01-10 16:07:03] Production.INFO: ==3158== Releasing lock...
[2025-01-10 16:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 16:07:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 16:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:07:03] Production.INFO: count ==21
[2025-01-10 16:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:07:03] Production.INFO: count ==21
[2025-01-10 16:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14218034') start
[2025-01-10 16:07:03] Production.ERROR: done
[2025-01-10 16:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14218034') end
[2025-01-10 16:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 16:07:03] Production.INFO: 1
[2025-01-10 16:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 16:07:04] Production.INFO: ==3162== Releasing lock...
[2025-01-10 16:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 16:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 16:07:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 13:07:04
[end_date_ymd] => 2025-01-10 16:07:04
[RateCDR] => 1
)
[2025-01-10 16:07:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 13:07:04' and `end` < '2025-01-10 16:07:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 16:07:11] Production.ERROR: CronJobId end10
[2025-01-10 16:07:11] Production.INFO: ==3156== Releasing lock...
[2025-01-10 16:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 16:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 16:07:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 16:07:11] Production.INFO: ============== Balance Warning START===========
[2025-01-10 16:07:11] Production.INFO: ============== Balance Warning END===========
[2025-01-10 16:07:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 16:07:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 16:07:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 16:07:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 16:07:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 16:07:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 16:07:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 16:07:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 16:07:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 16:07:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 16:07:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 16:07:11] Production.INFO: call_cost start
[2025-01-10 16:07:11] Production.INFO: call_cost end
[2025-01-10 16:07:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 16:07:12] Production.INFO: ============== Report Schedule START===========
[2025-01-10 16:07:12] Production.INFO: ============== Report Schedule END===========
[2025-01-10 16:07:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 16:07:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 16:07:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 16:07:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 16:07:12] Production.INFO: ============== Deal alert START===========
[2025-01-10 16:07:12] Production.INFO: ============== Deal alert END===========
[2025-01-10 16:07:12] Production.INFO: ==3152== Releasing lock...
[2025-01-10 16:07:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 16:07:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 16:07:20] Production.INFO: count ==3688
[2025-01-10 16:07:22] Production.ERROR: pbx CDR StartTime 2025-01-10 13:07:04 - End Time 2025-01-10 16:07:04
[2025-01-10 16:07:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 16:07:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218035', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:07:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218035', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:07:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218035', 'tblTempVendorCDR_20' ) start
[2025-01-10 16:07:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218035', 'tblTempVendorCDR_20' ) end
[2025-01-10 16:07:22] Production.INFO: ProcessCDR(1,14218035,1,1,2)
[2025-01-10 16:07:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14218035,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:07:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14218035,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:07:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14218035,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:07:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14218035,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:07:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218035', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:07:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218035', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:07:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 16:07:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 16:07:26] Production.INFO: ==3160== Releasing lock...
[2025-01-10 16:07:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 16:07:26] Production.INFO: 56 MB #Memory Used#
[2025-01-10 21:08:02] Production.INFO: ==3220== Lock acquired, processing the job...
[2025-01-10 21:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 21:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 21:08:02] Production.INFO: neon service started
[2025-01-10 21:08:02] Production.INFO: neon service started
[2025-01-10 21:08:02] Production.INFO: ==3220== Releasing lock...
[2025-01-10 21:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 21:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 16:08:02] Production.INFO: ==3222== Lock acquired, processing the job...
[2025-01-10 16:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 21:08:02] Production.INFO: ==3224== Lock acquired, processing the job...
[2025-01-10 21:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 21:08:02] Production.INFO: ==3224== Releasing lock...
[2025-01-10 21:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 21:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 16:08:02] Production.INFO: ==3222== Releasing lock...
[2025-01-10 16:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 16:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 16:08:03] Production.INFO: ==3227== Lock acquired, processing the job...
[2025-01-10 16:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 16:08:03] Production.INFO: ==3231== Lock acquired, processing the job...
[2025-01-10 16:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 16:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 16:08:03] Production.INFO: ==3237== Lock acquired, processing the job...
[2025-01-10 16:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 16:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 16:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 16:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 16:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 16:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:08:03] Production.INFO: ==3229== Lock acquired, processing the job...
[2025-01-10 16:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 16:08:04] Production.INFO: count ==21
[2025-01-10 16:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:08:04] Production.INFO: count ==21
[2025-01-10 16:08:04] Production.INFO: ==3233== Lock acquired, processing the job...
[2025-01-10 16:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 16:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14218037') start
[2025-01-10 16:08:04] Production.INFO: ==3235== Lock acquired, processing the job...
[2025-01-10 16:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 16:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14218037') end
[2025-01-10 16:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 16:08:04] Production.INFO: 1
[2025-01-10 16:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 16:08:04] Production.INFO: Account Balance Start.
[2025-01-10 16:08:04] Production.INFO: CreateAllLog Start
[2025-01-10 16:08:04] Production.INFO: 117
[2025-01-10 16:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 16:08:04] Production.INFO: Date 2025-01-08
[2025-01-10 16:08:04] Production.INFO: ==3237== Releasing lock...
[2025-01-10 16:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 16:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 16:08:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:08:04] Production.INFO: ==3229== Releasing lock...
[2025-01-10 16:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 16:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 16:08:04] Production.INFO: Date 2025-01-09
[2025-01-10 16:08:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:08:04] Production.INFO: Date 2025-01-10
[2025-01-10 16:08:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:08:04] Production.INFO: Total Charge 0
[2025-01-10 16:08:04] Production.INFO: CreateAllLog End
[2025-01-10 16:08:04] Production.ERROR: done
[2025-01-10 16:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 16:08:04] Production.INFO: Account Balance End.
[2025-01-10 16:08:04] Production.ERROR: CronJobId end 12
[2025-01-10 16:08:04] Production.INFO: ==3233== Releasing lock...
[2025-01-10 16:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 16:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 16:08:04] Production.ERROR: done
[2025-01-10 16:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 13:08:05
[end_date_ymd] => 2025-01-10 16:08:05
[RateCDR] => 1
)
[2025-01-10 16:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 13:08:05' and `end` < '2025-01-10 16:08:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 16:08:11] Production.ERROR: CronJobId end10
[2025-01-10 16:08:11] Production.INFO: ==3231== Releasing lock...
[2025-01-10 16:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 16:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 16:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 16:08:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 16:08:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 16:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 16:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 16:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 16:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 16:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 16:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 16:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 16:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 16:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 16:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 16:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 16:08:13] Production.INFO: call_cost start
[2025-01-10 16:08:13] Production.INFO: call_cost end
[2025-01-10 16:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 16:08:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 16:08:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 16:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 16:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 16:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 16:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 16:08:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 16:08:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 16:08:14] Production.INFO: ==3227== Releasing lock...
[2025-01-10 16:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 16:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 16:08:26] Production.INFO: count ==3692
[2025-01-10 16:08:27] Production.ERROR: pbx CDR StartTime 2025-01-10 13:08:05 - End Time 2025-01-10 16:08:05
[2025-01-10 16:08:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 16:08:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218040', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:08:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218040', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:08:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218040', 'tblTempVendorCDR_20' ) start
[2025-01-10 16:08:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218040', 'tblTempVendorCDR_20' ) end
[2025-01-10 16:08:27] Production.INFO: ProcessCDR(1,14218040,1,1,2)
[2025-01-10 16:08:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14218040,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:08:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14218040,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:08:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14218040,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:08:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14218040,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:08:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218040', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:08:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218040', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:08:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 16:08:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 16:08:32] Production.INFO: ==3235== Releasing lock...
[2025-01-10 16:08:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 16:08:32] Production.INFO: 56.25 MB #Memory Used#
[2025-01-10 21:09:01] Production.INFO: ==3341== Lock acquired, processing the job...
[2025-01-10 21:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 21:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 21:09:01] Production.INFO: neon service started
[2025-01-10 21:09:01] Production.INFO: neon service started
[2025-01-10 21:09:01] Production.INFO: ==3341== Releasing lock...
[2025-01-10 21:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 21:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 16:09:01] Production.INFO: ==3343== Lock acquired, processing the job...
[2025-01-10 16:09:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 16:09:02] Production.INFO: ==3343== Releasing lock...
[2025-01-10 16:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 16:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 21:09:02] Production.INFO: ==3345== Lock acquired, processing the job...
[2025-01-10 21:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 21:09:02] Production.INFO: ==3345== Releasing lock...
[2025-01-10 21:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 21:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 16:09:02] Production.INFO: ==3348== Lock acquired, processing the job...
[2025-01-10 16:09:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 16:09:02] Production.INFO: ==3352== Lock acquired, processing the job...
[2025-01-10 16:09:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 16:09:03] Production.INFO: ==3350== Lock acquired, processing the job...
[2025-01-10 16:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 16:09:03] Production.INFO: ==3356== Lock acquired, processing the job...
[2025-01-10 16:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 16:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 16:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 16:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 16:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 16:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 16:09:03] Production.INFO: ==3354== Lock acquired, processing the job...
[2025-01-10 16:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 16:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 16:09:03] Production.INFO: ==3358== Lock acquired, processing the job...
[2025-01-10 16:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 16:09:03] Production.INFO: Account Balance Start.
[2025-01-10 16:09:03] Production.INFO: CreateAllLog Start
[2025-01-10 16:09:03] Production.INFO: 117
[2025-01-10 16:09:03] Production.INFO: Date 2025-01-08
[2025-01-10 16:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:09:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:09:03] Production.INFO: ==3350== Releasing lock...
[2025-01-10 16:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 16:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 16:09:03] Production.INFO: count ==21
[2025-01-10 16:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:09:03] Production.INFO: count ==21
[2025-01-10 16:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14218044') start
[2025-01-10 16:09:03] Production.INFO: Date 2025-01-09
[2025-01-10 16:09:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:09:03] Production.INFO: Date 2025-01-10
[2025-01-10 16:09:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:09:03] Production.ERROR: done
[2025-01-10 16:09:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 16:09:03] Production.INFO: Total Charge 0
[2025-01-10 16:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14218044') end
[2025-01-10 16:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 16:09:03] Production.INFO: 1
[2025-01-10 16:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 16:09:03] Production.INFO: CreateAllLog End
[2025-01-10 16:09:03] Production.ERROR: done
[2025-01-10 16:09:03] Production.INFO: ==3358== Releasing lock...
[2025-01-10 16:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 16:09:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 16:09:03] Production.INFO: Account Balance End.
[2025-01-10 16:09:03] Production.ERROR: CronJobId end 12
[2025-01-10 16:09:03] Production.INFO: ==3354== Releasing lock...
[2025-01-10 16:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 16:09:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 16:09:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 13:09:04
[end_date_ymd] => 2025-01-10 16:09:04
[RateCDR] => 1
)
[2025-01-10 16:09:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 13:09:04' and `end` < '2025-01-10 16:09:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 16:09:11] Production.ERROR: CronJobId end10
[2025-01-10 16:09:11] Production.INFO: ==3352== Releasing lock...
[2025-01-10 16:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 16:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 16:09:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 16:09:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 16:09:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 16:09:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 16:09:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 16:09:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 16:09:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 16:09:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 16:09:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 16:09:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 16:09:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 16:09:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 16:09:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 16:09:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 16:09:13] Production.INFO: call_cost start
[2025-01-10 16:09:13] Production.INFO: call_cost end
[2025-01-10 16:09:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 16:09:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 16:09:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 16:09:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 16:09:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 16:09:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 16:09:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 16:09:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 16:09:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 16:09:13] Production.INFO: ==3348== Releasing lock...
[2025-01-10 16:09:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 16:09:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 16:09:29] Production.INFO: count ==3712
[2025-01-10 16:09:31] Production.ERROR: pbx CDR StartTime 2025-01-10 13:09:04 - End Time 2025-01-10 16:09:04
[2025-01-10 16:09:31] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 16:09:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218045', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:09:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218045', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:09:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218045', 'tblTempVendorCDR_20' ) start
[2025-01-10 16:09:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218045', 'tblTempVendorCDR_20' ) end
[2025-01-10 16:09:31] Production.INFO: ProcessCDR(1,14218045,1,1,2)
[2025-01-10 16:09:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14218045,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:09:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14218045,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:09:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14218045,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:09:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14218045,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:09:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218045', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:09:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218045', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:09:36] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 16:09:36] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 16:09:36] Production.INFO: ==3356== Releasing lock...
[2025-01-10 16:09:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 16:09:36] Production.INFO: 56.25 MB #Memory Used#
[2025-01-10 21:10:01] Production.INFO: ==3422== Lock acquired, processing the job...
[2025-01-10 21:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 21:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 21:10:01] Production.INFO: neon service started
[2025-01-10 21:10:01] Production.INFO: neon service started
[2025-01-10 21:10:01] Production.INFO: ==3422== Releasing lock...
[2025-01-10 21:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 21:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 16:10:02] Production.INFO: ==3424== Lock acquired, processing the job...
[2025-01-10 16:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 21:10:02] Production.INFO: ==3426== Lock acquired, processing the job...
[2025-01-10 21:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 21:10:02] Production.INFO: ==3426== Releasing lock...
[2025-01-10 21:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 21:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 16:10:02] Production.INFO: ==3424== Releasing lock...
[2025-01-10 16:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 16:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 16:10:03] Production.INFO: ==3431== Lock acquired, processing the job...
[2025-01-10 16:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 16:10:03] Production.INFO: ==3435== Lock acquired, processing the job...
[2025-01-10 16:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 16:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 16:10:03] Production.INFO: ==3437== Lock acquired, processing the job...
[2025-01-10 16:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 16:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 16:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 16:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 16:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 16:10:03] Production.INFO: ==3441== Lock acquired, processing the job...
[2025-01-10 16:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 16:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 16:10:04] Production.INFO: Account Balance Start.
[2025-01-10 16:10:04] Production.INFO: CreateAllLog Start
[2025-01-10 16:10:04] Production.INFO: 117
[2025-01-10 16:10:04] Production.INFO: Date 2025-01-08
[2025-01-10 16:10:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:10:04] Production.INFO: ==3429== Lock acquired, processing the job...
[2025-01-10 16:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 16:10:04] Production.INFO: ==3433== Lock acquired, processing the job...
[2025-01-10 16:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 16:10:04] Production.INFO: Date 2025-01-09
[2025-01-10 16:10:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:10:04] Production.INFO: Date 2025-01-10
[2025-01-10 16:10:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:10:04] Production.INFO: Total Charge 0
[2025-01-10 16:10:04] Production.INFO: ==3439== Lock acquired, processing the job...
[2025-01-10 16:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 16:10:04] Production.INFO: CreateAllLog End
[2025-01-10 16:10:04] Production.ERROR: done
[2025-01-10 16:10:04] Production.INFO: ==3443== Lock acquired, processing the job...
[2025-01-10 16:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 16:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 16:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 16:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 16:10:04] Production.ERROR: CronJob PID - 3431
[2025-01-10 16:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14218048', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 16:10:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-10 16:10:04] Production.ERROR: CronJob ID - 5
[2025-01-10 16:10:04] Production.ERROR: CronJob Last Run Time 2025-01-10 16:10:00
[2025-01-10 16:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 16:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 16:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 16:10:04] Production.ERROR: CronJob PID - 3433
[2025-01-10 16:10:04] Production.ERROR: CronJob Title - Account Block
[2025-01-10 16:10:04] Production.ERROR: CronJob ID - 7
[2025-01-10 16:10:04] Production.ERROR: CronJob Last Run Time 2025-01-10 16:10:00
[2025-01-10 16:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 16:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 16:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 16:10:04] Production.ERROR: CronJob PID - 3435
[2025-01-10 16:10:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-10 16:10:04] Production.ERROR: CronJob ID - 10
[2025-01-10 16:10:04] Production.ERROR: CronJob Last Run Time 2025-01-10 16:10:00
[2025-01-10 16:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 16:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 16:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 16:10:04] Production.ERROR: CronJob PID - 3437
[2025-01-10 16:10:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-10 16:10:04] Production.ERROR: CronJob ID - 12
[2025-01-10 16:10:04] Production.ERROR: CronJob Last Run Time 2025-01-10 16:10:00
[2025-01-10 16:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 16:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 16:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 16:10:04] Production.ERROR: CronJob PID - 3439
[2025-01-10 16:10:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-10 16:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 16:10:04] Production.ERROR: CronJob ID - 16
[2025-01-10 16:10:04] Production.ERROR: CronJob Last Run Time 2025-01-10 16:10:00
[2025-01-10 16:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 16:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 16:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 16:10:04] Production.ERROR: CronJob PID - 3441
[2025-01-10 16:10:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-10 16:10:04] Production.ERROR: CronJob ID - 17
[2025-01-10 16:10:04] Production.ERROR: CronJob Last Run Time 2025-01-10 16:10:00
[2025-01-10 16:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 16:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 16:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 16:10:04] Production.ERROR: CronJob PID - 3443
[2025-01-10 16:10:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-10 16:10:04] Production.ERROR: CronJob ID - 19
[2025-01-10 16:10:04] Production.ERROR: CronJob Last Run Time 2025-01-10 16:10:00
[2025-01-10 16:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 16:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 16:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 16:10:04] Production.INFO: ==3429== Releasing lock...
[2025-01-10 16:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 16:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 16:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:10:04] Production.INFO: count ==21
[2025-01-10 16:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:10:04] Production.INFO: count ==21
[2025-01-10 16:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14218050') start
[2025-01-10 16:10:04] Production.ERROR: done
[2025-01-10 16:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 16:10:04] Production.INFO: ==3433== Releasing lock...
[2025-01-10 16:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 16:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 16:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14218050') end
[2025-01-10 16:10:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 16:10:05] Production.INFO: 1
[2025-01-10 16:10:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 16:10:05] Production.INFO: Account Balance End.
[2025-01-10 16:10:05] Production.ERROR: done
[2025-01-10 16:10:05] Production.ERROR: CronJobId end 12
[2025-01-10 16:10:05] Production.INFO: ==3437== Releasing lock...
[2025-01-10 16:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 16:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 16:10:05] Production.INFO: ==3443== Releasing lock...
[2025-01-10 16:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 16:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 16:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 13:10:06
[end_date_ymd] => 2025-01-10 16:10:06
[RateCDR] => 1
)
[2025-01-10 16:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 13:10:06' and `end` < '2025-01-10 16:10:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 16:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14218048', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 16:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 16:10:08] Production.INFO: ProcessCDR(1,14218048,1,1,2)
[2025-01-10 16:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14218048,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14218048,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 16:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 16:10:08] Production.INFO: ==3441== Releasing lock...
[2025-01-10 16:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 16:10:08] Production.INFO: 26 MB #Memory Used#
[2025-01-10 16:10:14] Production.ERROR: CronJobId end10
[2025-01-10 16:10:14] Production.INFO: ==3435== Releasing lock...
[2025-01-10 16:10:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 16:10:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 16:10:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 16:10:16] Production.INFO: ============== Balance Warning START===========
[2025-01-10 16:10:16] Production.INFO: ============== Balance Warning END===========
[2025-01-10 16:10:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 16:10:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 16:10:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 16:10:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 16:10:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 16:10:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 16:10:16] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 16:10:16] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 16:10:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 16:10:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 16:10:16] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 16:10:16] Production.INFO: call_cost start
[2025-01-10 16:10:16] Production.INFO: call_cost end
[2025-01-10 16:10:17] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 16:10:17] Production.INFO: ============== Report Schedule START===========
[2025-01-10 16:10:17] Production.INFO: ============== Report Schedule END===========
[2025-01-10 16:10:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 16:10:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 16:10:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 16:10:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 16:10:17] Production.INFO: ============== Deal alert START===========
[2025-01-10 16:10:17] Production.INFO: ============== Deal alert END===========
[2025-01-10 16:10:17] Production.INFO: ==3431== Releasing lock...
[2025-01-10 16:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 16:10:17] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 16:10:32] Production.INFO: count ==3750
[2025-01-10 16:10:34] Production.ERROR: pbx CDR StartTime 2025-01-10 13:10:06 - End Time 2025-01-10 16:10:06
[2025-01-10 16:10:34] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 16:10:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218051', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:10:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218051', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:10:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218051', 'tblTempVendorCDR_20' ) start
[2025-01-10 16:10:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218051', 'tblTempVendorCDR_20' ) end
[2025-01-10 16:10:34] Production.INFO: ProcessCDR(1,14218051,1,1,2)
[2025-01-10 16:10:34] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14218051,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:10:36] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14218051,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:10:36] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14218051,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:10:39] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14218051,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:10:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218051', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:10:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218051', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:10:39] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 16:10:39] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 16:10:39] Production.INFO: ==3439== Releasing lock...
[2025-01-10 16:10:39] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 16:10:39] Production.INFO: 56.75 MB #Memory Used#
[2025-01-10 21:11:02] Production.INFO: ==3515== Lock acquired, processing the job...
[2025-01-10 21:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 21:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 21:11:02] Production.INFO: neon service started
[2025-01-10 21:11:02] Production.INFO: neon service started
[2025-01-10 21:11:02] Production.INFO: ==3515== Releasing lock...
[2025-01-10 21:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 21:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 16:11:02] Production.INFO: ==3517== Lock acquired, processing the job...
[2025-01-10 16:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 21:11:02] Production.INFO: ==3519== Lock acquired, processing the job...
[2025-01-10 21:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 21:11:02] Production.INFO: ==3519== Releasing lock...
[2025-01-10 21:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 21:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 16:11:02] Production.INFO: ==3517== Releasing lock...
[2025-01-10 16:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 16:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 16:11:03] Production.INFO: ==3521== Lock acquired, processing the job...
[2025-01-10 16:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 16:11:03] Production.INFO: ==3528== Lock acquired, processing the job...
[2025-01-10 16:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 16:11:03] Production.INFO: ==3532== Lock acquired, processing the job...
[2025-01-10 16:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 16:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 16:11:03] Production.INFO: ==3524== Lock acquired, processing the job...
[2025-01-10 16:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 16:11:03] Production.INFO: Account Balance Start.
[2025-01-10 16:11:03] Production.INFO: CreateAllLog Start
[2025-01-10 16:11:03] Production.INFO: 117
[2025-01-10 16:11:03] Production.INFO: Date 2025-01-08
[2025-01-10 16:11:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:11:04] Production.INFO: Date 2025-01-09
[2025-01-10 16:11:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:11:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:11:04] Production.INFO: ==3526== Lock acquired, processing the job...
[2025-01-10 16:11:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 16:11:04] Production.INFO: Date 2025-01-10
[2025-01-10 16:11:04] Production.INFO: count ==21
[2025-01-10 16:11:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:11:04] Production.INFO: count ==21
[2025-01-10 16:11:04] Production.INFO: Total Charge 0
[2025-01-10 16:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14218054') start
[2025-01-10 16:11:04] Production.INFO: ==3530== Lock acquired, processing the job...
[2025-01-10 16:11:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 16:11:04] Production.INFO: CreateAllLog End
[2025-01-10 16:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 16:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 16:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 16:11:04] Production.INFO: ==3524== Releasing lock...
[2025-01-10 16:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 16:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 16:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 16:11:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 16:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14218054') end
[2025-01-10 16:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 16:11:04] Production.INFO: 1
[2025-01-10 16:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 16:11:04] Production.INFO: ==3532== Releasing lock...
[2025-01-10 16:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 16:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 16:11:04] Production.ERROR: done
[2025-01-10 16:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 16:11:04] Production.INFO: Account Balance End.
[2025-01-10 16:11:04] Production.ERROR: CronJobId end 12
[2025-01-10 16:11:04] Production.INFO: ==3528== Releasing lock...
[2025-01-10 16:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 16:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 16:11:04] Production.ERROR: done
[2025-01-10 16:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 13:11:05
[end_date_ymd] => 2025-01-10 16:11:05
[RateCDR] => 1
)
[2025-01-10 16:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 13:11:05' and `end` < '2025-01-10 16:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 16:11:11] Production.ERROR: CronJobId end10
[2025-01-10 16:11:11] Production.INFO: ==3526== Releasing lock...
[2025-01-10 16:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 16:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 16:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 16:11:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 16:11:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 16:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 16:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 16:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 16:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 16:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 16:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 16:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 16:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 16:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 16:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 16:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 16:11:13] Production.INFO: call_cost start
[2025-01-10 16:11:13] Production.INFO: call_cost end
[2025-01-10 16:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 16:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 16:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 16:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 16:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 16:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 16:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 16:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 16:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 16:11:14] Production.INFO: ==3521== Releasing lock...
[2025-01-10 16:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 16:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 16:11:26] Production.INFO: count ==3865
[2025-01-10 16:11:28] Production.ERROR: pbx CDR StartTime 2025-01-10 13:11:05 - End Time 2025-01-10 16:11:05
[2025-01-10 16:11:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 16:11:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218056', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:11:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218056', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:11:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218056', 'tblTempVendorCDR_20' ) start
[2025-01-10 16:11:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218056', 'tblTempVendorCDR_20' ) end
[2025-01-10 16:11:28] Production.INFO: ProcessCDR(1,14218056,1,1,2)
[2025-01-10 16:11:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14218056,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:11:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14218056,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:11:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14218056,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:11:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14218056,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:11:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218056', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:11:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218056', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:11:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 16:11:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 16:11:33] Production.INFO: ==3530== Releasing lock...
[2025-01-10 16:11:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 16:11:33] Production.INFO: 57 MB #Memory Used#
[2025-01-10 21:12:01] Production.INFO: ==3661== Lock acquired, processing the job...
[2025-01-10 21:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 21:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 21:12:01] Production.INFO: neon service started
[2025-01-10 21:12:01] Production.INFO: neon service started
[2025-01-10 21:12:01] Production.INFO: ==3661== Releasing lock...
[2025-01-10 21:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 21:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 16:12:02] Production.INFO: ==3663== Lock acquired, processing the job...
[2025-01-10 16:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 16:12:02] Production.INFO: ==3663== Releasing lock...
[2025-01-10 16:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 16:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 21:12:02] Production.INFO: ==3665== Lock acquired, processing the job...
[2025-01-10 21:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 21:12:02] Production.INFO: ==3665== Releasing lock...
[2025-01-10 21:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 21:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 16:12:03] Production.INFO: ==3674== Lock acquired, processing the job...
[2025-01-10 16:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 16:12:03] Production.INFO: Account Balance Start.
[2025-01-10 16:12:03] Production.INFO: CreateAllLog Start
[2025-01-10 16:12:03] Production.INFO: 117
[2025-01-10 16:12:03] Production.INFO: Date 2025-01-08
[2025-01-10 16:12:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:12:03] Production.INFO: Date 2025-01-09
[2025-01-10 16:12:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:12:03] Production.INFO: ==3670== Lock acquired, processing the job...
[2025-01-10 16:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 16:12:03] Production.INFO: ==3668== Lock acquired, processing the job...
[2025-01-10 16:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 16:12:03] Production.INFO: Date 2025-01-10
[2025-01-10 16:12:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:12:03] Production.INFO: ==3672== Lock acquired, processing the job...
[2025-01-10 16:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 16:12:03] Production.INFO: ==3678== Lock acquired, processing the job...
[2025-01-10 16:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 16:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 16:12:03] Production.INFO: Total Charge 0
[2025-01-10 16:12:03] Production.INFO: CreateAllLog End
[2025-01-10 16:12:03] Production.INFO: ==3676== Lock acquired, processing the job...
[2025-01-10 16:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 16:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 16:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 16:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 16:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 16:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 16:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:12:04] Production.INFO: count ==21
[2025-01-10 16:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:12:04] Production.INFO: count ==21
[2025-01-10 16:12:04] Production.INFO: Account Balance End.
[2025-01-10 16:12:04] Production.INFO: ==3670== Releasing lock...
[2025-01-10 16:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 16:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 16:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14218060') start
[2025-01-10 16:12:04] Production.ERROR: CronJobId end 12
[2025-01-10 16:12:04] Production.INFO: ==3674== Releasing lock...
[2025-01-10 16:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 16:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 16:12:04] Production.ERROR: done
[2025-01-10 16:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 16:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14218060') end
[2025-01-10 16:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 16:12:04] Production.INFO: 1
[2025-01-10 16:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 16:12:04] Production.INFO: ==3678== Releasing lock...
[2025-01-10 16:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 16:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 16:12:04] Production.ERROR: done
[2025-01-10 16:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 13:12:05
[end_date_ymd] => 2025-01-10 16:12:05
[RateCDR] => 1
)
[2025-01-10 16:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 13:12:05' and `end` < '2025-01-10 16:12:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 16:12:12] Production.ERROR: CronJobId end10
[2025-01-10 16:12:12] Production.INFO: ==3672== Releasing lock...
[2025-01-10 16:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 16:12:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 16:12:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 16:12:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 16:12:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 16:12:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 16:12:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 16:12:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 16:12:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 16:12:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 16:12:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 16:12:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 16:12:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 16:12:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 16:12:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 16:12:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 16:12:14] Production.INFO: call_cost start
[2025-01-10 16:12:14] Production.INFO: call_cost end
[2025-01-10 16:12:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 16:12:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 16:12:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 16:12:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 16:12:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 16:12:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 16:12:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 16:12:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 16:12:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 16:12:15] Production.INFO: ==3668== Releasing lock...
[2025-01-10 16:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 16:12:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 16:12:23] Production.INFO: count ==3878
[2025-01-10 16:12:24] Production.ERROR: pbx CDR StartTime 2025-01-10 13:12:05 - End Time 2025-01-10 16:12:05
[2025-01-10 16:12:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 16:12:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218061', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:12:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218061', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:12:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218061', 'tblTempVendorCDR_20' ) start
[2025-01-10 16:12:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218061', 'tblTempVendorCDR_20' ) end
[2025-01-10 16:12:24] Production.INFO: ProcessCDR(1,14218061,1,1,2)
[2025-01-10 16:12:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14218061,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:12:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14218061,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:12:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14218061,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:12:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14218061,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:12:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218061', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:12:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218061', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:12:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 16:12:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 16:12:29] Production.INFO: ==3676== Releasing lock...
[2025-01-10 16:12:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 16:12:29] Production.INFO: 57.25 MB #Memory Used#
[2025-01-10 21:13:02] Production.INFO: ==3741== Lock acquired, processing the job...
[2025-01-10 21:13:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 21:13:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 21:13:02] Production.INFO: neon service started
[2025-01-10 21:13:02] Production.INFO: neon service started
[2025-01-10 21:13:02] Production.INFO: ==3741== Releasing lock...
[2025-01-10 21:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 21:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 16:13:02] Production.INFO: ==3743== Lock acquired, processing the job...
[2025-01-10 16:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 16:13:02] Production.INFO: ==3743== Releasing lock...
[2025-01-10 16:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 16:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 21:13:02] Production.INFO: ==3745== Lock acquired, processing the job...
[2025-01-10 21:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 21:13:03] Production.INFO: ==3745== Releasing lock...
[2025-01-10 21:13:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 21:13:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 16:13:03] Production.INFO: ==3748== Lock acquired, processing the job...
[2025-01-10 16:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 16:13:03] Production.INFO: ==3750== Lock acquired, processing the job...
[2025-01-10 16:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 16:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 16:13:03] Production.INFO: ==3754== Lock acquired, processing the job...
[2025-01-10 16:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 16:13:03] Production.INFO: Account Balance Start.
[2025-01-10 16:13:03] Production.INFO: CreateAllLog Start
[2025-01-10 16:13:03] Production.INFO: 117
[2025-01-10 16:13:03] Production.INFO: Date 2025-01-08
[2025-01-10 16:13:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:13:03] Production.INFO: ==3750== Releasing lock...
[2025-01-10 16:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 16:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 16:13:04] Production.INFO: Date 2025-01-09
[2025-01-10 16:13:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:13:04] Production.INFO: ==3752== Lock acquired, processing the job...
[2025-01-10 16:13:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 16:13:04] Production.INFO: ==3758== Lock acquired, processing the job...
[2025-01-10 16:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 16:13:04] Production.INFO: Date 2025-01-10
[2025-01-10 16:13:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:13:04] Production.INFO: ==3756== Lock acquired, processing the job...
[2025-01-10 16:13:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 16:13:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 16:13:04] Production.INFO: Total Charge 0
[2025-01-10 16:13:04] Production.INFO: CreateAllLog End
[2025-01-10 16:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 16:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 16:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 16:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 16:13:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:13:04] Production.INFO: count ==21
[2025-01-10 16:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:13:04] Production.INFO: count ==21
[2025-01-10 16:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14218065') start
[2025-01-10 16:13:04] Production.INFO: Account Balance End.
[2025-01-10 16:13:04] Production.ERROR: done
[2025-01-10 16:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 16:13:04] Production.ERROR: CronJobId end 12
[2025-01-10 16:13:04] Production.INFO: ==3754== Releasing lock...
[2025-01-10 16:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 16:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 16:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14218065') end
[2025-01-10 16:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 16:13:04] Production.INFO: 1
[2025-01-10 16:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 16:13:04] Production.ERROR: done
[2025-01-10 16:13:04] Production.INFO: ==3758== Releasing lock...
[2025-01-10 16:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 16:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 16:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 13:13:05
[end_date_ymd] => 2025-01-10 16:13:05
[RateCDR] => 1
)
[2025-01-10 16:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 13:13:05' and `end` < '2025-01-10 16:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 16:13:11] Production.ERROR: CronJobId end10
[2025-01-10 16:13:11] Production.INFO: ==3752== Releasing lock...
[2025-01-10 16:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 16:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 16:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 16:13:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 16:13:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 16:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 16:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 16:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 16:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 16:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 16:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 16:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 16:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 16:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 16:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 16:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 16:13:13] Production.INFO: call_cost start
[2025-01-10 16:13:13] Production.INFO: call_cost end
[2025-01-10 16:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 16:13:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 16:13:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 16:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 16:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 16:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 16:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 16:13:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 16:13:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 16:13:14] Production.INFO: ==3748== Releasing lock...
[2025-01-10 16:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 16:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 16:13:29] Production.INFO: count ==3894
[2025-01-10 16:13:31] Production.ERROR: pbx CDR StartTime 2025-01-10 13:13:05 - End Time 2025-01-10 16:13:05
[2025-01-10 16:13:31] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 16:13:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218066', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:13:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218066', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:13:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218066', 'tblTempVendorCDR_20' ) start
[2025-01-10 16:13:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218066', 'tblTempVendorCDR_20' ) end
[2025-01-10 16:13:31] Production.INFO: ProcessCDR(1,14218066,1,1,2)
[2025-01-10 16:13:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14218066,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:13:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14218066,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:13:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14218066,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:13:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14218066,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:13:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218066', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:13:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218066', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:13:35] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 16:13:36] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 16:13:36] Production.INFO: ==3756== Releasing lock...
[2025-01-10 16:13:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 16:13:36] Production.INFO: 57.25 MB #Memory Used#
[2025-01-10 21:14:01] Production.INFO: ==3821== Lock acquired, processing the job...
[2025-01-10 21:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 21:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 21:14:01] Production.INFO: neon service started
[2025-01-10 21:14:01] Production.INFO: neon service started
[2025-01-10 21:14:01] Production.INFO: ==3821== Releasing lock...
[2025-01-10 21:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 21:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 16:14:02] Production.INFO: ==3823== Lock acquired, processing the job...
[2025-01-10 16:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 21:14:02] Production.INFO: ==3825== Lock acquired, processing the job...
[2025-01-10 21:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 21:14:02] Production.INFO: ==3825== Releasing lock...
[2025-01-10 21:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 21:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 16:14:02] Production.INFO: ==3823== Releasing lock...
[2025-01-10 16:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 16:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 16:14:03] Production.INFO: ==3828== Lock acquired, processing the job...
[2025-01-10 16:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 16:14:03] Production.INFO: ==3832== Lock acquired, processing the job...
[2025-01-10 16:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 16:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 16:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 16:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 16:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 16:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 16:14:03] Production.INFO: ==3836== Lock acquired, processing the job...
[2025-01-10 16:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 16:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 16:14:03] Production.INFO: ==3830== Lock acquired, processing the job...
[2025-01-10 16:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 16:14:03] Production.INFO: ==3834== Lock acquired, processing the job...
[2025-01-10 16:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 16:14:03] Production.INFO: ==3838== Lock acquired, processing the job...
[2025-01-10 16:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 16:14:03] Production.INFO: Account Balance Start.
[2025-01-10 16:14:03] Production.INFO: CreateAllLog Start
[2025-01-10 16:14:03] Production.INFO: 117
[2025-01-10 16:14:03] Production.ERROR: done
[2025-01-10 16:14:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 16:14:03] Production.INFO: Date 2025-01-08
[2025-01-10 16:14:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:14:04] Production.INFO: ==3830== Releasing lock...
[2025-01-10 16:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 16:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 16:14:04] Production.ERROR: done
[2025-01-10 16:14:04] Production.INFO: count ==21
[2025-01-10 16:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:14:04] Production.INFO: count ==21
[2025-01-10 16:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14218070') start
[2025-01-10 16:14:04] Production.INFO: Date 2025-01-09
[2025-01-10 16:14:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:14:04] Production.INFO: Date 2025-01-10
[2025-01-10 16:14:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:14:04] Production.INFO: Total Charge 0
[2025-01-10 16:14:04] Production.INFO: CreateAllLog End
[2025-01-10 16:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14218070') end
[2025-01-10 16:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 16:14:04] Production.INFO: 1
[2025-01-10 16:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 16:14:04] Production.INFO: ==3838== Releasing lock...
[2025-01-10 16:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 16:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 16:14:04] Production.INFO: Account Balance End.
[2025-01-10 16:14:04] Production.ERROR: CronJobId end 12
[2025-01-10 16:14:04] Production.INFO: ==3834== Releasing lock...
[2025-01-10 16:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 16:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 16:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 13:14:05
[end_date_ymd] => 2025-01-10 16:14:05
[RateCDR] => 1
)
[2025-01-10 16:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 13:14:05' and `end` < '2025-01-10 16:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 16:14:11] Production.ERROR: CronJobId end10
[2025-01-10 16:14:11] Production.INFO: ==3832== Releasing lock...
[2025-01-10 16:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 16:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 16:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 16:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 16:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 16:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 16:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 16:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 16:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 16:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 16:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 16:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 16:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 16:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 16:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 16:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 16:14:13] Production.INFO: call_cost start
[2025-01-10 16:14:13] Production.INFO: call_cost end
[2025-01-10 16:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 16:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 16:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 16:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 16:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 16:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 16:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 16:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 16:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 16:14:14] Production.INFO: ==3828== Releasing lock...
[2025-01-10 16:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 16:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 16:14:24] Production.INFO: count ==3889
[2025-01-10 16:14:25] Production.ERROR: pbx CDR StartTime 2025-01-10 13:14:05 - End Time 2025-01-10 16:14:05
[2025-01-10 16:14:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 16:14:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218071', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:14:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218071', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:14:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218071', 'tblTempVendorCDR_20' ) start
[2025-01-10 16:14:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218071', 'tblTempVendorCDR_20' ) end
[2025-01-10 16:14:26] Production.INFO: ProcessCDR(1,14218071,1,1,2)
[2025-01-10 16:14:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14218071,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:14:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14218071,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:14:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14218071,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:14:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14218071,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:14:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218071', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:14:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218071', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:14:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 16:14:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 16:14:30] Production.INFO: ==3836== Releasing lock...
[2025-01-10 16:14:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 16:14:30] Production.INFO: 57 MB #Memory Used#
[2025-01-10 21:15:02] Production.INFO: ==3901== Lock acquired, processing the job...
[2025-01-10 21:15:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 21:15:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 21:15:02] Production.INFO: neon service started
[2025-01-10 21:15:02] Production.INFO: neon service started
[2025-01-10 21:15:02] Production.INFO: ==3901== Releasing lock...
[2025-01-10 21:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 21:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 16:15:02] Production.INFO: ==3903== Lock acquired, processing the job...
[2025-01-10 16:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 21:15:02] Production.INFO: ==3905== Lock acquired, processing the job...
[2025-01-10 21:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 21:15:02] Production.INFO: ==3905== Releasing lock...
[2025-01-10 21:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 21:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 16:15:02] Production.INFO: ==3903== Releasing lock...
[2025-01-10 16:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 16:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 16:15:03] Production.INFO: ==3908== Lock acquired, processing the job...
[2025-01-10 16:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 16:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 16:15:03] Production.INFO: ==3910== Lock acquired, processing the job...
[2025-01-10 16:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 16:15:03] Production.INFO: ==3914== Lock acquired, processing the job...
[2025-01-10 16:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 16:15:03] Production.INFO: Account Balance Start.
[2025-01-10 16:15:03] Production.INFO: CreateAllLog Start
[2025-01-10 16:15:03] Production.INFO: 117
[2025-01-10 16:15:03] Production.INFO: Date 2025-01-08
[2025-01-10 16:15:03] Production.INFO: ==3912== Lock acquired, processing the job...
[2025-01-10 16:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 16:15:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:15:03] Production.INFO: ==3910== Releasing lock...
[2025-01-10 16:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 16:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 16:15:03] Production.INFO: Date 2025-01-09
[2025-01-10 16:15:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:15:04] Production.INFO: ==3916== Lock acquired, processing the job...
[2025-01-10 16:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 16:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 16:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 16:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 16:15:04] Production.INFO: Date 2025-01-10
[2025-01-10 16:15:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 16:15:04] Production.INFO: Total Charge 0
[2025-01-10 16:15:04] Production.INFO: CreateAllLog End
[2025-01-10 16:15:04] Production.INFO: ==3918== Lock acquired, processing the job...
[2025-01-10 16:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 16:15:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 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-01-10 16:15:04] Production.INFO: Account Balance End.
[2025-01-10 16:15:04] Production.ERROR: done
[2025-01-10 16:15:04] Production.ERROR: CronJobId end 12
[2025-01-10 16:15:04] Production.INFO: ==3914== Releasing lock...
[2025-01-10 16:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 16:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 16:15:04] Production.INFO: count ==21
[2025-01-10 16:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 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-01-10 16:15:04] Production.INFO: count ==21
[2025-01-10 16:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14218075') start
[2025-01-10 16:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14218075') end
[2025-01-10 16:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 16:15:04] Production.INFO: 1
[2025-01-10 16:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 16:15:04] Production.ERROR: done
[2025-01-10 16:15:04] Production.INFO: ==3918== Releasing lock...
[2025-01-10 16:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 16:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 16:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 13:15:05
[end_date_ymd] => 2025-01-10 16:15:05
[RateCDR] => 1
)
[2025-01-10 16:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 13:15:05' and `end` < '2025-01-10 16:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 16:15:11] Production.ERROR: CronJobId end10
[2025-01-10 16:15:11] Production.INFO: ==3912== Releasing lock...
[2025-01-10 16:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 16:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 16:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 16:15:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 16:15:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 16:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 16:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 16:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 16:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 16:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 16:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 16:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 16:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 16:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 16:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 16:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 16:15:13] Production.INFO: call_cost start
[2025-01-10 16:15:13] Production.INFO: call_cost end
[2025-01-10 16:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 16:15:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 16:15:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 16:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 16:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 16:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 16:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 16:15:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 16:15:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 16:15:14] Production.INFO: ==3908== Releasing lock...
[2025-01-10 16:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 16:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 16:15:37] Production.INFO: count ==3884
[2025-01-10 16:15:39] Production.ERROR: pbx CDR StartTime 2025-01-10 13:15:05 - End Time 2025-01-10 16:15:05
[2025-01-10 16:15:39] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 16:15:39] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218076', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:15:39] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218076', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:15:39] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218076', 'tblTempVendorCDR_20' ) start
[2025-01-10 16:15:39] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218076', 'tblTempVendorCDR_20' ) end
[2025-01-10 16:15:39] Production.INFO: ProcessCDR(1,14218076,1,1,2)
[2025-01-10 16:15:39] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14218076,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:15:41] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14218076,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:15:41] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14218076,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:15:44] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14218076,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:15:44] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218076', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:15:44] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218076', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:15:44] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 16:15:44] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 16:15:44] Production.INFO: ==3916== Releasing lock...
[2025-01-10 16:15:44] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 16:15:44] Production.INFO: 57.25 MB #Memory Used#
[2025-01-10 21:16:01] Production.INFO: ==4011== Lock acquired, processing the job...
[2025-01-10 21:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 21:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 21:16:01] Production.INFO: neon service started
[2025-01-10 21:16:01] Production.INFO: neon service started
[2025-01-10 21:16:01] Production.INFO: ==4011== Releasing lock...
[2025-01-10 21:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 21:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 21:16:01] Production.INFO: ==4015== Lock acquired, processing the job...
[2025-01-10 21:16:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 21:16:01] Production.INFO: ==4015== Releasing lock...
[2025-01-10 21:16:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 21:16:01] Production.INFO: 25 MB #Memory Used#
[2025-01-10 16:16:02] Production.INFO: ==4013== Lock acquired, processing the job...
[2025-01-10 16:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 16:16:02] Production.INFO: ==4013== Releasing lock...
[2025-01-10 16:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 16:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 16:16:03] Production.INFO: ==4025== Lock acquired, processing the job...
[2025-01-10 16:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 16:16:03] Production.INFO: ==4029== Lock acquired, processing the job...
[2025-01-10 16:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 16:16:03] Production.INFO: Account Balance Start.
[2025-01-10 16:16:03] Production.INFO: CreateAllLog Start
[2025-01-10 16:16:03] Production.INFO: 117
[2025-01-10 16:16:03] Production.INFO: Date 2025-01-08
[2025-01-10 16:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:16:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:16:03] Production.INFO: count ==21
[2025-01-10 16:16:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:16:03] Production.INFO: count ==21
[2025-01-10 16:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14218078') start
[2025-01-10 16:16:03] Production.INFO: Date 2025-01-09
[2025-01-10 16:16:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:16:03] Production.INFO: Date 2025-01-10
[2025-01-10 16:16:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:16:03] Production.INFO: ==4020== Lock acquired, processing the job...
[2025-01-10 16:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 16:16:03] Production.INFO: Total Charge 0
[2025-01-10 16:16:03] Production.INFO: ==4022== Lock acquired, processing the job...
[2025-01-10 16:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 16:16:03] Production.INFO: CreateAllLog End
[2025-01-10 16:16:03] Production.INFO: ==4018== Lock acquired, processing the job...
[2025-01-10 16:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 16:16:03] Production.INFO: ==4027== Lock acquired, processing the job...
[2025-01-10 16:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 16:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14218078') end
[2025-01-10 16:16:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 16:16:03] Production.INFO: 1
[2025-01-10 16:16:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 16:16:03] Production.INFO: Account Balance End.
[2025-01-10 16:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 16:16:03] Production.INFO: ==4029== Releasing lock...
[2025-01-10 16:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 16:16:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 16:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 16:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 16:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 16:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 16:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 16:16:03] Production.ERROR: CronJobId end 12
[2025-01-10 16:16:03] Production.INFO: ==4025== Releasing lock...
[2025-01-10 16:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 16:16:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 16:16:03] Production.ERROR: done
[2025-01-10 16:16:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 16:16:03] Production.INFO: ==4020== Releasing lock...
[2025-01-10 16:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 16:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 16:16:03] Production.ERROR: done
[2025-01-10 16:16:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 13:16:04
[end_date_ymd] => 2025-01-10 16:16:04
[RateCDR] => 1
)
[2025-01-10 16:16:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 13:16:04' and `end` < '2025-01-10 16:16:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 16:16:10] Production.ERROR: CronJobId end10
[2025-01-10 16:16:10] Production.INFO: ==4022== Releasing lock...
[2025-01-10 16:16:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 16:16:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 16:16:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 16:16:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 16:16:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 16:16:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 16:16:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 16:16:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 16:16:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 16:16:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 16:16:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 16:16:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 16:16:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 16:16:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 16:16:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 16:16:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 16:16:12] Production.INFO: call_cost start
[2025-01-10 16:16:12] Production.INFO: call_cost end
[2025-01-10 16:16:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 16:16:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 16:16:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 16:16:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 16:16:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 16:16:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 16:16:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 16:16:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 16:16:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 16:16:13] Production.INFO: ==4018== Releasing lock...
[2025-01-10 16:16:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 16:16:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 16:16:34] Production.INFO: count ==3868
[2025-01-10 16:16:36] Production.ERROR: pbx CDR StartTime 2025-01-10 13:16:04 - End Time 2025-01-10 16:16:04
[2025-01-10 16:16:36] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 16:16:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218081', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:16:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218081', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:16:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218081', 'tblTempVendorCDR_20' ) start
[2025-01-10 16:16:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218081', 'tblTempVendorCDR_20' ) end
[2025-01-10 16:16:36] Production.INFO: ProcessCDR(1,14218081,1,1,2)
[2025-01-10 16:16:36] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14218081,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:16:38] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14218081,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:16:38] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14218081,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:16:41] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14218081,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:16:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218081', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:16:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218081', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:16:41] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 16:16:41] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 16:16:41] Production.INFO: ==4027== Releasing lock...
[2025-01-10 16:16:41] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 16:16:41] Production.INFO: 57.25 MB #Memory Used#
[2025-01-10 21:17:01] Production.INFO: ==4092== Lock acquired, processing the job...
[2025-01-10 21:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 21:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 21:17:01] Production.INFO: neon service started
[2025-01-10 21:17:01] Production.INFO: neon service started
[2025-01-10 21:17:01] Production.INFO: ==4092== Releasing lock...
[2025-01-10 21:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 21:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 16:17:02] Production.INFO: ==4094== Lock acquired, processing the job...
[2025-01-10 16:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 16:17:02] Production.INFO: ==4094== Releasing lock...
[2025-01-10 16:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 16:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 21:17:02] Production.INFO: ==4096== Lock acquired, processing the job...
[2025-01-10 21:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 21:17:02] Production.INFO: ==4096== Releasing lock...
[2025-01-10 21:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 21:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 16:17:03] Production.INFO: ==4103== Lock acquired, processing the job...
[2025-01-10 16:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 16:17:03] Production.INFO: ==4109== Lock acquired, processing the job...
[2025-01-10 16:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 16:17:03] Production.INFO: ==4098== Lock acquired, processing the job...
[2025-01-10 16:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 16:17:03] Production.INFO: ==4100== Lock acquired, processing the job...
[2025-01-10 16:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 16:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 16:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 16:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 16:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 16:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 16:17:03] Production.INFO: count ==21
[2025-01-10 16:17:03] Production.INFO: ==4105== Lock acquired, processing the job...
[2025-01-10 16:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 16:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:17:03] Production.INFO: count ==21
[2025-01-10 16:17:03] Production.INFO: ==4107== Lock acquired, processing the job...
[2025-01-10 16:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 16:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14218082') start
[2025-01-10 16:17:03] Production.INFO: Account Balance Start.
[2025-01-10 16:17:03] Production.INFO: CreateAllLog Start
[2025-01-10 16:17:03] Production.INFO: 117
[2025-01-10 16:17:03] Production.INFO: Date 2025-01-08
[2025-01-10 16:17:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 16:17:03] Production.INFO: Date 2025-01-09
[2025-01-10 16:17:03] Production.INFO: ==4100== Releasing lock...
[2025-01-10 16:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 16:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 16:17:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14218082') end
[2025-01-10 16:17:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 16:17:03] Production.INFO: 1
[2025-01-10 16:17:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 16:17:03] Production.INFO: Date 2025-01-10
[2025-01-10 16:17:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:17:03] Production.INFO: Total Charge 0
[2025-01-10 16:17:03] Production.INFO: CreateAllLog End
[2025-01-10 16:17:03] Production.INFO: ==4109== Releasing lock...
[2025-01-10 16:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 16:17:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 16:17:04] Production.ERROR: done
[2025-01-10 16:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 16:17:04] Production.INFO: Account Balance End.
[2025-01-10 16:17:04] Production.ERROR: CronJobId end 12
[2025-01-10 16:17:04] Production.INFO: ==4105== Releasing lock...
[2025-01-10 16:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 16:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 16:17:04] Production.ERROR: done
[2025-01-10 16:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 13:17:05
[end_date_ymd] => 2025-01-10 16:17:05
[RateCDR] => 1
)
[2025-01-10 16:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 13:17:05' and `end` < '2025-01-10 16:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 16:17:11] Production.ERROR: CronJobId end10
[2025-01-10 16:17:11] Production.INFO: ==4103== Releasing lock...
[2025-01-10 16:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 16:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 16:17:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 16:17:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 16:17:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 16:17:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 16:17:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 16:17:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 16:17:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 16:17:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 16:17:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 16:17:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 16:17:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 16:17:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 16:17:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 16:17:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 16:17:13] Production.INFO: call_cost start
[2025-01-10 16:17:13] Production.INFO: call_cost end
[2025-01-10 16:17:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 16:17:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 16:17:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 16:17:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 16:17:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 16:17:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 16:17:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 16:17:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 16:17:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 16:17:14] Production.INFO: ==4098== Releasing lock...
[2025-01-10 16:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 16:17:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 16:17:31] Production.INFO: count ==3870
[2025-01-10 16:17:32] Production.ERROR: pbx CDR StartTime 2025-01-10 13:17:05 - End Time 2025-01-10 16:17:05
[2025-01-10 16:17:32] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 16:17:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218086', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:17:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218086', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:17:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218086', 'tblTempVendorCDR_20' ) start
[2025-01-10 16:17:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218086', 'tblTempVendorCDR_20' ) end
[2025-01-10 16:17:33] Production.INFO: ProcessCDR(1,14218086,1,1,2)
[2025-01-10 16:17:33] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14218086,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:17:35] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14218086,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:17:35] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14218086,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:17:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14218086,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:17:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218086', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:17:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218086', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:17:37] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 16:17:37] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 16:17:37] Production.INFO: ==4107== Releasing lock...
[2025-01-10 16:17:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 16:17:37] Production.INFO: 57 MB #Memory Used#
[2025-01-10 21:18:02] Production.INFO: ==4187== Lock acquired, processing the job...
[2025-01-10 21:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 21:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 21:18:02] Production.INFO: neon service started
[2025-01-10 21:18:02] Production.INFO: neon service started
[2025-01-10 21:18:02] Production.INFO: ==4187== Releasing lock...
[2025-01-10 21:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 21:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 21:18:02] Production.INFO: ==4191== Lock acquired, processing the job...
[2025-01-10 21:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 21:18:02] Production.INFO: ==4191== Releasing lock...
[2025-01-10 21:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 21:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 16:18:02] Production.INFO: ==4189== Lock acquired, processing the job...
[2025-01-10 16:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 16:18:03] Production.INFO: ==4189== Releasing lock...
[2025-01-10 16:18:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 16:18:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 16:18:03] Production.INFO: ==4193== Lock acquired, processing the job...
[2025-01-10 16:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 16:18:03] Production.INFO: ==4201== Lock acquired, processing the job...
[2025-01-10 16:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 16:18:03] Production.INFO: ==4199== Lock acquired, processing the job...
[2025-01-10 16:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 16:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 16:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 16:18:03] Production.INFO: ==4195== Lock acquired, processing the job...
[2025-01-10 16:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 16:18:04] Production.INFO: Account Balance Start.
[2025-01-10 16:18:04] Production.INFO: CreateAllLog Start
[2025-01-10 16:18:04] Production.INFO: ==4204== Lock acquired, processing the job...
[2025-01-10 16:18:04] Production.INFO: 117
[2025-01-10 16:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 16:18:04] Production.INFO: Date 2025-01-08
[2025-01-10 16:18:04] Production.INFO: ==4197== Lock acquired, processing the job...
[2025-01-10 16:18:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 16:18:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:18:04] Production.INFO: Date 2025-01-09
[2025-01-10 16:18:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:18:04] Production.INFO: Date 2025-01-10
[2025-01-10 16:18:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:18:04] Production.ERROR: done
[2025-01-10 16:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 16:18:04] Production.INFO: Total Charge 0
[2025-01-10 16:18:04] Production.INFO: CreateAllLog End
[2025-01-10 16:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 16:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 16:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 16:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 16:18:04] Production.INFO: count ==21
[2025-01-10 16:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:18:04] Production.INFO: count ==21
[2025-01-10 16:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14218089') start
[2025-01-10 16:18:04] Production.INFO: Account Balance End.
[2025-01-10 16:18:04] Production.ERROR: done
[2025-01-10 16:18:04] Production.ERROR: CronJobId end 12
[2025-01-10 16:18:04] Production.INFO: ==4199== Releasing lock...
[2025-01-10 16:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 16:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 16:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14218089') end
[2025-01-10 16:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 16:18:04] Production.INFO: 1
[2025-01-10 16:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 16:18:04] Production.INFO: ==4195== Releasing lock...
[2025-01-10 16:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 16:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 16:18:04] Production.INFO: ==4204== Releasing lock...
[2025-01-10 16:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 16:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 16:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 13:18:05
[end_date_ymd] => 2025-01-10 16:18:05
[RateCDR] => 1
)
[2025-01-10 16:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 13:18:05' and `end` < '2025-01-10 16:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 16:18:12] Production.ERROR: CronJobId end10
[2025-01-10 16:18:12] Production.INFO: ==4197== Releasing lock...
[2025-01-10 16:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 16:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 16:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 16:18:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 16:18:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 16:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 16:18:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 16:18:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 16:18:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 16:18:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 16:18:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 16:18:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 16:18:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 16:18:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 16:18:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 16:18:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 16:18:14] Production.INFO: call_cost start
[2025-01-10 16:18:14] Production.INFO: call_cost end
[2025-01-10 16:18:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 16:18:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 16:18:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 16:18:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 16:18:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 16:18:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 16:18:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 16:18:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 16:18:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 16:18:15] Production.INFO: ==4193== Releasing lock...
[2025-01-10 16:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 16:18:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 16:18:30] Production.INFO: count ==3859
[2025-01-10 16:18:32] Production.ERROR: pbx CDR StartTime 2025-01-10 13:18:05 - End Time 2025-01-10 16:18:05
[2025-01-10 16:18:32] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 16:18:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218091', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:18:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218091', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:18:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218091', 'tblTempVendorCDR_20' ) start
[2025-01-10 16:18:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218091', 'tblTempVendorCDR_20' ) end
[2025-01-10 16:18:32] Production.INFO: ProcessCDR(1,14218091,1,1,2)
[2025-01-10 16:18:32] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14218091,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:18:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14218091,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:18:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14218091,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:18:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14218091,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:18:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218091', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:18:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218091', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:18:37] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 16:18:37] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 16:18:37] Production.INFO: ==4201== Releasing lock...
[2025-01-10 16:18:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 16:18:37] Production.INFO: 56.75 MB #Memory Used#
[2025-01-10 21:19:01] Production.INFO: ==4269== Lock acquired, processing the job...
[2025-01-10 21:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 21:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 21:19:01] Production.INFO: neon service started
[2025-01-10 21:19:01] Production.INFO: neon service started
[2025-01-10 21:19:01] Production.INFO: ==4269== Releasing lock...
[2025-01-10 21:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 21:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 16:19:02] Production.INFO: ==4271== Lock acquired, processing the job...
[2025-01-10 16:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 21:19:02] Production.INFO: ==4273== Lock acquired, processing the job...
[2025-01-10 21:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 21:19:02] Production.INFO: ==4273== Releasing lock...
[2025-01-10 21:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 21:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 16:19:02] Production.INFO: ==4271== Releasing lock...
[2025-01-10 16:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 16:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 16:19:03] Production.INFO: ==4276== Lock acquired, processing the job...
[2025-01-10 16:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 16:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 16:19:03] Production.INFO: ==4280== Lock acquired, processing the job...
[2025-01-10 16:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 16:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 16:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 16:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 16:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 16:19:03] Production.INFO: ==4284== Lock acquired, processing the job...
[2025-01-10 16:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 16:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 16:19:03] Production.INFO: ==4278== Lock acquired, processing the job...
[2025-01-10 16:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 16:19:03] Production.ERROR: done
[2025-01-10 16:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 16:19:03] Production.INFO: ==4282== Lock acquired, processing the job...
[2025-01-10 16:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 16:19:03] Production.INFO: ==4286== Lock acquired, processing the job...
[2025-01-10 16:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 16:19:04] Production.INFO: Account Balance Start.
[2025-01-10 16:19:04] Production.INFO: CreateAllLog Start
[2025-01-10 16:19:04] Production.ERROR: done
[2025-01-10 16:19:04] Production.INFO: 117
[2025-01-10 16:19:04] Production.INFO: ==4278== Releasing lock...
[2025-01-10 16:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 16:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 16:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:19:04] Production.INFO: count ==21
[2025-01-10 16:19:04] Production.INFO: Date 2025-01-08
[2025-01-10 16:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:19:04] Production.INFO: count ==21
[2025-01-10 16:19:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14218094') start
[2025-01-10 16:19:04] Production.INFO: Date 2025-01-09
[2025-01-10 16:19:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14218094') end
[2025-01-10 16:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 16:19:04] Production.INFO: 1
[2025-01-10 16:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 16:19:04] Production.INFO: Date 2025-01-10
[2025-01-10 16:19:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:19:04] Production.INFO: ==4286== Releasing lock...
[2025-01-10 16:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 16:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 16:19:04] Production.INFO: Total Charge 0
[2025-01-10 16:19:04] Production.INFO: CreateAllLog End
[2025-01-10 16:19:04] Production.INFO: Account Balance End.
[2025-01-10 16:19:04] Production.ERROR: CronJobId end 12
[2025-01-10 16:19:04] Production.INFO: ==4282== Releasing lock...
[2025-01-10 16:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 16:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 16:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 13:19:05
[end_date_ymd] => 2025-01-10 16:19:05
[RateCDR] => 1
)
[2025-01-10 16:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 13:19:05' and `end` < '2025-01-10 16:19:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 16:19:12] Production.ERROR: CronJobId end10
[2025-01-10 16:19:12] Production.INFO: ==4280== Releasing lock...
[2025-01-10 16:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 16:19:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 16:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 16:19:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 16:19:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 16:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 16:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 16:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 16:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 16:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 16:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 16:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 16:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 16:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 16:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 16:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 16:19:13] Production.INFO: call_cost start
[2025-01-10 16:19:13] Production.INFO: call_cost end
[2025-01-10 16:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 16:19:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 16:19:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 16:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 16:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 16:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 16:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 16:19:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 16:19:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 16:19:14] Production.INFO: ==4276== Releasing lock...
[2025-01-10 16:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 16:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 16:19:26] Production.INFO: count ==3853
[2025-01-10 16:19:28] Production.ERROR: pbx CDR StartTime 2025-01-10 13:19:05 - End Time 2025-01-10 16:19:05
[2025-01-10 16:19:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 16:19:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218096', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:19:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218096', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:19:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218096', 'tblTempVendorCDR_20' ) start
[2025-01-10 16:19:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218096', 'tblTempVendorCDR_20' ) end
[2025-01-10 16:19:28] Production.INFO: ProcessCDR(1,14218096,1,1,2)
[2025-01-10 16:19:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14218096,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:19:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14218096,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:19:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14218096,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:19:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14218096,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:19:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218096', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:19:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218096', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:19:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 16:19:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 16:19:33] Production.INFO: ==4284== Releasing lock...
[2025-01-10 16:19:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 16:19:33] Production.INFO: 57.25 MB #Memory Used#
[2025-01-10 21:20:02] Production.INFO: ==4348== Lock acquired, processing the job...
[2025-01-10 21:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 21:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 21:20:02] Production.INFO: neon service started
[2025-01-10 21:20:02] Production.INFO: neon service started
[2025-01-10 21:20:02] Production.INFO: ==4348== Releasing lock...
[2025-01-10 21:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 21:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 16:20:02] Production.INFO: ==4350== Lock acquired, processing the job...
[2025-01-10 16:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 21:20:02] Production.INFO: ==4352== Lock acquired, processing the job...
[2025-01-10 21:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 21:20:02] Production.INFO: ==4352== Releasing lock...
[2025-01-10 21:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 21:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 16:20:03] Production.INFO: ==4350== Releasing lock...
[2025-01-10 16:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 16:20:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 16:20:04] Production.INFO: ==4355== Lock acquired, processing the job...
[2025-01-10 16:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 16:20:04] Production.INFO: ==4357== Lock acquired, processing the job...
[2025-01-10 16:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 16:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 16:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 16:20:04] Production.ERROR: CronJob PID - 4357
[2025-01-10 16:20:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-10 16:20:04] Production.ERROR: CronJob ID - 5
[2025-01-10 16:20:04] Production.ERROR: CronJob Last Run Time 2025-01-10 16:20:00
[2025-01-10 16:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 16:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 16:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 16:20:04] Production.INFO: ==4355== Releasing lock...
[2025-01-10 16:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 16:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 16:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 16:20:04] Production.INFO: ==4363== Lock acquired, processing the job...
[2025-01-10 16:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 16:20:04] Production.INFO: ==4367== Lock acquired, processing the job...
[2025-01-10 16:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 16:20:04] Production.INFO: Account Balance Start.
[2025-01-10 16:20:04] Production.INFO: CreateAllLog Start
[2025-01-10 16:20:04] Production.INFO: 117
[2025-01-10 16:20:04] Production.INFO: Date 2025-01-08
[2025-01-10 16:20:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:20:04] Production.INFO: Date 2025-01-09
[2025-01-10 16:20:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 16:20:04] Production.INFO: Date 2025-01-10
[2025-01-10 16:20:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:20:04] Production.INFO: ==4361== Lock acquired, processing the job...
[2025-01-10 16:20:04] Production.INFO: ==4359== Lock acquired, processing the job...
[2025-01-10 16:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 16:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 16:20:04] Production.INFO: Total Charge 0
[2025-01-10 16:20:04] Production.INFO: CreateAllLog End
[2025-01-10 16:20:04] Production.INFO: ==4365== Lock acquired, processing the job...
[2025-01-10 16:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 16:20:04] Production.INFO: ==4369== Lock acquired, processing the job...
[2025-01-10 16:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 16:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 16:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 16:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 16:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 16:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 16:20:04] Production.INFO: Account Balance End.
[2025-01-10 16:20:04] Production.ERROR: done
[2025-01-10 16:20:04] Production.ERROR: CronJobId end 12
[2025-01-10 16:20:04] Production.INFO: ==4363== Releasing lock...
[2025-01-10 16:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 16:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 16:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 16:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14218100', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 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-01-10 16:20:04] Production.INFO: ==4359== Releasing lock...
[2025-01-10 16:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 16:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 16:20:04] Production.INFO: count ==21
[2025-01-10 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-01-10 16:20:04] Production.INFO: count ==21
[2025-01-10 16:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14218101') start
[2025-01-10 16:20:05] Production.ERROR: done
[2025-01-10 16:20:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 16:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14218101') end
[2025-01-10 16:20:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 16:20:05] Production.INFO: 1
[2025-01-10 16:20:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 16:20:05] Production.ERROR: done
[2025-01-10 16:20:05] Production.INFO: ==4369== Releasing lock...
[2025-01-10 16:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 16:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 16:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 13:20:06
[end_date_ymd] => 2025-01-10 16:20:06
[RateCDR] => 1
)
[2025-01-10 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-01-10 13:20:06' and `end` < '2025-01-10 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-01-10 16:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14218100', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 16:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 16:20:08] Production.INFO: ProcessCDR(1,14218100,1,1,2)
[2025-01-10 16:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14218100,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14218100,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 16:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 16:20:08] Production.INFO: ==4367== Releasing lock...
[2025-01-10 16:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 16:20:08] Production.INFO: 26 MB #Memory Used#
[2025-01-10 16:20:14] Production.ERROR: CronJobId end10
[2025-01-10 16:20:14] Production.INFO: ==4361== Releasing lock...
[2025-01-10 16:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 16:20:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 16:20:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 16:20:15] Production.INFO: ============== Balance Warning START===========
[2025-01-10 16:20:15] Production.INFO: ============== Balance Warning END===========
[2025-01-10 16:20:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 16:20:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 16:20:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 16:20:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 16:20:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 16:20:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 16:20:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 16:20:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 16:20:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 16:20:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 16:20:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 16:20:16] Production.INFO: call_cost start
[2025-01-10 16:20:16] Production.INFO: call_cost end
[2025-01-10 16:20:17] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 16:20:17] Production.INFO: ============== Report Schedule START===========
[2025-01-10 16:20:17] Production.INFO: ============== Report Schedule END===========
[2025-01-10 16:20:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 16:20:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 16:20:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 16:20:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 16:20:17] Production.INFO: ============== Deal alert START===========
[2025-01-10 16:20:17] Production.INFO: ============== Deal alert END===========
[2025-01-10 16:20:17] Production.INFO: ==4357== Releasing lock...
[2025-01-10 16:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 16:20:17] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 16:20:31] Production.INFO: count ==3848
[2025-01-10 16:20:32] Production.ERROR: pbx CDR StartTime 2025-01-10 13:20:06 - End Time 2025-01-10 16:20:06
[2025-01-10 16:20:32] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 16:20:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218102', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:20:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218102', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:20:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218102', 'tblTempVendorCDR_20' ) start
[2025-01-10 16:20:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218102', 'tblTempVendorCDR_20' ) end
[2025-01-10 16:20:33] Production.INFO: ProcessCDR(1,14218102,1,1,2)
[2025-01-10 16:20:33] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14218102,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:20:35] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14218102,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:20:35] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14218102,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:20:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14218102,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:20:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218102', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:20:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218102', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:20:37] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 16:20:37] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 16:20:37] Production.INFO: ==4365== Releasing lock...
[2025-01-10 16:20:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 16:20:37] Production.INFO: 56.75 MB #Memory Used#
[2025-01-10 21:21:02] Production.INFO: ==4455== Lock acquired, processing the job...
[2025-01-10 21:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 21:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 21:21:02] Production.INFO: neon service started
[2025-01-10 21:21:02] Production.INFO: neon service started
[2025-01-10 21:21:02] Production.INFO: ==4455== Releasing lock...
[2025-01-10 21:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 21:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 16:21:02] Production.INFO: ==4457== Lock acquired, processing the job...
[2025-01-10 16:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 16:21:02] Production.INFO: ==4457== Releasing lock...
[2025-01-10 16:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 16:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 21:21:02] Production.INFO: ==4459== Lock acquired, processing the job...
[2025-01-10 21:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 21:21:03] Production.INFO: ==4459== Releasing lock...
[2025-01-10 21:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 21:21:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 16:21:03] Production.INFO: ==4464== Lock acquired, processing the job...
[2025-01-10 16:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 16:21:03] Production.INFO: ==4466== Lock acquired, processing the job...
[2025-01-10 16:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 16:21:03] Production.INFO: ==4470== Lock acquired, processing the job...
[2025-01-10 16:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 16:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 16:21:03] Production.INFO: ==4468== Lock acquired, processing the job...
[2025-01-10 16:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 16:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 16:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 16:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 16:21:04] Production.INFO: Account Balance Start.
[2025-01-10 16:21:04] Production.INFO: CreateAllLog Start
[2025-01-10 16:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 16:21:04] Production.INFO: 117
[2025-01-10 16:21:04] Production.INFO: Date 2025-01-08
[2025-01-10 16:21:04] Production.INFO: ==4474== Lock acquired, processing the job...
[2025-01-10 16:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 16:21:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:21:04] Production.INFO: ==4477== Lock acquired, processing the job...
[2025-01-10 16:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 16:21:04] Production.INFO: Date 2025-01-09
[2025-01-10 16:21:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 16:21:04] Production.INFO: Date 2025-01-10
[2025-01-10 16:21:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:21:04] Production.INFO: Total Charge 0
[2025-01-10 16:21:04] Production.INFO: CreateAllLog End
[2025-01-10 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-01-10 16:21:04] Production.INFO: count ==21
[2025-01-10 16:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:21:04] Production.INFO: count ==21
[2025-01-10 16:21:04] Production.INFO: ==4466== Releasing lock...
[2025-01-10 16:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 16:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 16:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14218106') start
[2025-01-10 16:21:04] Production.ERROR: done
[2025-01-10 16:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 16:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14218106') end
[2025-01-10 16:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 16:21:04] Production.INFO: 1
[2025-01-10 16:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 16:21:04] Production.ERROR: done
[2025-01-10 16:21:04] Production.INFO: ==4477== Releasing lock...
[2025-01-10 16:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 16:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 16:21:04] Production.INFO: Account Balance End.
[2025-01-10 16:21:05] Production.ERROR: CronJobId end 12
[2025-01-10 16:21:05] Production.INFO: ==4470== Releasing lock...
[2025-01-10 16:21:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 16:21:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 16:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 13:21:05
[end_date_ymd] => 2025-01-10 16:21:05
[RateCDR] => 1
)
[2025-01-10 16:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 13:21:05' and `end` < '2025-01-10 16:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 16:21:14] Production.ERROR: CronJobId end10
[2025-01-10 16:21:14] Production.INFO: ==4468== Releasing lock...
[2025-01-10 16:21:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 16:21:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 16:21:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 16:21:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 16:21:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 16:21:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 16:21:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 16:21:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 16:21:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 16:21:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 16:21:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 16:21:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 16:21:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 16:21:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 16:21:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 16:21:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 16:21:15] Production.INFO: call_cost start
[2025-01-10 16:21:15] Production.INFO: call_cost end
[2025-01-10 16:21:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 16:21:16] Production.INFO: ============== Report Schedule START===========
[2025-01-10 16:21:16] Production.INFO: ============== Report Schedule END===========
[2025-01-10 16:21:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 16:21:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 16:21:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 16:21:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 16:21:16] Production.INFO: ============== Deal alert START===========
[2025-01-10 16:21:16] Production.INFO: ============== Deal alert END===========
[2025-01-10 16:21:16] Production.INFO: ==4464== Releasing lock...
[2025-01-10 16:21:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 16:21:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 16:21:27] Production.INFO: count ==3983
[2025-01-10 16:21:29] Production.ERROR: pbx CDR StartTime 2025-01-10 13:21:05 - End Time 2025-01-10 16:21:05
[2025-01-10 16:21:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 16:21:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218107', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:21:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218107', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:21:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218107', 'tblTempVendorCDR_20' ) start
[2025-01-10 16:21:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218107', 'tblTempVendorCDR_20' ) end
[2025-01-10 16:21:29] Production.INFO: ProcessCDR(1,14218107,1,1,2)
[2025-01-10 16:21:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14218107,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:21:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14218107,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:21:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14218107,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:21:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14218107,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:21:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218107', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:21:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218107', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:21:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 16:21:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 16:21:34] Production.INFO: ==4474== Releasing lock...
[2025-01-10 16:21:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 16:21:34] Production.INFO: 57.75 MB #Memory Used#
[2025-01-10 21:22:01] Production.INFO: ==4599== Lock acquired, processing the job...
[2025-01-10 21:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 21:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 21:22:01] Production.INFO: neon service started
[2025-01-10 21:22:01] Production.INFO: neon service started
[2025-01-10 21:22:01] Production.INFO: ==4599== Releasing lock...
[2025-01-10 21:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 21:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 16:22:02] Production.INFO: ==4601== Lock acquired, processing the job...
[2025-01-10 16:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 16:22:02] Production.INFO: ==4601== Releasing lock...
[2025-01-10 16:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 16:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 21:22:02] Production.INFO: ==4603== Lock acquired, processing the job...
[2025-01-10 21:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 21:22:02] Production.INFO: ==4603== Releasing lock...
[2025-01-10 21:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 21:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 16:22:03] Production.INFO: ==4608== Lock acquired, processing the job...
[2025-01-10 16:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 16:22:03] Production.INFO: ==4616== Lock acquired, processing the job...
[2025-01-10 16:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 16:22:03] Production.INFO: ==4606== Lock acquired, processing the job...
[2025-01-10 16:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 16:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:22:03] Production.INFO: ==4610== Lock acquired, processing the job...
[2025-01-10 16:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 16:22:03] Production.INFO: count ==21
[2025-01-10 16:22:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 16:22:03] Production.INFO: count ==21
[2025-01-10 16:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14218108') start
[2025-01-10 16:22:03] Production.INFO: ==4614== Lock acquired, processing the job...
[2025-01-10 16:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 16:22:03] Production.INFO: ==4612== Lock acquired, processing the job...
[2025-01-10 16:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 16:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 16:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 16:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 16:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 16:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 16:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14218108') end
[2025-01-10 16:22:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 16:22:03] Production.INFO: 1
[2025-01-10 16:22:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 16:22:03] Production.INFO: Account Balance Start.
[2025-01-10 16:22:03] Production.INFO: CreateAllLog Start
[2025-01-10 16:22:03] Production.INFO: 117
[2025-01-10 16:22:03] Production.INFO: Date 2025-01-08
[2025-01-10 16:22:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:22:03] Production.INFO: ==4616== Releasing lock...
[2025-01-10 16:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 16:22:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 16:22:03] Production.INFO: ==4608== Releasing lock...
[2025-01-10 16:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 16:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 16:22:04] Production.INFO: Date 2025-01-09
[2025-01-10 16:22:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:22:04] Production.INFO: Date 2025-01-10
[2025-01-10 16:22:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:22:04] Production.INFO: Total Charge 0
[2025-01-10 16:22:04] Production.INFO: CreateAllLog End
[2025-01-10 16:22:04] Production.ERROR: done
[2025-01-10 16:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 16:22:04] Production.INFO: Account Balance End.
[2025-01-10 16:22:04] Production.ERROR: CronJobId end 12
[2025-01-10 16:22:04] Production.INFO: ==4612== Releasing lock...
[2025-01-10 16:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 16:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 16:22:04] Production.ERROR: done
[2025-01-10 16:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 13:22:05
[end_date_ymd] => 2025-01-10 16:22:05
[RateCDR] => 1
)
[2025-01-10 16:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 13:22:05' and `end` < '2025-01-10 16:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 16:22:12] Production.ERROR: CronJobId end10
[2025-01-10 16:22:12] Production.INFO: ==4610== Releasing lock...
[2025-01-10 16:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 16:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 16:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 16:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 16:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 16:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 16:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 16:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 16:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 16:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 16:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 16:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 16:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 16:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 16:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 16:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 16:22:14] Production.INFO: call_cost start
[2025-01-10 16:22:14] Production.INFO: call_cost end
[2025-01-10 16:22:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 16:22:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 16:22:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 16:22:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 16:22:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 16:22:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 16:22:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 16:22:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 16:22:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 16:22:15] Production.INFO: ==4606== Releasing lock...
[2025-01-10 16:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 16:22:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 16:22:27] Production.INFO: count ==4033
[2025-01-10 16:22:29] Production.ERROR: pbx CDR StartTime 2025-01-10 13:22:05 - End Time 2025-01-10 16:22:05
[2025-01-10 16:22:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 16:22:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218112', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:22:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218112', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:22:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218112', 'tblTempVendorCDR_20' ) start
[2025-01-10 16:22:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218112', 'tblTempVendorCDR_20' ) end
[2025-01-10 16:22:29] Production.INFO: ProcessCDR(1,14218112,1,1,2)
[2025-01-10 16:22:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14218112,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:22:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14218112,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:22:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14218112,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:22:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14218112,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:22:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218112', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:22:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218112', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:22:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 16:22:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 16:22:34] Production.INFO: ==4614== Releasing lock...
[2025-01-10 16:22:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 16:22:34] Production.INFO: 58.25 MB #Memory Used#
[2025-01-10 21:23:02] Production.INFO: ==4671== Lock acquired, processing the job...
[2025-01-10 21:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 21:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 21:23:02] Production.INFO: neon service started
[2025-01-10 21:23:02] Production.INFO: neon service started
[2025-01-10 21:23:02] Production.INFO: ==4671== Releasing lock...
[2025-01-10 21:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 21:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 16:23:02] Production.INFO: ==4673== Lock acquired, processing the job...
[2025-01-10 16:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 16:23:02] Production.INFO: ==4673== Releasing lock...
[2025-01-10 16:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 16:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 21:23:02] Production.INFO: ==4675== Lock acquired, processing the job...
[2025-01-10 21:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 21:23:02] Production.INFO: ==4675== Releasing lock...
[2025-01-10 21:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 21:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 16:23:03] Production.INFO: ==4686== Lock acquired, processing the job...
[2025-01-10 16:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 16:23:03] Production.INFO: ==4678== Lock acquired, processing the job...
[2025-01-10 16:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 16:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 16:23:03] Production.INFO: ==4688== Lock acquired, processing the job...
[2025-01-10 16:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 16:23:03] Production.INFO: ==4680== Lock acquired, processing the job...
[2025-01-10 16:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 16:23:03] Production.INFO: ==4682== Lock acquired, processing the job...
[2025-01-10 16:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 16:23:03] Production.INFO: ==4684== Lock acquired, processing the job...
[2025-01-10 16:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 16:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 16:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 16:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 16:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 16:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 16:23:03] Production.INFO: count ==21
[2025-01-10 16:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:23:03] Production.INFO: count ==21
[2025-01-10 16:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14218113') start
[2025-01-10 16:23:04] Production.INFO: Account Balance Start.
[2025-01-10 16:23:04] Production.INFO: CreateAllLog Start
[2025-01-10 16:23:04] Production.INFO: 117
[2025-01-10 16:23:04] Production.INFO: Date 2025-01-08
[2025-01-10 16:23:04] Production.ERROR: done
[2025-01-10 16:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 16:23:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:23:04] Production.INFO: Date 2025-01-09
[2025-01-10 16:23:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14218113') end
[2025-01-10 16:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 16:23:04] Production.INFO: 1
[2025-01-10 16:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 16:23:04] Production.ERROR: done
[2025-01-10 16:23:04] Production.INFO: ==4680== Releasing lock...
[2025-01-10 16:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 16:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 16:23:04] Production.INFO: Date 2025-01-10
[2025-01-10 16:23:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:23:04] Production.INFO: ==4688== Releasing lock...
[2025-01-10 16:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 16:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 16:23:04] Production.INFO: Total Charge 0
[2025-01-10 16:23:04] Production.INFO: CreateAllLog End
[2025-01-10 16:23:04] Production.INFO: Account Balance End.
[2025-01-10 16:23:04] Production.ERROR: CronJobId end 12
[2025-01-10 16:23:04] Production.INFO: ==4684== Releasing lock...
[2025-01-10 16:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 16:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 16:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 13:23:05
[end_date_ymd] => 2025-01-10 16:23:05
[RateCDR] => 1
)
[2025-01-10 16:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 13:23:05' and `end` < '2025-01-10 16:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 16:23:11] Production.ERROR: CronJobId end10
[2025-01-10 16:23:11] Production.INFO: ==4682== Releasing lock...
[2025-01-10 16:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 16:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 16:23:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 16:23:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 16:23:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 16:23:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 16:23:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 16:23:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 16:23:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 16:23:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 16:23:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 16:23:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 16:23:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 16:23:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 16:23:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 16:23:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 16:23:14] Production.INFO: call_cost start
[2025-01-10 16:23:14] Production.INFO: call_cost end
[2025-01-10 16:23:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 16:23:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 16:23:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 16:23:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 16:23:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 16:23:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 16:23:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 16:23:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 16:23:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 16:23:15] Production.INFO: ==4678== Releasing lock...
[2025-01-10 16:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 16:23:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 16:23:24] Production.INFO: count ==4045
[2025-01-10 16:23:25] Production.ERROR: pbx CDR StartTime 2025-01-10 13:23:05 - End Time 2025-01-10 16:23:05
[2025-01-10 16:23:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 16:23:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218117', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:23:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218117', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:23:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218117', 'tblTempVendorCDR_20' ) start
[2025-01-10 16:23:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218117', 'tblTempVendorCDR_20' ) end
[2025-01-10 16:23:26] Production.INFO: ProcessCDR(1,14218117,1,1,2)
[2025-01-10 16:23:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14218117,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:23:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14218117,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:23:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14218117,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:23:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14218117,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:23:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218117', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:23:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218117', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:23:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 16:23:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 16:23:30] Production.INFO: ==4686== Releasing lock...
[2025-01-10 16:23:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 16:23:30] Production.INFO: 58.25 MB #Memory Used#
[2025-01-10 21:24:01] Production.INFO: ==4746== Lock acquired, processing the job...
[2025-01-10 21:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 21:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 21:24:01] Production.INFO: neon service started
[2025-01-10 21:24:01] Production.INFO: neon service started
[2025-01-10 21:24:01] Production.INFO: ==4746== Releasing lock...
[2025-01-10 21:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 21:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 21:24:01] Production.INFO: ==4751== Lock acquired, processing the job...
[2025-01-10 21:24:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 21:24:01] Production.INFO: ==4751== Releasing lock...
[2025-01-10 21:24:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 21:24:01] Production.INFO: 25 MB #Memory Used#
[2025-01-10 16:24:02] Production.INFO: ==4749== Lock acquired, processing the job...
[2025-01-10 16:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 16:24:02] Production.INFO: ==4749== Releasing lock...
[2025-01-10 16:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 16:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 16:24:03] Production.INFO: ==4753== Lock acquired, processing the job...
[2025-01-10 16:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 16:24:03] Production.INFO: ==4755== Lock acquired, processing the job...
[2025-01-10 16:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 16:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 16:24:03] Production.INFO: ==4761== Lock acquired, processing the job...
[2025-01-10 16:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 16:24:03] Production.INFO: ==4757== Lock acquired, processing the job...
[2025-01-10 16:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 16:24:03] Production.INFO: ==4763== Lock acquired, processing the job...
[2025-01-10 16:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 16:24:03] Production.INFO: ==4759== Lock acquired, processing the job...
[2025-01-10 16:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 16:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 16:24:03] Production.INFO: Account Balance Start.
[2025-01-10 16:24:03] Production.INFO: CreateAllLog Start
[2025-01-10 16:24:03] Production.INFO: 117
[2025-01-10 16:24:03] Production.INFO: Date 2025-01-08
[2025-01-10 16:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 16:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 16:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 16:24:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 16:24:03] Production.INFO: Date 2025-01-09
[2025-01-10 16:24:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:24:03] Production.INFO: Date 2025-01-10
[2025-01-10 16:24:03] Production.INFO: Reseller ==> 0
[2025-01-10 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-01-10 16:24:03] Production.INFO: Total Charge 0
[2025-01-10 16:24:03] Production.INFO: CreateAllLog End
[2025-01-10 16:24:03] Production.ERROR: done
[2025-01-10 16:24:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 16:24:03] Production.INFO: ==4755== Releasing lock...
[2025-01-10 16:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 16:24:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 16:24:03] Production.INFO: count ==21
[2025-01-10 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-01-10 16:24:03] Production.INFO: count ==21
[2025-01-10 16:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14218121') start
[2025-01-10 16:24:03] Production.INFO: Account Balance End.
[2025-01-10 16:24:04] Production.ERROR: CronJobId end 12
[2025-01-10 16:24:04] Production.INFO: ==4759== Releasing lock...
[2025-01-10 16:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 16:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 16:24:04] Production.ERROR: done
[2025-01-10 16:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14218121') end
[2025-01-10 16:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 16:24:04] Production.INFO: 1
[2025-01-10 16:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 16:24:04] Production.INFO: ==4763== Releasing lock...
[2025-01-10 16:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 16:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 16:24:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 13:24:04
[end_date_ymd] => 2025-01-10 16:24:04
[RateCDR] => 1
)
[2025-01-10 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-01-10 13:24:04' and `end` < '2025-01-10 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-01-10 16:24:12] Production.ERROR: CronJobId end10
[2025-01-10 16:24:12] Production.INFO: ==4757== Releasing lock...
[2025-01-10 16:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 16:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 16:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 16:24:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 16:24:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 16:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 16:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 16:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 16:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 16:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 16:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 16:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 16:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 16:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 16:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 16:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 16:24:13] Production.INFO: call_cost start
[2025-01-10 16:24:13] Production.INFO: call_cost end
[2025-01-10 16:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 16:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 16:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 16:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 16:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 16:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 16:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 16:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 16:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 16:24:14] Production.INFO: ==4753== Releasing lock...
[2025-01-10 16:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 16:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 16:24:25] Production.INFO: count ==4032
[2025-01-10 16:24:27] Production.ERROR: pbx CDR StartTime 2025-01-10 13:24:04 - End Time 2025-01-10 16:24:04
[2025-01-10 16:24:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 16:24:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218122', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:24:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218122', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:24:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218122', 'tblTempVendorCDR_20' ) start
[2025-01-10 16:24:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218122', 'tblTempVendorCDR_20' ) end
[2025-01-10 16:24:27] Production.INFO: ProcessCDR(1,14218122,1,1,2)
[2025-01-10 16:24:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14218122,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:24:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14218122,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:24:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14218122,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:24:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14218122,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:24:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218122', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:24:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218122', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:24:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 16:24:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 16:24:32] Production.INFO: ==4761== Releasing lock...
[2025-01-10 16:24:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 16:24:32] Production.INFO: 58.25 MB #Memory Used#
[2025-01-10 21:25:01] Production.INFO: ==4861== Lock acquired, processing the job...
[2025-01-10 21:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 21:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 21:25:02] Production.INFO: neon service started
[2025-01-10 21:25:02] Production.INFO: neon service started
[2025-01-10 21:25:02] Production.INFO: ==4861== Releasing lock...
[2025-01-10 21:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 21:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 16:25:02] Production.INFO: ==4863== Lock acquired, processing the job...
[2025-01-10 16:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 16:25:02] Production.INFO: ==4863== Releasing lock...
[2025-01-10 16:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 16:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 21:25:02] Production.INFO: ==4865== Lock acquired, processing the job...
[2025-01-10 21:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 21:25:02] Production.INFO: ==4865== Releasing lock...
[2025-01-10 21:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 21:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 16:25:03] Production.INFO: ==4873== Lock acquired, processing the job...
[2025-01-10 16:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 16:25:03] Production.INFO: ==4875== Lock acquired, processing the job...
[2025-01-10 16:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 16:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 16:25:03] Production.INFO: ==4867== Lock acquired, processing the job...
[2025-01-10 16:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 16:25:03] Production.INFO: Account Balance Start.
[2025-01-10 16:25:03] Production.INFO: CreateAllLog Start
[2025-01-10 16:25:03] Production.INFO: 117
[2025-01-10 16:25:03] Production.INFO: Date 2025-01-08
[2025-01-10 16:25:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:25:03] Production.INFO: Date 2025-01-09
[2025-01-10 16:25:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:25:03] Production.INFO: Date 2025-01-10
[2025-01-10 16:25:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:25:03] Production.INFO: ==4869== Lock acquired, processing the job...
[2025-01-10 16:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 16:25:03] Production.INFO: ==4871== Lock acquired, processing the job...
[2025-01-10 16:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 16:25:03] Production.INFO: Total Charge 0
[2025-01-10 16:25:03] Production.INFO: CreateAllLog End
[2025-01-10 16:25:03] Production.INFO: ==4877== Lock acquired, processing the job...
[2025-01-10 16:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 16:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 16:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 16:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 16:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 16:25:03] Production.INFO: Account Balance End.
[2025-01-10 16:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 16:25:03] Production.ERROR: CronJobId end 12
[2025-01-10 16:25:03] Production.INFO: ==4873== Releasing lock...
[2025-01-10 16:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 16:25:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 16:25:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:25:04] Production.INFO: count ==21
[2025-01-10 16:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:25:04] Production.INFO: count ==21
[2025-01-10 16:25:04] Production.ERROR: done
[2025-01-10 16:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14218126') start
[2025-01-10 16:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 16:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14218126') end
[2025-01-10 16:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 16:25:04] Production.INFO: 1
[2025-01-10 16:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 16:25:04] Production.INFO: ==4877== Releasing lock...
[2025-01-10 16:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 16:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 16:25:04] Production.ERROR: done
[2025-01-10 16:25:04] Production.INFO: ==4869== Releasing lock...
[2025-01-10 16:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 16:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 16:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 13:25:05
[end_date_ymd] => 2025-01-10 16:25:05
[RateCDR] => 1
)
[2025-01-10 16:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 13:25:05' and `end` < '2025-01-10 16:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 16:25:12] Production.ERROR: CronJobId end10
[2025-01-10 16:25:12] Production.INFO: ==4871== Releasing lock...
[2025-01-10 16:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 16:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 16:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 16:25:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 16:25:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 16:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 16:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 16:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 16:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 16:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 16:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 16:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 16:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 16:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 16:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 16:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 16:25:13] Production.INFO: call_cost start
[2025-01-10 16:25:13] Production.INFO: call_cost end
[2025-01-10 16:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 16:25:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 16:25:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 16:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 16:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 16:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 16:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 16:25:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 16:25:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 16:25:14] Production.INFO: ==4867== Releasing lock...
[2025-01-10 16:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 16:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 16:25:27] Production.INFO: count ==4040
[2025-01-10 16:25:29] Production.ERROR: pbx CDR StartTime 2025-01-10 13:25:05 - End Time 2025-01-10 16:25:05
[2025-01-10 16:25:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 16:25:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218127', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:25:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218127', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:25:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218127', 'tblTempVendorCDR_20' ) start
[2025-01-10 16:25:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218127', 'tblTempVendorCDR_20' ) end
[2025-01-10 16:25:29] Production.INFO: ProcessCDR(1,14218127,1,1,2)
[2025-01-10 16:25:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14218127,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:25:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14218127,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:25:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14218127,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:25:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14218127,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:25:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218127', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:25:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218127', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:25:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 16:25:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 16:25:33] Production.INFO: ==4875== Releasing lock...
[2025-01-10 16:25:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 16:25:33] Production.INFO: 58.5 MB #Memory Used#
[2025-01-10 21:26:01] Production.INFO: ==4932== Lock acquired, processing the job...
[2025-01-10 21:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 21:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 21:26:01] Production.INFO: neon service started
[2025-01-10 21:26:01] Production.INFO: neon service started
[2025-01-10 21:26:01] Production.INFO: ==4932== Releasing lock...
[2025-01-10 21:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 21:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 16:26:01] Production.INFO: ==4934== Lock acquired, processing the job...
[2025-01-10 16:26:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 16:26:02] Production.INFO: ==4934== Releasing lock...
[2025-01-10 16:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 16:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 21:26:02] Production.INFO: ==4936== Lock acquired, processing the job...
[2025-01-10 21:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 21:26:02] Production.INFO: ==4936== Releasing lock...
[2025-01-10 21:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 21:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 16:26:03] Production.INFO: ==4938== Lock acquired, processing the job...
[2025-01-10 16:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 16:26:03] Production.INFO: ==4940== Lock acquired, processing the job...
[2025-01-10 16:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 16:26:03] Production.INFO: ==4944== Lock acquired, processing the job...
[2025-01-10 16:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 16:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 16:26:03] Production.INFO: ==4942== Lock acquired, processing the job...
[2025-01-10 16:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 16:26:03] Production.INFO: Account Balance Start.
[2025-01-10 16:26:03] Production.INFO: CreateAllLog Start
[2025-01-10 16:26:03] Production.INFO: 117
[2025-01-10 16:26:03] Production.INFO: Date 2025-01-08
[2025-01-10 16:26:03] Production.INFO: ==4948== Lock acquired, processing the job...
[2025-01-10 16:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 16:26:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 16:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 16:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 16:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 16:26:03] Production.INFO: Date 2025-01-09
[2025-01-10 16:26:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:26:03] Production.INFO: Date 2025-01-10
[2025-01-10 16:26:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:26:03] Production.INFO: ==4946== Lock acquired, processing the job...
[2025-01-10 16:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 16:26:03] Production.INFO: Total Charge 0
[2025-01-10 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-01-10 16:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 16:26:03] Production.INFO: CreateAllLog End
[2025-01-10 16:26:03] Production.INFO: ==4940== Releasing lock...
[2025-01-10 16:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 16:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 16:26:03] Production.INFO: count ==21
[2025-01-10 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-01-10 16:26:03] Production.INFO: count ==21
[2025-01-10 16:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14218131') start
[2025-01-10 16:26:03] Production.INFO: Account Balance End.
[2025-01-10 16:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14218131') end
[2025-01-10 16:26:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 16:26:03] Production.INFO: 1
[2025-01-10 16:26:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 16:26:03] Production.ERROR: CronJobId end 12
[2025-01-10 16:26:03] Production.INFO: ==4944== Releasing lock...
[2025-01-10 16:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 16:26:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 16:26:03] Production.ERROR: done
[2025-01-10 16:26:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 16:26:03] Production.INFO: ==4948== Releasing lock...
[2025-01-10 16:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 16:26:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 16:26:04] Production.ERROR: done
[2025-01-10 16:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 13:26:05
[end_date_ymd] => 2025-01-10 16:26:05
[RateCDR] => 1
)
[2025-01-10 16:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 13:26:05' and `end` < '2025-01-10 16:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 16:26:11] Production.ERROR: CronJobId end10
[2025-01-10 16:26:11] Production.INFO: ==4942== Releasing lock...
[2025-01-10 16:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 16:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 16:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 16:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 16:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 16:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 16:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 16:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 16:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 16:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 16:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 16:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 16:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 16:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 16:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 16:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 16:26:13] Production.INFO: call_cost start
[2025-01-10 16:26:13] Production.INFO: call_cost end
[2025-01-10 16:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 16:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 16:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 16:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 16:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 16:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 16:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 16:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 16:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 16:26:14] Production.INFO: ==4938== Releasing lock...
[2025-01-10 16:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 16:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 16:26:27] Production.INFO: count ==4031
[2025-01-10 16:26:29] Production.ERROR: pbx CDR StartTime 2025-01-10 13:26:05 - End Time 2025-01-10 16:26:05
[2025-01-10 16:26:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 16:26:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218132', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:26:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218132', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:26:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218132', 'tblTempVendorCDR_20' ) start
[2025-01-10 16:26:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218132', 'tblTempVendorCDR_20' ) end
[2025-01-10 16:26:29] Production.INFO: ProcessCDR(1,14218132,1,1,2)
[2025-01-10 16:26:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14218132,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:26:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14218132,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:26:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14218132,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:26:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14218132,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:26:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218132', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:26:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218132', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:26:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 16:26:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 16:26:33] Production.INFO: ==4946== Releasing lock...
[2025-01-10 16:26:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 16:26:33] Production.INFO: 58.25 MB #Memory Used#
[2025-01-10 21:27:01] Production.INFO: ==5006== Lock acquired, processing the job...
[2025-01-10 21:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 21:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 21:27:01] Production.INFO: neon service started
[2025-01-10 21:27:01] Production.INFO: neon service started
[2025-01-10 21:27:01] Production.INFO: ==5006== Releasing lock...
[2025-01-10 21:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 21:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 16:27:02] Production.INFO: ==5008== Lock acquired, processing the job...
[2025-01-10 16:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 16:27:02] Production.INFO: ==5008== Releasing lock...
[2025-01-10 16:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 16:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 21:27:02] Production.INFO: ==5010== Lock acquired, processing the job...
[2025-01-10 21:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 21:27:02] Production.INFO: ==5010== Releasing lock...
[2025-01-10 21:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 21:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 16:27:03] Production.INFO: ==5016== Lock acquired, processing the job...
[2025-01-10 16:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 16:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 16:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 16:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 16:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 16:27:03] Production.INFO: ==5023== Lock acquired, processing the job...
[2025-01-10 16:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 16:27:03] Production.INFO: ==5012== Lock acquired, processing the job...
[2025-01-10 16:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 16:27:03] Production.INFO: ==5014== Lock acquired, processing the job...
[2025-01-10 16:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 16:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 16:27:03] Production.INFO: ==5018== Lock acquired, processing the job...
[2025-01-10 16:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 16:27:03] Production.INFO: count ==21
[2025-01-10 16:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:27:03] Production.INFO: count ==21
[2025-01-10 16:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14218133') start
[2025-01-10 16:27:03] Production.INFO: ==5020== Lock acquired, processing the job...
[2025-01-10 16:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 16:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 16:27:03] Production.INFO: Account Balance Start.
[2025-01-10 16:27:03] Production.INFO: CreateAllLog Start
[2025-01-10 16:27:03] Production.INFO: 117
[2025-01-10 16:27:03] Production.INFO: Date 2025-01-08
[2025-01-10 16:27:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14218133') end
[2025-01-10 16:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 16:27:03] Production.INFO: 1
[2025-01-10 16:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 16:27:03] Production.INFO: Date 2025-01-09
[2025-01-10 16:27:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:27:03] Production.INFO: Date 2025-01-10
[2025-01-10 16:27:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:27:03] Production.INFO: Total Charge 0
[2025-01-10 16:27:03] Production.INFO: CreateAllLog End
[2025-01-10 16:27:04] Production.INFO: ==5023== Releasing lock...
[2025-01-10 16:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 16:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 16:27:04] Production.INFO: ==5014== Releasing lock...
[2025-01-10 16:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 16:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 16:27:04] Production.ERROR: done
[2025-01-10 16:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 16:27:04] Production.INFO: Account Balance End.
[2025-01-10 16:27:04] Production.ERROR: done
[2025-01-10 16:27:04] Production.ERROR: CronJobId end 12
[2025-01-10 16:27:04] Production.INFO: ==5018== Releasing lock...
[2025-01-10 16:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 16:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 16:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 13:27:05
[end_date_ymd] => 2025-01-10 16:27:05
[RateCDR] => 1
)
[2025-01-10 16:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 13:27:05' and `end` < '2025-01-10 16:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 16:27:11] Production.ERROR: CronJobId end10
[2025-01-10 16:27:11] Production.INFO: ==5016== Releasing lock...
[2025-01-10 16:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 16:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 16:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 16:27:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 16:27:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 16:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 16:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 16:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 16:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 16:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 16:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 16:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 16:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 16:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 16:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 16:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 16:27:13] Production.INFO: call_cost start
[2025-01-10 16:27:13] Production.INFO: call_cost end
[2025-01-10 16:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 16:27:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 16:27:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 16:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 16:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 16:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 16:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 16:27:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 16:27:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 16:27:14] Production.INFO: ==5012== Releasing lock...
[2025-01-10 16:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 16:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 16:27:27] Production.INFO: count ==4031
[2025-01-10 16:27:29] Production.ERROR: pbx CDR StartTime 2025-01-10 13:27:05 - End Time 2025-01-10 16:27:05
[2025-01-10 16:27:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 16:27:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218137', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:27:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218137', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:27:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218137', 'tblTempVendorCDR_20' ) start
[2025-01-10 16:27:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218137', 'tblTempVendorCDR_20' ) end
[2025-01-10 16:27:29] Production.INFO: ProcessCDR(1,14218137,1,1,2)
[2025-01-10 16:27:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14218137,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:27:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14218137,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:27:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14218137,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:27:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14218137,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:27:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218137', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:27:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218137', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:27:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 16:27:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 16:27:34] Production.INFO: ==5020== Releasing lock...
[2025-01-10 16:27:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 16:27:34] Production.INFO: 58.25 MB #Memory Used#
[2025-01-10 21:28:02] Production.INFO: ==5078== Lock acquired, processing the job...
[2025-01-10 21:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 21:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 21:28:02] Production.INFO: neon service started
[2025-01-10 21:28:02] Production.INFO: neon service started
[2025-01-10 21:28:02] Production.INFO: ==5078== Releasing lock...
[2025-01-10 21:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 21:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 16:28:02] Production.INFO: ==5080== Lock acquired, processing the job...
[2025-01-10 16:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 21:28:03] Production.INFO: ==5082== Lock acquired, processing the job...
[2025-01-10 21:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 16:28:03] Production.INFO: ==5080== Releasing lock...
[2025-01-10 16:28:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 16:28:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 21:28:03] Production.INFO: ==5082== Releasing lock...
[2025-01-10 21:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 21:28:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 16:28:03] Production.INFO: ==5093== Lock acquired, processing the job...
[2025-01-10 16:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 16:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 16:28:04] Production.INFO: ==5085== Lock acquired, processing the job...
[2025-01-10 16:28:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 16:28:04] Production.INFO: ==5095== Lock acquired, processing the job...
[2025-01-10 16:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 16:28:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 16:28:04] Production.INFO: ==5087== Lock acquired, processing the job...
[2025-01-10 16:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 16:28:04] Production.INFO: ==5089== Lock acquired, processing the job...
[2025-01-10 16:28:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 16:28:04] Production.INFO: ==5091== Lock acquired, processing the job...
[2025-01-10 16:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 16:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:28:04] Production.INFO: count ==21
[2025-01-10 16:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:28:04] Production.INFO: Account Balance Start.
[2025-01-10 16:28:04] Production.INFO: CreateAllLog Start
[2025-01-10 16:28:04] Production.INFO: 117
[2025-01-10 16:28:04] Production.INFO: Date 2025-01-08
[2025-01-10 16:28:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:28:04] Production.INFO: count ==21
[2025-01-10 16:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14218139') start
[2025-01-10 16:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 16:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 16:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 16:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 16:28:04] Production.INFO: Date 2025-01-09
[2025-01-10 16:28:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:28:04] Production.INFO: Date 2025-01-10
[2025-01-10 16:28:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:28:04] Production.INFO: Total Charge 0
[2025-01-10 16:28:04] Production.ERROR: done
[2025-01-10 16:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 16:28:04] Production.INFO: CreateAllLog End
[2025-01-10 16:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14218139') end
[2025-01-10 16:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 16:28:04] Production.INFO: 1
[2025-01-10 16:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 16:28:04] Production.INFO: ==5095== Releasing lock...
[2025-01-10 16:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 16:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 16:28:04] Production.INFO: ==5087== Releasing lock...
[2025-01-10 16:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 16:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 16:28:04] Production.ERROR: done
[2025-01-10 16:28:04] Production.INFO: Account Balance End.
[2025-01-10 16:28:04] Production.ERROR: CronJobId end 12
[2025-01-10 16:28:04] Production.INFO: ==5091== Releasing lock...
[2025-01-10 16:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 16:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 16:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 13:28:05
[end_date_ymd] => 2025-01-10 16:28:05
[RateCDR] => 1
)
[2025-01-10 16:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 13:28:05' and `end` < '2025-01-10 16:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 16:28:12] Production.ERROR: CronJobId end10
[2025-01-10 16:28:12] Production.INFO: ==5089== Releasing lock...
[2025-01-10 16:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 16:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 16:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 16:28:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 16:28:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 16:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 16:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 16:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 16:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 16:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 16:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 16:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 16:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 16:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 16:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 16:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 16:28:14] Production.INFO: call_cost start
[2025-01-10 16:28:14] Production.INFO: call_cost end
[2025-01-10 16:28:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 16:28:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 16:28:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 16:28:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 16:28:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 16:28:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 16:28:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 16:28:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 16:28:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 16:28:15] Production.INFO: ==5085== Releasing lock...
[2025-01-10 16:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 16:28:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 16:28:28] Production.INFO: count ==4050
[2025-01-10 16:28:30] Production.ERROR: pbx CDR StartTime 2025-01-10 13:28:05 - End Time 2025-01-10 16:28:05
[2025-01-10 16:28:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 16:28:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218142', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:28:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218142', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:28:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218142', 'tblTempVendorCDR_20' ) start
[2025-01-10 16:28:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218142', 'tblTempVendorCDR_20' ) end
[2025-01-10 16:28:30] Production.INFO: ProcessCDR(1,14218142,1,1,2)
[2025-01-10 16:28:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14218142,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:28:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14218142,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:28:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14218142,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:28:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14218142,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:28:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218142', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:28:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218142', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:28:35] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 16:28:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 16:28:35] Production.INFO: ==5093== Releasing lock...
[2025-01-10 16:28:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 16:28:35] Production.INFO: 58.25 MB #Memory Used#
[2025-01-10 21:29:01] Production.INFO: ==5150== Lock acquired, processing the job...
[2025-01-10 21:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 21:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 21:29:01] Production.INFO: neon service started
[2025-01-10 21:29:01] Production.INFO: neon service started
[2025-01-10 21:29:01] Production.INFO: ==5150== Releasing lock...
[2025-01-10 21:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 21:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 21:29:02] Production.INFO: ==5154== Lock acquired, processing the job...
[2025-01-10 21:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 21:29:02] Production.INFO: ==5154== Releasing lock...
[2025-01-10 21:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 21:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 16:29:02] Production.INFO: ==5152== Lock acquired, processing the job...
[2025-01-10 16:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 16:29:02] Production.INFO: ==5152== Releasing lock...
[2025-01-10 16:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 16:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 16:29:03] Production.INFO: ==5165== Lock acquired, processing the job...
[2025-01-10 16:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 16:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 16:29:03] Production.INFO: ==5167== Lock acquired, processing the job...
[2025-01-10 16:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 16:29:03] Production.INFO: ==5159== Lock acquired, processing the job...
[2025-01-10 16:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 16:29:03] Production.INFO: ==5157== Lock acquired, processing the job...
[2025-01-10 16:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 16:29:03] Production.INFO: ==5161== Lock acquired, processing the job...
[2025-01-10 16:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 16:29:03] Production.INFO: ==5163== Lock acquired, processing the job...
[2025-01-10 16:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 16:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 16:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 16:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 16:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 16:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 16:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:29:03] Production.INFO: count ==21
[2025-01-10 16:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:29:04] Production.INFO: count ==21
[2025-01-10 16:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14218143') start
[2025-01-10 16:29:04] Production.INFO: Account Balance Start.
[2025-01-10 16:29:04] Production.INFO: CreateAllLog Start
[2025-01-10 16:29:04] Production.INFO: 117
[2025-01-10 16:29:04] Production.ERROR: done
[2025-01-10 16:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 16:29:04] Production.INFO: Date 2025-01-08
[2025-01-10 16:29:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:29:04] Production.INFO: Date 2025-01-09
[2025-01-10 16:29:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:29:04] Production.INFO: Date 2025-01-10
[2025-01-10 16:29:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:29:04] Production.INFO: Total Charge 0
[2025-01-10 16:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14218143') end
[2025-01-10 16:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 16:29:04] Production.INFO: 1
[2025-01-10 16:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 16:29:04] Production.INFO: CreateAllLog End
[2025-01-10 16:29:04] Production.INFO: ==5167== Releasing lock...
[2025-01-10 16:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 16:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 16:29:04] Production.ERROR: done
[2025-01-10 16:29:04] Production.INFO: ==5159== Releasing lock...
[2025-01-10 16:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 16:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 16:29:04] Production.INFO: Account Balance End.
[2025-01-10 16:29:04] Production.ERROR: CronJobId end 12
[2025-01-10 16:29:04] Production.INFO: ==5163== Releasing lock...
[2025-01-10 16:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 16:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 16:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 13:29:05
[end_date_ymd] => 2025-01-10 16:29:05
[RateCDR] => 1
)
[2025-01-10 16:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 13:29:05' and `end` < '2025-01-10 16:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 16:29:12] Production.ERROR: CronJobId end10
[2025-01-10 16:29:12] Production.INFO: ==5161== Releasing lock...
[2025-01-10 16:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 16:29:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 16:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 16:29:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 16:29:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 16:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 16:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 16:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 16:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 16:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 16:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 16:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 16:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 16:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 16:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 16:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 16:29:14] Production.INFO: call_cost start
[2025-01-10 16:29:14] Production.INFO: call_cost end
[2025-01-10 16:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 16:29:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 16:29:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 16:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 16:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 16:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 16:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 16:29:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 16:29:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 16:29:14] Production.INFO: ==5157== Releasing lock...
[2025-01-10 16:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 16:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 16:29:24] Production.INFO: count ==4028
[2025-01-10 16:29:26] Production.ERROR: pbx CDR StartTime 2025-01-10 13:29:05 - End Time 2025-01-10 16:29:05
[2025-01-10 16:29:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 16:29:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218147', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:29:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218147', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:29:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218147', 'tblTempVendorCDR_20' ) start
[2025-01-10 16:29:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218147', 'tblTempVendorCDR_20' ) end
[2025-01-10 16:29:26] Production.INFO: ProcessCDR(1,14218147,1,1,2)
[2025-01-10 16:29:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14218147,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:29:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14218147,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:29:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14218147,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:29:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14218147,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:29:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218147', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:29:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218147', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:29:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 16:29:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 16:29:30] Production.INFO: ==5165== Releasing lock...
[2025-01-10 16:29:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 16:29:30] Production.INFO: 58 MB #Memory Used#
[2025-01-10 21:30:02] Production.INFO: ==5225== Lock acquired, processing the job...
[2025-01-10 21:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 21:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 21:30:02] Production.INFO: neon service started
[2025-01-10 21:30:02] Production.INFO: neon service started
[2025-01-10 21:30:02] Production.INFO: ==5225== Releasing lock...
[2025-01-10 21:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 21:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 21:30:03] Production.INFO: ==5229== Lock acquired, processing the job...
[2025-01-10 21:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 21:30:03] Production.INFO: ==5229== Releasing lock...
[2025-01-10 21:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 21:30:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 16:30:03] Production.INFO: ==5227== Lock acquired, processing the job...
[2025-01-10 16:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 16:30:03] Production.INFO: ==5227== Releasing lock...
[2025-01-10 16:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 16:30:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 16:30:04] Production.INFO: ==5236== Lock acquired, processing the job...
[2025-01-10 16:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 16:30:04] Production.INFO: ==5240== Lock acquired, processing the job...
[2025-01-10 16:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 16:30:04] Production.INFO: ==5244== Lock acquired, processing the job...
[2025-01-10 16:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 16:30:04] Production.INFO: ==5232== Lock acquired, processing the job...
[2025-01-10 16:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 16:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 16:30:04] Production.INFO: Account Balance Start.
[2025-01-10 16:30:04] Production.INFO: CreateAllLog Start
[2025-01-10 16:30:04] Production.INFO: 117
[2025-01-10 16:30:04] Production.INFO: ==5234== Lock acquired, processing the job...
[2025-01-10 16:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 16:30:04] Production.INFO: Date 2025-01-08
[2025-01-10 16:30:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:30:04] Production.INFO: ==5236== Releasing lock...
[2025-01-10 16:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 16:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 16:30:04] Production.INFO: Date 2025-01-09
[2025-01-10 16:30:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 16:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 16:30:04] Production.ERROR: CronJob PID - 5234
[2025-01-10 16:30:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-10 16:30:04] Production.ERROR: CronJob ID - 5
[2025-01-10 16:30:04] Production.ERROR: CronJob Last Run Time 2025-01-10 16:30:00
[2025-01-10 16:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 16:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 16:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 16:30:04] Production.ERROR: CronJob PID - 5240
[2025-01-10 16:30:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-10 16:30:04] Production.ERROR: CronJob ID - 12
[2025-01-10 16:30:04] Production.ERROR: CronJob Last Run Time 2025-01-10 16:30:00
[2025-01-10 16:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 16:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 16:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-10 16:30:04] Production.ERROR: CronJob PID - 5244
[2025-01-10 16:30:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-10 16:30:04] Production.ERROR: CronJob ID - 17
[2025-01-10 16:30:04] Production.ERROR: CronJob Last Run Time 2025-01-10 16:30:00
[2025-01-10 16:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-10 16:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-10 16:30:04] Production.INFO: ==5238== Lock acquired, processing the job...
[2025-01-10 16:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 16:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 16:30:04] Production.INFO: Date 2025-01-10
[2025-01-10 16:30:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:30:04] Production.INFO: Total Charge 0
[2025-01-10 16:30:04] Production.INFO: ==5242== Lock acquired, processing the job...
[2025-01-10 16:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 16:30:05] Production.INFO: CreateAllLog End
[2025-01-10 16:30:05] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 16:30:05] Production.INFO: ==5232== Releasing lock...
[2025-01-10 16:30:05] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 16:30:05] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 16:30:05] Production.INFO: ==5246== Lock acquired, processing the job...
[2025-01-10 16:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 16:30:05] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 16:30:05] Production.ERROR: done
[2025-01-10 16:30:05] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 16:30:05] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 16:30:05] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 16:30:05] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 16:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 16:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14218151', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 16:30:05] Production.INFO: Account Balance End.
[2025-01-10 16:30:05] Production.ERROR: CronJobId end 12
[2025-01-10 16:30:05] Production.INFO: ==5240== Releasing lock...
[2025-01-10 16:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 16:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 16:30:05] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:30:05] Production.INFO: count ==21
[2025-01-10 16:30:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:30:05] Production.INFO: count ==21
[2025-01-10 16:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14218152') start
[2025-01-10 16:30:05] Production.ERROR: done
[2025-01-10 16:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14218152') end
[2025-01-10 16:30:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 16:30:05] Production.INFO: 1
[2025-01-10 16:30:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 16:30:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 16:30:05] Production.INFO: ==5246== Releasing lock...
[2025-01-10 16:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 16:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 16:30:05] Production.ERROR: done
[2025-01-10 16:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 13:30:06
[end_date_ymd] => 2025-01-10 16:30:06
[RateCDR] => 1
)
[2025-01-10 16:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 13:30:06' and `end` < '2025-01-10 16:30:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 16:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14218151', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 16:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 16:30:09] Production.INFO: ProcessCDR(1,14218151,1,1,2)
[2025-01-10 16:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14218151,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14218151,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 16:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 16:30:09] Production.INFO: ==5244== Releasing lock...
[2025-01-10 16:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 16:30:09] Production.INFO: 26 MB #Memory Used#
[2025-01-10 16:30:14] Production.ERROR: CronJobId end10
[2025-01-10 16:30:14] Production.INFO: ==5238== Releasing lock...
[2025-01-10 16:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 16:30:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 16:30:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 16:30:15] Production.INFO: ============== Balance Warning START===========
[2025-01-10 16:30:15] Production.INFO: ============== Balance Warning END===========
[2025-01-10 16:30:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 16:30:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 16:30:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 16:30:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 16:30:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 16:30:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 16:30:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 16:30:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 16:30:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 16:30:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 16:30:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 16:30:15] Production.INFO: call_cost start
[2025-01-10 16:30:15] Production.INFO: call_cost end
[2025-01-10 16:30:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 16:30:16] Production.INFO: ============== Report Schedule START===========
[2025-01-10 16:30:16] Production.INFO: ============== Report Schedule END===========
[2025-01-10 16:30:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 16:30:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 16:30:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 16:30:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 16:30:16] Production.INFO: ============== Deal alert START===========
[2025-01-10 16:30:16] Production.INFO: ============== Deal alert END===========
[2025-01-10 16:30:16] Production.INFO: ==5234== Releasing lock...
[2025-01-10 16:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 16:30:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 16:30:30] Production.INFO: count ==4032
[2025-01-10 16:30:32] Production.ERROR: pbx CDR StartTime 2025-01-10 13:30:06 - End Time 2025-01-10 16:30:06
[2025-01-10 16:30:32] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 16:30:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218153', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:30:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218153', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:30:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218153', 'tblTempVendorCDR_20' ) start
[2025-01-10 16:30:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218153', 'tblTempVendorCDR_20' ) end
[2025-01-10 16:30:32] Production.INFO: ProcessCDR(1,14218153,1,1,2)
[2025-01-10 16:30:32] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14218153,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:30:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14218153,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:30:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14218153,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:30:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14218153,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:30:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218153', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:30:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218153', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:30:37] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 16:30:37] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 16:30:37] Production.INFO: ==5242== Releasing lock...
[2025-01-10 16:30:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 16:30:37] Production.INFO: 58.25 MB #Memory Used#
[2025-01-10 21:31:02] Production.INFO: ==5301== Lock acquired, processing the job...
[2025-01-10 21:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 21:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 21:31:02] Production.INFO: neon service started
[2025-01-10 21:31:02] Production.INFO: neon service started
[2025-01-10 21:31:02] Production.INFO: ==5301== Releasing lock...
[2025-01-10 21:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 21:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 16:31:02] Production.INFO: ==5303== Lock acquired, processing the job...
[2025-01-10 16:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 16:31:02] Production.INFO: ==5303== Releasing lock...
[2025-01-10 16:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 16:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 21:31:02] Production.INFO: ==5305== Lock acquired, processing the job...
[2025-01-10 21:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 21:31:02] Production.INFO: ==5305== Releasing lock...
[2025-01-10 21:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 21:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 16:31:03] Production.INFO: ==5313== Lock acquired, processing the job...
[2025-01-10 16:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 16:31:03] Production.INFO: ==5307== Lock acquired, processing the job...
[2025-01-10 16:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 16:31:03] Production.INFO: ==5317== Lock acquired, processing the job...
[2025-01-10 16:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 16:31:03] Production.INFO: ==5309== Lock acquired, processing the job...
[2025-01-10 16:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 16:31:03] Production.INFO: Account Balance Start.
[2025-01-10 16:31:03] Production.INFO: ==5311== Lock acquired, processing the job...
[2025-01-10 16:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 16:31:03] Production.INFO: CreateAllLog Start
[2025-01-10 16:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 16:31:03] Production.INFO: 117
[2025-01-10 16:31:03] Production.INFO: Date 2025-01-08
[2025-01-10 16:31:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:31:03] Production.INFO: count ==21
[2025-01-10 16:31:03] Production.INFO: Date 2025-01-09
[2025-01-10 16:31:03] Production.INFO: ==5315== Lock acquired, processing the job...
[2025-01-10 16:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 16:31:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:31:03] Production.INFO: count ==21
[2025-01-10 16:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 16:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 16:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 16:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14218156') start
[2025-01-10 16:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 16:31:03] Production.INFO: Date 2025-01-10
[2025-01-10 16:31:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 16:31:04] Production.INFO: Total Charge 0
[2025-01-10 16:31:04] Production.INFO: CreateAllLog End
[2025-01-10 16:31:04] Production.INFO: ==5309== Releasing lock...
[2025-01-10 16:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 16:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 16:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14218156') end
[2025-01-10 16:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 16:31:04] Production.INFO: 1
[2025-01-10 16:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 16:31:04] Production.INFO: ==5317== Releasing lock...
[2025-01-10 16:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 16:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 16:31:04] Production.ERROR: done
[2025-01-10 16:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 16:31:04] Production.INFO: Account Balance End.
[2025-01-10 16:31:04] Production.ERROR: CronJobId end 12
[2025-01-10 16:31:04] Production.INFO: ==5313== Releasing lock...
[2025-01-10 16:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 16:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 16:31:04] Production.ERROR: done
[2025-01-10 16:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 13:31:05
[end_date_ymd] => 2025-01-10 16:31:05
[RateCDR] => 1
)
[2025-01-10 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-01-10 13:31:05' and `end` < '2025-01-10 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-01-10 16:31:11] Production.ERROR: CronJobId end10
[2025-01-10 16:31:11] Production.INFO: ==5311== Releasing lock...
[2025-01-10 16:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 16:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 16:31:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 16:31:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 16:31:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 16:31:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 16:31:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 16:31:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 16:31:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 16:31:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 16:31:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 16:31:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 16:31:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 16:31:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 16:31:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 16:31:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 16:31:13] Production.INFO: call_cost start
[2025-01-10 16:31:13] Production.INFO: call_cost end
[2025-01-10 16:31:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 16:31:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 16:31:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 16:31:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 16:31:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 16:31:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 16:31:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 16:31:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 16:31:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 16:31:14] Production.INFO: ==5307== Releasing lock...
[2025-01-10 16:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 16:31:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 16:31:28] Production.INFO: count ==4105
[2025-01-10 16:31:30] Production.ERROR: pbx CDR StartTime 2025-01-10 13:31:05 - End Time 2025-01-10 16:31:05
[2025-01-10 16:31:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 16:31:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218158', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:31:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218158', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:31:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218158', 'tblTempVendorCDR_20' ) start
[2025-01-10 16:31:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218158', 'tblTempVendorCDR_20' ) end
[2025-01-10 16:31:30] Production.INFO: ProcessCDR(1,14218158,1,1,2)
[2025-01-10 16:31:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14218158,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:31:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14218158,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:31:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14218158,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:31:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14218158,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:31:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218158', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:31:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218158', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:31:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 16:31:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 16:31:34] Production.INFO: ==5315== Releasing lock...
[2025-01-10 16:31:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 16:31:34] Production.INFO: 58.75 MB #Memory Used#
[2025-01-10 21:32:01] Production.INFO: ==5370== Lock acquired, processing the job...
[2025-01-10 21:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 21:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 21:32:01] Production.INFO: neon service started
[2025-01-10 21:32:01] Production.INFO: neon service started
[2025-01-10 21:32:01] Production.INFO: ==5370== Releasing lock...
[2025-01-10 21:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 21:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 16:32:02] Production.INFO: ==5372== Lock acquired, processing the job...
[2025-01-10 16:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 21:32:02] Production.INFO: ==5374== Lock acquired, processing the job...
[2025-01-10 21:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 21:32:02] Production.INFO: ==5374== Releasing lock...
[2025-01-10 21:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 21:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 16:32:02] Production.INFO: ==5372== Releasing lock...
[2025-01-10 16:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 16:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 16:32:03] Production.INFO: ==5377== Lock acquired, processing the job...
[2025-01-10 16:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 16:32:03] Production.INFO: ==5379== Lock acquired, processing the job...
[2025-01-10 16:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 16:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 16:32:03] Production.INFO: ==5381== Lock acquired, processing the job...
[2025-01-10 16:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 16:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 16:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 16:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 16:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 16:32:03] Production.INFO: ==5383== Lock acquired, processing the job...
[2025-01-10 16:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 16:32:03] Production.INFO: Account Balance Start.
[2025-01-10 16:32:03] Production.INFO: CreateAllLog Start
[2025-01-10 16:32:03] Production.INFO: 117
[2025-01-10 16:32:03] Production.INFO: Date 2025-01-08
[2025-01-10 16:32:03] Production.INFO: ==5385== Lock acquired, processing the job...
[2025-01-10 16:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 16:32:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:32:03] Production.INFO: ==5379== Releasing lock...
[2025-01-10 16:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 16:32:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 16:32:03] Production.INFO: Date 2025-01-09
[2025-01-10 16:32:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 16:32:03] Production.INFO: Date 2025-01-10
[2025-01-10 16:32:03] Production.INFO: ==5387== Lock acquired, processing the job...
[2025-01-10 16:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 16:32:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:32:04] Production.INFO: Total Charge 0
[2025-01-10 16:32:04] Production.INFO: CreateAllLog End
[2025-01-10 16:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:32:04] Production.INFO: count ==21
[2025-01-10 16:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:32:04] Production.INFO: count ==21
[2025-01-10 16:32:04] Production.ERROR: done
[2025-01-10 16:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 16:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14218162') start
[2025-01-10 16:32:04] Production.INFO: Account Balance End.
[2025-01-10 16:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14218162') end
[2025-01-10 16:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 16:32:04] Production.INFO: 1
[2025-01-10 16:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 16:32:04] Production.ERROR: CronJobId end 12
[2025-01-10 16:32:04] Production.INFO: ==5383== Releasing lock...
[2025-01-10 16:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 16:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 16:32:04] Production.INFO: ==5387== Releasing lock...
[2025-01-10 16:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 16:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 16:32:04] Production.ERROR: done
[2025-01-10 16:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 13:32:05
[end_date_ymd] => 2025-01-10 16:32:05
[RateCDR] => 1
)
[2025-01-10 16:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 13:32:05' and `end` < '2025-01-10 16:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 16:32:11] Production.ERROR: CronJobId end10
[2025-01-10 16:32:11] Production.INFO: ==5381== Releasing lock...
[2025-01-10 16:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 16:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 16:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 16:32:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 16:32:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 16:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 16:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 16:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 16:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 16:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 16:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 16:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 16:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 16:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 16:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 16:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 16:32:13] Production.INFO: call_cost start
[2025-01-10 16:32:13] Production.INFO: call_cost end
[2025-01-10 16:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 16:32:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 16:32:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 16:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 16:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 16:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 16:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 16:32:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 16:32:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 16:32:14] Production.INFO: ==5377== Releasing lock...
[2025-01-10 16:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 16:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 16:32:27] Production.INFO: count ==4120
[2025-01-10 16:32:28] Production.ERROR: pbx CDR StartTime 2025-01-10 13:32:05 - End Time 2025-01-10 16:32:05
[2025-01-10 16:32:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 16:32:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218163', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:32:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218163', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:32:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218163', 'tblTempVendorCDR_20' ) start
[2025-01-10 16:32:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218163', 'tblTempVendorCDR_20' ) end
[2025-01-10 16:32:29] Production.INFO: ProcessCDR(1,14218163,1,1,2)
[2025-01-10 16:32:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14218163,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:32:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14218163,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:32:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14218163,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:32:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14218163,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:32:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218163', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:32:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218163', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:32:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 16:32:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 16:32:33] Production.INFO: ==5385== Releasing lock...
[2025-01-10 16:32:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 16:32:33] Production.INFO: 58.75 MB #Memory Used#
[2025-01-10 21:33:01] Production.INFO: ==5444== Lock acquired, processing the job...
[2025-01-10 21:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 21:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 21:33:02] Production.INFO: neon service started
[2025-01-10 21:33:02] Production.INFO: neon service started
[2025-01-10 21:33:02] Production.INFO: ==5444== Releasing lock...
[2025-01-10 21:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 21:33:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 16:33:02] Production.INFO: ==5446== Lock acquired, processing the job...
[2025-01-10 16:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 16:33:02] Production.INFO: ==5446== Releasing lock...
[2025-01-10 16:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 16:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 21:33:02] Production.INFO: ==5448== Lock acquired, processing the job...
[2025-01-10 21:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 21:33:02] Production.INFO: ==5448== Releasing lock...
[2025-01-10 21:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 21:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 16:33:03] Production.INFO: ==5461== Lock acquired, processing the job...
[2025-01-10 16:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 16:33:03] Production.INFO: ==5459== Lock acquired, processing the job...
[2025-01-10 16:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 16:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 16:33:03] Production.INFO: ==5450== Lock acquired, processing the job...
[2025-01-10 16:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 16:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:33:03] Production.INFO: ==5452== Lock acquired, processing the job...
[2025-01-10 16:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 16:33:03] Production.INFO: ==5454== Lock acquired, processing the job...
[2025-01-10 16:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 16:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 16:33:03] Production.INFO: count ==21
[2025-01-10 16:33:03] Production.INFO: ==5457== Lock acquired, processing the job...
[2025-01-10 16:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 16:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:33:03] Production.INFO: count ==21
[2025-01-10 16:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14218164') start
[2025-01-10 16:33:03] Production.ERROR: done
[2025-01-10 16:33:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 16:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 16:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 16:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 16:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 16:33:03] Production.INFO: Account Balance Start.
[2025-01-10 16:33:03] Production.INFO: CreateAllLog Start
[2025-01-10 16:33:03] Production.INFO: 117
[2025-01-10 16:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14218164') end
[2025-01-10 16:33:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 16:33:03] Production.INFO: 1
[2025-01-10 16:33:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 16:33:03] Production.ERROR: done
[2025-01-10 16:33:03] Production.INFO: Date 2025-01-08
[2025-01-10 16:33:03] Production.INFO: ==5461== Releasing lock...
[2025-01-10 16:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 16:33:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 16:33:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:33:04] Production.INFO: Date 2025-01-09
[2025-01-10 16:33:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:33:04] Production.INFO: ==5452== Releasing lock...
[2025-01-10 16:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 16:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 16:33:04] Production.INFO: Date 2025-01-10
[2025-01-10 16:33:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:33:04] Production.INFO: Total Charge 0
[2025-01-10 16:33:04] Production.INFO: CreateAllLog End
[2025-01-10 16:33:04] Production.INFO: Account Balance End.
[2025-01-10 16:33:04] Production.ERROR: CronJobId end 12
[2025-01-10 16:33:04] Production.INFO: ==5457== Releasing lock...
[2025-01-10 16:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 16:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 16:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 13:33:05
[end_date_ymd] => 2025-01-10 16:33:05
[RateCDR] => 1
)
[2025-01-10 16:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 13:33:05' and `end` < '2025-01-10 16:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 16:33:11] Production.ERROR: CronJobId end10
[2025-01-10 16:33:11] Production.INFO: ==5454== Releasing lock...
[2025-01-10 16:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 16:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 16:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 16:33:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 16:33:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 16:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 16:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 16:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 16:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 16:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 16:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 16:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 16:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 16:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 16:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 16:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 16:33:13] Production.INFO: call_cost start
[2025-01-10 16:33:13] Production.INFO: call_cost end
[2025-01-10 16:33:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 16:33:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 16:33:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 16:33:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 16:33:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 16:33:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 16:33:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 16:33:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 16:33:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 16:33:14] Production.INFO: ==5450== Releasing lock...
[2025-01-10 16:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 16:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 16:33:25] Production.INFO: count ==4110
[2025-01-10 16:33:26] Production.ERROR: pbx CDR StartTime 2025-01-10 13:33:05 - End Time 2025-01-10 16:33:05
[2025-01-10 16:33:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 16:33:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218168', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:33:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218168', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:33:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218168', 'tblTempVendorCDR_20' ) start
[2025-01-10 16:33:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218168', 'tblTempVendorCDR_20' ) end
[2025-01-10 16:33:26] Production.INFO: ProcessCDR(1,14218168,1,1,2)
[2025-01-10 16:33:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14218168,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:33:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14218168,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:33:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14218168,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:33:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14218168,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:33:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218168', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:33:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218168', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:33:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 16:33:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 16:33:31] Production.INFO: ==5459== Releasing lock...
[2025-01-10 16:33:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 16:33:31] Production.INFO: 58.75 MB #Memory Used#
[2025-01-10 21:34:01] Production.INFO: ==5516== Lock acquired, processing the job...
[2025-01-10 21:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 21:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 21:34:01] Production.INFO: neon service started
[2025-01-10 21:34:01] Production.INFO: neon service started
[2025-01-10 21:34:01] Production.INFO: ==5516== Releasing lock...
[2025-01-10 21:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 21:34:01] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 16:34:01] Production.INFO: ==5518== Lock acquired, processing the job...
[2025-01-10 16:34:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 16:34:02] Production.INFO: ==5518== Releasing lock...
[2025-01-10 16:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 16:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 21:34:02] Production.INFO: ==5520== Lock acquired, processing the job...
[2025-01-10 21:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 21:34:02] Production.INFO: ==5520== Releasing lock...
[2025-01-10 21:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 21:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 16:34:03] Production.INFO: ==5530== Lock acquired, processing the job...
[2025-01-10 16:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 16:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 16:34:03] Production.INFO: ==5532== Lock acquired, processing the job...
[2025-01-10 16:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 16:34:03] Production.INFO: ==5522== Lock acquired, processing the job...
[2025-01-10 16:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 16:34:03] Production.INFO: ==5524== Lock acquired, processing the job...
[2025-01-10 16:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 16:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:34:03] Production.INFO: ==5526== Lock acquired, processing the job...
[2025-01-10 16:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 16:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 16:34:03] Production.INFO: count ==21
[2025-01-10 16:34:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:34:03] Production.INFO: ==5528== Lock acquired, processing the job...
[2025-01-10 16:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 16:34:03] Production.INFO: count ==21
[2025-01-10 16:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14218169') start
[2025-01-10 16:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 16:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 16:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 16:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 16:34:03] Production.ERROR: done
[2025-01-10 16:34:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 16:34:03] Production.INFO: Account Balance Start.
[2025-01-10 16:34:03] Production.INFO: CreateAllLog Start
[2025-01-10 16:34:03] Production.INFO: 117
[2025-01-10 16:34:03] Production.INFO: Date 2025-01-08
[2025-01-10 16:34:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:34:03] Production.INFO: Date 2025-01-09
[2025-01-10 16:34:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14218169') end
[2025-01-10 16:34:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 16:34:03] Production.INFO: 1
[2025-01-10 16:34:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 16:34:03] Production.INFO: Date 2025-01-10
[2025-01-10 16:34:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:34:03] Production.INFO: ==5524== Releasing lock...
[2025-01-10 16:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 16:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 16:34:03] Production.ERROR: done
[2025-01-10 16:34:03] Production.INFO: Total Charge 0
[2025-01-10 16:34:03] Production.INFO: ==5532== Releasing lock...
[2025-01-10 16:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 16:34:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 16:34:03] Production.INFO: CreateAllLog End
[2025-01-10 16:34:03] Production.INFO: Account Balance End.
[2025-01-10 16:34:03] Production.ERROR: CronJobId end 12
[2025-01-10 16:34:03] Production.INFO: ==5528== Releasing lock...
[2025-01-10 16:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 16:34:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 16:34:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 13:34:04
[end_date_ymd] => 2025-01-10 16:34:04
[RateCDR] => 1
)
[2025-01-10 16:34:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 13:34:04' and `end` < '2025-01-10 16:34:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 16:34:11] Production.ERROR: CronJobId end10
[2025-01-10 16:34:11] Production.INFO: ==5526== Releasing lock...
[2025-01-10 16:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 16:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 16:34:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 16:34:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 16:34:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 16:34:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 16:34:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 16:34:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 16:34:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 16:34:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 16:34:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 16:34:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 16:34:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 16:34:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 16:34:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 16:34:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 16:34:12] Production.INFO: call_cost start
[2025-01-10 16:34:12] Production.INFO: call_cost end
[2025-01-10 16:34:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 16:34:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 16:34:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 16:34:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 16:34:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 16:34:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 16:34:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 16:34:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 16:34:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 16:34:13] Production.INFO: ==5522== Releasing lock...
[2025-01-10 16:34:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 16:34:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 16:34:26] Production.INFO: count ==4111
[2025-01-10 16:34:28] Production.ERROR: pbx CDR StartTime 2025-01-10 13:34:04 - End Time 2025-01-10 16:34:04
[2025-01-10 16:34:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 16:34:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218173', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:34:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218173', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:34:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218173', 'tblTempVendorCDR_20' ) start
[2025-01-10 16:34:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218173', 'tblTempVendorCDR_20' ) end
[2025-01-10 16:34:28] Production.INFO: ProcessCDR(1,14218173,1,1,2)
[2025-01-10 16:34:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14218173,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:34:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14218173,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:34:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14218173,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:34:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14218173,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:34:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218173', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:34:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218173', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:34:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 16:34:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 16:34:33] Production.INFO: ==5530== Releasing lock...
[2025-01-10 16:34:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 16:34:33] Production.INFO: 58.75 MB #Memory Used#
[2025-01-10 21:35:01] Production.INFO: ==5588== Lock acquired, processing the job...
[2025-01-10 21:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 21:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 21:35:01] Production.INFO: neon service started
[2025-01-10 21:35:01] Production.INFO: neon service started
[2025-01-10 21:35:01] Production.INFO: ==5588== Releasing lock...
[2025-01-10 21:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 21:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 21:35:02] Production.INFO: ==5592== Lock acquired, processing the job...
[2025-01-10 21:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 21:35:02] Production.INFO: ==5592== Releasing lock...
[2025-01-10 21:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 21:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 16:35:02] Production.INFO: ==5590== Lock acquired, processing the job...
[2025-01-10 16:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 16:35:02] Production.INFO: ==5590== Releasing lock...
[2025-01-10 16:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 16:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 16:35:03] Production.INFO: ==5597== Lock acquired, processing the job...
[2025-01-10 16:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 16:35:03] Production.INFO: ==5595== Lock acquired, processing the job...
[2025-01-10 16:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 16:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 16:35:03] Production.INFO: ==5605== Lock acquired, processing the job...
[2025-01-10 16:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 16:35:03] Production.INFO: ==5599== Lock acquired, processing the job...
[2025-01-10 16:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 16:35:03] Production.INFO: ==5601== Lock acquired, processing the job...
[2025-01-10 16:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 16:35:03] Production.INFO: ==5597== Releasing lock...
[2025-01-10 16:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 16:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 16:35:03] Production.INFO: ==5603== Lock acquired, processing the job...
[2025-01-10 16:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 16:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 16:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 16:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 16:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 16:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 16:35:03] Production.INFO: Account Balance Start.
[2025-01-10 16:35:03] Production.INFO: CreateAllLog Start
[2025-01-10 16:35:03] Production.INFO: 117
[2025-01-10 16:35:03] Production.INFO: Date 2025-01-08
[2025-01-10 16:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:35:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:35:03] Production.INFO: Date 2025-01-09
[2025-01-10 16:35:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:35:03] Production.INFO: Date 2025-01-10
[2025-01-10 16:35:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:35:03] Production.INFO: count ==21
[2025-01-10 16:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:35:04] Production.INFO: count ==21
[2025-01-10 16:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14218176') start
[2025-01-10 16:35:04] Production.INFO: Total Charge 0
[2025-01-10 16:35:04] Production.INFO: CreateAllLog End
[2025-01-10 16:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14218176') end
[2025-01-10 16:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 16:35:04] Production.INFO: 1
[2025-01-10 16:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 16:35:04] Production.INFO: ==5605== Releasing lock...
[2025-01-10 16:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 16:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 16:35:04] Production.ERROR: done
[2025-01-10 16:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 16:35:04] Production.INFO: Account Balance End.
[2025-01-10 16:35:04] Production.ERROR: done
[2025-01-10 16:35:04] Production.ERROR: CronJobId end 12
[2025-01-10 16:35:04] Production.INFO: ==5601== Releasing lock...
[2025-01-10 16:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 16:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 16:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 13:35:05
[end_date_ymd] => 2025-01-10 16:35:05
[RateCDR] => 1
)
[2025-01-10 16:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 13:35:05' and `end` < '2025-01-10 16:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 16:35:11] Production.ERROR: CronJobId end10
[2025-01-10 16:35:11] Production.INFO: ==5599== Releasing lock...
[2025-01-10 16:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 16:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 16:35:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 16:35:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 16:35:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 16:35:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 16:35:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 16:35:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 16:35:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 16:35:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 16:35:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 16:35:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 16:35:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 16:35:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 16:35:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 16:35:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 16:35:13] Production.INFO: call_cost start
[2025-01-10 16:35:13] Production.INFO: call_cost end
[2025-01-10 16:35:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 16:35:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 16:35:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 16:35:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 16:35:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 16:35:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 16:35:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 16:35:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 16:35:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 16:35:13] Production.INFO: ==5595== Releasing lock...
[2025-01-10 16:35:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 16:35:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 16:35:29] Production.INFO: count ==4066
[2025-01-10 16:35:31] Production.ERROR: pbx CDR StartTime 2025-01-10 13:35:05 - End Time 2025-01-10 16:35:05
[2025-01-10 16:35:31] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 16:35:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218178', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:35:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218178', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:35:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218178', 'tblTempVendorCDR_20' ) start
[2025-01-10 16:35:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218178', 'tblTempVendorCDR_20' ) end
[2025-01-10 16:35:31] Production.INFO: ProcessCDR(1,14218178,1,1,2)
[2025-01-10 16:35:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14218178,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:35:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14218178,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:35:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14218178,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:35:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14218178,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:35:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218178', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:35:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218178', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:35:36] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 16:35:36] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 16:35:36] Production.INFO: ==5603== Releasing lock...
[2025-01-10 16:35:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 16:35:36] Production.INFO: 58.5 MB #Memory Used#
[2025-01-10 21:36:02] Production.INFO: ==5661== Lock acquired, processing the job...
[2025-01-10 21:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 21:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 21:36:02] Production.INFO: neon service started
[2025-01-10 21:36:02] Production.INFO: neon service started
[2025-01-10 21:36:02] Production.INFO: ==5661== Releasing lock...
[2025-01-10 21:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 21:36:02] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 16:36:02] Production.INFO: ==5664== Lock acquired, processing the job...
[2025-01-10 16:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 21:36:03] Production.INFO: ==5666== Lock acquired, processing the job...
[2025-01-10 21:36:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 21:36:03] Production.INFO: ==5666== Releasing lock...
[2025-01-10 21:36:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 21:36:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 16:36:03] Production.INFO: ==5664== Releasing lock...
[2025-01-10 16:36:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 16:36:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 16:36:04] Production.INFO: ==5668== Lock acquired, processing the job...
[2025-01-10 16:36:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 16:36:04] Production.INFO: ==5674== Lock acquired, processing the job...
[2025-01-10 16:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 16:36:04] Production.INFO: ==5676== Lock acquired, processing the job...
[2025-01-10 16:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 16:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 16:36:04] Production.INFO: ==5670== Lock acquired, processing the job...
[2025-01-10 16:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 16:36:04] Production.INFO: Account Balance Start.
[2025-01-10 16:36:04] Production.INFO: CreateAllLog Start
[2025-01-10 16:36:04] Production.INFO: 117
[2025-01-10 16:36:04] Production.INFO: Date 2025-01-08
[2025-01-10 16:36:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:36:04] Production.INFO: Date 2025-01-09
[2025-01-10 16:36:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:36:04] Production.INFO: Date 2025-01-10
[2025-01-10 16:36:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:36:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 16:36:04] Production.INFO: ==5672== Lock acquired, processing the job...
[2025-01-10 16:36:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 16:36:04] Production.INFO: Total Charge 0
[2025-01-10 16:36:04] Production.INFO: CreateAllLog End
[2025-01-10 16:36:04] Production.INFO: ==5678== Lock acquired, processing the job...
[2025-01-10 16:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 16:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 16:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 16:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 16:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 16:36:04] Production.INFO: Account Balance End.
[2025-01-10 16:36:04] Production.INFO: ==5670== Releasing lock...
[2025-01-10 16:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 16:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 16:36:04] Production.ERROR: done
[2025-01-10 16:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 16:36:04] Production.ERROR: CronJobId end 12
[2025-01-10 16:36:04] Production.INFO: ==5674== Releasing lock...
[2025-01-10 16:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 16:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 16:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:36:04] Production.INFO: count ==21
[2025-01-10 16: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-01-10 16:36:05] Production.INFO: count ==21
[2025-01-10 16:36:05] Production.ERROR: PBX CALL prc_importPBXExtension('14218182') start
[2025-01-10 16:36:05] Production.ERROR: done
[2025-01-10 16:36:05] Production.ERROR: PBX CALL prc_importPBXExtension('14218182') end
[2025-01-10 16:36:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 16:36:05] Production.INFO: 1
[2025-01-10 16:36:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 16:36:05] Production.INFO: ==5678== Releasing lock...
[2025-01-10 16:36:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 16:36:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 16:36:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 13:36:06
[end_date_ymd] => 2025-01-10 16:36:06
[RateCDR] => 1
)
[2025-01-10 16:36:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 13:36:06' and `end` < '2025-01-10 16:36:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 16:36:12] Production.ERROR: CronJobId end10
[2025-01-10 16:36:12] Production.INFO: ==5672== Releasing lock...
[2025-01-10 16:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 16:36:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 16:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 16:36:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 16:36:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 16:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 16:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 16:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 16:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 16:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 16:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 16:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 16:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 16:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 16:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 16:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 16:36:14] Production.INFO: call_cost start
[2025-01-10 16:36:14] Production.INFO: call_cost end
[2025-01-10 16:36:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 16:36:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 16:36:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 16:36:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 16:36:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 16:36:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 16:36:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 16:36:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 16:36:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 16:36:15] Production.INFO: ==5668== Releasing lock...
[2025-01-10 16:36:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 16:36:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 16:36:36] Production.INFO: count ==4080
[2025-01-10 16:36:38] Production.ERROR: pbx CDR StartTime 2025-01-10 13:36:06 - End Time 2025-01-10 16:36:06
[2025-01-10 16:36:38] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 16:36:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218183', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:36:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218183', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:36:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218183', 'tblTempVendorCDR_20' ) start
[2025-01-10 16:36:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218183', 'tblTempVendorCDR_20' ) end
[2025-01-10 16:36:38] Production.INFO: ProcessCDR(1,14218183,1,1,2)
[2025-01-10 16:36:38] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14218183,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:36:40] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14218183,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:36:40] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14218183,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:36:43] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14218183,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:36:43] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218183', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:36:43] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218183', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:36:43] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 16:36:43] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 16:36:43] Production.INFO: ==5676== Releasing lock...
[2025-01-10 16:36:43] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 16:36:43] Production.INFO: 58.5 MB #Memory Used#
[2025-01-10 21:37:01] Production.INFO: ==5739== Lock acquired, processing the job...
[2025-01-10 21:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 21:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 21:37:01] Production.INFO: neon service started
[2025-01-10 21:37:01] Production.INFO: neon service started
[2025-01-10 21:37:01] Production.INFO: ==5739== Releasing lock...
[2025-01-10 21:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 21:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 16:37:02] Production.INFO: ==5741== Lock acquired, processing the job...
[2025-01-10 16:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 16:37:02] Production.INFO: ==5741== Releasing lock...
[2025-01-10 16:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 16:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 21:37:02] Production.INFO: ==5743== Lock acquired, processing the job...
[2025-01-10 21:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 21:37:02] Production.INFO: ==5743== Releasing lock...
[2025-01-10 21:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 21:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 16:37:03] Production.INFO: ==5746== Lock acquired, processing the job...
[2025-01-10 16:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 16:37:03] Production.INFO: ==5750== Lock acquired, processing the job...
[2025-01-10 16:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 16:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 16:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 16:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 16:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 16:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 16:37:03] Production.INFO: ==5754== Lock acquired, processing the job...
[2025-01-10 16:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 16:37:03] Production.INFO: ==5748== Lock acquired, processing the job...
[2025-01-10 16:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 16:37:03] Production.INFO: ==5752== Lock acquired, processing the job...
[2025-01-10 16:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 16:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 16:37:03] Production.INFO: ==5756== Lock acquired, processing the job...
[2025-01-10 16:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 16:37:03] Production.INFO: Account Balance Start.
[2025-01-10 16:37:03] Production.INFO: CreateAllLog Start
[2025-01-10 16:37:03] Production.INFO: 117
[2025-01-10 16:37:03] Production.INFO: Date 2025-01-08
[2025-01-10 16:37:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:37:03] Production.INFO: count ==21
[2025-01-10 16:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:37:03] Production.INFO: count ==21
[2025-01-10 16:37:03] Production.INFO: Date 2025-01-09
[2025-01-10 16:37:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14218187') start
[2025-01-10 16:37:03] Production.INFO: Date 2025-01-10
[2025-01-10 16:37:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:37:03] Production.ERROR: done
[2025-01-10 16:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 16:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14218187') end
[2025-01-10 16:37:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 16:37:03] Production.INFO: 1
[2025-01-10 16:37:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 16:37:03] Production.INFO: ==5756== Releasing lock...
[2025-01-10 16:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 16:37:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 16:37:03] Production.ERROR: done
[2025-01-10 16:37:03] Production.INFO: Total Charge 0
[2025-01-10 16:37:04] Production.INFO: CreateAllLog End
[2025-01-10 16:37:04] Production.INFO: ==5748== Releasing lock...
[2025-01-10 16:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 16:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 16:37:04] Production.INFO: Account Balance End.
[2025-01-10 16:37:04] Production.ERROR: CronJobId end 12
[2025-01-10 16:37:04] Production.INFO: ==5752== Releasing lock...
[2025-01-10 16:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 16:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 16:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 13:37:05
[end_date_ymd] => 2025-01-10 16:37:05
[RateCDR] => 1
)
[2025-01-10 16:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 13:37:05' and `end` < '2025-01-10 16:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 16:37:11] Production.ERROR: CronJobId end10
[2025-01-10 16:37:11] Production.INFO: ==5750== Releasing lock...
[2025-01-10 16:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 16:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 16:37:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 16:37:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 16:37:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 16:37:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 16:37:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 16:37:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 16:37:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 16:37:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 16:37:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 16:37:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 16:37:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 16:37:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 16:37:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 16:37:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 16:37:12] Production.INFO: call_cost start
[2025-01-10 16:37:12] Production.INFO: call_cost end
[2025-01-10 16:37:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 16:37:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 16:37:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 16:37:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 16:37:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 16:37:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 16:37:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 16:37:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 16:37:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 16:37:13] Production.INFO: ==5746== Releasing lock...
[2025-01-10 16:37:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 16:37:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 16:37:28] Production.INFO: count ==4095
[2025-01-10 16:37:30] Production.ERROR: pbx CDR StartTime 2025-01-10 13:37:05 - End Time 2025-01-10 16:37:05
[2025-01-10 16:37:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 16:37:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218188', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:37:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218188', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:37:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218188', 'tblTempVendorCDR_20' ) start
[2025-01-10 16:37:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218188', 'tblTempVendorCDR_20' ) end
[2025-01-10 16:37:30] Production.INFO: ProcessCDR(1,14218188,1,1,2)
[2025-01-10 16:37:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14218188,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:37:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14218188,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:37:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14218188,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:37:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14218188,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:37:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218188', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:37:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218188', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:37:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 16:37:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 16:37:34] Production.INFO: ==5754== Releasing lock...
[2025-01-10 16:37:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 16:37:34] Production.INFO: 58.75 MB #Memory Used#
[2025-01-10 21:38:02] Production.INFO: ==5813== Lock acquired, processing the job...
[2025-01-10 21:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 21:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 21:38:02] Production.INFO: neon service started
[2025-01-10 21:38:02] Production.INFO: neon service started
[2025-01-10 21:38:02] Production.INFO: ==5813== Releasing lock...
[2025-01-10 21:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 21:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 21:38:02] Production.INFO: ==5817== Lock acquired, processing the job...
[2025-01-10 21:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 21:38:02] Production.INFO: ==5817== Releasing lock...
[2025-01-10 21:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 21:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 16:38:02] Production.INFO: ==5815== Lock acquired, processing the job...
[2025-01-10 16:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 16:38:02] Production.INFO: ==5815== Releasing lock...
[2025-01-10 16:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 16:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 16:38:03] Production.INFO: ==5830== Lock acquired, processing the job...
[2025-01-10 16:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 16:38:03] Production.INFO: ==5826== Lock acquired, processing the job...
[2025-01-10 16:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 16:38:03] Production.INFO: ==5820== Lock acquired, processing the job...
[2025-01-10 16:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 16:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:38:03] Production.INFO: Account Balance Start.
[2025-01-10 16:38:03] Production.INFO: CreateAllLog Start
[2025-01-10 16:38:03] Production.INFO: 117
[2025-01-10 16:38:03] Production.INFO: Date 2025-01-08
[2025-01-10 16:38:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:38:03] Production.INFO: count ==21
[2025-01-10 16:38:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:38:03] Production.INFO: count ==21
[2025-01-10 16:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 16:38:03] Production.INFO: Date 2025-01-09
[2025-01-10 16:38:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14218189') start
[2025-01-10 16:38:03] Production.INFO: ==5822== Lock acquired, processing the job...
[2025-01-10 16:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 16:38:03] Production.INFO: ==5824== Lock acquired, processing the job...
[2025-01-10 16:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 16:38:04] Production.INFO: Date 2025-01-10
[2025-01-10 16:38:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:38:04] Production.INFO: ==5828== Lock acquired, processing the job...
[2025-01-10 16:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 16:38:04] Production.INFO: Total Charge 0
[2025-01-10 16:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14218189') end
[2025-01-10 16:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 16:38:04] Production.INFO: 1
[2025-01-10 16:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 16:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 16:38:04] Production.INFO: CreateAllLog End
[2025-01-10 16:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 16:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 16:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 16:38:04] Production.INFO: ==5830== Releasing lock...
[2025-01-10 16:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 16:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 16:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 16:38:04] Production.INFO: ==5822== Releasing lock...
[2025-01-10 16:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 16:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 16:38:04] Production.INFO: Account Balance End.
[2025-01-10 16:38:04] Production.ERROR: CronJobId end 12
[2025-01-10 16:38:04] Production.INFO: ==5826== Releasing lock...
[2025-01-10 16:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 16:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 16:38:04] Production.ERROR: done
[2025-01-10 16:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 16:38:04] Production.ERROR: done
[2025-01-10 16:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 13:38:05
[end_date_ymd] => 2025-01-10 16:38:05
[RateCDR] => 1
)
[2025-01-10 16:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 13:38:05' and `end` < '2025-01-10 16:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 16:38:12] Production.ERROR: CronJobId end10
[2025-01-10 16:38:12] Production.INFO: ==5824== Releasing lock...
[2025-01-10 16:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 16:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 16:38:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 16:38:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 16:38:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 16:38:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 16:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 16:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 16:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 16:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 16:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 16:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 16:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 16:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 16:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 16:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 16:38:14] Production.INFO: call_cost start
[2025-01-10 16:38:14] Production.INFO: call_cost end
[2025-01-10 16:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 16:38:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 16:38:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 16:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 16:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 16:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 16:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 16:38:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 16:38:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 16:38:14] Production.INFO: ==5820== Releasing lock...
[2025-01-10 16:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 16:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 16:38:29] Production.INFO: count ==4075
[2025-01-10 16:38:31] Production.ERROR: pbx CDR StartTime 2025-01-10 13:38:05 - End Time 2025-01-10 16:38:05
[2025-01-10 16:38:31] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 16:38:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218193', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:38:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218193', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:38:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218193', 'tblTempVendorCDR_20' ) start
[2025-01-10 16:38:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218193', 'tblTempVendorCDR_20' ) end
[2025-01-10 16:38:31] Production.INFO: ProcessCDR(1,14218193,1,1,2)
[2025-01-10 16:38:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14218193,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:38:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14218193,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:38:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14218193,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:38:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14218193,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:38:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218193', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:38:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218193', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:38:35] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 16:38:36] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 16:38:36] Production.INFO: ==5828== Releasing lock...
[2025-01-10 16:38:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 16:38:36] Production.INFO: 58.5 MB #Memory Used#
[2025-01-10 21:39:01] Production.INFO: ==5889== Lock acquired, processing the job...
[2025-01-10 21:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 21:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 21:39:01] Production.INFO: neon service started
[2025-01-10 21:39:01] Production.INFO: neon service started
[2025-01-10 21:39:01] Production.INFO: ==5889== Releasing lock...
[2025-01-10 21:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 21:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 16:39:01] Production.INFO: ==5891== Lock acquired, processing the job...
[2025-01-10 16:39:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 16:39:02] Production.INFO: ==5891== Releasing lock...
[2025-01-10 16:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 16:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 21:39:02] Production.INFO: ==5893== Lock acquired, processing the job...
[2025-01-10 21:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 21:39:02] Production.INFO: ==5893== Releasing lock...
[2025-01-10 21:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 21:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 16:39:02] Production.INFO: ==5897== Lock acquired, processing the job...
[2025-01-10 16:39:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 16:39:03] Production.INFO: ==5895== Lock acquired, processing the job...
[2025-01-10 16:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 16:39:03] Production.INFO: ==5905== Lock acquired, processing the job...
[2025-01-10 16:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 16:39:03] Production.INFO: ==5899== Lock acquired, processing the job...
[2025-01-10 16:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 16:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 16:39:03] Production.INFO: ==5901== Lock acquired, processing the job...
[2025-01-10 16:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 16:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 16:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 16:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 16:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:39:03] Production.INFO: ==5903== Lock acquired, processing the job...
[2025-01-10 16:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 16:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 16:39:03] Production.INFO: Account Balance Start.
[2025-01-10 16:39:03] Production.INFO: CreateAllLog Start
[2025-01-10 16:39:03] Production.INFO: 117
[2025-01-10 16:39:03] Production.INFO: Date 2025-01-08
[2025-01-10 16:39:03] Production.INFO: count ==21
[2025-01-10 16:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:39:03] Production.INFO: count ==21
[2025-01-10 16:39:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 16:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14218195') start
[2025-01-10 16:39:03] Production.INFO: Date 2025-01-09
[2025-01-10 16:39:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:39:03] Production.INFO: ==5897== Releasing lock...
[2025-01-10 16:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 16:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 16:39:03] Production.INFO: Date 2025-01-10
[2025-01-10 16:39:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14218195') end
[2025-01-10 16:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 16:39:03] Production.INFO: 1
[2025-01-10 16:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 16:39:03] Production.INFO: Total Charge 0
[2025-01-10 16:39:03] Production.INFO: CreateAllLog End
[2025-01-10 16:39:03] Production.ERROR: done
[2025-01-10 16:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 16:39:03] Production.INFO: ==5905== Releasing lock...
[2025-01-10 16:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 16:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 16:39:03] Production.ERROR: done
[2025-01-10 16:39:04] Production.INFO: Account Balance End.
[2025-01-10 16:39:04] Production.ERROR: CronJobId end 12
[2025-01-10 16:39:04] Production.INFO: ==5901== Releasing lock...
[2025-01-10 16:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 16:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 16:39:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 13:39:04
[end_date_ymd] => 2025-01-10 16:39:04
[RateCDR] => 1
)
[2025-01-10 16:39:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 13:39:04' and `end` < '2025-01-10 16:39:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 16:39:12] Production.ERROR: CronJobId end10
[2025-01-10 16:39:12] Production.INFO: ==5899== Releasing lock...
[2025-01-10 16:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 16:39:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 16:39:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 16:39:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 16:39:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 16:39:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 16:39:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 16:39:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 16:39:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 16:39:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 16:39:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 16:39:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 16:39:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 16:39:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 16:39:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 16:39:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 16:39:13] Production.INFO: call_cost start
[2025-01-10 16:39:13] Production.INFO: call_cost end
[2025-01-10 16:39:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 16:39:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 16:39:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 16:39:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 16:39:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 16:39:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 16:39:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 16:39:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 16:39:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 16:39:13] Production.INFO: ==5895== Releasing lock...
[2025-01-10 16:39:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 16:39:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 16:39:32] Production.INFO: count ==4102
[2025-01-10 16:39:33] Production.ERROR: pbx CDR StartTime 2025-01-10 13:39:04 - End Time 2025-01-10 16:39:04
[2025-01-10 16:39:33] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 16:39:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218198', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:39:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218198', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:39:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218198', 'tblTempVendorCDR_20' ) start
[2025-01-10 16:39:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218198', 'tblTempVendorCDR_20' ) end
[2025-01-10 16:39:34] Production.INFO: ProcessCDR(1,14218198,1,1,2)
[2025-01-10 16:39:34] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14218198,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:39:36] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14218198,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:39:36] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14218198,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:39:38] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14218198,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:39:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218198', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:39:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218198', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:39:39] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 16:39:39] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 16:39:39] Production.INFO: ==5903== Releasing lock...
[2025-01-10 16:39:39] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 16:39:39] Production.INFO: 58.75 MB #Memory Used#
[2025-01-10 21:40:01] Production.INFO: ==5999== Lock acquired, processing the job...
[2025-01-10 21:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 21:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 21:40:01] Production.INFO: neon service started
[2025-01-10 21:40:02] Production.INFO: neon service started
[2025-01-10 21:40:02] Production.INFO: ==5999== Releasing lock...
[2025-01-10 21:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 21:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 16:40:02] Production.INFO: ==6001== Lock acquired, processing the job...
[2025-01-10 16:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 21:40:02] Production.INFO: ==6003== Lock acquired, processing the job...
[2025-01-10 21:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 21:40:02] Production.INFO: ==6003== Releasing lock...
[2025-01-10 21:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 21:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 16:40:02] Production.INFO: ==6001== Releasing lock...
[2025-01-10 16:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 16:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 16:40:03] Production.INFO: ==6006== Lock acquired, processing the job...
[2025-01-10 16:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 16:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 16:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 16:40:03] Production.INFO: ==6006== Releasing lock...
[2025-01-10 16:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 16:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 16:40:03] Production.INFO: ==6008== Lock acquired, processing the job...
[2025-01-10 16:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 16:40:03] Production.INFO: ==6012== Lock acquired, processing the job...
[2025-01-10 16:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 16:40:03] Production.INFO: ==6020== Lock acquired, processing the job...
[2025-01-10 16:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 16:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 16:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 16:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 16:40:03] Production.INFO: ==6016== Lock acquired, processing the job...
[2025-01-10 16:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 16:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 16:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 16:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 16:40:04] Production.INFO: ==6010== Lock acquired, processing the job...
[2025-01-10 16:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 16:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:40:04] Production.INFO: ==6014== Lock acquired, processing the job...
[2025-01-10 16:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 16:40:04] Production.INFO: count ==21
[2025-01-10 16:40:04] Production.INFO: ==6018== Lock acquired, processing the job...
[2025-01-10 16:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 16:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:40:04] Production.INFO: count ==21
[2025-01-10 16:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14218200') start
[2025-01-10 16:40:04] Production.INFO: Account Balance Start.
[2025-01-10 16:40:04] Production.INFO: CreateAllLog Start
[2025-01-10 16:40:04] Production.INFO: 117
[2025-01-10 16:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 16:40:04] Production.INFO: Date 2025-01-08
[2025-01-10 16:40:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:40:04] Production.INFO: Date 2025-01-09
[2025-01-10 16:40:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:40:04] Production.ERROR: done
[2025-01-10 16:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 16:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14218200') end
[2025-01-10 16:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 16:40:04] Production.INFO: 1
[2025-01-10 16:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 16:40:04] Production.INFO: ==6020== Releasing lock...
[2025-01-10 16:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 16:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 16:40:04] Production.ERROR: done
[2025-01-10 16:40:04] Production.ERROR: done
[2025-01-10 16:40:04] Production.INFO: Date 2025-01-10
[2025-01-10 16:40:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:40:04] Production.INFO: Total Charge 0
[2025-01-10 16:40:04] Production.INFO: CreateAllLog End
[2025-01-10 16:40:04] Production.INFO: ==6010== Releasing lock...
[2025-01-10 16:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 16:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 16:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 16:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14218204', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 16:40:04] Production.INFO: Account Balance End.
[2025-01-10 16:40:04] Production.ERROR: CronJobId end 12
[2025-01-10 16:40:04] Production.INFO: ==6014== Releasing lock...
[2025-01-10 16:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 16:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 16:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 13:40:05
[end_date_ymd] => 2025-01-10 16:40:05
[RateCDR] => 1
)
[2025-01-10 16:40:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 13:40:05' and `end` < '2025-01-10 16:40:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 16:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14218204', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 16:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 16:40:08] Production.INFO: ProcessCDR(1,14218204,1,1,2)
[2025-01-10 16:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14218204,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14218204,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:40:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 16:40:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 16:40:08] Production.INFO: ==6018== Releasing lock...
[2025-01-10 16:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 16:40:08] Production.INFO: 26 MB #Memory Used#
[2025-01-10 16:40:12] Production.ERROR: CronJobId end10
[2025-01-10 16:40:12] Production.INFO: ==6012== Releasing lock...
[2025-01-10 16:40:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 16:40:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 16:40:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 16:40:14] Production.INFO: ============== Balance Warning START===========
[2025-01-10 16:40:14] Production.INFO: ============== Balance Warning END===========
[2025-01-10 16:40:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 16:40:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 16:40:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 16:40:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 16:40:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 16:40:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 16:40:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 16:40:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 16:40:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 16:40:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 16:40:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 16:40:14] Production.INFO: call_cost start
[2025-01-10 16:40:14] Production.INFO: call_cost end
[2025-01-10 16:40:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 16:40:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 16:40:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 16:40:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 16:40:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 16:40:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 16:40:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 16:40:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 16:40:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 16:40:15] Production.INFO: ==6008== Releasing lock...
[2025-01-10 16:40:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 16:40:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 16:40:28] Production.INFO: count ==4089
[2025-01-10 16:40:29] Production.ERROR: pbx CDR StartTime 2025-01-10 13:40:05 - End Time 2025-01-10 16:40:05
[2025-01-10 16:40:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 16:40:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218203', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:40:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218203', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:40:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218203', 'tblTempVendorCDR_20' ) start
[2025-01-10 16:40:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218203', 'tblTempVendorCDR_20' ) end
[2025-01-10 16:40:30] Production.INFO: ProcessCDR(1,14218203,1,1,2)
[2025-01-10 16:40:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14218203,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:40:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14218203,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:40:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14218203,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:40:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14218203,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:40:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218203', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:40:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218203', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:40:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 16:40:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 16:40:34] Production.INFO: ==6016== Releasing lock...
[2025-01-10 16:40:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 16:40:34] Production.INFO: 58.5 MB #Memory Used#
[2025-01-10 21:41:01] Production.INFO: ==6073== Lock acquired, processing the job...
[2025-01-10 21:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 21:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 21:41:01] Production.INFO: neon service started
[2025-01-10 21:41:01] Production.INFO: neon service started
[2025-01-10 21:41:01] Production.INFO: ==6073== Releasing lock...
[2025-01-10 21:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 21:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 16:41:01] Production.INFO: ==6075== Lock acquired, processing the job...
[2025-01-10 16:41:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 21:41:02] Production.INFO: ==6077== Lock acquired, processing the job...
[2025-01-10 21:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 16:41:02] Production.INFO: ==6075== Releasing lock...
[2025-01-10 16:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 16:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 21:41:02] Production.INFO: ==6077== Releasing lock...
[2025-01-10 21:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 21:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 16:41:02] Production.INFO: ==6080== Lock acquired, processing the job...
[2025-01-10 16:41:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 16:41:02] Production.INFO: ==6084== Lock acquired, processing the job...
[2025-01-10 16:41:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 16:41:02] Production.INFO: ==6090== Lock acquired, processing the job...
[2025-01-10 16:41:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 16:41:02] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 16:41:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 16:41:02] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 16:41:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 16:41:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 16:41:03] Production.INFO: ==6082== Lock acquired, processing the job...
[2025-01-10 16:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 16:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:41:03] Production.INFO: count ==21
[2025-01-10 16:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:41:03] Production.INFO: count ==21
[2025-01-10 16:41:03] Production.INFO: ==6086== Lock acquired, processing the job...
[2025-01-10 16:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 16:41:03] Production.INFO: ==6088== Lock acquired, processing the job...
[2025-01-10 16:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 16:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14218206') start
[2025-01-10 16:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 16:41:03] Production.INFO: Account Balance Start.
[2025-01-10 16:41:03] Production.INFO: CreateAllLog Start
[2025-01-10 16:41:03] Production.INFO: 117
[2025-01-10 16:41:03] Production.INFO: Date 2025-01-08
[2025-01-10 16:41:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14218206') end
[2025-01-10 16:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 16:41:03] Production.INFO: 1
[2025-01-10 16:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 16:41:03] Production.INFO: Date 2025-01-09
[2025-01-10 16:41:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:41:03] Production.INFO: Date 2025-01-10
[2025-01-10 16:41:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:41:03] Production.INFO: Total Charge 0
[2025-01-10 16:41:03] Production.INFO: ==6090== Releasing lock...
[2025-01-10 16:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 16:41:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 16:41:03] Production.INFO: CreateAllLog End
[2025-01-10 16:41:03] Production.INFO: ==6082== Releasing lock...
[2025-01-10 16:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 16:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 16:41:03] Production.ERROR: done
[2025-01-10 16:41:03] Production.INFO: Account Balance End.
[2025-01-10 16:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 16:41:03] Production.ERROR: CronJobId end 12
[2025-01-10 16:41:03] Production.INFO: ==6086== Releasing lock...
[2025-01-10 16:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 16:41:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 16:41:03] Production.ERROR: done
[2025-01-10 16:41:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 13:41:04
[end_date_ymd] => 2025-01-10 16:41:04
[RateCDR] => 1
)
[2025-01-10 16:41:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 13:41:04' and `end` < '2025-01-10 16:41:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 16:41:10] Production.ERROR: CronJobId end10
[2025-01-10 16:41:10] Production.INFO: ==6084== Releasing lock...
[2025-01-10 16:41:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 16:41:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 16:41:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 16:41:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 16:41:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 16:41:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 16:41:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 16:41:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 16:41:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 16:41:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 16:41:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 16:41:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 16:41:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 16:41:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 16:41:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 16:41:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 16:41:12] Production.INFO: call_cost start
[2025-01-10 16:41:12] Production.INFO: call_cost end
[2025-01-10 16:41:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 16:41:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 16:41:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 16:41:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 16:41:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 16:41:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 16:41:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 16:41:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 16:41:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 16:41:13] Production.INFO: ==6080== Releasing lock...
[2025-01-10 16:41:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 16:41:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 16:41:27] Production.INFO: count ==4190
[2025-01-10 16:41:28] Production.ERROR: pbx CDR StartTime 2025-01-10 13:41:04 - End Time 2025-01-10 16:41:04
[2025-01-10 16:41:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 16:41:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218209', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:41:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218209', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:41:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218209', 'tblTempVendorCDR_20' ) start
[2025-01-10 16:41:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218209', 'tblTempVendorCDR_20' ) end
[2025-01-10 16:41:28] Production.INFO: ProcessCDR(1,14218209,1,1,2)
[2025-01-10 16:41:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14218209,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:41:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14218209,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:41:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14218209,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:41:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14218209,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:41:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218209', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:41:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218209', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:41:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 16:41:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 16:41:33] Production.INFO: ==6088== Releasing lock...
[2025-01-10 16:41:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 16:41:33] Production.INFO: 59.5 MB #Memory Used#
[2025-01-10 21:42:01] Production.INFO: ==6149== Lock acquired, processing the job...
[2025-01-10 21:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 21:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 21:42:01] Production.INFO: neon service started
[2025-01-10 21:42:01] Production.INFO: neon service started
[2025-01-10 21:42:01] Production.INFO: ==6149== Releasing lock...
[2025-01-10 21:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 21:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 16:42:02] Production.INFO: ==6152== Lock acquired, processing the job...
[2025-01-10 16:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 16:42:02] Production.INFO: ==6152== Releasing lock...
[2025-01-10 16:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 16:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 21:42:02] Production.INFO: ==6154== Lock acquired, processing the job...
[2025-01-10 21:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 21:42:02] Production.INFO: ==6154== Releasing lock...
[2025-01-10 21:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 21:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 16:42:03] Production.INFO: ==6157== Lock acquired, processing the job...
[2025-01-10 16:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 16:42:03] Production.INFO: ==6159== Lock acquired, processing the job...
[2025-01-10 16:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 16:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 16:42:03] Production.INFO: ==6161== Lock acquired, processing the job...
[2025-01-10 16:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 16:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 16:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 16:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 16:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 16:42:03] Production.INFO: ==6165== Lock acquired, processing the job...
[2025-01-10 16:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 16:42:03] Production.INFO: ==6167== Lock acquired, processing the job...
[2025-01-10 16:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 16:42:03] Production.INFO: ==6159== Releasing lock...
[2025-01-10 16:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 16:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 16:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 16:42:03] Production.INFO: ==6163== Lock acquired, processing the job...
[2025-01-10 16:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 16:42:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:42:03] Production.INFO: count ==21
[2025-01-10 16:42:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:42:03] Production.INFO: count ==21
[2025-01-10 16:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14218212') start
[2025-01-10 16:42:03] Production.INFO: Account Balance Start.
[2025-01-10 16:42:03] Production.INFO: CreateAllLog Start
[2025-01-10 16:42:03] Production.INFO: 117
[2025-01-10 16:42:03] Production.ERROR: done
[2025-01-10 16:42:03] Production.INFO: Date 2025-01-08
[2025-01-10 16:42:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:42:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 16:42:03] Production.INFO: Date 2025-01-09
[2025-01-10 16:42:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:42:03] Production.INFO: Date 2025-01-10
[2025-01-10 16:42:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14218212') end
[2025-01-10 16:42:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 16:42:03] Production.INFO: 1
[2025-01-10 16:42:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 16:42:04] Production.INFO: ==6167== Releasing lock...
[2025-01-10 16:42:04] Production.INFO: Total Charge 0
[2025-01-10 16:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 16:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 16:42:04] Production.INFO: CreateAllLog End
[2025-01-10 16:42:04] Production.ERROR: done
[2025-01-10 16:42:04] Production.INFO: Account Balance End.
[2025-01-10 16:42:04] Production.ERROR: CronJobId end 12
[2025-01-10 16:42:04] Production.INFO: ==6163== Releasing lock...
[2025-01-10 16:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 16:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 16:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 13:42:05
[end_date_ymd] => 2025-01-10 16:42:05
[RateCDR] => 1
)
[2025-01-10 16:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 13:42:05' and `end` < '2025-01-10 16:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 16:42:09] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#11 [internal function]: App\Console\Commands\NeonAlerts->fire()
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,7))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#2 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#6 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#7 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#8 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#9 [internal function]: App\Console\Commands\NeonAlerts->fire()
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 {main}
[2025-01-10 16:42:09] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 16:42:09] Production.INFO: ============== Balance Warning START===========
[2025-01-10 16:42:09] Production.INFO: ============== Balance Warning END===========
[2025-01-10 16:42:09] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 16:42:09] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 16:42:09] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 16:42:09] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 16:42:09] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 16:42:09] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 16:42:09] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 16:42:09] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 16:42:09] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 16:42:09] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 16:42:09] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 16:42:10] Production.INFO: call_cost start
[2025-01-10 16:42:10] Production.INFO: call_cost end
[2025-01-10 16:42:10] Production.ERROR: CronJobId end10
[2025-01-10 16:42:10] Production.INFO: ==6161== Releasing lock...
[2025-01-10 16:42:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 16:42:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 16:42:11] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 16:42:11] Production.INFO: ============== Report Schedule START===========
[2025-01-10 16:42:11] Production.INFO: ============== Report Schedule END===========
[2025-01-10 16:42:11] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 16:42:11] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 16:42:11] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 16:42:11] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 16:42:11] Production.INFO: ============== Deal alert START===========
[2025-01-10 16:42:11] Production.INFO: ============== Deal alert END===========
[2025-01-10 16:42:11] Production.INFO: ==6157== Releasing lock...
[2025-01-10 16:42:11] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 16:42:11] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 16:42:24] Production.INFO: count ==4174
[2025-01-10 16:42:25] Production.ERROR: pbx CDR StartTime 2025-01-10 13:42:05 - End Time 2025-01-10 16:42:05
[2025-01-10 16:42:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 16:42:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218214', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:42:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218214', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:42:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218214', 'tblTempVendorCDR_20' ) start
[2025-01-10 16:42:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218214', 'tblTempVendorCDR_20' ) end
[2025-01-10 16:42:25] Production.INFO: ProcessCDR(1,14218214,1,1,2)
[2025-01-10 16:42:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14218214,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:42:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14218214,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:42:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14218214,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:42:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14218214,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:42:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218214', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:42:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218214', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:42:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 16:42:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 16:42:30] Production.INFO: ==6165== Releasing lock...
[2025-01-10 16:42:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 16:42:30] Production.INFO: 59.25 MB #Memory Used#
[2025-01-10 21:43:02] Production.INFO: ==6227== Lock acquired, processing the job...
[2025-01-10 21:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 21:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 21:43:02] Production.INFO: neon service started
[2025-01-10 21:43:02] Production.INFO: neon service started
[2025-01-10 21:43:02] Production.INFO: ==6227== Releasing lock...
[2025-01-10 21:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 21:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 16:43:02] Production.INFO: ==6231== Lock acquired, processing the job...
[2025-01-10 16:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 16:43:02] Production.INFO: ==6231== Releasing lock...
[2025-01-10 16:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 16:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 21:43:03] Production.INFO: ==6233== Lock acquired, processing the job...
[2025-01-10 21:43:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 21:43:03] Production.INFO: ==6233== Releasing lock...
[2025-01-10 21:43:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 21:43:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 16:43:03] Production.INFO: ==6235== Lock acquired, processing the job...
[2025-01-10 16:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 16:43:03] Production.INFO: ==6239== Lock acquired, processing the job...
[2025-01-10 16:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 16:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 16:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 16:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 16:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 16:43:03] Production.INFO: ==6244== Lock acquired, processing the job...
[2025-01-10 16:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 16:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 16:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 16:43:03] Production.INFO: ==6242== Lock acquired, processing the job...
[2025-01-10 16:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 16:43:03] Production.INFO: Account Balance Start.
[2025-01-10 16:43:03] Production.INFO: CreateAllLog Start
[2025-01-10 16:43:03] Production.INFO: 117
[2025-01-10 16:43:03] Production.INFO: Date 2025-01-08
[2025-01-10 16:43:03] Production.INFO: ==6237== Lock acquired, processing the job...
[2025-01-10 16:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 16:43:04] Production.INFO: ==6246== Lock acquired, processing the job...
[2025-01-10 16:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 16:43:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:43:04] Production.INFO: Date 2025-01-09
[2025-01-10 16:43:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:43:04] Production.INFO: Date 2025-01-10
[2025-01-10 16:43:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:43:04] Production.ERROR: done
[2025-01-10 16:43:04] Production.INFO: Total Charge 0
[2025-01-10 16:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 16:43:04] Production.INFO: CreateAllLog End
[2025-01-10 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-01-10 16:43:04] Production.INFO: count ==21
[2025-01-10 16:43:04] Production.ERROR: done
[2025-01-10 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-01-10 16:43:04] Production.INFO: count ==21
[2025-01-10 16:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14218218') start
[2025-01-10 16:43:04] Production.INFO: Account Balance End.
[2025-01-10 16:43:04] Production.INFO: ==6237== Releasing lock...
[2025-01-10 16:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 16:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 16:43:04] Production.ERROR: CronJobId end 12
[2025-01-10 16:43:04] Production.INFO: ==6242== Releasing lock...
[2025-01-10 16:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 16:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 16:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14218218') end
[2025-01-10 16:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 16:43:04] Production.INFO: 1
[2025-01-10 16:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 16:43:04] Production.INFO: ==6246== Releasing lock...
[2025-01-10 16:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 16:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 16:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 13:43:05
[end_date_ymd] => 2025-01-10 16:43:05
[RateCDR] => 1
)
[2025-01-10 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-01-10 13:43:05' and `end` < '2025-01-10 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-01-10 16:43:12] Production.ERROR: CronJobId end10
[2025-01-10 16:43:12] Production.INFO: ==6239== Releasing lock...
[2025-01-10 16:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 16:43:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 16:43:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 16:43:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 16:43:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 16:43:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 16:43:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 16:43:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 16:43:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 16:43:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 16:43:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 16:43:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 16:43:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 16:43:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 16:43:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 16:43:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 16:43:13] Production.INFO: call_cost start
[2025-01-10 16:43:13] Production.INFO: call_cost end
[2025-01-10 16:43:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 16:43:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 16:43:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 16:43:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 16:43:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 16:43:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 16:43:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 16:43:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 16:43:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 16:43:14] Production.INFO: ==6235== Releasing lock...
[2025-01-10 16:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 16:43:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 16:43:30] Production.INFO: count ==4182
[2025-01-10 16:43:32] Production.ERROR: pbx CDR StartTime 2025-01-10 13:43:05 - End Time 2025-01-10 16:43:05
[2025-01-10 16:43:32] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 16:43:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218219', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:43:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218219', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:43:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218219', 'tblTempVendorCDR_20' ) start
[2025-01-10 16:43:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218219', 'tblTempVendorCDR_20' ) end
[2025-01-10 16:43:32] Production.INFO: ProcessCDR(1,14218219,1,1,2)
[2025-01-10 16:43:32] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14218219,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:43:35] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14218219,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:43:35] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14218219,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:43:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14218219,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:43:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218219', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:43:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218219', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:43:37] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 16:43:37] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 16:43:37] Production.INFO: ==6244== Releasing lock...
[2025-01-10 16:43:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 16:43:37] Production.INFO: 59.25 MB #Memory Used#
[2025-01-10 21:44:01] Production.INFO: ==6321== Lock acquired, processing the job...
[2025-01-10 21:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 21:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 21:44:01] Production.INFO: neon service started
[2025-01-10 21:44:01] Production.INFO: neon service started
[2025-01-10 21:44:01] Production.INFO: ==6321== Releasing lock...
[2025-01-10 21:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 21:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 16:44:02] Production.INFO: ==6324== Lock acquired, processing the job...
[2025-01-10 16:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 16:44:02] Production.INFO: ==6324== Releasing lock...
[2025-01-10 16:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 16:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 21:44:02] Production.INFO: ==6326== Lock acquired, processing the job...
[2025-01-10 21:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 21:44:02] Production.INFO: ==6326== Releasing lock...
[2025-01-10 21:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 21:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 16:44:03] Production.INFO: ==6336== Lock acquired, processing the job...
[2025-01-10 16:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 16:44:03] Production.INFO: ==6332== Lock acquired, processing the job...
[2025-01-10 16:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 16:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 16:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 16:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 16:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 16:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 16:44:03] Production.INFO: ==6328== Lock acquired, processing the job...
[2025-01-10 16:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 16:44:03] Production.INFO: ==6330== Lock acquired, processing the job...
[2025-01-10 16:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 16:44:03] Production.INFO: ==6334== Lock acquired, processing the job...
[2025-01-10 16:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 16:44:03] Production.INFO: ==6338== Lock acquired, processing the job...
[2025-01-10 16:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 16:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 16:44:03] Production.INFO: Account Balance Start.
[2025-01-10 16:44:03] Production.INFO: CreateAllLog Start
[2025-01-10 16:44:03] Production.INFO: 117
[2025-01-10 16:44:03] Production.INFO: Date 2025-01-08
[2025-01-10 16:44:04] Production.ERROR: done
[2025-01-10 16:44:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 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-01-10 16:44:04] Production.INFO: count ==21
[2025-01-10 16:44:04] Production.INFO: Date 2025-01-09
[2025-01-10 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-01-10 16:44:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:44:04] Production.INFO: count ==21
[2025-01-10 16:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14218223') start
[2025-01-10 16:44:04] Production.INFO: Date 2025-01-10
[2025-01-10 16:44:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:44:04] Production.ERROR: done
[2025-01-10 16:44:04] Production.INFO: Total Charge 0
[2025-01-10 16:44:04] Production.INFO: CreateAllLog End
[2025-01-10 16:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14218223') end
[2025-01-10 16:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 16:44:04] Production.INFO: 1
[2025-01-10 16:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 16:44:04] Production.INFO: ==6330== Releasing lock...
[2025-01-10 16:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 16:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 16:44:04] Production.INFO: ==6338== Releasing lock...
[2025-01-10 16:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 16:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 16:44:04] Production.INFO: Account Balance End.
[2025-01-10 16:44:04] Production.ERROR: CronJobId end 12
[2025-01-10 16:44:04] Production.INFO: ==6334== Releasing lock...
[2025-01-10 16:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 16:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 16:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 13:44:05
[end_date_ymd] => 2025-01-10 16:44:05
[RateCDR] => 1
)
[2025-01-10 16:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 13:44:05' and `end` < '2025-01-10 16:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 16:44:11] Production.ERROR: CronJobId end10
[2025-01-10 16:44:11] Production.INFO: ==6332== Releasing lock...
[2025-01-10 16:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 16:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 16:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 16:44:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 16:44:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 16:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 16:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 16:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 16:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 16:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 16:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 16:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 16:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 16:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 16:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 16:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 16:44:14] Production.INFO: call_cost start
[2025-01-10 16:44:14] Production.INFO: call_cost end
[2025-01-10 16:44:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 16:44:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 16:44:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 16:44:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 16:44:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 16:44:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 16:44:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 16:44:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 16:44:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 16:44:15] Production.INFO: ==6328== Releasing lock...
[2025-01-10 16:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 16:44:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 16:44:29] Production.INFO: count ==4171
[2025-01-10 16:44:30] Production.ERROR: pbx CDR StartTime 2025-01-10 13:44:05 - End Time 2025-01-10 16:44:05
[2025-01-10 16:44:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 16:44:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218224', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:44:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218224', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:44:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218224', 'tblTempVendorCDR_20' ) start
[2025-01-10 16:44:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218224', 'tblTempVendorCDR_20' ) end
[2025-01-10 16:44:31] Production.INFO: ProcessCDR(1,14218224,1,1,2)
[2025-01-10 16:44:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14218224,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:44:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14218224,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:44:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14218224,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:44:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14218224,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:44:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218224', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:44:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218224', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:44:35] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 16:44:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 16:44:35] Production.INFO: ==6336== Releasing lock...
[2025-01-10 16:44:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 16:44:35] Production.INFO: 59.25 MB #Memory Used#
[2025-01-10 21:45:02] Production.INFO: ==6411== Lock acquired, processing the job...
[2025-01-10 21:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 21:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 21:45:02] Production.INFO: neon service started
[2025-01-10 21:45:02] Production.INFO: neon service started
[2025-01-10 21:45:02] Production.INFO: ==6411== Releasing lock...
[2025-01-10 21:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 21:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 21:45:02] Production.INFO: ==6415== Lock acquired, processing the job...
[2025-01-10 21:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 21:45:02] Production.INFO: ==6415== Releasing lock...
[2025-01-10 21:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 21:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 16:45:03] Production.INFO: ==6413== Lock acquired, processing the job...
[2025-01-10 16:45:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 16:45:03] Production.INFO: ==6413== Releasing lock...
[2025-01-10 16:45:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 16:45:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 16:45:04] Production.INFO: ==6420== Lock acquired, processing the job...
[2025-01-10 16:45:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 16:45:04] Production.INFO: ==6422== Lock acquired, processing the job...
[2025-01-10 16:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 16:45:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 16:45:04] Production.INFO: ==6428== Lock acquired, processing the job...
[2025-01-10 16:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 16:45:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 16:45:04] Production.INFO: ==6422== Releasing lock...
[2025-01-10 16:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 16:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 16:45:04] Production.INFO: ==6424== Lock acquired, processing the job...
[2025-01-10 16:45:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 16:45:04] Production.INFO: ==6426== Lock acquired, processing the job...
[2025-01-10 16:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 16:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 16:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 16:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 16:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 16:45:04] Production.INFO: ==6430== Lock acquired, processing the job...
[2025-01-10 16:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 16:45:04] Production.INFO: Account Balance Start.
[2025-01-10 16:45:04] Production.INFO: CreateAllLog Start
[2025-01-10 16:45:04] Production.INFO: 117
[2025-01-10 16:45:04] Production.ERROR: done
[2025-01-10 16:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 16:45:04] Production.INFO: Date 2025-01-08
[2025-01-10 16:45:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:45:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:45:04] Production.INFO: Date 2025-01-09
[2025-01-10 16:45:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:45:04] Production.INFO: Date 2025-01-10
[2025-01-10 16:45:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:45:04] Production.INFO: Total Charge 0
[2025-01-10 16:45:04] Production.INFO: CreateAllLog End
[2025-01-10 16:45:04] Production.INFO: count ==21
[2025-01-10 16:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:45:04] Production.INFO: count ==21
[2025-01-10 16:45:04] Production.ERROR: done
[2025-01-10 16:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14218228') start
[2025-01-10 16:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14218228') end
[2025-01-10 16:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 16:45:04] Production.INFO: 1
[2025-01-10 16:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 16:45:04] Production.INFO: Account Balance End.
[2025-01-10 16:45:04] Production.INFO: ==6430== Releasing lock...
[2025-01-10 16:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 16:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 16:45:05] Production.ERROR: CronJobId end 12
[2025-01-10 16:45:05] Production.INFO: ==6426== Releasing lock...
[2025-01-10 16:45:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 16:45:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 16:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 13:45:05
[end_date_ymd] => 2025-01-10 16:45:05
[RateCDR] => 1
)
[2025-01-10 16:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 13:45:05' and `end` < '2025-01-10 16:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 16:45:12] Production.ERROR: CronJobId end10
[2025-01-10 16:45:12] Production.INFO: ==6424== Releasing lock...
[2025-01-10 16:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 16:45:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 16:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 16:45:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 16:45:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 16:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 16:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 16:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 16:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 16:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 16:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 16:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 16:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 16:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 16:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 16:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 16:45:13] Production.INFO: call_cost start
[2025-01-10 16:45:13] Production.INFO: call_cost end
[2025-01-10 16:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 16:45:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 16:45:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 16:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 16:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 16:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 16:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 16:45:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 16:45:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 16:45:14] Production.INFO: ==6420== Releasing lock...
[2025-01-10 16:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 16:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 16:45:25] Production.INFO: count ==4146
[2025-01-10 16:45:27] Production.ERROR: pbx CDR StartTime 2025-01-10 13:45:05 - End Time 2025-01-10 16:45:05
[2025-01-10 16:45:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 16:45:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218229', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:45:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218229', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:45:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218229', 'tblTempVendorCDR_20' ) start
[2025-01-10 16:45:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218229', 'tblTempVendorCDR_20' ) end
[2025-01-10 16:45:27] Production.INFO: ProcessCDR(1,14218229,1,1,2)
[2025-01-10 16:45:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14218229,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:45:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14218229,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:45:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14218229,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:45:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14218229,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:45:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218229', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:45:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218229', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:45:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 16:45:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 16:45:30] Production.INFO: ==6428== Releasing lock...
[2025-01-10 16:45:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 16:45:30] Production.INFO: 59 MB #Memory Used#
[2025-01-10 21:46:01] Production.INFO: ==6494== Lock acquired, processing the job...
[2025-01-10 21:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 21:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 21:46:01] Production.INFO: neon service started
[2025-01-10 21:46:01] Production.INFO: neon service started
[2025-01-10 21:46:01] Production.INFO: ==6494== Releasing lock...
[2025-01-10 21:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 21:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 16:46:02] Production.INFO: ==6496== Lock acquired, processing the job...
[2025-01-10 16:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 21:46:02] Production.INFO: ==6498== Lock acquired, processing the job...
[2025-01-10 21:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 21:46:02] Production.INFO: ==6498== Releasing lock...
[2025-01-10 21:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 21:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 16:46:02] Production.INFO: ==6496== Releasing lock...
[2025-01-10 16:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 16:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 16:46:03] Production.INFO: ==6501== Lock acquired, processing the job...
[2025-01-10 16:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 16:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 16:46:03] Production.INFO: ==6507== Lock acquired, processing the job...
[2025-01-10 16:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 16:46:03] Production.INFO: ==6509== Lock acquired, processing the job...
[2025-01-10 16:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 16:46:03] Production.INFO: Account Balance Start.
[2025-01-10 16:46:03] Production.INFO: CreateAllLog Start
[2025-01-10 16:46:03] Production.INFO: 117
[2025-01-10 16:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 16:46:03] Production.INFO: Date 2025-01-08
[2025-01-10 16:46:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:46:03] Production.INFO: ==6503== Lock acquired, processing the job...
[2025-01-10 16:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 16:46:03] Production.INFO: Date 2025-01-09
[2025-01-10 16:46:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:46:03] Production.INFO: Date 2025-01-10
[2025-01-10 16:46:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:46:03] Production.INFO: ==6505== Lock acquired, processing the job...
[2025-01-10 16:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 16:46:03] Production.INFO: ==6511== Lock acquired, processing the job...
[2025-01-10 16:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 16:46:03] Production.INFO: Total Charge 0
[2025-01-10 16:46:03] Production.INFO: CreateAllLog End
[2025-01-10 16:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 16:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 16:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 16:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 16:46:03] Production.ERROR: done
[2025-01-10 16:46:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 16:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:46:04] Production.INFO: count ==21
[2025-01-10 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-01-10 16:46:04] Production.INFO: count ==21
[2025-01-10 16:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14218233') start
[2025-01-10 16:46:04] Production.ERROR: done
[2025-01-10 16:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14218233') end
[2025-01-10 16:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 16:46:04] Production.INFO: 1
[2025-01-10 16:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 16:46:04] Production.INFO: ==6503== Releasing lock...
[2025-01-10 16:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 16:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 16:46:04] Production.INFO: Account Balance End.
[2025-01-10 16:46:04] Production.INFO: ==6511== Releasing lock...
[2025-01-10 16:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 16:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 16:46:04] Production.ERROR: CronJobId end 12
[2025-01-10 16:46:04] Production.INFO: ==6507== Releasing lock...
[2025-01-10 16:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 16:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 16:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 13:46:05
[end_date_ymd] => 2025-01-10 16:46:05
[RateCDR] => 1
)
[2025-01-10 16:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 13:46:05' and `end` < '2025-01-10 16:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 16:46:11] Production.ERROR: CronJobId end10
[2025-01-10 16:46:11] Production.INFO: ==6505== Releasing lock...
[2025-01-10 16:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 16:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 16:46:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 16:46:12] Production.INFO: ============== Balance Warning START===========
[2025-01-10 16:46:12] Production.INFO: ============== Balance Warning END===========
[2025-01-10 16:46:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 16:46:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 16:46:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 16:46:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 16:46:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 16:46:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 16:46:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 16:46:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 16:46:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 16:46:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 16:46:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 16:46:13] Production.INFO: call_cost start
[2025-01-10 16:46:13] Production.INFO: call_cost end
[2025-01-10 16:46:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 16:46:13] Production.INFO: ============== Report Schedule START===========
[2025-01-10 16:46:13] Production.INFO: ============== Report Schedule END===========
[2025-01-10 16:46:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 16:46:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 16:46:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 16:46:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 16:46:13] Production.INFO: ============== Deal alert START===========
[2025-01-10 16:46:13] Production.INFO: ============== Deal alert END===========
[2025-01-10 16:46:13] Production.INFO: ==6501== Releasing lock...
[2025-01-10 16:46:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 16:46:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 16:46:19] Production.INFO: count ==4139
[2025-01-10 16:46:21] Production.ERROR: pbx CDR StartTime 2025-01-10 13:46:05 - End Time 2025-01-10 16:46:05
[2025-01-10 16:46:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 16:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218234', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218234', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218234', 'tblTempVendorCDR_20' ) start
[2025-01-10 16:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218234', 'tblTempVendorCDR_20' ) end
[2025-01-10 16:46:21] Production.INFO: ProcessCDR(1,14218234,1,1,2)
[2025-01-10 16:46:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14218234,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:46:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14218234,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:46:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14218234,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:46:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14218234,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:46:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218234', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:46:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218234', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:46:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 16:46:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 16:46:25] Production.INFO: ==6509== Releasing lock...
[2025-01-10 16:46:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 16:46:25] Production.INFO: 59 MB #Memory Used#
[2025-01-10 21:47:01] Production.INFO: ==6581== Lock acquired, processing the job...
[2025-01-10 21:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 21:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 21:47:01] Production.INFO: neon service started
[2025-01-10 21:47:01] Production.INFO: neon service started
[2025-01-10 21:47:01] Production.INFO: ==6581== Releasing lock...
[2025-01-10 21:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 21:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 16:47:01] Production.INFO: ==6583== Lock acquired, processing the job...
[2025-01-10 16:47:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 16:47:01] Production.INFO: ==6583== Releasing lock...
[2025-01-10 16:47:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 16:47:01] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 21:47:02] Production.INFO: ==6585== Lock acquired, processing the job...
[2025-01-10 21:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 21:47:02] Production.INFO: ==6585== Releasing lock...
[2025-01-10 21:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 21:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 16:47:02] Production.INFO: ==6591== Lock acquired, processing the job...
[2025-01-10 16:47:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 16:47:02] Production.INFO: ==6597== Lock acquired, processing the job...
[2025-01-10 16:47:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 16:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 16:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 16:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 16:47:03] Production.INFO: ==6587== Lock acquired, processing the job...
[2025-01-10 16:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 16:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 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-01-10 16:47:03] Production.INFO: ==6589== Lock acquired, processing the job...
[2025-01-10 16:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 16:47:03] Production.INFO: count ==21
[2025-01-10 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-01-10 16:47:03] Production.INFO: count ==21
[2025-01-10 16:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14218235') start
[2025-01-10 16:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 16:47:03] Production.INFO: ==6593== Lock acquired, processing the job...
[2025-01-10 16:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 16:47:03] Production.INFO: ==6595== Lock acquired, processing the job...
[2025-01-10 16:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 16:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14218235') end
[2025-01-10 16:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 16:47:03] Production.INFO: 1
[2025-01-10 16:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 16:47:03] Production.INFO: ==6597== Releasing lock...
[2025-01-10 16:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 16:47:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 16:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 16:47:03] Production.INFO: Account Balance Start.
[2025-01-10 16:47:03] Production.INFO: CreateAllLog Start
[2025-01-10 16:47:03] Production.INFO: 117
[2025-01-10 16:47:03] Production.INFO: Date 2025-01-08
[2025-01-10 16:47:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:47:03] Production.INFO: Date 2025-01-09
[2025-01-10 16:47:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:47:03] Production.INFO: ==6589== Releasing lock...
[2025-01-10 16:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 16:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 16:47:03] Production.INFO: Date 2025-01-10
[2025-01-10 16:47:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:47:03] Production.INFO: Total Charge 0
[2025-01-10 16:47:03] Production.INFO: CreateAllLog End
[2025-01-10 16:47:03] Production.ERROR: done
[2025-01-10 16:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 16:47:03] Production.ERROR: done
[2025-01-10 16:47:03] Production.INFO: Account Balance End.
[2025-01-10 16:47:03] Production.ERROR: CronJobId end 12
[2025-01-10 16:47:03] Production.INFO: ==6593== Releasing lock...
[2025-01-10 16:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 16:47:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 16:47:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 13:47:04
[end_date_ymd] => 2025-01-10 16:47:04
[RateCDR] => 1
)
[2025-01-10 16:47:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 13:47:04' and `end` < '2025-01-10 16:47:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 16:47:11] Production.ERROR: CronJobId end10
[2025-01-10 16:47:11] Production.INFO: ==6591== Releasing lock...
[2025-01-10 16:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 16:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 16:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 16:47:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 16:47:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 16:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 16:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 16:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 16:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 16:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 16:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 16:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 16:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 16:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 16:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 16:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 16:47:13] Production.INFO: call_cost start
[2025-01-10 16:47:13] Production.INFO: call_cost end
[2025-01-10 16:47:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 16:47:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 16:47:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 16:47:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 16:47:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 16:47:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 16:47:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 16:47:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 16:47:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 16:47:14] Production.INFO: ==6587== Releasing lock...
[2025-01-10 16:47:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 16:47:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 16:47:19] Production.INFO: count ==4146
[2025-01-10 16:47:21] Production.ERROR: pbx CDR StartTime 2025-01-10 13:47:04 - End Time 2025-01-10 16:47:04
[2025-01-10 16:47:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 16:47:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218239', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:47:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218239', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:47:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218239', 'tblTempVendorCDR_20' ) start
[2025-01-10 16:47:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218239', 'tblTempVendorCDR_20' ) end
[2025-01-10 16:47:21] Production.INFO: ProcessCDR(1,14218239,1,1,2)
[2025-01-10 16:47:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14218239,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:47:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14218239,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:47:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14218239,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:47:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14218239,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:47:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218239', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:47:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218239', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:47:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 16:47:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 16:47:26] Production.INFO: ==6595== Releasing lock...
[2025-01-10 16:47:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 16:47:26] Production.INFO: 59 MB #Memory Used#
[2025-01-10 21:48:01] Production.INFO: ==6668== Lock acquired, processing the job...
[2025-01-10 21:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 21:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 21:48:01] Production.INFO: neon service started
[2025-01-10 21:48:01] Production.INFO: neon service started
[2025-01-10 21:48:01] Production.INFO: ==6668== Releasing lock...
[2025-01-10 21:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 21:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 21:48:02] Production.INFO: ==6672== Lock acquired, processing the job...
[2025-01-10 21:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 21:48:02] Production.INFO: ==6672== Releasing lock...
[2025-01-10 21:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 21:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 16:48:02] Production.INFO: ==6670== Lock acquired, processing the job...
[2025-01-10 16:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 16:48:02] Production.INFO: ==6670== Releasing lock...
[2025-01-10 16:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 16:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 16:48:03] Production.INFO: ==6679== Lock acquired, processing the job...
[2025-01-10 16:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 16:48:03] Production.INFO: ==6677== Lock acquired, processing the job...
[2025-01-10 16:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 16:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 16:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 16:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 16:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 16:48:03] Production.INFO: ==6675== Lock acquired, processing the job...
[2025-01-10 16:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 16:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 16:48:03] Production.INFO: ==6681== Lock acquired, processing the job...
[2025-01-10 16:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 16:48:03] Production.INFO: ==6683== Lock acquired, processing the job...
[2025-01-10 16:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 16:48:03] Production.INFO: ==6677== Releasing lock...
[2025-01-10 16:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 16:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 16:48:03] Production.INFO: Account Balance Start.
[2025-01-10 16:48:03] Production.INFO: CreateAllLog Start
[2025-01-10 16:48:03] Production.INFO: 117
[2025-01-10 16:48:03] Production.INFO: Date 2025-01-08
[2025-01-10 16:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 16:48:03] Production.INFO: ==6685== Lock acquired, processing the job...
[2025-01-10 16:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 16:48:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:48:03] Production.INFO: Date 2025-01-09
[2025-01-10 16:48:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:48:03] Production.INFO: Date 2025-01-10
[2025-01-10 16:48:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:48:03] Production.INFO: Total Charge 0
[2025-01-10 16:48:03] Production.INFO: CreateAllLog End
[2025-01-10 16:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:48:04] Production.INFO: Account Balance End.
[2025-01-10 16:48:04] Production.INFO: count ==21
[2025-01-10 16:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:48:04] Production.ERROR: CronJobId end 12
[2025-01-10 16:48:04] Production.INFO: ==6681== Releasing lock...
[2025-01-10 16:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 16:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 16:48:04] Production.INFO: count ==21
[2025-01-10 16:48:04] Production.ERROR: done
[2025-01-10 16:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14218243') start
[2025-01-10 16:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 16:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14218243') end
[2025-01-10 16:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 16:48:04] Production.INFO: 1
[2025-01-10 16:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 16:48:04] Production.ERROR: done
[2025-01-10 16:48:04] Production.INFO: ==6685== Releasing lock...
[2025-01-10 16:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 16:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 16:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 13:48:05
[end_date_ymd] => 2025-01-10 16:48:05
[RateCDR] => 1
)
[2025-01-10 16:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 13:48:05' and `end` < '2025-01-10 16:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 16:48:11] Production.ERROR: CronJobId end10
[2025-01-10 16:48:11] Production.INFO: ==6679== Releasing lock...
[2025-01-10 16:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 16:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 16:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 16:48:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 16:48:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 16:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 16:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 16:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 16:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 16:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 16:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 16:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 16:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 16:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 16:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 16:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 16:48:14] Production.INFO: call_cost start
[2025-01-10 16:48:14] Production.INFO: call_cost end
[2025-01-10 16:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 16:48:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 16:48:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 16:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 16:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 16:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 16:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 16:48:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 16:48:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 16:48:14] Production.INFO: ==6675== Releasing lock...
[2025-01-10 16:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 16:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 16:48:24] Production.INFO: count ==4143
[2025-01-10 16:48:26] Production.ERROR: pbx CDR StartTime 2025-01-10 13:48:05 - End Time 2025-01-10 16:48:05
[2025-01-10 16:48:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 16:48:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218244', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:48:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218244', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:48:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218244', 'tblTempVendorCDR_20' ) start
[2025-01-10 16:48:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218244', 'tblTempVendorCDR_20' ) end
[2025-01-10 16:48:26] Production.INFO: ProcessCDR(1,14218244,1,1,2)
[2025-01-10 16:48:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14218244,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:48:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14218244,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:48:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14218244,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:48:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14218244,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:48:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218244', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:48:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218244', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:48:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 16:48:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 16:48:30] Production.INFO: ==6683== Releasing lock...
[2025-01-10 16:48:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 16:48:30] Production.INFO: 59 MB #Memory Used#
[2025-01-10 21:49:02] Production.INFO: ==6752== Lock acquired, processing the job...
[2025-01-10 21:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 21:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 21:49:02] Production.INFO: neon service started
[2025-01-10 21:49:02] Production.INFO: neon service started
[2025-01-10 21:49:02] Production.INFO: ==6752== Releasing lock...
[2025-01-10 21:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 21:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 16:49:02] Production.INFO: ==6756== Lock acquired, processing the job...
[2025-01-10 16:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 16:49:02] Production.INFO: ==6756== Releasing lock...
[2025-01-10 16:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 16:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 21:49:02] Production.INFO: ==6758== Lock acquired, processing the job...
[2025-01-10 21:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 21:49:03] Production.INFO: ==6758== Releasing lock...
[2025-01-10 21:49:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 21:49:03] Production.INFO: 25 MB #Memory Used#
[2025-01-10 16:49:03] Production.INFO: ==6766== Lock acquired, processing the job...
[2025-01-10 16:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 16:49:03] Production.INFO: ==6770== Lock acquired, processing the job...
[2025-01-10 16:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 16:49:03] Production.INFO: Account Balance Start.
[2025-01-10 16:49:03] Production.INFO: CreateAllLog Start
[2025-01-10 16:49:03] Production.INFO: 117
[2025-01-10 16:49:03] Production.INFO: Date 2025-01-08
[2025-01-10 16:49:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:49:03] Production.INFO: ==6760== Lock acquired, processing the job...
[2025-01-10 16:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 16:49:04] Production.INFO: Date 2025-01-09
[2025-01-10 16:49:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:49:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:49:04] Production.INFO: ==6762== Lock acquired, processing the job...
[2025-01-10 16:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 16:49:04] Production.INFO: ==6764== Lock acquired, processing the job...
[2025-01-10 16:49:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 16:49:04] Production.INFO: Date 2025-01-10
[2025-01-10 16:49:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:49:04] Production.INFO: count ==21
[2025-01-10 16:49:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 16:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:49:04] Production.INFO: count ==21
[2025-01-10 16:49:04] Production.INFO: Total Charge 0
[2025-01-10 16:49:04] Production.INFO: ==6768== Lock acquired, processing the job...
[2025-01-10 16:49:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 16:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 16:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 16:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 16:49:04] Production.INFO: CreateAllLog End
[2025-01-10 16:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14218246') start
[2025-01-10 16:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 16:49:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 16:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14218246') end
[2025-01-10 16:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 16:49:04] Production.INFO: 1
[2025-01-10 16:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 16:49:04] Production.INFO: Account Balance End.
[2025-01-10 16:49:04] Production.ERROR: CronJobId end 12
[2025-01-10 16:49:04] Production.INFO: ==6766== Releasing lock...
[2025-01-10 16:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 16:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 16:49:04] Production.INFO: ==6770== Releasing lock...
[2025-01-10 16:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 16:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 16:49:04] Production.INFO: ==6762== Releasing lock...
[2025-01-10 16:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 16:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 16:49:04] Production.ERROR: done
[2025-01-10 16:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 16:49:04] Production.ERROR: done
[2025-01-10 16:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 13:49:05
[end_date_ymd] => 2025-01-10 16:49:05
[RateCDR] => 1
)
[2025-01-10 16:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 13:49:05' and `end` < '2025-01-10 16:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 16:49:12] Production.ERROR: CronJobId end10
[2025-01-10 16:49:12] Production.INFO: ==6764== Releasing lock...
[2025-01-10 16:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 16:49:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 16:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 16:49:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 16:49:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 16:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 16:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 16:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 16:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 16:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 16:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 16:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 16:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 16:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 16:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 16:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 16:49:14] Production.INFO: call_cost start
[2025-01-10 16:49:14] Production.INFO: call_cost end
[2025-01-10 16:49:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 16:49:15] Production.INFO: ============== Report Schedule START===========
[2025-01-10 16:49:15] Production.INFO: ============== Report Schedule END===========
[2025-01-10 16:49:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 16:49:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 16:49:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 16:49:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 16:49:15] Production.INFO: ============== Deal alert START===========
[2025-01-10 16:49:15] Production.INFO: ============== Deal alert END===========
[2025-01-10 16:49:15] Production.INFO: ==6760== Releasing lock...
[2025-01-10 16:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 16:49:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 16:49:24] Production.INFO: count ==4144
[2025-01-10 16:49:26] Production.ERROR: pbx CDR StartTime 2025-01-10 13:49:05 - End Time 2025-01-10 16:49:05
[2025-01-10 16:49:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 16:49:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218249', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:49:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218249', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:49:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218249', 'tblTempVendorCDR_20' ) start
[2025-01-10 16:49:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218249', 'tblTempVendorCDR_20' ) end
[2025-01-10 16:49:26] Production.INFO: ProcessCDR(1,14218249,1,1,2)
[2025-01-10 16:49:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14218249,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:49:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14218249,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:49:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14218249,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:49:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14218249,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:49:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218249', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:49:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218249', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:49:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 16:49:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 16:49:30] Production.INFO: ==6768== Releasing lock...
[2025-01-10 16:49:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 16:49:30] Production.INFO: 59 MB #Memory Used#
[2025-01-10 21:50:01] Production.INFO: ==6841== Lock acquired, processing the job...
[2025-01-10 21:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 21:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 21:50:01] Production.INFO: neon service started
[2025-01-10 21:50:01] Production.INFO: neon service started
[2025-01-10 21:50:01] Production.INFO: ==6841== Releasing lock...
[2025-01-10 21:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 21:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 16:50:02] Production.INFO: ==6843== Lock acquired, processing the job...
[2025-01-10 16:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 21:50:02] Production.INFO: ==6845== Lock acquired, processing the job...
[2025-01-10 21:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 16:50:02] Production.INFO: ==6843== Releasing lock...
[2025-01-10 16:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 16:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 21:50:02] Production.INFO: ==6845== Releasing lock...
[2025-01-10 21:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 21:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 16:50:03] Production.INFO: ==6848== Lock acquired, processing the job...
[2025-01-10 16:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-10 16:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-10 16:50:03] Production.INFO: ==6852== Lock acquired, processing the job...
[2025-01-10 16:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 16:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-10 16:50:03] Production.INFO: ==6848== Releasing lock...
[2025-01-10 16:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-10 16:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-10 16:50:03] Production.INFO: ==6856== Lock acquired, processing the job...
[2025-01-10 16:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 16:50:03] Production.INFO: ==6854== Lock acquired, processing the job...
[2025-01-10 16:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 16:50:03] Production.INFO: ==6850== Lock acquired, processing the job...
[2025-01-10 16:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 16:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 16:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 16:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 16:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 16:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 16:50:03] Production.INFO: Account Balance Start.
[2025-01-10 16:50:03] Production.INFO: CreateAllLog Start
[2025-01-10 16:50:03] Production.INFO: 117
[2025-01-10 16:50:03] Production.INFO: ==6858== Lock acquired, processing the job...
[2025-01-10 16:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 16:50:03] Production.INFO: Date 2025-01-08
[2025-01-10 16:50:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:50:03] Production.INFO: ==6852== Releasing lock...
[2025-01-10 16:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 16:50:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 16:50:03] Production.INFO: Date 2025-01-09
[2025-01-10 16:50:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 16:50:04] Production.INFO: ==6862== Lock acquired, processing the job...
[2025-01-10 16:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 16:50:04] Production.INFO: ==6860== Lock acquired, processing the job...
[2025-01-10 16:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-10 16:50:04] Production.INFO: Date 2025-01-10
[2025-01-10 16:50:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:50:04] Production.INFO: Total Charge 0
[2025-01-10 16:50:04] Production.ERROR: done
[2025-01-10 16:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 16:50:04] Production.INFO: CreateAllLog End
[2025-01-10 16:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 16:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:50:04] Production.INFO: count ==21
[2025-01-10 16:50:04] Production.INFO: Account Balance End.
[2025-01-10 16:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:50:04] Production.INFO: count ==21
[2025-01-10 16:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14218253') start
[2025-01-10 16:50:04] Production.ERROR: done
[2025-01-10 16:50:04] Production.ERROR: CronJobId end 12
[2025-01-10 16:50:04] Production.INFO: ==6856== Releasing lock...
[2025-01-10 16:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 16:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 16:50:04] Production.ERROR: done
[2025-01-10 16:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14218253') end
[2025-01-10 16:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 16:50:04] Production.INFO: 1
[2025-01-10 16:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 16:50:04] Production.INFO: ==6862== Releasing lock...
[2025-01-10 16:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 16:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 16:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-10 16:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14218255', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) start
[2025-01-10 16:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 13:50:05
[end_date_ymd] => 2025-01-10 16:50:05
[RateCDR] => 1
)
[2025-01-10 16:50:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 13:50:05' and `end` < '2025-01-10 16:50:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 16:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14218255', 'tblTempUsageDetail_20reseller','2025-01-10','2025-01-10','1' ) end
[2025-01-10 16:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-10 16:50:08] Production.INFO: ProcessCDR(1,14218255,1,1,2)
[2025-01-10 16:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14218255,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14218255,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 16:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 16:50:08] Production.INFO: ==6860== Releasing lock...
[2025-01-10 16:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-10 16:50:08] Production.INFO: 26 MB #Memory Used#
[2025-01-10 16:50:14] Production.ERROR: CronJobId end10
[2025-01-10 16:50:14] Production.INFO: ==6854== Releasing lock...
[2025-01-10 16:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 16:50:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 16:50:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 16:50:15] Production.INFO: ============== Balance Warning START===========
[2025-01-10 16:50:15] Production.INFO: ============== Balance Warning END===========
[2025-01-10 16:50:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 16:50:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 16:50:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 16:50:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 16:50:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 16:50:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 16:50:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 16:50:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 16:50:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 16:50:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 16:50:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 16:50:15] Production.INFO: call_cost start
[2025-01-10 16:50:15] Production.INFO: call_cost end
[2025-01-10 16:50:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 16:50:16] Production.INFO: ============== Report Schedule START===========
[2025-01-10 16:50:16] Production.INFO: ============== Report Schedule END===========
[2025-01-10 16:50:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 16:50:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 16:50:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 16:50:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 16:50:16] Production.INFO: ============== Deal alert START===========
[2025-01-10 16:50:16] Production.INFO: ============== Deal alert END===========
[2025-01-10 16:50:16] Production.INFO: ==6850== Releasing lock...
[2025-01-10 16:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 16:50:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 16:50:28] Production.INFO: count ==4139
[2025-01-10 16:50:30] Production.ERROR: pbx CDR StartTime 2025-01-10 13:50:05 - End Time 2025-01-10 16:50:05
[2025-01-10 16:50:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 16:50:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218254', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:50:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218254', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:50:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218254', 'tblTempVendorCDR_20' ) start
[2025-01-10 16:50:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218254', 'tblTempVendorCDR_20' ) end
[2025-01-10 16:50:30] Production.INFO: ProcessCDR(1,14218254,1,1,2)
[2025-01-10 16:50:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14218254,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:50:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14218254,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:50:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14218254,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:50:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14218254,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:50:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218254', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:50:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218254', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:50:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 16:50:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 16:50:34] Production.INFO: ==6858== Releasing lock...
[2025-01-10 16:50:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 16:50:34] Production.INFO: 59 MB #Memory Used#
[2025-01-10 21:51:02] Production.INFO: ==6941== Lock acquired, processing the job...
[2025-01-10 21:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 21:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 21:51:02] Production.INFO: neon service started
[2025-01-10 21:51:02] Production.INFO: neon service started
[2025-01-10 21:51:02] Production.INFO: ==6941== Releasing lock...
[2025-01-10 21:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 21:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 16:51:02] Production.INFO: ==6943== Lock acquired, processing the job...
[2025-01-10 16:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 21:51:02] Production.INFO: ==6945== Lock acquired, processing the job...
[2025-01-10 21:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 21:51:02] Production.INFO: ==6945== Releasing lock...
[2025-01-10 21:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 21:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 16:51:03] Production.INFO: ==6943== Releasing lock...
[2025-01-10 16:51:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 16:51:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 16:51:04] Production.INFO: ==6955== Lock acquired, processing the job...
[2025-01-10 16:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 16:51:04] Production.INFO: ==6959== Lock acquired, processing the job...
[2025-01-10 16:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 16:51:04] Production.INFO: Account Balance Start.
[2025-01-10 16:51:04] Production.INFO: CreateAllLog Start
[2025-01-10 16:51:04] Production.INFO: 117
[2025-01-10 16:51:04] Production.INFO: Date 2025-01-08
[2025-01-10 16:51:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:51:04] Production.INFO: ==6949== Lock acquired, processing the job...
[2025-01-10 16:51:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 16:51:04] Production.INFO: Date 2025-01-09
[2025-01-10 16:51:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:51:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 16:51:04] Production.INFO: Date 2025-01-10
[2025-01-10 16:51:04] Production.INFO: Reseller ==> 0
[2025-01-10 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-01-10 16:51:04] Production.INFO: Total Charge 0
[2025-01-10 16:51:04] Production.INFO: ==6957== Lock acquired, processing the job...
[2025-01-10 16:51:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 16:51:04] Production.INFO: count ==21
[2025-01-10 16:51:04] Production.INFO: ==6951== Lock acquired, processing the job...
[2025-01-10 16:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 16:51:04] Production.INFO: CreateAllLog End
[2025-01-10 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-01-10 16:51:04] Production.INFO: count ==21
[2025-01-10 16:51:04] Production.INFO: ==6953== Lock acquired, processing the job...
[2025-01-10 16:51:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 16:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14218257') start
[2025-01-10 16:51:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 16:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14218257') end
[2025-01-10 16:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 16:51:04] Production.INFO: 1
[2025-01-10 16:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 16:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 16:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 16:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 16:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 16:51:04] Production.INFO: ==6959== Releasing lock...
[2025-01-10 16:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 16:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 16:51:04] Production.INFO: Account Balance End.
[2025-01-10 16:51:04] Production.ERROR: CronJobId end 12
[2025-01-10 16:51:04] Production.INFO: ==6955== Releasing lock...
[2025-01-10 16:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 16:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 16:51:04] Production.INFO: ==6951== Releasing lock...
[2025-01-10 16:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 16:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 16:51:04] Production.ERROR: done
[2025-01-10 16:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 16:51:05] Production.ERROR: done
[2025-01-10 16:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 13:51:05
[end_date_ymd] => 2025-01-10 16:51:05
[RateCDR] => 1
)
[2025-01-10 16:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 13:51:05' and `end` < '2025-01-10 16:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 16:51:13] Production.ERROR: CronJobId end10
[2025-01-10 16:51:13] Production.INFO: ==6953== Releasing lock...
[2025-01-10 16:51:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 16:51:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 16:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 16:51:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 16:51:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 16:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 16:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 16:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 16:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 16:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 16:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 16:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 16:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 16:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 16:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 16:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 16:51:14] Production.INFO: call_cost start
[2025-01-10 16:51:14] Production.INFO: call_cost end
[2025-01-10 16:51:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 16:51:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 16:51:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 16:51:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 16:51:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 16:51:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 16:51:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 16:51:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 16:51:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 16:51:14] Production.INFO: ==6949== Releasing lock...
[2025-01-10 16:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 16:51:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 16:51:22] Production.INFO: count ==4272
[2025-01-10 16:51:24] Production.ERROR: pbx CDR StartTime 2025-01-10 13:51:05 - End Time 2025-01-10 16:51:05
[2025-01-10 16:51:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 16:51:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218260', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:51:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218260', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:51:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218260', 'tblTempVendorCDR_20' ) start
[2025-01-10 16:51:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218260', 'tblTempVendorCDR_20' ) end
[2025-01-10 16:51:24] Production.INFO: ProcessCDR(1,14218260,1,1,2)
[2025-01-10 16:51:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14218260,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:51:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14218260,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:51:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14218260,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:51:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14218260,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:51:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218260', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:51:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218260', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:51:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 16:51:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 16:51:28] Production.INFO: ==6957== Releasing lock...
[2025-01-10 16:51:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 16:51:28] Production.INFO: 60.25 MB #Memory Used#
[2025-01-10 21:52:01] Production.INFO: ==7038== Lock acquired, processing the job...
[2025-01-10 21:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 21:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 21:52:01] Production.INFO: neon service started
[2025-01-10 21:52:01] Production.INFO: neon service started
[2025-01-10 21:52:01] Production.INFO: ==7038== Releasing lock...
[2025-01-10 21:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 21:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 16:52:02] Production.INFO: ==7040== Lock acquired, processing the job...
[2025-01-10 16:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 16:52:02] Production.INFO: ==7040== Releasing lock...
[2025-01-10 16:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 16:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 21:52:02] Production.INFO: ==7042== Lock acquired, processing the job...
[2025-01-10 21:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 21:52:02] Production.INFO: ==7042== Releasing lock...
[2025-01-10 21:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 21:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 16:52:03] Production.INFO: ==7051== Lock acquired, processing the job...
[2025-01-10 16:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 16:52:03] Production.INFO: ==7047== Lock acquired, processing the job...
[2025-01-10 16:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 16:52:03] Production.INFO: ==7045== Lock acquired, processing the job...
[2025-01-10 16:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 16:52:03] Production.INFO: Account Balance Start.
[2025-01-10 16:52:03] Production.INFO: CreateAllLog Start
[2025-01-10 16:52:03] Production.INFO: 117
[2025-01-10 16:52:03] Production.INFO: Date 2025-01-08
[2025-01-10 16:52:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:52:03] Production.INFO: ==7049== Lock acquired, processing the job...
[2025-01-10 16:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 16:52:03] Production.INFO: Date 2025-01-09
[2025-01-10 16:52:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:52:03] Production.INFO: ==7053== Lock acquired, processing the job...
[2025-01-10 16:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 16:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 16:52:03] Production.INFO: ==7055== Lock acquired, processing the job...
[2025-01-10 16:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 16:52:03] Production.INFO: Date 2025-01-10
[2025-01-10 16:52:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 16:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 16:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 16:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 16:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 16:52:03] Production.INFO: Total Charge 0
[2025-01-10 16:52:03] Production.INFO: CreateAllLog End
[2025-01-10 16:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:52:03] Production.INFO: ==7047== Releasing lock...
[2025-01-10 16:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 16:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 16:52:03] Production.INFO: count ==21
[2025-01-10 16:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:52:03] Production.INFO: count ==21
[2025-01-10 16:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14218264') start
[2025-01-10 16:52:03] Production.ERROR: done
[2025-01-10 16:52:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 16:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14218264') end
[2025-01-10 16:52:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 16:52:03] Production.INFO: 1
[2025-01-10 16:52:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 16:52:03] Production.INFO: Account Balance End.
[2025-01-10 16:52:03] Production.ERROR: CronJobId end 12
[2025-01-10 16:52:03] Production.INFO: ==7051== Releasing lock...
[2025-01-10 16:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 16:52:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 16:52:03] Production.INFO: ==7055== Releasing lock...
[2025-01-10 16:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 16:52:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 16:52:03] Production.ERROR: done
[2025-01-10 16:52:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 13:52:04
[end_date_ymd] => 2025-01-10 16:52:04
[RateCDR] => 1
)
[2025-01-10 16:52:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 13:52:04' and `end` < '2025-01-10 16:52:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 16:52:12] Production.ERROR: CronJobId end10
[2025-01-10 16:52:12] Production.INFO: ==7049== Releasing lock...
[2025-01-10 16:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 16:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 16:52:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 16:52:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 16:52:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 16:52:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 16:52:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 16:52:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 16:52:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 16:52:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 16:52:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 16:52:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 16:52:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 16:52:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 16:52:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 16:52:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 16:52:13] Production.INFO: call_cost start
[2025-01-10 16:52:13] Production.INFO: call_cost end
[2025-01-10 16:52:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 16:52:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 16:52:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 16:52:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 16:52:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 16:52:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 16:52:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 16:52:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 16:52:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 16:52:14] Production.INFO: ==7045== Releasing lock...
[2025-01-10 16:52:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 16:52:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 16:52:28] Production.INFO: count ==4263
[2025-01-10 16:52:30] Production.ERROR: pbx CDR StartTime 2025-01-10 13:52:04 - End Time 2025-01-10 16:52:04
[2025-01-10 16:52:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 16:52:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218265', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:52:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218265', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:52:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218265', 'tblTempVendorCDR_20' ) start
[2025-01-10 16:52:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218265', 'tblTempVendorCDR_20' ) end
[2025-01-10 16:52:30] Production.INFO: ProcessCDR(1,14218265,1,1,2)
[2025-01-10 16:52:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14218265,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:52:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14218265,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:52:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14218265,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:52:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14218265,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:52:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218265', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:52:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218265', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:52:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 16:52:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 16:52:35] Production.INFO: ==7053== Releasing lock...
[2025-01-10 16:52:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 16:52:35] Production.INFO: 60 MB #Memory Used#
[2025-01-10 21:53:02] Production.INFO: ==7149== Lock acquired, processing the job...
[2025-01-10 21:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 21:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 21:53:02] Production.INFO: neon service started
[2025-01-10 21:53:02] Production.INFO: neon service started
[2025-01-10 21:53:02] Production.INFO: ==7149== Releasing lock...
[2025-01-10 21:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 21:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 16:53:02] Production.INFO: ==7151== Lock acquired, processing the job...
[2025-01-10 16:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 21:53:02] Production.INFO: ==7153== Lock acquired, processing the job...
[2025-01-10 21:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 21:53:02] Production.INFO: ==7153== Releasing lock...
[2025-01-10 21:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 21:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 16:53:03] Production.INFO: ==7151== Releasing lock...
[2025-01-10 16:53:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 16:53:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 16:53:03] Production.INFO: ==7165== Lock acquired, processing the job...
[2025-01-10 16:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 16:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 16:53:03] Production.INFO: ==7169== Lock acquired, processing the job...
[2025-01-10 16:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 16:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 16:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 16:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 16:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 16:53:04] Production.INFO: ==7160== Lock acquired, processing the job...
[2025-01-10 16:53:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 16:53:04] Production.INFO: ==7163== Lock acquired, processing the job...
[2025-01-10 16:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 16:53:04] Production.INFO: ==7171== Lock acquired, processing the job...
[2025-01-10 16:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 16:53:04] Production.INFO: ==7167== Lock acquired, processing the job...
[2025-01-10 16:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 16:53:04] Production.ERROR: done
[2025-01-10 16:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 16:53:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 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-01-10 16:53:04] Production.INFO: count ==21
[2025-01-10 16:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:53:04] Production.INFO: count ==21
[2025-01-10 16:53:04] Production.INFO: Account Balance Start.
[2025-01-10 16:53:04] Production.INFO: CreateAllLog Start
[2025-01-10 16:53:04] Production.INFO: 117
[2025-01-10 16:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14218268') start
[2025-01-10 16:53:04] Production.INFO: Date 2025-01-08
[2025-01-10 16:53:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:53:04] Production.ERROR: done
[2025-01-10 16:53:04] Production.INFO: Date 2025-01-09
[2025-01-10 16:53:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:53:04] Production.INFO: Date 2025-01-10
[2025-01-10 16:53:04] Production.INFO: Reseller ==> 0
[2025-01-10 16:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14218268') end
[2025-01-10 16:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 16:53:04] Production.INFO: 1
[2025-01-10 16:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 16:53:04] Production.INFO: Total Charge 0
[2025-01-10 16:53:04] Production.INFO: CreateAllLog End
[2025-01-10 16:53:04] Production.INFO: ==7163== Releasing lock...
[2025-01-10 16:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 16:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 16:53:04] Production.INFO: ==7171== Releasing lock...
[2025-01-10 16:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 16:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 16:53:04] Production.INFO: Account Balance End.
[2025-01-10 16:53:04] Production.ERROR: CronJobId end 12
[2025-01-10 16:53:04] Production.INFO: ==7167== Releasing lock...
[2025-01-10 16:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 16:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 16:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 13:53:05
[end_date_ymd] => 2025-01-10 16:53:05
[RateCDR] => 1
)
[2025-01-10 16:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 13:53:05' and `end` < '2025-01-10 16:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 16:53:11] Production.ERROR: CronJobId end10
[2025-01-10 16:53:11] Production.INFO: ==7165== Releasing lock...
[2025-01-10 16:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 16:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 16:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 16:53:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 16:53:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 16:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 16:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 16:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 16:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 16:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 16:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 16:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 16:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 16:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 16:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 16:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 16:53:14] Production.INFO: call_cost start
[2025-01-10 16:53:14] Production.INFO: call_cost end
[2025-01-10 16:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 16:53:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 16:53:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 16:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 16:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 16:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 16:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 16:53:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 16:53:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 16:53:14] Production.INFO: ==7160== Releasing lock...
[2025-01-10 16:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 16:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 16:53:30] Production.INFO: count ==4284
[2025-01-10 16:53:32] Production.ERROR: pbx CDR StartTime 2025-01-10 13:53:05 - End Time 2025-01-10 16:53:05
[2025-01-10 16:53:32] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 16:53:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218270', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:53:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218270', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:53:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218270', 'tblTempVendorCDR_20' ) start
[2025-01-10 16:53:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218270', 'tblTempVendorCDR_20' ) end
[2025-01-10 16:53:32] Production.INFO: ProcessCDR(1,14218270,1,1,2)
[2025-01-10 16:53:32] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14218270,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:53:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14218270,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:53:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14218270,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:53:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14218270,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:53:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218270', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:53:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218270', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:53:37] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 16:53:37] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 16:53:37] Production.INFO: ==7169== Releasing lock...
[2025-01-10 16:53:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 16:53:37] Production.INFO: 60 MB #Memory Used#
[2025-01-10 21:54:01] Production.INFO: ==7265== Lock acquired, processing the job...
[2025-01-10 21:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 21:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 21:54:01] Production.INFO: neon service started
[2025-01-10 21:54:01] Production.INFO: neon service started
[2025-01-10 21:54:01] Production.INFO: ==7265== Releasing lock...
[2025-01-10 21:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 21:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 16:54:01] Production.INFO: ==7267== Lock acquired, processing the job...
[2025-01-10 16:54:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 16:54:02] Production.INFO: ==7267== Releasing lock...
[2025-01-10 16:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 16:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 21:54:02] Production.INFO: ==7269== Lock acquired, processing the job...
[2025-01-10 21:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 21:54:02] Production.INFO: ==7269== Releasing lock...
[2025-01-10 21:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 21:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 16:54:03] Production.INFO: ==7280== Lock acquired, processing the job...
[2025-01-10 16:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 16:54:03] Production.INFO: ==7278== Lock acquired, processing the job...
[2025-01-10 16:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 16:54:03] Production.INFO: ==7272== Lock acquired, processing the job...
[2025-01-10 16:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 16:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 16:54:03] Production.INFO: ==7274== Lock acquired, processing the job...
[2025-01-10 16:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 16:54:03] Production.INFO: ==7276== Lock acquired, processing the job...
[2025-01-10 16:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 16:54:03] Production.INFO: ==7282== Lock acquired, processing the job...
[2025-01-10 16:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 16:54:03] Production.INFO: Account Balance Start.
[2025-01-10 16:54:03] Production.INFO: CreateAllLog Start
[2025-01-10 16:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 16:54:03] Production.INFO: 117
[2025-01-10 16:54:03] Production.INFO: Date 2025-01-08
[2025-01-10 16:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 16:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 16:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 16:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 16:54:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:54:03] Production.ERROR: done
[2025-01-10 16:54:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 16:54:03] Production.INFO: Date 2025-01-09
[2025-01-10 16:54:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:54:03] Production.INFO: count ==21
[2025-01-10 16:54:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:54:03] Production.INFO: count ==21
[2025-01-10 16:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14218274') start
[2025-01-10 16:54:03] Production.INFO: Date 2025-01-10
[2025-01-10 16:54:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:54:03] Production.INFO: Total Charge 0
[2025-01-10 16:54:03] Production.INFO: CreateAllLog End
[2025-01-10 16:54:03] Production.INFO: ==7274== Releasing lock...
[2025-01-10 16:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 16:54:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 16:54:03] Production.ERROR: done
[2025-01-10 16:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14218274') end
[2025-01-10 16:54:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 16:54:03] Production.INFO: 1
[2025-01-10 16:54:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 16:54:03] Production.INFO: ==7282== Releasing lock...
[2025-01-10 16:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 16:54:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 16:54:04] Production.INFO: Account Balance End.
[2025-01-10 16:54:04] Production.ERROR: CronJobId end 12
[2025-01-10 16:54:04] Production.INFO: ==7278== Releasing lock...
[2025-01-10 16:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 16:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 16:54:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 13:54:04
[end_date_ymd] => 2025-01-10 16:54:04
[RateCDR] => 1
)
[2025-01-10 16:54:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 13:54:04' and `end` < '2025-01-10 16:54:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 16:54:12] Production.ERROR: CronJobId end10
[2025-01-10 16:54:12] Production.INFO: ==7276== Releasing lock...
[2025-01-10 16:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 16:54:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 16:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 16:54:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 16:54:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 16:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 16:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 16:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 16:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 16:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 16:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 16:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 16:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 16:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 16:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 16:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 16:54:13] Production.INFO: call_cost start
[2025-01-10 16:54:13] Production.INFO: call_cost end
[2025-01-10 16:54:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-10 16:54:14] Production.INFO: ============== Report Schedule START===========
[2025-01-10 16:54:14] Production.INFO: ============== Report Schedule END===========
[2025-01-10 16:54:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-10 16:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-10 16:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-10 16:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-10 16:54:14] Production.INFO: ============== Deal alert START===========
[2025-01-10 16:54:14] Production.INFO: ============== Deal alert END===========
[2025-01-10 16:54:14] Production.INFO: ==7272== Releasing lock...
[2025-01-10 16:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-10 16:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-10 16:54:30] Production.INFO: count ==4277
[2025-01-10 16:54:32] Production.ERROR: pbx CDR StartTime 2025-01-10 13:54:04 - End Time 2025-01-10 16:54:04
[2025-01-10 16:54:32] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-10 16:54:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218275', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:54:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14218275', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:54:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218275', 'tblTempVendorCDR_20' ) start
[2025-01-10 16:54:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14218275', 'tblTempVendorCDR_20' ) end
[2025-01-10 16:54:32] Production.INFO: ProcessCDR(1,14218275,1,1,2)
[2025-01-10 16:54:32] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14218275,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:54:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14218275,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-10 16:54:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14218275,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:54:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14218275,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-10 16:54:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218275', 'tblTempUsageDetail_20' ) start
[2025-01-10 16:54:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14218275', 'tblTempUsageDetail_20' ) end
[2025-01-10 16:54:37] Production.ERROR: pbx prc_insertCDR start
[2025-01-10 16:54:37] Production.ERROR: pbx prc_insertCDR end
[2025-01-10 16:54:37] Production.INFO: ==7280== Releasing lock...
[2025-01-10 16:54:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-10 16:54:37] Production.INFO: 60 MB #Memory Used#
[2025-01-10 21:55:01] Production.INFO: ==7365== Lock acquired, processing the job...
[2025-01-10 21:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-10 21:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-10 21:55:01] Production.INFO: neon service started
[2025-01-10 21:55:01] Production.INFO: neon service started
[2025-01-10 21:55:02] Production.INFO: ==7365== Releasing lock...
[2025-01-10 21:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-10 21:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-10 16:55:02] Production.INFO: ==7367== Lock acquired, processing the job...
[2025-01-10 16:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-10 21:55:02] Production.INFO: ==7369== Lock acquired, processing the job...
[2025-01-10 21:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-10 16:55:02] Production.INFO: ==7367== Releasing lock...
[2025-01-10 16:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-10 16:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-10 21:55:02] Production.INFO: ==7369== Releasing lock...
[2025-01-10 21:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-10 21:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-10 16:55:03] Production.INFO: ==7378== Lock acquired, processing the job...
[2025-01-10 16:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-10 16:55:03] Production.INFO: ==7382== Lock acquired, processing the job...
[2025-01-10 16:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-10 16:55:03] Production.INFO: ==7374== Lock acquired, processing the job...
[2025-01-10 16:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-10 16:55:03] Production.INFO: ==7372== Lock acquired, processing the job...
[2025-01-10 16:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-10 16:55:03] Production.INFO: Account Balance Start.
[2025-01-10 16:55:03] Production.INFO: CreateAllLog Start
[2025-01-10 16:55:03] Production.INFO: 117
[2025-01-10 16:55:03] Production.INFO: Date 2025-01-08
[2025-01-10 16:55:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:55:03] Production.INFO: count ==21
[2025-01-10 16:55:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-10 16:55:03] Production.INFO: ==7376== Lock acquired, processing the job...
[2025-01-10 16:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-10 16:55:03] Production.INFO: Date 2025-01-09
[2025-01-10 16:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-10 16:55:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:55:03] Production.INFO: count ==21
[2025-01-10 16:55:03] Production.INFO: ==7380== Lock acquired, processing the job...
[2025-01-10 16:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-10 16:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14218277') start
[2025-01-10 16:55:03] Production.INFO: Date 2025-01-10
[2025-01-10 16:55:03] Production.INFO: Reseller ==> 0
[2025-01-10 16:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-10 16:55:03] Production.INFO: Total Charge 0
[2025-01-10 16:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14218277') end
[2025-01-10 16:55:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-10 16:55:03] Production.INFO: 1
[2025-01-10 16:55:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-10 16:55:04] Production.INFO: CreateAllLog End
[2025-01-10 16:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250110Live done
[2025-01-10 16:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110Live done
[2025-01-10 16:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250110Live)
[2025-01-10 16:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-10','2025-01-10','120250110Live')
[2025-01-10 16:55:04] Production.INFO: ==7382== Releasing lock...
[2025-01-10 16:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-10 16:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-10 16:55:04] Production.INFO: ==7374== Releasing lock...
[2025-01-10 16:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-10 16:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-10 16:55:04] Production.ERROR: done
[2025-01-10 16:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-10 16:55:04] Production.INFO: Account Balance End.
[2025-01-10 16:55:04] Production.ERROR: done
[2025-01-10 16:55:04] Production.ERROR: CronJobId end 12
[2025-01-10 16:55:04] Production.INFO: ==7378== Releasing lock...
[2025-01-10 16:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-10 16:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-10 16:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-10 13:55:05
[end_date_ymd] => 2025-01-10 16:55:05
[RateCDR] => 1
)
[2025-01-10 16:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-10 13:55:05' and `end` < '2025-01-10 16:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-10 16:55:12] Production.ERROR: CronJobId end10
[2025-01-10 16:55:12] Production.INFO: ==7376== Releasing lock...
[2025-01-10 16:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-10 16:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-10 16:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-10 16:55:13] Production.INFO: ============== Balance Warning START===========
[2025-01-10 16:55:13] Production.INFO: ============== Balance Warning END===========
[2025-01-10 16:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-10 16:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-10 16:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-10 16:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-10 16:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-10 16:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-10 16:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-10 16:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-10 16:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-10 16:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-10 16:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-10 16:55:14] Production.INFO: call_cost start
[2025-01-10 16:55:14] Production.INFO: call_cost end
[2025-01-10 16:55:14] Production.INFO: ============== CD